Date: Mon, 9 Apr 2007 00:00:04 +0200 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.h ata-chipset.c ata-dma.c Message-ID: <20070408220003.GI1024@zaphod.nitro.dk> In-Reply-To: <200704081918.l38JIqT1002635@repoman.freebsd.org> References: <200704081918.l38JIqT1002635@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2007.04.08 19:18:51 +0000, Søren Schmidt wrote: > sos 2007-04-08 19:18:51 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-all.h ata-chipset.c ata-dma.c > Log: > Hopefully unbreak the 64bit DMA support this time. Now things work a bit more than before. While I can now mount the root file system on sledge.FreeBSD.org (SMP amd64 with 8GB RAM) I get various write errors shortly after mounting root like: ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=4415 ad0: TIMEOUT - WRITE_DMA retrying (0 retries left) LBA=4415 ad0: FAILURE - WRITE_DMA timed out LBA=4415 g_vfs_done():ad0s1a[WRITE(offset=2228224, length=2048)]error = 5 When booting on kernel from: "Fri Apr 6 14:23:30 UTC 2007" it works fine. When I bring sys/dev/ata back to '2007/04/06 14:00:00' it can boot normally again. Working config: [simon@sledge:~] ident /boot/kernel/kernel | grep ata $FreeBSD: src/sys/dev/ata/ata-all.c,v 1.279 2007/02/23 16:25:08 jhb Exp $ $FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.192 2007/03/12 15:34:08 sos Exp $ $FreeBSD: src/sys/dev/ata/ata-disk.c,v 1.201 2007/02/21 19:07:18 sos Exp $ $FreeBSD: src/sys/dev/ata/ata-dma.c,v 1.143 2007/02/21 19:07:18 sos Exp $ $FreeBSD: src/sys/dev/ata/ata-isa.c,v 1.31 2007/02/21 19:07:18 sos Exp $ $FreeBSD: src/sys/dev/ata/ata-lowlevel.c,v 1.78 2007/02/21 19:07:18 sos Exp $ $FreeBSD: src/sys/dev/ata/ata-pci.c,v 1.121 2007/02/23 12:18:33 piso Exp $ $FreeBSD: src/sys/dev/ata/ata-queue.c,v 1.69 2007/03/13 20:31:56 thomas Exp $ dmesg: Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #951: Sun Apr 8 20:23:09 UTC 2007 simon@sledge.freebsd.org:/h/src/sys/amd64/compile/SLEDGE ACPI APIC Table: <PTLTD APIC > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 244 (1804.10-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf51 Stepping = 1 Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!> usable memory = 8514306048 (8119 MB) avail memory = 8250753024 (7868 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI: RSDP @ 0x0xf6cb0/0x0024 (v 2 PTLTD ) ACPI: XSDT @ 0x0xfbf7388b/0x003C (v 1 PTLTD XSDT 0x06040000 LTP 0x00000000) ACPI: FACP @ 0x0xfbf75d7e/0x00F4 (v 3 AMD HAMMER 0x06040000 PTEC 0x000F4240) ACPI: DSDT @ 0x0xfbf738c7/0x2443 (v 1 AMD-K8 AMDACPI 0x06040000 MSFT 0x0100000E) ACPI: FACS @ 0x0xfbf7ffc0/0x0040 ACPI: SRAT @ 0x0xfbf75e72/0x0118 (v 1 AMD HAMMER 0x06040000 AMD 0x00000001) ACPI: APIC @ 0x0xfbf75f8a/0x0076 (v 1 PTLTD APIC 0x06040000 LTP 0x00000000) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 <Version 1.1> irqs 0-23 on motherboard ioapic1 <Version 1.1> irqs 24-27 on motherboard ioapic2 <Version 1.1> irqs 28-31 on motherboard acpi0: <PTLTD XSDT> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) unknown: I/O range not supported unknown: I/O range not supported acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, fbf00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x8000-0x807f,0x8080-0x80ff iomem 0xd8000-0xdbfff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci1: <ACPI PCI bus> on pcib1 ohci0: <OHCI (generic) USB controller> mem 0xfc100000-0xfc100fff irq 19 at device 0.0 on pci1 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 3 ports with 3 removable, self powered ohci1: <OHCI (generic) USB controller> mem 0xfc101000-0xfc101fff irq 19 at device 0.1 on pci1 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: <OHCI (generic) USB controller> on ohci1 usb1: USB revision 1.0 uhub1: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 3 ports with 3 removable, self powered vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem 0xfd000000-0xfdffffff,0xfc102000-0xfc102fff irq 18 at device 6.0 on pci1 isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <AMD 8111 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1020-0x102f at device 7.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <bridge> at device 7.3 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2:3:0: bad VPD cksum, remain 14 bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x1002> mem 0xfe000000-0xfe00ffff irq 27 at device 3.0 on pci2 miibus0: <MII bus> on bge0 brgphy0: <BCM5703 10/100/1000baseTX PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:50:45:00:aa:a2 bge0: [ITHREAD] pci2:4:0: bad VPD cksum, remain 14 bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x1002> mem 0xfe010000-0xfe01ffff irq 27 at device 4.0 on pci2 miibus1: <MII bus> on bge1 brgphy1: <BCM5703 10/100/1000baseTX PHY> PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:50:45:00:aa:a3 bge1: [ITHREAD] pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pci3: <ACPI PCI bus> on pcib3 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff,0xdc000-0xdffff on isa0 ppc0: cannot reserve I/O port range sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ad0: 38166MB <Seagate ST340014A 3.54> at ata0-master UDMA100 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a Loading configuration files. kernel dumps on /dev/ad0s1b Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ad0s1b as swap device Starting file system checks: /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1a: clean, 62047 free (831 frags, 7652 blocks, 0.7% fragmentation) /dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1d: clean, 1597566 free (14894 frags, 197834 blocks, 0.7% fragmentation) /dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1e: clean, 234781 free (421 frags, 29295 blocks, 0.2% fragmentation) /dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1f: clean, 253807 free (31 frags, 31722 blocks, 0.0% fragmentation) /dev/ad0s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1g: clean, 1046697 free (400161 frags, 80817 blocks, 3.4% fragmentation) ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=4415 ad0: TIMEOUT - WRITE_DMA retrying (0 retries left) LBA=4415 ad0: FAILURE - WRITE_DMA timed out LBA=4415 g_vfs_done():ad0s1a[WRITE(offset=2228224, length=2048)]error = 5 mount: : Input/output error Mounting root filesystem rw failed, startup aborted Boot interrupted Enter full pathname of shell or RETURN for /bin/sh: ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=4415 ad0: TIMEOUT - WRITE_DMA retrying (0 retries left) LBA=4415 ad0: FAILURE - WRITE_DMA timed out LBA=4415 g_vfs_done():ad0s1a[WRITE(offset=2228224, length=2048)]error = 5 ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=4415 ad0: TIMEOUT - WRITE_DMA retrying (0 retries left) LBA=4415 ad0: FAILURE - WRITE_DMA timed out LBA=4415 -- Simon L. Nielsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070408220003.GI1024>