lkml.org 
[lkml]   [2006]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [LINUX-KERNEL] Problem loading any custom driver
Date
From
Here is a makefile
-------------------------------------------------
#
# Makefile for the Los Angeles PCI Adapter
# This file supports Red Hat Linux kernel 2.6(included) and above
#
HPATH := /usr/src/kernels/2.6.9-34.EL-i686/include
CFLAGS = -I$(HPATH) -Wall -O2 -fomit-frame-pointer -c
CFLAGS := $(CFLAGS) -DHOST_LITTLE_ENDIAN -DHOST_SIZE_32
obj-m += atf_host.o
-------------------------------------------------
Our group does not have ability to put files for outside access.
Can you specify what parts of the code you need me to attach?
Im not familiar with rules, is it allowed to attach source files?

Regards,
Vlad


-----Original Message-----
From: Arjan van de Ven [mailto:arjan@infradead.org]
Sent: Sunday, May 21, 2006 8:51 PM
To: Libershteyn, Vladimir
Cc: linux-kernel@vger.kernel.org
Subject: Re: [LINUX-KERNEL] Problem loading any custom driver

On Sun, 2006-05-21 at 20:42 -0700, Libershteyn, Vladimir wrote:
> Greetings,
>
> I need a help on understanding and possible resolution on a problem I have while trying to load driver(s) to a server running Linux_IA32_RH_EL4_Update3 either AS or WS
> I have a few (actually four) device drivers for different type of devices.
> These drivers compile and run fine on any 2.4.x kernels for both desktops/workstations and servers.
> The same drivers run fine on desktops/workstations and on slected servers, like IA64 Itanium servers, AMD64 servers, however I can't make it run on IA32 servers.
> I've noticed one common among all IA32 servers drivers won't run. All of them have dual processors motherboard with only one processor installed.
> The actual problem is: the first kernel function call from the driver (I'm running "insmod drivername" that calls driver_init function) cause kernel to panic.
> I believe the problem is either with kernel configuration/setup or with development environment configuration/setup.
> Any help/ideas are greatly appretiated. Below are part of a source code and related part of /var/log/messages. Please let me know if more information needed
>
> Regards,

you forgot to put a URL to your source code.......
however it strongly points towards a broken Makefile on your side.... if
we'd have that URL I could say for sure ..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-22 06:08    [from the cache]
©2003-2011 Jasper Spaans