Bug 526708 - RHEL5: FCoE requires CONFIG_HOTPLUG_CPU
Summary: RHEL5: FCoE requires CONFIG_HOTPLUG_CPU
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Prarit Bhargava
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
: 493239 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-01 13:41 UTC by Steve Snyder
Modified: 2010-09-29 12:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-16 12:43:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Make hotplug-cpu references dependent upon CONFIG_HOTPLUG_CPU (760 bytes, patch)
2009-10-01 13:41 UTC, Steve Snyder
no flags Details | Diff

Description Steve Snyder 2009-10-01 13:41:25 UTC
Created attachment 363330 [details]
Make hotplug-cpu references dependent upon CONFIG_HOTPLUG_CPU

Description of problem:

File ~/drivers/scsi/fcoe/fcoe.c requires kernel option CONFIG_HOTPLUG_CPU to be enabled to compile successfully.

Version-Release number of selected component (if applicable):

kernel-2.6.18-164.el5.i686

How reproducible:

Always.

Steps to Reproduce:
1. Unpack & prep kernel-2.6.18-164.el5.src.rpm
2. Disable kernel option SMP
3. Attempt to build kernel
  
Actual results:

Compilation of source file fcoe.c fails due to undefined register_hotcpu_notifier() and unregister_hotcpu_notifier() symbols.

Expected results:

Source files should not unconditionally rely on unrelated kernel features.

Additional info:

Standard disclaimer: I am fully aware that Red Hat does not support user-modified kernels.  That said, I think you will want to know about this hidden dependency.

Comment 3 Prarit Bhargava 2010-09-16 12:43:30 UTC
>1. Unpack & prep kernel-2.6.18-164.el5.src.rpm
>2. Disable kernel option SMP

I suspect doing this disables cpu hotplug ...

>3. Attempt to build kernel

P.

Comment 4 Prarit Bhargava 2010-09-29 12:56:59 UTC
*** Bug 493239 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.