[9fans] kernel, errfmt

2008-07-25 Thread Steve Simon
Hi, I have become confused trying to understand the kernel's linkage. the kernel uses print() in many places, e.g. /sys/src/9/port/xalloc.c:80 /sys/src/9/port/devcons.c:211 This calls vseprint(). /sys/src/libc/fmt/fmt.c:47 The fmt library installs %r (errfmt) by default. /sys/src/libc/fmt/e

Re: [9fans] kernel, errfmt

2008-07-25 Thread erik quanstrom
> I have become confused trying to understand > the kernel's linkage. > > the kernel uses print() in many places, e.g. > /sys/src/9/port/xalloc.c:80 > > /sys/src/9/port/devcons.c:211 This calls vseprint(). > > /sys/src/libc/fmt/fmt.c:47 The fmt library installs %r > (errfmt) by default. > >

Re: [9fans] kernel, errfmt

2008-07-25 Thread Charles Forsyth
>> How can this work? ...or does the kernel itself >> perform system calls? it doesn't; syscall will panic.

Re: [9fans] lguest port broken due to some change in last 6 months; any ideas?

2008-07-25 Thread John Soros
Hi, I have tried to run the lguest port on a 2.6.25 kernel, with not much luck. I guess i was successful in setting the thing up, as > There were a number of changes in the kernel last 6 months, I just > recently did a pull and the lguest port is screwed. I spent part of > today fixing things and

Re: [9fans] lguest port broken due to some change in last 6 months; any ideas?

2008-07-25 Thread ron minnich
note that you really need to run latest now, e.g. 2.6.25 with the newest lguest port. ron

Re: [9fans] lguest port broken due to some change in last 6 months; any ideas?

2008-07-25 Thread ron minnich
it's fixed for me, the new code is on sources or so I recall. I just ran it yesterday. Someone else reported a problem, I don't have time to work on it until next week. thanks ron

[9fans] qemu: somebody give bellard a canonical image?

2008-07-25 Thread ron minnich
so it can go here: http://bellard.org/qemu/download.html might as well make it available .. ron

Re: [9fans] [plan9mod] C compilers??

2008-07-25 Thread [EMAIL PROTECTED]
Pietro Gagliardi schrieb: > All right, let's stop this now. I had just waken up and was a bit > tired when I wrote that. But I had a reason: you did not answer the > question of why the system didn't have an 8c. > > sorry. > > > I have checked the original mail of qwery9q: "However, once installed

[9fans] odd out-of-memory behavior

2008-07-25 Thread erik quanstrom
i'm seeing some out-of-memory behavior i don't quite understand. there is no swap configured. the machine is a cpuserver. the symptom is this message is repeated on the console maybe 20x. fs in this case is upas/fs. (the standard one.) 311954: fs killed: out of memory out of physical memory; no

Re: [9fans] qemu: somebody give bellard a canonical image?

2008-07-25 Thread Bakul Shah
On Fri, 25 Jul 2008 08:32:22 PDT "ron minnich" <[EMAIL PROTECTED]> wrote: > so it can go here: http://bellard.org/qemu/download.html > > might as well make it available .. Not sure why qemu/download.html shows so few bootable images. Another alternative is oszoo.org. See for instance http://www

[9fans] Egg and chicken..

2008-07-25 Thread Robert Hibberdine
Hi, I have an old sony laptop which has a currently unsupported Neomagic 256 AV+ graphics device. Based on a reading of the XFree Neomagic driver I have made changes to the kernel and aux/vga and, as you all probably know ;-), I have re-compiled the kernel etc...(I have another pc running Pla

Re: [9fans] Egg and chicken..

2008-07-25 Thread andrey mirtchovski
did you do a textinstall onto the sony? even if you haven't, you can still boot from the cd, configure the network manually at the console, copy the new kernel to memory and reboot from it. something like this (not guaranteed to work): # boot from cd, until you're in rc % ip/ipconfig # dhcp % ram

Re: [9fans] odd out-of-memory behavior

2008-07-25 Thread Russ Cox
> 311954: fs killed: out of memory > out of physical memory; no swap configured > 311954: fs killed: out of memory > out of physical memory; no swap configured > 311954: fs killed: out of memory > > there's a sleep of 5 seconds after killbig > is called. so, though it's hard to imagine, > it must

Re: [9fans] odd out-of-memory behavior

2008-07-25 Thread erik quanstrom
unfortunately or fortunately this is a rare problem. hopefully the caching upas will mature faster than our mailboxes grow. thanks for re-pointing out the acid tricks. i shall lay a trap. but in the interest of covering the careful thought bit ... > /sys/src/9/port/proc.c:/^killbig marks the pr

Re: [9fans] Egg and chicken..

2008-07-25 Thread Gorka Guardiola
If you have a PXE able pc, that may be very useful for debugging. -- - curiosity sKilled the cat

Re: [9fans] odd out-of-memory behavior

2008-07-25 Thread Russ Cox
> how would that happen? upas/fs -p doesn't fork. > (it's being run from imap4d.) maybe more than one process isn't involved. that would make your job easier. ☺ > i originally thought someone else might be sitting > on the shared segments, but i couldn't explain how > that might be happening.