amd64/112640: [usb] Kernel freezes when writing a file to an ex2fs filesystem on a usb disk

Dieter freebsd at sopwith.solgatos.com
Tue May 15 05:15:15 UTC 2007


I have had similar hangs.  It does not depend on multiple CPUs or USB.
Single AMD64 CPU, SATA drive connected to nforce4 ultra.
USB disk with FFS works fine, even with large (tens-of-GB) files.

I have only seen this with ext2fs.  It may well be a problem with large
filesizes, perhaps a 31 or 32 bit limit.  Small files (a few KB) work
okay.  Mounting the ext2fs read-only works fine, even with multi-GB files.

I think my case was removing a large file from the ext2fs.
This was with FreeBSD-6.0.  I haven't seen it with 6.2,
but that's because I've avoided rm-ing large files on ext2fs.

The ext2fs was created under Linux, as were the large files.
Rm-ing the large files works fine under Linux.


More information about the freebsd-amd64 mailing list