Abhay_Salunke at Dell.com
Tue May 18 14:03:01 CDT 2004
where is it located on your machine?
It usually is in /include/asm asm is a softlink pointing to appropriate
asm-XXXX directory which has the file.
From: Sean McAvoy [mailto:sean.mcavoy at megawheels.com]
Sent: Tuesday, May 18, 2004 1:57 PM
To: Salunke, Abhay
Cc: <linux-poweredge at dell.com>
Subject: Re: Debian OMSA
Thank you for your reply. I located the softirq.h file and it does
unsigned int *ptr = &local_bh_count(smp_processor_id());
__asm__ __volatile__ (
"cmpl $0, -8(%0);"
"2: pushl %%eax; pushl %%ecx; pushl %%edx;"
"popl %%edx; popl %%ecx; popl %%eax;"
: /* no output */
: "r" (ptr), "i" (do_softirq)
/* no registers clobbered */ );
} while (0)
Can you offer any further direction in how I might resolve this?
On 18-May-04, at 2:27 PM, <Abhay_Salunke at Dell.com> wrote:
> local_bh_enable() is a macro defined in the linux kernel and is
> to the CPU arch type for e.g. for I386 it is defined in the
> /include/asm-i386/softirq.h file.
> I think the OMSA DKS build is not able to find that macro and thinks
> is a function call and builds without any errors. This causes a
> during the load time as the symbol for local_bh_enable does not
> Please check if the kernel source has the softirq.h and defines the
> local_bh_enable macro.
> Abhay Salunke
> -----Original Message-----
> From: linux-poweredge-admin at dell.com
> [mailto:linux-poweredge-admin at dell.com]On Behalf Of Sean McAvoy
> Sent: Tuesday, May 18, 2004 10:57 AM
> To: linux-poweredge at dell.com
> Subject: Debian OMSA
> I am attempting to get OMSA running on Debian. I've run into a problem
> that has been encountered on the list before (titled "OMSA :
> symbol local_bh_enable) , but there doesn't seem to be a solution.
> It is mentioned in the thread that using backports.org's kernels
> (2.4.24 and 2.4.25) solved the issue.
> I've used both 2.4.25 from backports.org as well as 2.4.26 from Debian
> (unstable), no luck with either.
> I get the messages below:
> Setting up dellomsa-drivers (4.120-3925) ...
> Building device driver for running kernel: [OK]
> Loading Server Administrator Device Drivers: [FAILED]
> Running kernel is not supported.
> See Dynamic Kernel Support in the Server Administrator readme.txt
> Run rpm using the -e option to clean up the RPM database. Enter:
> rpm -e dellomsa-drivers-4.120-3924
> dellomsa-drivers-4.120-3924.i386.rpm: Upgrade was NOT successful!
> dpkg: error processing dellomsa-drivers (--configure):
> subprocess post-installation script returned error exit status 44
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ouput from `modprobe esm`:
> unresolved symbol local_bh_enable
> Any suggestions as to why it's not working?
> Sean McAvoy
> Network Analyst
> Megawheels Technologies Inc.
> Phone: 416.360-8211 x242
> Fax: 416.360.1403
> Cell: 416.616.6599
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> Please read the FAQ at http://lists.us.dell.com/faq or search the list
> archives at http://lists.us.dell.com/htdig/
Megawheels Technologies Inc.
Phone: 416.360-8211 x242
More information about the Linux-PowerEdge