LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   usb disk.. (https://www.linuxquestions.org/questions/debian-26/usb-disk-137180/)

samhob 01-21-2004 02:44 PM

usb disk..
 
Hello
I dont know if this is really debian related:

I have debian testing with my own kernel 2.4.22 compiled... everything is ok ... the only problem is :

when i do a modprobe usb-storage ( for my external mass sotrage device ) ( in english external usb disk )

all the system hangs and need to press the reset button ... i have enabled all i need to get a usb disk to work ( usb-storage scsi support scsi emulation etc..)

i have also tryed 2.4.23 ...


any ideas ?

pe2338 01-22-2004 01:38 AM

Is the USB enabled from BIOS?
Are both/all the channels (HUBs) activated?

Don't try pluging in the mass storage device before the modprobe...

Try loading the module automatically at boot time (add usb-storage to /etc/modules). Before this make sure you can boot from another medium than hard disk, in case things go bad and you can't boot correctlly or the system freezes at boot time....

Good like

samhob 01-22-2004 07:14 AM

thanks now i can modprobe it , but when mounting it freezes ...

pe2338 01-22-2004 07:24 AM

did you specified the file system used (probably vfat)?

Code:

#mount -tvfat /dev/mymassstorage /mnt/somewhere
is the freeze console linked or is it system linked?
I mean, can u change into (another) consle ? (ctrl+alt+F1, ctrl+alt+F2 .....)

if you can chage the console make a
Code:

cdrecord -scanbus
and see if the device is connected...

By the way, r u sure the mass storage device is working fine?

samhob 01-22-2004 09:56 AM

hello , yes ive already tryed this vfat option...

and it really freeze i cant change to another ( ctrl alt f1)

im sure the usb mass storage is loaded it the syslog before mounting it tells me that scsi emulation is done and usb mass is loaded... i dotn know it works very good in another system ( madrake)

pe2338 01-23-2004 01:35 AM

are u running a personalized kernel?
if so, try running the stock kernel, and if it works with that, then it means that you forgot some options necessary for the USB hardware...

If this doesn't help you, then I don't know what you should do...

Note that installing a new kernel in debian is really easy
just use aptitude / apt-get or dselect, your pick, and install it...
modify lilo.conf/grub.conf (and run lilo if you use that)
reboot and you are done (well, if you are lucky :))


All times are GMT -5. The time now is 11:30 PM.