Dirk Heinrichs wrote:
> Am Dienstag, 3. Juni 2008 schrieb ext Tim:
>> I recently had occasion to need a floppy drive. Thankfully, there was
>> one in my Gentoo box, but no support in the kernel. I added
>> CONFIG_BLK_DEV_IDEFLOPPY=y to .config and already had support for my IDE
>> chipset included, rebuilt my kernel, and rebooted.
>>
>> Now I have a folder /dev/fd/, but every entry there (0, 1, 2, and 255)
>> are all symlinks to /dev/pts/0. Relevant command outputs:
> 
> That's correct.
> 
>> # dmesg|grep -i floppy
>> ide-floppy driver 0.99.newide
> 
>> What do I need to do to get usable block access to my floppy from
>> something in /dev/fd?
> 
> Nothing. It's IDE Floppy, not Floppy. You should have new hd* entries 
> in /dev for your IDE Floppy device. Read some more lines in your dmesg 
> output.
> 
> HTH...
> 
>       Dirk
Nothing there either.

# dmesg|grep -i hd
Kernel command line: root=/dev/hda3
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD400BB-23DEA0, ATA DISK drive
hdb: IC35L060AVER07-0, ATA DISK drive
hdc: Hewlett-Packard DVD Writer 300, ATAPI CD/DVD-ROM drive
hdd: FX320S, ATAPI CD/DVD-ROM drive
hda: max request size: 128KiB
hda: Host Protected Area detected.
hda: Host Protected Area disabled.
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63,
UDMA(100)
hdb: cache flushes not supported
 hdb: hdb1
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
hdd: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
NTFS-fs warning (device hdb1): load_system_files(): $LogFile is not
clean.  Will not be able to remount read-write.  Mount in Windows.
Adding 506036k swap on /dev/hda2.  Priority:-1 extents:1 across:506036k

My primary IDE is two hard drives, hda being Gentoo and relevant
partitions and hdb holding Windows XP in a single partition. My
secondary is two CD/DVD drives. Nothing in dmesg, either in this excerpt
or otherwise, indicates the presence of an IDE floppy at /dev/hd*.

# ls -al /dev/hd*
brw-rw---- 1 root disk   3,  0 Jun  2 20:35 /dev/hda
brw-rw---- 1 root disk   3,  1 Jun  2 20:35 /dev/hda1
brw-rw---- 1 root disk   3,  2 Jun  2 20:35 /dev/hda2
brw-rw---- 1 root disk   3,  3 Jun  2 20:35 /dev/hda3
brw-rw---- 1 root disk   3, 64 Jun  2 20:35 /dev/hdb
brw-rw---- 1 root disk   3, 65 Jun  2 20:35 /dev/hdb1
brw-rw---- 1 root cdrom 22,  0 Jun  2 20:35 /dev/hdc
brw-rw---- 1 root cdrom 22, 64 Jun  2 20:35 /dev/hdd

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to