Hi there,
On Sat, 13 Mar 2004, Chris Trown wrote:
> I've been wrestling with trying to get my SanDisk Cruzer
> Mini(256MB) working. I'm hoping that someone can help.
>
> I'm running SuSE 8.2 distro. With the stock kernel, whenever I
> plug the device in, everything seems to work just fine. I see the
> device in /proc and the logfiles, but whenever I try to mount the
> device, nothing. The command goes off into the kernel, never to return.
> Same thing happens if I try to use fdisk on /dev/sda.
>
> So I downloaded 2.4.25 source and built it. When I compile the
> kernel with USB as a module, I get:
>
> Mar 10 17:52:03 linux insmod: Using
> /lib/modules/2.4.25/kernel/drivers/scsi/scsi_mod.o
> Mar 10 17:52:03 linux insmod: Symbol version prefix ''
> Mar 10 17:52:03 linux insmod: /lib/modules/2.4.25/kernel/drivers/scsi/scsi_mod.o:
> unresolved symbol req_finished_io
Looks to me like you didn't compile the module the same way you
compiled the kernel, or you missed out a module (or modules) or bits
of kernel which are needed by the scsi_mod.o kernel module. Here's
what happens if I grep the 2.4.24 kernel tree for that missing symbol,
makes me think you need a block device that you haven't configured in
your kernel .config file.
-----------------------------------------------------------------------------
~/src/linux-2.4.24$ >>> grep -r req_finished_io *
System.map:c01a5d50 T req_finished_io
System.map:c02f9420 R __kstrtab_req_finished_io
System.map:c0302a40 R __ksymtab_req_finished_io
drivers/block/ll_rw_blk.c:void req_finished_io(struct request *req)
drivers/block/ll_rw_blk.c:EXPORT_SYMBOL(req_finished_io);
drivers/block/ll_rw_blk.c: req_finished_io(req);
Binary file drivers/block/ll_rw_blk.o matches
Binary file drivers/block/block.o matches
drivers/scsi/scsi_lib.c: req_finished_io(req);
Binary file drivers/scsi/scsi_lib.o matches
Binary file drivers/scsi/scsi_mod.o matches
Binary file drivers/scsi/scsidrv.o matches
include/linux/genhd.h:extern void req_finished_io(struct request *req);
include/linux/genhd.h:static inline void req_finished_io(struct request *req) { }
include/linux/modules/ll_rw_blk.ver:#define __ver_req_finished_io aca12173
include/linux/modules/ll_rw_blk.ver:#define req_finished_io
_set_ver(req_finished_io)
Binary file vmlinux matches
~/src/linux-2.4.24$ >>>
-----------------------------------------------------------------------------
Here's what I get if I look for BLK in one of my USB kernel .configs...
-----------------------------------------------------------------------------
hurricane:~/src/linux-2.4.22$ >>> grep BLK .config | grep -v "not set"
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_BLK_STATS=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_BLK_DEV_SD=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
hurricane:~/src/linux-2.4.22$ >>>
-----------------------------------------------------------------------------
HTH.
73,
Ged.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users