LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB-Storage "6 in 1" device (https://www.linuxquestions.org/questions/linux-hardware-18/usb-storage-6-in-1-device-89771/)

alfiejohn 09-06-2003 12:12 AM

USB-Storage "6 in 1" device
 
Hello,

I have finally got my "6 in 1" device working, by adding in /etc/modules.conf:
options scsi_mod max_scsi_luns=4

Now, if I check /dev for any scsi devices (sd*), I see nothing. Also, checking the lun* directory in /dev/scsi/<blabla>/lun*, there are no devices.

This is until I do a fake scsi_info. This is weird because if I use scsi_info without any arguments, nothing happens, but if I literally type scsi_info /this/is/a/fake/directory, all of a sudden, /dev/sd* appear.

Also, after this fake call to scsi_info, I can mount the device and read/write, so all works well. However, I am intruiged as to why this happens. How can I make /dev/sd* appear without having to call scsi_info /fake/dir?

Also, I want to be able to install linux on my flash device (SD), but the only way I can mount a filesystem to load linux is if the device exists on bootup. Now you can see my delema because I can only see the device after a call to scsi_info.

So, how can I make /dev/sd* appear with a bootdisk, so I can mount my /dev/sdc1 as root?

Thanks,

int 20h
Alfie John

Unknown_User 09-06-2003 03:58 AM

......not exactly an expert on USB SCSI stuff but, as you have had no replies, just a thought.

I had loads of problems with USB devices not appearing at boot. I could manually 'start' them afterwards but this was very annoying.

The problem was that at boot an insufficient time was allowed to 'discover' the devices.

The solution was to delay the USB bus scan. Open the file /etc/init.d/hotplug with

/usr/bin/mcedit /etc/sysconfig/hotplug

and increase the entry 'sleep' to a greater number, usually 3 is enough but up to 5 may be necessary.

I was using SuSE so I had then to execute the command/sbin/SuSEconfig and then reboot.

I may be way off here but it can't hurt........

Brian1 09-06-2003 07:52 AM

I don't know if this can be done. First the bios would have to be able to boot from a USB Harddrive. Similar to boot cdroms. Then somehow the boot kernel would need to be able to see USB as a scsi device. Maybe if USB was configured in the kernel instead as of moudules.

Just some quick thoughts. Good luck. Lets us know how you come along on your idea.
Brian1


All times are GMT -5. The time now is 09:50 AM.