kernel ignores default route?

2012-07-11 Thread Michael R. Wayne
One of my machines is doing something I can not understand and may have uncovered some form of bug. The kernel appears to be ignoring the default route. Had several people look this over, we can't determine where the route is being hidden. This is 7.4-RELEASE-p2. I suspect that rebooting the box

fdisk very confused on 3ware system

2006-07-31 Thread Michael R. Wayne
I am unable to create a new partition on a machine running 6.1-RELEASE-p3 and am beginning to suspect something is wrong in fdisk. If I run sysinstall and go to the partition editor, I get the following, which seems correct: Disk name: twed0 FDISK Partiti

Re: Jail Quotas - quota.user hard link

2006-04-26 Thread Michael R. Wayne
On Wed, Apr 26, 2006 at 06:23:59PM -0400, Charles Sprickman wrote: > > I have a question about using quotas in a jail with FreeBSD 6.x. So far I > have had no problems on a test box with setting quotas from the host using > a numeric UID (ie: edquota -u 2 where UID 2 is a user that only

Infrequent disk system hang on 5.4-RELEASE-p8

2006-02-21 Thread Michael R. Wayne
We have an older server, running 5.4-RELEASE-p8 and used primarily for email, which hangs every couple of weeks. The hang seems to be in the disk I/O system. Based on the times of the hangs, the triggering event seems to be running dump. We have a serial console set up, I broke to the debugger a

Debugging a hanging 5.4 system

2006-01-25 Thread Michael R. Wayne
We've got a system running 5.4-RELEASE-p8 that occasionally hangs while dump is running. I suspect it's something to do with the SCSI controller hanging: ahc0: because the machine remains pingable and I can hit on the serial console and keep getting login prompts until I enter a username at w

Reducing dummynet pipe size hangs system

2005-08-18 Thread Michael R. Wayne
Summary: On an old (4.8p10) machine, substantially reducing the pipe size on a loaded connection causes the system to freeze. Is this a supported feature? Did it usd to be broken? Detail: There's a 4.8p10 machine acting as a firewall (runs only ssh and ipfw rules, hence the la

Re: query cdrw tray

2004-12-17 Thread Michael R. Wayne
On Fri, Dec 17, 2004 at 12:11:52PM -0700, Ed Stover wrote: > > How to I ask the CD burner if it's tray is open or closed? I am creating > a automagical shell script to do semi-unattended backups and need to > figure out how to make sure there is a cd in the tray before I start > burning. Any help

Mergemaster+RCS

2004-01-13 Thread Michael R. Wayne
Although Doug Barton has written a wonderful tool, it has always seemed to have a major deficiency: it completely ignores the existance of RCS files. I've exchanged some email with Doug and he has no interest in adding RCS support to mergemaster. So I did. Doug has mentioned that some people so

Excessive swap usage w/ 4.6

2002-09-06 Thread Michael R. Wayne
After having moved servers from 4.3 and 4.5 to 4.6, we are noticing that swap indicates much higher usage. Today, one of our squid cache servers hit (and stayed at) 50% swap utilization so I decided to do some digging. This machine has 512 MB physical RAM in it and is running FreeBSD 4.5-RELEA

Re: setting quotas _inside_ a jail for users _inside_ a jail

2002-08-30 Thread Michael R. Wayne
On Fri, Aug 30, 2002 at 12:41:54AM -0700, Patrick Thomas wrote: > > I wonder, is it possible for the root user of a jail to set quotas > _inside_ her jail for users _inside_ her jail ? Can anyone simply confirm > or deny that this is possible ? Yes, it is possible. The following procedure (ass

Re: jail man page

2002-05-30 Thread Michael R. Wayne
On Thu, May 30, 2002 at 07:09:27AM -0400, Chris Faulhaber wrote: > On Wed, May 29, 2002 at 11:44:12PM -0400, Michael R. Wayne wrote: > > > > Posted to -hackers in the hope that this can be tweaked in 4.6 RELEASE. > > > > 4.5-RELEASE-p4 > > % man jail

jail man page

2002-05-29 Thread Michael R. Wayne
Posted to -hackers in the hope that this can be tweaked in 4.6 RELEASE. 4.5-RELEASE-p4 % man jail D=/here/is/the/jail cd /usr/src make world DESTDIR=$D ^ | shouldn't that really be make installworld DESTDIR=$D |

Re: quotactl issues [Solved]

2002-04-12 Thread Michael R. Wayne
On Fri, Apr 12, 2002 at 08:15:49AM -0500, mark tinguely wrote: > > I tried to replicate the problem with DDB and QUOTA compiled into the kernel > but could not. Built a test system, ran a bunch of gdb sessions & found the problem. Despite having this: > grep quota /etc/rc.conf enable_quotas="

Re: quotactl issues

2002-04-11 Thread Michael R. Wayne
On Thu, Apr 11, 2002 at 01:48:40PM -0700, Terry Lambert wrote: > "Michael R. Wayne" wrote: > > No replies on this. Nobody has any ideas? > > Nobody has seen it until now. SOMEbody did - that's why they hacked edquota.c! See code fragment below. > > On W

Re: quotactl issues

2002-04-11 Thread Michael R. Wayne
No replies on this. Nobody has any ideas? /\/\ \/\/ On Wed, Apr 10, 2002 at 01:33:21PM -0400, Michael R. Wayne wrote: > > Ported some code that uses quotactl to 4.3 p19 and it fails with EINVAL > when trying to: >quotactl("var/mail", QCMD(Q_GETQUOTA, USRQUOTA), VAL

quotactl issues

2002-04-10 Thread Michael R. Wayne
Ported some code that uses quotactl to 4.3 p19 and it fails with EINVAL when trying to: quotactl("var/mail", QCMD(Q_GETQUOTA, USRQUOTA), VALID_UID, &blk) Looked at the source for edquota on 4.5 RELEASE (what I had handy), and ran a copy of it through gdb, it fails with the same error, then it

Re: Odd ipfw behaviour

2002-02-19 Thread Michael R. Wayne
On Mon, Feb 18, 2002 at 09:31:13AM -0800, Crist J. Clark wrote: > > Do these patches help? Unfortunately, I was called out of town and will not be able to get back to work with my test setup until next week. Will post update then. /\/\ \/\/ To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Odd ipfw behaviour

2002-02-18 Thread Michael R. Wayne
On Mon, Feb 18, 2002 at 05:49:46AM -0800, Crist J. Clark wrote: > What precise version of FreeBSD are you running, BTW? 4.5 RELEASE, as stated in original message. /\/\ \/\/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Odd ipfw behaviour

2002-02-18 Thread Michael R. Wayne
On Sat, Feb 16, 2002 at 12:47:21AM -0800, Crist J. Clark wrote: > On Fri, Feb 15, 2002 at 06:09:51PM -0500, Michael R. Wayne wrote: > > > Using this ipfw rule on ProxyFirewall: > >fwd $(squid-box) log tcp from $(windows-box) to any 80 > > and checking the logs on P

Odd ipfw behaviour

2002-02-15 Thread Michael R. Wayne
ipfw seems to be confused about where to forward packets if no interface is specifically mentioned. Before I file a PR on it, I'd like someone who is more familiar with how ipfw operates to quickly look over my findings. Test setup, showing 2 ethernets with 2 FreeBSD boxes and another machine

Issues with /stand & sysinstall

2002-01-07 Thread Michael R. Wayne
Tried -questions, no response. Verified issue on 4.5 PRERELEASE. Going to /usr/src/release/sysinstall and doing make all make install builds a sysinstall which seems not to include the functionality needed to run as /stand/sh, /stand/fsck and friends. What is the correct way to buil

Re: Processing IP options reveals IPSTEALH router

2001-12-19 Thread Michael R. Wayne
Given the amount of code that IPSTEALTH adds (only a few lines), eliminating it as a compile time option and making it a knob is a win. Also, I know that there is an issue for system using cards from ETinc: enabling IPSTEALTH causes them to panic. ETinc has taken the stand that this feature is

Re: Can TCP changes be put in RELENG_4?

2001-12-06 Thread Michael R. Wayne
On Wed, Dec 05, 2001 at 10:15:30PM -0800, Terry Lambert wrote: > > > and ordinary user will find FreeBSD is slower, could we let user to > > select which kernel to install at installing time? > > It's a possibility that I've considered, given that sysinstall > had a hard time supporting installi

Re: Infrared emitters under FreeBSD

2001-11-26 Thread Michael R. Wayne
On Sun, Nov 25, 2001 at 09:23:21PM -0800, Charles Henrich wrote: > Has anyone out there played with controlling an infrared emitter from a > FreeBSD box? Ideally I'd love to be able to control my satellite receiver > from a remote location, streaming the video out at the same time :) > > So far

Interface alias accounting

2001-02-21 Thread Michael R. Wayne
000 at 05:39:15PM -0400, Michael R. Wayne wrote: > > On Wed, May 17, 2000 at 01:50:13PM -0700, D. W. Piper wrote: > > > Hi folks, > > > > > > I'm trying to find out how to get IP accounting information for web > > > hosting where multiple IPs are alias

Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-16 Thread Michael R. Wayne
Background: We recently had a customer's web site suffer an attempted exploit via one of their cgi scripts. The attempted exploit involved writing a file into /tmp, then invoking inetd with that file to get a root shell on a non-standard port. While the exploit failed, they were

Ethernet de driver problem on 3.5 stable

2000-11-23 Thread Michael R. Wayne
I have run into an issue with the de driver and Dlink quad cards under 3.5 stable. Despite the messages from the driver, claiming to be in full duplex, (see trimmed dmesg output below) it's not. I removed a working Intel fxp card from a system and installed the Dlink quad card. Same cable, sam

Re: Time to close the list?

2000-11-02 Thread Michael R. Wayne
How about simply > 3.Automatically delete all MIME parts /\/\ \/\/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Servers with large amounts of RAM?

2000-02-10 Thread Michael R. Wayne
Is there a good reference URL for configuring FreeBSD with large amounts of RAM? I seem to remember there being "issues" with over 1GB but I don't remember the details and the search engine on www.freebsd.org is currently down. /\/\ \/\/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-21 Thread Michael R. Wayne
On Mon, Dec 20, 1999 at 10:46:37PM -0600, Tim Tsai wrote: > > Best bang for the buck category: HP ProCurve 4000M. 40 switched 10/100 > ports (that's with the chassis half filled). Note that HP's pricing on additional cards is silly. It's cheaper to buy 2 4000Ms and throw the second chassi

Flipping ARP ?

1999-06-02 Thread Michael R. Wayne
Running 3.2 RELEASE, I have 2 fxp cards (one on the motherboard) with two different addresses plugged into the same HP 2424M switch (not broken into seperate VLANs yet). About once an hour, fxp0 seems to steal the arp for fxp1 for one second: Jun 3 00:04:16 sgm1 /kernel: arp: 00:90:27:23:9e:ea

Re: File system gets too fragmented ???

1999-05-27 Thread Michael R. Wayne
On Thu, May 27, 1999 at 07:15:56AM -0700, Don Lewis wrote: > } > } The problem seems to be that with successive updates that slightly change > the > } size of files, or add or delete files, that a large number of unallocated > } fragments are created. Long ago, back when disks were small, slow