Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.24 IDE CDROM drive [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Timbers2k
Apprentice
Apprentice


Joined: 03 Oct 2003
Posts: 215

PostPosted: Sat Feb 02, 2008 5:51 pm    Post subject: 2.6.24 IDE CDROM drive [SOLVED] Reply with quote

I have an AMD64 system on a Asus A8V with the VIA chipset. I've been running Gentoo on this for years with no problems until kernel 2.6.24-gentoo. When booting to that kernel I get a bunch of messeges about the CDROM drive:
Code:
Feb  2 11:42:32 riva hdc: status timeout: status=0xd0 { Busy }
Feb  2 11:42:32 riva ide: failed opcode was: unknown

Then the drive does not work once the sytem is up. I have a IDE disk and and PATA disk on this box, and they both continue to function with no errors. I booted back to 2.6.23-gentoo-r6, the drive works just fine, no errors at all. I compiled the kernel using make oldconfig and only changed new feature. I went back and verified that all the IDE/CDROM stuff was the same. Needless to say, I'm staying with the older kernel for now. Has anyone seen this? I've searched the bug, but haven't found any. I'll submit a bug report after some more research.


Last edited by Timbers2k on Wed Feb 06, 2008 10:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sat Feb 02, 2008 6:07 pm    Post subject: Reply with quote

It looks like you're using ATA/MFM/RLL support in your kernel. Did you try SATA/PATA options? SATA/PATA do not need options in ATA/MFM/RLL anymore and your disks will all be seen like SCSI disks. I've done that on my system and my IDE CDROM appears as /dev/sg0 and /dev/cdrom only. There's no /dev/hd* anymore.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Timbers2k
Apprentice
Apprentice


Joined: 03 Oct 2003
Posts: 215

PostPosted: Sat Feb 02, 2008 7:36 pm    Post subject: Reply with quote

I haven't tried the PATA options since they are still marked experimental, but I do use the SATA with no problems. Are you using the PATA support for an IDE CDROM on 2.6.24 without problems? I might try that if I have time, but it will take a bit of reconfiguring I don't really want to do now. The ATA/MFM/RLL support is still supposed to work, it is the recommended option at this time. I've done some external searches and found the same errors being reported in Ubuntu systems with 2.6.24, so it's not just me. Looks like a kernel bug to me.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sat Feb 02, 2008 7:41 pm    Post subject: Reply with quote

Timbers2k wrote:
Are you using the PATA support for an IDE CDROM on 2.6.24 without problems?

Yup, it's all fine. Note that only a few options are still marked experimental. The usual chipsets are now well supported.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Timbers2k
Apprentice
Apprentice


Joined: 03 Oct 2003
Posts: 215

PostPosted: Wed Feb 06, 2008 7:53 pm    Post subject: Reply with quote

OK, if I switch to libata, how do I figure out what the device names will be? I currently have one SATA disk that is called /dev/sda and one IDE disk that is called /dev/hda, along with an IDE cdrom that is called /dev/hdc. Will the SATA drive still be sda? And will the IDE drived become sdb and sdc? Then what about USB drives, will they move to sdd? Where did your /dev/sg0 come from?

I have not been able to find answers to this with quite a bit of looking.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Wed Feb 06, 2008 8:37 pm    Post subject: Reply with quote

Timbers2k wrote:
OK, if I switch to libata, how do I figure out what the device names will be? I currently have one SATA disk that is called /dev/sda and one IDE disk that is called /dev/hda, along with an IDE cdrom that is called /dev/hdc. Will the SATA drive still be sda? And will the IDE drived become sdb and sdc? Then what about USB drives, will they move to sdd? Where did your /dev/sg0 come from?

I have not been able to find answers to this with quite a bit of looking.

There'll be /dev/sg[0-9] for each SCSI generic devices and /dev/sr[0-9] for each SCSI recorders. All your hard disks will be seen as /dev/sd[a-z]. Your CDROM drive will be seen as /dev/sg[0-9] and /dev/cdrom. Your CD recorder will be seen as /dev/sr[0-9] and /dev/cdrw. DVD reader --> /dev/sg[0-9] and /dev/dvd, aso. (udev rules take care for naming your devices and not to create redundant and non-significant device nodes.)

You'll need SCSI and SCSI CDROM support. Plus SATA/PATA support for your chipset. If you're not sure you can check all Intel PATA drivers if you have an Intel chipset, for instance.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
absoluteflatness
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2007
Posts: 138
Location: Blacksburg or Falls Church, VA

PostPosted: Wed Feb 06, 2008 9:19 pm    Post subject: Reply with quote

Here's my anecdotal experience with the switch. As far as my system, the sd* numbers are assigned so that SATA drives take precedence, so if you currently have an sda and an hda, your current sda will stay the same, and your current hda will become sdb.

Of course, YMMV.

As the above poster said, your cd drive won't have an sd* device, but probably something like sr0. You probably won't even notice that change, because udev will handle the /dev/cdrom,cdrw,dvd,etc symlinks.
Back to top
View user's profile Send private message
Timbers2k
Apprentice
Apprentice


Joined: 03 Oct 2003
Posts: 215

PostPosted: Wed Feb 06, 2008 10:17 pm    Post subject: Reply with quote

Thank you both. I made the switch and it works as advertised. My /dev/hda became /dev/sdb and I left my cdrom as /dev/cdrom and it works perfectly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum