From owner-freebsd-current@FreeBSD.ORG Mon Apr 10 03:52:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B99B316A402 for ; Mon, 10 Apr 2006 03:52:47 +0000 (UTC) (envelope-from msqrd1979@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B9843D4C for ; Mon, 10 Apr 2006 03:52:34 +0000 (GMT) (envelope-from msqrd1979@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so788865nzf for ; Sun, 09 Apr 2006 20:52:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=B+kfun/uCtq5JrZY9p4RHUaMn+BvzZan5JQuLK0NR1DwZtXXg3VofyI0/HzWA+J1JVagnhwRTGydVeUtsyLrkbR2Pnli8Ci0E1hzr8ANORdnn0QQEaoCF12kPAA6xOM5tpCziK7Cs5tPgO2TPMqw5Bt/knAzYlnKmNElKj9Irtc= Received: by 10.36.33.4 with SMTP id g4mr4907381nzg; Sun, 09 Apr 2006 20:52:34 -0700 (PDT) Received: by 10.36.135.11 with HTTP; Sun, 9 Apr 2006 20:52:34 -0700 (PDT) Message-ID: Date: Sun, 9 Apr 2006 22:52:34 -0500 From: "Michael Metzger" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: nwfs panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 03:52:47 -0000 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 to continue, or q 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 to continue, or q 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 to continue, or q 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