LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CD Mounting Errors (ISO9660) (https://www.linuxquestions.org/questions/slackware-14/cd-mounting-errors-iso9660-812240/)

tpreitzel 06-04-2010 09:08 PM

CD Mounting Errors (ISO9660)
 
Part of the output from dmesg:

attempt to access beyond end of device
sr0: rw=0, want=1341044, limit=1311284
ISOFS: unable to read i-node block
isofs_fill_super: get root inode failed

------------------------------------------

hdparm /dev/sr0

/dev/sr0:
multcount = 0 (off)
IO_support = 0 (default)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device

----------------------------------------------------

A similar problem has plagued me in the past only to raise its ugly head again. The WWW is filled with similar problems. First, my drive and discs are fine and work perfectly under BW64 13.0/Slackware 13.0. Obviously this problem is related to the software, likely the kernel. Physically shutting down the computer and waiting about 10 seconds and then rebooting is the ONLY way to mount a CD (only the 1st time, however) without this error. I'm using the stock huge kernel so I suspect switching to a generic kernel or rebuilding the stock kernel to allow me access to the disk driver modules might allow me to physically unload and then reload the modules without having to cut the power to the computer.

Any ideas? As it is, Slackware64 13.1 is basically useless unless some of these bugs can be identified and eliminated.

tpreitzel 06-04-2010 09:42 PM

Some indications that ATI's binary driver might be causing this problem. I do have Catalyst 10.5 installed... simply conjecture at this point.

Well, for giggles, I blacklisted the fglrx driver while leaving ATI's OpenGL libraries installed. No difference as I expected.

Whatever is causing this problem: HDIO_GETGEO failed: Inappropriate ioctl for device

tpreitzel 06-12-2010 11:52 PM

Critical bug:

Bump!

astrogeek 06-13-2010 12:19 AM

Sorry, I do not have any actual help except to say that I have three systems now installed with Slackware 13.1 and I have no CD problems.

Two are 32 bit the other is 64 bit... all CD/DVDs mount fine here.

tpreitzel 06-13-2010 09:40 PM

Quote:

Originally Posted by astrogeek (Post 4001758)
Sorry, I do not have any actual help except to say that I have three systems now installed with Slackware 13.1 and I have no CD problems.

Two are 32 bit the other is 64 bit... all CD/DVDs mount fine here.

Count yourself fortunate, because this bug is a major and critical one.

H_TeXMeX_H 06-14-2010 04:50 AM

Don't use the huge kernel, compile your own or use generic.

veeall 06-14-2010 04:55 AM

There's few more threads about this issue in slack LQ. It seems like only sata dvd drives are affected.

H_TeXMeX_H 06-14-2010 05:47 AM

Quote:

Originally Posted by veeall (Post 4002889)
There's few more threads about this issue in slack LQ. It seems like only sata dvd drives are affected.

If that's the case try putting the SATA controller in AHCI mode in the BIOS options. This may help because this will force it to use the ahci driver over whatever SATA or PATA driver it might be currently using, which may have a bug in it.

onebuck 06-14-2010 06:59 AM

Hi,

I still think it would be best if the 'OP' would switch to the generic instead of using a installer kernel.
:hattip:

tpreitzel 06-14-2010 09:45 AM

BTW, I AM using the -generic 2.6.33.4 kernel, but the problem remains. I'm hoping an upgrade to a newer kernel in the 2.6.33.x series beyond 2.6.33.5 will fix this problem. This problem might not be related to the kernel, though.

IIRC *, my BIOS is pretty restrictive in changing parameters of the drives. I do remember that this particular DVD recorder doesn't use SMART, however. I'll do more checking. Thanks for any clues.

* I just checked the BIOS. The ONLY options are to either enable or disable the SATA controller which naturally isn't an option. ;) This PC came with a PATA controller and hard drive along with a SATA controller and DVD recorder. On the main menu of the BIOS, selecting the DVD recorder only brings up a screen whose options are NOT configurable, i.e. the options are greyed out. One of the greyed out options states the DVD recorder isn't SMART compatible. No reference to AHCI can be found in the BIOS.

onebuck 06-14-2010 01:40 PM

Hi,
Quote:

Originally Posted by tpreitzel (Post 3992968)
<snip>I'm using the stock huge kernel so I suspect switching to a generic kernel or rebuilding the stock kernel to allow me access to the disk driver modules might allow me to physically unload and then reload the modules without having to cut the power to the computer.

Any ideas? As it is, Slackware64 13.1 is basically useless unless some of these bugs can be identified and eliminated.

By the above statement it did seem you were still using the 'huge' instead of the 'generic'.

Quote:

Originally Posted by tpreitzel (Post 4003144)
BTW, I AM using the -generic 2.6.33.4 kernel, but the problem remains. I'm hoping an upgrade to a newer kernel in the 2.6.33.x series beyond 2.6.33.5 will fix this problem. This problem might not be related to the kernel, though.

IIRC *, my BIOS is pretty restrictive in changing parameters of the drives. I do remember that this particular DVD recorder doesn't use SMART, however. I'll do more checking. Thanks for any clues.

* I just checked the BIOS. The ONLY options are to either enable or disable the SATA controller which naturally isn't an option. ;) This PC came with a PATA controller and hard drive along with a SATA controller and DVD recorder. On the main menu of the BIOS, selecting the DVD recorder only brings up a screen whose options are NOT configurable, i.e. the options are greyed out. One of the greyed out options states the DVD recorder isn't SMART compatible. No reference to AHCI can be found in the BIOS.

No where until now did we know you are using the generic kernel.

What does your 'mkinitrd' line look like?

What is the motherboard model, BIOS version & manufacture?
:hattip:

dhubsith 06-14-2010 04:21 PM

Quote:

Originally Posted by tpreitzel (Post 4003144)
BTW, I AM using the -generic 2.6.33.4 kernel, but the problem remains. I'm hoping an upgrade to a newer kernel in the 2.6.33.x series beyond 2.6.33.5 will fix this problem. This problem might not be related to the kernel, though.

IIRC *, my BIOS is pretty restrictive in changing parameters of the drives. I do remember that this particular DVD recorder doesn't use SMART, however. I'll do more checking. Thanks for any clues.

* I just checked the BIOS. The ONLY options are to either enable or disable the SATA controller which naturally isn't an option. ;) This PC came with a PATA controller and hard drive along with a SATA controller and DVD recorder. On the main menu of the BIOS, selecting the DVD recorder only brings up a screen whose options are NOT configurable, i.e. the options are greyed out. One of the greyed out options states the DVD recorder isn't SMART compatible. No reference to AHCI can be found in the BIOS.

I am pretty sure this is not a kernel problem. I have tried the huge-smp kernel in Slack 13.1, and I tried my own custom 2.6.34 kernel, no difference. I also am pretty sure this is not a AHCI vs ATA native issue, I've tried both ways, same result.

I still think it's something in hal/udev.

tpreitzel 06-14-2010 05:06 PM

Quote:

Originally Posted by dhubsith (Post 4003571)
I am pretty sure this is not a kernel problem. I have tried the huge-smp kernel in Slack 13.1, and I tried my own custom 2.6.34 kernel, no difference. I also am pretty sure this is not a AHCI vs ATA native issue, I've tried both ways, same result.

I still think it's something in hal/udev.

I tend to agree. When I first noticed this horrific bug, I noticed that the CD/DVD seemed to only mount properly after a cold boot and ONLY the first time. * So, it seems logical to look for the bug in software dealing with the mounting/umounting of optical devices (removable) attached to a SATA controller. I also have a hard drive attached to this SATA controller, but I don't use it when I'm booted into SW64 13.1.

* I'm not 100% positive about the accuracy of this statement, though, from my initial tests only.

H_TeXMeX_H 06-15-2010 04:13 AM

Ok, now the only option left is compiling a newer kernel, that's the only thing I can think of that might fix it.

Richard Cranium 06-15-2010 09:22 AM

What SATA controller do you have? I have an ASUS SATA DVD drive and do not see this problem at all. lspci shows the controller to be...
Code:

IDE interface: nVidia Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2)


All times are GMT -5. The time now is 03:40 PM.