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