|
Bugzilla – Full Text Bug Listing |
| Summary: | mkinitrd fails to copy modules | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Olaf Hering <ohering> |
| Component: | Basesystem | Assignee: | Hannes Reinecke <hare> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Critical | ||
| Priority: | P5 - None | ||
| Version: | Beta 4 | ||
| Target Milestone: | --- | ||
| Hardware: | PowerPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | mkinitrd | ||
|
Description
Olaf Hering
2005-09-04 13:05:34 UTC
after sudo su - -c 'bash -x /sbin/mkinitrd ' + echo + modules= + kernel_image=/boot/vmlinux-2.6.13-20050903220008-default + '[' / '!=' / ']' + initrd_image=/boot/initrd-2.6.13-20050903220008-default + '[' / '!=' / ']' + mkinitrd_kernel /boot/vmlinux-2.6.13-20050903220008-default /boot/initrd-2.6.1 3-20050903220008-default + local kernel_image=/boot/vmlinux-2.6.13-20050903220008-default initrd_image=/b oot/initrd-2.6.13-20050903220008-default + local kernel_version need_block_driver + local need_raidautorun + local -a features + local fs_modules drv_modules + tmp_mnt=/var/tmp/mkinitramfs.JC8026/mnt + tmp_mnt_small=/var/tmp/mkinitramfs.JC8026/mnt_small + tmp_msg=/var/tmp/mkinitramfs.JC8026/msg7980 + vendor_script=/var/tmp/mkinitramfs.JC8026/mnt/vendor_init.sh + '[' ramfs = rd ']' + linuxrc=/var/tmp/mkinitramfs.JC8026/mnt/init + '[' -f /boot/vmlinux-2.6.13-20050903220008-default ']' ++ /sbin/get_kernel_version /boot/vmlinux-2.6.13-20050903220008-default + kernel_version=2.6.13-20050903220008-default + echo -e 'Kernel image:\t/boot/vmlinux-2.6.13-20050903220008-default' Kernel image: /boot/vmlinux-2.6.13-20050903220008-default + echo -e 'Initrd image:\t/boot/initrd-2.6.13-20050903220008-default' Initrd image: /boot/initrd-2.6.13-20050903220008-default + '[' '!' -d /lib/modules/2.6.13-20050903220008-default/misc -a '!' -d /lib/modu les/2.6.13-20050903220008-default/kernel ']' + mkdir /var/tmp/mkinitramfs.JC8026/mnt mkdir: cannot create directory `/var/tmp/mkinitramfs.JC8026/mnt': File exists + error 1 'could not create temporary directory' + echo 'could not create temporary directory' could not create temporary directory + cleanup + '[' ramfs = rd ']' + rm -f /var/tmp/mkinitramfs.JC8026/initrd /var/tmp/mkinitramfs.JC8026/initrd.gz + initrd_bins=() + cleanup_finish + umount_proc + '[' '' ']' + mounted_proc= + '[' -d /var/tmp/mkinitramfs.JC8026 ']' + rm -rf /var/tmp/mkinitramfs.JC8026 + exit 1 uld_modules can be empty multiple kernels are not handled, like it is the case after the mkinitrd abort. Created attachment 48748 [details]
mkinitrd
Fixed /sbin/mkinitrd. Please test with this.
the current one from abuild appears to work, that likely doesnt fix the mkdir bug. the attached one appears to work. Updated mkinitrd submitted to STABLE. |