From owner-freebsd-current@FreeBSD.ORG Sun Jan 20 21:02:25 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F53316A419 for ; Sun, 20 Jan 2008 21:02:25 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:1f01:383:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5EBC713C459 for ; Sun, 20 Jan 2008 21:02:25 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 8BCB15F0C79 for ; Sun, 20 Jan 2008 15:02:24 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CBb-belJFN+L for ; Sun, 20 Jan 2008 15:02:21 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [10.45.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id D366F5F0B7B for ; Sun, 20 Jan 2008 15:02:20 -0600 (CST) From: Kirk Strauser To: freebsd-current@freebsd.org Date: Sun, 20 Jan 2008 15:02:14 -0600 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4931621.QSvs1YG4Xp"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801201502.18814.kirk@strauser.com> Subject: "Bad address" with smbfs inside a jail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 21:02:25 -0000 --nextPart4931621.QSvs1YG4Xp Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have a very new FreeBSD 7 build on a server: =2D------------------------ $ uname -a =46reeBSD jail1.daycos.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat Ja= n 19 11:16:27 CST 2008 root@jail1.daycos.com:/usr/obj/usr/src/sys/JAIL1= i386 =2D------------------------ Its kernel is very close to GENERIC (and I've tried GENERIC with /etc/make.conf:CPUTYPE unset just to rule it out): =2D------------------------ $ cat /usr/src/sys/i386/conf/JAIL1 include GENERIC ident JAIL1 options PMAP_SHPGPERPROC=3D301 nooption SCHED_4BSD option SCHED_ULE # Don't let Mike accidentally reboot the server option SC_DISABLE_REBOOT # disable reboot key sequen= ce =2D------------------------ I have the same smbfs share mounted in two different places on the system: once inside the "main" system and once inside a jail. I'm having a problem with the jailed version when copying new files: =2D------------------------ $ cp /mnt/tiffsrv/vdrive/Scanned/2008/01/20/2008012014450000.tif /tmp/foo cp: /tmp/foo: Bad address =2D------------------------ This only affects new files; that is, ones that have been created since the filesystem was mounted. If I unmount/remount the filesystem, that copy succeeds: =2D------------------------ $ cp /mnt/tiffsrv/vdrive/Scanned/2008/01/20/2008012014450000.tif /tmp/foo $ =2D------------------------ The fstab entries for those mounts are identical: =2D------------------------ $ grep tiffsrv /etc/fstab //web2@tiffsrv/vdrive /mnt/tiffsrv/vdrive smbfs rw,noexec 0 0 $ grep tiffsrv /etc/fstab.web2 //web2@tiffsrv/vdrive /var/jail/web2/mnt/tiffsrv/vdrive smbfs rw,noexec 0 0 =2D------------------------ Again, those errors *never* happen inside the host OS - just inside that jail. Any suggestions? =2D-=20 Kirk Strauser --nextPart4931621.QSvs1YG4Xp Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- iD8DBQBHk7ba5sRg+Y0CpvERAgE6AKCAV+WezCm34oCPjahRjSXxn3SaVQCcDM+U lELdFN3bEnZpE9qgjwAwlGQ= =15W1 -----END PGP SIGNATURE----- --nextPart4931621.QSvs1YG4Xp--