LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 10-21-2003, 09:32 PM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Mounting Digital Camera


Ok i used this Camera like 3 days ago and it worked fine. Ok when i set it up i set it up so i could mount it so in fstab. I put in /home/Matt/FujiFilm and also /mnt/FujiFilm. When i try to mount both of these ( not at the same time) i get this error message:

$ mount /home/Matt/FujiFIlm
mount: /dev/sda1 is not a valid block device??
im not quite sure what that means

But I also get the sam thing when im root?? anyone know why i get this?
The only reason i can think of is cuz im not in kde? but i doubt thats it
PLZ HELP ME!!!!!

Matt3333
 
Old 10-21-2003, 09:49 PM   #2
GOBY
Member
 
Registered: Feb 2003
Location: Austin TX
Distribution: ArchLinux
Posts: 67

Rep: Reputation: 15
You got it to mount 3 days ago and now it doesn't? Some cameras don't mount as block devices (like my Canon A40, grr!) but gphoto is one way to get around that. I ended up just buying a flashcard reader so I could also use the camera's memory as a mini-hard drive. Watch out if you go that route though.. not all flashcard readers mount as block devices either.
 
Old 10-21-2003, 10:48 PM   #3
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i did a little gooleing anyways i found a how-to for it BUT its for suse. First it told me to remove the mod then reinstall then /bin/rescan-scsi-bus.sh but slack doesnt have that so i skip it. Then next it shows it working so hmm i dunno what to do i guess ill just have to get gphoto dammit

ok thanx anyone know what else i can do PLZ HELP ME!!!!!

matt3333
 
Old 10-21-2003, 11:49 PM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Did you set it to automount? Can you post the contents of your fstab here, it'll help us to troubleshoot it quickly.
 
Old 10-22-2003, 12:07 AM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
I believe the long and short of it is, if the camera can be accessed as a usb mass storage device it just needs to have the correct mount points set up. If it needs special drivers you would use Gphoto.
If you were able to access it as a mounted device before but not now, what are you doing different? or what has changed?
 
Old 10-22-2003, 10:21 AM   #6
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok I dont think i did anything different than i was doing before i think it might have been that u ran swaret to update but im no too sure what i updated so i cant undo it?? Hmm Im not too sure if i set it automount ill post my fstab here later in the afternoon. I think that if it worked before then why should i need gphoto2? or gphoto? Thanx for reponding

Matt3333
 
Old 10-22-2003, 02:40 PM   #7
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok im going to post my fstab here it is:
/dev/sda1 /home/Matt/FujiFilm auto noauto,user,ro 0 0
/dev/sda1 /mnt/FujiFilm auto noauto,user,ro 0 0

Im sure its right if it worked from the beginneing right?? hmm im not sure what to do now i wanna get it working!!!!! Thanx


Matt3333
 
Old 10-22-2003, 03:51 PM   #8
tipaul
Member
 
Registered: Apr 2003
Location: Laval, Quebec, Canada
Distribution: Ubuntu
Posts: 121

Rep: Reputation: 15
fstab

Normally I use "users" in the fstab to let all users access the device... because "user" doesn't exist...

So try:

/dev/sda1 /home/Matt/FujiFilm auto noauto,users,ro 0 0
/dev/sda1 /mnt/FujiFilm auto noauto,users,ro 0 0


BTW, I think that you can set the rw access instead of ro (my memory card reader allow me this)...

And for the GPhoto, NO, you don't need it because Fuji Cameras are recognized as USB-Mass-Storage... Unlike Canon (the one I have) wich doesn't and need a special driver (like GPhoto)...

Did your swaret update touched the kernel or something near this???... (like hotplug, etc...)

It look's like we'll need the boot log to see what's going on when devices are detected/mounted... You can look at this to have hints... (in directory /var/log)
 
Old 10-22-2003, 05:23 PM   #9
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok here is /var/log/messages I hope this file helps it says i few things of usb-storage and shit here it is if u want anyother file just tell me and ill post it for u. I was going to post dmesg but i can copy and paste from terminal so if u can tell me where it is ill open it with kate or something. Thanx

Oct 22 13:59:08 DarkPunk kernel: isapnp: SB audio device quirk - increasing port range
Oct 22 13:59:08 DarkPunk kernel: isapnp: Card 'D-Link DE-220P PnP ISA Card'
Oct 22 13:59:08 DarkPunk kernel: isapnp: Card 'Creative ViBRA16C PnP'
Oct 22 13:59:08 DarkPunk kernel: isapnp: Card 'U.S.Robotics x2 Winmodem Voice'
Oct 22 13:59:08 DarkPunk kernel: isapnp: 3 Plug & Play cards detected total
Oct 22 13:59:08 DarkPunk kernel: Intel PCIC probe: not found.
Oct 22 13:59:08 DarkPunk kernel: Databook TCIC-2 PCMCIA probe: not found.
Oct 22 13:59:08 DarkPunk kernel: ds: no socket drivers loaded!
Oct 22 13:59:08 DarkPunk kernel: usb.c: registered new driver usbdevfs
Oct 22 13:59:08 DarkPunk kernel: usb.c: registered new driver hub
Oct 22 13:59:08 DarkPunk kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Oct 22 13:59:08 DarkPunk kernel: uhci.c: USB UHCI at I/O 0xff80, IRQ 9
Oct 22 13:59:08 DarkPunk kernel: usb.c: new USB bus registered, assigned bus number 1
Oct 22 13:59:08 DarkPunk kernel: hub.c: USB hub found
Oct 22 13:59:08 DarkPunk kernel: hub.c: 2 ports detected
Oct 22 13:59:08 DarkPunk kernel: usb-uhci.c: $Revision: 1.275 $ time 18:40:47 Sep 2 2003
Oct 22 13:59:08 DarkPunk kernel: usb-uhci.c: High bandwidth mode enabled
Oct 22 13:59:08 DarkPunk kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Oct 22 13:59:09 DarkPunk sshd[303]: Server listening on 0.0.0.0 port 22.
Oct 22 14:19:07 DarkPunk -- MARK --
Oct 22 14:35:16 DarkPunk kernel: hub.c: new USB device 00:07.2-2, assigned address 2
Oct 22 14:35:20 DarkPunk /etc/hotplug/usb.agent: Setup usb-storage for USB product 4cb/100/100
Oct 22 14:35:21 DarkPunk kernel: Initializing USB Mass Storage driver...
Oct 22 14:35:21 DarkPunk kernel: usb.c: registered new driver usb-storage
Oct 22 14:35:21 DarkPunk kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 22 14:35:21 DarkPunk kernel: sda: sda1
Oct 22 14:35:21 DarkPunk kernel: USB Mass Storage support registered.
Oct 22 14:35:35 DarkPunk kernel: usb.c: USB disconnect on device 00:07.2-2 address 2
Oct 22 14:35:53 DarkPunk kernel: Device 08:01 not ready.
Oct 22 14:35:53 DarkPunk kernel: Device 08:01 not ready.
Oct 22 14:35:53 DarkPunk kernel: Device not ready. Make sure there is a disc in the drive.
Oct 22 14:35:53 DarkPunk kernel: sda: Unit Not Ready, sense:
Oct 22 14:35:53 DarkPunk kernel: sda: I/O error: dev 08:00, sector 0
Oct 22 14:35:54 DarkPunk kernel: hub.c: new USB device 00:07.2-2, assigned address 3
Oct 22 14:35:57 DarkPunk /etc/hotplug/usb.agent: Setup usb-storage for USB product 4cb/100/100
Oct 22 14:36:37 DarkPunk kernel: sda:<3>hub.c: USB device not accepting new address (error=-110)
Oct 22 14:36:37 DarkPunk kernel: usb.c: USB disconnect on device 00:07.2-2 address 3
Oct 22 14:36:52 DarkPunk kernel: scsi: device set offline - command error recover failed: host 1 channel 0 id 0 lun 0
Oct 22 14:37:06 DarkPunk kernel: hub.c: new USB device 00:07.2-2, assigned address 4
Oct 22 14:37:09 DarkPunk /etc/hotplug/usb.agent: Setup usb-storage for USB product 4cb/100/100
Oct 22 14:37:18 DarkPunk kernel: usb.c: USB disconnect on device 00:07.2-2 address 4
Oct 22 14:59:07 DarkPunk -- MARK --
Oct 22 15:19:07 DarkPunk -- MARK --
Oct 22 15:39:07 DarkPunk -- MARK --
Oct 22 15:59:07 DarkPunk -- MARK --
Oct 22 16:19:07 DarkPunk -- MARK --
Oct 22 16:39:07 DarkPunk -- MARK --
Oct 22 16:50:29 DarkPunk kernel: hub.c: new USB device 00:07.2-2, assigned address 5
Oct 22 16:50:33 DarkPunk /etc/hotplug/usb.agent: Setup usb-storage for USB product 4cb/100/100
Oct 22 16:50:35 DarkPunk kernel: usb.c: USB disconnect on device 00:07.2-2 address 5
Oct 22 16:58:18 DarkPunk kernel: hub.c: new USB device 00:07.2-2, assigned address 6
Oct 22 16:58:22 DarkPunk /etc/hotplug/usb.agent: Setup usb-storage for USB product 4cb/100/100
Oct 22 16:58:32 DarkPunk kernel: usb.c: USB disconnect on device 00:07.2-2 address 6

I hope that helps i really need to get my digital Camera working Why would it just stop working like that it doesnt make any sense. Il post swaret log also
CDT 2003: [ GLOBAL ] - COMMAND: swaret --download blackbox
Tue Oct 21 19:34:50 CDT 2003: [ --download ] - Download blackbox-0.65.0-i386-1? (y/n): [y]
Tue Oct 21 19:34:51 CDT 2003: [ --download ] - [ ftp://ftp.slackware.no/pub/linux/sla...kware-current/ ]
Tue Oct 21 19:34:56 CDT 2003: [ --download ] - ### Fetching blackbox-0.65.0-i386-1 (324 kB)... DONE!
Tue Oct 21 19:34:56 CDT 2003: [ checksum_package() ] - => <MD5CHECK> Package blackbox-0.65.0-i386-1 is OK!
Tue Oct 21 19:34:57 CDT 2003: [ --download ] - Downloaded 1 File with a Size of 324 kB!
Tue Oct 21 19:35:34 CDT 2003: [ GLOBAL ] - COMMAND: swaret --install blackbox
Tue Oct 21 19:35:39 CDT 2003: [ --install ] - Install blackbox-0.65.0-i386-1? (y/n): [y]
Tue Oct 21 19:35:40 CDT 2003: [ --install ] - Package blackbox-0.65.0-i386-1 (324 kB) found in /var/swaret!
Tue Oct 21 19:35:58 CDT 2003: [ --install ] - => Installing blackbox-0.65.0-i386-1... DONE!
Tue Oct 21 19:36:01 CDT 2003: [ dependency_interactive_check() ] - => Verifying Dependencies... Libraries resolved sucessfully!
Tue Oct 21 20:03:54 CDT 2003: [ GLOBAL ] - COMMAND: swaret --upgrade
Tue Oct 21 20:05:54 CDT 2003: [ --upgrade ] - [ ftp://ftp.slackware.no/pub/linux/sla...kware-current/ ]
Tue Oct 21 20:06:26 CDT 2003: [ --upgrade ] - ### Fetching gtk+2-2.2.4-i486-1 (4218 kB)... DONE!
Tue Oct 21 20:06:26 CDT 2003: [ checksum_package() ] - => <MD5CHECK> Package gtk+2-2.2.4-i486-1 is OK!
Tue Oct 21 20:06:27 CDT 2003: [ --upgrade ] - [ ftp://ftp.slackware.no/pub/linux/sla...kware-current/ ]
Tue Oct 21 20:06:31 CDT 2003: [ --upgrade ] - ### Fetching inetd-1.79s-i486-3 (21 kB)... DONE!
Tue Oct 21 20:06:31 CDT 2003: [ checksum_package() ] - => <MD5CHECK> Package inetd-1.79s-i486-3 is OK!
Tue Oct 21 20:06:31 CDT 2003: [ --upgrade ] - [ ftp://ftp.slackware.no/pub/linux/sla...kware-current/ ]
Tue Oct 21 20:06:38 CDT 2003: [ --upgrade ] - ### Fetching lilo-22.5.7.2-i386-1 (289 kB)... DONE!
Tue Oct 21 20:06:38 CDT 2003: [ checksum_package() ] - => <MD5CHECK> Package lilo-22.5.7.2-i386-1 is OK!
Tue Oct 21 20:06:38 CDT 2003: [ --upgrade ] - Downloaded 3 Files with a Total Size of 4528 kB!
Tue Oct 21 20:08:22 CDT 2003: [ --upgrade ] - => Upgrading gtk+2-2.2.1-i386-1 -> gtk+2-2.2.4-i486-1... DONE!
Tue Oct 21 20:09:06 CDT 2003: [ --upgrade ] - => Upgrading inetd-1.79s-i386-1 -> inetd-1.79s-i486-3... DONE!
Tue Oct 21 20:09:45 CDT 2003: [ --upgrade ] - => Upgrading lilo-22.4.1-i386-2 -> lilo-22.5.7.2-i386-1... DONE!

Ok any other file u want me to post say. Thanx for ur time

Matt3333
 
Old 10-22-2003, 07:40 PM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Do as tpaul mentioned... Another thing I'd like to recommend is to set the FS type as vfat... One more advice would be to set only one mount point to one devnode.

So your fstab should look something like
Code:
/dev/sda1   /mnt/FujiFilm   vfat   noauto,users,ro   0 0
And if you need the mount point to be in your homedir, then just create a symlink to it by typing this (make sure you're NOT root):

Code:
ln -s /mnt/FujiFilm ~/FujiFilm
This will create a symlink (shortcut) to /mnt/FujiFilm in your homedir called FujiFilm.

The reason I don't recommend having multiple mount points pointing to one devnode is that you'll have conflicts which will be troublesome to pinpoint.

Eg. mounted /mnt/FujiFilm as root... Forgot to unmount... Logged in as user... Cannot mount /home/user/FujuFilm because root has mounted it earlier... Went nuts figuring it out... Commited suicide... etc. etc.

Hope this helps
 
Old 10-22-2003, 11:34 PM   #11
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i did what tipaul said and what u said to do and this is what that line looks like right now:

/dev/sda1 /mnt/FujiFilm vfat noauto,users,rw 0 0

Am i suppose to reboot after i edit this??? I dont think im suppose to so i didnt and NOPE it still doesnt work!!!!!!!!!!! anyother suggests of troubleshouting?? I even tried to switch the usb plug into different ports!!!! And Nothing I dunno what else i can do??? Thanx For ur replys and help!

Matt3333
 
Old 10-22-2003, 11:49 PM   #12
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Sorry but i probably shoulda put this one in with my last reply but I think it has something to do with linux not recongizeing it because when i turn off the camera i get the exectly the same error not something like can not connect to /dev/sda1 but mount: /dev/sda1 is not a valid block device. Just a thought!!! Hehe i hope we get this working because it kinda doesnt make sense that it worked before and all of a sudden like when my computer rebooted it doesnt work!!!!! anyways Thanx for ur replys!!

Matt3333
 
Old 10-22-2003, 11:54 PM   #13
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Did you do any kernel recompiling prior to this whole thing not working?

What does mount and cat /proc/mounts return?

And no, you don't need to reboot after editing your fstab.
 
Old 10-23-2003, 09:53 AM   #14
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
ok Nope i didnt now do any kernal complieing at all. Ok for MOUNT i get this:

root@DarkPunk:~#mount
/dev/hda1 on / type ext3 (rw)
/dev/hda5 on /home type ext3 (rw)
/dev/hdb5 on /var/www/ type ext3 (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode-620)
proc on /proc/bus/usb type usbfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

root@DarkPunk:~#cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/dev/hdb5 /home ext3 rw 0 0
/dev/hdb5 /var/www ext3 0 0
proc /proc proc rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
root@DarkPunk:~#

Ok i hope that helped!!!! Thanx

Matt3333
 
Old 10-23-2003, 10:08 AM   #15
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
From your log entries it also seems like your USB connection to the camera is problematic... disconnects randomly it seems. Try to ensure that the connections are secured and that the camera has sufficient battery power.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a Digital Camera bleedingturnips Linux - Hardware 2 11-19-2005 06:54 AM
Mounting Digital Camera jeff1500 Slackware 8 12-17-2004 05:52 PM
Digital Camera Mounting Roy-Svork Linux - Hardware 1 03-23-2004 08:39 AM
mounting digital camera true_atlantis Linux - Hardware 4 03-01-2004 02:48 AM
mounting digital camera christer Linux - Newbie 3 09-26-2003 06:32 AM


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