LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   USB Storage lost from 2.4 to 2.6 kernal move (https://www.linuxquestions.org/questions/slackware-14/usb-storage-lost-from-2-4-to-2-6-kernal-move-180908/)

vonst 05-12-2004 09:48 PM

USB Storage lost from 2.4 to 2.6 kernal move
 
I have a Fuji FinePix 3800. I've got it jacked to the USB port. It works just fine on my WinsuxXP partition. It works just fine on my Linux 2.4.20 kernel (which I keep now as a backup and install on floppy). Googling for instructions on installing and using this camera, I found I simply needed to run:

mount /dev/sdd1 /mnt/fuji ... and it works like a charm. :)

Now, however, I have the 2.6 kernel. It doesn't work at all. :( Thinking that the rev might be a problem, I tried using 2.6.3, 2.6.5, and now 2.6.6.

I get the same problem. /dev/sdd1 is not a valid mount point. When I ran the 2.6.3 kernel in particular, I rebooted straight into the 2.4.20 kernel (you know, it was just on floppy) and I was able to mount straight to /dev/sdd1. I went right back to 2.6.3 and it's immediately not a valid mount point.

I read that there's no way to locate the mount points except to guess. So I wrote a little code that attempts to mount /dev/sd<d-h><1-5>. It's a sweet little code. But is says that NONE of them are valid mount points. (Here's the code in case you want it...)

>>>
#!/bin/bash

for i in 1 2 3 4 5 6 7 8 9 10
do
echo $i

mount /dev/sdd$i /mnt/fuji
mount /dev/sde$i /mnt/fuji
mount /dev/sdf$i /mnt/fuji
mount /dev/sdg$i /mnt/fuji
mount /dev/sdh$i /mnt/fuji

done
>>>

Should I be looking somewhere else? (/dev/sda,b, and c are taken. I'm a SCSI man.) Is there a library routine that needs to be updated?

Oh, in case you're wondering, I tried having all my USB kernel options set to <M>. But since I got no satisfaction, I set them to <Y>. That includes the USB-STORAGE option too.

Aerich the Rocket Scientist
Alexandria, VA

KMcD 05-13-2004 04:44 AM

I had a similar problem with my disgo USB memory storage, I kept being told that /dev/sda1 was not a valid mount point. The problem was down to my forgetting to enable scsi hard-drive support in the kernel. Maybe that's the problem, that you forgot to include something?

Nigel_Tufnel 05-13-2004 06:36 AM

Quote:

Originally posted by KMcD
I had a similar problem with my disgo USB memory storage, I kept being told that /dev/sda1 was not a valid mount point. The problem was down to my forgetting to enable scsi hard-drive support in the kernel. Maybe that's the problem, that you forgot to include something?
I had the same exact problem. It's a good idea to keep a log of what kernel options to include in your kernel upgrade. I can never remember everything.
:scratch:

KMcD 05-13-2004 07:17 AM

well for kernels in the same series, i.e. 2.6.x, just copy the .config for the previous version to the new kernel source folder and make any changes needed from there.

okmyx 05-13-2004 07:24 AM

I had a similar problem, running 'modprobe sd-mod' from the command line found the device and mapped it to /dev/sda1

carboncopy 05-13-2004 09:32 AM

I had some problem with the latest Apacer HT202 pendrive. It seems that the stock partitioning and formatting is not well on Apacer.

Apacer HT202 --> I delete the partition and repartition it using fdisk, format it using WinXP (FAT32)

Apacer Handy Steno 1.1 --> Mac Os X can't load it. Delete the partition in it and repartition it using fdisk. I have 2 partition in this flash drive. A /dev/sda1 -- fat32 /dev/sda2 --ext3.

vonst 05-14-2004 08:31 PM

Thank you guys for the great ideas. However, I've looked for options in my kernel that I hadn't loaded before. I even went and put a few back in because I didn't think I needed them before (like SCSI Generic and LUNs). My system is fully SCSI, so the SCSI part works. I started looking at my /var/log/messages. (I forgot to look before.) It definitely says I'm missing something USB.

NOTE: I changed all USB and SCSI modules <M> to embed <Y> in my kernel. (It hasn't worked at all for the 2.6 kernel...

tailing /var/log/messages:
May 14 21:14:32 harley kernel: usb 2-1: new full speed USB device using address 2
May 14 21:14:33 harley usb.agent[1801]: ... no modules for USB product 4cb/11a/1000
May 14 21:14:33 harley kernel: scsi2 : SCSI emulation for USB Mass Storage devices

Evidently, USB product 4cb/11a/1000 is my camera. And I don't have "modules," per se since the code is embedded in the kernel. But it looks like it found it...

Aerich the Rocket Scientist
Alexandria, VA

vonst 05-14-2004 08:48 PM

ACK!

I looked at the message I wrote. While I thanked everybody for the great ideas, I didn't explicitly say that it's still broke!

Of note, I can't seem to use my Handspring Visor, either. It gives me a related error about not finding modules for USB product xxx.

Aerich the Rocket Scientist
Alexandria, VA


All times are GMT -5. The time now is 11:57 AM.