fd0 problems with fedora

John Meagher jmeagher at patriot.net
Mon Feb 2 15:28:33 UTC 2004


Hello all,
I have just started with Fedora and my first installation attempt
crashed when I tried to create a boot disk.  So the second time I said
no to that option and did a mkbootdisk /dev/fd0 after the system came
up.  Crash again.  Rebooted, tried fdformat, crash again. mdir works
fine but mcopy crashes the system.

If I try to mount /dev/fd0 /mnt/floppy, it tells me fd0 is not a valid
block device.  ditto if I do it with the gui tool.  When the system
boots, "Floppy drive(s): fd0 is 1.44M" gets written in the log.

There's a bug in bugzilla # 102565 which is the first thing you see when
you google on fedora fdformat, but it's dated last Aug 18 and there's
been no action on it since assignment.  There also haven't been any
other complaints on this list as far as I can see, so it must be rare.

How can I go about troubleshooting this?  The captured strace follows.

Thanks,

John
---------------------------------------------------------



[root at lo /]# strace fdformat /dev/fd0
execve("/usr/bin/fdformat", ["fdformat", "/dev/fd0"], [/* 22 vars */]) =
0
uname({sys="Linux", node="lo.puxy.com", ...}) = 0
brk(0)                                  = 0x932a000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=41133, ...}) = 0
old_mmap(NULL, 41133, PROT_READ, MAP_PRIVATE, 3, 0) = 0xbf5c6000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 at h6\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1575400, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xbf5c5000
old_mmap(0x351000, 1279788, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x351000
old_mmap(0x484000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x132000) = 0x484000
old_mmap(0x487000, 10028, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x487000
close(3)                                = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xbf5c5760,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xbf5c6000, 41133)               = 0
brk(0)                                  = 0x932a000
brk(0x934b000)                          = 0x934b000
brk(0)                                  = 0x934b000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=33513072, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xbf3c5000
close(3)                                = 0
stat64("/dev/fd0", {st_mode=S_IFBLK|0660, st_rdev=makedev(2, 0), ...}) =
0
access("/dev/fd0", W_OK)                = 0
open("/dev/fd0", O_WRONLY|O_LARGEFILE)  = 3
ioctl(3, FDGETPRM, 0x804a238)           = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xbf3c4000
read(4, "# Locale name alias data base.\n#"..., 4096) = 2601
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xbf3c4000, 4096)                = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/util-linux.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xbf3c4000
write(1, "Double-sided, 80 tracks, 18 sec/"..., 63Double-sided, 80
tracks, 18 sec/track. Total capacity 1440 kB.
) = 63
write(1, "Formatting ... ", 15Formatting ... )         = 15
ioctl(3, FDFMTBEG, 0)                   = 0
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
write(1, "  0\10\10\10", 6)             = 6
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
write(1, "  1\10\10\10", 6)             = 6
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
write(1, "  2\10\10\10", 6)             = 6
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
ioctl(3, FDFMTTRK, 0xbff7f070)          = 0
write(1, "  3\10\10\10", 6)             = 6
ioctl(3, FDFMTTRK

----that's all she wrote-----








More information about the fedora-list mailing list