aufs module build fails with CONFIG_AUFS_DEBUG in linux-source-2.6.31

Bug #517151 reported by Newbie
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Andy Whitcroft
Karmic
Fix Released
Wishlist
Stefan Bader

Bug Description

SRU Justification:

Impact: Build system change only

Fix: Adding another header file.

---

Hi all,

   I'm to trying the linux-source-2.6.31 and facing problems doing this
I copied and pasted the console message what I get here:
CC ubuntu/apparmor/lsm.o
  CC ubuntu/apparmor/resource.o
  CC ubuntu/apparmor/sid.o
  CC ubuntu/apparmor/file.o
  CC ubuntu/apparmor/net.o
  LD ubuntu/apparmor/apparmor.o
  LD ubuntu/apparmor/built-in.o
  CC ubuntu/aufs/module.o
  CC ubuntu/aufs/sbinfo.o
In file included from ubuntu/aufs/aufs.h:28,
                 from ubuntu/aufs/sbinfo.c:23:
ubuntu/aufs/debug.h: In function âau_debugâ:
ubuntu/aufs/debug.h:46: error: implicit declaration of function âsmp_mbâ
ubuntu/aufs/debug.h: At top level:
ubuntu/aufs/debug.h:146: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âau_debug_initâ
ubuntu/aufs/debug.h:238: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âau_sysrq_initâ
make[3]: *** [ubuntu/aufs/sbinfo.o] Error 1
make[2]: *** [ubuntu/aufs] Error 2
make[1]: *** [ubuntu] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.31'
make: *** [debian/stamp/build/kernel] Error 2
the problem is in aufs module ....Please help with me with this asap

Thanks in advance

Revision history for this message
Julian Andres Klode (juliank) wrote :

Reassigning to the linux package, as it's their aufs code copy.

affects: aufs (Ubuntu) → linux (Ubuntu)
summary: - not abe to make linux-source-2.6.31
+ aufs module build fails in linux-source-2.6.31
summary: - aufs module build fails in linux-source-2.6.31
+ aufs module build fails with CONFIG_AUFS_DEBUG in linux-source-2.6.31
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
assignee: nobody → Mirsal Ennaime (mirsal-ennaime)
status: Confirmed → In Progress
Revision history for this message
Mirsal Ennaime (mirsal-ennaime) wrote :
Revision history for this message
Mirsal Ennaime (mirsal-ennaime) wrote :

This bug is not present in the upstream AUFS tree, nor in Lucid (see d3a3a7e195364ffe370478f3b05f1b7cb83c6ad3)

tags: added: patch
Revision history for this message
Mirsal Ennaime (mirsal-ennaime) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.
If you didn't mean to build aufs with debugging support, you should remove CONFIG_AUFS_DEBUG from your kernel configuration.

Location:
     -> Ubuntu Supplied Third-Party Device Drivers
       -> Aufs (Advanced multi layered unification filesystem) support (AUFS_FS [=m])
         -> Debug aufs

Otherwise, you can apply the modifications shown in the attached patch.

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: Fix Committed → Invalid
assignee: Mirsal Ennaime (mirsal-ennaime) → Andy Whitcroft (apw)
Changed in linux (Ubuntu Karmic):
status: New → Fix Committed
assignee: nobody → Stefan Bader (stefan-bader-canonical)
Stefan Bader (smb)
Changed in linux (Ubuntu Karmic):
importance: Undecided → Wishlist
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux into karmic-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
Launchpad Janitor (janitor) wrote :
Download full text (5.1 KiB)

This bug was fixed in the package linux - 2.6.31-21.59

---------------
linux (2.6.31-21.59) karmic-proposed; urgency=low

  [ Andy Whitcroft ]

  * [Config] generic-pae switch to M586TSC
    - LP: #519448

  [ Chris Wilson ]

  * (pre-stable) drm/i915: Increase fb alignment to 64k
    - LP: #404064

  [ Colin Ian King ]

  * Input: i8042 - bypass AUX IRQ delivery test on laptops
    - LP: #534448

  [ Jerone Young ]

  * SAUCE: Fix volume hotkeys for Dell Studio 1557
    - LP: #465250

  [ Mirsal Ennaime ]

  * SAUCE: aufs: Fix header files inclusion in debug.h
    - LP: #517151

  [ Stefan Bader ]

  * [Config] Enable all CGROUP configuration options
    - LP: #480739

  [ Surbhi Palande ]

  * Revert "[Upstream] acerhdf: Limit modalias matching to supported
    boards"
    - LP: #509730
  * [Config] ext3 defaults to ordered mode
    - LP: #510067

  [ Tim Gardner ]

  * [Config] Fix sub-flavours package conflicts
    - LP: #454827

  [ Upstream Kernel Changes ]

  * PCI/cardbus: Add a fixup hook and fix powerpc
    - LP: #455723
  * fnctl: f_modown should call write_lock_irqsave/restore
    - LP: #519436
  * ACPI: enable C2 and Turbo-mode on Nehalem notebooks on A/C
    - LP: #516325
  * tg3: Add 57788, remove 57720
    - LP: #515390
  * HID: ignore all recent SoundGraph iMON devices
    - LP: #488443
  * Input: ALPS - add interleaved protocol support (Dell E6x00 series)
    - LP: #296610
  * acerhdf: limit modalias matching to supported
    - LP: #509730
  * ASoC: Do not write to invalid registers on the wm9712.
    - LP: #509730
  * cifs: NULL out tcon, pSesInfo, and srvTcp pointers when chasing DFS
    referrals
    - LP: #509730
  * clockevents: Prevent clockevent_devices list corruption on cpu hotplug
    - LP: #509730
  * dma: at_hdmac: correct incompatible type for argument 1 of
    'spin_lock_bh'
    - LP: #509730
  * drivers/net/usb: Correct code taking the size of a pointer
    - LP: #509730
  * Libertas: fix buffer overflow in lbs_get_essid()
    - LP: #509730
  * md: Fix unfortunate interaction with evms
    - LP: #509730
  * pata_cmd64x: fix overclocking of UDMA0-2 modes
    - LP: #509730
  * pata_hpt3x2n: fix clock turnaround
    - LP: #509730
  * SCSI: fc class: fix fc_transport_init error handling
    - LP: #509730
  * sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer
    - LP: #509730
  * USB: emi62: fix crash when trying to load EMI 6|2 firmware
    - LP: #509730
  * USB: Fix a bug on appledisplay.c regarding signedness
    - LP: #509730
  * USB: musb: gadget_ep0: avoid SetupEnd interrupt
    - LP: #509730
  * USB: option: support hi speed for modem Haier CE100
    - LP: #490068, #509730
  * x86, cpuid: Add "volatile" to asm in native_cpuid()
    - LP: #509730
  * e100: Use pci pool to work around GFP_ATOMIC order 5 memory allocation
    failure
    - LP: #509730
  * e100: Fix broken cbs accounting due to missing memset.
    - LP: #509730
  * hostap: Revert a toxic part of the conversion to net_device_ops
    - LP: #509730
  * hwmon: (fschmd) Fix check on unsigned in watchdog_write()
    - LP: #509730
  * hwmon: (sht15) Off-by-one error in array index + incorrect constants
    - LP: #509730
  * i2c/tsl2550: Fix...

Read more...

Changed in linux (Ubuntu Karmic):
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.