Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fs/tmpfs/t_vnd/basic fails



 Hello.

 While checking the resulut of atf-run, I found a strange
behavior.

> # vnconfig -l
> vnd0: not in use
> vnd1: not in use
> vnd2: not in use
> vnd3: not in use
> # dd if=/dev/zero of=disk.img bs=1m count=10
> 10+0 records in
> 10+0 records out
> 10485760 bytes transferred in 0.195 secs (53773128 bytes/sec)
> # vnconfig /dev/vnd3 disk.img
> vnd3: unable to open device, error = 16 <========== XXXXXXXXXXXXXX
> # vnconfig -l
> vnd0: not in use
> vnd1: not in use
> vnd2: not in use
> vnd3: / (/dev/wd0a) inode 931849
> # newfs /dev/rvnd3a
> newfs: /dev/rvnd3a: open for read: Device not configured

The error message of "error = 16" is printed from dev/dkwedge/dk.c.

This problem occurs both my i386 and evbarm machines.

# uname -a
NetBSD five.execsw.org 6.99.11 NetBSD 6.99.11 (MONOLITHIC) #43: Tue Sep  4 
04:04:22 JST 2012  
msaitoh%five.execsw.org@localhost:/disk/sources/4NetBSD-current/src/sys/arch/i386/compile/MONOLITHIC
 i386

# uname -a
NetBSD evbarm2.execsw.org 6.99.11 NetBSD 6.99.11 (OPENRD) #1: Sat Sep  8 
10:36:48 JST 2012  
msaitoh%tap.execsw.org@localhost:/var/sources/NetBSD-current/src/sys/arch/evbarm/compile/OPENRD
 evbarm
-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index