RE: Panic - cannot get a dump

2005-03-11 Thread Bob Johnson
Date: Thu, 10 Mar 2005 20:06:08 -0600
From: Stephen Montgomery-Smith [EMAIL PROTECTED]
Subject: Panic - cannot get a dump
To: freebsd-stable@freebsd.org
Message-ID: [EMAIL PROTECTED]

(This is a follow up to earlier messages I sent to freebsd-smp because 
then I thought it was an smp issue - now I am not so sure.)

I have been experiencing some panics on my dual processor Xeon system. 
It can take up to a few days for a panic to happen, and it seems to 
happen under heavy loads.
[...]
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port 
0xd880-0xd88f mem 0xde00-0xde7f irq 25 at device 3.0 on pci4
twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
[...]
twed0: Unit 0, RAID0, Normal on twe0
twed0: 228944MB (468879104 sectors)
[..]
Mounting root from ufs:/dev/twed0s3a
[...]
Any chance your RAID array is built from two-year-old Western Digital 
drives?  Your problem sounds a lot like the one discussed here:
http://adam.kungfoohampster.com/lists/freebsd-questions/msg18877.shtml

The message above doesn't mention it, but the WD KB article also 
includes a fix for drives on 3Ware controllers.

- Bob
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Panic - cannot get a dump

2005-03-11 Thread Stephen Montgomery-Smith
Bob Johnson wrote:
Any chance your RAID array is built from two-year-old Western Digital 
drives?  Your problem sounds a lot like the one discussed here:
http://adam.kungfoohampster.com/lists/freebsd-questions/msg18877.shtml

The message above doesn't mention it, but the WD KB article also 
includes a fix for drives on 3Ware controllers.

Probably this is not the problem.  I have Seagate drives, and the 
symptoms seem to be different - I have a panic, not a freeze.

Although I am having problems with the disk when I reboot.  The program 
I am running outputs a data.check file every second or so, so that 
when the program is restarted it can pick up where it left.  The code to 
do this is something like
  check_point = open(data.check-tmp,O_WRONLY|O_TRUNC|O_CREAT,0644);
  write(check_point,lots-of-stuff);
  close(check_point);
  rename(data.check-tmp,data.check);
What I find is that after the panic the file data.check is several 
days old.  I am guessing it is because the IDE Seagate disk has some 
cache that it doesn't write back to the disk - probably it is the 
directory itself which is not properly updated.  It is a bit annoying, 
but I can live with this.  But maybe this indicates something more sinister.


I have put in another IDE disk whose only purpose is to be the disk to 
dump to.  Hopefully I will be able to catch a good dump on that.

--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]