1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Howto Upgrade your Kernel (unofficial)
(1 viewing) 1 Guest
Go to bottomPage: 1...17181920212223...25
TOPIC: Howto Upgrade your Kernel (unofficial)
*
#27530
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 4 Months ago  
Tim Burgess wrote:

@Fabio, xen kernels are not provided as part of the normal ClearOS build - I alos have no experience in this area. To build your own you'll need the src.rpm, and to follow the instructions here
wiki.centos.org/HowTos/Custom_Kernel


Clearos build have 2.6.18 kernel xen package (upstream + old xen patch), 2.6.32 have full xen domU support integrated in upstream, not need patch add but only config add, i have try your kernel 2.6.32 but not have domU support active, i try to rebuild with only this change on config, should function as the kernel of debian and derivatives that are already standard with active support domU, this config change is based on linux-image-2.6.32-5-686-bigmem_2.6.32-31_i386.deb from Squeeze:
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
CONFIG_SYS_HYPERVISOR=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_DRIVER=y
CONFIG_HVC_IRQ=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XENFS=m
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y

i not found kernel in src in your repository, i take kernel-PAE-devel-2.6.32.26-175.timb1.i686.rpm, unzipped, do change on .config, installed some necessary package (yum install gcc gcc-c++ kernel-devel rpm-build) and try to build with command of your first post (rpmbuild -ba --target=`uname -i` --with baseonly --without debuginfo kernel.spec 2>builderr.log | tee buildout.log) but kernel.spec is missed, where i can found it please?
Fabio Fantoni
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#27550
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 4 Months ago  
Follow the instructions in the link above, setup a build environment as per instructions here
www.clearfoundation.com/docs/developer/p..._an_rpm_-_the_basics

You'll need to build from the SPEC file which is contained in the kernel-X.src.rpm. You can't rebuild from a binary RPM. You can find the src.rpm for my kernel here
ftp://timburgess.net/repo/clearos/5.2/so...26-175.timb1.src.rpm
Tim Burgess
Moderator
Posts: 6601
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#27703
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 3 Months ago  
Thanks i have do...
modified file config-x86-generic with add at the end:
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
CONFIG_SYS_HYPERVISOR=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_DRIVER=y
CONFIG_HVC_IRQ=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XENFS=m
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y

do build:
rpmbuild -ba --target=i686 --without debuginfo /usr/src/redhat/SPECS/kernel.spec 2>builderr.log | tee buildout.log

installed kernel i686-PAE
-------------------------------------------
do this after install (only if xen domU)
vi /etc/modprobe.conf #comment all line about old xen modules
vi /etc/inittab #xvc0 with hvc0
vi /etc/securetty #xvc0 with hvc0
-------------------------------------------
and all is perfect working except problem on shutdown with more then 1 vcpus solved in 2.6.32.27 (this is based on 2.6.32.26)
Fabio Fantoni
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28473
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 3 Months ago  
apparently TX is having massive issues with weather:


Code:

[root@firewall tmp]# wget http://download.clearfoundation.com/community/timb80/r                                                                             epo/clearos/5.2/kernel-2.6.32.26-175.timb1.i686.rpm
--2011-05-26 17:06:40--  http://download.clearfoundation.com/community/timb80/re                                                                             po/clearos/5.2/kernel-2.6.32.26-175.timb1.i686.rpm
Resolving download.clearfoundation.com... 67.18.3.121, 67.18.3.141, 66.98.128.13                                                                             4, ...
Connecting to download.clearfoundation.com|67.18.3.121|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirror1-dallas.clearsdn.com/missing.html [following]
--2011-05-26 17:06:41--  http://mirror1-dallas.clearsdn.com/missing.html
Resolving mirror1-dallas.clearsdn.com... 67.18.3.121
Connecting to mirror1-dallas.clearsdn.com|67.18.3.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 452 [text/html]
Saving to: `missing.html.1'

100%[======================================>] 452         --.-K/s   in 0.001s

2011-05-26 17:06:41 (725 KB/s) - `missing.html.1' saved [452/452]



there goes my hopes of having my wlan setup tonight :'(
andy
Junior Boarder
Posts: 39
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28474
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 3 Months ago  
Tim Burgess
Moderator
Posts: 6601
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28475
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 3 Months ago  
ha! thanks m8...assumed the worst with the weather down there
andy
Junior Boarder
Posts: 39
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#29157
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 2 Months ago  
Tim Burgess wrote:
@Herm, the newer kernel does not work with L7 protocol filter, it will cause the firewall to fail.

Will this still be the case with the release of Enterprise 6.0?

I love the L7 protocol filter, but I would love to utilize more RAM, ClearOS was screaming with 32GB of RAM
Eric Martin
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#29169
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 2 Months ago  
No because they (ClearFoundation) will have developed the L7 filter / firewall implementation for the 6.0 kernel. I believe ClearOS Enterprise 6.0 will be based on a kernel of 2.6.32-xxx

My kernel upgrade hack for 5.2 was just that...a bit of a hack. To implement the netfilter naming changes, and incompatibility with iptables would of required me to rewrite the way the firewall works
Tim Burgess
Moderator
Posts: 6601
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#30393
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 1 Month ago  
Hello After updating the Kernel Version 2.6.32.26-175.timb1.i686.PAE (SMP) the error appears: Error: / etc / rc.d / firewall.lua: 3659: Unable to commit: mangle: Unknown error 4294967295. How to deal with it.
maxwell
Senior Boarder
Posts: 60
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#30394
Re:Howto Upgrade your Kernel (unofficial) 3 Years, 1 Month ago  
Hi, this usually occurs if you have the protocol filter enabled?
Tim Burgess
Moderator
Posts: 6601
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1...17181920212223...25
  get the latest posts directly to your desktop