From: <r1s...@in...> - 2001-02-01 09:00:17
|
I was trying to compile UML with SMP defined. There is a file (arch/um/drivers/ubd.c) which causes a compile error. It has a #ifdef CONFIG_SMP #error end_request needs some locking #endif compiler directive. Has any fixed this? If so can I have a copy of ubd.= c? Thanks, vatsa Please respond to Jeff Dike <jd...@ka...> To: =A0 =A0 =A0 =A0Brian Ristuccia <br...@ri...> cc: =A0 =A0 =A0 =A0l...@vg..., use...@li..., Alex Pennace <al...@os...>, Dennis Ristuccia <de...@os...> (bcc: V= Srivatsa/India/IBM) Subject: =A0 =A0 =A0 =A0Re: [uml-devel] usermode linux hoses 2.2.18-SMP= host machine when run =A0from regular user account [IMAGE] br...@ri... said: > When run from a normal user account with its current working director= y > on a NFS filesystem, usermode linux causes the host machine's kernel > to enter a hosed state. No processes (including UML) seem to respond,= > and the machine becomes unusable. Just to clarify what I think UML is doing that's causing the trouble: i= t is an extensive user of mmap. =A0It creates several files (one 16 meg by defa= ult, but possibly much larger) in $PWD, and mmaps them into all of its threads. = =A0The "physical memory" file also has individual pages mapped twice (or more)= into various threads. I've seen this confuse an old version of reiserfs and NFS, although not= so much that the machine hung. =A0UML would just see stale data, get horri= bly confused by it, and crash. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Jeff _______________________________________________ User-mode-linux-devel mailing list Use...@li... http://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel (Embedded image moved to file: pic04077.pcx) = |