problems with SATA: 2.6.7 working, -bk12/13/-mm4 not
1U 19" server supermicro with ICH5 & P4.
runs 2.6.7 vanilla without problems.
tried -bk12/-bk13/-mm4 which won't work
Machine is on serial console and captures output looks like this:
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2595.0172 MHz.
..... host bus clock speed is 199.0628 MHz.
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb1b0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 9 10 11 *12 14 15) SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23
ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
ACPI: PCI interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 17
ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) -> IRQ 22
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 23 testing the IO APIC....................... .................................... done.
Starting balanced_irq
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x0
SGI XFS with ACLs, security attributes, no debug enabled
SGI XFS Quota Management subsystem
SELinux: Registering netfilter hooks
Initializing Cryptographic API
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 5.2.52-k4
Copyright (c) 1999-2004 Intel Corporation.
ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) -> IRQ 22
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 23
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
netconsole: not configured, abortingata_piix: combined mode detected
ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata1: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48
ata1: dev 1 ATA, max UDMA/100, 488397168 sectors: lba48
ata1: dev 0 configured for UDMA/100
ata1: dev 1 configured for UDMA/100
scsi0 : ata_piix
Using anticipatory io scheduler
Vendor: ATA Model: Maxtor 6Y200M0 Rev: YAR5 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: HDS722525VLSA80 Rev: V36O Type: Direct-Access ANSI SCSI revision: 05
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0:<3>ata1: command 0x25 timeout, stat 0xd0 hos4
scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 00 00 00 00 00 08 Current sda: sense key Medium Error
Additional sense: Unrecovered read error - auto reallocate failedend_request: I/O error, dev sda, sector 0
ATA: abnormal status 0xD0 on port 0x1F7
ATA: abnormal status 0xD0 on port 0x1F7
ATA: abnormal status 0xD0 on port 0x1F7
working plain 2.6.7 shows:
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB) SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back
/dev/scsi/host0/bus0/target1/lun0: p1
Machine is running debian.
dotconfig files at http://dth.net/supermicro/
Recent patches have done quite a lot with SATA i suppose ?! Just posting with intention to let people know that upgrading to the latest/greatest isn't currently working for me ;-)
Danny
ata1: dev 1 ATA, max UDMA/100, 488397168 sectors: lba48
ata1: dev 0 configured for UDMA/100
ata1: dev 1 configured for UDMA/100
scsi0 : ata_piix
Using anticipatory io scheduler
Vendor: ATA Model: Maxtor 6Y200M0 Rev: YAR5 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: HDS722525VLSA80 Rev: V36O Type: Direct-Access ANSI SCSI revision: 05
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0:<3>ata1: command 0x25 timeout, stat 0xd0 hos4
scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 00 00 00 00 00 08 Current sda: sense key Medium Error
Additional sense: Unrecovered read error - auto reallocate failedend_request: I/O error, dev sda, sector 0
ATA: abnormal status 0xD0 on port 0x1F7
ATA: abnormal status 0xD0 on port 0x1F7
ATA: abnormal status 0xD0 on port 0x1F7
Signature · 3 lines
"If Microsoft had been the innovative company that it calls itself, it would have taken the opportunity to take a radical leap beyond the Mac, instead of producing a feeble, me-too implementation." - Douglas Adams -
Quoted 8 lines · Danny ter Haar
1U 19" server supermicro with ICH5 & P4.
runs 2.6.7 vanilla without problems.
tried -bk12/-bk13/-mm4 which won't work
Machine is on serial console and captures output looks like this:
Quoted 8 lines
Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 2595.0172 MHz. ..... host bus clock speed is 199.0628 MHz. checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at
0xfb1b0, last bus=2 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20040326 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 9 10 11 *12 14 15) SCSI subsystem initialized PCI: Using ACPI for IRQ routing ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18 ACPI: PCI interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 17 ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 16 (level, low) -> IRQ 16 ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) -> IRQ 22 ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 23 testing the IO APIC....................... .................................... done. Startingbalanced_irqTotal HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) devfs: 2004-01-31 Richard Gooch ([email protected]) devfs:boot_options:0x0SGI XFS with ACLs, security attributes, no debug enabled SGI XFS Quota Management subsystem SELinux: Registering netfilter hooks Initializing Cryptographic API Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled ttyS0 at I/O0x3f8(irq = 4) is a 16550A ttyS1 at I/O0x2f8(irq = 3) is a 16550A loop: loaded (max 8 devices) Intel(R) PRO/1000 Network Driver - version 5.2.52-k4 Copyright (c) 1999-2004 Intel Corporation. ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) -> IRQ 22 e1000: eth0:e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 23 e1000: eth1:e1000_probe: Intel(R) PRO/1000 Network Connection netconsole: not configured, abortingata_piix: combined mode detected ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18 ata1: SATA max UDMA/133 cmd0x1F0ctl0x3F6bmdma0xF000irq 14 ata1: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48 ata1: dev 1 ATA, max UDMA/100, 488397168 sectors: lba48 ata1: dev 0 configured for UDMA/100 ata1: dev 1 configured for UDMA/100 scsi0 :ata_piixUsing anticipatory io schedulerVendor: ATA Model: Maxtor 6Y200M0 Rev: YAR5 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: HDS722525VLSA80 Rev: V36O Type: Direct-Access ANSI SCSI revision: 05ata2: PATA max UDMA/33 cmd
0x170ctl0x376bmdma0xF008irq 15 ata2: dev 0 ATAPI, max UDMA/33 ata2: dev 0 configured for UDMA/33 scsi1 :ata_piixSCSI device sda: 398297088 512-byte hdwr sectors (203928 MB) SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0:<3>ata1: command0x25timeout, stat0xd0hos4
scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 00 00 00 00 00 08 Current sda: sense key Medium Error Additional sense: Unrecovered read error - auto reallocate failedend_request: I/O error, dev sda, sector 0 ATA: abnormal status0xD0on port0x1F7ATA: abnormal status0xD0on port0x1F7ATA: abnormal status0xD0on port0x1F7
Can you try:
* disabling combined mode in BIOS
* finding which -bk snapshot breaks your system
* acpi=off (disabling ACPI)
* noapic
* copying the following files verbatim into your 2.6.7-{bk12,bk13,mm4} tree:
drivers/scsi/libata*.[ch] drivers/scsi/ata_*.c drivers/scsi/sata_*.[ch] include/linux/libata.h include/linux/ata.h
Quoted 2 lines · Jeff Garzik
Can you try:
* disabling combined mode in BIOS
Not at this point, since it's 35 kilometers away and only linux serial console at this moment, so no way to change the bios.
Quoted 1 line
* finding which -bk snapshot breaks your system
for i in 1 2 3 4 5
Quoted 3 lines
do
cp -a linux-2.6.7 linux-2.6.7-bk$i
done
:-) cpu cycles put to compile ...
Quoted 2 lines
* acpi=off (disabling ACPI)
* noapic
Will do this at first compiled kernel.
Quoted 6 lines
* copying the following files verbatim into your 2.6.7-{bk12,bk13,mm4} tree:
drivers/scsi/libata*.[ch] drivers/scsi/ata_*.c drivers/scsi/sata_*.[ch] include/linux/libata.h include/linux/ata.h
will get back.
Danny
Signature · 3 lines
"If Microsoft had been the innovative company that it calls itself, it would have taken the opportunity to take a radical leap beyond the Mac, instead of producing a feeble, me-too implementation." - Douglas Adams -
Quoted 1 line · Jeff Garzik
* disabling combined mode in BIOS
No bios acces for another month at least.
Quoted 1 line
* finding which -bk snapshot breaks your system
bk5 = fine
bk6 breaks
Quoted 1 line
* acpi=off (disabling ACPI)
bk6, bk12, bk13, mm4 suddenly work with acpi=off
Quoted 1 line
* noapic
doesn't work
Quoted 6 lines
* copying the following files verbatim into your 2.6.7-{bk12,bk13,mm4} tree:
drivers/scsi/libata*.[ch] drivers/scsi/ata_*.c drivers/scsi/sata_*.[ch] include/linux/libata.h include/linux/ata.h
this indeed "fixes" it.
I have a working 2.6.7-bk13a with above files from vanilla-2.6.7
Hope this feedback helps.
Danny
Signature · 3 lines
"If Microsoft had been the innovative company that it calls itself, it would have taken the opportunity to take a radical leap beyond the Mac, instead of producing a feeble, me-too implementation." - Douglas Adams -