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