| … | |
… | |
| 16 | |
16 | |
| 17 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
17 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 18 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
18 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
| 19 | <license/> |
19 | <license/> |
| 20 | |
20 | |
| 21 | <version>1.0</version> |
21 | <version>1.1</version> |
| 22 | <date>2005-03-02</date> |
22 | <date>2005-04-14</date> |
| 23 | |
23 | |
| 24 | <chapter> |
24 | <chapter> |
| 25 | <title>Introduction</title> |
25 | <title>Introduction</title> |
| 26 | <section> |
26 | <section> |
| 27 | <title>What is USB?</title> |
27 | <title>What is USB?</title> |
| … | |
… | |
| 147 | <title>Kernel Configuration</title> |
147 | <title>Kernel Configuration</title> |
| 148 | <section> |
148 | <section> |
| 149 | <title>Getting the kernel</title> |
149 | <title>Getting the kernel</title> |
| 150 | <body> |
150 | <body> |
| 151 | |
151 | |
|
|
152 | <note> |
|
|
153 | Since the 2005.0 release, Gentoo Linux uses 2.6 as the default kernel. Unless |
|
|
154 | you are specifically using the 2.4 profile, <c>gentoo-sources</c> will be a |
|
|
155 | 2.6 kernel on <e>most</e> architectures. Please check your kernel version and |
|
|
156 | then proceed with the configuration accordingly. |
|
|
157 | </note> |
|
|
158 | |
| 152 | <p> |
159 | <p> |
| 153 | First emerge the kernel sources of your choice. Here we'll use the |
160 | First emerge the kernel sources of your choice. Here we'll use the |
| 154 | <c>gentoo-dev-sources</c> (for 2.6.x) and <c>gentoo-sources</c> (for 2.4.x). |
|
|
| 155 | For more information on the various kernel sources available on Portage, |
161 | <c>gentoo-sources</c> For more information on the various kernel sources available on Portage, |
| 156 | please look up the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Linux Kernel Guide</uri>. |
162 | please look up the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Linux Kernel Guide</uri>. |
| 157 | </p> |
163 | </p> |
| 158 | |
164 | |
| 159 | <pre caption="Getting the kernel sources"> |
165 | <pre caption="Getting the kernel sources"> |
| 160 | <comment>(For 2.6.x)</comment> |
|
|
| 161 | # <i> emerge gentoo-dev-sources</i> |
|
|
| 162 | <comment>(For 2.4.x)</comment> |
|
|
| 163 | # <i> emerge gentoo-sources</i> |
166 | # <i> emerge gentoo-sources</i> |
| 164 | </pre> |
167 | </pre> |
| 165 | |
168 | |
| 166 | <p> |
169 | <p> |
| 167 | Now, lets get on with the task of configuring the kernel. |
170 | Now, lets get on with the task of configuring the kernel. |
| … | |
… | |
| 347 | |
350 | |
| 348 | <note> |
351 | <note> |
| 349 | <c>dmesg</c> will generally give a lot of output up front before coming to the |
352 | <c>dmesg</c> will generally give a lot of output up front before coming to the |
| 350 | info we need, as it reads the kernel ring buffer that has all the boot up |
353 | info we need, as it reads the kernel ring buffer that has all the boot up |
| 351 | messages as well. The output in the following examples have only the relevant |
354 | messages as well. The output in the following examples have only the relevant |
| 352 | portion(s) ans extra spaces in between to enable better readability. |
355 | portion(s) and extra spaces in between to enable better readability. If needed |
|
|
356 | please use a <c>dmesg | more</c> or <c>dmesg | less</c> to see the output |
|
|
357 | better in your system. |
| 353 | </note> |
358 | </note> |
| 354 | |
359 | |
| 355 | <pre caption="dmesg output for Memory Stick"> |
360 | <pre caption="dmesg output for Memory Stick"> |
| 356 | <comment>(Plug in Memory Stick into available USB port and then..)</comment> |
361 | <comment>(Plug in Memory Stick into available USB port and then..)</comment> |
| 357 | # <i>dmesg</i> |
362 | # <i>dmesg | less</i> |
| 358 | |
363 | |
| 359 | <comment>(The device is picked up as a USB 1.1 and allocated an address. Also says what HCD it is using.)</comment> |
364 | <comment>(The device is picked up as a USB 1.1 and allocated an address. Also says what HCD it is using.)</comment> |
| 360 | usb 1-1: new full speed USB device using uhci_hcd and address 2 |
365 | usb 1-1: new full speed USB device using uhci_hcd and address 2 |
| 361 | |
366 | |
| 362 | <comment>(SCSI emulation automatically kicks in)</comment> |
367 | <comment>(SCSI emulation automatically kicks in)</comment> |