1 |
Ca fonctionne impeccable maintenant. merci à tous. |
2 |
|
3 |
jp |
4 |
|
5 |
Le 09/03/07, Mickael PARIS<mickael.paris@×××××.com> a écrit : |
6 |
> oups, le site de kernel newbies ne semble pas répondre pour le moment, je te |
7 |
> mets le lien en cache : |
8 |
> |
9 |
> http://209.85.135.104/search?q=cache:silNyxjtFfIJ:kernelnewbies.org/Linux_2_6_19+kernel+newbies+2.6.19&hl=fr&strip=1 |
10 |
> |
11 |
> Le 09/03/07, Mickael PARIS <mickael.paris@×××××.com> a écrit : |
12 |
> > Salut à tous, |
13 |
> > |
14 |
> > Pour chaque nouveau noyau, kernel newbies donne des informations très |
15 |
> concises et claires : |
16 |
> > je site : |
17 |
> > |
18 |
> > |
19 |
> > Libata PATA (Parallel ATA) merge |
20 |
> > |
21 |
> > By "Parallel ATA" we mean all the ATA/IDE controllers and drives that we |
22 |
> have been using for years before SATA. Almost from the start, one of the |
23 |
> objectives of some kernel hackers was to replace the IDE drivers available |
24 |
> in drivers/ide (everything under the "Device drivers -> ATA/ATAPI/MFM/RLL |
25 |
> support" configuration menu) with a reimplementation on top of libata (i.e.: |
26 |
> the "SATA layer"). Drivers/ide suffers from many ugly and obscure problems, |
27 |
> and re-implementing it on top of libata has been much easier than fixing the |
28 |
> unfixable drivers/ide mess - most of the porting work has been done by Alan |
29 |
> Cox (a consequence of this PATA merge is that libata and all its SATA |
30 |
> drivers have also been moved from drivers/scsi (available in the "Device |
31 |
> drivers -> SCSI device support -> SCSI low-level drivers" submenu) to |
32 |
> drivers/ata (now "Device drivers -> Serial ATA (prod) and Parallel ATA |
33 |
> (experimental) drivers"), and all the CONFIG_SCSI_FOOBAR options for the |
34 |
> individual SATA drivers have been changed to CONFIG_FOOBAR, so this means |
35 |
> you may need to reconfigure your SATA configuration options) |
36 |
> > |
37 |
> > This means 2.6.19 may have two drivers for your PATA-based device: The old |
38 |
> IDE driver under "Device drivers -> ATA/ATAPI/MFM/RLL support" and an |
39 |
> alternative driver under "Device drivers -> Serial ATA (prod) and Parallel |
40 |
> ATA (experimental) drivers" (along with the rest of the SATA drivers) |
41 |
> > |
42 |
> > What one must you choose? Well, the safe option is using the old driver: |
43 |
> The old drivers will continue working just as they did before. There'll be |
44 |
> no changes if you continue using the old drivers. |
45 |
> > |
46 |
> > |
47 |
> > |
48 |
> > Donc tu compiles ton noyau avec les nouveaux drivers, et tu changes ton |
49 |
> fstab, ainsi que la ligne root= dans ton grub. |
50 |
> > |
51 |
> > |
52 |
> > etcetcetc. |
53 |
> > |
54 |
> > AMicalement. |
55 |
> > |
56 |
> > Mickael |
57 |
> > |
58 |
> > |
59 |
> > |
60 |
> > |
61 |
> > Le 09/03/07, Didier Link < didier@××××××××××××.fr> a écrit : |
62 |
> > |
63 |
> > > Le Fri, 9 Mar 2007 09:01:56 +0100, |
64 |
> > > "Jean-Paul Lacquement" < zelos414@×××××.com> a écrit : |
65 |
> > > |
66 |
> > > > Bonjour, |
67 |
> > > |
68 |
> > > Bonjour, |
69 |
> > > |
70 |
> > > > |
71 |
> > > > J'ai installé gentoo sur mon serveur (auparavant, c'était une debian). |
72 |
> > > > Celui-ci comporte deux disques: |
73 |
> > > > |
74 |
> > > > /dev/hda -> IDE -> /mnt/hd |
75 |
> > > > |
76 |
> > > > /dev/hdc -> SATA -> /dev/hdc1 -> /boot |
77 |
> > > > -> /dev/hdc3 -> / |
78 |
> > > > |
79 |
> > > > Je pouvais pas deviner qu'au reboot, après l'installation, mon SATA |
80 |
> > > > serait hdc (j'aurai préféré sda ou encore hda). Horreur! Le SATA est |
81 |
> > > > terriblement lent! Forcèment, il n'est pas actif dans le noyau par |
82 |
> > > > défaut 2.6.19. Je l'ai recompilé dans le noyau |
83 |
> > > > |
84 |
> > > > sedna linux # grep -i SATA /usr/src/linux/.config |
85 |
> > > > # CONFIG_BLK_DEV_IDE_SATA is not set |
86 |
> > > > # CONFIG_SATA_AHCI is not set |
87 |
> > > > # CONFIG_SATA_SVW is not set |
88 |
> > > > # CONFIG_SATA_MV is not set |
89 |
> > > > # CONFIG_SATA_NV is not set |
90 |
> > > > # CONFIG_SATA_QSTOR is not set |
91 |
> > > > # CONFIG_SATA_PROMISE is not set |
92 |
> > > > # CONFIG_SATA_SX4 is not set |
93 |
> > > > # CONFIG_SATA_SIL is not set |
94 |
> > > > # CONFIG_SATA_SIL24 is not set |
95 |
> > > > # CONFIG_SATA_SIS is not set |
96 |
> > > > # CONFIG_SATA_ULI is not set |
97 |
> > > > # CONFIG_SATA_VIA is not set |
98 |
> > > > # CONFIG_SATA_VITESSE is not set |
99 |
> > > > CONFIG_SATA_INTEL_COMBINED=y |
100 |
> > > > |
101 |
> > > > Par contre lorsque je boote sur le nouveau noyau, on dirait bien que |
102 |
> > > > ma racine n'est plus la même... Comment faire pour démarrer avec prise |
103 |
> > > > en charge de mon disque SATA? |
104 |
> > > |
105 |
> > > Oui effectivement le nom a dû changer en /dev/sda. C'est quoi le |
106 |
> > > message d'erreur exact que tu as au reboot ? Un kernel panic ou quelque |
107 |
> > > chose du genre ? |
108 |
> > > |
109 |
> > > > |
110 |
> > > > Merci. |
111 |
> > > > |
112 |
> > > > Ci-dessous mon grub.conf et fstab: |
113 |
> > > > |
114 |
> > > > sedna linux # cat /boot/grub/grub.conf |
115 |
> > > > default 0 |
116 |
> > > > timeout 30 |
117 |
> > > > |
118 |
> > > > splashimage=(hd0,0)/boot/grub/splash.xpm.gz |
119 |
> > > > |
120 |
> > > > title=Gentoo Linux ancien |
121 |
> > > > root (hd0,0) |
122 |
> > > > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 |
123 |
> > > > init=/linuxrc ramdisk=8192 real_root=/dev/hdc3 udev |
124 |
> > > > initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 |
125 |
> > > > |
126 |
> > > > title=Gentoo Linux recompile |
127 |
> > > > root (hd0,0) |
128 |
> > > > kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-custom |
129 |
> root=/dev/ram0 |
130 |
> > > > init=/linuxrc ramdisk=8192 real_root=/dev/hdc3 udev |
131 |
> > > > initrd /initramfs- |
132 |
> genkernel-x86-2.6.19-gentoo-r5-custom |
133 |
> > > |
134 |
> > > Ici à mon avis tu devrais changer "/dev/hdc3" en "/dev/sda3", tu iras |
135 |
> > > un peu plus loin je pense dans le processus de boot. |
136 |
> > > |
137 |
> > > > |
138 |
> > > > sedna linux # cat /etc/fstab |
139 |
> > > > /dev/hdc1 /boot reiserfs |
140 |
> > > > notail,noatime 1 2 /dev/hdc3 / |
141 |
> > > > reiserfs notail,noatime 0 1 /dev/hdc2 |
142 |
> > > > none swap sw 0 |
143 |
> > > > 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 |
144 |
> > > > noauto,ro 0 0 /dev/fd0 |
145 |
> /mnt/floppy |
146 |
> > > > auto noauto 0 |
147 |
> > > > 0 /dev/hda1 /mnt/hd1 reiserfs |
148 |
> > > > defaults 0 0 proc /proc |
149 |
> > > > proc defaults 0 0 |
150 |
> > > > shm /dev/shm tmpfs nodev,nosuid,noexec |
151 |
> > > > 0 0 |
152 |
> > > |
153 |
> > > Ici aussi tu devrais changer tous tes /dev/hdc[123] en /dev/sda[123] |
154 |
> > > |
155 |
> > > Tout ceci à condition que le driver sata du noyau se comporte comme le |
156 |
> > > mien (nvidia nforce4 pour ma part). |
157 |
> > > |
158 |
> > > Avant de changer ton fstab assures-toi d'avoir un livecd sous la main |
159 |
> > > pour pouvoir réparer ton installation facilement. |
160 |
> > > |
161 |
> > > Bon courage ! |
162 |
> > > |
163 |
> > > Didier |
164 |
> > > |
165 |
> > > |
166 |
> > > -- |
167 |
> > > Didier Link <didier@××××××××××××.fr> |
168 |
> > > Jabber : zanfib@××××××××××.net |
169 |
> > > MSN : zanfib@×××××××.fr |
170 |
> > > SIP : Zanfib@×××××.net |
171 |
> > > |
172 |
> > > Clé GPG : 75BAC9EE |
173 |
> > > -- |
174 |
> > > gentoo-user-fr@g.o mailing list |
175 |
> > > |
176 |
> > > |
177 |
> > |
178 |
> > |
179 |
> |
180 |
> |
181 |
-- |
182 |
gentoo-user-fr@g.o mailing list |