Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Peter Jeremy
On Sat, 2004-Dec-18 02:03:09 -0500, Gary Corcoran wrote: I've just had *THREE* Maxtor 250GB hard disk failures on my FreeBSD 4.10 server within a matter of days. One I could attribute to actual failure. Two made me suspicious. Three has me wondering if this is some software problem... (or a

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Dave Horsfall
On Sat, 18 Dec 2004, Peter Jeremy wrote: Seems unlikely that faulty server software could cause a disk failure. One possibility is that your power supply is a but stressed and the supply rails are out of tolerance. The other possibility is that the drives are overheating. Higher density

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Mike Silbersack
On Sat, 18 Dec 2004, Gary Corcoran wrote: I've just had *THREE* Maxtor 250GB hard disk failures on my FreeBSD 4.10 server within a matter of days. One I could attribute to actual failure. Two made me suspicious. Three has me wondering if this is some software problem... (or a conspiracy (just

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread soralx
I've just had *THREE* Maxtor 250GB hard disk failures on my FreeBSD 4.10 server within a matter of days. One I could attribute to actual failure. Two made me suspicious. Three has me wondering if this is some software problem... (or a conspiracy (just kidding) ;-) ) Are the errors

Virtual CPU or not?

2004-12-18 Thread Attila Nagy
Hello, I would like to find a method which determines the current number of active CPUs. The problem is that neither hw.ncpu nor kern.smp.cpus contain the right value if machdep.hlt_logical_cpus is 1. Is there a better method than checking that sysctl and divide the hw.ncpu by two if set?

Developing device-drivers without rebuilding the hole kernel

2004-12-18 Thread =?ISO-8859-1?Q?=22Anton_W=F6llert=22?=
Hello, i want to edit the syscons driver for additional vesa-support. but i don't want to rebuild the whole kernel every time i add a few new lines or a function. is there a way to just build the syscons object file and maby a few dependencies every time and then just link it together with the

Re: Developing device-drivers without rebuilding the hole kernel

2004-12-18 Thread Erik Trulsson
On Sat, Dec 18, 2004 at 02:09:05PM +0100, Anton Wöllert wrote: Hello, i want to edit the syscons driver for additional vesa-support. but i don't want to rebuild the whole kernel every time i add a few new lines or a function. is there a way to just build the syscons object file and maby a

Re: Strange command histories in hacked shell server

2004-12-18 Thread security
You should have a script that creates a new user when people login with 'new'. Have you forbid that script from overwriting your wheel account and re-creating root? Hi, Sorry for cross posting. I have with FreeBSD 5.3-stable server which serves as a public shell server. FreeBSD

Re: Multiple hard disk failures - coincidence ? (fwd)

2004-12-18 Thread Gary Jennejohn
Oops! Sent it to the wrong list. -- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org garyj[at]denx.de --- Forwarded Message Peter Jeremy writes: On Sat, 2004-Dec-18 02:03:09 -0500, Gary Corcoran wrote: I've just had *THREE* Maxtor 250GB hard disk failures on my FreeBSD 4.10

Re: freebsd-hackers Digest, Vol 91, Issue 7

2004-12-18 Thread tester
how did you CHANGED the limit to (800pkt/sec). this would be around 12Mb/sec traffic. On Fri, 17 Dec 2004 12:01:06 + (GMT), freebsd-hackers-request wrote Send freebsd-hackers mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit

Re: Developing device-drivers without rebuilding the hole kernel

2004-12-18 Thread Joseph Koshy
want to rebuild the whole kernel every time i add a few new lines or a If you use config(8) to configure your kernel in the traditional way, this should come for free. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Julian Elischer
Peter Jeremy wrote: On Sat, 2004-Dec-18 02:03:09 -0500, Gary Corcoran wrote: I've just had *THREE* Maxtor 250GB hard disk failures on my FreeBSD 4.10 server within a matter of days. One I could attribute to actual failure. Two made me suspicious. Three has me wondering if this is some software

Re: My freebsd dream

2004-12-18 Thread freeBsd Romeo
I swear in the name of Holy testicles of Giant panda that one day I will make my dream come true ….. Men are generally idle, and ready to satisfy themselves, and intimidate the industry of others, by calling that impossible which is only difficult. Samuel Johnson (1709 - 1784) --- Chris

Re: Developing device-drivers without rebuilding the hole kernel

2004-12-18 Thread =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=
Anton Wöllert [EMAIL PROTECTED] writes: i want to edit the syscons driver for additional vesa-support. but i don't want to rebuild the whole kernel every time i add a few new lines or a function. is there a way to just build the syscons object file and maby a few dependencies every time and

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Bernd Walter
On Sat, Dec 18, 2004 at 08:17:39PM +1100, Peter Jeremy wrote: On Sat, 2004-Dec-18 02:03:09 -0500, Gary Corcoran wrote: I suppose it is possible these errors may have shown up more than a week or two ago, because my windows machines, reaching them via samba, haven't shown any problems until

Re: 5.3 Release and Realtek

2004-12-18 Thread ctodd
I think I found the answer, more testing will be required, but for now I see the sound card. The answer : # cd /usr/src/sys/modules/sound # make install # kldload snd_driver # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm1: VIA VT8237 at io 0xd800 irq 22 kld snd_via8233

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Peter Jeremy
On Sat, 2004-Dec-18 20:59:11 +0100, Bernd Walter wrote: On Sat, Dec 18, 2004 at 08:17:39PM +1100, Peter Jeremy wrote: My approach to this is to add a line similar to dd if=/dev/ad0 of=/dev/null bs=32k for each disk into /etc/daily.local (or /etc/weekly.local or whatever). This ensures that

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Bernd Walter
On Sun, Dec 19, 2004 at 08:07:20AM +1100, Peter Jeremy wrote: On Sat, 2004-Dec-18 20:59:11 +0100, Bernd Walter wrote: On Sat, Dec 18, 2004 at 08:17:39PM +1100, Peter Jeremy wrote: My approach to this is to add a line similar to dd if=/dev/ad0 of=/dev/null bs=32k for each disk into

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Ed Stover
Have you run the low level disk tools from Maxtor on your failed drives? One day out of the blue my 80Gig maxtors started giving out hard error failures, so I downloaded a floppy image from maxtor and used it to scan and repair my drives. I rebooted in single user mode and fscked my drives and

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Gary Corcoran
Ed Stover wrote: Have you run the low level disk tools from Maxtor on your failed drives? One day out of the blue my 80Gig maxtors started giving out hard error failures, so I downloaded a floppy image from maxtor and used it to scan and repair my drives. I rebooted in single user mode and fscked

snapshots and innds

2004-12-18 Thread Steve Watt
I'm getting a strong hunch that snapshots and inn don't get along well, presumably having something to do with inn's extensive use of mmap(). Just for an example, my system panic()ed earlier today (different problem) and during the reboot, I'm stuck with an fsck_ufs on wchan ufs and innd on wchan

Re: Virtual CPU or not?

2004-12-18 Thread Joseph Koshy
I would like to find a method which determines the current number of active CPUs. Is there a better method than checking that sysctl and divide the hw.ncpu by two if set? You are probably looking for: min(number of '0' bits in machdep.hlt_cpus, hw.ncpu)