Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 21:46:47 +0200
From:      Andreas Klemm <andreas@freebsd.org>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: What do you think of the new 3COM cards with X-Jack ?
Message-ID:  <20030914194647.GA18839@titan.klemm.apsfilter.org>
In-Reply-To: <20030913203403.E27896@sasami.jurai.net>
References:  <20030909180947.GA23478@titan.klemm.apsfilter.org> <20030913071847.GA10778@titan.klemm.apsfilter.org> <20030913.092402.62370625.imp@bsdimp.com> <20030913141119.A27896@sasami.jurai.net> <20030913165818.I27896@sasami.jurai.net> <20030914002507.GA5239@titan.klemm.apsfilter.org> <20030913203403.E27896@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 13, 2003 at 08:35:06PM -0400, Matthew N. Dodd wrote:
> On Sun, 14 Sep 2003, Andreas Klemm wrote:
> > It works for me, xl0 card is recognized.
>=20
> Great!
>=20
> > But during heavy ftp network traffic the LAPTOP panics.

machine paniced 2 times
A) one time after transferring ~90 MB of a ~300 MB large ISO image
B) 2nd time after transferring ~ 8 MB of same large file
C) 3rd time after transferring ~ 6 MB of same large file

In DDB I see using where, that the machine always crashes within
the same functions. DDB tells me:

to B) panic: m_free detected a mbuf double-free
Debugger("panic")
Stopped at   Debugger+0x54:    xchgl   %ebx,in_Debugger.0
db> where
Debugger
panic
m_free
m_freem
ip_input <---------- happens at different functions
=2E..
db> panic
=2E..

to C) panic: m_free detected a mbuf double-free
Debugger("panic")
Stopped at   Debugger+0x54:    xchgl   %ebx,in_Debugger.0
db> where
Debugger
panic
m_free
m_freem
xl_txeof <----------- happens at different functions
xl_intr
cbb_intr
ithread_loop
fork_exit
fork_trampoline
--- trap 0x1, eip =3D 0, esp =3D 0xcb042d7c, ebp =3D 0 ---
db> panic
panic: from debugger
Uptime: 2m55s
Dumping 191M
Dump complete


Let's see what gdb tells me, from panic "B)"
Sorry for case "C)" I didn't have enough space :-(

(kgdb) where

#0 doadump
#1 0x... in boot (howto=3D260) at ../../../kern/kern_shutdown.c: 372
#2 0x... in panic () at ../../../kern/kern_shutdown.c: 550
#3 0x... in db_panic () at ../../../ddb/db_command.c: 450
#4 0x... in db_command (...) at ../../../ddb/db_command.c: 346
#5 0x... in db_command_loop () at ../../../ddb/db_command.c: 472
#6 0x... in db_trap (type=3D3, code=3D0) at ../../../ddb/db_trap.c: 73
#7 0x... in kdb_trap (type=3D3, code=3D0, regs=3D0xcb027bc6)
   at ../../../i386/i386/db_interface.c: 171
#8 0x... in trap (frame=3D
      {tf_fs =3D 24, tf_es =3D -1039597552, tf_ds =3D 16, tf_edi =3D 1, tf_=
esi ) -1070431840, tf_ebp =3D -889029704, tf_isp =3D -889029736, 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 -1070703196, tf_cs =3D 8, tf_eflags =3D 642, tf_esp =3D -107=
0363254, tf_ss =3D -1070440292})
   at ../../../i386/i386/trap.c: 577
#9 0x... in calltrap () at {standard input}: 102
#10 0x... in panic (fmt=3D0xc03281a0 "m_free detected a mbuf double-freeze")
   at ../../../kern/kern_shutdown.c: 534
#11 0x... in m_free (mb=3D0xc0d4fe00) at ../../../kern/subr_mbuf.c: 1368
#12 0x... in m_freem (mb=3D0x0) at ../../../kern/subr_mbuf.c: 1403
#13 0x... in ip_input (mb=3D0xc0d4fe00) at ../../../netinet/ip_input.c: 963
#14 0x... in swi_net (dummy=3D0x0) at ../../../net/net_isr.c: 236
#15 0x... in ithread_loop (arg=3D0xc0d33200)
    at ../../../kern/kern_intr.c: 534
#16 0x... in fork_exit (callout=3D0xc01b3900 <ithread_loop>, arg=3D0x0,
    frame=3D0x0) at ../../../kern/kern_fork.c: 796

(kgdb) up 8
#8 0x... in trap (frame=3D
      {tf_fs =3D 24, tf_es =3D -1039597552, tf_ds =3D 16, tf_edi =3D 1, tf_=
esi ) -1070431840, tf_ebp =3D -889029704, tf_isp =3D -889029736, 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 -1070703196, tf_cs =3D 8, tf_eflags =3D 642, tf_esp =3D -107=
0363254, tf_ss =3D -1070440292})
577                     if (kbd_trap (type, 0, &frame)

(kgdb) frame frame->tf_ebp frame->tf_eip

Too many args in frame specification ...
hmmmm "/&%"(/&%(" does the developer handbook need and update ? ;-)

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel=
debug.html#KERNELDEBUG-GDB

Here it ends , have no clue how to select correct frames ... :-)


	Andreas ///

--=20
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? -> http://www.apsfilter.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030914194647.GA18839>