Bug#600453: initramfs-tools: dist-upgrade lenny->squeeze mkinitramfs: failed
Subject: initramfs-tools: dist-upgrade lenny->squeeze mkinitramfs: failed to determine root device
Package: initramfs-tools
Version: 0.98.4
Severity: normal
*** Please type your report below this line ***
trying to dist-upgrade my orion (arm) box form lenny to squeeze i got the following error:
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-2-orion5x
mkinitramfs: failed to determine root device
mkinitramfs: workaround is MODULES=most
Error please report bug on initramfs-tools and include the output of 'mount'
update-initramfs: failed for /boot/initrd.img-2.6.32-2-orion5x
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for python-support ...
Errors were encountered while processing:
linux-image-2.6.32-5-orion5x
linux-image-2.6-orion5x
initramfs-tools
mount: / is busy
E: Sub-process /usr/bin/dpkg returned an error code (1)
mount output:
~$ mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
tmpfs on /tmp type tmpfs (rw,size=32m)
/dev/sdb2 on /media/adata type ext2 (rw,noatime)
/dev/sdb3 on /media/tbackupDrive type ext2 (rw,noatime)
nfsd on /proc/fs/nfsd type nfsd (rw)
aufs on / type aufs (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Additional info:
root is on a usb-flash-disk, in normal operation root is on an aufs,
to prevent to many writes to the flash.
for the dist-upgrade the box was booted without the bootarg
aufs=tmpfs.
I do not fully uderstand why root still is listed as aufs, but
the writes do really hit the usb-disk (otherways dist-upgrade
would have resulted in out of memory long ago).
followed the url blow for the aufs-setup
http://211.78.87.227/viewtopic.php?p=125219&sid=92ed65a36b73f123c79fb071e58d6025
thank you very much for any help.
ps: unsure if this should not have higher severety as rebooting now would
porbably make the system unbootable.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 2.2M Mar 19 2010 /boot/initrd.img-2.6.26-2-orion5x
-rw-r--r-- 1 root root 2.1M Feb 16 2010 /boot/initrd.img-2.6.26-2-orion5x.bak
-rw-r--r-- 1 root root 0 Jun 27 15:44 /boot/initrd.img-2.6.26-2-orion5x.new
-rw-r--r-- 1 root root 2.1M Feb 20 2010 /boot/initrd.img-2.6.30-2-orion5x
-rw-r--r-- 1 root root 2.2M Apr 13 2010 /boot/initrd.img-2.6.32-2-orion5x
-- /proc/cmdline
console=ttyS0,115200n8 root=/dev/ram rw initrd=0x800000,0x3fffff
-- resume
# RESUME=/dev/sda2
RESUME='UUID=f7060f39-0f73-4604-9823-93e367a18a05'
-- /proc/filesystems
ext2
-- lsmod
Module Size Used by
appletalk 24225 0
ipv6 253185 18
nfsd 247648 13
exportfs 3000 1 nfsd
nfs 269374 0
lockd 63141 2 nfsd,nfs
fscache 34101 1 nfs
nfs_acl 2277 2 nfsd,nfs
auth_rpcgss 33314 2 nfsd,nfs
sunrpc 171030 12 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
loop 11411 0
evdev 6582 0
sata_mv 24205 2
mv643xx_eth 22546 0
libata 133831 1 sata_mv
libphy 14128 1 mv643xx_eth
gpio_keys 2655 0
mv_cesa 4648 0
aes_generic 32820 1 mv_cesa
ext2 55407 3
mbcache 4860 1 ext2
sd_mod 30988 5
crc_t10dif 1106 1 sd_mod
ehci_hcd 32780 0
usb_storage 33760 1
usbcore 110912 3 ehci_hcd,usb_storage
nls_base 5367 1 usbcore
scsi_mod 119100 3 libata,sd_mod,usb_storage
aufs 138852 0
-- /etc/initramfs-tools/modules
aufs
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = yes
postinst_hook = flash-kernel
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
flash_kernel_set_root
keymap
klibc
thermal
udev
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: armel (armv5tel)
Kernel: Linux 2.6.32-2-orion5x
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,ii klibc-utils 1.5.20-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 160-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.17.1-4 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.2-2 programmable completion for the ba
-- no debconf information
--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
Reply to: