Gentoo Archives: gentoo-user-fr

From: Didier Link <didier@××××××××××××.fr>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] prise en charge du SATA
Date: Fri, 09 Mar 2007 09:11:28
Message-Id: 20070309101050.389cc07a@neutrino.cosmos.net
In Reply to: [gentoo-user-fr] prise en charge du SATA by Jean-Paul Lacquement
1 Le Fri, 9 Mar 2007 09:01:56 +0100,
2 "Jean-Paul Lacquement" <zelos414@×××××.com> a écrit :
3
4 > Bonjour,
5
6 Bonjour,
7
8 >
9 > J'ai installé gentoo sur mon serveur (auparavant, c'était une debian).
10 > Celui-ci comporte deux disques:
11 >
12 > /dev/hda -> IDE -> /mnt/hd
13 >
14 > /dev/hdc -> SATA -> /dev/hdc1 -> /boot
15 > -> /dev/hdc3 -> /
16 >
17 > Je pouvais pas deviner qu'au reboot, après l'installation, mon SATA
18 > serait hdc (j'aurai préféré sda ou encore hda). Horreur! Le SATA est
19 > terriblement lent! Forcèment, il n'est pas actif dans le noyau par
20 > défaut 2.6.19. Je l'ai recompilé dans le noyau
21 >
22 > sedna linux # grep -i SATA /usr/src/linux/.config
23 > # CONFIG_BLK_DEV_IDE_SATA is not set
24 > # CONFIG_SATA_AHCI is not set
25 > # CONFIG_SATA_SVW is not set
26 > # CONFIG_SATA_MV is not set
27 > # CONFIG_SATA_NV is not set
28 > # CONFIG_SATA_QSTOR is not set
29 > # CONFIG_SATA_PROMISE is not set
30 > # CONFIG_SATA_SX4 is not set
31 > # CONFIG_SATA_SIL is not set
32 > # CONFIG_SATA_SIL24 is not set
33 > # CONFIG_SATA_SIS is not set
34 > # CONFIG_SATA_ULI is not set
35 > # CONFIG_SATA_VIA is not set
36 > # CONFIG_SATA_VITESSE is not set
37 > CONFIG_SATA_INTEL_COMBINED=y
38 >
39 > Par contre lorsque je boote sur le nouveau noyau, on dirait bien que
40 > ma racine n'est plus la même... Comment faire pour démarrer avec prise
41 > en charge de mon disque SATA?
42
43 Oui effectivement le nom a dû changer en /dev/sda. C'est quoi le
44 message d'erreur exact que tu as au reboot ? Un kernel panic ou quelque
45 chose du genre ?
46
47 >
48 > Merci.
49 >
50 > Ci-dessous mon grub.conf et fstab:
51 >
52 > sedna linux # cat /boot/grub/grub.conf
53 > default 0
54 > timeout 30
55 >
56 > splashimage=(hd0,0)/boot/grub/splash.xpm.gz
57 >
58 > title=Gentoo Linux ancien
59 > root (hd0,0)
60 > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0
61 > init=/linuxrc ramdisk=8192 real_root=/dev/hdc3 udev
62 > initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5
63 >
64 > title=Gentoo Linux recompile
65 > root (hd0,0)
66 > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom root=/dev/ram0
67 > init=/linuxrc ramdisk=8192 real_root=/dev/hdc3 udev
68 > initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5-custom
69
70 Ici à mon avis tu devrais changer "/dev/hdc3" en "/dev/sda3", tu iras
71 un peu plus loin je pense dans le processus de boot.
72
73 >
74 > sedna linux # cat /etc/fstab
75 > /dev/hdc1 /boot reiserfs
76 > notail,noatime 1 2 /dev/hdc3 /
77 > reiserfs notail,noatime 0 1 /dev/hdc2
78 > none swap sw 0
79 > 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660
80 > noauto,ro 0 0 /dev/fd0 /mnt/floppy
81 > auto noauto 0
82 > 0 /dev/hda1 /mnt/hd1 reiserfs
83 > defaults 0 0 proc /proc
84 > proc defaults 0 0
85 > shm /dev/shm tmpfs nodev,nosuid,noexec
86 > 0 0
87
88 Ici aussi tu devrais changer tous tes /dev/hdc[123] en /dev/sda[123]
89
90 Tout ceci à condition que le driver sata du noyau se comporte comme le
91 mien (nvidia nforce4 pour ma part).
92
93 Avant de changer ton fstab assures-toi d'avoir un livecd sous la main
94 pour pouvoir réparer ton installation facilement.
95
96 Bon courage !
97
98 Didier
99
100
101 --
102 Didier Link <didier@××××××××××××.fr>
103 Jabber : zanfib@××××××××××.net
104 MSN : zanfib@×××××××.fr
105 SIP : Zanfib@×××××.net
106
107 Clé GPG : 75BAC9EE
108 --
109 gentoo-user-fr@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-fr] prise en charge du SATA Mickael PARIS <mickael.paris@×××××.com>