| Summary: | Request Kernel Headers | ||
|---|---|---|---|
| Product: | [ROSA-based products] ROSA Fresh | Reporter: | daz <darrencleaver> |
| Component: | Contributed Packages | Assignee: | ROSA Linux Bugs <bugs> |
| Status: | CONFIRMED --- | QA Contact: | ROSA Linux Bugs <bugs> |
| Severity: | normal | ||
| Priority: | Normal | CC: | eugene.shatokhin |
| Version: | Fresh | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Platform: | --- | ROSA Vulnerability identifier: | |
| RPM Package: | ISO-related: | ||
| Bad POT generating: | Upstream: | ||
| Attachments: | Sophos Anti-Virus for Linux user manual | ||
|
Description
daz
2017-03-04 19:11:14 MSK
Well, I cannot help much here. The development packages for our kernels are installed by default and available, many out-of-tree drivers build fine. So the problem is likely on the Sophos's side somewhere. As that application does not specify what it needs from the kernel exactly, we can do nothing. Hi Eugene, Could you please review the following and provide some feedback. A converstaion between me and another Linux user. The original problem was an issue installing Sophos Antivirus. The cause ended up being related to Kernel headers for my current Kernel. The purpose of this post is to get your feedback once reading the below. If the below information is correct , could you please explain how I can upgrade my system in the way that is mentioned below including the install of Kernel 4.9 ( + Kernel Header ) . Ill call other Linux user Max. DAZ: My Kernel : Linux skye 4.8.17-nrj-desktop-1rosa-x86_64 #1 SMP PREEMPT Tue Jan 10 15:44:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux NOTE: When I run system update urpmi: I got message that when I reboot that Kernel 4.1 will be installed. 4.1 come with ISO then upgraded to 4.3. I rebooted and selected to boot back into 4.8 Why do I have 2 Kernels listed. ( NOTE: I have no Kernel Headers installed for 4.8 ( see below ) MAX: Meaning you have somehow installed the 4.3 kernel as a downgrade. Grub2 will boot in the latest you installed i.e. 4.3 but will give you an option to boot into 4.8 if you want to. In the background it appears you are upgrading from 4.1 according to the package manager. Just untick those kernel upgrades. Apparently you didn't install 4.8 through your package manager. DAZ: I manually installed 4.8 MAX:That might be what's causing troubles with kernel headers i.e you still have the old ones marked as valid. MAX:That will cause Sophos and/or Virtualbox or any other requiring own made kernel modules to fail as they will be pointing to the previous one. DAZ: http://wiki.rosalab.ru/en/index.php/ROSA_Desktop_Fresh_R8_Release_Notes DAZ: LTS kernel 4.1.25 is used by default. Kernel 4.4.x (x86_64, i586) and 4.6.x (x86_64, i586) are available in additional repositories. MAX: On boot the current kernel is marked as valid. Tho you will be needing kernel-headers for the manually installed one and threpos wont help you there. MAX: Or you add the repo where the 4.8 kernel came from but that could cause all kind of mayhem as it is prolly still in "cooker" DAZ: Well the person who gave me instructions to do the new Kernel was the guy who made the Kernel for ROSA DAZ: sudo urpmi.addmedia kernel_4.8 http://abf-downloads.rosalinux.ru/kernels_stable_personal/repository/ rosa2014.1/x86_64/kernel_4_8/release/ DAZ: THEN: RUN: sudo urpmi kernel-nrj-desktop-4.8-latest kernel-nrj-desktop-4.8-devel-latest cpupower MAX: Ah yes but where is it going to get the headers and/or source from?v MAX:There's even 4.9 on offer there. MAX:What I don't understand is why you use 2014.1 release and not a 2016 one. MAX: So you might as well install OpenMandriva too for the hardware backing. MAX: Anywhow there is a newer version of Rosa available than the one you are using now DAZ: NO WAY ! MAX: Oh but there is: http://abf-downloads.rosalinux.ru/kernels_stable_personal/repository/ There's a 2 year cycle there from what I see MAX: There's a 2 year cycle there from what I see DAZ: Me confused. They released version 8 . Version 7 can urpmi upgrade to 8. Why is urpmi update not upgrading to 2016 and I to my surpirse and stuck back in the past 2014 DAZ:When I run all updates now there is nothing to update. Moreover I just run and update and I was given the option of installing Kernel 4.1 despite me having 4.8 why cant it identify I have Kernel 4.8 and disable 4.1,4.3 come on MAX:Prolly because 2016.1 is testing/cooker. The last entries there were today. http://abf-downloads.rosalinux.ru/rosa2016.1/repository/x86_64/ MAX: Just go up (click the "../")to http://abf-downloads.rosalinux.ru/ and let your jaw drop at the options. MAX: It's not an ISO just the repositories. MAX: Adding those in place of your existing ones will/should upgrade to testing when invoked. there's "main", "contrib", "non-free" and "rstrcted" there. DAZ: Adding those 10,000 would take me about as long as it would be when ROSA uses Kernel version 4 Billion MAX:there prolly is no ISO for 9 yet. No not really. Use urpmi.addmedia to replace the repositories you allready have like "main" and "contrib", etc. MAX: I suspect there's a urpmi.delmedia or such too. It will take a long time to upgrade, depending on the connection speed you have and prolly break something in the process. MAX: But hey: It was only for testing. MAX: It might just work too. Do you have something like "urpmi.showmedia -a" to show all the repositories you have enabled? MAX:urpmi.showmedia -a DAZ: command not found MAX: try "man urpmi" MAX: I was there when urpmi was developped on Mandriva but that was a long time ago. MAX: There it is: Upgrade to the latest ROSA version using urpmi Urpmi can also be used to upgrade your box to a newer version of ROSA Linux: add the mirror's URL with the directory of the new versions packages to your urpmi configuration: ROSA Linux Control Center --> Software Management --> Select from where software packages are downloaded when updating the system MAX: The URL's are in http://abf-downloads.rosalinux.ru/rosa2016.1/repository/x86_64/ MAX: Adding media for a distribution urpmi can add important media (e.g. main, updates, contrib ...) from a chosen mirror with a single command. As root type in a console: and so on and so on. It's in the wiki, like you said. Thanks Eugene. Can you break that down for me in a simple way. (In reply to comment #2) > Hi Eugene, > > Could you please review the following and provide some feedback. There is usually a lot of confusion regarding the kernel headers and the files needed to build the kernel modules. First of all: to build custom kernel modules (including VirtualBox modules mentioned in the discussion) in ROSA one DOES NOT need kernel-headers package. kernel-nrj-desktop-devel-* matching the kernel is what is needed and it is installed by default when you install or update the kernel. See the output of 'rpm -qa | grep kernel.*devel' to check which such packages are installed. For each kernel you have installed from our repositories, the appropriate -devel package should already be installed. As for kernel-headers package, it is mostly needed to rebuild glibc and some other userspace components. It is NOT needed to build custom drivers or such. Anyway, kernel-headers package is also installed by default and you can safely update it with "urpmi kernel-headers". Nothing should break as a result. ------------------------- Now to the Sophos. Please check if there is a way for it to be more verbose about what is missing and what it needs. Some command-line option of its install.sh or may be something else. It would be helpful to know what exactly is checks and what exactly it expects to find. Its error message gives too little information right now. Atm, I have no time to dig into this, so if you or someone else could help, the problem would be solved easier. |