Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-03-01 Thread Richard Miller
Keyboards that didn't work: ... IBM Type M with two different generic PS/2 to USB adapter (also from Fry's) I'm still using my faithful 21-year-old Model M, with a blue cube PS/2 adapter. Works perfectly.

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-03-01 Thread erik quanstrom
Keyboards that didn't work: PFU HHKB2Lite old iMac usb keyboard c. 2001 Apple 'Pro' keyboard, c. 2004 these two work for me using the modifications here: http://9fans.net/archive/2014/02/202 setting the langid is critical for some keyboards. - erik

[9fans] imagereclaim()

2014-03-01 Thread cinap_lenrek
the imagereclaim algorithm is wrong. /* * All the pages with images backing them are at the * end of the list (see putpage) so start there and work * backward. */ for(p = palloc.tail; p p-image n1000; p = p-prev) { if(p-ref ==

Re: [9fans] imagereclaim()

2014-03-01 Thread erik quanstrom
On Sat Mar 1 16:51:29 EST 2014, cinap_len...@felloff.net wrote: the imagereclaim algorithm is wrong. yes. and so is duppage(). charles has some ideas here. - erik

Re: [9fans] imagereclaim()

2014-03-01 Thread cinap_lenrek
not sure what you mean. the page passed to duppage() is not on the freelist. and the new page duppage() allocates and caches is chained on the tail as far as i can see. so the invariant required by imagereclaim() holds. or are you refering to a different problem? -- cinap

Re: [9fans] imagereclaim()

2014-03-01 Thread erik quanstrom
On Sat Mar 1 17:24:03 EST 2014, cinap_len...@felloff.net wrote: not sure what you mean. the page passed to duppage() is not on the freelist. and the new page duppage() allocates and caches is chained on the tail as far as i can see. so the invariant required by imagereclaim() holds. or are

Re: [9fans] 9atom Boot Error

2014-03-01 Thread Shane Morris
Erik, I've written the uncompressed file to a flash stick, and tried booting my dual core Pentium - no dice. Won't even recognise theres a flash stick plugged in with a disk image written to it. Likewise, my Mac said it wasn't able to read the flash stick once I had done the dd command. Is there

Re: [9fans] 9atom Boot Error

2014-03-01 Thread erik quanstrom
I've written the uncompressed file to a flash stick, and tried booting my dual core Pentium - no dice. Won't even recognise theres a flash stick plugged in with a disk image written to it. Likewise, my Mac said it wasn't able to read the flash stick once I had done the dd command. Is there

Re: [9fans] imagereclaim()

2014-03-01 Thread cinap_lenrek
how is this possible? the old page is locked during the call to duppage(). so duppage() will not run concurrently on the same page. -- cinap

Re: [9fans] imagereclaim()

2014-03-01 Thread Charles Forsyth
On 1 March 2014 22:22, cinap_len...@felloff.net wrote: or are you refering to a different problem? duppage isn't necessary. neither, come to that, is the page hash table. i do without them both, and without a few other things, like the pager.

Re: [9fans] imagereclaim()

2014-03-01 Thread erik quanstrom
On Sat Mar 1 18:07:04 EST 2014, cinap_len...@felloff.net wrote: how is this possible? the old page is locked during the call to duppage(). so duppage() will not run concurrently on the same page. what happens if !canlock(pga) is true and ∴ p is unlocked. - erik

Re: [9fans] imagereclaim()

2014-03-01 Thread Charles Forsyth
On 1 March 2014 23:05, cinap_len...@felloff.net wrote: how is this possible? the old page is locked during the call to duppage(). so duppage() will not run concurrently on the same page. there's a race to decide whether to do it, and what happens to the page once it has. it reaches back into

Re: [9fans] 9atom Boot Error

2014-03-01 Thread Adriano Verardo
Does thi iso deal with new disks ? I've written the uncompressed file to a flash stick, and tried booting my dual core Pentium - no dice. Won't even recognise theres a flash stick plugged in with a disk image written to it. Likewise, my Mac said it wasn't able to read the flash stick once I had

Re: [9fans] 9atom Boot Error

2014-03-01 Thread Erik Quanstrom
I'm not sure what you mean by new disks. - erik Adriano Verardo adriano.vera...@mail.com wrote: Does thi iso deal with new disks ? I've written the uncompressed file to a flash stick, and tried booting my dual core Pentium - no dice. Won't even recognise theres a flash stick plugged in with

Re: [9fans] 9atom Boot Error

2014-03-01 Thread Shane Morris
Erik, I tried the second image in the list you gave me, same error - No bootfile. I think I might try wiping the disk completely with a Linux installer, then try the first image. On Sun, Mar 2, 2014 at 11:03 AM, Erik Quanstrom quans...@quanstro.netwrote: I'm not sure what you mean by new

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-03-01 Thread Michael Hansen
Keyboards that didn't work: ... IBM Type M with two different generic PS/2 to USB adapter (also from Fry's) I'm still using my faithful 21-year-old Model M, with a blue cube PS/2 adapter. Works perfectly. I admit both of my PS/2 converters were suspiciously inexpensive, and I've had problems

Re: [9fans] imagereclaim()

2014-03-01 Thread cinap_lenrek
i checked the code on sources again and found the issue. the lookpage() in 9front is different. we lock the page from the image cache hash chain and check if the page is still cached and for the right disk address under the lock. but if it changed or got uncached by duppage(), we unlock and

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-03-01 Thread erik quanstrom
work surface in the house, as terminals for a couple of Supermicro X7SPA-H based cpu servers. I expect the one in the kitchen to require a series of replacement keyboards.) http://www.ruggedtech.com/EKFT-108%20key%20washable%20full%20travel%20keyboard.html (just one of many you can find.) -

Re: [9fans] 9atom Boot Error

2014-03-01 Thread erik quanstrom
On Sat Mar 1 19:13:08 EST 2014, edgecombe...@gmail.com wrote: Erik, I tried the second image in the list you gave me, same error - No bootfile. I think I might try wiping the disk completely with a Linux installer, then try the first image. a number of bioses have an f10 boot override

Re: [9fans] 9atom Boot Error

2014-03-01 Thread Shane Morris
No, I'd gone through the install process for the second image, and I still got the No bootfile error even though I had reinstalled using the updated image. Sorry for not being clear enough. On Sun, Mar 2, 2014 at 12:41 PM, erik quanstrom quans...@quanstro.netwrote: On Sat Mar 1 19:13:08 EST

Re: [9fans] imagereclaim()

2014-03-01 Thread erik quanstrom
odd coincidence. this just happened: no panlic:o cpou0:p cpu0:s de adlock/abandoned lock 0xf21547f0 key 0xf215483c pc 0xf01ce2bd proc 1893 held by pc 0xf01c acid; src(0xf01ce2bd) /sys/src/nix/port/page.c:552 547for(f = pghash(daddr); f; f =

Re: [9fans] imagereclaim()

2014-03-01 Thread cinap_lenrek
checked nix/port/page.c. your duppage() is wrong. /* don't dup pages with no image */ if(p-ref == 0 || p-image == nil || p-image-notext) return 0; /* * normal lock ordering is to call * lock(pga) before lock(p). * To avoid

Re: [9fans] imagereclaim()

2014-03-01 Thread erik quanstrom
On Sat Mar 1 22:56:25 EST 2014, cinap_len...@felloff.net wrote: checked nix/port/page.c. your duppage() is wrong. /* don't dup pages with no image */ if(p-ref == 0 || p-image == nil || p-image-notext) return 0; /* * normal lock ordering is to call

Re: [9fans] imagereclaim()

2014-03-01 Thread cinap_lenrek
nono. i ment to suggest that you put a print/asser after the whole if block in case you do not belive what i said could can happen. and once convinced, change the p-ref == 0 to p-ref != 1 and fix fixfault() :-) -- cinap