Forums

BENSIALI
BENSIALI
Offline
Resolved
0 votes
Hi all,

Install of COS 6.6 fails after reboot like explained here.

So I install in COS 6.5 fine. But I can't get kernel source for COS 6.5

Linux version :
[root@home testfx]# uname -r
2.6.32-431.1.2.v6.x86_64


Download of Kernel gets new version :
[[root@home partial]# yum install --enablerepo=clearos-dev kernel-devel kernel-headers
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: www.mirrorservice.org
* clearos-addons: www.mirrorservice.org
* clearos-dev: www.mirrorservice.org
* clearos-extras: www.mirrorservice.org
* clearos-updates: www.mirrorservice.org
* private-clearcenter-dyndns: download4.clearsdn.com:80
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:2.6.32-504.8.1.v6 will be installed
---> Package kernel-headers.x86_64 0:2.6.32-504.8.1.v6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
kernel-devel x86_64 2.6.32-504.8.1.v6 clearos 9.4 M
kernel-headers x86_64 2.6.32-504.8.1.v6 clearos 3.3 M

Transaction Summary
========================================================================================================================================================================
Install 2 Package(s)

Total download size: 13 M
Installed size: 27 M


I tryed to specified the wanted version but it doesn't seams to exists :
[root@home testfx]# yum install --enablerepo=clearos-dev kernel-devel-2.6.32-431.1.2.v6.x86_64
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: www.mirrorservice.org
* clearos-addons: www.mirrorservice.org
* clearos-dev: www.mirrorservice.org
* clearos-extras: www.mirrorservice.org
* clearos-updates: www.mirrorservice.org
* private-clearcenter-dyndns: download4.clearsdn.com:80
Setting up Install Process
No package kernel-devel-2.6.32-431.1.2.v6.x86_64 available.


I need to install controler card driver and kernel source is requiered. I DO NOT want to
upgrade to COS 6.6
Tuesday, February 24 2015, 11:15 PM
Share this post:
Responses (13)
  • Accepted Answer

    Wednesday, February 25 2015, 10:09 PM - #Permalink
    Resolved
    0 votes
    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 06:59 PM - #Permalink
    Resolved
    0 votes
    You can do a "yum localinstall ....." or, if you don't want a local copy "rpm -ivh link_to_package" (or -Uvh if updating rather than installing)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 06:19 PM - #Permalink
    Resolved
    0 votes
    Thanks I'll download the kernel. I must now figures how to deploy it and where, because "yum install" do the job for me.

    Thanks all for your support.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 05:56 PM - #Permalink
    Resolved
    0 votes
    For now, I have uploaded all the kernels to (edit: removed) The debug/debuginfo packages are excluded to save disk space, but are available if needed.

    Edit: sorry, I had to remove the kernel downloads.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 05:41 PM - #Permalink
    Resolved
    0 votes
    I looked on the mirrors for the old 6.3, 6.4 and 6.6 releases, unfortunately your specific version isn't there any more

    I've uploaded the older kernel-devel and kernel-header packages for the ClearOS6 releases here

    EDIT: Thanks Pete - see next post!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 05:20 PM - #Permalink
    Resolved
    0 votes
    Thanks I'll look for this savier...
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 04:57 PM - #Permalink
    Resolved
    0 votes
    Unless someone can come up with the rpm's then you'll have to do as I say and upgrade your kernel.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 04:42 PM - #Permalink
    Resolved
    0 votes
    Thanks this will be handled in the future.

    But for my installation ? I can't get access to my data :(
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 04:04 PM - #Permalink
    Resolved
    0 votes
    BENSIALI wrote:
    Thank you for your answer. But as mentioned "I DO NOT want to upgrade to COS 6.6 ".
    It is not specifically a 6.6 kernel. Updates to the kernel are continually being released independent of the ClearOS/RHEL update cycle. It should be safe to update the kernel without updating ClearOS to 6.6.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 03:33 PM - #Permalink
    Resolved
    0 votes
    I too would like to see better kernel handling in the repos! In fact, there are a number of limitations that I would like to address. I added a tracker item and we'll see if we can get things going for ClearOS 7. I'll add more details in the tracker once we have a discussion on the topic.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 03:10 PM - #Permalink
    Resolved
    0 votes
    Thank you for your answer. But as mentioned "I DO NOT want to
    upgrade to COS 6.6 ".
    Because when I had try to install directly COS 6.6 I've finished (with the same hardware) to a blank screen.
    I do not want to take that risk.
    This is my 4th install this week after disk crash of my old COS 5.2.

    On my previous install I had donwload the new kernel and lunched "make" as you suggested to me with the boot menu on this thread
    but when I reboot the COS 6.5 kernel was used and controler driver wasn't loaded.

    May be their is a way to compile on kernel 6.6 and run on kernel 6.5 but I do not know how.

    There is NO way to download kernel-devel & kernel-headers for 2.6.32-431.1.2.v6.x86_64

    I've suffer so much for installing COS 6.5 while COS 6.6 was released.... :angry:

    @Tim did you get any copies of this kernel ?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 02:33 PM - #Permalink
    Resolved
    0 votes
    I think we should campaign for the older kernel-devel and kernel-headers packages to be kept in an archive... I'd host them on my mirror if I could get copies of the old ones
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 25 2015, 01:59 PM - #Permalink
    Resolved
    0 votes
    This is where the handling of kernels in the repos is very poor. I have said so on many occasions but it falls on deaf ears at Clearcenter.

    When a new kernel is starts going through testing some of the old kernel packages (devel or headers?) become unavailable meaning you can no linger install them for the current kernel and if you need them, you are forced to install a kernel from one of the testing repos. To me this is very bad.

    Eventually the kernel moves to live. At this pont you can install all the new kernel packages but not some of the ones relating to the older kernel. Again, to me, this is bad. If means you have to update your kernel and reboot for it to take effect which is rubbish for a high availability system.

    In your case, you can install the latest kernel without upgrading to 6.6:
    yum update kernel*
    Reboot for the new kernel to take effect. You should now be OK to compile.

    I also suggest you add a line in /etc/yum.conf:
    # Temporarily stop all kernel related updates
    exclude=kernel,kernel-devel,kernel-firmware,kernel-headers
    Then you can control the updating manually by commenting out the line and doing a yum update.
    The reply is currently minimized Show
Your Reply