ts-7000
[Top] [All Lists]

[ts-7000] Re: Some modules refuse to load

To:
Subject: [ts-7000] Re: Some modules refuse to load
From: "Yan Seiner" <>
Date: Tue, 26 Jun 2007 17:33:36 -0000
--- In  "charliem_1216" <> wrote:
>
> Hi Yan -
> 
> Does the following give any clues?
> 
> cat /proc/version

:root# cat /proc/version
Linux version 2.4.26-ts11  (gcc version 3.4.4) #34 Po &#269;en
25 17:26:53 PDT 2007

> file /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o

:root# file
/lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o
/lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o: ELF 32-bit
LSB relocatable, ARM, version 1 (ARM), not stripped

> modinfo /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o

:root# modinfo
/lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o
filename:    /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o
description: "SCSI core"
author:      <none>
license:     <none>
parm:        scsihosts string
parm:        scsi_logging_level int, description "SCSI logging level;
should be zero or nonzero"
parm:        scsi_allow_ghost_devices int, description "allow devices
marked as being offline to be accessed anyway (0 = off, else allow
ghosts on lun 0 through scsi_allow_ghost_devices - 1"
parm:        max_scsi_luns int, description "last scsi LUN (should be
between 1 and 2^32-1)"

> 
> I'd think it was a kernel version mismatch, or a gcc version 
> mismatch between what compiled the kernel and what compiled the 
> modules, but that should be detected.  Not being able to find the 
> version info is just strange ....
> 
> What if you try to insmod them one-by-one, rather than modprobe?

It fails the same way; I can't even insmod -f.

> 
> Did you run depmod?

Yes.

I've built a new kernel with scsi-mod built in; now it fails with 

:root# insmod -f usb-storage
Using /lib/modules/2.4.26-ts11/kernel/drivers/usb/storage/usb-storage.o
/lib/modules/2.4.26-ts11/kernel/drivers/usb/storage/usb-storage.o:
couldn't find the kernel version the module was compiled for

depmod -a generates no errors.

dmesg says this about my USB drive:

hub.c: new USB device not_pci-3, assigned address 2
usb.c: USB device 2 (vend/prod 0x1058/0x910) is not claimed by any
active driver.

No surprise there; it can't load usb-storage....

--Yan


> 
> Regards, ........ Charlie
> 
> --- In  "Yan Seiner" <yan@> wrote:
> >
> > I'm having some trouble loading some modules on the 7300 - certain
> > modules absolutely refuse to load.
> > 
> > :root# modprobe usb-storage
> > /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o: couldn't 
> find
> > the kernel version the module was compiled for
> > /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o: insmod
> > /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o failed
> > /lib/modules/2.4.26-ts11/kernel/drivers/scsi/scsi_mod.o: insmod
> > usb-storage failed
> > 
> > But...  I just built this module and most other modules load just
> > fine.  I am using a self-compiled kernel.
> > 
> > I've checked to make sure that the modules on my SD card are in 
> fact
> > the same as the ones I built.  The md5sums are the same.
> > 
> > Lots of other modules load just fine:
> > 
> > :root# lsmod
> > Module                  Size  Used by    Not tainted
> > open_eth                4448   0  (unused)
> > sdcard1                 9848   0  (unused)
> > tsuart-733              1276   0  (unused)
> > tsuart-73               1228   0  (unused)
> > tsuart0                 8360   0  [tsuart-733 tsuart-73]
> > keybdev                 1716   0  (unused)
> > hid                    13976   0  (unused)
> > input                   3288   0  [keybdev hid]
> > usb-ohci-ep93xx          268   0  (unused)
> > usb-ohci               14864   0  [usb-ohci-ep93xx]
> > usbcore                53888   1  [hid usb-ohci]
> > pcipool                 1656   1  [usb-ohci]
> > ts7300fb                3360  64
> > fbcon-cfb16             3896   0  [ts7300fb]
> > fbgen                   2800   0  [ts7300fb]
> > sdcard0                 9840   2
> > 
> > Does anyone have any idea what might be going on?
> > 
> > Thanks,
> > 
> > --Yan
> >
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU