Re: [uml-devel] RE: Switching uml_utilities to public CVS and no-maintainer model

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > If there is a wish list I wouldn't mind seeing it. And I did > volunteer, I just don't have the experience nor the resources (e.g. > hotmail will not do) to do it without some handholding and support. I can give you hosting on www.user-mode-linux.org. And no experie

Re: [uml-devel] RE: uml_switch security fixing

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > Attached are two patches. The first one, uml_net-slip.diff, is the > minimal patch to apply to uml_net. The second one, uml_net-uml.diff, > applies to 2.4.27-1um (note the half-hearted attempt to plug a FD > leak in there as well). As a nice bonus, a UML with this pa

Re: [uml-devel] uml_moo

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > Try the patch. Just merged it, thanks. Jeff --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which product

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > No, my claim is that no sane gcc 3.3 defines __gcov_init. Ah, OK. Thanks for the clarification. Jeff --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Adrian Bunk
On Fri, Mar 11, 2005 at 06:53:15PM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > And therefore you added a patch that helps only those distros at the > > price of breaking other people and distros using sane compilers? > > Didn't you start this thread by pointing out that SuSE has a gcc 3

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > And therefore you added a patch that helps only those distros at the > price of breaking other people and distros using sane compilers? Didn't you start this thread by pointing out that SuSE has a gcc 3.3.4 which isn't? I would call that a compiler which lies about its

[uml-devel] Re: [PATCH 5/9] UML - change semaphores to completions

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > > + > > + init_completion(&port->done), > > + > > I'll convert that to a semicolon... Gawd, thanks... Jeff --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hu

Re: [uml-devel] Re: [uml-user] UML freezes at hdd-intensive processes

2005-03-11 Thread Rob Landley
On Friday 11 March 2005 04:18 pm, Oliver Baltz wrote: > Hi Rob, > > > Is it write-intensive, read-intensive, combination of both, or either > > one? > > I think it is a combination of both: When installing just one single > debian-package the UML often freezes :-( > > Is there an alternative to UBD

Re: [uml-devel] Re: [uml-user] UML freezes at hdd-intensive processes

2005-03-11 Thread Oliver Baltz
Hi Rob, > Is it write-intensive, read-intensive, combination of both, or either one? I think it is a combination of both: When installing just one single debian-package the UML often freezes :-( Is there an alternative to UBD? Oliver > On Friday 11 March 2005 09:29 am, Oliver Baltz wrote: >>

Re: [uml-devel] [PATCH 3/9] UML - "Hardware" random number generator

2005-03-11 Thread Bill Davidsen
Rob Landley wrote: On Wednesday 09 March 2005 09:15 pm, Jeff Dike wrote: This implements a hardware random number generator for UML which attaches itself to the host's /dev/random. Direct use of /dev/random always makes me nervous. I've had a recurring problem with /dev/random blocking, and gene

Re: [uml-devel] [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Blaisorblade
On Thursday 10 March 2005 03:16, Jeff Dike wrote: > The init function called by gcc when gcov is enabled is __gcov_init or > __bb_init_func, depending on the gcc version. Anton is using 3.3.4 and > seeing __gcov_init. I'm using 3.3.2 and seeing __bb_init_func, so we need > to close that gap a bit

[uml-devel] Re: [patch 1/1] uml-export-getgid-for-hostfs

2005-03-11 Thread Blaisorblade
On Friday 11 March 2005 20:27, [EMAIL PROTECTED] wrote: > Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Sorry, resending this. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade -

[uml-devel] Re: [patch 1/2] uml: export getgid for hostfs

2005-03-11 Thread Blaisorblade
On Friday 11 March 2005 20:29, [EMAIL PROTECTED] wrote: > Export this symbol which is now needed for a typo fix (getuid() -> > getgid()). Sorry for resending, I sent it wrong twice. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade

[uml-devel] Re: [patch 2/2] (undescribed patch)

2005-03-11 Thread Blaisorblade
On Friday 11 March 2005 20:29, [EMAIL PROTECTED] wrote: > Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Sorry, ignore this, I'm resending it. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade

Re: [uml-devel] Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

2005-03-11 Thread Blaisorblade
On Thursday 10 March 2005 09:12, Thomas Gleixner wrote: > On Wed, 2005-03-09 at 20:52 +0100, Blaisorblade wrote: > > > Are you sure this is really the best option in this instance? > > > Sometimes, static data initialisation is more efficient than > > > code-based manual initialisation, especially

[uml-devel] SKAS-v8: RC5 released against 2.6.7 - 2.6.11 kernels

2005-03-11 Thread Blaisorblade
This time, I've announced this on my homepage, since I'd like to get a lot more testing and to release this patch unchanged as -V8 final version. Things I've forgot: * make it apply easily on Fedora kernels. This should simply mean moving the TIF_SYSCALL_EMU to place no.8, to leave a slot free

Re: [uml-devel] [PATCH 3/9] UML - "Hardware" random number generator

2005-03-11 Thread Chris Friesen
Jeff Dike wrote: [EMAIL PROTECTED] said: I'm just thinking about those UML hosting farms, with several UML instances per machine, on machines which haven't got a keyboard attached constantly feeding entropy into the pool. That's when you set the network links to feed entropy. It may not be very

Re: [uml-devel] [PATCH 3/9] UML - "Hardware" random number generator

2005-03-11 Thread Blaisorblade
On Thursday 10 March 2005 19:41, Rob Landley wrote: > On Wednesday 09 March 2005 09:15 pm, Jeff Dike wrote: > > This implements a hardware random number generator for UML which attaches > > itself to the host's /dev/random. > > Direct use of /dev/random always makes me nervous. I've had a recurrin

[uml-devel] Sleeping function in atomic - 2.6.11

2005-03-11 Thread Blaisorblade
This happened with CONFIG_HIGHMEM enabled on a almost-vanilla 2.6.11... with that option disabled I don't see such problems (also tested on both the same exact kernel, and with nearby ones). To sum up, there is a read() syscall, a copy_to_user() (which calls kmap()) with preemption disabled (in

Re: [uml-devel] [PATCH 3/9] UML - "Hardware" random number generator

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > I'm just thinking about those UML hosting farms, with several UML > instances per machine, on machines which haven't got a keyboard > attached constantly feeding entropy into the pool. If just ONE of > them is serving ssl connections from its own /dev/urandom, that wou

Re: [uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Blaisorblade
On Friday 11 March 2005 00:21, Linus Torvalds wrote: > On Thu, 10 Mar 2005, Adrian Bunk wrote: > > This patch is still wrong. > > Can't we just fix it by havign an alias for both names? No, because the patch is wrong. It should export both symbols in the second case. > It seems stupid to > jump t

Re: [uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Blaisorblade
On Thursday 10 March 2005 23:53, Adrian Bunk wrote: > On Wed, Mar 09, 2005 at 09:16:02PM -0500, Jeff Dike wrote: > > The init function called by gcc when gcov is enabled is __gcov_init or > > __bb_init_func, depending on the gcc version. Anton is using 3.3.4 and > > seeing __gcov_init. I'm using

[uml-devel] Debugging stdout console stuttering.

2005-03-11 Thread Rob Landley
Okay, UML repeats its output when the pipe it's writing into fills up until it returns -EAGAIN. I can reproduce this even on a fast machine by repeatedly suspending the xterm that UML is running under with a dumb little script ala: while /bin/true do kill -STOP $PID sleep 1

Re: [uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread stian
>> > ( (__GNUC__ == 3 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ >= 4) >> > && \ >> >HEAVILY_PATCHED_SUSE_GCC ) >> > I hope SuSE has added some #define to distinguish what they call "gcc >> > 3.3.4" from GNU gcc 3.3.4 >> It wasn't lost - I am just disinclined to cater to distros making thei

Re: [uml-devel] Re: [uml-user] UML freezes at hdd-intensive processes

2005-03-11 Thread Rob Landley
On Friday 11 March 2005 09:29 am, Oliver Baltz wrote: > Hi, > > my problem still exists: the UML hangs om hdd-intensive processess (like > apt-get dist-upgrade). I tried a lot of things in time: > > o tried on 2 machines with different hardware, different Host- and > Guest-Kernels > o CONFIG_BLK_DE

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Adrian Bunk
On Fri, Mar 11, 2005 at 01:48:54PM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > This patch is still wrong. > > It seems my comment on this [1] was lost: > > <-- snip --> > > This line has to be something like > > ( (__GNUC__ == 3 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ >= 4) > > &&

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > This patch is still wrong. > It seems my comment on this [1] was lost: > <-- snip --> > This line has to be something like > ( (__GNUC__ == 3 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ >= 4) > && \ >HEAVILY_PATCHED_SUSE_GCC ) > I hope SuSE has added some #define

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Jeff Dike
[EMAIL PROTECTED] said: > Can't we just fix it by havign an alias for both names? It seems > stupid to jump through hoops and worry about compiler versions, when > afaik we could just do something like > extern (...) __attribute__((alias(""))); > instead. Exact details left to the

[uml-devel] 8K8★全省新舊屋商業及住家專業設計團隊★8K8(adv)

2005-03-11 Thread 8www
[EMAIL PROTECTED] user-mode-linux-devel±z¦n!!¥´ÂZ±z!! KK¡A(¼s§i) KK¡A¥þ°ê«Ç¤º³]­p¸ËæC¤£½×user-mode-linux-devel±z¦³¤°»ò¼Ëªº¸ËæC©Î¸Ë­×»Ý¨D KK¡A§Ú­Ì³£¥i¥HªA°È¨ì®a! KK KK¡A¥þ°ê«Ç¤º³]­p¸ËæCºôÂX¤jÀç·~ KK¡A¦pªGuser-mode-linux-devel±z©Î±zªB¤Í¦³ª«·~¤£ºÞ¬O¦í®aªÅ¶¡©Î¬O°Ó·~ªÅ¶¡¬Æ¦Ü¼t¿ì¤j¼Ó KK¡A»Ý­n§Ú­Ìªº±M·~ªA

[uml-devel] Re: [uml-user] UML freezes at hdd-intensive processes

2005-03-11 Thread Oliver Baltz
Hi, my problem still exists: the UML hangs om hdd-intensive processess (like apt-get dist-upgrade). I tried a lot of things in time: o tried on 2 machines with different hardware, different Host- and Guest-Kernels o CONFIG_BLK_DEV_UBD_SYNC is not set o tried ext2/reiserfs on the Guest-UML o when