Re: startup options

2008-08-16 Thread Stefan Sperling
On Fri, Aug 15, 2008 at 02:52:21PM -0700, Sam Leffler wrote: > Stefan Sperling wrote: > > That page pretty much summarises the state of affairs, yes. > > > > Basically, you need a VIA-based ethernet card card (vr driver) > > and -CURRENT, or a vr card with 7.0 and

Re: startup options

2008-08-15 Thread Stefan Sperling
On Fri, Aug 15, 2008 at 10:00:25PM +0100, Vincent Hoffman wrote: > Chuck Robey wrote: > > I was wondering if it was possible, with a machine that has about 2 > > year old > > dual AMD64 processors and an up-to-date AMI BIOS, to get the machine > > to be able > > to start up from a power shutdown, a

Re: IPv6 CVS

2008-08-05 Thread Stefan Sperling
On Tue, Aug 05, 2008 at 02:16:35PM +0400, Maxim Konovalov wrote: > On Tue, 5 Aug 2008, 19:52+1000, Tim Clewlow wrote: > > > > > > Hi all, > > > > > > Does anyone know if there are any IPv6 CVS servers for FreeBSD? (As > > > in > > > receiving the STABLE and ports branches) I currently use > > > cv

Re: SCHED_4BSD bad interactivity on 7.0 vs 6.3

2008-07-13 Thread Stefan Sperling
On Sun, Jul 13, 2008 at 01:34:11AM -0700, Nate Eldredge wrote: > On Sun, 13 Jul 2008, Kris Kennaway wrote: > > > Nate Eldredge wrote: > >> I wrote a small program which forks two processes that run gettimeofday() > >> in a tight loop to see how long they get scheduled out. On 6.3 the > >> maxim

Re: Summer of Code 2008 Project Ideas

2008-03-19 Thread Stefan Sperling
On Wed, Mar 19, 2008 at 10:17:21PM +0100, Kris Kennaway wrote: > You can > also come up with your own project ideas if we have missed one :) I've got one: Implement wake on lan support for every ethernet device driver in the tree. ifconfig in -CURRENT already supports configuring WOL, but there'

Re: [OT] Q: what would you choose for a VCS today

2008-02-02 Thread Stefan Sperling
On Sat, Feb 02, 2008 at 11:49:10PM +0800, OutBackDingo wrote: > I dont think I follow why people think its that hard to convert the > FreeBSD src tree to some other RCS with history, branches and tags > > I seem to think this is doable. Seeing as Ive done it. And how did you convert it exactly?

Re: [OT] Q: what would you choose for a VCS today

2008-02-01 Thread Stefan Sperling
On Fri, Feb 01, 2008 at 02:00:47AM +0200, Giorgos Keramidas wrote: > > Most tools seem to insist on trying to import the whole history of a > > > > CVS repository before they let you start doing any work in the newly > >

Re: [OT] Q: what would you choose for a VCS today

2008-02-01 Thread Stefan Sperling
On Thu, Jan 31, 2008 at 11:00:25AM +0100, Johan Bucht wrote: > I've only tried CVS, Mericurial, Clearcase and a bit of Subversion. > And if you don't need IDE integration Mercurial seems to be working > pretty good. > I just read an article about the new merging and branching support > coming in Su

Re: [OT] Q: what would you choose for a VCS today

2008-01-31 Thread Stefan Sperling
On Thu, Jan 31, 2008 at 08:45:55AM +0200, Adrian Penisoara wrote: > Hi, > > Side-topic, if you bear with me: if you were to choose again what to use > as source revision control system (VCS) from today's offerings, what would > you choose to maintain FreeBSD's sources or a side-off project track

presenting WOL to the user (was: Re: How to add wake on lan support for your card)

2007-11-29 Thread Stefan Sperling
On Wed, Nov 28, 2007 at 07:45:45PM +0100, Stefan Sperling wrote: > On Wed, Nov 28, 2007 at 10:28:24AM -0800, Sam Leffler wrote: > > I really want to see the WOL support get into the tree. > > Cool. > > > I looked at it > > before and had some issues with ifconfig i

Re: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)

2007-11-28 Thread Stefan Sperling
On Wed, Nov 28, 2007 at 07:57:57PM +0100, Alexander Leidinger wrote: > > Maybe we should add a wiki page about wake on lan? > > Reading http://wiki.freebsd.org/AboutWiki it seems that if > > I created an account there and someone added me to the > > ContributorsGroup for a new WakeOnLan page I woul

Re: How to add wake on lan support for your card

2007-11-28 Thread Stefan Sperling
On Wed, Nov 28, 2007 at 10:28:24AM -0800, Sam Leffler wrote: > I really want to see the WOL support get into the tree. Cool. > I looked at it > before and had some issues with ifconfig integration which is mostly why > it's not already there. You mean you are hacking on it as well (independent

Re: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)

2007-11-28 Thread Stefan Sperling
On Wed, Nov 28, 2007 at 05:13:28PM +0100, Julian H. Stacey wrote: > > Well, I hope I haven't missed anything important, but I guess > > that's about it. > > Wow ! seems like you spent a fair time assembling that lot, About 2 hours. > & it'd sure be a shame if it just got dusty in mail archives,

Re: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)

2007-11-25 Thread Stefan Sperling
On Sun, Nov 25, 2007 at 10:48:50PM +0100, Stefan Sperling wrote: > Using the NatSemi card an example, there is a 32bit WOL configuration > register at offset 0x40 in the chip register space and bit number 9 > (the 8th bit from the right) As usual I got the numbers wrong :) Sorry i

How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)

2007-11-25 Thread Stefan Sperling
On Sun, Nov 25, 2007 at 10:53:59AM -0800, David Leslie wrote: > Linux does support WOL for (at least) this SiS900 NIC > (I can verify that it does work on this board), so > maybe it will be supported in FreeBSD in the future? Sure, it's possible. Adding support for a card is not that hard actuall

Re: WOL not working with 3Com NIC

2007-11-25 Thread Stefan Sperling
On Sat, Nov 03, 2007 at 04:47:05PM +0100, Stefan Sperling wrote: > On Fri, Nov 02, 2007 at 09:16:59PM -0500, M E wrote: > > I am able to get "will wake on: magic", when typing "ifconfig" in > > FreeNAS (built on FreeBSD); however, I am still unable to wake up th

Re: FreeBSD WOL sis on

2007-11-25 Thread Stefan Sperling
Hey David, (I'm Cc'ing this reply to hackers@ with David's consent.) On Sat, Nov 24, 2007 at 11:31:24PM -0800, David Leslie wrote: > Have an Intel ITX size board (D201GLY2) with a SiS 900 > NIC, which supports WOL and has a WOL-enabled FreeBSD > driver, but does not actually wake after powering

Re: questions on development(7)

2007-11-09 Thread Stefan Sperling
> > You won't be able to commit to the BSD repo from your server. Well, Aryeh wants to commit to a _local_ copy of the BSD repo. This works. See development(7). One thing the man page does not mention is that you need to change the commit hook in CVSROOT (which you only copy on first sync and nev

Re: questions on development(7)

2007-11-09 Thread Stefan Sperling
On Fri, Nov 09, 2007 at 04:56:24AM +, Aryeh M. Friedman wrote: > 1. If I am modifing code and such should I have a local branch? You can either maintain a local branch or keep backing up your diffs against the main source tree. Which one is better depends on the size of your changes and your w

Re: WOL not working with 3Com NIC

2007-11-03 Thread Stefan Sperling
On Fri, Nov 02, 2007 at 09:16:59PM -0500, M E wrote: > Hello Stefan, Hello, I'm Cc'ing hackers@ in my reply to your mail so people can overhear this conversation. It would be great to get some help. > I am able to get "will wake on: magic", when typing "ifconfig" in > FreeNAS (built on FreeBSD);

Re: CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64

2007-06-25 Thread Stefan Sperling
On Mon, Jun 25, 2007 at 12:45:37PM -0500, Stephen Montgomery-Smith wrote: > Also, does setting CPUTYPE make a lot of difference to performance? I don't notice any difference in performance on my Athlon xp 2400 box if I set CPUTYPE=athlon-xp vs. leaving it alone. YMMV though, ask the gentoo peopl

Re: kern/83807: [sis] [patch] if_sis: Wake On Lan support for FreeBSD

2007-06-13 Thread Stefan Sperling
On Sun, Jun 10, 2007 at 04:45:04PM +0200, Stefan Sperling wrote: > > I usually use either if_em or if_xl chipsets, so I hoped landing this code > > in at least -CURRENT (should go there first, I guess) would result in more > > chipsets supported ;) > > There is code

Re: kern/83807: [sis] [patch] if_sis: Wake On Lan support for FreeBSD

2007-06-10 Thread Stefan Sperling
On Sat, Jun 09, 2007 at 05:07:39PM +0200, Edwin Mons wrote: > I currently have one -CURRENT machine, and several 6.2-STABLE machines. For > at least two of them (the -CURRENT and an x86 -STABLE machine) I'd really > like to have WoL support, as these are my workstation and a home server, >

Re: kern/83807: [sis] [patch] if_sis: Wake On Lan support for FreeBSD

2007-06-09 Thread Stefan Sperling
On Sat, Jun 09, 2007 at 11:08:01AM +0200, Edwin Mons wrote: > Will this feature ever be incorporated in mainstream FreeBSD? I'm eagerly > waiting for it to land in -CURRENT... I have no idea. I haven't got much feedback on this patch, apart from one or two people who sent me a quick thank you

Re: Freebsd 6.2 panic

2007-05-29 Thread Stefan Sperling
On Tue, May 29, 2007 at 10:56:40PM +0200, didier derny wrote: > I have some machines running php/mysql/postfix > from time to time the computers running FreeBSD 6,2 > crashes with the following messages > > fatal trap 12:page fault while in kernel mode > cpuid=0; apic id=00 > fault virtual

Re: Problems with FreeBSD 6.0

2006-04-12 Thread Stefan Sperling
On Wed, Apr 12, 2006 at 07:22:27PM -0400, Kris Kennaway wrote: > On Wed, Apr 12, 2006 at 10:48:44PM +, [EMAIL PROTECTED] wrote: > > I tried out FreeBSD 6.0 (sorry, I copied just part or > > uname -a and I got something like "LINUX 2.4.2 FreeBSD 6.0 - > > Release #0: Nov 3 09:36:13 UTC

Re: RFC: Adding a ``user'' mount option

2006-04-06 Thread Stefan Sperling
On Thu, Apr 06, 2006 at 12:37:03PM -0700, Darren Pilgrim wrote: > >Access control is done via permissions of files in /dev. If I have > >proper permissions to a device file, I can mount it at a directory > >I own. If I don't have proper permissions to a device file, I cannot > >mount it at all. Thi

Re: RFC: Adding a ``user'' mount option

2006-04-05 Thread Stefan Sperling
On Wed, Apr 05, 2006 at 01:37:11PM +0100, Jan Grant wrote: > On Wed, 5 Apr 2006, Stefan Sperling wrote: > > > On Tue, Apr 04, 2006 at 09:52:17PM -0800, [EMAIL PROTECTED] wrote: > > > > > > > So why not have GNOME/KDE create mount points for the user if > >

Re: RFC: Adding a ``user'' mount option

2006-04-05 Thread Stefan Sperling
On Tue, Apr 04, 2006 at 09:52:17PM -0800, [EMAIL PROTECTED] wrote: > > > So why not have GNOME/KDE create mount points for the user if > > vfs.usermount is 1? > pardon my ignorance, but how any of those methods described earlier may > be superior to simply using sudo? Using sudo is a hack? :) --

Re: RFC: Adding a ``user'' mount option

2006-04-04 Thread Stefan Sperling
On Tue, Apr 04, 2006 at 02:47:18AM -0400, Joe Marcus Clarke wrote: > On Tue, 2006-04-04 at 08:30 +0200, Alex Dupre wrote: > > Joe Marcus Clarke wrote: > > > What I'd like to achieve is a simple out-of-the-box way of mounting > > > media such as CDs, and floppy disks without users necessarily needin

Re: kernel hack

2005-09-25 Thread Stefan Sperling
Sorry, this went to -current by accident, but should have gone here... - Forwarded message from Stefan Sperling <[EMAIL PROTECTED]> - Date: Sun, 25 Sep 2005 18:35:53 +0200 From: Stefan Sperling <[EMAIL PROTECTED]> To: kamal kc <[EMAIL PROTECTED]> Cc: freebsd-current@f

Re: how to use the function copyout()

2005-07-25 Thread Stefan Sperling
On Mon, Jul 25, 2005 at 04:35:20PM +0400, Felix-KM wrote: > I can't understand how to use the function copyout(). > It is necessary to write the data from a device driver to the > array defined in user program. > I do it this way: > > #define IOCTL_GET_B_IOWR("F", 127, 0x4) > Here I get EFA

rfc: wake on lan patches for review

2005-07-17 Thread Stefan Sperling
Hello Hackers, I have written a patch for the if_sis driver that enables wake on lan on the NatSemi DP8381[56] network chip. This did not work before because the driver needs to explicitely configure the card to enter wake on lan mode on system shutdown. I also added ioctls to make wake events co

Re: bus error in strsep

2005-07-06 Thread Stefan Sperling
On Wed, Jul 06, 2005 at 12:10:23PM -0700, Maksim Yevmenkin wrote: > Maksim Yevmenkin wrote: > >>char *c = "whats:your:name:buddy?"; > > > > that is not read only copy. you can not write > >into it. replace it with > > made type. that should read "that is read o

bus error in strsep

2005-07-06 Thread Stefan Sperling
Hello hackers, I am getting a bus error in my application when I call strsep and it matches a character. It doesn't matter whether I call the strsep from my libc or a freshly compiled one, the error stays the same. This is my test case: $ cat strsep.c #define NULL ((void*)0) /* copied verbatim