recent GIANT changes causes panic in ifconf()

From: Vladimir Grebenschikov <vova_at_express.ru>
Date: Mon, 19 Apr 2004 14:09:38 +0400
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.
Received on Mon Apr 19 2004 - 00:07:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC