From owner-freebsd-questions@FreeBSD.ORG Sat May 31 12:12:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 054D4106564A for ; Sat, 31 May 2008 12:12:50 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0E48FC24 for ; Sat, 31 May 2008 12:12:49 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id m4VCCgtn043997; Sat, 31 May 2008 14:12:43 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 3D880BAAC; Sat, 31 May 2008 14:12:42 +0200 (CEST) Date: Sat, 31 May 2008 14:12:42 +0200 From: Roland Smith To: Colin Brace Message-ID: <20080531121242.GA85735@slackbox.xs4all.nl> Mail-Followup-To: Colin Brace , freebsd-questions@freebsd.org References: <25515aa06ecb67b43d2a517bcceed88f@localhost> <20080531072955.GA76694@slackbox.xs4all.nl> <79defaf7e7f012e2cd5c6381d84dccb9@localhost> <20080531094221.GA81037@slackbox.xs4all.nl> <19839aceb10de69024c9fae933836067@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <19839aceb10de69024c9fae933836067@localhost> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: error mounting USB disk: Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2008 12:12:50 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 31, 2008 at 12:17:57PM +0200, Colin Brace wrote: >=20 > On Sat, 31 May 2008 11:42:21 +0200, Roland Smith wrote: >=20 > > After partitioning and labeling the disk, did you make filesystems on > > the partitions with newfs? >=20 > Ah, no. According to Absolute FreeBSD, 2nd ed, which I have in front of m= e, > newfs invoked by sysinstall, which I used to create the slice and partiti= on > it (p 241). >=20 > Anyway, I now try running newfs in terminal, but it throws up some errror= s: >=20 > # newfs /dev/da0s1c > /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment si= ze > 2048 > using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > newfs: wtfs: 65536 bytes at sector 160: Invalid argument >=20 > # newfs /dev/da0s1c > /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment si= ze > 2048 > using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 301097= 6, > 3387328, 3763680, 4140032,newfs: wtfs: 65536 bytes at sector 4516384: > Invalid argument >=20 > I tried it several times; the errors seem kinda random, since they vary > each time I run the command. >=20 > Could it be that the chipset of this USB device, JMicron, is not entirely > supported by FreeBSD? The reason I ask is because this appears to be an > issue under Linux; cf, http://www.qbik.ch/usb/devices/showdev.php?id=3D37= 51 I've only had trouble with JMicron when using geli(8) encrypted partitions on a machine that was underpowered. But not when just doing a newfs.=20 You could try building a kernel without umass, but with atausb and atapifd. The disk will be attached as a floppy drive, /dev/afd* Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhBQLoACgkQEnfvsMMhpyV5kACfbWV0/+fsp1NpzO+cuOyYYNW8 Tu0An1lxknlRdlCKJDGQz0u9+CPW/bWZ =2IMa -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q--