Paul de Weerd
2017-06-09 08:39:45 UTC
I'm getting a panic when trying to use fswebcam to grab an image from
my webcam on a Raspberry Pi 3:
panic: kernel diagnostic assertion "xfertype != UE_ISOCHRONOUS || xfer->nframes < DWC2_MAXISOCPACKETS" failed: file "/usr/src/sys/dev/usb/dwc2/dwc2.c", line 1306
Stopped at panic+0x158: TID PID UID PRFLAGS PFLAGS CPU COMMAND
*502853 41556 0 0x3 0 0 fswebcam
db_enter() at panic+0x154
panic() at dwc2_device_start+0x45c
dwc2_device_start() at usbd_transfer+0x140
usbd_transfer() at uvideo_vs_start_isoc+0x78
uvideo_vs_start_isoc() at uvideo_streamon+0xb0
uvideo_streamon() at VOP_IOCTL+0x3c
VOP_IOCTL() at vn_ioctl+0x70
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
Unfortunately, I seem to be having some issues with my serial console
cable, as I can't type on the console anymore (I still get output, but
it doesn't take input).
I'll try to get that sorted and report with more details.
Cheers,
Paul 'WEiRD' de Weerd
OpenBSD 6.1-current (GENERIC) #0: Tue Jun 6 17:36:34 AEST 2017
***@arm64.jsg.id.au:/usr/src/sys/arch/arm64/compile/GENERIC
real mem = 961036288 (916MB)
avail mem = 905613312 (863MB)
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0: ARM Cortex-A53 r0p4
simplefb0 at mainbus0: 656x416
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0 added (std, vt100 emulation)
simplebus0 at mainbus0: "soc"
bcmintc0 at simplebus0
bcmdog0 at simplebus0
pluart0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
dwctwo0 at simplebus0
agtimer0 at simplebus0: tick rate 19200 KHz
simplebus1 at mainbus0: "clocks"
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev 2.00/1.00 addr 1
uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems product 0x9514" rev 2.00/2.00 addr 2
smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems SMSC9512/14" rev 2.00/2.00 addr 3
smsc0: address b8:27:eb:93:42:d5
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x0001f0, model 0x000c
umass0 at uhub1 port 2 configuration 1 interface 0 "SanDisk Ultra Fit" rev 2.10/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> SCSI4 0/direct removable serial.07815583320220107303
sd0: 29327MB, 512 bytes/sector, 60062500 sectors
uvideo0 at uhub1 port 4 configuration 1 interface 0 "vendor 0x046d Webcam C170" rev 2.00/28.25 addr 5
video0 at uvideo0
uaudio0 at uhub1 port 4 configuration 1 interface 2 "vendor 0x046d Webcam C170" rev 2.00/28.25 addr 5
uaudio0: audio rev 1.00, 2 mixer controls
audio0 at uaudio0
urtwn0 at uhub1 port 5 configuration 1 interface 0 "Realtek 802.11n NIC" rev 2.00/0.00 addr 6
urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address ec:08:6b:07:c2:1c
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (59de83c8e783b811.a) swap on sd0b dump on sd0b
my webcam on a Raspberry Pi 3:
panic: kernel diagnostic assertion "xfertype != UE_ISOCHRONOUS || xfer->nframes < DWC2_MAXISOCPACKETS" failed: file "/usr/src/sys/dev/usb/dwc2/dwc2.c", line 1306
Stopped at panic+0x158: TID PID UID PRFLAGS PFLAGS CPU COMMAND
*502853 41556 0 0x3 0 0 fswebcam
db_enter() at panic+0x154
panic() at dwc2_device_start+0x45c
dwc2_device_start() at usbd_transfer+0x140
usbd_transfer() at uvideo_vs_start_isoc+0x78
uvideo_vs_start_isoc() at uvideo_streamon+0xb0
uvideo_streamon() at VOP_IOCTL+0x3c
VOP_IOCTL() at vn_ioctl+0x70
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
Unfortunately, I seem to be having some issues with my serial console
cable, as I can't type on the console anymore (I still get output, but
it doesn't take input).
I'll try to get that sorted and report with more details.
Cheers,
Paul 'WEiRD' de Weerd
OpenBSD 6.1-current (GENERIC) #0: Tue Jun 6 17:36:34 AEST 2017
***@arm64.jsg.id.au:/usr/src/sys/arch/arm64/compile/GENERIC
real mem = 961036288 (916MB)
avail mem = 905613312 (863MB)
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0: ARM Cortex-A53 r0p4
simplefb0 at mainbus0: 656x416
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0 added (std, vt100 emulation)
simplebus0 at mainbus0: "soc"
bcmintc0 at simplebus0
bcmdog0 at simplebus0
pluart0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
dwctwo0 at simplebus0
agtimer0 at simplebus0: tick rate 19200 KHz
simplebus1 at mainbus0: "clocks"
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev 2.00/1.00 addr 1
uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems product 0x9514" rev 2.00/2.00 addr 2
smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems SMSC9512/14" rev 2.00/2.00 addr 3
smsc0: address b8:27:eb:93:42:d5
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x0001f0, model 0x000c
umass0 at uhub1 port 2 configuration 1 interface 0 "SanDisk Ultra Fit" rev 2.10/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> SCSI4 0/direct removable serial.07815583320220107303
sd0: 29327MB, 512 bytes/sector, 60062500 sectors
uvideo0 at uhub1 port 4 configuration 1 interface 0 "vendor 0x046d Webcam C170" rev 2.00/28.25 addr 5
video0 at uvideo0
uaudio0 at uhub1 port 4 configuration 1 interface 2 "vendor 0x046d Webcam C170" rev 2.00/28.25 addr 5
uaudio0: audio rev 1.00, 2 mixer controls
audio0 at uaudio0
urtwn0 at uhub1 port 5 configuration 1 interface 0 "Realtek 802.11n NIC" rev 2.00/0.00 addr 6
urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address ec:08:6b:07:c2:1c
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (59de83c8e783b811.a) swap on sd0b dump on sd0b
--
http://www.weirdnet.nl/
++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]http://www.weirdnet.nl/