Hello, Tejun & Robert, On Tue, Jan 19, 2010 at 9:59 PM, Robert Hancock <hancockrwd@xxxxxxxxx> wrote: >>> 2009/12/24 Tejun Heo <tj@xxxxxxxxxx>: >> Hmm.... it worked? Does kernel parameter sata_nv.adma_enabled=0 make >> any difference? Can you please attach boot log with the kernel >> parameter specified? > > Think you meant maybe sata_nv.swncq=0 instead - this is an MCP51 > controller so it doesn't support ADMA. I don't imagine SWNCQ would > make any difference with an ATAPI device, but wouldn't hurt to try. Thanks for following this up. I tried both of your suggested kernel parameters (attached). Neither solved my problem, but also it looks like I couldn't turn off the SWNCQ mode. Even though I set it to zero, sata_nv still shows that it uses it. Although the order of my devices changed, so I assume it did something. I hope this helps shed some light! I will also try the kernel patch -- not sure if that is suited for the problem I'm having? -Cengiz -- Cengiz Gunay -- Postdoctoral Fellow Prinz Lab, Dept. of Biology, Emory University 1510 Clifton Rd., Room 2172, Atlanta, GA 30322, U.S.A. cgunay@xxxxxxxxx cengique@xxxxxxxxxxxx cengique@xxxxxxxxx Lab: +1-404-727-9381 Home/Cell: +1-678-559-8694 http://userwww.service.emory.edu/~cgunay ICQ# 21104923, cengique@{jabber.org,Skype} --
BIOS-e820: 000000007fef3000 - 000000007ff00000 (ACPI data) #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32 root=/dev/mapper/nvidia_ceebaiib1 ro single sata_nv.adma_enabled=0 Memory: 2052264k/2096064k available (2319k kernel code, 42132k reserved, 912k data, 404k init, 1186760k highmem) .data : 0xc1243e41 - 0xc1328128 ( 912 kB) libata version 3.00 loaded. sata_nv 0000:00:0e.0: version 3.5 sata_nv 0000:00:0e.0: PCI INT A -> Link[APSI] -> GSI 21 (level, low) -> IRQ 21 sata_nv 0000:00:0e.0: Using SWNCQ mode sata_nv 0000:00:0e.0: setting latency timer to 64 scsi0 : sata_nv scsi1 : sata_nv ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd400 irq 21 ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd408 irq 21 sata_nv 0000:00:0f.0: PCI INT A -> Link[APSJ] -> GSI 20 (level, low) -> IRQ 20 sata_nv 0000:00:0f.0: Using SWNCQ mode sata_nv 0000:00:0f.0: setting latency timer to 64 scsi2 : sata_nv scsi3 : sata_nv ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xe800 irq 20 ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xe808 irq 20 ata3: SATA link down (SStatus 0 SControl 300) ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: ATA-7: SAMSUNG SP2504C, VT100-41, max UDMA7 ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32) ata1.00: configured for UDMA/133 ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata2.00: ATA-7: ST3250620AS, 3.AAC, max UDMA/133 ata2.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32) ata2.00: configured for UDMA/133 ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4.00: ATAPI: ATAPI iHOS104, WL08, max UDMA/100 ata4.00: configured for UDMA/100 ata4.00: qc timeout (cmd 0xa0) ata4.00: TEST_UNIT_READY failed (err_mask=0x5) ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4.00: configured for UDMA/100 ata4.00: qc timeout (cmd 0xa0) ata4.00: TEST_UNIT_READY failed (err_mask=0x5) ata4: limiting SATA link speed to 1.5 Gbps ata4.00: limiting speed to UDMA/100:PIO3 ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4.00: configured for UDMA/100 ata4.00: qc timeout (cmd 0xa0) ata4.00: TEST_UNIT_READY failed (err_mask=0x5) ata4.00: disabled ata4: hard resetting link ata4: nv: skipping hardreset on occupied port ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4: EH complete sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA PM: Adding info for No Bus:sda sda: sd 1:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB) sd 1:0:0:0: [sdb] Write Protect is off sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA PM: Adding info for No Bus:sdb sdb: PM: Adding info for No Bus:sdc PM: Adding info for No Bus:sdd sd 5:0:0:0: [sdg] 3981312 512-byte logical blocks: (2.03 GB/1.89 GiB) PM: Adding info for No Bus:sde PM: Adding info for No Bus:sdf sd 5:0:0:0: [sdg] Write Protect is off sd 5:0:0:0: [sdg] Mode Sense: 43 00 00 00 sd 5:0:0:0: [sdg] Assuming drive cache: write through PM: Adding info for No Bus:sdg sd 4:0:0:0: [sdc] Attached SCSI removable disk sd 4:0:0:1: [sdd] Attached SCSI removable disk sd 4:0:0:2: [sde] Attached SCSI removable disk sd 4:0:0:3: [sdf] Attached SCSI removable disk sd 5:0:0:0: [sdg] Assuming drive cache: write through sdg: sdg1 PM: Adding info for No Bus:sdg1 sd 5:0:0:0: [sdg] Assuming drive cache: write through sd 5:0:0:0: [sdg] Attached SCSI removable disk sda1 sda2 sda3 < unknown partition table sd 1:0:0:0: [sdb] Attached SCSI disk PM: Adding info for No Bus:sda1 PM: Adding info for No Bus:sda2 PM: Adding info for No Bus:sda3 sd 0:0:0:0: [sda] Attached SCSI disk EXT3-fs: mounted filesystem with writeback data mode. hda: task_no_data_intr: status=0x41 { DriveReady Error } hda: task_no_data_intr: error=0x04 { AbortedCommand } hda: task_no_data_intr: status=0x41 { DriveReady Error } hda: task_no_data_intr: error=0x04 { AbortedCommand } EXT3-fs: mounted filesystem with writeback data mode.
BIOS-e820: 000000007fef3000 - 000000007ff00000 (ACPI data) #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32 root=/dev/mapper/nvidia_ceebaiib1 ro single sata_nv.swncq=0 Memory: 2052264k/2096064k available (2319k kernel code, 42132k reserved, 912k data, 404k init, 1186760k highmem) .data : 0xc1243e41 - 0xc1328128 ( 912 kB) libata version 3.00 loaded. sata_nv 0000:00:0e.0: version 3.5 sata_nv 0000:00:0e.0: PCI INT A -> Link[APSI] -> GSI 21 (level, low) -> IRQ 21 sata_nv 0000:00:0e.0: Using SWNCQ mode sata_nv 0000:00:0e.0: setting latency timer to 64 scsi1 : sata_nv scsi2 : sata_nv ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd400 irq 21 ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd408 irq 21 sata_nv 0000:00:0f.0: PCI INT A -> Link[APSJ] -> GSI 20 (level, low) -> IRQ 20 sata_nv 0000:00:0f.0: Using SWNCQ mode sata_nv 0000:00:0f.0: setting latency timer to 64 scsi3 : sata_nv scsi4 : sata_nv ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xe800 irq 20 ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xe808 irq 20 ata3: SATA link down (SStatus 0 SControl 300) ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: ATA-7: SAMSUNG SP2504C, VT100-41, max UDMA7 ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32) ata1.00: configured for UDMA/133 ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata2.00: ATA-7: ST3250620AS, 3.AAC, max UDMA/133 ata2.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32) ata2.00: configured for UDMA/133 ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4.00: ATAPI: ATAPI iHOS104, WL08, max UDMA/100 ata4.00: configured for UDMA/100 sd 1:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB) sd 1:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA PM: Adding info for No Bus:sda sda: sd 2:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB) sd 2:0:0:0: [sdb] Write Protect is off sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00 sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA PM: Adding info for No Bus:sdb sdb: PM: Adding info for No Bus:sdc PM: Adding info for No Bus:sdd sda1 sda2 sda3 < PM: Adding info for No Bus:sde PM: Adding info for No Bus:sdf sd 0:0:0:0: [sdc] Attached SCSI removable disk sd 0:0:0:1: [sdd] Attached SCSI removable disk sd 0:0:0:2: [sde] Attached SCSI removable disk sd 0:0:0:3: [sdf] Attached SCSI removable disk PM: Adding info for No Bus:sda1 PM: Adding info for No Bus:sda2 PM: Adding info for No Bus:sda3 sd 1:0:0:0: [sda] Attached SCSI disk sd 2:0:0:0: [sdb] Attached SCSI disk ata4.00: qc timeout (cmd 0xa0) ata4.00: TEST_UNIT_READY failed (err_mask=0x5) ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4.00: configured for UDMA/100 sd 5:0:0:0: [sdg] 3981312 512-byte logical blocks: (2.03 GB/1.89 GiB) sd 5:0:0:0: [sdg] Write Protect is off sd 5:0:0:0: [sdg] Mode Sense: 43 00 00 00 sd 5:0:0:0: [sdg] Assuming drive cache: write through PM: Adding info for No Bus:sdg sd 5:0:0:0: [sdg] Assuming drive cache: write through sdg: sdg1 PM: Adding info for No Bus:sdg1 sd 5:0:0:0: [sdg] Assuming drive cache: write through sd 5:0:0:0: [sdg] Attached SCSI removable disk ata4.00: qc timeout (cmd 0xa0) ata4.00: TEST_UNIT_READY failed (err_mask=0x5) ata4: limiting SATA link speed to 1.5 Gbps ata4.00: limiting speed to UDMA/100:PIO3 ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4.00: configured for UDMA/100 ata4.00: qc timeout (cmd 0xa0) ata4.00: TEST_UNIT_READY failed (err_mask=0x5) ata4.00: disabled ata4: hard resetting link ata4: nv: skipping hardreset on occupied port ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata4: EH complete EXT3-fs: mounted filesystem with writeback data mode. hda: task_no_data_intr: status=0x41 { DriveReady Error } hda: task_no_data_intr: error=0x04 { AbortedCommand } hda: task_no_data_intr: status=0x41 { DriveReady Error } hda: task_no_data_intr: error=0x04 { AbortedCommand } EXT3-fs: mounted filesystem with writeback data mode.