Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2007 13:08:30 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        current@freebsd.org
Subject:   Panic on camera connection in umass on 7-BETA2
Message-ID:  <20071117210830.AAAD145017@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
--==_Exmh_1195333710_37810P
Content-Type: multipart/mixed ;
	boundary="==_Exmh_1195333528_378100"

This is a multipart MIME message.

--==_Exmh_1195333528_378100
Content-Type: text/plain; charset=us-ascii

I recently tried to download images from my Olympus camera and the
kernel paniced. I tried again using the HPS USB stack and got no crash,
but no connection, either. 

With the HPS stack, the camera (which is not powered by the USB
connection) turns on, is identified by the driver, and the camera then
turns off. Neither WITNESS nor INVARIANTS provided any information.

With the standard stack, the system recognizes the camera and then
crashes. I'm running 7-BETA2 from last week on a T42 ThinkPad (2GHz P-M).

This camera has been previously used with V7/current with no problems,
but I had not connected it for several months. Other UMASS devices
(iPod, memory sticks and external drives) seem to work fine, so it is
some regression to some oddity with this device.

I am attaching the log of the crash and the backtrace. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


--==_Exmh_1195333528_378100
Content-Type: text/plain ; name="umass-bt"; charset=us-ascii
Content-Description: umass-bt
Content-Disposition: attachment; filename="umass-bt"

# kldload umass
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) 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 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) 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 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) 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 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0x1860-0x187f irq 11 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <Intel 82801FB/FR/FW/FRW (ICH6) 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 82801FB (ICH6) USB 2.0 controller> mem 0xb0000000-stray irq7
0xb00003ff irq 11 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 82801FB (ICH6) 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
# uhub5: <vendor 0x04b3 product 0x4482, class 9/0, rev 2.00/0.00, addr 2> on uhub4
uhub5: multiple transaction translators
uhub5: 4 ports with 4 removable, self powered
umass0: <OLYMPUS C300Z/D550Z, class 0/0, rev 1.10/1.00, addr 2> on uhub1


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0x0
stack pointer           = 0x28:0xe26e869c
frame pointer           = 0x28:0xe26e86dc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 12 (swi4: clock sio)
[thread pid 12 tid 100003 ]
Stopped at      0:      *** error reading from address 0 ***
db> bt
Tracing pid 12 tid 100003 td 0xc3a98840
umass_cam_action(c3e0ad80,c3e9ac00,c043de2c,ffffffff,e26e8710,...) at umass_cam_action+0x413
xpt_run_dev_sendq(c3eb3e48,c3e9ac00,1010101,201,24,...) at xpt_run_dev_sendq+0x1f6
xpt_action(c3e9ac00,4,c04452f0,20,c3eb3e98,...) at xpt_action+0x281
probestart(c3e0ae80,c3e9ac00,5,c3e88a40,c3e88a80,...) at probestart+0x34b
xpt_run_dev_allocq(c3eb3e34,c3e0ae80,1010101,e26e87f8,c3e9b800,...) at xpt_run_dev_allocq+0x83
xpt_schedule(c3e0ae80,5,1,c3e0ae80,1,...) at xpt_schedule+0xf5
probeschedule(c3e0ae80,c3e88a58,1388,1,0,...) at probeschedule+0xcb
proberegister(c3e0ae80,c3de4000,2,0,0,...) at proberegister+0xeb
cam_periph_alloc(c04460a0,0,c043ec90,c0445d40,c078a40a,...) at cam_periph_alloc+0x487
xpt_scan_lun(c3de4000,c1055980,0,101,c3e9c000,...) at xpt_scan_lun+0x226
xpt_action(c3de4000,c3eb2020,5,0,0,...) at xpt_action+0x9f6
xpt_scan_bus(c3b48380,c3e9a000,c3eb2070,34,d7b75228,...) at xpt_scan_bus+0x217
xpt_action(c3e9a000,c3eb2070,5,0,ffffffff,...) at xpt_action+0x9e2
umass_cam_rescan(c3eb0000,c3a98840,0,e26e8cbc,c054e3d7,...) at umass_cam_rescan+0xb4
softclock(0,0,c078bea7,46b,0,...) at softclock+0x247
ithread_loop(c3a76970,e26e8d38,fffffffb,fdfbffbf,fffff7ff,...) at ithread_loop+0x1ab
fork_exit(c052a3a0,c3a76970,e26e8d38) at fork_exit+0x96
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe26e8d70, ebp = 0 ---
db>     

--==_Exmh_1195333528_378100--



--==_Exmh_1195333710_37810P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFHP1hOkn3rs5h7N1ERAv3+AKCZcbPIYFzbkjw/csE3bjcpRjNeUACeK6Dy
hczP2st8jP2Zgy3X6B0ucY8=
=ZqqL
-----END PGP SIGNATURE-----

--==_Exmh_1195333710_37810P--



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