[Eisfair_dev] [e1] eiskernel 3.45.0 (Status 'testing') bricht ab mit Fehler

Stefan Puschek stefan.puschek at t-online.de
So Jul 28 18:45:39 CEST 2019


leider hatte ich den Output des Updates vergessen...

> Hallo Tom,
>>
>> ab 14:45 Uhr ist eine Version 3.45.0 von eiskernel mit dem Status 
>> 'testing' für eisfair-1 verfügbar.
> 
> diesmal habe ich den Stick bis auf dieses Kernel-Update aktualisiert und 
> dann gesichert (Image mit dd).
> 
> Diesmal ist er nach dem misslungenen Update noch ansprechbar...
> 
> Welche Infos kann ich liefern, um den Fehler zu finden?
> Wie gesagt - dies ist nur eine Minimalinstallation auf einem 4GB-Stick
> 
> nursegollum # fdisk -l
> Disk /dev/sda: 3.8 GiB, 4009754624 bytes, 7831552 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x39ee015c
> 
> Device     Boot Start     End Sectors  Size Id Type
> /dev/sda1  *       62   69631   69570   34M 83 Linux
> /dev/sda2       69632 7831551 7761920  3.7G 83 Linux
> 
Welcome to eisfair!
base     : 2.8.18
eiskernel: 3.16.69-eisfair-1-SMP

nursegollum # setup
(Re)building package database ...
[100%] completed!
(Re)building outdated database ...
[100%] completed!
Cleaning up info cache ...
[100%] completed!
Downloading required packages ...
Done!
Installation of: eiskernel-smp (3.45.0) ...
Saving your kernel configuration in /tmp/kernel-backup.tar:
  /boot
  /etc/lilo.conf
  /lib/modules/3.16.69-eisfair-1-SMP
  /System.map-3.16.69-eisfair-1-SMP
  /usr/src/linux-3.16.69-eisfair-1/dot-config-smp
  /usr/src/linux-3.16.70-eisfair-1/dot-config-smp
  /usr/src/linux-3.16.69-eisfair-1/Module.symvers-smp
  /usr/src/linux-3.16.70-eisfair-1/Module.symvers-smp
  /var/install/packages/eiskernel
  /var/install/packages/eiskernel-smp
Done.
Compressing /tmp/kernel-backup.tar to /tmp/kernel-backup.tar.gz ...
Found loaded SCSI/SATA/PATA module(s):
  usb-storage
  ahci
  pata_jmicron
  pata_acpi
Moving /boot/kernel to /boot/old-kernel ...
Moving /boot/initrd.gz to /boot/old-initrd.gz ...
Creating initramfs ...
New complete SCSI/SATA/PATA and dependend module(s) for initramfs:
  scsi_mod
  sd_mod
  usb-storage
  libata
  libahci
  ahci
  pata_jmicron
  pata_acpi
Copying sbinfiles:
  Copying /sbin/insmod to /tmp/initrd_mount.HHfvL0lBqh/sbin.
Done.
Copying libraries:
  Copying /lib/ld-linux.so.2 to /tmp/initrd_mount.HHfvL0lBqh/lib.
  Copying /lib/libc.so.6 to /tmp/initrd_mount.HHfvL0lBqh/lib.
  Copying /lib/libdl.so.2 to /tmp/initrd_mount.HHfvL0lBqh/lib.
  Copying /lib/libpthread.so.0 to /tmp/initrd_mount.HHfvL0lBqh/lib.
  Copying /lib/libz.so.1 to /tmp/initrd_mount.HHfvL0lBqh/lib.
  Copying /usr/lib/libcrypto.so.1.1 to /tmp/initrd_mount.HHfvL0lBqh/usr/lib.
  Copying /usr/lib/liblzma.so.5 to /tmp/initrd_mount.HHfvL0lBqh/usr/lib.
Done.
Running in physical environment, trying to add microcode updates ...
Adding Intel microcode updates to initramfs ...
Installing new initrd.gz to /boot/initrd.gz ...
Installing new kernel to /boot/kernel ...
Saving old /etc/lilo.conf to /etc/lilo.conf.OLD ...
Kernel 3.16.69-eisfair-1 is running ...
No fallback for kernel 3.16.69-eisfair-1 exist, creating fallback ...
Copying /boot/old-kernel to /boot/kernel-3.16.69-SMP ...
Copying /boot/old-initrd.gz to /boot/initrd-3.16.69-SMP.gz ...
3.16.69-SMP backup is using 6320 of 18143 blocks in /boot.
Converted boot device /dev/sda to /dev/disk/by-id/,
writing /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAXFTMARIST8L656-0:0
to boot definition of lilo.conf ...
Converted root device /dev/sda2 to /dev/disk/by-uuid/,
writing "UUID=cfeb8c07-222e-43e0-b7a0-3813a3d0f229"
to root definition of lilo.conf ...

Warning: 
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAXFTMARIST8L656-0:BIOS syntax 
is no longer supported.
     Please use a DISK section.
Fatal: open 
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAXFTMARIST8L656-0: No such 
file or directory

Something went wrong!

lba32
disk = /dev/sda
   bios = 0x80
boot = /dev/sda
read-only
prompt
timeout = 50
vga = normal
menu-scheme = wr:bw:wr:Yr
image = /boot/kernel
root = /dev/sda2
label = eis
initrd = /boot/initrd.gz
append = "raid=noautodetect net.ifnames=0"
image = /boot/old-kernel
root = /dev/sda2
label = oldeis
initrd = /boot/old-initrd.gz
append = "raid=noautodetect net.ifnames=0"

New generated /etc/lilo.conf was:

lba32
disk = /dev/sda
   bios = 0x80
#boot = /dev/sda
boot = /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAXFTMARIST8L656-0:0
read-only
prompt
timeout = 50
vga = normal
menu-scheme = wr:bw:wr:Yr
image = /boot/kernel
#root = /dev/sda2
root = "UUID=cfeb8c07-222e-43e0-b7a0-3813a3d0f229"
label = eis
initrd = /boot/initrd.gz
append = "raid=noautodetect net.ifnames=0"
image = /boot/old-kernel
#root = /dev/sda2
root = "UUID=cfeb8c07-222e-43e0-b7a0-3813a3d0f229"
label = oldeis
initrd = /boot/old-initrd.gz
append = "raid=noautodetect net.ifnames=0"
image = /boot/kernel-3.16.69-SMP
#root = /dev/sda2
root = "UUID=cfeb8c07-222e-43e0-b7a0-3813a3d0f229"
label = 3.16.69-SMP
initrd = /boot/initrd-3.16.69-SMP.gz
append = "raid=noautodetect net.ifnames=0"

Restoring your old kernel configuration ...
Warning: LILO is compensating for a BIOS bug: (drive 0x80) heads > 255
Warning: Maximum number of heads = 256 (as specified)
    exceeds standard BIOS maximum of 255.
Warning: Maximum number of heads = 256 (as specified)
    exceeds standard BIOS maximum of 255.
Warning: Maximum number of heads = 256 (as specified)
    exceeds standard BIOS maximum of 255.
Warning: Maximum number of heads = 256 (as specified)
    exceeds standard BIOS maximum of 255.
Added eis  *
Warning: Maximum number of heads = 256 (as specified)
    exceeds standard BIOS maximum of 255.
Warning: Maximum number of heads = 256 (as specified)
    exceeds standard BIOS maximum of 255.
Added oldeis
7 warnings were issued.
Done.
Kernel update failed!
gawk: /usr/share/eisman/awk/eisman_install.awk:219: fatal: attempt to 
use scalar `packages' as an array
Press ENTER to continue

-------------------------

und in /var/log/log.kernel-update wundert mich:
...
No fallback for kernel 3.16.69-eisfair-1 exist, creating fallback ...
Copying /boot/old-kernel to /boot/kernel-3.16.69-SMP ...
Copying /boot/old-initrd.gz to /boot/initrd-3.16.69-SMP.gz ...
3.16.69-SMP backup is using 6320 of 18143 blocks in /boot.
/dev/disk/by-id/ata-ST2000DM001-1CH164_Z1E4L2JN
/dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAXFTMARIST8L656-0:0
/dev/sda != /dev/sdb
/dev/sda = /dev/sda
Converted boot device /dev/sda to /dev/disk/by-id/,
writing /dev/disk/by-id/usb-Lexar_USB_Flash_Drive_AAXFTMARIST8L656-0:0
to boot definition of lilo.conf ...
/dev/disk/by-uuid/50356d07-9e0e-410f-8d50-5e3ebbce4c8f
/dev/disk/by-uuid/71d72f68-ebaa-4c1b-8500-1a72c0aef97d
/dev/disk/by-uuid/a0b5726c-73b7-4adb-90bc-22ffe111cd45
/dev/disk/by-uuid/cfeb8c07-222e-43e0-b7a0-3813a3d0f229
/dev/disk/by-uuid/e3c8d75b-ccf5-49c2-9c0f-f583d352383a
/dev/sda2 != /dev/sdb1  <- !!!!!!!!!!!!!!
/dev/sda2 != /dev/sdb2  <- !!!!!!!!!!!!!!
/dev/sda2 != /dev/sdb3  <- !!!!!!!!!!!!!!
/dev/sda2 = /dev/sda2
/dev/sda2 != /dev/sda1
Converted root device /dev/sda2 to /dev/disk/by-uuid/,
writing "UUID=cfeb8c07-222e-43e0-b7a0-3813a3d0f229"
to root definition of lilo.conf ...

Something went wrong!
...

was macht der auf /dev/sdb ???
diese Platte gehört ihm nicht - da läuft normalerweise ein Debian, wenn 
ich nicht vom USB-Stick gebootet habe

Groetjes
Stefan




Mehr Informationen über die Mailingliste Eisfair_dev