View Full Version : How to Install Fedora Core 3 on ASUS K8S MX Motherboard + Athlon 64 + Seagate SATA HD
aditya
21st January 2005, 09:34 AM
I have an AMD Athlon 64 2800 on an ASUS k8s-mx motherboard with a 80GB SEAGATE barracuda SATA hard disk.
How do i install the SATA/RAID drivers for the SIS760 chipset so that i can continuie install of Fedora Core 3. The ASUS motherboard driver CD does not provide linux drivers.
Is there any place where i can get the drivers for Fedora Core 3
Thank you very much
Regards,
ADITYA.
aspire
21st January 2005, 06:12 PM
Dear Adi ,
I hope you would have got some solution. Even I am stuck with the same problem.
Regards,
Vishal Kashyap.
grevedan
6th February 2005, 05:27 PM
I also have a K8S-MX mobo, trying to use SATA with 2 250 GB Hitachi Deskstar drives. The important chipset here is not the SiS760GX but rather the southbridge SiS965L. As of yet, Google has no good info on this chip. The SiS drivers provided with FC2 for SATA just don't work. Ah the joys of Linux and new hardware technology.
Supposedly there's a couple of kernel updates for SATA, but I have no idea how to patch the kernel before installing the OS.
aditya
8th February 2005, 03:56 PM
I also have a K8S-MX mobo, trying to use SATA with 2 250 GB Hitachi Deskstar drives. The important chipset here is not the SiS760GX but rather the southbridge SiS965L. As of yet, Google has no good info on this chip. The SiS drivers provided with FC2 for SATA just don't work. Ah the joys of Linux and new hardware technology.
Supposedly there's a couple of kernel updates for SATA, but I have no idea how to patch the kernel before installing the OS.
On the SIS website there is a link : http://www.sis.com/support/faq/linux.htm
which tells there is a patch for this mother board Serial ATA Driver for SiS964,SiS180
at http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/old/2.4.25-libata10.patch.bz2
but im not able to find out how to patch te CD ISO so as to start a patched kernel install. the other way to patch a kernel is after it is installed, but we cannot do it since we cannot install the kernel in the first place :-((
grevedan
8th February 2005, 05:32 PM
On the SIS website there is a link : http://www.sis.com/support/faq/linux.htm
which tells there is a patch for this mother board Serial ATA Driver for SiS964,SiS180
at http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/old/2.4.25-libata10.patch.bz2
but im not able to find out how to patch te CD ISO so as to start a patched kernel install. the other way to patch a kernel is after it is installed, but we cannot do it since we cannot install the kernel in the first place :-((
The patch is for SiS964. I wonder how similiar that it to 965L. I'll research it some. Fedora Core 3 installs 2.6.9 or 2.6.10 kernel i think, so it should have the patched ata already. I'm not sure about the installer kernel, might be 2.4 unpatched.
I've installed a regular PATA drive on the my system and installed FC3_x64, but Grub doesn't load properly on reboot. When I DO get this FC3 installed, I will follow the HOWTO I found on how to rebuild the FC3 ISO images, using the latest kernel in both the installer and the build system.
If I succeed in rebuilding the FC3 images, I'll let you know if it works and can provide you with the ISOs.
http://rau.homedns.org/twiki/bin/view/Anaconda/AnacondaDocumentationProject
aditya
9th February 2005, 03:26 PM
If the detailed info on rebuilding a kernel is availabale, one can probably install FC3 on a ATA hard disk, patch it, make ISOs, and then install the FC3 on the ASUS k8s-mx with SATA HDD.
for the ATA HDD though, a near friend might help out ;-))
Please provide information on the process of creating patched FC3 ISOs if they successfully install on the K8s MX with a SATA HDD
grevedan
12th February 2005, 04:01 AM
If the detailed info on rebuilding a kernel is availabale, one can probably install FC3 on a ATA hard disk, patch it, make ISOs, and then install the FC3 on the ASUS k8s-mx with SATA HDD.
for the ATA HDD though, a near friend might help out ;-))
Please provide information on the process of creating patched FC3 ISOs if they successfully install on the K8s MX with a SATA HDD
Rebuilding a kernel is not difficult. If you'd like to try, look at
http://linuxreviews.org/howtos/Kernel-Build-HOWTO/en/
I downloaded the latest released kernel to date 2.6.10, it has the latest libata drivers, including the 964 and 180 patch. No change until I hacked the kernel as described below. It's still not functional, but the kernel detected the controller.
In the meantime, I'm going to get a biostar microatx motherboard K8VGAM @ http://www.newegg.com/app/ViewProductDesc.asp?description=13-138-242&depa=1 I've seen success stories on the SATA chip, Ethernet chip, and Sound chip, the 3 components I need.
Here's my report on my experience with the SIS SATA 965L
Rebuilt 2.6.10 kernel with SATA support, specifically sis_ata.c. The problem I saw (or could understand) was the id code for the 965L chipset was reported by /sbin/lspci as 0x182. sis_ata.c only has enumerations for 0x180 and 0x181. Hoping the functional differences were minor, I added 0x182 to the device enumeration list. On reboot to the 2.6.10 Kudzu (auto hardware detection) finally recognized the SATA controller. I tried to select configure, but Kudzu bombed out. I guess the differences between the SIS SATA devices are not insignificant. I'll be trying to contact the linux SATA master Garzik @ http://linux.yyz.us/sata/
grevedan
12th February 2005, 04:22 AM
I believe I got this controller working. Apparently all that was needed was the PCI ID for basic functionality. I'll provide a kernel patch, and eventually I hope to build an ISO using 2.6.10.
grevedan
13th February 2005, 09:07 PM
I believe I got this controller working. Apparently all that was needed was the PCI ID for basic functionality. I'll provide a kernel patch, and eventually I hope to build an ISO using 2.6.10.
There is more to the patch than just the PCI ID. I chatted with the linux SATA driver maintainer Jeff Garzik, and he's received a patch from SIS for the SATA. It's going through debugging and cleanup at http://bugme.osdl.org/show_bug.cgi?id=4192
It will probably be easier to apply the patch to the kernel yourself and rebuild it. The FC2 ISOs might take a while for me to gen up as I start testing this patch. The patch is at the link above.
rampras
22nd February 2005, 08:05 AM
Check out http://www.megalinux.net. There is a brief doc on enabling SATA on fedora core 3.
rampras
22nd February 2005, 08:57 AM
actually, it can be found here: http://www.megalinux.net/archives/000413.html
grevedan
22nd February 2005, 10:22 PM
actually, it can be found here: http://www.megalinux.net/archives/000413.html
Got my sata working as well, last night as a matter of fact. It runs without the PATA finally. I wonder why the author at this link partitioned the drive as NTFS. Doesn't make sense to me. Why not just reformat as EXT3 or 2, and move the FC installation over, then remove the slow ass PATA.
I'll be posting my procedure in the next day or two. I haven't tested the onboard sound or nic, but i'll add this to the procedure as well.
UncleOp
9th March 2005, 08:21 PM
Got my sata working as well, last night as a matter of fact. It runs without the PATA finally. I wonder why the author at this link partitioned the drive as NTFS. Doesn't make sense to me. Why not just reformat as EXT3 or 2, and move the FC installation over, then remove the slow ass PATA.
I'll be posting my procedure in the next day or two. I haven't tested the onboard sound or nic, but i'll add this to the procedure as well.
Love to see how the differes from the fellow with the NTFS formatted drive. Right now I'm having problems with grub.
kanhan_vijay
12th March 2005, 07:33 AM
I also got sata hdd working , but how do i move the root partition to sata and remove the pata hdd.
grevedan
12th March 2005, 03:35 PM
I haven't gotten to that procedure, not sure if there's really a need. the other procedure is pretty good
grevedan
12th March 2005, 03:36 PM
I also got sata hdd working , but how do i move the root partition to sata and remove the pata hdd.
Linux is easier than Windows to move to a new drive. Mostly just a file copy, then modify the /etc/fstab
http://en.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html
kanhan_vijay
13th April 2005, 03:02 PM
Linux is easier than Windows to move to a new drive. Mostly just a file copy, then modify the /etc/fstab
http://en.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html
I cloned my pata h.d.d to sata h.d.d with Norton ghost. but the system doesnt boot. i get the grub menu, but it stops after 2-3 lines
grevedan
15th April 2005, 08:45 PM
I cloned my pata h.d.d to sata h.d.d with Norton ghost. but the system doesnt boot. i get the grub menu, but it stops after 2-3 lines
v,
Hmmm, interesting, I didn't use Ghost, I just created a partion on the SATA driive, did a file copy, ran lilo and voila.
How does Ghost handle creating of partitions on the target hard drive. Does it use the same partition table and master file table as on the PATA?
I could not get grub to work either. Everytime I tried to load grub into the MBR of the SATA drive, grub-install would crash. Here's what I had to do.
With both SATA and PATA drives attached, boot to the PATA.
If you've recompiled the kernel with the patch, you should be able to mount the SATA. Do a dmesg and find the device name for the SATA. If you only have one, it's probably /dev/sda. Now the question is how did ghost create the partitions. Use fdisk on the device to view the partition table, and figure out which is root. While you're in fdisk, set the bootable flag on the root partition if ghost didn't do it for you.
fdisk /dev/sda
Once you know root, mount that partition....say
mount -t <fstype> /dev/sdaX /mnt/sdaX
(mine was mount -t ext3 /dev/sda3 /mnt/sda3)
My /boot partition is actually /dev/sda1, so I also mount it here too
mount -t ext3 /dev/sda1 /mnt/sda3/boot
Chroot to the root of the SATA.
chroot /mnt/sda3
Create a lilo.conf in /etc. Here's my lilo.conf
<snip>
prompt
timeout=1
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
linear
image=/boot/vmlinuz-2.6.10
label=linux
initrd=/boot/initrd-2.6.10.img
read-only
append="rhgb quiet root=/dev/sda3"
</snip>
Finally run lilo to install the boot loader to the MBR
/sbin/lilo
Shutdown the system, remove the PATA, and boot up to your super fast HDD. I didn't take the time to write up a real tutorial, so I'll walk through this with you. If you want to use Ghost, you'll need to know how it partitions/formats the SATA drives. Did you have any trouble with Ghost seeing the SATA drive?
-- dan
:D
grevedan
15th April 2005, 08:47 PM
PS,
You'll probably need to change the /etc/fstab file before you reboot. Fedora's grub uses LABEL= by default, and the boot loaders didn't like that, so I used device names instead...
<snip>
/dev/sda3 / ext3 defaults 1 1
/dev/sda1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
/dev/hda /mnt/dvd iso9660 rw,users,iocharset=iso8859-1 0 0
/dev/sda4 /mnt/sda4 xfs defaults 0 0
</snip>
kanhan_vijay
3rd May 2005, 02:53 PM
Hi. I got the sata hdd working..
This works for Fedora Core 3
My M/C configuration
Amd Athlon 64 2800+
Asus k8s-Mx with sis 965L sata controller
80 Gb Seagate ( sata )
i am not an expert and i got this working with trial and error, so if any procedure seems stupid please excuse but that was how i got the thing working :)
There are two ways
1. Install fedora on a pata h.d.d., complile a new kernel with support for SIS Sata controller ( SIS 965L), Copy the entire Pata to sata
2. Make a Driver disk for SIs sata controller (Sis 965L) and install directly on a sata H.D.D
The first procedure
1. download the kernel source rpm "kernel-2.6.9-1.667.src.rpm" from fedora.redhat.com
2. download the Sis Sata patch from www.sis.com.tw download the file "sis18x_2.6.9_1.00.00.tgz"
3. install the kernel source, compile the new kernel with module support for SIs 964
4. reboot into the new kernel
5. install the sata patch.. there is a readme in the package
It was after this that i faced my first problem. when i manually did modprobe the sata controller
was detected. but kudzu was not detecting the controller on startup .i had to do modprobe every time i rebooted. i noticed that windows xp was detecting the controller as Sis 182. so edited the modules.pcimap file to include the reference and voila Kudzu detected it.
6. Edit the modules.pcimap file and append this line
"sata_sis 0x00001039 0x00000182 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0"
7. Reboot the machine and kudzu should now detect the Sata controller.
8. Your sata hard disk should also be detected
After i got fedora to see the harddisk i cloned the pata to sata using Norton ghost but as i wrote in my previous post i lucked out there. There were two problems first the initrd file didnt have the new sata module and secondly as pointed out grevedan i had to discard LABEL= in grub.conf and fstab and use device names instead.
9. Modify the initrd file and put the new compiled modules ( sata_sis.ko,libata.ko, scsi_mod.ko ) in the initrd file
10. edit the grub.conf and fstab file to reflect the appropriate device name
11. shut down the machine
12. clone the pata hdd to sata hdd, remove the pata and boot from sata only
The second procedure
You will need another machine to compile the requisite modules. you will have to compile the sata_sis module twice. one with 586 architecture and another with 686 architecture. the reason for that is when fedora boots off the first cd it uses the 586 kernel and it installs the 686 kernel on the hard disk. there are excellent tutorials available on the net regarding compiling kernels .
1. Make a driver disk with the 586 kernel module. again there are good tutorials on how to make driver disk.
1A.Copy the new sata_sis.ko,libata.ko, scsi_mod.ko ( 686 architecture) to another floppy
2. while booting with the fedora core 3 cd 1 type "Linux dd"
3. this will ask you for a driver disk in the first screen. give the driver disk
4. fedora should now be able to see the hard disk. continue with normal installation
5. when the machine restarts. Agin boot with first cd .. use "linux rescue dd"
6. this will boot the machine in rescue mode. you have to use driver disk for fedora to see sata hdd
7. mount the hard disk
8. copy the files from (1A) to /lib/modules/2.6.9-1.667/kernel/drivers/scsi
9. Edit the modules.pcimap file and append this line
"sata_sis 0x00001039 0x00000182 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0"
10. Modify the initrd file and put the new compiled modules ( sata_sis.ko,libata.ko, scsi_mod.ko ) in the initrd file
11. restart the machine.. the new controller should work.
kanhan_vijay
3rd May 2005, 02:58 PM
and real thanks to grevedan for the help.
adad
16th June 2005, 01:47 PM
FC4 hasn't solved this either, as far as I know. :(
In my case, I can't install FC4 neither on a PATA nor a SATA disk. I've also disabled the sata controller in the bios.
I get this error message:
Cannot open root device "NULL" or unknown-block (3,2).
Any idea?
grevedan
16th June 2005, 05:46 PM
FC4 hasn't solved this either, as far as I know. :(
In my case, I can't install FC4 neither on a PATA nor a SATA disk. I've also disabled the sata controller in the bios.
I get this error message:
Cannot open root device "NULL" or unknown-block (3,2).
Any idea?
FC4 wouldn't have solved the problem. Unfortunately, the patch for the SATA from SIS is not integrated into the linux kernel. The code needs cleanup, and probably more of a demand. Send a message to the ide-linux message group at www.kernel.org asking about the patch.
Are you sure the PATA is being detected by the BIOS?
adad
16th June 2005, 06:18 PM
Yes, the PATA is there.
jmamprin
23rd June 2005, 12:08 AM
I have the same problem: I can't install FC4 on a K8S-MK with Athlon 64. The PC reboots while loading initrd.img. I have a sata disk, but I disabled it and tried with a pata with the same result.
Any idea?
Thanks in advance,
tomohit
7th July 2005, 10:30 AM
Hello Folks :) ,
Same problem here :(
AMD 2800+ with
ASUS K8S-MX board and
Seagate 80 GB SATA HDD
Now when I start RHEL-4 installing it doesn't detect the Sis SATA Controller though it has in built Sis SATA Controller driver. SiS.com do provide me witha source code but what do I do with it as I a a new bie on Linux. I wish someone could provide me with a floppy disk driver image for it. kanhan_vijay can you help me with it ? :confused: Or can any one else provide the latest driver location i.e. the .ko file with complete method of installing it.
Thanking you in advance
Regards
Mohit
eligne
10th August 2005, 08:33 AM
Hello
Exactly same problem too (reboot at end of initrd.img loading) :
AMD64 2800+
ASUS K8S-MX
1 GB kingston value 3200 DDR
Hitachi 240 GB PATA HDD + poor old Seagate 6 GB PATA
Tried many, many variants of command line options at prompt (all the ones suggested in this
topic) as well as BIOS settings (enable/disable SATA, as no SATA drive here, enable-disable PCI-X,
same for AGP fast-write etc). I suppose this is driver-related, saw many posts about 965L not
supported yet. Is anyone working on this issue, or will this southbridge remain unsupported ?
Thanx in advance for any advice, if I can help in any way... desperately cannot run linux on my
machine, so can't help running some tests...
coolmohitz
13th August 2005, 03:50 PM
Hey, can you help me out with creating a driver disk?
I am a complete newbie. Cudnt find links on google. Someone explain or post a link.
freddie_hg
20th October 2005, 08:02 PM
I have the same problem: I can't install FC4 on a K8S-MK with Athlon 64. The PC reboots while loading initrd.img. I have a sata disk, but I disabled it and tried with a pata with the same result.
Any idea?
Thanks in advance,
I was having the same problem with the Sempron 2600+ chip in the same motherboard.
I know it's not the best solution, but I have installed Fedora Core 3, instead of 4, and it works like a champ. :) it's booting and installed on a PATA drive.
now I just have to tackle the issue of the SATA drive.
Steve
jmamprin
4th February 2006, 01:19 AM
Hi.
Finally I could install Fedora Core 5 (Beta 2) from the iso CDs without make any change.
Thank to the Fedora team!
praveer_pdra
26th March 2006, 06:47 AM
Apart from FC5 mentioned by our friend almost all distros having kernel > 2.6.15 should work ok on this board ASUS k8s-mx.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.