You are not logged in.

#1 2021-09-24 22:23:45

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

USB related kernel crash

[ 8474.741933] usb 1-3: USB disconnect, device number 3
[ 8474.813287] BUG: kernel NULL pointer dereference, address: 00000014
[ 8474.813315] #PF: supervisor write access in kernel mode
[ 8474.813329] #PF: error_code(0x0002) - not-present page
[ 8474.813338] *pde = 00000000 
[ 8474.813350] Oops: 0002 [#1] PREEMPT SMP
[ 8474.813363] CPU: 0 PID: 2359 Comm: kworker/0:1 Tainted: G         C        5.14.5-arch1-1.0 #1 e973e2b0002e28f900d6f5f56b9ec3d1e7222ef3
[ 8474.813378] Hardware name: ASUSTeK Computer INC. 901/901, BIOS 2103    06/11/2009
[ 8474.813388] Workqueue: usb_wq hub_event
[ 8474.813406] EIP: kthread_stop+0x1a/0x180
[ 8474.813422] Code: eb cb 8d b4 00 8d b4 26 00 8d b4 26 3e 8d 74 26 3e 8d 74 26 57 56 53 89 57 56 53 89 26 00 8d 73 26 00 8d 73 00 00 f0 0f 00 00 <f0> 0f c0 0f 84 41 c0 0f 84 41 50 01 09 c2 50 01 09 c2 00 00 f6 43
[ 8474.813434] EAX: 00000001 EBX: 00000000 ECX: 00000286 EDX: 00000286
[ 8474.813444] ESI: 00000014 EDI: c2144000 EBP: c6fc7d80 ESP: c6fc7d74
[ 8474.813454] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010286
[ 8474.813466] CR0: 80050033 CR2: 00000014 CR3: 1c035000 CR4: 000006d0
[ 8474.813476] Call Trace:
[ 8474.813492]  rtw_stop_drv_threads+0x2b/0x40 [r8188eu 904b91abecccd3f852572728006f1fb6e1c88f3c]
[ 8474.813558]  rtw_dev_unload+0xe7/0xf0 [r8188eu 904b91abecccd3f852572728006f1fb6e1c88f3c]
[ 8474.813617]  rtw_dev_remove+0x82/0x110 [r8188eu 904b91abecccd3f852572728006f1fb6e1c88f3c]
[ 8474.813675]  usb_unbind_interface+0x7f/0x280
[ 8474.813694]  __device_release_driver+0x148/0x1e0
[ 8474.813711]  device_release_driver+0x1f/0x30
[ 8474.813725]  bus_remove_device+0xb0/0x120
[ 8474.813739]  device_del+0x146/0x370
[ 8474.813752]  ? device_unregister+0x22/0x60
[ 8474.813766]  usb_disable_device+0xc2/0x1e0
[ 8474.813780]  usb_disconnect.cold+0x5e/0x205
[ 8474.813795]  ? hub_event+0x6be/0x1550
[ 8474.813807]  hub_event+0xaf0/0x1550
[ 8474.813821]  ? cper_estatus_print_section+0xed/0x97e
[ 8474.813839]  process_one_work+0x18e/0x330
[ 8474.813855]  worker_thread+0x15e/0x3d0
[ 8474.813869]  kthread+0x10f/0x130
[ 8474.813882]  ? rescuer_thread+0x360/0x360
[ 8474.813895]  ? set_kthread_struct+0x40/0x40
[ 8474.813908]  ret_from_fork+0x19/0x28
[ 8474.813923] Modules linked in: joydev mousedev i915 rt2800pci rt2800mmio rt2800lib rt2x00pci iTCO_wdt iTCO_vendor_support rt2x00mmio rt2x00lib mac80211 coretemp uvcvideo btusb r8188eu(C) videobuf2_vmalloc psmouse snd_hda_codec_realtek videobuf2_memops snd_hda_codec_generic ledtrig_audio btrtl snd_hda_intel btbcm btintel videobuf2_v4l2 snd_usb_audio lib80211 pcspkr snd_intel_dspcfg bluetooth snd_intel_sdw_acpi cfg80211 videobuf2_common ttm snd_usbmidi_lib snd_hda_codec snd_rawmidi videodev drm_kms_helper snd_seq_device snd_hda_core snd_hwdep snd_pcm mc cec ecdh_generic lpc_ich ecc eeprom_93cx6 syscopyarea snd_timer i2c_i801 sysfillrect snd rng_core i2c_smbus libarc4 sysimgblt fb_sys_fops soundcore i2c_algo_bit atl1e intel_agp eeepc_laptop intel_gtt sparse_keymap rfkill mac_hid video acpi_cpufreq drm crypto_user fuse agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 ata_generic pata_acpi uas usb_storage serio_raw atkbd libps2 usbhid ata_piix i8042 serio
[ 8474.814255] CR2: 0000000000000014
[ 8474.814266] ---[ end trace ff8511a6cb2a8f58 ]---

I think I was plugging back in my network adaptor when this happened.  So far it's not repeatable after a reboot, but I thought I'd post it here in case it was useful.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#2 2021-09-26 22:00:10

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: USB related kernel crash

Just happened again, identically except from some of the registers.  I've been running on this kernel since a week last Friday (the 17th), so that doesn't look like the smoking gun.  But I'm not sure what kernel plugin is handling my wifi stick, and I'm not sure exactly how to find that out, but I doubt it's any newer, a week ago Friday is probably the last time I updated this system.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2021-09-26 22:18:06

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: USB related kernel crash

I've just kicked off another update since I see kernel 5.14.8 is waiting for me.  We'll have to see if that improves anything.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#4 2021-10-04 22:30:40

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: USB related kernel crash

To reply to self, nope.  Just had it again on kernel 5.14.8.  Now there may be something failing in this old machine by now, but that shouldn't cause a null pointer error in the kernel or related code.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB