  fcisler Premium join:2004-06-14 Riverhead, NY
| FreeBSD and RAID controller
I've got a Supermicro MB, Intel 630 W/ EMT64, and a 3ware 9550sx.
This is a true hardware raid card, and is supported by the manufacturer.
I can boot from CD (freebsd AMD64). As explained in 3wares site (»www.3ware.com/KB/article.aspx?id=14850 ), i should do load KLD and load the twa_9ksx.ko they provide. Unfortunately, the freebsd install tells me that there is no floppy.
SO i try and continue setup anyway...and it detects my card and the raid array/partitions correctly. Proceed through install, no errors, nothing! Finish install, and reboot.
Again, in accordance with the instructions (link above), i escape to loader prompt >load disk0:twa_9ksx.ko >boot and it loads fine, and starts booting. Boots up perfect. All my partitions are there, not a problem.
Next it tells me to copy the updated source for the twa driver. no problem.
Make a copy of GENERIC (TKERN for this), add option SMP, make sure device twa is there.
cd /sys/conf/amd64 && /usr/sbin/config TKERN
returns fine and tells me that source is in ../compile/TKERN
so i do cd ../compile/TKERN && make clean && make cleandepend && make depend && make && make install
First couple times i was recieving errors (USB wireless device wasn't commented out, and needed device wii, which was commented out).
FINALLY got the kernel compiled. No errors. SO i do a reboot....
Comes up with: Trying to load root from /dev/da0s1 (or very similar)
Then the prompt for manually loading root...but it's completely frozen. Only a hard reboot will reboot it.
So i figure i forgot to do something...once i get to the freebsd pre-boot, i select 6...and again load disk0:twa_9ksx.ko
loads fine, boots fine. I go into /sys/modules/twa and try a make.......fails....OOPS! 3ware forgot to give me the new makefile (well they gave me a link which pointed to their copy, which didnt have the makefile.) No problem. I copy right makefile, and run make - success! Gives me back a compiled twa.ko.
Just to be on the same side, i re-compile the kernel (same make clean, make cleandepend etc etc). Reboot...still no luck
NEXT TRY...if the floppy boot method works for me, well then that copy of the .ko file must be good.....use the load disk0:....sequence to get my PC to boot up..
Mount the floppy drive, backup /boot/kernel/boot/twa.ko and copy the twa_9ksx.ko to /boot/kernel/boot/twa.ko.
Cross my fingers and reboot....F*#*%*ING THING STILL DOES NOT BOOT!!!
SO I'm at the end of my whits....I didn't buy a $500+ raid card, which I SPECIFICALLY chose because of it's freebsd/linux support...not be able to use it!!! I don't get this for the life of me....
If the copy of the twa_9ksx.ko which i have, will boot the system if i manually load it (via escape to bootloader)...why won't the SAME EXACT file work when i copy it into /boot/kernel/boot/twa.ko ?!?!?!??!?!?! it does not make sense to me
Is there a way to check a kernel to see the module load order? Is there a way to statically compile this twa.ko into my kernel?? Anyone have any ideas as to my next step? I'm ready to contact the manufacturer - as they DO support freebsd. The link above gives me step-by-step instructions, and i've followed them to a T (with the exception of Load KLD) - and the %#(%( thing still won't work!!!! |
|
  sremick FreeBSD on the desktop
join:2001-11-11 Bristol, VT
| I don't have an answer for you, but if no one here can help you could try the BSD forums:
»bsdforums.org/forums/forumdispla···rumid=21 -- »vtbsd.net/winhelp/ Digg me: »digg.com/users/sremick/submitted |
|
  sporkme drop the crantini and move it, sister Premium,MVM join:2000-07-01 Morristown, NJ
·Optimum Online
| reply to fcisler I don't have the 12 port version of that card in-hand yet, but I think that from what I've read so far if you're using 6.1 you should totally ignore any of 3Ware's instructions. twa is in the main source tree and maintained by 3Ware and a few FBSD committers... -- Day dreaming days in a daydream nation |
|
  fcisler Premium join:2004-06-14 Riverhead, NY
| reply to fcisler Well see sporkme, i assumed that this was the case...
but then why did 3ware provide drivers and the such for 6.1? They specifically say 6.0/6.1.
It also confuses me that a) it found the drives fine and installed them and b) did not boot up right after installing. device twa was also NOT commented in the GENERIC kernel.
I'm so lost and confused here....im gonna try from scratch again and see what happens. Maybe i'll try i386, although i'd like to use the AMD64. |
|
  sporkme drop the crantini and move it, sister Premium,MVM join:2000-07-01 Morristown, NJ
·Optimum Online
| said by fcisler :Well see sporkme, i assumed that this was the case... but then why did 3ware provide drivers and the such for 6.1? They specifically say 6.0/6.1. To confuse people? I have no idea.
Anyhow, have a look at this:
»www.freebsd.org/cgi/cvsweb.cgi/s···dev/twa/
Google the name/email of the guy who made the last round of commits. Note who his employer is. -- Day dreaming days in a daydream nation |
|
  fcisler Premium join:2004-06-14 Riverhead, NY
1 edit | reply to fcisler update: FreeBSD 6.1 i386 WILL take the KLD...
Install everything, reboot and WORKS FINE!!
Should this be a hint to me that either a) their AMD64 sources are not valid? or b) i have no clue
Is there any advantage to FreeBSD AMD64? My desktop is XP 64bit and there is NO advantage. What about BSD? |
|
  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE
| said by fcisler :Is there any advantage to FreeBSD AMD64? Not really, unless you have more than 4GB of RAM you want to take advantage of. -- "Talk is cheap because the supply is greater than the demand" - Shelby Friedman |
|
  fcisler Premium join:2004-06-14 Riverhead, NY
1 edit | Hmm...so there's not like a "flag" to add to...say....samba to make it "compile" 64 bit?
As far as i understand, the code has to be changed to take advantage of 64 bit....otherwise there is no real advantage....is this the case?
If so...are there alot/any 64 bit apps designed for FreeBSD? I prefer to build my own from source, so i'm not even sure if i should bother getting AMD64 working on this thing....
Also....for hyperthreading (intel 630)...should i enable SMP? Is there any advantadge? |
|
  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE
| Yes, things need to be compiled for 64-bit. I believe if you are running the AMD64 version of FreeBSD, world will automatically be built for 64-bit, and I think ports should also.
But like I said, there's really no advantage unless you have large memory requirements.
Enabling SMP for HTT is not recommended for FreeBSD. You'll notice very little performance increase, and in some cases it's even slower. -- "Talk is cheap because the supply is greater than the demand" - Shelby Friedman |
|