bin/34030 (miibus.ko can be loaded into the kernel which had miibus already by /boot/loader, then cause panic)

Paweł Małachowski pawmal at unia.3lo.lublin.pl
Tue Aug 19 08:17:46 PDT 2003


No Chris, still an issue.
My 4.8-STABLE box happily allows me to `load miibus' by hand at boot time.
This is GENERIC kernel with miibus compiled in.

It boots fine, but when I try to use ifconfig command, kernel panic happens.
Let's feed audit trail, here comes backtrace:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0550dc0
stack pointer           = 0x10:0xc9418ce4
frame pointer           = 0x10:0xc9418cf0
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         = 99 (ifconfig)
interrupt mask          = net tty
trap number             = 12
panic: page fault

syncing disks... 48 48 32 32 27 26 26 24 24 19 19 12 12 7 7 4 4 1 1
done
Uptime: 27s

dumping to dev #da/0x20001, offset 524312
dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
---
#0  dumpsys () at ../../kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc022c8bb in boot (howto=256) at ../../kern/kern_shutdown.c:316
#2  0xc022ccf9 in panic (fmt=0xc0429a0c "%s") at ../../kern/kern_shutdown.c:595
#3  0xc03a304b in trap_fatal (frame=0xc9418ca4, eva=8) at ../../i386/i386/trap.c:974
#4  0xc03a2cf9 in trap_pfault (frame=0xc9418ca4, usermode=0, eva=8) at ../../i386/i386/trap.c:867
#5  0xc03a2873 in trap (frame={tf_fs = -1064435696, tf_es = -918552560, tf_ds = 16, tf_edi = 2, tf_esi = -1056957632,
      tf_ebp = -918450960, tf_isp = -918450992, tf_ebx = 0, tf_edx = -926289920, tf_ecx = -926289920, tf_eax = -1056957568,
      tf_trapno = 12, tf_err = 0, tf_eip = -1068167744, tf_cs = 8, tf_eflags = 66118, tf_esp = -1056957632,
      tf_ss = -1056957568}) at ../../i386/i386/trap.c:466
#6  0xc0550dc0 in ?? ()
#7  0xc01e385d in mii_mediachg (mii=0xc1001b80) at ../../dev/mii/mii.c:293
#8  0xc01cd60d in fxp_init (xsc=0xc0ff7400) at ../../dev/fxp/if_fxp.c:1785
#9  0xc02723ba in ether_ioctl (ifp=0xc0ff7400, command=-2145359604, data=0xc111ee00 " î\021Á°î\021ÁŔî\021Á")
    at ../../net/if_ethersubr.c:904
#10 0xc01cd9db in fxp_ioctl (ifp=0xc0ff7400, command=2149607692, data=0xc111ee00 " î\021Á°î\021ÁŔî\021Á")
    at ../../dev/fxp/if_fxp.c:1981
#11 0xc0280bd1 in in_ifinit (ifp=0xc0ff7400, ia=0xc111ee00, sin=0xc9418eb8, scrub=0) at ../../netinet/in.c:682
#12 0xc02804fc in in_control (so=0xc8ca2800, cmd=2151704858, data=0xc9418ea8 "fxp0", ifp=0xc0ff7400, p=0xc7ebe0c0)
    at ../../netinet/in.c:406
#13 0xc0270cde in ifioctl (so=0xc8ca2800, cmd=2151704858, data=0xc9418ea8 "fxp0", p=0xc7ebe0c0) at ../../net/if.c:1200
#14 0xc023f17a in soo_ioctl (fp=0xc1119340, cmd=2151704858, data=0xc9418ea8 "fxp0", p=0xc7ebe0c0)
    at ../../kern/sys_socket.c:143
#15 0xc023c072 in ioctl (p=0xc7ebe0c0, uap=0xc9418f80) at ../../sys/file.h:178
#16 0xc03a3301 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077936692,
      tf_ebp = -1077936928, tf_isp = -918450220, tf_ebx = 134683780, tf_edx = 3, tf_ecx = 134768368, tf_eax = 54,
      tf_trapno = 12, tf_err = 2, tf_eip = 134536316, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937068, tf_ss = 47})
    at ../../i386/i386/trap.c:1175
#17 0xc0393a95 in Xint0x80_syscall ()
#18 0x80487b1 in ?? ()
#19 0x804813e in ?? ()



-- 
Paweł Małachowski


More information about the freebsd-bugs mailing list