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

List:       linux-kernel
Subject:    Re: ENOSYS, CD-ROM, and SMP oopses
From:       Erik Andersen <andersen () inconnect ! com>
Date:       1998-08-12 14:55:49
[Download RAW message or body]

On Tue, 11 Aug 1998, George wrote:

> 
> My previously reported flood of oops' after I removed a single Pentium from
> my Tyan Tomcat IV go away if I use 'nosmp' on the command line.  Something
> isn't quite happy in the SMP code if it only gets one processor now...
> 
> mount("/dev/hdc", "/mnt/cdrom", "iso9660", 0xc0ed0000, 0x80541f0) = -1
> ENOSYS (Function not implemented)
> mount("/dev/hdc", "/mnt/cdrom", "iso9660", 0xc0ed0000, 0x80541f0) = -1
> ENOSYS (Function not implemented)
> mount("/dev/hdc", "/mnt/cdrom", "iso9660", 0xc0ed0000, 0x80541f0) = -1
> ENOTBLK (Block device required)
> 
> Incidently, one of 100 non-fatal Oops occurred between the system calls
> above. 
> 
> Also, when 2.0.35 receives this:
> 
> hdc: no response (status = 0xd0)
> 
> it resets my CD-ROM (the ", resetting" line), which causes it to work
> properly. 2.1.115 doesn't reset the CD-ROM and it's currently dead to all
> touches, including the eject button. 
> 
> The Tyan Tomcat IV BIOS 1.02 seems to have caused the CD-ROM troubles along
> with my PCI IRQs no longer being rerouted to 16 or above, but 2.0.35 works
> in both SMP (along with 2.1.115 nosmp) and CD-ROM for it.  The single
> processor death on SMP I didn't try before BIOS 1.02 so I can't say if that
> caused it.
> 
> -George
> 
> 

Well, as the Linux cdrom guy, I'm afraid I never test stuff with SMP=1.
I suppose I should some time (I have one outstanding SMP bug report with 
the mcd driver which I havn't looked into yet), but I don't own an SMP 
machine (donations are welcome ;-).  Any change I could get you to do a 
couple of things?

I am assuming you built ide-cd as a module.  Could you (under 2.1.115)
add "options cdrom debug=1" to /etc/modules.conf so I can see where the
uniform cdrom driver stops being uniform.  This will cause it to spew
out tons of stuff to the kernel logs when mounting a CD, and should let
us see what went wrong.
 
 -Erik

--
Erik B. Andersen   Web:    http://www.inconnect.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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

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