Derrick Lobo | 27 Mar 2009 18:40
Favicon

Netbsd 5.0 RC2 issues running newfs on ccd volume

I have recently begun testing netbsd 5.0 RC2 200902090142Z and am having
issues configuring the ccd colume.. I am following all steps as before
however I am unable to format the new filesystem.. I get the following error

# newfs  /dev/ccd0a                 
newfs: /dev/ccd0a: open for write: Device busy

# /dev/rccd0d:
type: ccd
disk: ccd
label: fictitious
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 953873
total sectors: 1953532992
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 1953532992         0     4.2BSD      0     0     0  # (Cyl.      0 -
953873*)
(Continue reading)

Alistair Crooks | 27 Mar 2009 20:16

Re: Netbsd 5.0 RC2 issues running newfs on ccd volume

On Fri, Mar 27, 2009 at 01:40:56PM -0400, Derrick Lobo wrote:
> I have recently begun testing netbsd 5.0 RC2 200902090142Z and am having
> issues configuring the ccd colume.. I am following all steps as before
> however I am unable to format the new filesystem.. I get the following error
> 
> # newfs  /dev/ccd0a                 
> newfs: /dev/ccd0a: open for write: Device busy

Try using the raw device:

	newfs /dev/rccd0a

Regards,
Alistair

Derrick Lobo | 27 Mar 2009 20:33
Favicon

RE: Netbsd 5.0 RC2 issues running newfs on ccd volume

BTW This is the first time I am using SAS instead of SCSI.

The dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0_RC2 (GENERIC) #0: Mon Feb  9 03:56:31 UTC 2009

builds <at> b6.netbsd.org:/home/builds/ab/netbsd-5-0-RC2/amd64/200902090142Z-obj/
home/builds/ab/netbsd-5-0-RC2/src/sys/arch/amd64/compile/GENERIC
total memory = 8191 MB
avail memory = 7926 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.3  <at>  0xfa2c0 (61 entries)
empty empty (empty)
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 1995MHz, id 0x100f23
cpu1 at mainbus0 apid 1: AMD 686-class, 1995MHz, id 0x100f23
cpu2 at mainbus0 apid 2: AMD 686-class, 1995MHz, id 0x100f23
cpu3 at mainbus0 apid 3: AMD 686-class, 1995MHz, id 0x100f23
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 11, 16 pins
ioapic1 at mainbus0 apid 5: pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0 apid 6: pa 0xfec02000, version 11, 16 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <070408,XSDT1803,20080704>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
(Continue reading)

Derrick Lobo | 27 Mar 2009 20:31
Favicon

RE: Netbsd 5.0 RC2 issues running newfs on ccd volume

Alistair

Yes that worked.

Regards

Derrick

-----Original Message-----
From: Alistair Crooks [mailto:agc <at> pkgsrc.org] 
Sent: Friday, March 27, 2009 3:16 PM
To: Derrick Lobo
Cc: 'Port-Amd64 <at> Netbsd. Org'; netbsd-help <at> NetBSD.org
Subject: Re: Netbsd 5.0 RC2 issues running newfs on ccd volume

On Fri, Mar 27, 2009 at 01:40:56PM -0400, Derrick Lobo wrote:
> I have recently begun testing netbsd 5.0 RC2 200902090142Z and am having
> issues configuring the ccd colume.. I am following all steps as before
> however I am unable to format the new filesystem.. I get the following
error
> 
> # newfs  /dev/ccd0a                 
> newfs: /dev/ccd0a: open for write: Device busy

Try using the raw device:

	newfs /dev/rccd0a

Regards,
Alistair
(Continue reading)


Gmane