Skip to contentSkip to conversation

non functional pata dvd drive under 2.6.25.6

DISCUSSION Jeroen Beerstra 5 participants 9 messages Jun 23, 2008 – Jul 24, 2008 libata

lore
Share & tools
lore
#0 lore raw

hi there,

I've filed this as a bug with redhat bugzilla (12-6), https://
bugzilla.redhat.com/show_bug.cgi?id=451081, but so far I've had no response at all ... so here we go ;)

Basicly my ide dvd writer is non functional with Fedora 9 (kernel 2.6.25.6). So far I've seen it functional only once when I booted with media already inserted, but for the rest it's pretty much like this:

excerpt from dmesg

ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete
ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete
sr 10:0:0:0: ioctl_internal_command return code = 8000002
: Sense Key : Aborted Command [current] [descriptor] : Add. Sense: No additional sense information
ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete

cat /sys/bus/scsi/devices/10:0:0:0/model
PATA 20X20X12X

The drive is completely non functional.

System is a Nforce 780i SLI MB (Asus P5N-T Deluxe) with an Q9450 INtel Core2 Quad CPU and 4 GB of ram.

With Windows XP/Vista there are no problems with this drive and also I had no problems installing Fedora from this drive in the first place, so I doubt if it is a hardware problem.

I can live with the fact that I only have one writer available but not with the fact that everything that tries to access the drive hangs with status D for a very long time, hald-addon-storage for one....

Signature · 1 line
jb
#1 lore raw

(switched mailing lists)

Quoted 62 lines · On Mon, 23 Jun 2008 21:02:23 +0200 Jeroen Beerstra <[email protected]>…

hi there,

I've filed this as a bug with redhat bugzilla (12-6), https://
bugzilla.redhat.com/show_bug.cgi?id=451081, but so far I've had no response at all ... so here we go ;)

Basicly my ide dvd writer is non functional with Fedora 9 (kernel 2.6.25.6). So far I've seen it functional only once when I booted with media already inserted, but for the rest it's pretty much like this:

excerpt from dmesg

ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete
ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete
sr 10:0:0:0: ioctl_internal_command return code = 8000002
: Sense Key : Aborted Command [current] [descriptor] : Add. Sense: No additional sense information
ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete

cat /sys/bus/scsi/devices/10:0:0:0/model
PATA 20X20X12X

The drive is completely non functional.

System is a Nforce 780i SLI MB (Asus P5N-T Deluxe) with an Q9450 INtel Core2 Quad CPU and 4 GB of ram.

With Windows XP/Vista there are no problems with this drive and also I had no problems installing Fedora from this drive in the first place, so I doubt if it is a hardware problem.

I can live with the fact that I only have one writer available but not with the fact that everything that tries to access the drive hangs with status D for a very long time, hald-addon-storage for one....

#2 lore raw
Quoted 1 line · On Tue, 8 Jul 2008 21:41:45 -0700 Andrew Morton <[email protected]>…

(switched mailing lists)

Wrong list I think - APIC bugs would be Ingo and the x86 list

Alan

#3 lore raw
Quoted 7 lines · On Fri, 11 Jul 2008 16:48:05 +0100 Alan Cox <[email protected]> wrote:
Quoted 1 line · On Tue, 8 Jul 2008 21:41:45 -0700 Andrew Morton <[email protected]>…

(switched mailing lists)

Wrong list I think - APIC bugs would be Ingo and the x86 list

There is no indication in the report that this bug is caused by any apic problem.

If the IDE guys knew this information then would it be too much to ask that you go tell the x86 developers about it rather than having me play postman all the time?

#4 lore raw
Quoted 3 lines

If the IDE guys knew this information then would it be too much to ask that you go tell the x86 developers about it rather than having me play postman all the time?

Its in the bugzilla bug referenced (and I couldn't play postman as I'd not reviewed the bug until then)

Alan

#5 lore raw
In reply to Jeroen Beerstra

Hello, Jeroen.

[cc'ing linux-ide]

Quoted 54 lines · Jeroen Beerstra

hi there,

I've filed this as a bug with redhat bugzilla (12-6), https://
bugzilla.redhat.com/show_bug.cgi?id=451081, but so far I've had no response at all ... so here we go ;)

Basicly my ide dvd writer is non functional with Fedora 9 (kernel 2.6.25.6). So far I've seen it functional only once when I booted with media already inserted, but for the rest it's pretty much like this:

excerpt from dmesg

ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete
ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete
sr 10:0:0:0: ioctl_internal_command return code = 8000002
: Sense Key : Aborted Command [current] [descriptor] : Add. Sense: No additional sense information
ata10.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata10.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0

         cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)

ata10.00: status: { DRDY }
ata10: soft resetting link
ata10: nv_mode_filter: 0x1&0x1f01f->0x1, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
ata10.00: configured for PIO0
ata10: EH complete

cat /sys/bus/scsi/devices/10:0:0:0/model
PATA 20X20X12X

The drive is completely non functional.

System is a Nforce 780i SLI MB (Asus P5N-T Deluxe) with an Q9450 INtel Core2 Quad CPU and 4 GB of ram.

Quoted 7 lines

With Windows XP/Vista there are no problems with this drive and also I had no problems installing Fedora from this drive in the first place, so I doubt if it is a hardware problem.

I can live with the fact that I only have one writer available but not with the fact that everything that tries to access the drive hangs with status D for a very long time, hald-addon-storage for one....

Hmmm... the problem could be caused by hald polling for media presence.
Does "hal-disable-polling /dev/srX" make any difference?
hal-disable-polling setting is persistent so if your drive goes bonkers quickly after boot, you can disable polling, reboot and see whether anything is different. Also, please post the result of "lspci -nn" and "hdparm -I /dev/srX" && please try 2.6.26.

Thanks.

Signature · 1 line
tejun
#6 lore raw

Hello Tejun,

Op Friday 18 July 2008 07:00:42 schreef u:

Quoted 4 lines

Hello, Jeroen.

[cc'ing linux-ide]

Quoted 8 lines

Hmmm... the problem could be caused by hald polling for media presence.
Does "hal-disable-polling /dev/srX" make any difference?
hal-disable-polling setting is persistent so if your drive goes bonkers quickly after boot, you can disable polling, reboot and see whether anything is different. Also, please post the result of "lspci -nn" and "hdparm -I /dev/srX" && please try 2.6.26.

Thanks.

I'm pretty sure about that since the hald process I'm refering to points to the 'faulty' drive. However simply booting with noapic seems to fix all of my problems.

See:

Bug 451081 @ bugzilla.redhat.com
Bug 11044 @ bugzilla.kernel.org

regards,

Jeroen Beerstra

#7 lore raw
Quoted 14 lines · On Wed, 23 Jul 2008 22:19:47 +0200 Jeroen Beerstra <[email protected]>…

Hello Tejun,

Op Friday 18 July 2008 07:00:42 schreef u:

Quoted 11 lines

Hello, Jeroen.

[cc'ing linux-ide]

Hmmm... the problem could be caused by hald polling for media presence.
Does "hal-disable-polling /dev/srX" make any difference?
hal-disable-polling setting is persistent so if your drive goes bonkers quickly after boot, you can disable polling, reboot and see whether anything is different. Also, please post the result of "lspci -nn" and "hdparm -I /dev/srX" && please try 2.6.26.

Quoted 5 lines
Quoted 1 line

Thanks.

I'm pretty sure about that since the hald process I'm refering to points to the 'faulty' drive. However simply booting with noapic seems to fix all of my problems.

There are lots of similar reports. I don't know what broke the APIC code but it doesn't appear any of these are libata bugs.

Alan

#8 lore raw
Quoted 29 lines
Quoted 17 lines · On Wed, 23 Jul 2008 22:19:47 +0200 Jeroen Beerstra <[email protected]>…

Hello Tejun,

Op Friday 18 July 2008 07:00:42 schreef u:

Quoted 5 lines

Hello, Jeroen.

[cc'ing linux-ide]

Hmmm... the problem could be caused by hald polling for media

presence.

Quoted 2 lines

Does "hal-disable-polling /dev/srX" make any difference?
hal-disable-polling setting is persistent so if your drive goes

bonkers

Quoted 2 lines

quickly after boot, you can disable polling, reboot and see whether anything is different. Also, please post the result of "lspci -nn"

and

Quoted 2 lines

"hdparm -I /dev/srX" && please try 2.6.26.

Quoted 7 lines
Quoted 1 line

Thanks.

I'm pretty sure about that since the hald process I'm refering to points to
the 'faulty' drive. However simply booting with noapic seems to fix all of my
problems.

Quoted 5 lines

There are lots of similar reports. I don't know what broke the APIC code but it doesn't appear any of these are libata bugs.

Alan

As soon as I have my system back and running again I will test the patch that was attached to the rh bugzilla report, perhaps that will make things a bit clearer.

Jeroen