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

Re: Debian kernel boot failure on Alpha [was Re: systemd FTBFS]



Dear Michael,

just a quick note because it might be related or at least helpful:

I have had a similar problem than you, i.e. no generic Linux kernel v4.x from Debian runs or ran on my Alpha gear (the newest one is a PWS 500au with EV56). E.g. this is the output of a tried boot with a generic Linux kernel v.4.3.0-1 from Debian:

```
>>>show boot*
boot_dev                ewa0.0.0.3.0
boot_file
boot_osflags root=/dev/nfs ip=dhcp console=tty1 console=ttyS0,9600n8
boot_reset              OFF
bootdef_dev             ewa0.0.0.3.0
booted_dev
booted_file
booted_osflags

>>>boot
(boot ewa0.0.0.3.0 -flags root=/dev/nfs ip=dhcp console=tty1 console=ttyS0,9600n8)

Trying BOOTP boot.

Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: /AC10020F
local inet address: 172.16.5.1
remote inet address: 172.16.3.6
TFTP Read File Name: /AC10020F
netmask = 255.255.0.0
Server is on same subnet as client.
..........................................................................................................................
bootstrap code read in
base = 1e6000, image_start = 0, image_bytes = 79a5c6
initializing HWRPB at 2000
initializing page table at 1d8000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 1.0_pre20040408
aboot: switching to OSF/1 PALcode version 1.22
aboot: loading initrd (4241862 bytes/8285 blocks) at 0xfffffc0023bf2000
aboot: starting kernel network with arguments root=/dev/nfs ip=dhcp console=tty1 console=ttyS0,9600n8

halted CPU 0

halt code = 5
HALT instruction executed
PC = fffffc000134b8a0
boot failure
>>>
```

The older 3.16.x kernel worked without a problem on my machines though. Hence I thought that maybe something was changed in the v4.x kernels that made them incompatible with pre EV6 CPUs. There were some messages about enabling BWX (starting with [1]), but as it should still work with EV56 when enabled I wondered if my problems were related at all.

[1]: https://lists.debian.org/debian-alpha/2014/09/msg00000.html

Mid of 2015 you wrote on [2] that you haven't yet enabled BWX, so also for my other gear (LCA4, EV4, EV45) this couldn't be the problem, as it wasn't enabled yet.

[2]: https://lists.debian.org/debian-alpha/2015/06/msg00001.html

As no v4.x kernel worked with my machines I stayed with the working 3.16.x kernels.

Until recently I didn't have a reason to also try the SMP variant of the v4.x Linux kernels, but now that I have a DS20E and had the same problems with the generic Linux kernel v4.x from Debian I also tried the SMP variant on it.

And the SMP variant of the v4.x kernel just works (tested with "4.8.0.2-alpha-smp", "Debian 4.8.11-1" from 2016-12-02 to be exact).

Today I thought about also trying the SMP variant of the v4.x kernel on my older Alpha non-SMP machines - well, there's no reason that an SMP kernel shouldn't work on a non-SMP machine I believe, if it is not prohibited by some configuration.

And guess what, the SMP v4.x kernel also works there.

For my AlphaStations 200 and 255 I had to disable AGP support with `agp=off` to be able to continue booting after the agpgart message. I don't really know why it bothers these machines, but disabling AGP support on a system without AGP ports doesn't hurt, so no issue.

I currently still have a problem with the kernel level IP autoconfiguration on the older machines, but the SMP kernel seems to be booting on all machines.

Find the dmesg output for my PWS 500au below.

So maybe you could try the v4.x SMP kernel on your XP1000 and see if it works there, too?

Please CC me because I'm not on the list.

Cheers,
Frank

```
[ 0.000000] Linux version 4.8.0-2-alpha-smp (debian-kernel@lists.debian.org) (gcc version 5.4.1 20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.11-1 (2016-12-02)
[    0.000000] Booting GENERIC on Miata using machine vector Miata from SRM
[    0.000000] Major Options: SMP MAGIC_SYSRQ
[ 0.000000] Command line: root=/dev/nfs ip=dhcp console=tty1 console=ttyS0,9600n8
[    0.000000] memcluster 0, usage 1, start        0, end      243
[    0.000000] memcluster 1, usage 0, start      243, end    73727
[    0.000000] memcluster 2, usage 1, start    73727, end    73728
[    0.000000] freeing pages 243:2048
[    0.000000] freeing pages 4271:73727
[    0.000000] reserving pages 4271:4273
[    0.000000] Initial ramdisk at: 0xfffffc0023b8e000 (4648815 bytes)
[ 0.000000] 2048K Bcache detected; load hit latency 29 cycles, load miss latency 121 cycles
[    0.000000] pci: cia revision 1 (pyxis)
[    0.000000] SMP: 1 CPUs probed -- cpu_present_mask = 1
[    0.000000] On node 0 totalpages: 73727
[ 0.000000] free_area_init_node: node 0, pgdat fffffc000207fac0, node_mem_map fffffc00001f0400
[    0.000000]   DMA zone: 576 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 73727 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 8 pages/cpu @fffffc0000678000 s26880 r8192 d30464 u65536
[    0.000000] pcpu-alloc: s26880 r8192 d30464 u65536 alloc=8*8192
[    0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 73151 [ 0.000000] Kernel command line: root=/dev/nfs ip=dhcp console=tty1 console=ttyS0,9600n8
[    0.000000] PID hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 524288 bytes)
[    0.000000] Sorting __ex_table...
[ 0.000000] Memory: 559248K/589816K available (6067K kernel code, 8753K rwdata, 1876K rodata, 416K init, 574K bss, 30568K reserved, 0K cma-reserved)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[    0.000000] NR_IRQS:32784
[    0.000000] HWRPB cycle frequency bogus.  Estimated 499840445 Hz
[    0.033203] Console: colour VGA+ 80x25
[    0.034179] console [tty1] enabled
[    0.063476] console [ttyS0] enabled
[    0.065429] Calibrating delay loop... 979.52 BogoMIPS (lpj=478208)
[    0.075195] pid_max: default: 32768 minimum: 301
[    0.078124] Security Framework initialized
[    0.079101] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.080078] AppArmor: AppArmor disabled by boot time parameter
[    0.082031] Mount-cache hash table entries: 2048 (order: 1, 16384 bytes)
[ 0.083007] Mountpoint-cache hash table entries: 2048 (order: 1, 16384 bytes)
[    0.100585] SMP mode deactivated.
[    0.101562] Performance events: No support for your CPU.
[    0.108398] Brought up 1 CPUs
[    0.109374] SMP: Total of 1 processors activated (985.77 BogoMIPS).
[    0.111328] devtmpfs: initialized
[ 0.124999] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1866466235866741 ns
[    0.128906] NET: Registered protocol family 16
[    0.134765] EISA bus registered
[    0.136718] pci: passed tb register update test
[    0.137695] pci: passed sg loopback i/o read test
[    0.138671] pci: passed pte write cache snoop test
[ 0.139648] pci: failed valid tag invalid pte reload test (mcheck; workaround available)
[    0.140624] pci: passed pci machine check test
[    0.141601] pci: tbia workaround enabled
[    0.142578] PCI host bridge to bus 0000:00
[    0.144531] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[ 0.145507] pci_bus 0000:00: root bus resource [mem 0x00000000-0x7fffffff] [ 0.147460] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[...]
[    0.183593] SMC37c669 Super I/O Controller found @ 0x0000000000000370
[    0.201171] vgaarb: setting as boot device: PCI:0000:01:09.0
[ 0.201171] vgaarb: device added: PCI:0000:01:09.0,decodes=io+mem,owns=io+mem,locks=none
[    0.202148] vgaarb: loaded
[    0.203124] vgaarb: bridge control possible 0000:01:09.0
[    0.205078] SCSI subsystem initialized
[    0.215820] VFS: Disk quotas dquot_6.6.0
[ 0.222656] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[    0.245117] NET: Registered protocol family 2
[    0.249999] random: fast init done
[ 0.253906] TCP established hash table entries: 8192 (order: 3, 65536 bytes)
[    0.255859] TCP bind hash table entries: 8192 (order: 4, 131072 bytes)
[    0.257812] TCP: Hash tables configured (established 8192 bind 8192)
[    0.259765] UDP hash table entries: 512 (order: 1, 16384 bytes)
[    0.261718] UDP-Lite hash table entries: 512 (order: 1, 16384 bytes)
[    0.263671] NET: Registered protocol family 1
[    0.264648] PCI: CLS 64 bytes, default 64
[    0.265624] Unpacking initramfs...
[ 1.192382] Freeing initrd memory: 4536K (fffffc0023b8e000 - fffffc0023ffc000)
[    1.194335] Using epoch 2000 for rtc year 17
[    1.196288] platform rtc-alpha: rtc core: registered rtc-alpha as rtc0
[    1.198241] futex hash table entries: 256 (order: 1, 16384 bytes)
[    1.199218] audit: initializing netlink subsys (disabled)
[    1.201171] audit: type=2000 audit(1.201:1): initialized
[    1.203124] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    1.204100] zbud: loaded
[ 1.210936] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.211913] io scheduler noop registered
[    1.212890] io scheduler deadline registered
[    1.214843] io scheduler cfq registered (default)
[    1.216796] isapnp: Scanning for PnP cards...
[    1.567382] isapnp: No Plug & Play device found
[    1.568358] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.571288] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 1.574217] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    1.577147] Linux agpgart interface v0.103
[    1.583007] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.583983] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.585936] mousedev: PS/2 mouse device common for all mice
[    1.587889] platform eisa.0: Probing EISA bus 0
[    1.589842] ledtrig-cpu: registered to indicate activity on CPUs
[    1.591796] NET: Registered protocol family 10
[    1.593749] atkbd serio0: keyboard reset failed on isa0060/serio0
[    1.595702] mip6: Mobile IPv6
[    1.596678] NET: Registered protocol family 17
[    1.597655] mpls_gso: MPLS GSO support
[    1.599608] registered taskstats version 1
[    1.601561] zswap: loaded using pool lzo/zbud
[ 1.604491] platform rtc-alpha: setting system clock to 2017-03-29 06:17:55 UTC (1490768275)
[    1.605467] atkbd serio1: keyboard reset failed on isa0060/serio1
[ 1.606444] Freeing unused kernel memory: 416K (fffffc00017d4000 - fffffc000183c000)
[    1.607421] This architecture does not have kernel memory protection.
[    2.002928] tulip: Linux Tulip driver version 1.1.15-NAPI (Feb 27, 2007)
[    2.008788] tulip0: EEPROM default media type Autosense
[ 2.009764] tulip0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block [ 2.010741] tulip0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block [ 2.011717] tulip0: Index #2 - Media 10base2 (#1) described by a 21142 Serial PHY (2) block [ 2.012694] tulip0: Index #3 - Media AUI (#2) described by a 21142 Serial PHY (2) block [ 2.013670] tulip0: Index #4 - Media MII (#11) described by a 21142 MII PHY (3) block [ 2.019530] tulip0: MII transceiver #5 config 0100 status 784b advertising 01e1 [ 2.026366] net eth0: Digital DS21142/43 Tulip rev 48 at Port 0x9000, 00:00:f8:11:22:33, IRQ 24
[    2.087889] input: PC Speaker as /devices/platform/pcspkr/input/input2
[    2.298826] tulip 0000:00:03.0 enp0s3: renamed from eth0
[    2.540037] de2104x: PCI Ethernet driver v0.7 (Mar 17, 2004)
[    2.604490] RPC: Registered named UNIX socket transport module.
[    2.605467] RPC: Registered udp transport module.
[    2.606443] RPC: Registered tcp transport module.
[    2.607420] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.674803] FS-Cache: Loaded
[    2.708006] FS-Cache: Netfs 'nfs' registered for caching
[    2.931639] loop: module loaded
[ 3.216795] ipconfig(148): unaligned trap at 0000000120003628: 000000011feb33ff 28 3 [ 3.221678] ipconfig(148): unaligned trap at 0000000120003628: 000000011feb33ff 28 3 [ 6.249996] net enp0s3: Setting full-duplex based on MII#5 link partner capability of c5e1
[    6.428707] random: crng init done
[ 7.115230] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    7.116207] systemd[1]: Detected architecture alpha.
[    7.211910] systemd[1]: Set hostname to <pws-500au>.
[ 9.123042] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    9.226557] systemd[1]: Created slice System Slice.
[    9.283198] systemd[1]: Created slice system-getty.slice.
[ 9.343745] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    9.431635] systemd[1]: Mounting Debug File System...
[    9.482417] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    9.554682] systemd[1]: Listening on RPCbind Server Activation Socket.
[ 13.547844] systemd-journald[193]: Received request to flush runtime journal from PID 1
```


Reply to: