* [gentoo-user] changed motherboard, no AHCI
@ 2012-04-20 9:25 Philip Webb
2012-04-20 10:46 ` Dale
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Philip Webb @ 2012-04-20 9:25 UTC (permalink / raw
To: Gentoo User
My motherboard went on the blink earlier this week.
I've now successfully installed a new one,
but now can't get the kernel to find the SATA hard disk ("803 etc").
The problem seems to be that the kernel has AHCI enabled,
which was necessary for the old mobo,
but the new one's BIOS doesn't have an option to select AHCI.
The Ubuntu + Mandriva partitions start properly, as does System Rescue,
so the problem has to be in the Gentoo kernel configuration.
(1) Can I simply drop AHCI from the kernel or do I need to do something else ?
(2) Can I recompile the kernel without going thro' a partial re-install
or do I need to do a change-root etc to get it to work ?
Can anyone advise ?
--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-20 9:25 [gentoo-user] changed motherboard, no AHCI Philip Webb
@ 2012-04-20 10:46 ` Dale
2012-04-20 15:21 ` Volker Armin Hemmann
2012-04-20 20:07 ` [gentoo-user] changed motherboard, no AHCI Michael Scherer
2 siblings, 0 replies; 12+ messages in thread
From: Dale @ 2012-04-20 10:46 UTC (permalink / raw
To: gentoo-user
Philip Webb wrote:
> My motherboard went on the blink earlier this week.
> I've now successfully installed a new one,
> but now can't get the kernel to find the SATA hard disk ("803 etc").
>
> The problem seems to be that the kernel has AHCI enabled,
> which was necessary for the old mobo,
> but the new one's BIOS doesn't have an option to select AHCI.
> The Ubuntu + Mandriva partitions start properly, as does System Rescue,
> so the problem has to be in the Gentoo kernel configuration.
>
> (1) Can I simply drop AHCI from the kernel or do I need to do something else ?
> (2) Can I recompile the kernel without going thro' a partial re-install
> or do I need to do a change-root etc to get it to work ?
>
> Can anyone advise ?
>
If you need to rebuild the kernel, try this. Boot into you other
distro, Mandrive or Ubuntu should work fine. You just need the chroot
command. Mount the Gentoo partitions just like you would during the
install. Just mount them tho, NO file system or disk formatting stuff.
;-) Once mounted, just follow the chroot instructions just like in the
install. These are the current ones:
cd /
mount -t proc proc /mnt/gentoo/proc
mount --rbind /dev /mnt/gentoo/dev
cp -L /etc/resolv.conf /mnt/gentoo/etc/
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
Once you are in there, cd to /usr/src/linux and make the needed changes,
recompile, copy the new kernel over, edit grub.conf if needed and then
reverse things so you can reboot. Don't forget to run env-update just
before exiting. Also, I sometimes have trouble unmounting some
partitions. Just unmount all you can before you reboot. I usually
can't get the dev and root ones unmounted. It appears that something
gets busy and can't be stopped. Your mileage may vary tho.
You should be able to reboot Gentoo and hopefully the new kernel will
work. Also, check into options you can add to the grub line when
booting. Remember, you can edit grub and change the boot process. I'm
assuming you are using grub instead of lilo.
Hope that helps.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
Miss the compile output? Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-20 9:25 [gentoo-user] changed motherboard, no AHCI Philip Webb
2012-04-20 10:46 ` Dale
@ 2012-04-20 15:21 ` Volker Armin Hemmann
2012-04-21 2:12 ` Philip Webb
2012-04-20 20:07 ` [gentoo-user] changed motherboard, no AHCI Michael Scherer
2 siblings, 1 reply; 12+ messages in thread
From: Volker Armin Hemmann @ 2012-04-20 15:21 UTC (permalink / raw
To: gentoo-user; +Cc: Philip Webb
Am Freitag, 20. April 2012, 05:25:58 schrieb Philip Webb:
> My motherboard went on the blink earlier this week.
> I've now successfully installed a new one,
> but now can't get the kernel to find the SATA hard disk ("803 etc").
>
> The problem seems to be that the kernel has AHCI enabled,
> which was necessary for the old mobo,
> but the new one's BIOS doesn't have an option to select AHCI.
seriously? or did you just look at the wrong place. Because AHCI is a must
have. Not a maybe or could be there.
If your mobo i does have vista/win7 certification, it does support AHCI. Or is
so horribly broken you should RMA ASAP.
--
#163933
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-20 15:21 ` Volker Armin Hemmann
@ 2012-04-21 2:12 ` Philip Webb
2012-04-21 3:13 ` pk
0 siblings, 1 reply; 12+ messages in thread
From: Philip Webb @ 2012-04-21 2:12 UTC (permalink / raw
To: Volker Armin Hemmann; +Cc: Gentoo User
120420 Volker Armin Hemmann wrote:
> Am Freitag, 20. April 2012, 05:25:58 schrieb Philip Webb:
>> My motherboard went on the blink earlier this week.
>> I've now successfully installed a new one,
>> but now can't get the kernel to find the SATA hard disk ("803 etc").
>>
>> The problem seems to be that the kernel has AHCI enabled,
>> which was necessary for the old mobo,
>> but the new one's BIOS doesn't have an option to select AHCI.
> did you just look at the wrong place,
> because AHCI is a must-have, not a maybe or could be there.
> If your mobo has vista/win7 certification, it does support AHCI.
> Or is so horribly broken you should RMA ASAP.
It's an Asus P5G41T-M LX & the manual says :
"This motherboard supports Windows Vista/XP/7 OS".
The previous mobo (Asus P5K-VM) has a menu
Main -> IDE Configuration -> Configure SATA as [IDE]
with an option 'AHCI', which was enabled & the kernel booted properly;
its manual says "If you want to use the SATA drives as parallel ATA
physical storage, keep the default setting [IDE]",
but that caused the same problem that the kernel couldn't find the drive;
when I configured it as [AHCI], everything worked (since 2007).
The new manual has a menu
Main -> Storage Configuration -> ATA/IDE configuration [Enhanced]
which corresponds to a menu 'SATA configuration' in the old manual
& [Enhanced] opens another item 'Enhanced mode support on S-ATA',
which allows you to set Serial/Parallel/Both for ATA.
Since Ubuntu, Mandriva & System Rescue boot without any problem
& SR does find my LVM partitions & can mount them properly,
there must be settings which allow the kernel to find the HD with this mobo.
I will look them up & compare them all later today,
but any further advice is very welcome. Thanks so far.
--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-21 2:12 ` Philip Webb
@ 2012-04-21 3:13 ` pk
2012-04-21 8:02 ` Philip Webb
2012-04-21 8:18 ` Graham Murray
0 siblings, 2 replies; 12+ messages in thread
From: pk @ 2012-04-21 3:13 UTC (permalink / raw
To: gentoo-user
On 2012-04-21 04:12, Philip Webb wrote:
> It's an Asus P5G41T-M LX & the manual says :
Hm... the chipset on that mobo is G41 (released in 2008) and it combines
with ICH7 which unfortunately doesn't seem to support AHCI. Sorry...
Best regards
Peter K
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-21 3:13 ` pk
@ 2012-04-21 8:02 ` Philip Webb
2012-04-21 8:43 ` Helmut Jarausch
2012-04-21 8:18 ` Graham Murray
1 sibling, 1 reply; 12+ messages in thread
From: Philip Webb @ 2012-04-21 8:02 UTC (permalink / raw
To: gentoo-user
120421 pk wrote:
> On 2012-04-21 04:12, Philip Webb wrote:
>> It's an Asus P5G41T-M LX & the manual says :
> the chipset on that mobo is G41 (released in 2008) and it combines
> with ICH7 which unfortunately doesn't seem to support AHCI.
That's important to hear, but it can't be a show-stopper,
as the 3 other Linux distro's I've mentioned have no problem.
I tried compiling AHCI as [M], which is what Mandriva + Ubuntu do,
but it makes no difference. There must be some other setting
their kernels use to identify the drive, which mine doesn't have set.
Can anyone suggest what other settings to try ?
I've looked at their kernel .config files, but nothing jumps out.
At least, I've managed to compile + install a kernel
in a chroot using System Rescue, which I hadn't done before !
--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-21 8:02 ` Philip Webb
@ 2012-04-21 8:43 ` Helmut Jarausch
0 siblings, 0 replies; 12+ messages in thread
From: Helmut Jarausch @ 2012-04-21 8:43 UTC (permalink / raw
To: gentoo-user
On 04/21/2012 10:02:26 AM, Philip Webb wrote:
> 120421 pk wrote:
> > On 2012-04-21 04:12, Philip Webb wrote:
> >> It's an Asus P5G41T-M LX & the manual says :
> > the chipset on that mobo is G41 (released in 2008) and it combines
> > with ICH7 which unfortunately doesn't seem to support AHCI.
>
> That's important to hear, but it can't be a show-stopper,
> as the 3 other Linux distro's I've mentioned have no problem.
> I tried compiling AHCI as [M], which is what Mandriva + Ubuntu do,
> but it makes no difference. There must be some other setting
> their kernels use to identify the drive, which mine doesn't have set.
> Can anyone suggest what other settings to try ?
> I've looked at their kernel .config files, but nothing jumps out.
>
> At least, I've managed to compile + install a kernel
> in a chroot using System Rescue, which I hadn't done before !
>
Boot your system e.g. with SystemRescueCD
then do lspci -k
this shows you which module is in use.
Then build your own kernel with this module.
Helmut.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-21 3:13 ` pk
2012-04-21 8:02 ` Philip Webb
@ 2012-04-21 8:18 ` Graham Murray
2012-04-21 10:22 ` [gentoo-user] changed motherboard, no AHCI [SOLVED] Philip Webb
1 sibling, 1 reply; 12+ messages in thread
From: Graham Murray @ 2012-04-21 8:18 UTC (permalink / raw
To: gentoo-user
pk <peterk2@coolmail.se> writes:
> On 2012-04-21 04:12, Philip Webb wrote:
>
>> It's an Asus P5G41T-M LX & the manual says :
>
> Hm... the chipset on that mobo is G41 (released in 2008) and it combines
> with ICH7 which unfortunately doesn't seem to support AHCI. Sorry...
If it is an ICH which does not support AHCI, then try the option for
"Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA Support" which generates the
PIIX driver.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI [SOLVED]
2012-04-21 8:18 ` Graham Murray
@ 2012-04-21 10:22 ` Philip Webb
2012-04-21 10:48 ` Pandu Poluan
0 siblings, 1 reply; 12+ messages in thread
From: Philip Webb @ 2012-04-21 10:22 UTC (permalink / raw
To: gentoo-user
120421 Graham Murray wrote:
> pk <peterk2@coolmail.se> writes:
>> On 2012-04-21 04:12, Philip Webb wrote:
>>> It's an Asus P5G41T-M LX & the manual says :
>> the chipset on that mobo is G41 (released in 2008) and it combines
>> with ICH7 which unfortunately doesn't seem to support AHCI.
> If it is an ICH which does not support AHCI, then try the option
> for "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA Support"
> which generates the PIIX driver.
Thanks enormously ! -- that's the solution (ATA_PIIX).
I'm surprised that the newer mobo (G41) dropped support for AHCI
which the older mobo (G33) had, but it shouldn't make much difference
& I'm planning to build an upto-date machine later in the year.
So I'm now able to operate normally in the 2007 machine,
but it still has a problem with Eth0, which hopefully wb easier to fix:
this is being sent from the 2003 machine, which chugs along adequately.
--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI [SOLVED]
2012-04-21 10:22 ` [gentoo-user] changed motherboard, no AHCI [SOLVED] Philip Webb
@ 2012-04-21 10:48 ` Pandu Poluan
0 siblings, 0 replies; 12+ messages in thread
From: Pandu Poluan @ 2012-04-21 10:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
On Apr 21, 2012 5:26 PM, "Philip Webb" <purslow@ca.inter.net> wrote:
>
> 120421 Graham Murray wrote:
> > pk <peterk2@coolmail.se> writes:
> >> On 2012-04-21 04:12, Philip Webb wrote:
> >>> It's an Asus P5G41T-M LX & the manual says :
> >> the chipset on that mobo is G41 (released in 2008) and it combines
> >> with ICH7 which unfortunately doesn't seem to support AHCI.
> > If it is an ICH which does not support AHCI, then try the option
> > for "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA Support"
> > which generates the PIIX driver.
>
> Thanks enormously ! -- that's the solution (ATA_PIIX).
>
> I'm surprised that the newer mobo (G41) dropped support for AHCI
> which the older mobo (G33) had, but it shouldn't make much difference
> & I'm planning to build an upto-date machine later in the year.
>
That's Intel for you. Similar situation with their CPUs.
I always feel depressed if I have to purchase an Intel CPU. Feature support
(e.g. VT-x) are not guaranteed to exist, even when the CPU is a new one.
Rgds,
[-- Attachment #2: Type: text/html, Size: 1361 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] changed motherboard, no AHCI
2012-04-20 9:25 [gentoo-user] changed motherboard, no AHCI Philip Webb
2012-04-20 10:46 ` Dale
2012-04-20 15:21 ` Volker Armin Hemmann
@ 2012-04-20 20:07 ` Michael Scherer
2012-04-20 20:19 ` Dale
2 siblings, 1 reply; 12+ messages in thread
From: Michael Scherer @ 2012-04-20 20:07 UTC (permalink / raw
To: gentoo-user
which motherboard did you buy? it might be interesting to search
for other users' experiences.
michael
--
Michael Scherer
Univ.klinik f. Psychiatrie
email: michael.scherer@meduniwien.ac.at
phone: +43 6991 941 22 54
----- Original Message -----
From: "Philip Webb" <purslow@ca.inter.net>
To: "Gentoo User" <gentoo-user@lists.gentoo.org>
Sent: Friday, 20 April, 2012 11:25
Subject: [gentoo-user] changed motherboard, no AHCI
> My motherboard went on the blink earlier this week.
> I've now successfully installed a new one,
> but now can't get the kernel to find the SATA hard disk ("803 etc").
>
> The problem seems to be that the kernel has AHCI enabled,
> which was necessary for the old mobo,
> but the new one's BIOS doesn't have an option to select AHCI.
> The Ubuntu + Mandriva partitions start properly, as does System Rescue,
> so the problem has to be in the Gentoo kernel configuration.
>
> (1) Can I simply drop AHCI from the kernel or do I need to do something else ?
> (2) Can I recompile the kernel without going thro' a partial re-install
> or do I need to do a change-root etc to get it to work ?
>
> Can anyone advise ?
>
> --
> ========================,,============================================
> SUPPORT ___________//___, Philip Webb
> ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
> TRANSIT `-O----------O---' purslowatchassdotutorontodotca
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-04-21 10:50 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-20 9:25 [gentoo-user] changed motherboard, no AHCI Philip Webb
2012-04-20 10:46 ` Dale
2012-04-20 15:21 ` Volker Armin Hemmann
2012-04-21 2:12 ` Philip Webb
2012-04-21 3:13 ` pk
2012-04-21 8:02 ` Philip Webb
2012-04-21 8:43 ` Helmut Jarausch
2012-04-21 8:18 ` Graham Murray
2012-04-21 10:22 ` [gentoo-user] changed motherboard, no AHCI [SOLVED] Philip Webb
2012-04-21 10:48 ` Pandu Poluan
2012-04-20 20:07 ` [gentoo-user] changed motherboard, no AHCI Michael Scherer
2012-04-20 20:19 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox