RE: sys32_ioctl issue

"Tom 'spot' Callaway" <[email protected]>
Newsgroups gmane.linux.aurora.devel
Organization Red Hat
Message-ID <1051634093.1914.183.camel@zorak>
On Tue, 2003-04-29 at 11:24, Kevin Curtis wrote:
> Hi It's me again!,
> 
> 	fixed the ioctl problem without having to add to the
> arch/sparc64/kernel/ioctl32.c by using SIOCDEVPRIVATE (not sure why this
> wasn't used in the first place).  Did you know that you don't seem to be
> able to use the following form of the ioctl() function:
> 
> ioctl (fd, SIOCDEVPRIVATE, NULL);
> 
> It seem you have to supply a value for arg???
> 
> Anyway, the card has now been primed for downloading, but the first attempt
> to write to the card pulls an exception as follows:
> 
> Apr 29 17:13:37 icarus kernel: FarSync X.25 Sockets for Linux. Version 0.2
> Apr 29 17:13:37 icarus kernel: FarSync X.25 driver 2.01 (c) 2002 FarSite
> Communications Ltd. 
> Apr 29 17:13:37 icarus kernel: fsxsk0-fsxsk1: FarSync T2P IRQ6945088, 2
> ports
> Apr 29 17:13:37 icarus kernel: fsxsk2-fsxsk2: FarSync T1U IRQ6944576, 1
> ports
> Apr 29 17:13:37 icarus kernel: fsx25: The value of the debug flag is 0
> Apr 29 17:14:07 icarus kernel: fsc_mem_ioctl: 89fb, effff920
> Apr 29 17:14:07 icarus kernel: fsc_mem_write: 8192
> Apr 29 17:14:07 icarus kernel: About to do r/w operation at buf =
> 0000000000024b50 card->mem = 000001ff80100000 pos = 0 count = 2000
> Unable to handle kernel paging request at virtual address 0000000080100000
> Apr 29 17:14:07 icarus kernel: tsk->{mm,active_mm}->context =
> 000000000000051d
> Apr 29 17:14:07 icarus kernel: tsk->{mm,active_mm}->pgd = fffff8002c7a2000
> Apr 29 17:14:07 icarus kernel:               \|/ ____ \|/
> Apr 29 17:14:07 icarus kernel:               "@'/ .. \`@"
> Apr 29 17:14:07 icarus kernel:               /_| \__/ |_\
> Apr 29 17:14:07 icarus kernel:                  \__U_/
> Apr 29 17:14:07 icarus kernel: fsx25load(1319): Oops
>                                                 ^^^^^
>                                                  very cute

I strongly suggest that you send this to Dave Miller. :)

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> SAIR LCA, RHCE
Red Hat Enterprise Architect :: http://www.redhat.com
Project Leader for Aurora Sparc Linux :: http://auroralinux.org
GPG: D786 8B22 D9DB 1F8B 4AB7  448E 3C5E 99AD 9305 4260

The words and opinions reflected in this message do not necessarily
reflect those of my employer, Red Hat, and belong solely to me.

"Immature poets borrow, mature poets steal." --- T. S. Eliot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.