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

2020-04-19 debian-10.0-sparc64 NETINST working fine sort of but libc6-dev ???





See installers compliments of John Paul Adrian Glaubitz at :

    https://cdimage.debian.org/cdimage/ports/2020-04-19/


Wherein I was able to use dd to write the installer image onto a scsi
disk and then boot that disk in slot2 of an old Sun Netra t1-105 unit
that we all used to call the "flapjack" server.  With only 1GB of mem
and ye old old Sun UltraSPARC IIi type 440MHz processor it was a slow
install process to be sure and one must use a 9600 baud 8-n-1 serial
terminal to do the task.


However the end result looks quite fine :

.
.
.
Linux phobos 5.5.0-2-sparc64 #1 Debian 5.5.17-1 (2020-04-15) sparc64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
admsys@phobos:~$
admsys@phobos:~$ uname -a
Linux phobos 5.5.0-2-sparc64 #1 Debian 5.5.17-1 (2020-04-15) sparc64 GNU/Linux
admsys@phobos:~$
admsys@phobos:~$ uptime
 04:38:29 up 5 min,  1 user,  load average: 0.08, 0.27, 0.16
admsys@phobos:~$ systemctl status
* phobos
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Tue 2020-04-21 04:33:23 UTC; 5min ago
   CGroup: /
           |-user.slice
           | `-user-1000.slice
           |   |-user@1000.service
           |   | `-init.scope
           |   |   |-328 /lib/systemd/systemd --user
           |   |   `-329 (sd-pam)
           |   `-session-1.scope
           |     |-325 sshd: admsys [priv]
           |     |-337 sshd: admsys@pts/0
           |     |-338 -bash
           |     |-345 systemctl status
           |     `-346 pager
           |-init.scope
           | `-1 /sbin/init single
           `-system.slice
             |-systemd-udevd.service
             | `-204 /lib/systemd/systemd-udevd
             |-cron.service
             | `-288 /usr/sbin/cron -f
             |-system-serial\x2dgetty.slice
             | `-serial-getty@ttyS0.service
| `-319 /sbin/agetty -o -p -- \x5cu --keep-baud 115200,38400,9600 ttyS0 vt220
             |-systemd-journald.service
             | `-191 /lib/systemd/systemd-journald
             |-ssh.service
| `-320 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
             |-rsyslog.service
             | `-296 /usr/sbin/rsyslogd -n -iNONE
             |-dbus.service
| `-290 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
             |-systemd-timesyncd.service
             | `-260 /lib/systemd/systemd-timesyncd
             |-system-getty.slice
             | `-getty@tty1.service
             |   `-318 /sbin/agetty -o -p -- \x5cu --noclear tty1 linux
             `-systemd-logind.service
               `-314 /lib/systemd/systemd-logind
admsys@phobos:~$
admsys@phobos:~$ su -
Password:
root@phobos:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            487M     0  487M   0% /dev
tmpfs           100M  832K   99M   1% /run
/dev/sda2        16G  833M   14G   6% /
tmpfs           498M     0  498M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           498M     0  498M   0% /sys/fs/cgroup
/dev/sda1       237M   46M  179M  21% /boot
tmpfs           100M     0  100M   0% /run/user/1000
root@phobos:~#

root@phobos:~# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 10.0 _Sid_ - Unofficial sparc64 NETINST 20200419-15:32]/ sid main

deb http://deb.debian.org/debian-ports/ sid main non-free contrib
deb http://deb.debian.org/debian-ports/ unreleased main
deb-src http://deb.debian.org/debian-ports/ sid main non-free contrib
# 'unreleased' does not support sources yet
# deb-src http://deb.debian.org/debian-ports/ unreleased main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
root@phobos:~#
root@phobos:~#
root@phobos:~# apt-get update
Hit:1 http://deb.debian.org/debian-ports sid InRelease
Hit:2 http://deb.debian.org/debian-ports unreleased InRelease
Reading package lists... Done
W: Skipping acquire of configured file 'non-free/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'main/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' does not seem to provide it (sources.list entry misspelt?) W: Skipping acquire of configured file 'contrib/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?) W: Skipping acquire of configured file 'non-free/binary-all/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'non-free/binary-sparc64/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'non-free/i18n/Translation-en' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'contrib/binary-sparc64/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?) W: Skipping acquire of configured file 'contrib/binary-all/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?) W: Skipping acquire of configured file 'contrib/i18n/Translation-en' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?)
root@phobos:~#
root@phobos:~#

 I don't quite know what the above problems are and so I may strip down
 the /etc/apt/sources.list to a one liner.

root@phobos:~# cp -p /etc/apt/sources.list  /etc/apt/sources.list.orig
root@phobos:~#
root@phobos:~# vi /etc/apt/sources.list
root@phobos:~#
root@phobos:~#
root@phobos:~# cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 10.0 _Sid_ - Unofficial sparc64 NETINST 20200419-15:32]/ sid main

deb http://deb.debian.org/debian-ports/ sid main non-free contrib
deb-src http://deb.debian.org/debian-ports/ sid main non-free contrib
root@phobos:~#
root@phobos:~#
root@phobos:~# apt-get update
Hit:1 http://deb.debian.org/debian-ports sid InRelease
Reading package lists... Done
W: Skipping acquire of configured file 'contrib/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?) W: Skipping acquire of configured file 'main/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' does not seem to provide it (sources.list entry misspelt?) W: Skipping acquire of configured file 'non-free/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'non-free/binary-sparc64/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'non-free/binary-all/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'non-free/i18n/Translation-en' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?) W: Skipping acquire of configured file 'contrib/binary-all/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?) W: Skipping acquire of configured file 'contrib/binary-sparc64/Packages' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?) W: Skipping acquire of configured file 'contrib/i18n/Translation-en' as repository 'http://deb.debian.org/debian-ports sid InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?)
root@phobos:~#
root@phobos:~#

That still seems to be wrong somehow.

root@phobos:~#
root@phobos:~# apt-get install ed bc dc time dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  bc dc dnsutils ed time
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 506 kB of archives.
After this operation, 858 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian-ports sid/main sparc64 bc sparc64 1.07.1-2+b2 [104 kB] Get:2 http://deb.debian.org/debian-ports sid/main sparc64 dc sparc64 1.07.1-2+b2 [68.6 kB] Get:3 http://deb.debian.org/debian-ports sid/main sparc64 dnsutils all 1:9.16.2-2 [245 kB] Get:4 http://deb.debian.org/debian-ports sid/main sparc64 ed sparc64 1.16-1 [56.9 kB] Get:5 http://deb.debian.org/debian-ports sid/main sparc64 time sparc64 1.7-25.1+b1 [30.8 kB]
Fetched 506 kB in 1s (403 kB/s)
Selecting previously unselected package bc.
(Reading database ... 25413 files and directories currently installed.)
Preparing to unpack .../bc_1.07.1-2+b2_sparc64.deb ...
Unpacking bc (1.07.1-2+b2) ...
Selecting previously unselected package dc.
Preparing to unpack .../dc_1.07.1-2+b2_sparc64.deb ...
Unpacking dc (1.07.1-2+b2) ...
Selecting previously unselected package dnsutils.
Preparing to unpack .../dnsutils_1%3a9.16.2-2_all.deb ...
Unpacking dnsutils (1:9.16.2-2) ...
Selecting previously unselected package ed.
Preparing to unpack .../archives/ed_1.16-1_sparc64.deb ...
Unpacking ed (1.16-1) ...
Selecting previously unselected package time.
Preparing to unpack .../time_1.7-25.1+b1_sparc64.deb ...
Unpacking time (1.7-25.1+b1) ...
Setting up time (1.7-25.1+b1) ...
Setting up bc (1.07.1-2+b2) ...
Setting up dnsutils (1:9.16.2-2) ...
Setting up ed (1.16-1) ...
Setting up dc (1.07.1-2+b2) ...
Processing triggers for man-db (2.9.1-1) ...
root@phobos:~#
root@phobos:~#
root@phobos:~# apt-get install ntp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libevent-core-2.1-7 libevent-pthreads-2.1-7 libopts25 sntp
Suggested packages:
  ntp-doc
The following packages will be REMOVED:
  systemd-timesyncd
The following NEW packages will be installed:
  libevent-core-2.1-7 libevent-pthreads-2.1-7 libopts25 ntp sntp
0 upgraded, 5 newly installed, 1 to remove and 0 not upgraded.
Need to get 1109 kB of archives.
After this operation, 2781 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian-ports sid/main sparc64 libopts25 sparc64 1:5.18.16-3 [60.4 kB] Get:2 http://deb.debian.org/debian-ports sid/main sparc64 ntp sparc64 1:4.2.8p14+dfsg-2 [710 kB] Get:3 http://deb.debian.org/debian-ports sid/main sparc64 libevent-core-2.1-7 sparc64 2.1.11-stable-1 [120 kB] Get:4 http://deb.debian.org/debian-ports sid/main sparc64 libevent-pthreads-2.1-7 sparc64 2.1.11-stable-1 [54.8 kB] Get:5 http://deb.debian.org/debian-ports sid/main sparc64 sntp sparc64 1:4.2.8p14+dfsg-2 [164 kB]
Fetched 1109 kB in 2s (630 kB/s)
Selecting previously unselected package libopts25:sparc64.
(Reading database ... 25478 files and directories currently installed.)
Preparing to unpack .../libopts25_1%3a5.18.16-3_sparc64.deb ...
Unpacking libopts25:sparc64 (1:5.18.16-3) ...
dpkg: systemd-timesyncd: dependency problems, but removing anyway as you requested:
 systemd depends on systemd-timesyncd | time-daemon; however:
  Package systemd-timesyncd is to be removed.
  Package time-daemon is not installed.
  Package systemd-timesyncd which provides time-daemon is to be removed.
 systemd depends on systemd-timesyncd | time-daemon; however:
  Package systemd-timesyncd is to be removed.
  Package time-daemon is not installed.
  Package systemd-timesyncd which provides time-daemon is to be removed.

(Reading database ... 25483 files and directories currently installed.)
Removing systemd-timesyncd (245.5-1) ...
Selecting previously unselected package ntp.
(Reading database ... 25470 files and directories currently installed.)
Preparing to unpack .../ntp_1%3a4.2.8p14+dfsg-2_sparc64.deb ...
Unpacking ntp (1:4.2.8p14+dfsg-2) ...
Selecting previously unselected package libevent-core-2.1-7:sparc64.
Preparing to unpack .../libevent-core-2.1-7_2.1.11-stable-1_sparc64.deb ...
Unpacking libevent-core-2.1-7:sparc64 (2.1.11-stable-1) ...
Selecting previously unselected package libevent-pthreads-2.1-7:sparc64.
Preparing to unpack .../libevent-pthreads-2.1-7_2.1.11-stable-1_sparc64.deb ...
Unpacking libevent-pthreads-2.1-7:sparc64 (2.1.11-stable-1) ...
Selecting previously unselected package sntp.
Preparing to unpack .../sntp_1%3a4.2.8p14+dfsg-2_sparc64.deb ...
Unpacking sntp (1:4.2.8p14+dfsg-2) ...
Setting up libopts25:sparc64 (1:5.18.16-3) ...
Setting up ntp (1:4.2.8p14+dfsg-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ntp.service -> /lib/systemd/system/ntp.service.
Setting up libevent-core-2.1-7:sparc64 (2.1.11-stable-1) ...
Setting up libevent-pthreads-2.1-7:sparc64 (2.1.11-stable-1) ...
Setting up sntp (1:4.2.8p14+dfsg-2) ...
Processing triggers for systemd (245.5-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2) ...
Processing triggers for libc-bin (2.31-0+sparc64) ...
root@phobos:~#
root@phobos:~# systemctl stop ntp
root@phobos:~# cp -p /etc/ntp.conf /etc/ntp.conf.orig
root@phobos:~# vi /etc/ntp.conf
root@phobos:~#
root@phobos:~# cat /etc/ntp.conf
driftfile /var/lib/ntp/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server ntp.torix.ca
server time.chu.nrc.ca
server time.nrc.ca
server tock.utoronto.ca
server tick.utoronto.ca
restrict -4 default kod notrap nomodify nopeer noquery limited
restrict -6 default kod notrap nomodify nopeer noquery limited
restrict 127.0.0.1
restrict ::1
restrict source notrap nomodify noquery
root@phobos:~# ls -lad /var/lib/ntp /var/log/ntpstats/ /usr/share/zoneinfo/leap-seconds.list -rw-r--r-- 1 root root 10664 Jul 27 2019 /usr/share/zoneinfo/leap-seconds.list
drwxr-xr-x 2 ntp  ntp   4096 Mar 10 07:38 /var/lib/ntp
drwxr-xr-x 2 ntp  ntp   4096 Mar 10 07:38 /var/log/ntpstats/
root@phobos:~# systemctl start ntp
root@phobos:~# cd  /var/log/ntpstats/
root@phobos:/var/log/ntpstats# ls -lapbtr
total 16
drwxr-xr-x 8 root root 4096 Apr 21 04:45 ../
drwxr-xr-x 2 ntp  ntp  4096 Apr 21 04:47 ./
-rw-r--r-- 2 ntp  ntp   419 Apr 21 04:47 peerstats.20200421
-rw-r--r-- 2 ntp  ntp   419 Apr 21 04:47 peerstats
root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats# tail -f peerstats
58960 17239.712 128.100.56.135 9014 0.008591904 0.012944127 7.945313551 0.000001907 58960 17239.716 206.108.0.133 9014 0.011144423 0.016584646 7.937501093 0.000001907 58960 17239.722 132.246.11.227 9014 0.010466515 0.022739018 7.937501363 0.000001907 58960 17240.727 128.100.100.128 9014 0.016269614 0.028242129 7.937501166 0.000001907 58960 17240.773 209.87.233.53 9014 0.005645524 0.074085329 7.937501539 0.000001907
^C
root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats#

Seems ntp installs fine.

root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats# cat /proc/cpuinfo
cpu             : TI UltraSparc IIi (Sabre)
fpu             : UltraSparc IIi integrated FPU
pmu             : ultra12
prom            : OBP 3.10.27 2000/06/22 16:45
type            : sun4u
ncpus probed    : 1
ncpus active    : 1
D$ parity tl1   : 0
I$ parity tl1   : 0
Cpu0ClkTck      : 000000001a3a21fe
cpucaps         : flush,stbar,swap,muldiv,v9,mul32,div32,v8plus,vis
MMU Type        : Spitfire
MMU PGSZs       : 8K,64K,512K,4MB
root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats# cat /proc/meminfo
MemTotal:        1018328 kB
MemFree:          654048 kB
MemAvailable:     814064 kB
Buffers:           15744 kB
Cached:           271928 kB
SwapCached:            0 kB
Active:           238752 kB
Inactive:          70280 kB
Active(anon):      21728 kB
Inactive(anon):      456 kB
Active(file):     217024 kB
Inactive(file):    69824 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        994744 kB
SwapFree:         994744 kB
Dirty:                48 kB
Writeback:             0 kB
AnonPages:         21384 kB
Mapped:            25592 kB
Shmem:               832 kB
KReclaimable:      18600 kB
Slab:              38672 kB
SReclaimable:      18600 kB
SUnreclaim:        20072 kB
KernelStack:        1024 kB
PageTables:         1080 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1503904 kB
Committed_AS:     101264 kB
VmallocTotal:   6438256640 kB
VmallocUsed:        2208 kB
VmallocChunk:          0 kB
Percpu:              320 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       8192 kB
Hugetlb:               0 kB
root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats# swapon
NAME      TYPE        SIZE USED PRIO
/dev/sda4 partition 971.4M   0B   -2
root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            487M     0  487M   0% /dev
tmpfs           100M  832K   99M   1% /run
/dev/sda2        16G  906M   14G   7% /
tmpfs           498M     0  498M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           498M     0  498M   0% /sys/fs/cgroup
/dev/sda1       237M   46M  179M  21% /boot
tmpfs           100M     0  100M   0% /run/user/1000
root@phobos:/var/log/ntpstats#

I will remove the "installer" SCSI disk from slot 2 and replace it with an original Sun firmware 18GB disk and then perhaps setup /usr/local there as an etc4 fs and try to compile the latest linux-5.7-rc2 kernel.

That should take days and days.

root@phobos:/var/log/ntpstats#
root@phobos:/var/log/ntpstats# cd
root@phobos:~#
root@phobos:~#
root@phobos:~# apt-get install build-essential xauth libx11-dev autoconf bison gdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
                            libc-dev
Depends: g++ (>= 4:9.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@phobos:~#
root@phobos:~# date -u
Tue Apr 21 04:49:58 UTC 2020
root@phobos:~#

Oh no.

libc6-dev is a problem ??


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


Reply to: