LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2003, 12:12 AM   #1
alfiejohn
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
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
 
Old 09-06-2003, 03:58 AM   #2
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 10.x, Fedora 9, OpenSuSE 11.3, Mythbuntu (Don't know it? Try - it rocks!)
Posts: 225

Rep: Reputation: 30
......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........
 
Old 09-06-2003, 07:52 AM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 04:56 PM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 05:44 AM
Linux "broke" USB-mass storage device? - no longer workable in Windows XP lrt2003 Linux - Hardware 3 06-13-2004 10:56 PM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 11:13 AM
./MAKEDEV usb error - dont know hot to make device "usb" Zero-0-Effect Linux From Scratch 4 04-10-2004 07:09 PM


All times are GMT -5. The time now is 08:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration