[OpenIndiana-discuss] openindiana crash on startup with wifi usb dongle

Carsten Grzemba grzemba at contac-dt.de
Wed Mar 31 14:49:52 UTC 2021


Today I started my laptop with WIFI USB dongle connected. There I get a system crash late on startup 


... 8< ...

pseudo-device: nsmb0
nsmb0 is /pseudo/nsmb at 0
pseudo-device: signalfd0
signalfd0 is /pseudo/signalfd at 0
pseudo-device: timerfd0
timerfd0 is /pseudo/timerfd at 0
pseudo-device: winlock0
winlock0 is /pseudo/winlock at 0
Universal TUN/TAP device driver ver 1.3.2 03/30/2020 (C) 1999-2000 Maxim Krasnyansky
pseudo-device: tap0
tap0 is /pseudo/tap at 0 
Universal TUN/TAP device driver ver 1.3.2 03/30/2020 (C) 1999-2000 Maxim Krasnyansky
pseudo-device: tun0
tun0 is /pseudo/tun at 0
NOTICE: urtwn1 unregistered

panic[cpu3]/thread=fffffe0010a45c20: 
mutex_enter: bad mutex, lp=fffffe0ba6024940 owner=fffffe000fd2dc20 thread=fffffe0010a45c20


fffffe0010a45a80 unix:mutex_panic+4a ()
fffffe0010a45af0 unix:mutex_vector_enter+307 ()
fffffe0010a45b70 genunix:cv_timedwait_hires+eb ()
fffffe0010a45bc0 genunix:cv_timedwait+52 ()
fffffe0010a45c00 fffffffff80ec61e ()
fffffe0010a45c10 unix:thread_start+b ()

dumping to /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
NOTICE: ahci0: ahci_tran_reset_dport port 0 reset port

> ::status
debugging crash dump vmcore.0 (64-bit) from notebookcg2
operating system: 5.11 illumos-6859ab0054 (i86pc)
build version: heads/master-0-g6859ab0054-dirty

image uuid: 8bea7c30-0a9a-c4ca-edfb-e24b5cecb314
panic message: mutex_enter: bad mutex, lp=fffffe0ba6024940 owner=fffffe000fd2dc20 thread=fffffe0010a45c20
dump content: kernel pages only
> 



> fffffe0010a45c20::thread -p
 ADDR PROC LWP CRED
fffffe0010a45c20 fffffffffbc48080 0 fffffe0ba01e5db0
> fffffffffbc48080::ps
S PID PPID PGID SID UID FLAGS ADDR NAME
R 0 0 0 0 0 0x00000001 fffffffffbc48080 sched

This means that scheduler process get the bad mutex, but there may be also other suspect stacks like this?

stack pointer for thread fffffe000fa8fc20 (TS_FREE) (unix`thread_create_intr()): fffffe000fa8f7d0
 fffffe000fa8f810 0xfffffe0bba4df340()
 fffffe000fa8f840 smt_adjust_cpu_score+0x13()
 fffffe000fa8f860 cpu_score+0x67()
 fffffe000fa8f900 disp_lowpri_cpu+0xa3()
 fffffe000fa8f940 setkpdq+0x11a()
 fffffe000fa8f9b0 setbackdq+0x33f()
 fffffe000fa8f9e0 0xa()
 fffffe000fa8fa20 cv_signal+0x88()
 fffffe000fa8faa0 taskq_dispatch+0x12a()
 fffffe000fa8fad0 callout_normal+0x64()
 fffffe000fa8fb60 cyclic_softint+0xe2()
 fffffe000fa8fb80 av_check_softint_pending+0x1b()
 fffffe000fa8fbd0 apix_do_softint_epilog+0xac()
 fffffe000fa8fc00 apix_dispatch_softint+0x41()
 fffffe000fa953f0 switch_sp_and_call+0x15()
 814f1 [no mapping for address]



> ::prtusb
INDEX DRIVER INST NODE GEN VID.PID PRODUCT 
1 ehci 0 pci1025,574 2.0 0000.0000 No Product String
2 ehci 1 pci1025,574 2.0 0000.0000 No Product String
3 hubd 0 hub 2.0 8087.0024 No Product String
4 hubd 1 hub 2.0 8087.0024 No Product String
5 usb_mid 0 miscellaneous 2.0 064e.c21c 1.3M HD WebCam
6 urtwn 1 device 2.0 7392.7811 802.11n WLAN Adapter
7 usb_mid 2 device 2.0 046d.c52b USB Receiver


The related USB dongle is idx 6 with urtwn driver

If I connect the USB Wifi dongle later all works like expected.
The kernel comes from package osnet-incorporation at 0.5.11-2020.0.1.20237
Has the urtwn v0.8.1-oi151a driver some shortcommings? 



Has anyone else seen such problems?

-- 
Carsten


More information about the openindiana-discuss mailing list