Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 10:23:25 GMT
From:      Geoff Buckingham <geoff.buckingham@reuters.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/98743: ATA panic and or timeout on IBM/Lenovo S50 with MB rev 2.7, Seagate ST340014A 8.10 and HL-DT-ST CD-ROM GCR-8482B/1.06
Message-ID:  <200606091023.k59ANPfk030746@www.freebsd.org>
Resent-Message-ID: <200606091030.k59AUKeJ020020@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98743
>Category:       kern
>Synopsis:       ATA panic and or timeout on IBM/Lenovo S50 with MB rev 2.7, Seagate ST340014A 8.10 and HL-DT-ST CD-ROM GCR-8482B/1.06
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 10:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Geoff Buckingham
>Release:        RELENG_4, RELENG_6
>Organization:
Reuters
>Environment:
RELENG_4, RELENG_6
>Description:

We first found this in RELENG_4, with this motherboard, drive and CD, we have confirmed it on multiple systems. With the HD as Master and CD as slave (via cable select or jumperd) we get "ata0-slave: ATA identify retries exceeded"

(boot -v from 4.11 included bellow)

However if we make the CD master and HD slave via cable select or jumpers all works fine.

In RELENG_6 a regular boot on the vga console panics while trying to identify the ata0 slave when CD is slave. However boot -v on the vga console works as does any boot on a comconsole. (Does this suggest some kind of timing problem?)

Again making the CD master and HD fixes this.

In RELENG_4 we found either using a rev 2.6 MB, or replacing either the HD or CD with another model (IBM deskstar HD or an old HP CD-R) would also work round the problem. 

Linux and windows work OK with CD as slave or master.

As the panic doesn't occur when using the serial console I only have it as a JPEG which I can email on request.

Hyperterminal rather mangled the RELENG_6 boot -v output but this is the ata device section:

ata0-slave: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire bus 0 dev 31 func 0  ACPI-1304: *** Error:
SMAP type=02 
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wireiOsDerivePciId: bus 0 dev 0 func 0at 0x1880type=02 base=000
ad0: setting PIO4 on ICH5 chip bus 0 dev 31 func 0ANT-LOCKED
ad0: setting UDMA100 on ICH5 chipink0: Links after initial probe:U
ad0: 38162MB <Seagate ST340014A 8.10> at ata0-master UDMA100QsRQ  Rtd  
usb3: USB revisi
    0   11   N     0  3 4 5 7 9
ad0: 78156288 sectors [77536C/16H/63S] 16 sexists; 
ex_isa_i
                         
acd0: setting UDMA33 on ICH5 chip     0  3 4 5 7 9 10 11 12 14 15n
acd0: <HL-DT-ST CD-ROM GCR-8482B/1.06> CDROM drive at ata0 as slave initial probe:EHCI version 1.0reeBSD 6.1-BETA1 #0: 
Index  IRQ  Rt
acd0: read 8250KB/s (8250KB/s), 128KB buffer, UDMA33     0  3 4 5 7 9 10 11 12 14 15falo.edu:/usr/obj/us
acd0: Reads: CDR, CDRW, CDDA stream, packetafter initial validation:pci0: 
Preloaded e
acd0: Writes:ot/kernel/
In
acd0: Audio: play, 255 volume levelsad_Port at 2c
    0    9   N     0  
acd0: Mechanism: ejectable tray, unlocked, lock protected)tus reg tes
pci_link1: Links after disable:
uhub4: 8 por
acd0: Medium: CD-ROM 120mm data discef  IRQsype=0x00


Boot -v from RELENG_4

ok boot -v          
SMAP type=01 base=0000000000000000 len=000000000009f800                                                       
SMAP type=02 base=000000000009f800 len=0000000000000800                                                       
SMAP type=02 base=00000000000e0000 len=0000000000020000                                                       
SMAP type=01 base=0000000000100000 len=000000000f670000                                                       
SMAP type=03 base=000000000f770000 len=000000000000a000                                                       
SMAP type=04 base=000000000f77a000 len=0000000000006000                                                       
SMAP type=02 base=000000000f780000 len=0000000000080000                                                       
SMAP type=02 base=000000000f800000 len=0000000000800000                                                       
SMAP type=02 base=00000000fec00000 len=0000000000010000                                                       
SMAP type=02 base=00000000fee00000 len=0000000000001000                                                       
SMAP type=02 base=00000000ff800000 len=0000000000800000                                                       
Copyright (c) 1992-2005 The FreeBSD Project.                                            
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994                                                                        
        The Regents of the University of California. All rights reserved.                                                                         
FreeBSD 4.11-RELEASE #3: Mon Apr 11 09:39:58                                           
    root@builder.uki.ime.reuters.com:/usr/obj/usr/src/sys/REUGEN2                                                                 
Calibrating clock(s) ... TSC clock: 2793071716 Hz, i8254 clock: 1193213 Hz                                                                          
CLK_USE_I8254_CALIBRATION not specified - using default frequency                                                                 
Timecounter "i8254"  frequency 1193182 Hz                                         
CLK_USE_TSC_CALIBRATION not specified - using old calibration method                                                                    
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU)                                                                  
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9                                                   
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,                                                                             
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>                                                               
real memory  = 259457024 (253376K bytes)                                        
Physical memory chunk(s):                         
0x000001000 - 0x00009efff, 647168 bytes (158 pages)                                                   
0x001121000 - 0x00f767fff, 241463296 bytes (58951 pages)                                                        
avail memory = 234819584 (229316K bytes)                                        
bios32: Found BIOS32 Service Directory header at 0xc00f6470                                                           
bios32: Entry = 0xfd71c (c00fd71c)  Rev = 0  Len = 1                                                    
pcibios: PCI BIOS entry at 0x2dd                                
pnpbios: Found PnP BIOS data at 0xc00f64e0                                          
pnpbios: Entry = f0000:c256  Rev = 1.0                                      
Other BIOS signatures found:                            
ACPI: 000f64a0              
Preloaded elf kernel "kernel" at 0xc10fa000.                                            
Preloaded mfs_root "/fastbuildfs" at 0xc10fa0a8.                                                
Warning: Pentium 4 CPU: PSE disabled                                    
Pentium Pro MTRR support enabled                                
md0: Preloaded image </fastbuildfs> 12484608 bytes at 0xc05106cc                                                                
Creating DISK md0                 
Creating DISK md1                 
md1: Malloc disk                
pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000fb20                                                       
pci_open(1a):   mode1res=0x80000000 (0x80000000)                                                
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=25708086)                                                                       
Using $PIR table, 12 entries at 0xc00fdf00                                          
npx0: <math processor> on motherboard                                     
npx0: INT 16 interface                      
pcib0: <Host to PCI bridge> on motherboard                                          
found-> vendor=0x8086, dev=0x2570, revid=0x02                                             
        class=06-00-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        map[10]: type 1, range 32, base ec000000, size 26                                                         
found-> vendor=0x8086, dev=0x2572, revid=0x02                                             
        class=03-00-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=a, irq=11                        
        map[10]: type 1, range 32, base f0000000, size 27                                                         
        map[14]: type 1, range 32, base e8000000, size 19                                                         
        map[18]: type 1, range 32, base 00001800, size  3                                                         
found-> vendor=0x8086, dev=0x24d2, revid=0x02                                             
        class=0c-03-00, hdrtype=0x00, mfdev=1                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=a, irq=11                        
        map[20]: type 1, range 32, base 00001820, size  5                                                         
found-> vendor=0x8086, dev=0x24d4, revid=0x02                                             
        class=0c-03-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0                                 
        intpin=b, irq=10                        
        map[20]: type 1, range 32, base 00001840, size  5                                                         
found-> vendor=0x8086, dev=0x24d7, revid=0x02                                             
        class=0c-03-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=c, irq=5                       
        map[20]: type 1, range 32, base 00001860, size  5                                                         
found-> vendor=0x8086, dev=0x24de, revid=0x02                                             
        class=0c-03-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=a, irq=11                        
        map[20]: type 1, range 32, base 00001880,                                                 
found-> vendor=0x8086, dev=0x24dd, revid=0x02                                             
        class=0c-03-20, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=d, irq=9                       
        map[10]: type 1, range 32, base e8080000, size 10                                                         
found-> vendor=0x8086, dev=0x244e, revid=0xc2                                             
        class=06-04-00, hdrtype=0x01, mfdev=0                                             
        subordinatebus=3        secondarybus=3                                              
found-> vendor=0x8086, dev=0x24d0, revid=0x02                                             
        class=06-01-00, hdrtype=0x00, mfdev=1                                             
        subordinatebus=0        secondarybus=0                                              
found-> vendor=0x8086, dev=0x24db, revid=0x02                                             
        class=01-01-8a, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=a, irq=255                         
        map[10]: type 1, range 32, base 00000000, size  3                                                         
        map[14]: type 1, range 32, base 00000000, size  2                                                         
        map[18]: type 1, range 32, base 00000000, size  3                                                         
        map[1c]: type 1, range 32, base 00000000, size  2                                                         
        map[20]: type 1, range 32, base 00001810, size  4                                                         
found-> vendor=0x8086, dev=0x24d3, revid=0x02                                             
        class=0c-05-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=b, irq=9                       
        map[20]: type 1, range 32, base 000018a0, size  5                                                         
found-> vendor=0x8086, dev=0x24d5, revid=0x02                                             
        class=04-01-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=b, irq=9                       
        map[10]: type 1, range 32, base 00001c00, size  8                                                         
        map[14]: type 1, range 32, base 000018c0, size  6                                                         
        map[18]: type 1, range 32, base e8080c00, size  9                                                         
        map[1c]: type 1, range 32, base e8080800, size  8                                                         
pci0: <PCI bus> on pcib0                        
agp0: <Intel 82865G (865G GMCH) SVGA controller> port 0x1800-0x1807 mem 0xe80000                                                                                
00-0xe807ffff,0xf0000000-0xf7ffffff irq 11 at device 2.0 on pci0                                                                
agp0: detected 8060k stolen memory                                  
agp0: aperture size is 128M                           
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1820-0x183f irq 11 at                                                                               
device 29.0 on pci0                   
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0                                                          
usb0: USB revision 1.0                      
uhub0: Intel UHCI root hub, class 9/0, rev                                           
uhub0: 2 ports with 2 removable, self powered                                             
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1840-0x185f irq 10 at                                                                               
device 29.1 on pci0                   
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1                                                          
usb1: USB revision 1.0                      
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1                                                            
uhub1: 2 ports with 2 removable, self powered                                             
ums0: IBM Corporation product 0x310b, rev 2.00/1.60, addr 2, iclass 3/1                                                                       
ums0: 3 buttons and Z dir.                          
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x1860-0x187f irq 5 at d                                                                                
evice 29.2 on pci0                  
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2                                                          
usb2: USB revision 1.0                      
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1                                                            
uhub2: 2 ports with 2 removable, self powered                                             
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x1880-0x189f irq 11 at                                                                               
device 29.3 on pci0                   
        using shared irq11.                           
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3                                                          
usb3: USB revision 1.0                      
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1                                                            
uhub3: 2 ports with 2 removable, self p                                     
pci0: <USB controller> (vendor=0x8086, dev=0x24dd) at 29.7 irq 9                                                                
pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0                                                                          
found-> vendor=0x8086, dev=0x1013, revid=0x00                                             
        class=02-00-00, hdrtype=0x00, mfdev=0                                             
        subordinatebus=0        secondarybus=0                                              
        intpin=a, irq=11                        
        map[10]: type 1, range 32, base e8100000, size 17                                                         
        map[18]: type 1, range 32, base 00002000, size  6                                                         
pci3: <PCI bus> on pcib1                        
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.42> port 0x200                                                                      
 mem 0xe8100000-0xe811ffff irq 11 at device 11.0 on pci3                                                        
bpf: em0 attached                 
em0:  Speed:N/A  Duplex:N/A                           
isab0: <PCI to ISA bridge (vendor=8086 device=24d0)> at device 31.0 on pci0                                                                           
isa0: <ISA bus> on isab0                        
atapci0: <Intel ICH5 ATA100 controller> port 0x1810-0x181f,0-0x3,0-0x7,0-0x3,0-0                                                                                
x7 at device 31.1 on pci0                         
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1810                                                  
ata0: mask=03 ostat0=50 ostat2=50                                 
ata0-slave: ATAPI 10 80                       
ata0-master: ATAPI 00 00                        
ata0: mask=03 stat0=50 stat1=10                               
ata0-master: ATA 01 a5                      
ata0-slave: ATA 01                  
ata0: devices=03                
ata0: at 0x1f0 irq 14 on atapci0                                
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1818                                                  
ata1: at 0x170 irq 15 on atapci0                                
pci0: <unknown card> (vendor=0x8086, dev=0x24d3) at 31.3 irq 9                                                              
pci0: <unknown card> (vendor=0x8086, dev=0x24d5) at 31.5 irq 9                                                              
ex_isa_identify()                 
ata-: ata0 exists, using next available unit number                                                   
ata-: ata1 exists, using next available unit number                                                   
Trying Read_Port at 203                       
Trying Read_Port at 243                       
Trying Read_Port at 283                       
Trying Read_Port at 2c3                       
Trying Read_Port at 303                       
Trying Read_Port                 
Trying Read_Port at 383                       
Trying Read_Port at 3c3                       
isa_probe_children: disabling PnP devices                                         
isa_probe_children: probing non-PnP devices                                           
orm0: <Option ROMs> at iomem 0xca800-0xcb7ff,0xcb800-0xcc7ff,0xe0000-0xeffff on                                                                               
isa0    
pmtimer0 on isa0                
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0                                                                         
fdc0: FIFO enabled, 8 bytes threshold                                     
fd0: <1440-KB 3.5" drive> on fdc0 drive 0                                         
ata2 failed to probe at port 0x1f0 irq 14 on isa0                                                 
ata3 failed to probe at port 0x170 irq 15 on isa0                                                 
adv0 failed to probe on isa0                           
bt0: Failed Status Reg Test - ff                                
bt_isa_probe: Probe failed at 0x330                                   
bt0: Failed Status Reg Test - ff                                
bt_isa_probe: Probe failed at 0x334                                   
bt0: Failed Status Reg Test - ff                                
bt_isa_probe: Probe failed at 0x230                                   
bt0: Failed Status Reg Test - ff                                
bt_isa_probe: Probe failed at 0x234                                   
bt0: Failed Status Reg Test - ff                                
bt_isa_probe: Probe failed at 0x130                                   
bt0: Failed Status Reg Test - ff                                
bt_isa_probe: Probe failed at 0x134                                   
bt0 failed to probe at port 0x134-0x137 on isa0                                               
aha0: status reg test failed ff                               
aha0: status reg test fai                        
aha0: status reg test failed ff                               
aha0: status reg test failed ff                               
aha0: status reg test failed ff                               
aha0: status reg test failed ff                               
aha0 failed to probe at port 0x134-0x137 on isa0                                                
aic0 failed to probe at port 0x140-0x15f on isa0                                                
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0                                                                
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0                                                
atkbd: the current kbd controller command byte 0067                                                   
atkbd: keyboard ID 0x41ab (2)                             
kbdc: RESET_KBD return code:00fa                                
kbdc: RESET_KBD status:00aa                           
kbd0 at atkbd0              
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000                                                        
psm0: current command byte:0067                               
kbdc: TEST_AUX_PORT status:0000                               
kbdc: RESET_AUX return code:00fe                                
kbdc: RESET_AUX return code:00fe                                
kbdc: RESET_AUX return code:00fe                                
kbdc: DIAGNOSE status:0055                          
kbdc: TEST_KBD_PORT status:0000                               
psm0: failed to reset the aux device.                                     
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0                                                                         
fb0: vga0, vga, type:VGA (5), flags:0x7007f                                           
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000                                                      
fb0: init mode:24, bios mode                           
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k                                                        
VGA parameters upon power-up                            
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81                                               
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96                                               
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c                                               
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff                                               
VGA parameters in BIOS for mode 24                                  
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81                                               
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96                                               
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c                                               
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff                                               
EGA/VGA parameters to be used for mode 24                                         
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81                                               
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96                                               
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c                                               
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff                                               
sc0: <System console> at flags 0x100 on isa0                                            
sc0: VGA <16 virtual consoles, flags=0x100>                                           
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)                                                        
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0                                                         
pcic1: not probed (disabled)                            
sio0: irq maps: 0x41 0x51 0x41 0x41                                   
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0                                                 
sio0: type 16550A, console                          
sio1: irq maps: 0x41 0x49 0x41 0x41                                   
sio1 at port 0x2f8-0x2ff irq 3 on isa0                                      
sio1: type 16550A                 
sio2: not probed (disabled)                           
sio3: not probed (disabled)                           
ppc0: parallel port found at 0x378                                  
ppc0: using extended I/O port range                                   
ppc0: ECP SPP ECP+EPP SPP                         
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0                                                       
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode                                                              
ppc0: FIFO with 16/16/8 bytes threshold                                       
plip0: <PLIP network interface> on pp                                   
bpf: lp0 attached                 
lpt0: <Printer> on ppbus0                         
lpt0: Interrupt-driven port                           
ppi0: <Parallel I/O> on ppbus0                              
ed0: not probed (disabled)                          
fe0: not probed (disabled)                          
ie0: not probed (disabled)                          
lnc0: not probed (disabled)                           
cs0: not probed (disabled)                          
sn0: not probed (disabled)                          
isa_probe_children: probing PnP devices                                       
BIOS Geometries:                
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors                                                                      
 0 accounted for                
Device configuration finished.                              
bpf: lo0 attached                 
bpf: ppp0 attached                  
new masks: bio 68cc60, tty 63009a, net 670                                        
bpf: sl0 attached                 
bpf: faith0 attached                    
ata0-slave: ATA identify retries exceeded                                         
ad0: success setting UDMA5 on Intel chip   




>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606091023.k59ANPfk030746>