Re: Problems unmounting/fssyncking extern UFS filesystem



Roland Smith wrote:
On Sat, Nov 25, 2006 at 05:08:03PM +0100, O. Hartmann wrote:

A while ago since now I receive kernel messages like this in FreeBSD
6.2-PRE/AMD64:

fsync: giving up on dirty
0xffffff000362c7c0: tag devfs, type VCHR
usecount 1, writecount 0, refcount 325 mountedhere 0xffffff00504d8400
flags ()
v_object 0xffffff00013c80e0 ref 0 pages 1286
lock type devfs: EXCL (count 1) by thread 0xffffff0050287260 (pid
14109)
dev ufs/BACKUP

Filesystem is an external USB attached SATA HD, ohci() driven (due to
ehci() is not working stable and properly on FreeBSD 6.2).


The external USB harddisk I'm using works fine with ehci (VIA VT6202 USB
2.0 controller) on 6.2-PRERELEASE amd64:

Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00
port 1 powered
port 2 addr 2: high speed, power 100 mA, config 1, Mass Storage Device(0x3507), Prolific Technology Inc.(0x067b), rev 1.00


My mainboard is a ASUS A8N32-SLI Deluxe and therfore the nForce400/16x
SPP/MCP controller chipset and EHCI isn't working, crahsing the box
sporadically. This happens with the mentioned external drive and with an
USB stcik also.

Crashing the box disappears when using only ohci.

The above shown fsync problems occurs in both case, ohci() and ehci().


Filesystem is mounted via amd() and there via the'script' option in
amd() due to problems of the amd() mounting process recognizing UFS
filesystems. After 30 seconds of inactivity the filesystems gets
dismounted. This worked quite well in the past, but now I see this
kernel error messages.


The only problems I ever had wer with the firewire interface, not
USB. But I don't use amd, and I'm using GEOM_ELI encyption.

If amd doesn't work well with ufs, would using glabel be a workaround?

Roland


Maybe amd() dismounts to early ... Don't know. Maybe the magic
'sync;sync;sync' before dismounting will help, I'll try it. Sorry, I got
this 'idea' right now, I may have bothered you all with possibly crap.

Regards,
Oliver
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Crash: 2.6.25.10: writing to USB flash drive
    ... Was copying files to a vfat filesystem on a usb flash drive from two ... but doing steps 16 & 18 concurrently) and got a kernel crash; ... # Device Drivers ...
    (Linux-Kernel)
  • 2.6.21rc1 git usb mouse stops working after resume from ram
    ... Today version of Linus git tree has a problem with resuming of usb devices. ... # Firmware Drivers ... # ACPI Support ...
    (Linux-Kernel)
  • Re: USB speed on old mobo?
    ... on-board USB 1.1 and additional USB 2.0 IDE board. ... Did you replace that shitty old USB2 card with a new ... Dump that AMD shyte and get a Pentium 4 and an ASROCK P4VM800 ... at least equal than intel. ...
    (alt.os.windows-xp)
  • Re: Two 2.6.13-rc1 kernel crashes
    ... >> I use on i686 architecture Gentoo linux with XFS filesystem. ... >>when I move my usb mouse in fvwm2 environment. ... # ACPI Support ...
    (Linux-Kernel)
  • Amd and UFS mounts
    ... It's dim but I seem to remember that amd had no problems mounting a UFS ... This caused problems when using UFS on a USB stick since the drive would ... background fsck on the regular drives and a full fsck on the usb drive. ... and newfs to put a native FreeBSD filesystem on a USB stick or portable ...
    (freebsd-stable)