public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* problems with SATA: 2.6.7 working, -bk12/13/-mm4 not
@ 2004-06-30 23:01 Danny ter Haar
  2004-06-30 23:17 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Danny ter Haar @ 2004-06-30 23:01 UTC (permalink / raw)
  To: linux-kernel

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 (rgooch@atnf.csiro.au)                          
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, aborting                           
ata_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 failed               
end_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 failed               
end_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      
-- 
"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 -


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with SATA: 2.6.7 working, -bk12/13/-mm4 not
  2004-06-30 23:01 problems with SATA: 2.6.7 working, -bk12/13/-mm4 not Danny ter Haar
@ 2004-06-30 23:17 ` Jeff Garzik
  2004-07-01  3:52   ` Danny ter Haar
  2004-07-01  8:54   ` Danny ter Haar
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Garzik @ 2004-06-30 23:17 UTC (permalink / raw)
  To: Danny ter Haar; +Cc: linux-kernel

Danny ter Haar wrote:
> 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 (rgooch@atnf.csiro.au)                          
> 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, aborting                           
> ata_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 failed               
> end_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                      

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with SATA: 2.6.7 working, -bk12/13/-mm4 not
  2004-06-30 23:17 ` Jeff Garzik
@ 2004-07-01  3:52   ` Danny ter Haar
  2004-07-01  8:54   ` Danny ter Haar
  1 sibling, 0 replies; 4+ messages in thread
From: Danny ter Haar @ 2004-07-01  3:52 UTC (permalink / raw)
  To: linux-kernel

Jeff Garzik  <jgarzik@pobox.com> wrote:
>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.

>* finding which -bk snapshot breaks your system

for i in 1 2 3 4 5
> do
> cp -a linux-2.6.7 linux-2.6.7-bk$i
> done

:-) cpu cycles put to compile ...

>* acpi=off (disabling ACPI)
>* noapic

Will do this at first compiled kernel.

>* 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

-- 
"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 -


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with SATA: 2.6.7 working, -bk12/13/-mm4 not
  2004-06-30 23:17 ` Jeff Garzik
  2004-07-01  3:52   ` Danny ter Haar
@ 2004-07-01  8:54   ` Danny ter Haar
  1 sibling, 0 replies; 4+ messages in thread
From: Danny ter Haar @ 2004-07-01  8:54 UTC (permalink / raw)
  To: linux-kernel

Jeff Garzik  <jgarzik@pobox.com> wrote:
>* disabling combined mode in BIOS

No bios acces for another month at least.

>* finding which -bk snapshot breaks your system

bk5 = fine
bk6 breaks 

>* acpi=off (disabling ACPI)

bk6, bk12, bk13, mm4 suddenly work with acpi=off 

>* noapic

doesn't work

>* 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

-- 
"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 -


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-01  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 23:01 problems with SATA: 2.6.7 working, -bk12/13/-mm4 not Danny ter Haar
2004-06-30 23:17 ` Jeff Garzik
2004-07-01  3:52   ` Danny ter Haar
2004-07-01  8:54   ` Danny ter Haar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox