sysfs question

Daniel Lezcano dlezcano at fr.ibm.com
Thu Sep 11 09:40:42 PDT 2008


xiaoming.zhang wrote:
> On Thursday 11 September 2008 11:37:33 pm Daniel Lezcano wrote:
>> xiaoming.zhang wrote:
>>> On Thursday 11 September 2008 10:05:43 pm Mark Ryden wrote:
>>>> In fact, after looking more closely, I see that before that message
>>>> appears: Error: unmouting old /sys
>>>> ERROR unmounting old /sys: Invalid argument.
>>>> forcing unmount of /sys
>>>> switchroot...
>>> My experience is you'd better to find a sysfs patch, since the sysfs
>>> filesystem is required by ramdisk and some system utilities, e.g., system
>>> network configuration scripts.
>>>
>>> Patch for mm-tree can be found here:
>>> 	http://lxc.sourceforge.net/patches/2.6.26/
>>>
>>> This is what I used:
>>> http://lxc.sourceforge.net/patches/2.6.26/2.6.26-rc8-mm1-lxc1/broken-out/
>>> sysfs/
>>>
>>> I merged these 11 patches on Linux-2.6.26.1 though I don't understand
>>> these patches, luckily enough it worked for me.
>> As mentioned Benjamin, it is hard to boot a distro without sysfs. I
>> think it is a good idea to use the lxc patchset.
>>
>> You can use the latest version:
>>
>> http://lxc.sourceforge.net/patches/2.6.27/2.6.27-rc6-lxc1/
>>
> Thank you very much. And is there any patchset for Linux-2.6.26.* (not the 
> mm-tree)?

We worked most of the time sticked with the devel version of the kernel 
tree. The kernel which is the nearest of the version you are describing 
is 2.6.27-rc6-lxc1 which is not based on the -mm but on the 2.6.27 
release candidate. IMO, this is the most stable version of the LXC.



More information about the Containers mailing list