Bug 28881
Summary: | Updates to 2.2.17-14 provided, but no headers | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Daniel Senie <dts> | ||||
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | CC: | carenas, cra, herrold | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-05-03 22:07:51 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Daniel Senie
2001-02-22 17:01:33 UTC
I found the following in boot after updating the kernel to 2.2.17-14: # rpm -qf /boot/kernel.h-2.2.17 kernel-source-2.2.17-14 # rpm -qf /boot/kernel.h-2.2.16 kernel-headers-2.2.16-3 # rpm -e kernel-headers-2.2.16-3 error: removing these packages would break dependencies: kernel-headers is needed by glibc-devel-2.1.3-22 kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.3-22 kernel-headers is needed by glibc-devel-2.1.3-22 kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.3-22 Looks like a dependency problem created when the file shifted from one package to another. causing I raised the severity of this. With this mismatch, it's impossible to compile new device drivers (modules) and install them into the running kernel. In the instance I faced today (and didn't solve) I was trying to add the Intel e100 driver into a machine running the 2.2.17-14 kernel. Since the headers mismatched the kernel, the resulting e100.o that got built couldn't be loaded by insmod because of missing symbols. THIS IS SERIOUS, FOLKS. I'm about to back out to 2.2.16-3 for all my clients, regardless of security risks, since the risk of non-functional machines is worse. the kernel-headers package could be missing and the corresponding RPM dependencie broken but there is notting more than a dependency problem all the files that should be on a kernel-header package are inside the kernel-source package and the links that are needed could be just be added. in order to install a package where there is a broken dependency use the --nodeps option for rpm. to use the installed kernel headers just do the following : rpm -ev --nodeps kernel-headers rpm -ivh kernel-source-2.2.17-14.i386.rpm cd /usr/src ln -snf linux-2.2.17 linux cd /usr/include ln -snf ../src/linux/include/linux linux ln -snf ../src/linux/include/asm asm cd /boot ln -snf kernel.h-2.2.17 kernel.h just be sure that you have the correct link on /usr/src/linux -> linux-2.2.17 for sure, adding the missing functionality of -headers to -source and adding "Provides: kernel-headers" would be better. This is of course a description of part of the kernel-headers post-process -- I think the point is to fix the need for this -- a well formed upgrade from RedHat of an official Red Hat release should NOT require --force or --nodeps to a admin who can list all the relevant RPMs to update in a command line -- that is: rpm kernel-2.2.*-rpm should be sufficient. Created attachment 14066 [details]
a simple patch to provide kernel-headers from kernel-source
the attached patch should fix the problem, at least on theory (sorry no 6.2 system to test now). for sure QA should be needed to verify that there is no missing funcionality. if a kernel-headers package is preferred (no bloat with all the kernel sources as only the headers are needed) the old packaging behaviour could be put in place (again only in theory) just by changing : %define headersinsource 0 for sure (as i explained before), not using a broken dependency package should be better than a --force install, but what i meant with that is that it wasn't a real problem of missing functionality but just a packaging problem. I'm still waiting for someone from RedHat to change this bug from NEW to ASSIGNED, and put out a new patch. I take it they're so focused on 7.0 and later, that they have stopped testing the patches they put out on earlier releases? The face that this bug has been sitting as NEW for over a month shows the level of commitment to existing releases which are in production use (i.e. nil). Sure makes me wonder why I spend so much time providing beta test input to RedHat. *** Bug 29150 has been marked as a duplicate of this bug. *** The packaging change needed between 6.2 and 7.0 is nasty but there will be a corrected kernel out shortly The 2.2.19 kernel packages include headers for RedHat 6.2, thanks. Now if we could get a 6.2 and 7.0 boot.img that use the 2.2.19 kernel, I'll be a VERY happy camper (2.2.19 includes a much updated DAC960 driver which actually works with products now on the market. The DAC960 driver in 2.2.16/17 doesn't support any current products). |