On 7/24/10, Robert P. J. Day <> wrote:
> On Sat, 24 Jul 2010, Robert P. J. Day wrote:
>
>> just been handed what is allegedly a stock ts7260 (2.4.26-ts9) and
>> i want to refresh my memory from quite some time back when i played
>> with a 7250. first question (as i spin through the user manual),
>> should i be able to simply insert a VFAT-formatted USB drive, then
>> mount it?
>>
>> i verified i have a valid VFAT USB drive, i insert it in one of
>> the USB slots, and i would have thought that i'd see a new sdXX
>> device, whereupon i'd do a manual mount. but "dmesg" doesn't appear
>> to show anything after i insert the USB drive.
>>
>> do i need to modprobe a module or two for this? i'm guessing a
>> generic SCSI module, then usb-storage, something like that. it's
>> been a while since i've worked with a 2.4 kernel so i suspect i'm
>> going to need to seriously refresh my knowledge.
>
> at the risk of replying to my own post, this is the set of modules i
> loaded, one after the other:
>
> $ modprobe scsi_mod
> $ modprobe usbcore
> $ modprobe usb-storage
> $ modprobe pcipool
> $ modprobe usb-ohci
> $ modprobe usb-ohci-ep93xx
>
> which first inspires me to ask, isn't modprobe supposed to handle
> module dependencies? i really had to do them one after the other, not
> what i'm used to in 2.6.
>
> and, finally, after all that went in, dmesg gave me:
>
> scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
> Type: Direct-Access ANSI SCSI revision: 02
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
>
> which looks good but it's still not clear what device file i'd
> mount. i assume i'd do something like:
>
> $ mount -t vfat /dev/?????? /mnt
>
> but i don't see any scsi devices under /dev such as "sda1" or
> something along those lines. any hints? obviously, i'm close. am i
> missing any obvious modules?
>
> rday
On my stock 7260s (ts11), TS has 2 scripts:
$ cat /usr/bin/loadUSBModules.sh
insmod usbcore
insmod pcipool
insmod usb-ohci
insmod usb-ohci-ep93xx
insmod scsi_mod
insmod sd_mod
insmod usb-storage;
$ cat /usr/bin/loadUSB.sh
mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/cf
mount -t devfs devfs /mnt/cf/dev
chroot /mnt/cf /etc/init.d/rcS.USB
for I in /proc/[0-9]*; do
ls -al $I/root;
done | grep '/mnt/cf' | cut -d'/' -f3 | xargs kill -9
umount /mnt/cf/proc/bus/usb /mnt/cf/dev/pts /mnt/cf/proc /mnt/cf/dev /mnt/cf
The second script is to load the debian USB stick as root filesystem,
but line 1 answers your question. Hope this helps
--
Joel R. Morgan
Morgan Millwright Services, Inc.
Linux User #504110 http://counter.li.org/
------------------------------------
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/
|