[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ultrasparc
Subject:    Re: Another Brute Force And Ignorance(tm) derived question...
From:       Peter Jones <pjones () redhat ! com>
Date:       1999-04-12 14:53:42
[Download RAW message or body]

On Mon, 12 Apr 1999, Jakub Jelinek wrote:

> > When I add 
> > 
> > printk("sys32_ioctl(before switch): cmd(%#010x) "
> > "SOUND_MIXER_READ_DEVMASK(%#010x)\n",cmd,SOUND_MIXER_READ_DEVMASK);
> 
> I think you wrote in some other mail that strace prints out 0x40044dfe, thus
> it has really no value to look for bugs in the kernel.

Right.  Makes sense.

> Either gcc is broken, or you have some problems with includes, or whatever.
> Anyway, what distribution is it? UP, BlueSky or what?

UP from mid-february.  Might stick 5.9 on it sometime soon just to see.  I
think this is in includes somewhere.  I'll check later.

> On UP1.1.9, I get
> open("/dev/mixer", O_RDWR)              = 7
> ioctl(7, 0x20044dfe, 0x25a20)           = -1 ENOTTY (Inappropriate ioctl for device)
> and no kernel errors from that ioctl (ENOTTY because my /dev/mixer is ->
> /dev/null, no soundcard here).
> 
> So, I'd suggest carefully looking at gcc -E output and step through it with
> gdb.

Will do.  Thanks bunches for the help.

 -- Peter

"I cannot believe that God plays dice with the cosmos."
		-- Einstein

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic