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

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


On Sonntag, 17. März 2019 06:19:00 CET Thorsten Otto wrote:

> whole memory is

> being treated as continguous.

 

Hm ok, that are *virtual* addresses even for kernel, i get similar result in aranym, booting a 3.16 kernel:

 

ARAnyM 1.0.2
Using config file: '/home/sebilla/atari/Ara2015A-ARAnyM/aranym.cfg'
TunTap(0): NO_NET_DRIVER_WARN 'tap4': Operation not permitted
ARAnyM RTC Timer: /dev/rtc: Permission denied
lilo: uncompressing '/home/sebilla/atari/Ara2015A-ARAnyM/vmlinuz-3.16.0-4-m68k'
lilo:  uncompressed length: 3267748 bytes
lilo: uncompressing '/home/sebilla/atari/Ara2015A-ARAnyM/initrd.img-3.16.0-4-m68k'
lilo:  uncompressed length: 10729984 bytes
lilo: kexec_elf->e_phnum=0x00000002
lilo: kernel_phdrs[0].p_vaddr=0x00000000
lilo: kernel_phdrs[0].p_offset=0x00000000
lilo: kernel_phdrs[0].p_filesz=0x002f8c00
lilo: kernel_phdrs[0].p_memsz=0x00321340
lilo: kernel_phdrs[1].p_vaddr=0x00322000
lilo: kernel_phdrs[1].p_offset=0x002fa000
lilo: kernel_phdrs[1].p_filesz=0x000238c0
lilo: kernel_phdrs[1].p_memsz=0x00024000
lilo: min_addr=0x00000000
lilo: max_addr=0x00346000
lilo: new linker
lilo:  kernel_phdrs[0].p_vaddr=0x00000000
lilo:  kernel_phdrs[0].p_offset=0x00000000
lilo:  kernel_phdrs[0].p_filesz=0x002f8c00
lilo:  kernel_phdrs[0].p_memsz=0x00321340
lilo: modified to:
lilo:  kernel_phdrs[0].p_vaddr=0x00001000
lilo:  kernel_phdrs[0].p_offset=0x00001000
lilo:  kernel_phdrs[0].p_filesz=0x002f7c00
lilo:  kernel_phdrs[0].p_memsz=0x00320340
lilo: kernel_size=3428352
lilo: Copied segment 0: 0x00001000,0x002f7c00 at 0x00001000
lilo: Copied segment 1: 0x002fa000,0x000238c0 at 0x00322000
lilo: Ramdisk at 0x305c4600 in RAM, length=0x00a3ba00
lilo: config_file command line: root=/dev/nfhd8p1 console=tty debug=par devtmpfs.mount=1 video=atafb:vga16
lilo: kernel command line: root=/dev/nfhd8p1 console=tty debug=par devtmpfs.mount=1 video=atafb:vga16 BOOT_IMAGE=vmlinux
lilo: bootinfo at 0x00346000
lilo: bi_union.record[0]=0x00010008
lilo: bi_union.record[1]=0x00000002
lilo: bi_union.record[2]=0x00020008
lilo: bi_union.record[3]=0x00000004
lilo: bi_union.record[4]=0x00030008
lilo: bi_union.record[5]=0x00000004
lilo: bi_union.record[6]=0x00040008
lilo: bi_union.record[7]=0x00000004
lilo: bi_union.record[8]=0x0005000c
lilo: bi_union.record[9]=0x00000000
lilo: bi_union.record[10]=0x00e00000
lilo: bi_union.record[11]=0x0005000c
lilo: bi_union.record[12]=0x01000000
lilo: bi_union.record[13]=0x30000000
lilo: bi_union.record[14]=0x0006000c
lilo: bi_union.record[15]=0x305c4600
lilo: ok
[    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 (sebilla@earendil) (gcc version 4.8.1 (GCC) ) #7 Sat Apr 25 14:46:13 CEST 2015
[    0.000000] console [debug0] enabled
[    0.000000] Atari hardware found: VIDEL STDMA-SCSI ST_MFP YM2149 PCM CODEC DSP56K SCC ANALOG_JOY Blitter tried to read byte from register ff8a00 at 006a9e
BLITTER IDE TT_CLK FDC_SPEED  
[    0.000000] On node 0 totalpages: 3584
[    0.000000] free_area_init_node: node 0, pgdat 002f9200, node_mem_map 0041a000
[    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: 196608
[    0.000000] free_area_init_node: node 1, pgdat 002f9b00, node_mem_map 0043e090
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:31
[    0.000000] NatFeats found (ARAnyM, 1.0)
[    0.000000] initrd: 305c4600 - 31000000
[    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: 198432
[    0.000000] Kernel command line: root=/dev/nfhd8p1 console=tty debug=par devtmpfs.mount=1 video=atafb:vga16 BOOT_IMAGE=vmlinux
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 777196K/800768K available (2141K kernel code, 360K rwdata, 688K rodata, 144K init, 161K bss, 23572K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0x002f8cf8 - 0x002f90f8   (   1 KiB)
[    0.000000]     kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
[    0.000000]     vmalloc : 0x31800000 - 0xd0000000   (2536 MiB)
[    0.000000]     lowmem  : 0x00000000 - 0x31000000   ( 784 MiB)
[    0.000000]       .init : 0x00322000 - 0x00346000   ( 144 KiB)
[    0.000000]       .text : 0x00001000 - 0x00218600   (2142 KiB)
[    0.000000]       .data : 0x0021af68 - 0x00321340   (1049 KiB)
[    0.000000]       .bss  : 0x002f8c00 - 0x00321340   ( 162 KiB)
[    0.000000] NR_IRQS:200
[    0.010000] Console: colour dummy device 80x25
[    0.010000] console [tty0] enabled
[    0.010000] Calibrating delay loop... 73.72 BogoMIPS (lpj=368640)
[    0.110000] pid_max: default: 32768 minimum: 301
[    0.110000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.110000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.110000] Initializing cgroup subsys memory
[    0.110000] Initializing cgroup subsys devices
[    0.110000] Initializing cgroup subsys freezer
[    0.110000] Initializing cgroup subsys net_cls
[    0.110000] Initializing cgroup subsys blkio
[    0.110000] Initializing cgroup subsys net_prio
[    0.120000] devtmpfs: initialized
[    0.140000] NET: Registered protocol family 16
[    0.160000] SCSI subsystem initialized
[    0.210000] NET: Registered protocol family 2
[    0.220000] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.220000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.220000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.220000] TCP: reno registered
[    0.220000] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.220000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.230000] NET: Registered protocol family 1
[    0.230000] Unpacking initramfs...
[    0.690000] Freeing initrd memory: 10476K (305c5000 - 31000000)
[    0.690000] nfhd8: found device with 33554304 blocks (512 bytes)
[    0.710000]  nfhd8: AHDI p1 p2
[    0.710000] nfeth: API 5
[    0.710000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.720000] zbud: loaded
[    0.720000] VFS: Disk quotas dquot_6.5.2
[    0.720000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.720000] msgmni has been set to 1538
[    0.730000] alg: No test for stdrng (krng)
[    0.730000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.730000] io scheduler noop registered
[    0.730000] io scheduler cfq registered (default)
[    0.730000] atafb_init: start
[    0.730000] atafb_init: initializing Falcon hw
[    0.730000] atafb: screen_base 00b01000 phys_screen_base b01000 screen_len 311296
[    0.730000] Determined 640x480, depth 4
[    0.730000]    virtual 640x972
[    0.750000] Console: switching to colour frame buffer device 80x30
[    0.760000] fb0: frame buffer device, using 304K of video memory
[    0.760000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>)
[    0.760000] Non-volatile memory driver v1.3
[    0.770000] mousedev: PS/2 mouse device common for all mice
[    1.030000] input: Atari Keyboard as /devices/virtual/input/input0
[    1.100000] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[    1.120000] ledtrig-cpu: registered to indicate activity on CPUs
[    1.150000] TCP: cubic registered
[    1.170000] NET: Registered protocol family 17
[    1.180000] mpls_gso: MPLS GSO support
[    1.210000] registered taskstats version 1
[    1.280000] rtc-generic rtc-generic: setting system clock to 2019-03-17 05:56:57 UTC (1552802217)
[    1.330000] Freeing unused kernel memory: 144K (00322000 - 00346000)
[    2.000000] systemd-udevd[49]: starting version 215
[    2.040000] random: systemd-udevd urandom read with 4 bits of entropy available
[    6.050000] EXT4-fs (nfhd8p1): mounted filesystem with ordered data mode. Opts: (null)
[   13.540000] systemd-udevd[254]: starting version 215
[   20.780000] Adding 2097148k swap on /dev/nfhd8p2.  Priority:-1 extents:1 across:2097148k FS
[   21.570000] EXT4-fs (nfhd8p1): re-mounted. Opts: (null)
[   22.980000] EXT4-fs (nfhd8p1): re-mounted. Opts: (null)
[   49.290000] NET: Registered protocol family 10
[   55.290000] random: nonblocking pool is initialized

BTW have to think about what checks regarding TT-RAM should be implemented. I guess without TT-RAM, you won't be able to load recent kernels, anyway. Atleast that wouldn't leave much RAM once the kernel is uncompressed.

 

 



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