1 |
Hello everyone, |
2 |
|
3 |
The past week I spend digging into Dracut test suites, playing with |
4 |
QEMU and doing yet another kernel recompilation, adjusting USE flags |
5 |
and other similar things. Tests don't involving networking run well on |
6 |
Fedora. When trying to port them to Gentoo I met several problems. |
7 |
|
8 |
The first problem is that Dracut isn't willing to load drivers on |
9 |
Gentoo. The second is that Dracut doesn't report anything on failures – |
10 |
when it cannot load specified module or driver – and it's that which |
11 |
hides the reason of the first problem. I reported it to Harald Hoyer |
12 |
and appropriate bug report [0] was created. That's the first thing I |
13 |
have to handle before doing anything else with Dracut. |
14 |
|
15 |
In meanwhile I put common functions in test scripts into one file and |
16 |
another for configuration to ease managing. Moreover I identified some |
17 |
differences between Fedora and Gentoo. The general problem is that |
18 |
Gentoo user usually customize kernel for the host as much as possible. |
19 |
For QEMU (including test suites requirements) following options should |
20 |
be turned on: |
21 |
|
22 |
* Processor family: 586/K5/5x86/6x86/6x86MX and Generic x86 support |
23 |
* Legacy PCI |
24 |
* Intel IDE drivers (MPIIX/PIIX) |
25 |
* NBD, NFS, iSCSI |
26 |
* Serial console |
27 |
* Device mapper + Crypt target |
28 |
* RAID |
29 |
|
30 |
And of course appropriate tools are required. |
31 |
|
32 |
This week I'm starting with digging directly in Dracut – firstly to fix |
33 |
issue mentioned above. If I made Dracut to run quite smoothly under |
34 |
Gentoo I'll continue with test-suites – probably in parallel. |
35 |
|
36 |
Resources: |
37 |
|
38 |
* http://github.com/aidecoe/dracut (my fork; for test-suites it's |
39 |
branch test) |
40 |
* https://bugzilla.redhat.com/buglist.cgi?quicksearch=dracut |
41 |
* http://bugs.gentoo.org/buglist.cgi?quicksearch=dracut |
42 |
* http://blog.aidecoe.name/category/gentoo/ |
43 |
|
44 |
References: |
45 |
|
46 |
[0] https://bugzilla.redhat.com/show_bug.cgi?id=595671 |
47 |
|
48 |
|
49 |
-- |
50 |
Cheers, |
51 |
Amadeusz Żołnowski |
52 |
|
53 |
PGP key: 1024D/C284750D |