Gerard,

You're trying some really strange things.  Why would you even try to copy
modules from /lib/modules/2.4.7-SuSE.. to /lib/modules/2.4.7-timer..???
Modules not matching the running kernel is what caused your problems to
start with.

All the unresolved symbols you list are defined in the tape390.o module.
That module must be insmodded/modprobed first.  (Since it is the module upon
which others depend, it will _not_ cause any other modules to be loaded.)
Then you should be able to "insmod -f tape_3590_mod.o" and have it load
correctly.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Monteleone
Sent: Monday, December 08, 2003 4:17 AM
To: [EMAIL PROTECTED]
Subject: RE : tape3590 SLES7


Hello Mark,

Thanks for your response,

I think my problem is born after applying the K_timer-2.4.7-9 package on
my SLES7. I think the new generic module tape390.o brought with this
package don't load any external module.

This is what I get when I load this module:

Modprobe tape390 tape=181

linsvg:( # T390:IBM S/390 Tape Device Driver (v1.01).
T390:(C) IBM Deutschland Entwicklung GmbH, 2000
T390:character device frontend   : built in
T390:block device frontend       : built in
T390:support for 3480 compatible : built in
T390:support for 3490 compatible : built in
T390:Using ranges supplied in parameters, disabling autoprobe mode.
TCHAR:<3> tape gets major 254 for character device
TBLOCK:<3> tape gets major 254 for block device

If I do an lsmod I only see the tape390 module.

The result is the same even if I copy all tape_34xx modules from
/lib/modules/2.4.7-Suse.../ to the /lib/modules/2.4.7-timer..../char
library.

If I do:

linsvg:/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char # insmod -f
tape_3590_mod.o
Warning: kernel-module version mismatch
        tape_3590_mod.o was compiled for kernel version 2.4.7-timer
        while this kernel is version 2.4.7-timer-SMP
tape_3590_mod.o: unresolved symbol tape_state_get
tape_3590_mod.o: unresolved symbol tape_free_ccw_req
tape_3590_mod.o: unresolved symbol tape_unregister_discipline
tape_3590_mod.o: unresolved symbol tape_do_io_irq
tape_3590_mod.o: unresolved symbol tape_do_io
tape_3590_mod.o: unresolved symbol tape34xx_bread_enable_locate
tape_3590_mod.o: unresolved symbol tape_get_active_ccw_req
tape_3590_mod.o: unresolved symbol tape_do_io_and_wait
tape_3590_mod.o: unresolved symbol tape_dump_sense_dbf
tape_3590_mod.o: unresolved symbol tape_med_state_set
tape_3590_mod.o: unresolved symbol tape_op_verbose
tape_3590_mod.o: unresolved symbol __copy_from_user_asm
tape_3590_mod.o: unresolved symbol tape_register_discipline
tape_3590_mod.o: unresolved symbol tape34xx_ioctl
tape_3590_mod.o: unresolved symbol __copy_to_user_asm
tape_3590_mod.o: unresolved symbol tape_remove_ccw_req

linsvg:/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char # lsmod
Module                  Size  Used by
tape390                64240   0  (unused)
ipv6                  263984  -1  (autoclean)
qeth                  138288   1  (autoclean)
qdio                   37136   1  (autoclean) [qeth]
ipchains               45072   0
lvm-mod                48672   0  (autoclean)


The last test I do is to copy all the tapexxx modules from
/lib/mod../2.4.7-Sus.../char to the /lib/modules/2.4.7-tim.../char :

linsvg:/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char # insmod -f
tape390 tape=181
Using /lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char/tape390.o
Warning: kernel-module version mismatch
        /lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char/tape390.o
was compiled for kernel version 2.4.7-SuSE-SMP
        while this kernel is version 2.4.7-timer-SMP
/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char/tape390.o:
unresolved symbol __copy_from_user_asm
/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char/tape390.o:
unresolved symbol jiffies
/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char/tape390.o:
unresolved symbol __copy_to_user_asm

linsvg:/lib/modules/2.4.7-timer-SMP/kernel/drivers/s390/char # lsmod
Module                  Size  Used by
ipv6                  263984  -1  (autoclean)
qeth                  138288   1  (autoclean)
qdio                   37136   1  (autoclean) [qeth]
ipchains               45072   0
lvm-mod                48672   0  (autoclean)

Any idea ?

     Gerard MONTELEONE
     Ingenieur Systeme & Reseau
( 04.95.23.68.09 / 06.87.72.70.32
      S.I.TE.C zi du Vazzio
     20090 AJACCIO Cedex
         [EMAIL PROTECTED]

Reply via email to