if_ndis kernel panic

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Fri, 12 Dec 2003 11:50:33 +0100 (CET)
Hi,

I played around with the new NDIS wrapper, and when kldloading if_ndis,
I'm seeing lots of output, but then I'm dropped into DDB.

This is a Thinkpad T40 with built-in Intel Centrino WLAN.  On kldload of
if_ndis, the WLAN led goes on, which seems to be a good sign :-)

The only dmesg messages I was able to preserve are:

ndis0: <Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> mem 0xc0200000-0xc0200fff irq 11 at device 2.0 on pci2
ndis0: failed to enable port mapping!

.INF can be found at <http://mailbox.univie.ac.at/~le/W70N51.INF>.

If there's anything I can do to help debug this, let me know.

Following is the backtrace:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: vm_fault: fault on nofault entry, addr: d77bc000
panic messages:
---
panic: vm_fault: fault on nofault entry, addr: d77bc000
Dumping 511 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496
---
Reading symbols from /usr/obj/usr/src/sys/KORBEN/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/KORBEN/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from /usr/obj/usr/src/sys/KORBEN/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/KORBEN/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from /boot/kernel/ndis.ko...done.
Loaded symbols for /boot/kernel/ndis.ko
Reading symbols from /boot/kernel/if_ndis.ko...done.
Loaded symbols for /boot/kernel/if_ndis.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240		dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc044c395 in db_fncall (dummy1=0, dummy2=0, dummy3=0,
    dummy4=0xd77bac34 " \217tÀ") at /usr/src/sys/ddb/db_command.c:548
#2  0xc044c0e2 in db_command (last_cmdp=0xc0748640, cmd_table=0x0,
    aux_cmd_tablep=0xc06fe7cc, aux_cmd_tablep_end=0xc06fe7d0)
    at /usr/src/sys/ddb/db_command.c:346
#3  0xc044c225 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#4  0xc044f245 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:73
#5  0xc0695a0c in kdb_trap (type=3, code=0, regs=0xd77bad84)
    at /usr/src/sys/i386/i386/db_interface.c:171
#6  0xc06a932a in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = -1066074096, tf_edi = 1, tf_esi = -1066452721, tf_ebp = -679760432, tf_isp = -679760464, tf_ebx = 0, tf_edx = 0, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1066836796, tf_cs = 8, tf_eflags = 642, tf_esp = -1066436795, tf_ss = -1066500239})
    at /usr/src/sys/i386/i386/trap.c:580
#7  0xc06973b8 in calltrap () at {standard input}:94
#8  0xc053ce25 in panic (
    fmt=0xc06f390f "vm_fault: fault on nofault entry, addr: %lx")
    at /usr/src/sys/kern/kern_shutdown.c:534
#9  0xc063e109 in vm_fault (map=0xc1038000, vaddr=3615211520,
    fault_type=1 '\001', fault_flags=0) at /usr/src/sys/vm/vm_fault.c:280
#10 0xc06a95e3 in trap_pfault (frame=0xd77baf7c, usermode=0, eva=3615211520)
    at /usr/src/sys/i386/i386/trap.c:723
#11 0xc06a91ad in trap (frame=
      {tf_fs = -679804904, tf_es = 16, tf_ds = -679804912, tf_edi = 4, tf_esi = -992737280, tf_ebp = -679757568, tf_isp = -679759960, tf_ebx = -992737280, tf_edx = 4144, tf_ecx = -679755776, tf_eax = -679755776, tf_trapno = 12, tf_err = 0, tf_eip = -991456472, tf_cs = 8, tf_eflags = 66195, tf_esp = -1, tf_ss = 0})
    at /usr/src/sys/i386/i386/trap.c:420
#12 0xc06973b8 in calltrap () at {standard input}:94
#13 0xc4e59e1a in drv_data () from /boot/kernel/if_ndis.ko
#14 0xc4e6f74e in drv_data () from /boot/kernel/if_ndis.ko
#15 0xc4e6bcc7 in drv_data () from /boot/kernel/if_ndis.ko
#16 0xc4e6b40b in drv_data () from /boot/kernel/if_ndis.ko
#17 0xc4e6c986 in drv_data () from /boot/kernel/if_ndis.ko
---Type <return> to continue, or q <return> to quit---
#18 0xc4e6cadb in drv_data () from /boot/kernel/if_ndis.ko
#19 0xc4dfeab3 in ndis_intrhand (arg=0x0)
    at /usr/src/sys/compat/ndis/kern_ndis.c:897
#20 0xc4e2ef79 in ndis_intr (arg=0xc4d40800)
    at /usr/src/sys/dev/if_ndis/if_ndis.c:573
#21 0xc0526af8 in ithread_loop (arg=0xc1d1a800)
    at /usr/src/sys/kern/kern_intr.c:544
#22 0xc0525770 in fork_exit (callout=0xc0526920 <ithread_loop>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:793
(kgdb) quit

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl_at_univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
Received on Fri Dec 12 2003 - 01:50:44 UTC

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