Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 23:23:06 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Josh Paetzel <jpaetzel@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r218960 - head/usr.sbin/pc-sysinstall/backend
Message-ID:  <20110222212306.GF78089@deviant.kiev.zoral.com.ua>
In-Reply-To: <201102221937.p1MJbChP019328@svn.freebsd.org>
References:  <201102221937.p1MJbChP019328@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--oKa17j5kv2cZTeM9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 22, 2011 at 07:37:12PM +0000, Josh Paetzel wrote:
> Author: jpaetzel
> Date: Tue Feb 22 19:37:12 2011
> New Revision: 218960
> URL: http://svn.freebsd.org/changeset/base/218960
>=20
> Log:
>   Added patch-functions-upgrade which should fix some kernel panics
>   doing upgrades and uninstalling linux compat ports.
This is probably wrong way to fix kernel panics. Did you show
the panics with backtrace to anybody on emulation@ ?

>  =20
>   Submitted by:	Joerg-Christian Boehme <joerg@chaosdorf.de>
>   Approved by:	kib (mentor, implicit)
>=20
> Modified:
>   head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh
>=20
> Modified: head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh
> =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/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh	Tue Feb 22 1=
9:18:56 2011	(r218959)
> +++ head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh	Tue Feb 22 1=
9:37:12 2011	(r218960)
> @@ -58,7 +58,7 @@ mount_target_slice()
>    zfs mount -a
> =20
>    # Mount all the fstab goodies on disk
> -  chroot ${FSMNT} /sbin/mount -a >>${LOGOUT} 2>>${LOGOUT}
> +  chroot ${FSMNT} /sbin/mount -a -t nolinprocfs >>${LOGOUT} 2>>${LOGOUT
There is a typo/syntax error at the very end of the line.

>    chroot ${FSMNT} umount /proc >/dev/null 2>/dev/null=20
>    chroot ${FSMNT} umount /compat/linux/proc  >/dev/null 2>/dev/null
> =20
> @@ -79,7 +79,7 @@ mount_target_slice()
>    if [ "$INSTALLTYPE" !=3D "FreeBSD" ]
>    then
>      echo_log "Removing old packages, this may take a while... Please wai=
t..."
> -    echo '#/bin/sh
> +    echo '#!/bin/sh
>  for i in `pkg_info -E \*`
>  do
>    echo "Uninstalling package: ${i}"

--oKa17j5kv2cZTeM9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk1kKToACgkQC3+MBN1Mb4gF4wCfXXyLd9oMprNSwwq26MLZy3sh
zQwAoJm4fXNlkro0+BvJebKivUg6qj3x
=0fGW
-----END PGP SIGNATURE-----

--oKa17j5kv2cZTeM9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110222212306.GF78089>