All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Ray <stephen@mrmighty.net>
To: mhb <badrpayam@yahoo.com>
Cc: linux-newbie@vger.kernel.org,
	linux-assembly <linux-assembly@vger.kernel.org>
Subject: Re: I cannot build a new kernel image when I add a assembly module to It
Date: Mon, 08 Aug 2005 16:17:42 -0300	[thread overview]
Message-ID: <42F7AFD6.9080505@mrmighty.net> (raw)
In-Reply-To: <20050808132100.19904.qmail@web60523.mail.yahoo.com>

mhb wrote:
> Hi
> 
> I had added an assembly program to the networking
> section of kernel linux 2.2.16 without any problem.
> But when I add it to kerenel 2.4.1 I could build that
> kernel, but I faced with kernel panic error when I
> boot
> system with new builded image. 
...
> As you can see test3.s is an assembly file.
> I guess this problem is related to this Makefile.
> Is this Make file true?
> How can I win over this problem?
> 
> thanks
> 

Sorry, I'm not much of a linux assembly guru, but I am wondering why you 
assume the Makefile is the problem.  It could be, I'm not a makefile 
guru either.  But, as far as I know, make works the same no matter what 
kernel it's running on.  My first suspicion would be that calling 
conventions were changed between kernel versions, or that you use a 
kernel function that changed functionality.  Also, the version of gcc 
may be important.  I think something in the 2.9xx series is recommended 
for compiling the kernel.

Stephen

      reply	other threads:[~2005-08-08 19:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 13:21 I cannot build a new kernel image when I add a assembly module to It mhb
2005-08-08 19:17 ` Stephen Ray [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42F7AFD6.9080505@mrmighty.net \
    --to=stephen@mrmighty.net \
    --cc=badrpayam@yahoo.com \
    --cc=linux-assembly@vger.kernel.org \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.