Re: Seeking recommendations for backup system

2001-05-24 Thread Wilko Bulte
On Thu, May 24, 2001 at 08:28:49AM +0700, Olivier Nicole wrote: used with a decent sized tape library, probably LTO based, and FreeBSD 4.3-STABLE. Dunno what LTO is, my Amanda server is FBSD 4.3 Linear Tape Open. Some industry-standard-to-be that wants to replace DLT. -- | / o / / _

Re: Seeking recommendations for backup system

2001-05-24 Thread Matthew Jacob
You should note that there *is* a NetWorker freebsd client for both i386 and alpha. But it's getting moldy. No, no server on FreeBSD yet. I'm seeking recommendation for a backup system (software) that can be used with a decent sized tape library, probably LTO based, and FreeBSD 4.3-STABLE.

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Alexander Langer
Thus spake Ed Hudson ([EMAIL PROTECTED]): for my money, hw.ata.wc=1 soft updates OFF is a better performing choice than hw.ata.wc=0 and soft updates ON. (soft updates are great, but i really dislike the performance stalls that it (or async mode) engenders with big

Re: softc with resource sharing

2001-05-24 Thread Alexander Langer
Thus spake j mckitrick ([EMAIL PROTECTED]): Any devices using the ppbus will end up sharing the hardware port. If i want to access this resource info, should i store it in my local driver's softc structure, or extract it from the parent device (ppbus)? What about bus_alloc_resource()? Or is

gcc (cpp) include search path problem

2001-05-24 Thread Brent Verner
Hi, I'm not sure if this has been the default for gcc/cpp on FBSD for a while but I noticed it since some ports failed to build due to includes (present in /usr/local/include) not being found. Has this changed, or is that port (wget) just broken. IMO, the search path for cpp should

Re: softc with resource sharing

2001-05-24 Thread j mckitrick
On Thu, May 24, 2001 at 11:38:15AM +0200, Alexander Langer wrote: | Thus spake j mckitrick ([EMAIL PROTECTED]): | | Any devices using the ppbus will end up sharing the hardware port. If i want | to access this resource info, should i store it in my local driver's softc | structure, or

modified FreeBSD gateway

2001-05-24 Thread Urban Olsson
Hi all, I have a question regarding modification of a FreeBSD gateway (the Internet gateway for a LAN). What I want to do is to have the gateway pick up the packets, modify the IP-header and resend the packet onto the network. This is a little bit like a NAT but I want to be able to do it

help about a project

2001-05-24 Thread Jesús Arnáiz
Hi! I'm working on a project in which I need to develop an installer able to install Internet/intranet servers. I want to do it compiling FreeBSD binaries and, the program, only have to copy these on the new system. The problem is with some packages like vpopmail which needs to use a UID from

Re: technical comparison

2001-05-24 Thread Andresen,Jason R.
On Thu, 24 May 2001, void wrote: On Wed, May 23, 2001 at 09:20:51AM -0400, Andresen,Jason R. wrote: Why is knowing the file names cheating? It is almost certain that the application will know the names of it's own files (and won't be grepping the entire directory every time it needs

Re: modified FreeBSD gateway

2001-05-24 Thread Bjoern Fischer
Hello Urban, I have a question regarding modification of a FreeBSD gateway (the Internet gateway for a LAN). What I want to do is to have the gateway pick up the packets, modify the IP-header and resend the packet onto the network. This is a little bit like a NAT but I want to be able to do

Re: Seeking recommendations for backup system

2001-05-24 Thread Chris Shenton
[EMAIL PROTECTED] writes: I'm seeking recommendation for a backup system (software) that can be used with a decent sized tape library, probably LTO based, and FreeBSD 4.3-STABLE. I'm sure we could roll our based on freely available tools (eg. Amanda) - but by now I'm used to Tivoli

Re: Device driver questions

2001-05-24 Thread Giorgos Keramidas
[ Removed -questions from Cc: - do we have to cross post? ] On Wed, May 23, 2001 at 10:38:00AM -0700, SJ wrote: --- Alexander Langer [EMAIL PROTECTED] wrote: 3. File naming question: whats the reasoning behind having bus.h and bus_private.hwhats the significance of

Re: technical comparison

2001-05-24 Thread Rik van Riel
On Wed, 23 May 2001, Shannon wrote: On Wed, May 23, 2001 at 10:54:40PM -0300, Rik van Riel wrote: 1. I don't think I've ever seen a Linux distro which has write caching enabled by default. Hell, DMA33 isn't even enabled by default ;) You are talking about controlling the IDE drive

shared versus exclusive lock

2001-05-24 Thread Zhihui Zhang
According to my reading of kern_lock.c, it does support shared lock. However, we are still using LK_EXCLUSIVE mode more often than necessary. If I want to look up a directory or to read a buffer, I should be able to use the LK_SHARED lock. Right now, only few places I have found using LK_SHARED,

Re: technical comparison

2001-05-24 Thread Warner Losh
In message [EMAIL PROTECTED] Jason Andresen writes: : If only FreeBSD could boot from those funky M-Systems flash disks. We boot FreeBSD off of M-Systems flash disks all the time. Don't know what the problem is with your boxes. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with

two general questions

2001-05-24 Thread SJ
Hi, I have a couple of general questions regarding the kernel: I'll appreciate any help whatsoever in this regard. 1) In the ioconf.c file I see an entry for a resource as: { at, RES_STRING, { (long)isa }}, ^^^ Shouldnt (long) be (char*) ? 2) what

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Ted Faber
On Thu, May 24, 2001 at 12:48:02AM -0500, Mike Silbersack wrote: Write caching is now off by default. man ata to see how to turn it back on. U. I setting hw.ata.wc=1 and got: ted:~$ sudo sysctl -w hw.ata.wc=1 sysctl: oid 'hw.ata.wc' is read only I'm assuming that this is because my

No Subject

2001-05-24 Thread Mattias Berge
Hi, I have sme major problems with getting the SMP support to work. My machine is a Compaq Proliant 380D with dual 733 mhz pIII processors. I run FreeBSD 4.3-REL. I have added the two SMP lines in my kernel conf and delöeted the I*86_CPU that I do not need. Then I compiled the kernel and

Re: two general questions

2001-05-24 Thread Peter Wemm
SJ wrote: Hi, I have a couple of general questions regarding the kernel: I'll appreciate any help whatsoever in this regard. 1) In the ioconf.c file I see an entry for a resource as: { at, RES_STRING, { (long)isa }}, ^^^ Shouldnt (long)

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Erik Trulsson
On Thu, May 24, 2001 at 10:18:13AM -0700, Ted Faber wrote: On Thu, May 24, 2001 at 12:48:02AM -0500, Mike Silbersack wrote: Write caching is now off by default. man ata to see how to turn it back on. U. I setting hw.ata.wc=1 and got: ted:~$ sudo sysctl -w hw.ata.wc=1 sysctl: oid

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Ted Faber
On Thu, May 24, 2001 at 07:30:28PM +0200, Erik Trulsson wrote: On Thu, May 24, 2001 at 10:18:13AM -0700, Ted Faber wrote: read-only, a one-liner in the ata man page (that I'm happy to write) would be a good thing. The relevant one-liner from the ata(4) man page is: The following

Re: Device driver questions

2001-05-24 Thread Peter Wemm
SJ wrote: Hi all, I am new to writing device drivers...so please excuse my ignorance. I have a couple of questions regarding that: 1. ioconf.c contains struct config_resource and config_device definitions for declarations in config file. But I noticed that for some devices

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Gordon Tetlow
On Wed, 23 May 2001, Jacques A. Vidrine wrote: You are not the only one. I can appreciate the `neat' factor, but I cringed at the commit. It seems like functionality that would be better put in a separate utility (or port even). It's not like you'd ever want to run the NVT protocol over

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Jacques A. Vidrine
[cc: trimmed] On Thu, May 24, 2001 at 11:10:10AM -0700, Gordon Tetlow wrote: It depends on how you look at it. If you see telnet as a network client, then you cringe at this (I did initially). But when you think about it, all telnet really does is connect to sockets, so why not extend its

Re: technical comparison

2001-05-24 Thread Shannon Hendrix
On Thu, May 24, 2001 at 12:25:59PM -0300, Rik van Riel wrote: On Wed, 23 May 2001, Shannon wrote: On Wed, May 23, 2001 at 10:54:40PM -0300, Rik van Riel wrote: 1. I don't think I've ever seen a Linux distro which has write caching enabled by default. Hell, DMA33 isn't even enabled

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Lyndon Nerenberg
Gordon == Gordon Tetlow [EMAIL PROTECTED] writes: Gordon It depends on how you look at it. If you see telnet as a Gordon network client, then you cringe at this PF_UNIX is a network protocol on par with PF_INET, or any other PF_*. This thread is getting silly. Let's give it a rest.

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Lyndon Nerenberg
Jacques == Jacques A Vidrine [EMAIL PROTECTED] writes: Jacques [1] I think it was Peter who did mention one application Jacques of this (NVT over AF_UNIX), which would be for Jacques communication with `jails'. This is pretty specialized, Jacques and requires a telnet daemon

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Neil Blakey-Milner
On Wed 2001-05-23 (22:08), Jacques A. Vidrine wrote: On Wed, May 23, 2001 at 08:10:20PM -0400, James Howard wrote: I am missing something here. Is there a practical use for this? :) You are not the only one. I can appreciate the `neat' factor, but I cringed at the commit. It seems

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], James Howa rd writes: On Thu, 24 May 2001, Lyndon Nerenberg wrote: As a more general solution I have an inetd that groks AF_UNIX. You would have to add chroot/jail support to it, though, and some would argue that that's making inetd a bit featureful. Right, its

Re: technical comparison

2001-05-24 Thread Greg Black
Andresen,Jason R. wrote: | On Thu, 24 May 2001, void wrote: | | On Wed, May 23, 2001 at 09:20:51AM -0400, Andresen,Jason R. wrote: | | Why is knowing the file names cheating? It is almost certain | that the application will know the names of it's own files | (and won't be grepping the

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Matt Dillon
:Because `all telnet really does is connect to sockets' is patently :false. Check out the nearly 100 RFCs detailing the TELNET protocol. :Almost none of these make much sense to do over UNIX domain sockets :[1]. Huh? Oh yah, *that* protocol. Telnet only does that if the server

Re: technical comparison

2001-05-24 Thread Jason Andresen
Greg Black wrote: Andresen,Jason R. wrote: | This still doesn't make sense to me. It's not like the program is going | to want to do a find on the directory every time it has some data it | wants to put somewhere. I think for the majority of the cases (I'm sure | there are exceptions) an

AF_UNIX for inetd

2001-05-24 Thread Lyndon Nerenberg
I've put up my AF_UNIX patches for inetd at: ftp://orthanc.ab.ca/lyndon/freebsd/inetd.AF_UNIX.patch The indentation is really gross. I did most of the edits with emacs using its default C style. I didn't want to run the source through indent in case the whitespace diffs obscured the real

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Lyndon Nerenberg
Matt == Matt Dillon [EMAIL PROTECTED] writes: Matt But unix-domain sockets are Matt extremely useful in all manner of applications They're also anywhere from 10-400% faster than PF_INET for connections to the localhost (it varies a lot between different UNIX implementations). --lyndon

Re: technical comparison

2001-05-24 Thread Bsdguru
In a message dated 05/23/2001 5:04:36 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Tell them to fire 20K packets/second at the linux box and watch it crumble. Linux has lots of little kludges to make it appear faster on some benchmarks, but from a networking standpoint it

Re: AF_UNIX for inetd

2001-05-24 Thread Matt Dillon
:I've put up my AF_UNIX patches for inetd at: : : ftp://orthanc.ab.ca/lyndon/freebsd/inetd.AF_UNIX.patch : :The indentation is really gross. I did most of the edits with emacs :using its default C style. I didn't want to run the source through :indent in case the whitespace diffs obscured the

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Matt Dillon
:Matt But unix-domain sockets are :Matt extremely useful in all manner of applications : :They're also anywhere from 10-400% faster than PF_INET for connections :to the localhost (it varies a lot between different UNIX :implementations). : :--lyndon What, you don't think we should be

Re: technical comparison

2001-05-24 Thread Terry Lambert
] Terry Lambert writes: ] ] I don't understand the inability to perform the trivial ] design engineering necessary to keep from needing to put ] 60,000 files in one directory. ] ] However, we can take it as a given that people who need ] to do this are incapable of doing computer science.

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-24 Thread Peter Wemm
Matt Dillon wrote: :Matt But unix-domain sockets are :Matt extremely useful in all manner of applications : :They're also anywhere from 10-400% faster than PF_INET for connections :to the localhost (it varies a lot between different UNIX :implementations). : :--lyndon What,

Knob for ATA maximum UDMA?

2001-05-24 Thread Richard Hodges
I was just testing out a new configuration, when I get two of these about an hour apart, and then another today: ts8 /kernel: ad4: READ command timeout tag=0 serv=0 - resetting ts8 /kernel: ata2: resetting devices .. done Needless to say, this is a problem. Here is the boot info: ts8

Fix for ATAPI CDRW problem: MODE_SELECT_BIG - ILLEGAL REQUEST asc=1a

2001-05-24 Thread bpk
I recently acquired a new Yamaha 2100E ATAPI CDRW drive, and encountered this error during the fixation stage with burncd on a FreeBSD 4.3 release system: burncd: ioctl(CDRIOCCLOSEDISK): Input/output error and the kernel complains: acd0: MODE_SELECT_BIG - ILLEGAL REQUEST asc=1a ascq=00

Re: technical comparison

2001-05-24 Thread Terry Lambert
] 1. I don't think I've ever seen a Linux distro which has write ] caching enabled by default. Hell, DMA33 isn't even enabled ] by default ;) ] ] You are talking about controlling the IDE drive cache. ] ] The issue here is write cache in the filesystem code. No. The issue here is the

RE: technical comparison

2001-05-24 Thread Charles Randall
From: Greg Black [mailto:[EMAIL PROTECTED]] And if this imaginary program is going to do that, it's equally easy to use a multilevel directory structure and that will make the life of all users of the system simpler. There's no real excuse for directories with millions (or even thousands) of

Re: Seeking recommendations for backup system

2001-05-24 Thread Chris Dillon
On Thu, 24 May 2001 [EMAIL PROTECTED] wrote: I'm seeking recommendation for a backup system (software) that can be used with a decent sized tape library, probably LTO based, and FreeBSD 4.3-STABLE. I'm sure we could roll our based on freely available tools (eg. Amanda) - but by now I'm

Re: Fix for ATAPI CDRW problem: MODE_SELECT_BIG - ILLEGAL REQUEST asc=1a

2001-05-24 Thread Munish Chopra
On Thu, May 24, 2001 at 03:23:28PM -0700, [EMAIL PROTECTED] wrote: I recently acquired a new Yamaha 2100E ATAPI CDRW drive, and encountered this error during the fixation stage with burncd on a FreeBSD 4.3 release system: burncd: ioctl(CDRIOCCLOSEDISK): Input/output error and the

Re: technical comparison

2001-05-24 Thread Daniel C. Sobral
Shannon Hendrix wrote: You are talking about controlling the IDE drive cache. The issue here is write cache in the filesystem code. 1) IIRC they were talking about hw.ata.wc In a subthread, yeah. I think though, the overall issue is the caching ext2 does that ufs does not. I'm

Re: technical comparison

2001-05-24 Thread Daniel C. Sobral
Jason Andresen wrote: And if this imaginary program is going to do that, it's equally easy to use a multilevel directory structure and that will make the life of all users of the system simpler. There's no real excuse for directories with millions (or even thousands) of files. No,

Re: modified FreeBSD gateway

2001-05-24 Thread Gunther Schadow
Urban Olsson wrote: ... is a little bit like a NAT but I want to be able to do it differently and on my own terms. I guess that this means that I would be forced to rewrite the gateway source-code so it behaves as I want it to. So the problem now is Hmm, certainly you can use the divert(4)

Re: upgrading packages

2001-05-24 Thread Eric Melville
Currently, upgrading packages is more painful than it should be. However, it would not take much work to make things significantly more friendly - 1. pkg_add - when a package is installed, it should check for an older version of itself, and if the new version provides

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Ed Hudson
fyi, here's another hw.ata.wc=1 vs hw.ata.wc=0 comparison: 4.3-RELEASE install, ASUS A7V, 800mhz, hw.ata.wc=0, express install +all, 60gig wd-600b udma100 drive, partitioned as: /8192m swap 1024m /xtra 48023m

FreeBSD/VAX anyone interested?

2001-05-24 Thread Gunther Schadow
Hi, I got some VAXen 6420, big machines. Mine has 6 CPUs. I was planning to boot myself with Ultrix, and then go on with NetBSD. Even NetBSD's port-vax needs some tweaking for my hardware, XMI and BI bus support is blank. I am with FreeBSD forever and FreeBSD has SMP which NetBSD has not. I

Re: technical comparison

2001-05-24 Thread Shannon Hendrix
On Thu, May 24, 2001 at 05:00:44PM -0400, [EMAIL PROTECTED] wrote: Linux has lots of little kludges to make it appear faster on some benchmarks, but from a networking standpoint it cant handle significant network loads. Are you sure this is still true? The 2.4.x series

Re: Device driver questions

2001-05-24 Thread Warner Losh
In message [EMAIL PROTECTED] Alexander Langer writes: : Thus spake SJ ([EMAIL PROTECTED]): : : Hi! : : 1. ioconf.c contains struct config_resource and : config_device definitions for declarations in : config file. But I noticed that for some devices : e.g. device

Re: removing inb()/outb() from devices

2001-05-24 Thread Warner Losh
In message [EMAIL PROTECTED] j mckitrick writes: : I'd like to finalize the newbus work by changing inb()/outb() calls to : bus_space_write calls. Is there a device where this has been partially done : already? I'd like to see the old and new styles, then i would fix the : vpo/imm zip driver

Re: Device driver questions

2001-05-24 Thread Warner Losh
In message [EMAIL PROTECTED] SJ writes: : But still the name private confuses me...according : to : me it should have been bus_public.c. Any comments? Yes. You aren't allowed to use anything that's inside of bus_private.h in your driver. That's why it is called private. Only certain parts of

Re: softc with resource sharing

2001-05-24 Thread Warner Losh
In message [EMAIL PROTECTED] j mckitrick writes: : Any devices using the ppbus will end up sharing the hardware port. If i want : to access this resource info, should i store it in my local driver's softc : structure, or extract it from the parent device (ppbus)? There should be a method for

Re: softc with resource sharing

2001-05-24 Thread Warner Losh
In message [EMAIL PROTECTED] j mckitrick writes: : Well, all of the resources have already been allocated when the ppc device : has been attached. The hardware port and interrupt have already been : reserved and stored in the softc data structure for ppc. All devices : attached to ppc, like

sys/uio.h UIO_MAXIOV hidden inside _KERNEL

2001-05-24 Thread John
Hi, Can someone provide some insight as to why UIO_MAXIOV is hidden inside _KERNEL? #ifdef _KERNEL struct uio { struct iovec *uio_iov; int uio_iovcnt; off_t uio_offset; int uio_resid; enumuio_seg uio_segflg; enumuio_rw

Re: technical comparison

2001-05-24 Thread Ted Faber
On Thu, May 24, 2001 at 04:42:02PM -0600, Charles Randall wrote: From: Greg Black [mailto:[EMAIL PROTECTED]] There's no real excuse for directories with millions (or even thousands) of files. While I agree completely that there's no excuse for

Re: technical comparison

2001-05-24 Thread Shannon Hendrix
On Thu, May 24, 2001 at 10:34:26PM +, Terry Lambert wrote: ] 1. I don't think I've ever seen a Linux distro which has write ] caching enabled by default. Hell, DMA33 isn't even enabled ] by default ;) ] ] You are talking about controlling the IDE drive cache. ] ] The issue

Re: FreeBSD/VAX anyone interested?

2001-05-24 Thread Luigi Rizzo
Hi, I got some VAXen 6420, big machines. Mine has 6 CPUs. I was planning to boot myself with Ultrix, and then go on with NetBSD. Even you need heaters for the winter, right :) cheers luigi To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in

Re: technical comparison

2001-05-24 Thread Andrew Reilly
On Fri, May 25, 2001 at 06:17:33AM +1000, Greg Black wrote: the life of all users of the system simpler. There's no real excuse for directories with millions (or even thousands) of files. One of the things that I've always liked about Unix was that there aren't as many arbitrary limits on

Re: technical comparison

2001-05-24 Thread Greg Black
Andrew Reilly wrote: | On Fri, May 25, 2001 at 06:17:33AM +1000, Greg Black wrote: | the life of all users of the system simpler. There's no real | excuse for directories with millions (or even thousands) of | files. | | [...] | | Nothing in Unix stops you from putting millions of files in

Re: technical comparison

2001-05-24 Thread Andrew Reilly
On 25 May, Greg Black wrote: This is just not true. For the vast majority of the systems that have ever been called Unix, attempting to put millions of files into a directory would be an utter disaster. No ifs or buts. It might be nice if this were different, although I see no good reason

Re: technical comparison

2001-05-24 Thread Greg Black
Andrew Reilly wrote: | You can moan about tree-structured vs relational databases, [...] I can moan about whatever I please -- for instance the fact that you can't be bothered using a mailer that conforms with basic rules. Please figure out how to get a Message-Id header into your mail and

Re: technical comparison

2001-05-24 Thread Jordan Hubbard
Erm, folks? Can anyone please tell me what this has to do with freebsd-hackers any longer? It's been quite a long thread already - have a heart please and take it to -chat. :( Thanks, - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the

Re: FreeBSD/VAX anyone interested?

2001-05-24 Thread Gunther Schadow
Luigi Rizzo wrote: Hi, I got some VAXen 6420, big machines. Mine has 6 CPUs. I was planning to boot myself with Ultrix, and then go on with NetBSD. Even you need heaters for the winter, right :) the 6000s are not that bad. About 600W depending on features. The 11/780, 8000, and 9000

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Doug Barton
Ed Hudson wrote: fyi, here's another hw.ata.wc=1 vs hw.ata.wc=0 comparison: 4.3-RELEASE install, ASUS A7V, 800mhz, hw.ata.wc=0, express install +all, 60gig wd-600b udma100 drive, partitioned as: /8192m swap 1024m

Re: Boot time memory issue

2001-05-24 Thread Valentin Nechayev
Sun, May 20, 2001 at 19:53:29, barry (Barry Lustig) wrote about Boot time memory issue: Do verbose boot (`boot -v') with large SC_HISTORY_SIZE (1000 at least, 2000 at most), and after boot check for SMAP ... lines at the very beginning of the kernel boot log at /dev/console. (They are not