Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] fstab and usb...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 1:26 pm    Post subject: [SOLVED] fstab and usb... Reply with quote

My usb seems not to be working under 2.6 but is fine if I boot to 2.4. I've seen references to possible fstab wording having an effect on usb, but I can detect no change in my fstab from previous:
Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>             <mountpoint>    <type>     <opts>            <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1      /boot      ext2      defaults,noatime      1 2
/dev/hda3      /      reiserfs      noatime         0 1
/dev/hda2      none      swap      sw         0 0
/dev/hda4               /home           reiserfs                noatime         0 0       
/dev/cdroms/cdrom0   /mnt/cdrom   auto      user,unhide,noauto      0 0         

#/dev/fd0      /mnt/floppy   auto      noauto         0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      nodev,nosuid,noexec      0 0


I really don't know why I have no usb in 2.6, but I'm skeptical if it's related to fstab.

Anyone with any thoughts on this??

Thanks, in advance...
_________________
"Primum non nocere" ---Galen


Last edited by cgmd on Fri Apr 29, 2005 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
flyinspirit001
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 266
Location: localhost,localdomain

PostPosted: Thu Apr 28, 2005 2:01 pm    Post subject: Reply with quote

Have u checked in kernel upgrede the ---> General setup | Support for hot-pluggable devices. ?

also, check this link http://www.linux-sxs.org/upgrading/migration26.html

hope this'll help ya
_________________
"Ride the infinity, be your best. For you, for all"
Dungeon01 - linux registered user #362502
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Apr 28, 2005 2:02 pm    Post subject: Reply with quote

i fail to see any usb device in your fstab 8O

are you actually talking about an usb drive or stick or whatever?
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 3:21 pm    Post subject: Reply with quote

I'm talking about a digital camera, which I am able to access and download when using kde in 2.4. If I reboot to kde in 2.6 I cannot access the camera. I use digikam within kde for this purpose.
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 3:31 pm    Post subject: Reply with quote

flyinspirit001 wrote...
Quote:
Have u checked in kernel upgrede the ---> General setup | Support for hot-pluggable devices. ?


menuconfig does not permit me to select any options for 'Support for hot pluggable devices'...
Code:
()  Local version - append to kernel release                                        x x
  x x                 [*] Support for paging of anonymous memory (swap)                                   x x
  x x                 [*] System V IPC                                                                    x x
  x x                 [ ] POSIX Message Queues                                                            x x
  x x                 [*] BSD Process Accounting                                                          x x
  x x                 [ ]   BSD Process Accounting version 3 file format                                  x x
  x x                 [*] Sysctl support                                                                  x x
  x x                 [ ] Auditing support                                                                x x
  x x                 (14) Kernel log buffer size (16 => 64KB, 17 => 128KB)                               x x
  x x                 --- Support for hot-pluggable devices                                               x x
  x x                 [*] Kernel Userspace Events                                                         x x
  x x                 [ ] Kernel .config support                                                          x x
  x x                 [ ] Configure standard kernel features (for small systems)  --->                    x x
  x x                                                                                                     x x
  x x                                                                                                     x x
  x x                                                                                                     x x
  x x                                                       


I'm not sure what that means, but I believe I ran across a statement that that option applies to certain specific motherboards and is therefore not always an option. I would love more information on that too! :?

Thanks for your suggestions... I'll check the link...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Apr 28, 2005 3:35 pm    Post subject: Reply with quote

anyway, does dmesg show your camera?
do you also have coldplug emerged? if not:
emerge coldplug
rc-update add coldplug default
/etc/init.d/coldplug start

about the kernel:
CONFIG_HOTPLUG=y
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 4:05 pm    Post subject: Reply with quote

hds...

I have already installed cold plug, and it is running:
Code:
 linux # /etc/init.d/coldplug start
 * WARNING:  "coldplug" has already been started.


I also have hotplug showing in my config...
Code:
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set


As for dmesg with the camera plugged in, I will try that when I'm on site with the gentoo box in a couple hours (at work right now), and I'll be happy to post the output, then.

Thanks once again for a hand with this... I really appreciate the help!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Apr 28, 2005 4:11 pm    Post subject: Reply with quote

just btw.. simply switch to tty12, and plug the camera in. you immediately see if it is detected and attached.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 4:14 pm    Post subject: Reply with quote

Please explain:
Quote:
switch to tty12
I'm unfamiliar with it or how to use it.

Thanks...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Apr 28, 2005 4:32 pm    Post subject: Reply with quote

err, press Strg-Alt F12
well, youll see if you are at home.
also /var/log/messages will show if it found the device.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 5:21 pm    Post subject: Reply with quote

OK, I'll repost when I'm home...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 7:39 pm    Post subject: Reply with quote

hds I am back, now, at my gentoo system...

Please re-explain what I should do to verify my camera presence? dmesg?
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Apr 28, 2005 7:49 pm    Post subject: Reply with quote

When I
Quote:
press Strg-Alt F12
I get a black console. Plugging in the camera does nothing to change it.
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Apr 28, 2005 8:48 pm    Post subject: Reply with quote

emerge syslog-ng
rc-update syslog-ng default
/etc/init.d/syslog-ng start

or something like that..
TTY12 should show some info, no?

btw.. avoid postcount++
------------------------------------------------------------------------
you are able to edit your post, right? no need to reply to yourself!
OTOH, no need to adress me directly. i am going to bed now, i live in europe and it is 11pm over here.
others will help out, if time permits to them.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Fri Apr 29, 2005 1:06 pm    Post subject: Reply with quote

It now works!

Syslog-ng did not show any camera usb plug-in activuty in TTY12...

Looking back over the usb doc http://www.gentoo.org/doc/en/usb-guide.xml and comparing it to my 2.6 .config, led to the discovery of some options that I should have 'built-in' rather than use as modules. Changing my kernel configuration, accordingly, resolved the problem.

The digital cam is now fully accessable! :D

Thanks, to all, for your help with this!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum