Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How does grub assemble a RAID1 for / ??
Date: Sun, 04 Apr 2010 17:51:32
Message-Id: r2t5bdc1c8b1004041050x8ff1af2dk1464d9addd62f33d@mail.gmail.com
In Reply to: [gentoo-user] Re: How does grub assemble a RAID1 for / ?? by Kerin Millar
1 On Sun, Apr 4, 2010 at 10:32 AM, Kerin Millar <kerframil@×××××.com> wrote:
2 > On 04/04/2010 15:20, Mark Knecht wrote:
3 >>
4 >> On Sat, Apr 3, 2010 at 7:38 PM, Kerin Millar<kerframil@×××××.com>  wrote:
5 >>>
6 >>> On 04/04/2010 02:01, Mark Knecht wrote:
7 >>>>
8 >>>> Tried changing root=/dev/md0. No change.
9 >>>>
10 >>>> The actual failure message is the fairly standard
11 >>>>
12 >>>> VFS - Unable to mount root fs on unknown-block(9,0)
13 >>>
14 >>> [snip]
15 >>>
16 >>>> CONFIG_MD_RAID1=y
17 >>>
18 >>> That's all that needs to be enabled within the RAID section of the
19 >>> kernel.
20 >>> However, all the other options that would normally be required to boot
21 >>> must
22 >>> also be compiled in statically for things to work as expected (ATA/SCSI
23 >>> controller driver, filesystem of choice, CONFIG_BLK_DEV_SD and so forth).
24 >>> It
25 >>> seems that you may have overlooked something. However, it's impossible to
26 >>> determine whether that's the case based on the information presented thus
27 >>> far.
28 >>>
29 >>> I would suggest that you double-check your .config in full, or present it
30 >>> here for review, along with the output of lspci -nn.
31 >>>
32 >>> Cheers,
33 >>>
34 >>> --Kerin
35 >>
36 >> Hi Kerin,
37 >>    Happy for any help I can get.
38 >>
39 >>    Instead of the whole .config file here's a diff. Remember that the
40 >> machine already boots non-RAID from /dev/sda and I'm trying to build
41 >> my first RAID boot on /dev/sdb&  sdc.
42 >>
43 >
44 > No, really, the whole thing needs to be seen, along with the lspci data.
45 > It's very likely that this thread can be drawn to a close if you provide
46 > exactly what's being asked for :)
47 >
48 >>    One additional thing I thought of last night was some message that
49 >> came up when I first built the RAID about the partitions having
50 >> metadata and to be sure that the bootloader understands metadata. In
51 >
52 > The bootloader does not enter into this. If the kernel is being loaded -
53 > which, by your own admission it is - the bootloader has done its job. What
54 > happens thereafter is entirely the responsibility of the kernel.
55 >
56 > Essentially, the subject of this thread is a misnomer and the issue lies
57 > with your kernel.
58 >
59 > As for the warning regarding metadata, it's applicable to legacy bootloaders
60 > which may not be able to fathom the presence of the md superblock data at
61 > the beginning of a block device that happens to be a member of a raid1
62 > volume. As far as grub is concerned, this is a non-issue. Even if it were an
63 > issue, you wouldn't even get as far as being able to load the kernel in the
64 > first instance. Indeed, the bootloader itself would likely fail to
65 > initialise properly.
66 >
67 >>    If rebuilding the RAID from scratch is important, or just makes
68 >> things more straight forward, then don't hesitate to suggest it and
69 >> I'll document the build step by step. This install isn't important.
70 >
71 > On the other hand, if you don't get to the point of understanding why the
72 > kernel isn't configured so as to be able to assemble the array on this
73 > occasion, a re-install isn't going to change that. Moreover, you won't be
74 > able to fix any such problem that may occur again unaided.
75 >
76 > Cheers,
77 >
78 > --Kerin
79
80 No problem supplying it. I did the rebuild this morning but forced
81 metadata to Type 1.0. No change as you suggested there wouldn't be.
82
83 OK, here's:
84
85 1) lspci to read & lspci -k to see drivers both from the non-RAID kernel
86 2) The RAID kernel config
87 3) At the very end a diff between the kernel config in this email and
88 the running one without RAID. (I.e. - the changes I made to attempt to
89 mount / which is on RAID.)
90
91 Note that the Marvell SATA controller is for two external eSATA ports
92 that have nothing attached at this time. It's the Intel controller
93 that's in play here.
94
95 Thanks,
96 Mark
97
98 keeper ~ # lspci
99 00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
100 00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
101 Express Root Port 1 (rev 13)
102 00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
103 Express Root Port 3 (rev 13)
104 00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
105 Express Root Port 7 (rev 13)
106 00:10.0 PIC: Intel Corporation 5520/5500/X58 Physical and Link Layer
107 Registers Port 0 (rev 13)
108 00:10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol
109 Layer Registers Port 0 (rev 13)
110 00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
111 Registers (rev 13)
112 00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch
113 Pad Registers (rev 13)
114 00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status
115 and RAS Registers (rev 13)
116 00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
117 00:19.0 Ethernet controller: Intel Corporation 82567LM-2 Gigabit
118 Network Connection
119 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
120 UHCI Controller #4
121 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
122 UHCI Controller #5
123 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
124 UHCI Controller #6
125 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
126 EHCI Controller #2
127 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
128 Audio Controller
129 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
130 00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
131 00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
132 00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
133 UHCI Controller #1
134 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
135 UHCI Controller #2
136 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
137 UHCI Controller #3
138 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
139 EHCI Controller #1
140 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
141 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
142 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
143 AHCI Controller
144 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
145 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce
146 9500 GT] (rev a1)
147 06:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
148 Controller (rev b2)
149 07:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
150 IEEE-1394a-2000 Controller (PHY/Link)
151 keeper ~ #
152
153 keeper ~ # lspci -k
154 00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
155 Subsystem: Intel Corporation Device 4f53
156 00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
157 Express Root Port 1 (rev 13)
158 Kernel driver in use: pcieport
159 00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
160 Express Root Port 3 (rev 13)
161 Kernel driver in use: pcieport
162 00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
163 Express Root Port 7 (rev 13)
164 Kernel driver in use: pcieport
165 00:10.0 PIC: Intel Corporation 5520/5500/X58 Physical and Link Layer
166 Registers Port 0 (rev 13)
167 00:10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol
168 Layer Registers Port 0 (rev 13)
169 00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
170 Registers (rev 13)
171 00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch
172 Pad Registers (rev 13)
173 00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status
174 and RAS Registers (rev 13)
175 00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
176 00:19.0 Ethernet controller: Intel Corporation 82567LM-2 Gigabit
177 Network Connection
178 Subsystem: Intel Corporation Device 0000
179 Kernel driver in use: e1000e
180 Kernel modules: e1000e
181 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
182 UHCI Controller #4
183 Subsystem: Intel Corporation Device 4f53
184 Kernel driver in use: uhci_hcd
185 Kernel modules: uhci-hcd
186 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
187 UHCI Controller #5
188 Subsystem: Intel Corporation Device 4f53
189 Kernel driver in use: uhci_hcd
190 Kernel modules: uhci-hcd
191 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
192 UHCI Controller #6
193 Subsystem: Intel Corporation Device 4f53
194 Kernel driver in use: uhci_hcd
195 Kernel modules: uhci-hcd
196 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
197 EHCI Controller #2
198 Subsystem: Intel Corporation Device 4f53
199 Kernel driver in use: ehci_hcd
200 Kernel modules: ehci-hcd
201 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
202 Audio Controller
203 Subsystem: Intel Corporation Device 0022
204 Kernel driver in use: HDA Intel
205 Kernel modules: snd-hda-intel
206 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
207 Kernel driver in use: pcieport
208 00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
209 Kernel driver in use: pcieport
210 00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
211 Kernel driver in use: pcieport
212 00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
213 UHCI Controller #1
214 Subsystem: Intel Corporation Device 4f53
215 Kernel driver in use: uhci_hcd
216 Kernel modules: uhci-hcd
217 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
218 UHCI Controller #2
219 Subsystem: Intel Corporation Device 4f53
220 Kernel driver in use: uhci_hcd
221 Kernel modules: uhci-hcd
222 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
223 UHCI Controller #3
224 Subsystem: Intel Corporation Device 4f53
225 Kernel driver in use: uhci_hcd
226 Kernel modules: uhci-hcd
227 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
228 EHCI Controller #1
229 Subsystem: Intel Corporation Device 4f53
230 Kernel driver in use: ehci_hcd
231 Kernel modules: ehci-hcd
232 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
233 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
234 Subsystem: Intel Corporation Device 4f53
235 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
236 AHCI Controller
237 Subsystem: Intel Corporation Device 4f53
238 Kernel driver in use: ahci
239 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
240 Subsystem: Intel Corporation Device 4f53
241 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce
242 9500 GT] (rev a1)
243 Kernel driver in use: nvidia
244 Kernel modules: nvidia
245 06:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
246 Controller (rev b2)
247 Subsystem: Intel Corporation Device 4f53
248 Kernel driver in use: ahci
249 07:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
250 IEEE-1394a-2000 Controller (PHY/Link)
251 Subsystem: Intel Corporation Device 4f53
252 Kernel modules: firewire-ohci
253 keeper ~ #
254
255
256 #
257 CONFIG_TRACE_IRQFLAGS_SUPPORT=y
258 # CONFIG_PRINTK_TIME is not set
259 CONFIG_ENABLE_WARN_DEPRECATED=y
260 CONFIG_ENABLE_MUST_CHECK=y
261 CONFIG_FRAME_WARN=1024
262 CONFIG_MAGIC_SYSRQ=y
263 # CONFIG_STRIP_ASM_SYMS is not set
264 # CONFIG_UNUSED_SYMBOLS is not set
265 # CONFIG_DEBUG_FS is not set
266 # CONFIG_HEADERS_CHECK is not set
267 CONFIG_DEBUG_KERNEL=y
268 # CONFIG_DEBUG_SHIRQ is not set
269 CONFIG_DETECT_SOFTLOCKUP=y
270 # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
271 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
272 CONFIG_DETECT_HUNG_TASK=y
273 # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
274 CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
275 CONFIG_SCHED_DEBUG=y
276 # CONFIG_SCHEDSTATS is not set
277 # CONFIG_TIMER_STATS is not set
278 # CONFIG_DEBUG_OBJECTS is not set
279 # CONFIG_DEBUG_SLAB is not set
280 # CONFIG_DEBUG_KMEMLEAK is not set
281 CONFIG_DEBUG_PREEMPT=y
282 # CONFIG_DEBUG_RT_MUTEXES is not set
283 # CONFIG_RT_MUTEX_TESTER is not set
284 # CONFIG_DEBUG_SPINLOCK is not set
285 # CONFIG_DEBUG_MUTEXES is not set
286 # CONFIG_DEBUG_LOCK_ALLOC is not set
287 # CONFIG_PROVE_LOCKING is not set
288 # CONFIG_LOCK_STAT is not set
289 # CONFIG_DEBUG_SPINLOCK_SLEEP is not set
290 # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
291 # CONFIG_DEBUG_KOBJECT is not set
292 CONFIG_DEBUG_BUGVERBOSE=y
293 # CONFIG_DEBUG_INFO is not set
294 # CONFIG_DEBUG_VM is not set
295 # CONFIG_DEBUG_VIRTUAL is not set
296 # CONFIG_DEBUG_WRITECOUNT is not set
297 # CONFIG_DEBUG_MEMORY_INIT is not set
298 # CONFIG_DEBUG_LIST is not set
299 # CONFIG_DEBUG_SG is not set
300 # CONFIG_DEBUG_NOTIFIERS is not set
301 # CONFIG_DEBUG_CREDENTIALS is not set
302 CONFIG_ARCH_WANT_FRAME_POINTERS=y
303 # CONFIG_FRAME_POINTER is not set
304 # CONFIG_BOOT_PRINTK_DELAY is not set
305 # CONFIG_RCU_TORTURE_TEST is not set
306 # CONFIG_RCU_CPU_STALL_DETECTOR is not set
307 # CONFIG_BACKTRACE_SELF_TEST is not set
308 # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
309 # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
310 # CONFIG_FAULT_INJECTION is not set
311 # CONFIG_LATENCYTOP is not set
312 # CONFIG_SYSCTL_SYSCALL_CHECK is not set
313 # CONFIG_DEBUG_PAGEALLOC is not set
314 CONFIG_USER_STACKTRACE_SUPPORT=y
315 CONFIG_HAVE_FUNCTION_TRACER=y
316 CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
317 CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
318 CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
319 CONFIG_HAVE_DYNAMIC_FTRACE=y
320 CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
321 CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
322 CONFIG_TRACING_SUPPORT=y
323 # CONFIG_FTRACE is not set
324 # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
325 # CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
326 # CONFIG_DMA_API_DEBUG is not set
327 # CONFIG_SAMPLES is not set
328 CONFIG_HAVE_ARCH_KGDB=y
329 # CONFIG_KGDB is not set
330 CONFIG_HAVE_ARCH_KMEMCHECK=y
331 # CONFIG_STRICT_DEVMEM is not set
332 CONFIG_X86_VERBOSE_BOOTUP=y
333 CONFIG_EARLY_PRINTK=y
334 # CONFIG_EARLY_PRINTK_DBGP is not set
335 # CONFIG_DEBUG_STACKOVERFLOW is not set
336 # CONFIG_DEBUG_STACK_USAGE is not set
337 # CONFIG_DEBUG_PER_CPU_MAPS is not set
338 # CONFIG_X86_PTDUMP is not set
339 CONFIG_DEBUG_RODATA=y
340 # CONFIG_DEBUG_RODATA_TEST is not set
341 # CONFIG_DEBUG_NX_TEST is not set
342 # CONFIG_IOMMU_DEBUG is not set
343 # CONFIG_IOMMU_STRESS is not set
344 CONFIG_HAVE_MMIOTRACE_SUPPORT=y
345 CONFIG_IO_DELAY_TYPE_0X80=0
346 CONFIG_IO_DELAY_TYPE_0XED=1
347 CONFIG_IO_DELAY_TYPE_UDELAY=2
348 CONFIG_IO_DELAY_TYPE_NONE=3
349 CONFIG_IO_DELAY_0X80=y
350 # CONFIG_IO_DELAY_0XED is not set
351 # CONFIG_IO_DELAY_UDELAY is not set
352 # CONFIG_IO_DELAY_NONE is not set
353 CONFIG_DEFAULT_IO_DELAY_TYPE=0
354 # CONFIG_CPA_DEBUG is not set
355 # CONFIG_OPTIMIZE_INLINING is not set
356 # CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
357
358 #
359 # Security options
360 #
361 # CONFIG_KEYS is not set
362 CONFIG_SECURITY=y
363 # CONFIG_SECURITYFS is not set
364 # CONFIG_SECURITY_NETWORK is not set
365 # CONFIG_SECURITY_PATH is not set
366 # CONFIG_SECURITY_TOMOYO is not set
367 # CONFIG_IMA is not set
368 # CONFIG_DEFAULT_SECURITY_SELINUX is not set
369 # CONFIG_DEFAULT_SECURITY_SMACK is not set
370 # CONFIG_DEFAULT_SECURITY_TOMOYO is not set
371 CONFIG_DEFAULT_SECURITY_DAC=y
372 CONFIG_DEFAULT_SECURITY=""
373 CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA=y
374 CONFIG_ASYNC_TX_DISABLE_XOR_VAL_DMA=y
375 CONFIG_CRYPTO=y
376
377 #
378 # Crypto core or helper
379 #
380 CONFIG_CRYPTO_ALGAPI=y
381 CONFIG_CRYPTO_ALGAPI2=y
382 CONFIG_CRYPTO_AEAD=m
383 CONFIG_CRYPTO_AEAD2=y
384 CONFIG_CRYPTO_BLKCIPHER=y
385 CONFIG_CRYPTO_BLKCIPHER2=y
386 CONFIG_CRYPTO_HASH=y
387 CONFIG_CRYPTO_HASH2=y
388 CONFIG_CRYPTO_RNG2=y
389 CONFIG_CRYPTO_PCOMP=y
390 CONFIG_CRYPTO_MANAGER=y
391 CONFIG_CRYPTO_MANAGER2=y
392 CONFIG_CRYPTO_GF128MUL=m
393 CONFIG_CRYPTO_NULL=m
394 CONFIG_CRYPTO_WORKQUEUE=y
395 CONFIG_CRYPTO_CRYPTD=m
396 CONFIG_CRYPTO_AUTHENC=m
397 CONFIG_CRYPTO_TEST=m
398
399 #
400 # Authenticated Encryption with Associated Data
401 #
402 # CONFIG_CRYPTO_CCM is not set
403 # CONFIG_CRYPTO_GCM is not set
404 # CONFIG_CRYPTO_SEQIV is not set
405
406 #
407 # Block modes
408 #
409 CONFIG_CRYPTO_CBC=y
410 # CONFIG_CRYPTO_CTR is not set
411 # CONFIG_CRYPTO_CTS is not set
412 CONFIG_CRYPTO_ECB=m
413 CONFIG_CRYPTO_LRW=m
414 CONFIG_CRYPTO_PCBC=m
415 CONFIG_CRYPTO_XTS=m
416
417 #
418 # Hash modes
419 #
420 CONFIG_CRYPTO_HMAC=y
421 CONFIG_CRYPTO_XCBC=m
422 # CONFIG_CRYPTO_VMAC is not set
423
424 #
425 # Digest
426 #
427 CONFIG_CRYPTO_CRC32C=y
428 # CONFIG_CRYPTO_CRC32C_INTEL is not set
429 # CONFIG_CRYPTO_GHASH is not set
430 CONFIG_CRYPTO_MD4=m
431 CONFIG_CRYPTO_MD5=y
432 CONFIG_CRYPTO_MICHAEL_MIC=m
433 # CONFIG_CRYPTO_RMD128 is not set
434 # CONFIG_CRYPTO_RMD160 is not set
435 # CONFIG_CRYPTO_RMD256 is not set
436 # CONFIG_CRYPTO_RMD320 is not set
437 CONFIG_CRYPTO_SHA1=m
438 CONFIG_CRYPTO_SHA256=m
439 CONFIG_CRYPTO_SHA512=m
440 CONFIG_CRYPTO_TGR192=m
441 CONFIG_CRYPTO_WP512=m
442 # CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set
443
444 #
445 # Ciphers
446 #
447 CONFIG_CRYPTO_AES=m
448 CONFIG_CRYPTO_AES_X86_64=m
449 # CONFIG_CRYPTO_AES_NI_INTEL is not set
450 CONFIG_CRYPTO_ANUBIS=m
451 CONFIG_CRYPTO_ARC4=m
452 CONFIG_CRYPTO_BLOWFISH=m
453 CONFIG_CRYPTO_CAMELLIA=m
454 CONFIG_CRYPTO_CAST5=m
455 CONFIG_CRYPTO_CAST6=m
456 CONFIG_CRYPTO_DES=y
457 CONFIG_CRYPTO_FCRYPT=m
458 CONFIG_CRYPTO_KHAZAD=m
459 # CONFIG_CRYPTO_SALSA20 is not set
460 CONFIG_CRYPTO_SALSA20_X86_64=m
461 CONFIG_CRYPTO_SEED=m
462 CONFIG_CRYPTO_SERPENT=m
463 CONFIG_CRYPTO_TEA=m
464 CONFIG_CRYPTO_TWOFISH=m
465 CONFIG_CRYPTO_TWOFISH_COMMON=m
466 CONFIG_CRYPTO_TWOFISH_X86_64=m
467
468 #
469 # Compression
470 #
471 CONFIG_CRYPTO_DEFLATE=m
472 # CONFIG_CRYPTO_ZLIB is not set
473 # CONFIG_CRYPTO_LZO is not set
474
475 #
476 # Random Number Generation
477 #
478 # CONFIG_CRYPTO_ANSI_CPRNG is not set
479 CONFIG_CRYPTO_HW=y
480 # CONFIG_CRYPTO_DEV_PADLOCK is not set
481 # CONFIG_CRYPTO_DEV_HIFN_795X is not set
482 CONFIG_HAVE_KVM=y
483 CONFIG_VIRTUALIZATION=y
484 # CONFIG_KVM is not set
485 CONFIG_VIRTIO=m
486 CONFIG_VIRTIO_RING=m
487 CONFIG_VIRTIO_PCI=m
488 CONFIG_VIRTIO_BALLOON=m
489 # CONFIG_BINARY_PRINTF is not set
490
491 #
492 # Library routines
493 #
494 CONFIG_BITREVERSE=y
495 CONFIG_GENERIC_FIND_FIRST_BIT=y
496 CONFIG_GENERIC_FIND_NEXT_BIT=y
497 CONFIG_GENERIC_FIND_LAST_BIT=y
498 CONFIG_CRC_CCITT=m
499 CONFIG_CRC16=y
500 # CONFIG_CRC_T10DIF is not set
501 CONFIG_CRC_ITU_T=y
502 CONFIG_CRC32=y
503 # CONFIG_CRC7 is not set
504 CONFIG_LIBCRC32C=y
505 CONFIG_ZLIB_INFLATE=y
506 CONFIG_ZLIB_DEFLATE=m
507 CONFIG_HAS_IOMEM=y
508 CONFIG_HAS_IOPORT=y
509 CONFIG_HAS_DMA=y
510 CONFIG_NLATTR=y
511 keeper ~ #
512
513 keeper ~ # diff /usr/src/linux/.config /mnt/gentoo/usr/src/linux/.config
514 4c4
515 < # Mon Mar 29 01:02:31 2010
516 ---
517 > # Sun Apr 4 09:56:49 2010
518 893,912c893,906
519 < CONFIG_MD_LINEAR=m
520 < CONFIG_MD_RAID0=m
521 < CONFIG_MD_RAID1=m
522 < CONFIG_MD_RAID10=m
523 < CONFIG_MD_RAID456=m
524 < # CONFIG_MULTICORE_RAID456 is not set
525 < CONFIG_MD_RAID6_PQ=m
526 < # CONFIG_ASYNC_RAID6_TEST is not set
527 < CONFIG_MD_MULTIPATH=m
528 < CONFIG_MD_FAULTY=m
529 < CONFIG_BLK_DEV_DM=m
530 < CONFIG_DM_DEBUG=y
531 < CONFIG_DM_CRYPT=m
532 < CONFIG_DM_SNAPSHOT=m
533 < CONFIG_DM_MIRROR=m
534 < # CONFIG_DM_LOG_USERSPACE is not set
535 < CONFIG_DM_ZERO=m
536 < CONFIG_DM_MULTIPATH=m
537 < # CONFIG_DM_MULTIPATH_QL is not set
538 < # CONFIG_DM_MULTIPATH_ST is not set
539 ---
540 > # CONFIG_MD_LINEAR is not set
541 > CONFIG_MD_RAID0=y
542 > CONFIG_MD_RAID1=y
543 > # CONFIG_MD_RAID10 is not set
544 > # CONFIG_MD_RAID456 is not set
545 > # CONFIG_MD_MULTIPATH is not set
546 > # CONFIG_MD_FAULTY is not set
547 > CONFIG_BLK_DEV_DM=y
548 > # CONFIG_DM_DEBUG is not set
549 > # CONFIG_DM_CRYPT is not set
550 > # CONFIG_DM_SNAPSHOT is not set
551 > # CONFIG_DM_MIRROR is not set
552 > # CONFIG_DM_ZERO is not set
553 > # CONFIG_DM_MULTIPATH is not set
554 914,915c908,909
555 < CONFIG_DM_UEVENT=y
556 < CONFIG_BLK_DEV_DM_BBR=m
557 ---
558 > # CONFIG_DM_UEVENT is not set
559 > # CONFIG_BLK_DEV_DM_BBR is not set
560 2293,2298d2286
561 < CONFIG_XOR_BLOCKS=m
562 < CONFIG_ASYNC_CORE=m
563 < CONFIG_ASYNC_MEMCPY=m
564 < CONFIG_ASYNC_XOR=m
565 < CONFIG_ASYNC_PQ=m
566 < CONFIG_ASYNC_RAID6_RECOV=m
567 keeper ~ #

Replies

Subject Author
[gentoo-user] Re: How does grub assemble a RAID1 for / ?? Kerin Millar <kerframil@×××××.com>