Bug#500672: live-helper: Booting with persistent root fs hangs in initrd but continous booting after exiting 2 times from busybox

2008-09-30 Thread Christoph Fink
Package: live-helper
Version: 1.0.0-2
Severity: normal


After building a image with live-helper I made it persistent root fs on 
a USB 
stick like it is described in the wiki:
http://wiki.debian.org/DebianLive/Howto/Custom_Install

When booting it, it gives me the following error message in busybox from 
initrd:

Remounting on /dev/sda2 ro on /cow failed

and in the live.log it says:

mount: mounting /dev/sda2 on /cow failed: Device or Resource busy

After exiting 2 times from that busybox it boots successfully and the 
persistent root fs works fine.

-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-helper depends on:
ii  debootstrap   1.0.10 Bootstrap a basic Debian system
ii  gettext-base  0.17-3 GNU Internationalization utilities

live-helper recommends no packages.

Versions of packages live-helper suggests:
ii  dosfstools 2.11-6utilities for making and checking 
ii  fakeroot   1.9.5 Gives a fake root environment
ii  genisoimage9:1.1.8-1+b1  Creates ISO-9660 CD-ROM filesystem
ii  grub   0.97-47   GRand Unified Bootloader (Legacy v
pn  memtest86+ | memtest86 none(no description available)
ii  mtools 3.9.11-1  Tools for manipulating MSDOS files
pn  parted none(no description available)
pn  squashfs-tools | genext2fs none(no description available)
ii  sudo   1.6.9p17-1Provide limited super user privile
ii  syslinux   2:3.71+dfsg-3 Kernel loader which uses a FAT, ex
ii  uuid-runtime   1.41.0-3  universally unique id library
pn  win32-loader   none(no description available)

-- no debconf information
+ tailpid=893
+ . /scripts/live-functions
+ +  -f. live.log /scripts/functions

+ . /live.vars
+ Arguments
+ PRESEEDS=
+ cat /proc/cmdline
+ USERNAME=user
+ LIVECONF=changed
+ export USERNAME LIVECONF
+ HOSTNAME=debian-vmware
+ LIVECONF=changed
+ export HOSTNAME LIVECONF
+ PERSISTENT=Yes
+ export PERSISTENT
+ DEBUG=Yes
+ export DEBUG
+ set -x
+ [ -z  ]
+ [  = /dev/nfs ]
+ [  = /dev/cifs ]
+ [ -z  ]
+ MODULE=filesystem
+ export MODULE
+ [ -z  ]
+ UNIONTYPE=aufs
+ export UNIONTYPE
+ set_usplash_timeout
+ [ -x /sbin/usplash_write ]
+ [ -x /sbin/splashy_update ]
+ maybe_break live-premount
+ [  = live-premount ]
+ log_begin_msg Running /scripts/live-premount
+ [ -x /sbin/usplash_write ]
+ _log_msg Begin: Running /scripts/live-premount ... 
+ [ n = y ]
+ printf Begin: Running /scripts/live-premount ... 
Begin: Running /scripts/live-premount ... + run_scripts /scripts/live-premount
+ initdir=/scripts/live-premount
+ [ ! -d /scripts/live-premount ]
+ get_prereqs
+ set_initlist
+ unset initlist
+ [ /scripts/live-premount/modules = /scripts/live-premount/* ]
+ [ ! -x /scripts/live-premount/modules ]
+ [ -d /scripts/live-premount/modules ]
+ initlist= modules
+ /scripts/live-premount/modules prereqs
+ tmp=udev
+ eval array_modules=udev
+ array_modules=udev
+ reduce_prereqs
+ unset runlist
+ set -- modules
+ i=1
+ [ 1 -ne 0 ]
+ oldi=1
+ reduce_satisfied modules
+ render array_modules
+ eval echo -n ${array_modules}
+ echo -n udev
+ deplist=udev
+ unset tmpdeplist
+ [ ! -x /scripts/live-premount/udev ]
+ continue
+ deplist=
+ eval array_modules=
+ array_modules=
+ render array_modules
+ eval echo -n ${array_modules}
+ echo -n
+ count_unsatisfied
+ set --
+ return 0
+ cnt=0
+ [ 0 -eq 0 ]
+ runlist= modules
+ pop_list_item modules modules
+ item=modules
+ shift
+ set -- modules
+ unset tmppop
+ [ modules = modules ]
+ continue
+ initlist=
+ i=0
+ [ 0 -eq 1 ]
+ [ 0 -ne 0 ]
+ call_scripts
+ [  = y ]
+ /scripts/live-premount/modules
+ [ -e /conf/param.conf ]
+ log_end_msg
+ [ -x /sbin/usplash_write ]
+ _log_msg done.\n
+ [ n = y ]
+ printf done.\n
done.
+ set_usplash_timeout
+ [ -x /sbin/usplash_write ]
+ [ -x /sbin/splashy_update ]
+ [ ! -z  ]
+ [ ! -z  ]
+ [ ! -z  ]
+ [ ! -z  ]
+ [ -n  ]
+ find_livefs 0
+ timeout=0
+ [ ! -z  ]
+ [ -n  ]
+ echo /sys/block/ram0 /sys/block/ram1+  /sys/block/ram10tr /sys/block/ram11   
/sys/block/ram12 \n /sys/block/ram13
 /sys/block/ram14 /sys/block/ram15 /sys/block/ram2 /sys/block/ram3 
/sys/block/ram4 /sys/block/ram5 /sys/block/ram6 /sys/block/ram7 /sys/block/ram8 
/sys/block/ram9 /sys/block/sr0
+ grep -v loop
+ grep -v ram
+ grep -v dm-
+ grep -v fd
+ sys2dev /sys/block/sr0
+ sysdev=/block/sr0
+ udevinfo -q name -p /block/sr0
+ echo /dev/scd0
+ devname=/dev/scd0
+ get_fstype /dev/scd0
+ local FSTYPE
+ local FSSIZE
+ is_luks /dev/scd0
+ devname=/dev/scd0
+ [ -x /sbin/cryptsetup ]
+ return 1
/init: line 1: cannot open /dev/scd0: 

Bug#500672: live-helper: Booting with persistent root fs hangs in initrd but continous booting after exiting 2 times from busybox

2008-09-30 Thread Daniel Baumann
retitle 500672 persistent root fs hangs continous booting after 2 times
reassign 500672 live-initramfs
thanks

Hi,

build-time errors are the domain of live-helper,
run-time erorrs are live-initramfs, thus reassigning.

Regards,
Daniel

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  [EMAIL PROTECTED]
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]