Re: [9fans] usb disks in plan9

2009-11-22 Thread Francisco J Ballesteros
Usb disks don't know how to handle partitions. You have to use partfs IIRC or some other tool to partition it. Regarding the problem with current sources, it's weird. What do you see in #u/usb/ctl when you plug your disk into? What does usbd say when you run it with debug enabled? Is there any mes

Re: [9fans] usb disks in plan9

2009-11-22 Thread lucio
> this is in vmware, so its possible vmware is acting up (it happens > at times)... is anyone else using thumb drives with current > plan9 sources successfully? Do you get a timeout shortly after you plug the device in and usbd shows it as detected? I use "usbdebug" in plan9.ini, so I may be get

Re: [9fans] usb disks in plan9

2009-11-22 Thread Francisco J Ballesteros
I don't get timeouts here. can you check that sw built from sources one month old do work and that sw built from current ones do not? (both kernel and user code for USB). if you can tell me an interval when the thing broke for your devices I can try to guess why and do something. On 22/11/2009,

Re: [9fans] usb disks in plan9

2009-11-22 Thread erik quanstrom
On Sun Nov 22 05:01:24 EST 2009, n...@lsub.org wrote: > Usb disks don't know how to handle partitions. > You have to use partfs IIRC or some other tool to > partition it. > usb/disk should return "bad process or channel control request" rather than "permission denied". with contrib quanstro/sd,

Re: [9fans] usb disks in plan9

2009-11-22 Thread Tim Newsham
Usb disks don't know how to handle partitions. You have to use partfs IIRC or some other tool to partition it. Hmm.. Here is what I would like to do. I would like to put a FAT32 and a fossil (or kfs) filesystem on a usb flash drive and use the FAT32 for botting and the fossil as my root filesy

Re: [9fans] usb disks in plan9

2009-11-22 Thread erik quanstrom
i think that with sdloop(3) it's possible to get a drive partitioned on bootup. the one gnarly trick you'd need is to put the partitions manually in your plan9.ini unless 9load sees the device through bios. i haven't written a sdorion 9load driver, so i cheat in a similar way. replace sda0 with

[9fans] spam bots and Finwait2

2009-11-22 Thread erik quanstrom
i added some bits to my copy of stats(1) that allows tracking of /net/ether0 and /net.alt/ether1 simultaneously and scales the max by the link speed, not the number of processors. it didn't take long for this to be useful. this morning i noticed that there was quite a noticable load on my dsl lin

Re: [9fans] usb disks in plan9

2009-11-22 Thread geoff
There are two distinct issues: booting from USB devices and partitioning USB devices. I believe that if you follow the directions at the end of prep(8), you have a modern BIOS, and it isn't too buggy, you should be able to boot from a FAT file system on a USB device (that is, load a kernel from it

Re: [9fans] usb disks in plan9

2009-11-22 Thread Tim Newsham
i haven't written a sdorion 9load driver, so i cheat in a similar way. replace sda0 with the appropriate. I'm not using 9load, anyway. This machine has OFW and I'm using a small forth script in place of 9load. - erik Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com

Re: [9fans] usb disks in plan9

2009-11-22 Thread erik quanstrom
> > i haven't written a sdorion 9load driver, so i cheat in > > a similar way. replace sda0 with the appropriate. > > I'm not using 9load, anyway. This machine has OFW and I'm > using a small forth script in place of 9load. the same cheat would work. the plan 9 kernel doesn't partition disks.

Re: [9fans] usb disks in plan9

2009-11-22 Thread Tim Newsham
I'm talking to nemo about what we should do to partition USB devices. fwiw, I'm using the attached patch to /sys/src/9/pc/boot to mount my usb drive as root partition, now. The rootspec I'm using is "local!/dev/sdXX/fossil". It relies on adding yet more binaries to the ramdisk: partfs, fdisk and

[9fans] 9P libraries for Go

2009-11-22 Thread Latchesar Ionkov
Hi, Andrey Mirtchovski and I wrote 9P server and client libraries/packages for Go. The hg repository with the code is available at http://bitbucket.org/f2f/go9p/. Once downloaded the code should be moved to $GOROOT/src/pkg and $GOROOT/src/pkg/Makefile should be modified so DIRS includes plan9/p,

Re: [9fans] 9P libraries for Go

2009-11-22 Thread Bruce Ellis
superb! the NIOS SOC has gcc and now go ,,, and 9p. brucee On Mon, Nov 23, 2009 at 3:38 PM, Latchesar Ionkov wrote: > Hi, > > Andrey Mirtchovski and I wrote 9P server and client libraries/packages for Go. > > The hg repository with the code is available at > http://bitbucket.org/f2f/go9p/. > >