]> git.proxmox.com Git - pve-kernel-3.10.0.git/blame - README
set RELEASE=3.3
[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
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
31FIRMWARE:
32=========
33
34We create our own firmware package, which includes the firmware for
35all proxmox-ve kernels. So far this include
36
37pve-kernel-2.6.18
38pve-kernel-2.6.24
39pve-kernel-2.6.32
40pve-kernel-2.6.35
41pve-kernel-3.10.0
42
43We use 'find-firmware.pl' to extract lists of required firmeware
44files. The script 'assemble-firmware.pl' is used to read those lists
45and copy the files from various source directory into a target
46directory.
47
48We do not include firmeware for some wireless HW when there is a
49separate debian package for that, for example:
50
51zd1211-firmware
52atmel-firmware
53bluez-firmware
54
55
56PATCHES:
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
67Additional information
68----------------------
69
70We use the default configuration provided by RHEL, and apply
71the following modification:
72
73see config-3.10.0.diff
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
2600940a
DM
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
688f31fc
DM
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
bfcb7405
DM
101- enable CONFIG_BCACHE=m (requested by user)
102
688f31fc
DM
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
f396caf4
DM
108- disable CONFIG_DEFAULT_SECURITY_SELINUX
109
110 Use same SELINUX config as debian kernels (CONFIG_DEFAULT_SECURITY_DAC=y)
111
db697728
DM
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
062da07d
DM
119- set CONFIG_CC_STACKPROTECTOR_REGULAR=y
120
121 gcc on debian wheezy does not supportCONFIG_CC_STACKPROTECTOR_STRONG
122
688f31fc
DM
123# Note: enable now for testing
124#- disable CONFIG_BRIDGE_IGMP_SNOOPING
125#
126# To avoid problems with multicasting. Various users reported
127# multipath problems, which can be avoided by turning off IGMP
128# snooping.
129
130# deadline is default anyways now
131#- use 'deadline' as default scheduler
132#
133# This is the suggested setting for KVM. We also measure bad fsync
134# performance with ext4 and cfq.
135
136Testing final kernel with kvm
137-----------------------------
138
062da07d 139kvm -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 140