lkml.org 
[lkml]   [1996]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectftape / floppy conflict

Hi!

On Sept. 1, Peter J. de Vrijer <peter@pa3ebv.ow.nl> wrote:

> In article <199609010847.EAA24479@marlin.ssnet.com>,
> Bob McCracken <kerouac@ssnet.com> writes:
>> Hi,
>>
>> I'm running now with the 2.0.17 kernel from the "pp17" patch,
>> and ftape seems to be working fine.
> Have you tried yousing the floppy at the same time when making
> a backup? 2.0.17 freezes when I do!

Ok, I just tried the following experiment, something I don't think
I've ever done before:

vt #1:
% modprobe floppy

vt #2:
% modprobe ftape
% afio -t /dev/ftape # lengthy directory listing starts

vt #1:
% mount -text2 -rv /dev/fd0H1743 /mnt
floppy0: Unable to grab IRQ6 for the floppy driver # ok with me
mount: /dev/fd0H1743 already mounted or /mnt busy # huh ?
#
# -- Taken at face value, this mount message isn't true

vt #2:
Ctrl-C # killed afio
% rmmod ftape # removed without error

% mount -text2 -rv /dev/fd0H1743 /mnt # failed with lots of error
# messages (see below)
% umount /mnt
umount: /mnt: not mounted # true enough

% rmmod floppy
floppy: Device or resource busy # Ouch!


So, my system isn't frozen, but floppy.o is stuck solid.

This isn't a situation I'm likely to inflict on myself as a single user, but
there's obviously a bug (irq-related?) in one or both of the drivers, and has
been for some time. E.g., under 2.0.0 I got geometry errors on diskettes that
were mounted after ftape.o had been loaded and removed with floppy.o already
present; the errors stopped if I also removed floppy.o, then reloaded it. I
haven't tried that test since. This one is much worse, of course.

The "mount" messages in /var/log/syslog:

Sep 1 21:19:54 kerouac kernel: VFS: Disk change detected on device 02:4c
Sep 1 21:19:57 kerouac kernel:
Sep 1 21:19:57 kerouac kernel: floppy driver state
Sep 1 21:19:57 kerouac kernel: -------------------
Sep 1 21:19:57 kerouac kernel: now=2484750 last interrupt=1794867 last called handler=01815d14
Sep 1 21:19:57 kerouac kernel: timeout_message=lock fdc
Sep 1 21:19:57 kerouac kernel: last output bytes:
Sep 1 21:19:57 kerouac kernel: c5 80 1794840
Sep 1 21:19:57 kerouac kernel: 0 90 1794840
Sep 1 21:19:57 kerouac last message repeated 2 times
Sep 1 21:19:57 kerouac kernel: 3 90 1794840
Sep 1 21:19:57 kerouac kernel: 2 90 1794840
Sep 1 21:19:57 kerouac kernel: 15 90 1794840
Sep 1 21:19:57 kerouac kernel: 25 90 1794840
Sep 1 21:19:57 kerouac kernel: ff 90 1794840
Sep 1 21:19:57 kerouac kernel: 12 80 2334676
Sep 1 21:19:57 kerouac kernel: 0 90 2334676
Sep 1 21:19:57 kerouac kernel: 13 80 2334676
Sep 1 21:19:57 kerouac kernel: 0 90 2334676
Sep 1 21:19:57 kerouac kernel: 1a 90 2334676
Sep 1 21:19:57 kerouac kernel: 0 90 2334676
Sep 1 21:19:57 kerouac kernel: 3 80 2334676
Sep 1 21:19:57 kerouac kernel: c1 90 2334676
Sep 1 21:19:57 kerouac kernel: 10 90 2334676
Sep 1 21:19:57 kerouac kernel: 7 80 2334676
Sep 1 21:19:57 kerouac kernel: 0 90 2334676
Sep 1 21:19:57 kerouac kernel: last result at 2334675
Sep 1 21:19:57 kerouac kernel: last redo_fd_request at 2371352
Sep 1 21:19:57 kerouac kernel:
Sep 1 21:19:57 kerouac kernel: status=80
Sep 1 21:19:57 kerouac kernel: fdc_busy=1
Sep 1 21:19:57 kerouac kernel: DEVICE_INTR=018171d0
Sep 1 21:19:57 kerouac kernel: cont=0181cf60
Sep 1 21:19:57 kerouac kernel: CURRENT=00000000
Sep 1 21:19:57 kerouac kernel: command_status=-1
Sep 1 21:19:57 kerouac kernel:
Sep 1 21:19:57 kerouac kernel: floppy0: floppy timeout called
Sep 1 21:19:57 kerouac kernel: VFS: Disk change detected on device 02:4c
Sep 1 21:20:00 kerouac kernel:
Sep 1 21:20:00 kerouac kernel: floppy driver state
Sep 1 21:20:00 kerouac kernel: -------------------
Sep 1 21:20:00 kerouac kernel: now=2485053 last interrupt=1794867 last called handler=01815d14
Sep 1 21:20:00 kerouac kernel: timeout_message=lock fdc
Sep 1 21:20:00 kerouac kernel: last output bytes:
Sep 1 21:20:00 kerouac kernel: c5 80 1794840
Sep 1 21:20:00 kerouac kernel: 0 90 1794840
Sep 1 21:20:00 kerouac last message repeated 2 times
Sep 1 21:20:00 kerouac kernel: 3 90 1794840
Sep 1 21:20:00 kerouac kernel: 2 90 1794840
Sep 1 21:20:00 kerouac kernel: 15 90 1794840
Sep 1 21:20:00 kerouac kernel: 25 90 1794840
Sep 1 21:20:00 kerouac kernel: ff 90 1794840
Sep 1 21:20:00 kerouac kernel: 12 80 2334676
Sep 1 21:20:00 kerouac kernel: 0 90 2334676
Sep 1 21:20:00 kerouac kernel: 13 80 2334676
Sep 1 21:20:00 kerouac kernel: 0 90 2334676
Sep 1 21:20:00 kerouac kernel: 1a 90 2334676
Sep 1 21:20:00 kerouac kernel: 0 90 2334676
Sep 1 21:20:00 kerouac kernel: 3 80 2334676
Sep 1 21:20:00 kerouac kernel: c1 90 2334676
Sep 1 21:20:00 kerouac kernel: 10 90 2334676
Sep 1 21:20:00 kerouac kernel: 7 80 2334676
Sep 1 21:20:00 kerouac kernel: 0 90 2334676
Sep 1 21:20:00 kerouac kernel: last result at 2334675
Sep 1 21:20:00 kerouac kernel: last redo_fd_request at 2484753
Sep 1 21:20:00 kerouac kernel:
Sep 1 21:20:00 kerouac kernel: status=80
Sep 1 21:20:00 kerouac kernel: fdc_busy=1
Sep 1 21:20:00 kerouac kernel: DEVICE_INTR=018171d0
Sep 1 21:20:00 kerouac kernel: cont=0181cf60
Sep 1 21:20:00 kerouac kernel: CURRENT=00000000
Sep 1 21:20:00 kerouac kernel: command_status=-1
Sep 1 21:20:00 kerouac kernel:
Sep 1 21:20:00 kerouac kernel: floppy0: floppy timeout called
Sep 1 21:20:03 kerouac kernel:
Sep 1 21:20:03 kerouac kernel: floppy driver state
Sep 1 21:20:03 kerouac kernel: -------------------
Sep 1 21:20:03 kerouac kernel: now=2485355 last interrupt=1794867 last called handler=01815d14
Sep 1 21:20:03 kerouac kernel: timeout_message=redo fd request
Sep 1 21:20:03 kerouac kernel: last output bytes:
Sep 1 21:20:03 kerouac kernel: c5 80 1794840
Sep 1 21:20:03 kerouac kernel: 0 90 1794840
Sep 1 21:20:03 kerouac last message repeated 2 times
Sep 1 21:20:03 kerouac kernel: 3 90 1794840
Sep 1 21:20:03 kerouac kernel: 2 90 1794840
Sep 1 21:20:03 kerouac kernel: 15 90 1794840
Sep 1 21:20:03 kerouac kernel: 25 90 1794840
Sep 1 21:20:03 kerouac kernel: ff 90 1794840
Sep 1 21:20:03 kerouac kernel: 12 80 2334676
Sep 1 21:20:03 kerouac kernel: 0 90 2334676
Sep 1 21:20:03 kerouac kernel: 13 80 2334676
Sep 1 21:20:03 kerouac kernel: 0 90 2334676
Sep 1 21:20:03 kerouac kernel: 1a 90 2334676
Sep 1 21:20:03 kerouac kernel: 0 90 2334676
Sep 1 21:20:03 kerouac kernel: 3 80 2334676
Sep 1 21:20:03 kerouac kernel: c1 90 2334676
Sep 1 21:20:03 kerouac kernel: 10 90 2334676
Sep 1 21:20:03 kerouac kernel: 7 80 2334676
Sep 1 21:20:03 kerouac kernel: 0 90 2334676
Sep 1 21:20:03 kerouac kernel: last result at 2334675
Sep 1 21:20:03 kerouac kernel: last redo_fd_request at 2485055
Sep 1 21:20:03 kerouac kernel:
Sep 1 21:20:03 kerouac kernel: status=80
Sep 1 21:20:03 kerouac kernel: fdc_busy=1
Sep 1 21:20:03 kerouac kernel: DEVICE_INTR=018171d0
Sep 1 21:20:03 kerouac kernel: cont=0181cf40
Sep 1 21:20:03 kerouac kernel: CURRENT=001a27ec
Sep 1 21:20:03 kerouac kernel: command_status=-1
Sep 1 21:20:03 kerouac kernel:
Sep 1 21:20:03 kerouac kernel: floppy0: floppy timeout called
Sep 1 21:20:03 kerouac kernel: end_request: I/O error, dev 02:4c, sector 2
Sep 1 21:20:03 kerouac kernel: EXT2-fs: unable to read superblock

---
- Bob McCracken kerouac@ssnet.com

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.069 / U:3.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site