linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] RE: 2.6.12-bb2-skas0 hanging after INIT  (CORRECTION PREVIOUS POST)
@ 2005-07-12 18:15 Gaspar, Alessio (USF Lakeland)
  2005-07-13 13:52 ` [uml-devel] Re: [uml-user] " Blaisorblade
  0 siblings, 1 reply; 3+ messages in thread
From: Gaspar, Alessio (USF Lakeland) @ 2005-07-12 18:15 UTC (permalink / raw)
  To: user-mode-linux-user; +Cc: user-mode-linux-devel, Blaisorblade

> On Tuesday 12 July 2005 18:45, Gaspar, Alessio (USF Lakeland) wrote:
> > err... please read 2.6.12-bb2-skas0 in my previous post instead of
> > 2.6.12-bs1-skas0. I did try too many patches lately :)
> Granted, but what about using plain -bs1? SKAS0 is still development
code
> (and
> I'm not very acquainted with it), so I would avoid it in case of
problems.
> 
> After that, UML has not a lovely relation with 2.6.10 and 2.6.9, so if
you
> can
> go to either 2.6.8.1 or 2.6.11 it would be mairveillous...

Sorry can't do (trust me I'd prefer too :)
I just browsed again openSSI.org and we need their 1.9.x version which,
of course, is based on 2.6.10.

Concerning 2.6.12-bs1, I already tried it before but, since I couldn't
recall what went wrong, I re-compiled the guest uml kernel using this
time various options (support for SKAS and/or TT) and re-tested the
whole thing

Each version was compiled by doing a 
make ARCH=um mrproper
make ARCH=um defconfig
make ARCH=um menuconfig (to edit changes between trials)
make ARCH=um linux 

Summary of results

SKAS + TT			./linux-tt-skas
hangs  
				./linux-tt-skas mode=tt		hangs
TT only			./linux-tt 				hangs


In all cases, boot hangs on sleeping process gets unexpected signal 10
This is the original bug I bumped into and which led me to try the skas0
approach to escape any TT mode related problem

SKAS 	(dyn linking)	./linux-skas-dynamic		
	(stat linking)	./linux-skas-static	

These are useless since there is no skas support in the host kernel

I don't know if this info helps but it may spare others useless
compilations at least.



Details & snapshots below
____________________________________________
Compiled w/ SKAS & TT support (defconfig defaults)
./linux-tt-skas

Checking for /proc/mm...not found
Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 70910
Linux version 2.6.12.2-bs1 (alessio@xxx) (gcc version 3.3.5 (Debian
1:3.3.5-13)) #1 Tue Jul 12 13:34:18 EDT 2005
Built 1 zonelists
Kernel command line: root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 28884k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking that host ptys support output SIGIO...No, enabling workaround
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with
errno 2)
NET: Registered protocol family 16
mconsole (version 2) initialized on /home/alessio/.uml/1WQ0b8/mconsole
ubd: Synchronous mode
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
sleeping process 70915 got unexpected signal : 10


./linux-tt-skas mode=tt



Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 71470
Linux version 2.6.12.2-bs1 (alessio@xxx) (gcc version 3.3.5 (Debian
1:3.3.5-13)) #1 Tue Jul 12 13:34:18 EDT 2005
Built 1 zonelists
Kernel command line: mode=tt root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 28884k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking that host ptys support output SIGIO...No, enabling workaround
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with
errno 2)
NET: Registered protocol family 16
mconsole (version 2) initialized on /home/alessio/.uml/qvG0sg/mconsole
ubd: Synchronous mode
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
sleeping process 71475 got unexpected signal : 10


____________________________________________
Compiled w/ TT support only
./linux-tt


Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 72054
Linux version 2.6.12.2-bs1 (alessio@xxx) (gcc version 3.3.5 (Debian
1:3.3.5-13)) #1 Tue Jul 12 13:43:37 EDT 2005
Built 1 zonelists
Kernel command line: root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 28952k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking that host ptys support output SIGIO...No, enabling workaround
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with
errno 2)
NET: Registered protocol family 16
mconsole (version 2) initialized on /home/alessio/.uml/8LF8r7/mconsole
ubd: Synchronous mode
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
sleeping process 72059 got unexpected signal : 10





-------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [uml-devel] Re: [uml-user] RE: 2.6.12-bb2-skas0 hanging after INIT (CORRECTION PREVIOUS POST)
  2005-07-12 18:15 [uml-devel] RE: 2.6.12-bb2-skas0 hanging after INIT (CORRECTION PREVIOUS POST) Gaspar, Alessio (USF Lakeland)
@ 2005-07-13 13:52 ` Blaisorblade
  0 siblings, 0 replies; 3+ messages in thread
From: Blaisorblade @ 2005-07-13 13:52 UTC (permalink / raw)
  To: user-mode-linux-user
  Cc: Gaspar, Alessio (USF Lakeland), user-mode-linux-devel

On Tuesday 12 July 2005 20:15, Gaspar, Alessio (USF Lakeland) wrote:
> > On Tuesday 12 July 2005 18:45, Gaspar, Alessio (USF Lakeland) wrote:
> > > err... please read 2.6.12-bb2-skas0 in my previous post instead of
> > > 2.6.12-bs1-skas0. I did try too many patches lately :)
> >
> > Granted, but what about using plain -bs1? SKAS0 is still development
>
> code
>
> > (and
> > I'm not very acquainted with it), so I would avoid it in case of
>
> problems.
>
> > After that, UML has not a lovely relation with 2.6.10 and 2.6.9, so if
>
> you
>
> > can
> > go to either 2.6.8.1 or 2.6.11 it would be mairveillous...
>
> Sorry can't do (trust me I'd prefer too :)
> I just browsed again openSSI.org and we need their 1.9.x version which,
> of course, is based on 2.6.10.
>
> Concerning 2.6.12-bs1, I already tried it before but, since I couldn't
> recall what went wrong, I re-compiled the guest uml kernel using this
> time various options (support for SKAS and/or TT) and re-tested the
> whole thing
>
> Each version was compiled by doing a
> make ARCH=um mrproper
> make ARCH=um defconfig
> make ARCH=um menuconfig (to edit changes between trials)
> make ARCH=um linux
>
> Summary of results
>
> SKAS + TT			./linux-tt-skas
> hangs
> 				./linux-tt-skas mode=tt		hangs
> TT only			./linux-tt 				hangs
>
>
> In all cases, boot hangs on sleeping process gets unexpected signal 10
Ok, now let's wait a moment. Can you run, on the same machine, a vanilla 
kernel (even 2.6.10) and verify on that if TT mode works?

Nobody has ever seen this kind of crash, so I want to see if it's userspace 
related (some strange GCC/glibc/headers problem) or if it's the kernel 
triggering it (either a bug in SSI, or a bug of UML which is only triggered 
in that environment). I say "some machine" because distro differences could 
be part of the picture.

Btw, is the host being part of a cluster at the testing moment or not?

Also, on the community page there's a link about these setups (CILinux seems 
related with OpenSSI, if not the same thing):

http://usermodelinux.org/modules.php?name=News&file=article&sid=185

Btw, is OpenSSI purpose anyhow different from OpenMosix one or not? Just as a 
curiosity about OpenSSI (I'd like to understand a bit more what it does, I'm 
seeing the "features" page).
-- 
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



-------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [uml-devel] RE: [uml-user] RE: 2.6.12-bb2-skas0 hanging after INIT (CORRECTION PREVIOUS POST)
@ 2005-07-13 15:48 Gaspar, Alessio (USF Lakeland)
  0 siblings, 0 replies; 3+ messages in thread
From: Gaspar, Alessio (USF Lakeland) @ 2005-07-13 15:48 UTC (permalink / raw)
  To: Blaisorblade, user-mode-linux-user; +Cc: user-mode-linux-devel

> > Summary of results
> >
> > SKAS + TT			./linux-tt-skas
> > hangs
> > 				./linux-tt-skas mode=tt		hangs
> > TT only			./linux-tt
hangs
> >
> >
> > In all cases, boot hangs on sleeping process gets unexpected signal
10
> Ok, now let's wait a moment. Can you run, on the same machine, a
vanilla
> kernel (even 2.6.10) and verify on that if TT mode works?

Am on it, will be done by tonight

> Nobody has ever seen this kind of crash, so I want to see if it's
> userspace
> related (some strange GCC/glibc/headers problem) or if it's the kernel
> triggering it (either a bug in SSI, or a bug of UML which is only
> triggered
> in that environment). I say "some machine" because distro differences
> could
> be part of the picture.
> 
> Btw, is the host being part of a cluster at the testing moment or not?

The host is a masternode for the cluster, all other nodes are OFF for
now but the openSSI is active

> Also, on the community page there's a link about these setups (CILinux
> seems
> related with OpenSSI, if not the same thing):
> 
> http://usermodelinux.org/modules.php?name=News&file=article&sid=185

Yup, but the link above is for combining uml + openssi so that you can
set up a "virtual" ssi cluster (several UMLs, one acting as masternode,
the others as members of the cluster)

In my case, this is the other way around; the host is a open SSI
masternode to which ppl will connect to play around with their own
UML(s). So the UML boxes won't even know they are working on a SSI
cluster and not a single host. 


> 
> Btw, is OpenSSI purpose anyhow different from OpenMosix one or not?
Just
> as a
> curiosity about OpenSSI (I'd like to understand a bit more what it
does,
> I'm
> seeing the "features" page).


Their global objective is the same; providing a single system image so
that you can work on a node and have processes migrating all over the
cluster depending on the load of each nodes. OpenSSI uses the same
algorithms than open Mosix for load balancing but the implementation is
different (less residual information about processes on their initial
starting node as far as I understand). Now OpenSSI goes a step farther
in my opinion, providing options for cluster file systems and (that's
why I use it) incoming tcp/ip connections load balancing (using the LVS
project merged with open mosix algorithms). 

The result is a cluster balancing both processes and connections (thus
the node on which processes start). This can be relevant in case of
several users trying to compile a kernel (short gcc processes spawned
are not lasting long enough to be migrated on the cluster so, if several
users compile their own kernels, they can end up clogging 1 single node
if they have not be redirected to balance connections)

Let me know if I don't make sense, I'll try to be clearer when I post
the results of the vanilla 2.6.10 host kernel test. 

Alessio


-------------------------------------------------------
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-13 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 18:15 [uml-devel] RE: 2.6.12-bb2-skas0 hanging after INIT (CORRECTION PREVIOUS POST) Gaspar, Alessio (USF Lakeland)
2005-07-13 13:52 ` [uml-devel] Re: [uml-user] " Blaisorblade
  -- strict thread matches above, loose matches on Subject: below --
2005-07-13 15:48 [uml-devel] " Gaspar, Alessio (USF Lakeland)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox