Date: Wed, 23 Nov 2005 23:17:34 +0100 From: Christian Brueffer <chris@unixpages.org> To: ticso@cicely.de Cc: Ulf Kieber <kieber@xoo.net>, freebsd-current@freebsd.org Subject: Re: GEOM error Message-ID: <20051123221734.GD1856@unixpages.org> In-Reply-To: <20051123212600.GQ8256@cicely12.cicely.de> References: <200511150403.jAF43B6f001417@jerry.xoo.net> <20051119162011.I88861@carver.gumbysoft.com> <20051120011438.GA4194@unixpages.org> <20051122141101.G24336@carver.gumbysoft.com> <20051123210156.GC1856@unixpages.org> <20051123212600.GQ8256@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--KdquIMZPjGJQvRdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 23, 2005 at 10:26:01PM +0100, Bernd Walter wrote: > On Wed, Nov 23, 2005 at 10:01:56PM +0100, Christian Brueffer wrote: > > On Tue, Nov 22, 2005 at 02:11:23PM -0800, Doug White wrote: > > > On Sun, 20 Nov 2005, Christian Brueffer wrote: > > >=20 > > > > On Sat, Nov 19, 2005 at 04:22:11PM -0800, Doug White wrote: > > > > > On Tue, 15 Nov 2005, Ulf Kieber wrote: > > > > > > > > > > > Re, > > > > > > > > > > > > on a 6.0-RELEASE I receive the following error since I tried re= storing > > > > > > a large dump > > > > > > > > > > > > Nov 14 12:30:11 nexus kernel: g_vfs_done():da1s1d.bde[WRITE(off= set=3D72350695424, length=3D131072)]error =3D 1 > > > > > > > > > > > > Besides that, no other errors are logged, especially no SCSI er= rors. > > > > > > The problem persists even after the restore has completed. > > > > > > > > > > errno 1 is EPERM ("Operation not permitted") and is generally ret= urned if > > > > > you attempt to write somewhere you're not allowed to. Considering= the > > > > > offset is near the end of the disk, GBDE may be trying to prevent= you from > > > > > overwriting metadata blocks at the end of the partition. How or w= hy > > > > > restore(8) would be writing there I'm not sure. > > > > > > > > > > A SCSI error would return as errno 5 (EIO, "Input/output error"). > > > > > > > > > > > > > I get the same messages with my external USB drive from time to time > > > > (interestingly also GBDE encrypted). > > > > > > > > Nov 20 02:03:30 haakonia kernel: g_vfs_done():da3s2c.bde[WRITE(offs= et=3D383341297664, length=3D65536)]error =3D 1 > > > > > > > > The message repeats every 30 seconds and trying to unmount the file > > > > system fails. When I try to shut the system down, the message appe= ars > > > > n > 50 times followed by a panic. > > > > > > > > Is it possible that the system tries to write on a bad sector and > > > > consequently fails (provided that the on-disk sector remapping also > > > > fails)? > > >=20 > > > You would get a SCSI error in that case since usb storage is attached > > > through CAM. > > >=20 > >=20 > > Ok. Any suggestion on where to go from here? I can trigger this pretty > > reliably on the drive. Just have to copy enough data around. >=20 > I don't know if the offset is in Bytes or sector, but even in case of > Bytes the second example is at 714G, which is obviously out of disk > size unless you are using multiple drives, which is not likely for an > USB drive. > The first one is at 134G, which is also very high, the owner should > compare it with the physical disk size. > So Doug is absolutely correct, the access isn't allowed, because out > of range. > I would say a corrupted FS, partition table or something like that. > Don't know why - maybe GBDE's fault, but could very well any other > reason for data corruption, faulty RAM, etc... >=20 In my case it is a 400GB PATA drive in an external enclosure. It only happens with this drive, tried it on two boxes (connection via USB or FireWire doesn't make a difference either). - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --KdquIMZPjGJQvRdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhOp+bHYXjKDtmC0RAppnAKC3uLS7xhmEnENeGTrWSMYa3+Vc5ACgsJHM 74eADkX+llS2iUq7CV2RKxk= =s5/L -----END PGP SIGNATURE----- --KdquIMZPjGJQvRdI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051123221734.GD1856>