LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB PENDRIVE Problem with kernel 2.6.10 (https://www.linuxquestions.org/questions/linux-hardware-18/usb-pendrive-problem-with-kernel-2-6-10-a-306036/)

tandre 03-25-2005 03:53 PM

USB PENDRIVE Problem with kernel 2.6.10
 
hi,
i changed my FC3 kernel from 2.6.9 to 2.610, and my Twix Swissbit USB PEN-DRIVE is no longer working... It have its light on but it doesn't appears in devices root.... but it still works with the old kernel.
Does anyone had this type of problem...
Thanks

McBane 03-25-2005 06:25 PM

I would check to make sure that usb-storage is in the kernel or is a module.

tandre 03-25-2005 08:17 PM

Iam kind of new in linux... can u be more explicit?

Half_Elf 03-25-2005 09:58 PM

check if you see "usb-storage" when you type lsmod.
You might want to modprobe it by hand if you dont (modprobe usb-storage) to load it. Was that device automounted or were you mounting it by hand?

tandre 03-26-2005 06:27 AM

hi,
this is part of the output of lsmod:
....
pcmcia_core 51585 2 pcmcia,yenta_socket
usb_storage 62345 0
scsi_mod 123457 2 sd_mod,usb_storage
uhci_hcd 31961 0
....
I guess i have it...right?
Quote:

Was that device automounted or were you mounting it by hand?
it is auto-mounted...well in kernel 2.6.9 it was working..

Half_Elf 03-26-2005 11:20 AM

yup, so you have loaded everything you need. Maybe this is just something about the automounter.
Plug in your pen drive, then type "dmesg" (this is the kernel log). In the few last line, you should have a line refering to "new found usb drive" and it should tell you on which device it was assigned (most probably sda ). Then you might want to try to mount the device you got ( mount /dev/whatever1 /media/where_you/want ) by hand.
(if you aren't sure about the partition number you need to mount, you can use fdisk /dev/the_device_found then the "p" option to show the device partition table).

tandre 03-26-2005 11:48 AM

hi,
Well it works....
I mean i can see now my USB device mounted...But is it possible to correct the error of auto-mounted???I mean is it possible to be linux it self to mount it just like it do it in kernel 2.6.9?

another issue
Quote:

(if you aren't sure about the partition number you need to mount, you can use fdisk /dev/the_device_found then the "p" option to show the device partition table
the p option it isn't recognized in my system? is is normal?
Thanks for the tips...

PS: Its the first time i had a guru ansering my questions...LOL Thanks again

Half_Elf 03-26-2005 01:48 PM

There is probably just something wrong about automount configuration... I'm not on a Fedora system right now nor using autmount, but I'll take a look about it, I think I should learn a bit more about automount ;)
About fdisk, make sure you are root and you give the option once fdisk is running (mean you have to type "fdisk /dev/whatever" THEN to type p once at fdisk prompt. fdisk dont recognize "-p" as a flag).

PS: you are the first one to notice the "guru", or at least to say something about it :)

tandre 03-26-2005 06:37 PM

hi,
u were right
i was trying to
fdis /dev/sda1 -p
:D
Remember to post here if u know how to change the automount
thanks

Goatie 04-20-2005 06:27 PM

is there a way I can get the usb-storage service to start automatically? everything works fine for me except each time I startup I have to run the modprobe command to get it activated.

tandre 04-20-2005 06:32 PM

well as i wrote, i could not started from the startup, only making
fdis /dev/sda1 -p
perhaps u can write it on rc.conf, or something like that

Half_Elf 04-20-2005 10:18 PM

I'm not too familiar about fedora, but there is probably some "modules autoload" config somewhere.
In worst case, just add the modprobe line in /etc/init.d/rc.local (or just local? I dont remember), it should do the tricks :)


All times are GMT -5. The time now is 08:49 PM.