i386/166469: Floppy disk utilities broken on FreeBSD 9.0-STABLE

Thomas Laus lausts at acm.org
Wed Mar 28 20:00:22 UTC 2012


>Number:         166469
>Category:       i386
>Synopsis:       Floppy disk utilities broken on FreeBSD 9.0-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 28 20:00:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Laus
>Release:        FreeBSD 9.0-STABLE
>Organization:
>Environment:
FreeBSD video.laus.org 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Mar 28 14:44:23 EDT
 2012     root at video.laus.org:/usr/obj/usr/src/sys/VIDEO  i386

>Description:
All of the floppy disk operations (fdformat, DD of an image to floppy, etc.) don't work on a computer that was running FreeBSD 8.3-RC1.  I reloaded 8.3-RC1 just to be sure that the hardware was still functional.  FreeBSD 8.3-RC1 works and FreeBSD 9.0-STABLE does not.

Here is my dmesg using FreeBSD 9.0-STABLE:

Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-STABLE #0: Wed Mar 28 14:44:23 EDT 2012
    root at video.laus.org:/usr/obj/usr/src/sys/VIDEO i386
CPU: Intel(R) Celeron(R) CPU 2.66GHz (2665.44-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Family = f  Model = 4  Stepping = 1
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x451d<SSE3,DTES64,MON,DS_CPL,TM2,CNXT-ID,xTPR>
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 2095869952 (1998 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <A M I  OEMAPIC >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7fef0000 (3) failed
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem 0xe8000000-0xefffffff,0xfbee0000-0xfbeeffff at device 0.0 on pci1
vgapci1: <VGA-compatible display> mem 0xf0000000-0xf7ffffff,0xfbef0000-0xfbefffff at device 0.1 on pci1
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xb800-0xb81f irq 16 at device 29.0 on pci0
usbus0 on uhci0
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xc000-0xc01f irq 19 at device 29.1 on pci0
usbus1 on uhci1
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xc400-0xc41f irq 18 at device 29.2 on pci0
usbus2 on uhci2
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xc800-0xc81f irq 16 at device 29.3 on pci0
usbus3 on uhci3
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xfbdffc00-0xfbdfffff irq 23 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4 on ehci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
skc0: <Marvell Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfbffc000-0xfbffffff irq 22 at device 5.0 on pci2
skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:11:2f:c4:fe:c2
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
fwohci0: <VIA Fire II (VT6306)> port 0xe400-0xe47f mem 0xfbffb800-0xfbffbfff irq 21 at device 13.0 on pci2
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:41:ac
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0xa800-0xa807,0xa400-0xa403,0xa000-0xa007,0x9800-0x9803,0x9400-0x940f irq 18 at device 31.2 on pci0
ata2: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
pcm0: <Intel ICH5 (82801EB)> port 0xb400-0xb4ff,0xb000-0xb03f mem 0xfbdff800-0xfbdff9ff,0xfbdff400-0xfbdff4ff irq 17 at device 31.5 on pci0
pcm0: <Analog Devices AD1985 AC97 Codec>
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
p4tcc0: <CPU Frequency Thermal Control> on cpu0
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ada0 at ata2 bus 0 scbus2 target 0 lun 0
ada0: <HDS722580VLSA80 V32OA63A> ATA-6 SATA 1.x device
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 78533MB (160836480 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
Timecounter "TSC" frequency 2665440640 Hz quality 1000
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <HP CD-Writer+ 9500 1.0e> Removable CD-ROM SCSI-0 device 
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata3 bus 0 scbus3 target 0 lun 0
cd1: <Optiarc DVD RW AD-7240S 1.03> Removable CD-ROM SCSI-0 device 
cd1: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ada0p2 [rw]...

>How-To-Repeat:
Type fdformat on a FreeBSD 9.0-STABLE computer.  It will mark all tracks on the floppy disk as bad.  Do the same test on the same computer running FreeBSD 8.3-RC1 and everything will operate normal.
>Fix:
Unknown

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list