kategorie: Debian, m68k
[#1] debian unstable na 1200 z Apollo 1240 i 64MB ram
Witam,

Próbuje zainstalować debian'a unstable (z kernelem 3.x) przez debootstrap:

fakeroot /usr/sbin/debootstrap --foreign --arch=m68k --keyring=/etc/apt/trusted.gpg.d/debian-ports-archive-2016.gpg sid unstable-m68k-20160701 http://ftp.de.debian.org/debian-ports

Niestety żaden z kerneli 3.x które proponują na liście dyskusyjnej m68k-debian nie uruchamia się poprawnie.

https://people.debian.org/~glaubitz/chroots/kernels/
http://www.amiga.org/forums/showpost.php?p=786578&postcount=45

Zamiast tego bootowanie kończy się dziwnym komunikatem CPU#0 stuck for 23s:
Loading, please wait...                                                                                                                     
[    6.230000] systemd-udevd[47]: starting version 215                                                                                      
[    6.330000] random: systemd-udevd urandom read with 22 bits of entropy available                                                         
[    7.340000] Uniform Multi-Platform E-IDE driver                                                                                          
[    7.680000] ide: Gayle IDE controller (A1200 style)                                                                                      
[    7.790000] Z2RAM: using 0K Zorro II RAM and 512K Chip RAM (Total 512K)                                                                  
[    7.990000] hda: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)                                                                    
[    8.270000] hda: IBM-DTCA-24090, ATA DISK drive                                                                                          
[    8.640000] hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)                                                                    
[    8.830000] hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)                                                                    
[    9.170000] random: nonblocking pool is initialized                                                                                      
[   32.480000] BUG: soft lockup - CPU#0 stuck for 23s! [systemd-udevd:49]                                                                   
[   32.480000] Modules linked in: gayle(+) ide_core                                                                                         
[   32.480000]                                                                                                                              
[   32.480000] Format 00  Vector: 0078  PC: 0004d01e  Status: 2200    Not tainted                                                           
[   32.480000] ORIG_D0: ffffffff  D0: 00000100  A2: 01e3b010  A1: 002fe130                                                                  
[   32.480000] A0: 01e68000  D5: 00000002  D4: 0000001e                                                                                     
[   32.480000] D3: 0000000a  D2: 00000002  D1: 00000002

Dioda power nadal mruga (heartbeat).

Zwracam się do Was z prośbą o poradę gdzie szukać przyczyny takiego zachowania.
Kilka szczegółów dotyczących konfiguracji:

  • A1200 (1d4) z Apollo1240/40MHz

  • 2 kosci simm po 32MB każda,

  • dysk startowy IDE podłączony do złącza primary kontrolera FastATA, ale bez załadowanego ATA3.driver


Pozdrawiam
Szymon
[#2] Re: debian unstable na 1200 z Apollo 1240 i 64MB ram

@sq7bti, post #1

Witam ponownie,

Być może umieszczenie pozostałego fragmentu dmesg pomoże w zlokalizowaniu problemu.
Tak przy okazji próbowałem z "root=/dev/sda3" oraz z "root=/dev/hda3" - czy od czasu 2.4/2.6 zmieniło się nazewnictwo urządzeń IDE w a1200?

ABCDGHIJK
[    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@lists.debian.org) (gcc version 4.8.3 (Debian 4.8.3-7) ) #1 Debian 3.16.7-ckt4-1 ()
[    0.000000] Amiga hardware found: [A1200] VIDEO BLITTER AUDIO FLOPPY A1200_IDE KEYBOARD MOUSE SERIAL PARALLEL A2000_CLK CHIP_RAM PAULA L
[    0.000000] initrd: 03371600 - 04000000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: root=/dev/hda3 console=tty0 console=ttyS0,9600n8 video=amifb:pal-lace modprobe.blacklist=amiflop nolangchooser
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 48576K/65536K available (2140K kernel code, 358K rwdata, 684K rodata, 144K init, 161K bss, 16960K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0x002f6ef8 - 0x002f72f8   (   1 KiB)
[    0.000000]     kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
[    0.000000]     vmalloc : 0x04800000 - 0xd0000000   (3256 MiB)
[    0.000000]     lowmem  : 0x00000000 - 0x04000000   (  64 MiB)
[    0.000000]       .init : 0x00320000 - 0x00344000   ( 144 KiB)
[    0.000000]       .text : 0x00001000 - 0x00218248   (2141 KiB)
[    0.000000]       .data : 0x0021abd8 - 0x0031f500   (1043 KiB)
[    0.000000]       .bss  : 0x002f6e00 - 0x0031f500   ( 162 KiB)
[    0.000000] NR_IRQS:200
[    0.000000] Console: colour dummy device 80x25
[    0.010000] console [tty0] enabled
[    0.190000] console [ttyS0] enabled
[    0.200000] Calibrating delay loop... 26.16 BogoMIPS (lpj=130816)
[    0.320000] pid_max: default: 32768 minimum: 301
[    0.330000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] Initializing cgroup subsys memory
[    0.370000] Initializing cgroup subsys devices
[    0.380000] Initializing cgroup subsys freezer
[    0.390000] Initializing cgroup subsys net_cls
[    0.400000] Initializing cgroup subsys blkio
[    0.410000] Initializing cgroup subsys net_prio
[    0.450000] devtmpfs: initialized
[    0.490000] NET: Registered protocol family 16
[    0.620000] SCSI subsystem initialized
[    0.850000] NET: Registered protocol family 2
[    0.890000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.900000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.910000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.930000] TCP: reno registered
[    0.940000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.950000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.960000] NET: Registered protocol family 1
[    0.970000] Unpacking initramfs...
[    4.450000] Freeing initrd memory: 12856K (03372000 - 04000000)
[    4.470000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    4.490000] zbud: loaded
[    4.500000] VFS: Disk quotas dquot_6.5.2
[    4.510000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    4.520000] msgmni has been set to 119
[    4.560000] alg: No test for stdrng (krng)
[    4.570000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    4.580000] io scheduler noop registered
[    4.590000] io scheduler cfq registered (default)
[    4.860000] Console: switching to colour frame buffer device 80x32
[    4.930000] fb0: Amiga AGA frame buffer device, using 1280K of video memory
[    4.950000] atafb_init: start
[    4.970000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[    4.980000] Amiga-builtin serial driver version 4.30
[    5.000000] ttyS0 is the amiga builtin serial port
[    5.030000] Zorro: Probing AutoConfig expansion devices: 1 device
[    5.050000] mousedev: PS/2 mouse device common for all mice
[    5.070000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[    5.090000] ledtrig-cpu: registered to indicate activity on CPUs
[    5.110000] TCP: cubic registered
[    5.120000] NET: Registered protocol family 17
[    5.130000] mpls_gso: MPLS GSO support
[    5.150000] registered taskstats version 1
[    5.170000] /build/linux-00b77F/linux-3.16.7-ckt4/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    5.190000] Freeing unused kernel memory: 144K (00320000 - 00344000)
Loading, please wait...
[    6.210000] systemd-udevd[47]: starting version 215
[    6.330000] random: systemd-udevd urandom read with 22 bits of entropy available
[    7.330000] Uniform Multi-Platform E-IDE driver
[    7.670000] ide: Gayle IDE controller (A1200 style)
[    7.780000] Z2RAM: using 0K Zorro II RAM and 512K Chip RAM (Total 512K)
[    7.940000] hda: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
[    8.100000] hda: IBM-DTCA-24090, ATA DISK drive
[    8.470000] hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
[    8.670000] hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
[    8.980000] random: nonblocking pool is initialized
[   32.470000] BUG: soft lockup - CPU#0 stuck for 23s! [systemd-udevd:49]
[   32.470000] Modules linked in: gayle(+) ide_core
[   32.470000]
[   32.470000] Format 00  Vector: 0078  PC: 0004d56c  Status: 2200    Not tainted
[   32.470000] ORIG_D0: ffffffff  D0: 00000001  A2: 01e3b010  A1: 80bfe001
[   32.470000] A0: 002cf384  D5: 00000002  D4: 00000000
[   32.470000] D3: 00000000  D2: 00000002  D1: 00000000
[  269.950000] amikbd: Ctrl-Amiga-Amiga reset warning!!
[  269.960000] amikbd: Ctrl-Amiga-Amiga reset warning!!


Pozdrawiam,
Szymon
[#3] Re: debian unstable na 1200 z Apollo 1240 i 64MB ram

@sq7bti, post #2

Witam ponownie,

Po przerwie powróciłem do tematu. Spróbowałem uruchomić najnowszy kernel z i bez FastATA i oto różnice jakie stwierdziłem:
$ diff -Nurw dmesg.4.19.37.bare dmesg.4.19.37.fata
--- dmesg.4.19.37.gayle  2019-06-04 19:26:19.951923915 +0200
+++ dmesg.4.19.37.fata  2019-06-04 19:25:31.219660738 +0200
@@ -1,3 +1,4 @@
+
 ABCDGHIJK
 Linux version 4.19.37-amiga (root@nb) (gcc version 8.3.0 (Debian 8.3.0-7)) #1 Sun May 26 21:20:29 UTC 2019
 Saving 250 bytes of bootinfo
@@ -55,9 +56,8 @@
 loop: module loaded
 Uniform Multi-Platform E-IDE driver
 ide: Gayle IDE controller (A1200 style)
+hda: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
 hda: SAMSUNG MP0402H, ATA DISK drive
-ide0 at 0x80da0000 on irq 2 (serialized)
-ide-gd driver 1.18
-hda: max request size: 1024KiB
+hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
+hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
 random: crng init done


Czy któryś z obeznanych z tematem forumowiczów spotkał się z takim zachowaniem? Wygląda na to że w momencie kiedy sterownik dysku powinien analizować partycje na dysku po prostu następuje zwis. Mimo to dioda LED power zaprogramowana na heartbeat nadal mruga.

Jedyny kernel jaki przechodzi przez fazę rozpoznawania dysku, jego partycji i montowania root'a (z initrd.gz) jest stary 2.4.27 (Debian 3.1/Sarge). Niestety dołączony sterownik karty sieciowej apne wywołuje błąd podczas ładowania. Każdy następny (nowszy kernel) niestety zatrzymuje ładowanie jak powyżej.

N.B. NetBSD/8.0 działa

Pozdrawiam
Szymon
Na stronie www.PPA.pl, podobnie jak na wielu innych stronach internetowych, wykorzystywane są tzw. cookies (ciasteczka). Służą ona m.in. do tego, aby zalogować się na swoje konto, czy brać udział w ankietach. Ze względu na nowe regulacje prawne jesteśmy zobowiązani do poinformowania Cię o tym w wyraźniejszy niż dotychczas sposób. Dalsze korzystanie z naszej strony bez zmiany ustawień przeglądarki internetowej będzie oznaczać, że zgadzasz się na ich wykorzystywanie.
OK, rozumiem