nwfs panic

From: Michael Metzger <msqrd1979_at_gmail.com>
Date: Sun, 9 Apr 2006 22:52:34 -0500
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_at_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 = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x20:0xc050d3bc
stack pointer         = 0x28:0xd6d0a8dc
frame pointer         = 0x28:0xd6d0a8e4
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  = 634 (mount_nwfs)
trap number  = 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" : "=r" (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 == NULL) {
1104   sip->si_thread = selector;
1105   TAILQ_INSERT_TAIL(&selector->td_selq, sip, si_thrlist);
1106  } else if (sip->si_thread != selector) {
1107   sip->si_flags |= SI_COLL;
1108  }
1109
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc04ea676 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc04ea90c in panic (fmt=0xc066068f "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc06415e8 in trap_fatal (frame=0xd6d0a89c, eva=0)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc0641353 in trap_pfault (frame=0xd6d0a89c, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc0640fb1 in trap (frame=
      {tf_fs = 1661009928, tf_es = 215023656, tf_ds = 40, tf_edi = 0,
tf_esi = -1035477632, tf_ebp = -690968348, tf_isp = -690968376, tf_ebx
= -1039588940, tf_edx = -1035477632, tf_ecx = -1039589020, tf_eax = 0,
tf_trapno = 12, tf_err = 2, tf_eip = -1068444740, tf_cs = 32,
tf_eflags = 66118, tf_esp = -1039589020, tf_ss = 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=0xc247dd80, sip=0xc20921b4)
    at /usr/src/sys/kern/sys_generic.c:1105
#8  0xc0524af3 in sopoll (so=0xc2092164, events=1, active_cred=0x0,
    td=0xc247dd80) 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=0x0) 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
Received on Mon Apr 10 2006 - 01:52:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC