Re: [9fans] next-server dhcpd option

2008-02-06 Thread Matthias Teege
Moin, aggregate ndb that dhcpd uses. there are various 'sleep' and ip ranges options for dhcpd that might help with division of responsibilities between servers. I have to boot some linux systems from my Plan 9 dns/dhcp/tftp server via PXE. Pxelinux needs a tftp server which supports the

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread Kernel Panic
[EMAIL PROTECTED] wrote: wrtest1 /dev/sdD0/9hal.m.varena wrtest2 /dev/sdD0/9hal.m.varena rwtest2 /dev/sdD0/9hal.m.varena well, seems to work fine! maybe a little bit too early... ran venti/wrarena on sdC0 last night and in the morining the system was completly freezed. (disk led was off,

Re: [9fans] next-server dhcpd option

2008-02-06 Thread Gorka Guardiola
On Feb 6, 2008 9:15 AM, Matthias Teege [EMAIL PROTECTED] wrote: I have to boot some linux systems from my Plan 9 dns/dhcp/tftp server via PXE. Pxelinux needs a tftp server which supports the tsize option and I think the Plan 9 one doesn't do that. So my idea is to redirect the tftp requests

Re: [9fans] Unescaped From in mail items

2008-02-06 Thread erik quanstrom
Acme mail now reports multiple messages in the destination folders such as: 111/ $199 110/ $349 109/ Apple [EMAIL PROTECTED] Tue 19 Jun 2007 iPod Gift Wrapping is now available. upas/nedmail reports that the folder has 0 items in it, Acme mail that it has 136

[9fans] Re: 9P, procedure calls, kernel, confusion. :(

2008-02-06 Thread Siddhant
On Feb 5, 9:36 pm, [EMAIL PROTECTED] (erik quanstrom) wrote: see bind(2): Finally, the MCACHE flag, valid for mount only, turns on caching for files made available by the mount. By default, file contents are always retrieved from the server. With

Re: [9fans] A newbie question...

2008-02-06 Thread Greg Comeau
In article [EMAIL PROTECTED], 9fans@cse.psu.edu wrote: because something had to be used to compile Plan 9 itself, etc and I figure it's not being done as a cross-compiler. I'm sorry my new friend but I think that's the funniest 9fans post I've ever seen, how ... but surely you . aw

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread erik quanstrom
maybe a little bit too early... ran venti/wrarena on sdC0 last night and in the morining the system was completly freezed. (disk led was off, screen was blank) :-( seems that my dd tests are too simple or run too shortly... i'll attach serial console to the machine and try to reproduce

Re: [9fans] osx 9p client?

2008-02-06 Thread Steve Simon
you could use libmixp if you intent do develop one :) sadly I believe mixp has no authentication. -Steve

Re: [9fans] A newbie question...

2008-02-06 Thread Greg Comeau
In article [EMAIL PROTECTED], Roman V. Shaposhnik 9fans@cse.psu.edu wrote: On Mon, 2008-02-04 at 21:51 -0500, Pietro Gagliardi wrote: On Feb 4, 2008, at 9:38 PM, erik quanstrom wrote: - C99 is still new and although it's in POSIX, not many systems have it (Plan 9 doesn't have complete C99)

Re: [9fans] A newbie question...

2008-02-06 Thread Greg Comeau
In article [EMAIL PROTECTED], Uriel 9fans@cse.psu.edu wrote: Although I keep hearing different stories about the gcc availble for Plan 9 (it makes little sense to me to hear it does not work because something had to be used to compile Plan 9 itself, etc and I figure it's not being done as a

Re: [9fans] A newbie question...

2008-02-06 Thread erik quanstrom
9fans.net/archive - erik

Re: [9fans] A newbie question...

2008-02-06 Thread Greg Comeau
In article [EMAIL PROTECTED], Anant Narayanan 9fans@cse.psu.edu wrote: The fact that the late-adopters, myself included, have had previous development and/or everyday use experiences with GNU stuff and that they ask of similarities and differences, unawares of whatever animosity towards

Re: [9fans] A newbie question...

2008-02-06 Thread Greg Comeau
In article [EMAIL PROTECTED], Filipp Andronov 9fans@cse.psu.edu wrote: Hmmm, may i ask a very stupid question? :) I have working with GCC C++ compiler and MS C++ compiler, and i suppose that there are another compilers in the world... But i don't known any other free compiler (yeah, MS compiler

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread Kernel Panic
erik quanstrom wrote: you may want to try a block size of 64k in your tests. this may make a difference. thats exactly what the dd based testscript does: fn rotest { ... dd -if $1 -of /dev/null -bs $3 ... } ... b=65536 rotest $d $t $b ... i choose that blocksize because the I/O erros

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread erik quanstrom
i choose that blocksize because the I/O erros printed by venti while i first tried to copy arenas showed that blocksize. i conclude for now that doing paralel io on both drives results in I/O errors in short time. reading/writing a single drive, the system hangs/freezes after many hours

Re: [9fans] 9pcf debugging

2008-02-06 Thread Kernel Panic
Lluís Batlle wrote: Thank you all... In fact I managed to get the ethernet driver working at the first code change I tried today! This means that by now I won't try to debug the kernel, but I really like to have known of these kernel debugging techniques. Btw, I had problems with the Rhine

Re: [9fans] usb ohci support arrives -- caution

2008-02-06 Thread Richard Miller
Be careful about installing this update. The kernel changes don't just add ohci support; they also change the ctl interface to /dev/usb (even for uhci) which is used by the usb daemon and other commands in /bin/usb. The change has been made in a way which is neither forward nor backward

Re: [9fans] frogs and osx

2008-02-06 Thread underspecified
Just to add my two cents, I had a bit of fun trying to identify the cause of some strange behavior in Acme SAC for OS X. The home directory started refusing to display the contents of my home directory. The culprit? An icon file had snuck in and its carriage return was giving Acme SAC a

Re: [9fans] osx 9p client?

2008-02-06 Thread sqweek
On Feb 6, 2008 7:19 PM, Steve Simon [EMAIL PROTECTED] wrote: you could use libmixp if you intent do develop one :) sadly I believe mixp has no authentication. -Steve lib*m*ixp? What the fuck? Who the hell is Nekrad and why is he randomly forking libixp instead of contributing to it? *finds

Re: [9fans] usb ohci support arrives

2008-02-06 Thread C H Forsyth
controllers. Charles Forsyth provided the original driver, devohci.c. i provided it but it was originally written by someone else here

Re: [9fans] libutf + libregexp9

2008-02-06 Thread yplan9
Hi Russ, Thanks for the pointers. cheers Younès Russ Cox a écrit : Is there any examples about using libutf and libregexp9? There are manual pages linked at http://swtch.com/plan9port/unix/. If you grep for regexp or rune or utf in the Plan 9 or plan9port source trees, you will find

Re: [9fans] usb ohci support arrives

2008-02-06 Thread Juan M. Mendez
On 06/02/2008, C H Forsyth [EMAIL PROTECTED] wrote: controllers. Charles Forsyth provided the original driver, devohci.c. i provided it but it was originally written by someone else here I can only give thanks to everyone involved in providing it, as I think everybody in the plan9 community

Re: [9fans] OT: USB terminals

2008-02-06 Thread C H Forsyth
http://www.ndiyo.org/systems/hubster ``Anyone who remembers what life was like before the USB standard came along will appreciate the transformation it has brought about.'' indeed.

[9fans] Non-parallel loop in Sam

2008-02-06 Thread Hongzheng Wang
Hi all, I'm new to Plan9 and also this mailing list. After some experience with Sam's structral regexp, I become quite interested in this editor command. And I also noticed that the loop and condition commands of Sam, say x, y, g, v etc, are somewhat different from the commands of ed. For

Re: [9fans] OT: USB terminals

2008-02-06 Thread erik quanstrom
``Anyone who remembers what life was like before the USB standard came along will appreciate the transformation it has brought about.'' indeed. Anyone who remembers what life was like before our evil overlords from the Andromeda galaxy arrived will appreciate the transformation they have

Re: [9fans] OT: USB terminals

2008-02-06 Thread john
http://www.ndiyo.org/systems/hubster ``Anyone who remembers what life was like before the USB standard came along will appreciate the transformation it has brought about.'' indeed. Anyone who remembers what life was like before our evil overlords from the Andromeda galaxy arrived will

Re: [9fans] usb ohci support arrives -- another caution

2008-02-06 Thread Richard Miller
If you do rebuild a kernel with the new usb interface, and you have a usb mouse with a scroll wheel, you must ensure that usb/usbmouse is started with the '-s' flag (e.g. in /bin/usbstart), or your mouse won't work at all. I'll submit a patch for this shortly.

Re: [9fans] usb ohci support arrives -- another caution

2008-02-06 Thread Sape Mullender
If you do rebuild a kernel with the new usb interface, and you have a usb mouse with a scroll wheel, you must ensure that usb/usbmouse is started with the '-s' flag (e.g. in /bin/usbstart), or your mouse won't work at all. I'll submit a patch for this shortly. Yes, the mouse driver should

[9fans] Acme SAC for OS X Version 0.27

2008-02-06 Thread underspecified
Greetings, I'm sorry for the complete lack of updates lately. Things have been quite busy here ... There is a new release of Acme SAC for OS X available at http://acme-sac.googlecode.com/files/AcmeSAC-0.27.dmg There are no shiny, new features this release, but I squished a couple of annoying bugs

Re: [9fans] A newbie question...

2008-02-06 Thread Joel C. Salomon
On Feb 6, 2008 4:53 AM, Greg Comeau [EMAIL PROTECTED] wrote: And my question remains about gcc, either there is or there isn't a port for Plan 9, but it seems clear to me that there is one, so why do people keep saying not? There is a port of GCC, but it's not maintained much and reports vary

Re: [9fans] usb ohci support arrives -- another caution

2008-02-06 Thread Richard Miller
Yes, the mouse driver should get the configuration descriptor and interpret it. In the meantime, the quick and dirty fix is to change lines 164,165 in /sys/src/cmd/usb/misc/usbmouse.c from fprint(2, Send ep %d 10 r %d to %s\n, ep, nbuts, ctlfile); fprint(ctlfd,

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread cinap_lenrek
Hello, I had a similar phenomenon with VB7001G using two SATAs(IDE mode). Second SATA is unstable but I don't know where the problem comes from. Plan 9 under single SATA(IDE mode) works fine. Kenji Arisawa Now this is very interesting! A friend gave me an Adaptec (it really is an

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread erik quanstrom
Now this is very interesting! A friend gave me an Adaptec (it really is an SiL) 2xSATA PCI controller [1] for testing, and i was able to generate I/O errors just by reading from both drives in paralel! Does anybody run multiple SATA drives in IDE-mode without problems under Plan9?

[9fans] cd ripper

2008-02-06 Thread john
At Ron's request, I've whipped together a pair of rc scripts to do audio CD ripping. 'cdripper' will sit and watch your CD drive; when you insert a disc, it copies the audio tracks /tmp/cdtracks, gets the cddb info for the disc, and calls cdprep. 'cdprep' then takes the output of cddb and

Re: [9fans] cd ripper

2008-02-06 Thread john
At Ron's request, I've whipped together a pair of rc scripts to do audio CD ripping. 'cdripper' will sit and watch your CD drive; when you insert a disc, it copies the audio tracks /tmp/cdtracks, gets the cddb info for the disc, and calls cdprep. 'cdprep' then takes the output of cddb and

Re: [9fans] cd ripper

2008-02-06 Thread cinap_lenrek
pcm samples byte swaped? ;-) ---BeginMessage--- At Ron's request, I've whipped together a pair of rc scripts to do audio CD ripping. 'cdripper' will sit and watch your CD drive; when you insert a disc, it copies the audio tracks /tmp/cdtracks, gets the cddb info for the disc, and calls

Re: [9fans] cd ripper

2008-02-06 Thread john
pcm samples byte swaped? ;-) That seems to be the problem; using dd -conv swab seems to have fixed it. Updated cdprep is up. John

Re: [9fans] Two ramfs?

2008-02-06 Thread Lluís Batlle
Hello Russ, before trying to code something from scrach using createfile co., I wanted to get ramfs working (that of lib9p/, the only example of Tree/File I found in plan9port). After your fix related to a proper unmount/remount, now I see that the 9pserve process exits hardly if I try to create

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread cinap_lenrek
block sizes dont seem to matter, tried from 512 bytes to 64K in the adaptec case. i also get no errors in /dev/kprint. just read() returns Eio. i have no knowledge of IDE or SATA interfaces, so i'm a little bit lost in the code. :-( the chipset specific IDE code in linux seens to set mostly some

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread erik quanstrom
block sizes dont seem to matter, tried from 512 bytes to 64K in the adaptec case. i also get no errors in /dev/kprint. just read() returns Eio. i have no knowledge of IDE or SATA interfaces, so i'm a little bit lost in the code. :-( the chipset specific IDE code in linux seens to set

Re: [9fans] VIA VT8237 SATA/RAID i/o errors, dma doesnt work

2008-02-06 Thread cinap_lenrek
is it possible you are reading or writing outside the bounds of the partition? no, the errors occured while filling venti and that partitions dont overlap. at least disk/prep didnt complain as i created them. the offsets are more or less random. my dd-testscript was not that successfull in

Re: [9fans] A newbie question...

2008-02-06 Thread Uriel
On Feb 6, 2008 8:11 PM, Joel C. Salomon [EMAIL PROTECTED] wrote: On Feb 6, 2008 4:53 AM, Greg Comeau [EMAIL PROTECTED] wrote: And my question remains about gcc, either there is or there isn't a port for Plan 9, but it seems clear to me that there is one, so why do people keep saying not?

Re: [9fans] Two ramfs?

2008-02-06 Thread sqweek
On Feb 7, 2008 7:22 AM, Lluís Batlle [EMAIL PROTECTED] wrote: Hello Russ, before trying to code something from scrach using createfile co., I wanted to get ramfs working (that of lib9p/, the only example of Tree/File I found in plan9port). After your fix related to a proper unmount/remount,

Re: [9fans] A newbie question...

2008-02-06 Thread Pietro Gagliardi
The recent sflame/s I mean, discussion on GCC was started with my futile attempts to compile that bloke. However, I no longer think we need anything POSIX, GNU, or X11, as Plan 9 already comes with most, if not all, of the libraries we need: - rio(1) replaces readline (especially

[9fans] 9pfuse adventure

2008-02-06 Thread sqweek
A while ago I ran acme at home to edit files at work using the neat u9fs over ssh trick[1]. I was impressed with how well it worked, so I thought I'd try it the other way. But obviously, my work machine isn't running plan9 so I can't use exactly the same approach. Also, my username at home is