From owner-freebsd-current@FreeBSD.ORG Mon Dec 29 19:44:21 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED207106564A; Mon, 29 Dec 2008 19:44:21 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id CF1298FC0C; Mon, 29 Dec 2008 19:44:21 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id mBTJiLJg021660; Mon, 29 Dec 2008 11:44:21 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Dec 2008 11:42:46 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: panic on ifconfig tun0 destroy Thread-Index: Aclp6+NVA/oDqlPGQQClBEsq6CKxlwAAbyQD References: <548801c963a0$b3be8fe4$7202020a@internal.cacheflow.com><1229890143.6720.11.camel@mvn-desktop><1229936001.18361.11.camel@polaris> <1230578990.9816.4.camel@mvn-desktop> From: "Li, Qing" To: "Marten Vijn" , Cc: freebsd-current@freebsd.org Subject: RE: panic on ifconfig tun0 destroy 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, 29 Dec 2008 19:44:22 -0000 Is this the latest -current ? There was a slight change made to if_tun that would hang on destroy, but that change was later reverted.=20 =20 Also, please provide the back trace when the system panic. =20 Thanks, =20 --Qing ________________________________ From: Marten Vijn [mailto:info@martenvijn.nl] Sent: Mon 12/29/2008 11:29 AM To: Li, Qing Cc: freebsd-current@freebsd.org Subject: RE: panic on ifconfig tun0 destroy On Mon, 2008-12-22 at 09:53 +0100, Marten Vijn wrote: > On Sun, 2008-12-21 at 18:00 -0800, Li, Qing wrote: > > I have committed a fix for this bug based on discussion with Kip. > > I have tested various combination and the fix appears to be stable. > > Please sync if_tun.c to r186391 and let me know if it fixes your > > situation. > > I will do so and let you know, (it will take some time.) I have updated rebuild world + kernel now it is bit different still starting ppp at boottime shell 1: ifconfig tun0 destroy (hangs and can not get it back with ctrl-c) then shell2 ifconfig tun0 destroy panic on shell 1 kind regards, Marten > > Marten > > > > > -- Qing > > > > > > -----Original Message----- > > From: owner-freebsd-current@freebsd.org on behalf of Li, Qing > > Sent: Sun 12/21/2008 3:28 PM > > To: Marten Vijn > > Cc: freebsd-current@freebsd.org > > Subject: RE: panic on ifconfig tun0 destroy > >=20 > > > > I found a simpler way to reproduce the problem now. > > > > ----------------------------------- > > ifconfig tun0 create > > > > dd if=3D/dev/tun0 bs=3D512|hexdump > > > > ifconfig tun0 destroy > > ----------------------------------- > > > > There appears to be a behavior change. In 7.x the destroy > > will block until the dd process exits and closes the > > tun0 device. In -current the call returns immediately > > and the assertion on TUN_OPEN fires and core dumps. > > > > -- Qing > > > > > > -----Original Message----- > > From: Marten Vijn [mailto:info@martenvijn.nl] > > Sent: Sun 12/21/2008 12:09 PM > > To: Li, Qing > > Cc: freebsd-current@freebsd.org > > Subject: RE: panic on ifconfig tun0 destroy > >=20 > > > > On Sun, 2008-12-21 at 11:16 -0800, Li, Qing wrote: > > > I have seen this crash but I wasn't able to reproduce it = consistently. An assertion fired in the if_tun cleanup code. I am = currently working on a nfsclient/bootp issue, so I can look into this = problem as soon as I am done patching the bootp bug. > > > > > > > reproduction: > > > > My setup: http://martenvijn.nl/trac/wiki/hsdpa > > > > You don't need the dongle to panic the system > > > > start the ppp connection > > > > ppp > > > dial default > > > > and destroy the interface > > > > ifconfig tun0 > > > > > > kind regards > > Marten > > > > > > > -- Qing > > > > > > -----Original Message----- > > > From: Marten Vijn > > > Sent: Saturday, December 20, 2008 12:24 PM > > > To: freebsd-current@freebsd.org > > > Subject: panic on ifconfig tun0 destroy > > > > > > hi > > > > > > I am trying to setup a hsdpa connection using the > > > u3g driver. The connection did not succeed (due unknown reasons = yet) > > > > > > On debugging my ppp.conf I restarted my pppd with > > > > > > /etc/rc.d/ppp restart > > > > > > Then when try to remove the tun0 interface the system panics > > > > > > kind regards, > > > Marten > > > > > > > > > bert# dmesg > > > Copyright (c) 1992-2008 The FreeBSD Project. > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, = 1993, 1994 > > > The Regents of the University of California. All rights = reserved. > > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > > FreeBSD 8.0-CURRENT #2: Sat Dec 20 16:12:23 UTC 2008 > > > root@bert:/usr/obj/usr/src/sys/GENERIC > > > WARNING: WITNESS option enabled, expect reduced performance. > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > CPU: Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz (3059.22-MHz = 686-class > > > CPU) > > > Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9 > > > > > > = Features=3D0xbfebfbff > > > Features2=3D0x4400 > > > Logical CPUs per core: 2 > > > real memory =3D 1073152000 (1023 MB) > > > avail memory =3D 1032577024 (984 MB) > > > ACPI APIC Table: > > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > > cpu0 (BSP): APIC ID: 0 > > > cpu1 (AP): APIC ID: 1 > > > ioapic0 irqs 0-23 on motherboard > > > kbd1 at kbdmux0 > > > acpi0: on motherboard > > > acpi0: [ITHREAD] > > > acpi0: Power Button (fixed) > > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on = acpi0 > > > acpi_ec0: port 0x62,0x66 on acpi0 > > > acpi_button0: on acpi0 > > > acpi_lid0: on acpi0 > > > pcib0: port 0xcf8-0xcff on acpi0 > > > pci0: on pcib0 > > > agp0: on hostb0 > > > pcib1: at device 1.0 on pci0 > > > pci1: on pcib1 > > > vgapci0: mem > > > 0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 = on pci1 > > > uhci0: port = 0x1cc0-0x1cdf > > > irq 16 at device 29.0 on pci0 > > > uhci0: [GIANT-LOCKED] > > > uhci0: [ITHREAD] > > > usb0: on uhci0 > > > usb0: USB revision 1.0 > > > uhub0: on = usb0 > > > uhub0: 2 ports with 2 removable, self powered > > > uhci1: port = 0x1ce0-0x1cff > > > irq 19 at device 29.1 on pci0 > > > uhci1: [GIANT-LOCKED] > > > uhci1: [ITHREAD] > > > usb1: on uhci1 > > > usb1: USB revision 1.0 > > > uhub1: on = usb1 > > > uhub1: 2 ports with 2 removable, self powered > > > uhci2: port = 0x2000-0x201f > > > irq 18 at device 29.2 on pci0 > > > uhci2: [GIANT-LOCKED] > > > uhci2: [ITHREAD] > > > usb2: on uhci2 > > > usb2: USB revision 1.0 > > > uhub2: on = usb2 > > > uhub2: 2 ports with 2 removable, self powered > > > uhci3: port = 0x2020-0x203f > > > irq 16 at device 29.3 on pci0 > > > uhci3: [GIANT-LOCKED] > > > uhci3: [ITHREAD] > > > usb3: on uhci3 > > > usb3: USB revision 1.0 > > > uhub3: on = usb3 > > > uhub3: 2 ports with 2 removable, self powered > > > ehci0: mem > > > 0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0 > > > ehci0: [GIANT-LOCKED] > > > ehci0: [ITHREAD] > > > usb4: EHCI version 1.0 > > > usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 > > > usb4: on ehci0 > > > usb4: USB revision 2.0 > > > uhub4: on = usb4 > > > uhub4: 8 ports with 8 removable, self powered > > > pcib2: at device 30.0 on pci0 > > > pci3: on pcib2 > > > cbb0: at device 4.0 on pci3 > > > cardbus0: on cbb0 > > > pccard0: <16-bit PCCard bus> on cbb0 > > > cbb0: [FILTER] > > > cbb1: at device 4.1 on pci3 > > > cardbus1: on cbb1 > > > pccard1: <16-bit PCCard bus> on cbb1 > > > cbb1: [FILTER] > > > fwohci0: <1394 Open Host Controller Interface> mem > > > 0xd2015000-0xd20157ff,0xd2010000-0xd2013fff irq 23 at device 4.2 = on pci3 > > > fwohci0: [FILTER] > > > fwohci0: OHCI version 1.10 (ROM=3D0) > > > fwohci0: No. of Isochronous channels is 4. > > > fwohci0: EUI64 12:34:56:78:12:34:56:78 > > > fwohci0: Phy 1394a available S400, 2 ports. > > > fwohci0: Link S400, max_rec 2048 bytes. > > > firewire0: on fwohci0 > > > dcons_crom0: on firewire0 > > > dcons_crom0: bus_addr 0x1494000 > > > fwe0: on firewire0 > > > if_fwe0: Fake Ethernet address: 12:34:56:34:56:78 > > > fwe0: Ethernet address: 12:34:56:34:56:78 > > > fwip0: on firewire0 > > > fwip0: Firewire address: 12:34:56:78:12:34:56:78 @ 0xfffe00000000, = S400, > > > maxrec 2048 > > > sbp0: on firewire0 > > > fwohci0: Initiate bus reset > > > fwohci0: BUS reset > > > fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode > > > pci3: at device 4.3 (no driver attached) > > > rl0: port 0x3000-0x30ff mem > > > 0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3 > > > miibus0: on rl0 > > > rlphy0: PHY 0 on miibus0 > > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > > rl0: Ethernet address: 00:0a:e4:55:3b:8f > > > rl0: [ITHREAD] > > > ath0: mem 0xd2000000-0xd200ffff irq 18 at device = 6.0 on > > > pci3 > > > ath0: [ITHREAD] > > > ath0: WARNING: using obsoleted if_watchdog interface > > > ath0: mac 5.9 phy 4.3 radio 3.6 > > > isab0: at device 31.0 on pci0 > > > isa0: on isab0 > > > atapci0: port > > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 = on pci0 > > > ata0: on atapci0 > > > ata0: [ITHREAD] > > > ata1: on atapci0 > > > ata1: [ITHREAD] > > > pci0: at device 31.3 (no driver attached) > > > pci0: at device 31.5 (no driver attached) > > > pci0: at device 31.6 (no driver = attached) > > > acpi_tz0: on acpi0 > > > acpi_button1: on acpi0 > > > atrtc0: port 0x70-0x71 irq 8 on acpi0 > > > atkbdc0: port 0x60,0x64 irq 1 on = acpi0 > > > atkbd0: irq 1 on atkbdc0 > > > kbd0 at atkbd0 > > > atkbd0: [GIANT-LOCKED] > > > atkbd0: [ITHREAD] > > > psm0: irq 12 on atkbdc0 > > > psm0: [GIANT-LOCKED] > > > psm0: [ITHREAD] > > > psm0: model Generic PS/2 mouse, device ID 0 > > > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 > > > uart0: [FILTER] > > > battery0: on acpi0 > > > acpi_acad0: on acpi0 > > > cpu0: on acpi0 > > > acpi_perf0: on cpu0 > > > p4tcc0: on cpu0 > > > cpu1: on acpi0 > > > p4tcc1: on cpu1 > > > pmtimer0 on isa0 > > > orm0: at iomem 0xd0000-0xd0fff,0xdc000-0xdffff = pnpid > > > ORM0000 on isa0 > > > sc0: at flags 0x100 on isa0 > > > sc0: VGA <16 virtual consoles, flags=3D0x300> > > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff = on > > > isa0 > > > ppc0: parallel port not found. > > > uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0 > > > uart1: [FILTER] > > > Timecounters tick every 1.000 msec > > > firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) > > > firewire0: bus manager 0 (me) > > > ad0: 76319MB at ata0-master UDMA100 > > > acd0: DVDR at ata1-master UDMA33 > > > GEOM: ad0s2: geometry does not match label. > > > GEOM: ad0s3: geometry does not match label. > > > SMP: AP CPU #1 Launched! > > > WARNING: WITNESS option enabled, expect reduced performance. > > > Trying to mount root from ufs:/dev/ad0s3a > > > WARNING: / was not properly dismounted > > > lock order reversal: > > > 1st 0xc456c044 user map (user map) @ = /usr/src/sys/vm/vm_map.c:3115 > > > 2nd 0xc49137ac ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2079 > > > KDB: stack backtrace: > > > db_trace_self_wrapper(c0bdfc8c,c41be90c,c0870b75,4,c0bdb1ef,...) = at > > > db_trace_self_wrapper+0x26 > > > kdb_backtrace(4,c0bdb1ef,c4521728,c4526868,c41be968,...) at > > > kdb_backtrace+0x29 > > > = _witness_debugger(c0be2976,c49137ac,c0bd6275,c4526868,c0be968d,...) at > > > _witness_debugger+0x25 > > > witness_checkorder(c49137ac,1,c0be968d,81f,0,...) at = witness_checkorder > > > +0x839 > > > __lockmgr_args(c49137ac,200501,c49137c8,0,0,...) at = __lockmgr_args+0x237 > > > ffs_lock(c41bea78,c087091b,c0c05687,200501,c4913754,...) at = ffs_lock > > > +0x8a > > > VOP_LOCK1_APV(c0ce5d40,c41bea78,c4568e24,c0cf9e20,c4913754,...) at > > > VOP_LOCK1_APV+0xa5 > > > _vn_lock(c4913754,200501,c0be968d,81f,4,...) at _vn_lock+0x5e > > > vget(c4913754,200501,c4568d80,4b4,0,...) at vget+0xc9 > > > vnode_pager_lock(c187d07c,0,c0c02c69,127,c41bec18,...) at > > > vnode_pager_lock+0x1e0 > > > vm_fault(c456c000,80db000,2,8,80db780,...) at vm_fault+0x1df > > > trap_pfault(5,0,c0c1298d,2e7,c4566d34,...) at trap_pfault+0x118 > > > trap(c41bed38) at trap+0x289 > > > calltrap() at calltrap+0x6 > > > --- trap 0xc, eip =3D 0x80480e5, esp =3D 0xbfbfeef0, ebp =3D = 0xbfbfef10 --- > > > WARNING: /tmp was not properly dismounted > > > WARNING: /usr was not properly dismounted > > > WARNING: /var was not properly dismounted > > > ppc0: parallel port not found. > > > ppc0: parallel port not found. > > > ppc0: parallel port not found. > > > pcm0: port 0x1400-0x14ff,0x1c80-0x1cbf mem > > > 0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 17 at device 31.5 = on > > > pci0 > > > pcm0: [ITHREAD] > > > pcm0: > > > ppc0: parallel port not found. > > > ppc0: parallel port not found. > > > rl0: link state changed to DOWN > > > rl0: link state changed to UP > > > lock order reversal: > > > 1st 0xc4fda7ac ufs (ufs) @ = /usr/src/sys/ufs/ffs/ffs_snapshot.c:424 > > > 2nd 0xd8520990 bufwait (bufwait) @ = /usr/src/sys/kern/vfs_bio.c:2443 > > > 3rd 0xc4ac2594 ufs (ufs) @ = /usr/src/sys/ufs/ffs/ffs_snapshot.c:545 > > > KDB: stack backtrace: > > > db_trace_self_wrapper(c0bdfc8c,c436940c,c0870b75,4,c0bdb1ef,...) = at > > > db_trace_self_wrapper+0x26 > > > kdb_backtrace(4,c0bdb1ef,c45236d8,c4526868,c4369468,...) at > > > kdb_backtrace+0x29 > > > = _witness_debugger(c0be298f,c4ac2594,c0bd6275,c4526868,c0bff2aa,...) at > > > _witness_debugger+0x25 > > > witness_checkorder(c4ac2594,9,c0bff2aa,221,0,...) at = witness_checkorder > > > +0x839 > > > __lockmgr_args(c4ac2594,80100,c4ac25b0,0,0,...) at = __lockmgr_args+0x797 > > > ffs_lock(c4369578,c0e6e7a8,c47fb9a4,80100,c4ac253c,...) at = ffs_lock+0x8a > > > VOP_LOCK1_APV(c0ce5d40,c4369578,c4369598,c0cf9e20,c4ac253c,...) at > > > VOP_LOCK1_APV+0xa5 > > > _vn_lock(c4ac253c,80100,c0bff2aa,221,c4553200,...) at = _vn_lock+0x5e > > > ffs_snapshot(c4ac5500,c4ad64e0,c0c00c0f,15e,3,...) at ffs_snapshot > > > +0x1527 > > > ffs_mount(c4ac5500,c47fb900,c0be906e,3cb,c4d0d7f0,...) at = ffs_mount > > > +0x146f > > > vfs_donmount(c47fb900,211000,c4c9d900,c4c9d900,201000,...) at > > > vfs_donmount+0x1312 > > > nmount(c47fb900,c4369cf8,c,c4369d38,c0cc32f0,...) at nmount+0xbe > > > syscall(c4369d38) at syscall+0x2a3 > > > Xint0x80_syscall() at Xint0x80_syscall+0x20 > > > --- syscall (378, FreeBSD ELF32, nmount), eip =3D 0x280e6c8b, esp = =3D > > > 0xbfbfeb1c, ebp =3D 0xbfbfee78 --- > > > lock order reversal: > > > 1st 0xd8520990 bufwait (bufwait) @ = /usr/src/sys/kern/vfs_bio.c:2443 > > > 2nd 0xc4e4c6dc snaplk (snaplk) > > > @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:794 > > > KDB: stack backtrace: > > > db_trace_self_wrapper(c0bdfc8c,c436940c,c0870b75,4,c0bdb1ef,...) = at > > > db_trace_self_wrapper+0x26 > > > kdb_backtrace(4,c0bdb1ef,c45236d8,c45272f8,c4369468,...) at > > > kdb_backtrace+0x29 > > > = _witness_debugger(c0be2976,c4e4c6dc,c0bff30c,c45272f8,c0bff2aa,...) at > > > _witness_debugger+0x25 > > > witness_checkorder(c4e4c6dc,9,c0bff2aa,31a,c4fda7c8,...) at > > > witness_checkorder+0x839 > > > __lockmgr_args(c4e4c6dc,80400,c4fda7c8,0,0,...) at = __lockmgr_args+0x797 > > > ffs_lock(c4369578,0,0,80400,c4fda754,...) at ffs_lock+0x8a > > > VOP_LOCK1_APV(c0ce5d40,c4369578,c1955f20,c0cf9e20,c4fda754,...) at > > > VOP_LOCK1_APV+0xa5 > > > _vn_lock(c4fda754,80400,c0bff2aa,31a,0,...) at _vn_lock+0x5e > > > ffs_snapshot(c4ac5500,c4ad64e0,c0c00c0f,15e,3,...) at ffs_snapshot > > > +0x28c6 > > > ffs_mount(c4ac5500,c47fb900,c0be906e,3cb,c4d0d7f0,...) at = ffs_mount > > > +0x146f > > > vfs_donmount(c47fb900,211000,c4c9d900,c4c9d900,201000,...) at > > > vfs_donmount+0x1312 > > > nmount(c47fb900,c4369cf8,c,c4369d38,c0cc32f0,...) at nmount+0xbe > > > syscall(c4369d38) at syscall+0x2a3 > > > Xint0x80_syscall() at Xint0x80_syscall+0x20 > > > --- syscall (378, FreeBSD ELF32, nmount), eip =3D 0x280e6c8b, esp = =3D > > > 0xbfbfeb1c, ebp =3D 0xbfbfee78 --- > > > lock order reversal: > > > 1st 0xc4e4c6dc snaplk (snaplk) @ = /usr/src/sys/kern/vfs_vnops.c:293 > > > 2nd 0xc4fda7ac ufs (ufs) @ = /usr/src/sys/ufs/ffs/ffs_snapshot.c:1588 > > > KDB: stack backtrace: > > > db_trace_self_wrapper(c0bdfc8c,c43698c4,c0870b75,4,c0bdb1ef,...) = at > > > db_trace_self_wrapper+0x26 > > > kdb_backtrace(4,c0bdb1ef,c45272f8,c4526868,c4369920,...) at > > > kdb_backtrace+0x29 > > > = _witness_debugger(c0be2976,c4fda7ac,c0bd6275,c4526868,c0bff2aa,...) at > > > _witness_debugger+0x25 > > > witness_checkorder(c4fda7ac,9,c0bff2aa,634,0,...) at = witness_checkorder > > > +0x839 > > > __lockmgr_args(c4fda7ac,80000,0,0,0,...) at __lockmgr_args+0x797 > > > ffs_snapremove(c4fda754,c4ac5500,0,c0bea853,414,...) at = ffs_snapremove > > > +0x11f > > > softdep_releasefile(c4e52528,c4369aa8,2,c0e6e778,c0cc7ba4,...) at > > > softdep_releasefile+0x3b > > > ufs_inactive(c4369ae8,c4fda7c8,c4fda754,c4fda7c8,c4369b00,...) at > > > ufs_inactive+0x1bc > > > VOP_INACTIVE_APV(c0ce5d40,c4369ae8,c0be968d,914,c0cf9de0,...) at > > > VOP_INACTIVE_APV+0xa5 > > > vinactive(c0ce5d40,c4369b1c,c0be968d,8a0,128,...) at = vinactive+0x8e > > > vput(c4fda754,c4369b54,c0bea853,125,c0cf9b60,...) at vput+0x1db > > > vn_close(c4fda754,1,c456d400,c47fb900,c4369be0,...) at = vn_close+0xee > > > vn_closefile(c4b14e38,c47fb900,3,0,c4b14e38,...) at = vn_closefile+0xe9 > > > = _fdrop(c4b14e38,c47fb900,c4369c1c,c08709bc,0,c47fb9a4,c0e6e778,c0cc93b0,c= 0bd7f59,c4ff632c,44f,c0bd7f59,c4369c44,c0839520,c4ff632c,8,c0bd7f59,44f) = at _fdrop+0x43 > > > closef(c4b14e38,c47fb900,44f,434,c4b14e38,...) at closef+0x290 > > > kern_close(c47fb900,4,c4369d2c,c0b2fad3,c47fb900,...) at = kern_close > > > +0x11d > > > close(c47fb900,c4369cf8,4,c0be371f,c0cc1010,...) at close+0x1a > > > syscall(c4369d38) at syscall+0x2a3 > > > Xint0x80_syscall() at Xint0x80_syscall+0x20 > > > --- syscall (6, FreeBSD ELF32, close), eip =3D 0x281844b3, esp =3D > > > 0xbfbfeb1c, ebp =3D 0xbfbfee78 --- > > > rl0: link state changed to DOWN > > > rl0: link state changed to UP > > > rl0: link state changed to DOWN > > > rl0: link state changed to UP > > > > > > > > > plugging usb huawei E620 =3D> > > > ucom0: < > > > = \M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\= M^? HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub1 > > > ucom0: configured 3 serial ports (U0.%d) > > > umass0: < > > > = \M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\= M^? HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub1 > > > cd0 at umass-sim0 bus 0 target 0 lun 0 > > > cd0: Removable CD-ROM SCSI-2 device > > > cd0: 1.000MB/s transfers > > > cd0: Attempt to query device size failed: NOT READY, Medium not = present > > > da0 at umass-sim0 bus 0 target 0 lun 1 > > > da0: Removable Direct Access SCSI-2 = device > > > da0: 1.000MB/s transfers > > > da0: Attempt to query device size failed: NOT READY, Medium not = present > > > > > > bert# ppp > > > Loading /lib/libalias_cuseeme.so > > > Loading /lib/libalias_ftp.so > > > Loading /lib/libalias_irc.so > > > Loading /lib/libalias_nbt.so > > > Loading /lib/libalias_pptp.so > > > Loading /lib/libalias_skinny.so > > > Loading /lib/libalias_smedia.so > > > Working in interactive mode > > > Using interface: tun0 > > > ppp ON bert> dial default > > > ppp ON bert> Warning: Chat script failed > > > > > > > > > bert# ifconfig > > > fwe0: flags=3D8802 metric 0 mtu 1500 > > > options=3D8 > > > ether 12:34:56:34:56:78 > > > ch 1 dma -1 > > > fwip0: flags=3D8802 metric 0 mtu 1500 > > > lladdr 12.34.56.78.12.34.56.78.a.2.ff.fe.0.0.0.0 > > > rl0: flags=3D8843 metric 0 = mtu > > > 1500 > > > options=3D8 > > > ether 00:0a:e4:55:3b:8f > > > inet 192.168.178.75 netmask 0xffffff00 broadcast 192.168.178.255 > > > media: Ethernet autoselect (100baseTX ) > > > status: active > > > ath0: flags=3D8802 metric 0 mtu 2290 > > > ether 00:0b:6b:34:55:41 > > > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > > > status: no carrier > > > lo0: flags=3D8049 metric 0 mtu = 16384 > > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > > > inet6 ::1 prefixlen 128 > > > inet 127.0.0.1 netmask 0xff000000 > > > tun0: flags=3D8010 metric 0 mtu 1500 > > > inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffffff > > > Opened by PID 2120 > > > > > > after retrying my ppp config and restarting ppp > > > > > > bert# /etc/rc.d/ppp restart > > > Stopping PPP profile: default(not running). > > > Starting PPP profile: defaultLoading /lib/libalias_cuseeme.so > > > Loading /lib/libalias_ftp.so > > > Loading /lib/libalias_irc.so > > > Loading /lib/libalias_nbt.so > > > Loading /lib/libalias_pptp.so > > > Loading /lib/libalias_skinny.so > > > Loading /lib/libalias_smedia.so > > > Warning: Add route failed: 0.0.0.0/0 already exists > > > Warning: Add route failed: 0.0.0.0/0 already exists > > > > > > > > > on ifconfig tun0 destroy: > > > > > > KDB: enter: panic > > > [thread pid 2130 tid 100087 ] > > > Stopped at kdb_ent+03a: mov $0,kdb_why > > > > db > > > > > > > > > > > > > > > > > > > > > > > > > > > =20 > > > > > > > > > > > > -- http://martenvijn.nl Marten Vijn http://www.deupsidevandown.nl *** http://laptop.org/xo Give One Get One http://har2009.org August 13-16th http://opencommunitycamp.org 26th Jul = 2nd August