Hi list,

After installing successfully installing OpenBSD on my Raspberry 3 B i am now 
receiving kernel panics when trying to output audio over a USB audio dongle:

ddb> trace
db_enter() at panic+0x150
panic() at dwc2_device_start+0x448
dwc2_device_start() at usbd_transfer+0x144
usbd_transfer() at uaudio_trigger_output+0x120
uaudio_trigger_output() at audio_start_do+0x94
audio_start_do() at audio_drain+0x204
audio_drain() at audioclose+0x48
audioclose() at spec_close+0x218
spec_close() at VOP_CLOSE+0x4c
VOP_CLOSE() at vn_closefile+0xc8
vn_closefile() at closef+0xa8
closef() at finishdup+0x1bc
finishdup() at dodup3+0x2ec
dodup3() at svc_handler+0x1bc
svc_handler() at do_el0_sync+0xe0
do_el0_sync() at handle_el0_sync+0x68
handle_el0_sync() at __ALIGN_SIZE+0x5e9a7a8
--- trap ---
ddb> 

dmesg output:

foo# dmesg                                                                      
                
OpenBSD 6.2-current (GENERIC) #174: Wed Feb 14 01:51:02 MST 2018
    dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC
real mem  = 964751360 (920MB)
avail mem = 908681216 (866MB)
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
efi0 at mainbus0: UEFI 2.0.5
efi0: Das U-boot rev 0x0
simplefb0 at mainbus0: 656x416
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
simplebus0 at mainbus0: "soc"
syscon0 at simplebus0: "syscon"
bcmintc0 at simplebus0
bcmdog0 at simplebus0
pluart0 at simplebus0
bcmaux0 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:8d:8e:a8
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x0001f0, model 0x000c
uaudio0 at uhub1 port 2 configuration 1 interface 0 "ABC C-Media USB Audio 
Device" rev 1.10/1.00 addr 4
uaudio0: audio rev 1.00, 8 mixer controls
audio0 at uaudio0
uhidev0 at uhub1 port 2 configuration 1 interface 3 "ABC C-Media USB Audio 
Device" rev 1.10/1.00 addr 4
uhidev0: iclass 3/0
uhid0 at uhidev0: input=4, output=4, feature=0
umass0 at uhub1 port 4 configuration 1 interface 0 "JetFlash Mass Storage 
Device" rev 2.10/11.00 addr 5
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <JetFlash, Transcend 16GB, 1100> SCSI4 0/direct 
removable serial.856410005Y2I6Q9SV6N0
sd0: 15064MB, 512 bytes/sector, 30851072 sectors
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 (24d0157b87573f8c.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: CHECK AND RESET THE DATE!
foo# 

foo# usbdevs
addr 1: DWC2 root hub, Broadcom
 addr 2: product 0x9514, Standard Microsystems
  addr 3: SMSC9512/14, Standard Microsystems
  addr 4: C-Media USB Audio Device, ABC
  addr 5: Mass Storage Device, JetFlash
foo# pcidump
foo# acpidump
ksh: acpidump: not found


This KP can be triggered by using sox’s play(1) command or by simply doing:

# pkill sndiod
# cat > /dev/audio
<type a few characters and watch KP on serial console>


On a side note: Is it possible to disable the reordering of the libraries on 
every boot? I takes quite long on the Raspi running from USB stick.

-Heinrich

Reply via email to