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