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

Bug#582858: initramfs-tools: MODULES=dep fails when / is ubifs



Package: initramfs-tools
Version: 0.94.4
Severity: normal

When / is on ubifs, if i set MODULES=dep in 
/etc/initramfs-tools/initramfs.conf, i get the following error:

0 root@moo:~# update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-2.6.32-5-kirkwood
readlink: missing operand
Try `readlink --help' for more information.
stdin: Illegal seek
mkinitramfs: for root  missing  /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.32-5-kirkwood
0 root@moo:~# 

here's more information about this machine (it's a guruplug, running 
directly from nand flash:

0 root@moo:~# cat /proc/cmdline 
console=ttyS0,115200n8 root=ubi0:root ubi.mtd=2 rootfstype=ubifs
0 root@moo:~# cat /proc/mounts 
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev devtmpfs rw,relatime,size=254824k,nr_inodes=63706,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
ubi0:root / ubifs rw,relatime 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /var/cache/apt/archives tmpfs rw,nosuid,nodev,noexec,relatime,mode=755 0 0
tmpfs /tmp tmpfs rw,relatime 0 0
/dev/md0 /home ext3 rw,relatime,errors=continue,data=ordered 0 0
0 root@moo:~# 

I can provide more info if you want it; please let me know.

Thanks for keeping initramfs-tools up-to-date!

	--dkg


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

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
ext3                  110692  1 
jbd                    37274  1 ext3
mbcache                 4860  1 ext3
sd_mod                 31168  2 
crc_t10dif              1106  1 sd_mod
ipv6                  252757  10 
btmrvl_sdio             8140  0 
btmrvl                 10622  1 btmrvl_sdio
libertas_sdio           6387  0 
bluetooth              47558  1 btmrvl
libertas               79561  1 libertas_sdio
mv_cesa                 4620  0 
rfkill                 14240  1 bluetooth
lib80211                3680  1 libertas
usb_storage            34775  2 
aes_generic            32820  1 mv_cesa
raid0                   5835  1 
md_mod                 80194  2 raid0
mmc_block               7634  0 
sata_mv                24181  0 
ehci_hcd               35267  0 
libata                137558  1 sata_mv
mvsdio                  5294  0 
mv643xx_eth            22510  0 
usbcore               122040  3 usb_storage,ehci_hcd
scsi_mod              119084  3 sd_mod,usb_storage,libata
mmc_core               49668  4 btmrvl_sdio,libertas_sdio,mmc_block,mvsdio
nls_base                5367  1 usbcore
libphy                 14808  1 mv643xx_eth

-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /sys/block
md0
mtdblock0
mtdblock1
mtdblock2
sda
sdb
sdc
sdd


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-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-4      GNU cpio -- a program to manage ar
ii  findutils                    4.4.2-1     utilities for finding files--find,
ii  klibc-utils                  1.5.18-1    small utilities built with klibc f
ii  module-init-tools            3.12~pre2-3 tools for managing Linux kernel mo
ii  udev                         154-1       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.14.2-2 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed:
MODULES=dep
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- no debconf information



Reply to: