simple questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-10-23 at 12:17 -0500, Rob Snihur wrote:
> Hi Dan,
> The lines below are what I found in dmesg as a result of executing load.sh.
> I don't really know how to proceed from here,
> so any advice you (or anyone) could give me would be appreciated.

Immediate fix:

modprobe sdhci

You're getting into this situation because you're building the modules
yourself, and thus the kernel doesn't  have all the dependency
information it needs to load modules that the WiMAX ones depend on.  You
can fix this by actually installing the WiMAX modules to your kernel's
module tree, wherever that is on your distro.  For example if you were
on a Fedora machine, all as root:

cp /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/wimax.ko /lib/modules/`uname -r`/kernel/
cp /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m.ko /lib/modules/`uname -r`/kernel/
cp /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-sdio.ko /lib/modules/`uname -r`/kernel/
cd /lib/modules/`uname -r`/kernel/
depmod -a

and then the WiMAX modules would be automatically loaded for you, with
dependencies, the next time you boot.  Or, you could also run 'modprobe
i2400m_usb' too.

Dan


> thx,
> -rob
> 
> 
> i2400m_sdio: Unknown symbol sdio_release_host
> i2400m_sdio: Unknown symbol sdio_disable_func
> i2400m_sdio: Unknown symbol sdio_set_block_size
> i2400m_sdio: Unknown symbol sdio_claim_host
> i2400m_sdio: Unknown symbol sdio_memcpy_fromio
> i2400m_sdio: Unknown symbol sdio_register_driver
> i2400m_sdio: Unknown symbol sdio_memcpy_toio
> i2400m_sdio: Unknown symbol sdio_release_irq
> i2400m_sdio: Unknown symbol sdio_unregister_driver
> i2400m_sdio: Unknown symbol sdio_claim_irq
> i2400m_sdio: Unknown symbol sdio_enable_func
> i2400m_sdio: Unknown symbol sdio_readb
> i2400m_sdio: Unknown symbol sdio_writeb
> usbcore: registered new interface driver i2400m_usb
> 
> 
> 
> 
> 
> On Fri, Oct 23, 2009 at 11:39 AM, Dan Williams <dcbw at redhat.com> wrote:
> > On Thu, 2009-10-22 at 17:11 -0500, Rob Snihur wrote:
> >> Hi,
> >> I have the following kernel:
> >> Linux nunllap01 2.6.27.37-170.2.104.fc10.i686 #1 SMP Mon Oct 12
> >> 22:01:53 EDT 2009 i686 i686 i386 GNU/Linux
> >>
> >> I downloaded the WiMax driver version 1.4.1, and typed "make"
> >> and this seemed to work.
> >> Next I typed "load.sh" but I got the error below.
> >> Can anyone please help me with this?
> >
> > Right after trying to insert the module, what are the last few lines of
> > 'dmesg' output?  That should actually say *what* symbol is unknown.
> >
> > Dan
> >
> >> thx,
> >> -rob
> >>
> >>
> >>
> >>
> >>
> >> 20091022Thu16:56:20 root at nunllap01  26% pwd
> >> /home/snihur/wimax/wimax-i2400m-1.4.1
> >> 20091022Thu16:57:19 root at nunllap01  27% whoami
> >> root
> >> 20091022Thu16:57:24 root at nunllap01  28% make
> >> make -C /lib/modules/2.6.27.37-170.2.104.fc10.i686/build
> >> M=/home/snihur/wimax/wimax-i2400m-1.4.1
> >> make[1]: Entering directory `/usr/src/kernels/2.6.27.37-170.2.104.fc10.i686'
> >> I: executing compile-time config scripts
> >> I: enabling debugfs_create_size_t compatibility
> >> I: enabling genl_unregister_mc_group() compatibility
> >> I: compile-time version is v1.4.1-v1.4.1
> >> I: Installed new build configuration file include/config.h
> >> I: Installed new build configuration file include/linux/wimax/version.h
> >> I: Installed new build configuration file .tmp.config.mk
> >>   LD      /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/built-in.o
> >>   LD      /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/built-in.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/sdio.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/sdio-tx.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/sdio-fw.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/sdio-rx.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/usb-compat.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/usb-fw.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/usb-notif.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/usb-tx.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/usb-rx.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/usb.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/control.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/driver.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/fw.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/op-rfkill.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/netdev.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/tx.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/rx.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/debugfs.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-usb.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-sdio.o
> >>   LD      /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/built-in.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/compat.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/id-table.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/op-msg.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/op-reset.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/op-rfkill.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/stack.o
> >>   CC [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/debugfs.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/wimax.o
> >>   Building modules, stage 2.
> >> I: executing compile-time config scripts
> >> I: enabling debugfs_create_size_t compatibility
> >> I: enabling genl_unregister_mc_group() compatibility
> >> I: compile-time version is v1.4.1-v1.4.1
> >>   MODPOST 4 modules
> >>   CC      /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-sdio.mod.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-sdio.ko
> >>   CC      /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-usb.mod.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-usb.ko
> >>   CC      /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m.mod.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m.ko
> >>   CC      /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/wimax.mod.o
> >>   LD [M]  /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/wimax.ko
> >> make[1]: Leaving directory `/usr/src/kernels/2.6.27.37-170.2.104.fc10.i686'
> >> 20091022Thu16:57:48 root at nunllap01  29% ./load.sh
> >> loading /home/snihur/wimax/wimax-i2400m-1.4.1/net/wimax/wimax.ko
> >> loading /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m.ko
> >> loading /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-sdio.ko
> >> insmod: error inserting
> >> '/home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-sdio.ko':
> >> -1 Unknown symbol in module
> >> loading /home/snihur/wimax/wimax-i2400m-1.4.1/drivers/net/wimax/i2400m/i2400m-usb.ko
> >> _______________________________________________
> >> wimax mailing list
> >> wimax at linuxwimax.org
> >> http://lists.linuxwimax.org/listinfo/wimax
> >
> >



[Index of Archives]     [Linux Kernel]     [Linux Wireless]     [Linux Bluetooth]     [Linux Netdev]     [Linux Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux