2007-12-06 09:45:04

by Justin Piszcz

[permalink] [raw]
Subject: 2.6.23.9: x86_64: floppy not working: p35 chipset

Trying to format a floppy (2-3 of them) on a GA-P35-DS4 2.0 with a regular
Sony floppy on Debian x86_64 with kernel 2.6.23.9:

# fdformat /dev/fd0
Could not determine current format type: No such device
# mformat a:
mformat: Could not get geometry of device (No such device)
#

# cat /proc/interrupts |grep floppy
6: 38 37 39 41 IO-APIC-edge floppy

# dmesg|grep -A1 fd0
[ 52.689487] Floppy drive(s): fd0 is 1.44M
[ 52.704661] FDC 0 is a post-1991 82077

During the 'attempted format'

[34324.175770] floppy0: probe failed...
[34324.575342] floppy0: probe failed...
[34324.974733] floppy0: probe failed...
[34325.374302] floppy0: probe failed...
[34325.773746] floppy0: probe failed...
[34326.173312] floppy0: probe failed...
[34326.572734] floppy0: probe failed...
[34326.972241] floppy0: probe failed...
[34327.371739] floppy0: probe failed...
[34327.771344] floppy0: probe failed...
[34328.170727] floppy0: probe failed...
[34328.570283] floppy0: probe failed...
[34328.969717] floppy0: probe failed...
[34329.369275] floppy0: probe failed...
[34329.768691] floppy0: probe failed...
[34330.168197] floppy0: probe failed...
[34330.168257] end_request: I/O error, dev fd0, sector 0

I've tried a few different floppies, the result is the same. The system
is 64-bit only, no 32-bit emulation is enabled using a strict 64-bit-only
userland. Has anyone else gotten their floppy drive to work under 64-bit?

Is this just a case of a DOA floppy drive or is something else wrong?

Justin.


2007-12-07 17:55:01

by Bill Davidsen

[permalink] [raw]
Subject: Re: 2.6.23.9: x86_64: floppy not working: p35 chipset

Justin Piszcz wrote:
> Trying to format a floppy (2-3 of them) on a GA-P35-DS4 2.0 with a
> regular Sony floppy on Debian x86_64 with kernel 2.6.23.9:
>
> # fdformat /dev/fd0
> Could not determine current format type: No such device
> # mformat a:
> mformat: Could not get geometry of device (No such device)
> #
>
> # cat /proc/interrupts |grep floppy
> 6: 38 37 39 41 IO-APIC-edge floppy
>
> # dmesg|grep -A1 fd0
> [ 52.689487] Floppy drive(s): fd0 is 1.44M
> [ 52.704661] FDC 0 is a post-1991 82077
>
> During the 'attempted format'
>

>
> I've tried a few different floppies, the result is the same. The system
> is 64-bit only, no 32-bit emulation is enabled using a strict
> 64-bit-only userland. Has anyone else gotten their floppy drive to work
> under 64-bit?
>
> Is this just a case of a DOA floppy drive or is something else wrong?
>
Maybe booting from a 32 bit live CD would help determine that. It
certainly was seen at boot time. Didn't get hooked to some SCSI device
name by udev, did it?


--
Bill Davidsen <[email protected]>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot

2007-12-07 17:55:48

by Justin Piszcz

[permalink] [raw]
Subject: Re: 2.6.23.9: x86_64: floppy not working: p35 chipset



On Fri, 7 Dec 2007, Bill Davidsen wrote:

> Justin Piszcz wrote:
>> Trying to format a floppy (2-3 of them) on a GA-P35-DS4 2.0 with a regular
>> Sony floppy on Debian x86_64 with kernel 2.6.23.9:
>>
>> # fdformat /dev/fd0
>> Could not determine current format type: No such device
>> # mformat a:
>> mformat: Could not get geometry of device (No such device)
>> #
>>
>> # cat /proc/interrupts |grep floppy
>> 6: 38 37 39 41 IO-APIC-edge floppy
>>
>> # dmesg|grep -A1 fd0
>> [ 52.689487] Floppy drive(s): fd0 is 1.44M
>> [ 52.704661] FDC 0 is a post-1991 82077
>>
>> During the 'attempted format'
>>
>
>>
>> I've tried a few different floppies, the result is the same. The system is
>> 64-bit only, no 32-bit emulation is enabled using a strict 64-bit-only
>> userland. Has anyone else gotten their floppy drive to work under 64-bit?
>>
>> Is this just a case of a DOA floppy drive or is something else wrong?
>>
> Maybe booting from a 32 bit live CD would help determine that. It certainly
> was seen at boot time. Didn't get hooked to some SCSI device name by udev,
> did it?
>
>
> --
> Bill Davidsen <[email protected]>
> "We have more to fear from the bungling of the incompetent than from
> the machinations of the wicked." - from Slashdot
>

Retried with some other floppies and later tried the original, everything
seems to be working now, must have been a bad floppy/some transient issue.

Justin.

2007-12-07 18:06:50

by Bill Davidsen

[permalink] [raw]
Subject: Re: 2.6.23.9: x86_64: floppy not working: p35 chipset

Justin Piszcz wrote:
>
>
> On Fri, 7 Dec 2007, Bill Davidsen wrote:
>
>> Justin Piszcz wrote:
>>> Trying to format a floppy (2-3 of them) on a GA-P35-DS4 2.0 with a
>>> regular Sony floppy on Debian x86_64 with kernel 2.6.23.9:
>>>
>>> # fdformat /dev/fd0
>>> Could not determine current format type: No such device
>>> # mformat a:
>>> mformat: Could not get geometry of device (No such device)
>>> #
>>>
>>> # cat /proc/interrupts |grep floppy
>>> 6: 38 37 39 41 IO-APIC-edge
>>> floppy
>>>
>>> # dmesg|grep -A1 fd0
>>> [ 52.689487] Floppy drive(s): fd0 is 1.44M
>>> [ 52.704661] FDC 0 is a post-1991 82077
>>>
>>> During the 'attempted format'
>>>
>>
>>>
>>> I've tried a few different floppies, the result is the same. The
>>> system is 64-bit only, no 32-bit emulation is enabled using a strict
>>> 64-bit-only userland. Has anyone else gotten their floppy drive to
>>> work under 64-bit?
>>>
>>> Is this just a case of a DOA floppy drive or is something else wrong?
>>>
>> Maybe booting from a 32 bit live CD would help determine that. It
>> certainly was seen at boot time. Didn't get hooked to some SCSI
>> device name by udev, did it?
>>
>>
>> --
>> Bill Davidsen <[email protected]>
>> "We have more to fear from the bungling of the incompetent than from
>> the machinations of the wicked." - from Slashdot
>>
>
> Retried with some other floppies and later tried the original,
> everything seems to be working now, must have been a bad floppy/some
> transient issue.

Great! I did test that FC8 with a Fedora kernel will see and use the
floppy. Even found a floppy to use. Now I have to figure out why I have
a floppy with a gzipped ext2 filesystem on it. :-(
Doesn't appear to be bootable, I thought it might be SYSLINUX for an old
system which couldn't boot from CD or USB, but that doesn't seem to be
the case.

Anyway, glad the problem went away.

--
Bill Davidsen <[email protected]>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark