Re: Need advice (server continue dies)

2001-03-27 Thread Peter Pentchev
On Tue, Mar 27, 2001 at 02:09:32PM +0400, Dmitry Samersoff wrote: > Daniel O'Connor wrote: > > > > On 27-Mar-01 Dmitry Samersoff wrote: > > > I also have a kernel crash dump and could post it here if no one can > > > give me a good advice without it ;-))) > > > > If you haven't compiled the ke

Re: Need advice (server continue dies)

2001-03-27 Thread Peter Pentchev
On Tue, Mar 27, 2001 at 05:03:49PM +0400, Dmitry Samersoff wrote: > Peter Pentchev wrote: > > > > On Tue, Mar 27, 2001 at 02:09:32PM +0400, Dmitry Samersoff wrote: > > > Daniel O'Connor wrote: > > > > > > > > On 27-Mar-01 Dmitry Samersoff

Re: accessing ide

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 02:01:54PM +0200, Sandeep Kohli wrote: > hi, > i am writing kinda fdisk program..now when i opened /dev/hda in linux > and tried to lseek to the mbr it worked > but its not working in freebsd when i am trying to access /dev/wd0 > i donot want to use disklabel.h > thanks I

Re: accessing ide

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 05:08:40AM -0800, Julian Elischer wrote: > Ceri Storey wrote: > > > > On Wed, Mar 28, 2001 at 11:36:25AM +0300, Peter Pentchev wrote: > > [...] > > > And btw, another part of your problem could be that FreeBSD > > > has used ad, no

Re: 4.3-RC bug in /usr/bin/netstat

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 03:42:10PM +0200, Jose M. Alcaide wrote: > Jim Mercer wrote: > > > > netstat gets a bus error if handed the -a option and the -i option. > > > > Me too: > > $ uname -v > FreeBSD 4.3-RC #0: Wed Mar 28 15:11:51 CEST 2001 >[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SATURN

Re: 4.3-RC bug in /usr/bin/netstat

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 09:19:04AM -0500, Michael Lucas wrote: > Broken on a few days old -current as well: > > turtledawn~;netstat -ia > Name Mtu Network AddressIpkts IerrsOpkts Oerrs Coll > lp0* 1500 0 00 0 0 > lo0 1

Re: openssl/mdX.h and mdX.h name clashes

2001-04-02 Thread Peter Pentchev
On Mon, Apr 02, 2001 at 05:03:20PM +0700, Max Khon wrote: > hi, there! > > /usr/include/mdX.h and /usr/include/openssl/mdX.h > both declare structures and functions with the same name > (structures are a bit different) and this is a bit troublesome for > applications that want to link with both -

Re: Dynamic routing table (problem solved, was: server continue dies)

2001-04-02 Thread Peter Pentchev
On Mon, Apr 02, 2001 at 02:03:37PM +0400, Dmitry Samersoff wrote: > My servers had died every 12h and I spend lots of time to solve problem, > I hope the result of my work is interesting for community. > > The main reason of server fault is overloading of dynamic routing table > (netstat -nra | g

Re: Who call setitimer( )?

2001-04-09 Thread Peter Pentchev
On Sun, Apr 08, 2001 at 03:07:25AM +0800, ªL­^¶W wrote: > Dear all: > I trace the FreeBSD kernel source , and I can't find program call the > function "setitimer()", > > Is it a callout function to call it ? I will appreciate if anyone give > me some advice setitimer() is defined in s

Re: netinet/accf_http.c usage ?

2001-04-12 Thread Peter Pentchev
On Thu, Apr 12, 2001 at 07:52:39AM +, [EMAIL PROTECTED] wrote: > > Hi, > > I can't seem decipher the functionality of the accf_http.c file in the > netinet directory ... I also couldn't find any documents that describe its > purpose is it an HTTP filter or something like that ? Have yo

Re: Quota reporting is inaccurate.

2001-04-14 Thread Peter Pentchev
On Fri, Apr 13, 2001 at 03:48:28PM -0600, Matt Simerson wrote: > > Another thought is that this user may have had files still open. Even > > if you "remove" a file, it really does not go away until the last open > > handle is closed. > > That seems like the most likely possibility. However, only

Re: vm balance

2001-04-14 Thread Peter Pentchev
On Sat, Apr 14, 2001 at 09:34:26AM -0500, Matthew D. Fuller wrote: > On Thu, Apr 12, 2001 at 02:24:36PM -0700, a little birdie told me > that Matt Dillon remarked > > > > Without vmiodirenable turned on, any directory exceeding > > vfs.maxmallocbufspace becomes extremely expensive to work

Re: Idea about modules build

2001-04-16 Thread Peter Pentchev
On Sat, Apr 14, 2001 at 07:51:31PM +0400, Vladimir B. Grebenschikov wrote: > > I have idea about modules build/install process: > > May be it need to create some makefile variable like KERNEL_MODULES, > that can be defined in /etc/make.conf to limit list of modules > to build/install, it is no

Re: Problem patching libc

2001-04-18 Thread Peter Pentchev
On Wed, Apr 18, 2001 at 09:47:34AM +0300, Vladimir Terziev wrote: > > Hi hackers, > > > I saw the security-advisory about globbing vulnerability in ftpd and I > tryed to patch my FreeBSD 4.0, but I got an error: > > /usr/src/lib/libc/../libc/gen/glob.c: In function `glob': >

Re: Dilemma.

2001-04-19 Thread Peter Pentchev
On Thu, Apr 19, 2001 at 11:31:52AM -0400, Paul Halliday wrote: > Hi. > > I will try to make this quick. I am writting a little monitoring script > in bash and I have run into a little > stumbling block. Basically, one of the checks this program will perform > is to take a fingerprint of the

Re: PCI -> PCMCIA Bridge Adapter

2001-04-23 Thread Peter Pentchev
On Mon, Apr 23, 2001 at 08:25:56PM +0200, Lists Account wrote: > Hi All, > > I just was wondering if anyone out there knew of any drivers that support > the pccard PCI -> PCMCIA bridge adapter, also made by pccard (see > www.pccard.co.uk), similar to the ISA -> PCMICIA bridge adapter that is > cu

Re: Trouble with 4.3-RELEASE compiler

2001-04-28 Thread Peter Pentchev
On Fri, Apr 27, 2001 at 05:15:31PM -0700, David O'Brien wrote: > On Fri, Apr 27, 2001 at 07:40:22PM -0300, Joao Carlos Mendes Luis wrote: > > I was installing a squid server with 4.3-RELEASE, and found that > > FreeBSD has now a bug in the compiler that affects squid. The default > > compilat

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Peter Pentchev
On Mon, May 07, 2001 at 07:24:39PM +0200, Dag-Erling Smorgrav wrote: > Sheldon Hearn <[EMAIL PROTECTED]> writes: > > On 07 May 2001 18:51:22 +0200, Dag-Erling Smorgrav wrote: > > > Yes it will, with -X. The interesting question is why there isn't an > > > option to make it display just one variab

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Peter Pentchev
On Mon, May 07, 2001 at 07:43:39PM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Sheldon Hearn writes: > > > > > >On 07 May 2001 18:51:22 +0200, Dag-Erling Smorgrav wrote: > > > >> Yes it will, with -X. The interesting question is why there isn't an > >> option to make it disp

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Peter Pentchev
On Mon, May 07, 2001 at 07:52:15PM +0200, Dag-Erling Smorgrav wrote: > Peter Pentchev <[EMAIL PROTECTED]> writes: > > How about e.g. 'sysctl -a hw', which still shows *all* MIB's? > > At least on ref5 as of this very moment.. > > Yes, because '-a&#

Re: bin/27205: Listing all users in the passwd file

2001-05-09 Thread Peter Pentchev
I'd think id(1) would be a more proper place, as it already knows how to format various passwd(5) and group(5) information. How about the attached patch? (and I'm probably starting another of those bikesheds as to whether new options should be added to existing utilities..) G'luck, Peter -- T

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

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 rev

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

2001-04-09 Thread Peter Pentchev
On Mon, Apr 09, 2001 at 11:40:43AM -, samrat basuthakur wrote: > let me know about you peoples and your website. Us, we're just a bunch of weenies high on LS^H^HBSD, and the website's www.FreeBSD.org, thanks for your attention :) G'luck, Peter -- I've heard that this sentence is a rumor.

Re: UFS block size vs. write speed

2001-04-24 Thread Peter Pentchev
On Tue, Apr 24, 2001 at 10:43:29AM +0100, Bob Bishop wrote: > Hi, > > At 11:35 24/04/01 +0200, Niek Bergboer wrote: > >[...] > >In fact, I couldn't care less if the allocated blocks contain random > >data (rather than zeros), since I'll be overwriting them immediately. > > You *should* care: the

Re: More PCI->PCMCIA bridge stuff

2001-04-26 Thread Peter Pentchev
On Thu, Apr 26, 2001 at 02:02:40PM +0200, Lists Account wrote: > Hi All > > Ok, the newcard stuff under version 5 picks up my bridge fine, and it > finds my wi0 (orinoco gold card) perfectly, this is all great and I was > rather ecstatic as I watched it boot and tell me all this... > > However t

Re: xargs(1) "replstr" patch

2001-05-14 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

Re: sysctl to disable reboot

2001-05-21 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_DISABL

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

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 chec

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

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

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

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

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

Re: make installworld hacking

2001-06-06 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 th

Re: rpc.statd

2001-06-06 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: ^X^X^Z > >^Z%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 paniced on freebs

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 th

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 wha

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 > #include > #include > > int main(void){ > resetto

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 Th

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

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

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[] = { > >

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

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 functi

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 chara

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 >

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

Re: New c file under netinet6/ is not compiled, help

2001-06-12 Thread Peter Pentchev
On Tue, Jun 12, 2001 at 09:33:59AM +0200, Juan Fco Rodriguez Hervella wrote: > Hi: > > I am trying to create a new option into the KERNEL, but > I dont have experience on it, and when the "make" try to link > the *.o files, it is showed an undefined reference to > a function that is implemented i

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 mo

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

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 f

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

Re: Sysadmin article

2001-06-15 Thread Peter Pentchev
On Fri, Jun 15, 2001 at 09:27:55AM -0700, Ted Faber wrote: > On Fri, Jun 15, 2001 at 01:43:10AM -0400, Brent Verner wrote: > > On 15 Jun 2001 at 00:38 (-0500), Stephen Montgomery-Smith wrote: > > | Mike Silbersack wrote: > > | > Matt's performance manpage covers a lot of this, but is probably not

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

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

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 strin

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

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 ho

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

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 abo

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 tr

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

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 qu

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

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

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 avail

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/libgii>autoconf > configure.in:157: warning: AC_TRY_RUN called without default to allow cross compiling > autoconf: Undefined macros: > configure

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

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 Jord

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

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

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

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

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 ar

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'

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

Re: Weird 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 functio

Re: Weird 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 func

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

Re: flock/pthread bug?

2001-07-19 Thread Peter Pentchev
On Thu, Jul 19, 2001 at 09:46:27AM -0400, Louis-Philippe Gagnon wrote: > Lots of ideas to try (esp. since I don't need FIFO); thanks! > > LPG > > - Original Message - > From: "Terry Lambert" <[EMAIL PROTECTED]> [snip] > > To wrap either, you would need to: > > > > retry: > > st = try_n

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

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 i

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 >

Re: exec() doesn't update access time

2001-07-26 Thread Peter Pentchev
On Thu, Jul 26, 2001 at 12:09:17PM +0100, David Malone wrote: > On Wed, Jul 25, 2001 at 02:25:19PM -0700, David Greenman wrote: > >Guessing, I think the correct fix is probably to set the IN_ACCESS flag in > > ufs_open() [and similarly with other filesystems where this makes sense] if > > the

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

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

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,

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 rath

<    1   2   3   4   5   >