Re: [BUG] kernel 2.6.15.4: soft lockup detected on CPU#0!

From: Charles-Edouard Ruault
Date: Thu Feb 16 2006 - 04:43:54 EST


Andrew Morton wrote:

>Charles-Edouard Ruault <ce@xxxxxxxxxx> wrote:
>
>
>>i was trying to rip a CD when the whole machine started to freeze
>> periodicaly, i then looked at the logs and found the following :
>>
>> Feb 12 19:23:39 ruault kernel: hdc: irq timeout: status=0x80 { Busy }
>> Feb 12 19:23:39 ruault kernel: ide: failed opcode was: unknown
>> Feb 12 19:23:39 ruault kernel: hdd: status timeout: status=0x80 { Busy }
>> Feb 12 19:23:39 ruault kernel: ide: failed opcode was: unknown
>> Feb 12 19:23:39 ruault kernel: hdd: drive not ready for command
>>
>>
>
>No idea what caused that.
>
>
>
>> Feb 12 19:23:39 ruault kernel: BUG: soft lockup detected on CPU#0!
>>
>>
>
>The following was merged today. Hopefully it suppresses this false
>positive.
>
>
>From what i understand it will fix the problem only if the drive is in
PIO mode, which is the case for Folkert van Heusden, who reported the
same BUG output.
However it does not appear that my cdrom drives are using PIO, from the
logs i have they're supposed to use DMA :

>Feb 12 19:37:12 ruault kernel: hdc: ATAPI 40X CD-ROM CD-R/RW drive,2048kB Cache, DMA
> Feb 12 19:37:12 ruault kernel: Uniform CD-ROM driver Revision: 3.20
> Feb 12 19:37:12 ruault kernel: hdd: ATAPI 32X DVD-ROM DVD-R CD-R/RW
> drive, 2048kB Cache, UDMA(33)

sudo /sbin/hdparm -i /dev/hdc

/dev/hdc:

Model=PLEXTOR CD-R PX-W1610A, FwRev=1.05, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:180,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
AdvancedPM=no

sudo /sbin/hdparm -i /dev/hdd

/dev/hdd:

Model=_NEC DVD_RW ND-3500AG, FwRev=2.1A, SerialNo=
Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no


So i think this patch won't do me any good :(
any other idea ????

Thanks for the answer.



--
Charles-Edouard Ruault
GPG key Id E4D2B80C

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/