From owner-svn-src-head@FreeBSD.ORG Thu Mar 26 20:54:34 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 141E01065673; Thu, 26 Mar 2009 20:54:34 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB2A8FC08; Thu, 26 Mar 2009 20:54:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 6429A9CB071; Thu, 26 Mar 2009 21:53:59 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IdjoQ18ZVoOu; Thu, 26 Mar 2009 21:53:57 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E3FF49CB129; Thu, 26 Mar 2009 21:53:56 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n2QKrucl017850; Thu, 26 Mar 2009 21:53:56 +0100 (CET) (envelope-from rdivacky) Date: Thu, 26 Mar 2009 21:53:56 +0100 From: Roman Divacky To: Doug Ambrisko Message-ID: <20090326205356.GA17416@freebsd.org> References: <200903261714.n2QHENQ2023732@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <200903261714.n2QHENQ2023732@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r190445 - in head/sys: amd64/linux32 compat/linprocfs compat/linux conf dev/ipmi modules/ipmi modules/linprocfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 20:54:34 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 26, 2009 at 05:14:23PM +0000, Doug Ambrisko wrote: > Author: ambrisko > Date: Thu Mar 26 17:14:22 2009 > New Revision: 190445 > URL: http://svn.freebsd.org/changeset/base/190445 >=20 > Log: > Add stuff to support upcoming BMC/IPMI flashing of newer Dell machine > via the Linux tool. > - Add Linux shim to ipmi(4) > - Create a partitions file to linprocfs to make Linux fdisk see > disks. This file is dynamic so we can see disks come and go. > - Convert msdosfs to vfat in mtab since Linux uses that for > msdosfs. > - In the Linux mount path convert vfat passed in to msdosfs > so Linux mount works on FreeBSD. Note that tasting works > so that if da0 is a msdos file system > /compat/linux/bin/mount /dev/da0 /mnt > works. > - fix a 64it bug for l_off_t. > Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to > /compat/linux/etc/mtab and then some careful unpacking of the Linux bmc > update tool and hacking makes it work on newer Dell boxes. Note, proba= bly > if you can't figure out how to do this, then you probably shouldn't be > doing it :-) >=20 > Added: > head/sys/dev/ipmi/ipmi_linux.c (contents, props changed) > Modified: > head/sys/amd64/linux32/linux.h > head/sys/compat/linprocfs/linprocfs.c > head/sys/compat/linux/linux_file.c > head/sys/conf/files.amd64 > head/sys/conf/files.i386 > head/sys/modules/ipmi/Makefile > head/sys/modules/linprocfs/Makefile >=20 > Modified: head/sys/amd64/linux32/linux.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/linux32/linux.h Thu Mar 26 17:04:08 2009 (r190444) > +++ head/sys/amd64/linux32/linux.h Thu Mar 26 17:14:22 2009 (r190445) > @@ -79,7 +79,7 @@ typedef l_ulong l_ino_t; > typedef l_int l_key_t; > typedef l_longlong l_loff_t; > typedef l_ushort l_mode_t; > -typedef l_long l_off_t; > +typedef l_ulong l_off_t; where did you get this idea? my copy of linux 2.6.16 shows that off_t is being declared as long. can you be more specific about the background of this change? what does it fix? --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknL62QACgkQLVEj6D3CBEzAVACfXRzg3XrJWe8g3hb4DP4rmUj7 DG4AoIHJ1JKZIMltt3tykTcB+dl4LNz4 =Cfl5 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--