Current-Users archive

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

Re: fs/tmpfs/t_vnd/basic fails



(2012/09/08 12:47), Paul Goyette wrote:
> On Sat, 8 Sep 2012, SAITOH Masanobu wrote:
> 
>> 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
> 
> This test is passing successfully on my amd64 test-bed.  The most recent pass 
> was built from sources at 22:20:06 on 2012-09-03
> 
> 
> Error 16 == EBUSY - do you have something else running that is using vnd3 
> (and therefore preventing the test from using it)?

 No, I don't. As I wrote, the first "vnconfig -l" command said vnd3 wasn't used.
I rebooted my machine and tried again. It was same result...




> -------------------------------------------------------------------------
> | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
> | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
> | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
> | Kernel Developer |                          | pgoyette at netbsd.org  |
> -------------------------------------------------------------------------


-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index