Omega won't boot after upgrade



  • Hi,
    After update I'm getting a kernel panic on boot. Attached is the output of the boot sequence. screenlog.0

    I connected my Omega today for the first time. I ran through the getting started stuff. I then connected to the console and did a 'oupgrade -check', which reported that there was an upgrade available. I ran 'oupgrade' and the update started. It then said something about not being able to write to something and I failed to take a screenshot of that. It left me at a place where I couldn't run anything (ie 'ls').

    I reboot it by unplugging and plugging back in the usb cable. It didn't come back up so I attached via screen and saw the attached file.

    Any thoughts on how I can get this back online?

    I don't have an ethernet expansion port, which seems like one way to do it.
    UPDATE: Perhaps over the serial connection?


  • administrators

    @Nate-Pink yikes, how long did you wait until unplugging the usb cable during the update?



  • I'm not sure exactly. The oupgrade returned some error and i poked around trying to see if I could do anything and then rebooted it. Maybe a minute or two?



  • @Nate-Pink Without knowing in detail what went wrong (could potentially have been an error in transferring the upgrade file), it may be worth your while to try a factory reset - press and hold the reset button for at least 15 seconds - you should be back to your original as supplied state - then try all again.



  • I'm probably doing it wrong (plugged in to computer with switch off, held button down and turned on).. but when I hold the button down, it gets to about 10 seconds and then launches the u-boot netconsole:


    • U-Boot 1.1.4 (Sep 14 2015, 08:21:31) *

    AP121 (AR9331) U-Boot for Onion Omega

    DRAM: 64 MB DDR2 16-bit
    id read ox100000ff
    FLASH: 16MCLOCKS: 400/400/200/20 MHz (CPU/RAM/AHB/SPI)

    LED on during eth initialization...

    Press reset button for at least:

    • 3 sec. to run web failsafe mode
    • 5 sec. to run U-Boot console
    • 7 sec. to run U-Boot netconsole

    Reset button is pressed for: 10

    Button was pressed for 10 sec...
    Starting U-Boot netconsole...


  • administrators

    @Nate-Pink It sounds like you unplugged it during the upgrade process... Its bricked now...
    You'll need to reflash the firmware using an Ethernet Expansion: https://wiki.onion.io/Tutorials/Reflash-The-Firmware-With-Ethernet-Expansion



  • Thanks. Ordered one and will revisit when it arrives.



  • Is it possible to fix it without Ethernet Shield?

    [   12.055427]
    [   12.056935] ---[ end trace dd70bb00ea6cf334 ]---
    [   12.069035] usbcore: registered new interface driver ums-alauda
    [   12.078255] usbcore: registered new interface driver ums-cypress
    [   12.087564] usbcore: registered new interface driver ums-datafab
    [   12.096565] usbcore: registered new interface driver ums-freecom
    [   12.105797] usbcore: registered new interface driver ums-isd200
    [   12.115044] usbcore: registered new interface driver ums-jumpshot
    [   12.124184] usbcore: registered new interface driver ums-karma
    [   12.133983] usbcore: registered new interface driver ums-sddr09
    [   12.143161] usbcore: registered new interface driver ums-sddr55
    [   12.152668] usbcore: registered new interface driver ums-usbat
    [   12.165082] usbcore: registered new interface driver usbhid
    [   12.170807] usbhid: USB HID core driver
    [   12.178516] usbcore: registered new interface driver usblp
    [   12.192776] usbcore: registered new interface driver usbserial
    [   12.198800] usbcore: registered new interface driver usbserial_generic
    [   12.205590] usbserial: USB Serial support registered for generic
    [   12.224574] Driver for 1-wire Dallas network protocol.
    [   12.251408] xt_time: kernel timezone is -0000
    [   12.258123] usbcore: registered new interface driver ch341
    [   12.263911] usbserial: USB Serial support registered for ch341-uart
    [   12.272737] usbcore: registered new interface driver cp210x
    [   12.278501] usbserial: USB Serial support registered for cp210x
    [   12.288153] usbcore: registered new interface driver ftdi_sio
    [   12.294211] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.313164] usbcore: registered new interface driver pl2303
    [   12.318931] usbserial: USB Serial support registered for pl2303
    [   12.330551] PPP generic driver version 2.4.2
    [   12.338166] NET: Registered protocol family 24
    [   12.356328] usbcore: registered new interface driver snd-usb-audio
    [   12.378467] usbcore: registered new interface driver uvcvideo
    [   12.384369] USB Video Class driver (1.1.1)
    [   12.395456] usbcore: registered new interface driver option
    [   12.401326] usbserial: USB Serial support registered for GSM modem (1-port)
    [   12.413938] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   12.658275] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
    [   12.865409] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
    [   25.049873] Kernel bug detected[#1]:
    [   25.053526] CPU: 0 PID: 1143 Comm: ifconfig Tainted: G        W       4.4.46 #0
    [   25.060940] task: 87da8508 ti: 873b2000 task.ti: 873b2000
    [   25.066410] $ 0   : 00000000 00000001 00000001 0000ff00
    [   25.071729] $ 4   : 8641a16c 00000000 00000000 00000001
    [   25.077037] $ 8   : 00000001 8641a1ac 00000000 353d7974
    [   25.082345] $12   : ffffffdf 00000058 00000000 00000041
    [   25.087654] $16   : 810c8340 0000016c 80430000 c04537dc
    [   25.092964] $20   : 8734e780 c044e000 873b0780 00000001
    [   25.098275] $24   : 00000000 80020694
    [   25.103587] $28   : 873b2000 873b3af8 00000001 870680a0
    [   25.108899] Hi    : 00000000
    [   25.111815] Lo    : 00000000
    [   25.114766] epc   : 800206a0 r4k_dma_cache_wback_inv+0xc/0xc8
    [   25.120947] ra    : 870680a0 linux_pci_map_single+0x88/0xb4 [mt76x8]
    [   25.127388] Status: 1100e402 KERNEL EXL
    [   25.131376] Cause : 10800034 (ExcCode 0d)
    [   25.135439] PrId  : 00019655 (MIPS 24KEc)
    [   25.139500] Modules linked in: pppoe ppp_async option w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack 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_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common 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 configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core 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 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   25.289586] Process ifconfig (pid: 1143, threadinfo=873b2000, task=87da8508, tls=773f7d48)
    [   25.297958] Stack : 87fe6000 873b3bcc 00000000 00000000 00000000 870680a0 87fe637a 87fe3000
              87fe6389 0000a230 a7686000 c044e000 c0527f54 8703a56c ffffffdf 00000058
              00000000 00000041 0000ff00 0000046c 00000010 00000001 8641a16c 00000000
              00000001 00000001 00000000 8641a16c 87fe6000 8734e780 00000000 c044e000
              8734e780 c0527f50 c052e000 c0527f6c c0527f7c 87039884 00000000 87062934
              ...
    [   25.334084] Call Trace:
    [   25.336584] [<800206a0>] r4k_dma_cache_wback_inv+0xc/0xc8
    [   25.342372] [<870680a0>] linux_pci_map_single+0x88/0xb4 [mt76x8]
    [   25.349084] [<8703a56c>] AndesMTPciKickOutCmdMsg+0x104/0x238 [mt76x8]
    [   25.356237] [<87039884>] AndesSendCmdMsg+0x1b4/0xd98 [mt76x8]
    [   25.362687] [<87039cc4>] AndesSendCmdMsg+0x5f4/0xd98 [mt76x8]
    [   25.368817]
    [   25.370326]
    Code: 27bdffe8  2ca20001  afbf0014 <00020336> 3c02803c  24426060  8c430008  7c630440  10600013
    [   25.380504] ---[ end trace dd70bb00ea6cf335 ]---
    [   25.388629] Fatal exception: panic in 5 seconds
    [   26.279726] Kernel bug detected[#2]:
    [   26.283560] CPU: 0 PID: 1144 Comm: RtmpCmdQTask Tainted: G      D W       4.4.46 #0
    [   26.291328] task: 87da8f18 ti: 873ae000 task.ti: 873ae000
    [   26.296798] $ 0   : 00000000 80410000 00000001 0000ff00
    [   26.302112] $ 4   : 8641a04c 00000000 00000000 00000001
    [   26.307422] $ 8   : 00000001 8641a088 00000000 00000000
    [   26.312731] $12   : 00000000 c044f7ac 00000000 00000000
    [   26.318041] $16   : 810c8340 0000004c 80430000 c04537dc
    [   26.323352] $20   : 87597f00 c044e000 873b0840 00000001
    [   26.328663] $24   : 00000000 80020694
    [   26.333974] $28   : 873ae000 873afce8 00000000 870680a0
    [   26.339288] Hi    : 00000000
    [   26.342204] Lo    : 00000000
    [   26.345155] epc   : 800206a0 r4k_dma_cache_wback_inv+0xc/0xc8
    [   26.351315] ra    : 870680a0 linux_pci_map_single+0x88/0xb4 [mt76x8]
    [   26.357756] Status: 1100e402 KERNEL EXL
    [   26.361745] Cause : 10800034 (ExcCode 0d)
    [   26.365809] PrId  : 00019655 (MIPS 24KEc)
    [   26.369869] Modules linked in: pppoe ppp_async option w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack 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_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common 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 configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core 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 aead crypto_null cryptomgr crc32c_generic crypto_hash
    [   26.519954] Process RtmpCmdQTask (pid: 1144, threadinfo=873ae000, task=87da8f18, tls=00000000)
    [   26.528679] Stack : 02020200 80086720 ffffffe4 875f6b60 87e04b00 870680a0 00000000 00200020
              875f6b60 00000000 a7686000 c044e000 c0527f54 8703a56c 00000000 00200020
              00000000 803caa00 0000ff00 803ca4c0 00000001 00000001 8641a04c 00000000
              00000001 00000001 00000000 8641a04c 803c8fa0 87597f00 00000000 c044e000
              87597f00 c0527f50 c052e000 c0527f6c c0527f7c 87039884 00000000 87062934
              ...
    [   26.564801] Call Trace:
    [   26.567302] [<800206a0>] r4k_dma_cache_wback_inv+0xc/0xc8
    [   26.573089] [<870680a0>] linux_pci_map_single+0x88/0xb4 [mt76x8]
    [   26.579803] [<8703a56c>] AndesMTPciKickOutCmdMsg+0x104/0x238 [mt76x8]
    [   26.586957] [<87039884>] AndesSendCmdMsg+0x1b4/0xd98 [mt76x8]
    [   26.593406] [<8703d588>] CmdSlotTimeSet+0xb4/0x1c4 [mt76x8]
    [   26.599682] [<87041014>] MtAsicSetSlotTime+0x20/0x2c [mt76x8]
    [   26.606130] [<8702a6d0>] CMDHandler+0x1b4/0x224 [mt76x8]
    [   26.612136] [<87066bc4>] RTPCICmdThread+0xb4/0x198 [mt76x8]
    [   26.618101] [<8003bf48>] kthread+0xd8/0xec
    [   26.622261] [<80004478>] ret_from_kernel_thread+0x14/0x1c
    [   26.627729]
    [   26.629236]
    Code: 27bdffe8  2ca20001  afbf0014 <00020336> 3c02803c  24426060  8c430008  7c630440  10600013
    [   26.639415] ---[ end trace dd70bb00ea6cf336 ]---
    [   26.646636] Fatal exception: panic in 5 seconds
    [   30.399601] Kernel panic - not syncing: Fatal exception
    [   30.407638] Rebooting in 3 seconds
    


  • Hi I am getting the index of / console error.
    

    When I make 192.168.3.1 it gives this error and it is not an IP conflict problem. Why do I get this error? How do we fix it? I'm waiting for your helpalt text



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