Re: Weird PT_DETACH

2001-05-30 Thread Jiangyi Liu
Hi, I tried to use (caddr_t)1 in PT_DETACH, but the code just failed. I'm confused. It just seems the execve is stopped. Maybe I'd read through the kernel source code to figure out where the problem is. Jiangyi [EMAIL PROTECTED] (diman) writes: > Hope your program not named "./test" ??

Re: How to disable software TCP checksumming?

2001-05-30 Thread Brooks Davis
On Wed, May 30, 2001 at 10:04:08PM -0400, Louis A. Mamakos wrote: > The TCP checksum protects more than just the contents of the packet > on the wire; it's also a (somewhat) weak check on the contents > of your packet sitting in memory, and as it's going over the bus > in your computer between mem

Re: How to disable software TCP checksumming?

2001-05-30 Thread Louis A. Mamakos
The TCP checksum protects more than just the contents of the packet on the wire; it's also a (somewhat) weak check on the contents of your packet sitting in memory, and as it's going over the bus in your computer between memory and peripherals and for other end-to-end sorts of issues. Of course

Re: Real "technical comparison"

2001-05-30 Thread Albert D. Cahalan
> This "postmark" test is useless self flagellation. The benchmark tests what it was meant to test: performance on huge directories. > The intent of the "test" is obviously intended to show > certain facts which we all know to be self-evident under > strange load conditions which are patently "

Re: Problem with find -fstype local ?

2001-05-30 Thread Dima Dorfman
Doug Barton <[EMAIL PROTECTED]> writes: > Gang, > > This may be my lack of understanding, but doing 'find / -fstype local' > is > definitely traversing nfs mounted directories for me in -current and > -stable. The man page isn't 100% clear, but it seems to me that it should > not be doing

Submissions Request: FreeBSD Monthly Development Status Report

2001-05-30 Thread Robert Watson
FreeBSD Developers and Contributors, One of the observations made occasionally about the FreeBSD community is that although it has many of the benefits of a centralized development organization, it's hard to get a sense of the architectural direction the project as a whole is taking, as well as l

Re: cvsup.freebsd.org I/O error

2001-05-30 Thread Jason Andresen
Munish Chopra wrote: > > On Wed, May 30, 2001 at 02:45:16PM -0400, Jason Andresen wrote: > > One interesting theory on there was that the drives were overheating and > > somehow damanging themselves. Although this doesn't seem too likely, > > I wonder if it isn't a catalyst. > > > > Truthfully,

Re: cvsup.freebsd.org I/O error

2001-05-30 Thread Munish Chopra
On Wed, May 30, 2001 at 02:45:16PM -0400, Jason Andresen wrote: > Munish Chopra wrote: > > I just finished reading this: > > > > http://www.storagereview.com/jive/sr/thread.jsp?forum=1&thread=13134 > > > > ...it's a message board at a pretty decent storage site. There aren't > > too many great p

Re: too many leases?

2001-05-30 Thread Mike Smith
> Doug> Don't use nqnfs. It sucks. > > Ummm... I'm using a fstab line of: > > raid:/usr /raid nfs rw,-3,-s,-q,-b,-i 0 0 > > ... which should invoke nfsv3? Read the mount_nfs manpage: -q Use the leasing extensions to the NFS Version 3 protocol to main-

Re: mylex raid card problem on 4.2-stable

2001-05-30 Thread Mike Smith
> Hi all, > > We have a quite disapointing problem with a mylex 170 card, which causes > a system crash every 6 hours. > This card is installed in a VA Linux 2240 with 4 18GB drives, configured > in a single RAID 5 pack, running a FreeBSD 4.2-stable system. There are known problems with the 'mly

Re: Real "technical comparison"

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Terry Lambert wrote: > The intent of the "test" is obviously intended to show > certain facts which we all know to be self-evident under > strange load conditions which are patently "unreal". > I would suggest a better test would be to open _at least_ > 250,000 connections t

Re: interesting os comparison charts

2001-05-30 Thread Karsten W. Rohrbach
Karsten W. Rohrbach([EMAIL PROTECTED])@2001.05.29 21:44:03 +: > the author also addresses the typical GENERIC kernel problems on > production machines (NBMCLUSTERS too low,...), anyway it's very s/NBMCLUSTERS/NMBCLUSTERS/ uptime strikes back again ;-) /k -- > question = ( to ) ? be : ! be;

Re: TIP command

2001-05-30 Thread Karsten W. Rohrbach
vishwanath pargaonkar([EMAIL PROTECTED])@2001.05.30 17:13:27 +: > Hi, > tell me how can i connect to remote system by using > tip command. > i have connected two machines by serial line. > i gave tip cuaa0c and it said connected.but how can i > make it to ask for user name. > what shd i enter

Re: cvsup.freebsd.org I/O error

2001-05-30 Thread Jason Andresen
Munish Chopra wrote: > I just finished reading this: > > http://www.storagereview.com/jive/sr/thread.jsp?forum=1&thread=13134 > > ...it's a message board at a pretty decent storage site. There aren't > too many great posts, but what seems to be pretty consistent is that the > problems arise (in

Re: brainstorm: "intermediate" disk caching

2001-05-30 Thread Karsten W. Rohrbach
Matthew Jacob([EMAIL PROTECTED])@2001.05.28 09:54:28 +: > > Ah. You want to reinvent the drum? matt, when i recall it right, someone told me about a paper presented at usenix about logging to a single disk which is exactly the thing that would do the job here. it was, i think, discussed in a

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

2001-05-30 Thread Michael Adler
Now I do. I've not needed to mount anything manually since everything is in /etc/fstab. The output from the mount command during boot goes to the console but, by default, none of the log files. Consequently, soft-updates state is never displayed on a standard configuration except for the me

Re: cvsup.freebsd.org I/O error

2001-05-30 Thread Munish Chopra
On Wed, May 30, 2001 at 11:08:28AM -0400, Brian Reichert wrote: > On Tue, May 29, 2001 at 11:46:04PM -0700, Peter Wemm wrote: > > Mike Silbersack wrote: > > > Unfortunately, it sounds like you're not alone. If you check out various > > > hardware message boards, there are people hopping mad about

Re: too many leases?

2001-05-30 Thread David Gilbert
> "Doug" == Doug Barton <[EMAIL PROTECTED]> writes: Doug> David Gilbert wrote: >> May 29 22:32:22 arbiter /kernel: Nqnfs server, too many leases May >> 29 22:32:52 arbiter last message repeated 5 times >> >> ... what do I increase for this particular complaint? Doug> Don't use nqnfs. It

Re: too many leases?

2001-05-30 Thread Doug Barton
David Gilbert wrote: > > May 29 22:32:22 arbiter /kernel: Nqnfs server, too many leases > May 29 22:32:52 arbiter last message repeated 5 times > > ... what do I increase for this particular complaint? Don't use nqnfs. It sucks. To Unsubscribe: send mail to [EMAIL PROTECTED] with "uns

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

2001-05-30 Thread Munish Chopra
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: cvsup.freebsd.org I/O error

2001-05-30 Thread Matt Dillon
I went through some of those messages myself. I didn't read any IBM technical reps, only marketing dweebs who told people that it was the controller, which is bullshit. PC motherboard controllers do not cause hard read errors on disks. In my case it was a hard-read error on

Re: cvsup.freebsd.org I/O error

2001-05-30 Thread Mike Silbersack
On Wed, 30 May 2001, Brian Reichert wrote: > On Tue, May 29, 2001 at 11:46:04PM -0700, Peter Wemm wrote: > > Sounds like the DTLA series drives.. The biggest piles of junk I've seen!in > > quite a while. > > Could someone give me a pointer to a current discussions concerning > these drives? I'v

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

TIP command

2001-05-30 Thread vishwanath pargaonkar
Hi, tell me how can i connect to remote system by using tip command. i have connected two machines by serial line. i gave tip cuaa0c and it said connected.but how can i make it to ask for user name. what shd i enter in /etc/remote.shd i enter remote system name? pls tell me details abt connectin

Re: How to disable software TCP checksumming?

2001-05-30 Thread Brooks Davis
On Tue, May 29, 2001 at 11:52:15PM -0500, Bob Willcox wrote: > This is probably all well and good, but our adapter is a 10 Gb/s link > and includes hardware CRC (actually two forms of this, LCRC on a per > micropacket [32 byte] basis and ECRC over the entire message). Right > now our goal is to s

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

2001-05-30 Thread Peter Wemm
Terry Lambert wrote: > Mike Silbersack wrote: > > 1. Have the ata driver leave the write cache setting > > alone by default, providing a sysctl which can cause > > disabled or enabled if requested. When the default is > > allowed, put something in dmesg which says "Note: Write > > caching may be

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

2001-05-30 Thread Mike Silbersack
On Wed, 30 May 2001, Terry Lambert wrote: > Mike Silbersack wrote: > > 1. Have the ata driver leave the write cache setting > > alone by default, providing a sysctl which can cause > > disabled or enabled if requested. When the default is > > allowed, put something in dmesg which says "Note: W

Re: cvsup.freebsd.org I/O error

2001-05-30 Thread Brian Reichert
On Tue, May 29, 2001 at 11:46:04PM -0700, Peter Wemm wrote: > Mike Silbersack wrote: > > Unfortunately, it sounds like you're not alone. If you check out various > > hardware message boards, there are people hopping mad about recent IBM > > drives having a high failure rate. :| > > > > But they

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

2001-05-30 Thread Koster, K.J.
Dear All, > > Perhaps there should be a message somewhere prominent > encouraging people to > check whether their drives really have soft updates enabled. > It would also > be useful if something during boot showed whether a mount > would be using soft updates. > Have you typed "mount" at

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

2001-05-30 Thread Michael Adler
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 otherwise and no mention was made of checking the flag using tunefs in /

Re: Weird PT_DETACH

2001-05-30 Thread diman
Hope your program not named "./test" ?? I changed it to /bin/sh and it works just fine. It was hard to debug due to my own proggie bug :) bb. #include #include #include int main() { pid_t pid; if(!(pid=fork())) { /* child */

Re: "find" and "quota" find different amounts of files

2001-05-30 Thread mark tinguely
sometimes quota counts do go off (for example if you quotacheck an active filesystem). another possiblity is that the files have been opened, unlinked, but not yet closed. These files are still open, and correctly counted by the quota system, but not found by find. The only way to test for eithe

Re: Weird PT_DETACH

2001-05-30 Thread diman
If i understand ptrace(2) manual page correctly, you should use ptrace(PT_DETACH,pid,(caddr_t)1,0) instead of ptrace(PT_DETACH,pid,0,0) . BTW you code is *very hard to debug* on my 4.1.1 :) What your uname -a tells you?

too many leases?

2001-05-30 Thread David Gilbert
May 29 22:32:22 arbiter /kernel: Nqnfs server, too many leases May 29 22:32:52 arbiter last message repeated 5 times ... what do I increase for this particular complaint? I gather that the thing that causes this is a rapid scan on the NFS partition that my backup software does (using BRU). ...

RE: Weird PT_DETACH

2001-05-30 Thread Jiangyi Liu
Hi,Sorry I didn't point out that my purpose is just to stop the debugging and leave the subprocess alone. It's supposed after PT_DETACH, the subprocess should continue, but it didn't. That's what I felt weird. Any clue?   Jiangyi- Original Message - From: "diman" <[EMAIL PRO

Re: Weird PT_DETACH

2001-05-30 Thread diman
To attach debugger to a process please use PT_ATTACH request instead of PT_DETACH. Use PT_DETACH to stop debugging a process and leave it alone. On 30 May 2001, Jiangyi Liu wrote: > Hi all, > > The ptrace(2) man page is probably outdated. I used PT_DETACH in the > fol

Weird PT_DETACH

2001-05-30 Thread Jiangyi Liu
Hi all, The ptrace(2) man page is probably outdated. I used PT_DETACH in the following code, but it didn't run ./test. I also tried to use ptrace(PT_DETACH, pid, (caddr_t)1, 0) to detach, but it failed too. BTW, if I omit wait(0) and ptrace(PT_DETACH, ...) in the code, after it runs there is a p

Re: Debuggers for FreeBSD

2001-05-30 Thread Thomas Quinot
Le 2001-05-30, Terry Lambert écrivait : > SoftICE is actually overkill; ddd and gdb are probably best, > unless you are talking protected mode code. For a nice visual debugger, you can also give GVD (GNU Visual Debugger) a try. See: http://libre.act-europe.fr/gvd/ Thomas. -- [EMAIL PROT

Re: smbfs: disconnected servers

2001-05-30 Thread Volker Stolz
In local.freebsd-stable, you wrote: >However, the problems begin when somebody whose share I mounted >decides to switch off his computer: I (obviously) cannot read from the >mountpoint anymore, but there also is _no way_ of forcefully >unmounting the share anymore. Maybe smbfs should be ported t

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

2001-05-30 Thread Kris Kennaway
On Wed, May 30, 2001 at 03:59:59AM -0700, Terry Lambert wrote: > > 1. Have the ata driver leave the write cache setting > > alone by default, providing a sysctl which can cause > > disabled or enabled if requested. When the default is > > allowed, put something in dmesg which says "Note: Write

Re: Debuggers for FreeBSD

2001-05-30 Thread Terry Lambert
"Nickolay A. Kritsky" wrote: > > Hi all. > I am using assembly language to write some useful programs > for my FreeBSD 3.3_release and i need some debugger. I am > not happy with gdb. Can you tell me if there is some Soft-ICE > type debuggers under this OS ? SoftICE is actually overkill; ddd

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

2001-05-30 Thread Terry Lambert
Mike Silbersack wrote: > As to technical arguments for enabling write caching under > uncertain power conditions, I can't come up with any. > (Until the BIO_ORDERED work is done; is anyone actually > working on it?) Apparently IBM has finally released an IDE drive that can do tagged command queue

Problem with find -fstype local ?

2001-05-30 Thread Doug Barton
Gang, This may be my lack of understanding, but doing 'find / -fstype local' is definitely traversing nfs mounted directories for me in -current and -stable. The man page isn't 100% clear, but it seems to me that it should not be doing that. My debugging got as far as determining that the

Re: technical comparison

2001-05-30 Thread Terry Lambert
Andrew Reilly wrote: > On Sat, May 26, 2001 at 07:25:16PM +1000, Andrew Reilly wrote: > > One of my personal mail folders has 4400 messages in it, and > > I've only been collecting that one for a few years. It's not > > millions, but its a few more than the "500" that I've seen some > > discuss h

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

2001-05-30 Thread Terry Lambert
Ed Hudson wrote: > > the cost of soft updates, and the cost of hw.ata.wc=0 > > enclosed is a .jpeg of an xgraph of the following interactive test: [ ... ] > hw.ata.wc=0, soft-updates enables. > hw.ata.wc=0, soft-updates disabled. > hw.ata.wc=1, soft-updates disabled. >

Re: help about a project

2001-05-30 Thread Terry Lambert
Jesús Arnáiz wrote: > > Hi! > > I'm working on a project in which I need to develop and > installer able to install Internet/intranet servers. > > I want to do it compiling FreeBSD binaries and, the program, > only have to copy these on the new system. > > The problem is with some packages lik

Re: technical comparison

2001-05-30 Thread Terry Lambert
Dave Hayes wrote: > You can't make that assumption just yet (although it seems > reasonable). We really don't know exactly what the problem they are > trying to solve is. Network news sites running old versions of > software (as an example, I know someone who still runs CNEWS) have > very clear re

Re: brainstorm: "intermediate" disk caching

2001-05-30 Thread Gordon Tetlow
I'm struck by the old axiom: You can have it fast. You can have it reliable. You can have it cheap. But you can only have 2 of the 3. If you figure out how to get all 3. Call me. -gordon On Mon, 28 May 2001, Wilko Bulte wrote: > On Mon, May 28, 2001 at 04:31:17PM +, E.B. Dreger wrote: > >

Real "technical comparison"

2001-05-30 Thread Terry Lambert
This "postmark" test is useless self flagellation. The intent of the "test" is obviously intended to show certain facts which we all know to be self-evident under strange load conditions which are patently "unreal". We already knew the limitations on putting many files in a directory; the only u