Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2005 09:54:30 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        FreeBSD Tinderbox <tinderbox@freebsd.org>
Cc:        current@freebsd.org, i386@freebsd.org
Subject:   Re: [head tinderbox] failure on i386/i386
Message-ID:  <20051209075430.GG33744@ip.net.ua>
In-Reply-To: <20051209021612.8DBA37302F@freebsd-current.sentex.ca>
References:  <20051209021612.8DBA37302F@freebsd-current.sentex.ca>

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

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

On Thu, Dec 08, 2005 at 09:16:12PM -0500, FreeBSD Tinderbox wrote:
> >>> Kernel build for LINT started on Fri Dec  9 02:15:40 UTC 2005
> >>> stage 1: configuring the kernel
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3.1: making dependencies
> [...]
>                  from /src/sys/net/if.h:390,
>                  from /src/sys/i386/i386/genassym.c:63:
> /src/sys/sys/mbuf.h: In function `m_getjcl':
> /src/sys/sys/mbuf.h:424: error: duplicate case value
> /src/sys/sys/mbuf.h:421: error: previously used here
> /src/sys/sys/mbuf.h: In function `m_cljget':
> /src/sys/sys/mbuf.h:488: error: duplicate case value
> /src/sys/sys/mbuf.h:485: error: previously used here
> *** Error code 1
>=20
> Stop in /obj/src/sys/LINT.
> *** Error code 1
>=20
> Stop in /src.
> *** Error code 1
>=20
> Stop in /src.
> TB --- 2005-12-09 02:16:12 - WARNING: /usr/bin/make returned exit code  1=
=20
> TB --- 2005-12-09 02:16:12 - ERROR: failed to build lint kernel
> TB --- 2005-12-09 02:16:12 - tinderbox aborted

MCLBYTES is a tunable value, so I sent the following patch to Andre:

%%%
Index: mbuf.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
RCS file: /home/ncvs/src/sys/sys/mbuf.h,v
retrieving revision 1.183
diff -u -p -r1.183 mbuf.h
--- mbuf.h	8 Dec 2005 13:13:05 -0000	1.183
+++ mbuf.h	9 Dec 2005 07:51:50 -0000
@@ -421,15 +421,21 @@ m_getjcl(int how, short type, int flags,
 	case MCLBYTES:
 		zone =3D zone_clust;
 		break;
+#if MJUM4BYTES !=3D MCLBYTES
 	case MJUM4BYTES:
 		zone =3D zone_jumbo4;
 		break;
+#endif
+#if MJUM9BYTES !=3D MCLBYTES
 	case MJUM9BYTES:
 		zone =3D zone_jumbo9;
 		break;
+#endif
+#if MJUM16BYTES !=3D MCLBYTES
 	case MJUM16BYTES:
 		zone =3D zone_jumbo16;
 		break;
+#endif
 	default:
 		panic("%s: m_getjcl: invalid cluster type", __func__);
 	}
@@ -485,15 +491,21 @@ m_cljget(struct mbuf *m, int how, int si
 	case MCLBYTES:
 		zone =3D zone_clust;
 		break;
+#if MJUM4BYTES !=3D MCLBYTES
 	case MJUM4BYTES:
 		zone =3D zone_jumbo4;
 		break;
+#endif
+#if MJUM9BYTES !=3D MCLBYTES
 	case MJUM9BYTES:
 		zone =3D zone_jumbo9;
 		break;
+#endif
+#if MJUM16BYTES !=3D MCLBYTES
 	case MJUM16BYTES:
 		zone =3D zone_jumbo16;
 		break;
+#endif
 	default:
 		panic("%s: m_getjcl: invalid cluster type", __func__);
 	}
%%%


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

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

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

iD8DBQFDmTg2qRfpzJluFF4RAjmoAJ9AoQMNgdrO7xA4LyPr5Ge5N0thdgCdH42S
E1jOc78aPJn/X6liifRymNQ=
=EqvO
-----END PGP SIGNATURE-----

--Qf1oXS95uex85X0R--



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