Skip to contentSkip to conversation

SKAS0 test tree against 2.6.12

uml-devel Blaisorblade 2 participants 3 messages Jul 6, 2005 – Jul 11, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Ok, it's there. I've simply adapted the two SKAS0 patches for 2.6.12 (backporting a cleanup and fixing some trivial rejects). More info at the web page.

Testing is welcome. In particular, any regression in SKAS3 mode should be prompty reported to me and Jeff, because they are not expected at all.

I'll add a simplified "proc_mm=0" switch (it's not the Bodo's patch because that is more intrusive and splits that further into proc_mm and faultinfo switches).

Signature · 23 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 1 line · Blaisorblade

Ok, it's there. I've simply adapted the two SKAS0 patches for 2.6.12

I still haven't figured out how to get it to run in skas0 mode, but 2.6.12.2 with your -skas0 patch still seems to work in tt mode. (With the usual bootup idiosyncrasies, such as)...

VFS: Mounted root (hostfs filesystem). idr_remove called for id=3 which is not allocated.

a08fb980:  [<a009af8f>] sub_remove+0xef/0x100
a08fb9e0:  [<a009afcf>] idr_remove+0x2f/0xc0
a08fba00:  [<a00a35e2>] release_dev+0x5d2/0x6f0
a08fba80:  [<a00a2aa5>] init_dev+0x1b5/0x5b0
a08fbad0:  [<a00a385c>] tty_open+0x15c/0x3a0
a08fbae0:  [<a009b69a>] kobject_get+0x1a/0x30
a08fbaf0:  [<a006333f>] cdev_get+0xf/0x20
a08fbb00:  [<a006350f>] exact_lock+0xf/0x20
a08fbb10:  [<a00ad0a0>] kobj_lookup+0xe0/0xf0
a08fbb38:  [<a00a3700>] tty_open+0x0/0x3a0
a08fbb40:  [<a006340e>] chrdev_open+0x9e/0x120
a08fbb70:  [<a00593da>] dentry_open+0x10a/0x190
a08fbb90:  [<a00592c8>] filp_open+0x68/0x70
a08fbbf0:  [<a0059609>] sys_open+0x49/0x90
a08fbc00:  [<a0011ef5>] change_signals+0x65/0x90
a08fbc10:  [<a00167a3>] execute_syscall_tt+0xa3/0xb0
a08fbc90:  [<a00167df>] syscall_handler_tt+0x2f/0x60
a08fbca0:  [<a0011f4f>] unblock_signals+0xf/0x20
a08fbcb0:  [<a001798b>] sig_handler_common_tt+0xbb/0x150
a08fbd10:  [<a001c337>] sig_handler+0x17/0x20
a08fbd20:  [<a00b9bd8>] __restore+0x0/0x8

But once past that, it gives me my shell prompt and I can mount /proc and confirm this is indeed UML running. Haven't played with it much beyond that yet...

Rob

Rob

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 6 lines · Rob Landley
Quoted 1 line · Blaisorblade

Ok, it's there. I've simply adapted the two SKAS0 patches for 2.6.12

I still haven't figured out how to get it to run in skas0 mode, but 2.6.12.2 with your -skas0 patch still seems to work in tt mode. (With the usual bootup idiosyncrasies, such as)...

Can you send me a binary + complete output, if possible with debug-info put inside, SKAS mode enabled and PT_PROXY enabled (for what it's worth)?

Quoted 31 lines

VFS: Mounted root (hostfs filesystem). idr_remove called for id=3 which is not allocated.

a08fb980:  [<a009af8f>] sub_remove+0xef/0x100
a08fb9e0:  [<a009afcf>] idr_remove+0x2f/0xc0
a08fba00:  [<a00a35e2>] release_dev+0x5d2/0x6f0
a08fba80:  [<a00a2aa5>] init_dev+0x1b5/0x5b0
a08fbad0:  [<a00a385c>] tty_open+0x15c/0x3a0
a08fbae0:  [<a009b69a>] kobject_get+0x1a/0x30
a08fbaf0:  [<a006333f>] cdev_get+0xf/0x20
a08fbb00:  [<a006350f>] exact_lock+0xf/0x20
a08fbb10:  [<a00ad0a0>] kobj_lookup+0xe0/0xf0
a08fbb38:  [<a00a3700>] tty_open+0x0/0x3a0
a08fbb40:  [<a006340e>] chrdev_open+0x9e/0x120
a08fbb70:  [<a00593da>] dentry_open+0x10a/0x190
a08fbb90:  [<a00592c8>] filp_open+0x68/0x70
a08fbbf0:  [<a0059609>] sys_open+0x49/0x90
a08fbc00:  [<a0011ef5>] change_signals+0x65/0x90
a08fbc10:  [<a00167a3>] execute_syscall_tt+0xa3/0xb0
a08fbc90:  [<a00167df>] syscall_handler_tt+0x2f/0x60
a08fbca0:  [<a0011f4f>] unblock_signals+0xf/0x20
a08fbcb0:  [<a001798b>] sig_handler_common_tt+0xbb/0x150
a08fbd10:  [<a001c337>] sig_handler+0x17/0x20
a08fbd20:  [<a00b9bd8>] __restore+0x0/0x8

But once past that, it gives me my shell prompt and I can mount /proc and confirm this is indeed UML running. Haven't played with it much beyond that yet...

Rob

Rob

Signature · 20 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

		
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.beta.messenger.yahoo.com



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel