Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 14:09:38 +0400
From:      Vladimir Grebenschikov <vova@express.ru>
To:        current@freebsd.org
Subject:   recent GIANT changes causes panic in ifconf()
Message-ID:  <1082369377.948.24.camel@localhost>

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

System panics while boot on interface configuration from dhclient for
wi0 interface.

...
Firewall rules loaded, starting divert daemons:.
net.inet.ip.fw.enable: 1 -> 1
Starting dhclient
                .

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc05675e0
stack pointer           = 0x10:0xcb50eb8c
frame pointer           = 0x10:0xcb50ebdc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 234 (dhclient)
kernel: type 12 trap, code=0
Stopped at      ifconf+0x140:   cmpb    $0x10,0(%ebx)
db> tr
ifconf(c0086924,cb50ec58,0,c25173f0,cb50ec0c) at ifconf+0x140
ifioctl(c26804b0,c0086924,cb50ec58,c25173f0,0) at ifioctl+0x31
soo_ioctl(c25fd990,c0086924,cb50ec58,c13b0e00,c25173f0) at
soo_ioctl+0x19c
ioctl(c25173f0,cb50ed14,c,6,3) at ioctl+0x5c8
syscall(2f,2f,2f,bfbfef64,0) at syscall+0x2f0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x2810704b, esp =
0xbfbfe55c, ebp = 0xbfbfee08 ---


Such panic happens only on boot, if I load if_wi.ko after boot and then
run dhclient no panic occurred.

More details in kern/65752

-- 
Vladimir B. Grebenschikov
SWsoft Inc.



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