[RESOLVED] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944



  • @fossette Hey,
    thank you. Can you send me the link to start an rma case?



  • @WereCatf said in Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944:

    These kinds of issues are most likely because of an incomplete flash or a corrupted flash, and I would recommend flashing a new firmware by following the steps at http://community.onion.io/topic/1154/omega-2-usb-firmware-install-after-brick-resolved -- it erases the current firmware and all the settings there, so if any of them were corrupted and was the reason behind this issue, it'd solve that. On the other hand, if the problem persists even after flashing the firmware via USB (and you're absolutely certain it successfully flashed it), then it's most likely a hardware-failure -- possibly bad RAM-chip.

    I tried it four times on both devices. ;( - Bad luck



  • No way. I tried all posibilities I know. ;( Firmware flash, factory reset, and so on... Nothing!



  • @Mr.B Contact Onion and see if you can get a replacement, then 😕



  • i did already... Answer: "Read the manual"



  • @Lazar-Demin or @Boken-Lin care to comment?



  • Just got around to playing with my Omega 2+ and I'm running into the same issue: [ 26.711544] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944. I followed the instructions for reflashing from USB. I tried omega2p-v0.1.9-b152.bin and I tried an older version omega2p-v0.1.5-b129.bin. Both panic the same way. I'm watching this thread to see if anyone figures out a resolution or if Onion responds.

       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    icache: sets:512, ways:4, linesz:32 ,total:65536
    dcache: sets:256, ways:4, linesz:32 ,total:32768
    CPU freq = 575 MHZ
    Estimated memory size = 128 Mbytes
    Resetting MT7628 PHY.
    Initializing MT7688 GPIO system.
    
    
    **************************************
    * Hold Reset button for more options *
    **************************************
    
    
    You have 40 seconds left to select a menu option...
    
    
    Please select option:
       [ Enter ]: Boot Omega2.
       [ 0 ]: Start Web recovery mode.
       [ 1 ]: Start command line mode.
       [ 2 ]: Flash firmware from USB storage.
    
    Option [2] selected.
    System Load Linux then write to Flash via USB Storage.
    Looking for a USB Storage.
    If suitable image is found on USB Storage writing to Flash will be attempted.
    U-Boot will look for a FAT file system.
    (Re)start USB...
    LOW LEVEL INIT USB0:
    Scanning bus 0 for devices...
    New Device 0
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x8
    usb_control_msg: status = success?
    
     INSIDE USB INIT
    
     INSIDE USB INIT: Device responded.
    set address 1
    usb_control_msg: request: 0x5, requesttype: 0x0
    value 0x1 index 0x0 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x12
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x9
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x19
    usb_control_msg: status = success?
    get_conf_no 0 Result 25, wLength 25
    if 0, ep 0
    ##EP epmaxpacketin[1] = 2
    set configuration 1
    usb_control_msg: request: 0x9, requesttype: 0x0
    value 0x1 index 0x0 length 0x0
    usb_control_msg: status = success?
    new device strings: Mfr=0, Product=1, SerialNumber=0
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x300 index 0x0 length 0xFF
    usb_control_msg: status = success?
    USB device number 1 default language ID 0x409
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x301 index 0x409 length 0xFF
    usb_control_msg: status = success?
    Manufacturer
    Product      OHCI Root Hub
    SerialNumber
    Device is a hub?
    usb_control_msg: request: 0x6, requesttype: 0xA0
    value 0x2900 index 0x0 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0xA0
    value 0x2900 index 0x0 length 0x9
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA0
    value 0x0 index 0x0 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x1, requesttype: 0x23
    value 0x8 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x3, requesttype: 0x23
    value 0x8 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x1, requesttype: 0x23
    value 0x10 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x3, requesttype: 0x23
    value 0x4 index 0x1 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x0, requesttype: 0xA3
    value 0x0 index 0x1 length 0x4
    usb_control_msg: status = success?
    usb_control_msg: request: 0x1, requesttype: 0x23
    value 0x14 index 0x1 length 0x0
    usb_control_msg: status = success?
    New Device 1
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x8
    usb_control_msg: status = success?
    
     INSIDE USB INIT
    
     INSIDE USB INIT: Device responded.
    set address 2
    usb_control_msg: request: 0x5, requesttype: 0x0
    value 0x2 index 0x0 length 0x0
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x100 index 0x0 length 0x12
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x9
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x200 index 0x0 length 0x39
    usb_control_msg: status = success?
    get_conf_no 0 Result 57, wLength 57
    if 0, ep 0
    if 0, ep 1
    unknown Description Type : 21
    09 21 10 01 00 01 22 1E 00
    
    
    if 1, ep 0
    ##EP epmaxpacketout[1] = 64
    ##EP epmaxpacketin[2] = 64
    ##EP epmaxpacketin[3] = 8
    set configuration 1
    usb_control_msg: request: 0x9, requesttype: 0x0
    value 0x1 index 0x0 length 0x0
    usb_control_msg: status = success?
    new device strings: Mfr=1, Product=2, SerialNumber=3
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x300 index 0x0 length 0xFF
    usb_control_msg: status = success?
    USB device number 2 default language ID 0x409
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x301 index 0x409 length 0xFF
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x302 index 0x409 length 0xFF
    usb_control_msg: status = success?
    usb_control_msg: request: 0x6, requesttype: 0x80
    value 0x303 index 0x409 length 0xFF
    usb_control_msg: status = success?
    Manufacturer Generic
    Product      Mass Storage Device
    SerialNumber 058F63646476
    Device is a hub?
    2 USB Device(s) found
    scan end
           Scanning bus for storage devices...
    
    =================================================
    1: Hub,  USB Revision 1.10
     -  OHCI Root Hub
     - Class: Hub
     - PacketSize: 8  Configurations: 1
     - Vendor: 0x0000  Product 0x0000 Version 0.0
    
    =================================================
    2: Mass Storage,  USB Revision 2.0
     - Generic Mass Storage Device 058F63646476
     - Class: (from Interface) Mass Storage
     - PacketSize: 64  Configurations: 1
     - Vendor: 0x058f  Product 0x6364 Version 1.0
    Testing BULK mode...Identifying a storage device...*
    USB_STORAGE: 1 Storage Device(s) found
    
    
    ***************************************
    * [!] This will take several minutes  *
    * please do not power off your Omega2 *
    ***************************************
    
    
    *
    *
    Reading file "omega2.bin"
    *
    ****************
    ******
    *******************************************************************************************************************************************************************
    ******
    *************************************************************************************************************************************************************************
    *
    FAT: 6815904 Bytes read
    ........................................................................................................
    ........................................................................................................
    .
    .
    Done!
    
    
       ____       _             ____
      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    ******************************
    Software System Reset Occurred
    ******************************
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    icache: sets:512, ways:4, linesz:32 ,total:65536
    dcache: sets:256, ways:4, linesz:32 ,total:32768
    CPU freq = 575 MHZ
    Estimated memory size = 128 Mbytes
    Resetting MT7628 PHY.
    Initializing MT7688 GPIO system.
    
    
    **************************************
    * Hold Reset button for more options *
    **************************************
    
    
    
    Boot Linux from Flash NO RESET PRESSED.
    ## Booting image at bc050000 ...
       Image Name:   MIPS LEDE Linux-4.4.32
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1345538 Bytes =  1.3 MB
       Load Address: 80000000
       Entry Point:  80000000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80000000) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.32 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2292+1) ) #0 Wed Nov 23 00:21:47 2016
    [    0.000000] Board has DDR2
    [    0.000000] Analog PMU set to hw control
    [    0.000000] Digital PMU set to hw control
    [    0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
    [    0.000000] MIPS: machine is Onion Omega2+
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=00066000
    [    0.000000] Readback ErrCtl register=00066000
    [    0.000000] Memory: 125488K/131072K available (3103K kernel code, 141K rwdata, 752K rodata, 156K init, 196K bss, 5584K reserved, 0K cma-reserved)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:256
    [    0.000000] intc: using register map from devicetree
    [    0.000000] CPU Clock: 580MHz
    [    0.000000] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007522] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070037] pid_max: default: 32768 minimum: 301
    [    0.074638] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080979] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094407] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104063] pinctrl core: initialized pinctrl subsystem
    [    0.109787] NET: Registered protocol family 16
    [    0.135692] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.141167] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.146655] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.153212] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.161027] clocksource: Switched to clocksource MIPS
    [    0.167443] NET: Registered protocol family 2
    [    0.172578] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.179270] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.185451] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.191653] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.197257] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.203625] NET: Registered protocol family 1
    [    0.214037] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.219961] Crashlog allocated RAM at address 0x3f00000
    [    0.240246] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.245901] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.258138] io scheduler noop registered
    [    0.261944] io scheduler deadline registered (default)
    [    0.268317] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.276013] console [ttyS0] disabled
    [    0.279440] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.288219] console [ttyS0] enabled
    [    0.288219] console [ttyS0] enabled
    [    0.295212] bootconsole [early0] disabled
    [    0.295212] bootconsole [early0] disabled
    [    0.303971] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.313561] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.324284] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.334381] m25p80 spi32766.0: using chunked io (size=31)
    [    0.339881] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.345450] 4 ofpart partitions found on MTD device spi32766.0
    [    0.351377] Creating 4 MTD partitions on "spi32766.0":
    [    0.356593] 0x000000000000-0x000000030000 : "u-boot"
    [    0.363406] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.370632] 0x000000040000-0x000000050000 : "factory"
    [    0.377671] 0x000000050000-0x000002000000 : "firmware"
    [    0.425494] 2 uimage-fw partitions found on MTD device firmware
    [    0.431552] 0x000000050000-0x000000198842 : "kernel"
    [    0.438243] 0x000000198842-0x000002000000 : "rootfs"
    [    0.445147] mtd: device 5 (rootfs) set to be root filesystem
    [    0.450961] 1 squashfs-split partitions found on MTD device rootfs
    [    0.457299] 0x0000006b0000-0x000002000000 : "rootfs_data"
    [    0.474398] rt3050-esw 10110000.esw: link changed 0x00
    [    0.482080] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.490683] i2c /dev entries driver
    [    0.494877] mt7621_wdt 10000120.watchdog: Initialized
    [    0.500241] MTK MSDC device init.
    [    0.541173] mtk-sd: MediaTek MT6575 MSDC Driver
    [    0.547207] NET: Registered protocol family 10
    [    0.555836] NET: Registered protocol family 17
    [    0.560434] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.573290] 8021q: 802.1Q VLAN Support v1.8
    [    0.579812] mtk-linkit bootstrap: Version  :
    [    0.584313] mtk-linkit bootstrap: Revision :
    [    0.593457] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.601541] Freeing unused kernel memory: 156K (803e9000 - 80410000)
    [    1.631091] init: Console is alive
    [    1.634781] init: - watchdog -
    [    4.055786] usbcore: registered new interface driver usbfs
    [    4.061541] usbcore: registered new interface driver hub
    [    4.067032] usbcore: registered new device driver usb
    [    4.078083] exFAT: Version 1.2.9
    [    4.120605] SCSI subsystem initialized
    [    4.131085] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.139338] ehci-platform: EHCI generic platform driver
    [    4.155031] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.161846] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.167176] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.173052] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.181214] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.201070] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.208621] hub 1-0:1.0: USB hub found
    [    4.212862] hub 1-0:1.0: 1 port detected
    [    4.221593] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.229402] ohci-platform: OHCI generic platform driver
    [    4.235035] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.242006] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.250123] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.316240] hub 2-0:1.0: USB hub found
    [    4.320484] hub 2-0:1.0: 1 port detected
    [    4.329278] sdhci: Secure Digital Host Controller Interface driver
    [    4.335631] sdhci: Copyright(c) Pierre Ossman
    [    4.341646] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.351934] usbcore: registered new interface driver usb-storage
    [    4.368490] init: - preinit -
    [    4.695193] usb 1-1: new high-speed USB device number 2 using ehci-platform
    [    4.918765] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
    [    4.928565] usb-storage 1-1:1.0: USB Mass Storage device detected
    [    4.951402] scsi host0: usb-storage 1-1:1.0
    [    5.303716] rt3050-esw 10110000.esw: link changed 0x00
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [    5.952414] scsi 0:0:0:0: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0
    [    6.204683] scsi 0:0:0:1: Direct-Access     Generic- Compact Flash    1.01 PQ: 0 ANSI: 0
    [    6.217882] sd 0:0:0:0: [sda] 30318592 512-byte logical blocks: (15.5 GB/14.5 GiB)
    [    6.226455] scsi 0:0:0:2: Direct-Access     Generic- SM/xD-Picture    1.02 PQ: 0 ANSI: 0
    [    6.238474] sd 0:0:0:0: [sda] Write Protect is off
    [    6.246354] sd 0:0:0:1: [sdb] Attached SCSI removable disk
    [    6.252792] scsi 0:0:0:3: Direct-Access     Generic- MS/MS-Pro        1.03 PQ: 0 ANSI: 0 CCS
    [    6.264036] sd 0:0:0:0: [sda] No Caching mode page found
    [    6.269475] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [    6.280839] sd 0:0:0:2: [sdc] Attached SCSI removable disk
    [    6.289317] sd 0:0:0:3: [sdd] Attached SCSI removable disk
    [    6.299708]  sda: sda1
    [    6.306944] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [    8.563058] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
    [    8.577211] urandom-seed: Seed file not found (/etc/urandom.seed)
    [    8.744225] procd: - early -
    [    8.747251] procd: - watchdog -
    [    9.404445] procd: - ubus -
    [    9.608777] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.618488] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.627710] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.637323] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.646537] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.655905] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.665265] random: ubusd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
    [    9.674871] procd: - init -
    Please press Enter to activate this console.
    [   10.195603] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.260924] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.283907] Ralink/MTK WiFi EEPROM API Build for MT7620.
    [   10.327253] WRTnode AP Driver version: 4.1.0.0
    [   10.400519] Linux video capture interface: v2.00
    [   10.444044] hidraw: raw HID events driver (C) Jiri Kosina
    [   10.487165] Bluetooth: Core ver 2.21
    [   10.490904] NET: Registered protocol family 31
    [   10.495477] Bluetooth: HCI device and connection manager initialized
    [   10.501936] Bluetooth: HCI socket layer initialized
    [   10.506886] Bluetooth: L2CAP socket layer initialized
    [   10.512061] Bluetooth: SCO socket layer initialized
    [   10.519525] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.524993] Bluetooth: BNEP filters: protocol multicast
    [   10.530302] Bluetooth: BNEP socket layer initialized
    [   10.541927] usbcore: registered new interface driver btusb
    [   10.551480] usbcore: registered new interface driver cdc_acm
    [   10.557233] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   10.569125] Bluetooth: HCI UART driver ver 2.3
    [   10.573699] Bluetooth: HCI UART protocol H4 registered
    [   10.578906] Bluetooth: HCI UART protocol BCSP registered
    [   10.588534] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   10.594634] Bluetooth: HIDP socket layer initialized
    [   10.602873] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   10.625136] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
    [   10.655234] Bluetooth: RFCOMM TTY layer initialized
    [   10.660216] Bluetooth: RFCOMM socket layer initialized
    [   10.665510] Bluetooth: RFCOMM ver 1.11
    [   10.676991] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   10.683610] ------------[ cut here ]------------
    [   10.688306] WARNING: CPU: 0 PID: 523 at drivers/spi/spidev.c:719 init_module+0x5c33c/0x5cdec [spidev]()
    [   10.697841] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac usb_storage sdhci_pltfm sdhci leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash
    [   10.802605] CPU: 0 PID: 523 Comm: kmodloader Not tainted 4.4.32 #0
    [   10.808866] Stack : 80380328 00000000 00000001 803d0000 87d1ea80 803ccd83 80361c94 0000020b
              80413434 00000010 0000001a 024000c0 80065e4c 8004aa78 80367190 803d0000
              00000003 00000010 80365594 87503b4c 80065e4c 800489e4 00000000 00000000
              00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
              00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
              ...
    [   10.845022] Call Trace:
    [   10.847560] [<80065e4c>] module_sect_show+0x0/0x18
    [   10.852441] [<8004aa78>] vprintk_default+0x24/0x30
    [   10.857317] [<80065e4c>] module_sect_show+0x0/0x18
    [   10.862192] [<800489e4>] printk+0x2c/0x38
    [   10.866274] [<80025124>] warn_slowpath_common+0xa0/0xd0
    [   10.871596] [<8014956c>] dump_stack+0x14/0x28
    [   10.876017] [<80014574>] show_stack+0x50/0x84
    [   10.880435] [<80025124>] warn_slowpath_common+0xa0/0xd0
    [   10.885754] [<8710833c>] init_module+0x5c33c/0x5cdec [spidev]
    [   10.891603] [<800251dc>] warn_slowpath_null+0x18/0x24
    [   10.896747] [<8020d2ac>] of_match_node+0x20/0x44
    [   10.901467] [<8710833c>] init_module+0x5c33c/0x5cdec [spidev]
    [   10.907308] [<801bbe28>] devm_kfree+0x20/0x44
    [   10.911754] [<801dcfb4>] spi_drv_probe+0x3c/0x84
    [   10.916447] [<801b8958>] driver_probe_device+0x120/0x288
    [   10.921865] [<80089d34>] kstrdup+0x44/0x8c
    [   10.926053] [<801dceb4>] spi_match_device+0x38/0xa8
    [   10.931039] [<801b8b3c>] __driver_attach+0x7c/0xb4
    [   10.935917] [<801b6d60>] next_device+0x10/0x30
    [   10.940431] [<801b8ac0>] __driver_attach+0x0/0xb4
    [   10.945222] [<801b6e1c>] bus_for_each_dev+0x9c/0xac
    [   10.950184] [<80303efc>] klist_add_tail+0x24/0x50
    [   10.954981] [<801b6bf0>] bus_get+0x2c/0x50
    [   10.959157] [<801b8050>] bus_add_driver+0xec/0x20c
    [   10.964030] [<800ac89c>] exact_match+0x0/0x8
    [   10.968363] [<800acda4>] exact_lock+0x0/0x24
    [   10.972725] [<801b9254>] driver_register+0xa8/0xf8
    [   10.977590] [<870ac000>] init_module+0x0/0xdc [spidev]
    [   10.982845] [<870ac098>] init_module+0x98/0xdc [spidev]
    [   10.988150] [<80155138>] kasprintf+0x1c/0x28
    [   10.992512] [<80045400>] __wake_up+0x24/0x48
    [   10.996844] [<870ac000>] init_module+0x0/0xdc [spidev]
    [   11.002094] [<8000d5c8>] do_one_initcall+0x1e8/0x214
    [   11.007142] [<80045400>] __wake_up+0x24/0x48
    [   11.011495] [<870ac000>] init_module+0x0/0xdc [spidev]
    [   11.016725] [<800340b8>] call_usermodehelper_exec+0x144/0x160
    [   11.022586] [<80033ba8>] call_usermodehelper_setup+0x38/0xa8
    [   11.028353] [<80065e4c>] module_sect_show+0x0/0x18
    [   11.033250] [<8006706c>] do_init_module+0x74/0x1cc
    [   11.038118] [<8009d864>] __vunmap+0xf0/0x114
    [   11.042496] [<80068900>] load_module+0x16c0/0x1b68
    [   11.047361] [<80066438>] unknown_module_param_cb+0x0/0xac
    [   11.052859] [<8009dd58>] __vmalloc_node+0x34/0x40
    [   11.057651] [<80068e3c>] SyS_init_module+0x94/0x180
    [   11.062621] [<80068ed8>] SyS_init_module+0x130/0x180
    [   11.067684] [<8000655c>] syscall_common+0x30/0x54
    [   11.072480] [<80008958>] __bzero+0xbc/0x164
    [   11.076720]
    [   11.078231] ---[ end trace 78bc61d57660fd81 ]---
    [   11.090470] usbcore: registered new interface driver ums-alauda
    [   11.099542] usbcore: registered new interface driver ums-cypress
    [   11.108732] usbcore: registered new interface driver ums-datafab
    [   11.117629] usbcore: registered new interface driver ums-freecom
    [   11.126721] usbcore: registered new interface driver ums-isd200
    [   11.135898] usbcore: registered new interface driver ums-jumpshot
    [   11.144960] usbcore: registered new interface driver ums-karma
    [   11.154654] usbcore: registered new interface driver ums-sddr09
    [   11.163756] usbcore: registered new interface driver ums-sddr55
    [   11.173165] usbcore: registered new interface driver ums-usbat
    [   11.193018] hid-generic 0003:058F:6364.0001: hiddev0,hidraw0: USB HID v1.10 Device [Generic Mass Storage Device] on usb-101c0000.ehci-1/input1
    [   11.206197] usbcore: registered new interface driver usbhid
    [   11.211874] usbhid: USB HID core driver
    [   11.220992] usbcore: registered new interface driver usblp
    [   11.234957] usbcore: registered new interface driver usbserial
    [   11.240987] usbcore: registered new interface driver usbserial_generic
    [   11.247788] usbserial: USB Serial support registered for generic
    [   11.266286] Driver for 1-wire Dallas network protocol.
    [   11.296220] xt_time: kernel timezone is -0000
    [   11.303009] usbcore: registered new interface driver ch341
    [   11.308709] usbserial: USB Serial support registered for ch341-uart
    [   11.317540] usbcore: registered new interface driver cp210x
    [   11.323388] usbserial: USB Serial support registered for cp210x
    [   11.333055] usbcore: registered new interface driver ftdi_sio
    [   11.339011] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   11.361322] usbcore: registered new interface driver pl2303
    [   11.367105] usbserial: USB Serial support registered for pl2303
    [   11.378505] PPP generic driver version 2.4.2
    [   11.386119] NET: Registered protocol family 24
    [   11.403974] usbcore: registered new interface driver snd-usb-audio
    [   11.421214] usbcore: registered new interface driver uvcvideo
    [   11.427053] USB Video Class driver (1.1.1)
    [   11.604105] random: jshn: uninitialized urandom read (4 bytes read, 31 bits of entropy available)
    [   11.679205] random: jshn: uninitialized urandom read (4 bytes read, 31 bits of entropy available)
    [   18.535049] EEPROM:Read from [factory] offset 0x0,length 0x400.
    [   21.861068]  ch1 bssid=3c:ea:4f:61:4a:b1
    [   21.865067]  ch1 bssid=60:fe:20:2a:10:e2
    [   21.869047]  ch1 bssid=f8:18:97:cb:db:ee
    [   21.873053]  ch6 bssid=68:7f:74:4a:49:32
    [   21.877091]  ch6 bssid=b4:75:0e:d5:3e:01
    [   21.881103]  ch6 bssid=c0:7c:d1:26:2e:9a
    [   21.885084]  ch7 bssid=f8:7b:8c:9f:2a:7c
    [   21.889063]  ch7 bssid=38:3b:c8:51:7e:42
    [   21.893058]  ch11 bssid=dc:3a:5e:49:e3:13
    [   21.897127]  ch11 bssid=dc:ef:09:4c:63:9a
    [   21.901209]  ch11 bssid=04:18:d6:22:81:74
    [   21.905277]  ch11 bssid=90:8d:78:4e:fd:ba
    [   21.909343]  ch11 bssid=ec:aa:a0:8a:fb:58
    [   21.913427]  ch11 bssid=ec:aa:a0:8a:fb:59
    [   21.917493]  ch11 bssid=ec:aa:a0:8a:fb:5a
    [   21.921569] =====================================================
    [   21.927752] Channel 1 : Dirty = 220, False CCA = 0, Busy Time = 2031, Skip Channel = FALSE
    [   21.936147] Channel 2 : Dirty = 156, False CCA = 0, Busy Time = 4136, Skip Channel = FALSE
    [   21.944533] Channel 3 : Dirty = 196, False CCA = 0, Busy Time = 1176, Skip Channel = FALSE
    [   21.952927] Channel 4 : Dirty = 204, False CCA = 0, Busy Time = 1274, Skip Channel = FALSE
    [   21.961322] Channel 5 : Dirty = 212, False CCA = 0, Busy Time = 2719, Skip Channel = FALSE
    [   21.969699] Channel 6 : Dirty = 274, False CCA = 0, Busy Time = 4071, Skip Channel = FALSE
    [   21.978099] Channel 7 : Dirty = 376, False CCA = 0, Busy Time = 3814, Skip Channel = FALSE
    [   21.986493] Channel 8 : Dirty = 316, False CCA = 0, Busy Time = 7016, Skip Channel = FALSE
    [   21.994890] Channel 9 : Dirty = 324, False CCA = 0, Busy Time = 1921, Skip Channel = FALSE
    [   22.003277] Channel 10 : Dirty = 332, False CCA = 0, Busy Time = 9064, Skip Channel = FALSE
    [   22.011759] Channel 11 : Dirty = 560, False CCA = 0, Busy Time = 9304, Skip Channel = FALSE
    [   22.020220] =====================================================
    [   22.026414] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 2
    [   22.035154] Min Dirty = 156
    [   22.037983] ExChannel = 0 , 0
    [   22.040988] BW        = 20
    [   22.442884] device eth0.1 entered promiscuous mode
    [   22.447762] device eth0 entered promiscuous mode
    [   22.490361] br-wlan: port 1(eth0.1) entered forwarding state
    [   22.496229] br-wlan: port 1(eth0.1) entered forwarding state
    [   24.491094] br-wlan: port 1(eth0.1) entered forwarding state
    [   26.711544] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944
    [   26.711544]
    [   26.726391] Rebooting in 3 seconds..
    


  • Relatively unlikely to make a difference, by now that you've done the upgrade you might try booting it without the USB stick plugged in - it represents some additional load on the power circuitry, and adds some complexity of software possibilities.

    Generally speaking there are three categories of things that could be wrong

    • You could have installed a bad image, or at least one that's wrong for the board. Always failing in the same place in the boot sequence would be a hint of this, but it would seemingly not occur with a different image especially one that previously worked.

    • You could have a power issue that's causing memory corruption rather than an immediate reboot. Always failing in a part o the boot process that involves wifi would be indicative of this

    • You could theoretically have a badly soldered board or one with bad components, not so bad that memory detection fails right away in U-Boot as has happened in a small number of cases, but more "flaky". However if a boad-level issue this would seem likely to cause more random failures than specific ones. An actual bad memory cell could cause a consistent failure but seems yet less likely.



  • @Chris-Stratton The problem is, that it does not reboot. It stucks with that message!



  • @Mr.B said in Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944:

    @Chris-Stratton The problem is, that it does not reboot. It stucks with that message!

    There's a chance the CPU did reset, but was unable to read the flash chip because on boot it would be sending 3-byte addresses while the flash chip may still be expecting 4-byte ones from the settings in use before the crash.



  • @Chris-Stratton said in Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944:

    Relatively unlikely to make a difference, by now that you've done the upgrade you might try booting it without the USB stick plugged in - it represents some additional load on the power circuitry, and adds some complexity of software possibilities.

    Generally speaking there are three categories of things that could be wrong

    • You could have installed a bad image, or at least one that's wrong for the board. Always failing in the same place in the boot sequence would be a hint of this, but it would seemingly not occur with a different image especially one that previously worked.

    • You could have a power issue that's causing memory corruption rather than an immediate reboot. Always failing in a part o the boot process that involves wifi would be indicative of this

    • You could theoretically have a badly soldered board or one with bad components, not so bad that memory detection fails right away in U-Boot as has happened in a small number of cases, but more "flaky". However if a boad-level issue this would seem likely to cause more random failures than specific ones. An actual bad memory cell could cause a consistent failure but seems yet less likely.

    @Chris-Stratton said in Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944:

    @Mr.B said in Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8771d944:

    @Chris-Stratton The problem is, that it does not reboot. It stucks with that message!

    There's a chance the CPU did reset, but was unable to read the flash chip because on boot it would be sending 3-byte addresses while the flash chip may still be expecting 4-byte ones from the settings in use before the crash.

    and what can I do now?



  • This post is deleted!


  • This post is deleted!


  • This post is deleted!

  • administrators

    If you're experiencing this same issue in 2020, read on:

    Root Cause

    This kernel panic issue was caused by the WiFi driver used in firmware versions 0.1.x

    Resolution

    Upgrading the Omega's firmware will resolve this issue.
    All firmware released March 2018 and later (version 0.2.0 and up) use a completely overhauled and much more stable wifi driver.

    Use the bootloader and web recovery mode to install the latest firmware. See this guide for more details: http://docs.onion.io/omega2-docs/Firmware-Flashing-Web-Recovery.html



28 out of 32

Looks like your connection to Community was lost, please wait while we try to reconnect.