Date: Fri, 5 Sep 2003 06:42:45 -0700 From: John Kennedy <warlock@jk.homunix.net> To: Luoqi Chen <lchen@briontech.com> Cc: stable@freebsd.org Subject: Re: HEADS UP: ATA bus dma code MFC'd Message-ID: <20030905134245.GA80538@pandora.jk.homeunix.net> In-Reply-To: <AHEKICEOIHLOGINAFIINIEEOCBAA.lchen@briontech.com> References: <AHEKICEOIHLOGINAFIINIEEOCBAA.lchen@briontech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Sep 05, 2003 at 12:39:44AM -0700, Luoqi Chen wrote: > If you start to experience problems with ata devices, please > direct your report this way. I'm not *starting* to experience them, I have been for a bit. I infrequently get this kind of error message: /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting /kernel: ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device /kernel: done This has happened on a bunch of 4.8-STABLE/4.9-PRERELEASE kernels: FreeBSD 4.8-STABLE #0: Mon Aug 18 21:20:49 PDT 2003 FreeBSD 4.8-STABLE #1: Sat Aug 23 13:53:24 PDT 2003 FreeBSD 4.9-PRERELEASE #2: Mon Aug 25 17:34:08 PDT 2003 FreeBSD 4.9-PRERELEASE #3: Wed Aug 27 06:49:36 PDT 2003 FreeBSD 4.9-PRERELEASE #4: Sat Aug 30 09:09:03 PDT 2003 FreeBSD 4.9-PRERELEASE #6: Tue Sep 2 21:13:12 PDT 2003 Date of cvsup corresponds to date/time of compile (or pretty close). It didn't happen under the original -RELEASE, but I may not have spent enough time running it to trigger the problem. FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 Right now I've forced myself into PIO mode by adding this into my /boot/loader.conf hw.ata.ata_dma="0" Since doing that, I haven't managed to cause the problem to repeat. --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boot.old" Sep 3 13:15:43 pandora /kernel: Copyright (c) 1992-2003 The FreeBSD Project. Sep 3 13:15:43 pandora /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 3 13:15:43 pandora /kernel: The Regents of the University of California. All rights reserved. Sep 3 13:15:43 pandora /kernel: FreeBSD 4.9-PRERELEASE #6: Tue Sep 2 21:13:12 PDT 2003 Sep 3 13:15:43 pandora /kernel: root@pandora.jk.homeunix.net:/usr/src/sys/compile/GENERIC Sep 3 13:15:43 pandora /kernel: Timecounter "i8254" frequency 1193182 Hz Sep 3 13:15:43 pandora /kernel: CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) Sep 3 13:15:43 pandora /kernel: Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Sep 3 13:15:43 pandora /kernel: Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> Sep 3 13:15:43 pandora /kernel: AMD Features=0x80000800<SYSCALL,3DNow!> Sep 3 13:15:43 pandora /kernel: real memory = 201310208 (196592K bytes) Sep 3 13:15:43 pandora /kernel: config> en ed0 Sep 3 13:15:43 pandora /kernel: config> po ed0 0x280 Sep 3 13:15:43 pandora /kernel: config> ir ed0 10 Sep 3 13:15:43 pandora /kernel: config> iom ed0 0xd8000 Sep 3 13:15:43 pandora /kernel: config> f ed0 0 Sep 3 13:15:43 pandora /kernel: config> q Sep 3 13:15:43 pandora /kernel: avail memory = 190382080 (185920K bytes) Sep 3 13:15:43 pandora /kernel: Preloaded elf kernel "kernel" at 0xc053d000. Sep 3 13:15:43 pandora /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc053d09c. Sep 3 13:15:43 pandora /kernel: K6-family MTRR support enabled (2 registers) Sep 3 13:15:43 pandora /kernel: md0: Malloc disk Sep 3 13:15:43 pandora /kernel: Using $PIR table, 8 entries at 0xc00f0b40 Sep 3 13:15:43 pandora /kernel: npx0: <math processor> on motherboard Sep 3 13:15:43 pandora /kernel: npx0: INT 16 interface Sep 3 13:15:43 pandora /kernel: pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard Sep 3 13:15:43 pandora /kernel: pci0: <PCI bus> on pcib0 Sep 3 13:15:43 pandora /kernel: agp0: <Ali M1541 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0 Sep 3 13:15:43 pandora /kernel: pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0 Sep 3 13:15:43 pandora /kernel: pci1: <PCI bus> on pcib1 Sep 3 13:15:43 pandora /kernel: pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 11 Sep 3 13:15:43 pandora /kernel: ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xce800000-0xce800fff irq 9 at device 2.0 on pci0 Sep 3 13:15:43 pandora /kernel: usb0: OHCI version 1.0, legacy support Sep 3 13:15:43 pandora /kernel: usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0 Sep 3 13:15:43 pandora /kernel: usb0: USB revision 1.0 Sep 3 13:15:43 pandora /kernel: uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Sep 3 13:15:43 pandora /kernel: uhub0: 2 ports with 2 removable, self powered Sep 3 13:15:43 pandora /kernel: uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2 Sep 3 13:15:43 pandora /kernel: uhub1: 4 ports with 4 removable, self powered Sep 3 13:15:43 pandora /kernel: chip0: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0 Sep 3 13:15:43 pandora /kernel: isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0 Sep 3 13:15:43 pandora /kernel: isa0: <ISA bus> on isab0 Sep 3 13:15:43 pandora /kernel: dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xd800-0xd8ff mem 0xce000000-0xce0000ff irq 3 at device 11.0 on pci0 Sep 3 13:15:43 pandora /kernel: dc0: Ethernet address: 00:c0:f0:6c:73:e5 Sep 3 13:15:43 pandora /kernel: miibus0: <MII bus> on dc0 Sep 3 13:15:43 pandora /kernel: dcphy0: <Intel 21143 NWAY media interface> on miibus0 Sep 3 13:15:43 pandora /kernel: dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Sep 3 13:15:43 pandora /kernel: atapci0: <AcerLabs Aladdin ATA33 controller> port 0xd400-0xd40f irq 0 at device 15.0 on pci0 Sep 3 13:15:43 pandora /kernel: ata0: at 0x1f0 irq 14 on atapci0 Sep 3 13:15:43 pandora /kernel: ata1: at 0x170 irq 15 on atapci0 Sep 3 13:15:43 pandora /kernel: orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 Sep 3 13:15:43 pandora /kernel: pmtimer0 on isa0 Sep 3 13:15:43 pandora /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Sep 3 13:15:43 pandora /kernel: fdc0: FIFO enabled, 8 bytes threshold Sep 3 13:15:43 pandora /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Sep 3 13:15:43 pandora /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 Sep 3 13:15:43 pandora /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 Sep 3 13:15:43 pandora /kernel: kbd0 at atkbd0 Sep 3 13:15:43 pandora /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0 Sep 3 13:15:43 pandora /kernel: psm0: model IntelliMouse Explorer, device ID 4 Sep 3 13:15:43 pandora /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Sep 3 13:15:43 pandora /kernel: sc0: <System console> at flags 0x100 on isa0 Sep 3 13:15:43 pandora /kernel: sc0: VGA <16 virtual consoles, flags=0x300> Sep 3 13:15:43 pandora /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Sep 3 13:15:43 pandora /kernel: sio0: type 16550A Sep 3 13:15:43 pandora /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Sep 3 13:15:43 pandora /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 Sep 3 13:15:43 pandora /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Sep 3 13:15:43 pandora /kernel: ppc0: FIFO with 16/16/7 bytes threshold Sep 3 13:15:43 pandora /kernel: lpt0: <Printer> on ppbus0 Sep 3 13:15:43 pandora /kernel: lpt0: Interrupt-driven port Sep 3 13:15:43 pandora /kernel: ppi0: <Parallel I/O> on ppbus0 Sep 3 13:15:43 pandora /kernel: plip0: <PLIP network interface> on ppbus0 Sep 3 13:15:43 pandora /kernel: ad0: DMA limited to UDMA33, non-ATA66 cable or device Sep 3 13:15:43 pandora /kernel: ad0: 9736MB <Maxtor 91020U3> [19783/16/63] at ata0-master UDMA33 Sep 3 13:15:43 pandora /kernel: acd0: CDROM <56X CD-ROM> at ata1-master PIO4 Sep 3 13:15:43 pandora /kernel: Mounting root from ufs:/dev/ad0s1a Sep 3 13:15:43 pandora /kernel: WARNING: / was not properly dismounted --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boot.new" Sep 3 13:37:48 pandora /kernel: Copyright (c) 1992-2003 The FreeBSD Project. Sep 3 13:37:48 pandora /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 3 13:37:48 pandora /kernel: The Regents of the University of California. All rights reserved. Sep 3 13:37:48 pandora /kernel: FreeBSD 4.9-PRERELEASE #6: Tue Sep 2 21:13:12 PDT 2003 Sep 3 13:37:48 pandora /kernel: root@pandora.jk.homeunix.net:/usr/src/sys/compile/GENERIC Sep 3 13:37:48 pandora /kernel: Timecounter "i8254" frequency 1193182 Hz Sep 3 13:37:48 pandora /kernel: CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) Sep 3 13:37:48 pandora /kernel: Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Sep 3 13:37:48 pandora /kernel: Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> Sep 3 13:37:48 pandora /kernel: AMD Features=0x80000800<SYSCALL,3DNow!> Sep 3 13:37:48 pandora /kernel: real memory = 201310208 (196592K bytes) Sep 3 13:37:48 pandora /kernel: config> en ed0 Sep 3 13:37:48 pandora /kernel: config> po ed0 0x280 Sep 3 13:37:48 pandora /kernel: config> ir ed0 10 Sep 3 13:37:48 pandora /kernel: config> iom ed0 0xd8000 Sep 3 13:37:48 pandora /kernel: config> f ed0 0 Sep 3 13:37:48 pandora /kernel: config> q Sep 3 13:37:48 pandora /kernel: avail memory = 190382080 (185920K bytes) Sep 3 13:37:48 pandora /kernel: Preloaded elf kernel "kernel" at 0xc053d000. Sep 3 13:37:48 pandora /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc053d09c. Sep 3 13:37:48 pandora /kernel: K6-family MTRR support enabled (2 registers) Sep 3 13:37:48 pandora /kernel: md0: Malloc disk Sep 3 13:37:48 pandora /kernel: Using $PIR table, 8 entries at 0xc00f0b40 Sep 3 13:37:48 pandora /kernel: npx0: <math processor> on motherboard Sep 3 13:37:48 pandora /kernel: npx0: INT 16 interface Sep 3 13:37:48 pandora /kernel: pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard Sep 3 13:37:48 pandora /kernel: pci0: <PCI bus> on pcib0 Sep 3 13:37:48 pandora /kernel: agp0: <Ali M1541 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0 Sep 3 13:37:48 pandora /kernel: pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0 Sep 3 13:37:48 pandora /kernel: pci1: <PCI bus> on pcib1 Sep 3 13:37:48 pandora /kernel: pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 11 Sep 3 13:37:48 pandora /kernel: ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xce800000-0xce800fff irq 9 at device 2.0 on pci0 Sep 3 13:37:48 pandora /kernel: usb0: OHCI version 1.0, legacy support Sep 3 13:37:48 pandora /kernel: usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0 Sep 3 13:37:48 pandora /kernel: usb0: USB revision 1.0 Sep 3 13:37:48 pandora /kernel: uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Sep 3 13:37:48 pandora /kernel: uhub0: 2 ports with 2 removable, self powered Sep 3 13:37:48 pandora /kernel: uhub1: Genesys Logic USB Hub, class 9/0, rev 1.01/0.12, addr 2 Sep 3 13:37:48 pandora /kernel: uhub1: 4 ports with 4 removable, self powered Sep 3 13:37:48 pandora /kernel: chip0: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0 Sep 3 13:37:48 pandora /kernel: isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0 Sep 3 13:37:48 pandora /kernel: isa0: <ISA bus> on isab0 Sep 3 13:37:48 pandora /kernel: dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xd800-0xd8ff mem 0xce000000-0xce0000ff irq 3 at device 11.0 on pci0 Sep 3 13:37:48 pandora /kernel: dc0: Ethernet address: 00:c0:f0:6c:73:e5 Sep 3 13:37:48 pandora /kernel: miibus0: <MII bus> on dc0 Sep 3 13:37:48 pandora /kernel: dcphy0: <Intel 21143 NWAY media interface> on miibus0 Sep 3 13:37:48 pandora /kernel: dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Sep 3 13:37:48 pandora /kernel: atapci0: <AcerLabs Aladdin ATA33 controller> port 0xd400-0xd40f irq 0 at device 15.0 on pci0 Sep 3 13:37:48 pandora /kernel: ata0: at 0x1f0 irq 14 on atapci0 Sep 3 13:37:48 pandora /kernel: ata1: at 0x170 irq 15 on atapci0 Sep 3 13:37:48 pandora /kernel: orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 Sep 3 13:37:48 pandora /kernel: pmtimer0 on isa0 Sep 3 13:37:48 pandora /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Sep 3 13:37:48 pandora /kernel: fdc0: FIFO enabled, 8 bytes threshold Sep 3 13:37:48 pandora /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Sep 3 13:37:48 pandora /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 Sep 3 13:37:48 pandora /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 Sep 3 13:37:48 pandora /kernel: kbd0 at atkbd0 Sep 3 13:37:48 pandora /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0 Sep 3 13:37:48 pandora /kernel: psm0: model IntelliMouse Explorer, device ID 4 Sep 3 13:37:48 pandora /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Sep 3 13:37:48 pandora /kernel: sc0: <System console> at flags 0x100 on isa0 Sep 3 13:37:48 pandora /kernel: sc0: VGA <16 virtual consoles, flags=0x300> Sep 3 13:37:48 pandora /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Sep 3 13:37:48 pandora /kernel: sio0: type 16550A Sep 3 13:37:48 pandora /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Sep 3 13:37:48 pandora /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 Sep 3 13:37:48 pandora /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Sep 3 13:37:48 pandora /kernel: ppc0: FIFO with 16/16/7 bytes threshold Sep 3 13:37:48 pandora /kernel: lpt0: <Printer> on ppbus0 Sep 3 13:37:48 pandora /kernel: lpt0: Interrupt-driven port Sep 3 13:37:48 pandora /kernel: ppi0: <Parallel I/O> on ppbus0 Sep 3 13:37:48 pandora /kernel: plip0: <PLIP network interface> on ppbus0 Sep 3 13:37:48 pandora /kernel: ad0: 9736MB <Maxtor 91020U3> [19783/16/63] at ata0-master PIO4 Sep 3 13:37:48 pandora /kernel: acd0: CDROM <56X CD-ROM> at ata1-master PIO4 Sep 3 13:37:48 pandora /kernel: Mounting root from ufs:/dev/ad0s1a --zhXaljGHf11kAtnf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905134245.GA80538>