[opensuse] mkintrd fails after 2.6.22.9-0.4 kernel update
Install new kernel: omni:/tmp # rpm -ihv ./kernel-default-2.6.22.9-0.4.i586.rpm Preparing... ########################################### [100%] 1:kernel-default ########################################### [100%] Setting up /lib/modules/2.6.22.9-0.4-default Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default Does not appear the mkinitrd ran automatically, so I run it manually: omni:~ # mkinitrd Kernel image: /boot/vmlinuz-2.6.22.5-31-default Initrd image: /boot/initrd-2.6.22.5-31-default Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default mkdir: cannot create directory `/var/tmp/mkinitramfs.iv9111/mnt': File exists could not create temporary directory omni:/tmp # ll /var/tmp/ total 16 drwxr-xr-x 5 root root 120 Oct 5 11:24 heartbeat-root -rw-r--r-- 1 root root 972 Oct 8 16:24 rpm-tmp.34363 -rw-r--r-- 1 root root 914 Oct 5 12:55 rpm-tmp.61378 -rw-r--r-- 1 root root 955 Oct 5 12:52 rpm-tmp.71553 -rw-r--r-- 1 root root 1059 Oct 8 16:22 rpm-tmp.83302 drwxrwxrwt 2 root root 48 Sep 21 18:04 vi.recover drwx------ 4 root root 128 Oct 5 12:50 zypp.DFcf1I omni:/boot/grub # stat /var/tmp/ File: `/var/tmp/' Size: 272 Blocks: 0 IO Block: 4096 directory Device: 802h/2050d Inode: 48425 Links: 5 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2007-10-12 11:40:16.000000000 -0400 Modify: 2007-10-12 11:35:23.000000000 -0400 Change: 2007-10-12 11:35:23.000000000 -0400 The old initrd for 2.6.22.5-31 is there but the symlink now points to 2.6.22.9-0.4 which does not exist. Anyone know why it could not create a directory under /var/tmp/ Or how to create a new initrd file? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Coach-X <coachx@pwx.net> writes:
Install new kernel:
omni:/tmp # rpm -ihv ./kernel-default-2.6.22.9-0.4.i586.rpm Preparing... ########################################### [100%] 1:kernel-default ########################################### [100%] Setting up /lib/modules/2.6.22.9-0.4-default
Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default
Does not appear the mkinitrd ran automatically, so I run it manually:
omni:~ # mkinitrd
Kernel image: /boot/vmlinuz-2.6.22.5-31-default Initrd image: /boot/initrd-2.6.22.5-31-default
Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default mkdir: cannot create directory `/var/tmp/mkinitramfs.iv9111/mnt': File exists could not create temporary directory
Is the file system full? Can you create the directory by hand? mkinitrd is a shell script, you might want to check what's going wrong.
omni:/tmp # ll /var/tmp/ total 16 drwxr-xr-x 5 root root 120 Oct 5 11:24 heartbeat-root -rw-r--r-- 1 root root 972 Oct 8 16:24 rpm-tmp.34363 -rw-r--r-- 1 root root 914 Oct 5 12:55 rpm-tmp.61378 -rw-r--r-- 1 root root 955 Oct 5 12:52 rpm-tmp.71553 -rw-r--r-- 1 root root 1059 Oct 8 16:22 rpm-tmp.83302 drwxrwxrwt 2 root root 48 Sep 21 18:04 vi.recover drwx------ 4 root root 128 Oct 5 12:50 zypp.DFcf1I
omni:/boot/grub # stat /var/tmp/ File: `/var/tmp/' Size: 272 Blocks: 0 IO Block: 4096 directory Device: 802h/2050d Inode: 48425 Links: 5 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2007-10-12 11:40:16.000000000 -0400 Modify: 2007-10-12 11:35:23.000000000 -0400 Change: 2007-10-12 11:35:23.000000000 -0400
The old initrd for 2.6.22.5-31 is there but the symlink now points to 2.6.22.9-0.4 which does not exist.
Anyone know why it could not create a directory under /var/tmp/ Or how to create a new initrd file?
mkinitrd -t /tmp chooses a /tmp as directory, Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas Jaeger wrote:
Coach-X <coachx@pwx.net> writes:
Install new kernel:
omni:/tmp # rpm -ihv ./kernel-default-2.6.22.9-0.4.i586.rpm Preparing... ########################################### [100%] 1:kernel-default ########################################### [100%] Setting up /lib/modules/2.6.22.9-0.4-default
Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default
Does not appear the mkinitrd ran automatically, so I run it manually:
omni:~ # mkinitrd
Kernel image: /boot/vmlinuz-2.6.22.5-31-default Initrd image: /boot/initrd-2.6.22.5-31-default
Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default mkdir: cannot create directory `/var/tmp/mkinitramfs.iv9111/mnt': File exists could not create temporary directory
Is the file system full? Can you create the directory by hand?
mkinitrd is a shell script, you might want to check what's going wrong.
I did go through the file and found the problem in /lib/mkinitrd/scripts/setup-splashy.sh I dont know if it is a bug, but if it did not find /usr/sbin/resume it would exit. It would not remove the first temp directory, thus the error for the existing directory. I was able to resolve the issue by installing suspend. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Coach-X <coachx@pwx.net> writes:
Andreas Jaeger wrote:
Coach-X <coachx@pwx.net> writes:
Install new kernel:
omni:/tmp # rpm -ihv ./kernel-default-2.6.22.9-0.4.i586.rpm Preparing... ########################################### [100%] 1:kernel-default ########################################### [100%] Setting up /lib/modules/2.6.22.9-0.4-default
Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default
Does not appear the mkinitrd ran automatically, so I run it manually:
omni:~ # mkinitrd
Kernel image: /boot/vmlinuz-2.6.22.5-31-default Initrd image: /boot/initrd-2.6.22.5-31-default
Kernel image: /boot/vmlinuz-2.6.22.9-0.4-default Initrd image: /boot/initrd-2.6.22.9-0.4-default mkdir: cannot create directory `/var/tmp/mkinitramfs.iv9111/mnt': File exists could not create temporary directory
Is the file system full? Can you create the directory by hand?
mkinitrd is a shell script, you might want to check what's going wrong.
I did go through the file and found the problem in /lib/mkinitrd/scripts/setup-splashy.sh I dont know if it is a bug, but if it did not find /usr/sbin/resume it would exit. It would not remove the first temp directory, thus the error for the existing directory. I was able to resolve the issue by installing suspend.
Please file a bug via bugs.opensuse.org so that we can fix this for the future. Thanks, Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (2)
-
Andreas Jaeger
-
Coach-X