Re: DVD drive fails in 2.6.20.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Albert Lee wrote:
> Vlad Codrea wrote:
> 
>>Albert Lee wrote:
>>
>>
>>>This is the first problem.
>>>It's weird to see HSM violation here, without any debug task_state trace.
>>>In your previous log, it was detected correctly with debug task_state
>>>trace.
>>>
>>>ata2.00: ATAPI, max MWDMA2, CDB intr
>>>ata2.00: configured for MWDMA2
>>>PM: Adding info for No Bus:target0:0:0
>>>scsi 0:0:0:0: Direct-Access     ATA      IBM-DADA-26480   AD6O PQ: 0
>>>ANSI: 5
>>>PM: Adding info for scsi:0:0:0:0
>>>PM: Adding info for No Bus:target1:0:0
>>>ata2: protocol 5 task_state 4
>>>ata2: protocol 5 task_state 4 (dev_stat 0x58)
>>>ata2: protocol 5 task_state 1
>>>ata2: protocol 5 task_state 1 (dev_stat 0x58)
>>>ata2: protocol 5 task_state 2
>>>ata2: protocol 5 task_state 2 (dev_stat 0x50)
>>>scsi 1:0:0:0: CD-ROM            TORiSAN  DVD-ROM DRD-N216 1.08 PQ: 0
>>>ANSI: 5
>>>
>>> 
>>>
>>
>>The first problem shouldn't be there -- I accidentaly copied the top
>>portion (before the mount command) from an old dmesg where the DMA was
>>still enabled. Sorry about that.
>>
> 
> 
> It's ok. With the TORiSAN  DVD-ROM DRD-N216 DMA blacklisted,
> the device identify and inquiry look good. The first problem is gone. :)
> 
> 
>>libata version 2.00 loaded.
>>ata_piix 0000:00:07.1: version 2.00ac7
>>ata1: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xFCD0 irq 14
>>ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xFCD8 irq 15
>>scsi0 : ata_piix
>>PM: Adding info for No Bus:host0
>>ata1.00: ATA-4, max UDMA/33, 12685680 sectors: LBA 
>>ata1.00: ata1: dev 0 multi count 16
>>ata1.00: configured for UDMA/33
>>scsi1 : ata_piix
>>PM: Adding info for No Bus:host1
>>usbcore: registered new interface driver usbfs
>>usbcore: registered new interface driver hub
>>usbcore: registered new device driver usb
>>USB Universal Host Controller Interface driver v3.0
>>ata2: protocol 2 task_state 1 (dev_stat 0x58)
>>ata2: protocol 2 task_state 2 (dev_stat 0x50)
>>ata2.00: ATAPI, max MWDMA2, CDB intr
>>ata2.00: device is on DMA blacklist, disabling DMA
>>ata2: protocol 1 task_state 2
>>ata2: host_stat 0x4
>>ata2: protocol 1 task_state 2 (dev_stat 0x50)
>>ata2: protocol 2 task_state 1 (dev_stat 0x58)
>>ata2: protocol 2 task_state 2 (dev_stat 0x50)
>>ata2.00: configured for PIO4
>>PM: Adding info for No Bus:target0:0:0
>>scsi 0:0:0:0: Direct-Access     ATA      IBM-DADA-26480   AD6O PQ: 0 ANSI: 5
>>PM: Adding info for scsi:0:0:0:0
>>PM: Adding info for No Bus:target1:0:0
>>CDB (2:0,0,0) 12 00 00 00 24 00 00 00 00
>>ata2: protocol 5 task_state 4
>>ata2: host_stat 0x4
>>ata2: protocol 5 task_state 4 (dev_stat 0x58)
>>ata2: protocol 5 task_state 1
>>ata2: host_stat 0x4
>>ata2: protocol 5 task_state 1 (dev_stat 0x58)
>>ata2: protocol 5 task_state 1
>>ata2: host_stat 0x4
>>ata2: protocol 5 task_state 1 (dev_stat 0x50)
>>ata2: protocol 5 task_state 2 (dev_stat 0x50)
>>scsi 1:0:0:0: CD-ROM            TORiSAN  DVD-ROM DRD-N216 1.08 PQ: 0 ANSI: 5
> 
> 
> 
>>>
>>>This is the second problem. The device firmware/state machine stopped
>>>working suddenly. The INTRQ was not cleared even after the device status
>>>register was read. And the device status was struck to 0x58.
>>>Let the device transfer the trailing data without limitation didn't help.
>>>
>>>Vlad, could you please apply the attached debug patch. The patch
>>>1. adds your TORiSAM drive to the DMA blacklist
>>>  (so, we don't need to the check_atapi_dma() change this time)
>>>2. adds more debug trace
>>>
>>> 
>>>
>>
>>I have attached the dmesg generated after applying this patch.
>>
>>
>>>For the 2nd problem, could you please try change the medium and copy
>>>the data from another known to be good CD? It might be the medium that
>>>caused the device firmware malfunction.
>>> 
>>>
>>
>>I have switched mediums to another pressed CD that I know works on my
>>other computer and on this laptop when it is booted in Windows 98.
>>
> 
> 
> ##### Inserted CD and ran "mount /dev/sr0 /root/cdrom" #####
> => This part looks good as before.
> 
> ##### Ran "cp -r /root/cdrom /root/cdrom_copy" #####
> => Looks bad, the the trailing data problem still exists even after the
> medium is replaced. And the device stopped working.
> 
>>From the following trace, it is not clear what happened right before the crash.
> Could you please sent me the full dmesg.
> (If it is too big for the mailing list, please gzip and send to my e-mail
> address as attachment.)
> 

Ah, just saw this on bugzilla (bug 6710):
(http://bugzilla.kernel.org/show_bug.cgi?id=6710).

So, if ok, please attach the full dmesg to the bugzilla to keep record,
thanks.

--
albert

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux