* cdrom_id from udev-135 hangs
@ 2009-02-24 2:02 ljb
2009-02-24 2:14 ` Kay Sievers
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ljb @ 2009-02-24 2:02 UTC (permalink / raw)
To: linux-hotplug
I am trying to upgrade an old PC from Slackware 12.1 (udev-118,
Linux-2.6.24.5) to Slackware 12.2 (udev-135, Linux-2.6.27.7). The system
hangs up during boot running cdrom_id. If I disable 60-cdrom_id.rules, or
replace cdrom_id with the one from udev-118, it works.
Running cdrom_id from udev-135 (138 too) logs lots of messages like those
shown below, and never completes. The drive is an IDE Sony CD-RW CRX175E2,
connected to an Intel SE440BX2 motherboard, and the drive works fine other
than this issue. How do I troubleshoot this?
kernel: hdc: status error: status=0x59 { DriveReady SeekComplete
DataRequest Error }
kernel: hdc: status error: error=0x20 { LastFailedSense=0x02 }
kernel: ide: failed opcode was: unknown
kernel: hdc: drive not ready for command
...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom_id from udev-135 hangs
2009-02-24 2:02 cdrom_id from udev-135 hangs ljb
@ 2009-02-24 2:14 ` Kay Sievers
2009-02-25 3:24 ` ljb
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2009-02-24 2:14 UTC (permalink / raw)
To: linux-hotplug
On Tue, Feb 24, 2009 at 03:02, ljb <ljb1813@pobox.com> wrote:
> I am trying to upgrade an old PC from Slackware 12.1 (udev-118,
> Linux-2.6.24.5) to Slackware 12.2 (udev-135, Linux-2.6.27.7). The system
> hangs up during boot running cdrom_id. If I disable 60-cdrom_id.rules, or
> replace cdrom_id with the one from udev-118, it works.
>
> Running cdrom_id from udev-135 (138 too) logs lots of messages like those
> shown below, and never completes. The drive is an IDE Sony CD-RW CRX175E2,
> connected to an Intel SE440BX2 motherboard, and the drive works fine other
> than this issue. How do I troubleshoot this?
>
> kernel: hdc: status error: status=0x59 { DriveReady SeekComplete
> DataRequest Error }
> kernel: hdc: status error: error=0x20 { LastFailedSense=0x02 }
> kernel: ide: failed opcode was: unknown
> kernel: hdc: drive not ready for command
Can you try using libata drivers for it and see if shows the same problem?
Thanks,
Kay
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom_id from udev-135 hangs
2009-02-24 2:02 cdrom_id from udev-135 hangs ljb
2009-02-24 2:14 ` Kay Sievers
@ 2009-02-25 3:24 ` ljb
2009-02-25 4:11 ` Bryan Kadzban
2009-02-26 2:57 ` ljb
3 siblings, 0 replies; 5+ messages in thread
From: ljb @ 2009-02-25 3:24 UTC (permalink / raw)
To: linux-hotplug
kay.sievers@vrfy.org wrote:
>...
>
> Can you try using libata drivers for it and see if shows the same problem?
Sorry, I looked and read and I can't find out how to do this. I know my
kernel has libata and ata_piix compiled in, and I see a message from libata
at boot time, but I am pretty sure it isn't being used on this PATA-only PC.
I can't figure out how to get it to use libata for the CD.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom_id from udev-135 hangs
2009-02-24 2:02 cdrom_id from udev-135 hangs ljb
2009-02-24 2:14 ` Kay Sievers
2009-02-25 3:24 ` ljb
@ 2009-02-25 4:11 ` Bryan Kadzban
2009-02-26 2:57 ` ljb
3 siblings, 0 replies; 5+ messages in thread
From: Bryan Kadzban @ 2009-02-25 4:11 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]
ljb wrote:
> kay.sievers@vrfy.org wrote:
>> Can you try using libata drivers for it and see if shows the same
>> problem?
>
> Sorry, I looked and read and I can't find out how to do this. I know
> my kernel has libata and ata_piix compiled in, and I see a message
> from libata at boot time, but I am pretty sure it isn't being used on
> this PATA-only PC. I can't figure out how to get it to use libata for
> the CD.
Disable CONFIG_IDE. Or disable CONFIG_BLK_DEV_IDE. Or maybe disable
CONFIG_BLK_DEV_IDECD (but I don't know if the PIIX libata driver will
pick up just the CD drive). Or disable CONFIG_BLK_DEV_PIIX. This is in
approximate order of most-general to most-specific options; turning off
the last option will disable the least amount of code.
(I have CONFIG_IDE disabled entirely, but whether you can do that will
depend on your current IDE chipset(s) and their level of libata support...)
There may be ways to do this with kernel options as well, but I don't
know of any offhand. Check Documentation/kernel-parameters.txt for the
full list of flags; something appropriate may be in there. (At least
that would let you avoid recompiling.)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom_id from udev-135 hangs
2009-02-24 2:02 cdrom_id from udev-135 hangs ljb
` (2 preceding siblings ...)
2009-02-25 4:11 ` Bryan Kadzban
@ 2009-02-26 2:57 ` ljb
3 siblings, 0 replies; 5+ messages in thread
From: ljb @ 2009-02-26 2:57 UTC (permalink / raw)
To: linux-hotplug
bryan@kadzban.is-a-geek.net wrote:
>...
> Disable CONFIG_IDE. Or disable CONFIG_BLK_DEV_IDE. Or maybe disable
> CONFIG_BLK_DEV_IDECD (but I don't know if the PIIX libata driver will
> pick up just the CD drive). Or disable CONFIG_BLK_DEV_PIIX. This is in
> approximate order of most-general to most-specific options; turning off
> the last option will disable the least amount of code.
>
> (I have CONFIG_IDE disabled entirely, but whether you can do that will
> depend on your current IDE chipset(s) and their level of libata support..)
>
> There may be ways to do this with kernel options as well, but I don't
> know of any offhand. Check Documentation/kernel-parameters.txt for the
> full list of flags; something appropriate may be in there. (At least
> that would let you avoid recompiling.)
I was afraid it might take something like that - recompile without IDE or
IDECD. I'll have to think about if I'm brave enough to try that. Also
considering the libata PATA drivers are considered "experimental".
I did look at kernel-parameters.txt before posting to see if there was
something for libata like the old 2.4 option for having ide-scsi handle the
CD instead of the regular IDE driver. I didn't find anything there. I did
find this in ide.txt: "ide_core.noprobe=1.0". It causes the IDE driver to
ignore my CD drive (master device, secondary channel). But libata doesn't
pick it up automatically. If there is a way to get it to do so, I haven't
found it.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-26 2:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24 2:02 cdrom_id from udev-135 hangs ljb
2009-02-24 2:14 ` Kay Sievers
2009-02-25 3:24 ` ljb
2009-02-25 4:11 ` Bryan Kadzban
2009-02-26 2:57 ` ljb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).