Can I do a make world only for PentiumPro?

2001-01-18 Thread Micke Josefsson
Almost this identical question was put to -questions a couple of days ago, but as I did not get a response I'll try my luck here:) Is it possible to use my PentiumPro machine to do a 'make buildworld' for a target machine that only is a 486? When compiling the kernel I can select to omit

Re: Can I do a make world only for PentiumPro?

2001-01-18 Thread Peter Pentchev
On Thu, Jan 18, 2001 at 09:15:16AM +0100, Micke Josefsson wrote: [snip] Hmm, come to think of it: Can I use -O to get even more trimmed code? And where do I put it? There must be some file somewhere that contains this info, must there not? Look at the /etc/make.conf file and 'man 5

How to make a PCI network device loadable module?

2001-01-18 Thread Satyajeet Seth
I'd like to know how to make the network device driver I'm working on, a loadable module. It's for a PCI device. I was unable to find any examples of PCI network modules under /sys/pci. The examples under /usr/share/examples/kld are not very helpful either for a PCI network device. It appears

RE: How to make a PCI network device loadable module?

2001-01-18 Thread Daniel O'Connor
On 18-Jan-01 Satyajeet Seth wrote: I'd like to know how to make the network device driver I'm working on, a loadable module. It's for a PCI device. I was unable to find any examples of PCI network modules under /sys/pci. The examples under /usr/share/examples/kld are not very helpful

stupid CVS question

2001-01-18 Thread Peter Pentchev
Sorry if this is the wrong list - and I guess it is.. When I do a 'cvs diff' between branches, and there are files on one branch that are not on the other, CVS reports 'tag whatever is not in filename'. Is there a way to make it diff the file against /dev/null or something, so I could use 'cvs

Re: Can I do a make world only for PentiumPro?

2001-01-18 Thread Kris Kennaway
On Thu, Jan 18, 2001 at 09:15:16AM +0100, Micke Josefsson wrote: Is it possible to use my PentiumPro machine to do a 'make buildworld' for a target machine that only is a 486? When compiling the kernel I can select to omit 386/486-thingies and optimise the binaries for 686. Can I do the same

Re: Permissions on crontab..

2001-01-18 Thread David Malone
They do own their own crontab file. The setgid is for adjusting the modification time on the crontab directory, to signal to cron that there has been a change. I think there may be a neat way of dealing with all of this stuff using unix domain sockets with credential and discriptor passing.

Re: stupid CVS question

2001-01-18 Thread Peter Pentchev
On Thu, Jan 18, 2001 at 12:43:26PM +0200, Peter Pentchev wrote: Sorry if this is the wrong list - and I guess it is.. When I do a 'cvs diff' between branches, and there are files on one branch that are not on the other, CVS reports 'tag whatever is not in filename'. Is there a way to make

RE: Clustering FreeBSD

2001-01-18 Thread Koster, K.J.
| Doh! I mean 9.8 m/s/s, of course. That's acceleration not velocity :-) The terminal velocity of a PC case is probably a lot lower than the velocity of an outer edge of a 1 RPM drive. Hmm. That would make a FreeBSD cluster quite useful as a garden shredder, even with lower disc

Re: Clustering FreeBSD

2001-01-18 Thread Dag-Erling Smorgrav
"Koster, K.J." [EMAIL PROTECTED] writes: The terminal velocity of a PC case is probably a lot lower than the velocity of an outer edge of a 1 RPM drive. Hmm. That would make a FreeBSD cluster quite useful as a garden shredder, even with lower disc rotation speeds I'd imagine. Fun

Re: stupid CVS question

2001-01-18 Thread Alexander Langer
Thus spake Peter Pentchev ([EMAIL PROTECTED]): Never mind, I found the -N option by reading the source. Why oh why is it not documented in the CVS info page :( document it :-) Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: How to make a PCI network device loadable module?

2001-01-18 Thread Alexander Langer
Thus spake Daniel O'Connor ([EMAIL PROTECTED]): I don't think you need anything special for your device to be a KLD.. I maintain a simple character device which didn't need anything special, but network devices may be different. Most of the drivers in the tree either exist as module already

Re: Setting default hostname to localhost

2001-01-18 Thread mouss
At 15:24 17/01/01 -0500, Robert Watson wrote: On the contrary, there are many applications that expect the results of a gethostname() to resolve, and point to the local machine. It's arguable that these applications are broken, but there are enough of them to raise consideration. They include

Re: HEADS UP: I386_CPU

2001-01-18 Thread Eugene Polovnikov
how about to have in a distribution two version of GENERIC kernel (and modules of course) and let sysinstall choose right set ? In article [EMAIL PROTECTED] you wrote: On Tuesday, 16 January 2001 at 9:28:43 -0500, Will Andrews wrote: On Tue, Jan 16, 2001 at 09:16:14AM -0500, Kenneth Wayne

Information on kernel crash dump analysis

2001-01-18 Thread Xavier Galleri
Hi everybody, I have made some progress on my kernel crash dump issue and here is a little contribution for those who would encounter the same problem as the one I got to deal with kernel stack dump. To begin, I recall the actual issue which is : how could I get the stack dump of the current

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Josef Karthauser
On Thu, Jan 18, 2001 at 10:13:15AM +0200, Neil Blakey-Milner wrote: Hi, I've kept on forgetting to apply a patch similar to this one. "make buildkernel" currently fails if a "make buildworld" has not previously been done on the machine (and still has the populated object environment)

Re: Device Driver Question (bus_set_resource)

2001-01-18 Thread David E. Cross
Thank you... After a couple of hours, Jon Chen and I have figured out most of what you just said :P :) How would one use hints with a kld? Badly. 8( You can only really set them with the loader right now. There are a couple of kernel datastores that need some tweaking; the

stray irq 7

2001-01-18 Thread Dennis
I know we've discussed this before. But I cant believe its a "hardware problem". Enabling any ISA interrupt causes the problem. Rather than the standard " your hardware is defective", perhaps someone can explain how a masked interrupt can be generated without being enabled. It seems as if

Re: Device Driver Question (bus_set_resource)

2001-01-18 Thread Julian Elischer
"David E. Cross" wrote: Thank you... After a couple of hours, Jon Chen and I have figured out most of what you just said :P :) How would one use hints with a kld? Badly. 8( You can only really set them with the loader right now. There are a couple of kernel datastores

Re: Clustering FreeBSD

2001-01-18 Thread Wilko Bulte
On Thu, Jan 18, 2001 at 01:17:36PM +0100, Dag-Erling Smorgrav wrote: "Koster, K.J." [EMAIL PROTECTED] writes: The terminal velocity of a PC case is probably a lot lower than the velocity of an outer edge of a 1 RPM drive. Hmm. That would make a FreeBSD cluster quite useful as a

Re: stray irq 7

2001-01-18 Thread Drew Eckhardt
In message [EMAIL PROTECTED], [EMAIL PROTECTED] m writes: I know we've discussed this before. But I cant believe its a "hardware problem". Standard PIC behavior is to assert IRQ7 when an IRQ line is deasserted before it can be properly latched in. and if you've identified it why is there no

Re: stupid CVS question

2001-01-18 Thread Gordon Tetlow
On Thu, 18 Jan 2001, Peter Pentchev wrote: Never mind, I found the -N option by reading the source. Why oh why is it not documented in the CVS info page :( Probably because it is an option to diff(1) not cvs(1)? It's in the diff(1) man page. -gordon To Unsubscribe: send mail to [EMAIL

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-18 Thread Gordon Tetlow
On Tue, 16 Jan 2001, Michael R. Wayne wrote: Background: We recently had a customer's web site suffer an attempted exploit via one of their cgi scripts. The attempted exploit involved writing a file into /tmp, then invoking inetd with that file to get a root shell on a

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-18 Thread Dag-Erling Smorgrav
Gordon Tetlow [EMAIL PROTECTED] writes: If you are using apache (who isn't?), I highly suggest you look into using suexec. That way bad CGI programming is offloaded to the customer and not to your system. suexec has many weaknesses - amongst other problems, it does not set resource limits;

Re: Device Driver Question (bus_set_resource)

2001-01-18 Thread Mike Smith
I load the driver the first time, and it loads correctly. I unload it and reload it and it attempts to attach twice (with the exact same resource values). I unload and reload it and it attempts to load 3 times, unload/reload ... 4 times (you see the pattern). If I load the second module I

Re: stray irq 7

2001-01-18 Thread Dennis
What exactly is the hardware problem..and if you've identified it why is there no simple workaround after all this time (or is there)? You should read the i8259 datasheet, or the datasheet for any device embedding a macrocell which emulates it, and once you read the section on spurious

Re: stray irq 7

2001-01-18 Thread Mike Smith
What exactly is the hardware problem..and if you've identified it why is there no simple workaround after all this time (or is there)? You should read the i8259 datasheet, or the datasheet for any device embedding a macrocell which emulates it, and once you read the section on spurious

Re: stray irq 7

2001-01-18 Thread Josef Karthauser
On Thu, Jan 18, 2001 at 02:45:34PM -0800, Mike Smith wrote: Ok, so why is this only a problem in FreeBSD 4.x, or better yet, since its a well known problem, why arent they handled more eloquently? I have no idea why it only happens to you with 4.x; the code that does that has been in

Re: stray irq 7

2001-01-18 Thread Michael Raff
Hi This message popped up infrequently on my FreeBSD 3.x as well. It is not specific to 4.x. Now that I run 4.2, I still get the message once in a while. The fact that other OSs don't report the condition does not mean it does not occur. I had a NT box that was slow as hell. I eventually put

Re: stray irq 7

2001-01-18 Thread Mike Smith
Hi This message popped up infrequently on my FreeBSD 3.x as well. It is not specific to 4.x. Now that I run 4.2, I still get the message once in a while. This isn't Dennis' issue; it's simply that he's seeing it on 4.x with hardware that doesn't do it under 3.x. There are so many

Re: stray irq 7

2001-01-18 Thread Mark Newton
On Thu, Jan 18, 2001 at 10:38:31PM +, Josef Karthauser wrote: At the risk of being dragged into this, I've see this kind of behaviour on RELENG_3 also in the past. I have vague memories of it in 386BSD. It's really nothing new at all. - mark -- Mark Newton

Installing X windows along with FreeBSD 4.2

2001-01-18 Thread gerald stoller
I recently installed FreeBSD 4.2 and tried to install X windows along with it, but somehow or other that didn't work. Stuff in the Xf86336 directory of the FreeBSD 4.2 CDROM did get put onto my hard-drive in the XF86336 directory, but I don't know if everything that should

Re: Can I do a make world only for PentiumPro?

2001-01-18 Thread Warner Losh
In message [EMAIL PROTECTED] Micke Josefsson writes: : Is it possible to use my PentiumPro machine to do a 'make buildworld' for a : target machine that only is a 486? When compiling the kernel I can select to : omit 386/486-thingies and optimise the binaries for 686. Can I do the same for : the

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Warner Losh
In message [EMAIL PROTECTED] Josef Karthauser writes: : Hear hear. We had to back out the 'make buildkernel' within PicoBSD : because there was no guarentee that the user had ever done a make : buildworld. Additionally if you do an : env MAKEOBJDIRPREFIX=/usr/myobj make buildkernel : you

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Warner Losh
In message [EMAIL PROTECTED] Neil Blakey-Milner writes: : I've kept on forgetting to apply a patch similar to this one. This patch looks good to me. However, it will fail when you are trying to build accross an upgrade to gcc and/or binutils. Since this is an infrequent event, and since it

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-18 Thread Tony Finch
Dag-Erling Smorgrav [EMAIL PROTECTED] wrote: Gordon Tetlow [EMAIL PROTECTED] writes: If you are using apache (who isn't?), I highly suggest you look into using suexec. That way bad CGI programming is offloaded to the customer and not to your system. suexec has many weaknesses - amongst other

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Josef Karthauser
On Thu, Jan 18, 2001 at 05:36:30PM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] Josef Karthauser writes: : Hear hear. We had to back out the 'make buildkernel' within PicoBSD : because there was no guarentee that the user had ever done a make : buildworld. Additionally if you do

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Warner Losh
In message [EMAIL PROTECTED] Josef Karthauser writes: : On Thu, Jan 18, 2001 at 05:36:30PM -0700, Warner Losh wrote: : In message [EMAIL PROTECTED] Josef Karthauser writes: : : Hear hear. We had to back out the 'make buildkernel' within PicoBSD : : because there was no guarentee that the user

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Dima Dorfman
The other reason to encourage it strongly is that there are too many binary incompatibilities with the kernel interface for some programs, even in -stable, so we'd want to encourage people to build and install both at the same time. I'd imagine that the same sort of argument would apply for

Re: Clustering FreeBSD

2001-01-18 Thread Wes Peters
Uwe Pierau wrote: Jamie Heckford wrote: # Hi, # Does anyone have any details of Open Source, or software included # with FreeBSD that allows the clustering of FreeBSD? Maybe you mean something like this... http://acme.ecn.purdue.edu/index.html ?! Yes! When is somebody going

Re: Clustering FreeBSD

2001-01-18 Thread Russell L. Carter
%Uwe Pierau wrote: % % Jamie Heckford wrote: % # Hi, % # Does anyone have any details of Open Source, or software included % # with FreeBSD that allows the clustering of FreeBSD? % % Maybe you mean something like this... % http://acme.ecn.purdue.edu/index.html % ?! % %Yes! % %When is

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Dan Langille
On 18 Jan 2001, at 20:13, Warner Losh wrote: Still, I don't think it is too onerous a requirement that a buildworld have happened first. I disagree. Unless you qualify the above, you're saying that if I install FreeBSD for the first time, in order to create a custom kernel, I need to make

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Dan Langille
On 18 Jan 2001, at 19:33, Dima Dorfman wrote: Personally, I think that if there's no technical reason why buildkernel can't work without a prior buildworld assuming that the kernel you're building is of the same version that's currently running, trying to explain two different methods to new

Re: Can I do a make world only for PentiumPro?

2001-01-18 Thread Micke Josefsson
On 19-Jan-01 Warner Losh wrote: In message [EMAIL PROTECTED] Micke Josefsson writes: : Is it possible to use my PentiumPro machine to do a 'make buildworld' for a : target machine that only is a 486? When compiling the kernel I can select to : omit 386/486-thingies and optimise the binaries for

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Neil Blakey-Milner
On Thu 2001-01-18 (20:13), Warner Losh wrote: In message [EMAIL PROTECTED] Josef Karthauser writes: : On Thu, Jan 18, 2001 at 05:36:30PM -0700, Warner Losh wrote: : In message [EMAIL PROTECTED] Josef Karthauser writes: : : Hear hear. We had to back out the 'make buildkernel' within PicoBSD

Re: Patch to fix make buildkernel requires full obj directory mistake

2001-01-18 Thread Greg Black
Dan Langille wrote: On 18 Jan 2001, at 20:13, Warner Losh wrote: Still, I don't think it is too onerous a requirement that a buildworld have happened first. I disagree. Unless you qualify the above, you're saying that if I install FreeBSD for the first time, in order to create a