Problems of kernel-2.6.4 for mpc8260

2004-04-19 Thread 최승현

Hi,,,
So so... sorry. I need to your process of module-init-tools-3.0 upgrade in 
detail.
Unfortunately, when i upgrade module-init-tools-3.0, I have a troble with 
module insert continuously.
Firstly, my test environment...

1) target : ppc8260 custom board.
2) kernel has compiled with module support
3) using kernel 2.6.5(also 2.6.3, 2.6.4)
4) using modutils 2.4.22
5) ELDK 3.0( cross compiler, NFS)

Following test message

After booting of kernel 2.6.5..

bash-2.05b# ls
Makefile  Makefile.l  hello.c  hello.ko  hello.mod.c  hello.mod.o  hello.o
== I  had to compile the modules using the recommended way of 2.6.x
( $(MAKE) -C /kernel_path CROSS_COMPILE=xx_xx SUBDIRS=$(PWD) modules)

bash-2.05b# insmod hello.ko
insmod: QM_MODULES: Function not implemented

bash-2.05b# depmod -V
depmod version 2.4.22
depmod: QM_MODULES: Function not implemented

I got to module-init-tools-3.0.tar.gz'
After installing, boot process message is...

VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 76k init
request_module: runaway loop modprobe binfmt-4c46
request_module: runaway loop modprobe binfmt-4c46
request_module: runaway loop modprobe binfmt-4c46
request_module: runaway loop modprobe binfmt-4c46
request_module: runaway loop modprobe binfmt-4c46

Here stopped.

As you can see above, what's the reason of above error?
Any help would be appreciated.

Call me Lone.
Thanks,

- Original Message -
From: Rune Torgersen [EMAIL PROTECTED]
To: linuxppc linuxppc-embedded at lists.linuxppc.org
Sent: Thursday, April 08, 2004 12:40 AM
Subject: RE: Problems of kernel-2.6.4 for mpc8260



 You need a newer version of modutils

 Try module-init-tools-3.0.tar.gz from
 http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

 This fixed that problem for me on 2.6.3 and 2.6.5 on a 8266. The other
 version is known not to work with the new module initialization stuff in
 the 2.6 kernels.

  -Original Message-
  From: owner-linuxppc-embedded at lists.linuxppc.org
  [mailto:owner-linuxppc-embedded at lists.linuxppc.org] On Behalf
  Of Wolfgang Grandegger
  Sent: Wednesday, April 07, 2004 08:26
  To: ???
  Cc: linuxppc
  Subject: Re: Problems of kernel-2.6.4 for mpc8260
 
 
 
  On 04/07/2004 09:51 AM ??? wrote:
   I got succeeded to port kernel 2.6.4 to out custom MPC8260
  board with
   the help of DENX ELDK 3.0 tool. Thanks!! But there is some
  problems to
   be solved.
  
   After booting, when I try to install module, following
  error occured.
  
 bash-2.05b# insmod dsrc_drv.o
 insmod: QM_MODULES: Function not implemented
 
  Module support seems not to be enabled in your kernel.
 
  
 bash-2.05b# insmod -V
 insmod version 2.4.22
  
   As you can see above, the version of modutils seems to be
  fine. right?
   If so, what's the reason of above error? And one more
  problem. At boot
   sequence(as following) lots of unexpected 'modprobe: xxx'
  messages are
   issued.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Problems of kernel-2.6.4 for mpc8260

2004-04-07 Thread 김치환

I got succeeded to port kernel 2.6.4 to out custom MPC8260 board with
the help of DENX ELDK 3.0 tool. Thanks!! But there is some problems to
be solved.

After booting, when I try to install module, following error occured.

  bash-2.05b# insmod dsrc_drv.o
  insmod: QM_MODULES: Function not implemented

  bash-2.05b# insmod -V
  insmod version 2.4.22

As you can see above, the version of modutils seems to be fine. right?
If so, what's the reason of above error? And one more problem. At boot
sequence(as following) lots of unexpected 'modprobe: xxx' messages are
issued.

 VFS: Mounted root (nfs filesystem).
 Freeing unused kernel memory: 84k init
 INIT: version 2.84 booting
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Welcome to DENX Embedded Linux Environment
 Press 'I' to enter interactive startup.
 Building the cache nfs_refresh_inode: inode number mismatch expected 
(0:b/0x169e8f), got (0:b/0x169e90)
 nfs_refresh_inode: inode number mismatch expected (0:b/0x169e8f), got 
(0:b/0x169e90)
 [  OK  ]
 Mounting proc filesystem:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)
 [  OK  ]
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Configuring kernel parameters:  [  OK  ]
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Cannot access the Hardware Clock via any known method.
 Use the --debug option to see the details of our search for an access 
method.
 Setting clock : Wed Dec 31 19:00:14 EST 1969 [  OK  ]
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Setting hostname WillyHat:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)
 [  OK  ]
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Activating swap partitions:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)
 [  OK  ]
 Checking filesystems
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 [  OK  ]
 Mounting local filesystems:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)
 [  OK  ]
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Enabling swap space:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)
 [  OK  ]
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Entering non-interactive startup
 modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep (No 
such file or directory)
 Setting network parameters:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)
 [  OK  ]
 Bringing up loopback interface:  modprobe: Can't open dependencies file 
/lib/modules/2.6.4/modules.dep (No such file or directory)

How can I fix these problems?

wily.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Problems of kernel-2.6.4 for mpc8260

2004-04-07 Thread Wolfgang Grandegger

On 04/07/2004 09:51 AM ??? wrote:
 I got succeeded to port kernel 2.6.4 to out custom MPC8260 board with
 the help of DENX ELDK 3.0 tool. Thanks!! But there is some problems to
 be solved.

 After booting, when I try to install module, following error occured.

   bash-2.05b# insmod dsrc_drv.o
   insmod: QM_MODULES: Function not implemented

Module support seems not to be enabled in your kernel.


   bash-2.05b# insmod -V
   insmod version 2.4.22

 As you can see above, the version of modutils seems to be fine. right?
 If so, what's the reason of above error? And one more problem. At boot
 sequence(as following) lots of unexpected 'modprobe: xxx' messages are
 issued.

  VFS: Mounted root (nfs filesystem).
  Freeing unused kernel memory: 84k init
  INIT: version 2.84 booting
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Welcome to DENX Embedded Linux Environment
  Press 'I' to enter interactive startup.
  Building the cache nfs_refresh_inode: inode number mismatch expected 
 (0:b/0x169e8f), got (0:b/0x169e90)
  nfs_refresh_inode: inode number mismatch expected (0:b/0x169e8f), got 
 (0:b/0x169e90)
  [  OK  ]
  Mounting proc filesystem:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)
  [  OK  ]
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Configuring kernel parameters:  [  OK  ]
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Cannot access the Hardware Clock via any known method.
  Use the --debug option to see the details of our search for an access 
 method.
  Setting clock : Wed Dec 31 19:00:14 EST 1969 [  OK  ]
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Setting hostname WillyHat:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)
  [  OK  ]
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Activating swap partitions:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)
  [  OK  ]
  Checking filesystems
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  [  OK  ]
  Mounting local filesystems:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)
  [  OK  ]
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Enabling swap space:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)
  [  OK  ]
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Entering non-interactive startup
  modprobe: Can't open dependencies file /lib/modules/2.6.4/modules.dep 
 (No such file or directory)
  Setting network parameters:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)
  [  OK  ]
  Bringing up loopback interface:  modprobe: Can't open dependencies file 
 /lib/modules/2.6.4/modules.dep (No such file or directory)

 How can I fix these problems?

See above. Furthermore the module dependency file may not be correct for
your arch.

Wolfgang.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Problems of kernel-2.6.4 for mpc8260

2004-04-07 Thread Rune Torgersen

You need a newer version of modutils

Try module-init-tools-3.0.tar.gz from
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

This fixed that problem for me on 2.6.3 and 2.6.5 on a 8266. The other
version is known not to work with the new module initialization stuff in
the 2.6 kernels.

 -Original Message-
 From: owner-linuxppc-embedded at lists.linuxppc.org
 [mailto:owner-linuxppc-embedded at lists.linuxppc.org] On Behalf
 Of Wolfgang Grandegger
 Sent: Wednesday, April 07, 2004 08:26
 To: ???
 Cc: linuxppc
 Subject: Re: Problems of kernel-2.6.4 for mpc8260



 On 04/07/2004 09:51 AM ??? wrote:
  I got succeeded to port kernel 2.6.4 to out custom MPC8260
 board with
  the help of DENX ELDK 3.0 tool. Thanks!! But there is some
 problems to
  be solved.
 
  After booting, when I try to install module, following
 error occured.
 
bash-2.05b# insmod dsrc_drv.o
insmod: QM_MODULES: Function not implemented

 Module support seems not to be enabled in your kernel.

 
bash-2.05b# insmod -V
insmod version 2.4.22
 
  As you can see above, the version of modutils seems to be
 fine. right?
  If so, what's the reason of above error? And one more
 problem. At boot
  sequence(as following) lots of unexpected 'modprobe: xxx'
 messages are
  issued.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Problems of kernel-2.6.4 for mpc8260

2004-04-07 Thread Rune Torgersen

 The other version is known not to work with the new module
 initialization stuff in the 2.6 kernels.

Oh, and... You will have to recompile the modules using the recommended
way for 2.6
(eg 'make -C /path/to/linux/ SUBDIRS=$PWD modules') and use the .ko
object files.

There are also some other changes in the module layout.
(see http://lwn.net/Articles/driver-porting/ for more info )

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/