lkml.org 
[lkml]   [2010]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: How to determine the information about SATA controller
From
Hello,

On Sat, Sep 11, 2010 at 4:13 PM, Mikael Pettersson <mikpe@it.uu.se> wrote:
> Jaswinder Singh Rajput writes:
>  > Hello,
>  >
>  > My old IDE hard disk is broken so I installed new SATA drive on my box with F13:
>  >
>  > dmesg :
>  > http://userweb.kernel.org/~jaswinder/P4_HT/dmesg_2633_fc13.txt
>  >
>  > lsmod:
>  > http://userweb.kernel.org/~jaswinder/P4_HT/lsmod_2633_fc13.txt
>  >
>  > lspci:
>  > 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM
>  > Controller/Host-Hub Interface (rev 02)
>  > 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated
>  > Graphics Controller (rev 02)
>  > 00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to
>  > I/O Memory Interface (rev 02)
>  > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
>  > 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC
>  > Interface Bridge (rev 02)
>  > 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
>  > Controller (rev 02)
>  > 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
>  >
>  > I am trying to build the kernel with this config:
>  > http://userweb.kernel.org/~jaswinder/P4_HT/config-ht-test.txt
>  >
>  > But I am getting error :
>  >
>  > No root device found.
>  > Boot has failed, sleeping forever
>  >
>  > I am trying to determine the information about the SATA controller so
>  > that I can choose the appropriate controller for SATA in kernel
>  > config. I am not able to figure out the SATA information from above
>  > dmesg and lsmod. How can I do so.
>
> In your working dmesg the disks are controlled by ata_piix,
> but you've disabled CONFIG_ATA_PIIX in the config you're trying.
> So it's not surprising that you can't boot.
>
> 1) re-enable CONFIG_ATA_PIIX and disable CONFIG_IDE

I have enabled CONFIG_ATA_PIIX
and disabled CONFIG_IDE

but still getting same error :

No root device found.
Boot has failed, sleeping forever

Am I missing some more options.

> or
> 2) go into the bios and change the option that says whether to run
>   the ATA controller in legacy/compatible mode or enhanced/ahci mode,
>   you want ahci mode
>

In my case, BIOS options are enhanced / legacy / disabled. I tried all
but of no use. So I am using enhanced to boot Fedora 13 kernel.

Thanks,
--
Jawinder Singh.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-09-11 14:37    [W:0.059 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site