Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]HP Pavilion Laptop and SATA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kharan5876
n00b
n00b


Joined: 15 Jan 2006
Posts: 66

PostPosted: Sun Apr 30, 2006 5:55 am    Post subject: [Solved]HP Pavilion Laptop and SATA Reply with quote

Hello all, this is my second time doing a gentoo installation, this time on a notebook instead of a pc and im running into a ton of problems.
I just got a HP pavilion dv5000t, it uses the intel chipset and an intel sata harddrive. I am using gentoo-sources-2.6.16-r3 and the Grub Boot Loader.
I selected the correct driver in my kernel (Intel PIIX/ICH SATA support).

When I booted from the livecd to do my install everything worked fine. However, when I try to boot my gentoo installation I get
Code:
VFS: Cannot open root device "sda7" or unknown-block(0,0)
Please append a correct "root=" boot option
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


I can go into my the Laptop's bios and "Disable Native Sata support" which allows my gentoo to boot perfectly. I'd like to run gentoo with the sata support, does anyone know if I can fix this? The Livecd works with Native sata support so there has to be something wrong. I've tried HP but they didnt know anything.

Heres my grub.conf
Code:
timout 10
default 0
fallback 0
splashimage=(hd0,4)/grub/splash.xpm.gz

title Gentoo x86
root (hd0,4)
kernel (hd0,4)/boot/kernel-2.6.16-gentoo-r3 root=/dev/sda7


Last edited by kharan5876 on Wed May 03, 2006 5:01 am; edited 1 time in total
Back to top
View user's profile Send private message
anthrax
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2005
Posts: 105

PostPosted: Sun Apr 30, 2006 7:05 pm    Post subject: Reply with quote

Try rebuilding your kernel after having changed in Bus Options -> PCI Access Mode ->(change from Any to Direct).

I think the mmconfig option is buggier than I thought.

That should allow you to boot in native mode.
_________________
Trust is a weakness
Back to top
View user's profile Send private message
kharan5876
n00b
n00b


Joined: 15 Jan 2006
Posts: 66

PostPosted: Mon May 01, 2006 12:37 am    Post subject: Reply with quote

Thanks for the suggestion. Tried setting it to Direct and it didnt work, also tried using the Bios setting and that failed too.
Any other ideas?
Back to top
View user's profile Send private message
anthrax
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2005
Posts: 105

PostPosted: Mon May 01, 2006 12:57 am    Post subject: Reply with quote

The idea I gave you worked for an AMD64 mythtv box I was setting up for a friend so since it was in general the same error I thought it would be worth a shot for you. I will have a google around for you, but right now I suggest you unmask and emerge the mm-sources kernel patchset which will have a much more up to date libata and might give you a better chance of success.

Good Luck :D
_________________
Trust is a weakness
Back to top
View user's profile Send private message
kharan5876
n00b
n00b


Joined: 15 Jan 2006
Posts: 66

PostPosted: Mon May 01, 2006 6:38 pm    Post subject: Reply with quote

I remeber another post I read about someone having a similar sata problem and they recommended opening the box up and disconnecting the card reader and usb and booting once. Really would rather not try that unless its totally necessary.

EDIT:
Solved this problem all I had to do was enable SATA AHCI support in the kernel, now I feel dumb lol. Anyway I think I finally got all of my machines hardware setup!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum