Re: Updated installation images for Debian Ports 2023-06-06
Dennis Clarke <[email protected]>
| Newsgroups | gmane.linux.debian.ports.sparc |
|---|---|
| Organization | GENUNIX |
| Message-ID | <[email protected]> |
On 6/7/23 04:03, John Paul Adrian Glaubitz wrote:
> On Wed, 2023-06-07 at 03:36 -0400, Dennis Clarke wrote:
>> One of the first things I plan on doing is a bootstrap of GCC 13.x
>> and then also binutils ( maybe? maybe not? ) and of course a kernel.
>> That will keep the machine thrashing for at least a week. With Gentoo I
>> saw an update time of the machine take well over 190 hours. Awesome
>> throughput with plenty of swap needed.
>
> You should run the GCC testsuite which really tortures the hardware.
>
> Btw, I had a quick glimpse through your video and saw that you were
> confused by the kernel used by the installer which is still at 6.1.x.
>
> The 6.3.x kernels are part of experimental only at the moment since
> Debian Bookworm is going to be released with a 6.1.x kernel which is
> an LTS kernel.
>
> Since debian-installer images are always built from unstable, the installer
> is currently stuck at kernel 6.1.x but you can install the experimental
> kernel using this sources.list [1] afterwards with:
>
> # apt install linux-image-sparc64-smp -t=experimental
>
> Adrian
You're timing is excellent! I was just looking at :
root@nix:~# cat /proc/version
Linux version 6.1.0-9-sparc64 ([email protected]) (gcc-12
(Debian 12.2.0-12) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1
Debian 6.1.27-1 (2023-05-08)
root@nix:~#
Which, yes, confused me somewhat.
Regardless I will not need the SMP kernel on this old machine.
I will use precisely what I see at :
https://people.debian.org/~glaubitz/sources.list.experimental
Then try :
root@nix:~#
root@nix:~#
root@nix:~# apt-get update
Get:1 http://ftp.ports.debian.org/debian-ports unstable InRelease [107 kB]
Get:2 http://ftp.debian.org/debian unstable InRelease [195 kB]
Get:3 http://ftp.debian.org/debian experimental InRelease [101 kB]
Get:4 http://incoming.debian.org/debian-buildd buildd-unstable InRelease
[53.7 kB]
Get:5 http://ftp.ports.debian.org/debian-ports unreleased InRelease
[71.8 kB]
Get:6 http://incoming.debian.org/debian-buildd buildd-experimental
InRelease [53.8 kB]
Get:7 http://ftp.ports.debian.org/debian-ports experimental InRelease
[107 kB]
Get:8 http://incoming.ports.debian.org/buildd unstable InRelease [65.3
kB]
Get:9 http://ftp.debian.org/debian unstable/main Sources [10.1 MB]
Get:10 http://ftp.ports.debian.org/debian-ports unstable/main sparc64
Packages [23.4 MB]
Get:11 http://ftp.debian.org/debian experimental/main Sources [796 kB]
Get:12 http://ftp.ports.debian.org/debian-ports unreleased/main sparc64
Packages [14.8 kB]
Get:13 http://incoming.debian.org/debian-buildd buildd-unstable/main
Sources [23.1 kB]
Get:14 http://incoming.debian.org/debian-buildd buildd-experimental/main
Sources [14.6 kB]
Get:15 http://ftp.ports.debian.org/debian-ports experimental/main
sparc64 Packages [1819 kB]
Get:16 http://incoming.ports.debian.org/buildd unstable/main sparc64
Packages [37.2 kB]
Fetched 37.0 MB in 1min 36s (384 kB/s)
Reading package lists... Done
root@nix:~# apt install linux-image-sparc64-smp -t=experimental
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
apparmor firmware-linux-free linux-image-6.3.0-0-sparc64
linux-image-6.3.0-0-sparc64-smp linux-image-sparc64
Suggested packages:
apparmor-profiles-extra apparmor-utils linux-doc-6.3
debian-kernel-handbook
fdutils
The following NEW packages will be installed:
apparmor firmware-linux-free linux-image-6.3.0-0-sparc64
linux-image-6.3.0-0-sparc64-smp linux-image-sparc64-smp
The following packages will be upgraded:
linux-image-sparc64
1 upgraded, 5 newly installed, 0 to remove and 50 not upgraded.
Need to get 73.4 MB of archives.
After this operation, 411 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
apparmor sparc64 3.0.8-3 [536 kB]
Get:2 http://ftp.ports.debian.org/debian-ports unstable/main sparc64
firmware-linux-free all 20200122-1 [24.2 kB]
Get:3 http://ftp.ports.debian.org/debian-ports experimental/main sparc64
linux-image-6.3.0-0-sparc64 sparc64 6.3.5-1~exp1 [36.1 MB]
Get:4 http://ftp.ports.debian.org/debian-ports experimental/main sparc64
linux-image-6.3.0-0-sparc64-smp sparc64 6.3.5-1~exp1 [36.7 MB]
Get:5 http://ftp.ports.debian.org/debian-ports experimental/main sparc64
linux-image-sparc64 sparc64 6.3.5-1~exp1 [1412 B]
Get:6 http://ftp.ports.debian.org/debian-ports experimental/main sparc64
linux-image-sparc64-smp sparc64 6.3.5-1~exp1 [1432 B]
Fetched 73.4 MB in 35s (2113 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
Selecting previously unselected package apparmor.
(Reading database ... 25465 files and directories currently installed.)
Preparing to unpack .../0-apparmor_3.0.8-3_sparc64.deb ...
Unpacking apparmor (3.0.8-3) ...
Selecting previously unselected package firmware-linux-free.
Preparing to unpack .../1-firmware-linux-free_20200122-1_all.deb ...
Unpacking firmware-linux-free (20200122-1) ...
Selecting previously unselected package linux-image-6.3.0-0-sparc64.
Preparing to unpack
.../2-linux-image-6.3.0-0-sparc64_6.3.5-1~exp1_sparc64.deb ...
Unpacking linux-image-6.3.0-0-sparc64 (6.3.5-1~exp1) ...
Selecting previously unselected package linux-image-6.3.0-0-sparc64-smp.
Preparing to unpack
.../3-linux-image-6.3.0-0-sparc64-smp_6.3.5-1~exp1_sparc64.deb ...
Unpacking linux-image-6.3.0-0-sparc64-smp (6.3.5-1~exp1) ...
Preparing to unpack .../4-linux-image-sparc64_6.3.5-1~exp1_sparc64.deb ...
Unpacking linux-image-sparc64 (6.3.5-1~exp1) over (6.1.27-1) ...
Selecting previously unselected package linux-image-sparc64-smp.
Preparing to unpack
.../5-linux-image-sparc64-smp_6.3.5-1~exp1_sparc64.deb ...
Unpacking linux-image-sparc64-smp (6.3.5-1~exp1) ...
Setting up linux-image-6.3.0-0-sparc64 (6.3.5-1~exp1) ...
I: /boot/vmlinuz is now a symlink to vmlinux-6.3.0-0-sparc64
I: /boot/initrd.img is now a symlink to initrd.img-6.3.0-0-sparc64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.3.0-0-sparc64
[ 1403.336212] watchdog: BUG: soft lockup - CPU#0 stuck for 26s!
[grub-probe:4276]
[ 1403.432445] Modules linked in: binfmt_misc envctrl display7seg flash
sg loop fuse drm drm_panel_orientation_quirks i2c_core dm_mod configfs
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod
t10_pi crc64_rocksoft crc64 crc_t10dif crct10dif_generic
crct10dif_common ata_generic pata_cmd64x libata sym53c8xx
scsi_transport_spi scsi_mod sunhme scsi_common
[ 1403.866358] CPU: 0 PID: 4276 Comm: grub-probe Not tainted
6.1.0-9-sparc64 #1 Debian 6.1.27-1
[ 1403.978513] TSTATE: 0000009911001600 TPC: 000000000097a54c TNPC:
000000000097a550 Y: 00000000 Not tainted
[ 1404.107860] TPC: <misc_open+0x4c/0x160>
[ 1404.158282] g0: 0000000000000000 g1: 00000000100e4858 g2:
0000000000000000 g3: 0000000006fb5260
[ 1404.272767] g4: fffff8000442ae40 g5: 000000000000ff00 g6:
fffff8000d828000 g7: 000000000f592948
[ 1404.387244] o0: 00000000010532a0 o1: fffff8000d82b8ec o2:
fffff8000430cbd0 o3: 0000000000000001
[ 1404.501723] o4: fffff8000b69e078 o5: 0000000000000000 sp:
fffff8000d82af81 ret_pc: 000000000097a520
[ 1404.620793] RPC: <misc_open+0x20/0x160>
[ 1404.671208] l0: fffff800041c5800 l1: 0000000001053000 l2:
00000000006bd3a0 l3: fffff8010037bc7d
[ 1404.785693] l4: 0000000000000470 l5: ffffffffffffff9c l6:
fffff8000d828000 l7: 00000000006b5820
[ 1404.900172] i0: fffff8000b69e078 i1: fffff80004fd75e0 i2:
00000000010532b8 i3: 0000000001053000
[ 1405.014650] i4: 00000000000000ec i5: 00000000100e4840 i6:
fffff8000d82b031 i7: 00000000006bded0
[ 1405.129128] I7: <chrdev_open+0x90/0x1c0>
[ 1405.180692] Call Trace:
[ 1405.212820] [<00000000006bded0>] chrdev_open+0x90/0x1c0
[ 1405.281551] [<00000000006b3314>] do_dentry_open+0x214/0x520
[ 1405.354857] [<00000000006b5088>] vfs_open+0x28/0x40
[ 1405.419010] [<00000000006cb8f8>] path_openat+0xbb8/0x12e0
[ 1405.490026] [<00000000006ccecc>] do_filp_open+0x6c/0x120
[ 1405.559899] [<00000000006b53a4>] do_sys_openat2+0x84/0x1a0
[ 1405.632060] [<00000000006b5880>] sys_openat+0x60/0xa0
[ 1405.698500] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
[ 1427.330509] watchdog: BUG: soft lockup - CPU#0 stuck for 49s!
[grub-probe:4276]
[ 1427.426711] Modules linked in: binfmt_misc envctrl display7seg flash
sg loop fuse drm drm_panel_orientation_quirks i2c_core dm_mod configfs
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod
t10_pi crc64_rocksoft crc64 crc_t10dif crct10dif_generic
crct10dif_common ata_generic pata_cmd64x libata sym53c8xx
scsi_transport_spi scsi_mod sunhme scsi_common
[ 1427.860653] CPU: 0 PID: 4276 Comm: grub-probe Tainted: G
L 6.1.0-9-sparc64 #1 Debian 6.1.27-1
[ 1427.992242] TSTATE: 0000000011001600 TPC: 000000000097a538 TNPC:
000000000097a53c Y: 00000000 Tainted: G L
[ 1428.141032] TPC: <misc_open+0x38/0x160>
[ 1428.191452] g0: 0000000000000000 g1: 00000000100e4858 g2:
0000000000000000 g3: 0000000006fb5260
[ 1428.305938] g4: fffff8000442ae40 g5: 000000000000ff00 g6:
fffff8000d828000 g7: 000000000f592948
[ 1428.420415] o0: 00000000010532a0 o1: fffff8000d82b8ec o2:
fffff8000430cbd0 o3: 0000000000000001
[ 1428.534895] o4: fffff8000b69e078 o5: 0000000000000000 sp:
fffff8000d82af81 ret_pc: 000000000097a520
[ 1428.653949] RPC: <misc_open+0x20/0x160>
[ 1428.704369] l0: fffff800041c5800 l1: 0000000001053000 l2:
00000000006bd3a0 l3: fffff8010037bc7d
[ 1428.818854] l4: 0000000000000470 l5: ffffffffffffff9c l6:
fffff8000d828000 l7: 00000000006b5820
[ 1428.933334] i0: fffff8000b69e078 i1: fffff80004fd75e0 i2:
00000000010532b8 i3: 0000000001053000
[ 1429.047812] i4: 00000000000000ec i5: 00000000100e4840 i6:
fffff8000d82b031 i7: 00000000006bded0
[ 1429.162291] I7: <chrdev_open+0x90/0x1c0>
[ 1429.213854] Call Trace:
[ 1429.245982] [<00000000006bded0>] chrdev_open+0x90/0x1c0
[ 1429.314715] [<00000000006b3314>] do_dentry_open+0x214/0x520
[ 1429.388019] [<00000000006b5088>] vfs_open+0x28/0x40
[ 1429.452173] [<00000000006cb8f8>] path_openat+0xbb8/0x12e0
[ 1429.523188] [<00000000006ccecc>] do_filp_open+0x6c/0x120
[ 1429.593060] [<00000000006b53a4>] do_sys_openat2+0x84/0x1a0
[ 1429.665222] [<00000000006b5880>] sys_openat+0x60/0xa0
[ 1429.731664] [<0000000000406174>] linux_sparc_syscall+0x34/0x44
~
Type 'go' to resume
ok
I have seen this before and only on this type of machine.
Looks like a monster of a bug to even begin to bisect/disect and
not worth the time on this hardware. Maybe.
I will try another Netra machine tomorrow that is slightly different.