]> git.proxmox.com Git - pve-kernel-3.10.0.git/blame - README
set --with-spl to make zfs compile
[pve-kernel-3.10.0.git] / README
CommitLineData
688f31fc
DM
1KERNEL SOURCE:
2==============
3
9514acf0 4We use the CENTOS7/RHEL7 kernel sources, available from:
688f31fc 5
9514acf0 6http://vault.centos.org/
688f31fc
DM
7
8
9Additional/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
38FIRMWARE:
39=========
40
41We create our own firmware package, which includes the firmware for
42all proxmox-ve kernels. So far this include
43
44pve-kernel-2.6.18
45pve-kernel-2.6.24
46pve-kernel-2.6.32
47pve-kernel-2.6.35
48pve-kernel-3.10.0
49
50We use 'find-firmware.pl' to extract lists of required firmeware
51files. The script 'assemble-firmware.pl' is used to read those lists
52and copy the files from various source directory into a target
53directory.
54
55We do not include firmeware for some wireless HW when there is a
56separate debian package for that, for example:
57
58zd1211-firmware
59atmel-firmware
60bluez-firmware
61
62
63PATCHES:
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
74Additional information
75----------------------
76
77We use the default configuration provided by RHEL, and apply
78the following modification:
79
80see 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
145Testing final kernel with kvm
146-----------------------------
147
062da07d 148kvm -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