Bug#865928: linux-image-4.9.0-3-m68k: fails to boot on ARAnyM due to NMI watchdog / soft stuck
Finn Thain dixit:
>On Mon, 26 Jun 2017, John Paul Adrian Glaubitz wrote:
>> Which can be worked-around by adding
>> "initcall_blacklist=atari_scsi_driver_init" to the kernel command line.
>> The buildd "mama" is running 4.11 with that work around.
Looks like it:
Linux ara5.mirbsd.org 4.9.0-3-m68k #1 Debian 4.9.30-2 (2017-06-12) m68k GNU/Linux
ARAnyM 1.0.2
Using config file: 'buildd.nym-ssh'
>>> Missing value in Config file buildd.nym-ssh on line 8 !!!
Could not open joystick 0
ARAnyM RTC Timer: /dev/rtc: No such file or directory
Blitter tried to read byte from register ff8a00 at 006f86
[ 0.000000] Linux version 4.9.0-3-m68k (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 Debian 4.9.30-2 (2017-06-12)
[ 0.000000] Atari hardware found:
[ 0.000000] VIDEL
[ 0.000000] STDMA-SCSI
[ 0.000000] ST_MFP
[ 0.000000] YM2149
[ 0.000000] PCM
[ 0.000000] CODEC
[ 0.000000] DSP56K
[ 0.000000] SCC
[ 0.000000] ANALOG_JOY
[ 0.000000] BLITTER
[ 0.000000] IDE
[ 0.000000] TT_CLK
[ 0.000000] FDC_SPEED
[ 0.000000]
[ 0.000000] NatFeats found (ARAnyM, 1.0)
[ 0.000000] initrd: 302a7e00 - 31000000
[ 0.000000] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 198237
[ 0.000000] Kernel command line: root=/dev/nfhd8p1 console=nfcon devtmpfs.mount=1 initcall_blacklist=atari_scsi_driver_init 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: 772724K/800768K available (2445K kernel code, 426K rwdata, 828K rodata, 144K init, 205K bss, 28044K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0x0036d858 - 0x0036dc58 ( 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 : 0x003a1000 - 0x003c5000 ( 144 KiB)
[ 0.000000] .text : 0x00001000 - 0x002646d4 (2446 KiB)
[ 0.000000] .data : 0x002672a0 - 0x003a0d0c (1255 KiB)
[ 0.000000] .bss : 0x0036d760 - 0x003a0d0c ( 206 KiB)
[ 0.000000] NR_IRQS:200
[ 0.000000] Console: colour dummy device 80x25
[ 0.070000] Calibrating delay loop... 139.67 BogoMIPS (lpj=698368)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.070000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.090000] devtmpfs: initialized
[ 0.110000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.110000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110000] NET: Registered protocol family 16
[ 0.150000] SCSI subsystem initialized
[ 0.150000] VFS: Disk quotas dquot_6.6.0
[ 0.150000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.200000] NET: Registered protocol family 2
[ 0.210000] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.210000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.210000] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.210000] UDP hash table entries: 512 (order: 1, 8192 bytes)
[ 0.210000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[ 0.210000] NET: Registered protocol family 1
[ 0.210000] Unpacking initramfs...
[ 0.750000] Freeing initrd memory: 13664K (302a8000 - 31000000)
[ 0.750000] nfhd8: found device with 37748592 blocks (512 bytes)
[ 0.750000] nfhd8: AHDI p1 p2 p3
[ 0.770000] console [nfcon0] enabled
[ 0.770000] nfeth: API 5
[ 0.770000] eth0: nfeth addr:192.168.0.1 (192.168.0.2) HWaddr:52:54:00:22:81:00
[ 0.780000] workingset: timestamp_bits=11 max_order=18 bucket_order=7
[ 0.780000] zbud: loaded
[ 0.810000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.810000] io scheduler noop registered
[ 0.810000] io scheduler cfq registered (default)
[ 0.810000] atafb_init: start
[ 0.810000] atafb_init: initializing Falcon hw
[ 0.810000] atafb: screen_base 00c42000 phys_screen_base c42000 screen_len 311296
[ 0.810000] Determined 640x480, depth 4
[ 0.810000] virtual 640x972
[ 0.850000] Console: switching to colour frame buffer device 80x30
[ 0.900000] fb0: frame buffer device, using 304K of video memory
[ 0.900000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[ 0.900000] Non-volatile memory driver v1.3
[ 0.900000] mousedev: PS/2 mouse device common for all mice
[ 1.150000] input: Atari Keyboard as /devices/virtual/input/input0
[ 1.400000] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[ 1.400000] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.400000] NET: Registered protocol family 17
[ 1.400000] mpls_gso: MPLS GSO support
[ 1.400000] registered taskstats version 1
[ 1.410000] zswap: loaded using pool lzo/zbud
[ 1.480000] rtc-generic rtc-generic: setting system clock to 2017-06-26 01:30:55 UTC (1498440655)
[ 1.480000] Freeing unused kernel memory: 144K (003a1000 - 003c5000)
[ 1.480000] This architecture does not have kernel memory protection.
Loading, please wait...
starting version 233
[ 1.960000] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.960000] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.030000] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.030000] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.360000] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.360000] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.370000] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.380000] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.470000] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.470000] random: systemd-udevd: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [ 4.100000] random: fast init done
[ 4.280000] raid6: int32x1 gen() 15 MB/s
[ 4.450000] raid6: int32x1 xor() 8 MB/s
[ 4.620000] raid6: int32x2 gen() 10 MB/s
[ 4.790000] raid6: int32x2 xor() 7 MB/s
[ 4.960000] raid6: int32x4 gen() 11 MB/s
[ 5.130000] raid6: int32x4 xor() 7 MB/s
[ 5.300000] raid6: int32x8 gen() 11 MB/s
[ 5.470000] raid6: int32x8 xor() 7 MB/s
[ 5.470000] raid6: using algorithm int32x1 gen() 15 MB/s
[ 5.470000] raid6: .... xor() 8 MB/s, rmw enabled
[ 5.470000] raid6: using intx1 recovery algorithm
[ 5.520000] xor: measuring software checksum speed
[ 5.620000] 8regs : 117.200 MB/sec
[ 5.720000] 8regs_prefetch: 108.000 MB/sec
[ 5.820000] 32regs : 62.400 MB/sec
[ 5.920000] 32regs_prefetch: 70.800 MB/sec
[ 5.920000] xor: using function: 8regs (117.200 MB/sec)
[ 6.160000] Btrfs loaded, crc32c=crc32c-generic
Scanning for Btrfs filesystems
[ 6.630000] BTRFS: device label ara5-butter devid 1 transid 1603696 /dev/nfhd8p3
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/nfhd8p1] fsck.ext4 -a -C0 /dev/nfhd8p1
ara5-root: clean, 32747/131072 files, 303968/524288 blocks
done.
[ 7.450000] EXT4-fs (nfhd8p1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
Starting the hotplug events dispatcher: systemd-udevdstarting version 233
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Starting boot logger: bootlogd[ 25.740000] Adding 3670012k swap on /dev/nfhd8p2. Priority:-1 extents:1 across:3670012k FS
[ 26.330000] EXT4-fs (nfhd8p1): re-mounted. Opts: errors=remount-ro
[ 35.310000] BTRFS info (device nfhd8p3): setting nodatacow, compression disabled
[ 35.310000] BTRFS warning (device nfhd8p3): 'recovery' is deprecated, use 'usebackuproot' instead
[ 35.310000] BTRFS info (device nfhd8p3): trying to use backup root at mount time
[ 35.310000] BTRFS info (device nfhd8p3): disk space caching is enabled
[ 51.640000] NET: Registered protocol family 10
[ 91.090000] random: crng init done
.
>> I think you ran into this issue:
>>
>> > https://patchwork.kernel.org/patch/8098441/
I use NatFeat disc only, though, not the ncr controller.
While I agree that, in general, keeping workarounds for emulator
bugs is not desirable, there *are* workarounds for real hardware
bugs, so keeping one for a while until the emulator fixes have
propagated, but also something about probing a device crashing
a machine (no idea whether this affects other environments,
though…) which is generally unacceptable.
>See also the aranym patch I sent:
>
>https://sourceforge.net/p/aranym/bugs/40/
>http://marc.info/?l=linux-m68k&m=145387217330168&w=2
>
>regression caused by a kernel improvement which exposed an aranym flaw.
Hm, true. Unfortunately, I cannot upgrade ARAnyM until I get a newer
kernel provided to Zigo’s domU (or switched to pvgrub-xen).
>This BTS entry should be reassigned to the aranym package. It's a
Unclear about that. Yes, there’s an emulator bug, but does that
mean there’s nothing to be done in the kernel?
I will just leave that to the parties responsible.
bye,
//mirabilos
--
Solange man keine schmutzigen Tricks macht, und ich meine *wirklich*
schmutzige Tricks, wie bei einer doppelt verketteten Liste beide
Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz
hervorragend. -- Andreas Bogk über boehm-gc in d.a.s.r
Reply to: