From owner-freebsd-stable@FreeBSD.ORG Thu Dec 9 01:54:03 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77F9316A4CE for ; Thu, 9 Dec 2004 01:54:03 +0000 (GMT) Received: from lp1001.snu.ac.kr (lp1001.snu.ac.kr [147.46.70.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF49943D54 for ; Thu, 9 Dec 2004 01:54:02 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (cisr.snu.ac.kr [147.46.44.181]) (authenticated (0 bits)) by lp1001.snu.ac.kr (8.13.1/8.11.6) with ESMTP id iB91ppqG017033 for ; Thu, 9 Dec 2004 10:51:51 +0900 Message-ID: <41B7B034.2090001@yahoo.com> Date: Thu, 09 Dec 2004 10:53:56 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: More WRITE_DMA problems on 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 01:54:03 -0000 Hi, Once again I ran into WRITE_DMA failure at bootup with one of my PCs. Motherboard: LGM-VBX6 Twin Processor /* not dual */ VIA 82C693 Apollo Pro AGPset 2Mb Flash ROM BIOS UDMA66 support BIOS: Award Software Inc. v4.51PG Harddisk: IBM-DTLA-307045/TX6OA50C 43979MB The bootup fails because of WRITE_DMA failure. The problem is resolved by putting hw.ata.ata_dma="0" in /boot/loader.conf, forcing the harddisk in PIO4 mode instead of the faster UDMA66. After bootup, dmesg says: FreeBSD 5.3-STABLE #0: Tue Dec 7 01:48:44 KST 2004 lahaye@para.snu.ac.kr:/usr/obj/usr/src/sys/MYKERNEL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (701.60-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387f9ff real memory = 134217728 (128 MB) avail memory = 125894656 (120 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xd9000000-0xd900007f irq 11 at device 9.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:50:da:91:73:52 xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xd9001000-0xd900107f irq 10 at device 17.0 on pci0 miibus1: on xl1 xlphy1: <3Com internal media interface> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:50:da:91:73:fd cpu0 on motherboard orm0: at iomem 0xc0000-0xca7ff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 701596920 Hz quality 800 Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry by default ad0: 43979MB [89355/16/63] at ata0-master PIO4 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a ---- Rob.