Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Ads
Tom's Hardware > Forum > Linux/Free BSD > General Discussion > Linux Help for a Linux Newbie.

Linux Help for a Linux Newbie.

Forum Linux/Free BSD : General Discussion Linux Help for a Linux Newbie.

Word :    Username :           
 
- 0 +

Hi I'm trying to get *EDIT SUSE*linux set up on the free 10gb partition of my Raid0. After several frustating failed installs I found out that I should grab the driver*doh* for my raid to work, So i headed on over to Via and grabbed my driver, only to discover I may be over my head. The instructions of the driver are this:

Quote :

6). SuSE 9.0 for x86_64
1. compile a driver for "generic x86_64" CPU type
#cd /usr/src/linux
#make menuconfig ;change CPU type to "generic x86_64".
#make dep
back to our source code directory, make a driver
#make
copy viamraid.o to a floppy disk.(VFAT)
#cp viamraid.o /mnt/floppy/viamraid.o
2. boot from cdrom, when prompt to select language, press
CTRL-ALT-F2, insert the floppy, run
#mkdir aa
#mount /dev/fd0 /aa
#insmod /aa/viamraid.o
press CTRL-ALT-F7 to continue
3. after reboot, when prompt to select language, do (2) again
when prompt where to boot from, select "Boot installed system".
4. when asked to enter password for root, press CTRL-ALT-F2,
#mount /dev/fd0 /media/floppy
#cp /media/floppy/viamraid.o /lib/modules/`uname -r`/misc/
#vi /etc/sysconfig/kernel ;change varialbe INITRD_MODULES to
;include viamraid like this: INITRD_MODULES="viamraid reiserfs jbd"
#mkinitrd
press CTRL-ALT-F7 to finish the normal install.
;If system appears "Can't determine dependencies of module viamraidjgb. Is this modules.dep up to date" message. Please CTRL-ALT-F7 to finish the normal install. And run command "mkinitrd" again in terminal.



This wouldnt be that big of a problem if I weren't on windows I can usually figure things out. My main problem is I don't know how to compile a driver. My programming experience rovolves around TI-Basic and Java :roll:
What tools do I need to get this driver compiled on Windows?

Reply to dorion
Register or log in to remove.
- 0 +

A little late, but better late than never.

You should not need to compile the driver your kernel should already have a via SATA module.

you should already have sata_via.ko in /lib/modules

# the SATA drivers are normally in

/lib/modules/$your_kernel_version/kernel/drivers/scsi/

on my system they are here:

/lib/modules/2.6.12-1xxxx/kernel/drivers/scsi

[code:1:03b6e8eecf]

ls -al sata*
-rwxr--r-- 1 root root 12416 Jul 15 2005 sata_nv.ko
-rwxr--r-- 1 root root 14268 Jul 15 2005 sata_promise.ko
-rwxr--r-- 1 root root 12464 Jul 15 2005 sata_qstor.ko
-rwxr--r-- 1 root root 12060 Jul 15 2005 sata_sil.ko
-rwxr--r-- 1 root root 9260 Jul 15 2005 sata_sis.ko
-rwxr--r-- 1 root root 9900 Jul 15 2005 sata_svw.ko
-rwxr--r-- 1 root root 16816 Jul 15 2005 sata_sx4.ko
-rwxr--r-- 1 root root 9456 Jul 15 2005 sata_uli.ko
-rwxr--r-- 1 root root 10976 Jul 15 2005 sata_via.ko
-rwxr--r-- 1 root root 10748 Jul 15 2005 sata_vsc.ko

[/code:1:03b6e8eecf]


try:

[code:1:03b6e8eecf]

modprobe sata_via

dmesg

[/code:1:03b6e8eecf]

Good Luck

Reply to linux_0
Tom's Hardware > Forum > Linux/Free BSD > General Discussion > Linux Help for a Linux Newbie.
Go to:

There are 1919 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
  • Ask the community now
  • Publish
Ad
Ads
Latest best answer
Dual Boot Windows 7 and Ubuntu 12.04
By ijack, 4 days ago:

To get the best performance and lifetime from your SSD you should plan a little more...

Best offers
They won a badge
Join us in greeting them
Top experts