Kernel Panic on Rock64 linux
#16
I saw a kernel panic w/ xenial-minimal-rock64-0.4.17-85-arm64.img after I unplugged a USB 3.0 hard disk (nothing was mounted on it).  Seems like the OS thought it was still connected.

[ 7800.498794] INFO: task parted:5470 blocked for more than 120 seconds.
[ 7800.499779]       Not tainted 4.4.70-rockchip-ayufan-85 #1
[ 7800.500569] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 7800.502124] Kernel panic - not syncing: hung_task: blocked tasks
[ 7800.502998] CPU: 3 PID: 29 Comm: khungtaskd Not tainted 4.4.70-rockchip-ayufan-85 #1
[ 7800.504105] Hardware name: PINE64 ROCK64 (DT)

Playing with jessie-minimal-rock64-0.5.7-101-arm64.img now, and don't see the same issue.  It does take several seconds for it to decide the USB device is no longer available when I unplugged the cable.  Nothing was active when the cable was unplugged, it just spewed the following to the console :
[  873.393783] usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
[  873.394805] xhci-hcd xhci-hcd.8.auto: Cannot set link state.
[  873.395754] usb usb5-port1: cannot disable (err = -32)
[  875.910788] usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
[  875.911801] xhci-hcd xhci-hcd.8.auto: Cannot set link state.
[  875.912735] usb usb5-port1: cannot disable (err = -32)
[  878.426774] usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
[  878.427787] xhci-hcd xhci-hcd.8.auto: Cannot set link state.
[  878.428729] usb usb5-port1: cannot disable (err = -32)
[  880.943791] usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
[  880.944809] xhci-hcd xhci-hcd.8.auto: Cannot set link state.
[  880.945741] usb usb5-port1: cannot disable (err = -32)
[  880.946543] xhci-hcd xhci-hcd.8.auto: Cannot set link state.
[  880.947492] usb usb5-port1: cannot disable (err = -32)
[  880.948328] scsi host0: uas_post_reset: alloc streams error -19 after reset
[  880.952607] sd 0:0:0:0: [sda] Synchronizing SCSI cache

Edit: Looks like the latest jessie minimal also panics after disconnecting USB 3.0 device. Filed a issue on github, with ayufan (not sure if it was the right project page though).


Messages In This Thread
Kernel Panic on Rock64 linux - by tanisou - 08-24-2017, 10:30 PM
RE: Kernel Panic on Rock64 linux - by tanisou - 08-25-2017, 02:40 AM
RE: Kernel Panic on Rock64 linux - by tanisou - 08-25-2017, 05:54 AM
RE: Kernel Panic on Rock64 linux - by tanisou - 08-25-2017, 08:11 AM
RE: Kernel Panic on Rock64 linux - by tanisou - 08-25-2017, 07:26 PM
RE: Kernel Panic on Rock64 linux - by tanisou - 08-25-2017, 11:58 PM
RE: Kernel Panic on Rock64 linux - by xshunin - 08-26-2017, 06:07 PM
RE: Kernel Panic on Rock64 linux - by ayufan - 08-29-2017, 08:34 AM
RE: Kernel Panic on Rock64 linux - by polartx - 09-01-2017, 07:45 AM
RE: Kernel Panic on Rock64 linux - by tllim - 09-03-2017, 06:01 PM
RE: Kernel Panic on Rock64 linux - by rmbusy - 09-09-2017, 04:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,105 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 10,763 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,014 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,012 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 741 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,706 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,284 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,963 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,053 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 1,247 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 3 Guest(s)