[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] CD-ROM woes...



On Tue, Apr 17, 2001 at 08:59:00PM +0100, Jos? Luis G?mez Dans wrote:
> 	Yes, I had a "safe" kernel around (the Debian install kernel),
> and the problems are exactly the same. And I believe that all extensions
> are in there (Joliet, ISO9660).

If it doesn't work under your old kernel, it's probably a buggered cdrom I'm
afraid.

> calls to the locale library... The offending bit seems to be here...
> 
> stat("/sbin/mount.iso9660", 0xbffff9fc) = -1 ENOENT (No such file or
> directory)
> rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0
> mount("/dev/cdrom", "/cdrom", "iso9660",
> MS_RDONLY|MS_NOSUID|MS_NODEV|MS_NOEXEC|0xc0ed0000, 0x805dbf8cdrom: open
> failed.
> ) = -1 ERRNO_123 (No medium found)
> 
> 	This file, /sbin/mount.iso9660 isn't present here. 

As you thought, discount the /sbin/mount thingy. The error message is coming
from the kernel, quite why I thought to ask you to strace is beyond me now
:/. ho hum :) 

Your error message comes from one specfic place, linux/drivers/cdrom/cdrom.c.
Go into that file, and find the line that says:
	#define ERRLOGMASK (CD_WARNING)
Either comment it out and use one of the all-encompassers below it, or
change it to:
	#define ERRLOGMASK (CD_WARNING|CD_OPEN)
Recompile, reboot, etc. Try mounting again. Your log should be full of
interesting messages, most of which will probably begin with "bummer" I
imagine.

Cheers,

Alex.

However, this
> might be irrelevant, as mounting a MS-DOS partition looks for a similar
> file in /sbin which doesn't exist either, but mounts the thing.
> 
> > What has happened to you shouldn't happen :-)
> 
> 	I suspect a hardware problem, but I haven't open this ocmputer
> in _ages_, and it hasn't even been moved arond... Obviously, connectors
> are not what they used to :-)
> 
> 	thanks anyway,
> 	José
> -- 
> José L Gómez Dans			PhD student
> Tel: +44 114 222 5582			Radar & Communications Group
> FAX; +44 870 132 2990			Department of Electronic Engineering
> 					University of Sheffield UK
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word 
>  "unsubscribe" in the body of the message. 
> 
>   GNU the choice of a complete generation.
> 
> 
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.