LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-17-2005, 06:36 AM   #1
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
hotplug


hi all,

i'm having random issues with my usb thumbdrive and i was wondering if it was possibly because of the version of hotplug that i have (hotplug-2004_01_05-noarch-3). the issues i've been having is that it will quite frequently (but not always) happen that I can't unmount the drive or things just lock up when i copy something over to it. not always though, but often enough for it to be a nuissance.

anyways, i was just wondering if anyone has had similar issues or there are known issues with the version of hotplug that i am running.

thanks in advance,
drisay.
 
Old 01-19-2005, 08:50 PM   #2
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
I think the issue isn't hotplug but the 2.4 kernel and it's limits. 2.6.x works awesome tho.
 
Old 01-20-2005, 06:44 AM   #3
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Original Poster
Rep: Reputation: 30
thanks for the reply.

i'm not so sure about that though. although you may be correct, i was using 2.4 previously with the same version of hotplug and all was fine. i guess i should have mentionned this in the previous post, but i recently reinstalled and it's since then that things haven't been working quite right. now it seems that everything i plug in the drive, i can't unmount it and shutdown the pc takes about 20 times longer... about 10 minutes to do a shutdown.

is there a log file i could tail while i unmount the drive to see if there are any errors? does any one know of anything else i could try. i'm gonna try upgrading the version of hotplug, but i still haven't had the chance to.
 
Old 01-20-2005, 07:54 AM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
maby you can try stopping hotplug itself before you shutdown, and see if you still get a 10 minute wait..
/etc/rc.d/rc.hotplug stop
(or something)
 
Old 01-20-2005, 12:39 PM   #5
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Original Poster
Rep: Reputation: 30
thanks for the idea. i'll give it a try.
 
Old 01-21-2005, 06:31 AM   #6
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Original Poster
Rep: Reputation: 30
i actually tried repartitioning/reformatting the usb drive and it appears to be ok now. i had recently formatted it on my win2k box at work and i guess for some reason that messed things up. although it was formatted to fat32.

but now for some reason i think the partition is fat16 because i had to use mkfs.msdos... i don't have mkfs.vfat on my system for some reason. how would i go about getting that?????
 
Old 01-21-2005, 09:20 AM   #7
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
i can see how partioning in windows might confuse things, but i don't think it would hurt to format it in windows.
 
Old 01-21-2005, 09:39 AM   #8
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Original Poster
Rep: Reputation: 30
not sure... maybe for some reason it actually partitioned it as ntfs... but as soon as i reformatted it with another partition type... it was fine.
 
Old 01-22-2005, 03:24 AM   #9
MBH
Member
 
Registered: Sep 2003
Location: Kuwait
Distribution: Slack 10.0 @ Kernel 2.4.27
Posts: 63

Rep: Reputation: 15
I still get some unmount problems with my drive, reviewed here http://www.linuxquestions.org/hcl/sh...p?product=2285

When mounting, try using this ::

mount -t vfat -o loop /dev/sdxy /mnt/yourDirectory

You mentioned that you don't have vfat, you can easily add the module to the kernel, or compile it as a standalone module.

cd /usr/src/linux
make xconfig

Go to 'File systems' tab/section

Make sureto select the option 'VFAT (Windows-95) fs support'either as a module or compiled into the kernel.

* Since you don't have it compiled into the kernel, I recommend you compile it as a module, that will save you time recompiling the whole kernel!

Save your settings and do this::

make dep
make modules
make modules_install

You might need to add this line to your rc.local file in /etc/rc.d
modprobe vfat

I hope that helps.
 
  


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
To hotplug or not to hotplug? greythorne Arch 3 06-07-2005 05:55 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
hotplug? DrGnome Linux - Software 8 04-07-2004 10:35 AM
Hotplug Sargy Linux - Software 1 04-04-2004 04:01 PM
Hotplug megaspaz Linux - Laptop and Netbook 8 09-28-2003 01:20 PM

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

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