Re: NFS directory copies cause crash

2005-09-16 Thread Don Lewis
On 15 Sep, Damian Gerow wrote: Thus spake Kris Kennaway ([EMAIL PROTECTED]) [15/09/05 21:39]: : Is this something known and being worked on, or should I try to gather some : debugging information? : : The latter..at least a DDB traceback to begin with so we can tell if : it's a known

Re: Sysinstall automatic filesystem size generation.

2005-08-29 Thread Don Lewis
On 29 Aug, Matthias Buelow wrote: Mark Kirkwood wrote: FreeBSD's filesystems are very robust should you lose power. This sentence is completely bogus (or at best: wishful thinking) and should be deleted. It's probably correct if you have hw.ata.wc=0 (and are using IDE drives obviously). I'd

Re: Sysinstall automatic filesystem size generation.

2005-08-29 Thread Don Lewis
On 29 Aug, Matthias Buelow wrote: Don Lewis wrote: I'd like to stress the probably. I've already seen unrepairable filesystem corruption with softupdates enabled in the past with good scsi disks at power loss. Did you remember to disable write caching by setting the WCE mode page bit

Re: Sysinstall automatic filesystem size generation.

2005-08-29 Thread Don Lewis
On 30 Aug, Matthias Buelow wrote: Jon Dama wrote: Ironically, phk backed out the underlying support for this safety fix from the FreeBSD kernel b.c. it wasn't integrated into the softupdates code whereas in reality the proper course of action would have been to hook it in. :-/ Can it be

Re: Sysinstall automatic filesystem size generation.

2005-08-29 Thread Don Lewis
On 29 Aug, Jon Dama wrote: It seems you need to add a layer of indirection. (owing to biodone being called merely when the drive has cached the request). What you know is that those operations marked completed by biodone are in fact done only after a (costly) flush cache operation is

Re: dangerous situation with shutdown process

2005-07-19 Thread Don Lewis
On 18 Jul, Matthias Buelow wrote: Paul Mather [EMAIL PROTECTED] writes: Why would that necessarily be more successful? If the outstanding buffers count is not reducing between time intervals, it is most likely because there is some underlying hardware problem (e.g., a bad block). If the count

Re: dangerous situation with shutdown process

2005-07-19 Thread Don Lewis
On 16 Jul, David Taylor wrote: On Sat, 16 Jul 2005, Matthias Buelow wrote: David Taylor [EMAIL PROTECTED] writes: A corrupted journal can be detected. If it's corrupted, discard the whole thing, or only the relevant entry. The filesystem will remain consistent. If track corruption

Re: dangerous situation with shutdown process

2005-07-19 Thread Don Lewis
On 14 Jul, Matthias Buelow wrote: Kevin Oberman wrote: How can I fix it on my system? SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or the sysctl. You do NOT want to do that. Not only will performance drop brutally (example: drop to 1/5th of normal write speed for

Re: dangerous situation with shutdown process

2005-07-19 Thread Don Lewis
On 14 Jul, Kevin Oberman wrote: Date: Thu, 14 Jul 2005 20:38:15 +0200 From: Anatoliy Dmytriyev [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Hello, everybody! I have found unusual and dangerous situation with shutdown process: I did a copy of 200 GB data on the 870 GB partition

Re: SATA vs SCSI ...

2005-06-28 Thread Don Lewis
On 26 Jun, David Magda wrote: On Jun 26, 2005, at 22:34, Marc G. Fournier wrote: In fact, looking at the SATA 2.x specs, each chanell there is rated at 300MB/s, which, again, if I could 'max out evenly', could seriously blow away the SCSI bus itself ... *If* I'm reading this right ...

Re: SATA vs SCSI ...

2005-06-28 Thread Don Lewis
On 27 Jun, Artem Kuchin wrote: For the last 6 month i really think that if you don't need something high-end scsi then you should go for SATA. There are test on sites such as Tom's hardware guide and ixbt.com. They show then on sequrncial read there is no difference between scsi and sata.

Re: FreeBSD MySQL still WAY slower than Linux

2005-06-17 Thread Don Lewis
On 17 Jun, David Sze wrote: AFAIK, SCSI disks normally have write caching disabled. All the ones that I've encountered in recent years have had write caching enabled. I always have to remember to use camcontrol to disable WCE when I install a new disk.

Re: filesystems not properly unmounted

2005-06-02 Thread Don Lewis
On 2 Jun, Charles Swiger wrote: On Jun 2, 2005, at 4:56 PM, yuval levy wrote: If it's a pain to remeber, maybe try sticking something in rc.shutdown? Thank you for trying to help, but I do not find this reply helpful. That's a quick and dirty fix, not a solution. [ ...car analogy

Re: filesystems not properly unmounted

2005-06-02 Thread Don Lewis
On 3 Jun, Matthias Buelow wrote: Don Lewis wrote: Nope, the ext2fs problem is different. It is caused by ext2fs holding persistent references to disk buffers that causes the kernel shutdown code to to think that not all the dirty buffers have been written to disk and skip unmounting all

Re: Weird NFS problems

2005-05-27 Thread Don Lewis
On 26 May, Skylar Thompson wrote: I'm having some problems with NFS serving on a FreeBSD 5.4-RELEASE machine. The FreeBSD machine is the NFS/NIS server for a group of four Linux clusters. The network archictecture looks like this: 234/24

Re: Weird NFS problems

2005-05-27 Thread Don Lewis
On 26 May, Skylar Thompson wrote: I'm having some problems with NFS serving on a FreeBSD 5.4-RELEASE machine. The FreeBSD machine is the NFS/NIS server for a group of four Linux clusters. The network archictecture looks like this: 234/24

Re: fsck_ufs: cannot alloc 647172276 bytes for inoinfo

2005-05-18 Thread Don Lewis
On 18 May, Einstein Oliveira wrote: Hi, I'm using FreeBSD 5.4-RELEASE-p1 and I found some messages about a problem like this in freebsd-current a few months ago. The fact is that this problem has just ocurred (on 5.4-RELEASE-p1), probably because of a power outage (I didn't find

Re: fsck_ufs: cannot alloc 647172276 bytes for inoinfo

2005-05-18 Thread Don Lewis
On 18 May, Scott Long wrote: Einstein Oliveira wrote: Hi, I'm using FreeBSD 5.4-RELEASE-p1 and I found some messages about a problem like this in freebsd-current a few months ago. The fact is that this problem has just ocurred (on 5.4-RELEASE-p1), probably because of a power outage

Re: kernel killing processes when out of swap

2005-04-12 Thread Don Lewis
On 12 Apr, Dan Nelson wrote: In the last episode (Apr 12), Nick Barnes said: This is the well-known problem with my fantasy world in which the OS doesn't overcommit any resources. All those programs are broken, but it's too costly to fix them. If overcommit had been resisted more

Re: I can not surf on Flash powered sites.

2005-03-07 Thread Don Lewis
On 6 Mar, Don Lewis wrote: Flash 6 sometimes works for me, but sometimes it segfaults. [ snip ] firefox-1.0.1_1,1 linux-flashplugin-6.0r79_2 linuxpluginwrapper-20050119_1 linux_base-8-8.0_6 Here's another stack trace: Program received signal SIGSEGV, Segmentation fault. 0x29fa64d2

Re: I can not surf on Flash powered sites.

2005-03-06 Thread Don Lewis
On 4 Mar, Bartosz Fabianowski wrote: /usr/ports/www/linuxpluginwrapper/pkg-message says: Firefox has a double free problem wih Flash7. So I don't support it. Please don't send me a report about firefox. Of course, I always welcome to recieve fixed problems report. That's kept me

Re: Excessive delays due to syncer kthread

2005-02-26 Thread Don Lewis
On 26 Feb, Peter Jeremy wrote: I am trying to do some video capture and have been losing occasional fields. After adding some debugging code to the kernel, I've found that the problem is excessive latency between the hardware interrupt and the driver interrupt - the hardware can handle about

Re: Disabling write-behind on IDE drives, and SMART

2005-01-21 Thread Don Lewis
On 21 Jan, Erik Trulsson wrote: On Fri, Jan 21, 2005 at 08:31:06AM -0800, Kevin Oberman wrote: For servers that lack solid backup power (not a 10 minute UPS), I would probably turn it off. But for most systems it is probably worth the risks. A 10 minute UPS should be plenty for that

Re: User's cron job creates zombie process on 5.3

2005-01-20 Thread Don Lewis
On 20 Jan, spam maps wrote: Peter Jeremy wrote: My guess is that your ssh process is holding open file descriptors and the cron child process is waiting for these descriptors to close before wait()ing for the child. If this is true, then you should avoid it with something like: (

Re: Don's changes to fsck on 4.x ...

2004-11-06 Thread Don Lewis
On 6 Nov, Marc G. Fournier wrote: Well, finally had a reason to use it, and its running right now ... seems a bit slower in phase 2 then before ... is to be expected? Looking through the patch, it seems that all pass's were affected, so this might be now the norm ... after ~39minutes

Re: Don's changes to fsck on 4.x ...

2004-11-06 Thread Don Lewis
On 7 Nov, Marc G. Fournier wrote: On Sat, 6 Nov 2004, Don Lewis wrote: On 6 Nov, Marc G. Fournier wrote: Well, finally had a reason to use it, and its running right now ... seems a bit slower in phase 2 then before ... is to be expected? Looking through the patch, it seems that all

Re: ffs_alloc panic patch

2004-10-26 Thread Don Lewis
On 27 Aug, Pavel Merdine wrote: Hello, I'd like to propose the following patch: -- --- ffs_alloc.c.origFri May 14 19:03:50 2004 +++ ffs_alloc.c Sat Aug 7 03:36:32 2004 @@ -712,7 +712,7 @@ minbfree = 1;

Re: 4-stable termios diff behaviour lc/lc_r

2004-08-30 Thread Don Lewis
On 30 Aug, Tijl Coosemans wrote: I've done some more testing. It appears that when linked with lc_r, VTIME is completely ignored. As explained in termios(4), when VMIN0, the read call will wait indefinitely for the first byte and then use VTIME as an interbyte timer. When using lc_r

Re: DNS problem

2004-02-02 Thread Don Lewis
On 2 Feb, Kenneth W Cochran wrote: Date: Sun, 1 Feb 2004 12:36:27 -0800 (PST) From: Don Lewis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: DNS problem On 1 Feb, Kovács Péter wrote: Hello, Which server in your organization is acting as a DNS server? The Windows

Re: SSH strangeness on 4.9

2004-01-31 Thread Don Lewis
On 31 Jan, Richard Schilling wrote: I've had similar issues connecting via SSH to a solaris box. I thought it was related to the job I was running on the Solaris box, but never did find the answer. In my case when I exit from the other box the connection seems to hang. The only way to

Re: SYSERR(root) Can not exec /bin/mail: No such file or directory

2004-01-23 Thread Don Lewis
On 23 Jan, pirat wrote: hi sirs, i hvae just noticed that if /usr/src/contrib/sendmail/cf/mailer/local.m4 has a line that says ifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /bin/mail)') will result in error at boot time. i simply change that line to

Re: SYSERR(root) Can not exec /bin/mail: No such file or directory

2004-01-23 Thread Don Lewis
On 23 Jan, pirat wrote: On Friday, 23 January 2004 at 0:04:20 -0800, Don Lewis wrote: Date: Fri, 23 Jan 2004 00:04:20 -0800 (PST) From: Don Lewis [EMAIL PROTECTED] Subject: Re: SYSERR(root) Can not exec /bin/mail: No such file or directory To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED

Re: 4.9 is now available

2003-10-30 Thread Don Lewis
On 30 Oct, Bruce A. Mah wrote: I'm pretty sure we have support for both types of bootable CD-ROMs in the bootstraps and the release building code on both 4.X and 5.X. Anyone who builds their own releases ought to be able to generate either type. It's not a goal of the FreeBSD Project to

Re: malloc does not return null when out of memory

2003-07-23 Thread Don Lewis
On 23 Jul, Brooks Davis wrote: On Thu, Jul 24, 2003 at 12:36:54AM +0200, Matthias Buelow wrote: Barney Wolff writes: One might argue that this is a config error, and ulimit should be used to cut the address space to below actually available memory. Wasn't there a sysctl flag to

Re: Sudden and unexplained reboots

2003-06-05 Thread Don Lewis
On 4 Jun, Bosko Milekic wrote: On Wed, Jun 04, 2003 at 08:13:24PM +0200, Noor Dawod wrote: Hello, I'm having a problem in one of the FreeBSD boxes that I manage. All of a sudden, and for no particular reason, the machine just reboots abruptly. When it loads up again, I cannot see an

Re: more strange problem with broken pipes and ssh

2001-03-03 Thread Don Lewis
On Mar 3, 10:35pm, Mike Tancsa wrote: } Subject: Re: more strange problem with broken pipes and ssh } At 07:18 PM 3/3/2001 -0800, Don Lewis wrote: } I believe the fix is to call "signal(SIGPIPE, SIG_DFL)" in do_exec_pty() } in session.c. } } Well, I just popped this in th

Re: stable breakage ?

2000-10-28 Thread Don Lewis
On Oct 28, 10:49pm, Peter Radcliffe wrote: } Subject: stable breakage ? } cd /usr/src/lib/libncurses; make build-tools } sh /usr/src/lib/libncurses/../../contrib/ncurses/include/MKhashsize.sh /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps hashsize.h } sed

<    1   2