]>
Commit | Line | Data |
---|---|---|
688f31fc DM |
1 | KERNEL SOURCE: |
2 | ============== | |
3 | ||
4 | We use the RHEL7 kernel sources, available from: | |
5 | ||
6 | ftp://ftp.redhat.com/redhat/rhel/ | |
7 | ||
8 | ||
9 | Additional/Updated Modules: | |
10 | --------------------------- | |
11 | ||
12 | - include latest ixgbe driver from intel/sourceforge | |
13 | ||
14 | - include latest igb driver from intel/sourceforge | |
15 | ||
16 | - include latest e1000e driver from intel/sourceforge | |
17 | ||
fef642b7 DM |
18 | # this driver does not compile with RHEL7 kernel |
19 | #- include latest Broadcom bnx2 drivers | |
20 | # | |
21 | # * original file linux-7.8.56.zip contains | |
22 | # netxtreme2-7.8.56.tar.gz (added to repository) | |
688f31fc DM |
23 | |
24 | - include latest Adaptec aacraid driver | |
25 | ||
26 | * http://download.adaptec.com/raid/aac/linux/aacraid-linux-src-1.2.1-40300.tgz | |
27 | ||
28 | - include latest ARECA RAID drivers | |
29 | ||
30 | * http://www.areca.com.tw/support/s_linux/linux.htm | |
31 | ||
32 | FIRMWARE: | |
33 | ========= | |
34 | ||
35 | We create our own firmware package, which includes the firmware for | |
36 | all proxmox-ve kernels. So far this include | |
37 | ||
38 | pve-kernel-2.6.18 | |
39 | pve-kernel-2.6.24 | |
40 | pve-kernel-2.6.32 | |
41 | pve-kernel-2.6.35 | |
42 | pve-kernel-3.10.0 | |
43 | ||
44 | We use 'find-firmware.pl' to extract lists of required firmeware | |
45 | files. The script 'assemble-firmware.pl' is used to read those lists | |
46 | and copy the files from various source directory into a target | |
47 | directory. | |
48 | ||
49 | We do not include firmeware for some wireless HW when there is a | |
50 | separate debian package for that, for example: | |
51 | ||
52 | zd1211-firmware | |
53 | atmel-firmware | |
54 | bluez-firmware | |
55 | ||
56 | ||
57 | PATCHES: | |
58 | -------- | |
59 | ||
60 | bridge-patch.diff: Avoid bridge problems with changing MAC | |
61 | see also: http://forum.openvz.org/index.php?t=msg&th=5291 | |
62 | ||
63 | Behaviour after 2.6.27 has changed slighly - after setting mac address | |
64 | of bridge device, then address won't change. So we could omit | |
65 | that patch, requiring to set hwaddress in /etc/network/interfaces. | |
66 | ||
67 | ||
68 | Additional information | |
69 | ---------------------- | |
70 | ||
71 | We use the default configuration provided by RHEL, and apply | |
72 | the following modification: | |
73 | ||
74 | see config-3.10.0.diff | |
75 | ||
76 | - enable common CONFIG_BLK_DEV_XXX to avoid hardware detection | |
77 | problems (udev, undate-initramfs hav serious problems without that) | |
78 | ||
79 | CONFIG_BLK_DEV_SD=y | |
80 | CONFIG_BLK_DEV_SR=y | |
81 | CONFIG_BLK_DEV_DM=y | |
82 | ||
2600940a DM |
83 | - compile NBD and RBD modules |
84 | CONFIG_BLK_DEV_NBD=m | |
85 | CONFIG_BLK_DEV_RBD=m | |
86 | ||
87 | - set LOOP_MIN_COUNT to 8 (debian defaults) | |
88 | CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 | |
89 | ||
688f31fc DM |
90 | - disable module signatures (CONFIG_MODULE_SIG) |
91 | ||
92 | - enable IBM JFS file system | |
93 | ||
94 | This is disabled in RHEL kernel for no real reason, so we enable | |
95 | it as requested by users (bug #64) | |
96 | ||
97 | - enable apple HFS and HFSPLUS | |
98 | ||
99 | This is disabled in RHEL kernel for no real reason, so we enable | |
100 | it as requested by users | |
101 | ||
bfcb7405 DM |
102 | - enable CONFIG_BCACHE=m (requested by user) |
103 | ||
688f31fc DM |
104 | - enable CONFIG_BRIDGE=y |
105 | ||
106 | Else we get warnings on boot, that | |
107 | net.bridge.bridge-nf-call-iptables is an unknown key | |
108 | ||
f396caf4 DM |
109 | - disable CONFIG_DEFAULT_SECURITY_SELINUX |
110 | ||
111 | Use same SELINUX config as debian kernels (CONFIG_DEFAULT_SECURITY_DAC=y) | |
112 | ||
db697728 DM |
113 | - set CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y |
114 | ||
115 | because if not set, it can give some dynamic memory or cpu frequencies | |
116 | change, and vms can crash (mainly windows guest). | |
117 | ||
118 | see http://forum.proxmox.com/threads/18238-Windows-7-x64-VMs-crashing-randomly-during-process-termination?p=93273#post93273 | |
119 | ||
062da07d DM |
120 | - set CONFIG_CC_STACKPROTECTOR_REGULAR=y |
121 | ||
122 | gcc on debian wheezy does not supportCONFIG_CC_STACKPROTECTOR_STRONG | |
123 | ||
688f31fc DM |
124 | # Note: enable now for testing |
125 | #- disable CONFIG_BRIDGE_IGMP_SNOOPING | |
126 | # | |
127 | # To avoid problems with multicasting. Various users reported | |
128 | # multipath problems, which can be avoided by turning off IGMP | |
129 | # snooping. | |
130 | ||
131 | # deadline is default anyways now | |
132 | #- use 'deadline' as default scheduler | |
133 | # | |
134 | # This is the suggested setting for KVM. We also measure bad fsync | |
135 | # performance with ext4 and cfq. | |
136 | ||
137 | Testing final kernel with kvm | |
138 | ----------------------------- | |
139 | ||
062da07d | 140 | kvm -kernel data/boot/vmlinuz-3.10.0-2-pve -initrd initrd.img-3.10.0-2-pve -append "vga=791 video=vesafb:ywrap,mtrr" /dev/zero |
688f31fc | 141 |