* [uml-devel] Something wrong with booting the UML in new kernel
@ 2007-01-21 2:34 An Ching
2007-01-23 8:00 ` Blaisorblade
0 siblings, 1 reply; 2+ messages in thread
From: An Ching @ 2007-01-21 2:34 UTC (permalink / raw)
To: user-mode-linux-devel, user-mode-linux-user
[-- Attachment #1.1: Type: text/plain, Size: 1471 bytes --]
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附件
[-- Attachment #1.2: Type: text/html, Size: 1631 bytes --]
[-- Attachment #2: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] Something wrong with booting the UML in new kernel
2007-01-21 2:34 [uml-devel] Something wrong with booting the UML in new kernel An Ching
@ 2007-01-23 8:00 ` Blaisorblade
0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2007-01-23 8:00 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: user-mode-linux-user
On Sunday 21 January 2007 03:34, An Ching wrote:
> 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".
This wouldn't matter, since UML is using hostfs (which does not support XATTR
at all, to my knowledge) and not ext2/ext3.
> 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).
--
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-23 8:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-21 2:34 [uml-devel] Something wrong with booting the UML in new kernel An Ching
2007-01-23 8:00 ` Blaisorblade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox