Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[gentoo-user-fr] prise en charge du SATA

4 réponses
Avatar
Jean-Paul Lacquement
Bonjour,

J'ai install=E9 gentoo sur mon serveur (auparavant, c'=E9tait une debian).
Celui-ci comporte deux disques:

/dev/hda -> IDE -> /mnt/hd

/dev/hdc -> SATA -> /dev/hdc1 -> /boot
-> /dev/hdc3 -> /

Je pouvais pas deviner qu'au reboot, apr=E8s l'installation, mon SATA
serait hdc (j'aurai pr=E9f=E9r=E9 sda ou encore hda). Horreur! Le SATA est
terriblement lent! Forc=E8ment, il n'est pas actif dans le noyau par
d=E9faut 2.6.19. Je l'ai recompil=E9 dans le noyau

sedna linux # grep -i SATA /usr/src/linux/.config
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
CONFIG_SATA_INTEL_COMBINED=3Dy

Par contre lorsque je boote sur le nouveau noyau, on dirait bien que
ma racine n'est plus la m=EAme... Comment faire pour d=E9marrer avec prise
en charge de mon disque SATA?

Merci.

Ci-dessous mon grub.conf et fstab:

sedna linux # cat /boot/grub/grub.conf
default 0
timeout 30

splashimage=3D(hd0,0)/boot/grub/splash.xpm.gz

title=3DGentoo Linux ancien
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=3D/dev/ram0
init=3D/linuxrc ramdisk=3D8192 real_root=3D/dev/hdc3 udev
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

title=3DGentoo Linux recompile
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=3D/dev/ram0
init=3D/linuxrc ramdisk=3D8192 real_root=3D/dev/hdc3 udev
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5-custom

sedna linux # cat /etc/fstab
/dev/hdc1 /boot reiserfs notail,noatime 1 2
/dev/hdc3 / reiserfs notail,noatime 0 1
/dev/hdc2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda1 /mnt/hd1 reiserfs defaults 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs
nodev,nosuid,noexec 0 0
--
gentoo-user-fr@gentoo.org mailing list

4 réponses

Avatar
Didier Link
Le Fri, 9 Mar 2007 09:01:56 +0100,
"Jean-Paul Lacquement" a écrit :

Bonjour,



Bonjour,


J'ai installé gentoo sur mon serveur (auparavant, c'était une d ebian).
Celui-ci comporte deux disques:

/dev/hda -> IDE -> /mnt/hd

/dev/hdc -> SATA -> /dev/hdc1 -> /boot
-> /dev/hdc3 -> /

Je pouvais pas deviner qu'au reboot, après l'installation, mon SATA
serait hdc (j'aurai préféré sda ou encore hda). Horreur! L e SATA est
terriblement lent! Forcèment, il n'est pas actif dans le noyau par
défaut 2.6.19. Je l'ai recompilé dans le noyau

sedna linux # grep -i SATA /usr/src/linux/.config
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
CONFIG_SATA_INTEL_COMBINED=y

Par contre lorsque je boote sur le nouveau noyau, on dirait bien que
ma racine n'est plus la même... Comment faire pour démarrer ave c prise
en charge de mon disque SATA?



Oui effectivement le nom a dû changer en /dev/sda. C'est quoi le
message d'erreur exact que tu as au reboot ? Un kernel panic ou quelque
chose du genre ?


Merci.

Ci-dessous mon grub.conf et fstab:

sedna linux # cat /boot/grub/grub.conf
default 0
timeout 30

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux ancien
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

title=Gentoo Linux recompile
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0
init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5-custom



Ici à mon avis tu devrais changer "/dev/hdc3" en "/dev/sda3", tu iras
un peu plus loin je pense dans le processus de boot.


sedna linux # cat /etc/fstab
/dev/hdc1 /boot reiserfs
notail,noatime 1 2 /dev/hdc3 /
reiserfs notail,noatime 0 1 /dev/hdc2
none swap sw 0
0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660
noauto,ro 0 0 /dev/fd0 /mnt/floppy
auto noauto 0
0 /dev/hda1 /mnt/hd1 reiserfs
defaults 0 0 proc /proc
proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec
0 0



Ici aussi tu devrais changer tous tes /dev/hdc[123] en /dev/sda[123]

Tout ceci à condition que le driver sata du noyau se comporte comme le
mien (nvidia nforce4 pour ma part).

Avant de changer ton fstab assures-toi d'avoir un livecd sous la main
pour pouvoir réparer ton installation facilement.

Bon courage !

Didier


--
Didier Link
Jabber :
MSN :
SIP :

Clé GPG : 75BAC9EE
--
mailing list
Avatar
Mickael PARIS
------=_Part_92660_20860887.1173433263622
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Salut à tous,

Pour chaque nouveau noyau, kernel newbies donne des informations très
concises et claires :
je site :

Libata PATA (Parallel ATA) merge

By "Parallel ATA" we mean all the ATA/IDE controllers and drives that we
have been using for years before SATA. Almost from the start, one of the
objectives of some *kernel* hackers was to replace the IDE drivers availabl e
in drivers/ide<http://marc.theaimsgroup.com/?l=linux-kernel&m5514409 104283&w=2>(everything
under the "Device drivers -> ATA/ATAPI/MFM/RLL support"
configuration menu) with a reimplementation on top of libata (i.e.: the
"SATA layer"). Drivers/ide suffers from many ugly and obscure problems, and
re-implementing it on top of libata has been much easier than fixing the
unfixable drivers/ide mess - most of the porting work has been done by Alan
Cox (a consequence of this PATA merge is that libata and all its SATA
drivers have also been moved from drivers/scsi (available in the "Device
drivers -> SCSI device support -> SCSI low-level drivers" submenu) to
drivers/ata (now "Device drivers -> Serial ATA (prod) and Parallel ATA
(experimental) drivers"), and all the CONFIG_SCSI_FOOBAR options for the
individual SATA drivers have been changed to CONFIG_FOOBAR, so this means
you may need to reconfigure your SATA configuration options)

This means *2.6.19* may have two drivers for your PATA-based device: The ol d
IDE driver under "Device drivers -> ATA/ATAPI/MFM/RLL support" and an
alternative driver under "Device drivers -> Serial ATA (prod) and Parallel
ATA (experimental) drivers" (along with the rest of the SATA drivers)

What one must you choose? Well, the safe option is using the old driver: Th e
old drivers will continue working just as they did before. There'll be no
changes if you continue using the old drivers.

Donc tu compiles ton noyau avec les nouveaux drivers, et tu changes ton
fstab, ainsi que la ligne root= dans ton grub.

etcetcetc.

AMicalement.

Mickael



Le 09/03/07, Didier Link a écrit :

Le Fri, 9 Mar 2007 09:01:56 +0100,
"Jean-Paul Lacquement" a écrit :

> Bonjour,

Bonjour,

>
> J'ai installé gentoo sur mon serveur (auparavant, c'était une debia n).
> Celui-ci comporte deux disques:
>
> /dev/hda -> IDE -> /mnt/hd
>
> /dev/hdc -> SATA -> /dev/hdc1 -> /boot
> -> /dev/hdc3 -> /
>
> Je pouvais pas deviner qu'au reboot, après l'installation, mon SATA
> serait hdc (j'aurai préféré sda ou encore hda). Horreur! Le SATA est
> terriblement lent! Forcèment, il n'est pas actif dans le noyau par
> défaut 2.6.19. Je l'ai recompilé dans le noyau
>
> sedna linux # grep -i SATA /usr/src/linux/.config
> # CONFIG_BLK_DEV_IDE_SATA is not set
> # CONFIG_SATA_AHCI is not set
> # CONFIG_SATA_SVW is not set
> # CONFIG_SATA_MV is not set
> # CONFIG_SATA_NV is not set
> # CONFIG_SATA_QSTOR is not set
> # CONFIG_SATA_PROMISE is not set
> # CONFIG_SATA_SX4 is not set
> # CONFIG_SATA_SIL is not set
> # CONFIG_SATA_SIL24 is not set
> # CONFIG_SATA_SIS is not set
> # CONFIG_SATA_ULI is not set
> # CONFIG_SATA_VIA is not set
> # CONFIG_SATA_VITESSE is not set
> CONFIG_SATA_INTEL_COMBINED=y
>
> Par contre lorsque je boote sur le nouveau noyau, on dirait bien que
> ma racine n'est plus la même... Comment faire pour démarrer avec pr ise
> en charge de mon disque SATA?

Oui effectivement le nom a dû changer en /dev/sda. C'est quoi le
message d'erreur exact que tu as au reboot ? Un kernel panic ou quelque
chose du genre ?

>
> Merci.
>
> Ci-dessous mon grub.conf et fstab:
>
> sedna linux # cat /boot/grub/grub.conf
> default 0
> timeout 30
>
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>
> title=Gentoo Linux ancien
> root (hd0,0)
> kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
> init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
> initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5
>
> title=Gentoo Linux recompile
> root (hd0,0)
> kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0
> init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
> initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5-custom

Ici à mon avis tu devrais changer "/dev/hdc3" en "/dev/sda3", tu iras
un peu plus loin je pense dans le processus de boot.

>
> sedna linux # cat /etc/fstab
> /dev/hdc1 /boot reiserfs
> notail,noatime 1 2 /dev/hdc3 /
> reiserfs notail,noatime 0 1 /dev/hdc2
> none swap sw 0
> 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660
> noauto,ro 0 0 /dev/fd0 /mnt/floppy
> auto noauto 0
> 0 /dev/hda1 /mnt/hd1 reiserfs
> defaults 0 0 proc /proc
> proc defaults 0 0
> shm /dev/shm tmpfs nodev,nosuid,noexec
> 0 0

Ici aussi tu devrais changer tous tes /dev/hdc[123] en /dev/sda[123]

Tout ceci à condition que le driver sata du noyau se comporte comme le
mien (nvidia nforce4 pour ma part).

Avant de changer ton fstab assures-toi d'avoir un livecd sous la main
pour pouvoir réparer ton installation facilement.

Bon courage !

Didier


--
Didier Link
Jabber :
MSN :
SIP :

Clé GPG : 75BAC9EE
--
mailing list





------=_Part_92660_20860887.1173433263622
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Salut à tous,<br><br>Pour chaque nouveau noyau, kernel newbies donne des informations très concises et claires :<br>je site : <br><br><h3 id="he ad-cdcbaa9c1b476decdc064e0a75d23d1328b1ddce">Libata PATA (Parallel ATA) mer ge</h3>

<p class="line862">By &quot;Parallel ATA&quot; we mean all the ATA/IDE
controllers and drives that we have been using for years before SATA.
Almost from the start, one of the objectives of some <b style="color: bla ck; background-color: rgb(255, 255, 102);">kernel</b> hackers was to <a cla ss="http" href="http://marc.theaimsgroup.com/?l=linux-kernel&amp;m= 115514409104283&amp;w=2">
replace the IDE drivers available in drivers/ide</a>
(everything under the &quot;Device drivers -&gt; ATA/ATAPI/MFM/RLL support& quot;
configuration menu) with a reimplementation on top of libata (i.e.: the
&quot;SATA layer&quot;). Drivers/ide suffers from many ugly and obscure pro blems,
and re-implementing it on top of libata has been much easier than
fixing the unfixable drivers/ide mess - most of the porting work has
been done by Alan Cox (a consequence of this PATA merge is that libata
and all its SATA drivers have also been moved from drivers/scsi
(available in the &quot;Device drivers -&gt; SCSI device support -&gt; SCSI
low-level drivers&quot; submenu) to drivers/ata (now &quot;Device drivers - &gt;
Serial ATA (prod) and Parallel ATA (experimental) drivers&quot;), and all
the CONFIG_SCSI_FOOBAR options for the individual SATA drivers have
been changed to CONFIG_FOOBAR, so this means you may need to
reconfigure your SATA configuration options) </p><p class="line862">This means <b style="color: black; background-color: rgb(153, 255, 153);">2.6. 19</b>
may have two drivers for your PATA-based device: The old IDE driver
under &quot;Device drivers -&gt; ATA/ATAPI/MFM/RLL support&quot; and an
alternative driver under &quot;Device drivers -&gt; Serial ATA (prod) and
Parallel ATA (experimental) drivers&quot; (along with the rest of the SATA
drivers) </p><p class="line874">What one must you choose? Well, the
safe option is using the old driver: The old drivers will continue
working just as they did before. There&#39;ll be no changes if you continue
using the old drivers. <br></p><br><p class="line874">Donc tu compiles to n noyau avec les nouveaux drivers, et tu changes ton fstab, ainsi que la li gne root= dans ton grub.<br></p><p class="line874">etcetcetc.</p><p cla ss="line874">
AMicalement.</p><p class="line874">Mickael<br></p><br><br><br><div><span class="gmail_quote">Le 09/03/07, <b class="gmail_sendername">Didier Lin k</b> &lt;<a href="mailto:">< /a>&gt; a écrit :
</span><blockquote class="gmail_quote" style="border-left: 1px solid rg b(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Le Fri, 9 Mar 2007 09:01:56 +0100,<br>&quot;Jean-Paul Lacquement&quot; &lt;<a href= "mailto:">
</a>&gt; a écrit :<br><br>&gt; Bonjour,<br><br>Bonjour, <br><br>&gt;<br>&gt; J&#39;ai installé gentoo sur mon serveur (auparavant , c&#39;était une debian).<br>&gt; Celui-ci comporte deux disques:<br>&gt ;<br>
&gt; /dev/hda -&gt; IDE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /mnt/hd<b r>&gt;<br>&gt; /dev/hdc -&gt; SATA&nbsp;&nbsp;&nbsp;&nbsp;-&gt; /dev/hdc1 - &gt; /boot<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /dev/hdc3 -&gt; /<br >&gt;<br>&gt; Je pouvais pas deviner qu&#39;au reboot, après l&#39;instal lation, mon SATA
<br>&gt; serait hdc (j&#39;aurai préféré sda ou encore hda). Horreur! Le SATA est<br>&gt; terriblement lent! Forcèment, il n&#39;est pas actif dans le noyau par<br>&gt; défaut 2.6.19. Je l&#39;ai recompilé dans le noyau<br>
&gt;<br>&gt; sedna linux # grep -i SATA /usr/src/linux/.config<br>&gt; # CO NFIG_BLK_DEV_IDE_SATA is not set<br>&gt; # CONFIG_SATA_AHCI is not set<br>& gt; # CONFIG_SATA_SVW is not set<br>&gt; # CONFIG_SATA_MV is not set<br>
&gt; # CONFIG_SATA_NV is not set<br>&gt; # CONFIG_SATA_QSTOR is not set<br> &gt; # CONFIG_SATA_PROMISE is not set<br>&gt; # CONFIG_SATA_SX4 is not set< br>&gt; # CONFIG_SATA_SIL is not set<br>&gt; # CONFIG_SATA_SIL24 is not set
<br>&gt; # CONFIG_SATA_SIS is not set<br>&gt; # CONFIG_SATA_ULI is not set< br>&gt; # CONFIG_SATA_VIA is not set<br>&gt; # CONFIG_SATA_VITESSE is not s et<br>&gt; CONFIG_SATA_INTEL_COMBINED=y<br>&gt;<br>&gt; Par contre lorsqu e je boote sur le nouveau noyau, on dirait bien que
<br>&gt; ma racine n&#39;est plus la même... Comment faire pour démarre r avec prise<br>&gt; en charge de mon disque SATA?<br><br>Oui effectivement le nom a dû changer en /dev/sda. C&#39;est quoi le<br>message d&#39;erre ur exact que tu as au reboot ? Un kernel panic ou quelque
<br>chose du genre ?<br><br>&gt;<br>&gt; Merci.<br>&gt;<br>&gt; Ci-dessous mon grub.conf et fstab:<br>&gt;<br>&gt; sedna linux # cat /boot/grub/grub.c onf<br>&gt; default 0<br>&gt; timeout 30<br>&gt;<br>&gt; splashimage=(hd0 ,0)/boot/grub/splash.xpm.gz
<br>&gt;<br>&gt; title=Gentoo Linux ancien<br>&gt; root (hd0,0)<br>&gt; k ernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0<br>&gt; init =/linuxrc ramdisk92 real_root=/dev/hdc3 udev<br>&gt; initrd /initr amfs-genkernel-x86-2.6.19-gentoo-r5
<br>&gt;<br>&gt; title=Gentoo Linux recompile<br>&gt; root (hd0,0)<br>&gt ; kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0<br> &gt; init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev<br>&gt; init rd /initramfs-
genkernel-x86-2.6.19-gentoo-r5-custom<br><br>Ici à mon avis tu devrais ch anger &quot;/dev/hdc3&quot; en &quot;/dev/sda3&quot;, tu iras<br>un peu plu s loin je pense dans le processus de boot.<br><br>&gt;<br>&gt; sedna linux # cat /etc/fstab
<br>&gt; /dev/hdc1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp; /boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; reiserfs<br>&gt; notail,noatime&nbsp;&nbsp;1 2 /dev/hdc3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; /<br>&gt; reiserfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;notail,noatime&nbsp;&nbsp;0 1 /dev/hdc2<br>&gt; none&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swap&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sw&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0
<br>&gt; 0 /dev/cdroms/cdrom0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/mnt/cdrom &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iso9660<br>&gt; noauto,ro&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; 0 0 /dev/fd0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/mnt/floppy<br>&gt; auto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;noauto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br>&g t; 0 /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp; /mnt/hd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;reiserfs
<br>&gt; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 0 proc&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/proc<br>&gt; proc&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;defaults&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 0<br>&gt; shm&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; /dev/shm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;tmpfs nodev,nosuid,noexec<br>&gt; 0 0<br><br>Ici aussi tu devrais cha nger tous tes /dev/hdc[123] en /dev/sda[123]
<br><br>Tout ceci à condition que le driver sata du noyau se comporte com me le<br>mien (nvidia nforce4 pour ma part).<br><br>Avant de changer ton fs tab assures-toi d&#39;avoir un livecd sous la main<br>pour pouvoir répare r ton installation facilement.
<br><br>Bon courage !<br><br>Didier<br><br><br>--<br>Didier Link &lt;<a hre f="mailto:"></a>&gt;<br>Jabbe r : <a href="mailto:"></a><br>M SN :
<a href="mailto:"></a><br>SIP : <a href ="mailto:"></a><br><br>Clé GPG : 75BAC9 EE<br>--<br><a href="mailto:"> too.org
</a> mailing list<br><br></blockquote></div><br>

------=_Part_92660_20860887.1173433263622--
--
mailing list
Avatar
Mickael PARIS
------=_Part_92684_18467951.1173433365604
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

oups, le site de kernel newbies ne semble pas répondre pour le moment, je te
mets le lien en cache :

http://209.85.135.104/search?qche:silNyxjtFfIJ:kernelnewbies.org/Linux" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">http://209.85.135.104/search?qche:silNyxjtFfIJ:kernelnewbies.org/Linux _2_6_19+kernel+newbies+2.6.19&hl=fr&strip=1

Le 09/03/07, Mickael PARIS a écrit :

Salut à tous,

Pour chaque nouveau noyau, kernel newbies donne des informations très
concises et claires :
je site :

Libata PATA (Parallel ATA) merge

By "Parallel ATA" we mean all the ATA/IDE controllers and drives that we
have been using for years before SATA. Almost from the start, one of the
objectives of some *kernel* hackers was to replace the IDE drivers
available in drivers/ide<http://marc.theaimsgroup.com/?l=linux-kernel&m 5514409104283&w=2>(everything under the "Device drivers -> ATA/ATAPI /MFM/RLL support"
configuration menu) with a reimplementation on top of libata (i.e.: the
"SATA layer"). Drivers/ide suffers from many ugly and obscure problems, a nd
re-implementing it on top of libata has been much easier than fixing the
unfixable drivers/ide mess - most of the porting work has been done by Al an
Cox (a consequence of this PATA merge is that libata and all its SATA
drivers have also been moved from drivers/scsi (available in the "Device
drivers -> SCSI device support -> SCSI low-level drivers" submenu) to
drivers/ata (now "Device drivers -> Serial ATA (prod) and Parallel ATA
(experimental) drivers"), and all the CONFIG_SCSI_FOOBAR options for the
individual SATA drivers have been changed to CONFIG_FOOBAR, so this means
you may need to reconfigure your SATA configuration options)

This means *2.6.19* may have two drivers for your PATA-based device: The
old IDE driver under "Device drivers -> ATA/ATAPI/MFM/RLL support" and an
alternative driver under "Device drivers -> Serial ATA (prod) and Paralle l
ATA (experimental) drivers" (along with the rest of the SATA drivers)

What one must you choose? Well, the safe option is using the old driver:
The old drivers will continue working just as they did before. There'll b e
no changes if you continue using the old drivers.

Donc tu compiles ton noyau avec les nouveaux drivers, et tu changes ton
fstab, ainsi que la ligne root= dans ton grub.

etcetcetc.

AMicalement.

Mickael



Le 09/03/07, Didier Link a écrit :
>
> Le Fri, 9 Mar 2007 09:01:56 +0100,
> "Jean-Paul Lacquement" < a écrit :
>
> > Bonjour,
>
> Bonjour,
>
> >
> > J'ai installé gentoo sur mon serveur (auparavant, c'était une deb ian).
> > Celui-ci comporte deux disques:
> >
> > /dev/hda -> IDE -> /mnt/hd
> >
> > /dev/hdc -> SATA -> /dev/hdc1 -> /boot
> > -> /dev/hdc3 -> /
> >
> > Je pouvais pas deviner qu'au reboot, après l'installation, mon SATA
> > serait hdc (j'aurai préféré sda ou encore hda). Horreur! Le SAT A est
> > terriblement lent! Forcèment, il n'est pas actif dans le noyau par
> > défaut 2.6.19. Je l'ai recompilé dans le noyau
> >
> > sedna linux # grep -i SATA /usr/src/linux/.config
> > # CONFIG_BLK_DEV_IDE_SATA is not set
> > # CONFIG_SATA_AHCI is not set
> > # CONFIG_SATA_SVW is not set
> > # CONFIG_SATA_MV is not set
> > # CONFIG_SATA_NV is not set
> > # CONFIG_SATA_QSTOR is not set
> > # CONFIG_SATA_PROMISE is not set
> > # CONFIG_SATA_SX4 is not set
> > # CONFIG_SATA_SIL is not set
> > # CONFIG_SATA_SIL24 is not set
> > # CONFIG_SATA_SIS is not set
> > # CONFIG_SATA_ULI is not set
> > # CONFIG_SATA_VIA is not set
> > # CONFIG_SATA_VITESSE is not set
> > CONFIG_SATA_INTEL_COMBINED=y
> >
> > Par contre lorsque je boote sur le nouveau noyau, on dirait bien que
> > ma racine n'est plus la même... Comment faire pour démarrer avec prise
> > en charge de mon disque SATA?
>
> Oui effectivement le nom a dû changer en /dev/sda. C'est quoi le
> message d'erreur exact que tu as au reboot ? Un kernel panic ou quelque
> chose du genre ?
>
> >
> > Merci.
> >
> > Ci-dessous mon grub.conf et fstab:
> >
> > sedna linux # cat /boot/grub/grub.conf
> > default 0
> > timeout 30
> >
> > splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> >
> > title=Gentoo Linux ancien
> > root (hd0,0)
> > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
> > init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
> > initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5
> >
> > title=Gentoo Linux recompile
> > root (hd0,0)
> > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0
> > init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
> > initrd /initramfs- genkernel-x86-2.6.19-gentoo-r5-custom
>
> Ici à mon avis tu devrais changer "/dev/hdc3" en "/dev/sda3", tu iras
> un peu plus loin je pense dans le processus de boot.
>
> >
> > sedna linux # cat /etc/fstab
> > /dev/hdc1 /boot reiserfs
> > notail,noatime 1 2 /dev/hdc3 /
> > reiserfs notail,noatime 0 1 /dev/hdc2
> > none swap sw 0
> > 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660
> > noauto,ro 0 0 /dev/fd0 /mnt/floppy
> > auto noauto 0
> > 0 /dev/hda1 /mnt/hd1 reiserfs
> > defaults 0 0 proc /proc
> > proc defaults 0 0
> > shm /dev/shm tmpfs nodev,nosuid,noexec
> > 0 0
>
> Ici aussi tu devrais changer tous tes /dev/hdc[123] en /dev/sda[123]
>
> Tout ceci à condition que le driver sata du noyau se comporte comme l e
> mien (nvidia nforce4 pour ma part).
>
> Avant de changer ton fstab assures-toi d'avoir un livecd sous la main
> pour pouvoir réparer ton installation facilement.
>
> Bon courage !
>
> Didier
>
>
> --
> Didier Link
> Jabber :
> MSN :
> SIP :
>
> Clé GPG : 75BAC9EE
> --
> mailing list
>
>




------=_Part_92684_18467951.1173433365604
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

oups, le site de kernel newbies ne semble pas répondre pour le moment, je te mets le lien en cache :<br><br><a href="http://209.85.135.104/search? qche:silNyxjtFfIJ:kernelnewbies.org/Linux_2_6_19+kernel+newbies+2.6.19 &amp;hl=fr&amp;strip=1">
http://209.85.135.104/search?qche:silNyxjtFfIJ:kernelnewbies.org/Linux" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">http://209.85.135.104/search?qche:silNyxjtFfIJ:kernelnewbies.org/Linux _2_6_19+kernel+newbies+2.6.19&amp;hl=fr&amp;strip=1</a><br><br><div><sp an class="gmail_quote">Le 09/03/07, <b class="gmail_sendername">Mickael PARIS
</b> &lt;<a href="mailto:"> </a>&gt; a écrit :</span><blockquote class="gmail_quote" style="borde r-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-le ft: 1ex;">
Salut à tous,<br><br>Pour chaque nouveau noyau, kernel newbies donne des informations très concises et claires :<br>je site : <br><br><h3>Libata P ATA (Parallel ATA) merge</h3>

<p>By &quot;Parallel ATA&quot; we mean all the ATA/IDE
controllers and drives that we have been using for years before SATA.
Almost from the start, one of the objectives of some <b style="color: bla ck; background-color: rgb(255, 255, 102);">kernel</b> hackers was to <a hre f="http://marc.theaimsgroup.com/?l=linux-kernel&amp;m5514409104283 &amp;w=2" target="_blank" onclick="return top.js.OpenExtLink(window,e vent,this)">

replace the IDE drivers available in drivers/ide</a>
(everything under the &quot;Device drivers -&gt; ATA/ATAPI/MFM/RLL support& quot;
configuration menu) with a reimplementation on top of libata (i.e.: the
&quot;SATA layer&quot;). Drivers/ide suffers from many ugly and obscure pro blems,
and re-implementing it on top of libata has been much easier than
fixing the unfixable drivers/ide mess - most of the porting work has
been done by Alan Cox (a consequence of this PATA merge is that libata
and all its SATA drivers have also been moved from drivers/scsi
(available in the &quot;Device drivers -&gt; SCSI device support -&gt; SCSI
low-level drivers&quot; submenu) to drivers/ata (now &quot;Device drivers - &gt;
Serial ATA (prod) and Parallel ATA (experimental) drivers&quot;), and all
the CONFIG_SCSI_FOOBAR options for the individual SATA drivers have
been changed to CONFIG_FOOBAR, so this means you may need to
reconfigure your SATA configuration options) </p><p>This means <b style=" color: black; background-color: rgb(153, 255, 153);">2.6.19</b>
may have two drivers for your PATA-based device: The old IDE driver
under &quot;Device drivers -&gt; ATA/ATAPI/MFM/RLL support&quot; and an
alternative driver under &quot;Device drivers -&gt; Serial ATA (prod) and
Parallel ATA (experimental) drivers&quot; (along with the rest of the SATA
drivers) </p><p>What one must you choose? Well, the
safe option is using the old driver: The old drivers will continue
working just as they did before. There&#39;ll be no changes if you continue
using the old drivers. <br></p><br><p>Donc tu compiles ton noyau avec les n ouveaux drivers, et tu changes ton fstab, ainsi que la ligne root= dans t on grub.<br></p><p>etcetcetc.</p><p>
AMicalement.</p><p>Mickael<br></p><br><br><br><div><span class="gmail_quo te">Le 09/03/07, <b class="gmail_sendername">Didier Link</b> &lt;<a href ="mailto:" target="_blank" onclick="return top. js.OpenExtLink(window,event,this)">
</a>&gt; a écrit :
</span><div><span class="e" id="q_1113612a5c6f2716_1"><blockquote class ="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin : 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Le Fri, 9 Mar 2007 09:01:56 +0100, <br>
&quot;Jean-Paul Lacquement&quot; &lt;<a href="mailto:" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a>&gt; a écrit :<br><br>&gt; Bonjour,<br><br>Bonjour, <br><br>&gt;<br>&gt; J&#39;ai installé gentoo sur mon serveur (auparavant , c&#39;était une debian).<br>&gt; Celui-ci comporte deux disques:<br>&gt ;
<br>
&gt; /dev/hda -&gt; IDE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /mnt/hd<b r>&gt;<br>&gt; /dev/hdc -&gt; SATA&nbsp;&nbsp;&nbsp;&nbsp;-&gt; /dev/hdc1 - &gt; /boot<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; /dev/hdc3 -&gt; /<br >&gt;<br>&gt; Je pouvais pas deviner qu&#39;au reboot, après l&#39;instal lation, mon SATA
<br>&gt; serait hdc (j&#39;aurai préféré sda ou encore hda). Horreur! Le SATA est<br>&gt; terriblement lent! Forcèment, il n&#39;est pas actif dans le noyau par<br>&gt; défaut 2.6.19. Je l&#39;ai recompilé dans le noyau<br>

&gt;<br>&gt; sedna linux # grep -i SATA /usr/src/linux/.config<br>&gt; # CO NFIG_BLK_DEV_IDE_SATA is not set<br>&gt; # CONFIG_SATA_AHCI is not set<br>& gt; # CONFIG_SATA_SVW is not set<br>&gt; # CONFIG_SATA_MV is not set<br>

&gt; # CONFIG_SATA_NV is not set<br>&gt; # CONFIG_SATA_QSTOR is not set<br> &gt; # CONFIG_SATA_PROMISE is not set<br>&gt; # CONFIG_SATA_SX4 is not set< br>&gt; # CONFIG_SATA_SIL is not set<br>&gt; # CONFIG_SATA_SIL24 is not set
<br>&gt; # CONFIG_SATA_SIS is not set<br>&gt; # CONFIG_SATA_ULI is not set< br>&gt; # CONFIG_SATA_VIA is not set<br>&gt; # CONFIG_SATA_VITESSE is not s et<br>&gt; CONFIG_SATA_INTEL_COMBINED=y<br>&gt;<br>&gt; Par contre lorsqu e je boote sur le nouveau noyau, on dirait bien que
<br>&gt; ma racine n&#39;est plus la même... Comment faire pour démarre r avec prise<br>&gt; en charge de mon disque SATA?<br><br>Oui effectivement le nom a dû changer en /dev/sda. C&#39;est quoi le<br>message d&#39;erre ur exact que tu as au reboot ? Un kernel panic ou quelque
<br>chose du genre ?<br><br>&gt;<br>&gt; Merci.<br>&gt;<br>&gt; Ci-dessous mon grub.conf et fstab:<br>&gt;<br>&gt; sedna linux # cat /boot/grub/grub.c onf<br>&gt; default 0<br>&gt; timeout 30<br>&gt;<br>&gt; splashimage=(hd0 ,0)/boot/grub/splash.xpm.gz
<br>&gt;<br>&gt; title=Gentoo Linux ancien<br>&gt; root (hd0,0)<br>&gt; k ernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0<br>&gt; init =/linuxrc ramdisk92 real_root=/dev/hdc3 udev<br>&gt; initrd /initr amfs-genkernel-x86-2.6.19-gentoo-r5

<br>&gt;<br>&gt; title=Gentoo Linux recompile<br>&gt; root (hd0,0)<br>&gt ; kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0<br> &gt; init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev<br>&gt; init rd /initramfs-
genkernel-x86-2.6.19-gentoo-r5-custom<br><br>Ici à mon avis tu devrais ch anger &quot;/dev/hdc3&quot; en &quot;/dev/sda3&quot;, tu iras<br>un peu plu s loin je pense dans le processus de boot.<br><br>&gt;<br>&gt; sedna linux # cat /etc/fstab
<br>&gt; /dev/hdc1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp; /boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; reiserfs<br>&gt; notail,noatime&nbsp;&nbsp;1 2 /dev/hdc3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; /<br>&gt; reiserfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;notail,noatime&nbsp;&nbsp;0 1 /dev/hdc2<br>&gt; none&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swap&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sw&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0
<br>&gt; 0 /dev/cdroms/cdrom0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/mnt/cdrom &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iso9660<br>&gt; noauto,ro&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; 0 0 /dev/fd0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/mnt/floppy<br>&gt; auto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;noauto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br>&g t; 0 /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp; /mnt/hd1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;reiserfs
<br>&gt; defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 0 proc&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/proc<br>&gt; proc&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;defaults&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 0<br>&gt; shm&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; /dev/shm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;tmpfs nodev,nosuid,noexec<br>&gt; 0 0<br><br>Ici aussi tu devrais cha nger tous tes /dev/hdc[123] en /dev/sda[123]
<br><br>Tout ceci à condition que le driver sata du noyau se comporte com me le<br>mien (nvidia nforce4 pour ma part).<br><br>Avant de changer ton fs tab assures-toi d&#39;avoir un livecd sous la main<br>pour pouvoir répare r ton installation facilement.
<br><br>Bon courage !<br><br>Didier<br><br><br>--<br>Didier Link &lt;<a hre f="mailto:" target="_blank" onclick="return top .js.OpenExtLink(window,event,this)"></a>&gt;<br>Jabbe r :
<a href="mailto:" target="_blank" onclick="retur n top.js.OpenExtLink(window,event,this)"></a><br>MSN :
<a href="mailto:" target="_blank" onclick="return to p.js.OpenExtLink(window,event,this)"></a><br>SIP : <a href ="mailto:" target="_blank" onclick="return top.js.Ope nExtLink(window,event,this)">
</a><br><br>Clé GPG : 75BAC9EE<br>--<br><a href="mailto :" target="_blank" onclick="return top.js.Open ExtLink(window,event,this)">
</a> mailing list<br><br></blockquote></span></div></div><br>
</blockquote></div><br>

------=_Part_92684_18467951.1173433365604--
--
mailing list
Avatar
Jean-Paul Lacquement
Ca fonctionne impeccable maintenant. merci à tous.

jp

Le 09/03/07, Mickael PARIS a écrit :
oups, le site de kernel newbies ne semble pas répondre pour le moment, je te
mets le lien en cache :

http://209.85.135.104/search?qche:silNyxjtFfIJ:kernelnewbies.org/Lin ux_2_6_19+kernel+newbies+2.6.19&hl=fr&strip=1

Le 09/03/07, Mickael PARIS a écrit :
> Salut à tous,
>
> Pour chaque nouveau noyau, kernel newbies donne des informations très
concises et claires :
> je site :
>
>
> Libata PATA (Parallel ATA) merge
>
> By "Parallel ATA" we mean all the ATA/IDE controllers and drives that w e
have been using for years before SATA. Almost from the start, one of the
objectives of some kernel hackers was to replace the IDE drivers availabl e
in drivers/ide (everything under the "Device drivers -> ATA/ATAPI/MFM/RLL
support" configuration menu) with a reimplementation on top of libata (i. e.:
the "SATA layer"). Drivers/ide suffers from many ugly and obscure problem s,
and re-implementing it on top of libata has been much easier than fixing the
unfixable drivers/ide mess - most of the porting work has been done by Al an
Cox (a consequence of this PATA merge is that libata and all its SATA
drivers have also been moved from drivers/scsi (available in the "Device
drivers -> SCSI device support -> SCSI low-level drivers" submenu) to
drivers/ata (now "Device drivers -> Serial ATA (prod) and Parallel ATA
(experimental) drivers"), and all the CONFIG_SCSI_FOOBAR options for the
individual SATA drivers have been changed to CONFIG_FOOBAR, so this means
you may need to reconfigure your SATA configuration options)
>
> This means 2.6.19 may have two drivers for your PATA-based device: The old
IDE driver under "Device drivers -> ATA/ATAPI/MFM/RLL support" and an
alternative driver under "Device drivers -> Serial ATA (prod) and Paralle l
ATA (experimental) drivers" (along with the rest of the SATA drivers)
>
> What one must you choose? Well, the safe option is using the old driver :
The old drivers will continue working just as they did before. There'll b e
no changes if you continue using the old drivers.
>
>
>
> Donc tu compiles ton noyau avec les nouveaux drivers, et tu changes ton
fstab, ainsi que la ligne root= dans ton grub.
>
>
> etcetcetc.
>
> AMicalement.
>
> Mickael
>
>
>
>
> Le 09/03/07, Didier Link < a écrit :
>
> > Le Fri, 9 Mar 2007 09:01:56 +0100,
> > "Jean-Paul Lacquement" < a écrit :
> >
> > > Bonjour,
> >
> > Bonjour,
> >
> > >
> > > J'ai installé gentoo sur mon serveur (auparavant, c'était une d ebian).
> > > Celui-ci comporte deux disques:
> > >
> > > /dev/hda -> IDE -> /mnt/hd
> > >
> > > /dev/hdc -> SATA -> /dev/hdc1 -> /boot
> > > -> /dev/hdc3 -> /
> > >
> > > Je pouvais pas deviner qu'au reboot, après l'installation, mon SA TA
> > > serait hdc (j'aurai préféré sda ou encore hda). Horreur! Le S ATA est
> > > terriblement lent! Forcèment, il n'est pas actif dans le noyau pa r
> > > défaut 2.6.19. Je l'ai recompilé dans le noyau
> > >
> > > sedna linux # grep -i SATA /usr/src/linux/.config
> > > # CONFIG_BLK_DEV_IDE_SATA is not set
> > > # CONFIG_SATA_AHCI is not set
> > > # CONFIG_SATA_SVW is not set
> > > # CONFIG_SATA_MV is not set
> > > # CONFIG_SATA_NV is not set
> > > # CONFIG_SATA_QSTOR is not set
> > > # CONFIG_SATA_PROMISE is not set
> > > # CONFIG_SATA_SX4 is not set
> > > # CONFIG_SATA_SIL is not set
> > > # CONFIG_SATA_SIL24 is not set
> > > # CONFIG_SATA_SIS is not set
> > > # CONFIG_SATA_ULI is not set
> > > # CONFIG_SATA_VIA is not set
> > > # CONFIG_SATA_VITESSE is not set
> > > CONFIG_SATA_INTEL_COMBINED=y
> > >
> > > Par contre lorsque je boote sur le nouveau noyau, on dirait bien qu e
> > > ma racine n'est plus la même... Comment faire pour démarrer ave c prise
> > > en charge de mon disque SATA?
> >
> > Oui effectivement le nom a dû changer en /dev/sda. C'est quoi le
> > message d'erreur exact que tu as au reboot ? Un kernel panic ou quelq ue
> > chose du genre ?
> >
> > >
> > > Merci.
> > >
> > > Ci-dessous mon grub.conf et fstab:
> > >
> > > sedna linux # cat /boot/grub/grub.conf
> > > default 0
> > > timeout 30
> > >
> > > splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> > >
> > > title=Gentoo Linux ancien
> > > root (hd0,0)
> > > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
> > > init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
> > > initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5
> > >
> > > title=Gentoo Linux recompile
> > > root (hd0,0)
> > > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom
root=/dev/ram0
> > > init=/linuxrc ramdisk92 real_root=/dev/hdc3 udev
> > > initrd /initramfs-
genkernel-x86-2.6.19-gentoo-r5-custom
> >
> > Ici à mon avis tu devrais changer "/dev/hdc3" en "/dev/sda3", tu ir as
> > un peu plus loin je pense dans le processus de boot.
> >
> > >
> > > sedna linux # cat /etc/fstab
> > > /dev/hdc1 /boot reiserfs
> > > notail,noatime 1 2 /dev/hdc3 /
> > > reiserfs notail,noatime 0 1 /dev/hdc2
> > > none swap sw 0
> > > 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660
> > > noauto,ro 0 0 /dev/fd0
/mnt/floppy
> > > auto noauto 0
> > > 0 /dev/hda1 /mnt/hd1 reiserfs
> > > defaults 0 0 proc /proc
> > > proc defaults 0 0
> > > shm /dev/shm tmpfs nodev,nosuid,noexec
> > > 0 0
> >
> > Ici aussi tu devrais changer tous tes /dev/hdc[123] en /dev/sda[123]
> >
> > Tout ceci à condition que le driver sata du noyau se comporte comme le
> > mien (nvidia nforce4 pour ma part).
> >
> > Avant de changer ton fstab assures-toi d'avoir un livecd sous la main
> > pour pouvoir réparer ton installation facilement.
> >
> > Bon courage !
> >
> > Didier
> >
> >
> > --
> > Didier Link
> > Jabber :
> > MSN :
> > SIP :
> >
> > Clé GPG : 75BAC9EE
> > --
> > mailing list
> >
> >
>
>




--
mailing list