Date: Sun, 9 Apr 2006 22:52:34 -0500 From: "Michael Metzger" <msqrd1979@gmail.com> To: freebsd-current@freebsd.org Subject: nwfs panic Message-ID: <e4a68cb80604092052k2be0c4e9v75e1912f553664c4@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
All I am experiencing a panic when I use the mount_nwfs command to connect to a netware server. Details on my exact setup with some dump information and steps to reproduce are below. Freebsd OS information: Local system version information: FreeBSD fireball.msquared.com 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #4: Wed Mar 22 20:59:42 EST 2006 root@fireball.msquared.com:/usr/obj/usr/src/sys/FIREBALL i386 Netware OS version information: OS Version: Netware 5.1 File server name: MVR1 IPX internal network number: 11072000 HP NC10xx/NC67xx/NC77xx Gigabit Server Adapter Version 7.63 November 23, 2004 Hardware setting: Slot 10014, Memory FDDF0000h to FDDFFFFFh, Interrupt= 5h Node address: 001279911F97 Frame type: ETHERNET_802.2 Board name: Q57_1_E82_E82 LAN protocol: IPX network ACD6FEB1 HP NC10xx/NC67xx/NC77xx Gigabit Server Adapter Version 7.63 November 23, 2004 Hardware setting: Slot 10014, Memory FDDF0000h to FDDFFFFFh, Interrupt= 5h Node address: 001279911F97 Frame type: ETHERNET_II PACKET EVENIZE_OFF Board name: Q57_1_EII_EII LAN protocol: ARP LAN protocol: IP Addr:192.168.1.7 Mask:255.255.255.0 Steps to reproduce panic ---------------------------------------------------------------------------= ---------------- Command used: mount_nwfs -S MVR1 -A 192.168.1.7 -V Vol1 -U myusername /mnt/mymountpoint output returned: Kernel module ncp is not loaded Command used: kldload ncp Command to verify this is loaded: kldstat output returned: Shows 8 1 0xc2683000 8000 ncp.ko Command used: mount_nwfs -S MVR1 -A 192.168.1.7 -V Vol1 -U myusername /mnt/mymountpoint output returned: Warning: no cfg files found. Netware password: ****** ---------Panic occurs after I type netware password and press enter---------------------------------------- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x0 fault code =3D supervisor write, page not present instruction pointer =3D 0x20:0xc050d3bc stack pointer =3D 0x28:0xd6d0a8dc frame pointer =3D 0x28:0xd6d0a8e4 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 634 (mount_nwfs) trap number =3D 12 panic: page fault Uptime: 3m1s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130765 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); (kgdb) list *0xc050d3bc 0xc050d3bc is in selrecord (/usr/src/sys/kern/sys_generic.c:1105). 1100 * it alone as we've already added pointed it at us and added it to 1101 * our list. 1102 */ 1103 if (sip->si_thread =3D=3D NULL) { 1104 sip->si_thread =3D selector; 1105 TAILQ_INSERT_TAIL(&selector->td_selq, sip, si_thrlist); 1106 } else if (sip->si_thread !=3D selector) { 1107 sip->si_flags |=3D SI_COLL; 1108 } 1109 (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc04ea676 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 99 #2 0xc04ea90c in panic (fmt=3D0xc066068f "%s") at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc06415e8 in trap_fatal (frame=3D0xd6d0a89c, eva=3D0) at /usr/src/sys/i386/i386/trap.c:831 #4 0xc0641353 in trap_pfault (frame=3D0xd6d0a89c, usermode=3D0, eva=3D0) at /usr/src/sys/i386/i386/trap.c:742 #5 0xc0640fb1 in trap (frame=3D {tf_fs =3D 1661009928, tf_es =3D 215023656, tf_ds =3D 40, tf_edi =3D = 0, tf_esi =3D -1035477632, tf_ebp =3D -690968348, tf_isp =3D -690968376, tf_eb= x =3D -1039588940, tf_edx =3D -1035477632, tf_ecx =3D -1039589020, tf_eax =3D= 0, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D -1068444740, tf_cs =3D 32, tf_eflags =3D 66118, tf_esp =3D -1039589020, tf_ss =3D 1}) at /usr/src/sys/i386/i386/trap.c:432 #6 0xc063109a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc050d3bc in selrecord (selector=3D0xc247dd80, sip=3D0xc20921b4) at /usr/src/sys/kern/sys_generic.c:1105 #8 0xc0524af3 in sopoll (so=3D0xc2092164, events=3D1, active_cred=3D0x0, td=3D0xc247dd80) at /usr/src/sys/kern/uipc_socket.c:2030 #9 0xc2685de5 in ?? () #10 0xc2092164 in ?? () #11 0x00000001 in ?? () #12 0x00000000 in ?? () #13 0xc247dd80 in ?? () ---Type <return> to continue, or q <return> to quit--- #14 0xd6d0a9a4 in ?? () #15 0xc268874a in ?? () #16 0xc2092164 in ?? () #17 0x00000001 in ?? () #18 0xd6d0a940 in ?? () #19 0xc268b6bc in ?? () #20 0x00000000 in ?? () #21 0xc2484580 in ?? () #22 0x00000000 in ?? () #23 0xd6d0a95c in ?? () #24 0xc247dd80 in ?? () #25 0xc25b8a00 in ?? () #26 0x00000007 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0xc2484580 in ?? () #30 0xc1fe12c0 in ?? () #31 0xd6d0a990 in ?? () #32 0xc26884ae in ?? () #33 0xc2484580 in ?? () #34 0x00001111 in ?? () #35 0x00000000 in ?? () #36 0xc25b8a00 in ?? () #37 0xc247dd80 in ?? () ---Type <return> to continue, or q <return> to quit--- #38 0xc24f0c80 in ?? () #39 0x00000048 in ?? () #40 0xc268a660 in ?? () #41 0x00000002 in ?? () #42 0x00000000 in ?? () #43 0xc25b8a00 in ?? () #44 0xd6d0a9bc in ?? () #45 0xc26865ca in ?? () #46 0x00000000 in ?? () #47 0xc25b8a00 in ?? () #48 0xc1fe12c0 in ?? () #49 0xd6d0a9bc in ?? () #50 0xc26865ee in ?? () #51 0xc2484580 in ?? () #52 0xc2484580 in ?? () #53 0x00000000 in ?? () #54 0xc25b8a00 in ?? () #55 0xd6d0a9d0 in ?? () #56 0xc2685456 in ?? () #57 0xc25b8a00 in ?? () #58 0x00000000 in ?? () #59 0xd6d0abd8 in ?? () #60 0xd6d0ac54 in ?? () #61 0xc2687a57 in ?? () ---Type <return> to continue, or q <return> to quit--- #62 0xc25b8a00 in ?? () #63 0xc06b7440 in vop_lock_vp_offsets () #64 0xc2083550 in ?? () #65 0x00003002 in ?? () #66 0xd6d0a9f4 in ?? () #67 0xc04c1fe8 in dev_relthread (dev=3D0x0) at /usr/src/sys/kern/kern_conf.= c:136 Previous frame inner to this frame (corrupt stack?) (kgdb) quit Is there something trivial that I am doing wrong here? My understanding is freebsd can mount Netware 5.0 volumes via IP (using the mount_nwfs command you just have to be sure to use the -A flag) and not have to rely on IPX like previous versions of Netware (less than 5). Please correct me if any of that is incorrect. Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4a68cb80604092052k2be0c4e9v75e1912f553664c4>