Subject: Kernel crash at tcp_input() ?
To: None <>
From: Ossi Herrala <>
List: current-users
Date: 01/25/2003 16:16:55
Hi all

Today NetBSD throwed me to debugger:

kernel: page fault trap, code=0
Stopped in pid 8032.1 (setiathome) at tcp_input+0x657: testb

and trace said:

tcp_input(c10bf700,28,6,101,e3a6ff48) at tcp_input+0x657
tcp6_input(e3a6ff78,e3a6ff6c,6,1,c10bf700) at tcp6_input+0x5d
ip6_input(c10bf700,c045b3f8,c1080d00,0,0) at ip6_input+0x8f7
ip6intr(1f,1f,10001f,bfbf001f,a) at ip6intr+0x87
Bad frame pointer: 0xc0f7c480

Then I sync'ed.

dmesg say:

NetBSD 1.6M (GENERIC) #0: Thu Jan 23 10:08:16 UTC 2003
total memory = 511 MB
avail memory = 467 MB
using 6144 buffers containing 26292 KB of memory
BIOS32 rev. 0 found at 0xfb4c0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD K6-2 (586-class), 400.92 MHz, id 0x58c
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
cpu0: I-cache 32 KB 32b/line 2-way, D-cache 32 KB 32b/line 2-way
cpu0: ITLB 64 4 KB entries direct-mapped
cpu0: DTLB 128 4 KB entries 2-way
cpu0: 4 page colors
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: Acer Labs M1541 Host-PCI Bridge (rev. 0x04)
agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Acer Labs M5243 PCI-AGP Bridge (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: 3Dfx Interactive Voodoo3 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
fxp0 at pci0 dev 9 function 0: i82550 Ethernet, rev 12
fxp0: interrupting at irq 5
fxp0: Ethernet address 00:02:b3:27:f1:e4
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex0 at pci0 dev 10 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x30)
ex0: interrupting at irq 9
ex0: MAC address 00:50:da:72:87:1c
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc1 at pci0 dev 11 function 0
ahc1: interrupting at irq 9
ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
emuxki0 at pci0 dev 12 function 0: Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x08)
emuxki0: interrupting at irq 10
emuxki0: TriTech TR28602 codec; no 3D stereo
audio0 at emuxki0: full duplex, mmap, independent
joy0 at pci0 dev 12 function 1: Creative Labs PCI Gameport Joystick (rev 0x08)
joy0: joystick not connected
pciide0 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <MAXTOR 6L040J2>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38172 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78177792 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <Hewlett-Packard CD-Writer Plus 7500, YMT3GLA6Z9, 1.0a> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
sd0 at atapibus0 drive 1: <IOMEGA  ZIP 100       ATAPI, , 23.D> disk removable
sd0: drive offline
sd0: 32-bit data port
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
sd0(pciide0:1:1): using PIO mode 3
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
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-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd0a: DMA error reading fsbn 18960 of 18960-18975 (wd0 bn 19023; cn 18 tn 13 sn 60), retrying
wd0: soft error (corrected)
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)
uid 0 comm savecore on /var: file system full

There wasn't enough disk space on /var after reboot but I generated
crashdump to different partition with savecore. What should I do?

And btw. lot of programs are code dumping on my system. I don't know why.
I hope waiting newer release to will help.

Ossi Herrala
Personal PGP key at