View previous topic :: View next topic |
Author |
Message |
Corona688 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/164511503041338d913f8fb.gif)
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Tue Jan 13, 2004 12:56 pm Post subject: Configuring kernel for SII3114 |
|
|
OK, I've got Gentoo installed and booting on my latest machine. What should I do to get support for the Silicon Image 3114? I thought preliminary support for it was supposed to be in gentoo-dev-sources, but it seems not - - it only mentions the 3112, and suprise suprise, doesn't work as far as I can tell.
Any suggestsions on how to activate this, or patch it, or debug it, or whatever? Or should I just exchange my 80G SATA for something a little less high-tech? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Moled l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Jul 2003 Posts: 635
|
Posted: Tue Jan 13, 2004 3:16 pm Post subject: |
|
|
use mm-sources |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Corona688 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/164511503041338d913f8fb.gif)
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Tue Jan 13, 2004 10:58 pm Post subject: |
|
|
OK... I presume you mean USE="mm-sources" for the kernel source. So did set the use variable, deleted the kernel source, then 'emerge --usepkg gentoo-dev-sources', which caused it to re-download the kernel source and install a few patches. 'make menuconfig' didn't look one whit different, however, and upon trying the 'new' kernel, the difference I noticed was precisely jack and squat.
So... If someone would like to give me an answer containing more than two words I would appreciate it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ballyn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Aug 2003 Posts: 73
|
Posted: Wed Jan 14, 2004 1:12 am Post subject: |
|
|
Just "emerge mm-sources" and then cd into your /usr/src/linux*mm* directory to build your kernel.
There's actually two drivers right now, I think... the libata driver (under scsi) and the "native" driver (under ide). Some of this work is ongoing, but both of these drivers supposedly support the 3112 and the 3114. BTW, you'll need to disable the "Select only drivers expected to compile cleanly" option in the kernel config to see the libata driver...
From what I can tell so far, the libata driver is giving higher performance overall and the developer calls the core "production ready" while the native ide driver is pretty much alpha/early-beta. Oh, and don't build both into your kernel... the native driver will likely take over.
Let us know how it goes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Corona688 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/164511503041338d913f8fb.gif)
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Wed Jan 14, 2004 1:30 pm Post subject: |
|
|
Ah, I see! Thank you.
I've now run into an even more annoying problem, unfortunately. It tells me that all the dependencies(Dependencies!? It's KERNEL SOURCE!) for mm-sources are masked, and won't tell me where or why. Running in full debug mode didn't even tell me what's masking it. It wasn't in package.mask... What do I do?
Machine is a Dual Opteron 242, running on Tyan Thunder K8W. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Corona688 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/164511503041338d913f8fb.gif)
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Wed Jan 14, 2004 10:48 pm Post subject: |
|
|
I figured it out... for some reason it wanted "~x86", not "~amd64". Downloaded and installed source, compiling kernel now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Corona688 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/164511503041338d913f8fb.gif)
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Wed Jan 14, 2004 11:26 pm Post subject: |
|
|
Code: |
modprobe libata
modprobe sata_sil
ls /dev/sd*
/dev/sda
fdisk /dev/sda
<snip>
Disk /dev/sda: 80.0GB, 80026361856 bytes |
It works! It wooorks! Thank you for your patience with the obvious gentoo-newbie. ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mark Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Jun 2002 Posts: 119
|
Posted: Mon Jan 19, 2004 6:41 pm Post subject: |
|
|
Corona688 wrote: | Code: |
modprobe libata
modprobe sata_sil
ls /dev/sd*
/dev/sda
fdisk /dev/sda
<snip>
Disk /dev/sda: 80.0GB, 80026361856 bytes |
It works! It wooorks! Thank you for your patience with the obvious gentoo-newbie. ![Embarassed :oops:](images/smiles/icon_redface.gif) |
Have you managed to boot on the 3114? If so could you post your grub.conf.
I'm getting VFS errors relating to not recognising sda and to use a valid root= option.
Mark _________________ Regards
Mark |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mark Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Jun 2002 Posts: 119
|
Posted: Mon Jan 19, 2004 11:21 pm Post subject: |
|
|
mark wrote: | Corona688 wrote: | Code: |
modprobe libata
modprobe sata_sil
ls /dev/sd*
/dev/sda
fdisk /dev/sda
<snip>
Disk /dev/sda: 80.0GB, 80026361856 bytes |
It works! It wooorks! Thank you for your patience with the obvious gentoo-newbie. ![Embarassed :oops:](images/smiles/icon_redface.gif) |
Have you managed to boot on the 3114? If so could you post your grub.conf.
I'm getting VFS errors relating to not recognising sda and to use a valid root= option.
Mark |
I fixed it, I needed to build sd disk into the kernel instead of as a module
Mark _________________ Regards
Mark |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|