Subject: Re: NetBSD on a VT8601A (PLE133) north bridge motherboard
To: None <netbsd-help@netbsd.org>
From: Keith Mastin <kmastin@beechtree.ca>
List: netbsd-help
Date: 11/13/2002 21:08:56
>
>
>I am still having problems with my ECS P6VEM2 system.  While I have gotten
>the system to boot by using netbsd-current instead of netbsd-1.6, I get
>memory errors.  Specifically, this box is used as a router.  When I boot up
>the system and do a "ipnat -l" to list active sessions, i see a couple of
>normal nat mappings and then i see a few "kmemcpy: bad address at 0xnnnnnn"
>errors.  After about 24 hours, this system does not do NAT at all, most
>likely because the memory is totally trashed that it uses for connection
>tracking.
>
>I am pretty convinced this is a compatibility problem.  While I cannot swap
>the processor (it's soldered onto the motherboard) I have swapped the RAM
>with known working ECC registered RAM.  It didn't help at all.  Here are
>the specs on my machine:
>
>Via C3 733 Mhz
>Motherboard:  ECS P6VEM2
>VT8601A North bridge
>VT82C686B South bridge
>
>This box has worked without a hiccup under linux (although with some weird
>boot-time messages).  This box does seem to have definite memory problems
>under NetBSD (as described above).  I have also upgraded the BIOS to the
>latest version (1.1b) to see if that helps.

It's a mainboard issue. NetBSD has a lot closer relationship between the 
software and the hardware than linux does, mostly becasue so much is 
happening in the kernel. Swap mainboards to one that uses better chipsets. 
I suggest ASUS boards are decent quality for hardware intensive OS'es.

>I am including a dmesg capture of my system, as well as a similar dmesg
>capture of the same system running linux (so you can see those weird error
>messages).  If anyone has gotten this system to work on a VT8601A North
>bridge PLEASE let me know.  Laine, I noticed your system runs on a VT8604
>North bridge, so i'm guessing that's why your system works.  I wish there
>were more tests I could run on this system, but the only extra cards I have
>attached to this system are 3 Intel PRO100/S ethernet adapters and the
>processor is soldered in.
>
>If anyone can help at all, or would like to know more information, please
>contact me.  Thanks
>
>
>Greg
>
>
>NetBSD-current dmesg log:
>
>NetBSD 1.6J (CLETUS) #0: Sat Nov  2 13:05:30 CST 2002
>    root@:/home/netbsd-current/src/sys/arch/i386/compile/CLETUS
>total memory = 118 MB
>avail memory = 106 MB
>using 1543 buffers containing 6172 KB of memory
>BIOS32 rev. 0 found at 0xfb350
>mainbus0 (root)
>cpu0 at mainbus0: (uniprocessor)
>cpu0: IDT Pentium Pro compatible (686-class), 733.41 MHz
>cpu0: features 803035<FPU,DE,TSC,MSR,MTRR>
>cpu0: features 803035<PGE,MMX>
>pci0 at mainbus0 bus 0: configuration mode 1
>pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
>pchb0 at pci0 dev 0 function 0
>pchb0: VIA Technologies product 0x0601 (rev. 0x05)
>agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
>ppb0 at pci0 dev 1 function 0: VIA Technologies product 0x8601 (rev. 0x00)
>pci1 at ppb0 bus 1
>pci1: i/o space, memory space enabled
>vga1 at pci1 dev 0 function 0: Trident Microsystems product 0x8500 (rev.
>0x6a)
>wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
>wsmux1: connecting to wsdisplay0
>pcib0 at pci0 dev 7 function 0
>pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x40)
>pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C686A (Apollo KX133)
>ATA100 controller
>pciide0: bus-master DMA support present
>pciide0: primary channel configured to compatibility mode
>wd0 at pciide0 channel 0 drive 0: <Seagate Technology 1275MB - ST31276A>
>wd0: drive supports 16-sector PIO transfers, LBA addressing
>wd0: 1221 MB, 2482 cyl, 16 head, 63 sec, 512 bytes/sect x 2502308 sectors
>wd0: 32-bit data port
>wd0: drive supports PIO mode 4, DMA mode 2
>pciide0: primary channel interrupting at irq 14
>wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
>pciide0: secondary channel configured to compatibility mode
>atapibus0 at pciide0 channel 1: 2 targets
>cd0 at atapibus0 drive 0: <CD-532E-A, , 1.0A> cdrom removable
>cd0: 32-bit data port
>cd0: drive supports PIO mode 4, DMA mode 2
>pciide0: secondary channel interrupting at irq 15
>cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
>uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller
>(rev. 0x1a)
>uhci0: interrupting at irq 11
>usb0 at uhci0: USB revision 1.0
>uhub0 at usb0
>uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub0: 2 ports with 2 removable, self powered
>VIA Technologies VT82C686A SMBus Controller (miscellaneous bridge, revision
>0x40) at pci0 dev 7 function 4 not configured
>fxp0 at pci0 dev 8 function 0: i82550 Ethernet, rev 12
>fxp0: interrupting at irq 5
>fxp0: Ethernet address 00:02:b3:4d:cf:fa
>inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
>inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>fxp1 at pci0 dev 9 function 0: i82550 Ethernet, rev 12
>fxp1: interrupting at irq 12
>fxp1: Ethernet address 00:02:b3:4c:76:20
>inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
>inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>fxp2 at pci0 dev 10 function 0: i82550 Ethernet, rev 12
>fxp2: interrupting at irq 10
>fxp2: Ethernet address 00:02:b3:4c:78:e3
>inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 4
>inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>rtk0 at pci0 dev 14 function 0: RealTek 8139 10/100BaseTX
>rtk0: interrupting at irq 11
>rtk0: Ethernet address 00:07:95:f5:91:c4
>OUI 0x000000 model 0x0000 rev 0 at rtk0 phy 7 not configured
>isa0 at pcib0
>com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
>pckbc0 at isa0 port 0x60-0x64
>pckbd0 at pckbc0 (kbd slot)
>pckbc0: using irq 1 for kbd slot
>wskbd0 at pckbd0: console keyboard, using wsdisplay0
>lpt0 at isa0 port 0x378-0x37b irq 7
>pcppi0 at isa0 port 0x61
>sysbeep0 at pcppi0
>isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
>npx0 at isa0 port 0xf0-0xff: using exception 16
>fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
>isapnp0: no ISA Plug 'n Play devices found
>biomask eb4d netmask ff6d ttymask ffef
>IPsec: Initialized Security Association Processing.
>boot device: wd0
>root on wd0a dumps on wd0b
>root file system type: ffs
>IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
>wsdisplay0: screen 1 added (80x25, vt100 emulation)
>wsdisplay0: screen 2 added (80x25, vt100 emulation)
>wsdisplay0: screen 3 added (80x25, vt100 emulation)
>wsdisplay0: screen 4 added (80x25, vt100 emulation)
>
>
>linux dmesg log:
>
>age 00fc9000 reserved twice.
>hm, page 00fca000 reserved twice.
>hm, page 00fcb000 reserved twice.
>hm, page 00fcc000 reserved twice.
>hm, page 00fcd000 reserved twice.
>hm, page 00fce000 reserved twice.
>hm, page 00fcf000 reserved twice.
>hm, page 00fd0000 reserved twice.
>hm, page 00fd1000 reserved twice.
>hm, page 00fd2000 reserved twice.
>hm, page 00fd3000 reserved twice.
>hm, page 00fd4000 reserved twice.
>hm, page 00fd5000 reserved twice.
>hm, page 00fd6000 reserved twice.
>hm, page 00fd7000 reserved twice.
>hm, page 00fd8000 reserved twice.
>hm, page 00fd9000 reserved twice.
>hm, page 00fda000 reserved twice.
>hm, page 00fdb000 reserved twice.
>hm, page 00fdc000 reserved twice.
>hm, page 00fdd000 reserved twice.
>hm, page 00fde000 reserved twice.
>hm, page 00fdf000 reserved twice.
>hm, page 00fe0000 reserved twice.
>hm, page 00fe1000 reserved twice.
>hm, page 00fe2000 reserved twice.
>hm, page 00fe3000 reserved twice.
>hm, page 00fe4000 reserved twice.
>hm, page 00fe5000 reserved twice.
>hm, page 00fe6000 reserved twice.
>hm, page 00fe7000 reserved twice.
>hm, page 00fe8000 reserved twice.
>hm, page 00fe9000 reserved twice.
>hm, page 00fea000 reserved twice.
>hm, page 00feb000 reserved twice.
>hm, page 00fec000 reserved twice.
>hm, page 00fed000 reserved twice.
>hm, page 00fee000 reserved twice.
>hm, page 00fef000 reserved twice.
>hm, page 00ff0000 reserved twice.
>hm, page 00ff1000 reserved twice.
>hm, page 00ff2000 reserved twice.
>hm, page 00ff3000 reserved twice.
>hm, page 00ff4000 reserved twice.
>hm, page 00ff5000 reserved twice.
>hm, page 00ff6000 reserved twice.
>hm, page 00ff7000 reserved twice.
>hm, page 00ff8000 reserved twice.
>hm, page 00ff9000 reserved twice.
>hm, page 00ffa000 reserved twice.
>hm, page 00ffb000 reserved twice.
>hm, page 00ffc000 reserved twice.
>hm, page 00ffd000 reserved twice.
>hm, page 00ffe000 reserved twice.
>hm, page 00fff000 reserved twice.
>On node 0 totalpages: 30704
>zone(0): 4096 pages.
>zone(1): 26608 pages.
>zone(2): 0 pages.
>No local APIC present or hardware disabled
>Kernel command line: BOOT_IMAGE=coyote root=101
>Initializing CPU#0
>Detected 733.379 MHz processor.
>Console: colour VGA+ 80x25
>Calibrating delay loop... 1461.45 BogoMIPS
>Memory: 113044k/122816k available (1041k kernel code, 8364k reserved, 297k
>data, 220k init, 0k highmem)
>Checking if this processor honours the WP bit even in supervisor mode... Ok.
>Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
>Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
>Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
>Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
>Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
>CPU: Before vendor init, caps: 00803035 80803035 00000000, vendor = 5
>CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
>CPU: L2 Cache: 64K (32 bytes/line)
>CPU: After vendor init, caps: 00803135 80803035 00000000 00000000
>CPU:     After generic, caps: 00803135 80803035 00000000 00000000
>CPU:             Common caps: 00803135 80803035 00000000 00000000
>Checking 'hlt' instruction... OK.
>POSIX conformance testing by UNIFIX
>CPU: Before vendor init, caps: 00803135 80803135 00000000, vendor = 5
>CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
>CPU: L2 Cache: 64K (32 bytes/line)
>CPU: After vendor init, caps: 00803135 80803135 00000000 00000000
>CPU:     After generic, caps: 00803135 80803135 00000000 00000000
>CPU:             Common caps: 00803135 80803035 00000000 00000000
>CPU0: Centaur VIA Samuel 2 stepping 03
>per-CPU timeslice cutoff: 182.90 usecs.
>SMP motherboard not detected.
>Local APIC not detected. Using dummy APIC emulation.
>Waiting on wait_init_idle (map = 0x0)
>All processors have done init_idle
>PCI: PCI BIOS revision 2.10 entry at 0xfb380, last bus=1
>PCI: Using configuration type 1
>PCI: Probing PCI hardware
>Unknown bridge resource 0: assuming transparent
>Unknown bridge resource 2: assuming transparent
>PCI: Using IRQ router VIA [1106/0686] at 00:07.0
>PCI: Disabling Via external APIC routing
>isapnp: Scanning for PnP cards...
>isapnp: No Plug & Play device found
>Linux NET4.0 for Linux 2.4
>Based upon Swansea University Computer Society NET3.039
>Initializing RT netlink socket
>Starting kswapd
>pty: 512 Unix98 ptys configured
>Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
>SERIAL_PCI ISAPNP enabled
>ttyS00 at 0x03f8 (irq = 4) is a 16550A
>block: 128 slots per queue, batch=32
>RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize
>Uniform Multi-Platform E-IDE driver Revision: 6.31
>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>VP_IDE: IDE controller on PCI bus 00 dev 39
>VP_IDE: chipset revision 6
>VP_IDE: not 100% native mode: will probe irqs later
>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
>    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
>    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
>hda: Seagate Technology 1275MB - ST31276A, ATA DISK drive
>hdc: CD-532E-A, ATAPI CD/DVD-ROM drive
>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>ide1 at 0x170-0x177,0x376 on irq 15
>hda: 2502308 sectors (1281 MB), CHS=620/64/63, DMA
>hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
>Uniform CD-ROM driver Revision: 3.12
>Partition check:
> hda: hda1 hda2 hda3 hda4
>Floppy drive(s): fd0 is 1.44M
>FDC 0 is a post-1991 82077
>usb.c: registered new driver hub
>NET4: Linux TCP/IP 1.0 for NET4.0
>IP Protocols: ICMP, UDP, TCP, IGMP
>IP: routing cache hash table of 512 buckets, 4Kbytes
>TCP: Hash tables configured (established 8192 bind 8192)
>ip_conntrack (959 buckets, 7672 max)
>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
>802.1Q VLAN Support v1.6  Ben Greear <greearb@candelatech.com>
>vlan Initialization complete.
>RAMDISK: Compressed image found at block 0
>Freeing initrd memory: 5367k freed
>VFS: Mounted root (ext2 filesystem).
>ip_tables: (C) 2000-2002 Netfilter core team
>eepro100.c:v1.09j-t 9/29/99 Donald Becker
>http://www.scyld.com/network/eepro100.html
>eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
><saw@saw.sw.com.sg> and others
>PCI: Found IRQ 5 for device 00:08.0
>eth0: Intel Corp. 82557 [Ethernet Pro 100], 00:02:B3:4D:CF:FA, IRQ 5.
>  Board assembly 751767-004, Physical connectors present: RJ45
>  Primary interface chip i82555 PHY #1.
>    Secondary interface chip i82555.
>  General self-test: passed.
>  Serial sub-system self-test: passed.
>  Internal registers self-test: passed.
>  ROM checksum self-test: passed (0x3258698e).
>PCI: Found IRQ 12 for device 00:09.0
>eth1: Intel Corp. 82557 [Ethernet Pro 100] (#2), 00:02:B3:4C:76:20, IRQ 12.
>  Board assembly 751767-004, Physical connectors present: RJ45
>  Primary interface chip i82555 PHY #1.
>    Secondary interface chip i82555.
>  General self-test: passed.
>  Serial sub-system self-test: passed.
>  Internal registers self-test: passed.
>  ROM checksum self-test: passed (0x3258698e).
>PCI: Found IRQ 10 for device 00:0a.0
>eth2: Intel Corp. 82557 [Ethernet Pro 100] (#3), 00:02:B3:4C:78:E3, IRQ 10.
>  Board assembly 751767-004, Physical connectors present: RJ45
>  Primary interface chip i82555 PHY #1.
>    Secondary interface chip i82555.
>  General self-test: passed.
>  Serial sub-system self-test: passed.
>  Internal registers self-test: passed.
>  ROM checksum self-test: passed (0x3258698e).
>8139too Fast Ethernet driver 0.9.24
>PCI: Found IRQ 11 for device 00:0e.0
>PCI: Sharing IRQ 11 with 00:07.2
>eth3: RealTek RTL8139 Fast Ethernet at 0xc802e000, 00:07:95:f5:91:c4, IRQ 11
>eth3:  Identified 8139 chip type 'RTL-8139C'
>eth3: Setting half-duplex based on auto-negotiated partner ability 0000.
>
>
>
>> My main server has been running on a 933Mhz VIA C3 (installed in one of
>>  those tiny aluminum Shuttle SV24 boxes) for the last 5 months with 0
>> problems (well, it's *very* slow at MP3 encoding, but otherwise...). As
>> far  as I know, there's nothing special required in kernel config to
>> support the  C3. I'd wager that the problem is with some other part of
>> your hardware  (most likely a reliability problem, not a compatibility
>> problem). Maybe you  could borrow a PIII from somewhere to swap with
>> the C3 and verify?
>
>
>
>
>
>