LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-18-2002, 12:44 AM   #1
lto
LQ Newbie
 
Registered: Jul 2002
Posts: 11

Rep: Reputation: 0
slackware 8.1 floppy drive not working


After running slackware 8.1 on my home machine for a few day, I notice that I could not mount the floppy drive. I installed the slackware 8.1 via cdrom directly. dmesg show kernel detected 1.44M floppy drive; however, it also said no floppy0 controller found. When I try to mount the /dev/fd0, system returns error message mount: /dev/fd0 is not a valid block device. I used stock usb.i kernel. Any Idea how to fix this? Thanks!
 
Old 07-18-2002, 06:45 AM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Boot the Slack 8.1 CD and see if the floppy drive works using the bare.i kernel. If it does, then it is a kernel issue. If it does not, then probably hardware problem.
 
Old 07-18-2002, 07:59 PM   #3
lto
LQ Newbie
 
Registered: Jul 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I've tried booting from the live cd with bare.i; The system is still not able to mount the floppy. The weird thing is that I can start the system with a linux boot floppy made by a different machine. Once booted, the floppy drive is in-accessible! any idea? Thanks!
 
Old 07-18-2002, 10:11 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
If you are not logged in as root then it could be a permission issue. Attempt it as the root user. I would think the command "su root" would do.

But in the regard of what you have stated my next thought then would be the file system on the floppy disk. What is the format of the diskette, FAT or ext2? Or depending on the method you use to mount.

If FAT (DOS), then use this to mount

mount -t vfat /dev/fd0 /mnt/floppy

If ext2, then use this to mount

mount -t ext2 /dev/fd0 /mnt/floppy

You could also attempt to format it ext2.

mke2fs /dev/fd0

I can't imagine any kernel being built not including floppy support and bare.i includes it. But the /dev/fd0 might be missing or incorrect. It should be listed in the /dev directory as (use "ls -l /dev/fd0" lowercase L's)

brw-rw---- 1 root floppy 2, 0 May 14 1996 /dev/fd0

If incorrect then delete it, recreate. If missing then create it. The date is not important. To create it use

mknod /dev/fd0 b 2 0

Let's see how far this gets. After a mount attempt, you can use the "dmesg" command on another console screen to see any errors that might be reported by the kernel that might be related.
 
Old 07-19-2002, 10:24 PM   #5
lto
LQ Newbie
 
Registered: Jul 2002
Posts: 11

Original Poster
Rep: Reputation: 0
well, I spent 2 hours re-install the slackware with bare.i kernel; The floppy drive is working now. However, gpm does not work with my usb mouse anymore . Fortunately, the usb mouse work under X by using /dev/psaux and Protocol "ImPS/2". I guess its time to customize my slackware kernel. Thanks!
 
Old 07-19-2002, 10:28 PM   #6
lto
LQ Newbie
 
Registered: Jul 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Oh, where the heck is gpm invoked while booting up? I know it resides in /etc/rc.d/rc.gpm. Thanks!
 
Old 07-19-2002, 11:32 PM   #7
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
The init level 3 file, rc.M, is where the rc.gpm file is called. If you want to terminate the execution though. Just do

chmod 000 /etc/rc.d/rc.gpm

It will disable the script and it will not be able to execute from any program. The rc.M script checks to see if it is executable before attempting to call it.

Oh, congrats on resolving your fd0 problem. I still don't understand it.
 
Old 07-20-2002, 12:00 AM   #8
lto
LQ Newbie
 
Registered: Jul 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks! It seems like the code in usb module some how creates a conflict with the floppy controller. Btw, I have a HP pavilion 7970 with winXP, FreeBSD 4.6, and slackware 8.1. I was trying to use the floppy to transfer the slackware's boot sector so I could use it with the NT boot manager. That's when I found out the drive was not working at all. All are working fine now. Oh, I just heard that debian 3.0 released today. I think I might give it a try. Thanks again!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy drive interfaced tape drive in Slackware isolationist Linux - Hardware 6 02-13-2006 05:54 AM
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
No floppy Drive for Slackware 10.0 zenchicken Linux - Laptop and Netbook 1 07-28-2004 03:34 PM
Slackware Install without a Floppy Drive? neilcpp Slackware 5 01-25-2004 09:38 PM
floppy drive not working with Mandrake Linux 8.1 opensource Linux - General 3 01-03-2004 12:44 PM


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