public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* non functional pata dvd drive under 2.6.25.6
@ 2008-06-23 19:02 Jeroen Beerstra
  2008-07-18  5:00 ` Tejun Heo
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen Beerstra @ 2008-06-23 19:02 UTC (permalink / raw)
  To: linux-kernel

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....

-- 
jb


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: non functional pata dvd drive under 2.6.25.6
  2008-06-23 19:02 non functional pata dvd drive under 2.6.25.6 Jeroen Beerstra
@ 2008-07-18  5:00 ` Tejun Heo
  2008-07-23 20:19   ` Jeroen Beerstra
  0 siblings, 1 reply; 5+ messages in thread
From: Tejun Heo @ 2008-07-18  5:00 UTC (permalink / raw)
  To: Jeroen Beerstra; +Cc: linux-kernel, IDE/ATA development list

Hello, Jeroen.

[cc'ing linux-ide]

Jeroen Beerstra wrote:
> 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....

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.

-- 
tejun

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: non functional pata dvd drive under 2.6.25.6
  2008-07-18  5:00 ` Tejun Heo
@ 2008-07-23 20:19   ` Jeroen Beerstra
  2008-07-23 21:01     ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen Beerstra @ 2008-07-23 20:19 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-kernel, IDE/ATA development list

Hello Tejun,

Op Friday 18 July 2008 07:00:42 schreef u:
> 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.
>
> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: non functional pata dvd drive under 2.6.25.6
  2008-07-23 20:19   ` Jeroen Beerstra
@ 2008-07-23 21:01     ` Alan Cox
  2008-07-24  6:38       ` Jeroen Beerstra
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2008-07-23 21:01 UTC (permalink / raw)
  To: Jeroen Beerstra; +Cc: Tejun Heo, linux-kernel, IDE/ATA development list

On Wed, 23 Jul 2008 22:19:47 +0200
Jeroen Beerstra <jeroen@scorpion77.cjb.net> wrote:

> Hello Tejun,
> 
> Op Friday 18 July 2008 07:00:42 schreef u:
> > 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.
> >
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: non functional pata dvd drive under 2.6.25.6
  2008-07-23 21:01     ` Alan Cox
@ 2008-07-24  6:38       ` Jeroen Beerstra
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Beerstra @ 2008-07-24  6:38 UTC (permalink / raw)
  To: Alan Cox; +Cc: Jeroen Beerstra, Tejun Heo, linux-kernel,
	IDE/ATA development list


> On Wed, 23 Jul 2008 22:19:47 +0200
> Jeroen Beerstra <jeroen@scorpion77.cjb.net> wrote:
>
>> Hello Tejun,
>>
>> Op Friday 18 July 2008 07:00:42 schreef u:
>> > 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.
>> >
>> > 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
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-24  7:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 19:02 non functional pata dvd drive under 2.6.25.6 Jeroen Beerstra
2008-07-18  5:00 ` Tejun Heo
2008-07-23 20:19   ` Jeroen Beerstra
2008-07-23 21:01     ` Alan Cox
2008-07-24  6:38       ` Jeroen Beerstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox