LinuxQuestions.org
Help answer threads with 0 replies.
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
 
Search this Thread
Old 08-10-2003, 08:40 PM   #1
rstebbins
LQ Newbie
 
Registered: Aug 2003
Location: Deerfield Bch, FL
Distribution: Mandrake 9.1
Posts: 5

Rep: Reputation: 0
USB - /dev/sda1 is not a block device


I have been working on this for a while.

Distro - Mandrake 9.1
kernel - 2.4.21-0.13mdk
camera - Kodak DX4330

I just followed the instructions in the Digital Camera HOWTO. When I run the script to move the pictures from the cameras smart card to the computer I get the following:

mount: /dev/sda1 is not a block device
Initializing USB controller (usb-uhci): [ OK ]
mv: cannot stat `/mnt/camera/dcim/100msdcf/*.jpg': No such file or directory
umount: /mnt/camera: not mounted

Heres some info:

From lsmod:
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usb-storage usb-uhci]


From modprobe usb-storage:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 15:32:56 Mar 14 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 9 for device 00:07.2
usb-uhci.c: USB UHCI at I/O 0x1020, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
hub.c: new USB device 00:07.2-1, assigned address 2

and

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usb.c: USB disconnect on device 00:07.2-1 address 2

and

hub.c: new USB device 00:07.2-1, assigned address 3
usb.c: USB device 3 (vend/prod 0x40a/0x555) is not claimed by any active driver.
usb.c: USB disconnect on device 00:07.2-1 address 3


From fstab:

/dev/hda1 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 noatime 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0


I confess that I don't know what I am doing.
Why is sda1 not in the fstab file? Do I need to manually put it in?

Sorry for the long post but I figured too much info up front is better than too little.

Any suggestions would be very helpful.

Thanks,
Randy
 
Old 08-11-2003, 08:40 AM   #2
ksnash
Member
 
Registered: Jul 2003
Location: Pensacola,Florida
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
try /dev/sdb1. else See if gphoto or kphoto can find it. New program is GTKam (Gphoto2).
 
Old 08-11-2003, 12:24 PM   #3
rstebbins
LQ Newbie
 
Registered: Aug 2003
Location: Deerfield Bch, FL
Distribution: Mandrake 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
I tried GTKam. It recognized the camera correctly but didn't read from the card. I got nowhere with gphoto.
 
Old 08-13-2003, 06:49 PM   #4
rstebbins
LQ Newbie
 
Registered: Aug 2003
Location: Deerfield Bch, FL
Distribution: Mandrake 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
I added

/dev/sda1 /mnt/camera vfat noauto,users,umask=0 0 0

to /etc/fstab.

I rebooted with the camera attached to the USB port. I started GTKam and I get the following message:
A window comes up titled "Could not claim USB device" the message within the window reads "Could not list folders in "/" ".

Any ideas what that's about?

Since adding the new line to fstab the following line has appeared when I run modprobe usb-storage:

usb.c: USB device 2 (vend/prod 0x40a/0x555) is not claimed by any active driver.

I've no idea what it means. I'm really fumbling with this.

Since adding the new line to fstab an icon has appeared on the KDE desktop. Its title is "Hard Disc (sda1) (not mounted). When I right click and select mount I just get an error message saying "mount: /dev/sda1 is not a block device"

Any help is greatly appreciated.

Thanks,
Randy
 
Old 08-14-2003, 05:16 AM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I haven't try it but try /sbin/modprobe sd_mod before inserting the USB device. Also try /sbin/modprobe scsi_mod.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/sda1 NOT a valid block device ??? mack4evr Suse/Novell 5 10-15-2004 01:06 PM
USB Pen Drive, /dev/sda1 is not a valid block device Aeiri Linux - Hardware 3 08-13-2004 10:32 AM
Problem with USB Key and creating the /dev/sda1 block device Ben2210 Slackware 5 08-04-2004 02:42 AM
/dev/sda1 not valid block device pcpinkerton Linux - Hardware 19 02-29-2004 07:48 AM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 01:14 PM


All times are GMT -5. The time now is 04:06 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