-- Forwarded message --
From: Marco Clocchiatti
Date: Fri, 17 Dec 2010 07:47:45 +
Subject: Re: kernel 2.6.36: halt hungs when remountig ro etc
To: sf...@users.sourceforge.net
2010/12/17, sf...@users.sourceforge.net :
>
> Hello Marco,
>
> Marco Clocchiatti:
>> using sys-fs/aufs
this is, instead, the behaviour with 2.6.35 kernel:
aspi2 ~ # uname -r;mount -o remount,noxino,ro /etc
2.6.35-gentoo-r12-live
/sbin/mount.aufs:plink.c:220: proc: No such file or directory
aspi2 ~ # grep aufs /proc/mounts
rootfs / aufs rw,relatime,si=9a4f331f 0 0
etc /etc aufs rw,relatime,si=9a4f21
Marco Clocchiatti:
> remount /etc, as in your tip, I have the same behaviour.
> etc becames anavailable (Resource temporarily unavailable) and the
> system needs hardware reset.
Then please show me the output of "strace -f" fo remount /etc.
---
aspi2 ~ # uname -rm;strace -f mount -no remount,noxino,ro /etc
2.6.36-gentoo-r5-live i686
execve("/bin/mount", ["mount", "-no", "remount,noxino,ro", "/etc"],
[/* 50 vars */]) = 0
brk(0) = 0x8494000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -
Marco Clocchiatti:
> aspi2 ~ # uname -rm;strace -f mount -no remount,noxino,ro /etc
> 2.6.36-gentoo-r5-live i686
> execve("/bin/mount", ["mount", "-no", "remount,noxino,ro", "/etc"],
> [/* 50 vars */]) = 0
:::
> [pid 2224] execve("/bin/mount", ["mount", "-i", "-n", "-t", "aufs",
> "-o", "
2010/12/17, sf...@users.sourceforge.net :
>
>
> Thanx.
> But it doesn't look end.
> Do you mean that remount hung?
>
yes, it do.
I read a lot of -1 EINVAL (Invalid argument) for directories which
should be accessible in a normal configuration.
--
Marco Clocchiatti:
> > Do you mean that remount hung?
> >
> yes, it do.
> I read a lot of -1 EINVAL (Invalid argument) for directories which
> should be accessible in a normal configuration.
Let me make sure.
- remount didn't end.
- you could see many EINVAL in your "strace -f mount -no
remount
sorry.
may it be I've no understand you.
all what I show you was a complete cut and paste of my strace log.
when the remount hungs, non output is shown on the console.
anyway, I put again another log:
aspi2 ~ # strace -f mount -o remount,noxino,ro /etc 2>&1 &
[1] 2295
aspi2 ~ # execve("/bin/mount
Marco Clocchiatti:
> may it be I've no understand you.
> all what I show you was a complete cut and paste of my strace log.
> when the remount hungs, non output is shown on the console.
> anyway, I put again another log:
Either I don't understand what you wrote well.
If your remount /etc didn't e
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
thanks again.
-i option seems really usefull, for me :)
may it be this better for you?
aspi2 ~ # strace -f mount -ino remount,noxino,ro /etc
execve("/bin/mount", ["mount", "-ino", "remount,noxino,ro", "/etc"],
[/* 50 vars */]) = 0
brk(0) = 0x984c000
mmap2(NULL, 409
Marco Clocchiatti:
> thanks again.
> -i option seems really usefull, for me :)
> may it be this better for you?
Let me make sure again.
- with -i, remount process exits.
- and all other operations, ls(1) or something, worked correctly.
If so, I'd want you to test these commands just before remou
sf...@users.sourceforge.net wrote:
> Here is a patch to confirm ext3's behaviour for linux-2.6.36.1.
> - apply this patch and aufs2.1-36.
> - enable MagicSysRq and CONFIG_AUFS_MAGIC_SYSRQ.
> - build and reboot.
> - run my previous simple script which runs dd, mv and remount. It
> should fail with
13 matches
Mail list logo