[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel panic on A4000 with 3.2.0-4-amiga



Hi!

Another day, another problem... ;-) 

After discovering that newest 3.2.0-4-amiga solves my schroot problem, I wanted to deploy the kernel on Elgar, an A4000/060 as well. Sadly it panics right after loading the kernel. 

Here's the dmesg output: 

-------------------------
Searching for SAVEKMSG magic...
Found 7458 bytes at 0x001e0010
>>>>>>>>>>>>>>>>>>>>
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-4-amiga (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14+m68k.2) ) #1 Debian 3.2.35-1
[    0.000000] Enabling workaround for errata I14
[    0.000000] console [debug0] enabled
[    0.000000] Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 
[    0.000000] Ignoring memory chunk at 0x7400000:0xc00000 before the first chunk
[    0.000000] Fix your bootloader or use a memfile to make use of this area!
[    0.000000] bootmem::init_bootmem_core nid=0 start=8000 map=83e2 end=10000 mapsize=1000
[    0.000000] bootmem::mark_bootmem_node nid=0 start=83e3 end=8400 reserve=0 flags=0
[    0.000000] bootmem::__free nid=0 start=83e3 end=8400
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e3 end=83e4 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e4 end=83e5 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e5 end=83e6 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e6 end=83e7 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e7 end=83e8 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e8 end=83e9 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e9 end=83ea flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ea end=83eb flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83eb end=83ec flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ec end=83ed flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ed end=83ee flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ee end=83ef flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ef end=83f0 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f0 end=83f1 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f1 end=83f2 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f2 end=83f3 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f3 end=83f4 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f4 end=83f5 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f5 end=83f6 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f6 end=83f7 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f7 end=83f8 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f8 end=83f9 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f9 end=83fa flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fa end=83fb flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fb end=83fc flags=1

[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fc end=83fd flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fd end=83fe flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fe end=83ff flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ff end=8400 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem alloc of 4096 bytes failed!
[    0.000000] Kernel panic - not syncing: Out of memory
[    0.000000] Call Trace: [<002a8aa8>] panic+0x54/0x198
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00001b80>] kernel_pg_dir+0xb80/0x1000
[    0.000000]  [<0000100c>] kernel_pg_dir+0xc/0x1000
[    0.000000]  [<003bfbe4>] kernel_ptr_table+0x0/0x120
[    0.000000]  [<00198cc0>] memset+0x0/0x8c
[    0.000000]  [<003c550e>] bootmem_bootmap_pages+0x0/0x1a
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<003c5a6c>] __alloc_bootmem_low+0x14/0x1c
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<003bfe34>] map_node+0x130/0x24e
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00008000>] amiga_get_hardware_list+0x240/0x648
[    0.000000]  [<000127d0>] _060_fpsp_effadd+0x1cc/0xd518
[    0.000000]  [<0000ffff>] sto_res+0xeb/0x4f0
[    0.000000]  [<003c5814>] free_bootmem_node+0x0/0x34
[    0.000000]  [<003c014e>] paging_init+0x1fc/0x2f2
[    0.000000]  [<0001d000>] _060_fpsp_effadd+0xa9fc/0xd518
[    0.000000]  [<000012d8>] kernel_pg_dir+0x2d8/0x1000
[    0.000000]  [<00195f0c>] strlcpy+0x0/0x5a
[    0.000000]  [<0000844a>] amiga_parse_bootinfo+0x0/0x112
[    0.000000]  [<003bf566>] setup_arch+0x1ae/0x26a
[    0.000000]  [<003bdd1a>] start_kernel+0x70/0x3ae
[    0.000000]  [<003bd2fc>] _sinittext+0x2fc/0x988
[    0.000000] 
<<<<<<<<<<<<<<<<<<<<
-------------------------


The machine has 2 MB Chip, 12 MB onboard Fast and 128 MB RAM on accel card (Cyberstorm Mk1). Out of memory is quite strange, but the following made me thing that the kernel might get loaded into the 12 MB Fast RAM: 

[    0.000000] Ignoring memory chunk at 0x7400000:0xc00000 before the first chunk

Ok, it says it ignores that memory chunk, but who knows. I then tried to pass a memfile to amiboot-5.6 to just make chip mem and those 128M on accel card available. This is my memfile: 

-------------------------
2097152
0x08000000 134217728
-------------------------

Loading the kernel looks now like this: amiboot-5.6 -m memfile -v -k vmlinux-3.2.0-4-amiga "root=/dev/hda4 debug=mem bootmem_debug"

And this the dmesg output: 

-------------------------
Searching for SAVEKMSG magic...
Found 7298 bytes at 0x001e0010
>>>>>>>>>>>>>>>>>>>>
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-4-amiga (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14+m68k.2) ) #1 Debian 3.2.35-1
[    0.000000] Enabling workaround for errata I14
[    0.000000] console [debug0] enabled
[    0.000000] Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 
[    0.000000] bootmem::init_bootmem_core nid=0 start=8000 map=83e2 end=10000 mapsize=1000
[    0.000000] bootmem::mark_bootmem_node nid=0 start=83e3 end=8400 reserve=0 flags=0
[    0.000000] bootmem::__free nid=0 start=83e3 end=8400
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e3 end=83e4 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e4 end=83e5 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e5 end=83e6 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e6 end=83e7 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e7 end=83e8 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e8 end=83e9 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83e9 end=83ea flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ea end=83eb flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83eb end=83ec flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ec end=83ed flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ed end=83ee flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ee end=83ef flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ef end=83f0 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f0 end=83f1 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f1 end=83f2 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f2 end=83f3 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f3 end=83f4 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f4 end=83f5 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f5 end=83f6 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f6 end=83f7 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f7 end=83f8 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f8 end=83f9 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83f9 end=83fa flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fa end=83fb flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fb end=83fc flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fc end=83fd flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fd end=83fe flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83fe end=83ff flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem::__reserve nid=0 start=83ff end=8400 flags=1
[    0.000000] bootmem::alloc_bootmem_core nid=0 size=1000 [1 pages] align=1000 goal=0 limit=ffffffff
[    0.000000] bootmem alloc of 4096 bytes failed!
[    0.000000] Kernel panic - not syncing: Out of memory
[    0.000000] Call Trace: [<002a8aa8>] panic+0x54/0x198
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00001b80>] kernel_pg_dir+0xb80/0x1000
[    0.000000]  [<0000100c>] kernel_pg_dir+0xc/0x1000
[    0.000000]  [<003bfbe4>] kernel_ptr_table+0x0/0x120
[    0.000000]  [<00198cc0>] memset+0x0/0x8c
[    0.000000]  [<003c550e>] bootmem_bootmap_pages+0x0/0x1a
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<003c5a6c>] __alloc_bootmem_low+0x14/0x1c
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<003bfe34>] map_node+0x130/0x24e
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00001000>] kernel_pg_dir+0x0/0x1000
[    0.000000]  [<00008000>] amiga_get_hardware_list+0x240/0x648
[    0.000000]  [<000127d0>] _060_fpsp_effadd+0x1cc/0xd518
[    0.000000]  [<0000ffff>] sto_res+0xeb/0x4f0
[    0.000000]  [<003c5814>] free_bootmem_node+0x0/0x34
[    0.000000]  [<003c014e>] paging_init+0x1fc/0x2f2
[    0.000000]  [<0001d000>] _060_fpsp_effadd+0xa9fc/0xd518
[    0.000000]  [<000012d8>] kernel_pg_dir+0x2d8/0x1000
[    0.000000]  [<00195f0c>] strlcpy+0x0/0x5a
[    0.000000]  [<0000844a>] amiga_parse_bootinfo+0x0/0x112
[    0.000000]  [<003bf566>] setup_arch+0x1ae/0x26a
[    0.000000]  [<003bdd1a>] start_kernel+0x70/0x3ae
[    0.000000]  [<003bd2fc>] _sinittext+0x2fc/0x988
[    0.000000] 
<<<<<<<<<<<<<<<<<<<<
-------------------------

I'm a little bit puzzled why Elgar doesn't boot the same kernel as Vivaldi. 
Elgar is an A4000 Desktop in a custom Big Tower with a Cyberstorm Mk1 and Ariadne NIC, Vivaldi is an original A4000T with Cybestorm Mk2, Ariadne NIC and PicassoIV graphic card. 

Here's the dmesg output from Vivaldi for comparison: 

-------------------------
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-4-amiga (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14+m68k.2) ) #1 Debian 3.2.35-1
[    0.000000] Enabling workaround for errata I14
[    0.000000] Amiga hardware found: [A4000T] VIDEO BLITTER AUDIO FLOPPY A4000_SCSI A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 
[    0.000000] On node 0 totalpages: 28672
[    0.000000] free_area_init_node: node 0, pgdat 00377d3c, node_mem_map 003ff000
[    0.000000]   DMA zone: 252 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 28420 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 28420
[    0.000000] Kernel command line: root=/dev/sda4 video=ntsc-lace devtmpfs.mount=1
[    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] Memory: 109452k/109452k available (2740k kernel code, 2372k data, 124k init)
[    0.000000] NR_IRQS:32
-------------------------

Any ideas?

-- 
Ciao...            //      Fon: 0381-2744150
      Ingo       \X/       http://blog.windfluechter.net


gpg pubkey:  http://www.juergensmann.de/ij_public_key.asc


Reply to: