Skip to contentSkip to conversation

Something wrong with booting the UML in new kernel

uml-devel An Ching 2 participants 2 messages Jan 21, 2007 – Jan 23, 2007 User-mode Linux (UML)

lore
Share & tools
lore

An Ching

author
#0 lore raw

Hi,

I had recompiled my host kernel with setting the EXT2_FS_SECURITY and EXT3_FS_SECURITY in filesystem configuration. My UML is OK before doing this, but now I can not boot the UML in the new-recompiled kernel. It just went to the step...

[root@RH9 linux-2.6.17]# ./linux root=/dev/sda1 rootflags=/ rootfstype=hostfs ro con0=fd:0,fd;1 init/bin/sh -l Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...OK
Checking for the skas3 patch in the host:
- /proc/mm...not found
- PTRACE_FAULTINFO...not found
- PTRACE_LDT...not found
UML running in SKAS0 mode
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK

Just down to this step, and not any response next...

I guessed maybe the kernel of UML didn't support the XATTR of filesystem and then I reconfigured the UML and set EXT2_XATTR, EXT2_FS_SECURITY, EXT3_XATTR, EXT3_FS_SECURITY to "Y". But after I recompiled the kernel of UML and run it, I was given the same message mentioned above.

What should do next? Could anybody give me some advices?

Thank you very much~

Best Regards,

An Ching

---------------------------------
雅虎免费邮箱-3.5G容量,20M附件

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 23 lines · An Ching

Hi,

I had recompiled my host kernel with setting the EXT2_FS_SECURITY and EXT3_FS_SECURITY in filesystem configuration. My UML is OK before doing this, but now I can not boot the UML in the new-recompiled kernel. It just went to the step...

[root@RH9 linux-2.6.17]# ./linux root=/dev/sda1 rootflags=/ rootfstype=hostfs ro con0=fd:0,fd;1 init/bin/sh -l Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...OK
Checking for the skas3 patch in the host:
- /proc/mm...not found
- PTRACE_FAULTINFO...not found
- PTRACE_LDT...not found
UML running in SKAS0 mode
Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK

Quoted 5 lines

Just down to this step, and not any response next...

I guessed maybe the kernel of UML didn't support the XATTR of filesystem and then I reconfigured the UML and set EXT2_XATTR, EXT2_FS_SECURITY, EXT3_XATTR, EXT3_FS_SECURITY to "Y".

This wouldn't matter, since UML is using hostfs (which does not support XATTR at all, to my knowledge) and not ext2/ext3.

Quoted 4 lines

But after I recompiled the kernel of
UML and run it, I was given the same message mentioned above.

What should do next? Could anybody give me some advices?

There are few reasons usually for using hostfs, normally using a dedicated root_fs is a better solution. And using hostfs on your / can cause trouble to both your host and your guest (well, if you boot with init=/bin/sh then there are less problems).

Signature · 16 lines
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel