3ware rebuild problems fixed
I solved my own problem a while back and neglected to post my solution. I hate it when people do that to me. :) My original post is here: http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064038.html The summary is simply this: when rebuilding a mirror on a 3ware 7000-2, the rebuild would crap out with a vague disk error message. Doing a dump on the volume uncovered a couple of read errors. Solution: The read errors were killing the rebuild process. The hard disk's built-in SMART error correction was not kicking in though, because it only corrects bad sectors on a write. I tried to fix the disk with fsck, but the damage was too low-level, I guess... Anyway, I deleted the files with read errors--luckily they were trivial--and then copied a load of files to the partition to fill up the empty space. This triggered a SMART sector repair--I verified that with a SMART checker from ports. Once the bad sectors were remapped, I was able to rebuild my array. Hope this helps someone! -- * I am Matt Staroscik and I approved this message. ** [EMAIL PROTECTED] * http://wrongcrowd.com * 4 8 15 16 23 42 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPF, VOIP, packet priority?
I use a 4.10 FreeBSD box as a NAT device, IPF firewall and DHCP server. I recently got VOIP service from my ISP (Speakeasy). The VOIP box they sent me goes in between the NAT box and the DSL modem, and it is supposed to prioritize VOIP traffic so calls are clear. But, if I am doing a download my calls do get a little choppy. It's tolerable but I would like to improve it. How can I prioritize the VOIP traffic under 4.10 with IPF? Googling has shown me (http://www.muine.org/~hoang/freenat.html) that I need the ipfirewall + dummynet options in my kernel to enable QoS, but I am unlcear on how that will work with my existing ipf firewall rules. Thanks for any leads. -- *** I am Matt Staroscik and I approved this message. *** [EMAIL PROTECTED] * http://wrongcrowd.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My computer keeps crashing
This sure smells like a hardware problem. I think the problem might be due to my bios settings running the CPU to fast although I do not think I am overclocking it. This might explain the strange timing of the problem, maybe the motherboard is unstable. If you are not explicitly overclocking, the BIOS should be smart enough to run the cpu at or below its rated speed. Time to start checking the hardware. Here is what I would do. Check for stability after each step. 1. Wiggle Giggle: Reseat all cables, cards and RAM. Inspect CPU cooling. 2. Turn off ACPI in BIOS. (someone correct me if I am crazy, I recall ACPI being problematic) Look for other weirdo BIOS settings. 3. Underclock CPU. (I did once get a bum CPU that was not stable at its rated speed and produced similar problems. Unlikely, but possible.) 4. Swap in new RAM or run memtest86 5. Get rid of all peripherals, re-attach one at a time if this clears it up 6. Swap in new power supply (with that nice Antec this is unlikely... but not impossible... and a bad PSU can cause all KINDS of weirdness.) Good luck! - matt s. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running own servers
What's the most popular option? Is it buying a business DSL or T1 service or is it to colocate it? All of them are pricey. :( You can get high quality residential service with a static IP for a lot less than what your cable company would charge for that one fixed IP. For example, I get 1.5/768 service from Speakeasy for $90/mo, with 2 fixed IPs. That isn't a ton of upstream, but it is enough to let me do my own web server, mail server, and private music stream so I can listen to all my tunes at work. My web content draws over 40k pageviews a month... several gigs of data sent upstream to approx 10k unique users. It's not corporate scale but it's fine for a hobbyist. Speakeasy's policy explicitly allows you to run your own servers with the exception of IRC. They are a really, really good ISP. (Check dslreports.com for more reviews and recommendations) $90/mo (plus taxes) isn't chump change but I really enjoy running my own server so it is worth it to me. It is probably possible to co-lo for less, but this way I have complete control over everything. If I want to try something new, I just do it. Before Speakeasy, I used an ATT cable modem. It was a dynamic IP but they only changed it on me once every 6 months, so I got by for quite a while. See if you can figure out what your lease time is before you get a new ISP. It might be good enough to get your feet wet. Good luck and have fun! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [EMAIL PROTECTED] * KF6IYW * http://wrongcrowd.com I am Matt Staroscik and I approved this message. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bad blocks 3ware RAID rebuild -- resolution
I'm answering myself since (with the help of the list) I got my problem solved. I hope this summary helps a future searcher. Thanks to Jerry and everyone else who posted. Summary of problem: My RAID mirror (3ware 7000-2) lost a drive, and it was failing to rebuild with a new replacement disk (under 4.10). I was not sure why the rebuild failed, due to a vague disk error message. At this time I dumped the filesystems to a spare drive, but dump reported a read error on /usr. I fsck'd, but this did not eliminate the problem. Great, my degraded RAID's one good disk is having trouble! It was pointed out to me that fsck would not fix bad blocks. I had to try something else to repair the disk. I located a corrupt file by tarring up /usr and waiting for trouble... A forgotten core dump showed a read error. I deleted it, and a subsequent dump of /usr did not report errors. Progress! However, the RAID would still not rebuild. It turns out that an IDE drive will not remap a bad sector when READ... it must be WRITTEN. So, after I deleted the file that (presumably) sat on the bad sectors I filled up /usr with misc files. Afterwards, I checked the disk SMART error log and sure enough, it showed some new bad sectors had been remapped. (I checked disk 0 on the RAID with smartctl -a -d 3ware,0 /dev/twed0) I deleted the temporary files and initiated a RAID rebuild in the 3dm web interface. Before the sector repair, it would die after just a couple of minutes, but after the sector repair the rebuild completed successfully. SMART still reports that the drive is overall healthy... I am not sure how many spare sectors are left but I have a working mirror again so I have bought myself some time. Thanks again. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [EMAIL PROTECTED] * KF6IYW * http://wrongcrowd.com I am Matt Staroscik and I approved this message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fixing bad blocks (was: Re: Do you need to dismount /usr to dump it?)
At 01:18 PM 11/10/2004, you wrote: Your problem seems to be bad blocks in the /usr file system. That has nothing to do with dump. It is a bad spot on the disk. fsck will not fix that sort of thing. If you can figure out what files sit on the bad spots, you might be able to delete them and then do your dump. Then you should immediately replace the disk. I tarred up all of /usr to another filesystem, and I did see an error reading a core dump file from squid. I deleted the file and I was then able to dump /usr successfully. So that's good news. However, I apparently need to fix the bad blocks before my RAID will rebuild. (I had hoped it would do file-wise copies, but it looks like it does lower level reading.) It is my understanding that an IDE disk will only remap a bad block on a write, not just a read. My plan is to load up /usr with enough files to fill it up; this should write to the bad blocks and force them to be remapped to spares. I am hopeful that the drive is still healthy, as it only shows 2 SMART errors. (Can a core dump cause a bad block or two?) (Of course, the 3ware twe driver may not allow rebuilds yet on the 7000 cards, so I may have to try a Knoppix CD too.) Thanks to all for the input. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Matt Staroscik * KF6IYW * [EMAIL PROTECTED] * http://wrongcrowd.com The combined weight of the horrors I have authored wrought would crush your carbon hearts into perfect diamonds of terror. -- Leonid Kasparov Destroyovitch ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Do you need to dismount /usr to dump it?
If I boot to single-user mode (reboot, hit space, do boot -s) and dump /usr to a file, I get read errors on a couple of blocks. Running fsck -y (also in single user of course) did not show a problem, but it did not clear up the errors when I tried the dump again. I thought it was safe to dump /usr in single-user mode. Will I need to boot off a CD or try another trick to get a clean dump of /usr? Or perhaps I am not using the right fsck options? the dump command I used is: dump 0af /someotherplace/filename.dump /usr This seemed to work fine for / and my other filesystems. Thanks! - matt s. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Matt Staroscik * KF6IYW * [EMAIL PROTECTED] * http://wrongcrowd.com The combined weight of the horrors I have authored wrought would crush your carbon hearts into perfect diamonds of terror. -- Leonid Kasparov Destroyovitch ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble rebuilding array on 3ware 7000 (twe)
I need a hand from a disk guru as I am having some problems with a 7000-2 mirror under 4.10. My 3ware Escalade 7000-2 has a pair of Maxtor 160GBs on it. I run them mirrored. The other day, a drive bit the dust. As the disk was well and truly hosed according to the Maxtor utilities, I chucked it and dropped a replacement into the RAID. The replacement disk was the exact same Maxtor model. (these were all cold swaps by the way, no hot swap cages here yet.) At boot I hit alt-3 to get into the 3ware BIOS and I started the array rebuilding. All seemed well. The 3dm web page indicated a rebuild was in progress. Disks were chugging. After a few minutes, the rebuild stopped and the web page showed error. The console showed unhelpful twe0 Disk Error and Rebuild Halted messages. At this point I decided to play it really safe. I dropped a spare drive into a non-3ware IDE bay and proceeded to save off dumps of all the filesystems. All was well except for a few read errors on /usr. These were accompanied by a message about a twe controller failure with error 0x40. I rebooted into single-user, ran fsck -fy and tried the /usr dump again. There were less errors, but there were still 2 bad blocks, with the same error code. At this point, the system runs but I have a degraded mirror (with its own errors) that I cannot rebuild, and I am not sure why. - Is it still the case that a 7000-series 3ware cannot successfully rebuild under FreeBSD? I found year-old mailing list traffic that mentioned this, and suggested a Knoppix Linux live CD as a workaround. - Or, are the errors on the source drive killing the rebuild process? - How can I fix the errors in /usr? I ran fsck -fy in single user mode, what else can I try? Many thanks in advance for your ideas. With half a RAID I am running on borrowed time. At least a SMART probe of the remaining drive only shows 2 errors! Best, Matt S. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Serious investigations into UNIX and Windows
At 02:59 PM 10/25/2004, you wrote: Just a side comment from the peanut gallery... I was referring to the fact that in most cases, the solution in the end most often IS to just reformat and reinstall because there's so much cruft/crap/crud in the registry and Windows directories that that is the best solution, unless you want to spend an extra couple days trying to sort everything out. I have been temping at Microsoft for a while now. They have a term for this operation: flatten. As in, CMS2002 is acting up on that box and authoring mode is broken... we need to flatten it. It's scheduled for next Monday. Here, deep in Mordor, it's a way of life. :) - matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do you duplicate a drive?
I have a RAID mirror (2x 160GB) which I would like to back up onto a spare 160GB drive. I do not have a hot-swap caddy so I was planning on powering down the system to get the backup drive in and out. But once I have the new blank drive in, what is the best way to duplicate the RAID? Ideally I would like to create a disk that could boot the system (and rebuild the RAID) in case disaster strikes. Can dd do this? I am new to Unix disk operations... Many thanks in advance for the help. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Backup to USB HD--mounting, dumping, unmounting?
My FreeBSD server is on a mirrored pair of 160GB drives. I have been doing partial backups by simply copying data and important config files to CD-RW, but I wanted a way to back up the complete filesystem too, so I could restore in case of disaster. To that end I purchased a hard disk in an external USB 2.0 case, and I plan to do weekly backups to it. However, I have never had to mess with disk management beyond simply installing the OS, so I am not sure how to mount the new drive, much less dump the entire live filesystem to it. (Is dump even the right command? Would dd be more appropriate?) Can anyone point me to a relevant tutorial, or provide a command summary? (FYI, the motherboard is an ECS L7VTA, and a USB mouse works, so I assumed I would be able to get a USB hard drive working too... I also have an empty removable hard drive rack, but it is not hot swappable, hence my desire to use USB.) Many thanks in advance! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Packet loss: how to troubleshoot?
Lately I am getting a lot of messages like: /kernel: vr0 - Packet lost (I don't have the log in front of me so I may not have the exact syntax.) My machine is a router/server, and vr0 is my internal interface, serving a home LAN. I use ipnat and ipf for a firewall. How can I go about troubleshooting this? I am unfamiliar with the really deep networking voodoo. Thanks in advance! - matt s. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: internet via USB: how to use with FreeBSD?
What is the device? There are at least four in the 5.X GENERIC kernel: You can also call the cable company and say that your computer doesn't have USB. I think they usually have some Ethernet equipped devices for situations like that. They should swap it out for free. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CMS on FreeBSD
At 04:39 PM 3/19/2004, Dan Rue [EMAIL PROTECTED] wrote: Umm.. I don't know what other people think about this - but I really never run any PHP stuff from ports. It is easier, imo, to just download the tgz and unzip it to the directory you want it in. Yes, exactly. You can download the latest PHP-Nuke sources and have a test installation up very quickly. As far as which cms to use, I'm currently undecided as well. Ditto. After some googling and testing I settled on Geeklog, and it is doing the job for my small-time personal site, but I am not married to it. (geeklog.net) It is probably not robust enough if you need a very flexible, generalized CMS. It's more a weblog/portal with plugins for other stuff like file management. My boss really likes drupal, and forces me to use it :) Check out opensourcecms.com - they showcase dozens of php cms' and let you try them out. If Scott or anyone else draws any conclusions from their own testing, please post! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smblog format?
When I connect my PocketPC to my Samba server, the device has a very strange name in smblog: netbios connect: local=server remote=_cerdrc9cb8005 _cerdrc9cb8005 (192.168.1.94) connect to service Music as user USER (uid=, gid=) (pid 44909) _cerdrc9cb8005 is just an example, the exact string changes. My other samba clients have normal names in the log. Where is Samba getting this string from? Is this something the client specifies, or something that Samba is cooking up itself in the absence of a client-provided string? I have put a hostname for the device's IP in /etc/hosts, btw. I am just hoping this is not some silly Microsoft-ism infesting the PocketPC's network stack... if it is Unix-side I'm sure it's fixable! TIA! -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broken, orphaned port: how can I help?
Yesterday I tried installing a port and found that it was broken though not marked as such. The problems were simple -- simple enough that *I* got it working! -- and I emailed the listed port maintainer with what I have found. Now, I haven't heard back, but I am not jumping to conclusions because of the holidays. But out of curiosity, if the port is in fact orphaned, what happens? Who is the next person to contact? I have been using FreeBSD for a while but I really don't have a good grasp of the big picture. I want to be a good citizen though. :) Comments? -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?)
I am trying to get a CM11A X10 interface wired into my FreeBSD server. It looks like most of the software out there relies on x10d, which is only available as source code: ftp://ftp.danlan.com/ftp.danlan.com/homeauto/x10d.cm11.txt Karl Denninger's site advises adding this to get the code to compile under FreeBSD: #include sgtty.h (ref: http://www.denninger.net/homedaemon.htm) I make the change and compile like: cc -o x10d sourcecode.c ... which produces these warnings: x10d.c: In function `main': x10d.c:192: warning: passing arg 2 of `bind' from incompatible pointer type x10d.c:231: warning: passing arg 2 of `accept' from incompatible pointer type The resulting x10d binary file silently exits when run. I know beans about C, it's been many years since I had to do even the most trivial stuff with it. Where should I start to get this code working? Are there any other X10 apps I should try? I currently have BLueLava and Flipit running with a firecracker RF X10 module but I want to start playing with the 2-way capabilities of the CM11A. TIA! -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about ports... [postnuke]
I am want to install postnuke but when-ever I go to do make under /usr/port/www/postnuke, it wants to install mod_php4 again, I don't want to have to reinstall ports everytime I add something new. I recently installed PHPNuke and have some observations that might be relevant to your situation. 1. The version in ports may be behind what is on the project web site. 2. Installing a PHP app from a tarfile is pretty easy, so if ports isn't cooperating, go to the source. You'll probably just need to edit the config file with your SQL login info and the user/group that the web server runs as (probably nobody/nogroup). Good luck! -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMART hard drive utility?
Does anyone know of a utility to monitor temperature and event logs on SMART hard drives? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
qpopper pop3 and SSL experiences
To make a long story short, I have been unable to get qpopper 4.0.5 + SSL to work with Eudora 5.2.1. Using my self-signed cert I can get a secure connection to Apple's OS X mail client, but not Mac or Windows Eudora. On the Mac I see handshake errors, on Windows I get errors which I may be able to get around but without Mac support it isn't worth it. From Googling I have learned that there are many others having issues with qpopper, Eudora and SSL but I haven't found a workaround. Has anyone found a pop3 daemon with SSL support that works with a wide variety of email clients? Oh, FWIW my MTA is Exim and I should be able to switch to maildir instad of /var/ mail storage easily enough, if required, as the system is not in production yet. Thanks! Cheers, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
More POP3/SSL Eudora [Was: Re: qpopper pop3 and SSL experiences]
Thanks all for the help. Today I installed courier-imap, and reconfigured Exim for Maildir delivery, and I can now get mail out over POP3 + SSL. Apple's OS X mail client and Mac Eudora 6b are working fine. (I had sort of been wanting to try maildirs, and this way I can evolve to IMAP if I want, so I will probably stick with this.) Eudora for Windows is still hosed though. I did manually add my cert to the trusted list but I still have this error to deal with: SSL Negotiation Failed: Certificate bad: Destination Host name does not match host name in certificate Cause (-6984) Now, I am using a self-signed cert that I created with courier's shortcut command, and this test system does not have a real hostname yet, which seems like it would explain this error... but does anyone know a way to tell Eudora to not care about bad certificates? Or better still, how do I create a cert myself that satisfies Eudora? Will it even be possible to when my mail server testbed is at 192.168.x.y, without a fully-qualified hostname? Getting real close now though, thanks to everyone! - Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't assign IP to network interface vr0
I have a system with a 'vr' driver NIC in it. ifconfig sees the interface (and I have miibus and vr in my kernel) yet I cannot assign an IP address to it with rc.conf or ifconfig it just doesn't stick. If I use ifconfig to take it down and bring it back up nothing changes but the RUNNING text in ifconfig's status report. (It seems to correctly sense the media type too.) dmesg contains the following: vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xec00-0xecff mem 0xe5803000-0xe58030ff irq 11 at device 18.0 on pci0 vr0: Ethernet address: 00:0a:e6:7d:84:22 miibus1: MII bus on vr0 I am sure there is nothing fundamentally wrong with the system because this interface USED to work back in my plain vanilla test-install days... I must have done something to break it but I can't imagine what! I have the correct devices in my kernel (vr and miibus). I have turned off all firewall/nat stuff on this box too. (I know, vr interfaces stink, but it's what I have to use until I decommission the old server and take out the nice Kingston card in there.) TIA, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't assign IP to network interface vr0
Solved it: after more searching, the great Google hath taught me that you can't have 2 IP addresses on the same subnet on one machine... and I was trying to set the NICs to 192.168.1.n and .n+1. Too bad this doesn't drop a message in a logfile though. Or if it did, I wasn't looking in the right place. You learn something new every day! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adaptec 2400A update
To summarize previous posts: my Adaptec 2400A RAID card, with 2 Maxtor 160GB drives (model 6Y160P0) in a RAID-1, corrupts data and produces kernel panics under heavy activity. This is under 4.8 (plain vanilla install), ECS L7VTA motherboard (KT400), 512MB RAM, one vr NIC (on motherboard), 1 dc NIC (PCI), 1 Matrox Millennium II PCI video card. The 2400A is supported by the asr driver that is built into the GENERIC kernel. After a lot of testing I have discovered some interesting things but I am not any closer to a solution. - I put an old spare drive on the motherboard's IDE bus, did a basic install and thrashed the heck out of it to rule out problems with CPU, RAM, and other non-RAID components. This worked great. The system will be nice and fast when I get it stable! :) - I then put the same spare on the RAID card -- not as part of any array, but as just a disk. I reinstalled 4.8 and thrashed it good -- cvsupping new source, buildworld, etc. No problems. (The RAID array was not in the system at all.) - Then I separately tested each of the Maxtor 160s as just a disk on the 2400A, first clobbering the RAID data. Each disk got a fresh 4.8 install and the same build/install world/kernel routine, plus some other big file operations that caused problems for the array -- like deleting /usr/obj/*. No problems! - I have also done every imaginable type of cable swap and wiggle. I am as sure as I can be that there are no gross hardware faults in this system. I am currently re-running Maxtor's utilities on the 160's but I don't expect to find any problems. Assuming the disks check out as good again I will have ruled out everything except some kind of bug or subtle hardware defect that ONLY effects RAID-1 -- and perhaps only with my hardware combination, as I know many others use this card with great success. Oh, I haven't tested RAID-0. I don't intend to use it, but I will make a striped array and see how it goes just for fun. I will also try a Linux or Windows install too, to try and determine if this is a FreeBSD-specific problem. Hmm, guess I don't have any questions for the list, but hopefully this post will show future Googlers with misbehaving 2400A's that they are not crazy. Cheers, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adaptec 2400A RAID controller corrupting data (4.8)
I am going to break this saga into 2 posts, one with the ugly details for those who are interested, and one short post with the essential questions and observations. I have that card with 6 60 gig drives and set the box up (freebsd 4.7?) and it would run for a day or so and just crash. I also recall having similar panics when moving large amounts of data. I've given up on using the box for any real work so it's just sitting doing nothing waiting... hoping for a solution... a glimmer of hope. ;-) If you get it working please post. Here is an update. While I have made progress I am not 100% hopeful for a solution that is stable in the long term. To make a long story short, I seem to have made the system much stable by turning off soft updates. I was able to do a make buildworld, and then delete the contents of /usr/obj. Previously, one of those actions was sure to trigger a panic. Before I tried disabling soft updates I also did all this, some of which I readily admit is voodoo: - cable replacement - jumped drives to Master instead of Cable Select - Changed RAID card PCI slot - Wiggled everything I continued my test by cvsupping my source and doing another make buildworld. However, this time it bombed out while working on groff. I checked the file in an editor and it didn't look munged, so I am not sure if there is an error in the cvs tree, an innocent file transfer error, or a sign of deeper issues with my disk subsystem. I am going to thrash the machine with more builds but avoid CVS for now. Unfortunately, turning off soft updates isn't a great solution, if indeed it IS a solution, which I am still testing. It definitely makes things slower. My buildworld went from about 23 minutes to 34 minutes this way. Removing the contents of /usr/obj took about 1 minute, whereas with soft updates it took only a few seconds (though it panicked afterwards). Update: I created a custom kernel config (adding only device pcm and removing nothing) and successfully built it. I then installed it, rebooted, and tried to make installworld. Bomb city! getty dumped core before I even logged in and it got worse from there. Then I tried deleting /usr/obj and I got the kernel panic again. :) Observation: My last 2 panics (ffs_blkfree) reported these block numbers: 54608, 54592. Those are awfully close. Could my trouble stem from a defect on a disk? Things I have yet to try: - Removing the Maxtor 160s from the RAID and trying them individually on the motherboard controller. - Applying a hammer to the system Cheers, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adaptec 2400A RAID controller corrupting data (4.8)
I have started building myself a new file server, and at the heart of it are 2 Maxtor 160GB drives in a RAID-1, using the Adaptec 2400a. Unfortunately I am having some kind of issue with data on the array getting corrupted. During disk activity (like makeworld, cvsup, rm -rf /usr/obj/*) I get kernel panics like this: dev=#da/0x20006, block=54608, fs=/usr panic: ffs_blkfree: freeing free block Upon rebooting I have to fsck -y to repair the damage. I have also seen truncated file or file missing errors during builds, as if the files I cvsupped weren't written properly to disk. I am conducting these tests on a plain vanilla 4.8 install from CD. Other system details: ECS L7VTA motherboard (KT400 chipset), AXP 2400+, 512MB DDR RAM, vr NIC on mobo, dc NIC added in, Matrox Millennium II video card (had the same problems when I had a Cirrus card in too). All these data corruption problems and panics go away if I put a drive on the motherboard's own IDE controller and work on it. Weird thing is, this box was working GREAT just a day or so ago. I had multiple successful builds on the RAID array. But something has gone south. I am going to check cables etc. of course, but if anyone has insight... please send it my way. :) There are a lot of things this COULD be and they will take a LONG time to test. For example, those 160GB drives take about 10 hours to low-level format, so I am hoping to solve this without rebuilding the array from SCRATCH. (and as it reports optimal status I don't feel like I should have to, but...) Many thanks in advance. When/if I solve this I will post a followup... Cheers, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]