Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
S-ATA HELP!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Fri Apr 16, 2004 12:06 am    Post subject: S-ATA HELP!!! Reply with quote

i have one s-ata drive on my computer with ASUS P4C800-E Deluxe.....i want to install gentoo....i do smp pnpbios=off doataraid for boot and after it boots it seems /dev/sda for /dev/hde ......i have installed gentoo with kernel 2.4.24 vanilla-sources .......my lilo.conf is
Quote:
boot=/dev/sda
prompt
timeout=50
default=Gentoo
image=/boot/bzImage
root=/dev/sda8
label=Gentoo

i do lilo
Quote:
Added Gentoo

and after i boot it give that error
Quote:
hde : attached ide-disk driver

and it stop.....i would like to know what can i do? how can i boot it?
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1100
Location: Den Dolder, The Netherlands

PostPosted: Fri Apr 16, 2004 9:29 am    Post subject: Reply with quote

Have you compiled S-ATA support into your kernel? It may not be possible for the 2.4.24 kernel series, you may have to use a 2.6 kernel instead...
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Fri Apr 16, 2004 7:07 pm    Post subject: Reply with quote

i have try mandrake it install it boot parfectly and it use kernel 2.4.22 ?
Back to top
View user's profile Send private message
Mikessu
Bodhisattva
Bodhisattva


Joined: 11 Oct 2003
Posts: 220
Location: Oulu, Finland

PostPosted: Fri Apr 16, 2004 7:48 pm    Post subject: Reply with quote

Now you must use you're livecd and chroot to you're Gentoo installation like in installation manual.

After that you have to compile you're kernel again, I recommened that you do it manually, because genkernel may not always work.

I use gentoo-dev-sources (2.6.5) and serial ata is working fine. After you've emerged new sources, change the symlink and then go to /usr/src/linux and compile kernel manually. You will find serial ata controllers from:


Code:
Device Drivers  --->
  ATA/ATAPI/MFM/RLL support  --->


Kernel compiling is explained in Gentoo installation manual.
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1100
Location: Den Dolder, The Netherlands

PostPosted: Fri Apr 16, 2004 8:10 pm    Post subject: Reply with quote

Mikessu wrote:
Now you must use you're livecd and chroot to you're Gentoo installation like in installation manual.
For a more extensive instruction you may also check https://forums.gentoo.org/viewtopic.php?t=125347
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Fri Apr 16, 2004 9:23 pm    Post subject: Reply with quote

I installed on serial ATA hard drives as well. It was my experience that the live cd listed my serial ATA harddrives as hdd and hde, but when I booted into my installed kernel, the devices changed to hdg and hdh. It appears that the kernel on the livecd put the first ATA device (my dvd drive) as hdc, then the next one it found (first sATA drive) as hdd and the last device (second sATA drive) as hde in that order. My installed kernel on the other hand reserved hdc hdd hde and hdf for the devices that could have been on my parallel ATA and then moved to the sATA. Since each parallel device can support 2 drives, I get this:

hdc: primary master (dvd drive)
hdd: primary slave (not present)
hde: secondary master (not present)
hdf: secondary slave (not present)
hdg: sATA device (first harddrive)
hdh: sATA device (second harddrive)
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sat Apr 17, 2004 12:26 pm    Post subject: Reply with quote

dirtboy wrote:
It was my experience that the live cd listed my serial ATA harddrives as hdd and hde

when you boot your livecd what did you write something like that
Quote:
smp-nofb pnpbios=off doataraid

or anything else? what your bios see you s-ata drive i mean Primary IDE Master or anything else ?
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sat Apr 17, 2004 12:42 pm    Post subject: Reply with quote

i installed with kernel 2.4.24 it give: hde : attached ide-disk drive and it stop....i try with kernel 2.6 it pass here but it gives kernel panic root= ....when i boot from livecd i use smp-nofb pnpbios=off doataraid and it see my s-ata to /dev/sda and my lilo.conf is
Quote:
boot=/dev/sda
timeout=50
prompt
default=Gentoo
image=/boot/kernel-2.6
root=/dev/sda8
label=Gentoo

and i use lilo it sais Added Gentoo ....and after booting with kernel 2.6 it give kernel panic : root=...... ?my bios see Third IDE Master for my harddrive.....
and what grub seems hde and sda like hd1 or anything else ?
PLEASE ANY HELP!!!I need to install gentoo :?
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Sat Apr 17, 2004 1:08 pm    Post subject: Reply with quote

furkan,
under the 2.4.24 kernel the sata drive will be /dev/hdx
whereas in the 2.6.x sata drive will be /dev/sdx
so it can be messy as far as your lilo.conf
file if you have both 2.4 and 2.6 kernels.
assuming that you have already compiled
a 2.6.x kernel.
do the followings:
1) boot off the 2004.0 live cd.
2) at the boot prompt specify "smp"
(this boot boot a 2.6.x kernel)
3) mount the file systems where you
did the gentoo install and chroot
to it as per the gentoo handbook
instructions.
4) rebuild your kernel with in built
sata support. be sure to mount
your boot partition at /boot
although, if I am not mistaken
the newer versions of genkernel
do that for you???
Code:

genkernel --menuconfig all

5) navigate the menus and enable scsi
support
Code:

Device Drivers  --->
 SCSI device support  --->
     [*]   legacy /proc/scsi/ support
     <*>   SCSI disk support
     <*>   SCSI generic support

6) in build sata support which is specific
to your hardware. in my case i
have an intel 865 based motherboard
so i in-built "Intel PIIX/ICH SATA support"

Code:

Device Drivers  --->
 SCSI device support  --->
  SCSI low-level drivers  --->
   [*] Serial ATA (SATA) support
    < >   ServerWorks Frodo / Apple K2 SATA support (EXPERIMENTAL)
    <*>   Intel PIIX/ICH SATA support
    < >   Promise SATA support
    < >   Silicon Image SATA support
    < >   VIA SATA support
    < >   VITESSE VSC-7174 SATA support

7) now exit, save your configuration,
and let the new kernel be built.
8) update the boot record
Code:

lilo

9) umount your boot partition, i assume
that your boot partition is /dev/sda1
Code:

umount /dev/sda1

hth
and happy gentooing
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sat Apr 17, 2004 2:39 pm    Post subject: Reply with quote

but how can i do it with kernel 2.4.24 ? i know serial ata work with kernel 2.4.24 but i don't know how to work :) because in mandrake 9.2 it use 2.4.22 kernel and it boot perfectly with kernel 2.4.22 ? how can i do it with kernel 2.4.24 ?
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sat Apr 17, 2004 2:48 pm    Post subject: Reply with quote

why i want to use kernel 2.4.24 ? because i use an hcf modem and i can't find hcf modem drivers for kernel 2.6....
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Sat Apr 17, 2004 3:17 pm    Post subject: Reply with quote

furkan,
yes i know sata work with the 2.4.2x kernels.
the reason the you could not boot with it is because of your
lilo.conf, you should change the /dev/sda(x) to /dev/hda(x)
hth
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sat Apr 17, 2004 7:38 pm    Post subject: Reply with quote

so finally i install my gentoo on my serial ata but in other way :) and now i have another problem: i do mkraid /dev/hda8 my hda8 is / ....and i write
Quote:
/dev/hda8 / raid noatime 0 0

in my fstab and when i boot my gentoo:
Quote:
fsck.raid.......raid ......

and it write CTRL-D i touch it and it reboot.....i would like to know what i should write in my fstab ?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Apr 17, 2004 9:48 pm    Post subject: Reply with quote

furkan wrote:
/dev/hda8 / raid noatime 0 0

Try replacing "raid" with the filesystem you used (ext3, reiserfs, etc.)
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sun Apr 18, 2004 1:08 pm    Post subject: Reply with quote

thanks for helps i have my system now..... :)
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Mon May 03, 2004 7:02 am    Post subject: Reply with quote

I'm running a couple boxes with SATA drives and a 2.6 kernel and they're listed as /dev/hde. No SCSI crap whatsoever (/dev/sdX).

What LiveCD did you use that recognizes a SATA drive? I've not come across one yet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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