Tuesday, August 19, 2008 at 9:54 am by Thomas Alombro
Reinstalling RocketRaid drivers after updating FreeBSD
After going through the steps to update FreeBSD via cvsup, 3 of the servers didn’t come back up after reboot as fast as the other servers I updated did. After 10 minutes, of the server not coming back up, I realized something likely happened to the raid controller driver that these 3 servers use.
Once I got to the datacenter and hooked up a monitor and keyboard, I saw that I was correct, the raid controllers were not loading properly. Luckily I had the documentation, driver disk and floppy that was used to install them originally.
If you don’t have these items anymore, start here:
a. On a Windows machine, make the boot disk with rawrite.exe from the FreeBSD cd.
i. Use the image on the driver cd: freebsd_6.x.img
b. On a FreeBSD machine, make the boot disk with this command:
i. Dd if=freebsd_6.x.img of=/dev/fd0
Those steps are from the documentation that came with the raid controller, but they did not work properly for me, so I started here:
a. load disk0:rr172x-6.2.ko (or the filename for the driver you are loading)
b. set boot_askname
c. boot
The documentation also talked about going into the FreeBSD setup and hitting alt-F4 to get to a loader prompt, but that also didn’t see to work for me. After a few tries and several Google searches that didnt not result in telling me how to start booting from cd and finish from the hard drive, I fiddled around in the boot prompt options until I came across the boot_askname option.
After the boot process is started, you will be prompted for the boot partition.
a. Enter ufs:da0s1a
The server will continue booting from here as if nothing was wrong. Now you can get back into your system and get the raid controller drivers back in place. I checked /boot/kernel before this step and found that the driver was no longer on the server.
a. mount -o ro /dev/fd0 /mnt
b. cp /mnt/rr172x-6.2.ko /boot/kernel/rr172x.ko
c. umount /mnt
a. echo ‘rr172x_load=”YES”’ >> /boot/loader.conf
After this reboot, everything will be same as before you updated the server.
Article Archives:
Mount NTFS USB drives read-write in FreeBSD
This write-up was tested on FreeBSD 6.2 and 6.3. As of this writing the NTFS-3g release was 1.2531.
Please let me know if you run into typos or other technical issues when implementing this.
1.) Update the ports collection.
Setup the update:
# cd /usr/ports/ports-mgmt/portupgrade
# make install clean
# cd /usr/ports/net/cvsup
# make install clean
# cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile
# pico /root/ports-supfile
Make it [...]
October 22nd, 2008
Patching BIND for OpenBSD
Recent security research discovered that there were multiple DNS implementations vulnerable to cache poisoning.This is a multi-vendor vulnerability outlined at the following links (among many others):
http://secunia.com/cve_reference/CVE-2008-1447
http://www.kb.cert.org/vuls/id/800113
In our DNS infrastructure we separate the recursive query DNS servers from the authoritative DNS servers. We limit recursive queries to our own network ranges. Our internal DNS servers used [...]
August 8th, 2008
The Real Ironman
June 28th, 2008
So, I just completed my 1st 1/2 Ironman Triathlon today. It has been a goal that I have wanted to accomplish for some time. After 5 months of vigorous training, I had one day to swim 1.2 miles in the frigid Wickiup Reservoir,
( bike 56 miles around Mt. Bachelor going from 4200 [...]
August 5th, 2008
Virtualized for Non-Profit
Opus Interactive has virtualized 22 of their servers in a effort to upgrade internal systems. Instead of trying to sell the servers, or reprovision them, Opus Interactive decided the best thing to do is to donate them to Omni Media Networks Inc. The donated servers were needed in an effort to expand Omni Media Networks Internet outreach programs. Opus Interactive is very [...]
July 1st, 2008
If a tree gets planted in the forest will anyone hear?
Opus Interactive has joined with Arbor Day Foundation in their mission to “…inspire people to plant, nurture and celebrate trees.” Arbor Day Foundation is the largest nonprofit tree-planting organization, with nearly one million members and averages over 12 million trees planted each year.
So with that, the question becomes with almost 12 million trees each year, why [...]
June 16th, 2008
Article Comments: