LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-23-2007, 10:38 AM   #16
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53

Quote:
Originally Posted by linuxhippy View Post
compiled as modules.
Can it be that those modules are not loaded when mount in fstab occurs?
 
Old 11-23-2007, 11:44 AM   #17
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by Alien_Hominid View Post
Can it be that those modules are not loaded when mount in fstab occurs?
that's what I was thinking...could I just do a mkinitrd -m (which module) -k 2.6.23.8 and then put the appropriate initrd line into /etc/lilo.conf?

If so, which module (lsmod shows a couple usb modules....I didn't build any into the kernel)?
 
Old 11-23-2007, 11:52 AM   #18
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Those I remember are ehci, ohci, uhci. There are more, you can check at kernel config.
 
Old 11-23-2007, 03:52 PM   #19
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
You would also need the scsi disk module and usb mass storage module, however they are called.
 
Old 11-23-2007, 07:06 PM   #20
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
lsmod shows this:

Module Size Used by
ohci_hcd 16644 0
xt_tcpudp 2944 5
nf_conntrack_ipv4 12424 1
xt_state 2048 1
nf_conntrack 46364 2 nf_conntrack_ipv4,xt_state
nfnetlink 4248 2 nf_conntrack_ipv4,nf_conntrack
iptable_filter 2304 1
ip_tables 9928 1 iptable_filter
x_tables 9860 3 xt_tcpudp,xt_state,ip_tables
ipv6 196324 12
sg 23196 0
psmouse 32528 0
usb_storage 46596 1
8139too 19328 0
mii 4224 1 8139too
ehci_hcd 25996 0
uhci_hcd 18444 0
shpchp 26132 0
serio_raw 4868 0
evdev 6912 0
i2c_i810 4100 0
i2c_algo_bit 4996 1 i2c_i810
i2c_i801 7440 0
i2c_core 17680 3 i2c_i810,i2c_algo_bit,i2c_i801
intel_agp 20116 1
agpgart 24112 1 intel_agp



I'm thinking I should just build the modules into the kernel that I need for this USB 2.0 drive. Where in the kernel config is the options for building these modules into kernel 2.6.23.8 (I use menuconfig)?

Last edited by linuxhippy; 11-23-2007 at 07:17 PM.
 
Old 11-23-2007, 07:43 PM   #21
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
How did you get it to mount? I am having the same problem, not using automount though. Whereas the USB thumbdrive usually gets assigned a /dev, such as /dev/sda1, that is no longer happening for me and I can't figure out why!
 
Old 11-24-2007, 02:38 AM   #22
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
@LinuxHippy: Press space


@Vincent Vega: Run dmesg. Don't know how those mount points at dev are assigned (somebody tell me) and never found a better way to check what's happening.

Last edited by Alien_Hominid; 11-24-2007 at 02:42 AM.
 
Old 11-24-2007, 04:28 AM   #23
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Plug it in after the machine has booted and see if the syslog says anything intelligent about it.

Either way, the last two fields should be "1 2" and not "0 0".

Last edited by evilDagmar; 11-24-2007 at 04:43 AM.
 
Old 11-24-2007, 06:18 AM   #24
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Quote:
Originally Posted by Alien_Hominid View Post
@Vincent Vega: Run dmesg. Don't know how those mount points at dev are assigned (somebody tell me) and never found a better way to check what's happening.
The way I watch all of this happen is with:
Code:
tail -s 3 -f /var/log/messages
There is the initial messages that the system recognized something was plugged into the USB and usually a second after that it shows something like:
"sda : sda1"
But that's the part that never happens!
 
Old 11-24-2007, 06:20 AM   #25
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Quote:
Originally Posted by evilDagmar View Post
Plug it in after the machine has booted and see if the syslog says anything intelligent about it.

Either way, the last two fields should be "1 2" and not "0 0".
Why use 1 2 instead of 0 0? I always set up the usb thumbdrives with 0 0 and I have never had any problems.
 
Old 11-24-2007, 10:52 AM   #26
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
The "1" can be useful if you make backups with a tool that works like the old "dump" tool did, and understands that field from the "fstab" file. It's usually a good idea to set it to "1", for tradition, with mount points that hold data that would typically be copied as part of a backup. In this case it could be right.

The second number, a "2" in this case, is used by "fsck" when invoked with the "-A" option to check every filesystem, in order. "fsck" is invoked this way from "rc.S" but could also be invoked by hand. It's, like the previous field, useful when the mount point refers to a "system" mount point like /, /home, etc. The user would have to decide if it's appropriate in this case. If you end up mounting the filesystem from rc.local because you're not able to appropriately load all the required modules from the initrd (or other problems) and you never run fsck by hand this way, it wouldn't be used. Read "man fstab" and "man fsck" for more details, as well as /etc/rc.d/rc.S.
 
  


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
USB Drive Does Not Automount (GNOME) carlosinfl Debian 12 02-12-2009 09:21 PM
automount external USB drive unknownmosquito Linux - Hardware 5 06-08-2007 05:39 PM
USB Flash Drive will not automount drlinux VectorLinux 6 04-19-2007 04:47 PM
automount of usb drive konramesh Linux - Hardware 1 12-02-2006 10:16 PM
USB Pen Drive no automount in Suse 10.0 litlmary SUSE / openSUSE 1 05-25-2006 09:29 AM

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

All times are GMT -5. The time now is 12:10 AM.

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