Bug#507676: initramfs-tools: does not wait for usb disks in fstab to show up

2008-12-05 Thread hugo vanwoerkom
Even fixing the error of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507059
and installing the latest udev with udevadm: same result: no wait!


Bug#507676: initramfs-tools: does not wait for usb disks in fstab to show up

2008-12-04 Thread hugo vanwoerkom
On Wed, Dec 3, 2008 at 5:18 PM, Cesare Leonardi [EMAIL PROTECTED] wrote:

 hugo vanwoerkom wrote:

 Booting linux-image-2.6.26-1-686 initramfs does not wait for the 2 USB
 disks that are in /etc/fstab to show up, causing the
 boot to fail.


 From what i've heard from previous posts, you can try with the
 rootdelay=n kernel boot parameter, where n is the number of seconds to
 wait.

 Good luck.

 Cesare.


But it isn't the root that needs delayed, the 2 USB disks that don't have
root on them but other partitions need to be delayed.

Hugo


Bug#507676: initramfs-tools: does not wait for usb disks in fstab to show up

2008-12-03 Thread hugo vanwoerkom
Package: initramfs-tools
Version: 0.92l
Severity: normal

Booting linux-image-2.6.26-1-686 initramfs does not wait for the 2 USB disks
that are in /etc/fstab to show up, causing the
boot to fail.
This is the relevant section of /etc/fstab:
...
# 80GB PATA Seagate disk USB
LABEL=ST380211.01   /sda1   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=ST380211.02   /sda2   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=ST380211.03   /sda3   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=ST380211.05   /sda5   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=ST380211.06   /sda6   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=ST380211.07   /sda7   ext2
defaults,user,noauto,errors=remount-ro  0   1
##LABEL=ST380211.07 /sda7   ext2
auto,user,exec  0   0

# 80GB SATA Western Digital disk USB
LABEL=wd80_0jd-60.03/sdb3   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=wd80_0jd-60.05/sdb5   ext2
defaults,user,noauto,errors=remount-ro  0   1
LABEL=wd80_0jd-60.06/sdb6   ext2
defaults,user,noauto,errors=remount-ro  0   1
...

-- Package-specific info:
-- /proc/cmdline
root=LABEL=ST380011A.05 noapic apm=on vga=791 edd=off ddcon-1 network quiet

-- /proc/filesystems
ext2

-- lsmod
Module  Size  Used by
ppp_deflate 4224  1
zlib_deflate   17624  1 ppp_deflate
zlib_inflate   14144  1 ppp_deflate
bsd_comp4864  0
ppp_async   7488  1
crc_ccitt   2080  1 ppp_async
vmnet  29160  12
vmmon  98924  0
nvidia   4701104  52
ipt_ULOG6820  1
ppdev   6468  0
lp  8164  0
wmi 6440  0
video  16432  0
output  2912  1 video
sbs2  0
sbshc   5184  1 sbs
battery10180  0
container   3456  0
ac  4196  0
usbhid 35904  1
evdev   8000  4
xt_tcpudp   2816  40
ipt_LOG 5028  12
xt_limit2180  14
xt_state2016  41
iptable_filter  2624  1
iptable_nat 4680  0
nf_nat 15576  1 iptable_nat
nf_conntrack_ipv4  12268  44 iptable_nat,nf_nat
nf_conntrack   55508  4
xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle  2688  0
ipv6  235300  26
ppp_generic20028  7 ppp_deflate,bsd_comp,ppp_async
slhc5408  1 ppp_generic
dm_snapshot14340  0
dm_mirror  15104  0
dm_log  8452  1 dm_mirror
dm_mod 46184  3 dm_snapshot,dm_mirror,dm_log
ip_tables  10160  3 iptable_filter,iptable_nat,iptable_mangle
x_tables   13284  7
ipt_ULOG,xt_tcpudp,ipt_LOG,xt_limit,xt_state,iptable_nat,ip_tables
loop   12748  0
w83627hf   20984  0
hwmon_vid   2720  1 w83627hf
eeprom  5232  0
sg 26964  0
parport_pc 22500  1
parport30988  3 ppdev,lp,parport_pc
snd_ca0106 27584  0
snd_pcm_oss32800  0
snd_mixer_oss  12320  3 snd_pcm_oss
snd_pcsp8576  1
i2c_viapro  6836  0
i2c_core   19828  3 nvidia,eeprom,i2c_viapro
snd_via82xx20664  1
gameport   10700  1 snd_via82xx
snd_ac97_codec 88484  2 snd_ca0106,snd_via82xx
snd_pcm62596  5
snd_ca0106,snd_pcm_oss,snd_pcsp,snd_via82xx,snd_ac97_codec
snd_mpu401_uart 6368  1 snd_via82xx
snd_rawmidi18496  2 snd_ca0106,snd_mpu401_uart
snd_seq_dummy   2660  0
snd_seq_oss24992  0
button  6096  0
snd_seq_midi_event  6432  1 snd_seq_oss
snd_seq41456  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer  17800  2 snd_pcm,snd_seq
snd_seq_device  6380  4
snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd45604  13
snd_ca0106,snd_pcm_oss,snd_mixer_oss,snd_pcsp,snd_via82xx,snd_ac97_codec,snd_pc
m,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore   6368  3 snd
ac97_bus1728  1 snd_ac97_codec
snd_page_alloc  7816  3 snd_ca0106,snd_via82xx,snd_pcm
shpchp 25528  0
pci_hotplug23460  1 shpchp
via_agp 7744  1
agpgart28776  2 nvidia,via_agp
ext2   54440  2
mbcache 7108  1 ext2
sd_mod 22200  0
usb_storage75936  0
hid33184  1 usbhid
ff_memless  4392  1 usbhid
ide_cd_mod 27652  0
cdrom 

Bug#507676: initramfs-tools: does not wait for usb disks in

2008-12-03 Thread Bernhard Kleine
Am Wed, 03 Dec 2008 16:30:30 +0100 schrieb hugo vanwoerkom:

 Package: initramfs-tools
 Version: 0.92l
 Severity: normal
 
 Booting linux-image-2.6.26-1-686 initramfs does not wait for the 2 USB
 disks that are in /etc/fstab to show up, causing the boot to fail.

I had a similar problem 2 days ago, one usb partition as /dev/sda1, boot 
stopped with an error, I do not remember but related to a missing device. 
Rebooting solved the problem.

Bernhard


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#507676: initramfs-tools: does not wait for usb disks in

2008-12-03 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Dec 03, 2008 at 05:30:40PM +0100, Bernhard Kleine wrote:
Am Wed, 03 Dec 2008 16:30:30 +0100 schrieb hugo vanwoerkom:

 Package: initramfs-tools
 Version: 0.92l
 Severity: normal
 
 Booting linux-image-2.6.26-1-686 initramfs does not wait for the 2 
 USB disks that are in /etc/fstab to show up, causing the boot to 
 fail.

I had a similar problem 2 days ago, one usb partition as /dev/sda1, 
boot stopped with an error, I do not remember but related to a missing 
device. Rebooting solved the problem.

Using the alternative ramdisk-generator yaird also solves issues like 
this - but really: Both rebooting and yaird is merely _workarounds_, not 
real bugfixes.


Regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkk2v1EACgkQn7DbMsAkQLiD7wCghLJT+g5mnf8UAq8NUXOEOqS9
r/gAnRdUrX2eSJ1Twf/v7qTo+n8RQgAL
=EmNs
-END PGP SIGNATURE-



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



Bug#507676: initramfs-tools: does not wait for usb disks in

2008-12-03 Thread hugo vanwoerkom
On Wed, Dec 3, 2008 at 10:30 AM, Bernhard Kleine [EMAIL PROTECTED]wrote:

 Am Wed, 03 Dec 2008 16:30:30 +0100 schrieb hugo vanwoerkom:

  Package: initramfs-tools
  Version: 0.92l
  Severity: normal
 
  Booting linux-image-2.6.26-1-686 initramfs does not wait for the 2 USB
  disks that are in /etc/fstab to show up, causing the boot to fail.

 I had a similar problem 2 days ago, one usb partition as /dev/sda1, boot
 stopped with an error, I do not remember but related to a missing device.
 Rebooting solved the problem.

 Bernhard


My solution is to insert:

echo -e \033[1;33;40mSelf-imposed wait of
10s...(12/02/08)\033[0;37;40m
/bin/sleep 10.0

just ahead of

wait_for_udev 10

in /usr/share/initramfs-tools/scripts/local function mountroot (). But I
don't think I should have to do that.

Hugo


Bug#507676: initramfs-tools: does not wait for usb disks in fstab to show up

2008-12-03 Thread Cesare Leonardi

hugo vanwoerkom wrote:
Booting linux-image-2.6.26-1-686 initramfs does not wait for the 2 USB 
disks that are in /etc/fstab to show up, causing the

boot to fail.


From what i've heard from previous posts, you can try with the 
rootdelay=n kernel boot parameter, where n is the number of seconds to 
wait.


Good luck.

Cesare.



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