missing kernel headers

Bug #322732 reported by efa
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Ike Panhc
Intrepid
Fix Released
Low
Ike Panhc
Jaunty
Fix Released
Medium
Ike Panhc

Bug Description

SRU justification:

Impact: Intrepid and Jaunty header packages are missing some headers required by external module source to compile.

Fix: Modify the build system to include those headers-

Testcase: verify headers included in the packages.

---

on kernel packaged with Ubuntu 8.10, are missing some header files present in kernel.org vanilla and Debian version.
These headers are needed to compile various kernel media modules.
The file are at least:
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/demux.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/dmxdev.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/dvbdev.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/dvb_demux.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/dvb_frontend.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/dvb_net.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/dvb-core/dvb_ringbuffer.h
/usr/src/linux-headers-`uname -r`/drivers/media/dvb/frontends/lgdt330x.h
/usr/src/linux-headers-`uname -r`/drivers/media/video/msp3400-driver.h
this is so for:
2.6.27.7
2.6.27.9
2.6.27.11

Those files was present on kernel header package with Ubuntu 8.04

Changed in linux:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Ike Panhc (ikepanhc) wrote :

I will have this issue

Changed in linux:
assignee: nobody → ikepanhc
status: Triaged → In Progress
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux (Ubuntu Jaunty):
status: In Progress → Fix Committed
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux (Ubuntu Intrepid):
assignee: nobody → ikepanhc
importance: Undecided → Low
milestone: none → intrepid-updates
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.5 KiB)

This bug was fixed in the package linux - 2.6.28-11.38

---------------
linux (2.6.28-11.38) jaunty; urgency=low

  [ Brad Figg ]

  * When AppArmor is configured, securityfs must be as well.
    - LP: #344370
  * ARM: Enable AA with SECURITYFS for imx51
    - LP: #344370

  [ Bryan Wu ]

  * Add 3 missing files to prerm remove file list
    - LP: #345623

  [ Daniel T Chen ]

  * SAUCE: (drop after 2.6.28) Don't trust hw-ptr blindly
    - LP: #330814
  * SAUCE: (drop after 2.6.28) Apply further pcm_lib updates for hw_ptr
    - LP: #330814

  [ Ike Panhc ]

  * Copy header files for various kernel media driver
    - LP: #322732

  [ Tim Gardner ]

  * Revert "Fix the VFP handling on the Feroceon CPU"
    Only applied to mv78xx0 ARM flavour.
  * Enabled drivers/staging/at76_usb
    - LP: #152626

  [ <email address hidden> ]

  * SAUCE: ipw2200: Enable LED by default
    - LP: #21367
  * SAUCE: wistron_btns: support Prestigio Wifi RF kill button over suspend
    - LP: #346586

  [ Upstream Kernel Changes ]

  * Build fix for __early_pfn_to_nid() undefined link error
  * Fix misreporting of #cores as #hyperthreads for Q9550
  * eventfd: remove fput() call from possible IRQ context
  * S390: __div64_31 broken for CONFIG_MARCH_G5
  * ALSA: Fix vunmap and free order in snd_free_sgbuf_pages()
  * ALSA: mixart, fix lock imbalance
  * ALSA: pcm_oss, fix locking typo
  * ALSA: hda - Fix DMA mask for ATI controllers
  * ALSA: hda - Workaround for buggy DMA position on ATI controllers
  * ALSA: opl3sa2 - Fix NULL dereference when suspending snd_opl3sa2
  * nfsd: nfsd should drop CAP_MKNOD for non-root
  * NFSD: provide encode routine for OP_OPENATTR
  * dm ioctl: validate name length when renaming
  * dm io: respect BIO_MAX_PAGES limit
  * dm crypt: fix kcryptd_async_done parameter
  * dm crypt: wait for endio to complete before destruction
  * ata_piix: add workaround for Samsung DB-P70
  * V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and
    digital only cards
  * thinkpad-acpi: fix module autoloading for older models
  * Add '-fwrapv' to gcc CFLAGS
  * Move cc-option to below arch-specific setup
  * USB: storage: Unusual USB device Prolific 2507 variation added
  * USB: Add Vendor/Product ID for new CDMA U727 to option driver
  * USB: option.c: add ZTE 622 modem device
  * USB: Add device id for Option GTM380 to option driver
  * USB: Option: let cdc-acm handle Sony Ericsson F3507g / Dell 5530
  * USB: Updated unusual-devs entry for USB mass storage on Nokia 6233
  * USB: unusual_devs: Add support for GI 0431 SD-Card interface
  * USB: serial: add FTDI USB/Serial converter devices
  * USB: serial: ftdi: enable UART detection on gnICE JTAG adaptors
    blacklist interface0
  * USB: serial: new cp2101 device id
  * USB: usbtmc: fix stupid bug in open()
  * USB: usbtmc: add protocol 1 support
  * USB: usbfs: keep async URBs until the device file is closed
  * USB: EHCI: expedite unlinks when the root hub is suspended
  * USB: EHCI: Fix isochronous URB leak
  * powerpc: Remove extra semicolon in fsl_soc.c
  * menu: fix embedded menu snafu
  * Linux 2.6.28.9
  * Add '-fwrapv' to gcc CFLAGS
    - LP: #348015
  * Move cc-option to below arch-s...

Read more...

Changed in linux:
status: Fix Committed → Fix Released
Stefan Bader (smb)
description: updated
Revision history for this message
Alvin (purplealvin-deactivatedaccount) wrote :

I have just noticed that more header files are missing than those outlined originally. It seems all headers falling under /usr/src/linux-headers-`uname -r`/drivers/media/dvb/ are missing (except now those in dvb-core & frontend since Jaunty Fix Release above).

This is the case for both Intrepid & Jaunty (except for those now present due to Jaunty fix release above). The list I have of missing headers is as follows:
b2c2, bt8xx, dm1105, dvb-usb, pluto2, siano, ttpci, ttusb-budget, ttusb-dec.
Note: For Intrepid there is no dm1105 as I think it didn't make it into kernel 2.6.27.

Revision history for this message
efa (efa) wrote :

the same apply to 2.6.27-14-generic
The same work around (copy from vanilla) work for my drivers

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted linux into intrepid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Steve Beattie (sbeattie) wrote :

I can confirm that linux-headers package in intrepid-proposed (2.6.27-14.34, currently superceded by the security update 2.6.27-14.35), contains the additional missing headers listed above (dvb-core and frontend) as well as a bunch of additional headers in drivers/video/media. Marking as verification-done, though I also can confirm Alvin and efa's report that additional headers are missing under drivers/media/dvb (which was not an introduced regression by this fix).

tags: added: verification-done
removed: verification-needed
Revision history for this message
efa (efa) wrote :

In the meantime I updated Ubuntu to 9.04 kernel 2.6.28-13-generic
All 9 header files are present on standard kernel headers here.
Compilation of linuxtv.org mercurial repositories work as expected without file copy.
thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.27-14.41

---------------
linux (2.6.27-14.41) intrepid-proposed; urgency=low

  [ Stefan Bader ]

  * Revert "SAUCE: input: Blacklist digitizers from joydev.c"
    - LP: #300143

linux (2.6.27-14.40) intrepid-proposed; urgency=low

  [ Amit Kucheria ]

  * Disable DEVKMEM for all archs on Intrepid
    - LP: #354221
  * SAUCE: Quirk for BT USB device on MacbookPro to be reset before use
    - LP: #332443

  [ Andy Isaacson ]

  * LIRC_PVR150: depends on VIDEO_IVTV
    - LP: #341477
  * SAUCE: FSAM7400: select CHECK_SIGNATURE
    - LP: #341712

  [ Andy Whitcroft ]

  * SAUCE: hotkey quirks for various Zepto Znote and Fujitsu Amilo laptops
    - LP: #330259
  * SAUCE: unusual devs: add an entry for the ScanLogic SL11R-IDE 0.78
    - LP: #336189

  [ Anton Veretenenko ]

  * SAUCE: sony-laptop: add support for Sony Vaio FW series function/media
    keys
    - LP: #307592

  [ Ayaz Abdulla ]

  * SAUCE: forcedeth: msi interrupt fix
    - LP: #288281

  [ Chuck Short ]

  * SAUCE: [USB] Unusual Device support for Gold MP3 Player Energy
    - LP: #125250

  [ Ike Panhc ]

  * squashfs: correct misspelling
    - LP: #322306
  * SAUCE: Fixing symbol name in HECI module
    - LP: #336549
  * Copy header files for various kernel media driver
    - LP: #322732

  [ Stefan Bader ]

  * SAUCE: vgacon: Return the upper half of 512 character fonts
    - LP: #355057
  * SAUCE: input: Blacklist digitizers from joydev.c
    - LP: #300143

  [ Upstream Kernel Changes ]

  * libata: make sure port is thawed when skipping resets
    - LP: #269652
  * x86-64: fix int $0x80 -ENOSYS return
    - LP: #339743
  * rt2x00: Fix race conditions in flag handling
    - LP: #258985
  * USB: cdc-acm: Add another conexant modem to the quirks
    - LP: #323829
  * Bluetooth: Add fine grained mem_flags usage to btusb driver
    - LP: #268502
  * Bluetooth: Handle bulk URBs in btusb driver from notify callback
    - LP: #268502
  * Bluetooth: Submit bulk URBs along with interrupt URBs
    - LP: #268502
  * hwmon: (abituguru3) Match partial DMI board name strings
    - LP: #298798
  * x86: mtrr: don't modify RdDram/WrDram bits of fixed MTRRs
    - LP: #292619
  * sis190: add identifier for Atheros AR8021 PHY
    - LP: #247889
  * ath9k: implement IO serialization
    - LP: #373034
  * ath9k: AR9280 PCI devices must serialize IO as well
    - LP: #373034
  * acer-wmi: fix regression in backlight detection
    - LP: #333386

 -- Stefan Bader <email address hidden> Wed, 26 Aug 2009 11:48:11 +0200

Changed in linux (Ubuntu Intrepid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.