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?
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
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
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?
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 ramdisk=8192 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 ramdisk=8192 real_root=/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
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?
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
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
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
Le Fri, 9 Mar 2007 09:01:56 +0100,
"Jean-Paul Lacquement" <zelos414@gmail.com> 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 ramdisk=8192 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 ramdisk=8192 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 <didier@famille-link.fr>
Jabber : zanfib@ims.kelkoo.net
MSN : zanfib@hotmail.fr
SIP : Zanfib@ekiga.net
Clé GPG : 75BAC9EE
--
gentoo-user-fr@gentoo.org mailing list
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
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
>
>
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 =115514409104283&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 <didier@famille-link.fr> a écrit :
>
> Le Fri, 9 Mar 2007 09:01:56 +0100,
> "Jean-Paul Lacquement" < zelos414@gmail.com> 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 ramdisk=8192 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 ramdisk=8192 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 <didier@famille-link.fr>
> Jabber : zanfib@ims.kelkoo.net
> MSN : zanfib@hotmail.fr
> SIP : Zanfib@ekiga.net
>
> Clé GPG : 75BAC9EE
> --
> gentoo-user-fr@gentoo.org mailing list
>
>
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
>
>
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
> >
> >
>
>
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?q=cache:silNyxjtFfIJ:kernelnewbies.org/Lin ux_2_6_19+kernel+newbies+2.6.19&hl=fr&strip=1
Le 09/03/07, Mickael PARIS <mickael.paris@gmail.com> 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 < didier@famille-link.fr> a écrit :
>
> > Le Fri, 9 Mar 2007 09:01:56 +0100,
> > "Jean-Paul Lacquement" < zelos414@gmail.com> 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 ramdisk=8192 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 ramdisk=8192 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 <didier@famille-link.fr>
> > Jabber : zanfib@ims.kelkoo.net
> > MSN : zanfib@hotmail.fr
> > SIP : Zanfib@ekiga.net
> >
> > Clé GPG : 75BAC9EE
> > --
> > gentoo-user-fr@gentoo.org mailing list
> >
> >
>
>
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
> >
> >
>
>