NetBSD Problem Report #21252
Received: (qmail 9747 invoked by uid 605); 21 Apr 2003 18:55:10 -0000
Message-Id: <20030421185504.9E59611152@narn.netbsd.org>
Date: Mon, 21 Apr 2003 18:55:04 +0000 (UTC)
From: hth@update.uu.se
Sender: gnats-bugs-owner@netbsd.org
Reply-To: hth@update.uu.se
To: gnats-bugs@gnats.netbsd.org
Subject: Kernel panics after changing floppy when using 'dd'
X-Send-Pr-Version: www-1.0
>Number: 21252
>Category: port-amiga
>Synopsis: Kernel panics after changing floppy when using 'dd'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: is
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 21 18:56:00 +0000 2003
>Closed-Date: Mon Apr 30 23:59:18 +0000 2012
>Last-Modified: Mon Apr 30 23:59:18 +0000 2012
>Originator: Håkan Thörngren
>Release: 1.6
>Organization:
>Environment:
NetBSD kraki 1.6 NetBSD 1.6 (KRAKI) #1: Tue Mar 25 10:59:43 CET 2003 acumen@kraki:/usr/src/sys/arch/amiga/compile/KRAKI amiga
>Description:
I want to copy some old Amiga floppies using dd but run into kernel panics when I change the floppy, it is consistent and happens all the time.
I am also pretty certain that the same problem occurs when there is a read error during copy.
This worked like 5+ years ago on a different NetBSD version (have no idea which). It handled floppy changes and read errors with no ill effects.
I have recompiled the kernel to get a smaller one.
I am using an A3000 (plain 25MHz), problem occurs both for internal HD drive (with DD floppies) and external DD drive (/dev/fd1a).
>How-To-Repeat:
1. become root (my local user is not allowed to access /dev/fd0a)
2. Put a floppy into the drive.
3. dd if=/dev/fd0a of=file (this can be repeated with no ill effects, I did so to make sure it read the floppy OK using diff on the files)
4. When copy done, change to another floppy disk in the drive.
5. dd if=/dev/fd0a of=another_file
Console message:
panic: biodone already
Stopped in pid 199 (dd) at cpu_Debugger+0x6: unlk a6
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-amiga-maintainer->is
Responsible-Changed-By: perry
Responsible-Changed-When: Thu Apr 24 03:17:39 UTC 2003
Responsible-Changed-Why:
The amiga portmaster is is.
From: Aymeric Vincent <Aymeric.Vincent@labri.fr>
To: hth@update.uu.se
Cc: gnats-bugs@netbsd.org
Subject: Re: port-amiga/21252: Kernel panics after changing floppy when using 'dd'
Date: 01 May 2003 13:17:43 +0200
Hi,
I can't reproduce your problem on my Amiga, running NetBSD 1.6.1.
However I don't have a disk with a bad block nearby, so I just checked
the dd - changedisk - dd scheme.
Could you please try a NetBSD 1.6.1 kernel and report if it still
panics?
Thanks,
Aymeric
State-Changed-From-To: open->feedback
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Thu, 04 Nov 2010 23:21:51 +0000
State-Changed-Why:
Feedback was requested in 2003.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 Apr 2012 23:59:18 +0000
State-Changed-Why:
Feedback state (since Nov. 2010 for a question asked in 2003)
has definitely timed out.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.