Skip to contentSkip to conversation

2.6.18 UML machine on FC6 host

uml-devel Jacques-Charles Lafoucriere 2 participants 6 messages Mar 19, 2007 – Mar 20, 2007 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to build and run a UML 2.6.18 machine on a FC6 host. (2.6.18-1.2798)
I have tried many patches from the list and was not able to be successful (hang after VFS: Mounted root (ext3 filesystem) readonly.) Does the host need a special patch to run recent UML kernel or is it only an issue in the UML machine ?

JCL

-------------------------------------------------------------------------
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 2 lines · Jacques-Charles Lafoucriere

I am trying to build and run a UML 2.6.18 machine on a FC6 host. (2.6.18-1.2798)

Why are you insisting on a 2.6.18 UML?

Quoted 2 lines

I have tried many patches from the list and was not able to be successful (hang after VFS: Mounted root (ext3 filesystem) readonly.)

Try 2.6.21-rc4 or this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=14251809b1921b1216568700f1be2f91a1cbb5c7

Quoted 2 lines

Does the host need a special patch to run recent UML kernel or is it only an issue in the UML machine ?

It was a bug in UML's handing of newer host VDSOs.

Jeff

Signature · 11 lines
Work email - jdike at linux dot intel dot 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
#2 lore raw
Quoted 7 lines · Jeff Dike
Quoted 2 lines · Jacques-Charles Lafoucriere

I am trying to build and run a UML 2.6.18 machine on a FC6 host. (2.6.18-1.2798)

Why are you insisting on a 2.6.18 UML?

I work on some kernel product that will be available on RHEL5 which uses 2.6.18 And RHEL5 kernel does not work in the UML target, so a vanilla 2.6.18 is the closest kernel I want to avoid a 2.6.20 or later port of the product

Quoted 8 lines
Quoted 4 lines

I have tried many patches from the list and was not able to be successful (hang after VFS: Mounted root (ext3 filesystem) readonly.)

Try 2.6.21-rc4 or this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=14251809b1921b1216568700f1be2f91a1cbb5c7

Ok I will try

-------------------------------------------------------------------------
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

#3 lore raw
In reply to Jeff Dike

Hi,

I applied the patch to a 2.6.20 kernel and tried the 2.6.21-rc4 and still have the issue

The UML machine is in an infinite loop

ptrace(PTRACE_GETREGS, 16641, 0, 0x9dc5974) = 0 ptrace(PTRACE_GETFPXREGS, 16641, 0, 0x9dc5a24) = 0 ptrace(PTRACE_CONT, 16641, 0, SIGSEGV) = 0
waitpid(16641, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}], WSTOPPED) = 16641 --- SIGCHLD (Child exited) @ 0 (0) ---
ptrace(PTRACE_SETREGS, 16641, 0, 0x9dc5974) = 0 ptrace(PTRACE_SETFPXREGS, 16641, 0, 0x9dc5a24) = 0
ptrace(0x1f /* PTRACE_??? */, 16641, 0, 0) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(16641, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}], WSTOPPED) = 16641 ptrace(PTRACE_GETREGS, 16641, 0, 0x9dc5974) = 0 ptrace(PTRACE_GETFPXREGS, 16641, 0, 0x9dc5a24) = 0 ptrace(PTRACE_CONT, 16641, 0, SIGSEGV) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---

Do I have to change things on my host machine ? (I use 2.6.18-1.2798 with no skas3 patch)

Quoted 16 lines · Jeff Dike
Quoted 2 lines · Jacques-Charles Lafoucriere

I am trying to build and run a UML 2.6.18 machine on a FC6 host. (2.6.18-1.2798)

Why are you insisting on a 2.6.18 UML?

Quoted 3 lines

I have tried many patches from the list and was not able to be successful (hang after VFS: Mounted root (ext3 filesystem) readonly.)

Try 2.6.21-rc4 or this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=14251809b1921b1216568700f1be2f91a1cbb5c7

Quoted 8 lines
Quoted 2 lines

Does the host need a special patch to run recent UML kernel or is it only an issue in the UML machine ?

It was a bug in UML's handing of newer host VDSOs.

Jeff

-------------------------------------------------------------------------
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

#4 lore raw
Quoted 7 lines · Jacques-Charles Lafoucriere

I applied the patch to a 2.6.20 kernel and tried the 2.6.21-rc4 and still have the issue

The UML machine is in an infinite loop

Do I have to change things on my host machine ? (I use 2.6.18-1.2798 with no skas3 patch)

No.

What is the host?

Can you send me the -rc4 binary so I can see if I get the same behavior here? If it works for me, is it possible for me to debug on your host?

Jeff

Signature · 11 lines
Work email - jdike at linux dot intel dot 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
#5 lore raw
Quoted 4 lines · Jeff Dike
Quoted 2 lines · Jacques-Charles Lafoucriere

I applied the patch to a 2.6.20 kernel and tried the 2.6.21-rc4 and still have the issue

Quoted 9 lines
Quoted 4 lines

The UML machine is in an infinite loop

Do I have to change things on my host machine ? (I use 2.6.18-1.2798 with no skas3 patch)

No.

What is the host?

Dell Lattitude D820, Linux IA32

Quoted 5 lines

Can you send me the -rc4 binary so I can see if I get the same behavior here? If it works for me, is it possible for me to debug on your host?

I send you the kernel directly (too large for a list) You cannot access the machine but I can send you traces.

JC

-------------------------------------------------------------------------
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