Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
floppy troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
south
n00b
n00b


Joined: 29 Sep 2004
Posts: 53
Location: Vienna

PostPosted: Wed Sep 29, 2004 9:28 pm    Post subject: floppy troubles Reply with quote

hi, i have the following problem:
i cant mount my floppy because i dont have a dir /dev/fd0
i do have a dir /dev/fd/0 but this i cant mount
i have activated the normal floppy support in the kernel (2.6.8-r3)
include ide/atapi support for floppy isn't active

here's my

bash-2.05b# dmesg | grep -i floppy
acpi_floppy_resource: 4 ioports at 0x3f2
acpi_floppy_resource: 1 ioports at 0x3f7
floppy: controller ACPI FDC0 at I/O 0x3f2-0x3f5, 0x3f7-0x3f7 irq 6 dma channel 2

and

bash-2.05b# zcat /proc/config.gz | grep -i floppy
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# Ftape, the floppy tape device driver

thy 4 help, greetings from the south
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed Sep 29, 2004 9:50 pm    Post subject: Reply with quote

Try setting
Code:
CONFIG_BLK_DEV_IDEFLOPPY=y
in your kernel config, re-compiling it, and see if that helps.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
strikinado
n00b
n00b


Joined: 23 Mar 2004
Posts: 2

PostPosted: Thu Sep 30, 2004 12:40 am    Post subject: Reply with quote

I have same problem, but my CONFIG_BLK_DEV_IDEFLOPPY=y is already set.

please help

ps: All is ok with flat cable and driver, it works in other O.S.

I think it is a kernel bug

Code:
2.6.8-gentoo-r3
bash-2.05b# dmesg  |grep flopp
acpi_floppy_resource: 4 ioports at 0x3f2
acpi_floppy_resource: 1 ioports at 0x3f7
floppy: controller ACPI FDC0 at I/O 0x3f2-0x3f5, 0x3f7-0x3f7 irq 6 dma channel 2
ide-floppy driver 0.99.newide
bash-2.05b# zgrep -i flopp /proc/config.gz
CONFIG_BLK_DEV_IDEFLOPPY=y
# Ftape, the floppy tape device driver
bash-2.05b#

Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1630
Location: U.S.A.

PostPosted: Thu Sep 30, 2004 1:51 am    Post subject: Reply with quote

Do you have a mount point in /mnt like /mnt/floppy?
What do you have for it in /etc/fstab?
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Thu Sep 30, 2004 3:18 am    Post subject: Reply with quote

EDIT: see these:
https://forums.gentoo.org/viewtopic.php?t=219706
https://bugs.gentoo.org/show_bug.cgi?id=61832


I recompiled it as a module after I found it didn't work built in...

With a disk in the drive:

Code:
root@laureate:~# uname -a
Linux laureate 2.6.8-gentoo-r3 #4 Wed Sep 29 22:54:11 EDT 2004 i686 AMD Athlon(TM) XP 2200+ AuthenticAMD GNU/Linux

root@laureate:~# modprobe floppy
FATAL: Error inserting floppy (/lib/modules/2.6.8-gentoo-r3/kernel/drivers/block/floppy.ko): No such device

root@laureate:~# cat /dev/fd[0-9]*
cat: /dev/fd0: No such device or address
cat: /dev/fd0CompaQ: No such device or address
cat: /dev/fd0d360: No such device or address
cat: /dev/fd0h1200: No such device or address
cat: /dev/fd0h1440: No such device or address
cat: /dev/fd0h1476: No such device or address
cat: /dev/fd0h1494: No such device or address
cat: /dev/fd0h1600: No such device or address
cat: /dev/fd0h360: No such device or address
cat: /dev/fd0h410: No such device or address
cat: /dev/fd0h420: No such device or address
cat: /dev/fd0h720: No such device or address
cat: /dev/fd0h880: No such device or address
cat: /dev/fd0u1040: No such device or address
cat: /dev/fd0u1120: No such device or address
cat: /dev/fd0u1440: No such device or address
cat: /dev/fd0u1600: No such device or address
cat: /dev/fd0u1680: No such device or address
cat: /dev/fd0u1722: No such device or address
cat: /dev/fd0u1743: No such device or address
cat: /dev/fd0u1760: No such device or address
cat: /dev/fd0u1840: No such device or address
cat: /dev/fd0u1920: No such device or address
cat: /dev/fd0u2880: No such device or address
cat: /dev/fd0u3200: No such device or address
cat: /dev/fd0u3520: No such device or address
cat: /dev/fd0u360: No such device or address
cat: /dev/fd0u3840: No such device or address
cat: /dev/fd0u720: No such device or address
cat: /dev/fd0u800: No such device or address
cat: /dev/fd0u820: No such device or address
cat: /dev/fd0u830: No such device or address
cat: /dev/fd1: No such device or address
cat: /dev/fd1CompaQ: No such device or address
cat: /dev/fd1d360: No such device or address
cat: /dev/fd1h1200: No such device or address
cat: /dev/fd1h1440: No such device or address
cat: /dev/fd1h1476: No such device or address
cat: /dev/fd1h1494: No such device or address
cat: /dev/fd1h1600: No such device or address
cat: /dev/fd1h360: No such device or address
cat: /dev/fd1h410: No such device or address
cat: /dev/fd1h420: No such device or address
cat: /dev/fd1h720: No such device or address
cat: /dev/fd1h880: No such device or address
cat: /dev/fd1u1040: No such device or address
cat: /dev/fd1u1120: No such device or address
cat: /dev/fd1u1440: No such device or address
cat: /dev/fd1u1600: No such device or address
cat: /dev/fd1u1680: No such device or address
cat: /dev/fd1u1722: No such device or address
cat: /dev/fd1u1743: No such device or address
cat: /dev/fd1u1760: No such device or address
cat: /dev/fd1u1840: No such device or address
cat: /dev/fd1u1920: No such device or address
cat: /dev/fd1u2880: No such device or address
cat: /dev/fd1u3200: No such device or address
cat: /dev/fd1u3520: No such device or address
cat: /dev/fd1u360: No such device or address
cat: /dev/fd1u3840: No such device or address
cat: /dev/fd1u720: No such device or address
cat: /dev/fd1u800: No such device or address
cat: /dev/fd1u820: No such device or address
cat: /dev/fd1u830: No such device or address


Also I don't think I can get it to beep anymore. :-(
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Thu Sep 30, 2004 10:18 am    Post subject: Reply with quote

I have exactly the same problem.

This is definitly a Kernel problem.

1) The floppy drive works in windows and I can boot off it
2) When compiled as a module it cannot be instered with modprobe (same error as above)

3) When compiled into kernel it doesnt work
4) there is no /dev/fd0
5) I have a /mnt/floppy and fstab points to /dev/fd0 and /mnt/floppy
6) am using udev (same probe with devfs) - but THIS IS A KERNEL PROB!!

Please what can I do to get the use of floppy back. I use linux all hte time at home but my lass boots into windows (just because GRUB defaults to windows) with the MS JPG fault I have asked he to only use liux for now - she likes it BUT she needs the floppy for her work
Back to top
View user's profile Send private message
south
n00b
n00b


Joined: 29 Sep 2004
Posts: 53
Location: Vienna

PostPosted: Sun Oct 03, 2004 9:19 am    Post subject: Reply with quote

hi, solution might be using the newer 2.6.8-r5 kernel
hadn't time to merge it, but this should do it
_________________
gentoo-2.6.10-r6; x86; kde 3.4
athlon xp2000, nvidia

greetings from the south
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sun Oct 03, 2004 10:39 am    Post subject: Reply with quote

yes, using -r5 or -r6 will solve the issue.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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