Skip to contentSkip to conversation

uml 2.4 (32 bit) on skas 2.6 (64 bit)

uml-devel kraehe 2 participants 3 messages Apr 23, 2005 – Apr 24, 2005 User-mode Linux (UML)

lore
Share & tools
lore

kraehe

author
#0 lore raw

Moin Guru's,

i purchased an AMD64 box recently - so i now have a 64bit system running 2.6.11.7 in 64bit mode and 32bit emulation. I've tried the skas-2.6.11-v9-pre1.patch on the 64bit host and I now have

durruti:/usr/src/linux-2.6.11.7-skas3-v9-amd64 $ l /proc/mm* --w--w--w- 1 root root 0 2005-04-23 19:57 /proc/mm --w--w--w- 1 root root 0 2005-04-23 19:57 /proc/mm64

but, when old UMLs are runing into problems after mounting root, e.g. 2.4.22 (with some old patch) :

TCP: Hash tables configured (established 4096 bind 4096) Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly. Unable to load interpreter

Kernel panic: kernel BUG at memory.c:377!

or 2.4.30 (with uml-2.4.28-bs2-pre11.patch) :

Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
[ ... system goes up to full load without any work ]

any idea where/how to proceed ? any new better/newer patches to addess the idea of running a 32bit UML on a 64bit SKAS host ?

Bye Michael

Signature · 13 lines
  mailto:[email protected]             UNA:+.? 'CED+2+:::Linux:2.4.29'UNZ+1'
  http://www.xml-edifact.org/           CETERUM CENSEO WINDOWS ESSE DELENDAM


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
author
#1 lore raw

[uml-devel] Re: uml 2.4 (32 bit) on skas 2.6 (64 bit) - add on

Moin Guru's,

I've just tried that, 2.4.30 with uml-2.4.28-bs2-pre11.patch works on a 2.6.11.7-amd64 host without any SKAS patches. So TT mode is fine. The 2.4.22 bug my UML runs when in SKAS reads as :

	/*
	 * This is a long-lived spinlock. That's fine.
	 * There's no contention, because the page table
	 * lock only protects against kswapd anyway, and
	 * even if kswapd happened to be looking at this
	 * process we _want_ it to get stuck.
	 */
	if (address >= end)
		BUG();            <-- Kernel panic: kernel BUG at memory.c:377!
	spin_lock(&mm->page_table_lock);
	flush_cache_range(mm, address, end);
	tlb = tlb_gather_mmu(mm);

perhaps this old 2.4.22 code helps to point the problem with SKAS host and newer 2.4.30 UML clients (/me hopes they are same problem ;-)

Bye Michael

Signature · 13 lines
  mailto:[email protected]             UNA:+.? 'CED+2+:::Linux:2.4.29'UNZ+1'
  http://www.xml-edifact.org/           CETERUM CENSEO WINDOWS ESSE DELENDAM


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#2 lore raw

Re: [uml-devel] Re: uml 2.4 (32 bit) on skas 2.6 (64 bit) - add on

Quoted 5 lines · kraehe

Moin Guru's,

I've just tried that, 2.4.30 with uml-2.4.28-bs2-pre11.patch works on a 2.6.11.7-amd64 host without any SKAS patches. So TT mode is fine.

Well, fine. SKAS64 still does not work yet, with any guest. I don't know yet what the hell happens, but I hope I can do some *real* debugging soon. And not even -v9-pre2 solves this problem.

Interesting enough, the problem I get with 2.6 guests is almost the same. Which makes sense.

Signature · 17 lines
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel