NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41443: umodem causes panic



>Number:         41443
>Category:       kern
>Synopsis:       umodem causes panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 16 17:40:00 +0000 2009
>Originator:     David Wetzel
>Release:        5.0
>Organization:
>Environment:
NetBSD alix 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386


>Description:
I noticed that my PPP does not work and attached a serial console since LAN did 
not work either:

db{0}> bt                                                                 
umass_attach(ca9fdecc,cb27ddfc,caa4db84,caa4dbb8,caa4db84,0,cb27ddfc,3,3,c121981
0) at netbsd:umass_attach+0x1a5
config_attach_loc(ca9fdecc,c0a64918,caa4dbb8,caa4db84,c071f450,c047a940,caa4db8c
,c071ef81,0,4) at netbsd:config_attach_loc+0x163
usbd_attachinterfaces(0,c0a9a6e0,3,c071b701,c128e700,1,0,c128e700,0,3) at netbsd
:usbd_attachinterfaces+0x1c4
usbd_probe_and_attach(3,c128e700,c128e724,ffffffff,c128e704,c128e800,4,c128e704,
c128e724,c128e738) at netbsd:usbd_probe_and_attach+0xb5
usbd_new_device(ca9fdecc,ca9fd004,2,2,1,c128e830,c128e800,cb274c50,1,101) at net
bsd:usbd_new_device+0x39e
uhub_explore(c128ea80,ca9fd004,1,3,1,c128eeb0,c128ee80,cb274c28,1,501) at netbsd
:uhub_explore+0x2d4
uhub_explore(c1288280,ca997e08,caa4dd2c,c071af6d,ca9fd004,1f4,ca997e08,c071af40,
ca4f1a40,ca997e08) at netbsd:uhub_explore+0x75
usb_discover(ca9fd004,1f4,ca997e08,c071af40,ca4f1a40,ca997e08,0,c01002e1,ca997e0
8,0) at netbsd:usb_discover+0x2a
usb_event_thread(ca997e08,0,c01002cd,0,c01002cd,0,0,0,0,0) at netbsd:usb_event_t
hread+0x2d

last lines of dmesg from debugger:

timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
uhub2 at uhub1 port 1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, a
ddr 2
uhub2: single transaction translator
uhub2: 4 ports with 4 removable, self powered
uhmodem0 at uhub2 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
ucom0 at uhmodem0 portno 0: modem
ucom1 at uhmodem0 portno 1: alt#1
umass0 at uhub2 port 1 configuration 1 interface 2
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
umass0: using SCSI over Bulk-Only
uvm_fault(0xc0b26cc0, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c07323c5 cs 8 eflags 10246 cr2 4 ilevel 0
db{0}> 

reboot from debugger:

npx0 at isa0 port 0xf0-0xff
attimer0: attached to pcppi0
uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2 at uhub1 port 1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, 
addr 2
uhub2: single transaction translator
uhmodem0 at uhub2 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
ucom0 at uhmodem0 portno 0: modem
ucom1 at uhmodem0 portno 1: alt#1
umass0 at uhub2 port 1 configuration 1 interface 2
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
umass0: using SCSI over Bulk-Only
uvm_fault(0xc0b26cc0, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c07323c5 cs 8 eflags 10246 cr2 4 ilevel 0
kernel: supervisor trap page fault, code=0
Stopped in pid 0.27 (system) at netbsd:umass_attach+0x1a5:      cmpb    $0,0x4(%
eax)
db{0}> 


after cold restart (power off, power on):

isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
uhub2 at uhub1 port 1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, 
addr 2
uhub2: single transaction translator
uhub2: 4 ports with 4 removable, self powered
uhmodem0 at uhub2 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
uhmodem0: mass storage only mode, reattach to enable modem <<<<-- What is that? 
I do never need windows drivers on netbsd...
wd0 at atabus0 drive 0: <TRANSCEND>

after unpluging the USB hub:

uhub2: at uhub1 port 1 (addr 2) disconnected
uhmodem0: at uhub2 port 1 (addr 3) disconnected
uhmodem0: detached
uhub2: detached
uhub2 at uhub1 port 1: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, 
addr 2
uhub2: single transaction translator
uhmodem0 at uhub2 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
ucom0 at uhmodem0 portno 0: modem
ucom1 at uhmodem0 portno 1: alt#1
umass0 at uhub2 port 1 configuration 1 interface 2
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 3
umass0: using SCSI over Bulk-Only
umass0: could not read endpoint descriptor

then it works sometimes a day or so....
>How-To-Repeat:
Use a http://www.pcengines.ch/alix2d2.htm and attach a HUAWEI E870 using a USB 
Adaptor.
>Fix:
Maybe you guys look at FreeBSD-current. Hans Petter Selasky <hselasky AT 
c2i.net> wrote a new USB stack.




Home | Main Index | Thread Index | Old Index