Re: kerneld for FreeBSD

2000-06-07 Thread Bjoern Fischer
On Mon, Jun 05, 2000 at 04:51:28PM -0700, Mike Smith wrote: [...] TBH, unloading an idle module is basically a waste of time. Modules are, on the whole, so small that the savings are entirely outweighed by the unnecessary complexity. What is won by unloading a module anyway? Memory the

Re: kerneld for FreeBSD

2000-06-07 Thread Neil Blakey-Milner
On Wed 2000-06-07 (01:43), Coleman Kane wrote: I really don't think that stupidity is the issue, there are plenty of devices which you use very discretely which may only need support every once in awhile. Once again, I don't think you're giving me enough clues as to what you're aiming at.

Re: kerneld for FreeBSD

2000-06-07 Thread Neil Blakey-Milner
On Wed 2000-06-07 (08:48), Coleman Kane wrote: Well, a lot of drivers aren't modules yet. It was basically an idea to move the kernel more towards a modular implementation. There will be a large number of modules if all the drivers were to become modules. It may not be, say, to everyone's

Re: SVR4 Emulation [was Re: iBCS status?]

2000-06-07 Thread Dan Nelson
In the last episode (Jun 07), Matthew Emmerton said: And while we're on the topic, has anyone looked at the svr4 emulation stuff for Linux, most notably Debian? According to this link (http://www.debian.org/Packages/stable/otherosfs/ibcs-base.html), it has SCO SVR3 as well as SCO ODT5 (SVR4)

Fast Forwarding?

2000-06-07 Thread lists
Hi, Just wondering if anyone else has had problems with net.inet.ip.fastforwarding set? It seems that if I do sysctl -w net.inet.ip.fastforwarding=1 after a few minutes on 4.0-STABLE and 4.0-RELEASE the box kernel panics and dies horribly. Any suggestions would be much appreciated Thanks

Re: IP prepaid accounting

2000-06-07 Thread Hans Huebner
Hi there, I've made a first shot at the prepaid system I described yesterday. Citing the ipfw manpage: The usage of IP quotas is illustrated by the following example: First, a quota entry is set up: ifpw quota set guest quota 10 warn 9 The above rule

Re: IP prepaid accounting

2000-06-07 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Hans Huebner writes: Hi there, I've made a first shot at the prepaid system I described yesterday. Citing the ipfw manpage: The usage of IP quotas is illustrated by the following example: First, a quota entry is set up: ifpw quota set guest

Re: kerneld for FreeBSD

2000-06-07 Thread Jack Rusher
Coleman Kane wrote: I really don't think that stupidity is the issue, there are plenty of devices which you use very discretely which may only need support every once in awhile. It might be nice to start running on modules regularly. It would also be useful to be able to update your

Colors

2000-06-07 Thread Daniel C. Sobral
"Andrey A. Chernov" wrote: 3) "op" restore default color pair, not normal one (it involves syscons and termcap fixing and manpage improvements) Is that why w3m and lynx get me back to blackwhite instead of my syscon selected white on blue? If so... can you fix those ports? :-) -- Daniel C.

Re: Colors

2000-06-07 Thread Andrey A. Chernov
On Thu, Jun 08, 2000 at 03:07:48AM +0900, Daniel C. Sobral wrote: "Andrey A. Chernov" wrote: 3) "op" restore default color pair, not normal one (it involves syscons and termcap fixing and manpage improvements) Is that why w3m and lynx get me back to blackwhite instead of my syscon

Re: kerneld for FreeBSD

2000-06-07 Thread Daniel C. Sobral
Robert Watson wrote: I tend to agree, on face value, with an intuitive objection to kerneld. That said, it should be observed that a "kerneld" would restrict the code sufficiently privileged to cause a module load in one binary, as opposed to a model where that type of privilege has to be

Re: Colors

2000-06-07 Thread Daniel C. Sobral
"Andrey A. Chernov" wrote: On Thu, Jun 08, 2000 at 03:07:48AM +0900, Daniel C. Sobral wrote: "Andrey A. Chernov" wrote: 3) "op" restore default color pair, not normal one (it involves syscons and termcap fixing and manpage improvements) Is that why w3m and lynx get me back to

Re: IP prepaid accounting

2000-06-07 Thread Hans Huebner
On Wed, 7 Jun 2000, Poul-Henning Kamp wrote: It should be possible to say say ipfw deny all ip from any to any exquota any as well as: ipfw deny all ip from any to any exquota guest Do you say that in principle you agree with the "quota action, but you want the

Re: IP prepaid accounting

2000-06-07 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Hans Huebner writes: On Wed, 7 Jun 2000, Poul-Henning Kamp wrote: It should be possible to say say ipfw deny all ip from any to any exquota any as well as: ipfw deny all ip from any to any exquota guest Do you say that in principle

Re: IP prepaid accounting

2000-06-07 Thread Hans Huebner
On Wed, 7 Jun 2000, Poul-Henning Kamp wrote: I'll disallow the name "any" for quota names. This is not exactly pretty, but Make it so that if no name is specified all apply ? I'll code the "any" into ipfw.c. The kernel code only verifies the quota name if the string is not empty. -Hans

Odd dir-cache #'s with Samba and moving files...

2000-06-07 Thread Jaye Mathisen
I wish I would've grabbed a screen shot while it was happening, but I didn't. In any case, a fairly recent 4.0-stable (last couple weeks), and samba 2.0.7. The FreeBSD box is doing nothing, except smb, and running systat -vmstat 1 in a telnet session. From my NT box, I was moving a bunch of

Re: Odd dir-cache #'s with Samba and moving files...

2000-06-07 Thread Mike Smith
Mount the filesystem(s) async, or use softupdates. I wish I would've grabbed a screen shot while it was happening, but I didn't. In any case, a fairly recent 4.0-stable (last couple weeks), and samba 2.0.7. The FreeBSD box is doing nothing, except smb, and running systat -vmstat 1

RE: kerneld for FreeBSD

2000-06-07 Thread Yevmenkin, Maksim N, CSCIO
well, i've heard both negative and positive replies. so, i've just open ``kerneld'' project on sourceforge.net anyone who is interested, please, make your suggestions and wishes. just drop me an e-mail at [EMAIL PROTECTED] i'll be more than happy to hear from you. i'll try put working prototype

Re: [REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-07 Thread Bernd Walter
On Wed, Jun 07, 2000 at 10:13:26AM +0530, G.B.Naidu wrote: Thanks a lot for your reply. It's quite useful. But I have some more questions generated of this study of nfs code and sendfile(2) code. The question is about getting a proc structure. Here it is. As you all know that every system

if_dc in v4.0 - Forcing store and forward?

2000-06-07 Thread Dennis
Running a Dlink quad card (570TX) in 100Mb/s full dup mode the driver complains about underruns for awhile and then ultimately sets store_and_forward which seems to make it work. Is there a way to force this easily? It seems that it should certainly be the default if full dup 100 mode is

Re: [REPOST] Re: How do I get port inside kernel.... (fwd)

2000-06-07 Thread Bernd Walter
On Wed, Jun 07, 2000 at 04:58:41PM -0400, Garrett Wollman wrote: On Wed, 7 Jun 2000 22:09:06 +0200, Bernd Walter [EMAIL PROTECTED] said: current process? Is it safe if I use proc0 to pass the proc structure to call socreate() and sobind()? How safe it is to use curproc structure?

Anyone feel like donating a T1 CSU/DSU ?

2000-06-07 Thread Poul-Henning Kamp
I'm writing a driver for LanMedias LMC1504, but despite me asking God and Everybody over here, I have not been able to find any equipment I can test the T1 functionality with, so for now the driver will be E1 only. If anybody on the other side of the pond has a T1 device, (preferably one that

Re: FreeBSD Support of Hot Swappable NICs

2000-06-07 Thread Dan Nelson
In-Reply-To: [EMAIL PROTECTED]; from "Alfred Perlstein" on Wed Jun 7 11:41:59 GMT 2000 X-OS: FreeBSD 5.0-CURRENT In the last episode (Jun 07), Alfred Perlstein said: Brech, Cary [EMAIL PROTECTED] [000607 10:33] wrote: Lucent recently introduced a product that uses FreeBSD as its OS. We

Re: if_dc in v4.0 - Forcing store and forward?

2000-06-07 Thread Mike Smith
Running a Dlink quad card (570TX) in 100Mb/s full dup mode the driver complains about underruns for awhile and then ultimately sets store_and_forward which seems to make it work. Is there a way to force this easily? It seems that it should certainly be the default if full dup 100 mode

Re: if_dc in v4.0 - Forcing store and forward?

2000-06-07 Thread Dennis
At 04:40 PM 6/7/00 -0700, Mike Smith wrote: Running a Dlink quad card (570TX) in 100Mb/s full dup mode the driver complains about underruns for awhile and then ultimately sets store_and_forward which seems to make it work. Is there a way to force this easily? It seems that it should

Re: if_dc in v4.0 - Forcing store and forward?

2000-06-07 Thread Peter Wemm
Mike Smith wrote: Running a Dlink quad card (570TX) in 100Mb/s full dup mode the driver complains about underruns for awhile and then ultimately sets store_and_forward which seems to make it work. Is there a way to force this easily? It seems that it should certainly be the

Re: SVR4 Emulation [was Re: iBCS status?]

2000-06-07 Thread Mark Newton
On Wed, Jun 07, 2000 at 09:46:26AM -0500, Dan Nelson wrote: It's hard because SCO doesn't document any of this. You have to root through headers trying to figure out what structures are used when. How do you think the rest of the emulator has been written? :-) Ok -- I envisaged that

Re: kerneld for FreeBSD

2000-06-07 Thread Mike Smith
On Wed, Jun 07, 2000 at 01:01:41AM -0400, Bosko Milekic wrote: An Operating System should only do that when the administrator is so stupid that he/she actually loads "unused" drivers. I'm talking about for example a tape driver that was loaded to deal with a tape drive which is

Re: kerneld for FreeBSD

2000-06-07 Thread Coleman Kane
Yeah, I actually wasn't aware of the net and fs stuff at first. It works great though, I was just continuing from what someone else had mentioned, and then it got turned into kerneld for freebsd. I originally simply wanted to see about options sort of like kerneld. I mean, maybe a utility that

Re: FreeBSD Support of Hot Swappable NICs

2000-06-07 Thread Coleman Kane
This is rather interesting, it probably would have to do with PCI BIOS support as well, I suppose, but other than that, as long as you could safely unload and reload the pci code without depending upon it... it may work, or maybe set up a hook into the driver to rescan. Dan Nelson had the

Re: FreeBSD Support of Hot Swappable NICs

2000-06-07 Thread Mike Smith
Actually, there's still a *lot* of work that has to be done to make this work "right" - let me say two things only: "resource allocation" "interrupt routing" This is rather interesting, it probably would have to do with PCI BIOS support as well, I suppose, but other than that, as long as

Re: SVR4 Emulation [was Re: iBCS status?]

2000-06-07 Thread Matthew Emmerton
To fix it in as painless a way as possible, I'm envisaging something along the lines of this: * The existing svr4 KLD module, which implements the guts of the emulator; and * Additional much, much smaller modules which implement the differences between the "base" svr4 and

Re: SVR4 Emulation [was Re: iBCS status?]

2000-06-07 Thread Mark Newton
On Wed, Jun 07, 2000 at 10:24:15PM -0400, Matthew Emmerton wrote: Each variant would have its own ELF brand to aid the selection of the correct API. Makes sense. On a related note, I'm curious to see how this will integrate into existing non-kernel tools. For example, truss and

Re: SVR4 Emulation [was Re: iBCS status?]

2000-06-07 Thread Dan Nelson
In the last episode (Jun 08), Mark Newton said: Ok -- I envisaged that there'd be a difficulty with different SysV vendors who used different semantics for the same syscalls, or different syscall numbering schemes. "It could happen!" (and, as we can see, it probably has). Possibly.. But

Path MTU discovery.

2000-06-07 Thread Dave Preece
Just learning about this: I can see the advantages but does anything use it? Dave :) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message