Date: Fri, 12 Dec 2003 11:50:33 +0100 (CET) From: Lukas Ertl <l.ertl@univie.ac.at> To: wpaul@freebsd.org, current@freebsd.org Subject: if_ndis kernel panic Message-ID: <20031212114341.S623@korben.in.tern>
next in thread | raw e-mail | index | archive | help
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! =2EINF 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 ar= e welcome to change it and/or distribute copies of it under certain condition= s. 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/module= s/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/module= s/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=09=09dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc044c395 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D0, dummy4=3D0xd77bac34 "=A0\217t=C0") at /usr/src/sys/ddb/db_command.c:548 #2 0xc044c0e2 in db_command (last_cmdp=3D0xc0748640, cmd_table=3D0x0, aux_cmd_tablep=3D0xc06fe7cc, aux_cmd_tablep_end=3D0xc06fe7d0) 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=3D3, code=3D0) at /usr/src/sys/ddb/db_trap.= c:73 #5 0xc0695a0c in kdb_trap (type=3D3, code=3D0, regs=3D0xd77bad84) at /usr/src/sys/i386/i386/db_interface.c:171 #6 0xc06a932a in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D -1066074096, tf_edi =3D 1, tf_= esi =3D -1066452721, tf_ebp =3D -679760432, tf_isp =3D -679760464, tf_ebx = =3D 0, tf_edx =3D 0, tf_ecx =3D 32, tf_eax =3D 18, tf_trapno =3D 3, tf_err = =3D 0, tf_eip =3D -1066836796, tf_cs =3D 8, tf_eflags =3D 642, tf_esp =3D -= 1066436795, tf_ss =3D -1066500239}) at /usr/src/sys/i386/i386/trap.c:580 #7 0xc06973b8 in calltrap () at {standard input}:94 #8 0xc053ce25 in panic ( fmt=3D0xc06f390f "vm_fault: fault on nofault entry, addr: %lx") at /usr/src/sys/kern/kern_shutdown.c:534 #9 0xc063e109 in vm_fault (map=3D0xc1038000, vaddr=3D3615211520, fault_type=3D1 '\001', fault_flags=3D0) at /usr/src/sys/vm/vm_fault.c:2= 80 #10 0xc06a95e3 in trap_pfault (frame=3D0xd77baf7c, usermode=3D0, eva=3D3615= 211520) at /usr/src/sys/i386/i386/trap.c:723 #11 0xc06a91ad in trap (frame=3D {tf_fs =3D -679804904, tf_es =3D 16, tf_ds =3D -679804912, tf_edi =3D= 4, tf_esi =3D -992737280, tf_ebp =3D -679757568, tf_isp =3D -679759960, tf= _ebx =3D -992737280, tf_edx =3D 4144, tf_ecx =3D -679755776, tf_eax =3D -67= 9755776, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -991456472, tf_cs =3D 8= , tf_eflags =3D 66195, tf_esp =3D -1, tf_ss =3D 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=3D0x0) at /usr/src/sys/compat/ndis/kern_ndis.c:897 #20 0xc4e2ef79 in ndis_intr (arg=3D0xc4d40800) at /usr/src/sys/dev/if_ndis/if_ndis.c:573 #21 0xc0526af8 in ithread_loop (arg=3D0xc1d1a800) at /usr/src/sys/kern/kern_intr.c:544 #22 0xc0525770 in fork_exit (callout=3D0xc0526920 <ithread_loop>, arg=3D0x0= , frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:793 (kgdb) quit regards, le --=20 Lukas Ertl eMail: l.ertl@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031212114341.S623>