Novena - Debian - 2021 archive

back to main Debian page for this machine.

2021 archive.

2021-08-31: sda3 - reboot - Debian 10.10 is in

tingo@kg-novena:~$ cat /etc/debian_version 
10.10

kernel unchanged

tingo@kg-novena:~$ uname -a
Linux kg-novena.kg4.no 4.4.0-00156-gc9ba6e8 #12 SMP PREEMPT Fri Feb 19 14:32:59 SGT 2016 armv7l GNU/Linux

2021-08-31: sda3 - apt - upgrade

tingo@kg-novena:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apt apt-utils aspell base-files bind9-host bluez bluez-hcidump bluez-obexd exim4-base exim4-config exim4-daemon-light
  firefox-esr gnutls-bin graphviz gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-libav gstreamer1.0-plugins-bad
  gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x iceweasel isc-dhcp-client isc-dhcp-common klibc-utils
  krb5-locales libapt-inst2.0 libapt-pkg5.0 libaspell15 libbind9-161 libbluetooth3 libcdt5 libcgraph6 libdns-export1104
  libdns1104 libfluidsynth1 libgcrypt20 libglib2.0-0 libglib2.0-bin libglib2.0-data libgnutls-dane0 libgnutls-openssl27
  libgnutls30 libgssapi-krb5-2 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgvc6
  libgvpr2 libhogweed4 libisc-export1100 libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libk5crypto3
  libklibc libkrb5-3 libkrb5support0 liblab-gamut1 liblwres161 liblz4-1 libmariadb3 libnettle6 libnss-systemd
  libpam-systemd libpathplan4 libsndfile1 libssl1.1 libsystemd0 libudev1 libwebkit2gtk-4.0-37 libwebp6 libwebpdemux2
  libwebpmux3 libx11-6 libx11-data libx11-xcb1 libxdot4 libxml2 linux-libc-dev mariadb-common ndiff nmap nmap-common
  openssl openvpn systemd systemd-sysv udev wpasupplicant xfce4-weather-plugin xserver-common xserver-xorg-core
  xserver-xorg-legacy
95 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 133 MB of archives.
After this operation, 2,096 kB of additional disk space will be used.
[..]
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for dictionaries-common (1.28.1) ...

do a reboot.

2021-08-31: sda3 - yes, now it boots normally again. lsblk info

tingo@kg-novena:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 232.9G  0 disk 
├─sda1        8:1    0    32M  0 part 
├─sda2        8:2    0    32M  0 part 
└─sda3        8:3    0 232.8G  0 part /
mmcblk0     179:0    0   3.7G  0 disk 
├─mmcblk0p1 179:1    0    32M  0 part /boot
├─mmcblk0p2 179:2    0    32M  0 part [SWAP]
└─mmcblk0p3 179:3    0   3.6G  0 part 

fstab

tingo@kg-novena:~$ more /etc/fstab
/dev/disk/by-path/platform-2198000.usdhc-part3   /                    ext4       barrier=1,noatime,nodiratime,errors=remount-ro     0  1
proc                 /proc                proc       defaults                      0  0
devpts               /dev/pts             devpts     mode=0620,gid=5               0  0
tmpfs                /tmp                 tmpfs      defaults                      0  0
pstore               /var/pstore          pstore     defaults                      0  0
/dev/disk/by-path/platform-2198000.usdhc-part1 /boot     vfat       defaults                      2  2
/dev/disk/by-path/platform-2198000.usdhc-part2   swap                 swap       defaults                      0  0

not sure how this works. df output

tingo@kg-novena:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       230G  7.2G  211G   4% /
devtmpfs        1.8G     0  1.8G   0% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           1.9G  2.9M  1.9G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs           1.9G  8.0K  1.9G   1% /tmp
/dev/mmcblk0p1   32M  9.6M   23M  30% /boot
tmpfs           380M   12K  380M   1% /run/user/1000

2021-08-31: mmcblk0p3 - info from recovery. Debian version

tingo@kg-novena:~$ cat /etc/debian_version 
jessie/sid

kernel

tingo@kg-novena:~$ uname -a
Linux kg-novena 3.17.0-rc5-00238-gfb115dd #350 SMP PREEMPT Fri Dec 12 18:08:43 SGT 2014 armv7l GNU/Linux

lsblk

tingo@kg-novena:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 232.9G  0 disk 
|-sda1        8:1    0    32M  0 part 
|-sda2        8:2    0    32M  0 part 
`-sda3        8:3    0 232.8G  0 part 
mmcblk0     179:0    0   3.7G  0 disk 
|-mmcblk0p1 179:1    0    32M  0 part /boot
|-mmcblk0p2 179:2    0    32M  0 part [SWAP]
`-mmcblk0p3 179:3    0   3.6G  0 part /

fstab

tingo@kg-novena:~$ more /etc/fstab
/dev/disk/by-path/platform-2198000.usdhc-part3   /                    ext4       barrier=1,noatime,nodiratime,errors=remount-ro     0  1
proc                 /proc                proc       defaults                      0  0
devpts               /dev/pts             devpts     mode=0620,gid=5               0  0
tmpfs                /tmp                 tmpfs      defaults                      0  0
pstore               /var/pstore          pstore     defaults                      0  0
/dev/disk/by-path/platform-2198000.usdhc-part1 /boot     vfat       defaults                      2  2
/dev/disk/by-path/platform-2198000.usdhc-part2   swap                 swap       defaults                      0  0

files in (on) /boot (aka mmcblk0p1)

tingo@kg-novena:~$ ls -l /boot
total 9798
-rwxr-xr-x 1 root root   44390 May 28  2016 novena.dtb
-rwxr-xr-x 1 root root   39800 Apr 11  2015 novena.recovery.dtb
-rwxr-xr-x 1 root root  302156 May 28  2016 u-boot.img
-rwxr-xr-x 1 root root   44032 May 28  2016 u-boot.spl
-rwxr-xr-x 1 root root 3602272 Apr 11  2015 zImage.recovery
-rwxr-xr-x 1 root root 5995768 May 28  2016 zimage

I mounted /dev/sda1 on /mnt and compared files

tingo@kg-novena:~$ df -h /mnt
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        32M  7.3M   25M  23% /mnt
tingo@kg-novena:~$ ls -l /mnt
total 7450
-rwxr-xr-x 1 root root   39800 Apr 11  2015 novena.dtb
-rwxr-xr-x 1 root root   39800 Apr 11  2015 novena.recovery.dtb
-rwxr-xr-x 1 root root  305148 Apr 11  2015 u-boot.img
-rwxr-xr-x 1 root root   35840 Apr 11  2015 u-boot.spl
-rwxr-xr-x 1 root root 3602272 Apr 11  2015 zImage.recovery
-rwxr-xr-x 1 root root 3602272 Apr 11  2015 zimage

no surprises, I just unmounted it. parted info on sda

tingo@kg-novena:~$ sudo parted /dev/sda print
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  34.6MB  33.6MB  primary  fat16
 2      34.6MB  68.2MB  33.6MB  primary  linux-swap(v1)
 3      68.2MB  250GB   250GB   primary  ext4

mount sda3 on /mnt and check it out

tingo@kg-novena:~$ df -h /mnt
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3       230G  7.2G  211G   4% /mnt

tingo@kg-novena:~$ more /mnt/etc/fstab
/dev/disk/by-path/platform-2198000.usdhc-part3   /                    ext4       barrier=1,noatime,nodiratime,errors=remount
-ro     0  1
proc                 /proc                proc       defaults                      0  0
devpts               /dev/pts             devpts     mode=0620,gid=5               0  0
tmpfs                /tmp                 tmpfs      defaults                      0  0
pstore               /var/pstore          pstore     defaults                      0  0
/dev/disk/by-path/platform-2198000.usdhc-part1 /boot     vfat       defaults                      2  2
/dev/disk/by-path/platform-2198000.usdhc-part2   swap                 swap       defaults                      0  0

it is the same as the one on the SDcard? Interesting. Or not. umount, then run fsck on the two sda partitions

tingo@kg-novena:~$ sudo fsck.vfat -y /dev/sda1
fsck.fat 3.0.26 (2014-03-07)
/dev/sda1: 6 files, 3725/16343 clusters
tingo@kg-novena:~$ sudo e2fsck -y /dev/sda3
e2fsck 1.42.12 (29-Aug-2014)
/dev/sda3: clean, 133801/14963616 files, 2842479/61033006 blocks

looks good. Try another reboot.

2021-08-31: mmcblk0p3 - (recovery) booted into recovery again, and set up wireless network like this - check wireless status

$ nmcli dev status
$ nmcli radio wifi

the commands showed that the radio was enabled, but unassociated. Find a network (ssid)

$ nmcli dev wifi list

connect to a ssid

$ sudo nmcli dev wifi connect kg5 password "<password>"

(this is not the real password). Now I'm connected and can ssh into the machine.

2021-08-31: after the power outage (on 2021.08-27) the machine doesn't boot fully anymore. I tried booting into recovery (hold down USER button while pressing the RESET button - both on mainboard) which works. Did a sudo shutdown -r now but the normal doesn't complete after that either. Hmm.

2021-04-10: sda3 - reboot, Debian 10.9 is in

tingo@kg-novena:~$ cat /etc/debian_version
10.9

kernel

tingo@kg-novena:~$ uname -a
Linux kg-novena.kg4.no 4.4.0-00156-gc9ba6e8 #12 SMP PREEMPT Fri Feb 19 14:32:59 SGT 2016 armv7l GNU/Linux

ok

2021-04-10: sda3 - apt - upgrade

tingo@kg-novena:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  avahi-daemon avahi-dnsconfd base-files bind9-host ca-certificates curl debian-archive-keyring device-tree-compiler dnsmasq-base
  emacs emacs-bin-common emacs-common emacs-el emacs-gtk exim4-base exim4-config exim4-daemon-light file firefox-esr geoclue-2.0
  gnutls-bin groff-base iceweasel iproute2 iputils-ping libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7
  libavahi-glib1 libbind9-161 libbsd0 libcairo-gobject2 libcairo2 libcurl3-gnutls libcurl4 libdns-export1104 libdns1104
  libgnutls-dane0 libgnutls-openssl27 libgnutls30 libisc-export1100 libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18
  libldap-2.4-2 libldap-common libldb1 liblwres161 libmagic-mgc libmagic1 libnss-systemd libopenjp2-7 libpam-systemd libpython3.7
  libpython3.7-minimal libpython3.7-stdlib libsnmp-base libsnmp30 libssl1.1 libsvn1 libsystemd0 libtiff5 libudev1 libwebkit2gtk-4.0-37
  libzstd1 linux-libc-dev openssl python-lxml python3.7 python3.7-minimal screen subversion systemd systemd-sysv thunderbird tzdata
  udev unzip
80 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 180 MB of archives.
After this operation, 1,727 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
[..]
Processing triggers for ca-certificates (20200601~deb10u2) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

ok

2021-01-31: sda3 - apt - upgrade

tingo@kg-novena:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  firefox-esr gstreamer1.0-plugins-bad iceweasel libgstreamer-plugins-bad1.0-0 libp11-kit0 p11-kit p11-kit-modules sudo
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.9 MB of archives.
After this operation, 25.6 kB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...

ok

2021-01-08: sda3 - fixing jookia gpg keys, per issue #22. Remove old key, and get updated key

root@kg-novena:~# apt-key del '72365C0E95BD25A7EE20C812DDC2AFA22D5777A9'
OK
root@kg-novena:~# gpg --recv-key '72365C0E95BD25A7EE20C812DDC2AFA22D5777A9'
gpg: key DDC2AFA22D5777A9: "Jookia (Novena repo signing key) <contact@jookia.org>" 2 new signatures
gpg: Total number processed: 1
gpg:         new signatures: 2
root@kg-novena:~# gpg --export '72365C0E95BD25A7EE20C812DDC2AFA22D5777A9' | apt-key add -
OK

after that apt update and friends works without issues.