Subject: Kernel panics with Asus P4R800V Celeron 2400 256 MB ram
To: None <port-i386@NetBSD.org>
From: David Lord <netbsd@lordynet.org>
List: port-i386
Date: 07/05/2007 15:51:29
For several weeks I've been trying to get NetBSD 3.1 to run without 
panics on this system, Asus P4R800V m/b, Celeron 2.4GHz and 256 MB 
ram. It's was previously running FreeBSD as fileserver and build 
system without problem (like 6mth+ uptime no problem). I think NetBSD 
3.0 was installed August 2006 and only/big problem then was with 
auixp driver codec error preventing bootup but a kernel without that 
driver allowed boot but with kernel panics if loaded. I've gone 
through following:

swapped ram and memtest

seatools check of hdd

updated m/b bios

installed NetBSD-daily/netbsd-3-1/200707020002Z after wget and mkiso 
on this suspect system and ftp of iso to desktop to burn install cd.

Problem is now much worse.

eg. Remote nfs mount and attempt to copy src.tgz (216MB) gives 
uvm_fault (0xc08ae4e0,0x966000,0,1) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 895.1 (nfsio) at netbsd: sched_wakeup+0x24:
  cmpl %edi,0x34(%ebx)

What appears to happen from 'top' is that files increases and free 
decreases then when free is bouncing around 300K - 1MB there will be 
a panic/lockup/segmentation fault or whatever.

Bios update didn't help as original minimum ram for vga was 8MB but 
now is 16MB so max total ram is now 238MB rather than 246MB. Problem 
seems worse with this 238MB total vs previous 190MB (16MB for vga vs 
64MB).

Any hints as to how best to proceed with sorting this. To me it just 
appears as if kernel has overestimate of free ram as I've not seen 
any swap space in use.

dmesg attached

David




-------------- Enclosure number 1 ----------------
NetBSD 3.1_STABLE (P4X2400C_0.21) #0: Thu Jul  5 01:50:55 GMT 2007
        zardoz@pd6000e1.home.lordynet.org:/mnt_l/src_k/src/sys/arch/i386/compile/obj/P4X2400C_0.21
total memory = 238 MB
avail memory = 224 MB
BIOS32 rev. 0 found at 0xfb680
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel (686-class), 2405.54 MHz, id 0xf34
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 441d<SSE3,MONITOR,DS-CPL,CID,xTPR>
cpu0: "Intel(R) Celeron(R) CPU 2.40GHz"
cpu0: I-cache 12K uOp cache 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: running without thermal monitor!
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: ATI Technologies RS300 Host Bridge (rev. 0x02)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: ATI Technologies RS300 AGP Interface (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 5 function 0: ATI Technologies Radeon 9100 IGP (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
skc0 at pci0 dev 13 function 0: irq 5
skc0: interrupt moderation is 0 us
skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0 at skc0 port A: Ethernet address 00:0e:a6:74:a1:a7
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ohci0 at pci0 dev 19 function 0: ATI Technologies SB200 USB Host Controller (rev. 0x01)
ohci0: interrupting at irq 5
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1: ATI Technologies SB200 USB Host Controller (rev. 0x01)
ohci1: interrupting at irq 5
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 19 function 2: ATI Technologies SB200 USB2 Host Controller (rev. 0x01)
ehci0: interrupting at irq 5
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: single transaction translator
uhub2: 6 ports with 6 removable, self powered
ATI Technologies SB200 SMBus Controller (SMBus serial bus, revision 0x18) at pci0 dev 20 function 0 not configured
ixpide0 at pci0 dev 20 function 1
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at irq 14
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at irq 15
atabus1 at ixpide0 channel 1
pcib0 at pci0 dev 20 function 3
pcib0: ATI Technologies SB200 PCI-ISA Bridge (rev. 0x00)
ppb1 at pci0 dev 20 function 4: ATI Technologies SB200 PCI-PCI Bridge (rev. 0x00)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
puc0 at pci2 dev 5 function 0: NetMos NM9835 Dual UART and 1284 Printer port (com, com, lpt)
com3 at puc0 port 0: interrupting at irq 10
com3: ns16550a, working fifo
com4 at puc0 port 1: interrupting at irq 10
com4: ns16550a, working fifo
lpt3 at puc0 port 2: interrupting at irq 10
ATI Technologies IXP AC'97 Audio Controller (audio multimedia) at pci0 dev 20 function 5 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xffnpx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <ST3160023A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <GCR-8523B, , 1.01> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(ixpide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
skc0: interrupt moderation is 100 us
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)