Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2008 18:00:38 -0800
From:      "Li, Qing" <qing.li@bluecoat.com>
To:        "Li, Qing" <qing.li@bluecoat.com>, "Marten Vijn" <info@martenvijn.nl>
Cc:        freebsd-current@freebsd.org
Subject:   RE: panic on ifconfig tun0 destroy
Message-ID:  <B583FBF374231F4A89607B4D08578A431442E6@bcs-mail03.internal.cacheflow.com>
References:  <548801c963a0$b3be8fe4$7202020a@internal.cacheflow.com><1229890143.6720.11.camel@mvn-desktop> <B583FBF374231F4A89607B4D08578A431442E4@bcs-mail03.internal.cacheflow.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

-- 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.
>=20

reproduction:

My setup: http://martenvijn.nl/trac/wiki/hsdpa

You don't need the dongle to panic the system=20

start the ppp connection

ppp
> dial default

and destroy the interface

ifconfig tun0=20


kind regards
Marten


> -- Qing
>=20
> -----Original Message-----
> From: Marten Vijn <info@martenvijn.nl>
> Sent: Saturday, December 20, 2008 12:24 PM
> To: freebsd-current@freebsd.org <freebsd-current@freebsd.org>
> Subject: panic on ifconfig tun0 destroy
>=20
> hi
>=20
> I am trying to setup a hsdpa connection using the=20
> u3g driver. The connection did not succeed (due unknown reasons yet)
>=20
> On debugging my ppp.conf I restarted my pppd with
>=20
> /etc/rc.d/ppp restart
>=20
> Then when try to remove the tun0 interface the system panics
>=20
> kind regards,
> Marten=20
>=20
>=20
> 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
>=20
> =
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=3D0x4400<CNXT-ID,xTPR>
>   Logical CPUs per core: 2
> real memory  =3D 1073152000 (1023 MB)
> avail memory =3D 1032577024 (984 MB)
> ACPI APIC Table: <PTLTD  	 APIC  >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> acpi0: <PTLTD   RSDT> 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: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
> acpi_button0: <Sleep Button> on acpi0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82865 host to AGP bridge> on hostb0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> vgapci0: <VGA-compatible display> mem
> 0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 on =
pci1
> uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1cc0-0x1cdf
> irq 16 at device 29.0 on pci0
> uhci0: [GIANT-LOCKED]
> uhci0: [ITHREAD]
> usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
> usb0: USB revision 1.0
> uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1ce0-0x1cff
> irq 19 at device 29.1 on pci0
> uhci1: [GIANT-LOCKED]
> uhci1: [ITHREAD]
> usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
> usb1: USB revision 1.0
> uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x2000-0x201f
> irq 18 at device 29.2 on pci0
> uhci2: [GIANT-LOCKED]
> uhci2: [ITHREAD]
> usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
> usb2: USB revision 1.0
> uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> uhub2: 2 ports with 2 removable, self powered
> uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x2020-0x203f
> irq 16 at device 29.3 on pci0
> uhci3: [GIANT-LOCKED]
> uhci3: [ITHREAD]
> usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
> usb3: USB revision 1.0
> uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
> uhub3: 2 ports with 2 removable, self powered
> ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> 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: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
> usb4: USB revision 2.0
> uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
> uhub4: 8 ports with 8 removable, self powered
> pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci3: <ACPI PCI bus> on pcib2
> cbb0: <TI6420 PCI-CardBus Bridge> at device 4.0 on pci3
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [FILTER]
> cbb1: <TI6420 PCI-CardBus Bridge> at device 4.1 on pci3
> cardbus1: <CardBus bus> 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: <IEEE1394(FireWire) bus> on fwohci0
> dcons_crom0: <dcons configuration ROM> on firewire0
> dcons_crom0: bus_addr 0x1494000
> fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 12:34:56:34:56:78
> fwe0: Ethernet address: 12:34:56:34:56:78
> fwip0: <IP over FireWire> on firewire0
> fwip0: Firewire address: 12:34:56:78:12:34:56:78 @ 0xfffe00000000, =
S400,
> maxrec 2048
> sbp0: <SBP-2/SCSI over FireWire> on firewire0
> fwohci0: Initiate bus reset
> fwohci0: BUS reset
> fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode
> pci3: <mass storage> at device 4.3 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem
> 0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:0a:e4:55:3b:8f
> rl0: [ITHREAD]
> ath0: <Atheros 5212> 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: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH5 UDMA100 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on =
pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> pci0: <multimedia, audio> at device 31.5 (no driver attached)
> pci0: <simple comms, generic modem> at device 31.6 (no driver =
attached)
> acpi_tz0: <Thermal Zone> on acpi0
> acpi_button1: <Power Button> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> psm0: <PS/2 Mouse> 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: <ACPI Control Method Battery> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_perf0: <ACPI CPU Frequency Control> on cpu0
> p4tcc0: <CPU Frequency Thermal Control> on cpu0
> cpu1: <ACPI CPU> on acpi0
> p4tcc1: <CPU Frequency Thermal Control> on cpu1
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xdc000-0xdffff pnpid
> ORM0000 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=3D0x300>
> vga0: <Generic ISA VGA> 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 <IC25N080ATMR04 0 MO4OAD4A> at ata0-master UDMA100
> acd0: DVDR <HL-DT-ST DVD-RW GWA-4040N/1.01> 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: <Intel ICH5 (82801EB)> port 0x1400-0x14ff,0x1c80-0x1cbf mem
> 0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 17 at device 31.5 on
> pci0
> pcm0: [ITHREAD]
> pcm0: <Avance Logic ALC655 AC97 Codec>
> 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
>=20
>=20
> plugging usb huawei E620 =3D>=20
> 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: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device=20
> 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: <HUAWEI SD Storage 2.31> Removable Direct Access SCSI-2 device=20
> da0: 1.000MB/s transfers
> da0: Attempt to query device size failed: NOT READY, Medium not =
present
>=20
> 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
>=20
>=20
> bert# ifconfig
> fwe0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=3D8<VLAN_MTU>
> 	ether 12:34:56:34:56:78
> 	ch 1 dma -1
> fwip0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	lladdr 12.34.56.78.12.34.56.78.a.2.ff.fe.0.0.0.0
> rl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
> 	options=3D8<VLAN_MTU>
> 	ether 00:0a:e4:55:3b:8f
> 	inet 192.168.178.75 netmask 0xffffff00 broadcast 192.168.178.255
> 	media: Ethernet autoselect (100baseTX <full-duplex>)
> 	status: active
> ath0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5=20
> 	inet6 ::1 prefixlen 128=20
> 	inet 127.0.0.1 netmask 0xff000000=20
> tun0: flags=3D8010<POINTOPOINT,MULTICAST> metric 0 mtu 1500
> 	inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffffff=20
> 	Opened by PID 2120
>=20
> after retrying my ppp config and restarting ppp
>=20
> 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
>=20
>=20
> on ifconfig tun0 destroy:
>=20
> KDB: enter: panic
> [thread pid 2130 tid 100087 ]
> Stopped at kdb_ent+03a: mov $0,kdb_why
> > db
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>  =20
>=20
>=20
>=20
>=20
--=20
http://martenvijn.nl  Marten Vijn=20
http://www.deupsidevandown.nl ***
http://laptop.org/xo Give One Get One
http://har2009.org August 13-16th=20
http://opencommunitycamp.org 26th Jul 2nd August



_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org"




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