View previous topic :: View next topic |
Author |
Message |
catkfr Guru
Joined: 02 Aug 2004 Posts: 300
|
Posted: Wed Apr 30, 2008 2:39 pm Post subject: Sata DVD problems |
|
|
Hey,
I have a very recent SATA driver which just worked. Today, I tried loading a CD (copy protected CD that only works in windows: I wanted to play it in virtualbox which runs fine and has already worked in the past) but it refused to mount. I had the following pollute my logs:
Code: | Apr 30 14:27:00 catk ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Apr 30 14:27:00 catk ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 30 14:27:00 catk cdb 1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00
Apr 30 14:27:00 catk res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 30 14:27:00 catk ata1.00: status: { DRDY }
Apr 30 14:27:00 catk ata1: soft resetting link
Apr 30 14:27:00 catk ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Apr 30 14:27:00 catk ata1.00: configured for UDMA/66
Apr 30 14:27:00 catk ata1: EH complete
Apr 30 14:27:30 catk printk: 1903 messages suppressed.
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 0
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 1
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 2
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 3
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 4
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 5
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 6
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 7
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 8
Apr 30 14:27:30 catk Buffer I/O error on device sr0, logical block 9
Apr 30 14:27:35 catk uvesafb: VBE get state call failed (eax=0x4f04, err=0)
Apr 30 14:27:35 catk uvesafb: mode switch failed (eax=0x4f02, err=0)
Apr 30 14:27:35 catk printk: 2494 messages suppressed.
Apr 30 14:27:35 catk Buffer I/O error on device sr0, logical block 64
Apr 30 14:27:40 catk printk: 1183 messages suppressed.
Apr 30 14:27:40 catk Buffer I/O error on device sr0, logical block 0
Apr 30 14:27:43 catk sr 0:0:0:0: [sr0] unaligned transfer
Apr 30 14:27:43 catk sr 0:0:0:0: [sr0] unaligned transfer
Apr 30 14:27:43 catk sr 0:0:0:0: [sr0] unaligned transfer
|
I tried a bunch of other CDs (including linux live cds which I had burned, so no copy protection there) all returned the same "unaligned transfer" error after the buffer I/O errors and were not recognized and mounted.
I dual booted back to Windows to check if the drive had problems also under windows and it didn't.
Back to gentoo, I try the same CD, mounts now. Open virtualbox, it runs fine. I check my logs and get some Buffer I/O errors but hey it works:
Code: | Apr 30 16:18:06 catk ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Apr 30 16:18:06 catk ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 30 16:18:06 catk cdb 1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00
Apr 30 16:18:06 catk res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 30 16:18:06 catk ata1.00: status: { DRDY }
Apr 30 16:18:06 catk ata1: soft resetting link
Apr 30 16:18:06 catk ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Apr 30 16:18:07 catk ata1.00: configured for UDMA/66
Apr 30 16:18:07 catk ata1: EH complete
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 0
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 1
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 2
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 3
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 4
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 5
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 6
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 7
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 0
Apr 30 16:18:13 catk Buffer I/O error on device sr0, logical block 1
Apr 30 16:18:18 catk printk: 288 messages suppressed.
Apr 30 16:18:18 catk Buffer I/O error on device sr0, logical block 0
Apr 30 16:18:24 catk printk: 505 messages suppressed.
Apr 30 16:18:24 catk Buffer I/O error on device sr0, logical block 16
Apr 30 16:18:28 catk ISO 9660 Extensions: Microsoft Joliet Level 1
Apr 30 16:18:28 catk ISOFS: changing to secondary root
Apr 30 16:18:28 catk hald: mounted /dev/sr0 on behalf of uid 1000
Apr 30 16:18:28 catk gnome-keyring-daemon[3369]: adding removable location: volume_label_whiterisk at /media/whiterisk
Apr 30 16:18:29 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:29 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:29 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:29 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:38 catk hald: unmounted /dev/sr0 from '/media/whiterisk' on behalf of uid 1000
Apr 30 16:18:38 catk gnome-keyring-daemon[3369]: removing removable location: volume_label_whiterisk
Apr 30 16:18:39 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:39 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:39 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:39 catk VMBlock warning: DentryOpRevalidate: invalid args from kernel
Apr 30 16:18:40 catk ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Apr 30 16:18:40 catk ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 30 16:18:40 catk cdb 1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00
Apr 30 16:18:40 catk res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 30 16:18:40 catk ata1.00: status: { DRDY }
Apr 30 16:18:41 catk ata1: soft resetting link
Apr 30 16:18:41 catk ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Apr 30 16:18:41 catk ata1.00: configured for UDMA/66
Apr 30 16:18:41 catk ata1: EH complete
Apr 30 16:18:45 catk printk: 117 messages suppressed.
Apr 30 16:18:45 catk Buffer I/O error on device sr0, logical block 16
Apr 30 16:18:45 catk Buffer I/O error on device sr0, logical block 17
Apr 30 16:18:45 catk Buffer I/O error on device sr0, logical block 16
Apr 30 16:18:45 catk Buffer I/O error on device sr0, logical block 17
Apr 30 16:18:47 catk usb 1-4.3: reset full speed USB device using ehci_hcd and address 4
Apr 30 16:20:01 catk cron[3763]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
|
So, I don't want to be paranoid about the buffer I/O device error in the logs, but when the DVD drive just stops to work and mandates a reboot, something is clearly wrong.
Here are the disk outputs from dmesg:
Code: |
scsi0 : sata_nv
scsi1 : sata_nv
ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd800 irq 17
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd808 irq 17
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATAPI: PIONEER DVD-RW DVR-212D, 1.15, max UDMA/66
ata1.00: configured for UDMA/66
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: CD-ROM PIONEER DVD-RW DVR-212D 1.15 PQ: 0 ANSI: 5
ata1: bounce limit 0xFFFFFFFF, segment boundary 0xFFFF, hw segs 127
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
sr 0:0:0:0: Attached scsi generic sg0 type 5
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [APSJ] -> GSI 21 (level, low) -> IRQ 18
sata_nv 0000:00:08.0: Using ADMA mode
PCI: Setting latency timer of device 0000:00:08.0 to 64
scsi2 : sata_nv
scsi3 : sata_nv
ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xc400 irq 18
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xc408 irq 18
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: ATA-7: WDC WD2500KS-00MJB0, 02.01C03, max UDMA/133
ata3.00: 488397168 sectors, multi 1: LBA48
ata3.00: configured for UDMA/133
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-7: SAMSUNG SP2504C, VT100-41, max UDMA7
ata4.00: 488397168 sectors, multi 1: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/133
|
Any ideas?
Edit: additional info: running ~x86
Code: | # uname -a
Linux catk 2.6.24-gentoo-r5 #1 SMP PREEMPT Thu Apr 10 12:21:50 CEST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
|
|
|
Back to top |
|
|
marrowhk Apprentice
Joined: 25 Jul 2007 Posts: 250
|
Posted: Mon May 05, 2008 2:08 pm Post subject: |
|
|
Could this be a UDF/Joliet problem? If so check your kernel config and rebuild your kernel
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y _________________ You'll always come back to GENTOOOOOOO ! (Trust me...) |
|
Back to top |
|
|
catkfr Guru
Joined: 02 Aug 2004 Posts: 300
|
Posted: Mon May 05, 2008 2:37 pm Post subject: |
|
|
I do think that there is a problem in the kernel drivers for the sata drive but those entries are correctly configured. In fact, if they weren't, a reboot wouldn't have fixed the issue. |
|
Back to top |
|
|
marrowhk Apprentice
Joined: 25 Jul 2007 Posts: 250
|
Posted: Mon May 05, 2008 3:27 pm Post subject: |
|
|
Glad to hear your UDF and Joliet file systems are good to go
Not quite sure what this is about though, good luck to you...
Code: | if they weren't, a reboot wouldn't have fixed the issue. |
_________________ You'll always come back to GENTOOOOOOO ! (Trust me...) |
|
Back to top |
|
|
catkfr Guru
Joined: 02 Aug 2004 Posts: 300
|
Posted: Mon May 05, 2008 3:40 pm Post subject: |
|
|
Thanks for the reply anyway!
Hopefully, I don't use the DVD driver that often so this isn't critical on a day to day basis, but I would really like to understand what the heck is going on... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|