On Mon, Aug 28, 2006 at 02:37:55PM +0300, Tuomas wrote: > Hi, all! > > I run DesktopBSD 1.0 and I cannot mount floppies. I had the same problem > with FreeBSD 5.5. Here it goes: > > localhost# mount -t msdos /dev/fd0 /media/floppy > msdosfs: /dev/fd0: Input/output error > > localhost# fdformat /dev/fd0 > Format 1440K floppy `/dev/fd0'? (y/n): y > Processing fdformat: ioctl(FD_FORM): Input/output error > > This is what dmesg says: > > Copyright (c) 1992-2005 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 5.5-PRERELEASE #1: Sun Feb 5 17:26:01 CET 2006 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DESKTOPBSD > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (734.63-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > > Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> > real memory = 267264000 (254 MB) > avail memory = 251109376 (239 MB) > npx0: <math processor> on motherboard > npx0: INT 16 interface > acpi0: <IBM CDTPWSPU> on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0 > cpu0: <ACPI CPU> port 0x530-0x537 on acpi0 > acpi_throttle0: <ACPI CPU Throttling> on cpu0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > agp0: <Intel 82810E (i810E GMCH) SVGA controller> mem > 0xfea80000-0xfeafffff,0xf8000000-0xfbffffff irq 11 at device 1.0 on pci0 > pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci1: <ACPI PCI bus> on pcib1 > rl0: <RealTek 8139 10/100BaseTX> port 0x7800-0x78ff mem > 0xfebfff00-0xfebfffff irq 9 at device 1.0 on pci1 > miibus0: <MII bus> on rl0 > rlphy0: <RealTek internal media interface> on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:0e:2e:85:56:e1 > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel ICH UDMA66 controller> port > 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > uhci0: <Intel 82801AA (ICH) USB controller> port 0xff00-0xff1f irq 10 at > device 31.2 on pci0 > usb0: <Intel 82801AA (ICH) USB controller> on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > pci0: <serial bus, SMBus> at device 31.3 (no driver attached) > pcm0: <Intel ICH (82801AA)> port 0xf400-0xf43f,0xf000-0xf0ff irq 9 at > device 31.5 on pci0 > pcm0: <Analog Devices AD1881A AC97 Codec> > acpi_button0: <Power Button> on acpi0 > fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 3 > on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/9 bytes threshold > ppbus0: <Parallel port bus> on ppc0 > plip0: <PLIP network interface> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sio0: type 16550A > orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0 > pmtimer0 on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 734633835 Hz quality 800 > Timecounters tick every 1.000 msec > ad0: 19470MB <Maxtor 32049H2/YAH814Y0> [39560/16/63] at ata0-master UDMA66 > acd0: DVDROM <LG DVD-ROM DRD-8120B/1.03> at ata1-master PIO4 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: <LG DVD-ROM DRD8120B 1.03> Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > Mounting root from ufs:/dev/ad0s2a > > (End of dmesg.) > > I can mount floppies with other OSes, Kubuntu LiveCD for instance. I > googled and found other people having similar problems. One solution that > was put forward was using a non-ACPI kernel. With FreeBSD 5.5 I recompiled > the kernel with ACPI disabled, but the problem still persisted. I don't > know what to do now. > > (As a matter of fact, I might be having the same problem with cdrom!) > > Could someone help me? Much oblige! > > Tuomas > > >
As root... these are the following things I do for a FreeBSD Floppy: fdformat -y -f 1440 /dev/fd0 bsdlabel -w /dev/fd0 fd1440 newfs -L FreeBSD /dev/fd0 For a Dos floppy: fdformat -y -f 1440 /dev/fd0 newfs_msdos -f 1440 -L MSDOS /dev/fd0 Perferably I would use sudo to execute the above commands as a user. see sudo(8) and visudo(8) To mount the floppy I use the following: FreeBSD floppy... sudo mount -v -w /dev/fd0 /home/aj/floppy DOS floppy sudo mount_msdosfs /dev/fd0 /home/aj/floppy Just make sure to create a subdirectory in your home directory. see mount_msdosfs(8) and for cdroms mount_cd9660(8) Hope this helped you... -- FreeBSD 6.0-RELEASE i386 GENERIC _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"