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

2002-04-23 Thread Danny Braniss
> 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

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

2002-04-23 Thread Danny Braniss
> 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 fsc

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

2002-04-23 Thread Danny Braniss
> 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

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

2002-04-23 Thread Vallo Kallaste
On Tue, Apr 23, 2002 at 09:40:11PM -0700, David Schultz <[EMAIL PROTECTED]> wrote: > > 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 swa

Re: diskless booting

2002-04-23 Thread Danny Braniss
> 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 "YE

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 unecessa

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 u

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?

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

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 Craig Boston
Kyle Butt said: >To upgrade from 4.x-stable to current >- snip >reboot in single user [3] >Did you do this? IIRC, Sig 12 is unimplemented syscall, which would occur >when userland and the kernel are out of sync. I don't recall seeing this in any of t

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: 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 >

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 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 attem

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

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 s

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 > ch set of utilities, I cheerfully continued. > ... Oops. abenaki# make cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wst

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 b

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

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

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: FreeBSD 4.5-STABLE not easily scalable to large servers ... ?

2002-04-23 Thread Terry Lambert
Vallo Kallaste wrote: > Hmm, ok, but can we have more than one 1G user process at one time? Yes. I said this before: you can have a nearly arbitrary number of UVA's -- you get one per process, in fact, whether you want it or not. Usually, they don't use up the full available address space, only

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 -I/f/local/sup/5.0/gnu/usr.bin/groff/src/prproc/eqn/../..

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 !target

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

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 t

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

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: 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] =

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

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 ch. 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 ch set of utilities, I cheerfully continued. On the second make the signal

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: 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

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 a

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

2002-04-23 Thread Terry Lambert
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, usually the > subjects are strange, too.. so hard to find out. As I understand it >

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 :-). TH

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 hav

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 > > yo

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 w

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 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 changi

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. >

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 > >

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

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 ]" t

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

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 corre

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 s

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,

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 prob

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 st

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 fina

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 k