Re: Doubt of system(3)

2001-10-02 Thread Peter Pentchev
On Sat, Sep 29, 2001 at 11:28:39PM +0100, David Taylor wrote: [snip] IMO, the below patch is probably the best solution. Yep, it also fixes the fact that the return value from wait4() needs to be preserved, at least for the return statement of __system(). G'luck, Peter -- yields falsehood,

Re: setjmp/longjmp

2001-10-02 Thread Peter Pentchev
On Mon, Oct 01, 2001 at 10:56:24AM +0930, Greg Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] On Friday, 28 September 2001 at 10:12:14 -0700, Julian Elischer wrote: On Fri, 28 Sep 2001, Gersh wrote: On Fri, 28 Sep 2001, Bernd Walter wrote: On Fri, Sep

Re: Planet

2001-09-27 Thread Peter Pentchev
On Thu, Sep 27, 2001 at 04:44:31PM +0200, Martin Vana wrote: Hi, I tried to rebuilt my kernel with device rl0 (NIC PLANET ENW-9503A based on REALTEK 8139 chip) it has collapsed during make phase. It cannot find files starting with mii* but they are present. Is it that it cannot find the

Does boot1 still have a 1023 cyl limit?

2001-09-14 Thread Peter Pentchev
Hi, A quote from the end of the boot_i386.8 manual page.. IMPORTANT NOTE: Because of limitations imposed by the conventional disk interface provided by the BIOS, all boot-related files and structures (including the kernel) that need to be accessed during the boot phase must reside on

Re: Does boot1 still have a 1023 cyl limit?

2001-09-14 Thread Peter Pentchev
On Fri, Sep 14, 2001 at 09:50:23AM -0700, Mike Smith wrote: A quote from the end of the boot_i386.8 manual page.. IMPORTANT NOTE: Because of limitations imposed by the conventional disk interface provided by the BIOS, all boot-related files and structures (including the kernel)

Re: Question about what programs to use in /etc/rc*

2001-09-10 Thread Peter Pentchev
On Sun, Sep 09, 2001 at 06:06:01PM -0400, Adrian Filipi-Martin wrote: On Sun, 9 Sep 2001, Ulf Zimmermann wrote: These are some examples strings: dhcp dhcp media 10baseTX media 10baseTX dhcp mediaopt half-duplex The following code will get me inside a if condition: if [

Re: Question about what programs to use in /etc/rc*

2001-09-10 Thread Peter Pentchev
On Mon, Sep 10, 2001 at 09:35:24AM -0700, Ulf Zimmermann wrote: On Mon, Sep 10, 2001 at 06:19:54PM +0300, Peter Pentchev wrote: Come to think of it, it might be as easy as: [**UNTESTED**] case ${ifconfig_args}; in [Dd][Hh][Cc][Pp]*) set $ifconfig_args

Re: Kernel-loadable Root Kits

2001-09-08 Thread Peter Pentchev
On Sat, Sep 08, 2001 at 05:43:41AM -0400, Deepak Jain wrote: Short question: Is there a way to prevent the kernel from allowing loadable modules? Run your system in securelevel 1 or higher. See the init(8) manual page and the kern_securelevel_enable and kern_securelevel variables in the

Re: Permissions on /root directory and /etc/mtree/BSD.root.dist

2001-09-07 Thread Peter Pentchev
On Thu, Sep 06, 2001 at 08:23:34PM +0100, void wrote: On Thu, Sep 06, 2001 at 10:30:08AM +0400, Andrey Simonenko wrote: 0700 mode restricts other users from reading /root directory. When root wants to upgrade system he/she run make buildworld, make installworld. But installworld calls

Re: local changes to CVS tree

2001-09-05 Thread Peter Pentchev
On Wed, Sep 05, 2001 at 01:10:27PM +0200, Alexander Langer wrote: Thus spake Kris Kennaway ([EMAIL PROTECTED]): On Wed, Sep 05, 2001 at 09:52:34AM +0300, Giorgos Keramidas wrote: I have it fixed now in my local CVS tree. Hopefully Kris will commit something to fix it soon :-)

Re: virtual consoles

2001-09-03 Thread Peter Pentchev
On Mon, Sep 03, 2001 at 12:04:45PM +0200, Gunnar Olsson wrote: Hi, To increase number of xterms I thought. only the option MAXCONS could be changed. But even though I change it from 16 to 32, I still only get 16. Someone there who can give me I quick answer? I think this is the same

Re: installation problem

2001-08-27 Thread Peter Pentchev
On Sun, Aug 26, 2001 at 11:35:49PM -0700, Rohit Panda wrote: hi , i was using linux and a great fan of it.Then i heard about this wonderful OS called FreeBSD and wanted to try it out.i thought to install it via FTP. My E: drive in my windows machine is the place where i want to

Re: Problems with Squid on 4.4-RC

2001-08-27 Thread Peter Pentchev
On Mon, Aug 27, 2001 at 12:05:39PM +0300, Vladimir Terziev wrote: Hi hackers, I've cvsuped with release tag RELENG_4 and I've considered that I had FreeBSD 4.4-RC. This is not a problem at all, but I've tried to install and run Squid-2.4-STABLE1. It has installed sucsessfuly. I've

Re: your mail

2001-08-25 Thread Peter Pentchev
Now why do I have this uneasy feeling that you just fell for a spammer's email address collection bait.. G'luck, Peter -- If wishes were fishes, the antecedent of this conditional would be true. On Fri, Aug 24, 2001 at 08:42:17AM -0700, Laurence Berland wrote: From now on, please use the

Re: cvsup RELENG_4 = 4.4-RC1 ?

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 01:16:00AM -0700, Kris Kennaway wrote: On Sat, Aug 25, 2001 at 10:10:25AM +0200, Chojin wrote: Hello, I want to know if RELENG_4 will download 4.4-RC1 or lastest 4.3-STABLE files ? Because I don't want to be in 4.4-RC1, too many problems. The latest

Re: function calls/rets in assembly

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 03:44:27PM +0300, Valentin Nechayev wrote: Fri, Aug 24, 2001 at 11:36:45, jhb (John Baldwin) wrote about Re: function calls/rets in assembly: printasint: pushl %ebp movl %esp,%ebp subl $8,%esp addl $-8,%esp [...] Because

Re: cvsup RELENG_4 = 4.4-RC1 ?

2001-08-25 Thread Peter Pentchev
On Sat, Aug 25, 2001 at 10:07:18AM -0500, Conrad Sabatier wrote: On 25-Aug-2001 Peter Pentchev wrote: On Sat, Aug 25, 2001 at 09:45:41AM -0500, Conrad Sabatier wrote: On 25-Aug-2001 Chojin wrote: Hello, I want to know if RELENG_4 will download 4.4-RC1 or lastest 4.3-STABLE

Re: tunable support for ata interrupt sharing

2001-08-22 Thread Peter Pentchev
On Tue, Aug 21, 2001 at 09:41:50PM +0200, Søren Schmidt wrote: It seems Brooks Davis wrote: Attached it a patch to make sharing of the main ata control interrupts dependent on a tunable, hw.ata.shared_irqs. This is required for my new HP Omnibook 500 to use the CMD 648 in the expansion

Re: 4.4-RC NFS panic

2001-08-20 Thread Peter Pentchev
On Mon, Aug 20, 2001 at 12:27:24PM +0100, Walter C. Pelissero wrote: [ it seems my original article didn't get through ] I recently upgraded to 4.4-RC. Now my Vaio panics when I use NFS volumes (as client). The panic is reproducible with a: find /some/NFS/mount/point -type f -exec

Re: Signal Handling

2001-08-17 Thread Peter Pentchev
On Tue, Aug 14, 2001 at 09:11:58PM -0700, brian o'shea wrote: On Tue, Aug 14, 2001 at 07:47:50PM -0700, Hans Zaunere wrote: [...] 2) If a 10k binary is running, the signal is sent, and the program is reloaded from disk, but is 100k (or 1k even) how does the signal handling

Re: Signal Handling

2001-08-17 Thread Peter Pentchev
On Mon, Aug 13, 2001 at 09:09:32AM -0700, Hans Zaunere wrote: In a program that I am working on, I've decided to catch signal 15, which then calls execl() in the handler to reload the program from the on-disk binary. I am able to send it the signal, it reloads, and works fine. However I

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Peter Pentchev
On Tue, Aug 07, 2001 at 09:33:20PM -0700, Brian O'Shea wrote: Hello, I am using a PIII 550MHz UP system running FreeBSD 4.1-RELEASE. It has a 3c905B-TX Fast Etherlink XL card. # ifconfig xl0 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.34.24.62

Re: Ypbind malfunction on 4.x

2001-08-07 Thread Peter Pentchev
I think that there has been quite a lot of work on ypbind recently. Try updating to 4.3-STABLE (actually 4.4-PRERELEASE now), there were several patches in that area in the past week or two. Or alternatively, wait for 4.4-RELEASE about the end of August. G'luck, Peter -- Do you think anybody

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 12:33:40PM +, Eugene L. Vorokov wrote: Hello, I cvsup'ed 5.0-CURRENT yesterday, successfully compiled the kernel and tried to compile the rest. However, when doing make in the lib directory, it stops on libmp. The problem is that libmp uses include files from

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 03:18:28PM +0300, Peter Pentchev wrote: On Mon, Aug 06, 2001 at 12:33:40PM +, Eugene L. Vorokov wrote: Hello, I cvsup'ed 5.0-CURRENT yesterday, successfully compiled the kernel and tried to compile the rest. However, when doing make in the lib directory

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 04:46:22PM +, Eugene L. Vorokov wrote: Er... the OpenSSL sources *are* shipped with FreeBSD. Or at least they should be, if your CVSup is doing the right thing. Are you cvsup'ping the src-all collection, or the subcollections? There is no longer any need

Re: libmp

2001-08-06 Thread Peter Pentchev
On Mon, Aug 06, 2001 at 05:18:49PM +, Eugene L. Vorokov wrote: Hmm yes, it's there. But the snapshot I installed first doesn't have it (why ?). When I installed it manually prior to compiling libs, libmp compiles fine ... Btw, is there any guide of what is the proper order of

Re: Wierd IRQ Routing issues

2001-08-03 Thread Peter Pentchev
On Thu, Aug 02, 2001 at 10:01:25PM +0200, lists wrote: Hi, hoping someone can help me out with something here, because Ive got a very strange problem. On my one pc, when assigning an IRQ to my PCIC device, it assigns an IRQ and continues, works 100% now that I changed device.hints to look

Re: Accessing /dev/klog and similar

2001-08-01 Thread Peter Pentchev
On Mon, Jul 30, 2001 at 02:35:21PM -0700, Kris Kennaway wrote: On Mon, Jul 30, 2001 at 11:50:18AM -0700, Hans Zaunere wrote: Hello, I'm looking to access kernel messages directly from the kernel, and not through syslog if I can help it. Look at how syslogd does it. Or rather, do not

Re: perhaps one of phk's intern projects?

2001-07-28 Thread Peter Pentchev
On Fri, Jul 27, 2001 at 10:58:55AM -0400, Louis A. Mamakos wrote: Matthew Emmerton([EMAIL PROTECTED])@2001.07.26 16:50:52 +: On Thu, 26 Jul 2001, Matthew Jacob wrote: It'd be nice if one could pass a time specification to at in the form of next reboot. -matt

Re: custom release / custom install.cfg

2001-07-28 Thread Peter Pentchev
On Fri, Jul 27, 2001 at 03:45:02PM -0500, crg wrote: hackers: I built my own custom release and created a custom install.cfg file. The file is good because I tested with a FreeBSD 4.3Release. And it partitions my disk and installs the a custom bin distro. Now for my custom release, I

Re: crunched binary oddity

2001-07-26 Thread Peter Pentchev
On Tue, Jul 24, 2001 at 10:14:09AM -0700, Etienne de Bruin wrote: Greetings. I crunchgen'd newfs and linked mount_mfs to it (among many other progs), compiled it with success. And yet when I boot my MFS kernel and try to mount /tmp to mfs, boot_crunch complains that 'mfs' is not compiled

Re: ARP cache problems....

2001-07-26 Thread Peter Pentchev
On Thu, Jul 26, 2001 at 02:11:21PM +0400, Maxim Konovalov wrote: On Thu, 26 Jul 2001, Eugene L. Vorokov wrote: Anybody know how to turn them off ? sysctl net.link.ether.inet.log_arp_wrong_iface ? vel@bugz:/home/vel # sysctl net.link.ether.inet.log_arp_wrong_iface sysctl:

Re: perhaps one of phk's intern projects?

2001-07-26 Thread Peter Pentchev
On Thu, Jul 26, 2001 at 10:20:51AM -0700, Matthew Jacob wrote: It'd be nice if one could pass a time specification to at in the form of next reboot. This could be implemented as a startup script, no? On second thoughts, not quite trivial. It wouldn't be hard to write a separate utility to

Re: MFC FFS dirpref code?

2001-07-22 Thread Peter Pentchev
On Sun, Jul 22, 2001 at 12:01:46PM -0700, Matt Dillon wrote: : : ::could anyone think about MFC FFS dirpref code? ::is it still not enough stable in CURRENT? ::I heard OpenBSD 2.9 has it already. : :Kirk aksed me to do in a month or two ago. It's been on my TODO list :but I

Re: KLD parameters

2001-07-19 Thread Peter Pentchev
Actually, it is implemented - to some extent - in -current via the hints mechanism. There is still some more work to be done, though :) G'luck, Peter -- yields falsehood, when appended to its quotation. yields falsehood, when appended to its quotation. On Thu, Jul 19, 2001 at 03:02:40AM

Re: Weird stdarg.h problem in 4.3-STABLE

2001-07-18 Thread Peter Pentchev
On Wed, Jul 18, 2001 at 07:34:08PM +0200, Sheldon Hearn wrote: Hi folks, I'm busy developing a libdaemon implementation and have come unstuck on a weird problem with functions using variable argument lists in FreeBSD 4.3-STABLE. What I really want is a static inline void function

Re: Weird stdarg.h problem in 4.3-STABLE

2001-07-18 Thread Peter Pentchev
On Wed, Jul 18, 2001 at 08:47:15PM +0300, Peter Pentchev wrote: On Wed, Jul 18, 2001 at 07:34:08PM +0200, Sheldon Hearn wrote: Hi folks, I'm busy developing a libdaemon implementation and have come unstuck on a weird problem with functions using variable argument lists in FreeBSD

Re: Cron program core dumped (signal 11)

2001-07-16 Thread Peter Pentchev
On Mon, Jul 16, 2001 at 06:00:01PM +0200, Chojin wrote: cd /usr/src/usr.sbin/cron make cleandir depend make CFLAGS=-ggdb -g3 STRIP= all install ..then run '/usr/sbin/cron' from the command line, and see if it leaves a coredump in the current directory. If it does, then do the

Re: mail failed, returning to sender

2001-07-15 Thread Peter Pentchev
On Sun, Jul 15, 2001 at 06:36:52AM +0300, Giorgos Keramidas wrote: From: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: mail failed, returning to sender Date: Sun, Jul 15, 2001 at 04:10:41AM +0200 freebsd-hackers-digest Saturday, July 14 2001 Volume 05 : Number 180 Doesn't mail

Re: Fw: help me!!!!

2001-07-12 Thread Peter Pentchev
On Thu, Jul 12, 2001 at 08:28:31PM +0530, srinivasarao wrote: -Original Message- From: srinivasarao [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, July 12, 2001 8:14 PM Subject: help me hi all, i want to compile the seperate folder instead of

Re: Installworld failure!

2001-07-09 Thread Peter Pentchev
On Fri, Jul 06, 2001 at 09:13:08PM +, John Toon wrote: Hi, Ack, make installworld failed! The Makefile seems broken: Dionysus# make installworld mkdir -p /tmp/install.281 for prog in [ awk cat chflags chmod chown date echo egrep find grep install ln make makewhatis mtree mv perl

Re: Installworld failure!

2001-07-09 Thread Peter Pentchev
On Mon, Jul 09, 2001 at 02:58:00PM +0300, Peter Pentchev wrote: On Fri, Jul 06, 2001 at 09:13:08PM +, John Toon wrote: Hi, Ack, make installworld failed! The Makefile seems broken: Dionysus# make installworld mkdir -p /tmp/install.281 for prog in [ awk cat chflags chmod chown

Re: FreeBSD Mall now BSDCentral

2001-07-06 Thread Peter Pentchev
On Fri, Jul 06, 2001 at 12:38:33PM +0200, Noses wrote: In [EMAIL PROTECTED] [EMAIL PROTECTED] (Jordan Hubbard) wrote: Yeesh, you'd think I'd announced my funeral by how some people have taken this whole Apple thing. :-) If so - where will the funeral be held and will there be Jordan soup

Re: LIST_NEXT()

2001-07-06 Thread Peter Pentchev
On Fri, Jul 06, 2001 at 09:48:26AM -0400, Evan Sarmiento wrote: Hello, I'm writing a kernel module, and it involves traversing the proc list searching for the right structure, however, when I use SLIST_NEXT(p, p_list) in the program, I get a warning when I compile it: warning:

Re: Proper use of select() parameter nfds?

2001-07-06 Thread Peter Pentchev
On Fri, Jul 06, 2001 at 09:58:00AM -0400, Matthew Hagerty wrote: Greetings, I am going over the use of select() for a server I'm writing and I *thought* I understood the man page's description for the use of the first parameter, nfds. From MAN: The first nfds descriptors are

Re: Quick question on kgdb

2001-07-02 Thread Peter Pentchev
Possibly dumb question: OK, you specified makeoptions DEBUG=-g in your kernel config file. Did you also run config(8) with the -g option? G'luck, Peter -- The rest of this sentence is written in Thailand, on On Sat, Jun 30, 2001 at 10:59:35PM -0400, [EMAIL PROTECTED] wrote: Both the kernel

Re: autoconf undefined macros

2001-07-02 Thread Peter Pentchev
On Mon, Jul 02, 2001 at 08:30:35AM +0200, Nicolas Souchu wrote: Hi, The 2.13_1 complains about this: ladoga:/usr/home/admin/nsouch/ggi-core/libgiiautoconf configure.in:157: warning: AC_TRY_RUN called without default to allow cross compiling autoconf: Undefined macros:

Re: autoconf undefined macros

2001-07-02 Thread Peter Pentchev
On Mon, Jul 02, 2001 at 01:58:08PM +0200, Nicolas Souchu wrote: On Mon, Jul 02, 2001 at 11:21:11AM +0300, Peter Pentchev wrote: On Mon, Jul 02, 2001 at 08:30:35AM +0200, Nicolas Souchu wrote: Hi, The 2.13_1 complains about this: ladoga:/usr/home/admin/nsouch/ggi-core

Re: Flight of the rat, living wreck.....

2001-06-30 Thread Peter Pentchev
No real knowledge of the ipfw code or the motives behind it here, but just a comment.. On Sat, Jun 30, 2001 at 06:51:33PM +0800, Igor Podlesny wrote: [snip] // so here we start looking through the queue ia != NULL // sanity (I'd have written just (ia)) Yep, just (ia) would

create executable images from core files?

2001-06-30 Thread Peter Pentchev
Hi, While reading the perlrun(1) manpage today, I stumbled upon a reference to an undump utility that could convert a core file into an executable image (arguably much larger than the actual executable text, because it would have to include the data portions, too). Is there anyhing similar

Re: Status of encryption hardware support in FreeBSD

2001-06-29 Thread Peter Pentchev
On Fri, Jun 29, 2001 at 10:55:39AM -0400, [EMAIL PROTECTED] wrote: In a message dated 6/28/01 11:16:31 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Really? Have you even looked at the net4501 board which was mentioned? It's a single-board computer constructed for some

Re: libc_r locking... why?

2001-06-29 Thread Peter Pentchev
On Fri, Jun 29, 2001 at 03:19:47PM +, E.B. Dreger wrote: The threads scheduler is in user space. It converts a blobking call into a non-blocking call plus a context switch. THus blocking _IS_ a problem. Bad wording on my part again; perhaps a problem that I [think that] I have

Re: does data overflow in pipes

2001-06-28 Thread Peter Pentchev
It is also possible that it would only write as much as it can, and return the amount written, leaving it to you to write the rest later. (Uhm.. you do check the return values from write(2), right? :) The relevant source is in src/sys/kern/sys_pipe.c, namely the pipe_write() function. From a

Re: swapping bytes, fpos_t

2001-06-26 Thread Peter Pentchev
On Tue, Jun 26, 2001 at 06:06:59AM -0700, Marc van Woerkom wrote: Oh yes, and I used fpos_t in all parts of libdvdread, that were used for seeking. Is this ugly, should better use the uint64 type burried deep with the machine dependent headers? What is good coding practice here? For

Re: include directive in config(8) (was: Two Junior Kernel Hacker tasks..)

2001-06-25 Thread Peter Pentchev
On Mon, Jun 25, 2001 at 08:27:35AM +0300, Valentin Nechayev wrote: Mon, Jun 25, 2001 at 00:05:36, clefevre-lists (Cyrille Lefevre) wrote about Re: include directive in config(8) (was: Two Junior Kernel Hacker tasks..): how about undef options XXX and undef device XXX, etc. ?

Re: Two Junior Kernel Hacker tasks..

2001-06-24 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 10:44:51PM -0700, John Baldwin wrote: On 23-Jun-01 Peter Pentchev wrote: On Sat, Jun 23, 2001 at 12:23:35PM -0700, Terry Lambert wrote: make buildkernel is rather easy way to work it around: in any case object tree is machine-dependent, and one yet another

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
On Fri, Jun 22, 2001 at 06:39:09PM +0100, j mckitrick wrote: Here is the code for a scsi removable media drive. If this is to become a module, the cam/scsi attachment must be removed. I have tried calling cam_sim_free() and xpt_bus_deregister() but when the module is reloaded, the cam

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
Isn't this what 'camcontrol rescan' is for? G'luck, Peter -- This sentence contains exactly threee erors. On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: But the unit numbers can and do recycle. On Sat, 23 Jun 2001, Peter Pentchev wrote: On Fri, Jun 22, 2001 at 06:39

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 08:09:46PM +0100, j mckitrick wrote: On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: | | But the unit numbers can and do recycle. So the question is then, how can i get it to do that? If 'camcontrol rescan' would do what you want, then look at how it

Re: Two Junior Kernel Hacker tasks..

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 12:23:35PM -0700, Terry Lambert wrote: make buildkernel is rather easy way to work it around: in any case object tree is machine-dependent, and one yet another directory does not destroy anything. ;| The make buildkernel approach sucks for incremental builds,

Re: Two Junior Kernel Hacker tasks..

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 02:03:53PM -0700, Terry Lambert wrote: Peter Pentchev wrote: Terry, this is simply not true. Even in -stable, config(8) is smart enough to try reading the opt_*.h files, and not change them if they already contain the values it is about to write

Re: whois(1) patch for review

2001-06-21 Thread Peter Pentchev
On Thu, Jun 21, 2001 at 04:08:21PM +0300, Alexey Zelkin wrote: hi, I have made few modifications to whois(1) to shut up BDECFLAGS warnings, cleanup code, and add new features. [snip] Resume: with this patch included to add new country's whois server we'll need to add only one string to

Re: Article Network performance by OS

2001-06-18 Thread Peter Pentchev
On Mon, Jun 18, 2001 at 12:34:53PM +0200, Karsten W. Rohrbach wrote: Dag-Erling Smorgrav([EMAIL PROTECTED])@2001.06.17 07:48:27 +: Second, we tried turning write caching on ATA drives off by default, and boy were you (the user community) pissed. Yes, turning wc off shows you just

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-17 Thread Peter Pentchev
On Sun, Jun 17, 2001 at 01:16:20PM +0200, Jeroen Massar wrote: Jordan Hubbard [EMAIL PROTECTED] wrote: I've had several marketing types approach me recently for details as to whether or not Microsoft was using the BSD TCP/IP stack and/or user utilities, and though it's always been common

Re: Sysadmin article

2001-06-15 Thread Peter Pentchev
On Fri, Jun 15, 2001 at 02:09:19AM -0700, Terry Lambert wrote: Mike Silbersack wrote: Rather than a tuned configuration, what would be useful is a script that would evaluate a system and give tuning hints. This might be simple for someone familiar with shell scripting or perl. It could

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-15 Thread Peter Pentchev
With the full knowledge that what I'm saying will probably be of no use, I have a personal friend who is a Microsoft certified developer, with full access to the source code of most Windows versions and other well-known Microsoft apps. He has told me more than once that, yes, the NT TCP/IP stack

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 10:49:11AM +0300, Danny Braniss wrote: I've asked -ports before whether it is suitable to let ports startup scripts honor /etc/rc.conf{,.local} settings by sourcing /etc/defaults/rc.conf and then running a source_rc_confs (or whatever is appropriate). my

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 08:59:16PM +0200, Karsten W. Rohrbach wrote: Peter Pentchev([EMAIL PROTECTED])@2001.06.14 20:19:27 +: OK, and what do I do if I want to manually start/stop the service later, and it needs variables defined in /etc/rc.conf{,local} ? if [ x${_RC_CONF} != x1

Re: Re: import NetBSD rc system [summary]

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 12:03:02PM -0700, David O'Brien wrote: On Thu, Jun 14, 2001 at 10:48:49AM -0700, Jordan Hubbard wrote: I think that since we use CVS around here, we should simply import the Some time tonight I will be vendor importing the NetBSD rc system. (no it will not be

Re: Plan to import NetBSD rc system

2001-06-13 Thread Peter Pentchev
On Wed, Jun 13, 2001 at 11:20:03AM +0300, Danny Braniss wrote: few points to add/concider: I share the /usr/local among many machines, so /usr/local/etc/rc.d is becoming 'problematic', rc.conf should be involved in the decission to run xxx.sh start/stop on other platforms, i've modified

Re: oct() doesn't handle binary strings

2001-06-11 Thread Peter Pentchev
On Sat, Jun 09, 2001 at 08:12:48PM -, [EMAIL PROTECTED] wrote: This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.26 running under perl 5.00503. - [Please enter your report here]

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Thu, Jun 07, 2001 at 10:20:51AM -0700, John Baldwin wrote: On 07-Jun-01 Peter Pentchev wrote: On Thu, Jun 07, 2001 at 07:07:22PM +0300, Peter Pentchev wrote: Hi, Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr with WARNS=2? (or more specifically

Re: problem with systm.h trying to call resettodr()

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 12:47:31PM +0100, Rasputin wrote: I'm playing with resettodr(9), to set the BIOS clock from the system time.. When I try to compile the following snippet, [rasputin@dogma rasputin]$ cat b0rken.c #include sys/time.h #include sys/types.h #include sys/systm.h

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 06:55:50AM -0400, Thomas David Rivers wrote: Peter Pentchev [EMAIL PROTECTED] wrote: On Thu, Jun 07, 2001 at 10:20:51AM -0700, John Baldwin wrote: On 07-Jun-01 Peter Pentchev wrote: On Thu, Jun 07, 2001 at 07:07:22PM +0300, Peter Pentchev wrote: Hi

Re: problem with systm.h trying to call resettodr()

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 01:49:12PM +0100, Rasputin wrote: * Peter Pentchev [EMAIL PROTECTED] [010608 13:35]: On Fri, Jun 08, 2001 at 12:47:31PM +0100, Rasputin wrote: I'm playing with resettodr(9), to set the BIOS clock from the system time.. As others pointed out, resettodr(9

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 08:51:54AM -0400, Thomas David Rivers wrote: GCC complains when I try to initialize the structure with something like: struct validation_fun val_init[] = { {init,valfun_init,0} }; This can be avoided by: struct validation_fun

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 03:02:56PM +0200, Assar Westerlund wrote: Peter Pentchev [EMAIL PROTECTED] writes: GCC complains when I try to initialize the structure with something like: struct validation_fun val_init[] = { {init,valfun_init,0} }; This can

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 03:09:53PM +0200, Assar Westerlund wrote: Peter Pentchev [EMAIL PROTECTED] writes: My explanation was a reply to a suggestion to remove the 'const' in the structure definition. My fault. The code that I should have shown was without the 'const'. With gcc 2.95.3

Re: Access to symbol table(including dynamics) at runtime

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 12:09:39PM -0500, Kevin Day wrote: Is there a simple way that I can lookup a symbol name(by address) during runtime? I know I can exec nm, look up for the address I need, and get local symbols, but it would be really nice if I could get addresses of functions

Re: Wide character support - wchar.h?

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 07:51:08PM +0200, Stefan Hoffmeister wrote: What are the status of / plans for support of select wide character routines, such as the ones declared in wchar.h? Particularly, I am looking for wcsoll, towupper, and towlower - IOW, the whole barrage of wide character

Re: sysKonnect dual gig adapter

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 03:55:55PM -0400, [EMAIL PROTECTED] wrote: In a message dated 06/08/2001 1:28:22 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: 1) Can this be used as a 2 port gigabit NIC? 2) Does this NIC have hardware failover (that is, when power is cut the 2

Re: make installworld hacking

2001-06-07 Thread Peter Pentchev
On Wed, Jun 06, 2001 at 12:42:15PM -0700, Gordon Tetlow wrote: I have a problem, I installed a bunch of machines with a very stripped down set of distributions (bin, man, dict, krb5). I'd like to update the machines, but when I do an installworld, it's going to install a bunch more than that.

Re: rpc.statd

2001-06-07 Thread Peter Pentchev
On Wed, Jun 06, 2001 at 09:39:39PM -0700, Dan Phoenix wrote: Jun 6 18:48:10 www rpc.statd: invalid hostname to sm_stat: ^XF7FFBF^XF7FFBF^ZF7FF BF^ZF7FFBF%8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hnM-^PM-^PM-^PM-^PM-^PM-^PM-^PM-^PM- [snip] this is a message in messages before a kernel

free() and const warnings

2001-06-07 Thread Peter Pentchev
Hi, Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr with WARNS=2? (or more specifically, with -Wcast-qual) G'luck, Peter -- I've heard that this sentence is a rumor. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the

Re: free() and const warnings

2001-06-07 Thread Peter Pentchev
On Thu, Jun 07, 2001 at 07:07:22PM +0300, Peter Pentchev wrote: Hi, Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr with WARNS=2? (or more specifically, with -Wcast-qual) Uhm. OK. So size_t may not be enough to hold a pointer. What is it then - caddr_t? G'luck

Re: Fixing documented bug in env(1)

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 02:03:38AM -0400, Garance A Drosihn wrote: At 9:12 PM -0700 6/1/01, Dima Dorfman wrote: Honestly, I don't care about this all that much. I'll let you and David debate this to your liking. If no consensus develops in the next few days, I'll just commit what I have

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: * Jiangyi Liu [EMAIL PROTECTED] [010601 20:25] wrote: Hi all, After just changing a little in sys/kern/kern_sig.c, how can I rebuild the kernel fast? I think it should not take such a long time as 'make buildkernel'

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 04:31:45AM -0700, Kris Kennaway wrote: On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: * Jiangyi Liu [EMAIL PROTECTED] [010601 20:25] wrote: Hi all, After just changing

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 02:35:32PM +0300, Peter Pentchev wrote: On Sat, Jun 02, 2001 at 04:31:45AM -0700, Kris Kennaway wrote: On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: * Jiangyi Liu [EMAIL PROTECTED

Re: Preliminary Tuning man page (was Re: Benchmarking FreeBSD (was ...))

2001-05-30 Thread Peter Pentchev
On Wed, May 30, 2001 at 10:50:32AM -0400, Michael Adler wrote: Thank you for the tuning page! I and, I fear, others made the mistake of assuming that because SOFTUPDATES is in the kernel that it is automatically enabled for the disks. Nothing printed during boot leads me to believe

Re: cvsup problems

2001-05-28 Thread Peter Pentchev
On Mon, May 28, 2001 at 01:48:10PM +0100, Koster, K.J. wrote: Dear All, Over the past few days I've been getting this error when I make update: ... Checkout ports/www/hypermail/files/patch-docs::Makefile.in Delete ports/www/jakarta-tomcat/files Updater failed: Cannot delete

Re: cvsup problems

2001-05-28 Thread Peter Pentchev
On Mon, May 28, 2001 at 05:04:18AM -0700, Kent Stewart wrote: What am I doing wrong? You need to remove the lines containing jakarta-tomcat in the checkouts.cvs* file /usr/sup/ports-all/ Some people have been able to just rm the port and others have had to also edit the checkouts

Re: gcc (cpp) include search path problem

2001-05-25 Thread Peter Pentchev
On Thu, May 24, 2001 at 05:55:38AM -0400, Brent Verner wrote: 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

Re: technical comparison

2001-05-23 Thread Peter Pentchev
On Wed, May 23, 2001 at 08:17:12AM -0400, Andresen,Jason R. wrote: On Tue, 22 May 2001, Kris Kennaway wrote: On Tue, May 22, 2001 at 10:27:27PM +0300, Nadav Eiron wrote: I ran tests that I think are similar to what Jason ran on identically configured FreeBSD and Linux/ReiserFS

Re: sysctl to disable reboot

2001-05-22 Thread Peter Pentchev
On Tue, May 22, 2001 at 09:43:01AM +0800, David Xu wrote: Hello Jon, Tuesday, May 22, 2001, 12:30:44 AM, you wrote: JP I thought it would be useful to have a sysctl for disabling the JP keyboard reboot sequence. This functionality is currently JP available through the SC_DISABLE_REBOOT

Re: xargs(1) replstr patch

2001-05-15 Thread Peter Pentchev
On Mon, May 14, 2001 at 11:31:53PM -0400, Garance A Drosihn wrote: At 4:09 AM +0200 5/15/01, Cyrille Lefevre wrote: Brian Somers [EMAIL PROTECTED] writes: I'd suggest going ahead and committing it ASAP - before people start ``discussing'' it again :oI from my point of view, it would

Re: xargs(1) replstr patch

2001-05-12 Thread Peter Pentchev
Seconded :) G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? On Sat, May 12, 2001 at 11:04:42AM +0100, Brian Somers wrote: I'd suggest going ahead and committing it ASAP - before people start ``discussing'' it again :oI Feel free to blame me for

Re: adding a new function to libc

2001-05-12 Thread Peter Pentchev
On Sat, May 12, 2001 at 05:05:44PM +0300, Valentin Nechayev wrote: Hello Daniel Hemmerich! [snip] Here strnlen() is used which is non-standard but I saw it in ~4 quite different projects (e.g. Linux kernel) with identical interface and result value; a variant of implementation follows:

Re: kernel size..

2001-05-10 Thread Peter Pentchev
On Thu, May 10, 2001 at 11:51:18AM +0100, vishwanath pargaonkar wrote: Hi, i have free bsd 4.2 stable. i did some changes may be 10-15 lines to kernel source. but thing i am amazed is kernel size. size of kernel.GENERIC is 3258128. but as of my kernel is 13068130 when i cheked it. my

<    1   2   3   4   5   >