LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-20-2007, 12:29 PM   #1
maximum
LQ Newbie
 
Registered: Dec 2005
Location: Bogor, Indonesia
Distribution: Xnuxer (Local Distribution)
Posts: 10

Rep: Reputation: 0
slack12, computer hang when accessing floppy drive


Hi.. i'm having a very annoying problem with my linux machine, recently i just found out that my computer always hang when i accessing my floppy drive (it's a 3,5" Sony floppy drive), my computer always hang when i mount my floppy disk through KDE, or any X Window, even it hang when i mounted it manually without X (using runlevel 3). I install slack12 and ubuntu feisty in my computer and the same problem occur on both distro,.

My floppy drive can be used normally in windows, so i really dont know what is the problem. So please help me.. i'm stuck

Thank You
 
Old 09-20-2007, 12:33 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,727

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I would suspect that udev is creating the wrong type of device file for the floppy. You may need to alter the udev rules being used to create the device file.
 
Old 09-20-2007, 12:51 PM   #3
maximum
LQ Newbie
 
Registered: Dec 2005
Location: Bogor, Indonesia
Distribution: Xnuxer (Local Distribution)
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you for your reply, but how to change the udev rules? i never done that before..

I forgot to add, my computer also hang when accessing floppy drive on slack 9.1! but just like i said before the floppy drive works well on windows.

Thank's again

Last edited by maximum; 09-20-2007 at 01:30 PM.
 
Old 09-20-2007, 02:17 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Assuming the disk is not 1.38MB of bad sectors, after inserting the disk, don't mount it but instead check dmesg to see which device it's being attached to. Then run ls -l on that device. For example if it's /dev/fd0 (which it likely is) you would type
Code:
ls -l /dev/fdo
Look for the first letter to the left of the permissions. It should be a b to indicate a block device. I've had some issues in the past when my floppy disk or flash disk would be detected as character (c) instead of block (b) and would cause a hang when trying to mount it.

In a distro that used udev it's not too difficult to write a custom rule to force a device to use the block subsystem.
 
Old 09-21-2007, 12:11 AM   #5
maximum
LQ Newbie
 
Registered: Dec 2005
Location: Bogor, Indonesia
Distribution: Xnuxer (Local Distribution)
Posts: 10

Original Poster
Rep: Reputation: 0
Thank's for your reply, i have check the permission as you suggested., and there are nothing
wrong about it. A few moments ago i gave it another try.. i try to mount the floppy drive again
and rarely linux would mount my floppy and i can perform task (add, copy, delete) using the
floppy drive.. and then i restart my computer and it hang again when i try to mount floppy.

Just for checking i tried to access my floppy disk using ubuntu feisty live-cd, and
using the live cd i had no problem accesing my floppy drive, so.. this problem only occur if
i tried to access my floppy drive from an installed linux (my slack12 and ubuntu feisty are both
installed in my harddisk).

i've tried dmesg to see any annomalies but i dont see anything strange.. man.. i'm really
confused

Do you have any suggestion..??

Thank's again.
 
  


Reply

Tags
floppy


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
Boot floppy that tells computer to boot USB drive? General Debian 23 02-19-2014 09:55 PM
Accessing my floppy drive backpackingbiker Ubuntu 3 06-20-2005 12:14 PM
why is the computer always stopping the cd drive and the floppy from working? corn_jo Linux - General 5 03-02-2005 02:57 AM
Floppy Drive makes Knoppix boot hang Jacl Linux - Laptop and Netbook 0 05-19-2004 04:19 PM
Accessing information from a floppy drive inZioN Linux - Newbie 2 04-14-2004 08:40 AM


All times are GMT -5. The time now is 01:09 PM.

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