Re: Tracing Wake on Lan problem?

2009-08-11 Thread Matthew Hagerty
Chris Ruiz wrote: On Tue, Aug 11, 2009 at 10:37 AM, Vincent Hoffman wrote: Matthew Hagerty wrote: Bob Bishop wrote: Hi, On 11 Aug 2009, at 04:55, Matthew Hagerty wrote: I'm trying to get the Wake on Lan feature working on a 7.2-release box. [etc] Yo

Re: Tracing Wake on Lan problem?

2009-08-11 Thread Matthew Hagerty
Vincent Hoffman wrote: Matthew Hagerty wrote: Bob Bishop wrote: Hi, On 11 Aug 2009, at 04:55, Matthew Hagerty wrote: I'm trying to get the Wake on Lan feature working on a 7.2-release box. [etc] You may need to turn WoL on in the BIOS, have a look in the same

Re: Tracing Wake on Lan problem?

2009-08-11 Thread Matthew Hagerty
Bob Bishop wrote: Hi, On 11 Aug 2009, at 04:55, Matthew Hagerty wrote: I'm trying to get the Wake on Lan feature working on a 7.2-release box. [etc] You may need to turn WoL on in the BIOS, have a look in the same place as the LAN boot settings. -- Bob Bishop r...@gid.co.uk I gu

Tracing Wake on Lan problem?

2009-08-10 Thread Matthew Hagerty
Greetings, I'm trying to get the Wake on Lan feature working on a 7.2-release box. I have two Intel NIC's, a Pro/100 and Pro/1000 (82541PI). The Pro/100 worked great right from the start using the generic kernel and was detected by the fxp driver. Using the wol (from ports) on another box

Disk block or sector to file mapping?

2007-06-13 Thread Matthew Hagerty
Greetings, I have a drive that failed and fsck and dump both report the failed sector or block (the term seems to be used interchangeably at times), but how can I find out what file(s) were using that block? I have a file-based backup and I could possibly replace the bad files if I know whic

Re: Hard disk going-bad detection

2006-08-28 Thread Matthew Hagerty
mal content wrote: On 29/08/06, Matthew Hagerty <[EMAIL PROTECTED]> wrote: Greetings, I have a hard drive that every now and then makes a sound like the head is moving from one extreme to the other, then parking. It is hard to explain, kind of a towk-kok-click with a metallic ring to i

Re: Hard disk going-bad detection

2006-08-28 Thread Matthew Hagerty
Eric Anderson wrote: On 08/28/06 21:10, Matthew Hagerty wrote: Greetings, I have a hard drive that every now and then makes a sound like the head is moving from one extreme to the other, then parking. It is hard to explain, kind of a towk-kok-click with a metallic ring to it. If you have

Hard disk going-bad detection

2006-08-28 Thread Matthew Hagerty
Greetings, I have a hard drive that every now and then makes a sound like the head is moving from one extreme to the other, then parking. It is hard to explain, kind of a towk-kok-click with a metallic ring to it. If you have heard a drive do this before, you know the sound. I heard a drive

Re: FreeBSD Crash without Errors, Warnings, or Panics

2006-04-13 Thread Matthew Hagerty
Andrew MacIntyre wrote: Alex Zbyslaw wrote: {...} Several times now I have had Linux servers (and production quality ones, not built by me ones :-)) die in a somewhat similar fashion. In every case the cause has been either a flaky disk or a flaky disk controller, or some combination. I'v

Re: FreeBSD Crash without Errors, Warnings, or Panics

2006-04-13 Thread Matthew Hagerty
e the amr driver from RELENG_6 and try that. Matthew Hagerty wrote: Greetings, I'm running 6.0-RELEASE-p5 on a Toshiba built server: dual Xeon Intel motherboard with a LSILogic MegaRAID (amr0) controller. This machine has been running for about 2 years now, and was very stable until I up

Re: FreeBSD Crash without Errors, Warnings, or Panics

2006-04-13 Thread Matthew Hagerty
Andrew MacIntyre wrote: Alex Zbyslaw wrote: {...} Several times now I have had Linux servers (and production quality ones, not built by me ones :-)) die in a somewhat similar fashion. In every case the cause has been either a flaky disk or a flaky disk controller, or some combination. I'v

Re: FreeBSD Crash without Errors, Warnings, or Panics

2006-04-13 Thread Matthew Hagerty
Alex Zbyslaw wrote: Matthew Hagerty wrote: Can anyone shed some light on this, give me some options to try? What happened to kernel panics and such when there were serious errors going on? The only glimmer of information I have is that *one* time there was an error on the console about

Re: FreeBSD Crash without Errors, Warnings, or Panics

2006-04-13 Thread Matthew Hagerty
John Baldwin wrote: On Thursday 13 April 2006 14:17, Matthew Hagerty wrote: Greetings, I'm running 6.0-RELEASE-p5 on a Toshiba built server: dual Xeon Intel motherboard with a LSILogic MegaRAID (amr0) controller. This machine has been running for about 2 years now, and was very s

FreeBSD Crash without Errors, Warnings, or Panics

2006-04-13 Thread Matthew Hagerty
Greetings, I'm running 6.0-RELEASE-p5 on a Toshiba built server: dual Xeon Intel motherboard with a LSILogic MegaRAID (amr0) controller. This machine has been running for about 2 years now, and was very stable until I updated from 5.3 to 5.4, and now 6.0. The crashing seems to be totally ra

Re: Running a shell script on becoming the CARP master?

2005-11-26 Thread Matthew Hagerty
Dominic Marks wrote: On Saturday 26 November 2005 15:14, Matthew Hagerty wrote: Greetings, Are there any hooks into CARP to run a shell script when a machine becomes the master? Also, is there a way to force a machine to become the master without powering off the current master (for

Re: Running a shell script on becoming the CARP master?

2005-11-26 Thread Matthew Hagerty
David S. Madole wrote: From: "Matthew Hagerty" <[EMAIL PROTECTED]> Are there any hooks into CARP to run a shell script when a machine becomes the master? Also, is there a way to force a machine to become the master without powering off the current master (for example to d

Re: Running a shell script on becoming the CARP master?

2005-11-26 Thread Matthew Hagerty
Dag-Erling Smørgrav wrote: Matthew Hagerty <[EMAIL PROTECTED]> writes: Are there any hooks into CARP to run a shell script when a machine becomes the master? Have you tried using devd to catch the link up / down event on the carp interface? DES I'm not familiar wit

Running a shell script on becoming the CARP master?

2005-11-26 Thread Matthew Hagerty
Greetings, Are there any hooks into CARP to run a shell script when a machine becomes the master? Also, is there a way to force a machine to become the master without powering off the current master (for example to do maintenance on the current master)? Thanks, Matthew _

Modifying code using ata_cmd to FBSD 6.0-Release

2005-11-14 Thread Matthew Hagerty
Greetings, I'm trying to use a AoE (ata over ethernet) EtherDrive (from coraid.com), but their "FreeBSD 6.0" kernel patch seems to have been developed against 6.0 early on, or they just renamed the 5.x patch and hoped no one would notice. Needless to say, the patch fails to compile because t

Re: Causing a process switch to test a theory.

2005-03-21 Thread Matthew Hagerty
Steve Watt wrote: In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: Knowing if Apache could possibly write interleaved logs when writing to a pipe is critical to a program I'm developing which receives log entries from Apache via a pipe. That's another layer of indirection, though. If al

Re: Causing a process switch to test a theory.

2005-03-21 Thread Matthew Hagerty
Zera William Holladay wrote: If you post the section(s) of code in question, then you'll probably elicit some responses. PIPE_BUF is a POSIX defined minimum, so you might grep for sections of code that contain fpathconf(*, _PC_PIPE_BUF) to determine if the programmers took this into consideration.

Causing a process switch to test a theory.

2005-03-20 Thread Matthew Hagerty
Greetings, I posted a similar message earlier, but I think I was too vague to solicit any kind of response. I'm also trying to stay relevant to the forum, but I can only offer the fact that I'm using FreeBSD as my OS of choice. If this is too far removed from being on topic, I apologize in ad

Best way to force a process preempt (for troubleshooting)

2005-03-19 Thread Matthew Hagerty
Greetings, I'm trying to test for the possibility of interleaved data when two more more processes are writing to a pipe and more than PIPE_BUF bytes need to be written. How can I make a situation where this scenario can be caused reliably so I can make my test case, then apply my patch and mak

Best way to force a process preempt (for troubleshooting)

2005-03-18 Thread Matthew Hagerty
Greetings, I'm trying to test for the possibility of interleaved data when two more more processes are writing to a pipe and more than PIPE_BUF bytes need to be written. How can I make a situation where this scenario can be caused reliably so I can make my test case, then apply my patch and make s

Re: Can a pass-by-reference var be assigned to a local var?

2003-07-02 Thread Matthew Hagerty
re, sb2, to *sbp, which is > itself a structure, not a pointer. > > Regards, > > Justin > > On Wednesday, July 2, 2003, at 10:54 AM, Matthew Hagerty wrote: > >> Greetings, >> >> I was looking over the code for the tail command and found something &g

Can a pass-by-reference var be assigned to a local var?

2003-07-02 Thread Matthew Hagerty
Greetings, I was looking over the code for the tail command and found something that seems wrong. Below is the abbreviated code that highlights my concern. Basically, sb is defined in main() and passed to forward() (and reverse()) by reference. Then in forward() sb2 is defined, and finally sb i

Re: kqueue alternative?

2003-06-15 Thread Matthew Hagerty
> Joshua Oreman wrote: >> On Sun, 15 Jun 2003, Matthew Hagerty wrote: >> >>>I'm writing a little application that needs to watch a file that another >>>process is writing to, think 'tail -F'. kqueue and kevent are going to >>>do it for me

kqueue alternative?

2003-06-15 Thread Matthew Hagerty
Greetings, I'm writing a little application that needs to watch a file that another process is writing to, think 'tail -F'. kqueue and kevent are going to do it for me on *BSD, but I'm also trying to support *cough* linux and other UN*X types OSes. >From what I can find on google, the linux comm

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Matthew Hagerty
> In the last episode (Jun 02), Matthew Hagerty said: >> I'm writing a server that receives data via a named pipe (FIFO) and >> will always have more than one other process sending data to it, and >> I'm concerned with preventing data multiplexing. The data com

Are write() calls guaranteed atomic?

2003-06-03 Thread Matthew Hagerty
Greetings, I'm writing a server that receives data via a named pipe (FIFO) and will always have more than one other process sending data to it, and I'm concerned with preventing data multiplexing. The data coming in will be lines of text delimited with a newline, but the processes writing the dat

To determine if a file has grown?

2001-08-27 Thread Matthew Hagerty
Greetings, Is there a fast and/or efficient way to determine if a file size has changed without reopening the file every time? I'm writing a program that needs to open a file and watch it to see when data gets written to the file (from an external source or another part of the same program),

Proper use of select() parameter nfds?

2001-07-06 Thread Matthew Hagerty
Greetings, I am going over the use of select() for a server I'm writing and I *thought* I understood the man page's description for the use of the first parameter, nfds. From MAN: The first nfds descriptors are checked in each set; i.e., the descriptors from 0 through nfds-1 in the descript

Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)

2001-06-18 Thread Matthew Hagerty
As I understand the BSD license anyone can use it, however, they must say that they are using it, no? So if MS is using TCP/IP code (or any other code from FreeBSD), are they not in violation of the license by not including such a clause in their license or documentation? What am I missing h

Re: Article: Network performance by OS

2001-06-16 Thread Matthew Hagerty
lso tried Solaris, Linux, BSDI, Windows, and NetBSD, but I keep coming back to FreeBSD. One day I hope to be able to contribute my share as well. Thanks, Matthew At 02:42 PM 6/16/2001 -0400, Matthew Hagerty wrote: >Greetings, > >Here is a surprisingly unbiased article comparing OSes

Article: Network performance by OS

2001-06-16 Thread Matthew Hagerty
Greetings, Here is a surprisingly unbiased article comparing OSes running hard core network apps. The results are kind of disturbing, with FreeBSD (4.2) coming in last against Linux (RH), Win2k, and Solaris (Intel). http://www.sysadminmag.com/articles/2001/0107/0107a/0107a.htm The tests were

Re: ld static search path?

2000-07-11 Thread Matthew Hagerty
At 03:16 PM 7/11/00 -0400, Will Andrews wrote: >On Tue, Jul 11, 2000 at 02:55:51PM -0400, Matthew Hagerty wrote: > > Could someone tell me how I can find out what the *static* search path for > > ld is? Also, how can I add my own directories to the static search path? >

Re: ld static search path?

2000-07-11 Thread Matthew Hagerty
At 03:24 PM 7/11/00 -0400, Chris D. Faulhaber wrote: >On Tue, 11 Jul 2000, Matthew Hagerty wrote: > > > Greetings, > > > > I posted this to questions, but have not received any reply. I was hoping > > someone here in hackers could help...

ld static search path?

2000-07-11 Thread Matthew Hagerty
Greetings, I posted this to questions, but have not received any reply. I was hoping someone here in hackers could help... Thanks. Original Post - Could someone tell me how I can find out what the *static* search path for ld is? Also, how can I add my own directories to the stat

Re: Missing ld.so in 3.2? SOLVED, Thank you!

1999-07-25 Thread Matthew Hagerty
Installing compat22 did it, thank you! Matthew At 04:40 PM 7/23/99 -0700, Matthew Dillon wrote: >:Install the compat22 dist; you have an old a.out binary there. >: >:> Greetings, >:> >:> I have a 3.2 install from CD-ROM and I am trying to run a commerical >:> program, i.e. I don't have the sourc

Re: Missing ld.so in 3.2? SOLVED, Thank you!

1999-07-25 Thread Matthew Hagerty
Installing compat22 did it, thank you! Matthew At 04:40 PM 7/23/99 -0700, Matthew Dillon wrote: >:Install the compat22 dist; you have an old a.out binary there. >: >:> Greetings, >:> >:> I have a 3.2 install from CD-ROM and I am trying to run a commerical >:> program, i.e. I don't have the sour

Missing ld.so in 3.2?

1999-07-23 Thread Matthew Hagerty
exec/ld.so This is an error in the applications error log. I looked on my 3.1 box and there is a file /usr/libexec/ld.so but on my 3.2 box the file does not exist. Should it? Does the company of the software have to recompile for 3.2? Any insight would be greatly appreciated. Thank you, Matthew Ha

Missing ld.so in 3.2?

1999-07-23 Thread Matthew Hagerty
exec/ld.so This is an error in the applications error log. I looked on my 3.1 box and there is a file /usr/libexec/ld.so but on my 3.2 box the file does not exist. Should it? Does the company of the software have to recompile for 3.2? Any insight would be greatly appreciated. Thank you, Matthew Ha

3c562/563 PCMCIA LAN+33.6 PC Card

1999-06-13 Thread Matthew Hagerty
get a programmers guide to 3Com's NIC chipsets? Thanks you, Matthew Hagerty To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message