Hello JR,

> I don't think tmpfs is related to the problem.
> While I don't know what /dev/mapper/root is, I guess it is unaccessible.

/dev/mapper/root is a crypted luks-partition made with "cryptsetup-1.0.6".

> Since it was fine just after mounting in init (you already tested), I am
> afraid that /dev/mapper/root became unavailable after switch_root.
Yes, I agree, there may be something.
/dev/mapper/root holds the whole root-tree (/bin, /lib, etc.). With the 
exception of accessing the "/" and "system/roroot" after the system has fully 
booted, everything works fine. Therefore /dev/mapper/root should be  
accessable. But I remember that switch_root of busy-box tries to delete the 
contents of the old initramfs root. Pherhaps there is a side-effect.

I've tried so rescue /dev, /proc and /sys over to the normal system.
The symtoms remain the same. Additionally (on a hint in this ML from Vito 
Tafuni) I've tried Kernel 2.6.27.7 with aufs2-base5. Same effect.

Then I decided, to forget the possibilitiy to have access to the branches 
after boot. I attach the new init (only changed the lines after "# Use aufs 
for newroot"). Now, if /dev/mapper/root would not be accessible, I should 
have the same problem. But now my segmentation fault has gone! I only changed 
the way how directories are mounted.

Now the following shows up with 'df -h':
----------- snip ----------------------------------
r...@i686emg:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  220.0M    148.0k    219.9M   0% /
df: /roroot: No such file or directory
df: /ramroot: No such file or directory
none                    220.0M    148.0k    219.9M   0% /
udev                    220.0M     36.0k    220.0M   0% /dev
ramdisk                  50.0M    168.0k     49.8M   0% /var
----------- snap ---------------------------------

Those "No such file or directory" don't look fine, but it works.
At the moment I have no further ideas.

Siegfried

Attachment: init.tar.gz
Description: application/tgz

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

Reply via email to