* [gentoo-catalyst] catalyst aborts, can not unmount /dev
@ 2006-05-11 20:50 Marko Djukic
2006-05-11 21:10 ` Chris Gianelloni
2006-05-12 15:53 ` Jacques Landru
0 siblings, 2 replies; 5+ messages in thread
From: Marko Djukic @ 2006-05-11 20:50 UTC (permalink / raw
To: gentoo-catalyst
Hi,
Catalyst emerges everything then aborts with the following message:
* Processed 94 info files.
Running action sequence: preclean
Running command "/bin/bash /usr/lib/catalyst/targets/livecd-stage1/livecd-stage1
.sh preclean"
Running action sequence: unbind
umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev: device is bu
sy
umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev: device is bu
sy
!!! catalyst: First attempt to unmount: /var/tmp/catalyst/tmp/default/livecd-sta
ge1-x86-2006.0/dev failed.
!!! catalyst: Killing any pids still running in the chroot
Checking for processes running in chroot and killing them.
Running command "/bin/bash /usr/lib/catalyst/targets/support/kill-chroot-pids.sh
"
Killing process(es)
pid: process name
15073:
Press Ctrl-C within 10 seconds to abort
umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev: device is bu
sy
umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev: device is bu
sy
!!! catalyst: Couldn't umount bind mount: /var/tmp/catalyst/tmp/default/livecd-s
tage1-x86-2006.0/dev
!!! catalyst: Couldn't umount one or more bind-mounts; aborting for safety.
Running lsof at the time of it trying to unmount it's bind mounted
/dev shows this:
udevd 15073 root 0u CHR 1,3 8449
/var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev/null
udevd 15073 root 1u CHR 1,3 8449
/var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev/null
udevd 15073 root 2u CHR 1,3 8449
/var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev/null
The process "15073" quoted above is this:
$ ps ax | grep 15073
15073 ? S<s 0:00 /sbin/udevd --daemon
Anyone have any ideas why it's failing?
Thanks,
Marko
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-catalyst] catalyst aborts, can not unmount /dev
2006-05-11 20:50 [gentoo-catalyst] catalyst aborts, can not unmount /dev Marko Djukic
@ 2006-05-11 21:10 ` Chris Gianelloni
2006-05-12 0:57 ` Marko Djukic
2006-05-12 15:53 ` Jacques Landru
1 sibling, 1 reply; 5+ messages in thread
From: Chris Gianelloni @ 2006-05-11 21:10 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
On Thu, 2006-05-11 at 21:50 +0100, Marko Djukic wrote:
> The process "15073" quoted above is this:
> $ ps ax | grep 15073
> 15073 ? S<s 0:00 /sbin/udevd --daemon
>
>
> Anyone have any ideas why it's failing?
udev is a PITA and takes forever to drop its grip on files?
If you're at the umount stage, you're at the end. You can actually
continue on with livecd-stage2, but it might be wise to run back over
your livecd-stage1, to ensure nothing was missed. Caching is your
friend. ;]
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-catalyst] catalyst aborts, can not unmount /dev
2006-05-11 21:10 ` Chris Gianelloni
@ 2006-05-12 0:57 ` Marko Djukic
0 siblings, 0 replies; 5+ messages in thread
From: Marko Djukic @ 2006-05-12 0:57 UTC (permalink / raw
To: gentoo-catalyst
On 5/11/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
>
> If you're at the umount stage, you're at the end. You can actually
> continue on with livecd-stage2, but it might be wise to run back over
> your livecd-stage1, to ensure nothing was missed. Caching is your
> friend. ;]
Yep, I've rerun it 4-5 times now, each time it fails at the unmount.
But if that's the end then I'll just carry on with stage 2 now.
Can't the kill loop or wait until the pid is actually killed before
retrying an unmount? Also there's a bug when fetching the P_NAME
variable, awk should return print $10 (not $11). I'll send a patch
tomorrow.
m.
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-catalyst] catalyst aborts, can not unmount /dev
2006-05-11 20:50 [gentoo-catalyst] catalyst aborts, can not unmount /dev Marko Djukic
2006-05-11 21:10 ` Chris Gianelloni
@ 2006-05-12 15:53 ` Jacques Landru
2006-05-12 17:26 ` Chris Gianelloni
1 sibling, 1 reply; 5+ messages in thread
From: Jacques Landru @ 2006-05-12 15:53 UTC (permalink / raw
To: gentoo-catalyst
Hi
It seems that problem comes from the catalyst2 cache options. I had the
same behaviour
untill I unvalidate kerncache pkgcache, seedcache and snapcache options
in my /etc/catalyst2.
My options field is just
options="autoresume ccache"
LiveCD rebuild is longer, but all busy device unmount problems, I had,
seem to be solved.
Hope this can help gentoo catalyst2 developper...
Jacques Landru
Marko Djukic wrote:
> Hi,
>
> Catalyst emerges everything then aborts with the following message:
>
> * Processed 94 info files.
> Running action sequence: preclean
> Running command "/bin/bash
> /usr/lib/catalyst/targets/livecd-stage1/livecd-stage1
> .sh preclean"
> Running action sequence: unbind
> umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev:
> device is bu
> sy
> umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev:
> device is bu
> sy
> !!! catalyst: First attempt to unmount:
> /var/tmp/catalyst/tmp/default/livecd-sta
> ge1-x86-2006.0/dev failed.
> !!! catalyst: Killing any pids still running in the chroot
> Checking for processes running in chroot and killing them.
> Running command "/bin/bash
> /usr/lib/catalyst/targets/support/kill-chroot-pids.sh
> "
>
> Killing process(es)
> pid: process name
> 15073:
>
> Press Ctrl-C within 10 seconds to abort
> umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev:
> device is bu
> sy
> umount: /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev:
> device is bu
> sy
> !!! catalyst: Couldn't umount bind mount:
> /var/tmp/catalyst/tmp/default/livecd-s
> tage1-x86-2006.0/dev
>
> !!! catalyst: Couldn't umount one or more bind-mounts; aborting for
> safety.
>
> Running lsof at the time of it trying to unmount it's bind mounted
> /dev shows this:
> udevd 15073 root 0u CHR 1,3 8449
> /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev/null
> udevd 15073 root 1u CHR 1,3 8449
> /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev/null
> udevd 15073 root 2u CHR 1,3 8449
> /var/tmp/catalyst/tmp/default/livecd-stage1-x86-2006.0/dev/null
>
> The process "15073" quoted above is this:
> $ ps ax | grep 15073
> 15073 ? S<s 0:00 /sbin/udevd --daemon
>
>
> Anyone have any ideas why it's failing?
>
> Thanks,
>
> Marko
>
--
-----oOo-----
Jacques Landru
mel: landru@enic.fr
web: http://www.enic.fr/people/landru
tel: +33 (0)3 2033 5556
fax: +33 (0)3 2033 5598
Telecom Lille 1
Cite scientifique, rue G. Marconi
59658 VILLENEUVE D'ASCQ Cedex
web: http://www.enic.fr
Tel: +33 (0)3 2033 5577
Fax: +33 (0)3 2033 5599
-----oOo-----
--
gentoo-catalyst@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-catalyst] catalyst aborts, can not unmount /dev
2006-05-12 15:53 ` Jacques Landru
@ 2006-05-12 17:26 ` Chris Gianelloni
0 siblings, 0 replies; 5+ messages in thread
From: Chris Gianelloni @ 2006-05-12 17:26 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 843 bytes --]
On Fri, 2006-05-12 at 17:53 +0200, Jacques Landru wrote:
> Hi
>
> It seems that problem comes from the catalyst2 cache options. I had the
> same behaviour
> untill I unvalidate kerncache pkgcache, seedcache and snapcache options
> in my /etc/catalyst2.
> My options field is just
> options="autoresume ccache"
>
> LiveCD rebuild is longer, but all busy device unmount problems, I had,
> seem to be solved.
>
> Hope this can help gentoo catalyst2 developper...
Unfortunately, not at all... I use all of the caches on several
machines and I have no problems with unmounting. Every now and then,
it'll have to kill a process, but it always happens in a timely manner
and the timeout is long enough.
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-12 17:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 20:50 [gentoo-catalyst] catalyst aborts, can not unmount /dev Marko Djukic
2006-05-11 21:10 ` Chris Gianelloni
2006-05-12 0:57 ` Marko Djukic
2006-05-12 15:53 ` Jacques Landru
2006-05-12 17:26 ` Chris Gianelloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox