Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Some  Question about the kernel module on MIPS64
@ 2003-09-11  2:13 广星
  2003-09-11  2:13 ` 广星
  2003-09-11 14:26 ` Ralf Baechle
  0 siblings, 2 replies; 4+ messages in thread
From: 广星 @ 2003-09-11  2:13 UTC (permalink / raw)
  To: linux-mips; +Cc: angela, 谢博士


[-- Attachment #1.1: Type: text/plain, Size: 1602 bytes --]



   Hi, everyone!
   I am a newbie on doing some development on MIPS(of course it is the linux make me can touch it without any  hesitation).There are two questions  as follow hoping your enthusiastic answers.
   1) I want to know if the linux for mips64 support the customer's kernel module .if yes, is there any modutils i can use?And how can i get it.
   2) I have written a simplest simplest kernel module for linux for mips64 (only the init()and cleanup() we can see,and we do nothing.) and with the crossing compiling tool it is ok.One thing confused me is that it can be "insmod" in the linux for mips32, but when we try to "insmod" in the linux for mips64, we get the following error:
[root@(none) root]# insmod try.o
init_module: Invalid module header size.
A new version of the modutils is likely needed.
try.o: init_module: Invalid argument
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Of course we do the above works in the same hardware platform .
Is there any thing I should pay attention to when I compile the Kernel Module or the linux for mips64? Eagering your help!!
Thank you  you in advance!


  
       祝
  开心!
     Far and away the best prize that life offers is the chance to work hard at work worth doing. 广星
guangxing@ict.ac.cn
2003-09-11
           \\\|///
          \\ - - //
           ( @ @ )
--------oOOo-(_)-oOOo---------

       广星祝您愉快健康
               0ooo
-------- oooO--(   )----------
        (   )   ) /
         \ (   (_/
          \_)
 





[-- Attachment #1.2: Type: text/html, Size: 5311 bytes --]

[-- Attachment #2: greenmail01.gif --]
[-- Type: image/gif, Size: 3011 bytes --]

[-- Attachment #3: greenmail02.gif --]
[-- Type: image/gif, Size: 759 bytes --]

[-- Attachment #4: greenmail03.gif --]
[-- Type: image/gif, Size: 1131 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Some  Question about the kernel module on MIPS64
  2003-09-11  2:13 Some Question about the kernel module on MIPS64 广星
@ 2003-09-11  2:13 ` 广星
  2003-09-11 14:26 ` Ralf Baechle
  1 sibling, 0 replies; 4+ messages in thread
From: 广星 @ 2003-09-11  2:13 UTC (permalink / raw)
  To: linux-mips; +Cc: angela, 谢博士


[-- Attachment #1.1: Type: text/plain, Size: 1602 bytes --]



   Hi, everyone!
   I am a newbie on doing some development on MIPS(of course it is the linux make me can touch it without any  hesitation).There are two questions  as follow hoping your enthusiastic answers.
   1) I want to know if the linux for mips64 support the customer's kernel module .if yes, is there any modutils i can use?And how can i get it.
   2) I have written a simplest simplest kernel module for linux for mips64 (only the init()and cleanup() we can see,and we do nothing.) and with the crossing compiling tool it is ok.One thing confused me is that it can be "insmod" in the linux for mips32, but when we try to "insmod" in the linux for mips64, we get the following error:
[root@(none) root]# insmod try.o
init_module: Invalid module header size.
A new version of the modutils is likely needed.
try.o: init_module: Invalid argument
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Of course we do the above works in the same hardware platform .
Is there any thing I should pay attention to when I compile the Kernel Module or the linux for mips64? Eagering your help!!
Thank you  you in advance!


  
       祝
  开心!
     Far and away the best prize that life offers is the chance to work hard at work worth doing. 广星
guangxing@ict.ac.cn
2003-09-11
           \\\|///
          \\ - - //
           ( @ @ )
--------oOOo-(_)-oOOo---------

       广星祝您愉快健康
               0ooo
-------- oooO--(   )----------
        (   )   ) /
         \ (   (_/
          \_)
 





[-- Attachment #1.2: Type: text/html, Size: 5311 bytes --]

[-- Attachment #2: greenmail01.gif --]
[-- Type: image/gif, Size: 3011 bytes --]

[-- Attachment #3: greenmail02.gif --]
[-- Type: image/gif, Size: 759 bytes --]

[-- Attachment #4: greenmail03.gif --]
[-- Type: image/gif, Size: 1131 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some  Question about the kernel module on MIPS64
  2003-09-11  2:13 Some Question about the kernel module on MIPS64 广星
  2003-09-11  2:13 ` 广星
@ 2003-09-11 14:26 ` Ralf Baechle
  2003-09-11 14:36   ` Keith Owens
  1 sibling, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2003-09-11 14:26 UTC (permalink / raw)
  To: ????; +Cc: linux-mips, angela, xie

On Thu, Sep 11, 2003 at 10:13:58AM +0800, ???? wrote:

>    1) I want to know if the linux for mips64 support the customer's
>       kernel module .if yes, is there any modutils i can use?And how
>       can i get it.

There is currently no module support for mips64.

>    2) I have written a simplest simplest kernel module for linux for
>       mips64 (only the init()and cleanup() we can see,and we do nothing.)
>       and with the crossing compiling tool it is ok.One thing confused
>       me is that it can be "insmod" in the linux for mips32, but when we
>       try to "insmod" in the linux for mips64, we get the following error:
> [root@(none) root]# insmod try.o
> init_module: Invalid module header size.
> A new version of the modutils is likely needed.

True.

> try.o: init_module: Invalid argument
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters
> Of course we do the above works in the same hardware platform .
> Is there any thing I should pay attention to when I compile the Kernel
> Module or the linux for mips64? Eagering your help!!

The problem isn't the kernel but modutils which don't support kernel
modules for 64-bit kernels.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some Question about the kernel module on MIPS64
  2003-09-11 14:26 ` Ralf Baechle
@ 2003-09-11 14:36   ` Keith Owens
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Owens @ 2003-09-11 14:36 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

On Thu, 11 Sep 2003 16:26:11 +0200, 
Ralf Baechle <ralf@linux-mips.org> wrote:
>On Thu, Sep 11, 2003 at 10:13:58AM +0800, ???? wrote:
>> try.o: init_module: Invalid argument
>> Hint: insmod errors can be caused by incorrect module parameters,
>> including invalid IO or IRQ parameters
>> Of course we do the above works in the same hardware platform .
>> Is there any thing I should pay attention to when I compile the Kernel
>> Module or the linux for mips64? Eagering your help!!
>
>The problem isn't the kernel but modutils which don't support kernel
>modules for 64-bit kernels.

Nobody has sent me patches for mips64 (hint, hint).

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-11 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-11  2:13 Some Question about the kernel module on MIPS64 广星
2003-09-11  2:13 ` 广星
2003-09-11 14:26 ` Ralf Baechle
2003-09-11 14:36   ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox