Re: [hatari-devel] Linux bootup issues in Hatari

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

Below is log with slightly older kernel when using
just the bootstra.tos to run it.

Looks fairly similar to one with --lilo, now that I
found way to get kernel messages ("debug=par" kernel
option and "--printer /dev/stdout" Hatari option).

However, disassembling & memdumping works with this setup.
I don't understand what the --lilo implementation could have
done to cause them to output zeros instead of correct
memory contents.

HD image is done with:
	atari-hd-image 16 16mb-linux.img LINUX disk/

From directory with:
$ ls -l disk/
      102 Mar 17 00:31 bootargs
    72963 Mar 13 23:13 bootstra.tos
 10729984 Mar 13 23:13 initrd.img
  3259472 Mar 13 23:13 vmlinuz

(vmlinuz & initrd.img are gunzipped to speed up loading.)


	- Eero

$ hatari --trace nvram --log-level debug --machine falcon --dsp dummy --mmu on --fpu 68882 -s 14 --ttram 64 --addr24 off --tos etos512k.img --ide-master 16mb-linux.img --printer /dev/stdout
....
Bootstrap's bootinfo version: 2.1
Kernel's bootinfo version   : 2.1
ramdisk src at 0x134d520, size is 10729984
ramdisk dest is 0x45c4600 ... 0x4ffffff
Kernel segment 0 at 0x1000, size 3269664
Kernel segment 1 at 0x320000, size 147456
boot_info is at 0x344000

Type a key to continue the Linux boot...
Booting Linux...
DEBUG: MMU disabled PC=000245e2
DEBUG: 68030 MMU enabled. Page size = 4096 PC=00320c6e
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.16.0-4-m68k (debian-kernel@xxxxxxxxxxxxxxxx) (gcc version 4.8.3 (Debian 4.8.3-16) ) #1 Debian 3.16.7-ckt2-1 (2014-12-08)
[    0.000000] console [debug0] enabled
[ 0.000000] Atari hardware found: VIDEL STDMA-SCSI ST_MFP YM2149 PCM CODEC DSP56K SCC ANALOG_JOY BLITTER IDE TT_CLK FDC_SPEED
[    0.000000] On node 0 totalpages: 3584
[ 0.000000] free_area_init_node: node 0, pgdat 002f7320, node_mem_map 00348000
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3584 pages, LIFO batch:0
[    0.000000] On node 1 totalpages: 16384
[ 0.000000] free_area_init_node: node 1, pgdat 002f7c20, node_mem_map 0036c090
[    0.000000]   DMA zone: 144 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 16384 pages, LIFO batch:3
DEBUG: Illegal instruction: 7300 at 0000D130 -> 000027C8
[    0.000000] initrd: 045c4600 - 05000000
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 19792 [ 0.000000] Kernel command line: root=/dev/ram debug=par devtmpfs.mount=1 video=atafb:vga16 console=tty BOOT_IMAGE=vmlinuz
[    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] Sorting __ex_table...
[ 0.000000] Memory: 64152K/79872K available (2139K kernel code, 358K rwdata, 684K rodata, 144K init, 161K bss, 15720K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0x002f6e18 - 0x002f7218   (   1 KiB)
[    0.000000]     kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
[    0.000000]     vmalloc : 0x05800000 - 0xd0000000   (3240 MiB)
[    0.000000]     lowmem  : 0x00000000 - 0x05000000   (  80 MiB)
[    0.000000]       .init : 0x00320000 - 0x00344000   ( 144 KiB)
[    0.000000]       .text : 0x00001000 - 0x00217fb0   (2140 KiB)
[    0.000000]       .data : 0x0021a938 - 0x0031f420   (1043 KiB)
[    0.000000]       .bss  : 0x002f6d20 - 0x0031f420   ( 162 KiB)
[    0.000000] NR_IRQS:200
DEBUG: Read from unsupported RTC/NVRAM register 0xb.
NVRAM: read data at 11 = 14 ($0e)
NVRAM: read data at 10 = 128 ($80)
NVRAM: read data at 10 = 0 ($00)
NVRAM: write data at 11 = 142 ($8e)
NVRAM: read data at 0 = 38 ($26)
NVRAM: read data at 2 = 32 ($20)
NVRAM: read data at 4 = 0 ($00)
NVRAM: read data at 7 = 17 ($11)
NVRAM: read data at 8 = 3 ($03)
NVRAM: read data at 9 = 51 ($33)
DEBUG: Read from unsupported RTC/NVRAM register 0x6.
NVRAM: read data at 6 = 1 ($01)
NVRAM: write data at 11 = 14 ($0e)
[    0.050000] Console: colour dummy device 80x25
[    0.220000] console [tty0] enabled
[    0.230000] Calibrating delay loop... 4.53 BogoMIPS (lpj=22656)
[    0.380000] pid_max: default: 32768 minimum: 301
[    0.410000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.420000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] Initializing cgroup subsys memory
[    0.580000] Initializing cgroup subsys devices
[    0.590000] Initializing cgroup subsys freezer
[    0.600000] Initializing cgroup subsys net_cls
[    0.610000] Initializing cgroup subsys blkio
[    0.620000] Initializing cgroup subsys net_prio
[    0.850000] devtmpfs: initialized
[    1.380000] NET: Registered protocol family 16
DEBUG: Illegal bget at 80000023 PC=6a3a
[   28.820000] BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]
[   28.820000] Modules linked in:
[   28.820000]
[ 28.820000] Format 00 Vector: 0114 PC: 000065ac Status: 2200 Not tainted
[   28.820000] ORIG_D0: ffffffff  D0: d0040000  A2: 0060fab0  A1: 00819870
[   28.820000] A0: 00001a04  D5: 0000206c  D4: 00000002
[   28.820000] D3: 00001a00  D2: 00000001  D1: 00040000
[   41.910000] random: nonblocking pool is initialized



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/