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

Re: Installing with new Installer-Image



Sat, 7 Oct 2017 00:34:48 +1100 (AEDT)n Fri, 22 Sep 2017, Geert Uytterhoeven wrote:

> > You don't need access to hardware. You can test the kernel just fine 
> > on Aranym. All you need is a simple root filesystem and an initrd 
> > which I can provide. In fact, you can just use the kernel and initrd 
> > from the debian-installer distribution:
> 
> Correct.
> And the Falcon IDE driver still works fine when not a module...
> 
> >> https://people.debian.org/~glaubitz/debian-cd/debian-installer-images_20170828_m68k.tar.gz
> >
> > Use the common kernel and the initrd for the CD-ROM installation.
> >

There are some modules missing from the initrd. I copied all of the 
modules from the ISO to the initrd and now I can run 'depmod' and 
'modprobe falconide' and all the device nodes get created automatically. 

The only problem is, when I access the CD-ROM (/dev/hdb) I get an oops. 
This happens with 'dd' and with 'mount'. No idea why. Maybe some problem 
with my aranym config (?)

[    0.000000] Linux version 4.12.0-1-m68k (debian-kernel@lists.debian.org) (gcc version 6.4.0 20170805 (Debian 6.4.0-3) ) #1 Debian 4.12.6-1 (2017-08-12)
[    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 0039e480, node_mem_map 00488000
[    0.000000]   DMA zone: 35 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: 131072
[    0.000000] free_area_init_node: node 1, pgdat 0039ec76, node_mem_map 004b0010
[    0.000000]   DMA zone: 1280 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 pages, LIFO batch:31
[    0.000000] NatFeats found (ARAnyM, 1.0)
[    0.000000] initrd: 1e9b5400 - 21000000
[    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: 133341
[    0.000000] Kernel command line: root=/dev/ram video=atafb:vga16 load_ramdisk=1 debian-installer/framebuffer=false 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: 487656K/538624K available (2604K kernel code, 386K rwdata, 908K rodata, 144K init, 209K bss, 50968K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0x0039df78 - 0x0039e378   (   1 KiB)
[    0.000000]     kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
[    0.000000]     vmalloc : 0x21800000 - 0xd0000000   (2792 MiB)
[    0.000000]     lowmem  : 0x00000000 - 0x21000000   ( 528 MiB)
[    0.000000]       .init : 0x003d3000 - 0x003f7000   ( 144 KiB)
[    0.000000]       .text : 0x00001000 - 0x0028c160   (2605 KiB)
[    0.000000]       .data : 0x0028ed50 - 0x003d25ac   (1295 KiB)
[    0.000000]       .bss  : 0x0039de78 - 0x003d25ac   ( 210 KiB)
[    0.000000] NR_IRQS:200
[    0.000000] Console: colour dummy device 80x25
[    0.010000] console [tty0] enabled
[    0.010000] Calibrating delay loop... 90.52 BogoMIPS (lpj=452608)
[    0.100000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.100000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.120000] devtmpfs: initialized
[    0.140000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.140000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.140000] NET: Registered protocol family 16
[    0.190000] SCSI subsystem initialized
[    0.190000] VFS: Disk quotas dquot_6.6.0
[    0.190000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.250000] NET: Registered protocol family 2
[    0.260000] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.260000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.260000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.260000] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.270000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.270000] NET: Registered protocol family 1
[    0.270000] Unpacking initramfs...
[    2.560000] random: fast init done
[    2.950000] Freeing initrd memory: 39208K
[    2.960000] nfhd8: found device with 16128 blocks (512 bytes)
[    2.960000] nfeth: API 5
[    2.970000] workingset: timestamp_bits=11 max_order=18 bucket_order=7
[    2.970000] zbud: loaded
[    3.010000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    3.010000] io scheduler noop registered
[    3.020000] io scheduler cfq registered (default)
[    3.020000] io scheduler mq-deadline registered
[    3.020000] atafb_init: start
[    3.020000] atafb_init: initializing Falcon hw
[    3.020000] atafb: screen_base 009b1000 phys_screen_base 9b1000 screen_len 311296
[    3.020000] Determined 640x480, depth 4
[    3.020000]    virtual 640x972
[    3.040000] Console: switching to colour frame buffer device 80x30
[    3.070000] fb0: frame buffer device, using 304K of video memory
[    3.070000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[    3.070000] Non-volatile memory driver v1.3
[    3.080000] mousedev: PS/2 mouse device common for all mice
[    3.350000] input: Atari Keyboard as /devices/virtual/input/input0
[    3.430000] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[    3.440000] ledtrig-cpu: registered to indicate activity on CPUs
[    3.480000] NET: Registered protocol family 17
[    3.490000] mpls_gso: MPLS GSO support
[    3.520000] registered taskstats version 1
[    3.540000] zswap: loaded using pool lzo/zbud
[    3.630000] rtc-generic rtc-generic: setting system clock to 2017-10-06 13:11:51 UTC (1507295511)
[    3.670000] Freeing unused kernel memory: 144K
[    3.700000] This architecture does not have kernel memory protection.
[   90.190000] random: crng init done
[  486.730000] scsi host0: Atari native SCSI, irq 15, io_port 0x0, base 0x0, can_queue 1, cmd_per_lun 2, sg_tablesize 0, this_id 7, flags { }
[  486.730000] blk_queue_max_segments: set to minimum 1
[  487.000000] blk_queue_max_segments: set to minimum 1
[  487.290000] blk_queue_max_segments: set to minimum 1
[  487.610000] blk_queue_max_segments: set to minimum 1
[  487.890000] blk_queue_max_segments: set to minimum 1
[  488.200000] blk_queue_max_segments: set to minimum 1
[  488.480000] blk_queue_max_segments: set to minimum 1
[  507.250000] Uniform Multi-Platform E-IDE driver
[  507.260000] ide: Falcon IDE controller
[  507.260000] Probing IDE interface ide0...
[  507.620000] hda: Master, ATA DISK drive
[  508.670000] hdb: Optical, ATAPI CD/DVD-ROM drive
[  508.670000] ide0 at 0xfff00000 on irq 15 (serialized)
[  508.750000] ide-gd driver 1.18
[  508.750000] hda: max request size: 128KiB
[  508.750000] hda: 16128 sectors (8 MB) w/256KiB Cache, CHS=16/16/63
[  508.800000] ide-cd driver 5.00
[  508.810000] ide-cd: hdb: ATAPI 4X CD-ROM drive, 512kB Cache
[  508.810000] cdrom: Uniform CD-ROM driver Revision: 3.20
[  630.060000] Unable to handle kernel access at virtual address 416e6461
[  630.060000] Oops: 00000000
[  630.060000] Modules linked in: ide_cd_mod cdrom ide_gd_mod falconide ide_core evdev mac_hid atari_scsi
[  630.060000] PC: [<001693ba>] memset+0x2e/0x94
[  630.060000] SR: 2704  SP: 1b93dc98  a2: 1b8ca000
[  630.060000] d0: 00000000    d1: 00000010    d2: 416e6461    d3: 00000008
[  630.060000] d4: 00000000    d5: 1b93c000    a0: 416e6461    a1: ffffffe0
[  630.060000] Process dd (pid: 2374, task=1b8ca000)
[  630.060000] Frame format=7 eff addr=416e6461 ssw=0425 faddr=416e6461
[  630.060000] wb 1 stat/addr/data: 0000 00000000 00000000
[  630.060000] wb 2 stat/addr/data: 0000 00000000 00000000
[  630.060000] wb 3 stat/addr/data: 00a5 416e6461 00000000
[  630.060000] push data: 00000000 00000000 00000000 00000000
[  630.060000] Stack from 1b93dd00:
[  630.060000]         00000000 00000008 2191907a 416e6461 00000000 00000010 00000000 00000020
[  630.060000]         1b9f6800 1ba38010 0013b9dc 1ba38010 1b9f6800 1b93c000 1ba38010 1b93dd94
[  630.060000]         1ba2ec00 00000000 1b9ca000 1b93ddd4 0013baae 1ba38010 218b80d4 218b8224
[  630.060000]         1ba38010 1ba38010 00000000 1b932000 1ba38010 00138a34 0013b09c 1ba38010
[  630.060000]         1b93de14 00137f78 1ba982c0 00137d8e 1ba38010 00000000 00000000 00000005
[  630.060000]         00000000 1b9f6800 1ba38010 1b9f6800 1ba38010 0013810a 1ba38010 1b9f6800
[  630.060000] Call Trace: [<2191907a>] ide_cdrom_prep_fn+0x6a/0x138 [ide_cd_mod]
[  630.060000]  [<0013b9dc>] blk_peek_request+0xc2/0x188
[  630.060000]  [<0013baae>] blk_fetch_request+0xc/0x28
[  630.060000]  [<218b80d4>] do_ide_request+0x6c/0x5a4 [ide_core]
[  630.060000]  [<218b8224>] do_ide_request+0x1bc/0x5a4 [ide_core]
[  630.060000]  [<00138a34>] blk_run_queue_async+0x0/0x32
[  630.060000]  [<0013b09c>] __blk_end_request_all+0x0/0x5a
[  630.060000]  [<00137f78>] __elv_add_request+0x0/0x1f4
[  630.060000]  [<00137d8e>] elv_attempt_insert_merge+0x48/0x7e
[  630.060000]  [<0013810a>] __elv_add_request+0x192/0x1f4
[  630.060000]  [<00175b82>] __list_del_entry_valid+0x0/0x9a
[  630.060000]  [<0013882e>] __blk_run_queue+0x24/0x2e
[  630.060000]  [<0013bda6>] blk_flush_plug_list+0x204/0x208
[  630.060000]  [<00009d48>] atari_keyboard_interrupt+0x108/0x2e2
[  630.060000]  [<00086b38>] __alloc_pages_nodemask+0x0/0x87a
[  630.060000]  [<0013c09c>] blk_finish_plug+0x14/0x1c
[  630.060000]  [<0008ad28>] __do_page_cache_readahead+0xc6/0x20c
[  630.060000]  [<000805ee>] unlock_page+0x0/0x2a
[  630.060000]  [<0008b1a6>] page_cache_sync_readahead+0x4c/0x54
[  630.060000]  [<0008b42e>] __put_page+0x0/0x3a
[  630.060000]  [<000828fc>] generic_file_read_iter+0x6ba/0x744
[  630.060000]  [<000bc848>] new_sync_read+0xc4/0x104
[  630.060000]  [<000bd88c>] vfs_read+0x5c/0xe4
[  630.060000]  [<000be638>] SyS_read+0x42/0x88
[  630.060000]  [<00002934>] syscall+0x8/0xc
[  630.060000]  [<0004c00d>] __downgrade_write+0x67/0x9e
[  630.060000] Code: 4842 4242 8082 2408 0802 0000 6764 1080 <5381> 43e8 0001 7402 b481 640e 2409 0802 0001 6706 3280 5581 5489 2401 e48a 6728
[  630.060000] Disabling lock debugging due to kernel taint
[  631.560000] Unable to handle kernel access at virtual address 416e6461
[  631.560000] Oops: 00000000
[  631.560000] Modules linked in: ide_cd_mod cdrom ide_gd_mod falconide ide_core evdev mac_hid atari_scsi
[  631.560000] PC: [<001693ba>] memset+0x2e/0x94
[  631.560000] SR: 2704  SP: 1b843de4  a2: 1ba58670
[  631.560000] d0: 00000000    d1: 00000010    d2: 416e6461    d3: 00000008
[  631.560000] d4: 00000000    d5: 1b842000    a0: 416e6461    a1: ffffffe0
[  631.560000] Process kworker/0:1H (pid: 1152, task=1ba58670)
[  631.560000] Frame format=7 eff addr=416e6461 ssw=0425 faddr=416e6461
[  631.560000] wb 1 stat/addr/data: 0000 00000000 00000000
[  631.560000] wb 2 stat/addr/data: 0000 00000000 00000000
[  631.560000] wb 3 stat/addr/data: 00a5 416e6461 00000000
[  631.560000] push data: 00000000 00000000 00000000 00000000
[  631.560000] Stack from 1b843e4c:
[  631.560000]         00000000 00000008 2191907a 416e6461 00000000 00000010 00000000 00000020
[  631.560000]         1b9f6800 1ba38010 0013b9dc 1ba38010 1b9f6800 1ba38010 1ba38010 00000000
[  631.560000]         1ba2ec00 00000000 1b9ca000 1b843f24 218b7cde 1ba38010 00ab9e00 218b81a8
[  631.560000]         1ba38010 00000000 00ab9e00 00000000 00000000 1b842000 00000000 1b92ca00
[  631.560000]         1ba38010 1ba380b8 0037a250 1ba982c0 00c3068c 00048576 0037aca6 00c3068c
[  631.560000]         0037aca6 1ba5869c 1ba58988 1b843f44 0003ad50 1b842000 1ba58670 00000001
[  631.560000] Call Trace: [<2191907a>] ide_cdrom_prep_fn+0x6a/0x138 [ide_cd_mod]
[  631.560000]  [<0013b9dc>] blk_peek_request+0xc2/0x188
[  631.560000]  [<218b7cde>] __ide_requeue_and_plug+0x32/0x3c [ide_core]
[  631.560000]  [<218b81a8>] do_ide_request+0x140/0x5a4 [ide_core]
[  631.560000]  [<00048576>] pick_next_task_fair+0x10a/0x142
[  631.560000]  [<0003ad50>] process_one_work+0x0/0x252
[  631.560000]  [<002881de>] __schedule+0x456/0x462
[  631.560000]  [<0013882e>] __blk_run_queue+0x24/0x2e
[  631.560000]  [<00138868>] blk_delay_work+0x16/0x3e
[  631.560000]  [<0003aea4>] process_one_work+0x154/0x252
[  631.560000]  [<0003920a>] move_linked_works+0x0/0x88
[  631.560000]  [<0003ad50>] process_one_work+0x0/0x252
[  631.560000]  [<0003afa2>] process_scheduled_works+0x0/0x2e
[  631.560000]  [<0003baf0>] worker_thread+0x27c/0x380
[  631.560000]  [<00049ea8>] __init_waitqueue_head+0x0/0xc
[  631.560000]  [<0003b874>] worker_thread+0x0/0x380
[  631.560000]  [<0002e0d0>] do_exit+0x0/0x75c
[  631.560000]  [<0004a7f4>] complete+0x0/0x34
[  631.560000]  [<0003fbc6>] kthread+0xde/0xe8
[  631.560000]  [<0003fae8>] kthread+0x0/0xe8
[  631.560000]  [<00002884>] ret_from_kernel_thread+0xc/0x14
[  631.560000] Code: 4842 4242 8082 2408 0802 0000 6764 1080 <5381> 43e8 0001 7402 b481 640e 2409 0802 0001 6706 3280 5581 5489 2401 e48a 6728
[  632.930000] Unable to handle kernel access at virtual address 416e6461
[  632.930000] Oops: 00000000
[  632.930000] Modules linked in: ide_cd_mod cdrom ide_gd_mod falconide ide_core evdev mac_hid atari_scsi
[  632.930000] PC: [<001693ba>] memset+0x2e/0x94
[  632.930000] SR: 2704  SP: 20959c74  a2: 1ba30010
[  632.930000] d0: 00000000    d1: 00000010    d2: 416e6461    d3: 00000008
[  632.930000] d4: 0013f212    d5: 1b9c2000    a0: 416e6461    a1: ffffffe0
[  632.930000] Process kworker/0:2 (pid: 2370, task=1ba30010)
[  632.930000] Frame format=7 eff addr=416e6461 ssw=0425 faddr=416e6461
[  632.930000] wb 1 stat/addr/data: 0000 00000000 00000000
[  632.930000] wb 2 stat/addr/data: 0000 00000000 00000000
[  632.930000] wb 3 stat/addr/data: 00a5 416e6461 00000000
[  632.930000] push data: 00000000 00000000 00000000 00000000
[  632.930000] Stack from 20959cdc:
[  632.930000]         00000000 00000008 2191907a 416e6461 00000000 00000010 00000000 00000020
[  632.930000]         1b9f6800 1ba38010 0013b9dc 1ba38010 1b9f6800 1ba38010 1ba38010 0013f212
[  632.930000]         1ba2ec00 00000000 1b9ca000 20959db4 218b7cde 1ba38010 00000002 218b81a8
[  632.930000]         1ba38010 00000000 00000002 00000000 0013f212 1b9c2000 00150f18 0013ef58
[  632.930000]         1ba38010 1ba38010 1b9f6600 1ba982c0 2de390e8 00000001 0000820d 0000002f
[  632.930000]         af080000 001583e4 0013a1b2 00137f38 1ba38010 1b9f6600 00138026 1b9f6600
[  632.930000] Call Trace: [<2191907a>] ide_cdrom_prep_fn+0x6a/0x138 [ide_cd_mod]
[  632.930000]  [<0013b9dc>] blk_peek_request+0xc2/0x188
[  632.930000]  [<0013f212>] blk_end_sync_rq+0x0/0x16
[  632.930000]  [<218b7cde>] __ide_requeue_and_plug+0x32/0x3c [ide_core]
[  632.930000]  [<218b81a8>] do_ide_request+0x140/0x5a4 [ide_core]
[  632.930000]  [<0013f212>] blk_end_sync_rq+0x0/0x16
[  632.930000]  [<00150f18>] scsi_req_init+0x0/0x36
[  632.930000]  [<0013ef58>] blk_rq_map_kern+0x0/0x104
[  632.930000]  [<0000820d>] amiga_chip_avail+0xd/0x30
[  632.930000]  [<001583e4>] cfq_init_icq+0x6/0x14
[  632.930000]  [<0013a1b2>] blk_put_request+0x0/0x30
[  632.930000]  [<00137f38>] elv_drain_elevator+0x4a/0x8a
[  632.930000]  [<00138026>] __elv_add_request+0xae/0x1f4
[  632.930000]  [<0013f212>] blk_end_sync_rq+0x0/0x16
[  632.930000]  [<0013a1b2>] blk_put_request+0x0/0x30
[  632.930000]  [<0013882e>] __blk_run_queue+0x24/0x2e
[  632.930000]  [<0013f16c>] blk_execute_rq_nowait+0x110/0x12c
[  632.930000]  [<00139f6e>] blk_get_request+0x0/0xf2
[  632.930000]  [<0013f1d2>] blk_execute_rq+0x4a/0x8a
[  632.930000]  [<0013f212>] blk_end_sync_rq+0x0/0x16
[  632.930000]  [<2191a124>] ide_cd_queue_pc+0xce/0x17c [ide_cd_mod]
[  632.930000]  [<2191a3be>] cdrom_check_status+0x58/0x66 [ide_cd_mod]
[  632.930000]  [<2191afce>] ide_cdrom_check_events_real+0x1e/0x3a [ide_cd_mod]
[  632.930000]  [<218f7048>] cdrom_update_events+0x1a/0x2a [cdrom]
[  632.930000]  [<218f7068>] cdrom_check_events+0x10/0x1e [cdrom]
[  632.930000]  [<001484aa>] disk_check_events+0x36/0xee
[  632.930000]  [<00148572>] disk_events_workfn+0x10/0x14
[  632.930000]  [<0003aea4>] process_one_work+0x154/0x252
[  632.930000]  [<0003920a>] move_linked_works+0x0/0x88
[  632.930000]  [<0003ad50>] process_one_work+0x0/0x252
[  632.930000]  [<0003afa2>] process_scheduled_works+0x0/0x2e
[  632.930000]  [<0003baf0>] worker_thread+0x27c/0x380
[  632.930000]  [<00049ea8>] __init_waitqueue_head+0x0/0xc
[  632.930000]  [<0003b874>] worker_thread+0x0/0x380
[  632.930000]  [<0002e0d0>] do_exit+0x0/0x75c
[  632.930000]  [<0004a7f4>] complete+0x0/0x34
[  632.930000]  [<0003fbc6>] kthread+0xde/0xe8
[  632.930000]  [<0003fae8>] kthread+0x0/0xe8
[  632.930000]  [<00002884>] ret_from_kernel_thread+0xc/0x14
[  632.930000] Code: 4842 4242 8082 2408 0802 0000 6764 1080 <5381> 43e8 0001 7402 b481 640e 2409 0802 0001 6706 3280 5581 5489 2401 e48a 6728

-- 


Reply to: