[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 tried addr2line
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 blaster, I get
At 02:04 AM 03/20/2001, Mrten Wikstrm 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 likely the
[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
environment to
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
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
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
* 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 GB. We
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
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-STABLE
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 time.
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
: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
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
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 GB.
* 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 at
| |
:
: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],
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 your
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:46 CST
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
|
* 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:
:
:
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
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)
:| 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
: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
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.
|
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)
: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
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
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
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). It
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
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
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 trying
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?
sizeof()
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 of size 0.
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 and
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
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
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
archives) the exception
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
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
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,
and
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 to
* 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 'maxusers' above
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
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
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 patches
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
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
50 matches
Mail list logo