Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
I'll commit this to rc.diskless1 this will only work if you include the changes to bootp.c +if [ -z `hostname -s` ]; then +hostname=`kenv dhcp.host-name` +hostname $hostname +echo Hostname is $hostname +fi BUT you've missed the point with

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote: Since im very interested in diskless/dataless, and i've been at it for some time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1 which i wouldn't mind receiving commnets/suggestions, and if possible

Re: Adding a 'bpf' group for /dev/bpf*

2002-04-23 Thread Crist J. Clark
On Mon, Apr 22, 2002 at 11:16:58AM -0700, Doug White wrote: On Sat, 20 Apr 2002, Lyndon Nerenberg wrote: For the benefit of packet sniffers and other things that only want read-only access to /dev/bpf*, what do people think of adding a 'bpf' group for those programs? This allows bpf

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 09:19:56AM +0300, Danny Braniss wrote: That being that some of us actually WANT /etc to be left the fsck alone. We NFS mount / and that / has /etc as it should be. I also cannot follow what you are trying to do with /etc/conf. Perhaps you could comment that part?

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: I'm pretty sure Solaris also used 4K pages for swappable memory in the kernel, as well: 4M pages don't make much sense, since you could, for example, exhaust KVA space with 250 kernel modules (250 X (1 data + 1 code) * 4M = 2G). It doesn't use 4M

Re: Status on ftp servers?

2002-04-23 Thread Brooks Davis
On Tue, Apr 23, 2002 at 01:11:14AM -0500, Justin Heath wrote: Any word on when current.freebsd.org or releng4.freebsd.org will be available again? I noticed some discussion of this dating back to February but did not see a final date. If it is still going to be down for a while anyone know

Re: Status on ftp servers?

2002-04-23 Thread Justin Heath
Thanks. At 01:31 AM 4/23/2002 -0700, Brooks Davis wrote: On Tue, Apr 23, 2002 at 01:11:14AM -0500, Justin Heath wrote: Any word on when current.freebsd.org or releng4.freebsd.org will be available again? I noticed some discussion of this dating back to February but did not see a final

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
David O'Brien wrote: / ( and whatever is under it) is NFS mounted read only, as should be. This is where all of us doing Sparc64 development say you are wrong -- / is NFS mounted RW. Back in the SunOS diskless workstations days were this was invented, / was NFS mounted RW. Please stop

Memory overwrite problem in the -current kernel ??

2002-04-23 Thread Poul-Henning Kamp
This commit detects a memory overwrite problem in the kernel which happens before we ever get into userland for the first time. The commit which causes the problem to appear is my own commit to subr_disklabel.c (1.65). If the block below is put back in subr_disklabel.c the memory overwrite

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Marc G. Fournier
On Mon, 22 Apr 2002, Terry Lambert wrote: Marc G. Fournier wrote: First, alot of this stuff is slowly sinking in ... after repeatedly reading it and waiting for the headache to disapate:) But, one thing that I'm still not clear on ... If I have 4Gig of RAM in a server, does it make

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote: the 'original' solution is to make /etc writable is to mount a MD, then copy all /conf/default/etc to it. The very original solution was to mount NFS / RW. The move to /conf/default/etc was someone's special needs

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Robert Watson
On Tue, 23 Apr 2002, David O'Brien wrote: On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote: the 'original' solution is to make /etc writable is to mount a MD, then copy all /conf/default/etc to it. The very original solution was to mount NFS / RW. The move to

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: diskless_root_readonly=NO # Make it YES for readonly good. diskless_etc_localmd=NO # Make it YES to have the # diskless environment md-mount and replicate /etc from /conf Seems the if [ -d ] tests in

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: diskless_root_readonly=NO # Make it YES for readonly good. diskless_etc_localmd=NO # Make it YES to have the # diskless environment md-mount and replicate /etc from /conf Seems the if [ -d ] tests in

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
On Tue, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote: On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: diskless_root_readonly=NO # Make it YES for readonly good. diskless_etc_localmd=NO # Make it YES to have the # diskless

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
David O'Brien wrote: The very original solution was to mount NFS / RW. The move to /conf/default/etc was someone's special needs leaking into the FreeBSD repository. If you want to special case, things be my guest -- add an elif test; but leave RW NFS mounted / alone. This isn't

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
Robert Watson wrote: This would provide full compatibility with the current model for those that want it (and I think it's more people than you think) at the same time as changing the system to provide easy support for the environment you're looking for. If the default settings are changing,

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
Terry Lambert wrote: configured by the green-and-which Systeam Adminstrator's Guide green-and-white System for SunOS. Ugh. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Robert Watson
On Tue, 23 Apr 2002, Terry Lambert wrote: Robert Watson wrote: This would provide full compatibility with the current model for those that want it (and I think it's more people than you think) at the same time as changing the system to provide easy support for the environment you're

Re: Hello,support,how are you

2002-04-23 Thread Procmail Security daemon
Regarding your message to chambers msgid=[EMAIL PROTECTED] *** SECURITY WARNING *** The antivirus scanner installed at XiG.COM detected that your message may contain hazardous embedded scripting or attachments. We do not accept mail with executable or MS-Document attachments. If you have

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
Robert Watson wrote: I have't really used the diskless environment with 4.x, but use it extensively in my test/development environments for 5.0. Stateless workstations are great when it comes to file system debugging, especially since newfs is orders of magnitude faster than fsck :-). THat

Re: implementing linux mmap2 syscall

2002-04-23 Thread Kenneth Culver
Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args are making it in... I checked this because the sixth argument to linux_mmap2() in truss was showing 0x6, but when I printed out that arg from the kernel, it was showing 0x0. Am I correct here?

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Vallo Kallaste
On Tue, Apr 23, 2002 at 09:44:50AM -0300, Marc G. Fournier [EMAIL PROTECTED] wrote: Next, again, if I'm reading this right ... if I set my KVA to 3G, when the system boots, it will reserve 3G of *physical* RAM for the kernel itself, correct? So on a 4G machine, 1G of *physical* RAM will be

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Vallo Kallaste
On Tue, Apr 23, 2002 at 12:25:31PM -0700, Terry Lambert [EMAIL PROTECTED] wrote: Vallo Kallaste wrote: You can have up to ~12GB of usable swap space, as I've heard. Don't remember why such arbitrary limit, unfortunately. Information about such topics is spread over several lists arhives,

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Dave Hayes
Terry Lambert (who fits my arbitrary definition of a good cynic) writes: It's a hazard of Open Source projects, in general, that there are so many people hacking on whatever they think is cool that nothing ever really gets built to a long term design plan that's stable enough that a book

upgrade from 4.5 to current fails

2002-04-23 Thread Christian Flügel
Hello Folks. I currently try to upgrade from 4.5 STABLE to CURRENT. I have cvsuped my source and already made buildworld and buildkernel. But installworld failed with Signal 12 while installing chpass. When I try to remove chpass from hand I get a operation not permitted error. Apparently the

Re: upgrade from 4.5 to current fails

2002-04-23 Thread Eric Brunner-Williams in Portland Maine
Yeah. I picked those up too -- the signal 12 @ the install phase of chfoo. I also got another shell failure when doing the depend phase of the kernel build, but since I don't care what is in vers.c, and I don't care about the chfoo set of utilities, I cheerfully continued. On the second make the

Re: upgrade from 4.5 to current fails

2002-04-23 Thread Christian Flügel
- Original Message - From: Eric Brunner-Williams in Portland Maine [EMAIL PROTECTED] To: Christian Flügel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 23, 2002 11:55 PM Subject: Re: upgrade from 4.5 to current fails Yeah. I picked those up too -- the

Re: Heads up: -current sucks today :-)

2002-04-23 Thread John Baldwin
On 18-Apr-2002 Hiten Pandya wrote: --- Robert Watson [EMAIL PROTECTED] wrote: I've had four seperate and distinct panics on my -current box from yesterday in the last twenty minutes. -CURRENT appears to be somewhat unstable. Yes, this is -CURRENT; please wear a hard hat and avoid

RE: Memory overwrite problem in the -current kernel ??

2002-04-23 Thread John Baldwin
On 23-Apr-2002 Poul-Henning Kamp wrote: This commit detects a memory overwrite problem in the kernel which happens before we ever get into userland for the first time. The commit which causes the problem to appear is my own commit to subr_disklabel.c (1.65). If the block below is put

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Chris BeHanna
On Tue, 23 Apr 2002, Dave Hayes wrote: Terry Lambert (who fits my arbitrary definition of a good cynic) writes: It's a hazard of Open Source projects, in general, that there are so many people hacking on whatever they think is cool that nothing ever really gets built to a long term

Re: Heads up: -current sucks today :-)

2002-04-23 Thread Hiten Pandya
--- John Baldwin [EMAIL PROTECTED] wrote: I have been seeing a 'witness_get exhausted' message for quite a long time. I have disabled SMP on my kernel as of now, but still have to figure out where and why this message is coming. The witness_get thing was fixed a week or so ago with the

Re: buildkernel borken

2002-04-23 Thread Hiten Pandya
Hi, I dont think the fix I am suggesting is correct, but it worked when I last tried to build my CURRENT kernel (yesterday), and it came out right. Do the following: o Remove the following from src/share/mk/bsd.dep.mk beginning at line 31 as suggested in the error output: %%% .if

make buildworld fails / neqn / grog /groff

2002-04-23 Thread Tomi Vainio - Sun Finland -
I haven't been able to build new world since Apr14 or so. I have cvsupped sources multiple times and buildworld always fails on neqn. If I remove this next it fails on grog and so on. Any good ideas what's wrong? Tomppa c++ -O -pipe

Re: make buildworld fails / neqn / grog /groff

2002-04-23 Thread Steve Kargl
On Wed, Apr 24, 2002 at 02:19:29AM +0300, Tomi Vainio - Sun Finland - wrote: I haven't been able to build new world since Apr14 or so. I have cvsupped sources multiple times and buildworld always fails on neqn. If I remove this next it fails on grog and so on. Any good ideas what's wrong?

Re: make buildworld fails / neqn / grog /groff

2002-04-23 Thread Tomi Vainio - Sun Finland -
Steve Kargl writes: On Wed, Apr 24, 2002 at 02:19:29AM +0300, Tomi Vainio - Sun Finland - wrote: I haven't been able to build new world since Apr14 or so. I have cvsupped sources multiple times and buildworld always fails on neqn. If I remove this next it fails on grog and so on. Any

Re: make buildworld fails / neqn / grog /groff

2002-04-23 Thread Steve Kargl
On Wed, Apr 24, 2002 at 02:37:45AM +0300, Tomi Vainio - Sun Finland - wrote: Steve Kargl writes: On Wed, Apr 24, 2002 at 02:19:29AM +0300, Tomi Vainio - Sun Finland - wrote: I haven't been able to build new world since Apr14 or so. I have cvsupped sources multiple times and

Re: upgrade from 4.5 to current fails

2002-04-23 Thread Eric Brunner-Williams in Portland Maine
... I also got another shell failure when doing the depend phase of the kernel build, but since I don't care what is in vers.c, and I don't care about the chfoo set of utilities, I cheerfully continued. ... Oops. abenaki# make cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs

panic: clist reservation botch

2002-04-23 Thread Robert Watson
This was from the TrustedBSD MAC branch, but it's not clear to me that this relates to the MAC patches. Have't seen this before; this box is a pxe-booted NFS-mounted system. Kernel and userland may be out of sync, but all modules should be in sync. System is on a serial console. Configuring

Re: upgrade from 4.5 to current fails

2002-04-23 Thread Kyle Butt
At Tue, 23 Apr 2002 23:55:37 +0200, Christian Flügel wrote: Hello Folks. I currently try to upgrade from 4.5 STABLE to CURRENT. I have cvsuped my source and already made buildworld and buildkernel. But installworld failed with Signal 12 while installing chpass. When I try to remove

Re: upgrade from 4.5 to current fails

2002-04-23 Thread Kris Kennaway
On Tue, Apr 23, 2002 at 11:55:37PM +0200, Christian Flügel wrote: Hello Folks. I currently try to upgrade from 4.5 STABLE to CURRENT. I have cvsuped my source and already made buildworld and buildkernel. But installworld failed with Signal 12 while installing chpass. You're attempting

Re: Memory overwrite problem in the -current kernel ??

2002-04-23 Thread Brian Dean
On Tue, Apr 23, 2002 at 01:54:17PM +0200, Poul-Henning Kamp wrote: This commit detects a memory overwrite problem in the kernel which happens before we ever get into userland for the first time. Do you know the address being corrupted? If so, try breaking into ddb early on and set a hardware

Re: upgrade from 4.5 to current fails

2002-04-23 Thread David W. Chapman Jr.
I have cvsuped my source and already made buildworld and buildkernel. But installworld failed with Signal 12 while installing chpass. You're attempting to upgrade incorrectly. Follow the directions _precisely_ and this won't happen. I just got bit by this one myself from not

Re: upgrade from 4.5 to current fails

2002-04-23 Thread Kris Kennaway
On Tue, Apr 23, 2002 at 09:09:44PM -0500, David W. Chapman Jr. wrote: I have cvsuped my source and already made buildworld and buildkernel. But installworld failed with Signal 12 while installing chpass. You're attempting to upgrade incorrectly. Follow the directions _precisely_

Re: upgrade from 4.5 to current fails

2002-04-23 Thread David W. Chapman Jr.
No, for the past several months you haven't been able to installworld a -current system under a -stable kernel. That you were ever able to do that before that time is pure chance. Very strange that I did it last week then, possibly a fluke? -- David W. Chapman Jr. [EMAIL PROTECTED]

Re: implementing linux mmap2 syscall

2002-04-23 Thread Kenneth Culver
Kenneth Culver writes: OK, I found another problem, here it is: static void linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t *params) { args[0] = tf-tf_ebx; args[1] = tf-tf_ecx; args[2] = tf-tf_edx; args[3] = tf-tf_esi;

Re: Memory overwrite problem in the -current kernel ??

2002-04-23 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Brian Dean writes: On Tue, Apr 23, 2002 at 01:54:17PM +0200, Poul-Henning Kamp wrote: This commit detects a memory overwrite problem in the kernel which happens before we ever get into userland for the first time. Do you know the address being corrupted? If so,

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Doug Barton
On Mon, 22 Apr 2002, David O'Brien wrote: +if [ -z `hostname -s` ]; then +hostname=`kenv dhcp.host-name` +hostname $hostname +echo Hostname is $hostname +fi If you wanted to match the style for most of the rc* files, and avoid an unecessary call

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Terry Lambert
Dave Hayes wrote: So, it's time to question the assumption that the information you want available should be in a book. Many websites have annotation as a form of ad-hoc documentation (e.g. php.net). Why not have someone take a crack at documenting the FreeBSD kernel, and perhaps use some

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread David Schultz
Thus spake Vallo Kallaste [EMAIL PROTECTED]: Userspace processes will allocate memory from UVA space and can grow over 1GB of size if needed by swapping. You can certainly have more than one over-1GB process going on at the same time, but swapping will constrain your performance. It isn't a

Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: Writing a useful (non-fluff) technical book, optimistically, takes 2080 hours ... or 40 hours per week for 52 weeks... a man year. By the time you are done, the book is a year out of date, and even if you worked really hard and kept it up to date