error mounting USB disk: Invalid argument
Roland Smith
rsmith at xs4all.nl
Sat May 31 12:12:50 UTC 2008
On Sat, May 31, 2008 at 12:17:57PM +0200, Colin Brace wrote:
>
> On Sat, 31 May 2008 11:42:21 +0200, Roland Smith <rsmith at xs4all.nl> wrote:
>
> > After partitioning and labeling the disk, did you make filesystems on
> > the partitions with newfs?
>
> Ah, no. According to Absolute FreeBSD, 2nd ed, which I have in front of me,
> newfs invoked by sysinstall, which I used to create the slice and partition
> it (p 241).
>
> Anyway, I now try running newfs in terminal, but it throws up some errrors:
>
> # newfs /dev/da0s1c
> /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size
> 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
>
> # newfs /dev/da0s1c
> /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size
> 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, 3010976,
> 3387328, 3763680, 4140032,newfs: wtfs: 65536 bytes at sector 4516384:
> Invalid argument
>
> I tried it several times; the errors seem kinda random, since they vary
> each time I run the command.
>
> 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=3751
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.
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
--
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080531/61fe40bb/attachment.pgp
More information about the freebsd-questions
mailing list