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

chroot into a debootstrap filesystem and the numerous problems





Well firstly I am thankful for the documentation. This is a highly
functional maillist lately. Well, the debootstrap process went amazingly
smooth :

root@triton:~# debootstrap \
--keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
--include=debian-ports-archive-keyring,wget \
--arch=sparc64 unstable \
 /opt/sparc64/chroot http://ftp.ports.debian.org/debian-ports
I: Target architecture can be executed
I: Checking Release signature
I: Valid Release signature
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://ftp.ports.debian.org/debian-ports...
I: Retrieving adduser 3.152
I: Validating adduser 3.152
I: Retrieving apt 3.1.5
I: Validating apt 3.1.5
.
.
.

Eventually I was able to make a tar file and then split it into many
smaller 64MB parts. That was needed to scp the files to the destination
sparcv9 server.

I was able to chroot into that new root filesystem on the secondary disk
and saw there is a networking problem :

root@nix:~# mount -o bind /dev /mnt/sdb4/dev
root@nix:~# mount -o bind /proc /mnt/sdb4/proc
root@nix:~# mount -o bind /sys /mnt/sdb4/sys
root@nix:~#
root@nix:~# chroot /mnt/sdb4
root@nix:/# pwd
/
root@nix:/# ls
bin   dev  home  lib64       media  opt   root  sbin  sys  usr
boot  etc  lib   lost+found  mnt    proc  run   srv   tmp  var
root@nix:/#
root@nix:~# cat /etc/resolv.conf
search bw.genunix.com
nameserver 172.16.35.42
root@nix:~# ip addr show
SO_SNDBUF: Function not implemented
root@nix:~#

There is no way to curl/wget anything and no way to do the "apt update"
when name resolution seems to be borked. I put the ip address for
the site ftp.ports.debian.org into the chroot /etc/hosts file. That hack
seems to work ... clunky :

root@nix:~# apt install ./linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb Note, selecting 'linux-image-6.12.3-sparc64-smp' instead of './linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb'
Installing:
  linux-image-6.12.3-sparc64-smp

Installing dependencies:
  apparmor  dracut-install   initramfs-tools-bin   klibc-utils  linux-base
  busybox   initramfs-tools  initramfs-tools-core  libklibc     zstd

Suggested packages:
  apparmor-profiles-extra  firmware-linux-free     fdutils
  apparmor-utils           linux-doc-6.12          grub-ieee1275
  bash-completion          debian-kernel-handbook

Summary:
  Upgrading: 0, Installing: 11, Removing: 0, Not Upgrading: 0
  Download size: 2061 kB / 44.2 MB
  Space needed: 241 MB / 29.8 GB available

Continue? [Y/n]
Get:1 /root/linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb linux-image-6.12.3-sparc64-smp sparc64 6.12.3-1+sparc64 [42.1 MB] Get:2 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 apparmor sparc64 4.1.0-1 [617 kB] Get:3 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 busybox sparc64 1:1.37.0-6 [475 kB] Get:4 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 dracut-install sparc64 107-1 [31.9 kB] Get:5 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 initramfs-tools-bin sparc64 0.150 [16.3 kB] Get:6 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 libklibc sparc64 2.0.14-1 [44.6 kB] Get:7 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 klibc-utils sparc64 2.0.14-1 [90.8 kB] Get:8 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 initramfs-tools-core all 0.150 [51.2 kB] Get:9 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 linux-base all 4.14 [25.8 kB] Get:10 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 initramfs-tools all 0.150 [17.7 kB] Get:11 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 zstd sparc64 1.5.7+dfsg-1.1 [691 kB]
Fetched 2061 kB in 7s (295 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = (unset),
        LC_NUMERIC = (unset),
        LC_COLLATE = (unset),
        LC_TIME = (unset),
        LC_MESSAGES = (unset),
        LC_MONETARY = (unset),
        LC_ADDRESS = (unset),
        LC_IDENTIFICATION = (unset),
        LC_MEASUREMENT = (unset),
        LC_PAPER = (unset),
        LC_TELEPHONE = (unset),
        LC_NAME = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
Error: Can not write log (Is /dev/pts mounted?) - open (2: No such file or directory)
     Selecting previously unselected package apparmor.
(Reading database ... 8006 files and directories currently installed.)e ...
 Preparing to unpack .../00-apparmor_4.1.0-1_sparc64.deb ...
Unpacking apparmor (4.1.0-1) ...
 Selecting previously unselected package busybox.
Preparing to unpack .../01-busybox_1%3a1.37.0-6_sparc64.deb ...
                                Unpacking busybox (1:1.37.0-6) ...
 Selecting previously unselected package dracut-install.
Preparing to unpack .../02-dracut-install_107-1_sparc64.deb ...
                        Unpacking dracut-install (107-1) ...
Selecting previously unselected package initramfs-tools-bin. Preparing to unpack .../03-initramfs-tools-bin_0.150_sparc64.deb ...
                            Unpacking initramfs-tools-bin (0.150) ...
 Selecting previously unselected package libklibc:sparc64.
Preparing to unpack .../04-libklibc_2.0.14-1_sparc64.deb ...
                          Unpacking libklibc:sparc64 (2.0.14-1) ...
 Selecting previously unselected package klibc-utils.
Preparing to unpack .../05-klibc-utils_2.0.14-1_sparc64.deb ...
                      Unpacking klibc-utils (2.0.14-1) ...
Selecting previously unselected package initramfs-tools-core. Preparing to unpack .../06-initramfs-tools-core_0.150_all.deb ...
                        Unpacking initramfs-tools-core (0.150) ...
 Selecting previously unselected package linux-base.
Preparing to unpack .../07-linux-base_4.14_all.deb ...
           Unpacking linux-base (4.14) ...
Selecting previously unselected package initramfs-tools. Preparing to unpack .../08-initramfs-tools_0.150_all.deb ...
       Unpacking initramfs-tools (0.150) ...
Selecting previously unselected package linux-image-6.12.3-sparc64-smp. Preparing to unpack .../09-linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb ... Unpacking linux-image-6.12.3-sparc64-smp (6.12.3-1+sparc64) ...
                   Selecting previously unselected package zstd.
 Preparing to unpack .../10-zstd_1.5.7+dfsg-1.1_sparc64.deb ...
Unpacking zstd (1.5.7+dfsg-1.1) ... Error: Can not write log (Is /dev/pts mounted?) - open (2: No such file or directory)
      Setting up linux-base (4.14) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory
               Setting up apparmor (4.1.0-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Created symlink '/etc/systemd/system/sysinit.target.wants/apparmor.service' → '/usr/lib/systemd/system/apparmor.service'.
Setting up busybox (1:1.37.0-6) ...
Setting up libklibc:sparc64 (2.0.14-1) ...
      Setting up dracut-install (107-1) ...
                                  Setting up klibc-utils (2.0.14-1) ...
No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed. Setting up zstd (1.5.7+dfsg-1.1) ...
         Setting up initramfs-tools-bin (0.150) ...
Setting up initramfs-tools-core (0.150) ...
              Setting up initramfs-tools (0.150) ...
update-initramfs: deferring update (trigger activated) Setting up linux-image-6.12.3-sparc64-smp (6.12.3-1+sparc64) ... I: /vmlinuz.old is now a symlink to boot/vmlinux-6.12.3-sparc64-smp I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.3-sparc64-smp
 I: /vmlinuz is now a symlink to boot/vmlinux-6.12.3-sparc64-smp
I: /initrd.img is now a symlink to boot/initrd.img-6.12.3-sparc64-smp
 /etc/kernel/postinst.d/initramfs-tools:
 update-initramfs: Generating /boot/initrd.img-6.12.3-sparc64-smp
 Processing triggers for initramfs-tools (0.150) ...
update-initramfs: Generating /boot/initrd.img-6.12.3-sparc64-smp Notice: Download is performed unsandboxed as root as file '/root/linux-image-6.12.3-sparc64-smp_6.12.3-1+sparc64_sparc64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
root@nix:~#




I do not know why the output messages were all over the place on the serial console. Just what I saw. Also this :

    Error: Can not write log (Is /dev/pts mounted?)

I am guessing some other mount is needed for the chroot to really work.

I tried to install GRUB2 but that did not result in much :

root@nix:~# apt-get install grub2-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
dmsetup gettext-base grub-common libbrotli1 libdevmapper1.02.1 libfreetype6
  libfuse3-4 libpng16-16t64 os-prober
Suggested packages:
  multiboot-doc xorriso desktop-base console-setup fuse3
The following NEW packages will be installed:
dmsetup gettext-base grub-common grub2-common libbrotli1 libdevmapper1.02.1
  libfreetype6 libfuse3-4 libpng16-16t64 os-prober
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 5382 kB of archives.
After this operation, 47.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 gettext-base sparc64 0.23.1-2+b1 [238 kB] Get:2 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 libdevmapper1.02.1 sparc64 2:1.02.205-2 [108 kB] Get:3 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 dmsetup sparc64 2:1.02.205-2 [73.8 kB] Get:4 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 libbrotli1 sparc64 1.1.0-2+b7 [305 kB] Get:5 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 libpng16-16t64 sparc64 1.6.50-1 [266 kB] Get:6 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 libfreetype6 sparc64 2.13.3+dfsg-1 [395 kB] Get:7 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 libfuse3-4 sparc64 3.17.4-1 [80.8 kB] Get:8 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 grub-common sparc64 2.12-9 [2993 kB] Get:9 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 grub2-common sparc64 2.12-9 [908 kB] Get:10 http://ftp.ports.debian.org/debian-ports unstable/main sparc64 os-prober sparc64 1.83 [14.6 kB]
Fetched 5382 kB in 4s (1216 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = (unset),
        LC_NUMERIC = (unset),
        LC_COLLATE = (unset),
        LC_TIME = (unset),
        LC_MESSAGES = (unset),
        LC_MONETARY = (unset),
        LC_ADDRESS = (unset),
        LC_IDENTIFICATION = (unset),
        LC_MEASUREMENT = (unset),
        LC_PAPER = (unset),
        LC_TELEPHONE = (unset),
        LC_NAME = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
E: Can not write log (Is /dev/pts mounted?) - open (2: No such file or directory)
 Selecting previously unselected package gettext-base.
(Reading database ... 12108 files and directories currently installed.) ...
 Preparing to unpack .../0-gettext-base_0.23.1-2+b1_sparc64.deb ...
Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libdevmapper1.02.1:sparc64. Preparing to unpack .../1-libdevmapper1.02.1_2%3a1.02.205-2_sparc64.deb ...
        Unpacking libdevmapper1.02.1:sparc64 (2:1.02.205-2) ...
Selecting previously unselected package dmsetup. Preparing to unpack .../2-dmsetup_2%3a1.02.205-2_sparc64.deb ...
      Unpacking dmsetup (2:1.02.205-2) ...
Selecting previously unselected package libbrotli1:sparc64. Preparing to unpack .../3-libbrotli1_1.1.0-2+b7_sparc64.deb ...
    Unpacking libbrotli1:sparc64 (1.1.0-2+b7) ...
Selecting previously unselected package libpng16-16t64:sparc64. Preparing to unpack .../4-libpng16-16t64_1.6.50-1_sparc64.deb ...
                 Unpacking libpng16-16t64:sparc64 (1.6.50-1) ...
 Selecting previously unselected package libfreetype6:sparc64.
Preparing to unpack .../5-libfreetype6_2.13.3+dfsg-1_sparc64.deb ... Unpacking libfreetype6:sparc64 (2.13.3+dfsg-1) ...
   Selecting previously unselected package libfuse3-4:sparc64.
Preparing to unpack .../6-libfuse3-4_3.17.4-1_sparc64.deb ... Unpacking libfuse3-4:sparc64 (3.17.4-1) ...
      Selecting previously unselected package grub-common.
Preparing to unpack .../7-grub-common_2.12-9_sparc64.deb ...
                                      Unpacking grub-common (2.12-9) ...
 Selecting previously unselected package grub2-common.
Preparing to unpack .../8-grub2-common_2.12-9_sparc64.deb ...
                          Unpacking grub2-common (2.12-9) ...
Selecting previously unselected package os-prober. Preparing to unpack .../9-os-prober_1.83_sparc64.deb ...
       Unpacking os-prober (1.83) ...
E: Can not write log (Is /dev/pts mounted?) - open (2: No such file or directory) Setting up libbrotli1:sparc64 (1.1.0-2+b7) ...
    Setting up gettext-base (0.23.1-2+b1) ...
Setting up libpng16-16t64:sparc64 (1.6.50-1) ...
             Setting up libfuse3-4:sparc64 (3.17.4-1) ...
Setting up libfreetype6:sparc64 (2.13.3+dfsg-1) ... Setting up libdevmapper1.02.1:sparc64 (2:1.02.205-2) ...
    Setting up dmsetup (2:1.02.205-2) ...
Setting up grub-common (2.12-9) ... Created symlink '/etc/systemd/system/multi-user.target.wants/grub-common.service' → '/usr/lib/systemd/system/grub-common.service'. Created symlink '/etc/systemd/system/suspend.target.wants/grub-common.service' → '/usr/lib/systemd/system/grub-common.service'. Created symlink '/etc/systemd/system/hibernate.target.wants/grub-common.service' → '/usr/lib/systemd/system/grub-common.service'. Created symlink '/etc/systemd/system/hybrid-sleep.target.wants/grub-common.service' → '/usr/lib/systemd/system/grub-common.service'. Created symlink '/etc/systemd/system/suspend-then-hibernate.target.wants/grub-common.service' → '/usr/lib/systemd/system/grub-common.service'.
Setting up os-prober (1.83) ...
                               Setting up grub2-common (2.12-9) ...
 Processing triggers for libc-bin (2.41-12) ...
Processing triggers for initramfs-tools (0.150) ...
    update-initramfs: Generating /boot/initrd.img-6.12.3-sparc64-smp
 root@nix:~#
root@nix:~#

I have no idea where that is going :\

The end result is that I have *something* on the secondary disk. I even
know the UUID of the filesystem and where it is for a device name.

However I can not boot the new kernel nor use that new debootstrap root
filesystem. Well to be honest I do not know what isthe problem now. I
feel like just doing a copy of everything from the primary disk boot
filesystem onto the secondary disk as a new boot partition. The sparc
machine does not care what disk it boots. However there needs to be some
sort of a bootloader.

The way the situation looks today can be gathered up from a netboot of
the wheezy installer. Here is the situation :

(0) netboot with wheezy installer and drop to a shell to do anything

# uname -a
Linux nix 3.2.0-4-sparc64 #1 Debian 3.2.78-1 sparc64 GNU/Linux
# pwd
/tmp/root/boot
#

(1) there are two disks in the machine thus :

# ls /dev/sd??
/dev/sda1  /dev/sda3  /dev/sdb1  /dev/sdb3
/dev/sda2  /dev/sda4  /dev/sdb2  /dev/sdb4
#

# blkid
/dev/sda1: LABEL="boot" UUID="d9400881-a6fb-4266-9286-51240509852a" TYPE="ext2"
/dev/sda2: UUID="452a4546-fced-4c31-8f11-d57d35eb9754" TYPE="swap"
/dev/sda3: LABEL="boot" UUID="d9400881-a6fb-4266-9286-51240509852a" TYPE="ext2" /dev/sda4: LABEL="root" UUID="40caa7e2-8461-4fc0-b3c0-83edeceff2dd" TYPE="ext4" /dev/sdb1: LABEL="boot" UUID="7b06d2b3-09ee-4bd9-a739-f7a75067cf62" TYPE="ext2"
/dev/sdb2: UUID="789ed643-7f82-4442-a368-f7061fe24d4a" TYPE="swap"
/dev/sdb4: UUID="61ac8441-3afa-4ed1-99b6-8278877bda12" TYPE="ext4"

I know that /dev/sda1 is the actual boot partition which may sometimes
work if and only if I use the old 3.2.0 kernel from wheezy. All other
attempts have failed in various ways with a kernel panic.

There are two partitions that may be used as root :

    /dev/sda4 has all the stuff from wheezy. it works.

    /dev/sdb4 has all the stuff from a debootstrap done cross
               platform on an x86_64 machine. Never seen it work.

(2) the current contents of silo.conf on /dev/sda1

# cat  silo.conf
root=/dev/sdb4
partition=1
default=Linux
read-only
timeout=100

image=/vmlinux
        label=Linux
        initrd=/initrd.img

root=UUID=61ac8441-3afa-4ed1-99b6-8278877bda12


    I can tell you that does not work well. I get strange errors thus :


ok boot /pci@1f,0/ide@d/disk@0,0:a
Boot device: /pci@1f,0/ide@d/disk@0,0:a  File and args:
SILO Version 1.4.14
Config file error: Syntax error near line 10 in file /silo.conf
Syntax error in /silo.conf
Please check the file for obvious bugs, and if you think it is correct, get
latest version of SILO. If problems still survive, contact the author
No config file loaded, you can boot just from this command line
Type [prompath;]part/path_to_image [parameters] on the prompt
E.g. /iommu/sbus/espdma/esp/sd@3,0;4/vmlinux root=/dev/sda4
or 2/vmlinux.live (to load vmlinux.live from 2nd partition of boot disk)
boot:
boot: halt
Program terminated
ok

(3) so what is there on that /dev/sda1 ext2 filesystem ?

# df -h
Filesystem                Size      Used Available Use% Mounted on
none                     99.9M     88.0K     99.8M   0% /run
tmpfs                   499.5M         0    499.5M   0% /dev
/dev/sdb4                30.8G      1.7G     27.5G   6% /tmp/root
/dev/sda1                 1.7G     69.1M      1.6G   4% /tmp/root/boot
#
# pwd
/tmp/root/boot
#

# ls -la
drwxr-xr-x    3 root     root          1024 Sep  6 04:58 .
drwxrwxr-x   18 root     root          4096 Sep  6 04:41 ..
-rw-r--r-- 1 root root 1583478 Mar 9 2016 System.map-3.2.0-4-sparc64 -rw-r--r-- 1 root root 83 Aug 28 12:07 System.map-6.12.3-sparc64-smp
lrwxrwxrwx    1 root     root             1 Sep  3 18:47 boot -> .
-rw-r--r-- 1 root root 88825 Mar 9 2016 config-3.2.0-4-sparc64 -rw-r--r-- 1 root root 201244 Aug 28 12:07 config-6.12.3-sparc64-smp
lrwxrwxrwx    1 root     root             1 Sep  3 18:47 etc -> .
-rw-r--r--    1 root     root          1024 Aug 19  2012 fd.b
-rw-r--r--    1 root     root           512 Aug 19  2012 first.b
-rw-r--r--    1 root     root          1024 Aug 19  2012 generic.b
-rw-r--r--    1 root     root           692 Aug 19  2012 ieee32.b
lrwxrwxrwx 1 root root 31 Sep 6 04:58 initrd.img -> ./initrd.img-6.12.3-sparc64-smp -rw-r--r-- 1 root root 10112340 Sep 3 18:47 initrd.img-3.2.0-4-sparc64 -rw-r--r-- 1 root root 26792894 Sep 6 04:54 initrd.img-6.12.3-sparc64-smp
-rw-r--r--    1 root     root          7040 Aug 19  2012 isofs.b
drwxr-xr-x    2 root     root         12288 Sep  3 18:06 lost+found
-rw-r--r--    1 root     root          7680 Sep  3 18:47 old.b
-rw-r--r--    1 root     root         53248 Sep  3 18:47 second.b
-rw-r--r--    1 root     root           160 Sep  6 04:57 silo.conf
-rw-r--r--    1 root     root         50994 Aug 19  2012 silotftp.b
-rw-r--r--    1 root     root           512 Aug 19  2012 ultra.b
lrwxrwxrwx 1 root root 28 Sep 6 04:58 vmlinux -> ./vmlinux-6.12.3-sparc64-smp -rw-r--r-- 1 root root 22375120 Aug 28 12:07 vmlinux-6.12.3-sparc64-smp -rw-r--r-- 1 root root 2346441 Mar 9 2016 vmlinuz-3.2.0-4-sparc64 -rw-r--r-- 1 root root 8571093 Sep 5 02:25 vmlinuz-6.12.3-sparc64-smp
#

I really do not know what the problem is with silo.conf other than there
being two different values for the "root=" line.

The symlinks for initrd.img and vmlinux look to be correct.

(4) we do have the debootstrap resultant stuff in /dev/sdb4 and that is
    mounted ( only for this moment with the netboot wheezy netinst ) and
    we see :

# df -h
Filesystem                Size      Used Available Use% Mounted on
none                     99.9M     88.0K     99.8M   0% /run
tmpfs                   499.5M         0    499.5M   0% /dev
/dev/sdb4                30.8G      1.7G     27.5G   6% /tmp/root
/dev/sda1                 1.7G     69.1M      1.6G   4% /tmp/root/boot
#
# ls -la /tmp/root
drwxrwxr-x   18 root     root          4096 Sep  6 04:41 .
drwxrwxr-x    3 root     root             0 Sep  6 05:13 ..
lrwxrwxrwx    1 root     root             7 Aug 10 12:30 bin -> usr/bin
drwxr-xr-x    3 root     root          1024 Sep  6 04:58 boot
drwxr-xr-x    4 root     root          4096 Sep  6 02:38 dev
drwxr-xr-x   52 root     root          4096 Sep  6 04:51 etc
drwxr-xr-x    2 root     root          4096 Aug 10 12:30 home
lrwxrwxrwx 1 root root 34 Sep 6 04:41 initrd.img -> boot/initrd.img-6.12.3-sparc64-smp lrwxrwxrwx 1 root root 34 Sep 6 04:41 initrd.img.old -> boot/initrd.img-6.12.3-sparc64-smp
lrwxrwxrwx    1 root     root             7 Aug 10 12:30 lib -> usr/lib
lrwxrwxrwx    1 root     root             9 Aug 10 12:30 lib64 -> usr/lib64
drwx------    2 root     root         16384 Sep  4 02:08 lost+found
drwxr-xr-x    2 root     root          4096 Sep  6 02:38 media
drwxr-xr-x    2 root     root          4096 Sep  6 02:38 mnt
drwxr-xr-x    2 root     root          4096 Sep  6 02:38 opt
drwxr-xr-x    2 root     root          4096 Aug 10 12:30 proc
drwx------    3 root     root          4096 Sep  6 04:31 root
drwxr-xr-x    9 root     root          4096 Sep  6 04:55 run
lrwxrwxrwx    1 root     root             8 Aug 10 12:30 sbin -> usr/sbin
drwxr-xr-x    2 root     root          4096 Sep  6 02:38 srv
drwxr-xr-x    2 root     root          4096 Aug 10 12:30 sys
drwxrwxrwt    2 root     root          4096 Sep  6 04:54 tmp
drwxr-xr-x   12 root     root          4096 Sep  6 02:38 usr
drwxr-xr-x   11 root     root          4096 Sep  6 02:38 var
lrwxrwxrwx 1 root root 31 Sep 6 04:41 vmlinuz -> boot/vmlinux-6.12.3-sparc64-smp lrwxrwxrwx 1 root root 31 Sep 6 04:41 vmlinuz.old -> boot/vmlinux-6.12.3-sparc64-smp
#

At this time, none of that stuff will work. I need the old root contents
from the wheezy install. Just to run "ed" as a trivial editor.

(5) the silo.conf file is somehow wrong. I will edit that file and see
    if we can get this box to boot the new kernel

# df -h
Filesystem                Size      Used Available Use% Mounted on
none                     99.9M     88.0K     99.8M   0% /run
tmpfs                   499.5M         0    499.5M   0% /dev
/dev/sdb4                30.8G      1.7G     27.5G   6% /tmp/root
/dev/sda1                 1.7G     69.1M      1.6G   4% /tmp/root/boot
# umount /dev/sda1
# umount /dev/sdb4
# mount /dev/sda4 /tmp/root
# mount /dev/sda1 /tmp/root/boot
# cd /tmp/root/boot
# ../bin/ed silo.conf
160
,n
1       root=/dev/sdb4
2       partition=1
3       default=Linux
4       read-only
5       timeout=100
6
7       image=/vmlinux
8               label=Linux
9               initrd=/initrd.img
10
11      root=UUID=61ac8441-3afa-4ed1-99b6-8278877bda12

I suspect we only need one line to dictate where the root filesystem is.

I will change line 1 and delete line 11 :

1c
root=UUID=61ac8441-3afa-4ed1-99b6-8278877bda12
.
11d
,n
1       root=UUID=61ac8441-3afa-4ed1-99b6-8278877bda12
2       partition=1
3       default=Linux
4       read-only
5       timeout=100
6
7       image=/vmlinux
8               label=Linux
9               initrd=/initrd.img
10

f
silo.conf
w
145
q
#

I suspect that the /etc/fstab on the secondary disk debootstrap results
are wrong. That needs a tweak. Therefore I mount the /dev/sdb4 somewhere
and then create a new fstab :

# mkdir /tmp/sdb4
# mount /dev/sdb4 /tmp/sdb4
# cd /tmp/sdb4/etc/
# cat fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
#

Well that is a problem.

So I make a new fstab and edit it to represent the filesystems we
actually want :

# pwd
/tmp/sdb4/etc
# grep -v '^#' /tmp/root/etc/fstab > fstab
#
# cat fstab
UUID=40caa7e2-8461-4fc0-b3c0-83edeceff2dd / ext4 errors=remount-ro 0 1 UUID=d9400881-a6fb-4266-9286-51240509852a /boot ext2 defaults 0 2 UUID=452a4546-fced-4c31-8f11-d57d35eb9754 none swap sw 0 0
#

Using the UUID data seen on the actual disks we edit the swap and the
root filesystem entries :

#
# /tmp/root/bin/ed fstab
278
/452a4546
UUID=452a4546-fced-4c31-8f11-d57d35eb9754 none swap sw 0 0
s/452a4546-fced-4c31-8f11-d57d35eb9754/789ed643-7f82-4442-a368-f7061fe24d4a/p
UUID=789ed643-7f82-4442-a368-f7061fe24d4a none swap sw 0 0
/40caa7e2
UUID=40caa7e2-8461-4fc0-b3c0-83edeceff2dd / ext4 errors=remount-ro 0 1
s/40caa7e2-8461-4fc0-b3c0-83edeceff2dd/61ac8441-3afa-4ed1-99b6-8278877bda12/p
UUID=61ac8441-3afa-4ed1-99b6-8278877bda12 / ext4 errors=remount-ro 0 1
f
fstab
w
278
q


We have this result :


# cat fstab
UUID=61ac8441-3afa-4ed1-99b6-8278877bda12 / ext4 errors=remount-ro 0 1 UUID=d9400881-a6fb-4266-9286-51240509852a /boot ext2 defaults 0 2 UUID=789ed643-7f82-4442-a368-f7061fe24d4a none swap sw 0 0
#

So that should be reasonable and possibly even boot.

* * *    F I N A L    A T T E M P T    T O    B O O T    * * *

# cd
# df -h
Filesystem                Size      Used Available Use% Mounted on
none                     99.9M     88.0K     99.8M   0% /run
tmpfs                   499.5M         0    499.5M   0% /dev
/dev/sda4                31.2G      1.7G     27.9G   6% /tmp/root
/dev/sda1                 1.7G     69.1M      1.6G   4% /tmp/root/boot
/dev/sdb4                30.8G      1.7G     27.5G   6% /tmp/sdb4
# umount /dev/sdb4
# umount /dev/sda1
# umount /dev/sda4
#
# halt
Sent SIGKILL to all processes
Requesting system halt
[49915.454209] System halted.
Program terminated
ok
ok power-off

lom>
LOM event: +15h42m9s host power off
lom>

Why power off? Just to be extra careful to drain out the electrons :)

So wait 30 secs and then poweron and watch the firmware do all the nice
Sun SPARC testing of stuff and memory and goodness :

lom>
lom>poweron
lom>
LOM event: +15h42m45s host power on
02/05/23 18:22
Hardware Power ON
Verifying NVRAM...Done
Bootmode is 0
MCR0 = 36a0bc04
MCR1 = c0804000
MCR2 = ff0bbbb
MCR3 = 3ff
Ecache Size = 256 KB
NVRAM Test
Icache Test
Dcache Test
MMU Test
Ecache Tag Addr Test
Ecache RAM Addr Test
Clearing E$ Tags Done
Clearing I/D TLBs Done
Probing memory
Done
MEMBASE=0x60000000
MEMSIZE=0x10000000
Data Line Test
Core Memory Test
Clearing memory...including Unix retained memory...Done
Turning ON MMUs Done
Copy ROM to RAM (154720 bytes) Done
Orig PC=0x1fff0007edc  New PC=0xf0f07f34
Processor Speed=500MHz
Memory Data Line Test
Memory Addr Line w/ Ecache Test
ECC Block Memory Test
Looking for Dropin cPOST ... found
Decompressing Client Done
Transferring control to Client...

Sun Microsystems, Inc.     cPOST
@(#) cpost 1.0.18 2002/05/23 18:22

All Basic UltraSPARC IIe PBM Tests
        Init CPU PBM
        PIO Decoder And BCT Test
        CPU IOMMU Reg Test
        CPU IOMMU RAM NTA Test
        CPU IOMMU CAM NTA Test
        CPU IOMMU RAM Address Test
        CPU IOMMU CAM Address Test
        IOMMU TLB Compare Test
        IOMMU TLB Flush Test
        PBM Control/Status Reg Test
        PBM Diag Reg Test
        CPU PBM Reg Test

DM9102A Ethernet #1 Config Space Reg Test
DM9102A Ethernet #2 Config Space Reg Test
Basic SouthBridge Tests
        Southbridge ISA Config Space Reg Test
        Southbridge PMU Config Space Reg Test
        Southbridge IDE Config Space Reg Test
        Southbridge USB Config Space Reg Test
All Memory Stress Tests
        Consist Write Data Test
Resetting...

Processor Speed = [Speed Jumper = 5] 500 MHz
Baud rate is 9600
8 Data bits, 1 stop bits, no parity (configured from lom)

Firmware CORE  Sun Microsystems, Inc.
@(#) core 1.0.18 2002/05/23 18:22
Software Power ON
Verifying NVRAM...Done
Bootmode is 0
MCR0 = 36a0bc04
MCR1 = c0804000
MCR2 = ff0bbbb
MCR3 = 3ff
Ecache Size = 256 KB
Clearing E$ Tags Done
Clearing I/D TLBs Done
Probing memory
Done
MEMBASE=0x60000000
MEMSIZE=0x10000000
Clearing memory...Done
Turning ON MMUs Done
Copy ROM to RAM (154720 bytes) Done
Orig PC=0x1fff0007edc  New PC=0xf0f07f34
Processor Speed=500MHz
Looking for Dropin FVM ... found
Decompressing Client Done
Transferring control to Client...
Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing upa at 1f,0 pci
Probing upa at 0,0 SUNW,UltraSPARC-IIe (256 Kb)
Loading Support Packages: kbd-translator
Loading onboard drivers:
Probing /pci@1f,0 Device 7  isa dma rtc power SUNW,lomh serial serial
   flashprom
Probing /pci@1f,0 Device 3  pmu i2c temperature dimm dimm dimm dimm
   i2c-nvram idprom motherboard-fru ppm beep fan-control
lomp
Probing Memory Bank #0 256 Megabytes
Probing Memory Bank #1 256 Megabytes
Probing Memory Bank #2 256 Megabytes
Probing Memory Bank #3 256 Megabytes
ChassisSerialNumber 51592229
Probing /pci@1f,0 Device 7
Probing /pci@1f,0 Device 3
Probing /pci@1f,0 Device c  ethernet
Probing /pci@1f,0 Device 5  ethernet
Probing /pci@1f,0 Device a  usb
Probing /pci@1f,0 Device d  ide disk cdrom
todm5819 Sun Netra X1 (UltraSPARC-IIe 500MHz), No Keyboard
OpenBoot 4.0, 1024 MB memory installed, Serial #51592229.
Ethernet address 0:3:ba:13:3c:25, Host ID: 83133c25.



Environment monitoring: disabled

ok


Now with enthusiasm and coffee we try to boot the above :

ok boot /pci@1f,0/ide@d/disk@0,0:a
Boot device: /pci@1f,0/ide@d/disk@0,0:a  File and args:
SILO Version 1.4.14
Config file error: Syntax error near line 0 in file /silo.conf
Syntax error in /silo.conf
Please check the file for obvious bugs, and if you think it is correct, get
latest version of SILO. If problems still survive, contact the author
No config file loaded, you can boot just from this command line
Type [prompath;]part/path_to_image [parameters] on the prompt
E.g. /iommu/sbus/espdma/esp/sd@3,0;4/vmlinux root=/dev/sda4
or 2/vmlinux.live (to load vmlinux.live from 2nd partition of boot disk)
boot:
boot: /vmlinux root=/dev/sdb4
Allocated 64 Megs of memory at 0x40000000 for kernel
Loaded kernel version 6.12.3

[    0.000111] PROMLIB: Sun IEEE Boot Prom 'OBP 4.0.18 2002/05/23 18:22'
[    0.000202] PROMLIB: Root node compatible: sun4u
[ 0.000536] Linux version 6.12.3-sparc64-smp (debian-kernel@lists.debian.org) (sparc64-linux-gnu-gcc-14 (Debian 14.3.0-5) 14.3.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP Debian 6.12.3-1+sparc64 (2025-08-28)
[    0.000882] printk: legacy bootconsole [earlyprom0] enabled
[    0.424056] ARCH: SUN4U
[    0.453245] Ethernet address: 00:03:ba:13:3c:25
[    0.507220] MM: PAGE_OFFSET is 0xfffff80000000000 (max_phys_bits == 40)
[    0.586186] MM: VMALLOC [0x0000000100000000 --> 0x0000060000000000]
[    0.660951] MM: VMEMMAP [0x0000060000000000 --> 0x00000c0000000000]
[    0.738353] Kernel: Using 5 locked TLB entries for main kernel image.
[    0.814606] Remapping the kernel...
[    0.816941] done.
[    1.107323] OF stdout device is: /pci@1f,0/isa@7/serial@0,3f8
[    1.175085] PROM: Built device tree with 77863 bytes of memory.
[    1.246088] Top of RAM: 0x6fec6000, Total RAM: 0x3fe34000
[    1.310161] Memory hole size: 768MB
[    1.360888] Allocated 16384 bytes for kernel page tables.
[    1.425012] Zone ranges:
[    1.454695]   Normal   [mem 0x0000000000000000-0x000000006fec5fff]
[    1.528467] Movable zone start for each node
[    1.579380] Early memory node ranges
[    1.621982]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    1.696799]   node   0: [mem 0x0000000020000000-0x000000002fffffff]
[    1.771609]   node   0: [mem 0x0000000040000000-0x000000004fffffff]
[    1.846422]   node   0: [mem 0x0000000060000000-0x000000006effdfff]
[    1.921234]   node   0: [mem 0x000000006f000000-0x000000006fdfffff]
[    1.996047]   node   0: [mem 0x000000006fe80000-0x000000006feaffff]
[    2.070859]   node   0: [mem 0x000000006fec0000-0x000000006fec5fff]
[ 2.145676] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fec5fff]
[    2.267353] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.368395] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.468605] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.545453] On node 0, zone Normal: 1 pages in unavailable ranges
[    2.617550] On node 0, zone Normal: 64 pages in unavailable ranges
[    2.691291] On node 0, zone Normal: 8 pages in unavailable ranges
[    2.776551] On node 0, zone Normal: 32925 pages in unavailable ranges
[    2.852661] Booting Linux...
[    2.886945] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[    2.963831] CPU CAPS: [vis]
[    3.041012] percpu: Embedded 19 pages/cpu s117272 r8192 d30184 u4194304
[    3.125755] Kernel command line: root=/dev/sdb4
[ 3.184806] Dentry cache hash table entries: 131072 (order: 7, 1048576 bytes, linear) [ 3.280823] Inode-cache hash table entries: 65536 (order: 6, 524288 bytes, linear)
[    3.370429] Sorting __ex_table...
[    3.411785] Built 1 zonelists, mobility grouping on.  Total pages: 130842
[    3.492016] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    3.822214] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    3.904076] ftrace: allocating 33722 entries in 66 pages
[    4.042311] ftrace: allocated 66 pages with 2 groups
[    4.102558] trace event string verifier disabled
[    4.159685] rcu: Hierarchical RCU implementation.
[ 4.214972] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[    4.294981]  Rude variant of Tasks RCU enabled.
[    4.349007]  Tracing variant of Tasks RCU enabled.
[ 4.406158] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    4.496555] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 4.576641] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 4.685668] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    4.836437] NR_IRQS: 2048, nr_irqs: 2048, preallocated irqs: 1
[ 4.905461] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 4.987341] clocksource: hbtick: mask: 0xffffffffffffffff max_cycles: 0x148020aa9, max_idle_ns: 440795202069 ns
[    5.107841] clocksource: mult[b400012e] shift[24]
[    5.163947] clockevent: mult[16c16bf] shift[32]
[    5.218807] Console: colour dummy device 80x25
[    5.271011] printk: legacy console [tty0] enabled
[    5.327101] printk: legacy bootconsole [earlyprom0] disabled
[    0.000111] PROMLIB: Sun IEEE Boot Prom 'OBP 4.0.18 2002/05/23 18:22'
[    0.000202] PROMLIB: Root node compatible: sun4u
[ 0.000536] Linux version 6.12.3-sparc64-smp (debian-kernel@lists.debian.org) (sparc64-linux-gnu-gcc-14 (Debian 14.3.0-5) 14.3.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP Debian 6.12.3-1+sparc64 (2025-08-28)
[    0.000882] printk: legacy bootconsole [earlyprom0] enabled
[    0.424056] ARCH: SUN4U
[    0.453245] Ethernet address: 00:03:ba:13:3c:25
[    0.507220] MM: PAGE_OFFSET is 0xfffff80000000000 (max_phys_bits == 40)
[    0.586186] MM: VMALLOC [0x0000000100000000 --> 0x0000060000000000]
[    0.660951] MM: VMEMMAP [0x0000060000000000 --> 0x00000c0000000000]
[    0.738353] Kernel: Using 5 locked TLB entries for main kernel image.
[    0.814606] Remapping the kernel...
[    0.816941] done.
[    1.107323] OF stdout device is: /pci@1f,0/isa@7/serial@0,3f8
[    1.175085] PROM: Built device tree with 77863 bytes of memory.
[    1.246088] Top of RAM: 0x6fec6000, Total RAM: 0x3fe34000
[    1.310161] Memory hole size: 768MB
[    1.360888] Allocated 16384 bytes for kernel page tables.
[    1.425012] Zone ranges:
[    1.454695]   Normal   [mem 0x0000000000000000-0x000000006fec5fff]
[    1.528467] Movable zone start for each node
[    1.579380] Early memory node ranges
[    1.621982]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    1.696799]   node   0: [mem 0x0000000020000000-0x000000002fffffff]
[    1.771609]   node   0: [mem 0x0000000040000000-0x000000004fffffff]
[    1.846422]   node   0: [mem 0x0000000060000000-0x000000006effdfff]
[    1.921234]   node   0: [mem 0x000000006f000000-0x000000006fdfffff]
[    1.996047]   node   0: [mem 0x000000006fe80000-0x000000006feaffff]
[    2.070859]   node   0: [mem 0x000000006fec0000-0x000000006fec5fff]
[ 2.145676] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fec5fff]
[    2.267353] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.368395] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.468605] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.545453] On node 0, zone Normal: 1 pages in unavailable ranges
[    2.617550] On node 0, zone Normal: 64 pages in unavailable ranges
[    2.691291] On node 0, zone Normal: 8 pages in unavailable ranges
[    2.776551] On node 0, zone Normal: 32925 pages in unavailable ranges
[    2.852661] Booting Linux...
[    2.886945] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[    2.963831] CPU CAPS: [vis]
[    3.041012] percpu: Embedded 19 pages/cpu s117272 r8192 d30184 u4194304
[    3.125755] Kernel command line: root=/dev/sdb4
[ 3.184806] Dentry cache hash table entries: 131072 (order: 7, 1048576 bytes, linear) [ 3.280823] Inode-cache hash table entries: 65536 (order: 6, 524288 bytes, linear)
[    3.370429] Sorting __ex_table...
[    3.411785] Built 1 zonelists, mobility grouping on.  Total pages: 130842
[    3.492016] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    3.822214] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    3.904076] ftrace: allocating 33722 entries in 66 pages
[    4.042311] ftrace: allocated 66 pages with 2 groups
[    4.102558] trace event string verifier disabled
[    4.159685] rcu: Hierarchical RCU implementation.
[ 4.214972] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
[    4.294981]  Rude variant of Tasks RCU enabled.
[    4.349007]  Tracing variant of Tasks RCU enabled.
[ 4.406158] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    4.496555] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 4.576641] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 4.685668] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    4.836437] NR_IRQS: 2048, nr_irqs: 2048, preallocated irqs: 1
[ 4.905461] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 4.987341] clocksource: hbtick: mask: 0xffffffffffffffff max_cycles: 0x148020aa9, max_idle_ns: 440795202069 ns
[    5.107841] clocksource: mult[b400012e] shift[24]
[    5.163947] clockevent: mult[16c16bf] shift[32]
[    5.218807] Console: colour dummy device 80x25
[    5.271011] printk: legacy console [tty0] enabled
[    5.327101] printk: legacy bootconsole [earlyprom0] disabled
[ 5.474813] Calibrating delay using timer specific routine.. 11.15 BogoMIPS (lpj=22313)
[    5.474871] pid_max: default: 32768 minimum: 301
[ 5.490167] LSM: initializing lsm=capability,landlock,lockdown,yama,apparmor,tomoyo,bpf,ipe,ima,evm
[    5.497900] landlock: Up and running.
[    5.497948] Yama: disabled by default; enable with sysctl kernel.yama.*
[    5.498741] AppArmor: AppArmor initialized
[    5.498870] TOMOYO Linux initialized
[    5.499604] LSM support for eBPF active
[ 5.506008] Mount-cache hash table entries: 2048 (order: 1, 16384 bytes, linear) [ 5.506101] Mountpoint-cache hash table entries: 2048 (order: 1, 16384 bytes, linear)
[    5.559850] rcu: Hierarchical SRCU implementation.
[    5.559924] rcu:     Max phase no-delay instances is 1000.
[    5.565766] smp: Bringing up secondary CPUs ...
[    5.565861] smp: Brought up 1 node, 1 CPU
[ 5.566757] Memory: 999136K/1046736K available (11271K kernel code, 1548K rwdata, 3192K rodata, 776K init, 656K bss, 44248K reserved, 0K cma-reserved)
[    5.570767] devtmpfs: initialized
[    5.577242] Performance events: No support for PMU type 'ultra12'
[ 5.580882] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    5.581021] futex hash table entries: 256 (order: 1, 16384 bytes, linear)
[    5.598059] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    5.613795] audit: initializing netlink subsys (disabled)
[    5.616012] thermal_sys: Registered thermal governor 'fair_share'
[    5.616046] thermal_sys: Registered thermal governor 'bang_bang'
[    5.616106] thermal_sys: Registered thermal governor 'step_wise'
[    5.616142] thermal_sys: Registered thermal governor 'user_space'
[    5.616178] thermal_sys: Registered thermal governor 'power_allocator'
[ 5.616733] audit: type=2000 audit(0.232:1): state=initialized audit_enabled=0 res=1 [ 5.621958] pci@1f,0: PCI IO [io 0x1fe02000000-0x1fe02ffffff] offset 1fe02000000 [ 5.622105] pci@1f,0: PCI MEM [mem 0x1ff00000000-0x1ffffffffff] offset 1ff00000000
[    5.622170] pci@1f,0: SABRE PCI Bus Module ver[0:0]
[    5.622208] PCI: Scanning PBM /pci@1f,0
[    5.624369] sabre f0069d48: PCI host bridge to bus 0000:00
[ 5.624462] pci_bus 0000:00: root bus resource [io 0x1fe02000000-0x1fe02ffffff] (bus address [0x0000-0xffffff]) [ 5.624528] pci_bus 0000:00: root bus resource [mem 0x1ff00000000-0x1ffffffffff] (bus address [0x00000000-0xffffffff])
[    5.624590] pci_bus 0000:00: root bus resource [bus 00]
[    5.624815] pci 0000:00:07.0: [10b9:1533] type 00 class 0x060100
[    5.625560] pci 0000:00:03.0: [10b9:7101] type 00 class 0x000000
[ 5.625665] pci 0000:00:03.0: quirk: [io 0x1fe02002000-0x1fe0200203f] claimed by ali7101 ACPI [ 5.625732] pci 0000:00:03.0: quirk: [io 0x1fe02004000-0x1fe0200401f] claimed by ali7101 SMB
[    5.626384] pci 0000:00:0c.0: [1282:9102] type 00 class 0x020000
[    5.626454] pci 0000:00:0c.0: reg 0x10: [io  0x1fe02010000-0x1fe020100ff]
[    5.626503] pci 0000:00:0c.0: reg 0x14: [mem 0x1ff00000000-0x1ff00001fff]
[    5.626551] pci 0000:00:0c.0: reg 0x30: [mem 0x1ff00040000-0x1ff0007ffff]
[    5.626650] pci 0000:00:0c.0: PME# supported from D3hot D3cold
[    5.627378] pci 0000:00:05.0: [1282:9102] type 00 class 0x020000
[    5.627444] pci 0000:00:05.0: reg 0x10: [io  0x1fe02010100-0x1fe020101ff]
[    5.627492] pci 0000:00:05.0: reg 0x14: [mem 0x1ff00002000-0x1ff00003fff]
[    5.627539] pci 0000:00:05.0: reg 0x30: [mem 0x1ff00080000-0x1ff000bffff]
[    5.627637] pci 0000:00:05.0: PME# supported from D3hot D3cold
[    5.628167] pci 0000:00:0a.0: [10b9:5237] type 00 class 0x0c0310
[    5.628228] pci 0000:00:0a.0: reg 0x10: [mem 0x1ff01000000-0x1ff01ffffff]
[    5.628946] pci 0000:00:0d.0: [10b9:5229] type 00 class 0x0101ff
[    5.629016] pci 0000:00:0d.0: reg 0x10: [io  0x1fe02010200-0x1fe02010207]
[    5.629065] pci 0000:00:0d.0: reg 0x14: [io  0x1fe02010218-0x1fe0201021f]
[    5.629112] pci 0000:00:0d.0: reg 0x18: [io  0x1fe02010210-0x1fe02010217]
[    5.629157] pci 0000:00:0d.0: reg 0x1c: [io  0x1fe02010208-0x1fe0201020f]
[    5.629204] pci 0000:00:0d.0: reg 0x20: [io  0x1fe02010220-0x1fe0201022f]
[    5.750160] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    5.750249] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    5.750292] HugeTLB: registered 8.00 MiB page size, pre-allocated 0 pages
[    5.750328] HugeTLB: 0 KiB vmemmap can be freed for a 8.00 MiB page
[    5.750366] HugeTLB: registered 256 MiB page size, pre-allocated 0 pages
[    5.750401] HugeTLB: 0 KiB vmemmap can be freed for a 256 MiB page
[    5.750441] HugeTLB: registered 2.00 GiB page size, pre-allocated 0 pages
[    5.750477] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 GiB page
[    5.860047] iommu: Default domain type: Translated
[    5.860132] iommu: DMA domain TLB invalidation policy: strict mode
[    5.860812] pps_core: LinuxPPS API ver. 1 registered
[ 5.860870] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.861026] PTP clock support registered
[    5.864903] NetLabel: Initializing
[    5.864980] NetLabel:  domain hash size = 128
[    5.865012] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    5.865240] NetLabel:  unlabeled traffic allowed by default
[    5.865833] vgaarb: loaded
[    5.866267] /pci@1f,0/isa@7/rtc@0,70: RTC regs at 0x1fe02000070
[    5.868684] clocksource: Switched to clocksource hbtick
[    5.895634] VFS: Disk quotas dquot_6.6.0
[ 5.897021] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[    5.900376] AppArmor: AppArmor Filesystem Enabled
[    5.935138] NET: Registered PF_INET protocol family
[ 5.935905] IP idents hash table entries: 16384 (order: 4, 131072 bytes, linear) [ 5.967482] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 8192 bytes, linear) [ 5.968075] Table-perturb hash table entries: 65536 (order: 5, 262144 bytes, linear) [ 5.970571] TCP established hash table entries: 8192 (order: 3, 65536 bytes, linear) [ 5.971420] TCP bind hash table entries: 8192 (order: 5, 262144 bytes, linear)
[    5.973040] TCP: Hash tables configured (established 8192 bind 8192)
[ 5.975276] MPTCP token hash table entries: 1024 (order: 1, 24576 bytes, linear)
[    5.975827] UDP hash table entries: 512 (order: 1, 16384 bytes, linear)
[ 5.976003] UDP-Lite hash table entries: 512 (order: 1, 16384 bytes, linear)
[    5.978374] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    5.978565] NET: Registered PF_XDP protocol family
[    5.978790] pci 0000:00:0a.0: enabling device (0000 -> 0002)
[    5.978884] PCI: CLS 0 bytes, default 64
[    5.980387] power: Control reg at 1fe02002000
[    5.985770] Initialise system trusted keyrings
[    5.986090] Key type blacklist registered
[    5.986675] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    5.986878] zbud: loaded
[    5.996175] fuse: init (API version 7.41)
[    5.999793] integrity: Platform Keyring initialized
[    5.999915] Key type asymmetric registered
[    5.999959] Asymmetric key parser 'x509' registered
[ 6.014903] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.015587] io scheduler mq-deadline registered
[    6.037481] ledtrig-cpu: registered to indicate activity on CPUs
[ 6.041599] f0076e0c: ttyS0 at MMIO 0x1fe020003f8 (irq = 7, base_baud = 115387) is a 16550A
[    6.041697] Console: ttyS0 (SU)
[    6.041794] printk: legacy console [ttyS0] enabled
[ 19.850128] f0078af8: ttyS1 at MMIO 0x1fe020002e8 (irq = 7, base_baud = 115387) is a 16550A
[   19.969974] mousedev: PS/2 mouse device common for all mice
[   20.045251] rtc_cmos rtc_cmos: error -ENXIO: IRQ index 0 not found
[   20.127423] rtc_cmos rtc_cmos: registered as rtc0
[ 20.189685] rtc_cmos rtc_cmos: setting system clock to 2025-09-06T19:04:17 UTC (1757185457)
[   20.299982] rtc_cmos rtc_cmos: no alarms, 114 bytes nvram
[   20.375717] NET: Registered PF_INET6 protocol family
[   20.453112] Segment Routing with IPv6
[   20.501796] In-situ OAM (IOAM) with IPv6
[   20.553806] mip6: Mobile IPv6
[   20.593012] NET: Registered PF_PACKET protocol family
[   20.664162] mpls_gso: MPLS GSO support
[   20.742070] registered taskstats version 1
[   20.796477] Loading compiled-in X.509 certificates
[ 21.532870] Loaded X.509 cert 'Build time autogenerated kernel key: 0fe3d2b2167f24b5eb98e163b77815e416ce643c'
[   21.705696] Key type .fscrypt registered
[   21.757280] Key type fscrypt-provisioning registered
[   21.844057] Key type encrypted registered
[   21.897307] AppArmor: AppArmor sha256 policy hashing enabled
[   21.972009] ima: No TPM chip found, activating TPM-bypass!
[   22.044260] ima: Allocated hash algorithm: sha256
[   22.106233] ima: No architecture policies found
[   22.166032] evm: Initialising EVM extended attributes:
[   22.233612] evm: security.selinux
[   22.277174] evm: security.SMACK64 (disabled)
[   22.333282] evm: security.SMACK64EXEC (disabled)
[   22.393973] evm: security.SMACK64TRANSMUTE (disabled)
[   22.460383] evm: security.SMACK64MMAP (disabled)
[   22.521052] evm: security.apparmor
[   22.565714] evm: security.ima
[   22.604697] evm: security.capability
[   22.651653] evm: HMAC attrs: 0x1
[   22.710541] /dev/root: Can't open blockdev
[ 22.820855] VFS: Cannot open root device "/dev/sdb4" or unknown-block(0,0): error -6 [ 22.922800] Please append a correct "root=" boot option; here are the available partitions:
[   23.032596] List of all bdev filesystems:
[   23.085244]  fuseblk
[   23.085257]
[ 23.133458] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 23.242118] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.3-sparc64-smp #1 Debian 6.12.3-1+sparc64
[   23.370232] Call Trace:
[   23.402325] [<0000000000ef8e70>] dump_stack+0x8/0x18
[   23.467584] [<0000000000eeb430>] panic+0xf4/0x398
[   23.529407] [<00000000013af7f4>] mount_root_generic+0x1cc/0x268
[   23.607236] [<00000000013afa1c>] mount_root+0x18c/0x19c
[   23.675914] [<00000000013afc4c>] prepare_namespace+0x220/0x25c
[   23.752597] [<00000000013af218>] kernel_init_freeable+0x284/0x29c
[   23.832713] [<0000000000ef9c08>] kernel_init+0x18/0x12c
[   23.901390] [<00000000004060c8>] ret_from_fork+0x1c/0x2c
[   23.971217] [<0000000000000000>] 0x0
[   24.018204] Press Stop-A (L1-A) from sun keyboard or send break
[   24.018204] twice on console to return to the boot prom
[ 24.164596] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---


I suspect that silo.conf can not actually use the UUID data.
Just a guess.

--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken


Reply to: