Bug#964805: Debian Sid HP PA-RISC init (pid 1): Unaligned data reference (code 28) at f8affb6f

Антон Кочков anton.kochkov at gmail.com
Fri Jul 10 18:01:48 BST 2020


Package: systemd-sysv
Version: 245.6-1

I attached installation and running scripts at the bottom. I ran
Debian 10.0.0 installation cdrom with Qemu 4.2.0, installation went
fine but the bus error appears all the time while running.

Let me know if you need this VM qcow2 image. CDROM image downloaded from
https://cdimage.debian.org/cdimage/ports/current/debian-10.0.0-hppa-NETINST-1.iso

QEMU emulator version 4.2.0 (qemu-4.2.0-7.fc32)

Formatting 'debian-10.0.0-hppa-hdd.qcow2', fmt=qcow2 size=4294967296
cluster_size=65536 lazy_refcounts=off refcount_bits=16
WARNING: Image format was not specified for 'json:{"fat-type": 0,
"backing": {"driver": "vvfat_write_target"}, "dir": "share/",
"driver": "vvfat", "floppy": false, "rw": true, "write-target":
{"driver": "qcow", "file": {"driver": "file", "filename":
"/var/tmp/vl.2AiM5z"}}}' and probing guessed raw.
         Automatically detecting the format is dangerous for raw
images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-hppa: warning: Guest expects a stronger memory ordering
than the host provides
This may cause strange/hard to debug errors

Firmware Version 6.1

Duplex Console IO Dependent Code (IODC) revision 1

Memory Test/Initialization Completed

------------------------------------------------------------------------------
  (c) Copyright 2017-2018 Helge Deller <deller at gmx.de> and SeaBIOS developers.
------------------------------------------------------------------------------

  Processor   Speed            State           Coprocessor State  Cache Size
  ---------  --------   ---------------------  -----------------  ----------
      0      250 MHz    Active                 Functional            0 KB
      1      250 MHz    Idle                   Functional            0 KB
      2      250 MHz    Idle                   Functional            0 KB
      3      250 MHz    Idle                   Functional            0 KB


  Available memory:     512 MB
  Good memory required: 16 MB

  Primary boot path:    FWSCSI.0.0
  Alternate boot path:  FWSCSI.1.0
  Console path:         SERIAL_1.9600.8.none
  Keyboard path:        PS2

Available boot devices:
1. DVD/CD [lsi 00:00.0 1:0 Drive QEMU QEMU CD-ROM 2.5+]
2. lsi 00:00.0 0:0 Drive QEMU QEMU HARDDISK 2.5+
3. lsi 00:00.0 2:0 Drive QEMU QEMU HARDDISK 2.5+

Booting from DVD/CD [lsi 00:00.0 1:0 Drive QEMU QEMU CD-ROM 2.5+]

Booting...
Boot IO Dependent Code (IODC) revision 153

HARD Booted.
palo ipl 2.12 http://www.parisc-linux.org - Tue, 10 Sep 2019 12:01:26 +0200

Boot image contains:
    0/vmlinux32 3607312(0) bytes @ 0xe24800
    0/vmlinux64 4469328(0) bytes @ 0x1195800
    0/ramdisk 13882966 bytes @ 0xdb800

Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).

Command line for kernel: ' console=ttyS0 TERM=vt102 palo_kernel=0/vmlinuz'
Selected kernel: /vmlinuz from partition 0
Selected ramdisk: /ramdisk from partition 0
Warning: kernel name doesn't end with 32 or 64 -- Guessing... Choosing
32-bit kernel
ELF32 executable
Segment 0 load 000e0000 size 3576548 mediaptr 0x1000
Segment 1 load 00c82000 size 18724 mediaptr 0x36b000
Loading ramdisk 13882966 bytes @ 1f2b1000...
Branching to kernel entry point 0x000e0000.  If this is the last
message you see, you may need to switch your console.  This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org

Decompressing Linux... done.
Booting the kernel.
[    0.000000] Linux version 5.6.0-2-parisc
(debian-kernel at lists.debian.org) (gcc version 9.3.0 (Debian 9.3.0-13))
#1 SMP Debian 5.6.14-1 (2020-05-28)
[    0.000000] CPU0: thread -1, cpu 0, socket 0
[    0.000000] FP[0] enabled: Rev 1 Model 19
[    0.000000] The 32-bit Kernel has started...
[    0.000000] Kernel default page size is 4 KB. Huge pages disabled.
[    0.000000] printk: bootconsole [ttyB0] enabled
[    0.000000] Initialized PDC Console for debugging.
[    0.000000] Determining PDC firmware type: System Map.
[    0.000000] model 00005020 00000481 00000000 02020202 7794d7fe
100000f0 00000004 000000ba 000000ba
[    0.000000] vers  00000023
[    0.000000] CPUID vers 15 rev 8 (0x000001e8)
[    0.000000] capabilities 0x2
[   0.000000] model 9000/778/B160L
[    0.000000] Memory Ranges:
[    0.000000]  0) Start 0x0000000000000000 End 0x000000001fffffff
Size    512 MB
[    0.000000] Total Memory: 512 MB
[    0.000000] initrd: 2f2b1000-2ffee656
[    0.000000] initrd: reserving 1f2b1000-1ffee656 (mem_max 20000000)
[    0.000000] PDT: Firmware does not provide any page deallocation information.
[    0.000000] percpu: Embedded 27 pages/cpu s80912 r8192 d21488 u110592
[    0.000000] SMP: bootstrap CPU ID is 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line:  console=ttyS0 TERM=vt102
palo_kernel=0/vmlinuz
[    0.000000] Dentry cache hash table entries: 65536 (order: 6,
262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 492972K/524288K available (8156K kernel code,
994K rwdata, 1416K rodata, 644K init, 572K bss, 31316K reserved, 0K
cma-reserved)
[    0.000000] random: get_random_u32 called from
__kmem_cache_create+0x54/0x620 with crng_init=0
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 22931 entries in 45 pages
[    0.000000] ftrace: allocated 45 pages with 4 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay
is 25 jiffies.
[    0.000000] NR_IRQS: 96
[    0.000395] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps
every 8589934590ns
[    0.009337] Console: colour dummy device 160x64
[    0.015235] Calibrating delay loop... 1210.36 BogoMIPS (lpj=2420736)
[    0.039251] pid_max: default: 32768 minimum: 301
[    0.042260] LSM: Security Framework initializing
[    0.044345] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.048999] AppArmor: AppArmor initialized
[    0.049528] TOMOYO Linux initialized
[    0.051979] Mount-cache hash table entries: 1024 (order: 0, 4096
bytes, linear)
[    0.052502] Mountpoint-cache hash table entries: 1024 (order: 0,
4096 bytes, linear)
[    0.120234] rcu: Hierarchical SRCU implementation.
[    0.140818] smp: Bringing up secondary CPUs ...
[    0.141326] smp: Brought up 1 node, 1 CPU
[    0.164737] devtmpfs: initialized
[    0.184821] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.185981] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.196279] thermal_sys: Registered thermal governor 'fair_share'
[    0.196466] thermal_sys: Registered thermal governor 'step_wise'
[    0.209370] NET: Registered protocol family 16
[    0.215119] audit: initializing netlink subsys (disabled)
[    0.223766] audit: type=2000 audit(1594356121.216:1):
state=initialized audit_enabled=0 res=1
[    0.228477] EISA bus registered
[    0.230057] Searching for devices...
[    0.239074] Found devices:
[    0.241274] 1. Phantom PseudoBC GSC+ Port at 0xffc00000 [8] { 7,
0x0, 0x504, 0x00000 }
[    0.241710] 2. Dino PCI Bridge at 0xfff80000 [8/0] { 13, 0x3,
0x680, 0x0000a }
[    0.242128] 3. Merlin+ 132 Dino RS-232 at 0xfff83000 [8/0/63] { 10,
0x0, 0x022, 0x0008c }
[    0.243010] 4. Merlin L2 160 (9000/778/B160L) at 0xfffb0000 [48] {
0, 0x0, 0x502, 0x00004 }
[    0.243489] 5. Memory at 0xfffbf000 [63] { 1, 0x0, 0x067, 0x00009 }
[    0.243854] 6. Merlin L2 160 (9000/778/B160L) at 0xfffb1000 [49] {
0, 0x0, 0x502, 0x00004 }
[    0.244350] 7. Merlin L2 160 (9000/778/B160L) at 0xfffb2000 [50] {
0, 0x0, 0x502, 0x00004 }
[    0.244808] 8. Merlin L2 160 (9000/778/B160L) at 0xfffb3000 [51] {
0, 0x0, 0x502, 0x00004 }
[    0.245378] Enabling regular chassis codes support v0.05
[    0.249802] CPU1: thread -1, cpu 0, socket 1
[    0.263678] Releasing cpu 1 now, hpa=fffb1000
[    0.272966] CPU2: thread -1, cpu 0, socket 2
[    0.289467] Releasing cpu 2 now, hpa=fffb2000
[    0.296843] CPU3: thread -1, cpu 0, socket 3
[    0.324271] Releasing cpu 3 now, hpa=fffb3000
[    0.332381] CPU(s): 4 out of 4 PA7300LC (PCX-L2) at 250.000000 MHz online
[    0.332570] alternatives: applied 86 out of 258 patches
[    0.340837] Cache flush threshold set to 512 KiB
[    0.341519] TLB flush threshold set to 256 KiB
[    0.346199] Dino version 3.1 found at 0xfff80000
[    0.354161] dino 8:0: PCI host bridge to bus 0000:00
[    0.355499] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.355876] pci_bus 0000:00: root bus resource [mem 0xf0800000-0xff7fffff]
[    0.356418] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.358038] pci 0000:00:00.0: [1000:0012] type 00 class 0x010000
[    0.360977] pci 0000:00:00.0: reg 0x10: [io  0x1000-0x10ff]
[    0.360977] pci 0000:00:00.0: reg 0x14: [mem 0xff7e2000-0xff7e23ff]
[    0.360977] pci 0000:00:00.0: reg 0x18: [mem 0xff7e0000-0xff7e1fff]
[    0.373009] pci 0000:00:01.0: [8086:100e] type 00 class 0x020000
[    0.375842] pci 0000:00:01.0: reg 0x10: [mem 0xff7c0000-0xff7dffff]
[    0.376855] pci 0000:00:01.0: reg 0x14: [io  0x1100-0x113f]
[    0.379646] pci 0000:00:01.0: reg 0x30: [mem 0xff780000-0xff7bffff pref]
[    0.380052] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.381435] pci 0000:00:01.0: BAR 0: assigned [mem 0xf0800000-0xf081ffff]
[    0.382261] pci 0000:00:00.0: BAR 2: assigned [mem 0xf0820000-0xf0821fff]
[    0.387735] pci 0000:00:00.0: BAR 1: assigned [mem 0xf0822000-0xf08223ff]
[    0.388282] pci 0000:00:00.0: BAR 0: assigned [io  0x0100-0x01ff]
[    0.388833] pci 0000:00:01.0: BAR 1: assigned [io  0x0040-0x007f]
[    0.391939] powersw: Soft power switch support not available.
[    0.467249] random: fast init done
[    0.623244] vgaarb: loaded
[    0.663660] NetLabel: Initializing
[    0.663968] NetLabel:  domain hash size = 128
[    0.664204] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.665944] NetLabel:  unlabeled traffic allowed by default
[    1.189881] VFS: Disk quotas dquot_6.6.0
[    1.191711] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.201935] AppArmor: AppArmor Filesystem Enabled
[    1.328278] NET: Registered protocol family 2
[    1.353981] tcp_listen_portaddr_hash hash table entries: 256
(order: 0, 6144 bytes, linear)
[    1.355563] TCP established hash table entries: 4096 (order: 2,
16384 bytes, linear)
[    1.356381] TCP bind hash table entries: 4096 (order: 4, 81920 bytes, linear)
[    1.357169] TCP: Hash tables configured (established 4096 bind 4096)
[    1.360989] UDP hash table entries: 256 (order: 1, 12288 bytes, linear)
[    1.361952] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes, linear)
[    1.368546] NET: Registered protocol family 1
[    1.369421] NET: Registered protocol family 44
[    1.370116] PCI: CLS 16 bytes
[    1.378891] Trying to unpack rootfs image as initramfs...
[    8.016276] Freeing initrd memory: 13556K
[    8.017392] clocksource: cr16: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041786 ns
[    8.020264] clocksource: Switched to clocksource cr16
[    8.022390] Enabling PDC chassis warnings support v0.05
[    8.035776] Initialise system trusted keyrings
[    8.039447] Key type blacklist registered
[    8.046788] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    8.084693] zbud: loaded
[    8.110947] Platform Keyring initialized
[    8.111617] Key type asymmetric registered
[    8.112047] Asymmetric key parser 'x509' registered
[    8.113939] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 252)
[    8.118789] io scheduler mq-deadline registered
[    8.135925] PDC Stable Storage facility v0.30
[    8.139669] STI GSC/PCI core graphics driver Version 0.9b
[    8.147129] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    8.175678] printk: console [ttyS0] disabled
[    8.178664] 8:0:63: ttyS0 at MMIO 0xfff83800 (irq = 16, base_baud =
454545) is a 16550A
[    8.180168] printk: console [ttyS0] enabled
[    8.180168] printk: console [ttyS0] enabled
[    8.180764] printk: bootconsole [ttyB0] disabled
[    8.180764] printk: bootconsole [ttyB0] disabled
[    8.200746] mousedev: PS/2 mouse device common for all mice
[    8.207921] rtc-generic rtc-generic: registered as rtc0
[    8.212017] ledtrig-cpu: registered to indicate activity on CPUs
[    8.214629] drop_monitor: Initializing network drop monitor service
[    8.221655] NET: Registered protocol family 10
[    8.267725] process '/bin/kmod' started with executable stack
[    8.287406] modprobe(79): unaligned access to 0xf9934848 at ip=0xf8affb6f
[    8.288050] Not-handled unaligned insn 0x0f8011dc
[    8.288267] Unaligned handler failed, ret = -1
[    8.288534] modprobe (pid 79): Unaligned data reference (code 28) at f8affb6f
[    8.319528] modprobe(80): unaligned access to 0xf9153848 at ip=0xf8affb6f
[    8.320046] Not-handled unaligned insn 0x0f8011dc
[    8.320248] Unaligned handler failed, ret = -1
[    8.320458] modprobe (pid 80): Unaligned data reference (code 28) at f8affb6f
[    8.357974] modprobe(83): unaligned access to 0xfa4b8848 at ip=0xf8affb6f
[    8.358448] Not-handled unaligned insn 0x0f8011dc
[    8.358650] Unaligned handler failed, ret = -1
[    8.358861] modprobe (pid 83): Unaligned data reference (code 28) at f8affb6f
[    8.385988] modprobe(84): unaligned access to 0xfa811848 at ip=0xf8affb6f
[    8.386365] Not-handled unaligned insn 0x0f8011dc
[    8.386521] Unaligned handler failed, ret = -1
[    8.386674] modprobe (pid 84): Unaligned data reference (code 28) at f8affb6f
[    8.414067] modprobe(85): unaligned access to 0xfab10848 at ip=0xf8affb6f
[    8.414634] Not-handled unaligned insn 0x0f8011dc
[    8.414961] Unaligned handler failed, ret = -1
[    8.415228] modprobe (pid 85): Unaligned data reference (code 28) at f8affb6f
[    8.448856] Not-handled unaligned insn 0x0f8011dc
[    8.450001] Unaligned handler failed, ret = -1
[    8.450244] modprobe (pid 88): Unaligned data reference (code 28) at f8affb6f
[    8.460098] Segment Routing with IPv6
[    8.463095] mip6: Mobile IPv6
[    8.463483] NET: Registered protocol family 17
[    8.467733] mpls_gso: MPLS GSO support
[    8.476251] registered taskstats version 1
[    8.476602] Loading compiled-in X.509 certificates
[    8.506853] Not-handled unaligned insn 0x0f8011dc
[    8.507287] Unaligned handler failed, ret = -1
[    8.507621] modprobe (pid 92): Unaligned data reference (code 28) at f8affb6f
[    8.580302] Loaded X.509 cert 'Debian Secure Boot CA:
6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    8.582032] Loaded X.509 cert 'Debian Secure Boot Signer: 00a7468def'
[    8.585064] zswap: loaded using pool lzo/zbud
[    8.600429] Key type ._fscrypt registered
[    8.600967] Key type .fscrypt registered
[    8.601236] Key type fscrypt-provisioning registered
[    8.606641] AppArmor: AppArmor sha1 policy hashing enabled
[    8.614286] rtc-generic rtc-generic: setting system clock to
2020-07-10T04:42:10 UTC (1594356130)
[    8.615607] Unstable clock detected, switching default tracing
clock to "global"
[    8.615607] If you want to keep using the local clock, then add:
[    8.615607]   "trace_clock=local"
[    8.615607] on the kernel command line
[    9.737302] Freeing unused kernel memory: 644K
[    9.738649] Write protected read-only-after-init data: 33k
[    9.738976] Run /init as init process
[    9.759154] Not-handled unaligned insn 0x0f8011dc
[    9.759572] Unaligned handler failed, ret = -1
[    9.759868] init (pid 1): Unaligned data reference (code 28) at f8affb6f
[    9.762008] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000a
[    9.762353] CPU: 2 PID: 1 Comm: init Not tainted 5.6.0-2-parisc #1
Debian 5.6.14-1
[    9.762579] Hardware name: 9000/778/B160L
[    9.762803] Backtrace:
[    9.763312]  [<101a52bc>] show_stack+0x2c/0x4c
[    9.763565]  [<10972b7c>] dump_stack+0x90/0x114
[    9.763903]  [<101cd7a8>] panic+0x124/0x348
[    9.764107]  [<101d448c>] do_exit+0xaf4/0xb50
[    9.764294]  [<101d45a4>] do_group_exit+0x48/0xe8
[    9.764470]  [<101e3b60>] get_signal+0x1a0/0xad4
[    9.764631]  [<101b27c8>] do_signal+0x4c/0x568
[    9.764806]  [<101b2d2c>] do_notify_resume+0x48/0x10c
[    9.765068]  [<101ab0a8>] intr_check_sig+0x34/0x38
[    9.765251]

** WARNING **: SeaBIOS: Unimplemented P
C proc P�#H�#H�#I#I#I##I3#IC#IS#Ic#Is#I�#I�#I�#I�#I�#I�#I�#I�#J#J#J##J3#JC#JS#Jc#Js#J�#J�#J�#J�#J�#J�#J�#J�#K#K#K##K3#KC#KS#Kc#Ks#K�#K�#K�#K�#K�#K�#K�#K�#L#L#L##L3#LC#LS#Lc#Ls#L�#L�#L�#L�#L�#L�#L�#L�#M#M#M##M3#MC#MS#Mc#Ms#M�#M�#M�#M�#M�#M�#M�#M�#N#N#N##N3#NC#NS#Nc#Ns#N�#N�#N�#N�#N�#N�#N�#N�#O#O#O##O3#OC#OS#Oc#Os#O�#O�#O�#O�#O�#O�#O�#O�#P#P#P##P3#PC#PDROC([
   9.765544] ---[ end Kernel panic - not syncing: Attempted to kill
init! exitcode=0x0000000a ]---
ARG4=1117f2c8 ARG5=0 ARG6=1117f240 ARG7=0

 install.sh

#!/bin/sh
VERSION=10.0.0
KERNEL_VERSION=5.6.0-1
ARCH=hppa
IMAGE=debian-${VERSION}-${ARCH}-hdd.qcow2
CDIMAGE=debian-${VERSION}-${ARCH}-NETINST-1.iso
PORT=10001 # Port to SSH to (redirection to 22 port in guest)

QEMU_RAM=512
QEMU_CPU=4
QEMU_DISK_SIZE=4G
QEMU_SHARE="share/"

SYSTEM_ARGS="-accel tcg,thread=multi -smp cpus=${QEMU_CPU} -m ${QEMU_RAM}"
QEMU_COMMON_ARGS="${SYSTEM_ARGS} -nographic -serial mon:stdio -net nic"

if [ ! -f "${IMAGE}" ]; then
    qemu-img create -f qcow2 -o size=${QEMU_DISK_SIZE} ${IMAGE}

    qemu-system-${ARCH} ${QEMU_COMMON_ARGS} \
        -drive file="${IMAGE}" -boot d \
        -drive file=${CDIMAGE},media=cdrom \
        -drive file=fat:rw:${QEMU_SHARE} \
        -net user,hostfwd=tcp::${PORT}-:22
fi

run.sh

#!/bin/sh
VERSION=10.0.0
ARCH=hppa
IMAGE=debian-${VERSION}-${ARCH}-hdd.qcow2
PORT=10001 # Port to SSH to (redirection to 22 port in guest)

QEMU_RAM=512
QEMU_CPU=4
QEMU_SHARE="share/"

SYSTEM_ARGS="-accel tcg,thread=multi -smp cpus=${QEMU_CPU} -m ${QEMU_RAM}"
QEMU_COMMON_ARGS="${SYSTEM_ARGS} -nographic -serial mon:stdio -net nic"

if [ -f "${IMAGE}" ]; then
    qemu-system-${ARCH} ${QEMU_COMMON_ARGS} \
        -drive file="${IMAGE}" \
        -drive file=fat:rw:${QEMU_SHARE} \
        -net user,hostfwd=tcp::${PORT}-:22
fi


Best regards,
Anton Kochkov.



More information about the Pkg-systemd-maintainers mailing list