LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2004, 09:48 PM   #1
vonst
Member
 
Registered: May 2004
Location: Wash DC Metro Area
Distribution: Slackware 11
Posts: 108

Rep: Reputation: 15
Unhappy 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
 
Old 05-13-2004, 04:44 AM   #2
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
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?
 
Old 05-13-2004, 06:36 AM   #3
Nigel_Tufnel
Member
 
Registered: Jul 2002
Location: Easton, PA
Distribution: Debian, Kubuntu, Arch
Posts: 116

Rep: Reputation: 15
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.
 
Old 05-13-2004, 07:17 AM   #4
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
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.
 
Old 05-13-2004, 07:24 AM   #5
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
I had a similar problem, running 'modprobe sd-mod' from the command line found the device and mapped it to /dev/sda1
 
Old 05-13-2004, 09:32 AM   #6
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
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.
 
Old 05-14-2004, 08:31 PM   #7
vonst
Member
 
Registered: May 2004
Location: Wash DC Metro Area
Distribution: Slackware 11
Posts: 108

Original Poster
Rep: Reputation: 15
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
 
Old 05-14-2004, 08:48 PM   #8
vonst
Member
 
Registered: May 2004
Location: Wash DC Metro Area
Distribution: Slackware 11
Posts: 108

Original Poster
Rep: Reputation: 15
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
After plug in apacer ht202 usb mass storage into usb port. Nothing appear. tellmeimhong Linux - Hardware 3 02-04-2006 02:32 AM
forcing a USB device to use usb-storage eantoranz Linux - Hardware 1 11-13-2004 07:44 AM
USB Drive \ Mp3 + USB Storage imonfya Linux - Hardware 2 07-09-2004 10:54 PM
Lost files during move. spacedoubtman General 3 03-12-2004 03:00 AM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration