kern/29626
Thomas-Martin Seck
tmseck at web.de
Sun Jun 11 19:10:20 UTC 2006
The following reply was made to PR kern/29626; it has been noted by GNATS.
From: Thomas-Martin Seck <tmseck at web.de>
To: Maxim Konovalov <maxim at macomnet.ru>
Cc: bug-followup at freebsd.org
Subject: Re: kern/29626
Date: Sun, 11 Jun 2006 21:06:15 +0200
* Maxim Konovalov (maxim at macomnet.ru):
Thanks for having a look at this!
> I've just checked on RELENG_4 system with GENERIC kernel:
> if_rl_load="YES" in /boot/loader.conf makes no harm at all. Is it
> still a problem for you? Thanks!
Yes, unfortunately. This system is a stripped down RELENG_4 GENERIC
kernel, last updated from 2006-03-12 sources, that contains if_rl
and miibus. When putting if_rl_load="YES" in /boot/loader.conf and
rebooting, if_rl and miibus are loaded on top of the kernel without
error or warning. The system explodes when entering multiuser mode and
ifconfig tries to configure the rl interface.
I have not yet checked whether this issue exists in 5.x or later, I
admit I totally forgot about it :)
Transcript of debugging session:
Script started on Sun Jun 11 20:54:25 2006
% sudo gdb -k /kernel.debug /var/crash/vmcore.1
Please enter your sudo password:
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
IdlePTD at physical address 0x003a0000
initial pcb at physical address 0x002ea940
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x8
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc03742cf
stack pointer = 0x10:0xc8910db4
frame pointer = 0x10:0xc8910dc0
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 = 63 (ifconfig)
interrupt mask = net
trap number = 12
panic: page fault
syncing disks... 10 10 6 6 3 3
done
Uptime: 4s
dumping to dev #ad/0x20001, offset 398
dump ata0: resetting devices .. done
[dump details elided]
---
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) bt full
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
error = 0
#1 0xc015672f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
howto = 256
#2 0xc0156b54 in poweroff_wait (junk=0xc02a5fec, howto=-1070966033)
at /usr/src/sys/kern/kern_shutdown.c:595
fmt = 0xc02a5fec "%s"
bootopt = 256
buf = "page fault", '\000' <repeats 245 times>
#3 0xc0267b22 in trap_fatal (frame=0xc8910d74, eva=8)
at /usr/src/sys/i386/i386/trap.c:974
frame = (struct trapframe *) 0x100
code = -1070964756
type = 12
ss = -1070964756
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
ssd_dpl = 0, ssd_p = 1, ssd_xx = 7, ssd_xx1 = 3, ssd_def32 = 1, ssd_gran = 1}
#4 0xc02677f5 in trap_pfault (frame=0xc8910d74, usermode=0, eva=8)
at /usr/src/sys/i386/i386/trap.c:867
va = 0
vm = (struct vmspace *) 0x0
map = 0xc7be7dc0
rv = 0
ftype = 1 '\001'
p = (struct proc *) 0xc7be4100
#5 0xc02673b3 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
tf_edi = -1061480128, tf_esi = 0, tf_ebp = -930017856,
tf_isp = -930017888, tf_ebx = -1061480192, tf_edx = -1061480128,
tf_ecx = 0, tf_eax = -1070120256, tf_trapno = 12, tf_err = 0,
tf_eip = -1070120241, tf_cs = 8, tf_eflags = 66182,
tf_esp = -1061480192, tf_ss = -1061480128})
at /usr/src/sys/i386/i386/trap.c:466
p = (struct proc *) 0xc7be4100
sticks = 13848283118714789888
i = 0
ucode = 0
type = 12
code = 0
eva = 8
#6 0xc03742cf in ?? ()
No symbol table info available.
#7 0xc013363d in mii_mediachg (mii=0xc0bb1940)
at /usr/src/sys/dev/mii/mii.c:293
mii = (struct mii_data *) 0x0
child = (struct mii_softc *) 0x660600
rv = 0
#8 0xc03697c1 in ?? ()
No symbol table info available.
#9 0xc0369923 in ?? ()
No symbol table info available.
#10 0xc019acff in ifioctl (so=0xc81e5ee0, cmd=2149607696,
data=0xc8910ea8 "rl0", p=0xc7be4100) at /usr/src/sys/net/if.c:1057
cmd = 3233437696
p = (struct proc *) 0x6
ifp = (struct ifnet *) 0xc0bb1940
ifr = (struct ifreq *) 0xc8910ea8
error = 6
new_flags = 6
---Type <return> to continue, or q <return> to quit---
#11 0xc016910a in soo_ioctl (fp=0xc0c4ad80, cmd=2149607696,
data=0xc8910ea8 "rl0", p=0xc7be4100) at /usr/src/sys/kern/sys_socket.c:143
fp = (struct file *) 0x0
cmd = 0
data = 0xc8910ea8 "rl0"
p = (struct proc *) 0xc7be4100
so = (struct socket *) 0x0
#12 0xc0166006 in ioctl (p=0xc7be4100, uap=0xc8910f80)
at /usr/src/sys/sys/file.h:178
error = 0
fp = (struct file *) 0xc0c4ad80
com = 2149607696
data = 0xc8910ea8 "rl0"
p = (struct proc *) 0xc7be4100
fp = (struct file *) 0xc0c4ad80
fdp = (struct filedesc *) 0x0
com = 2149607696
error = 0
size = 32
data = 0xc8910ea8 "rl0"
memp = 0x0
tmp = 0
ubuf = {
stkbuf = "rl0", '\000' <repeats 13 times>, "\003\210", '\000' <repeats 18 times>, "l\232LÀÄS/À\001\000\000\000l\232LÀÄS/À\001\000\000\000À}¾ÇPù.À", '\000' <repeats 13 times>, "A¾Ç\000A¾ÇÀ}¾Ç\000 \a\b\000A¾Ç\000A¾Ç\001\000\000\000\200\017\221È\000\000\000\000à^\036È\200\017\221È\003\000\000", align = 3173490}
#13 0xc0267dd1 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = 3, tf_esi = 1, tf_ebp = -1077937056, tf_isp = -930017324,
tf_ebx = -1077937088, tf_edx = 34818, tf_ecx = -1077937072, tf_eax = 54,
tf_trapno = 12, tf_err = 2, tf_eip = 134536332, tf_cs = 31,
tf_eflags = 663, tf_esp = -1077937132, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1175
params = 0xbfbffc18 "\003"
i = 0
callp = (struct sysent *) 0xc02b3570
p = (struct proc *) 0xc7be4100
orig_tf_eflags = 663
sticks = 0
error = 0
narg = 3
args = {3, -2145359600, -1077937088, 0, 0, 0, 0, 0}
have_mplock = 1
code = 54
#14 0xc025bd95 in Xint0x80_syscall ()
No symbol table info available.
#15 0x80489b2 in ?? ()
No symbol table info available.
#16 0x80487c1 in ?? ()
No symbol table info available.
#17 0x804813e in ?? ()
No symbol table info available.
(kgdb) quit
%
Script done on Sun Jun 11 20:55:15 2006
More information about the freebsd-bugs
mailing list