public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] boot stalls at 'mounting local file systems'
@ 2006-07-31 21:22 Martins
  2006-07-31 21:43 ` Richard Fish
  2006-08-01 16:26 ` [gentoo-user] boot stalls at 'mounting local file systems' Hamish Marson
  0 siblings, 2 replies; 6+ messages in thread
From: Martins @ 2006-07-31 21:22 UTC (permalink / raw
  To: gentoo-user


any have a hint, my gentoo desktop box stalls booting at 'mounting local  
file systems' for a sudden. there's no system config files i alerted,  
nothing at all. from win i see all my ext3 partitions, all VFAT are there  
too. whatshoul i look for?

martins
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] boot stalls at 'mounting local file systems'
  2006-07-31 21:22 [gentoo-user] boot stalls at 'mounting local file systems' Martins
@ 2006-07-31 21:43 ` Richard Fish
  2006-08-01  7:00   ` Martins Steinbergs
  2006-08-01 16:26 ` [gentoo-user] boot stalls at 'mounting local file systems' Hamish Marson
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Fish @ 2006-07-31 21:43 UTC (permalink / raw
  To: gentoo-user

On 7/31/06, Martins <mar@ml.lv> wrote:
>
> any have a hint, my gentoo desktop box stalls booting at 'mounting local
> file systems' for a sudden. there's no system config files i alerted,

If you are using ldap, it can cause long delays for things that occur
before networking is active when something tries to lookup a user from
the ldap server, but times out.

So far I've heard of this affecting bootmisc, udev, and now
localmount.  There are some workarounds listed in this bug:

http://bugs.gentoo.org/show_bug.cgi?id=99564

Basically, downgrading the version of ldap or or changing the ldap
configuration seems to fix it for most people.

In your case, it is probably this part of localmount that is causing
the problem:

        if [[ -n ${usbfs} ]] && \
           [[ -e /proc/bus/usb && ! -e /proc/bus/usb/devices ]]
        then
                ebegin "Mounting USB device filesystem (${usbfs})"
                usbgid=$(echo $(getent group usb) | awk -F: '{print $3}')
                mount -t ${usbfs} usbfs /proc/bus/usb \
                        ${usbgid:+-o devmode=0664,devgid=${usbgid}}
                eend $? "Failed to mount USB device filesystem"
        fi

This tries to do a lookup of the 'usb' group.

If it does indeed turn out to be an ldap issue, add a comment to the
linked bug or at least let me know and I'll do it.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] boot stalls at 'mounting local file systems'
  2006-07-31 21:43 ` Richard Fish
@ 2006-08-01  7:00   ` Martins Steinbergs
  2006-08-01 10:32     ` Graham Murray
  0 siblings, 1 reply; 6+ messages in thread
From: Martins Steinbergs @ 2006-08-01  7:00 UTC (permalink / raw
  To: gentoo-user

Hi, thanks for response. I dont have anything related to ldap. But booting 
older kernel did the trick.

Martins

> If you are using ldap, it can cause long delays for things that occur
> before networking is active when something tries to lookup a user from
> the ldap server, but times out.
>
> So far I've heard of this affecting bootmisc, udev, and now
> localmount.  There are some workarounds listed in this bug:
>
> http://bugs.gentoo.org/show_bug.cgi?id=99564
>
> Basically, downgrading the version of ldap or or changing the ldap
> configuration seems to fix it for most people.
>
> In your case, it is probably this part of localmount that is causing
> the problem:
>
>         if [[ -n ${usbfs} ]] && \
>            [[ -e /proc/bus/usb && ! -e /proc/bus/usb/devices ]]
>         then
>                 ebegin "Mounting USB device filesystem (${usbfs})"
>                 usbgid=$(echo $(getent group usb) | awk -F: '{print $3}')
>                 mount -t ${usbfs} usbfs /proc/bus/usb \
>                         ${usbgid:+-o devmode=0664,devgid=${usbgid}}
>                 eend $? "Failed to mount USB device filesystem"
>         fi
>
> This tries to do a lookup of the 'usb' group.
>
> If it does indeed turn out to be an ldap issue, add a comment to the
> linked bug or at least let me know and I'll do it.
>
> -Richard

-- 
Linux 2.6.17-gentoo-r1 AMD Athlon(tm) 64 Processor 3200+
 09:55:18 up 25 min,  1 user,  load average: 1.16, 1.00, 1.00
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] boot stalls at 'mounting local file systems'
  2006-08-01  7:00   ` Martins Steinbergs
@ 2006-08-01 10:32     ` Graham Murray
  2006-08-02  0:46       ` [gentoo-user] boot stalls at 'mounting local file systems' [SOLVED] Martins Steinbergs
  0 siblings, 1 reply; 6+ messages in thread
From: Graham Murray @ 2006-08-01 10:32 UTC (permalink / raw
  To: gentoo-user

Martins Steinbergs <mar@ml.lv> writes:

> Hi, thanks for response. I dont have anything related to ldap. But booting 
> older kernel did the trick.

I have seen similar on a couple of systems. Work fine with kernel
2.6.16-r13 but fail when upgrading to 2.6.17-r4.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] boot stalls at 'mounting local file systems'
  2006-07-31 21:22 [gentoo-user] boot stalls at 'mounting local file systems' Martins
  2006-07-31 21:43 ` Richard Fish
@ 2006-08-01 16:26 ` Hamish Marson
  1 sibling, 0 replies; 6+ messages in thread
From: Hamish Marson @ 2006-08-01 16:26 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martins wrote:
>
> any have a hint, my gentoo desktop box stalls booting at 'mounting
> local file systems' for a sudden. there's no system config files i
> alerted, nothing at all. from win i see all my ext3 partitions, all
>  VFAT are there too. whatshoul i look for?
>
> martins --gentoo-user@gentoo.org mailing list
>
Do you have any reiserfs filesystems? Mine did that a week ago too.
Turns out it was one of the reiserfs filesystems was a bit bad &
needed a --rebuild-tree from reiserfsck.

Hamish.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEz4Cu/3QXwQQkZYwRAsZhAJ4uqpJLDipzYTMntN1YyTmtnDCi6QCghwMe
PZt1iNHMgmQT3YNGZE5VvP8=
=t3HH
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] boot stalls at 'mounting local file systems' [SOLVED]
  2006-08-01 10:32     ` Graham Murray
@ 2006-08-02  0:46       ` Martins Steinbergs
  0 siblings, 0 replies; 6+ messages in thread
From: Martins Steinbergs @ 2006-08-02  0:46 UTC (permalink / raw
  To: gentoo-user

On Tuesday 01 August 2006 13:32, Graham Murray wrote:
> Martins Steinbergs <mar@ml.lv> writes:
> > Hi, thanks for response. I dont have anything related to ldap. But
> > booting older kernel did the trick.
>
> I have seen similar on a couple of systems. Work fine with kernel
> 2.6.16-r13 but fail when upgrading to 2.6.17-r4.

looks like my problem was due to busybox upgrade, after rebuilding kernel 
everything looks fine

-- 
Linux 2.6.17-ck1-r2 AMD Athlon(tm) 64 Processor 3200+
 03:44:48 up 2 min,  1 user,  load average: 0.76, 0.40, 0.15
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-02  0:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 21:22 [gentoo-user] boot stalls at 'mounting local file systems' Martins
2006-07-31 21:43 ` Richard Fish
2006-08-01  7:00   ` Martins Steinbergs
2006-08-01 10:32     ` Graham Murray
2006-08-02  0:46       ` [gentoo-user] boot stalls at 'mounting local file systems' [SOLVED] Martins Steinbergs
2006-08-01 16:26 ` [gentoo-user] boot stalls at 'mounting local file systems' Hamish Marson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox