Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 2004 10:53:56 +0900
From:      Rob <spamrefuse@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   More WRITE_DMA problems on 5.3
Message-ID:  <41B7B034.2090001@yahoo.com>

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

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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 134217728 (128 MB)
avail memory = 125894656 (120 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 7 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> 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: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, HOST-PCI> 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: <MII bus> 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: <MII bus> 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: <ISA Option ROM> at iomem 0xc0000-0xca7ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
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: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0501> 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 <IBM-DTLA-307045/TX6OA50C> [89355/16/63] at ata0-master PIO4
acd0: CDROM <CRD-8520B/1.00> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a

----

Rob.



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