[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#707789: initramfs-tools: update-initramfs blocks with message "root device ubi0:rootfs does not exist"



Package: initramfs-tools
Version: 0.109.1
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

When update-initramfs is called indirectly by apt-get, I get following error message:

root device ubi0:rootfs does not exist.

I get the option to enter Control-C to abort or Enter to continu, but whatever I choose, nothing happened and I get no prompt.
As my only connection to device was via serial line which was blocked by update-initramfs, I could not take any other action than reboot the system,
but restarting failed because there was no initial ram-disk. In both cases described below, I was obliged to re-install debian on the device.

   * What led up to the situation?
I have a sheevaplug which is a small arm-based system.
I originally installed debian squeeze in the flash of this device according to following instructions:
http://www.blaicher.com/2012/07/installing-debian-on-a-sheevaplug-into-flash/
First occurence: when upgrading from squeeze to wheezy
Second occurence: when re-installing sheevaplug from scratch, when I installed the package lvm2 when I was running with root on the flash device
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I solved the problem temporary by installing the package lvm2 when I was still running with root on my USB stick.

I found on the web two cases where the same problem occured, but the cure was different.
One person created a soft-link from /dev/ubi_0_0 to /dev/root:
https://github.com/rshk/wiki.hackzine.org/blob/master/source/hardware/guruplug-misc.rst

Another removed the package flash-kernel
http://forum.doozan.com/read.php?2,9256,9256,quote=1

I did both actions, but I did not dare to call update-initramfs yet.
Could someone please confirm which action is appropriate ?

-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs

-- resume
RESUME=UUID=f7d2a8ea-5988-437f-afa7-eedcac2e54fd
-- /proc/filesystems
	ext4
	ext3

-- lsmod
Module                  Size  Used by
usblp                   9257  0 
autofs4                19382  2 
act_police              3510  0 
cls_basic               3377  0 
cls_flow                6531  0 
cls_fw                  3460  0 
cls_u32                 6354  0 
sch_tbf                 3837  0 
sch_prio                3590  0 
sch_htb                12741  0 
sch_hfsc               12853  0 
sch_ingress             1542  0 
sch_sfq                 5436  0 
xt_statistic            1065  0 
xt_CT                   1641  0 
xt_time                 1701  0 
xt_connlimit            2780  0 
xt_realm                 733  0 
xt_addrtype             2223  5 
iptable_raw             1054  0 
xt_comment               689  31 
xt_recent               7888  0 
xt_policy               2256  0 
ipt_ULOG                4963  0 
ipt_REJECT              1911  4 
ipt_REDIRECT             949  0 
ipt_NETMAP               923  0 
ipt_MASQUERADE          1396  0 
ipt_ECN                 1514  0 
ipt_ecn                 1182  0 
ipt_CLUSTERIP           5215  0 
ipt_ah                   915  0 
xt_set                  3955  0 
ip_set                 19717  1 xt_set
nf_nat_tftp              804  0 
nf_nat_snmp_basic       7316  0 
nf_conntrack_snmp        901  1 nf_nat_snmp_basic
nf_nat_sip              6086  0 
nf_nat_pptp             2388  0 
nf_nat_proto_gre        1115  1 nf_nat_pptp
nf_nat_irc              1216  0 
nf_nat_h323             6113  0 
nf_nat_ftp              1418  0 
nf_nat_amanda            978  0 
ts_kmp                  1409  5 
nf_conntrack_amanda     1775  1 nf_nat_amanda
nf_conntrack_sane       2866  0 
nf_conntrack_tftp       2559  1 nf_nat_tftp
nf_conntrack_sip       16154  1 nf_nat_sip
nf_conntrack_proto_udplite     2413  0 
nf_conntrack_proto_sctp     6027  0 
nf_conntrack_pptp       3783  1 nf_nat_pptp
nf_conntrack_proto_gre     4591  1 nf_conntrack_pptp
nf_conntrack_netlink    16916  0 
nf_conntrack_netbios_ns      811  0 
nf_conntrack_broadcast      892  2 nf_conntrack_netbios_ns,nf_conntrack_snmp
nf_conntrack_irc        2705  1 nf_nat_irc
nf_conntrack_h323      33986  1 nf_nat_h323
nf_conntrack_ftp        4859  1 nf_nat_ftp
xt_TPROXY               4053  0 
nf_defrag_ipv6          5415  1 xt_TPROXY
ip6_tables             10291  1 xt_TPROXY
nf_tproxy_core           894  1 xt_TPROXY
xt_tcpmss               1139  0 
xt_pkttype               793  0 
xt_physdev              1622  0 
xt_owner                 921  0 
xt_NFQUEUE              1710  0 
xt_NFLOG                 860  0 
nfnetlink_log           6883  1 xt_NFLOG
xt_multiport            1536  4 
xt_mark                  883  1 
xt_mac                   829  0 
xt_limit                1302  4 
xt_length                946  0 
xt_iprange              1518  21 
xt_helper               1097  0 
xt_hashlimit            7740  0 
xt_DSCP                 1713  0 
xt_dscp                 1333  0 
xt_dccp                 1777  0 
xt_conntrack            2703  15 
xt_connmark             1503  0 
xt_CLASSIFY              779  0 
xt_AUDIT                2621  0 
ipt_LOG                 6236  10 
xt_tcpudp               1973  33 
xt_state                 969  0 
iptable_nat             3370  0 
nf_nat                 13203  12 iptable_nat,nf_nat_amanda,nf_nat_ftp,nf_nat_h323,nf_nat_irc,nf_nat_proto_gre,nf_nat_pptp,nf_nat_sip,nf_nat_tftp,ipt_MASQUERADE,ipt_NETMAP,ipt_REDIRECT
nf_conntrack_ipv4       9990  18 nf_nat,iptable_nat
nf_defrag_ipv4          1041  2 nf_conntrack_ipv4,xt_TPROXY
nf_conntrack           53628  34 nf_conntrack_ipv4,nf_nat,iptable_nat,xt_state,xt_connmark,xt_conntrack,xt_helper,nf_conntrack_ftp,nf_conntrack_h323,nf_conntrack_irc,nf_conntrack_broadcast,nf_conntrack_netbios_ns,nf_conntrack_netlink,nf_conntrack_proto_gre,nf_conntrack_pptp,nf_conntrack_proto_sctp,nf_conntrack_proto_udplite,nf_conntrack_sip,nf_conntrack_tftp,nf_conntrack_sane,nf_conntrack_amanda,nf_nat_amanda,nf_nat_ftp,nf_nat_h323,nf_nat_irc,nf_nat_pptp,nf_nat_sip,nf_conntrack_snmp,nf_nat_snmp_basic,nf_nat_tftp,ipt_CLUSTERIP,ipt_MASQUERADE,xt_connlimit,xt_CT
iptable_mangle          1242  1 
nfnetlink               2596  3 nfnetlink_log,nf_conntrack_netlink,ip_set
iptable_filter          1150  1 
ip_tables               9464  4 iptable_filter,iptable_mangle,iptable_nat,iptable_raw
x_tables               11383  50 ip_tables,iptable_filter,iptable_mangle,iptable_nat,xt_state,xt_tcpudp,ipt_LOG,xt_AUDIT,xt_CLASSIFY,xt_connmark,xt_conntrack,xt_dccp,xt_dscp,xt_DSCP,xt_hashlimit,xt_helper,xt_iprange,xt_length,xt_limit,xt_mac,xt_mark,xt_multiport,xt_NFLOG,xt_NFQUEUE,xt_owner,xt_physdev,xt_pkttype,xt_tcpmss,ip6_tables,xt_TPROXY,xt_set,ipt_ah,ipt_CLUSTERIP,ipt_ecn,ipt_ECN,ipt_MASQUERADE,ipt_NETMAP,ipt_REDIRECT,ipt_REJECT,ipt_ULOG,xt_policy,xt_recent,xt_comment,iptable_raw,xt_addrtype,xt_realm,xt_connlimit,xt_time,xt_CT,xt_statistic
nfsd                  228461  13 
nfs                   340345  0 
nfs_acl                 2205  2 nfs,nfsd
auth_rpcgss            33901  2 nfs,nfsd
fscache                41075  1 nfs
lockd                  67556  2 nfs,nfsd
sunrpc                183760  29 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
ipv6                  261279  56 nf_defrag_ipv6,xt_TPROXY
ext3                  163593  1 
jbd                    59789  1 ext3
ext4                  380679  14 
jbd2                   67983  1 ext4
mbcache                 4460  2 ext4,ext3
sg                     18141  0 
sd_mod                 31044  2 
crc_t10dif              1110  1 sd_mod
loop                   13325  0 
usb_storage            34981  1 
scsi_mod              149913  3 usb_storage,sd_mod,sg
hmac                    2427  0 
sha1_generic            1740  0 
mv_cesa                 9469  0 
aes_generic            27588  1 mv_cesa
dm_mod                 63831  52 
ehci_hcd               37381  0 
usbcore               121932  4 ehci_hcd,usb_storage,usblp
mvsdio                  5182  0 
mmc_core               80180  1 mvsdio
usb_common               648  1 usbcore
mv643xx_eth            23026  0 
inet_lro                4272  1 mv643xx_eth
libphy                 14604  1 mv643xx_eth

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
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
keymap
klibc
kmod
lvm2
thermal
udev


-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-4-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio         2.11+dfsg-0.1
ii  klibc-utils  2.0.1-3.1
ii  kmod         9-3
ii  udev         175-7.2

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-7

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- no debconf information


Reply to: