6.1-stable + Wireless + ndiswrapper kernel crash

Athanasios Zorbas athanasios.zorbas at gmail.com
Tue Oct 10 12:57:03 PDT 2006


Hello all,

I am experiencing a very strange problem with FreeBSD 6.1-stable. I do
not know if this could be a bug report, so please tell me what you
think.

I have a D-Link G520+ wireless card configured and running with
ndiswrapper. The network seems stable and if there is not many network
traffic, the interface will run for days.

However, I have noticed that problems appear when there is a lot of
network traffic for a big amount of time. I have noticed this when
transferring files via NFS or scp. An exact same problem I found in
the mailing list:

Message-ID:  <44E0B1AA.3080707 at gmx.net>
Subject:   6.1-Stable + named & ndis + nfsd == System crash ?

After experimenting quite a bit, I can know reproduce a kernel crash.

my setup involves 2 machines:
a Linux Machine (linux)
the FreeBSD 6.1 machine (freebsd)

I can flood ping (ping -f) the linux machine from the freebsd just
fine and there is no problem whatsoever.

However, and here is the tricky part, if I login from linux to the
freebsd machine via ssh and then do a flood ping from the freebsd to
linux machine, I get a system crash.

It is noteworthy that I have done some experiments with the wireless
card running on Linux and no problems occur, so I do not think there
is a bug in the Windows driver supplied with the card.

Please note that I am not an experienced FreeBSD user, I am know
learning the insights of it.

Thank you all in advance for your support.

Some information about my system:

uname:
FreeBSD rugad.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue Oct 10
01:44:03 EEST 2006
than at rugad.lan:/usr/src/sys/i386/compile/GENERIC  i386

pciconf:
ndis0 at pci0:10:0:        class=0x028000 card=0x3b041186 chip=0x9066104c
rev=0x00 hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TNETW1130(ACX111) 802.11b/g Wireless Cardbus/PCI Adapter'
    class    = network

the kernel crash:
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x14
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc069dbe0
stack pointer           = 0x28:0xd13deac4
frame pointer           = 0x28:0xd13deaf4
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         = 2242 (Windows DPC 0)
trap number             = 12
panic: page fault
Uptime: 13h20m50s
Dumping 255 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 255MB (65280 pages) 240 224 208 192 176 160 144 128 112 96
80 64 48 32 16

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb)


More information about the freebsd-questions mailing list