NetBSD Problem Report #36212
From martin@duskware.de Wed Apr 25 12:07:24 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 557B463B960
for <gnats-bugs@gnats.netbsd.org>; Wed, 25 Apr 2007 12:07:24 +0000 (UTC)
Message-Id: <20070425120413.CC0D463B960@narn.NetBSD.org>
Date: Wed, 25 Apr 2007 12:04:13 +0000 (UTC)
From: uair00@gmail.com
Reply-To: uair00@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: Hanging while using a vnode disk
X-Send-Pr-Version: www-1.0
>Number: 36212
>Category: misc
>Synopsis: Hanging while using a vnode disk
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 25 12:10:00 +0000 2007
>Originator: Hugo Rivera
>Release: 3.1
>Organization:
>Environment:
NetBSD janko 3.1 NetBSD 3.1 (JANKO64) #0: Fri Apr 20 17:50:21 BOT 2007 root@janko:/usr/src/sys/arch/amd64/compile/JANKO64 amd64
>Description:
NetBSD completely hangs up while copying files from anywhere to a mounted vnode disk configured using a FAT disk image file; one must reboot the system (using the RESET button) because nothing works anymore.
Here's my fdisk output:
Disk: /dev/rvnd0d
NetBSD disklabel disk geometry:
cylinders: 488, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 1000000
BIOS disk geometry:
cylinders: 489, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 1000000
Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
start 32, size 999968 (488 MB, Cyls 0-488/18/1)
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
and the disklabel output:
type: vnd
disk: vnd
label: VirtualFAT
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 488
total sectors: 1000000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 1000000 0 unused 0 0 # (Cyl. 0 - 488*)
e: 999968 32 MSDOS # (Cyl. 0*- 488*)
>How-To-Repeat:
- Create a FAT disk image file:
dd if=/dev/zero of=vFAT.img bs=1024 count=500000
vnconfig -vc vnd0 vFAT.img
fdisk -u vnd0
CREATE A DOS PARTITION (ID 12)
disklabel -e -I
newfs_msdos -F32 /dev/vnd0e
mount -t msdos -o rw /dev/vnd0e myFAT
cp anything_you_want myFAT
It should be hanged by now
>Fix:
None; maybe I am doing something wrong, but I do not think that that should cause such a severe hang up.
(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.