Post by maximilian attemswaldi added s390 support to initramfs-tools as of version 0.54.
0.55 is in incoming.debian.org and should be available in unstable
soon. klibc-1.2.4-1 has an important s390 fix.
so testing those releases are highly welcome.
you can rebuild your initramfs after installation of aboves packages
with update-initramfs -u -k <kernel-version>
I've just upgraded to latest versions and see the following (harmless)
error during upgrade:
Setting up udev (0.087-2) ...
Installing new version of config file /etc/udev/persistent.rules ...
ln: creating symbolic link `/tmp/mkinitramfs_lsxTkx//etc/modprobe.d/dasd'
to `/tmp/initramfs_dasd': File exists
Setting up initramfs-tools (0.55b) ...
ln: creating symbolic link `/tmp/mkinitramfs_kRtv8k//etc/modprobe.d/dasd'
to `/tmp/initramfs_dasd': File exists
Also, is it really necessary to generate the initrd two times? Hope this
will be resolved in the future...
I also noticed that after the installation a file /tmp/initramfs_dasd is
left on the system. It would probably be a good idea to use a real
tempfile for this (and to clean up after it is no longer needed).
After all this I modified my bootloader config (/etc/zipl.conf) to have:
[debian_26]
target = /boot
image = /boot/vmlinuz-2.6.15-1-s390
ramdisk = /boot/initrd.img-2.6.15-1-s390
parameters = ro vmpoff="LOGOFF" root=/dev/dasda1
(Note: I removed the dasd parameter from the last line.)
The system rebooted OK using the 2.6 kernel: disks (both root and other
partitions) were mounted OK :-)
Only problem was that the network interface did not come up. Trying to
manually start it resulted in:
# ifup eth0
Ignoring unknown interface eth0=eth0.
This looks like an issue related to udev persistent device naming.
Further info:
- The ctc module was loaded:
# lsmod
Module Size Used by
ctc 79648 0
fsm 12544 1 ctc
cu3088 12292 1 ctc
ccwgroup 15104 1 cu3088
dcssblk 20504 0
dasd_fba_mod 17408 0
dasd_eckd_mod 109824 6
dasd_mod 79924 8 dasd_fba_mod,dasd_eckd_mod
- Network config is a basic static configuration; from
/etc/network/interfaces:
auto ctc0
iface ctc0 inet static
address 10.19.92.1
[...]
Thanks for getting us this far. I intend to set up a branch for d-i to try
for the switch to 2.6 for the installer (unless Bastian prefers to work
on that; I will probably need his help anyway).
Cheers,
FJP