]>
Commit | Line | Data |
---|---|---|
53e8ba20 DM |
1 | KERNEL SOURCE: |
2 | ============== | |
3 | ||
4 | We currently use the Ubuntu kernel sources, available from: | |
5 | ||
6 | http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git | |
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 HPSA driver (HP Smart Array) | |
17 | ||
18 | * http://sourceforge.net/projects/cciss/ | |
19 | ||
20 | - include native OpenZFS filesystem kernel modules for Linux | |
21 | ||
22 | * https://github.com/zfsonlinux/ | |
23 | ||
24 | For licensing questions, see: http://open-zfs.org/wiki/Talk:FAQ | |
25 | ||
26 | - include latest DRBD 9 driver, see http://drbd.linbit.com/home/what-is-drbd/ | |
27 | ||
28 | ||
29 | FIRMWARE: | |
30 | ========= | |
31 | ||
32 | We create our own firmware package, which includes the firmware for | |
33 | all proxmox-ve kernels. So far this include | |
34 | ||
35 | pve-kernel-2.6.18 | |
36 | pve-kernel-2.6.24 | |
37 | pve-kernel-2.6.32 | |
38 | pve-kernel-3.10.0 | |
39 | pve-kernel-3.19.0 | |
40 | ||
41 | We use 'find-firmware.pl' to extract lists of required firmeware | |
42 | files. The script 'assemble-firmware.pl' is used to read those lists | |
43 | and copy the files from various source directory into a target | |
44 | directory. | |
45 | ||
46 | We do not include firmeware for some wireless HW when there is a | |
47 | separate debian package for that, for example: | |
48 | ||
49 | zd1211-firmware | |
50 | atmel-firmware | |
51 | bluez-firmware | |
52 | ||
53 | ||
54 | PATCHES: | |
55 | -------- | |
56 | ||
57 | bridge-patch.diff: Avoid bridge problems with changing MAC | |
58 | see also: http://forum.openvz.org/index.php?t=msg&th=5291 | |
59 | ||
60 | Behaviour after 2.6.27 has changed slighly - after setting mac address | |
61 | of bridge device, then address won't change. So we could omit | |
62 | that patch, requiring to set hwaddress in /etc/network/interfaces. | |
63 | ||
64 | ||
65 | Additional information | |
66 | ---------------------- | |
67 | ||
68 | We use the default configuration provided by Ubuntu, and apply | |
69 | the following modification: | |
70 | ||
71 | see Makefile (PVE_CONFIG_OPTS) | |
72 | ||
73 | - enable CONFIG_CEPH_FS=m (request from user) | |
74 | ||
75 | - enable common CONFIG_BLK_DEV_XXX to avoid hardware detection | |
76 | problems (udev, undate-initramfs hav serious problems without that) | |
77 | ||
78 | CONFIG_BLK_DEV_SD=y | |
79 | CONFIG_BLK_DEV_SR=y | |
80 | CONFIG_BLK_DEV_DM=y | |
81 | ||
82 | - compile NBD and RBD modules | |
83 | CONFIG_BLK_DEV_NBD=m | |
84 | CONFIG_BLK_DEV_RBD=m | |
85 | ||
86 | - set LOOP_MIN_COUNT to 8 (debian defaults) | |
87 | CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 | |
88 | ||
89 | - disable module signatures (CONFIG_MODULE_SIG) | |
90 | ||
91 | - enable IBM JFS file system | |
92 | ||
93 | This is disabled in RHEL kernel for no real reason, so we enable | |
94 | it as requested by users (bug #64) | |
95 | ||
96 | - enable apple HFS and HFSPLUS | |
97 | ||
98 | This is disabled in RHEL kernel for no real reason, so we enable | |
99 | it as requested by users | |
100 | ||
101 | - enable CONFIG_BCACHE=m (requested by user) | |
102 | ||
103 | - enable CONFIG_BRIDGE=y | |
104 | ||
105 | Else we get warnings on boot, that | |
106 | net.bridge.bridge-nf-call-iptables is an unknown key | |
107 | ||
108 | - enable CONFIG_DEFAULT_SECURITY_APPARMOR | |
109 | ||
110 | We need this for lxc | |
111 | ||
112 | - set CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | |
113 | ||
114 | because if not set, it can give some dynamic memory or cpu frequencies | |
115 | change, and vms can crash (mainly windows guest). | |
116 | ||
117 | see http://forum.proxmox.com/threads/18238-Windows-7-x64-VMs-crashing-randomly-during-process-termination?p=93273#post93273 | |
118 | ||
119 | - use 'deadline' as default scheduler | |
120 | ||
121 | This is the suggested setting for KVM. We also measure bad fsync | |
122 | performance with ext4 and cfq. | |
123 | ||
124 | Testing final kernel with kvm | |
125 | ----------------------------- | |
126 | ||
127 | kvm -kernel data/boot/vmlinuz-3.19.8-1-pve -initrd initrd.img-3.19.8-1-pve -append "vga=791 video=vesafb:ywrap,mtrr" /dev/zero | |
128 |