RE: USB SanDisk SmartMedia - some results.

Douglas Gilbert (dougg@torque.net)
Fri, 30 Jun 2000 07:59:50 -0400


Drew wrote:
> OK, I installed the usb-storage module and mounted -t usbdevfs
> /proc/bus/usb. (Incidentally, I had some unresolved symbols referring
> to scsi, but there was no reference in modules.dep. Loading
> scsi_mod.o did the trick.)
>
> $ cat /proc/bus/usb/drivers
> usb-storage
> hub
> usbdevfs
>
> So, would the next step be to mknod?
>
> > Dunlap, Randy writes:
> > > Try the usb-storage driver.

Well I guess it should look like a disk so try
$ modprobe sd_mod
[N.B. In very recent 2.4 test kernels this has
been changed from "sd_mod" to "sd". Hopefully that
was a mistake and has been changed back.] Also doing
"modprobe sd_mod" will load the "scsi_mod.o" module.

Then you should have an active /dev/sda device (assuming
you don't already have SCSI disks in your system). Now try:
$ fdisk /dev/sda
and use the "p" option to view partitions. You may be able
to "mount" something. If the disk is empty, create a
partition (ext2) with fdisk and then use mke2fs to
create a fs on it (e.g. "mke2fs /dev/sda1"), then
mount it (e.g. mount /dev/sda1 /mnt).

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/