Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 08:50:25 -0800 (PST)
From:      Antti Louko <alo@iki.fi.invalid>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/62440: ATA problems
Message-ID:  <200403071650.i27GoPSi013496@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/62440; it has been noted by GNATS.

From: Antti Louko <alo@iki.fi.invalid>
To: freebsd-gnats-submit@FreeBSD.org, manlix@demonized.net
Cc:  
Subject: Re: misc/62440: ATA problems
Date: Sun, 07 Mar 2004 18:40:23 +0200

 I decided to report my findings with this (I assume it is the same)
 bug.
 
 For me it happens only when I have a SATA drive attached to its
 controller. What is more interesting, if I reboot the machine, detach
 the SATA drive without switching power off, timeouts and failures keep
 appearing (they appear on one particular ATA drive, not the SATA one)
 until I make a proper power down/up sequence without the SATA drive
 attached.
 
 I have tried with both 5.2.1 kernel and -CURRENT. APIC is disabled (or
 is it?):
 
 /boot/device.hints:
 
 hint.apic.0.disabled="1"
 
 and in the -CURRENT kernel the apic is commented out.
 
 Here is the kernel printf:
 
 Copyright (c) 1992-2004 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 5.2-CURRENT #0: Sat Mar  6 19:56:32 EET 2004
 alo@alo99.louko.com:/u4/alo/FreeBSD/sys-src-current/src/sys/i386/compile/ALOIFP2
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a4a000.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2400.09-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 real memory  = 1073725440 (1023 MB)
 avail memory = 1041203200 (992 MB)
 Pentium Pro MTRR support enabled
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcibios: BIOS version 2.10
 Found $PIR table, 11 entries at 0xc00f2320
 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
 pci0: <PCI bus> on pcib0
 $PIR: 0:29 INTA routed to irq 11
 $PIR: ROUTE_INTERRUPT failed.
 $PIR: ROUTE_INTERRUPT failed.
 $PIR: ROUTE_INTERRUPT failed.
 $PIR: ROUTE_INTERRUPT failed.
 $PIR: ROUTE_INTERRUPT failed.
 agp0: <Intel Generic host to PCI bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
 pcib1: <PCIBIOS PCI-PCI bridge> mem 0xe8000000-0xebffffff at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 $PIR: 1:0 INTA routed to irq 11
 pci1: <display, VGA> at device 0.0 (no driver attached)
 uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f irq 11 at device 29.0 on pci0
 usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1
 ums0: 5 buttons and Z dir.
 uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd400-0xd41f irq 9 at device 29.1 on pci0
 usb1: <Intel 82801DB (ICH4) 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
 uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd000-0xd01f irq 9 at device 29.2 on pci0
 usb2: <Intel 82801DB (ICH4) 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
 pci0: <serial bus, USB> at device 29.7 (no driver attached)
 pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
 pci2: <PCI bus> on pcib2
 $PIR: 2:2 INTA routed to irq 9
 $PIR: 2:3 INTA routed to irq 5
 $PIR: 2:4 INTA routed to irq 9
 $PIR: 2:5 INTA routed to irq 9
 fxp0: <Intel 82550 Pro/100 Ethernet> port 0xb800-0xb83f mem 0xe3000000-0xe301ffff,0xe3800000-0xe3800fff irq 9 at device 2.0 on pci2
 fxp0: Ethernet address 00:02:b3:c0:ca:3d
 miibus0: <MII bus> on fxp0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fwohci0: <Texas Instruments TSB43AB22/A> mem 0xe2000000-0xe2003fff,0xe2800000-0xe28007ff irq 5 at device 3.0 on pci2
 fwohci0: OHCI version 1.10 (ROM=1)
 fwohci0: No. of Isochronous channel is 4.
 fwohci0: EUI64 00:e0:18:00:00:15:a2:bb
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 firewire0: <IEEE1394(FireWire) bus> on fwohci0
 fwe0: <Ethernet over FireWire> on firewire0
 if_fwe0: Fake Ethernet address: 02:e0:18:15:a2:bb
 sbp0: <SBP-2/SCSI over FireWire> on firewire0
 fwohci0: Initiate bus reset
 fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
 firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
 firewire0: bus manager 0 (me)
 atapci0: <SiI 3112 SATA150 controller> port 0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407 mem 0xe1800000-0xe18001ff irq 9 at device 4.0 on pci2
 atapci0: [MPSAFE]
 ata2: at 0xe1800000 on atapci0
 ata2: [MPSAFE]
 ata3: at 0xe1800000 on atapci0
 ata3: [MPSAFE]
 bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xe1000000-0xe100ffff irq 9 at device 5.0 on pci2
 bge0: Ethernet address: 00:0c:6e:0d:dc:e4
 miibus1: <MII bus> on bge0
 brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus1
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci1: <Intel ICH4 UDMA100 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 9 at device 31.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci1
 ata0: [MPSAFE]
 ata1: at 0x170 irq 15 on atapci1
 ata1: [MPSAFE]
 pci0: <multimedia, audio> at device 31.5 (no driver attached)
 orm0: <Option ROMs> at iomem 0xd8000-0xd97ff,0xd0000-0xd47ff,0xcc000-0xcffff,0xc0000-0xc8fff on isa0
 pmtimer0 on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 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/16 bytes threshold
 ppbus0: <Parallel port bus> on ppc0
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 unknown: <PNP0401> can't assign resources (port)
 unknown: <PNP0501> can't assign resources (port)
 unknown: <PNP0501> can't assign resources (port)
 unknown: <PNP0700> can't assign resources (port)
 unknown: <PNP0303> can't assign resources (port)
 unknown: <PNP0c02> can't assign resources (port)
 Timecounter "TSC" frequency 2400093668 Hz quality 800
 Timecounters tick every 10.000 msec
 ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging disabled
 IPsec: Initialized Security Association Processing.
 IP Filter: v3.4.31 initialized.  Default = block all, Logging = enabled
 ad0: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata0-master UDMA100
 ad1: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata0-slave UDMA100
 acd0: CDRW <HL-DT-ST RW/DVD GCC-4480B> at ata1-master UDMA33
 ad4: 114473MB <ST3120026AS> [232581/16/63] at ata2-master UDMA100
 cd0 at ata1 bus 0 target 0 lun 0
 cd0: <HL-DT-ST RW/DVD GCC-4480B 1.00> Removable CD-ROM SCSI-0 device 
 cd0: 33.000MB/s transfers
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 Mounting root from ufs:/dev/ad0s1a
 pid 521 (httpd), uid 0: exited on signal 11 (core dumped)
 drm0: <Matrox G550 (AGP)> mem 0xe4800000-0xe4ffffff,0xe5000000-0xe5003fff,0xe6000000-0xe7ffffff irq 11 at device 0.0 on pci1
 info: [drm] AGP at 0xf0000000 64MB
 info: [drm] Initialized mga 3.1.0 20021029 on minor 0
 drm0: [MPSAFE]
 ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=159
 ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=159
 ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=159
 ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=23191327



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