Wednesday, August 25, 2010

CDROM issues continued

When I boot into 2.6.32-bpo.3-amd64 kernel, here what I now get with my data CDROM:

$ dmesg | grep hda
[ 2.281372] hda: TSSTcorp DVD+/-RW TS-L632H, ATAPI CD/DVD-ROM drive
[ 2.952062] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 2.958189] hda: UDMA/33 mode selected
[ 64.499940] hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
[ 64.500372] hda: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
[ 64.500701] hda: possibly failed opcode: 0xa0
[ 74.350439] hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
[ 74.350871] hda: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
[ 74.351201] hda: possibly failed opcode: 0xa0
[ 80.871294] hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
[ 80.871310] hda: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
[ 80.871319] hda: possibly failed opcode: 0xa0
[ 87.392223] hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
[ 87.392239] hda: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
[ 87.392248] hda: possibly failed opcode: 0xa0
[ 93.913269] hda: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
[ 93.913286] hda: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
[ 93.913295] hda: possibly failed opcode: 0xa0
[ 93.913303] hda: DMA disabled
[ 93.960162] hda: ATAPI reset complete

$ dmesg | grep -i dma
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 105 pages reserved
[ 0.000000] DMA zone: 3838 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 898747 pages, LIFO batch:31
[ 0.000000] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.449793] ide0: BM-DMA at 0x6fa0-0x6fa7
[ 2.006308] eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[ 2.170774] mmc0: SDHCI controller on PCI [0000:03:01.1] using DMA
[ 2.958189] hda: UDMA/33 mode selected
[ 3.213194] ata1: SATA max UDMA/133 cmd 0x6eb0 ctl 0x6eb8 bmdma 0x6ee0 irq 18
[ 3.213204] ata2: SATA max UDMA/133 cmd 0x6ec0 ctl 0x6ec8 bmdma 0x6ee8 irq 18
[ 4.088357] ata1.00: ATA-8: ST9160411ASG, DE14, max UDMA/133
[ 4.150205] ata1.00: configured for UDMA/133
[ 93.913303] hda: DMA disabled


$ sudo hdparm /dev/hda

/dev/hda:
IO_support = 0 (default)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device


$ sudo hdparm -i /dev/hda

/dev/hda:

Model=TSSTcorp DVD+/-RW TS-L632H, FwRev=D400, 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:383,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
Drive conforms to: unknown:

* signifies the current active mode

No comments: