[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [sparc] Weird ioctl() bug in 2.2.19 (fwd)
   From: Alex Buell <>
Date: Wed, 31 Oct 2001 18:28:28 +0000 (GMT)

On Wed, 31 Oct 2001, David S. Miller wrote:

> cp src/linux/include/linux/soundcard.h /usr/include/linux/soundcard.h

Unfortunately, these files are identical, which is why it is so strange!

I'm pretty sure the ioctl numbers are wrong, and that is what
is causing the problem.

Print out from your app the ioctl number it uses (you've done
this already) and have the kernel do similar. If they are different
you know that at least I was on the right track.

It's easy to figure out some value in the kernel without even
rebooting, just add to like some source file:


Then do "make drivers/sbus/audio/whatever.s"
and look at the assembler file for the value it
ended up using :-)

Franks a lot,
David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.090 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site