CONFIG_CAN disabled in kernel

Bug #327243 reported by yope
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Tim Gardner
Karmic
Fix Released
Medium
Tim Gardner

Bug Description

Binary package hint: linux-image

lsb_release -rd:
Description: Ubuntu 8.10
Release: 8.10
package: linux-image-2.6.27-9-generic

CONFIG_CAN is not defined in the kernel configuration, making it hard to user the Socket-CAN protocol introduced in kernel 2.6.25.
It should be trivial to enable the following options:

CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_VCAN=y

That way one could actually use CAN interfaces (like Peak CAN) on ubuntu linux with the new socket-CAN API. One of the main reasons I upgraded in the first place ;-)

Tags: kconfig
Revision history for this message
Andy Whitcroft (apw) wrote :

This is not a bug in the linux-meta package, moving to the linux package.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Still looks disabled for karmic. Setting this to Triaged.

ogasawara@emiko:~/ubuntu-karmic/debian/config$ grep -rn "CONFIG_CAN" *
config.common.ports:371:# CONFIG_CAN is not set
config.common.ubuntu:389:# CONFIG_CAN is not set

Changed in linux (Ubuntu):
importance: Wishlist → Medium
status: New → Triaged
tags: added: kernel-config
tags: added: kconfig
removed: kernel-config
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux (Ubuntu Karmic):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → In Progress
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
linux (2.6.31-4.22) karmic; urgency=low

  [ Amit Kucheria ]

  * ARM: IMX51: Add SoC and board support for Freescale mx51 platform
  * ARM: IMX51: Move board-mx51* header files to the correct location
  * ARM: IMX51: Clean-up the craziness of including mxc_uart.h _everywhere_
  * ARM: IMX51: Make it compile.
  * ARM: IMX51: Unconditionally disable CONFIG_GPIOLIB
  * ARM: IMX51: Make ARCH_MXC auto-enable ARCH_MXC_CANONICAL
  * ARM: IMX51: Enable ZONE_DMA for ARCH_MXC
  * ARM: IMX51: Compile-in the IMX51 cpufreq driver by default
  * ARM: IMX51: Fix isl29003 HWMON driver for i2c changes
  * ARM: USB: musb: Refer to musb_otg_timer_func under correct #ifdef
  * ARM: staging: udlfb: Add vmalloc.h include
  * UBUNTU [Config]: Bring imx51 config upto date with other flavours

  [ Brad Figg ]

  * ARM: IMX51: Hack to add defines for DMA_MODE_READ/WRITE/MASK
  * ARM: IMX51: codec structure was moved to the card structure
  * ARM: IMX51: snd_soc_machine structure replaced with snd_soc_card.
  * ARM: IMX51: Get to bus_id by calling dev_name.
  * ARM: IMX51: Get to bus_id by calling dev_name.
  * ARM: IMX51: Added external declaration for mxc_map_io.
  * ARM: IMX51: Removed the mxc_gpio_port structure.
  * ARM: IMX51: mxc_timer_init prototype
  * ARM: IMX51: Fix up merge error in Kconfig
  * ARM: IMX51: Changed from snd_card_new to snd_card_create

  [ Dinh Nguyen ]

  * ARM: IMX51: Fix plat-mxc/timer.c to handle imx51
  * ARM: IMX51: Minimal changes for USB to work on 2.6.31
  * ARM: IMX51: Babbage 2.5 needs a different system revision
  * ARM: IMX51: IPU irq handler deadlock fix

  [ Tim Gardner ]

  * [Config] Enabled CONFIG_CAN=m
    - LP: #327243
  * [Config] Enabled CONFIG_SERIAL=m
    - LP: #397189

 -- Tim Gardner <email address hidden> Fri, 24 Jul 2009 06:19:10 -0600

Changed in linux (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Mike (mike-fdb) wrote :

Does CAN need in Ubuntu?!

Revision history for this message
yope (djander) wrote :

Yes of course! There are numerous CAN network interfaces available for PC's, let alone embedded systems (where Ubuntu is also quite popular). Besides, it doesn't cost much to enable those modules in the kernel.
At our company we use ubuntu on several workstations, and we have CAN adapters on most of them. It is a hassle to have to compile my own kernel for each new release just because that one thing isn't enabled in the stock kernel.
Even more so, to have to explain to our customers the procedure to get this custom kernel installed on their ubuntu-systems in order to run our software!

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.