Re: driver: probe not called when smbus child

2001-03-20 Thread Matthew N. Dodd
On Tue, 20 Mar 2001, Willem van Engen wrote: > I'm trying to write a module which should be a child of the smbus. > When I make the driver a child of the isa bus, identify, probe, > and attach functions are properly called. I use the following > code to do that: > DRIVER_MODULE(my, isa, my_dri

Re: SCSI-over-* hacks

2001-03-20 Thread Drew Eckhardt
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: >> - the Linux SCSI generic device (/dev/sg*)? > >We already have a far superior mechanism (/dev/pass*) FWIW, The Linux /dev/sg was implemented as a simple way to send SCSI commands to media changer robots in an MO drive library for a

Re: driver: probe not called when smbus child

2001-03-20 Thread Mike Smith
> I'm trying to write a module which should be a child of the smbus. The smbus probe/attach is broken; you're going to have to fix it before this code will work properly. 8( -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not

Re: Some PCI-related programming things

2001-03-20 Thread Mike Smith
> > > Under linux, PCI stuff is generally done thru set of pci* functions, while > > > under FreeBSD there are ioctls provided by pci driver. I've been doing > > > some code migration from linux to FreeBSD, and got thru most of it, except > > > for things like this one: > > > > You are probably

Re: SCSI-over-* hacks

2001-03-20 Thread Mike Smith
> Hi hackers, > > Has anyone implemented/thought of implementing: > - a CAM transport for ATAPI devices; Yes. It's not a lot of work. > - a CAM transport for USB scanners; No; this wouldn't make much sense, since most USB scanners aren't SCSI devices. > - the Linux SCSI generic device

Re: driver: probe not called when smbus child

2001-03-20 Thread Takanori Watanabe
In message <[EMAIL PROTECTED]>, Willem van Engen $B$5$s$$$o$/(B: >I'm trying to write a module which should be a child of the smbus. >When I make the driver a child of the isa bus, identify, probe, >and attach functions are properly called. I use the following >code to do that: > DRIVER_MODULE

Re: OpenSSH 2.5.1

2001-03-20 Thread Brian F. Feldman
Tomoyuki Murakami <[EMAIL PROTECTED]> wrote: > > >>> In OpenSSH 2.5.1 > >>> I wrote: > > tomoyuki> > tomoyuki> http://www.c-wind.com/~tomo/230-250.diff.gz > correct url is > http://www.c-wind.com/~tomo/230-251.diff.gz > I'm very sorry for this. > > tomoyuki>

Re: gzip's custom i386 asm should be disabled

2001-03-20 Thread Matthew Emmerton
> Since I would imagine a large percentage of FreeBSD users run on i686 > cores, it'd be great to get this pretty significant speed increase into our > tree. I sure hope I'm not the only one with a "lab" of 4 FreeBSD machines that are all 486s or 586s. It would be great to implement these patche

gzip's custom i386 asm should be disabled

2001-03-20 Thread Aaron Smith
gzip's i386 assembly code, activated by default in the FreeBSD source tree, produces poor performance on an i686 core (PPro/P2/P3). This is due to the 'partial register stall' problem, explained in a URL recently brought up on the list, http://www.emulators.com/pentium4.htm. In the course of lear

Re: Debuging kernel crashes

2001-03-20 Thread Gurpratap Virdi
Thanks!! Could you please let me know when it's ready. Virdi - Original Message - From: "Dag-Erling Smorgrav" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Gurpratap Virdi" <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 4:11 PM Subject: Re: Debuging kernel crashes Jeroen Ruigrok

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Alfred Perlstein
* Paul Herman <[EMAIL PROTECTED]> [010320 13:02] wrote: > On Tue, 20 Mar 2001, Matt Dillon wrote: > > > :We have 'vmstat 5' available at http://zoo.ee.ntu.edu.tw/~keichii/ > > :Fresh hot vmstat 1 log at > > :http://zoo.ee.ntu.edu.tw/~keichii/vmstat_1.log > > > > I usually don't increase 'maxu

Re: device driver dev. book

2001-03-20 Thread Alexander Langer
Thus spake avn ([EMAIL PROTECTED]): > >A "Developers Handbook", which will also cover device driver and > >kernel module programming is in work under the leadership of Jeroen > Is there URL for work in progress? :) cvsup the doc tree. You won't find much, though. Alex To Unsubscribe: send mai

Re: GCC Upgrade?

2001-03-20 Thread Alexander N. Kabaev
On 20-Mar-2001 David O'Brien wrote: > On Tue, Mar 20, 2001 at 04:31:06PM -0500, Alexander N. Kabaev wrote: >> I certainly do not see that happening in FreeBSD 4-STABLE any time >> soon. > > It never will. I was trying to tell the same in less definitive words :) >> FreeBSD-CURRENT might switch

Re: driver: probe not called when smbus child

2001-03-20 Thread Willem van Engen
It's currently working as an isa-child, but I'm still wondering if it's the 'clean' way, since I only use smbus commands. - Willem Willem van Engen wrote: > > I'm trying to write a module which should be a child of the smbus. > When I make the driver a child of the isa bus, identify, probe, > a

Re: Question regarding the array of size 0.

2001-03-20 Thread Richard Earnshaw
> In message <[EMAIL PROTECTED]>, Richard Earnsha > w writes: > >You can also do it in c98, provided it is the last element of a structure. > > C99, but it's not spelled as [0], it's spelled as []. So I got fed up of waiting. Whatever, that's the one. R. To Unsubscribe: send mail to [EMAIL P

Re: kernel panic

2001-03-20 Thread Dag-Erling Smorgrav
Peter Pentchev <[EMAIL PROTECTED]> writes: > You could take a look at www.FreeBSD.org/handbook/kerneldebug.html > and provide a bit more details about that crash; at the very least, > a 'where' or 'bt' would be useful. That, and a dmesg, or at least uname -a. DES -- Dag-Erling Smorgrav - [EMAIL

Re: GCC Upgrade?

2001-03-20 Thread Alexander N. Kabaev
On 20-Mar-2001 Titus von Boxberg wrote: > "Alexander N. Kabaev" wrote: >> >> On 19-Mar-2001 Titus von Boxberg wrote: >> > David O'Brien wrote: >> >> >> >> On Mon, Mar 19, 2001 at 02:54:52PM +0100, Titus von Boxberg wrote: >> >> > Since at least aug. 2000 (according to the mailing list >> >> > ar

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Paul Herman
On Tue, 20 Mar 2001, Matt Dillon wrote: > :We have 'vmstat 5' available at http://zoo.ee.ntu.edu.tw/~keichii/ > :Fresh hot vmstat 1 log at > :http://zoo.ee.ntu.edu.tw/~keichii/vmstat_1.log > > I usually don't increase 'maxusers' above 256 myself, but > 512 should be fine. Everything else

Re: GCC Upgrade?

2001-03-20 Thread David O'Brien
On Tue, Mar 20, 2001 at 04:31:06PM -0500, Alexander N. Kabaev wrote: > I certainly do not see that happening in FreeBSD 4-STABLE any time > soon. It never will. > FreeBSD-CURRENT might switch to DWARF2 some day, David O'Brien is > the right person to ask about that. It will happen right after I

Re: Debuging kernel crashes

2001-03-20 Thread Dag-Erling Smorgrav
Jeroen Ruigrok/Asmodai <[EMAIL PROTECTED]> writes: > Please see http://www.freebsd.org/handbook/kerneldebug.html > > If you find any problems with that let us know in -doc and we'll fix the > docs. Actually, I have uncommitted patches to that file. I'll see what I can do about cleaning them up a

Re: Question regarding the array of size 0.

2001-03-20 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, Richard Earnsha w writes: >You can also do it in c98, provided it is the last element of a structure. C99, but it's not spelled as [0], it's spelled as []. -s To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the mes

Re: Question regarding the array of size 0.

2001-03-20 Thread Richard Earnshaw
> > I am getting the following array while trying to compile > > uipc_syscalls.c file. > > > /vobs/atm/netbsd/sys/sys/syscallargs.h", line 30: zero or negative subscript > > This is because the code in syscallargs.h is defining an array of size 0. > > > Can someone pls tell me if it is possible

Re: apache truss readings

2001-03-20 Thread Dag-Erling Smorgrav
Dan Phoenix <[EMAIL PROTECTED]> writes: > [...] Try ktrace instead, it provides much more detailed information. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: GCC Upgrade?

2001-03-20 Thread Titus von Boxberg
"Alexander N. Kabaev" wrote: > > On 19-Mar-2001 Titus von Boxberg wrote: > > David O'Brien wrote: > >> > >> On Mon, Mar 19, 2001 at 02:54:52PM +0100, Titus von Boxberg wrote: > >> > Since at least aug. 2000 (according to the mailing list > >> > archives) the exception handling in base system g++

Re: Question regarding the array of size 0.

2001-03-20 Thread Andrew Brown
On Tue, Mar 20, 2001 at 11:31:40AM -0800, Greywolf wrote: >On Tue, 20 Mar 2001, Shankar Agarwal wrote: > ># Date: Tue, 20 Mar 2001 10:54:35 -0800 ># From: Shankar Agarwal <[EMAIL PROTECTED]> ># To: [EMAIL PROTECTED] ># Cc: bsd hackers <[EMAIL PROTECTED]> ># Subject: Question regarding the array o

Re: Question regarding the array of size 0.

2001-03-20 Thread Farooq Mela
Greywolf wrote: > # struct {\ > # int8_t pad[ (sizeof (register_t) < sizeof (x)) \ > # ? 0 \ > # : sizeof (register_t) - sizeof (x)];\ > I thought ?: were evaluated at run-time, not compile-time? siz

Re: Question regarding the array of size 0.

2001-03-20 Thread Greywolf
On Tue, 20 Mar 2001, Shankar Agarwal wrote: # Date: Tue, 20 Mar 2001 10:54:35 -0800 # From: Shankar Agarwal <[EMAIL PROTECTED]> # To: [EMAIL PROTECTED] # Cc: bsd hackers <[EMAIL PROTECTED]> # Subject: Question regarding the array of size 0. # # Hi All, # I am getting the following array while try

Re: Question regarding the array of size 0.

2001-03-20 Thread Johan Danielsson
John Franklin <[EMAIL PROTECTED]> writes: > > Not in C. > > Actually you can (see below). No you can't. This is from C99: 6.7.5.2 Array declarators Constraints In addition to optional type qualifiers and the keyword static, the [ and ] may delimit an expression or *. If they delimit an expr

Re: Question regarding the array of size 0.

2001-03-20 Thread Chuck McManis
Which is an example of a buffer overrun exploit perhaps? As it has been mentioned there is "C" and there is "ANSI-C" and there is "GCC" and they are not the same language. --Chuck 3/20/01 9:21:27 AM, John Franklin <[EMAIL PROTECTED]> wrote: >struct zero_array { >int header; >int

Re: Question regarding the array of size 0.

2001-03-20 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, John Franklin writes: >On Tue, Mar 20, 2001 at 01:03:21PM -0600, Peter Seebach wrote: >> In message <[EMAIL PROTECTED]>, Shankar Agarwal writes: >> >Can someone pls tell me if it is possible to define an array of size 0. >> Not in C. >Actually you can (see below)

Re: Question regarding the array of size 0.

2001-03-20 Thread John Franklin
On Tue, Mar 20, 2001 at 01:03:21PM -0600, Peter Seebach wrote: > In message <[EMAIL PROTECTED]>, Shankar Agarwal writes: > >Can someone pls tell me if it is possible to define an array of size 0. > > Not in C. Actually you can (see below). It depends on the compiler and how strict you have it c

Re: Question regarding the array of size 0.

2001-03-20 Thread der Mouse
> I am getting the following array while trying to compile > uipc_syscalls.c file. > /vobs/atm/netbsd/sys/sys/syscallargs.h", line 30: zero or negative subscript > This is because the code in syscallargs.h is defining an array of size 0. > Can someone pls tell me if it is possible to define an a

Re: Question regarding the array of size 0.

2001-03-20 Thread Johan Danielsson
Shankar Agarwal <[EMAIL PROTECTED]> writes: > Can someone pls tell me if it is possible to define an array of size > 0. No, but you can with gcc. /Johan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Matt Dillon
:> SWAP is never touched. :) :> :> last pid: 23395; load averages: 2.08, 2.92, 3.60up 0+01:29:58 02:03:27 :> 1529 processes:24 running, 1505 sleeping :> CPU states: 40.5% user, 0.0% nice, 46.4% system, 1.1% interrupt, 12.0% idle :> Mem: 705M Active, 1369M Inact, 332M Wired, 99M Cache,

Re: Question regarding the array of size 0.

2001-03-20 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, Shankar Agarwal writes: >Can someone pls tell me if it is possible to define an array of size 0. Not in C. -s To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Matt Dillon
:If this is a result of the shared memory, then my sysctl should fix it. : :Be aware, that it doesn't fix it on the fly! You must drop and recreate :the shared memory segments. : :better to reboot actually and set the variable before any shm is :allocated. : :-- :-Alfred Perlstein - [[EMAIL PROT

Question regarding the array of size 0.

2001-03-20 Thread Shankar Agarwal
Hi All, I am getting the following array while trying to compile uipc_syscalls.c file. /vobs/atm/netbsd/sys/sys/syscallargs.h", line 30: zero or negative subscript This is because the code in syscallargs.h is defining an array of size 0. The code that is creating problem is #define syscallarg(x)

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 10:38:35AM -0800, Matt Dillon scribbled: | | :| How big is 'lots'? If the shared memory segment is smallish, e.g. | :| less then 64MB, you should be ok. If it is larger then you will | :| have to do some kernel tuning to avoid running out of pmap entries. | :

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread David Scheidt
On Tue, 20 Mar 2001, Michael C . Wu wrote: : :SWAP is never touched. :) Your vmstat output shows page out activity. I can't tell if it's to swap or to file backed memory, but it's happening. You know this isn't happening when your box blows up? : :last pid: 23395; load averages: 2.08, 2.92

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Matt Dillon
:We have 'vmstat 5' available at http://zoo.ee.ntu.edu.tw/~keichii/ :Fresh hot vmstat 1 log at :http://zoo.ee.ntu.edu.tw/~keichii/vmstat_1.log : :-- :+---+ :| [EMAIL PROTECTED] | [EMAIL PROTECTED] | Your vmstat output indi

Re: any decently supported scanner around ?

2001-03-20 Thread Will Andrews
On Tue, Mar 20, 2001 at 06:37:57AM +0100, Luigi Rizzo wrote: > is there any scanner (USB i presume by now) which is decently > supported by FreeBSD, perhaps something that can be driven > using a command line interface rather than SANE or some > other huge piece of software ? > > In the past i ha

Re: apache truss readings

2001-03-20 Thread Alfred Perlstein
* Dan Phoenix <[EMAIL PROTECTED]> [010320 10:41] wrote: > > btw what is err#25 from? man 2 intro -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Matt Dillon
:Another problem is that we have around 4000+ processes accessing :lots of SHM at the same time.. How big is 'lots'? If the shared memory segment is smallish, e.g. less then 64MB, you should be ok. If it is larger then you will have to do some kernel tuning to avoid running out of

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Matt Dillon
:| How big is 'lots'? If the shared memory segment is smallish, e.g. :| less then 64MB, you should be ok. If it is larger then you will :| have to do some kernel tuning to avoid running out of pmap entries. : :This is exactly what happens to us sometimes. We run out of pmap entries.

apache truss readings

2001-03-20 Thread Dan Phoenix
open("./semcache.inc",0,0666)ERR#2 'No such file or directory' open("/website/include/semcache.inc",0,0666) = 5 (0x5) __getcwd(0xbfbf6b90,0x400) = 0 (0x0) open(".",0,00) = 6 (0x6) chdir(0xbfbf6744)

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Alfred Perlstein
* Michael C . Wu <[EMAIL PROTECTED]> [010320 10:27] wrote: > On Tue, Mar 20, 2001 at 10:15:27AM -0800, Matt Dillon scribbled: > | > | :Another problem is that we have around 4000+ processes accessing > | :lots of SHM at the same time.. > | > | How big is 'lots'? If the shared memory segment

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Alfred Perlstein
* Michael C . Wu <[EMAIL PROTECTED]> [010320 10:27] wrote: > On Tue, Mar 20, 2001 at 09:50:51AM -0800, Matt Dillon scribbled: > > sysctl -a always crashes the system. It happens on other similiarly > loaded BBS'es in Taiwan. WHY ARE THERE NO TRACEBACKS BEING POSTED TO THE LISTS? THIS IS THE WH

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Alfred Perlstein
* Matt Dillon <[EMAIL PROTECTED]> [010320 10:16] wrote: > > :Another problem is that we have around 4000+ processes accessing > :lots of SHM at the same time.. > > How big is 'lots'? If the shared memory segment is smallish, e.g. > less then 64MB, you should be ok. If it is larger then

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 10:15:27AM -0800, Matt Dillon scribbled: | | :Another problem is that we have around 4000+ processes accessing | :lots of SHM at the same time.. | | How big is 'lots'? If the shared memory segment is smallish, e.g. | less then 64MB, you should be ok. If it is la

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Alfred Perlstein
* Matt Dillon <[EMAIL PROTECTED]> [010320 10:17] wrote: > : > :How much SHM? Like, what's the combined size of all segments in > :the system? You can make SHM non-pageable which results in a lot > :of saved memory for attached processes. > : > :You want to be after this date and have this file:

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 09:50:51AM -0800, Matt Dillon scribbled: | One thing that comes to mind is that you can smarthost your outgoing | email to another host so the queues don't build up. This should | greatly reduce mail load. In fact, I would recommend offloading email | enti

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 10:09:09AM -0800, Alfred Perlstein scribbled: | * Michael C . Wu <[EMAIL PROTECTED]> [010320 10:01] wrote: | > MRTG Graph at | > http://zoonews.ee.ntu.edu.tw/mrtg/zoo.html | > | > | | > | FreeBSD zoo.ee.ntu.edu.tw 4.2-STABLE FreeBSD 4.2-STABLE | > | #0: Tue Mar 20 11:10:

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Ted Faber
On Tue, Mar 20, 2001 at 12:03:14PM -0600, Michael C . Wu wrote: > On Tue, Mar 20, 2001 at 09:48:37AM -0800, Ted Faber scribbled: > | Forgive me if this is a stupid question, but how much swap is there on > | this machine? Is the combination of the packed MFS and high process > | load exhausting y

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Matt Dillon
: :How much SHM? Like, what's the combined size of all segments in :the system? You can make SHM non-pageable which results in a lot :of saved memory for attached processes. : :You want to be after this date and have this file: : : :Revision 1.3.2.3 / (download) - annotate - [select for diffs],

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Alfred Perlstein
* Michael C . Wu <[EMAIL PROTECTED]> [010320 10:01] wrote: > MRTG Graph at > http://zoonews.ee.ntu.edu.tw/mrtg/zoo.html > > | > | FreeBSD zoo.ee.ntu.edu.tw 4.2-STABLE FreeBSD 4.2-STABLE > | #0: Tue Mar 20 11:10:46 CST 2001 root@:/usr/src/sys/compile/SimFarm i386 > | > | | > system stats a

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 09:48:37AM -0800, Ted Faber scribbled: | On Tue, Mar 20, 2001 at 11:38:18AM -0600, Michael C . Wu wrote: | > On Tue, Mar 20, 2001 at 09:27:17AM -0800, Alfred Perlstein scribbled: | > | * Michael C . Wu <[EMAIL PROTECTED]> [010320 09:11] wrote: | > | > Physical memory is 2.5

Re: tuning a VERY heavily (30.0) loaded scerver

2001-03-20 Thread Michael C . Wu
MRTG Graph at http://zoonews.ee.ntu.edu.tw/mrtg/zoo.html | | FreeBSD zoo.ee.ntu.edu.tw 4.2-STABLE FreeBSD 4.2-STABLE | #0: Tue Mar 20 11:10:46 CST 2001 root@:/usr/src/sys/compile/SimFarm i386 | | | > system stats at | | > http://zoo.ee.ntu.edu.tw/~keichii/ | md0/MFS is used for caching t

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Matt Dillon
:md0/MFS is used for caching the articles that BBS users read. :They often read the same articles over and over again, :and we find that a 128MB MFS/md0 will have 70% hitrate : :When our MFS/md0 fills up after long usage, the box easily :dies. (We crontab clean the mfs, but sometimes the load :sh

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Matt Dillon
One thing that comes to mind is that you can smarthost your outgoing email to another host so the queues don't build up. This should greatly reduce mail load. In fact, I would recommend offloading email entirely if possible... email always hits disks hard. Definitely get rid

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Ted Faber
On Tue, Mar 20, 2001 at 11:38:18AM -0600, Michael C . Wu wrote: > On Tue, Mar 20, 2001 at 09:27:17AM -0800, Alfred Perlstein scribbled: > | * Michael C . Wu <[EMAIL PROTECTED]> [010320 09:11] wrote: > | > Physical memory is 2.5 GB. We do MFS and it croaks/crashes > | > at midnight, our peak load

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 09:27:17AM -0800, Alfred Perlstein scribbled: | * Michael C . Wu <[EMAIL PROTECTED]> [010320 09:11] wrote: | > [Lengthy email, bear with me please, it is quite interesting. | > This box averages 30.0 load with no problems.] | | cool.. | FreeBSD zoo.ee.ntu.edu.tw 4.2-STAB

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread David Scheidt
On Tue, 20 Mar 2001, Michael C . Wu wrote: : :This box is rather a FreeBSD advocacate itself, as you will see why. Indeed. : :It runs an self-wrote PERL SMTP daemon. (Sendmail and Postfix croaks) How do sendmail and postfix croak? How much mail are you transporting? If you really can't use

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Alfred Perlstein
* Michael C . Wu <[EMAIL PROTECTED]> [010320 09:11] wrote: > [Lengthy email, bear with me please, it is quite interesting. > This box averages 30.0 load with no problems.] cool.. > system stats at > http://zoo.ee.ntu.edu.tw/~keichii/ Where's the crashdump/traceback? > Physical memory is 2.5 G

Re: tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Michael C . Wu
On Tue, Mar 20, 2001 at 11:11:44AM -0600, Michael C . Wu scribbled: | system stats at | http://zoo.ee.ntu.edu.tw/~keichii/ | It runs an self-wrote PERL SMTP daemon. (Sendmail and Postfix croaks) | SMTPD pipes the mail to "bbsmail" that delivers the mail to | BBS users. SMTPd averages about $

Re: kernel panic

2001-03-20 Thread Peter Pentchev
You could take a look at www.FreeBSD.org/handbook/kerneldebug.html and provide a bit more details about that crash; at the very least, a 'where' or 'bt' would be useful. After we've seen the 'where' results, it would be easier to isolate the function that caused the panic; then you could use 'up'

tuning a VERY heavily (30.0) loaded server

2001-03-20 Thread Michael C . Wu
[Lengthy email, bear with me please, it is quite interesting. This box averages 30.0 load with no problems.] system stats at http://zoo.ee.ntu.edu.tw/~keichii/ Hello Everyone, I have a friend who admins a very heavily loaded BBS server. (In Taiwan, BBS'es are still very popular, because they

kernel panic

2001-03-20 Thread Thiago Pinto Damas
Look!! GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no war

Re: Easy way to compute memory stats? (procfs?)

2001-03-20 Thread David Scheidt
On Mon, 19 Mar 2001 [EMAIL PROTECTED] wrote: :> :Is there an easy way (from script ideally) to get the following :> :stats: :> : :> :free physical mem (avail ram) :> :> has a reasonable uptime. The VM system will cache things unless :> there's a demand for memory. vm.stats.vm.v_free_count

driver: probe not called when smbus child

2001-03-20 Thread Willem van Engen
I'm trying to write a module which should be a child of the smbus. When I make the driver a child of the isa bus, identify, probe, and attach functions are properly called. I use the following code to do that: DRIVER_MODULE(my, isa, my_driver, my_devclass, 0, 0); But when I put it on the smbus

RE: Routing latency

2001-03-20 Thread Mårten Wikström
[snip] > >For sure the "de" driver might have its own problems, > >but i think a lot of packet drops also depend on the card > >not being properly set for full duplex (which can > >cause collisions and lots of drops). > > > You should initially test mono-directional in a controlled > environme

RE: Routing latency

2001-03-20 Thread Dennis
At 02:04 AM 03/20/2001, Mårten Wikström wrote: >[snip] > > >triggers every second and steals too much cpu. So my > > question is, how can I > > >decrease this routing delay? > > Were you loading the interface, or just passing nominal > > streams? What pps > > did you pass through the box? Most li

Re: Routing latency

2001-03-20 Thread Dennis
At 02:43 AM 03/20/2001, you wrote: > > > I'm using the de driver. Alas, the NICs seems quite old. They are > 21140's. > > > I've only got one 21143. I think there is a 3COM 3c905b in the lab too. > > > Would it be better to use the 21143 + 3com than two 21140s? > > > > definitely : in my packet b

Re: Debuging kernel crashes

2001-03-20 Thread Jeroen Ruigrok/Asmodai
[moved to hackers, since it is more appropriate there than in -net] [net bcc:'d] -On [20010320 07:00], Gurpratap Virdi ([EMAIL PROTECTED]) wrote: >I modified the FreeBSD 4.2 kernel and occasionally the kernel crashes. How >can I determine the line of code that caused the crash? I trie