Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLE11 SP4 image is broken #887

Closed
Bischoff opened this issue May 21, 2021 · 2 comments
Closed

SLE11 SP4 image is broken #887

Bischoff opened this issue May 21, 2021 · 2 comments
Assignees
Labels

Comments

@Bischoff
Copy link
Contributor

Bischoff commented May 21, 2021

In SLE11 SP4, the version of kernel (from initrd) and modules do not match:

ebi5-minion:~ # grep PRETTY /etc/os-release 
PRETTY_NAME="SUSE Linux Enterprise Server 11 SP4"

ebi5-minion:~ # ls /lib/modules
3.0.101-108.126-default

ebi5-minion:~ # uname -a
Linux ebi5-minion 3.0.101-63-default #1 SMP Tue Jun 23 16:02:31 UTC 2015 (4b89d0c) x86_64 x86_64 x86_64 GNU/Linux

ebi5-minion:~ # depmod
WARNING: Couldn't open directory /lib/modules/3.0.101-63-default: No such file or directory
FATAL: Could not open /lib/modules/3.0.101-63-default/modules.dep.temp for writing: No such file or directory

This, under some circumstances, can result in DHCP not working after a reboot, or serial console not work, or other problems.

Root cause is the content of /boot/grub/menu.lst:

title sles11sp4_[_VMX_]
 root (hd0,0)
 kernel /boot/linux.vmx vga=0x314 splash=silent console=tty0 console=ttyS0,115200 root=/dev/vda1 disk=/dev/vda nomodeset elevator=noop showopts
 initrd /boot/initrd.vmx

If I use normal kernel and initrd instead of linux.vmx and initrd.vmx, there is no problem.

I will write a workaround for sumaform, but it would be better to fix the issue at image generation time.

Ping @moio for awareness.

@Bischoff
Copy link
Contributor Author

Bischoff commented Jun 2, 2021

I reverted my patch because apparently i missed something about the initial state after deployment, but we definitely need to fix this. I will look more calmly after GMC.

@Bischoff Bischoff self-assigned this Jun 2, 2021
@Bischoff
Copy link
Contributor Author

Bischoff commented Aug 3, 2021

Still not working, closing in favour of #936

@Bischoff Bischoff closed this as completed Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant