LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-29-2013, 09:23 PM   #1
rudes
LQ Newbie
 
Registered: Aug 2008
Location: North Carolina, USA
Distribution: Fedora
Posts: 12

Rep: Reputation: 0
Cannot boot Fedora 18 with SATA-ahci enabled unless a usb drive is plugged in


Hello

I have installed Fedora 18 on a HP envy h8-1520t(EFI system). I could only get it to install/boot with secure boot disabled.

However the bigger problem is that if SATA emulation in EFI is set to "ahci" (as opposed to "ide") it hangs with the message "Loading inital ramdisk" The installation was done with SATA emulation set to "ahci". But it will boot if I set "ide"

AND it will boot with SATA emulation set to "ahci" IF AND ONLY IF a usb pendrive is plugged in. When it boots as such,

dmesg reveals:
[ 0.711740] ahci 0000:00:1f.2: version 3.0
[ 0.711791] ahci 0000:00:1f.2: irq 42 for MSI/MSI-X
[ 0.722705] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3f impl SATA mode
[ 0.722718] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst
[ 0.722721] ahci 0000:00:1f.2: setting latency timer to 64
[ 0.732883] scsi0 : ahci
[ 0.732927] scsi1 : ahci
[ 0.732964] scsi2 : ahci
[ 0.733000] scsi3 : ahci
[ 0.733035] scsi4 : ahci
[ 0.733069] scsi5 : ahci


lspci -vv reveals:
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 2ad5
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 42
Region 0: I/O ports at f070 [size=8]
Region 1: I/O ports at f060 [size=4]
Region 2: I/O ports at f050 [size=8]
Region 3: I/O ports at f040 [size=4]
Region 4: I/O ports at f020 [size=32]
Region 5: Memory at f7f16000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee002f8 Data: 0000
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
Capabilities: [b0] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: ahci



cat config-`uname -r` |grep AHCI reveals
CONFIG_SATA_AHCI=y
CONFIG_SATA_AHCI_PLATFORM=m
CONFIG_SATA_ACARD_AHCI=m


So ahci support is in the kernel.

Also, grub does not recognize any of the partitions except for the fat16/32 efi (windows and linux) partitions.

grub> ls
(hd0) (hd0, gpt8) (hd0, gpt8) (hd0, gpt8) (hd0, gpt8) (hd0, gpt8) (hd0, gpt8) (hd0, gpt8) (hd0, gpt8)
(hd1) error: failure reading sector 0xfc from `hd1'
error: failure reading sector 0xe0 from `hd1'

There is only 1 hard drive on the machine.


grub>ls (hd0,1)
error: unknown filesystem

grub>ls (hd0,2)
efi/

grub>ls (hd0,3)
error: unknown filesystem

grub>ls (hd0,4)
error: unknown filesystem

grub>ls (hd0,5)
error: unknown filesystem

grub>ls (hd0,6)
efi/ System/ mach_kernel

grub>ls (hd0,7)
error: invalid file name

grub>ls (hd0,8)
error: unknown filesystem

I ran that bootinfoscript, but it uses fdisk and this disk is partitioned GPT not MBR so I'm not sure the results are reliable.

I'm told by the extremly unhelpful HP support that this is a Pegatron-IPMMB-FM motherboard and I know the EFI is made by AMI. Apparently no firmware updates are available. The tech support had no idea what I was talking about when I asked.

It'll be the last time I get one of these boards and most likely any PC's from HP.


Any help would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA drive /AHCI issue spandey Linux - Hardware 3 12-11-2010 09:33 PM
Can't get SATA drive in AHCI mode, stuck with ata_piix Silverpike Linux - Hardware 3 04-07-2010 09:34 PM
Installed with AHCI enabled, now won't boot without it Zmaster115 Suse/Novell 10 10-06-2008 12:01 PM
Unable to boot from an AHCI enabled SATA disk nomind Linux - Hardware 2 07-08-2007 08:12 PM
Does Anyone Have Ahci Sata Hard Drive Working Under Red Hat 2.4.29 ??? zotyi Linux - General 1 04-11-2005 05:06 AM


All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration