Broken include/asm symlinks

Bug #901079 reported by Seth Arnold
This bug report is a duplicate of:  Bug #974403: linux-headers has erroneous asm link. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

When trying to assist a user compiling modules on Stack Overflow: http://stackoverflow.com/questions/8409165/linux-device-driver-ed-3-code-compilation-errors-and-linux-header-files I found that the /usr/src/linux-headers-*-generic/include/asm symbolic links have been broken for a while:

The ls(1) coloring shows the following symlinks are _good_:

# ls -ld */include/asm
lrwxrwxrwx 1 root root 7 2010-01-14 22:48 linux-headers-2.6.31-17-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-02-10 16:08 linux-headers-2.6.31-19-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-03-04 02:29 linux-headers-2.6.31-20-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-04-29 14:25 linux-headers-2.6.31-21-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-04-29 18:10 linux-headers-2.6.32-21-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-05-05 02:15 linux-headers-2.6.32-22-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-07-02 21:00 linux-headers-2.6.32-23-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-08-02 04:51 linux-headers-2.6.32-24-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-09-28 23:05 linux-headers-2.6.32-25-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-11-26 22:30 linux-headers-2.6.32-26-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2010-12-28 17:43 linux-headers-2.6.32-27-generic/include/asm -> asm-x86

The ls(1) coloring shows the following symlinks are _broken_:

lrwxrwxrwx 1 root root 7 2011-08-08 18:35 linux-headers-2.6.38-10-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2011-09-26 15:59 linux-headers-2.6.38-11-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2011-10-25 15:13 linux-headers-2.6.38-12-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2011-12-03 22:49 linux-headers-2.6.38-13-generic/include/asm -> asm-x86
lrwxrwxrwx 1 root root 7 2011-03-30 23:49 linux-headers-2.6.38-7-generic/include/asm -> asm-x86

Thanks

Tags: karmic
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 901079

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: karmic
Revision history for this message
Seth Arnold (seth-arnold) wrote :

There's no need to collect logs as this is not a runtime problem -- it is baked into the packaging and can be inspected without actually booting or running. Static inspection is sufficient.

Thanks

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It looks like files in /usr/src/linux-headers-*-generic/include/asm were moved in this commit:

bb8985586b7a906e116db835c64773b7a7d51663

I also noticed the symlink for the 3.0 kernel is invalid:

lrwxrwxrwx 1 root root 7 2011-10-07 16:16 linux-headers-3.0.0-12-generic/include/asm -> asm-x86

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This looks like a duplicate of bug 974403, so I am marking it as such. Bug 974403 was resolved with the following:

https://lists.ubuntu.com/archives/kernel-team/2012-April/019829.html

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.