Raspi 3 - Update to kernel 4.4.38.5 - KERNEL PANIC

Hi!

Just updated 2 Raspi 3B with latest updates including kernel update to 4.4.38.5, after rebooting one came back normally, one is in panic, even after power cycling:

U-Boot 2016.09.01 (Oct 29 2016 - 10:33:23 +0000)                                
                                                                                
DRAM:  880 MiB                                                                  
RPI 3 Model B (0xa02082)                                                        
MMC:   bcm2835_sdhci: 0                                                         
reading uboot.env                                                               
                                                                                
** Unable to read "uboot.env" from mmc0:1 **                                    
Using default environment                                                       
                                                                                
In:    serial                                                                   
Out:   lcd                                                                      
Err:   lcd                                                                      
Net:   Net Initialization Skipped                                               
No ethernet found.                                                              
starting USB...                                                                 
USB0:   Core Release: 2.80a                                                     
scanning bus 0 for devices... 3 USB Device(s) found                             
       scanning usb for storage devices... 0 Storage Device(s) found            
       scanning usb for ethernet devices... 1 Ethernet Device(s) found          
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc0 is current device                                                          
Scanning mmc 0:1...                                                             
7192 bytes read in 79 ms (88.9 KiB/s)                                           
Found EFI removable media binary efi/boot/bootaa64.efi                          
reading efi/boot/bootaa64.efi                                                   
128000 bytes read in 28 ms (4.4 MiB/s)                                          
## Starting EFI application at 0x01000000 ...                                   
Scanning disks on usb...                                                        
Scanning disks on mmc...                                                        
MMC Device 1 not found                                                          
MMC Device 2 not found                                                          
MMC Device 3 not found                                                          
Found 5 disks                                                                   
Welcome to GRUB!                                                                
                                                                                
Please press t to show the boot menu on this console                            
EFI stub: Booting Linux Kernel...                                               
EFI stub: UEFI Secure Boot is enabled.                                          
EFI stub: Using DTB from configuration table                                    
EFI stub: Exiting boot services and installing virtual address map...           
    0.150949] kvm [1]: error: KVM vGIC probing failed                          
    0.166409] bcm2835-aux-uart 3f215040.serial: could not get clk: -517        
    0.188754] VFS: Cannot open root device "disk/by-id/mmc-SL08G_0x034ba914-pa6
    0.188766] Please append a correct "root=" boot option; here are the availa:
    0.188772] Kernel panic - not syncing: VFS: Unable to mount root fs on unkn)
    0.188779] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.38-5-default #1    
    0.188781] Hardware name: raspberrypi rpi/rpi, BIOS 2016.09.01 10/29/2016   
    0.188783] Call trace:                                                      
    0.188793] <ffff80000008a340>] dump_backtrace+0x0/0x188                    
    0.188798] <ffff80000008a4ec>] show_stack+0x24/0x30                        
    0.188806] <ffff8000003e5990>] dump_stack+0x98/0xb8                        
    0.188816] <ffff8000001c5168>] panic+0x118/0x25c                           
    0.188820] <ffff800000c6dff8>] mount_block_root+0x230/0x2d0                
    0.188823] <ffff800000c6e10c>] mount_root+0x74/0x84                        
    0.188826] <ffff800000c6e254>] prepare_namespace+0x138/0x180               
    0.188830] <ffff800000c6dc00>] kernel_init_freeable+0x240/0x264            
    0.188836] <ffff800000749c40>] kernel_init+0x20/0xf0                       
    0.188840] <ffff800000085d90>] ret_from_fork+0x10/0x40                     
    0.188848] CPU0: stopping                                                   
    0.188852] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.38-5-default #1    
    0.188853] Hardware name: raspberrypi rpi/rpi, BIOS 2016.09.01 10/29/2016   
    0.188855] Call trace:                                                      
    0.188860] <ffff80000008a340>] dump_backtrace+0x0/0x188                    
    0.188864] <ffff80000008a4ec>] show_stack+0x24/0x30                        
    0.188868] <ffff8000003e5990>] dump_stack+0x98/0xb8                        
    0.188874] <ffff80000009017c>] handle_IPI+0x2a4/0x2b8                      
    0.188878] <ffff8000000825c0>] bcm2836_arm_irqchip_handle_irq+0xc0/0xd0    
    0.188881] Exception stack(0xffff800000d53dc0 to 0xffff800000d53ef0)        
    0.188885] 3dc0: ffff800000d56000 0000000000000000 ffff800000d53f00 00000000
    0.188889] 3de0: 0000000000000000 0100000000000000 0100000000000000 00000000
    0.188893] 3e00: ffff800000d56b98 00000000ffff8ae0 ffff800000d61fd0 ffff8000
    0.188896] 3e20: 00000000000009f0 0000000000000001 ffff80002f39cb00 00000001
    0.188899] 3e40: 000000000000000c ffff800000d56b10 000000000000000f 00000003
    0.188903] 3e60: 0000000000000001 ffff800000d56000 ffff800000d56b98 ffff8000
    0.188906] 3e80: 0000000000000000 0000000000000000 ffff800000e3d000 ffff8008
    0.188910] 3ea0: ffff800000d53f30 ffff800000762000 ffff800000d50000 ffff8000
    0.188914] 3ec0: ffff800000086660 ffff800000d53f00 ffff800000086664 00000005
    0.188916] 3ee0: 00000000000000c0 ffff800000d56b98                          
    0.188920] <ffff800000085700>] el1_irq+0x80/0x100                          
    0.188926] <ffff800000108b3c>] default_idle_call+0x24/0x40                 
    0.188930] <ffff800000108de4>] cpu_startup_entry+0x28c/0x2e8               
    0.188933] <ffff800000749c18>] rest_init+0x80/0x88                         
    0.188936] <ffff800000c6d9ac>] start_kernel+0x3dc/0x3f0                    
    0.188940] <0000000000753000>] 0x753000                                    
    0.188943] CPU2: stopping                                                   
    0.188947] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.4.38-5-default #1    
    0.188948] Hardware name: raspberrypi rpi/rpi, BIOS 2016.09.01 10/29/2016   
    0.188949] Call trace:                                                      
    0.188954] <ffff80000008a340>] dump_backtrace+0x0/0x188                    
    0.188959] <ffff80000008a4ec>] show_stack+0x24/0x30                        
    0.188963] <ffff8000003e5990>] dump_stack+0x98/0xb8                        
    0.188966] <ffff80000009017c>] handle_IPI+0x2a4/0x2b8                      
    0.188970] <ffff8000000825c0>] bcm2836_arm_irqchip_handle_irq+0xc0/0xd0    
    0.188972] Exception stack(0xffff80002f2c3e00 to 0xffff80002f2c3f30)        
    0.188976] 3e00: ffff800000d56000 0000000000000000 ffff80002f2c3f40 00000000
    0.188980] 3e20: 0000000000000000 0100000000000000 0100000000000000 00000002
    0.188983] 3e40: ffff800000d56b98 00000000ffff8ae0 ffff80002f27abd0 ffff8000
    0.188987] 3e60: 00000000000009f0 0000000000000018 0000000000000000 00000001
    0.188990] 3e80: ffff80002f83168a ffff800000d56b10 00000000a7dc210e 00000000
    0.188994] 3ea0: 0000000000000001 ffff800000d56000 ffff800000d56b98 ffff8000
    0.188997] 3ec0: 0000000000000000 0000000000000000 ffff800000e3d000 ffff8008
    0.189001] 3ee0: ffff80002f2c3f70 ffff800000762000 ffff80002f2c0000 ffff8000
    0.189004] 3f00: ffff800000086660 ffff80002f2c3f40 ffff800000086664 00000005
    0.189007] 3f20: 00000000000000c0 ffff800000d56b98                          
    0.189011] <ffff800000085700>] el1_irq+0x80/0x100                          
    0.189014] <ffff800000108b3c>] default_idle_call+0x24/0x40                 
    0.189018] <ffff800000108de4>] cpu_startup_entry+0x28c/0x2e8               
    0.189022] <ffff80000008fadc>] secondary_start_kernel+0x134/0x148          
    0.189024] <000000000008295c>] 0x8295c                                     
    0.199319] CPU3: stopping                                                   
    0.199323] CPU: 3 PID: 62 Comm: printk Not tainted 4.4.38-5-default #1      
    0.199325] Hardware name: raspberrypi rpi/rpi, BIOS 2016.09.01 10/29/2016   
    0.199326] Call trace:                                                      
    0.199331] <ffff80000008a340>] dump_backtrace+0x0/0x188                    
    0.199335] <ffff80000008a4ec>] show_stack+0x24/0x30                        
    0.199339] <ffff8000003e5990>] dump_stack+0x98/0xb8                        
    0.199343] <ffff80000009017c>] handle_IPI+0x2a4/0x2b8                      
    0.199346] <ffff8000000825c0>] bcm2836_arm_irqchip_handle_irq+0xc0/0xd0    
    0.199349] Exception stack(0xffff80002f7e3c10 to 0xffff80002f7e3d40)        
    0.199352] 3c00:                                   ffff800000e63000 ffff800c
    0.199355] 3c20: 0000000000000000 cb88537fdc8ba626 0000000000000000 ffff8000
    0.199359] 3c40: ffff800000f526b8 ffff800000e3c1a1 0000000000000001 00000001
    0.199362] 3c60: ffff0000002b29e0 0000000000000001 00000000ffffffff ffff8000
    0.199366] 3c80: ffff80002f77e220 0000000000000020 0000000000000001 ffff8000
    0.199369] 3ca0: 0000000000000001 0000000000000007 0000000000000010 ffff8000
    0.199373] 3cc0: ffff800000ea2000 ffff800000d7a000 0000000000000040 00000004
    0.199376] 3ce0: ffff800000e637a8 ffff800000ea3bf0 ffff800000e63230 ffff8000
    0.199380] 3d00: ffff800000e66a58 ffff80002f7e3d50 ffff800000116648 ffff8000
    0.199383] 3d20: ffff80000011664c 0000000040000045 0000000000000004 ffff8008
    0.199387] <ffff800000085700>] el1_irq+0x80/0x100                          
    0.199392] <ffff800000117820>] printk_kthread_func+0x80/0xa0               
    0.199398] <ffff8000000e11ac>] kthread+0xe4/0xf8                           
    0.199401] <ffff800000085d90>] ret_from_fork+0x10/0x40                     
    1.008909] --- end Kernel panic - not syncing: VFS: Unable to mount root f)

switching back to 4.4.38.4 resolves issue for the moment, but how to move forward now? :\

Many thanks in advance…

Yes,
There is something extremely wrong.

The output you posted suggests that the software you’re installing is intended for the original first version RPi whereas you’re saying that you’re installing on a 3rd generation RPi. “bcm2835” is uniquely <only> first generation and RPi Zero.

Recommend you download and upgrade to a brand new image downloaded from this page

https://en.opensuse.org/HCL:Raspberry_Pi3

In fact, even if your other RPi 3 was upgraded successfully, if it was done the same way as your problem board, that you do the same for that one.

TSU

Hi TSU!

Thanks for your reply. The update came via the built-in autoupdate functionality of the XFCE desktop.

As there was no reply here, I went to Softwaremanager in YaST and removed the bad kernel. Found a new 4.4.38.5.2 (the bad one was .1) and installed. Reboot went fine.

On the other raspi 3 I also moved from 4.4.38.5.1 to 5.2 manually in Yast, went fine. The raspi 3 have the TW from here

http://download.opensuse.org/repositories/home:/StefanBruens:/branches:/devel:/ARM:/Factory:/Contrib:/RaspberryPi3/images/

doing fine and very stable, no random-MAC on reboot or other garbage. Only problem I found yet is with large Wireshark sessions, filling up the RAM (and crashing Wireshark), while no such problem in Raspi 2 with TW (rather old install from late summer with frequent zypper dup --no-allow-vendor-change).

Again thanks for your reply these busy days :slight_smile: