[RB-050/RB-100/RB-110] Kernel Panic problem

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
2 postsPage 1 of 1
2 postsPage 1 of 1

[RB-050/RB-100/RB-110] Kernel Panic problem

Post by gdo » Tue Jun 12, 2012 11:14 pm

Post by gdo
Tue Jun 12, 2012 11:14 pm

Hello,

I have a kernel panic occuring at boot just before /sbin/init to be launched.
To build my system, I use my script from there : http://robosavvy.com/forum/viewtopic.php?t=8011

Linux generic kernel from Ubuntu is working so I think it is due to the Roboard kernel configuration, but I cannot find what is missing...

If someone could tell me if he can reproduce or not on other roboard it would be very helpful. :wink:

Here is the trace :

Code: Select all
[    0.000000] Initializing cgroup subsys cpuset                                                                     
[    0.000000] Initializing cgroup subsys cpu                                                                       
[    0.000000] Linux version 2.6.34.10-vortex86-sg (root@debian) (gcc version 4.4.5 (Debian 4.4.5-8) ) #3 Tue Jul 12 02:05:36 CST 2011
[    0.000000] CPU: vendor_id 'Vortex86 SoC' unknown, using generic init.
[    0.000000] CPU: Your system may be unstable.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
[    0.000000]  BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS!
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x10000 max_arch_pfn = 0x100000
[    0.000000] init_memory_mapping: 0000000000000000-0000000010000000
[    0.000000] RAMDISK: 0fcbb000 - 0ffff000
[    0.000000] 256MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 10000000
[    0.000000]   low ram: 0 - 10000000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000001 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x00010000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000001 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x00010000
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 10000000 (gap: 10000000:ef000000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64926
[    0.000000] Kernel command line: init="/sbin/init --verbose" root=/dev/disk/by-label/30693 initrd=/boot/initrd.img-2.6.34.10-vortex86-sg console=ttyS0,115200n8 console=tty0 BOOT_IMAGE=/boot/vmlinuz-2.6
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] allocated 1310700 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Subtract (23 early reservations)
[    0.000000]   #0 [0001000000 - 00013d8ca0]   TEXT DATA BSS
[    0.000000]   #1 [000fcbb000 - 000ffff000]         RAMDISK
[    0.000000]   #2 [000009fc00 - 0000100000]   BIOS reserved
[    0.000000]   #3 [00013d9000 - 00013df000]             BRK
[    0.000000]   #4 [0000007000 - 0000041000]         PGTABLE
[    0.000000]   #5 [00013df000 - 00015df000]         BOOTMEM
[    0.000000]   #6 [00013d8ca0 - 00013d8ca4]         BOOTMEM
[    0.000000]   #7 [00013d8cb0 - 00013d8d30]         BOOTMEM
[    0.000000]   #8 [00013d8d30 - 00013d8d48]         BOOTMEM
[    0.000000]   #9 [00015df000 - 00015df800]         BOOTMEM
[    0.000000]   #10 [00013d8d50 - 00013d8df8]         BOOTMEM
[    0.000000]   #11 [00013d8e00 - 00013d8e40]         BOOTMEM
[    0.000000]   #12 [00013d8e40 - 00013d8e80]         BOOTMEM
[    0.000000]   #13 [00013d8e80 - 00013d8ec0]         BOOTMEM
[    0.000000]   #14 [00013d8ec0 - 00013d8f00]         BOOTMEM
[    0.000000]   #15 [00013d8f00 - 00013d8f40]         BOOTMEM
[    0.000000]   #16 [00013d8f40 - 00013d8f50]         BOOTMEM
[    0.000000]   #17 [00015df800 - 00015df8bc]         BOOTMEM
[    0.000000]   #18 [00015df8c0 - 00015df97c]         BOOTMEM
[    0.000000]   #19 [00015df980 - 00015e0980]         BOOTMEM
[    0.000000]   #20 [00015e0980 - 0001600980]         BOOTMEM
[    0.000000]   #21 [0001600980 - 0001610980]         BOOTMEM
[    0.000000]   #22 [0001611000 - 0001750fec]         BOOTMEM
[    0.000000] Memory: 250684k/262144k available (2498k kernel code, 11068k reserved, 918k data, 260k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfffe5000 - 0xfffff000   ( 104 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfffe3000   ( 759 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]       .init : 0xc1357000 - 0xc1398000   ( 260 kB)
[    0.000000]       .data : 0xc1270b52 - 0xc1356598   ( 918 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1270b52   (2498 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 1000.129 MHz processor.
[    0.010015] Calibrating delay loop (skipped), value calculated using timer frequency.. 2001.60 BogoMIPS (lpj=3333763)
[    0.016787] Mount-cache hash table entries: 512
[    0.020594] Initializing cgroup subsys debug
[    0.023351] Initializing cgroup subsys ns
[    0.026681] Initializing cgroup subsys cpuacct
[    0.030014] Initializing cgroup subsys memory
[    0.033375] Initializing cgroup subsys devices
[    0.036681] Initializing cgroup subsys freezer
[    0.040013] Initializing cgroup subsys blkio
[    0.043498] Performance Events:
[    0.046677] CPU: Vortex86 SoC 05/02 stepping 02
[    0.051776] Checking 'hlt' instruction... OK.
[    0.071817] NET: Registered protocol family 16
[    0.088364] PCI: Using configuration type 1 for base access
[    0.110412] bio: create slab <bio> at 0
[    0.115349] vgaarb: loaded
[    0.120825] SCSI subsystem initialized
[    0.124458] PCI: Probing PCI hardware
[    0.131814] vgaarb: device added: PCI:0000:00:03.0,decodes=io+mem,owns=io+mem,locks=none
[    0.136978] pci 0000:00:07.0: default IRQ router [17f3:6031]
[    0.140223] pci 0000:00:0a.0: address space collision: [mem 0x000e2000-0x000e2fff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.143370] pci 0000:00:0a.1: address space collision: [mem 0x000e3000-0x000e30ff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.146699] pci 0000:00:0b.0: address space collision: [mem 0x000e0000-0x000e0fff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.150031] pci 0000:00:0b.1: address space collision: [mem 0x000e1000-0x000e10ff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.157321] Switching to clocksource tsc
[    0.172167] pci 0000:00:0c.0: BAR 6: assigned [mem 0x10000000-0x1001ffff pref]
[    0.179550] pci 0000:00:0a.0: BAR 0: assigned [mem 0x10020000-0x10020fff]
[    0.186455] pci 0000:00:0a.0: BAR 0: set to [mem 0x10020000-0x10020fff] (PCI address [0x10020000-0x10020fff]
[    0.196412] pci 0000:00:0b.0: BAR 0: assigned [mem 0x10021000-0x10021fff]
[    0.203310] pci 0000:00:0b.0: BAR 0: set to [mem 0x10021000-0x10021fff] (PCI address [0x10021000-0x10021fff]
[    0.213270] pci 0000:00:0a.1: BAR 0: assigned [mem 0x10022000-0x100220ff]
[    0.220170] pci 0000:00:0a.1: BAR 0: set to [mem 0x10022000-0x100220ff] (PCI address [0x10022000-0x100220ff]
[    0.230124] pci 0000:00:0b.1: BAR 0: assigned [mem 0x10022100-0x100221ff]
[    0.237021] pci 0000:00:0b.1: BAR 0: set to [mem 0x10022100-0x100221ff] (PCI address [0x10022100-0x100221ff]
[    0.247173] NET: Registered protocol family 2
[    0.251804] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259304] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.266738] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.273402] TCP: Hash tables configured (established 8192 bind 8192)
[    0.279846] TCP reno registered
[    0.283077] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.289024] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.295616] NET: Registered protocol family 1
[    1.631675] pci 0000:00:0a.1: EHCI: BIOS handoff failed (BIOS bug?) 01010001
[    2.971409] pci 0000:00:0b.1: EHCI: BIOS handoff failed (BIOS bug?) 01010001
[    2.979038] Unpacking initramfs...
[    3.646410] Freeing initrd memory: 3344k freed
[    3.667335] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    3.675153] apm: BIOS not found.
[    3.680627] audit: initializing netlink socket (disabled)
[    3.686269] type=2000 audit(1338457863.686:1): initialized
[    3.723078] msgmni has been set to 496
[    3.728397] alg: No test for stdrng (krng)
[    3.732687] io scheduler noop registered
[    3.736712] io scheduler deadline registered
[    3.741814] io scheduler cfq registered (default)
[    3.748358] isapnp: Scanning for PnP cards...
[    4.109437] isapnp: No Plug & Play device found
[    4.602989] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    4.609956] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    4.617192] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    4.634462] loop: module loaded
[    4.639619] scsi0 : pata_it821x
[    4.644078] scsi1 : pata_it821x
[    4.648235] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f4 bmdma 0xfff0 irq 14
[    4.655330] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x374 bmdma 0xfff8 irq 14
[    4.665011] PNP: No PS/2 controller found. Probing ports directly.
[    4.921235] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.926745] ata1.00: ATA-6: SU08G     RDC SD-IDE HOST CONTROLLER, 01000000, max UDMA/133
[    4.934978] ata1.00: 15523840 sectors, multi 0: LBA
[    4.940163] ata1.00: limited to UDMA/33 due to 40-wire cable
[    4.948391] mice: PS/2 mouse device common for all mice
[    4.955496] input: PC Speaker as /devices/platform/pcspkr/input/input0
[    4.962903] ata1.00: configured for UDMA/33
[    4.967835] scsi 0:0:0:0: Direct-Access     ATA      SU08G     RDC SD 0100 PQ: 0 ANSI: 5
[    4.978154] NET: Registered protocol family 17
[    4.988327] sd 0:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[    4.997076] sd 0:0:0:0: [sda] Write Protect is off
[    5.002253] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.012974]  sda: sda1
[    5.021708] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.157822] Freeing unused kernel memory: 260k freed
[    5.165313] Kernel panic - not syncing: Attempted to kill init!
[    5.171380] Pid: 1, comm: init Not tainted 2.6.34.10-vortex86-sg #3
[    5.177736] Call Trace:
[    5.180277]  [<c126e21a>] ? panic+0x37/0x91
[    5.184566]  [<c10251bd>] ? do_exit+0x56d/0x660
[    5.189198]  [<c10252d9>] ? do_group_exit+0x29/0x80
[    5.194182]  [<c1030e97>] ? get_signal_to_deliver+0x197/0x3a0
[    5.200030]  [<c10035b0>] ? do_invalid_op+0x0/0x80
[    5.204916]  [<c1001fc4>] ? do_signal+0x64/0x840
[    5.209644]  [<c1014a36>] ? do_page_fault+0x136/0x380
[    5.214796]  [<c1014aae>] ? do_page_fault+0x1ae/0x380
[    5.219947]  [<c1014a36>] ? do_page_fault+0x136/0x380
[    5.225095]  [<c1014aae>] ? do_page_fault+0x1ae/0x380
[    5.230269]  [<c1007b69>] ? sys_execve+0x39/0x70
[    5.234984]  [<c1002932>] ? ptregs_execve+0x12/0x20
[    5.239967]  [<c126fcbe>] ? work_notifysig+0x13/0x25
[    5.245029]  [<c10035b0>] ? do_invalid_op+0x0/0x80
[    5.249916]  [<c10027d8>] ? do_notify_resume+0x38/0x40
[    5.255155]  [<c126fcbe>] ? work_notifysig+0x13/0x25
[    5.260218]  [<c10035b0>] ? do_invalid_op+0x0/0x80


Thanks,
gdo
Hello,

I have a kernel panic occuring at boot just before /sbin/init to be launched.
To build my system, I use my script from there : http://robosavvy.com/forum/viewtopic.php?t=8011

Linux generic kernel from Ubuntu is working so I think it is due to the Roboard kernel configuration, but I cannot find what is missing...

If someone could tell me if he can reproduce or not on other roboard it would be very helpful. :wink:

Here is the trace :

Code: Select all
[    0.000000] Initializing cgroup subsys cpuset                                                                     
[    0.000000] Initializing cgroup subsys cpu                                                                       
[    0.000000] Linux version 2.6.34.10-vortex86-sg (root@debian) (gcc version 4.4.5 (Debian 4.4.5-8) ) #3 Tue Jul 12 02:05:36 CST 2011
[    0.000000] CPU: vendor_id 'Vortex86 SoC' unknown, using generic init.
[    0.000000] CPU: Your system may be unstable.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
[    0.000000]  BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS!
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x10000 max_arch_pfn = 0x100000
[    0.000000] init_memory_mapping: 0000000000000000-0000000010000000
[    0.000000] RAMDISK: 0fcbb000 - 0ffff000
[    0.000000] 256MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 10000000
[    0.000000]   low ram: 0 - 10000000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000001 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x00010000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000001 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x00010000
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 10000000 (gap: 10000000:ef000000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64926
[    0.000000] Kernel command line: init="/sbin/init --verbose" root=/dev/disk/by-label/30693 initrd=/boot/initrd.img-2.6.34.10-vortex86-sg console=ttyS0,115200n8 console=tty0 BOOT_IMAGE=/boot/vmlinuz-2.6
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] allocated 1310700 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Subtract (23 early reservations)
[    0.000000]   #0 [0001000000 - 00013d8ca0]   TEXT DATA BSS
[    0.000000]   #1 [000fcbb000 - 000ffff000]         RAMDISK
[    0.000000]   #2 [000009fc00 - 0000100000]   BIOS reserved
[    0.000000]   #3 [00013d9000 - 00013df000]             BRK
[    0.000000]   #4 [0000007000 - 0000041000]         PGTABLE
[    0.000000]   #5 [00013df000 - 00015df000]         BOOTMEM
[    0.000000]   #6 [00013d8ca0 - 00013d8ca4]         BOOTMEM
[    0.000000]   #7 [00013d8cb0 - 00013d8d30]         BOOTMEM
[    0.000000]   #8 [00013d8d30 - 00013d8d48]         BOOTMEM
[    0.000000]   #9 [00015df000 - 00015df800]         BOOTMEM
[    0.000000]   #10 [00013d8d50 - 00013d8df8]         BOOTMEM
[    0.000000]   #11 [00013d8e00 - 00013d8e40]         BOOTMEM
[    0.000000]   #12 [00013d8e40 - 00013d8e80]         BOOTMEM
[    0.000000]   #13 [00013d8e80 - 00013d8ec0]         BOOTMEM
[    0.000000]   #14 [00013d8ec0 - 00013d8f00]         BOOTMEM
[    0.000000]   #15 [00013d8f00 - 00013d8f40]         BOOTMEM
[    0.000000]   #16 [00013d8f40 - 00013d8f50]         BOOTMEM
[    0.000000]   #17 [00015df800 - 00015df8bc]         BOOTMEM
[    0.000000]   #18 [00015df8c0 - 00015df97c]         BOOTMEM
[    0.000000]   #19 [00015df980 - 00015e0980]         BOOTMEM
[    0.000000]   #20 [00015e0980 - 0001600980]         BOOTMEM
[    0.000000]   #21 [0001600980 - 0001610980]         BOOTMEM
[    0.000000]   #22 [0001611000 - 0001750fec]         BOOTMEM
[    0.000000] Memory: 250684k/262144k available (2498k kernel code, 11068k reserved, 918k data, 260k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfffe5000 - 0xfffff000   ( 104 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfffe3000   ( 759 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]       .init : 0xc1357000 - 0xc1398000   ( 260 kB)
[    0.000000]       .data : 0xc1270b52 - 0xc1356598   ( 918 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1270b52   (2498 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 1000.129 MHz processor.
[    0.010015] Calibrating delay loop (skipped), value calculated using timer frequency.. 2001.60 BogoMIPS (lpj=3333763)
[    0.016787] Mount-cache hash table entries: 512
[    0.020594] Initializing cgroup subsys debug
[    0.023351] Initializing cgroup subsys ns
[    0.026681] Initializing cgroup subsys cpuacct
[    0.030014] Initializing cgroup subsys memory
[    0.033375] Initializing cgroup subsys devices
[    0.036681] Initializing cgroup subsys freezer
[    0.040013] Initializing cgroup subsys blkio
[    0.043498] Performance Events:
[    0.046677] CPU: Vortex86 SoC 05/02 stepping 02
[    0.051776] Checking 'hlt' instruction... OK.
[    0.071817] NET: Registered protocol family 16
[    0.088364] PCI: Using configuration type 1 for base access
[    0.110412] bio: create slab <bio> at 0
[    0.115349] vgaarb: loaded
[    0.120825] SCSI subsystem initialized
[    0.124458] PCI: Probing PCI hardware
[    0.131814] vgaarb: device added: PCI:0000:00:03.0,decodes=io+mem,owns=io+mem,locks=none
[    0.136978] pci 0000:00:07.0: default IRQ router [17f3:6031]
[    0.140223] pci 0000:00:0a.0: address space collision: [mem 0x000e2000-0x000e2fff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.143370] pci 0000:00:0a.1: address space collision: [mem 0x000e3000-0x000e30ff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.146699] pci 0000:00:0b.0: address space collision: [mem 0x000e0000-0x000e0fff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.150031] pci 0000:00:0b.1: address space collision: [mem 0x000e1000-0x000e10ff] conflicts with reserved [mem 0x000e0000-0x000fffff]
[    0.157321] Switching to clocksource tsc
[    0.172167] pci 0000:00:0c.0: BAR 6: assigned [mem 0x10000000-0x1001ffff pref]
[    0.179550] pci 0000:00:0a.0: BAR 0: assigned [mem 0x10020000-0x10020fff]
[    0.186455] pci 0000:00:0a.0: BAR 0: set to [mem 0x10020000-0x10020fff] (PCI address [0x10020000-0x10020fff]
[    0.196412] pci 0000:00:0b.0: BAR 0: assigned [mem 0x10021000-0x10021fff]
[    0.203310] pci 0000:00:0b.0: BAR 0: set to [mem 0x10021000-0x10021fff] (PCI address [0x10021000-0x10021fff]
[    0.213270] pci 0000:00:0a.1: BAR 0: assigned [mem 0x10022000-0x100220ff]
[    0.220170] pci 0000:00:0a.1: BAR 0: set to [mem 0x10022000-0x100220ff] (PCI address [0x10022000-0x100220ff]
[    0.230124] pci 0000:00:0b.1: BAR 0: assigned [mem 0x10022100-0x100221ff]
[    0.237021] pci 0000:00:0b.1: BAR 0: set to [mem 0x10022100-0x100221ff] (PCI address [0x10022100-0x100221ff]
[    0.247173] NET: Registered protocol family 2
[    0.251804] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259304] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.266738] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.273402] TCP: Hash tables configured (established 8192 bind 8192)
[    0.279846] TCP reno registered
[    0.283077] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.289024] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.295616] NET: Registered protocol family 1
[    1.631675] pci 0000:00:0a.1: EHCI: BIOS handoff failed (BIOS bug?) 01010001
[    2.971409] pci 0000:00:0b.1: EHCI: BIOS handoff failed (BIOS bug?) 01010001
[    2.979038] Unpacking initramfs...
[    3.646410] Freeing initrd memory: 3344k freed
[    3.667335] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    3.675153] apm: BIOS not found.
[    3.680627] audit: initializing netlink socket (disabled)
[    3.686269] type=2000 audit(1338457863.686:1): initialized
[    3.723078] msgmni has been set to 496
[    3.728397] alg: No test for stdrng (krng)
[    3.732687] io scheduler noop registered
[    3.736712] io scheduler deadline registered
[    3.741814] io scheduler cfq registered (default)
[    3.748358] isapnp: Scanning for PnP cards...
[    4.109437] isapnp: No Plug & Play device found
[    4.602989] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    4.609956] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    4.617192] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    4.634462] loop: module loaded
[    4.639619] scsi0 : pata_it821x
[    4.644078] scsi1 : pata_it821x
[    4.648235] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f4 bmdma 0xfff0 irq 14
[    4.655330] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x374 bmdma 0xfff8 irq 14
[    4.665011] PNP: No PS/2 controller found. Probing ports directly.
[    4.921235] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.926745] ata1.00: ATA-6: SU08G     RDC SD-IDE HOST CONTROLLER, 01000000, max UDMA/133
[    4.934978] ata1.00: 15523840 sectors, multi 0: LBA
[    4.940163] ata1.00: limited to UDMA/33 due to 40-wire cable
[    4.948391] mice: PS/2 mouse device common for all mice
[    4.955496] input: PC Speaker as /devices/platform/pcspkr/input/input0
[    4.962903] ata1.00: configured for UDMA/33
[    4.967835] scsi 0:0:0:0: Direct-Access     ATA      SU08G     RDC SD 0100 PQ: 0 ANSI: 5
[    4.978154] NET: Registered protocol family 17
[    4.988327] sd 0:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[    4.997076] sd 0:0:0:0: [sda] Write Protect is off
[    5.002253] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.012974]  sda: sda1
[    5.021708] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.157822] Freeing unused kernel memory: 260k freed
[    5.165313] Kernel panic - not syncing: Attempted to kill init!
[    5.171380] Pid: 1, comm: init Not tainted 2.6.34.10-vortex86-sg #3
[    5.177736] Call Trace:
[    5.180277]  [<c126e21a>] ? panic+0x37/0x91
[    5.184566]  [<c10251bd>] ? do_exit+0x56d/0x660
[    5.189198]  [<c10252d9>] ? do_group_exit+0x29/0x80
[    5.194182]  [<c1030e97>] ? get_signal_to_deliver+0x197/0x3a0
[    5.200030]  [<c10035b0>] ? do_invalid_op+0x0/0x80
[    5.204916]  [<c1001fc4>] ? do_signal+0x64/0x840
[    5.209644]  [<c1014a36>] ? do_page_fault+0x136/0x380
[    5.214796]  [<c1014aae>] ? do_page_fault+0x1ae/0x380
[    5.219947]  [<c1014a36>] ? do_page_fault+0x136/0x380
[    5.225095]  [<c1014aae>] ? do_page_fault+0x1ae/0x380
[    5.230269]  [<c1007b69>] ? sys_execve+0x39/0x70
[    5.234984]  [<c1002932>] ? ptregs_execve+0x12/0x20
[    5.239967]  [<c126fcbe>] ? work_notifysig+0x13/0x25
[    5.245029]  [<c10035b0>] ? do_invalid_op+0x0/0x80
[    5.249916]  [<c10027d8>] ? do_notify_resume+0x38/0x40
[    5.255155]  [<c126fcbe>] ? work_notifysig+0x13/0x25
[    5.260218]  [<c10035b0>] ? do_invalid_op+0x0/0x80


Thanks,
gdo
gdo offline
Savvy Roboteer
Savvy Roboteer
Posts: 34
Joined: Fri Dec 17, 2010 5:47 pm

Re: [RB-050/RB-100/RB-110] Kernel Panic problem

Post by roboard » Fri Jun 15, 2012 2:25 am

Post by roboard
Fri Jun 15, 2012 2:25 am

Hi gdo,

The problem is caused by our kernel package is lack of some scripts that could automatically generate initramfs file for corresponding kernel, so the kenrel will not find the device node of root filesystem when booting.

We suggest that you could modify your script as follows:
Code: Select all
--- make_distro.sh.orig   2012-06-14 19:59:55.934585820 +0800
+++ make_distro.sh   2012-06-15 08:50:06.289936632 +0800
@@ -270,8 +270,17 @@ apt_dpkg_work()
                 #done
         fi
 
-        chroot ${TARGET_PATH} update-initramfs -c -k all
-        check_result $?
+        for kernel in ${TARGET_PATH}/boot/vmlinuz*;
+        do
+                kernel=$(basename ${kernel})
+                version=$(echo ${kernel} | sed s/vmlinuz-//)
+
+                chroot ${TARGET_PATH} update-initramfs -c -t -k $version
+                check_result $?
+        done
+
+        #chroot ${TARGET_PATH} update-initramfs -c -k all
+        #check_result $?
 
         print_ok
 }
Hi gdo,

The problem is caused by our kernel package is lack of some scripts that could automatically generate initramfs file for corresponding kernel, so the kenrel will not find the device node of root filesystem when booting.

We suggest that you could modify your script as follows:
Code: Select all
--- make_distro.sh.orig   2012-06-14 19:59:55.934585820 +0800
+++ make_distro.sh   2012-06-15 08:50:06.289936632 +0800
@@ -270,8 +270,17 @@ apt_dpkg_work()
                 #done
         fi
 
-        chroot ${TARGET_PATH} update-initramfs -c -k all
-        check_result $?
+        for kernel in ${TARGET_PATH}/boot/vmlinuz*;
+        do
+                kernel=$(basename ${kernel})
+                version=$(echo ${kernel} | sed s/vmlinuz-//)
+
+                chroot ${TARGET_PATH} update-initramfs -c -t -k $version
+                check_result $?
+        done
+
+        #chroot ${TARGET_PATH} update-initramfs -c -k all
+        #check_result $?
 
         print_ok
 }
roboard offline
Savvy Roboteer
Savvy Roboteer
Posts: 302
Joined: Fri Jul 03, 2009 4:44 am


2 postsPage 1 of 1
2 postsPage 1 of 1
cron