Subject: LKM Support for ARM?
To: 'tech-kern@netbsd.org' <tech-kern@NetBSD.org>
From: McGranaghan, Sean <SMcGranaghan@vanteon.com>
List: port-arm
Date: 02/25/2004 15:11:14
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3FBDB.84D3F9C0
Content-Type: text/plain;
	charset="iso-8859-1"

Hello all,
 
I sent an email out a couple weeks ago asking about LKM support on arm
platforms. Just checking in to see if there has been any progress with the
'ld segfault' issue. I will try to debug it further myself when time allows.
Here is the original question:

I have been trying to build a simple LKM under evbarm. When I use modload to
load a skeleton driver ld segfaults: 
 
"ld -R /dev/ksyms -e fibo_lkmentry -o /tmp/fibo -Ttext 0x0 /tmp/fibo.o
 [1] Segmentation fault (core dumped) ld -R /dev/ksyms...
 modload: can't prelink 'fibo.o' creating 'fibo'
 
After searching the archives I found several emails and a bug report that
mentions issues with LKM's for evbarm. Issue # port-arm:22015 specifically.
What is the current status of LKM's and evbarm? Is this a bug in ld?

Thanks,
Sean
 
 

------_=_NextPart_001_01C3FBDB.84D3F9C0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=736345219-25022004><FONT face=Arial size=2>Hello 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=736345219-25022004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=736345219-25022004><FONT face=Arial size=2>I sent an email out 
a couple weeks ago asking about LKM support on arm platforms. Just checking in 
to see if there has been any progress&nbsp;with the 'ld segfault' issue. I will 
try to debug it further myself when time allows. Here is the original 
question:</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><SPAN class=736345219-25022004></SPAN><SPAN 
  class=736345219-25022004><SPAN class=805355022-15022004><FONT face=Arial 
  size=2>I have been trying to build a simple LKM under evbarm. When I use 
  modload to load a skeleton driver ld segfaults: </FONT></SPAN></DIV>
  <DIV><SPAN class=805355022-15022004><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=805355022-15022004><FONT face=Arial size=2>"ld -R /dev/ksyms 
  -e fibo_lkmentry -o /tmp/fibo -Ttext 0x0 /tmp/fibo.o</FONT></SPAN></DIV>
  <DIV><SPAN class=805355022-15022004><FONT face=Arial size=2>&nbsp;[1] 
  Segmentation fault (core dumped) ld -R /dev/ksyms...</FONT></SPAN></DIV>
  <DIV><SPAN class=805355022-15022004><FONT face=Arial size=2>&nbsp;modload: 
  can't prelink 'fibo.o' creating 'fibo'</FONT></SPAN></DIV>
  <DIV><SPAN class=805355022-15022004><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=805355022-15022004><FONT face=Arial size=2>After searching 
  the archives I found several emails and a bug report that mention<SPAN 
  class=736345219-25022004>s</SPAN> issues with LKM's for evbarm. Issue # 
  port-arm:22015 specifically. What is the current status of LKM's and evbarm? 
  Is this a bug in ld?</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=805355022-15022004><SPAN class=736345219-25022004><FONT 
face=Arial size=2>Thanks,</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr><SPAN class=805355022-15022004><SPAN class=736345219-25022004><FONT 
face=Arial size=2>Sean</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr><SPAN class=805355022-15022004><SPAN class=736345219-25022004><FONT 
face=Arial size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"></SPAN>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C3FBDB.84D3F9C0--