From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 14 12:50:21 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E67B16A4BF for ; Sun, 14 Sep 2003 12:50:21 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5423243FAF for ; Sun, 14 Sep 2003 12:50:19 -0700 (PDT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h8EJo7Qw051582 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 14 Sep 2003 21:50:08 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)h8EJo65A051581; Sun, 14 Sep 2003 21:50:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.12.9/8.12.9) with ESMTP id h8EJktfG019922; Sun, 14 Sep 2003 21:46:55 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.12.9/8.12.9/Submit) id h8EJklsL019919; Sun, 14 Sep 2003 21:46:47 +0200 (CEST) Date: Sun, 14 Sep 2003 21:46:47 +0200 From: Andreas Klemm To: "Matthew N. Dodd" Message-ID: <20030914194647.GA18839@titan.klemm.apsfilter.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20030913203403.E27896@sasami.jurai.net> X-Operating-System: FreeBSD 5.1-CURRENT X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.4i cc: "M. Warner Losh" cc: freebsd-mobile@freebsd.org Subject: Re: What do you think of the new 3COM cards with X-Jack ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 19:50:21 -0000 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 , 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/