Subject: Crash with IPF and pppoe interfaces
To: None <current-users@netbsd.org>
From: Christian Hattemer <c.hattemer@arcor.de>
List: current-users
Date: 07/12/2006 11:22:29
Hi,
I've encountered this probllem with yesterday's -current: It will crash when
creating a pppoe interface (ifconfig pppoe0 create) while IPF is enabled.
It seems to happen only for pppoe interfaces, I could create additional ppp
and lo interfaces without problems.
The following log shows the boot up to the point where /etc/rc.d/network
runs ifconfig to create the pppoe interface. There are some other odd lines
that result from the minimally configured system. The crash is the same on
a fully configured system.
What's wrong here?
Please CC me on replies.
BTW: Anybody got an idea how I can save the output from qemu's serial
console into a file?
Bye, Chris
NetBSD 3.99.21 (WRAP) #0: Wed Jul 12 09:54:29 CEST 2006
krille@webster:/usr/home/krille/wrap-current/obj/sys/arch/i386/compile/WRAP
total memory = 127 MB
avail memory = 122 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfc622
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: National Semiconductor Geode GX1 (586-class), 266.65 MHz, id 0x540
cpu0: "Geode(TM) Integrated Processor by National Semi"
WARNING: broken TSC disabled
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: Cyrix MediaGX Built-in PCI Host Controller (rev. 0x00)
sip0 at pci0 dev 14 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at irq 10
sip0: Ethernet address 00:0d:b9:04:5f:d4
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sip1 at pci0 dev 15 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip1: interrupting at irq 9
sip1: Ethernet address 00:0d:b9:04:5f:d5
nsphyter1 at sip1 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sip2 at pci0 dev 16 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip2: interrupting at irq 11
sip2: Ethernet address 00:0d:b9:04:5f:d6
nsphyter2 at sip2 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gscpcib0 at pci0 dev 18 function 0
gscpcib0: National Semiconductor SC1100 PCI-ISA bridge (rev. 0x00)
gpio0 at gscpcib0: 64 pins
National Semiconductor SC1100 SMI/ACPI (miscellaneous bridge) at pci0 dev 18
function 1 not configured
geodeide0 at pci0 dev 18 function 2
geodeide0: AMD Geode SC1100 IDE controller (rev. 0x01)
geodeide0: bus-master DMA support present
geodeide0: primary channel wired to compatibility mode
geodeide0: primary channel interrupting at irq 14
atabus0 at geodeide0 channel 0
geodeide0: secondary channel wired to compatibility mode
geodeide0: secondary channel interrupting at irq 15
atabus1 at geodeide0 channel 1
National Semiconductor SC1100 XpressAUDIO (audio multimedia) at pci0 dev 18
function 3 not configured
geodegcb0 at pci0 dev 18 function 5: AMD Geode GCB (rev. 0x03)
geodewdog0 at geodegcb0: AMD Geode SC1100 Watchdog Timer
geodecntr0 at geodegcb0: AMD Geode SC1100 27Mhz Counter
timecounter: Timecounter "geodecounter" frequency 27000000 Hz quality 1000
timecounter: selected timecounter "geodecounter" frequency 27000000 Hz
quality 1000
isa0 at gscpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
attimer0 at isa0 port 0x40-0x43: AT Timer
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
pcppi0: attached to attimer0
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "TSC" frequency 266656530 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
wd0 at atabus0 drive 0: <Hitachi XX.V.3.7.0.0>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 244 MB, 695 cyl, 15 head, 48 sec, 512 bytes/sect x 500400 sectors
wd0: 32-bit data port
wd0(geodeide0:0:0): using PIO mode 0
boot device: <unknown>
root device: wd0a
dump device (default wd0b):
file system (default generic): ffs
root on wd0a dumps on wd0b
WARNING: clock time much less than file system time
WARNING: using file system time
WARNING: CHECK AND RESET THE DATE!
init path (default /sbin/init):
init: trying /sbin/init
Wed Jul 12 08:37:56 UTC 2006
Checking for botched superblock upgrades: done.
Starting file system checks:
mount: /: unknown special file or file system.
rm: utmp: Read-only file system
rm: utmpx: Read-only file system
Setting tty flags.
chmod: /dev/ttyp0: Read-only file system
chmod: /dev/ttyp1: Read-only file system
chmod: /dev/ttyp2: Read-only file system
chmod: /dev/ttyp3: Read-only file system
chmod: /dev/ttyp4: Read-only file system
chmod: /dev/ttyp5: Read-only file system
chmod: /dev/ttyp6: Read-only file system
chmod: /dev/ttyp7: Read-only file system
chmod: /dev/ttyp8: Read-only file system
chmod: /dev/ttyp9: Read-only file system
chmod: /dev/ttypa: Read-only file system
chmod: /dev/ttypb: Read-only file system
chmod: /dev/ttypc: Read-only file system
chmod: /dev/ttypd: Read-only file system
chmod: /dev/ttype: Read-only file system
chmod: /dev/ttypf: Read-only file system
chmod: /dev/ttyq0: Read-only file system
chmod: /dev/ttyq1: Read-only file system
chmod: /dev/ttyq2: Read-only file system
chmod: /dev/ttyq3: Read-only file system
chmod: /dev/ttyq4: Read-only file system
chmod: /dev/ttyq5: Read-only file system
chmod: /dev/ttyq6: Read-only file system
chmod: /dev/ttyq7: Read-only file system
chmod: /dev/ttyq8: Read-only file system
chmod: /dev/ttyq9: Read-only file system
chmod: /dev/ttyqa: Read-only file system
chmod: /dev/ttyqb: Read-only file system
chmod: /dev/ttyqc: Read-only file system
chmod: /dev/ttyqd: Read-only file system
chmod: /dev/ttyqe: Read-only file system
chmod: /dev/ttyqf: Read-only file system
chmod: /dev/ttyr0: Read-only file system
chmod: /dev/ttyr1: Read-only file system
chmod: /dev/ttyr2: Read-only file system
chmod: /dev/ttyr3: Read-only file system
chmod: /dev/ttyr4: Read-only file system
chmod: /dev/ttyr5: Read-only file system
chmod: /dev/ttyr6: Read-only file system
chmod: /dev/ttyr7: Read-only file system
chmod: /dev/ttyr8: Read-only file system
chmod: /dev/ttyr9: Read-only file system
chmod: /dev/ttyra: Read-only file system
chmod: /dev/ttyrb: Read-only file system
chmod: /dev/ttyrc: Read-only file system
chmod: /dev/ttyrd: Read-only file system
chmod: /dev/ttyre: Read-only file system
chmod: /dev/ttyrf: Read-only file system
chmod: /dev/ttys0: Read-only file system
chmod: /dev/ttys1: Read-only file system
chmod: /dev/ttys2: Read-only file system
chmod: /dev/ttys3: Read-only file system
chmod: /dev/ttys4: Read-only file system
chmod: /dev/ttys5: Read-only file system
chmod: /dev/ttys6: Read-only file system
chmod: /dev/ttys7: Read-only file system
chmod: /dev/ttys8: Read-only file system
chmod: /dev/ttys9: Read-only file system
chmod: /dev/ttysa: Read-only file system
chmod: /dev/ttysb: Read-only file system
chmod: /dev/ttysc: Read-only file system
chmod: /dev/ttysd: Read-only file system
chmod: /dev/ttyse: Read-only file system
chmod: /dev/ttysf: Read-only file system
Enabling ipfilter.
Setting sysctl variables:
Starting network.
Hostname: foo
Configuring network interfaces:uvm_fault(0xca24ab60, 0, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 76.1 (ifconfig) at netbsd:fr_ifpaddr+0x36: movl
0(%eax),
%edx
db> bt
fr_ifpaddr(4,1,c06a8000,c0681b18,c0681b50) at netbsd:fr_ifpaddr+0x36
frsynclist(0,0,c02933ea,64,caabfa50) at netbsd:frsynclist+0x118
frsync(0,ffffffff,caabfa3c,c01dedfc,c05acf00) at netbsd:frsync+0x53
ipf_pfilsync(0,0,c06a8000,10,caabfb88) at netbsd:ipf_pfilsync+0xd
pfil_run_hooks(c02e2f80,0,c06a8000,10,c06a801a) at
netbsd:pfil_run_hooks+0xa2
if_attach(c06a8000,0,454,c0293424,c02ba8cc) at netbsd:if_attach+0x256
pppoe_clone_create(c02ba8cc,0,caabfafc,c0219ac5,0) at
netbsd:pppoe_clone_create+
0xd7
if_clone_create(caabfb88,1,ca24518e,69,0) at netbsd:if_clone_create+0x42
ifioctl(c05c6e58,8020697a,caabfb88,ca24da50,c05c6e58) at
netbsd:ifioctl+0x4ab
sys_ioctl(ca24da50,caabfc48,caabfc68,0,bbb99000) at netbsd:sys_ioctl+0x142
syscall_plain() at netbsd:syscall_plain+0x141
--- syscall (number 54) ---
0xbbbb9867:
db>