From owner-freebsd-current@FreeBSD.ORG Sun May 20 06:27:29 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E40B16A41F for ; Sun, 20 May 2007 06:27:29 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 3892D13C455 for ; Sun, 20 May 2007 06:27:28 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1243016wxc for ; Sat, 19 May 2007 23:27:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:x-mailer:mime-version:content-type; b=ZxT0gTUNi2JMw/+dJMYvTBPCU306ALzR4CHFfDRUkiXP2utojxPpttqiRx3o4XOVBc5/CmB3qFY/SkuCVIeWG+y/sHZ5CkTOICedGFl+py2UvAcBNZ0smd/93y2Vh/kZb1KBLY/sDgQTC49bZYBIt6o1aLOkTELUyCDikLRx1Dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:x-mailer:mime-version:content-type; b=BLwRbjmOfimrHmoO5JQcLj4DXP2EREbWrTotiB8u6OajUpolWyWxzGppa5m4YyIMBYgroycOEjSAAIrHJLAJHnGpxIp1SkDrd6PfPFkSOANCio6FSd9a8hni3e/Z2YGW8DCBzzgFx4tFW28JpmAe/F02OWweOdwIk1RQb1Oto3I= Received: by 10.70.48.11 with SMTP id v11mr5181406wxv.1179642448456; Sat, 19 May 2007 23:27:28 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id q34sm10287413wrq.2007.05.19.23.27.26; Sat, 19 May 2007 23:27:27 -0700 (PDT) Date: Sun, 20 May 2007 02:27:22 -0400 From: Alexander Kabaev To: freebsd-current@freebsd.org Message-ID: <20070520022722.1f5a0cda@kan.dnsalias.net> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_z3LiKcyXkSIn+pqqtvxh6wK; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Michiel Boland , Larry Rosenman Subject: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 06:27:29 -0000 --Sig_z3LiKcyXkSIn+pqqtvxh6wK Content-Type: multipart/mixed; boundary=MP_24HyclhUU_QfYTza8BIGlZ6 --MP_24HyclhUU_QfYTza8BIGlZ6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, there were several reports of OpenSSL being broken when compiled with GCC 4.2. It turns out OpenSSL uses function casting feature that was aggressively de-supported by GCC 4.2 and GCC goes as far as inserting invalid instructions ON PURPOSE to discourage the practice. Consequently, OpenSSL need the patch similar to attached one to work. Just in case mailing list will eat the attachment, the patch can be found at http://people.freebsd.org/~kan/openssl-gcc42.diff Unfortunately, our OpenSSL maintainer(s) are currently en-route from BSDCan and cannot attend to the matters. Once we figure the best way to fix the code and to integrate the fix into OpenSSL, we will check the fix info CVS. People are advised to patch their sources locally until then.=20 --=20 Alexander Kabaev --MP_24HyclhUU_QfYTza8BIGlZ6 Content-Type: text/x-patch; name=openssl-gcc42.diff Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=openssl-gcc42.diff Index: openssl/crypto/asn1/asn1.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/crypto/openssl/crypto/asn1/asn1.h,v retrieving revision 1.1.1.8 diff -u -r1.1.1.8 asn1.h --- openssl/crypto/asn1/asn1.h 29 Jul 2006 19:10:16 -0000 1.1.1.8 +++ openssl/crypto/asn1/asn1.h 20 May 2007 05:01:40 -0000 @@ -903,22 +903,22 @@ /* Used to implement other functions */ void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, char *x); #define ASN1_dup_of(type,i2d,d2i,x) \ - ((type *(*)(I2D_OF(type),D2I_OF(type),type *))openssl_fcast(ASN1_dup))(i2= d,d2i,x) + ((type *)ASN1_dup((i2d_of_void *)(i2d), (d2i_of_void *)(d2i), (char *= )(x))) #define ASN1_dup_of_const(type,i2d,d2i,x) \ - ((type *(*)(I2D_OF_const(type),D2I_OF(type),type *))openssl_fcast(ASN1_du= p))(i2d,d2i,x) + ((type *)ASN1_dup((i2d_of_void *)(i2d), (d2i_of_void *)(d2i), (char *= )(x))) =20 void *ASN1_item_dup(const ASN1_ITEM *it, void *x); =20 #ifndef OPENSSL_NO_FP_API void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **= x); #define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ - ((type *(*)(type *(*)(void),D2I_OF(type),FILE *,type **))openssl_fcast(AS= N1_d2i_fp))(xnew,d2i,in,x) + ((type *)ASN1_d2i_fp((void *(*)(void))(xnew), (d2i_of_void *)(d2i), (in),= (void **)(x))) void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); int ASN1_i2d_fp(i2d_of_void *i2d,FILE *out,void *x); #define ASN1_i2d_fp_of(type,i2d,out,x) \ - ((int (*)(I2D_OF(type),FILE *,type *))openssl_fcast(ASN1_i2d_fp))(i2d,out= ,x) + (ASN1_i2d_fp((i2d_of_void *)(i2d), (out), (x))) #define ASN1_i2d_fp_of_const(type,i2d,out,x) \ - ((int (*)(I2D_OF_const(type),FILE *,type *))openssl_fcast(ASN1_i2d_fp))(i= 2d,out,x) + (ASN1_i2d_fp((i2d_of_void *)(i2d), (out), (x))) int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x); int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flag= s); #endif @@ -928,13 +928,13 @@ #ifndef OPENSSL_NO_BIO void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **= x); #define ASN1_d2i_bio_of(type,xnew,d2i,in,x) \ - ((type *(*)(type *(*)(void),D2I_OF(type),BIO *,type **))openssl_fcast(ASN= 1_d2i_bio))(xnew,d2i,in,x) + ((type *)ASN1_d2i_bio( (void *(*)(void))(xnew), (d2i_of_void *)(d2i), (in= ), (void **)(x))) void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x); int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x); #define ASN1_i2d_bio_of(type,i2d,out,x) \ - ((int (*)(I2D_OF(type),BIO *,type *))openssl_fcast(ASN1_i2d_bio))(i2d,out= ,x) + (ASN1_i2d_bio((i2d_of_void *)(i2d), (out), (void *)(x))) #define ASN1_i2d_bio_of_const(type,i2d,out,x) \ - ((int (*)(I2D_OF_const(type),BIO *,const type *))openssl_fcast(ASN1_i2d_b= io))(i2d,out,x) + (ASN1_i2d_bio((i2d_of_void *)(i2d), (out), (void *)(x))) int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x); int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a); int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a); @@ -978,7 +978,7 @@ ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_OCTET_STRING **oct); #define ASN1_pack_string_of(type,obj,i2d,oct) \ - ((ASN1_STRING *(*)(type *,I2D_OF(type),ASN1_OCTET_STRING **))openssl_fcas= t(ASN1_pack_string))(obj,i2d,oct) + (ASN1_pack_string((obj), (i2d_of_void *)(i2d), (oct))) ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STR= ING **oct); =20 void ASN1_STRING_set_default_mask(unsigned long mask); Index: openssl/crypto/ocsp/ocsp.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/crypto/openssl/crypto/ocsp/ocsp.h,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 ocsp.h --- openssl/crypto/ocsp/ocsp.h 29 Jul 2006 19:10:18 -0000 1.1.1.2 +++ openssl/crypto/ocsp/ocsp.h 20 May 2007 05:13:06 -0000 @@ -469,7 +469,7 @@ ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d, void *data, STACK_OF(ASN1_OBJECT) *sk); #define ASN1_STRING_encode_of(type,s,i2d,data,sk) \ -((ASN1_STRING *(*)(ASN1_STRING *,I2D_OF(type),type *,STACK_OF(ASN1_OBJECT)= *))openssl_fcast(ASN1_STRING_encode))(s,i2d,data,sk) +(ASN1_STRING_encode((s), (i2d_of_void *)(i2d), (data), (STACK_OF(ASN1_OBJE= CT) *)(sk))) =20 X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim); =20 Index: openssl/crypto/pem/pem.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/crypto/openssl/crypto/pem/pem.h,v retrieving revision 1.1.1.7 diff -u -r1.1.1.7 pem.h --- openssl/crypto/pem/pem.h 15 Mar 2007 20:03:01 -0000 1.1.1.7 +++ openssl/crypto/pem/pem.h 20 May 2007 06:02:41 -0000 @@ -220,19 +220,20 @@ #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ { \ -return(((type *(*)(D2I_OF(type),char *,FILE *,type **,pem_password_cb *,vo= id *))openssl_fcast(PEM_ASN1_read))(d2i_##asn1, str,fp,x,cb,u)); \ -}=20 +return((type *)PEM_ASN1_read( \ + (d2i_of_void *)d2i_##asn1,str,fp,(void **)x,cb,u)); \ +} =20 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ int PEM_write_##name(FILE *fp, type *x) \ { \ -return(((int (*)(I2D_OF(type),const char *,FILE *,type *, const EVP_CIPHER= *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_wr= ite))(i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL)); \ +return(PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(char *)x,NULL,NULL= ,0,NULL,NULL)); \ } =20 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \ int PEM_write_##name(FILE *fp, const type *x) \ { \ -return(((int (*)(I2D_OF_const(type),const char *,FILE *, const type *, con= st EVP_CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcas= t(PEM_ASN1_write))(i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL)); \ +return(PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(char *)x,NULL,NULL= ,0,NULL,NULL)); \ } =20 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \ @@ -240,7 +241,7 @@ unsigned char *kstr, int klen, pem_password_cb *cb, \ void *u) \ { \ - return(((int (*)(I2D_OF(type),const char *,FILE *,type *, const EVP_CIPHE= R *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_w= rite))(i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u)); \ +return(PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(char *)x,enc,kstr,= klen,cb,u)); \ } =20 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \ @@ -248,7 +249,7 @@ unsigned char *kstr, int klen, pem_password_cb *cb, \ void *u) \ { \ - return(((int (*)(I2D_OF_const(type),const char *,FILE *,type *, const EVP= _CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_= ASN1_write))(i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u)); \ +return(PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(char *)x,enc,kstr,= klen,cb,u)); \ } =20 #endif @@ -256,33 +257,34 @@ #define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \ type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\ { \ -return(((type *(*)(D2I_OF(type),const char *,BIO *,type **,pem_password_cb= *,void *))openssl_fcast(PEM_ASN1_read_bio))(d2i_##asn1, str,bp,x,cb,u)); \ +return((type *)PEM_ASN1_read_bio( \ + (d2i_of_void *)d2i_##asn1,str,bp,(void **)x,cb,u)); \ } =20 #define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \ int PEM_write_bio_##name(BIO *bp, type *x) \ { \ -return(((int (*)(I2D_OF(type),const char *,BIO *,type *, const EVP_CIPHER = *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_wri= te_bio))(i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL)); \ +return(PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(char *)x,NULL,= NULL,0,NULL,NULL)); \ } =20 #define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \ int PEM_write_bio_##name(BIO *bp, const type *x) \ { \ -return(((int (*)(I2D_OF_const(type),const char *,BIO *,const type *, const= EVP_CIPHER *,unsigned char *,int, pem_password_cb *,void *))openssl_fcast(= PEM_ASN1_write_bio))(i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL)); \ +return(PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(char *)x,NULL,= NULL,0,NULL,NULL)); \ } =20 #define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \ unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \ { \ - return(((int (*)(I2D_OF(type),const char *,BIO *,type *,const EVP_CIPHER = *,unsigned char *,int,pem_password_cb *,void *))openssl_fcast(PEM_ASN1_writ= e_bio))(i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u)); \ +return(PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(char *)x,enc,k= str,klen,cb,u)); \ } =20 #define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \ int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \ unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \ { \ - return(((int (*)(I2D_OF_const(type),const char *,BIO *,type *,const EVP_C= IPHER *,unsigned char *,int,pem_password_cb *,void *))openssl_fcast(PEM_ASN= 1_write_bio))(i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u)); \ +return(PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(char *)x,enc,k= str,klen,cb,u)); \ } =20 #define IMPLEMENT_PEM_write(name, type, str, asn1) \ @@ -546,12 +548,12 @@ void * PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, pem_password_cb *cb, void *u); #define PEM_ASN1_read_bio_of(type,d2i,name,bp,x,cb,u) \ -((type *(*)(D2I_OF(type),const char *,BIO *,type **,pem_password_cb *,void= *))openssl_fcast(PEM_ASN1_read_bio))(d2i,name,bp,x,cb,u) +((type *)PEM_ASN1_read_bio((d2i_of_void *)d2i,name,bp,(void **)x,cb,u)) int PEM_ASN1_write_bio(i2d_of_void *i2d,const char *name,BIO *bp,char *x, const EVP_CIPHER *enc,unsigned char *kstr,int klen, pem_password_cb *cb, void *u); #define PEM_ASN1_write_bio_of(type,i2d,name,bp,x,enc,kstr,klen,cb,u) \ - ((int (*)(I2D_OF(type),const char *,BIO *,type *, const EVP_CIPHER *,unsi= gned char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_write_bio= ))(i2d,name,bp,x,enc,kstr,klen,cb,u) + (PEM_ASN1_write_bio)((i2d_of_void *)i2d,name,bp,(char *)x,enc,kstr,klen,c= b,u) =20 STACK_OF(X509_INFO) * PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) = *sk, pem_password_cb *cb, void *u); int PEM_X509_INFO_write_bio(BIO *bp,X509_INFO *xi, EVP_CIPHER *enc, --MP_24HyclhUU_QfYTza8BIGlZ6-- --Sig_z3LiKcyXkSIn+pqqtvxh6wK Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGT+pKQ6z1jMm+XZYRAn8gAKCYSiVU2k+0o/+dpktSYQ6ZDmBGGwCgxJLg H/5Dt8Mn6peMFp3ADtH9VXw= =3nNq -----END PGP SIGNATURE----- --Sig_z3LiKcyXkSIn+pqqtvxh6wK-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 07:29:10 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E041116A46D for ; Sun, 20 May 2007 07:29:10 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4999E13C4C1 for ; Sun, 20 May 2007 07:29:10 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from kobe.laptop (dialup116.ach.sch.gr [81.186.70.116]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4K7RteD005232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 20 May 2007 10:28:04 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4K7RjON004556; Sun, 20 May 2007 10:27:45 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4K7RhDs004555; Sun, 20 May 2007 10:27:43 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Sun, 20 May 2007 10:27:43 +0300 From: Giorgos Keramidas To: Alexander Kabaev Message-ID: <20070520072743.GA4514@kobe.laptop> References: <20070520022722.1f5a0cda@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.094, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.30, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Michiel Boland , freebsd-current@FreeBSD.org, Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 07:29:11 -0000 On 2007-05-20 02:27, Alexander Kabaev wrote: > Hi all, > > there were several reports of OpenSSL being broken when > compiled with GCC 4.2. It turns out OpenSSL uses function > casting feature that was aggressively de-supported by GCC 4.2 > and GCC goes as far as inserting invalid instructions ON > PURPOSE to discourage the practice. > > Consequently, OpenSSL need the patch similar to attached one to > work. Just in case mailing list will eat the attachment, the > patch can be found at > > http://people.freebsd.org/~kan/openssl-gcc42.diff > > Unfortunately, our OpenSSL maintainer(s) are currently en-route > from BSDCan and cannot attend to the matters. Once we figure > the best way to fix the code and to integrate the fix into > OpenSSL, we will check the fix info CVS. People are advised to > patch their sources locally until then. Thanks! :-) From owner-freebsd-current@FreeBSD.ORG Sun May 20 07:57:41 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 914F916A41F; Sun, 20 May 2007 07:57:40 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Sun, 20 May 2007 15:57:36 +0800 From: Ariff Abdullah To: Ed Schouten Message-Id: <20070520155736.59f36b67.ariff@FreeBSD.org> In-Reply-To: <20070519182811.GW23313@hoeg.nl> References: <20070518192007.6e6a91e1@kan.dnsalias.net> <20070519182811.GW23313@hoeg.nl> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__20_May_2007_15_57_36_+0800_LUJzjPd/=2V81zvX" Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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 May 2007 07:57:41 -0000 --Signature=_Sun__20_May_2007_15_57_36_+0800_LUJzjPd/=2V81zvX Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 19 May 2007 20:28:11 +0200 Ed Schouten wrote: > Hello, >=20 > This afternoon I reinstalled a new kernel and world, which has GCC > 4.2. For some reason, my SoundBlaster Live! card doesn't work > properly anymore. It seems at least the sample rate doesn't get set > properly, because playback time is slower than wall clock time. >=20 > My previous kernel was from May 14, but it seems there haven't been > any commits in the audio layer in the mean time that could cause > these problems. What would be a good way to see what's wrong? >=20 >=20 Any error messages? How about with snd_emu10kx instead of snd_emu10k1 ? -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sun__20_May_2007_15_57_36_+0800_LUJzjPd/=2V81zvX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGT/9wlr+deMUwTNoRAntLAJ4ueaF9WPAdCdooJUMcj1HcJkp3rwCgtbi4 FHa47crr2VYRdm3l8xrSEKQ= =5JJq -----END PGP SIGNATURE----- --Signature=_Sun__20_May_2007_15_57_36_+0800_LUJzjPd/=2V81zvX-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 08:13:52 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0339D16A421 for ; Sun, 20 May 2007 08:13:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 9873E13C484 for ; Sun, 20 May 2007 08:13:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 495320836; Sun, 20 May 2007 10:13:50 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sun, 20 May 2007 10:13:39 +0200 User-Agent: KMail/1.9.5 References: <20070520022722.1f5a0cda@kan.dnsalias.net> In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705201013.39171.hselasky@c2i.net> Cc: Michiel Boland , Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 08:13:52 -0000 On Sunday 20 May 2007 08:27, Alexander Kabaev wrote: > Hi all, > > there were several reports of OpenSSL being broken when compiled with > GCC 4.2. It turns out OpenSSL uses function casting feature that was > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > invalid instructions ON PURPOSE to discourage the practice. Why does it not break on compile/link time? --HPS From owner-freebsd-current@FreeBSD.ORG Sun May 20 08:29:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5883416A46B for ; Sun, 20 May 2007 08:29:16 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 2251013C44B for ; Sun, 20 May 2007 08:29:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 4D1651D45B; Sun, 20 May 2007 10:29:13 +0200 (CEST) Date: Sun, 20 May 2007 10:29:13 +0200 From: Ed Schouten To: Alexander Kabaev Message-ID: <20070520082913.GX23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nSY6dmU9u4MMxp1o" Content-Disposition: inline In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 08:29:16 -0000 --nSY6dmU9u4MMxp1o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alexander, * Alexander Kabaev wrote: > there were several reports of OpenSSL being broken when compiled with > GCC 4.2. It turns out OpenSSL uses function casting feature that was > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > invalid instructions ON PURPOSE to discourage the practice. Is that the reason why portsnap returns SIGILL's on my box after the upgrade? Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --nSY6dmU9u4MMxp1o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUAbZ52SDGA2eCwURAsoJAJ0eJsJPJ8keuu9Sp4evUnYEHIBdWQCeN85n lO2JPwYhlBOBSiBJbV3CkLA= =ZJ5a -----END PGP SIGNATURE----- --nSY6dmU9u4MMxp1o-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 09:05:12 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B623A16A421; Sun, 20 May 2007 09:05:12 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 31E6B13C448; Sun, 20 May 2007 09:05:12 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FDC1.dip.t-dialin.net [84.165.253.193]) by redbull.bpaserver.net (Postfix) with ESMTP id 263472E12E; Sun, 20 May 2007 10:40:28 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 425445B6169; Sun, 20 May 2007 10:40:12 +0200 (CEST) Date: Sun, 20 May 2007 10:40:26 +0200 From: Alexander Leidinger To: Ariff Abdullah Message-ID: <20070520104026.73a3a742@deskjail> In-Reply-To: <20070520155736.59f36b67.ariff@FreeBSD.org> References: <20070518192007.6e6a91e1@kan.dnsalias.net> <20070519182811.GW23313@hoeg.nl> <20070520155736.59f36b67.ariff@FreeBSD.org> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.787, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, TW_SN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Ed Schouten , current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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 May 2007 09:05:12 -0000 Quoting Ariff Abdullah (Sun, 20 May 2007 15:57:36 +0800): > On Sat, 19 May 2007 20:28:11 +0200 > Ed Schouten wrote: > > Hello, > > > > This afternoon I reinstalled a new kernel and world, which has GCC > > 4.2. For some reason, my SoundBlaster Live! card doesn't work > > properly anymore. It seems at least the sample rate doesn't get set > > properly, because playback time is slower than wall clock time. > > > > My previous kernel was from May 14, but it seems there haven't been > > any commits in the audio layer in the mean time that could cause > > these problems. What would be a good way to see what's wrong? > > > > > > Any error messages? How about with snd_emu10kx instead of > snd_emu10k1 ? Wild guess: maybe it uses the same kind of casts as we see with the openssl problem. See the HEADS-UP from kan@. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sun May 20 09:15:13 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2D3D16A46E; Sun, 20 May 2007 09:15:13 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7C39613C4BB; Sun, 20 May 2007 09:15:13 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4K9FCw1049310; Sun, 20 May 2007 05:15:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.8/8.13.8) with ESMTP id l4K9FCMm065470; Sun, 20 May 2007 05:15:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 592DB73068; Sun, 20 May 2007 05:15:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070520091512.592DB73068@freebsd-current.sentex.ca> Date: Sun, 20 May 2007 05:15:12 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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 May 2007 09:15:13 -0000 TB --- 2007-05-20 07:44:14 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-20 07:44:14 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2007-05-20 07:44:14 - cleaning the object tree TB --- 2007-05-20 07:44:32 - checking out the source tree TB --- 2007-05-20 07:44:32 - cd /tinderbox/HEAD/sparc64/sun4v TB --- 2007-05-20 07:44:32 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-20 07:52:35 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-20 07:52:35 - cd /src TB --- 2007-05-20 07:52:35 - /usr/bin/make -B buildworld >>> World build started on Sun May 20 07:52:37 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun May 20 09:02:21 UTC 2007 TB --- 2007-05-20 09:02:21 - generating LINT kernel config TB --- 2007-05-20 09:02:21 - cd /src/sys/sun4v/conf TB --- 2007-05-20 09:02:21 - /usr/bin/make -B LINT TB --- 2007-05-20 09:02:21 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-20 09:02:21 - cd /src TB --- 2007-05-20 09:02:21 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 20 09:02:21 UTC 2007 >>> 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 >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding /src/sys/sun4v/sun4v/tsb.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding /src/sys/sun4v/sun4v/tte.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding /src/sys/sun4v/sun4v/tte_hash.c /src/sys/sun4v/sun4v/tte_hash.c:234:26: error: macro "VMCNT_GET" passed 2 arguments, but takes just 1 /src/sys/sun4v/sun4v/tte_hash.c: In function 'free_fragment_pages': /src/sys/sun4v/sun4v/tte_hash.c:234: error: 'VMCNT_GET' undeclared (first use in this function) /src/sys/sun4v/sun4v/tte_hash.c:234: error: (Each undeclared identifier is reported only once /src/sys/sun4v/sun4v/tte_hash.c:234: error: for each function it appears in.) *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-20 09:15:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-20 09:15:12 - ERROR: failed to build lint kernel TB --- 2007-05-20 09:15:12 - tinderbox aborted TB --- 0.57 user 2.03 system 5457.63 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Sun May 20 10:20:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35FF216A468 for ; Sun, 20 May 2007 10:20:21 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id EFF2613C4DA for ; Sun, 20 May 2007 10:20:20 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id 9B7761CC0B6 for ; Sun, 20 May 2007 12:20:19 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id EDFC9B8CF; Sun, 20 May 2007 12:20:18 +0200 (CEST) Date: Sun, 20 May 2007 12:20:18 +0200 From: Henrik Brix Andersen To: freebsd-current@freebsd.org Message-ID: <20070520102018.GA41098@tirith.brixandersen.dk> Mail-Followup-To: freebsd-current@freebsd.org References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20070520082913.GX23313@hoeg.nl> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.15 (2007-04-06) Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 10:20:21 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 20, 2007 at 10:29:13AM +0200, Ed Schouten wrote: > Hello Alexander, >=20 > * Alexander Kabaev wrote: > > there were several reports of OpenSSL being broken when compiled with > > GCC 4.2. It turns out OpenSSL uses function casting feature that was > > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > > invalid instructions ON PURPOSE to discourage the practice. >=20 > Is that the reason why portsnap returns SIGILL's on my box after the > upgrade? Most likely, yes. Check /var/log/messages. Regards, Brix --=20 Henrik Brix Andersen --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFGUCDiv+Q4flTiePgRAttWAJ9E2woLKjaDQF1TlKRozTgvJ6PN7gCdGn2T y55W6psZ0x27Liw9qoSHPiQ= =wKdp -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 10:26:14 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A820316A421 for ; Sun, 20 May 2007 10:26:14 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 44FB013C45A for ; Sun, 20 May 2007 10:26:14 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by mu-out-0910.google.com with SMTP id w8so823990mue for ; Sun, 20 May 2007 03:26:13 -0700 (PDT) Received: by 10.82.113.6 with SMTP id l6mr6357680buc.1179656772761; Sun, 20 May 2007 03:26:12 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Sun, 20 May 2007 03:26:12 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 13:26:12 +0300 From: "Vlad GALU" To: freebsd-current@freebsd.org In-Reply-To: <20070520102018.GA41098@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 10:26:14 -0000 On 5/20/07, Henrik Brix Andersen wrote: > On Sun, May 20, 2007 at 10:29:13AM +0200, Ed Schouten wrote: > > Hello Alexander, > > > > * Alexander Kabaev wrote: > > > there were several reports of OpenSSL being broken when compiled with > > > GCC 4.2. It turns out OpenSSL uses function casting feature that was > > > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > > > invalid instructions ON PURPOSE to discourage the practice. > > > > Is that the reason why portsnap returns SIGILL's on my box after the > > upgrade? > > Most likely, yes. Check /var/log/messages. There might be a PEBKAC here, but after applying the patch (cleanly) and rebuilding/reinstalling everything under /usr/src/secure, OpenVPN still crashes with SIGILL. > > Regards, > Brix > -- > Henrik Brix Andersen > > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:06:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A7D316A468 for ; Sun, 20 May 2007 11:06:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4107713C46E for ; Sun, 20 May 2007 11:06:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id B39551D45B; Sun, 20 May 2007 13:06:51 +0200 (CEST) Date: Sun, 20 May 2007 13:06:51 +0200 From: Ed Schouten To: Vlad GALU Message-ID: <20070520110651.GY23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zOTFI1MayFoZtDo5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 11:06:53 -0000 --zOTFI1MayFoZtDo5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, * Vlad GALU wrote: > There might be a PEBKAC here, but after applying the patch > (cleanly) and rebuilding/reinstalling everything under > /usr/src/secure, OpenVPN still crashes with SIGILL. The problem lies within macro's that are compiled within applications that make use of the OpenSSL library. Could you try recompiling OpenVPN (and other apps/libs that make use of OpenSSL) as well? Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --zOTFI1MayFoZtDo5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUCvL52SDGA2eCwURAsZ9AJ4ozuWhNOwLRMcD+fFagMtBRhvm7QCfad1F 7AXA8ct82JxHUC140FyBzvU= =k+0B -----END PGP SIGNATURE----- --zOTFI1MayFoZtDo5-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:12:48 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D119916A46B for ; Sun, 20 May 2007 11:12:48 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC3213C448 for ; Sun, 20 May 2007 11:12:48 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id DAC881D45B; Sun, 20 May 2007 13:12:47 +0200 (CEST) Date: Sun, 20 May 2007 13:12:47 +0200 From: Ed Schouten To: Ariff Abdullah Message-ID: <20070520111247.GZ23313@hoeg.nl> References: <20070518192007.6e6a91e1@kan.dnsalias.net> <20070519182811.GW23313@hoeg.nl> <20070520155736.59f36b67.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Vx/u1Rx7tHHd/cso" Content-Disposition: inline In-Reply-To: <20070520155736.59f36b67.ariff@FreeBSD.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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 May 2007 11:12:48 -0000 --Vx/u1Rx7tHHd/cso Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ariff Abdullah wrote: > Any error messages? How about with snd_emu10kx instead of > snd_emu10k1 ? I don't get any error messages as far as I can see. snd_emu10kx does work. Is it worth to invest more time in this problem, better said, will the snd_emu10kx driver replace snd_emu10k1 in the near future? --=20 Ed Schouten WWW: http://g-rave.nl/ --Vx/u1Rx7tHHd/cso Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUC0v52SDGA2eCwURAvdzAJ9iHbSWxZ7vlS13KUr2RfcDkLdBwACggF9W OUq/HVgOn/cylo+JsZ7CV/Q= =/mDz -----END PGP SIGNATURE----- --Vx/u1Rx7tHHd/cso-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:27:44 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C23A616A46B for ; Sun, 20 May 2007 11:27:44 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 5E53813C46E for ; Sun, 20 May 2007 11:27:44 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by ug-out-1314.google.com with SMTP id 71so702887ugh for ; Sun, 20 May 2007 04:27:43 -0700 (PDT) Received: by 10.82.162.14 with SMTP id k14mr6444568bue.1179660462495; Sun, 20 May 2007 04:27:42 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Sun, 20 May 2007 04:27:42 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 14:27:42 +0300 From: "Vlad GALU" To: "Ed Schouten" In-Reply-To: <20070520110651.GY23313@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 11:27:44 -0000 On 5/20/07, Ed Schouten wrote: > Hello, > > * Vlad GALU wrote: > > There might be a PEBKAC here, but after applying the patch > > (cleanly) and rebuilding/reinstalling everything under > > /usr/src/secure, OpenVPN still crashes with SIGILL. > > The problem lies within macro's that are compiled within applications > that make use of the OpenSSL library. Could you try recompiling OpenVPN > (and other apps/libs that make use of OpenSSL) as well? Yes, I've just done that. The crashes I mentioned happen when I rebuild the OpenVPN port, while performing the sanity tests (right after compiling and linking). > > Yours, > -- > Ed Schouten > WWW: http://g-rave.nl/ > > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:34:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99FD216A469 for ; Sun, 20 May 2007 11:34:11 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 6006513C447 for ; Sun, 20 May 2007 11:34:11 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id BB92F1CC0DF; Sun, 20 May 2007 13:34:10 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id C7C3AB8CF; Sun, 20 May 2007 13:34:09 +0200 (CEST) Date: Sun, 20 May 2007 13:34:09 +0200 From: Henrik Brix Andersen To: Alexander Kabaev Message-ID: <20070520113409.GA42545@tirith.brixandersen.dk> Mail-Followup-To: Alexander Kabaev , freebsd-current@freebsd.org, Michiel Boland , Larry Rosenman References: <20070520022722.1f5a0cda@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Michiel Boland , freebsd-current@freebsd.org, Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 11:34:11 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, May 20, 2007 at 02:27:22AM -0400, Alexander Kabaev wrote: > there were several reports of OpenSSL being broken when compiled with > GCC 4.2. It turns out OpenSSL uses function casting feature that was > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > invalid instructions ON PURPOSE to discourage the practice. >=20 > Consequently, OpenSSL need the patch similar to attached one to work. > Just in case mailing list will eat the attachment, the patch can be > found at >=20 > http://people.freebsd.org/~kan/openssl-gcc42.diff Thanks. I can confirm that the above patch fixes the openssl core dumps (illegal instruction) I was seeing after the upgrade to gcc-4.2. Regards, Brix --=20 Henrik Brix Andersen --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFGUDIxv+Q4flTiePgRAt7IAJ453m5Y3n12q4HA0Wo0azDOblSF6ACcDrfo ZUajA8mg6d8Xbxsh3HlFLGU= =XF4k -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:34:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0421C16A468 for ; Sun, 20 May 2007 11:34:32 +0000 (UTC) (envelope-from dionch@freemail.gr) Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.107]) by mx1.freebsd.org (Postfix) with ESMTP id 941FC13C458 for ; Sun, 20 May 2007 11:34:31 +0000 (UTC) (envelope-from dionch@freemail.gr) Received: from CDION (ppp245-121.dsl.hol.gr [89.210.245.121]) by smtp.freemail.gr (Postfix) with ESMTP id DA851A0828F for ; Sun, 20 May 2007 14:34:29 +0300 (EEST) Date: Sun, 20 May 2007 14:33:01 +0300 From: Chris Dionissopoulos X-Mailer: The Bat! (v3.80.06) Professional X-Priority: 3 (Normal) Message-ID: <162418621.20070520143301@freemail.gr> To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ruby-1.8.6 and GCC-4.2 issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Dionissopoulos 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 May 2007 11:34:32 -0000 Hello ppl, It seems that ruby-1.8.6,1 builded with GCC4.2 have the same OpenSSL issues (illegal instruction). How to reproduce: mail# cd /usr/ports/ports-mgmt/portupgrade mail# make install clean .... builds ruby-1.8.6,1 as dependency.... mail# cd /usr/ports mail# portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade [Updating the pkgdb in /var/db/pkg ... ** Stale lock file was found. Removed. Illegal instruction (core dumped) mail# ll /usr/ports/ruby18.core -rw------- 1 root wheel 143671296 May 20 14:19 /usr/ports/ruby18.core mail# gdb -c ruby18.core /usr/local/bin/ruby18 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `ruby18'. Program terminated with signal 4, Illegal instruction. Reading symbols from /usr/local/lib/libruby18.so.18...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libruby18.so.18 Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /lib/libthr.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.2 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/dl.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/dl.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/dbm.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/dbm.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x281dd662 in free () from /lib/libc.so.7 [New Thread 0x28301100 (LWP 100203)] (gdb) t [Current thread is 1 (Thread 0x28301100 (LWP 100203))] (gdb) bt #0 0x281dd662 in free () from /lib/libc.so.7 #1 0x281dec39 in malloc () from /lib/libc.so.7 #2 0x28240657 in arc4random_addrandom () from /lib/libc.so.7 #3 0x2823bbfa in __srget () from /lib/libc.so.7 #4 0x2823bcc6 in __srget () from /lib/libc.so.7 #5 0x2823bcc6 in __srget () from /lib/libc.so.7 #6 0x2823bcc6 in __srget () from /lib/libc.so.7 #7 0x2823bcc6 in __srget () from /lib/libc.so.7 #8 0x2823bcc6 in __srget () from /lib/libc.so.7 #9 0x2823bcc6 in __srget () from /lib/libc.so.7 #10 0x2823bcc6 in __srget () from /lib/libc.so.7 #11 0x2823bcc6 in __srget () from /lib/libc.so.7 #12 0x2823bcc6 in __srget () from /lib/libc.so.7 #13 0x2823bcc6 in __srget () from /lib/libc.so.7 #14 0x2823bcc6 in __srget () from /lib/libc.so.7 #15 0x2823bcc6 in __srget () from /lib/libc.so.7 #16 0x2823bcc6 in __srget () from /lib/libc.so.7 #17 0x2823bcc6 in __srget () from /lib/libc.so.7 #18 0x2823bcc6 in __srget () from /lib/libc.so.7 #19 0x2823bcc6 in __srget () from /lib/libc.so.7 #20 0x2823bcc6 in __srget () from /lib/libc.so.7 #21 0x2823bcc6 in __srget () from /lib/libc.so.7 #22 0x2823bcc6 in __srget () from /lib/libc.so.7 #23 0x2823bcc6 in __srget () from /lib/libc.so.7 #24 0x2823bcc6 in __srget () from /lib/libc.so.7 #25 0x2823bcc6 in __srget () from /lib/libc.so.7 #26 0x2823bcc6 in __srget () from /lib/libc.so.7 #27 0x2823bcc6 in __srget () from /lib/libc.so.7 #28 0x2823bcc6 in __srget () from /lib/libc.so.7 #29 0x2823bcc6 in __srget () from /lib/libc.so.7 #30 0x2823bcc6 in __srget () from /lib/libc.so.7 #31 0x2823bcc6 in __srget () from /lib/libc.so.7 #32 0x2823bcc6 in __srget () from /lib/libc.so.7 #33 0x2823bcc6 in __srget () from /lib/libc.so.7 #34 0x2823bcc6 in __srget () from /lib/libc.so.7 #35 0x2823bcc6 in __srget () from /lib/libc.so.7 #36 0x2823bcc6 in __srget () from /lib/libc.so.7 #37 0x2823bcc6 in __srget () from /lib/libc.so.7 #38 0x2823bcc6 in __srget () from /lib/libc.so.7 #39 0x2823bcc6 in __srget () from /lib/libc.so.7 #40 0x2823bcc6 in __srget () from /lib/libc.so.7 #41 0x2823bcc6 in __srget () from /lib/libc.so.7 #42 0x2823bcc6 in __srget () from /lib/libc.so.7 #43 0x2823bcc6 in __srget () from /lib/libc.so.7 #44 0x2823bcc6 in __srget () from /lib/libc.so.7 #45 0x2823bcc6 in __srget () from /lib/libc.so.7 #46 0x2823bcc6 in __srget () from /lib/libc.so.7 #47 0x2823bcc6 in __srget () from /lib/libc.so.7 #48 0x2823bcc6 in __srget () from /lib/libc.so.7 #49 0x2823bcc6 in __srget () from /lib/libc.so.7 #50 0x2823bcc6 in __srget () from /lib/libc.so.7 #51 0x2823bcc6 in __srget () from /lib/libc.so.7 #52 0x2823bcc6 in __srget () from /lib/libc.so.7 #53 0x2823bcc6 in __srget () from /lib/libc.so.7 #54 0x2823bcc6 in __srget () from /lib/libc.so.7 #55 0x2823bcc6 in __srget () from /lib/libc.so.7 #56 0x2823bcc6 in __srget () from /lib/libc.so.7 #57 0x2823bcc6 in __srget () from /lib/libc.so.7 #58 0x2823bcc6 in __srget () from /lib/libc.so.7 #59 0x2823bcc6 in __srget () from /lib/libc.so.7 ---Type to continue, or q to quit---q Quit (gdb) q mail# any help is welcome, Chris. ps. buildworld/kernel from sources after GCC-4.2 import and with Alexander's openssl patch applied. From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:44:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B47716A400 for ; Sun, 20 May 2007 11:44:15 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id F3E1713C447 for ; Sun, 20 May 2007 11:44:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id EE4DF1D45B; Sun, 20 May 2007 13:44:13 +0200 (CEST) Date: Sun, 20 May 2007 13:44:13 +0200 From: Ed Schouten To: Vlad GALU Message-ID: <20070520114413.GA23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fowzm2eVyDiEwGH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 11:44:15 -0000 --2fowzm2eVyDiEwGH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Vlad GALU wrote: > On 5/20/07, Ed Schouten wrote: > > Hello, > > > > * Vlad GALU wrote: > > > There might be a PEBKAC here, but after applying the patch > > > (cleanly) and rebuilding/reinstalling everything under > > > /usr/src/secure, OpenVPN still crashes with SIGILL. > > > > The problem lies within macro's that are compiled within applications > > that make use of the OpenSSL library. Could you try recompiling OpenVPN > > (and other apps/libs that make use of OpenSSL) as well? >=20 > Yes, I've just done that. The crashes I mentioned happen when I > rebuild the OpenVPN port, while performing the sanity tests (right > after compiling and linking). Well, I guess the previous mentioned patch doesn't fix all cases. I still get a lot of warnings during compilation of OpenSSL after applying the patch that look like this: | d1_srvr.c: In function 'dtls1_send_server_key_exchange': | d1_srvr.c:845: warning: function called through a non-compatible type | d1_srvr.c:845: note: if this code is reached, the program will abort Below is a list of all source files with their corresponding line numbers on which the warnings occur: | d1_clnt.c:912 | d1_srvr.c:845 | s3_clnt.c:1856 | s3_lib.c:1756 | s3_lib.c:1937 | s3_srvr.c:1224 | ssl_cert.c:215 All these lines of code make use of the DHparams_dup() macro, so I suspect fixing that macro should cure the crashes. --=20 Ed Schouten WWW: http://g-rave.nl/ --2fowzm2eVyDiEwGH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUDSN52SDGA2eCwURArpxAJ44lMPY/ABxcUowR28peq5dUoxXbACfWtoP wmp3Ie4MF0A7cF6zTRwYksY= =+gSb -----END PGP SIGNATURE----- --2fowzm2eVyDiEwGH-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:45:26 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B483916A400 for ; Sun, 20 May 2007 11:45:26 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.101.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9460F13C447 for ; Sun, 20 May 2007 11:45:26 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from hexahedron.daemonology.net (cperciva@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.13.6/8.13.4/SFU-5.0H) with SMTP id l4KBjOgi018241 for ; Sun, 20 May 2007 04:45:25 -0700 (PDT) X-Spam-Level: Spam-Level Received: (qmail 4199 invoked from network); 20 May 2007 11:45:19 -0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; 20 May 2007 11:45:19 -0000 Message-ID: <465034CE.4060802@freebsd.org> Date: Sun, 20 May 2007 07:45:18 -0400 From: Colin Percival User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: FreeBSD Current References: <20070520022722.1f5a0cda@kan.dnsalias.net> In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by antibody.sfu.ca running antivirus scanner Cc: Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 11:45:26 -0000 Alexander Kabaev wrote: > there were several reports of OpenSSL being broken when compiled with > GCC 4.2. It turns out OpenSSL uses function casting feature that was > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > invalid instructions ON PURPOSE to discourage the practice. > ... For the record (since I know several people were asking at BSDCan), this is a great example of why it makes sense to have libmd as well as libcrypto: A minimal hashing library which we maintain ourselves is far less likely to randomly break than a bloated^W more feature-complete library which is maintained outside of FreeBSD and occasionally imported onto a vendor branch. Colin Percival From owner-freebsd-current@FreeBSD.ORG Sun May 20 12:42:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30F3216A41F for ; Sun, 20 May 2007 12:42:46 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superman.superhero.nl (superhero.nl [213.84.142.150]) by mx1.freebsd.org (Postfix) with ESMTP id 9396913C483 for ; Sun, 20 May 2007 12:42:45 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 93073 invoked by uid 80); 20 May 2007 12:42:54 -0000 Received: from robin.ad.superhero.nl ([10.202.77.103]) (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sun, 20 May 2007 14:42:54 +0200 (CEST) Message-ID: <4327.10.202.77.103.1179664974.squirrel@webmail.superhero.nl> Date: Sun, 20 May 2007 14:42:54 +0200 (CEST) From: "Gelsema, P \(Patrick\)" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: CFT: nfe(4) MSI/MSIX support 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 May 2007 12:42:46 -0000 Hi, Finally had time to test. Everything works for me. When will this be committed to -current? Rgds, Patrick kernel: nfe0: port 0xc480-0xc487 mem 0xdd3fd000-0xdd3fdfff irq 23 at device 7.0 on pci0 kernel: miibus1: on nfe0 kernel: ukphy0: PHY 1 on miibus1 kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto kernel: nfe0: Ethernet address: 00:18:f3:9f:f1:b4 kernel: nfe0: [FILTER] last message repeated 7 times On Wed, May 9, 2007 05:40, Pyun YongHyeon wrote: > Dear all, > > I've received a patch from Shigeaki Tagashira. The patch enables MSI/MSIX capability on nVidia network adapters. I've slightly modified the patch and merged it into existing overhauled nfe(4). > I guess the nfe(4) now supports almost all hardware capabilities including MSI/MSIX, IP/TCP/UDP checksum offload, TCP segmentation offload and hardware assisted VLAN processing. > > Shigeaki Tagashira tested only MSI due to lack of hardwares so there might be bugs in MSIX support code. I don't have nVidia hardwares that supports MSI/MSIX so I need user's feedback to improve it. If you have one of nVidia network adapters that have MSI/MSIX capability please give it spin and let me know how it goes on your system. > > Overhauled nfe(4) can be found at the following URL. > http://people.freebsd.org/~yongari/nfe/WIP/if_nfe.c > http://people.freebsd.org/~yongari/nfe/WIP/if_nfereg.h > http://people.freebsd.org/~yongari/nfe/WIP/if_nfevar.h > > Thanks. > -- > Regards, > Pyun YongHyeon > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Sun May 20 12:56:35 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36B7016A421 for ; Sun, 20 May 2007 12:56:35 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 8093913C45A for ; Sun, 20 May 2007 12:56:34 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1274061wxc for ; Sun, 20 May 2007 05:56:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=kv38fVlobs6Mq6BYl4JE5IrmUOrzLFDtgdYMvdHTTpGHi7LK7LdkTVa76hOKsr719GrOku6jqmTa83HLJ1qCSlUcgy4CqPkMd+MEkwU8Y1oLKuJig1uQx9exFzIwmRxw7m30lRcz5n4DhoTvWF90NSy4RNUqk+qar8/ss7rZlFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=KbJkj7VyxlB+beW3O7mwRmnodUe3FPxrj8XKlj7JQaZeZ13/B/a/VHHL4w2cKeZpeGTLgNDLN8YkiNLAIrtn9H1srjRqwSggSeU7qUs2bIHt8gSWzJHLDC6A25/w3L3jO1bg5RHcHLI3omCtG2hJJiO8NcYzuMMJBVvwrHLEqz0= Received: by 10.70.31.14 with SMTP id e14mr5485724wxe.1179665793788; Sun, 20 May 2007 05:56:33 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id 45sm8024445wri.2007.05.20.05.56.32; Sun, 20 May 2007 05:56:32 -0700 (PDT) Date: Sun, 20 May 2007 08:56:27 -0400 From: Alexander Kabaev To: Hans Petter Selasky Message-ID: <20070520085627.1b7de382@kan.dnsalias.net> In-Reply-To: <200705201013.39171.hselasky@c2i.net> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <200705201013.39171.hselasky@c2i.net> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_P+JNfja0m..+BltCfE4AMio; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Michiel Boland , Larry, freebsd-current@freebsd.org, Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 12:56:35 -0000 --Sig_P+JNfja0m..+BltCfE4AMio Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 20 May 2007 10:13:39 +0200 Hans Petter Selasky wrote: > On Sunday 20 May 2007 08:27, Alexander Kabaev wrote: > > Hi all, > > > > there were several reports of OpenSSL being broken when compiled > > with GCC 4.2. It turns out OpenSSL uses function casting feature > > that was aggressively de-supported by GCC 4.2 and GCC goes as far > > as inserting invalid instructions ON PURPOSE to discourage the > > practice. >=20 > Why does it not break on compile/link time? >=20 > --HPS That is extremely good question. GCC issues warning that the code will abort if execution ever reaches this point, but compiles the file anyway. I see no logical explanation for this behaviour. Interested parties can take this to GCC mailing lists. --=20 Alexander Kabaev --Sig_P+JNfja0m..+BltCfE4AMio Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUEV7Q6z1jMm+XZYRAoWmAKCsr4DW5ejTUY+mMXZr6rNHZm+eswCggxCn pLkQ/1OpR9tm/fZlVVLXSTk= =swa5 -----END PGP SIGNATURE----- --Sig_P+JNfja0m..+BltCfE4AMio-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 13:09:30 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6E9516A41F for ; Sun, 20 May 2007 13:09:30 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id A0B5213C4B9 for ; Sun, 20 May 2007 13:09:30 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1275622wxc for ; Sun, 20 May 2007 06:09:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=TDpeIodqbCqIOW2sQUaC4v1uQiKtxaHjKWc00S591Ba1+2xPRsmhyCtUtrnU7ktv0iHo2LGt0CAJqLPsed/VwjTc7JpoYMZsL+QAGjD5qP+JlfUbuM77LMw/C8HG6zSC2W3d1wM3tpniK6g+fbwSaCOVzmoExkPdIpDGqb8iXFg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=hsUVvVayPBQxIF1ImBxlfkYkihtTSHS7zUjr8CvZUwLIK4YdM0gcwJyz1djdsaNCjYseh97mhFYyDYeyjn3+N5Dr+ssvIDAAcLIyYHi4EzUiCjj/fji6u/8viGyjucn9k23eTOCGJiS+9Bqb9VJ3Lbs1BBwpacHl3R45d73fR6Q= Received: by 10.70.11.1 with SMTP id 1mr5426927wxk.1179666569943; Sun, 20 May 2007 06:09:29 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id m6sm10645902wrm.2007.05.20.06.09.28; Sun, 20 May 2007 06:09:29 -0700 (PDT) Date: Sun, 20 May 2007 09:09:24 -0400 From: Alexander Kabaev To: Alexander Leidinger Message-ID: <20070520090924.65e379e7@kan.dnsalias.net> In-Reply-To: <20070520104026.73a3a742@deskjail> References: <20070518192007.6e6a91e1@kan.dnsalias.net> <20070519182811.GW23313@hoeg.nl> <20070520155736.59f36b67.ariff@FreeBSD.org> <20070520104026.73a3a742@deskjail> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_buIXQ3HtXjIXRNzr9H52IkS; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Ed Schouten , Ariff Abdullah , current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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 May 2007 13:09:31 -0000 --Sig_buIXQ3HtXjIXRNzr9H52IkS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 20 May 2007 10:40:26 +0200 Alexander Leidinger wrote: >=20 > Wild guess: maybe it uses the same kind of casts as we see with the > openssl problem. See the HEADS-UP from kan@. No way. His card is misbehaving, not crashing his kernel. --=20 Alexander Kabaev --Sig_buIXQ3HtXjIXRNzr9H52IkS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUEiEQ6z1jMm+XZYRAqljAJ9Lky55vySRlkX7px+so3Yz7j78mQCg6iLc /Z7K0m0TiyAXYCrEP4LO5JM= =HwlN -----END PGP SIGNATURE----- --Sig_buIXQ3HtXjIXRNzr9H52IkS-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 13:45:42 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D293E16A468; Sun, 20 May 2007 13:45:42 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.freebsd.org (Postfix) with ESMTP id 58A3713C46A; Sun, 20 May 2007 13:45:42 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.14.1/8.14.1/NinthNine) with SMTP id l4KDV4Xe006620; Sun, 20 May 2007 22:31:04 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 20 May 2007 22:31:04 +0900 From: Norikatsu Shigemura To: andre@FreeBSD.org Message-Id: <20070520223104.d8c53e57.nork@FreeBSD.org> X-Mailer: Sylpheed 2.4.0 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 20 May 2007 22:31:04 +0900 (JST) Cc: Norikatsu Shigemura , current@FreeBSD.org Subject: panic: tcp_log_addrs: string too long 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 May 2007 13:45:42 -0000 Hi andre! I have a tcp_log_addrs panic issue like following (with my patch). I didn't know why 'string too long'. So I added following patch to report this issue. Do you have any idea? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - panic: tcp_log_addrs: string too long:size=178, s= TCP: [192.168.36.6]:54312 to [219.127.74.122]:22 tcpflags 0x10 cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper(c06b36fd,f88bf8e8,c04a9b31,c06c9a9a,0,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c06c9a9a,0,c06bbedb,f88bf8f4,0,...) at kdb_backtrace+0x29 panic(c06bbedb,c06a16de,b2,b2,c6f4c300,...) at panic+0x111 tcp_log_addrs(f88bfaac,c6bb3828,0,0,2,...) at tcp_log_addrs+0x304 syncache_expand(f88bfaac,f88bfad4,c6bb3828,f88bfaec,c6ba8800,...) at syncache_expand+0x3dc tcp_input(c6ba8800,14,c4e4fc00,1,0,...) at tcp_input+0x7a5 ip_input(c6ba8800,c6ba8800,800,c4e4fc00,800,...) at ip_input+0x6a0 netisr_dispatch(2,c6ba8800,154,3,0,...) at netisr_dispatch+0x52 ether_demux(c4e4fc00,c6ba8800,3,0,3,...) at ether_demux+0x1c1 ether_input(c4e4fc00,c6ba8800,1,c5018bb4,c4e4fc00,...) at ether_input+0x3c3 fwe_as_input(c5018b84,0,c09cb9f9,8ca,2a7f3318,...) at fwe_as_input+0x134 fwohci_intr_body(c4e80d80,f88bfcb0,c04da23f,c5013000,1,...) at fwohci_intr_body+0x2cc fwohci_complete(c5013000,1,f88bfc94,c067afc7,18bfcbc,...) at fwohci_complete+0x1c taskqueue_run(c4e80d80,f88bfcf4,c048d1bb,0,0,...) at taskqueue_run+0x17f taskqueue_swi_run(0,0,0,0,0,...) at taskqueue_swi_run+0x13 ithread_loop(c4e80a80,f88bfd38,0,0,0,...) at ithread_loop+0x1cb fork_exit(c048cff0,c4e80a80,f88bfd38) at fork_exit+0xa9 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xf88bfd70, ebp = 0 --- KDB: enter: panic [thread pid 16 tid 100010 ] Stopped at kdb_enter+0x32: leave db> reset - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- sys/netinet/tcp_subr.c.orig Sat May 19 18:08:13 2007 +++ sys/netinet/tcp_subr.c Sun May 20 13:47:16 2007 @@ -2148,6 +2148,6 @@ if (th) sprintf(sp, " tcpflags 0x%b", th->th_flags, PRINT_TH_FLAGS); if (s[size] != '\0') - panic("%s: string too long", __func__); + panic("%s: string too long:size=%u, s=%*s", __func__, size, size, s); return (s); } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From owner-freebsd-current@FreeBSD.ORG Sun May 20 13:51:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2829516A469 for ; Sun, 20 May 2007 13:51:32 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id D365D13C469 for ; Sun, 20 May 2007 13:51:31 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1280891wxc for ; Sun, 20 May 2007 06:51:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=iS4cAkKZbDWozcQQKexBFzOhgPpl+9EV8GX+fYEADAGvFAG6jcSE2mzhYz13lK8ibVKplgdxFIg8CN2bEe8zIKBQRoQTjRDtmAB+ybIgWAyadASjoZxnWIoAp57e7dhFM618uaw1llmUSVbT85ncAV111RuVSja2AdCNUbGent0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=fuPSSnOCvI6wPNoLL9aGR5FbKWBP7aYppaWu6JHwW0cPkOkTNMY6CqxYw8ccBQo8x+YLfIARMR0rBhNUXI4LWHJVBYE59qFHIDRPnAHC3EGrbfkhjO6sYkENT2Iz5eHaVphTJNQzbbs8uInxVVcQ/oWK5ggTVloNAU4AV+bKL68= Received: by 10.70.67.4 with SMTP id p4mr5567704wxa.1179669091323; Sun, 20 May 2007 06:51:31 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id h17sm7493546wxd.2007.05.20.06.51.29; Sun, 20 May 2007 06:51:30 -0700 (PDT) Date: Sun, 20 May 2007 09:51:25 -0400 From: Alexander Kabaev To: Ed Schouten Message-ID: <20070520095125.395860f3@kan.dnsalias.net> In-Reply-To: <20070520114413.GA23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> <20070520114413.GA23313@hoeg.nl> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_6rfD5YsKQ+157wxm5zBaJqu; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Vlad GALU , FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 13:51:32 -0000 --Sig_6rfD5YsKQ+157wxm5zBaJqu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 20 May 2007 13:44:13 +0200 Ed Schouten wrote: > * Vlad GALU wrote: > > On 5/20/07, Ed Schouten wrote: > > > Hello, > > > > > > * Vlad GALU wrote: > > > > There might be a PEBKAC here, but after applying the patch > > > > (cleanly) and rebuilding/reinstalling everything under > > > > /usr/src/secure, OpenVPN still crashes with SIGILL. > > > > > > The problem lies within macro's that are compiled within > > > applications that make use of the OpenSSL library. Could you try > > > recompiling OpenVPN (and other apps/libs that make use of > > > OpenSSL) as well? > >=20 > > Yes, I've just done that. The crashes I mentioned happen when I > > rebuild the OpenVPN port, while performing the sanity tests (right > > after compiling and linking). >=20 > Well, I guess the previous mentioned patch doesn't fix all cases. I > still get a lot of warnings during compilation of OpenSSL after > applying the patch that look like this: >=20 > | d1_clnt.c:912 > | d1_srvr.c:845 > | s3_clnt.c:1856 > | s3_lib.c:1756 > | s3_lib.c:1937 > | s3_srvr.c:1224 > | ssl_cert.c:215 Just out of curiosity, did you happen to notice that files which my patch is changing are header files? You need to install them for the patch to have any effect. Otherwise rebuilding in secure/ will happily use unpatched header files from /usr/inlcude/openssl. I suggest you just rebuild the whole world instead of trying to cut corners. --=20 Alexander Kabaev --Sig_6rfD5YsKQ+157wxm5zBaJqu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUFJeQ6z1jMm+XZYRAlMVAJ96iuVFxbvDDdxMOlSWNjtAyOo6mwCgzegH OHOUEHOuEQx7sg7+ZEe6E1g= =3ala -----END PGP SIGNATURE----- --Sig_6rfD5YsKQ+157wxm5zBaJqu-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 14:00:33 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 731C016A400 for ; Sun, 20 May 2007 14:00:33 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id DA19513C455 for ; Sun, 20 May 2007 14:00:32 +0000 (UTC) (envelope-from andre@freebsd.org) Received: (qmail 15838 invoked from network); 20 May 2007 13:18:22 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 20 May 2007 13:18:22 -0000 Message-ID: <46505481.8020201@freebsd.org> Date: Sun, 20 May 2007 16:00:33 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Norikatsu Shigemura References: <20070520223104.d8c53e57.nork@FreeBSD.org> In-Reply-To: <20070520223104.d8c53e57.nork@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: panic: tcp_log_addrs: string too long 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 May 2007 14:00:33 -0000 Norikatsu Shigemura wrote: > Hi andre! > > I have a tcp_log_addrs panic issue like following (with my patch). > I didn't know why 'string too long'. So I added following patch > to report this issue. Do you have any idea? I just woke up from last nights extended stay at the hacking lounge at BSDCan. My brain isn't yet working and I have to head out to catch up with the remaining crew to do some sightseeing here in Ottawa. Will look at it as soon as we get back later today. -- Andre > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > panic: tcp_log_addrs: string too long:size=178, s= TCP: [192.168.36.6]:54312 to [219.127.74.122]:22 tcpflags 0x10 > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper(c06b36fd,f88bf8e8,c04a9b31,c06c9a9a,0,...) at db_trace_self_wrapper+0x26 > kdb_backtrace(c06c9a9a,0,c06bbedb,f88bf8f4,0,...) at kdb_backtrace+0x29 > panic(c06bbedb,c06a16de,b2,b2,c6f4c300,...) at panic+0x111 > tcp_log_addrs(f88bfaac,c6bb3828,0,0,2,...) at tcp_log_addrs+0x304 > syncache_expand(f88bfaac,f88bfad4,c6bb3828,f88bfaec,c6ba8800,...) at syncache_expand+0x3dc > tcp_input(c6ba8800,14,c4e4fc00,1,0,...) at tcp_input+0x7a5 > ip_input(c6ba8800,c6ba8800,800,c4e4fc00,800,...) at ip_input+0x6a0 > netisr_dispatch(2,c6ba8800,154,3,0,...) at netisr_dispatch+0x52 > ether_demux(c4e4fc00,c6ba8800,3,0,3,...) at ether_demux+0x1c1 > ether_input(c4e4fc00,c6ba8800,1,c5018bb4,c4e4fc00,...) at ether_input+0x3c3 > fwe_as_input(c5018b84,0,c09cb9f9,8ca,2a7f3318,...) at fwe_as_input+0x134 > fwohci_intr_body(c4e80d80,f88bfcb0,c04da23f,c5013000,1,...) at fwohci_intr_body+0x2cc > fwohci_complete(c5013000,1,f88bfc94,c067afc7,18bfcbc,...) at fwohci_complete+0x1c > taskqueue_run(c4e80d80,f88bfcf4,c048d1bb,0,0,...) at taskqueue_run+0x17f > taskqueue_swi_run(0,0,0,0,0,...) at taskqueue_swi_run+0x13 > ithread_loop(c4e80a80,f88bfd38,0,0,0,...) at ithread_loop+0x1cb > fork_exit(c048cff0,c4e80a80,f88bfd38) at fork_exit+0xa9 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xf88bfd70, ebp = 0 --- > KDB: enter: panic > [thread pid 16 tid 100010 ] > Stopped at kdb_enter+0x32: leave > db> reset > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > --- sys/netinet/tcp_subr.c.orig Sat May 19 18:08:13 2007 > +++ sys/netinet/tcp_subr.c Sun May 20 13:47:16 2007 > @@ -2148,6 +2148,6 @@ > if (th) > sprintf(sp, " tcpflags 0x%b", th->th_flags, PRINT_TH_FLAGS); > if (s[size] != '\0') > - panic("%s: string too long", __func__); > + panic("%s: string too long:size=%u, s=%*s", __func__, size, size, s); > return (s); > } > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > From owner-freebsd-current@FreeBSD.ORG Sun May 20 14:57:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B09B16A421 for ; Sun, 20 May 2007 14:57:51 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 1DCAA13C43E for ; Sun, 20 May 2007 14:57:51 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 74AE11CC4E; Sun, 20 May 2007 16:57:35 +0200 (CEST) Date: Sun, 20 May 2007 16:57:35 +0200 From: Ed Schouten To: Alexander Kabaev Message-ID: <20070520145735.GB23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> <20070520114413.GA23313@hoeg.nl> <20070520095125.395860f3@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bc2iwAtkAaXP8cWF" Content-Disposition: inline In-Reply-To: <20070520095125.395860f3@kan.dnsalias.net> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 14:57:51 -0000 --bc2iwAtkAaXP8cWF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alexander Kabaev wrote: > Just out of curiosity, did you happen to notice that files which my > patch is changing are header files? You need to install them for the > patch to have any effect. Otherwise rebuilding in secure/ will happily > use unpatched header files from /usr/inlcude/openssl. >=20 > I suggest you just rebuild the whole world instead of trying to cut > corners. Indeed, my bad. I thought the header files were part of libssl, but it turned out they were part of libcrypto. Installing everything in secure/ fixed the problem. Sorry for the noise. --=20 Ed Schouten WWW: http://g-rave.nl/ --bc2iwAtkAaXP8cWF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUGHf52SDGA2eCwURAhvXAJ9b/vktm70vzFkAY+1zxXsIRht7LgCfUiii uN0oZeto0s4Y9pmNSU7gtNU= =F7Sp -----END PGP SIGNATURE----- --bc2iwAtkAaXP8cWF-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 15:12:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD3AC16A400 for ; Sun, 20 May 2007 15:12:25 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 63A0F13C45D for ; Sun, 20 May 2007 15:12:25 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (dpm.xs4all.nl [213.84.11.61]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id l4KFCNTF061016 for ; Sun, 20 May 2007 17:12:24 +0200 (CEST) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Sun, 20 May 2007 17:09:27 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB01116B@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ruby-1.8.6 and GCC-4.2 issues Thread-Index: Acea00QH0ta2XL48RheM7eZOl2COGwAHZfxp References: <162418621.20070520143301@freemail.gr> From: "Johan Hendriks" To: "Chris Dionissopoulos" X-Virus-Scanned: by XS4ALL Virus Scanner Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: RE: ruby-1.8.6 and GCC-4.2 issues 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 May 2007 15:12:25 -0000 >Hello ppl, >It seems that ruby-1.8.6,1 builded with GCC4.2 have the same OpenSSL >issues (illegal instruction). How to reproduce: >mail# cd /usr/ports/ports-mgmt/portupgrade >mail# make install clean I got the same but after deleting all of portupgrade's dependencies = (ruby, ruby-bdb, libtool, db4.1 and portupgrade) And then install portupgrade again all is fine. =20 This is something of an old build (not gcc4.2) on a 4.2 build system. I am not sure but i think that is the case. =20 I also did a portupgrade of all my ports on the system, and all seems to = work right now except samba! =20 regards, Johan Hendriks _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sun May 20 17:17:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96C5716A421 for ; Sun, 20 May 2007 17:17:48 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4F58413C46C for ; Sun, 20 May 2007 17:17:48 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 6F3682084; Sun, 20 May 2007 19:17:44 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id DC0892083; Sun, 20 May 2007 19:17:43 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id A887C5096; Sun, 20 May 2007 19:17:43 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Alexander Kabaev References: <20070520022722.1f5a0cda@kan.dnsalias.net> <200705201013.39171.hselasky@c2i.net> <20070520085627.1b7de382@kan.dnsalias.net> Date: Sun, 20 May 2007 19:17:43 +0200 In-Reply-To: <20070520085627.1b7de382@kan.dnsalias.net> (Alexander Kabaev's message of "Sun\, 20 May 2007 08\:56\:27 -0400") Message-ID: <86ps4vifd4.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Michiel Boland , freebsd-current@freebsd.org, Rosenman , Larry@FreeBSD.ORG, Hans Petter Selasky Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 17:17:48 -0000 Alexander Kabaev writes: > Hans Petter Selasky writes: > > Why does it not break on compile/link time? > That is extremely good question. GCC issues warning that the code will > abort if execution ever reaches this point, but compiles the file > anyway. I see no logical explanation for this behaviour. Interested > parties can take this to GCC mailing lists. The build would stop if -Werror were enabled. Speaking of which, it is interesting to note the amount of warnings gcc emits when building the toolchain... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Sun May 20 17:41:26 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0ED1E16A46C for ; Sun, 20 May 2007 17:41:26 +0000 (UTC) (envelope-from llwang@infor.ck.tp.edu.tw) Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200]) by mx1.freebsd.org (Postfix) with ESMTP id D386313C48C for ; Sun, 20 May 2007 17:41:25 +0000 (UTC) (envelope-from llwang@infor.ck.tp.edu.tw) Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001) id D39EF170BB; Mon, 21 May 2007 01:41:24 +0800 (CST) Date: Mon, 21 May 2007 01:41:24 +0800 From: "Li-Lun Wang (Leland Wang)" To: freebsd-current@FreeBSD.org Message-ID: <20070520174124.GA14987@Athena.infor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: msk watchdog timeout 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 May 2007 17:41:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am resending this the third time since my previous messages didn't seem to go through. I was persuaded to report this on freebsd-current. I just installed 7.0-current as of May 3 on my new computer that comes with an on-board Marvell Yukon Gigabit Ethernet. Every now and then if the network throughput comes near several hundred kbytes, I get the msk0 watchdog timeout messages: kernel: msk0: watchdog timeout msk0: watchdog timeout (missed Tx interrupts) -- recovering Although it says recovering, the interface never comes back alive. Sometimes doing a kldunload / kldload if_msk can bring the interface back, but sometimes it is helpless with the following message when I reload the kernel module: kernel: mskc0: port 0xb000-0xb0ff mem 0xf9000000-0xf9003fff irq 16 at device 0.0 on pci4 kernel: msk0: on mskc0 kernel: msk0: failed to allocate DMA'able memory for jumbo buf kernel: device_attach: msk0 attach returned 1 I would have to reboot to solve this situation. Google found me not much information, but someone did mention something about MSI. I set hw.pci.enable_msix=0 and hw.pci.enable_msi=0 in my loader.conf, and I was able to reach megas of bytes throughput without a problem. - -- llwang -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGUIhDCQM7t5B2mhARAjRiAJ9sUZY2r1Js/ZUc+hV0cq9zrtAyJACfbihs vgaKBUNWLC4Y8LSZ39vxBI8= =4bxd -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Sun May 20 17:54:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFEA816A50E for ; Sun, 20 May 2007 17:54:07 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 759B013C447 for ; Sun, 20 May 2007 17:54:07 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l4KHs1hg074466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 May 2007 19:54:06 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l4KHs0Ho098156 for ; Sun, 20 May 2007 19:54:00 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l4KHs0oU004253 for freebsd-current@freebsd.org; Sun, 20 May 2007 19:54:00 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-current@freebsd.org Date: Sun, 20 May 2007 19:54:00 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705201954.00476.h.schmalzbauer@omnisec.de> Subject: strange "Exec format error" (gcc4.2 suspicious) 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 May 2007 17:54:08 -0000 Hello, I compiled samba on a fresh -current and I'm seeing strange errors. When I try to execute 'net' I get this error: /usr/local/bin/net: Exec format error. Binary file not executable. Starting smbd results in this: Starting smbd. Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1720. Abort trap (core dumped) Starting winbindd. Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1720. Abort trap (core dumped) Any ideas? Is this related to the default libthr change or the gcc4.2 import? Best regards, -Harry From owner-freebsd-current@FreeBSD.ORG Sun May 20 18:43:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C38B16A468; Sun, 20 May 2007 18:43:25 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7A41113C483; Sun, 20 May 2007 18:43:25 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 795401A4D84; Sun, 20 May 2007 11:44:22 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A779651417; Sun, 20 May 2007 14:43:24 -0400 (EDT) Date: Sun, 20 May 2007 14:43:24 -0400 From: Kris Kennaway To: Colin Percival Message-ID: <20070520184324.GA41576@xor.obsecurity.org> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <465034CE.4060802@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <465034CE.4060802@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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 May 2007 18:43:25 -0000 On Sun, May 20, 2007 at 07:45:18AM -0400, Colin Percival wrote: > Alexander Kabaev wrote: > > there were several reports of OpenSSL being broken when compiled with > > GCC 4.2. It turns out OpenSSL uses function casting feature that was > > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > > invalid instructions ON PURPOSE to discourage the practice. > > ... > > For the record (since I know several people were asking at BSDCan), this is > a great example of why it makes sense to have libmd as well as libcrypto: A > minimal hashing library which we maintain ourselves is far less likely to > randomly break than a bloated^W more feature-complete library which is > maintained outside of FreeBSD and occasionally imported onto a vendor branch. Well that's kind of a straw man because it's not actually what I suggested. I was advocating compiling a minimal libmd that only compiles (from openssl sources instead of our separate libmd sources) the same subset of the code that we currently use in libmd, without the additional bloat of libcrypto. At least the last time I looked at openssl this was possible, and one ends up with something very similar to our current libmd, plus additional bug fixes. Kris From owner-freebsd-current@FreeBSD.ORG Sun May 20 18:46:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1673416A46E for ; Sun, 20 May 2007 18:46:47 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id CBCD513C4B0 for ; Sun, 20 May 2007 18:46:46 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 4CAC6208E; Sun, 20 May 2007 20:46:43 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 41357208A; Sun, 20 May 2007 20:46:43 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id E8853510D; Sun, 20 May 2007 20:46:42 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Harald Schmalzbauer References: <200705201954.00476.h.schmalzbauer@omnisec.de> Date: Sun, 20 May 2007 20:46:42 +0200 In-Reply-To: <200705201954.00476.h.schmalzbauer@omnisec.de> (Harald Schmalzbauer's message of "Sun\, 20 May 2007 19\:54\:00 +0200") Message-ID: <868xbjib8t.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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 May 2007 18:46:47 -0000 Harald Schmalzbauer writes: > I compiled samba on a fresh -current and I'm seeing strange errors. > When I try to execute 'net' I get this error: > /usr/local/bin/net: Exec format error. Binary file not executable. If you're running amd64, there was briefly a bug that caused the 32-bit version of the threads library to be installed in place of the 64-bit version. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Sun May 20 19:31:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B10B16A46C for ; Sun, 20 May 2007 19:31:06 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC1913C45B for ; Sun, 20 May 2007 19:31:03 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l4KJUuH1075499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 May 2007 21:31:01 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l4KJUuUR098815; Sun, 20 May 2007 21:30:56 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l4KJUt4u004872; Sun, 20 May 2007 21:30:55 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-current@freebsd.org Date: Sun, 20 May 2007 21:30:55 +0200 User-Agent: KMail/1.9.6 References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> In-Reply-To: <868xbjib8t.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200705202130.55833.h.schmalzbauer@omnisec.de> Cc: Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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 May 2007 19:31:06 -0000 Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm=C3=B8rgrav: > Harald Schmalzbauer writes: > > I compiled samba on a fresh -current and I'm seeing strange errors. > > When I try to execute 'net' I get this error: > > /usr/local/bin/net: Exec format error. Binary file not executable. > > If you're running amd64, there was briefly a bug that caused the 32-bit It was my very first thought too, but it's i386. It's a xeon 3050 (core2, t= hus=20 EM64-T) processor but world alwys was i386 and also is for that jail. Could it be possible that there's any runtime detection which made me 64-bi= t=20 binaries on a 32-bit base system? Thanks, =2DHarry > version of the threads library to be installed in place of the 64-bit > version. > > DES =2D-=20 OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer =46lintsbacher Str. 3 80686 M=C3=BCnchen +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 From owner-freebsd-current@FreeBSD.ORG Sun May 20 22:37:28 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B683D16A469; Sun, 20 May 2007 22:37:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A304B13C465; Sun, 20 May 2007 22:37:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D29891A3C1C; Sun, 20 May 2007 15:38:25 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C1CD25140A; Sun, 20 May 2007 18:37:27 -0400 (EDT) Date: Sun, 20 May 2007 18:37:27 -0400 From: Kris Kennaway To: takawata@freeBSD.org, njl@FreeBSD.org, current@FreeBSD.org Message-ID: <20070520223727.GB44666@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: HPET vs other timers 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 May 2007 22:37:28 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I recently noticed that the default timecounter on my system has changed to HPET (formerly it used ACPI-fast by default): kern.timecounter.choice: TSC(800) ACPI-fast(1000) HPET(2000) i8254(0) dummy(-1000000)OA This is of particular interest to me because the timecounter speed and serialization requirements are the major performance factor for things like LOCK_PROFILING (in the default configuration this inserts at least one time counter read into every kernel lock operation). This is an interesting test because time counters that require some kind of explicit or implicit serialization tend to serialize all lock operations and dramatically reduce performance. In addition there may be different overheads to timecounter reads. The following is a comparison of a multiprocessor benchmark (it is not important what it is, except that "higher is better") performance on an 8-core system with LOCK_PROFILING active: no LOCK_PROFILING 24559.36 (baseline) TSC 19627.16 ACPI-fast 4633.02 HPET 2917.85 i8254 panic :( [1] i.e. HPET is actually slower than all the other (working ;) timecounters in this configuration. Can you provide some more justification of why HPET has the highest quality factor and is appropriate to be used as the preferred timecounter? Kris [1] Fatal double fault cpuid = 1; apic id = 01 panic: double fault cpuid = 1 KDB: enter: panic NMI ISA 20, EISA ff NMI ... going to debugger [thread pid 847 tid 100163 ] Stopped at lapic_ipi_raw: pushq %rbp db> wh Tracing pid 847 tid 100163 td 0xffffff008c02f000 lapic_ipi_raw() at lapic_ipi_raw dmapbase() at 0xffffff008c02f000 --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUM2nWry0BWjoQKURAnXLAKCXFrQoZkuvMUX+WqIOOuiFAFXdpwCdHisr ZpRLBWZZO6gy5jLBW4f6HS0= =Bd/l -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 22:47:18 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 515EA16A400 for ; Sun, 20 May 2007 22:47:18 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id EB03313C43E for ; Sun, 20 May 2007 22:47:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1361347wxc for ; Sun, 20 May 2007 15:47:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=Qm/hzJhd4tkkv9X2rmLcc1HJ+8JPrlPI1h9x31IoIO4SYaKxmiy5klQcCnf0xlSi2fARATlWnNtvcL1DOtL8CsLqLs0s0Vrw2yw0L8ege7VUOyy3G5YxdFurlu4d1ghCSu6fj6kmxGvpjsPJqBl16LAZPJgYk4ys3NogjOmARuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=pvXgpHsd1l1ktZOKNPcpAEeugTmgxhsBkPVnyV5ytYtOCjBafc1x0XsAhg1caVgQkOLn57HFnnp5GZBLSIlzpMs56CqB3GXyywj1Yao64wSPjjFJZAK2LxcmGc3IZCOorD0x4vWiuGN/PM9Nrv8hJ6RxZtaJ9MhA+9DJLipJmU4= Received: by 10.70.65.5 with SMTP id n5mr6061001wxa.1179701236514; Sun, 20 May 2007 15:47:16 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id i40sm8250936wxd.2007.05.20.15.47.14; Sun, 20 May 2007 15:47:15 -0700 (PDT) Date: Sun, 20 May 2007 18:47:10 -0400 From: Alexander Kabaev To: Harald Schmalzbauer Message-ID: <20070520184710.75db1335@kan.dnsalias.net> In-Reply-To: <200705202130.55833.h.schmalzbauer@omnisec.de> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_MJOdu7yt+aZhHPcMLfwL+Ml; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= , freebsd-current@freebsd.org Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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 May 2007 22:47:18 -0000 --Sig_MJOdu7yt+aZhHPcMLfwL+Ml Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, 20 May 2007 21:30:55 +0200 Harald Schmalzbauer wrote: > Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm=C3=B8rgrav: > > Harald Schmalzbauer writes: > > > I compiled samba on a fresh -current and I'm seeing strange > > > errors. When I try to execute 'net' I get this error: > > > /usr/local/bin/net: Exec format error. Binary file not executable. > > > > If you're running amd64, there was briefly a bug that caused the > > 32-bit >=20 > It was my very first thought too, but it's i386. It's a xeon 3050 > (core2, thus EM64-T) processor but world alwys was i386 and also is > for that jail. Could it be possible that there's any runtime > detection which made me 64-bit binaries on a 32-bit base system? >=20 Samba auto-detected -fpie support in GCC 4.3 and tried to use it. FreeBSD kernel does not know how to deal with binaries created by this option yet, so it freaks out. Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. --=20 Alexander Kabaev --Sig_MJOdu7yt+aZhHPcMLfwL+Ml Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUM/uQ6z1jMm+XZYRAt3pAKCUIA9kanJm4L3xRb2JigPuDTxDxgCfWVZp ud0CV3rgXJNjx2bQ2wI4ohw= =Z8Ay -----END PGP SIGNATURE----- --Sig_MJOdu7yt+aZhHPcMLfwL+Ml-- From owner-freebsd-current@FreeBSD.ORG Sun May 20 22:53:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A782E16A421 for ; Sun, 20 May 2007 22:53:00 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC3713C45D for ; Sun, 20 May 2007 22:53:00 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so787290ugh for ; Sun, 20 May 2007 15:52:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CM7VQG3Z0zR3/Nt9a4he8IgPAHe968h4hpIVGgnhzQqf5KfmQc859Bk6f3O/gSq/cBOIwCdNC715p4XZBUkdXjnE6rLUTy7tHWd1/gRZ2tFOKzpinE1Ck+1Bv4WzXwj072N5hpGUTIkJbM3FnmN6A8FS+QxDm2J93tXyEj92eKs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pNPM+VDGsRNxzBUr996j7wjet8N+hRnjOIXS/5PScx33GWKIBLx5h3aHM35ajC+a8tQAtTUMiqk+93mGVHAaixmpbd3+1UdR1OXeJTHl39B2tH7hgNWZhw/GAo6LKMTE7hoW4JBrpW//Rt/2bDsnwVlEi2qIdhTIj/QZRXyouZk= Received: by 10.78.130.6 with SMTP id c6mr953731hud.1179701579164; Sun, 20 May 2007 15:52:59 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Sun, 20 May 2007 15:52:59 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 15:52:59 -0700 From: "Kip Macy" To: "Alexander Kabaev" In-Reply-To: <20070520184710.75db1335@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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 May 2007 22:53:00 -0000 > > It was my very first thought too, but it's i386. It's a xeon 3050 > > (core2, thus EM64-T) processor but world alwys was i386 and also is > > for that jail. Could it be possible that there's any runtime > > detection which made me 64-bit binaries on a 32-bit base system? > > > Samba auto-detected -fpie support in GCC 4.3 and tried to use it. > FreeBSD kernel does not know how to deal with binaries created by this > option yet, so it freaks out. > > Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. > What kernel support is required? -Kip From owner-freebsd-current@FreeBSD.ORG Sun May 20 22:36:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BEB116A400 for ; Sun, 20 May 2007 22:36:58 +0000 (UTC) (envelope-from coolaz@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id DF5EF13C45B for ; Sun, 20 May 2007 22:36:57 +0000 (UTC) (envelope-from coolaz@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 0A8007FBAA6F for ; Mon, 21 May 2007 00:11:44 +0200 (CEST) Received: from [91.16.240.123] (helo=example.net) by smtp06.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.108 #197) id 1Hptcs-0003l8-00 for freebsd-current@freebsd.org; Mon, 21 May 2007 00:11:43 +0200 Received: by example.net (nbSMTP-1.00) for uid 1001 (using TLSv1/SSLv3 with cipher AES256-SHA (256/256 bits)) coolaz@web.de; Mon, 21 May 2007 00:11:49 +0200 (CEST) Date: Mon, 21 May 2007 00:11:48 +0200 From: Martin Kulas To: freebsd-current@freebsd.org Message-ID: <20070520221148.GA2169@thunderbird.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-PGP-Key: http://www.stud.uni-hamburg.de/~kulas/mkulas_pubkey.asc Sender: coolaz@web.de X-Sender: coolaz@web.de X-Provags-ID: V01U2FsdGVkX1/aIVPWYLd0biDI4j613Iy7aF9Ez6lPkZ7zfcru V7OXg7n8SxDIiQ3a2qbW2D0wPuOXOmdiAqeikuw2hJdcd4+Jiv 3YTW7n964= X-Mailman-Approved-At: Sun, 20 May 2007 23:01:16 +0000 Subject: [SCTP] nonblocking write() 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 May 2007 22:36:58 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I hope this is the right mailing list. I am running -CURRENT and=20 I am trying to get an application (thttpd) to use SCTP sockets =20 in one-to-one style. But it does not work. I tracked the problem down to this: The SCTP socket is made non-blocking. Then write() is called. Write() succeeds if we do not write too many bytes; net.inet.sctp.sendspace is the limit for an successfull write(). Is this behaviour intended? Perhaps I am coding something wrong, so here is sample code: $ nl nb.c 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include =09 12 #define DST_IP "127.0.0.1" 13 #define DST_PORT 1234 =09 14 int 15 main() 16 { 17 int s; 18 struct sockaddr_in sa; 19 int ret; 20 int n; 21 char buf[BUFSZ]; 22 int toSend; =09 23 printf("BUFSZ: %u\n", BUFSZ); 24 #ifdef USE_SCTP 25 printf("using sctp\n"); 26 s =3D socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); 27 #else 28 printf("using tcp\n"); 29 s =3D socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 30 #endif 31 if ( s =3D=3D -1 ) 32 err(1, "socket() failed"); =09 33 #ifdef USE_NONBLOCKING 34 printf("using nonblocking i/o\n"); 35 ret =3D fcntl(s, F_GETFL); 36 if ( ret =3D=3D -1 ) 37 err(1, "fcntl() failed\n"); 38 ret |=3D O_NONBLOCK; 39 ret =3D fcntl(s, F_SETFL, ret); 40 if ( ret =3D=3D -1 ) 41 err(1, "fcntl() failed\n"); 42 #endif =09 43 bzero(&sa, sizeof(sa)); 44 sa.sin_family =3D AF_INET; 45 sa.sin_port =3D htons(DST_PORT); 46 n =3D inet_pton(AF_INET, DST_IP, &sa.sin_addr); 47 if ( n !=3D 1 ) 48 err(1, "inet_pton() failed"); =09 49 ret =3D connect(s, (struct sockaddr *) &sa, sizeof(sa)); 50 if ( ret =3D=3D -1 ) 51 err(1, "connect() failed"); 52 memset(buf, 'a', BUFSZ); =09 53 #ifdef USE_WRITE 54 printf("using write() i/o\n"); 55 toSend =3D BUFSZ; 56 while ( toSend > 0 ) { 57 n =3D write(s, buf, toSend); 58 if ( n > 0 ) { 59 /* OK */ 60 printf("%d bytes send\n", n); 61 toSend -=3D n; 62 } else if ( n =3D=3D 0 ) { 63 err(1, "write() EOF (0 bytes written)\n"); 64 } else { 65 printf("n: %d: %s\n", n, strerror(errno)); 66 sleep(1); 67 } 68 } 69 #endif =09 70 return 0; 71 } $ cc -Wall -DUSE_SCTP -DUSE_WRITE -DUSE_NONBLOCKING -DBUFSZ=3D30000 -o nb n= b.c=20 $ ./nb = =20 BUFSZ: 30000 using sctp using nonblocking i/o using write() i/o 30000 bytes send $ cc -Wall -DUSE_SCTP -DUSE_WRITE -DUSE_NONBLOCKING -DBUFSZ=3D300000 -o nb = nb.c $ ./nb = =20 BUFSZ: 300000 using sctp using nonblocking i/o using write() i/o n: -1: Resource temporarily unavailable n: -1: Resource temporarily unavailable n: -1: Resource temporarily unavailable n: -1: Resource temporarily unavailable n: -1: Resource temporarily unavailable n: -1: Resource temporarily unavailable ^C I googled a bit but I do not get any answer if this behaviour is correct=20 for non-blocking SCTP socket in one-to-one style. Thanks in advance, Martin --=20 PGP Key: http://www.stud.uni-hamburg.de/~kulas/mkulas_pubkey.asc --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGUMeju1jKg1agQ1oRAqLsAKDcUizqObwfhip1yWOJMgAVZpt/LACfbuav xo771wg2rDc29ByHb38dvro= =w1aG -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:07:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21A6D16A41F for ; Mon, 21 May 2007 01:07:46 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id CFB3513C448 for ; Mon, 21 May 2007 01:07:45 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1712720pyh for ; Sun, 20 May 2007 18:07:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=U9Zj+GounLtIpuVRcSBFUMAH9DzKWN1iryBY3napmT+mEd3D1qwoqYcD1ZwY2v+VbUtA/vZQtO924vskcMqI4tCmQxVE+gtlV9l3NSUKeEwLROlL3BUcolyCAYFv8HxLQsb+3heXpJfSGjx0cz/BB9uYraASixs2Xh9LtYRhFbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ITgcsDQYcy509rAHtCUpN8QJS+7R/lfG0twI4cCJBKtTOFGWoaFbLvFKIb7D/ahWg45d4ivgY00rVRXxpFFubHW5uuZMUkNOtCcXdpjVdIS3OrLSgCJYg6xWAY+UTtleMg7E03pSM5QhXeEiUNHDRFG4ww2KlI39W1DQ3JFFpWE= Received: by 10.35.30.17 with SMTP id h17mr7670038pyj.1179709664250; Sun, 20 May 2007 18:07:44 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 17sm16868039nzo.2007.05.20.18.07.41; Sun, 20 May 2007 18:07:43 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l4L17bML037255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 10:07:37 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l4L17ZBT037254; Mon, 21 May 2007 10:07:35 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 21 May 2007 10:07:35 +0900 From: Pyun YongHyeon To: "Gelsema, P (Patrick)" Message-ID: <20070521010735.GA36838@cdnetworks.co.kr> References: <4327.10.202.77.103.1179664974.squirrel@webmail.superhero.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4327.10.202.77.103.1179664974.squirrel@webmail.superhero.nl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: CFT: nfe(4) MSI/MSIX support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 01:07:46 -0000 On Sun, May 20, 2007 at 02:42:54PM +0200, Gelsema, P (Patrick) wrote: > Hi, > > Finally had time to test. > Everything works for me. > > When will this be committed to -current? > > Rgds, > > Patrick > > kernel: nfe0: port 0xc480-0xc487 > mem 0xdd3fd000-0xdd3fdfff irq 23 at device 7.0 on pci0 > kernel: miibus1: on nfe0 > kernel: ukphy0: PHY 1 on miibus1 > kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT-FDX, auto > kernel: nfe0: Ethernet address: 00:18:f3:9f:f1:b4 > kernel: nfe0: [FILTER] > last message repeated 7 times > I'd also like to commit it and make nfe(4) default driver for all nVidia network adapters. I've sent several mails to official FreeBSD nfe(4) maintainer, obrien, but got no reply yet. I'll wait one or two week more and will post a mail that asks for opinions of other developers on superseding nve(4) with nfe(4). -- Regards, Pyun YongHyeon From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:09:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0ED9216A400 for ; Mon, 21 May 2007 01:09:53 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id AA87513C468 for ; Mon, 21 May 2007 01:09:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1713120pyh for ; Sun, 20 May 2007 18:09:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=meQn/V6u625oFbSOpkfdhpSyFgQ4wrl4Mupi6pvZpkSyf1Oyp+2uZqypLAIneZYx6acUkeVPmDp5CpCxX0o5rPD9l70jtUzP8jPW8MFyfWPzhsVizAhV+CKsbXRPUhzsBzZSlR7qDvTmjfFuG8jL0A+IoL7Jb2QHMzl8TDOoyPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=aGfq776X+l8H6SA6xqodaD34H7MW6eQJ4BEUNRdpVDWqBIC7+L6ahQyLByhXIQiK23UCy3BJFIpcxe8IBif9mOXfFZAdc9LRtZBlA1IrVNXusEmzgPQpW4nZCsYC33E3/dZL8zwOmpPBPjCeUIyoILwjq+3ANO7kkpl8Ux+ClAU= Received: by 10.35.106.1 with SMTP id i1mr7762049pym.1179709791853; Sun, 20 May 2007 18:09:51 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id m2sm4635348nzf.2007.05.20.18.09.48; Sun, 20 May 2007 18:09:50 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l4L19jMc037266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 10:09:45 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l4L19ivW037265; Mon, 21 May 2007 10:09:44 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 21 May 2007 10:09:44 +0900 From: Pyun YongHyeon To: "Li-Lun Wang (Leland Wang)" Message-ID: <20070521010944.GB36838@cdnetworks.co.kr> References: <20070520174124.GA14987@Athena.infor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070520174124.GA14987@Athena.infor.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org Subject: Re: msk watchdog timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 01:09:53 -0000 On Mon, May 21, 2007 at 01:41:24AM +0800, Li-Lun Wang (Leland Wang) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I am resending this the third time since my previous messages didn't seem > to go through. > > I was persuaded to report this on freebsd-current. > I just installed 7.0-current as of May 3 on my new computer that comes > with an on-board Marvell Yukon Gigabit Ethernet. Every now and then > if the network throughput comes near several hundred kbytes, I get the > msk0 watchdog timeout messages: > > kernel: msk0: watchdog timeout > msk0: watchdog timeout (missed Tx interrupts) -- recovering > > Although it says recovering, the interface never comes back alive. The above message indicates the driver sent all pending transmission requests but the driver didn't receive corresponding Tx completion interrupts. Not recovering from the watchdog timeout means there are another issues on the driver. However as disabling MSI fixed the issue, I guess it's not fault of msk(4) and it comes from bad/broken MSI implementation of your system. I guess it's time to add your chipset to a PCI quirk table in order to blacklist it. > Sometimes doing a kldunload / kldload if_msk can bring the interface > back, but sometimes it is helpless with the following message when I > reload the kernel module: > > kernel: mskc0: port 0xb000-0xb0ff > mem 0xf9000000-0xf9003fff irq 16 at device 0.0 on pci4 > kernel: msk0: on > mskc0 > kernel: msk0: failed to allocate DMA'able memory for jumbo buf > kernel: device_attach: msk0 attach returned 1 > > I would have to reboot to solve this situation. > Supporting jumbo frame requires a big contiguous kernel memory which may not be available at the time of driver loading. If you unload the driver the contiguous kernel memory would be used by other parts of kernel. Unfortunately, there is no easy way to recover from this and the only known way to fix is reboot. > Google found me not much information, but someone did mention something > about MSI. I set hw.pci.enable_msix=0 and hw.pci.enable_msi=0 in my > loader.conf, and I was able to reach megas of bytes throughput without > a problem. > > - -- llwang -- Regards, Pyun YongHyeon From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:23:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DFA216A400 for ; Mon, 21 May 2007 01:23:23 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id D8AA113C45D for ; Mon, 21 May 2007 01:23:22 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 34.158-pool-avail-mi.sccoast.net ([66.153.158.34]:55935 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1HpwMw-0005K6-2O; Sun, 20 May 2007 21:07:26 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l4L17OAi044176; Sun, 20 May 2007 21:07:24 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sun, 20 May 2007 21:07:24 -0400 (EDT) From: Wes Morgan To: Alexander Kabaev In-Reply-To: <20070520184710.75db1335@kan.dnsalias.net> Message-ID: <20070520210704.H33354@volatile.chemikals.org> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1151134316-1179709644=:33354" Cc: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 01:23:23 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1151134316-1179709644=:33354 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 20 May 2007, Alexander Kabaev wrote: > On Sun, 20 May 2007 21:30:55 +0200 > Harald Schmalzbauer wrote: > >> Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Smørgrav: >>> Harald Schmalzbauer writes: >>>> I compiled samba on a fresh -current and I'm seeing strange >>>> errors. When I try to execute 'net' I get this error: >>>> /usr/local/bin/net: Exec format error. Binary file not executable. >>> >>> If you're running amd64, there was briefly a bug that caused the >>> 32-bit >> >> It was my very first thought too, but it's i386. It's a xeon 3050 >> (core2, thus EM64-T) processor but world alwys was i386 and also is >> for that jail. Could it be possible that there's any runtime >> detection which made me 64-bit binaries on a 32-bit base system? >> > Samba auto-detected -fpie support in GCC 4.3 and tried to use it. > FreeBSD kernel does not know how to deal with binaries created by this > option yet, so it freaks out. > > Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. This same problem exists for kdelibs3, maybe other kde ports (investigating now). -- This .signature sanitized for your protection --0-1151134316-1179709644=:33354-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:29:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7ADB16A41F for ; Mon, 21 May 2007 01:29:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id C4BA813C448 for ; Mon, 21 May 2007 01:29:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2206E1A3C1C; Sun, 20 May 2007 18:30:09 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EAAD25140A; Sun, 20 May 2007 21:29:10 -0400 (EDT) Date: Sun, 20 May 2007 21:29:10 -0400 From: Kris Kennaway To: Wes Morgan Message-ID: <20070521012910.GA46689@xor.obsecurity.org> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070520210704.H33354@volatile.chemikals.org> User-Agent: Mutt/1.4.2.2i Cc: Dag-Erling Sm??rgrav , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 01:29:11 -0000 On Sun, May 20, 2007 at 09:07:24PM -0400, Wes Morgan wrote: > On Sun, 20 May 2007, Alexander Kabaev wrote: > > >On Sun, 20 May 2007 21:30:55 +0200 > >Harald Schmalzbauer wrote: > > > >>Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm?rgrav: > >>>Harald Schmalzbauer writes: > >>>>I compiled samba on a fresh -current and I'm seeing strange > >>>>errors. When I try to execute 'net' I get this error: > >>>>/usr/local/bin/net: Exec format error. Binary file not executable. > >>> > >>>If you're running amd64, there was briefly a bug that caused the > >>>32-bit > >> > >>It was my very first thought too, but it's i386. It's a xeon 3050 > >>(core2, thus EM64-T) processor but world alwys was i386 and also is > >>for that jail. Could it be possible that there's any runtime > >>detection which made me 64-bit binaries on a 32-bit base system? > >> > >Samba auto-detected -fpie support in GCC 4.3 and tried to use it. > >FreeBSD kernel does not know how to deal with binaries created by this > >option yet, so it freaks out. > > > >Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. > > This same problem exists for kdelibs3, maybe other kde ports > (investigating now). Are you sure, they do not appear to compile with -fPIE. Kris From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:10:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2700A16A400 for ; Mon, 21 May 2007 01:10:56 +0000 (UTC) (envelope-from wvaughan@steelerubber.com) Received: from smtp-i4.mail.ctc.net (smtp-i4.mail.ctc.net [166.82.29.17]) by mx1.freebsd.org (Postfix) with ESMTP id CCAE513C4BE for ; Mon, 21 May 2007 01:10:55 +0000 (UTC) (envelope-from wvaughan@steelerubber.com) Received: from smtp4.mail.ctc.net (smtp4.mail.ctc.net [166.82.29.11]) by smtp-i4.mail.ctc.net (Switch-3.2.4/Switch-3.2.4) with ESMTP id l4L0Wlj2022299 for ; Sun, 20 May 2007 20:32:48 -0400 (EDT) Received: from [166.82.96.28] (wvaughan.steelerubber.com [166.82.96.28]) by smtp4.mail.ctc.net (Switch-3.2.5/Switch-3.2.5) with ESMTP id l4L0Wii6019590 for ; Sun, 20 May 2007 20:32:45 -0400 (EDT) Message-ID: <4650E899.2070001@steelerubber.com> Date: Sun, 20 May 2007 20:32:25 -0400 From: Walter Vaughan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 'X-MASF': '0.00%' 'X-MASF': '0.00%' X-Mailman-Approved-At: Mon, 21 May 2007 01:35:53 +0000 Subject: 8 cores of fun 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: Mon, 21 May 2007 01:10:56 -0000 I've got a few days to experiment with an 8 core box, and someone pointed this page out to me http://people.freebsd.org/~kris/scaling/mysql.html before I purchased the box. Looking at the patch http://people.freebsd.org/~jeff/tophalf.diff it doesn't appear to be patchable with 7-CURRENT. What I am interested in is Hi-speed Java (really wanted to work with Java6) and Postgresql-8.2. Does anyone have any pointers for optimizing Posgresql & Java on AMD-64 with 8 cores? -- Walter From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:36:01 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6BF616A468 for ; Mon, 21 May 2007 01:36:01 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id A9B7B13C44C for ; Mon, 21 May 2007 01:36:01 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 34.158-pool-avail-mi.sccoast.net ([66.153.158.34]:52570 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1Hpwoa-0006nu-Hn; Sun, 20 May 2007 21:36:00 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l4L1ZxkC044326; Sun, 20 May 2007 21:35:59 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sun, 20 May 2007 21:35:59 -0400 (EDT) From: Wes Morgan To: Kris Kennaway In-Reply-To: <20070521012910.GA46689@xor.obsecurity.org> Message-ID: <20070520213204.O44264@volatile.chemikals.org> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Dag-Erling Sm??rgrav , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 01:36:02 -0000 On Sun, 20 May 2007, Kris Kennaway wrote: > On Sun, May 20, 2007 at 09:07:24PM -0400, Wes Morgan wrote: >> On Sun, 20 May 2007, Alexander Kabaev wrote: >> >>> On Sun, 20 May 2007 21:30:55 +0200 >>> Harald Schmalzbauer wrote: >>> >>>> Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm?rgrav: >>>>> Harald Schmalzbauer writes: >>>>>> I compiled samba on a fresh -current and I'm seeing strange >>>>>> errors. When I try to execute 'net' I get this error: >>>>>> /usr/local/bin/net: Exec format error. Binary file not executable. >>>>> >>>>> If you're running amd64, there was briefly a bug that caused the >>>>> 32-bit >>>> >>>> It was my very first thought too, but it's i386. It's a xeon 3050 >>>> (core2, thus EM64-T) processor but world alwys was i386 and also is >>>> for that jail. Could it be possible that there's any runtime >>>> detection which made me 64-bit binaries on a 32-bit base system? >>>> >>> Samba auto-detected -fpie support in GCC 4.3 and tried to use it. >>> FreeBSD kernel does not know how to deal with binaries created by this >>> option yet, so it freaks out. >>> >>> Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. >> >> This same problem exists for kdelibs3, maybe other kde ports >> (investigating now). > > Are you sure, they do not appear to compile with -fPIE. kdelibs and kdebase compile several binaries with -pie: start_kdeinit (kdelibs) kgrantpty (kdelibs) kpac_dhcp_helper (kdelibs) kcheckpass (kdebase) kdesud (kdebase) Running "find . -name Makefile | xargs grep '(KDE_USE_PIE)'" will track them down for you: ./kcheckpass/Makefile:kcheckpass_LDFLAGS = $(KDE_USE_PIE) $(all_libraries) Passing --disable-pie forces KDE_USE_PIE blank as would be expected. I haven't searched any other of the kde ports yet. -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:39:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D223E16A400 for ; Mon, 21 May 2007 01:39:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7681613C448 for ; Mon, 21 May 2007 01:39:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A6E931A3C19; Sun, 20 May 2007 18:40:08 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 744AE5140A; Sun, 20 May 2007 21:39:10 -0400 (EDT) Date: Sun, 20 May 2007 21:39:10 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070521013910.GA46734@xor.obsecurity.org> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070521012910.GA46689@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: Dag-Erling Sm??rgrav , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 01:39:11 -0000 On Sun, May 20, 2007 at 09:29:10PM -0400, Kris Kennaway wrote: > On Sun, May 20, 2007 at 09:07:24PM -0400, Wes Morgan wrote: > > On Sun, 20 May 2007, Alexander Kabaev wrote: > > > > >On Sun, 20 May 2007 21:30:55 +0200 > > >Harald Schmalzbauer wrote: > > > > > >>Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm?rgrav: > > >>>Harald Schmalzbauer writes: > > >>>>I compiled samba on a fresh -current and I'm seeing strange > > >>>>errors. When I try to execute 'net' I get this error: > > >>>>/usr/local/bin/net: Exec format error. Binary file not executable. > > >>> > > >>>If you're running amd64, there was briefly a bug that caused the > > >>>32-bit > > >> > > >>It was my very first thought too, but it's i386. It's a xeon 3050 > > >>(core2, thus EM64-T) processor but world alwys was i386 and also is > > >>for that jail. Could it be possible that there's any runtime > > >>detection which made me 64-bit binaries on a 32-bit base system? > > >> > > >Samba auto-detected -fpie support in GCC 4.3 and tried to use it. > > >FreeBSD kernel does not know how to deal with binaries created by this > > >option yet, so it freaks out. > > > > > >Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. > > > > This same problem exists for kdelibs3, maybe other kde ports > > (investigating now). > > Are you sure, they do not appear to compile with -fPIE. Hmm, I guess they are silencing their compiler invocations via libtool or something. ./sim-im-devel-0.9.5.1809_1.log:checking if enabling -pie/fPIE support... yes ./knemo-0.4.1_1.log:checking if enabling -pie/fPIE support... yes ./komparator-0.5_1.log:checking if enabling -pie/fPIE support... yes ./kdenetwork-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kde-style-polyester-1.0_1.log:checking if enabling -pie/fpie support... yes ./six-0.5.3_1.log:checking if enabling -pie/fPIE support... yes ./kid3-0.8.1_1.log:checking if enabling -pie/fPIE support... yes ./kmuddy-0.8_1.log:checking if enabling -pie/fpie support... yes ./kovpn-0.3_1.log:checking if enabling -pie/fpie support... yes ./keep-0.4.0_1.log:checking if enabling -pie/fPIE support... yes ./oooqs2-1.0_2.log:checking if enabling -pie/fpie support... yes ./kst-1.3.1_1.log:checking if enabling -pie/fPIE support... yes ./kile-1.9.3_1.log:checking if enabling -pie/fPIE support... yes ./k3b-1.0_2.log:checking if enabling -pie/fPIE support... yes ./freeradius-1.1.6.log: -L/usr/local/lib -pthread -pie -o radiusd acct.lo auth.lo client.lo conffile.lo exec.lo files.lo log.lo mainconfig.lo modules.lo modcall.lo nas.lo proxy.lo radiusd.lo radius_snmp.lo request_list.lo session.lo smux.lo threads.lo util.lo valuepair.lo version.lo timestr.lo xlat.lo \ ./freeradius-1.1.6.log:cc .libs/radiusdS.o -pthread -pie -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile. o .libs/exec.o .libs/files.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/nas.o .libs/proxy.o .libs/radius d.o .libs/radius_snmp.o .libs/request_list.o .libs/session.o .libs/smux.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/ver sion.o .libs/timestr.o .libs/xlat.o -Wl,--export-dynamic -L/usr/local/lib -lpthread ../lib/.libs/libradius.so -pthread -lcrypt /u sr/local/lib/libltdl.so -L/usr/lib -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib ./freeradius-mysql-1.1.6.log: -L/usr/local/lib -pthread -pie -o radiusd acct.lo auth.lo client.lo conffile.lo exec.lo f iles.lo log.lo mainconfig.lo modules.lo modcall.lo nas.lo proxy.lo radiusd.lo radius_snmp.lo request_list.lo session.lo smux.lo th reads.lo util.lo valuepair.lo version.lo timestr.lo xlat.lo \ ./freeradius-mysql-1.1.6.log:cc .libs/radiusdS.o -pthread -pie -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/con ffile.o .libs/exec.o .libs/files.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/nas.o .libs/proxy.o .libs/ radiusd.o .libs/radius_snmp.o .libs/request_list.o .libs/session.o .libs/smux.o .libs/threads.o .libs/util.o .libs/valuepair.o .li bs/version.o .libs/timestr.o .libs/xlat.o -Wl,--export-dynamic -L/usr/local/lib -lpthread ../lib/.libs/libradius.so -pthread -lcr ypt /usr/local/lib/libltdl.so -L/usr/lib -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib ./ja-samba-3.0.24,1.log: PIE_LDFLAGS = -pie ./ja-samba-3.0.24,1.log: PIE_LDFLAGS = -pie ./samba-3.0.24,1.log: PIE_LDFLAGS = -pie ./samba-3.0.24,1.log: PIE_LDFLAGS = -pie ./yakuake-2.7.5_1.log:checking if enabling -pie/fPIE support... yes ./rsibreak-0.8.0_1.log:checking if enabling -pie/fPIE support... yes ./arts-1.5.6_2,1.log:checking if enabling -pie/fPIE support... yes ./kdelibs-3.5.6_3.log:checking if enabling -pie/fPIE support... yes ./kdelibs-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasing -pip e -rpath=/usr/lib:/usr/local/lib -o kgrantpty -pie -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R / usr/local/lib -L/usr/local/lib -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib kgrantpty-kgrantpty.o ./libkdefakes.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdelibs-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasing -pip e -rpath=/usr/lib:/usr/local/lib -o kpac_dhcp_helper -pie kpac_dhcp_helper-kpac_dhcp_helper.o -Wl,-export-dynamic -L/usr/local/ lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdelibs-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasing -pip e -rpath=/usr/lib:/usr/local/lib -o start_kdeinit -pie start_kdeinit-start_kdeinit.o -Wl,-export-dynamic -L/usr/local/lib -L/u sr/local/lib -ljpeg -L/usr/local/lib ./kdelibs-nocups-3.5.6_3.log:checking if enabling -pie/fPIE support... yes ./kdelibs-nocups-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasi ng -pipe -rpath=/usr/lib:/usr/local/lib -o kgrantpty -pie -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/l ib -R /usr/local/lib -L/usr/local/lib -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib kgrantpty-kgrantpty.o ./libkdef akes.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdelibs-nocups-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasi ng -pipe -rpath=/usr/lib:/usr/local/lib -o kpac_dhcp_helper -pie kpac_dhcp_helper-kpac_dhcp_helper.o -Wl,-export-dynamic -L/usr /local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdelibs-nocups-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasi ng -pipe -rpath=/usr/lib:/usr/local/lib -o start_kdeinit -pie start_kdeinit-start_kdeinit.o -Wl,-export-dynamic -L/usr/local/l ib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kmobiletools-0.4.3.3_1.log:checking if enabling -pie/fPIE support... yes ./kbackup-0.5.1_1.log:checking if enabling -pie/fPIE support... yes ./kftpgrabber-0.8.0_1.log:checking if enabling -pie/fPIE support... yes ./kmastermind-2.2_1.log:checking if enabling -pie/fPIE support... yes ./fraqtive-0.3.1_2.log:checking if enabling -pie/fpie support... yes ./digikamimageplugins-doc-0.8.0_1.log:checking if enabling -pie/fpie support... yes ./digikam-doc-0.8.0_1.log:checking if enabling -pie/fpie support... yes ./kbarcode-2.0.5_1.log:checking if enabling -pie/fpie support... yes ./libkexif-0.2.5_1.log:checking if enabling -pie/fPIE support... yes ./libkexiv2-0.1.2_1.log:checking if enabling -pie/fPIE support... yes ./libkipi-0.1.5_1.log:checking if enabling -pie/fPIE support... yes ./kmymoney2-0.8.5_2.log:checking if enabling -pie/fPIE support... yes ./konversation-1.0.1_1.log:checking if enabling -pie/fPIE support... yes ./rkward-0.4.7_1.log:checking if enabling -pie/fPIE support... yes ./gwenview-i18n-1.4.1_1.log:checking if enabling -pie/fPIE support... yes ./k3b-i18n-1.0_1.log:checking if enabling -pie/fPIE support... yes ./kmatrix3d-0.1_1.log:checking if enabling -pie/fPIE support... yes ./kdegraphics-kamera-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdemultimedia-mpeglib_artsplug-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdemultimedia-juk-3.5.6_3.log:checking if enabling -pie/fPIE support... yes ./kdegraphics-kuickshow-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./koffice-1.6.2_1,2.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-knewsticker-scripts-3.5.6.log:checking if enabling -pie/fPIE support... yes ./kchmviewer-3.0_1.log:checking if enabling -pie/fPIE support... yes ./kdeaccessibility-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kooldock-0.4.6_1.log:checking if enabling -pie/fPIE support... yes ./kio_p7zip-0.3.1_1.log:checking if enabling -pie/fpie support... yes ./kdeedu-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./ggz-kde-client-0.0.14_1.log:checking if enabling -pie/fpie support... yes ./kdegraphics-kooka-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdegames-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdegames-3.5.6_1.log:/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++ -Wno-long-long -Wundef -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIE -o kbounce -L/usr/local/lib -D_THRE AD_SAFE -pthread -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -pie main.o kbounce.o game.o highscores.o ../libkdegames/libkdegames.la -lkio -lsoundserver_idl -lartskde -Wl,-export-dynamic -L/usr/lo cal/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdegames-3.5.6_1.log:/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++ -Wno-long-long -Wundef -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIE -o kmines -L/usr/local/lib -D_THREA D_SAFE -pthread -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -pie k zoommainwindow.o defines.o highscores.o dialogs.o frame.o field.o status.o main.o settings.o ./solver/libsolver.la ../libkdegames/ libkdegames.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdegames-3.5.6_1.log:/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++ -Wno-long-long -Wundef -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIE -o klickety -pie ../libkdegames/libkd egames.la -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /u sr/local/lib -R /usr/local/lib piece.o board.o field.o highscores.o main.o ../libksirtet/base/libksirtetbase.la -Wl,-export-dynami c -L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdegames-3.5.6_1.log:/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++ -Wno-long-long -Wundef -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIE -o kfouleggs -pie -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/li b piece.o board.o ai.o field.o main.o prefs.o ../libksirtet/common/libksirtetcommon.la -Wl,-export-dynamic -L/usr/local/lib -L/usr /local/lib -ljpeg -L/usr/local/lib ./kdegames-3.5.6_1.log:/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++ -Wno-long-long -Wundef -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D QT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIE -o ksirtet -pie -L/usr/local/lib -D _THREAD_SAFE -pthread -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib piece.o board.o ai.o field.o settings.o main.o prefs.o ../../libksirtet/common/libksirtetcommon.la -Wl,-export-dynamic -L/usr/loca l/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./ktorrent-devel-20070311_1.log:checking if enabling -pie/fPIE support... yes ./synce-kde-0.9.1_1.log:checking if enabling -pie/fpie support... yes ./katapult-0.3.1.3_1.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-renamedlg-plugins-3.5.6.log:checking if enabling -pie/fPIE support... yes ./klamav-0.41_2.log:checking if enabling -pie/fPIE support... yes ./klamav-0.41_2.log:checking if enabling -pie/fPIE support... yes ./kdeutils-klaptopdaemon-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdeutils-kmilo-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./ksynaptics-0.3.1_1.log:checking if enabling -pie/fPIE support... yes ./kshutdown-0.8.2_2.log:checking if enabling -pie/fpie support... yes ./kmldonkey-0.10.1_4.log:checking if enabling -pie/fpie support... yes ./lineak-kdeplugins-0.9_1.log:checking if enabling -pie/fPIE support... yes ./kdenetwork-lanbrowsing-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdeartwork-xscreensaver-kde-3.5.6_2.log:checking if enabling -pie/fPIE support... yes ./kdetoys-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kports-0.6.1_1.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-atlantikdesigner-3.5.6.log:checking if enabling -pie/fPIE support... yes ./keximdb-1.1.0_1.log:checking if enabling -pie/fPIE support... yes ./kipi-plugins-0.1.3_4,1.log:checking if enabling -pie/fPIE support... yes ./kmess-1.5.p.1_1.log:checking if enabling -pie/fPIE support... yes ./kaffeine-0.8.4_1.log:checking if enabling -pie/fPIE support... yes ./filelight-1.0_1.log:checking if enabling -pie/fPIE support... yes ./kkeyled-0.8.11_1.log:checking if enabling -pie/fPIE support... yes ./krename-3.0.14_1.log:checking if enabling -pie/fpie support... yes ./kdeadmin-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdemultimedia-xine_artsplugin-3.5.6_2.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-ksig-3.5.6.log:checking if enabling -pie/fPIE support... yes ./gwenview-1.4.1_2.log:checking if enabling -pie/fPIE support... yes ./ktorrent-2.1.4_1.log:checking if enabling -pie/fPIE support... yes ./kphotoalbum-3.0_2.log:checking if enabling -pie/fPIE support... yes ./digikam-0.9.1_3.log:checking if enabling -pie/fPIE support... yes ./ksmoothdock-4.5_1.log:checking if enabling -pie/fPIE support... yes ./digikamimageplugins-0.9.1_2.log:checking if enabling -pie/fPIE support... yes ./kdegraphics-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdemultimedia-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./amarok-1.4.5_6.log:checking if enabling -pie/fPIE support... yes ./kdenetwork-kopete-0.12.4_1.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-noatun-plugins-3.5.6.log:checking if enabling -pie/fPIE support... yes ./kdebase-3.5.6_3.log:checking if enabling -pie/fPIE support... yes ./kdebase-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=link cc -DNDEBUG -O2 -O2 -fno-strict-aliasing -pip e -D_GNU_SOURCE -rpath=/usr/lib:/usr/local/lib -o kcheckpass -pie -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib k checkpass.o checkpass_etcpasswd.o checkpass_pam.o checkpass_shadow.o checkpass_osfc2passwd.o checkpass_aix.o -lkdefakes -lpam -W l,-export-dynamic -L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib ./kdebase-3.5.6_3.log:/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=link c++ -Wno-long-long -Wundef -Wall -W -Wpointer -arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQ T_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -fPIE -rpath=/usr/lib:/usr/loca l/lib -o kdesud -pie -L/usr/local/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/loca l/lib -R /usr/local/lib -R /usr/local/lib kdesud.o repo.o lexer.o handler.o secure.o -lkdecore -lkdesu -Wl,-export-dynamic -L/usr ./kdeutils-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdesdk-3.5.6_1.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-kate-plugins-3.5.6.log:checking if enabling -pie/fPIE support... yes ./kscope-1.4.3_1.log:checking if enabling -pie/fpie support... yes ./kdeaddons-kicker-applets-3.5.6.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-kfile-plugins-3.5.6.log:checking if enabling -pie/fPIE support... yes ./k3bmonkeyaudioplugin-3.1_1.log:checking if enabling -pie/fPIE support... yes ./kdewebdev-3.5.6_1,2.log:checking if enabling -pie/fPIE support... yes ./kde-windeco-crystal-1.0.3_1.log:checking if enabling -pie/fPIE support... yes ./kdiff3-0.9.91_1.log:checking if enabling -pie/fpie support... yes ./baghira-0.8_1.log:checking if enabling -pie/fPIE support... yes ./smb4k-0.8.1_1.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-konq-plugins-3.5.6.log:checking if enabling -pie/fPIE support... yes ./kdeartwork-3.5.6_2.log:checking if enabling -pie/fPIE support... yes ./kmplayer-0.9.3_2,2.log:checking if enabling -pie/fPIE support... yes ./kdepim-3.5.6_4.log:checking if enabling -pie/fPIE support... yes ./kdevelop-3.4.0_3.log:checking if enabling -pie/fPIE support... yes ./kdeaddons-kaddressbook-plugins-3.5.6.log:checking if enabling -pie/fPIE support... yes :-( Kris From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:42:37 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB7E316A41F for ; Mon, 21 May 2007 01:42:37 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 5752113C483 for ; Mon, 21 May 2007 01:42:37 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so805352ugh for ; Sun, 20 May 2007 18:42:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fshV/N+5j3ehRF3ulTlNpB82CH+Qmb/N8cPEk5mYpqJRH20B8JzvI6zmV4DAjkTXy0TccCv3lLv/mYqxQuCIyjrN7pBqrdpQnejeISNRigkLm+av9vS4//981vMvf88wFAJIIL9BnalCdGRIn6d7/GmfKGmpC6+ppkT2xwrPCP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cn9v+5rT16rV7noTZmkuttRP4QFYx1mBFbn92Kpy3DOgD0ro915aPV8RNkx+NixUNJF8iklBkaOpoZEnWqG2NJwOsVczjeP/Lor83G2tPdui4Q6AH93NME8Nk8ZXq/epZNA8e/F+PD6uAUpe47inT2+TZdIm3cQKbVzIKeYl2sg= Received: by 10.78.118.5 with SMTP id q5mr974672huc.1179711756099; Sun, 20 May 2007 18:42:36 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Sun, 20 May 2007 18:42:36 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 18:42:36 -0700 From: "Kip Macy" To: "Walter Vaughan" In-Reply-To: <4650E899.2070001@steelerubber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4650E899.2070001@steelerubber.com> Cc: freebsd-current@freebsd.org Subject: Re: 8 cores of fun 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: Mon, 21 May 2007 01:42:37 -0000 On 5/20/07, Walter Vaughan wrote: > I've got a few days to experiment with an 8 core box, and someone pointed this > page out to me http://people.freebsd.org/~kris/scaling/mysql.html before I > purchased the box. > > Looking at the patch http://people.freebsd.org/~jeff/tophalf.diff it doesn't > appear to be patchable with 7-CURRENT. > > What I am interested in is Hi-speed Java (really wanted to work with Java6) and > Postgresql-8.2. > > Does anyone have any pointers for optimizing Posgresql & Java on AMD-64 with 8 > cores? This is all a WIP. I think changes providing benefit equivalent to what was in tophalf have all been pushed back into CVS. Finer grained scheduler locking is on its way. We may ping you to test intermediate patches. -Kip From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:43:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE9A416A469 for ; Mon, 21 May 2007 01:43:32 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD6F13C44C for ; Mon, 21 May 2007 01:43:32 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 34.158-pool-avail-mi.sccoast.net ([66.153.158.34]:62932 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1Hpwvr-0007FK-Fw; Sun, 20 May 2007 21:43:31 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l4L1hVpi044381; Sun, 20 May 2007 21:43:31 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sun, 20 May 2007 21:43:31 -0400 (EDT) From: Wes Morgan To: Kris Kennaway In-Reply-To: <20070521013910.GA46734@xor.obsecurity.org> Message-ID: <20070520214222.L44264@volatile.chemikals.org> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Dag-Erling Sm??rgrav , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 01:43:32 -0000 On Sun, 20 May 2007, Kris Kennaway wrote: > On Sun, May 20, 2007 at 09:29:10PM -0400, Kris Kennaway wrote: >> On Sun, May 20, 2007 at 09:07:24PM -0400, Wes Morgan wrote: >>> On Sun, 20 May 2007, Alexander Kabaev wrote: >>> >>>> On Sun, 20 May 2007 21:30:55 +0200 >>>> Harald Schmalzbauer wrote: >>>> >>>>> Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm?rgrav: >>>>>> Harald Schmalzbauer writes: >>>>>>> I compiled samba on a fresh -current and I'm seeing strange >>>>>>> errors. When I try to execute 'net' I get this error: >>>>>>> /usr/local/bin/net: Exec format error. Binary file not executable. >>>>>> >>>>>> If you're running amd64, there was briefly a bug that caused the >>>>>> 32-bit >>>>> >>>>> It was my very first thought too, but it's i386. It's a xeon 3050 >>>>> (core2, thus EM64-T) processor but world alwys was i386 and also is >>>>> for that jail. Could it be possible that there's any runtime >>>>> detection which made me 64-bit binaries on a 32-bit base system? >>>>> >>>> Samba auto-detected -fpie support in GCC 4.3 and tried to use it. >>>> FreeBSD kernel does not know how to deal with binaries created by this >>>> option yet, so it freaks out. >>>> >>>> Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. >>> >>> This same problem exists for kdelibs3, maybe other kde ports >>> (investigating now). >> >> Are you sure, they do not appear to compile with -fPIE. > > Hmm, I guess they are silencing their compiler invocations via libtool > or something. I have to ask the stupidly obvious question of why isn't the compiler smart enough to realize (or forcefully taught) that our platform doesn't support this? -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Mon May 21 01:55:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6175016A46B for ; Mon, 21 May 2007 01:55:47 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id EB7E313C4C5 for ; Mon, 21 May 2007 01:55:46 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so806857ugh for ; Sun, 20 May 2007 18:55:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FknJo7bdp1W7236MUe8WFcm9th0K44FWAG608iLaQCCCTy4LQdwonALoqmi9xef8T8SvH8jJTOJXMAgXWSnRgtjCcdEAuAXhC1Ck+rkmwV+A4oP0uwGIqKp1xE7rkvfHfWCmLm8L3ccgMJeBee/U5FTtqean7CnbukbiW5vCCNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nRFYNabpTk/cV8uW4ngn+NoFNtYE6OEkBDXUhTSHgCoZno8FaZsKKORCicbQZ+WYezz736/AjDBLHaa7UxtwSiy4uuJJcIgsNwM9+CiFhGOszMwyt7LbwkK7YthaUOFJO1hxKYDvnK8s0PeNCy+V1VZrX2TLQA25bBfjVPPqZcI= Received: by 10.78.162.4 with SMTP id k4mr973218hue.1179712545713; Sun, 20 May 2007 18:55:45 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Sun, 20 May 2007 18:55:45 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 18:55:45 -0700 From: "Kip Macy" To: "Wes Morgan" In-Reply-To: <20070520214222.L44264@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> Cc: Harald Schmalzbauer , Dag-Erling Sm??rgrav , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 01:55:47 -0000 > I have to ask the stupidly obvious question of why isn't the compiler > smart enough to realize (or forcefully taught) that our platform doesn't > support this? I think a new image activator would fix the issue, I'm just not sure offhand what the entry point for a DSO is. -Kip From owner-freebsd-current@FreeBSD.ORG Mon May 21 02:06:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52FB316A400 for ; Mon, 21 May 2007 02:06:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4415813C45A for ; Mon, 21 May 2007 02:06:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A193E1A3C19; Sun, 20 May 2007 19:07:20 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6DC9251453; Sun, 20 May 2007 22:06:22 -0400 (EDT) Date: Sun, 20 May 2007 22:06:22 -0400 From: Kris Kennaway To: Walter Vaughan Message-ID: <20070521020622.GB46734@xor.obsecurity.org> References: <4650E899.2070001@steelerubber.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4650E899.2070001@steelerubber.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: 8 cores of fun 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: Mon, 21 May 2007 02:06:23 -0000 On Sun, May 20, 2007 at 08:32:25PM -0400, Walter Vaughan wrote: > I've got a few days to experiment with an 8 core box, and someone pointed > this page out to me http://people.freebsd.org/~kris/scaling/mysql.html > before I purchased the box. > > Looking at the patch http://people.freebsd.org/~jeff/tophalf.diff it > doesn't appear to be patchable with 7-CURRENT. A more scalable alternative was committed a while ago. > What I am interested in is Hi-speed Java (really wanted to work with Java6) > and Postgresql-8.2. > > Does anyone have any pointers for optimizing Posgresql & Java on AMD-64 > with 8 cores? I have not used java, but would be very interested to see how it goes. The most important thing to do with pgsql is disable the process title updating (there is a config option in 8.2). Also use ULE with sched.kern.pick_pri=0. Comparisons against other OSes on a suitably interesting benchmark are most useful to us, otherwise if you have a particular workload and performance expectation we can try to work with that. Kris From owner-freebsd-current@FreeBSD.ORG Mon May 21 02:11:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C425016A468 for ; Mon, 21 May 2007 02:11:30 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id B0FBC13C468 for ; Mon, 21 May 2007 02:11:30 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a9.g.dreamhost.com (d06184ca.dreamhost.com [208.97.132.202]) by sumo.dreamhost.com (Postfix) with ESMTP id 234F717950E for ; Sun, 20 May 2007 18:41:18 -0700 (PDT) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a9.g.dreamhost.com (Postfix) with ESMTP id B2DE320F08; Sun, 20 May 2007 18:41:15 -0700 (PDT) Message-ID: <4650F888.5020302@cyberwang.net> Date: Sun, 20 May 2007 21:40:24 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Walter Vaughan References: <4650E899.2070001@steelerubber.com> In-Reply-To: <4650E899.2070001@steelerubber.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: 8 cores of fun 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: Mon, 21 May 2007 02:11:30 -0000 Walter Vaughan wrote: > I've got a few days to experiment with an 8 core box, and someone > pointed this page out to me > http://people.freebsd.org/~kris/scaling/mysql.html before I purchased > the box. > > Looking at the patch http://people.freebsd.org/~jeff/tophalf.diff it > doesn't appear to be patchable with 7-CURRENT. > > What I am interested in is Hi-speed Java (really wanted to work with > Java6) and Postgresql-8.2. > > Does anyone have any pointers for optimizing Posgresql & Java on > AMD-64 with 8 cores? > > -- > Walter > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" The patch is no longer needed. The bits needed for the improvement were committed already if I'm not mistaken. There's another patch in testing that gives another ~25% boost to mysql and pgsql. So stay tuned. From owner-freebsd-current@FreeBSD.ORG Mon May 21 02:28:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30C4C16A469 for ; Mon, 21 May 2007 02:28:16 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a14.g.dreamhost.com (d06184ca.dreamhost.com [208.97.132.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8F213C45A for ; Mon, 21 May 2007 02:28:16 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from [10.0.1.2] (68-184-120-224.dhcp.smyr.ga.charter.com [68.184.120.224]) by spunkymail-a14.g.dreamhost.com (Postfix) with ESMTP id 42D51190E2C; Sun, 20 May 2007 19:28:17 -0700 (PDT) Message-ID: <4651038D.9060606@cyberwang.net> Date: Sun, 20 May 2007 22:27:25 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 References: <4650E899.2070001@steelerubber.com> <4650F888.5020302@cyberwang.net> In-Reply-To: <4650F888.5020302@cyberwang.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Walter Vaughan , freebsd-current@freebsd.org Subject: Re: 8 cores of fun 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: Mon, 21 May 2007 02:28:16 -0000 Sean Bryant wrote: > Walter Vaughan wrote: >> I've got a few days to experiment with an 8 core box, and someone >> pointed this page out to me >> http://people.freebsd.org/~kris/scaling/mysql.html before I purchased >> the box. >> >> Looking at the patch http://people.freebsd.org/~jeff/tophalf.diff it >> doesn't appear to be patchable with 7-CURRENT. >> >> What I am interested in is Hi-speed Java (really wanted to work with >> Java6) and Postgresql-8.2. >> >> Does anyone have any pointers for optimizing Posgresql & Java on >> AMD-64 with 8 cores? >> >> -- >> Walter >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" > The patch is no longer needed. The bits needed for the improvement > were committed already if I'm not mistaken. There's another patch in > testing that gives another ~25% boost to mysql and pgsql. So stay tuned. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" I stand corrected, there is no other patch that gives a substantial boost in the works. I apologize for the misinformation. From owner-freebsd-current@FreeBSD.ORG Mon May 21 02:52:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 856A816A41F for ; Mon, 21 May 2007 02:52:58 +0000 (UTC) (envelope-from jerryeguru@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 47B8213C45E for ; Mon, 21 May 2007 02:52:58 +0000 (UTC) (envelope-from jerryeguru@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1397516wxc for ; Sun, 20 May 2007 19:52:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Aec8auDHuSb1dxPhLSzW8M9fgm9srSS0Wb+RlXnD6+jNTIRof0uLWugBn4XG4RHl3mrSxg3YM3DFdUi1f6Dq8QgXLVFSCmTZPCF/7rb6bLrm9zQ7/X8rFBU/cMNSybUe6tAjlqOcgPCDhZiV4h83dIwJbNkNS0hEKwwFaStb4t4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Ub1u/3B6vKMNz7BtJJqIqffX2bJM42YBZzQgdJm8gt2zVJkf0ryVt0RmxlA2YH4i+4/hMdMAJ+zIQ2V1haYM4EzMGzD8b6rVFRT5b4yKp0vlG4As5Mfcvz1J9xu6+QPNjIW9D2Gl6DWcSU7OQs7croHRTf62i3bw0GfFgFqn940= Received: by 10.90.106.11 with SMTP id e11mr2986196agc.1179715977051; Sun, 20 May 2007 19:52:57 -0700 (PDT) Received: by 10.90.53.10 with HTTP; Sun, 20 May 2007 19:52:57 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 05:52:57 +0300 From: "Mr. OJ J" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mouse not detected after X11 configuration 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: Mon, 21 May 2007 02:52:58 -0000 my X configuration detected my mouse before i copied th x config file to /etc but after startx KDE3.5 works but the mouse is not detected, please help me troubleshoot this problem. I have exhausted "googling" abt ths but no success, is there a way i can config my mouse using a text file, if seems appropriate in ths approach, please advice.. Thanks in advance. -- Mr. Ochieng Jerry Joram Certified Network Associate - CCNA [In progress] Certified Network Professional - CCNP [In progress] Certified Systems Eng - Linux [Free lance] UNIX Systems Eng - Freebsd Mob: (256) 774 108 444, (256) 712 401218 ICQ Number: 293-639-978 http://www.linuxmortal.blogspot.com/ ---- "Memorizing the weak assumptions of lesser mortals might destroy the potential for authentic creativity, finding the truth to the governing dynamics for an original idea is the way to distinguish one-self" ---- From owner-freebsd-current@FreeBSD.ORG Mon May 21 03:04:31 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10C0A16A400 for ; Mon, 21 May 2007 03:04:31 +0000 (UTC) (envelope-from llwang@llwang.org) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 800A213C457 for ; Mon, 21 May 2007 03:04:30 +0000 (UTC) (envelope-from llwang@llwang.org) Received: by ug-out-1314.google.com with SMTP id 71so814969ugh for ; Sun, 20 May 2007 20:04:29 -0700 (PDT) Received: by 10.78.190.10 with SMTP id n10mr978354huf.1179715194256; Sun, 20 May 2007 19:39:54 -0700 (PDT) Received: by 10.78.121.6 with HTTP; Sun, 20 May 2007 19:39:54 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 21:39:54 -0500 From: "Li-Lun \"Leland\" Wang" Sender: llwang@llwang.org To: pyunyh@gmail.com In-Reply-To: <20070521010944.GB36838@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070520174124.GA14987@Athena.infor.org> <20070521010944.GB36838@cdnetworks.co.kr> X-Google-Sender-Auth: 7ae04e10351785e8 Cc: freebsd-current@freebsd.org Subject: Re: msk watchdog timeout 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: Mon, 21 May 2007 03:04:31 -0000 On 5/20/07, Pyun YongHyeon wrote: > On Mon, May 21, 2007 at 01:41:24AM +0800, Li-Lun Wang (Leland Wang) wrote: > > I just installed 7.0-current as of May 3 on my new computer that comes > > with an on-board Marvell Yukon Gigabit Ethernet. Every now and then > > if the network throughput comes near several hundred kbytes, I get the > > msk0 watchdog timeout messages: > > > > kernel: msk0: watchdog timeout > > msk0: watchdog timeout (missed Tx interrupts) -- recovering > > > > Although it says recovering, the interface never comes back alive. > > The above message indicates the driver sent all pending transmission > requests but the driver didn't receive corresponding Tx completion > interrupts. Not recovering from the watchdog timeout means there are > another issues on the driver. However as disabling MSI fixed the > issue, I guess it's not fault of msk(4) and it comes from bad/broken > MSI implementation of your system. I guess it's time to add your > chipset to a PCI quirk table in order to blacklist it. I do reckon that MSI doesn't work on earlier Intel chipsets. Mine is P965 (on a gigabyte GA-965P-DS3 rev 1.3), which I suppose is recent enough to support MSI, isn't it? Or could there be other problems possible? -- llwang From owner-freebsd-current@FreeBSD.ORG Mon May 21 03:40:26 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D93816A400 for ; Mon, 21 May 2007 03:40:26 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id A444F13C458 for ; Mon, 21 May 2007 03:40:25 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by ug-out-1314.google.com with SMTP id 71so818939ugh for ; Sun, 20 May 2007 20:40:24 -0700 (PDT) Received: by 10.82.184.2 with SMTP id h2mr7675037buf.1179718824101; Sun, 20 May 2007 20:40:24 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Sun, 20 May 2007 20:40:24 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 06:40:24 +0300 From: "Vlad GALU" To: freebsd-current@freebsd.org In-Reply-To: <20070520095125.395860f3@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> <20070520114413.GA23313@hoeg.nl> <20070520095125.395860f3@kan.dnsalias.net> Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Mon, 21 May 2007 03:40:26 -0000 On 5/20/07, Alexander Kabaev wrote: > On Sun, 20 May 2007 13:44:13 +0200 > Ed Schouten wrote: > > > * Vlad GALU wrote: > > > On 5/20/07, Ed Schouten wrote: > > > > Hello, > > > > > > > > * Vlad GALU wrote: > > > > > There might be a PEBKAC here, but after applying the patch > > > > > (cleanly) and rebuilding/reinstalling everything under > > > > > /usr/src/secure, OpenVPN still crashes with SIGILL. > > > > > > > > The problem lies within macro's that are compiled within > > > > applications that make use of the OpenSSL library. Could you try > > > > recompiling OpenVPN (and other apps/libs that make use of > > > > OpenSSL) as well? > > > > > > Yes, I've just done that. The crashes I mentioned happen when I > > > rebuild the OpenVPN port, while performing the sanity tests (right > > > after compiling and linking). > > > > Well, I guess the previous mentioned patch doesn't fix all cases. I > > still get a lot of warnings during compilation of OpenSSL after > > applying the patch that look like this: > > > > > | d1_clnt.c:912 > > | d1_srvr.c:845 > > | s3_clnt.c:1856 > > | s3_lib.c:1756 > > | s3_lib.c:1937 > > | s3_srvr.c:1224 > > | ssl_cert.c:215 > > Just out of curiosity, did you happen to notice that files which my > patch is changing are header files? You need to install them for the > patch to have any effect. Otherwise rebuilding in secure/ will happily > use unpatched header files from /usr/inlcude/openssl. > > I suggest you just rebuild the whole world instead of trying to cut > corners. Thanks, I rebuilt world and all works ok now. Sorry for the noise. > -- > Alexander Kabaev > > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-current@FreeBSD.ORG Mon May 21 04:08:17 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7337316A421 for ; Mon, 21 May 2007 04:08:17 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2C86413C457 for ; Mon, 21 May 2007 04:08:17 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1742365pyh for ; Sun, 20 May 2007 21:08:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=QbdyCfvjSHB6H4W/Z0bEwWjUml7iwQiokWGJ/wgpAOMzp/EjM6wz6vWruX3T1SUzdjBczKZkiOjxktvNfzdz621dXDo/AvMGITa/rm1X2O0SPKqsLx8kROqBaYHM+Gis6ujcmNPvsGCC5TG0ARDo9pdi2+FEcj+jkDwtAkPyEME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Pr+Uia9TxbwR598xETu+TkmOsFORKAsi5nCJNmZJJONR/N8FrpwxiGF09N8VJ5QWPFPjm6uCQ5rMH9ZdbNHb0NNOxAhiJD+IgktnjYKPSSKKLjdeWqB2G9zScFYbwuNTFXDwLFkvfiZYxmw70THmUKDNIcgtmoRxen6UHaFUqjg= Received: by 10.35.19.6 with SMTP id w6mr7981073pyi.1179720496325; Sun, 20 May 2007 21:08:16 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 38sm17490607nza.2007.05.20.21.08.13; Sun, 20 May 2007 21:08:15 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l4L489an037801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 13:08:09 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l4L489Ht037800; Mon, 21 May 2007 13:08:09 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 21 May 2007 13:08:08 +0900 From: Pyun YongHyeon To: Li-Lun Leland Wang Message-ID: <20070521040808.GD36838@cdnetworks.co.kr> References: <20070520174124.GA14987@Athena.infor.org> <20070521010944.GB36838@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: msk watchdog timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 04:08:17 -0000 On Sun, May 20, 2007 at 09:39:54PM -0500, Li-Lun Leland Wang wrote: > On 5/20/07, Pyun YongHyeon wrote: > >On Mon, May 21, 2007 at 01:41:24AM +0800, Li-Lun Wang (Leland Wang) wrote: > > > I just installed 7.0-current as of May 3 on my new computer that comes > > > with an on-board Marvell Yukon Gigabit Ethernet. Every now and then > > > if the network throughput comes near several hundred kbytes, I get the > > > msk0 watchdog timeout messages: > > > > > > kernel: msk0: watchdog timeout > > > msk0: watchdog timeout (missed Tx interrupts) -- recovering > > > > > > Although it says recovering, the interface never comes back alive. > > > >The above message indicates the driver sent all pending transmission > >requests but the driver didn't receive corresponding Tx completion > >interrupts. Not recovering from the watchdog timeout means there are > >another issues on the driver. However as disabling MSI fixed the > >issue, I guess it's not fault of msk(4) and it comes from bad/broken > >MSI implementation of your system. I guess it's time to add your > >chipset to a PCI quirk table in order to blacklist it. > > I do reckon that MSI doesn't work on earlier Intel chipsets. Mine is > P965 (on a gigabyte GA-965P-DS3 rev 1.3), which I suppose is recent > enough to support MSI, isn't it? Or could there be other problems Using latest chipsets does not necessarily guarantee working MSI. > possible? > Yes. But I couldn't find possible issue on msk(4) yet. > -- llwang -- Regards, Pyun YongHyeon From owner-freebsd-current@FreeBSD.ORG Mon May 21 04:45:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DB0E16A46F for ; Mon, 21 May 2007 04:45:41 +0000 (UTC) (envelope-from llwang@llwang.org) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 2E95713C4BB for ; Mon, 21 May 2007 04:45:40 +0000 (UTC) (envelope-from llwang@llwang.org) Received: by ug-out-1314.google.com with SMTP id 71so826211ugh for ; Sun, 20 May 2007 21:45:40 -0700 (PDT) Received: by 10.78.97.7 with SMTP id u7mr984970hub.1179722739718; Sun, 20 May 2007 21:45:39 -0700 (PDT) Received: by 10.78.121.6 with HTTP; Sun, 20 May 2007 21:45:39 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 23:45:39 -0500 From: "Li-Lun \"Leland\" Wang" Sender: llwang@llwang.org To: pyunyh@gmail.com In-Reply-To: <20070521040808.GD36838@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070520174124.GA14987@Athena.infor.org> <20070521010944.GB36838@cdnetworks.co.kr> <20070521040808.GD36838@cdnetworks.co.kr> X-Google-Sender-Auth: 4fb3be38e79fc977 Cc: freebsd-current@freebsd.org Subject: Re: msk watchdog timeout 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: Mon, 21 May 2007 04:45:41 -0000 On 5/20/07, Pyun YongHyeon wrote: > On Sun, May 20, 2007 at 09:39:54PM -0500, Li-Lun Leland Wang wrote: > > On 5/20/07, Pyun YongHyeon wrote: > > >On Mon, May 21, 2007 at 01:41:24AM +0800, Li-Lun Wang (Leland Wang) wrote: > > > > I just installed 7.0-current as of May 3 on my new computer that comes > > > > with an on-board Marvell Yukon Gigabit Ethernet. Every now and then > > > > if the network throughput comes near several hundred kbytes, I get the > > > > msk0 watchdog timeout messages: > > > > > > > > kernel: msk0: watchdog timeout > > > > msk0: watchdog timeout (missed Tx interrupts) -- recovering > > > > > > > > Although it says recovering, the interface never comes back alive. > > > > > >The above message indicates the driver sent all pending transmission > > >requests but the driver didn't receive corresponding Tx completion > > >interrupts. Not recovering from the watchdog timeout means there are > > >another issues on the driver. However as disabling MSI fixed the > > >issue, I guess it's not fault of msk(4) and it comes from bad/broken > > >MSI implementation of your system. I guess it's time to add your > > >chipset to a PCI quirk table in order to blacklist it. > > > > I do reckon that MSI doesn't work on earlier Intel chipsets. Mine is > > P965 (on a gigabyte GA-965P-DS3 rev 1.3), which I suppose is recent > > enough to support MSI, isn't it? Or could there be other problems > > Using latest chipsets does not necessarily guarantee working MSI. I see. I think we should maybe add P965 to the PCI quirk list for broken MSI, then? > > possible? > > > > Yes. But I couldn't find possible issue on msk(4) yet. Maybe I was not clear enough. Could there be something else that causes MSI to not working correctly other than the chipset? I was just wondering why I didn't see too many broken MSI reports if most Intel chipsets are broken. -- llwang P.S. I do greatly appreciate your efforts on msk(4). From owner-freebsd-current@FreeBSD.ORG Mon May 21 04:54:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A573E16A421; Mon, 21 May 2007 04:54:40 +0000 (UTC) (envelope-from jonathan@fosburgh.org) Received: from mail.hal-pc.org (mail.hal-pc.org [206.180.145.133]) by mx1.freebsd.org (Postfix) with ESMTP id 7467E13C484; Mon, 21 May 2007 04:54:40 +0000 (UTC) (envelope-from jonathan@fosburgh.org) Received: from [206.180.155.188] (HELO asgard.fosburgh.org) by mail.hal-pc.org (CommuniGate Pro SMTP 4.2.1) with ESMTP id 427458905; Sun, 20 May 2007 22:54:40 -0500 Received: by asgard.fosburgh.org (Postfix, from userid 1001) id C65395E24; Sun, 20 May 2007 22:54:47 -0500 (CDT) From: Jonathan Fosburgh To: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Date: Sun, 20 May 2007 22:54:44 -0500 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705202254.45347.jonathan@fosburgh.org> Cc: Subject: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 04:54:40 -0000 I am trying to upgrade my Xorg installation to 7.2. I believe everything has upgraded successfully except for xorg-server. While trying to compile either xorg-server port, the compilation process hangs in hw/xfree86/scanpci at xf86ScanPci.c. The compiler just sits there, rapidly chewing up about 800MB of memory and doesn't proceed. I am running -CURRENT from Saturday morning CDT (approx 10AM), so this is post symver and post gcc-4.2. I would imagine this combination of software wasn't thoroughly tested. My system is an Athlon64 3200+ (running i386). Uname output is: FreeBSD asgard.fosburgh.org 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Sat May 19 12:16:39 CDT 2007 root@:/usr/obj/usr/src/sys/vmbsd i386 This is a very recently built system and quite clean in terms of what software is installed, prior to upgrading to 7.2 I only had about 350 packages installed, and the bulk of that was kde and support programs and libraries. Has anyone managed to compile xorg-server on a very recent -CURRENT? From owner-freebsd-current@FreeBSD.ORG Mon May 21 05:13:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1090716A421 for ; Mon, 21 May 2007 05:13:47 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id DE74913C43E for ; Mon, 21 May 2007 05:13:46 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 34.158-pool-avail-mi.sccoast.net ([66.153.158.34]:59739 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1Hq0DJ-0001C0-LV; Mon, 21 May 2007 01:13:45 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l4L5DiLw045549; Mon, 21 May 2007 01:13:44 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Mon, 21 May 2007 01:13:44 -0400 (EDT) From: Wes Morgan To: Jonathan Fosburgh In-Reply-To: <200705202254.45347.jonathan@fosburgh.org> Message-ID: <20070521011217.O44264@volatile.chemikals.org> References: <200705202254.45347.jonathan@fosburgh.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 05:13:47 -0000 On Sun, 20 May 2007, Jonathan Fosburgh wrote: > I am trying to upgrade my Xorg installation to 7.2. I believe everything has > upgraded successfully except for xorg-server. While trying to compile either > xorg-server port, the compilation process hangs in hw/xfree86/scanpci at > xf86ScanPci.c. The compiler just sits there, rapidly chewing up about 800MB > of memory and doesn't proceed. I am running -CURRENT from Saturday morning > CDT (approx 10AM), so this is post symver and post gcc-4.2. I would imagine > this combination of software wasn't thoroughly tested. My system is an > Athlon64 3200+ (running i386). Uname output is: > > FreeBSD asgard.fosburgh.org 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Sat May 19 > 12:16:39 CDT 2007 root@:/usr/obj/usr/src/sys/vmbsd i386 > > This is a very recently built system and quite clean in terms of what software > is installed, prior to upgrading to 7.2 I only had about 350 packages > installed, and the bulk of that was kde and support programs and libraries. > > Has anyone managed to compile xorg-server on a very recent -CURRENT? Yes, just give it time. I thought mine had hung on this file as well, but it eventually compiled it. -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Mon May 21 05:43:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5890D16A421 for ; Mon, 21 May 2007 05:43:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0BFB913C457 for ; Mon, 21 May 2007 05:43:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1758261pyh for ; Sun, 20 May 2007 22:43:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=i99dBLhWxwW2RHFvhGpXfc0FiG2AA2uOSfVIj4CCFgklX1ik8mTpf5cjg/LcGUtZ+AtQX8KO3bTD1YTVVYw/ciMZOR9MrCjcRyGBDo7RZ145XNVkSU1YbMTxwWsff1zE4bJQTjxzApQs0nh71v+AjUKE5oohu7whhBKM2SsD74w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=sq0KDvDFjMShoX3w3mFFcBf+ErJtG7qhbVnt1MiVc8xg14395hg8Wq9bT9jrXmeuI+qyb187C7dSO0tEdllhrCq9zq0mcjKn0tjgMyRTZxRsX2K8/pkla9hklWZO2zykGr57pnFXKEzxDMjLfElnS4zDtz2d9xIsz2plVnC2uYs= Received: by 10.35.43.10 with SMTP id v10mr8098951pyj.1179726208914; Sun, 20 May 2007 22:43:28 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 7sm17721405nzn.2007.05.20.22.43.26; Sun, 20 May 2007 22:43:27 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l4L5hMcn038120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 14:43:22 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l4L5hMF2038119; Mon, 21 May 2007 14:43:22 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 21 May 2007 14:43:22 +0900 From: Pyun YongHyeon To: Li-Lun Leland Wang Message-ID: <20070521054322.GE36838@cdnetworks.co.kr> References: <20070520174124.GA14987@Athena.infor.org> <20070521010944.GB36838@cdnetworks.co.kr> <20070521040808.GD36838@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: msk watchdog timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 05:43:30 -0000 On Sun, May 20, 2007 at 11:45:39PM -0500, Li-Lun Leland Wang wrote: > On 5/20/07, Pyun YongHyeon wrote: > >On Sun, May 20, 2007 at 09:39:54PM -0500, Li-Lun Leland Wang wrote: > > > On 5/20/07, Pyun YongHyeon wrote: > > > >On Mon, May 21, 2007 at 01:41:24AM +0800, Li-Lun Wang (Leland Wang) > > wrote: > > > > > I just installed 7.0-current as of May 3 on my new computer that > > comes > > > > > with an on-board Marvell Yukon Gigabit Ethernet. Every now and then > > > > > if the network throughput comes near several hundred kbytes, I get > > the > > > > > msk0 watchdog timeout messages: > > > > > > > > > > kernel: msk0: watchdog timeout > > > > > msk0: watchdog timeout (missed Tx interrupts) -- recovering > > > > > > > > > > Although it says recovering, the interface never comes back alive. > > > > > > > >The above message indicates the driver sent all pending transmission > > > >requests but the driver didn't receive corresponding Tx completion > > > >interrupts. Not recovering from the watchdog timeout means there are > > > >another issues on the driver. However as disabling MSI fixed the > > > >issue, I guess it's not fault of msk(4) and it comes from bad/broken > > > >MSI implementation of your system. I guess it's time to add your > > > >chipset to a PCI quirk table in order to blacklist it. > > > > > > I do reckon that MSI doesn't work on earlier Intel chipsets. Mine is > > > P965 (on a gigabyte GA-965P-DS3 rev 1.3), which I suppose is recent > > > enough to support MSI, isn't it? Or could there be other problems > > > >Using latest chipsets does not necessarily guarantee working MSI. > > I see. I think we should maybe add P965 to the PCI quirk list for > broken MSI, then? > I don't have systems that use P965 so I'm not sure whether MSI support is broken or not on the chipset. If other drivers that supports MSI does not work too it would be strong indication of broken MSI implementation. > > > possible? > > > > > > >Yes. But I couldn't find possible issue on msk(4) yet. > > Maybe I was not clear enough. Could there be something else that > causes MSI to not working correctly other than the chipset? I was > just wondering why I didn't see too many broken MSI reports if most > Intel chipsets are broken. > Since msk(4) with MSI is working without issues on my box I guess there is not much to do in msk(4). > -- llwang > > P.S. I do greatly appreciate your efforts on msk(4). You're welcome. -- Regards, Pyun YongHyeon From owner-freebsd-current@FreeBSD.ORG Mon May 21 06:26:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6578016A421 for ; Mon, 21 May 2007 06:26:47 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id 0260C13C447 for ; Mon, 21 May 2007 06:26:46 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP id l4L6QF6w015076 (8.13.4/1.4); Mon, 21 May 2007 08:26:15 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP id l4L6QFxl015073 (8.13.4/2.02); Mon, 21 May 2007 08:26:15 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Mon, 21 May 2007 08:26:15 +0200 (MEST) From: Michiel Boland To: Wes Morgan In-Reply-To: <20070521011217.O44264@volatile.chemikals.org> Message-ID: References: <200705202254.45347.jonathan@fosburgh.org> <20070521011217.O44264@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-x11@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 06:26:47 -0000 My build of xorg-server died. The box ran out of swap space. I have 512M RAM + 1G swap. Someone please tell me this is a glitch in the new gcc. I don't want to add ram just to be able to compile a simple program. :) cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -DHAVE_XORG_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -O2 -fno-strict-aliasing -pipe -MT xf86ScanPci.lo -MD -MP -MF .deps/xf86ScanPci.Tpo -c xf86ScanPci.c -fPIC -DPIC -o .libs/xf86ScanPci.o cc: Internal error: Killed: 9 (program cc1) Please submit a full bug report. See for instructions. *** Error code 1 FreeBSD aja.boland.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun May 20 19:26:27 CEST 2007 root@aja.boland.org:/usr/obj/usr/src/sys/AJA amd64 $ gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.0 20070514 [FreeBSD] From owner-freebsd-current@FreeBSD.ORG Mon May 21 06:30:14 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86A4A16A41F; Mon, 21 May 2007 06:30:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8B813C45D; Mon, 21 May 2007 06:30:13 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4L6UDvp008654; Mon, 21 May 2007 02:30:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4L6UDRn006297; Mon, 21 May 2007 02:30:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 0B7E573068; Mon, 21 May 2007 02:30:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070521063013.0B7E573068@freebsd-current.sentex.ca> Date: Mon, 21 May 2007 02:30:12 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 06:30:14 -0000 TB --- 2007-05-21 04:53:38 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-21 04:53:38 - starting HEAD tinderbox run for i386/pc98 TB --- 2007-05-21 04:53:38 - cleaning the object tree TB --- 2007-05-21 04:54:06 - checking out the source tree TB --- 2007-05-21 04:54:06 - cd /tinderbox/HEAD/i386/pc98 TB --- 2007-05-21 04:54:06 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-21 05:02:16 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-21 05:02:16 - cd /src TB --- 2007-05-21 05:02:16 - /usr/bin/make -B buildworld >>> World build started on Mon May 21 05:02:17 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Mon May 21 06:15:47 UTC 2007 TB --- 2007-05-21 06:15:47 - generating LINT kernel config TB --- 2007-05-21 06:15:47 - cd /src/sys/pc98/conf TB --- 2007-05-21 06:15:47 - /usr/bin/make -B LINT TB --- 2007-05-21 06:15:48 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-21 06:15:48 - cd /src TB --- 2007-05-21 06:15:48 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon May 21 06:15:48 UTC 2007 >>> 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 >>> stage 3.2: building everything [...] : undefined reference to `dt_lock' sys_machdep.o(.text+0x210): In function `set_user_ldt': : undefined reference to `dt_lock' sys_machdep.o(.text+0x294): In function `user_ldt_free': : undefined reference to `dt_lock' sys_machdep.o(.text+0x382): In function `i386_set_ldt_data': : undefined reference to `dt_lock' sys_machdep.o(.text+0x40c): more undefined references to `dt_lock' follow *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-21 06:30:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-21 06:30:12 - ERROR: failed to build lint kernel TB --- 2007-05-21 06:30:12 - tinderbox aborted TB --- 0.70 user 2.95 system 5793.78 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-current@FreeBSD.ORG Mon May 21 06:59:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3247716A41F for ; Mon, 21 May 2007 06:59:30 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8153613C46A for ; Mon, 21 May 2007 06:59:29 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id AF1181CD3B; Mon, 21 May 2007 08:59:27 +0200 (CEST) Date: Mon, 21 May 2007 08:59:27 +0200 From: Ed Schouten To: Pyun YongHyeon Message-ID: <20070521065927.GC23313@hoeg.nl> References: <4327.10.202.77.103.1179664974.squirrel@webmail.superhero.nl> <20070521010735.GA36838@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r3RYAYa9cXQlbOHD" Content-Disposition: inline In-Reply-To: <20070521010735.GA36838@cdnetworks.co.kr> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current Subject: Re: CFT: nfe(4) MSI/MSIX support 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: Mon, 21 May 2007 06:59:30 -0000 --r3RYAYa9cXQlbOHD Content-Type: multipart/mixed; boundary="qN286NIOm1dtEdh0" Content-Disposition: inline --qN286NIOm1dtEdh0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, * Pyun YongHyeon wrote: > I'd also like to commit it and make nfe(4) default driver for all > nVidia network adapters. I've sent several mails to official FreeBSD > nfe(4) maintainer, obrien, but got no reply yet. I'll wait one or two > week more and will post a mail that asks for opinions of other > developers on superseding nve(4) with nfe(4). Please do. That would be great! I only have a small problem with the nfe(4) driver and that is that the machine I use it on (Microsoft Xbox) doesn't have a PHY that is supported by any FreeBSD PHY driver. I ported the NetBSD icsphy(4) driver and now it works like it should. I've attached a patch which adds the driver. You'd really help me out by adding this driver as well. Thanks! Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --qN286NIOm1dtEdh0 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="freebsd-icsphy.diff" Content-Transfer-Encoding: quoted-printable --- src/sys/conf/files Sat Feb 3 18:04:35 2007 +++ src/sys/conf/files Tue Feb 6 19:16:49 2007 @@ -726,6 +726,8 @@ # XXX only xl cards? dev/mii/exphy.c optional miibus | exphy dev/mii/gentbi.c optional miibus | gentbi +# XXX only nfe cards? +dev/mii/icsphy.c optional miibus | icsphy # XXX only fxp cards? dev/mii/inphy.c optional miibus | inphy dev/mii/ip1000phy.c optional miibus | ip1000phy --- src/sys/dev/mii/icsphy.c Thu Jan 1 01:00:00 1970 +++ src/sys/dev/mii/icsphy.c Tue Feb 6 21:11:37 2007 @@ -0,0 +1,305 @@ +/* $NetBSD: icsphy.c,v 1.41 2006/11/16 21:24:07 christos Exp $ */ + +/*- + * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, + * NASA Ames Research Center. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the NetBSD + * Foundation, Inc. and its contributors. + * 4. Neither the name of The NetBSD Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTO= RS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIM= ITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICU= LAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTO= RS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF = THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * Copyright (c) 1997 Manuel Bouyer. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Manuel Bouyer. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTI= ES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF US= E, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * driver for Integrated Circuit Systems' ICS1889-1893 ethernet 10/100 PHY + * datasheet from www.icst.com + */ + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include "miidevs.h" + +#include + +#include "miibus_if.h" + +static int icsphy_probe(device_t dev); +static int icsphy_attach(device_t dev); + +struct icsphy_softc { + struct mii_softc mii_sc; + int mii_model; +}; + +static device_method_t icsphy_methods[] =3D { + /* device interface */ + DEVMETHOD(device_probe, icsphy_probe), + DEVMETHOD(device_attach, icsphy_attach), + DEVMETHOD(device_detach, mii_phy_detach), + DEVMETHOD(device_shutdown, bus_generic_shutdown), + { 0, 0 } +}; + +static devclass_t icsphy_devclass; + +static driver_t icsphy_driver =3D { + "icsphy", + icsphy_methods, + sizeof(struct icsphy_softc) +}; + +DRIVER_MODULE(icsphy, miibus, icsphy_driver, icsphy_devclass, 0, 0); + +static int icsphy_service(struct mii_softc *, struct mii_data *, int); +static void icsphy_status(struct mii_softc *); +static void icsphy_reset(struct mii_softc *); + +static const struct mii_phydesc icsphys[] =3D { + MII_PHY_DESC(xxICS, 1889), + MII_PHY_DESC(xxICS, 1890), + MII_PHY_DESC(xxICS, 1892), + MII_PHY_DESC(xxICS, 1893), + MII_PHY_END +}; + +static int +icsphy_probe(device_t dev) +{ + + return (mii_phy_dev_probe(dev, icsphys, BUS_PROBE_DEFAULT)); +} + +static int +icsphy_attach(device_t dev) +{ + struct icsphy_softc *isc; + struct mii_softc *sc; + struct mii_attach_args *ma; + struct mii_data *mii; + + isc =3D device_get_softc(dev); + sc =3D &isc->mii_sc; + ma =3D device_get_ivars(dev); + sc->mii_dev =3D device_get_parent(dev); + mii =3D device_get_softc(sc->mii_dev); + LIST_INSERT_HEAD(&mii->mii_phys, sc, mii_list); + + sc->mii_inst =3D mii->mii_instance; + sc->mii_phy =3D ma->mii_phyno; + sc->mii_service =3D icsphy_service; + sc->mii_pdata =3D mii; + mii->mii_instance++; + + sc->mii_flags |=3D MIIF_NOISOLATE; + + ifmedia_add(&mii->mii_media, + IFM_MAKEWORD(IFM_ETHER, IFM_100_TX, IFM_LOOP, sc->mii_inst), + MII_MEDIA_100_TX, NULL); + + isc->mii_model =3D MII_MODEL(ma->mii_id2); + icsphy_reset(sc); + + sc->mii_capabilities =3D PHY_READ(sc, MII_BMSR) & ma->mii_capmask; + device_printf(dev, " "); + mii_phy_add_media(sc); + printf("\n"); + + MIIBUS_MEDIAINIT(sc->mii_dev); + + return (0); +} + +static int +icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) +{ + struct ifmedia_entry *ife =3D mii->mii_media.ifm_cur; + int reg; + + switch (cmd) { + case MII_POLLSTAT: + /* + * If we're not polling our PHY instance, just return. + */ + if (IFM_INST(ife->ifm_media) !=3D sc->mii_inst) + return (0); + break; + + case MII_MEDIACHG: + /* + * If the media indicates a different PHY instance, + * isolate ourselves. + */ + if (IFM_INST(ife->ifm_media) !=3D sc->mii_inst) { + reg =3D PHY_READ(sc, MII_BMCR); + PHY_WRITE(sc, MII_BMCR, reg | BMCR_ISO); + return (0); + } + + /* + * If the interface is not up, don't do anything. + */ + if ((mii->mii_ifp->if_flags & IFF_UP) =3D=3D 0) + break; + + mii_phy_setmedia(sc); + break; + + case MII_TICK: + /* + * If we're not currently selected, just return. + */ + if (IFM_INST(ife->ifm_media) !=3D sc->mii_inst) + return (0); + + if (mii_phy_tick(sc) =3D=3D EJUSTRETURN) + return (0); + break; + } + + /* Update the media status. */ + icsphy_status(sc); + + /* Callback if something changed. */ + mii_phy_update(sc, cmd); + return (0); +} + +static void +icsphy_status(struct mii_softc *sc) +{ + struct mii_data *mii =3D sc->mii_pdata; + struct ifmedia_entry *ife =3D mii->mii_media.ifm_cur; + int bmcr, qpr; + + mii->mii_media_status =3D IFM_AVALID; + mii->mii_media_active =3D IFM_ETHER; + + /* + * Don't get link from the BMSR. It's available in the QPR, + * and we have to read it twice to unlatch it anyhow. This + * gives us fewer register reads. + */ + qpr =3D PHY_READ(sc, MII_ICSPHY_QPR); /* unlatch */ + qpr =3D PHY_READ(sc, MII_ICSPHY_QPR); /* real value */ + + if (qpr & QPR_LINK) + mii->mii_media_status |=3D IFM_ACTIVE; + + bmcr =3D PHY_READ(sc, MII_BMCR); + if (bmcr & BMCR_ISO) { + mii->mii_media_active |=3D IFM_NONE; + mii->mii_media_status =3D 0; + return; + } + + if (bmcr & BMCR_LOOP) + mii->mii_media_active |=3D IFM_LOOP; + + if (bmcr & BMCR_AUTOEN) { + if ((qpr & QPR_ACOMP) =3D=3D 0) { + /* Erg, still trying, I guess... */ + mii->mii_media_active |=3D IFM_NONE; + return; + } + if (qpr & QPR_SPEED) + mii->mii_media_active |=3D IFM_100_TX; + else + mii->mii_media_active |=3D IFM_10_T; + if (qpr & QPR_FDX) + mii->mii_media_active |=3D IFM_FDX; + } else + mii->mii_media_active =3D ife->ifm_media; +} + +static void +icsphy_reset(struct mii_softc *sc) +{ + struct icsphy_softc *isc =3D (struct icsphy_softc *)sc; + + mii_phy_reset(sc); + /* set powerdown feature */ + switch (isc->mii_model) { + case MII_MODEL_xxICS_1890: + case MII_MODEL_xxICS_1893: + PHY_WRITE(sc, MII_ICSPHY_ECR2, ECR2_100AUTOPWRDN); + break; + case MII_MODEL_xxICS_1892: + PHY_WRITE(sc, MII_ICSPHY_ECR2, + ECR2_10AUTOPWRDN|ECR2_100AUTOPWRDN); + break; + default: + /* 1889 have no ECR2 */ + break; + } + /* + * There is no description that the reset do auto-negotiation in the + * data sheet. + */ + PHY_WRITE(sc, MII_BMCR, BMCR_S100|BMCR_STARTNEG|BMCR_FDX); +} --- src/sys/dev/mii/icsphyreg.h Thu Jan 1 01:00:00 1970 +++ src/sys/dev/mii/icsphyreg.h Wed Jul 2 00:46:08 2003 @@ -0,0 +1,134 @@ +/* $NetBSD: icsphyreg.h,v 1.2 2003/07/01 22:46:08 msaitoh Exp $ */ + +/*- + * Copyright (c) 1998 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, + * NASA Ames Research Center. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the NetBSD + * Foundation, Inc. and its contributors. + * 4. Neither the name of The NetBSD Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTO= RS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIM= ITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICU= LAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTO= RS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF = THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _DEV_MII_ICSPHYREG_H_ +#define _DEV_MII_ICSPHYREG_H_ + +/* + * ICS1890 registers. + * http://www.icst.com/pdf/18??.pdf + */ + +/* HEX 1889 1890 1892 1893 + *-------------------------------------------------------------- + * 0 Control * * * * + * 1 Status * * * * + * 2 PHY Identifier * * * * + * 3 PHY Identifier * * * * + * 4 Auto-Neg. Advertisement * * * + * 5 Auto-Neg. Link Parent Adv * * * + * 6 Auto-Neg. Expansion * * * + * 7 Auto-Neg. Next Page Tx * * + * 8 ANg Nxt Page Lnk Parnt Abl * * + * 10 Extended Control * * * * + * 11 Quick Poll Status * * * * + * 12 10Base-T Operation * * * + * 13 Extended Control2 * * * + */ + +#define MII_ICSPHY_ECR 0x10 /* Extended Control Register */ +#define ECR_OVR 0x8000 /* disable command reg overwrites */ +#define ECR_PHYADDR_MASK 0x07c0 /* PHY address mask */ +#define ECR_CTEST 0x0020 /* Stream Cipher Test Mode */ +#define ECR_IECT 0x0004 /* Invalid Error Code Test */ +#define ECR_SSD 0x0001 /* Stream Cipher Disable */ + +#define MII_ICSPHY_QPR 0x11 /* Quick Poll Register */ +#define QPR_SPEED 0x8000 /* 100Mbps */ +#define QPR_FDX 0x4000 /* Full dupled */ +#define QPR_ANB2 0x2000 /* Autoneg monitor bit 2 */ +#define QPR_ANB1 0x1000 /* Autoneg monitor bit 1 */ +#define QPR_ANB0 0x0800 /* Autoneg monitor bit 0 */ +#define QPR_RXERR 0x0400 /* Receive signal lost */ +#define QPR_PLLERR 0x0200 /* PLL error */ +#define QPR_FCARR 0x0100 /* False carrier detected */ +#define QPR_INVALSYM 0x0080 /* Invalid Symbol Detected */ +#define QPR_HALT 0x0040 /* Halt Symbol Detected */ +#define QPR_PREEM 0x0020 /* Two Idle Symbols together */ +#define QPR_ACOMP 0x0010 /* Autonegotiation complete */ +#define QPR_SDETECT 0x0008 /* signal detect */ +#define QPR_JABBER 0x0004 /* Jabber detected */ +#define QPR_RFAULT 0x0002 /* Remote Fault */ +#define QPR_LINK 0x0001 /* Link */ + +#define MII_ICSPHY_TTR 0x12 /* 10baseT Operations Register */ +#define TTR_RJABBER 0x8000 /* Remote Jabber */ +#define TTR_POLARITY 0x4000 /* Polarity Reversed */ +#define TTR_NOJABBER 0x0020 /* Disable Jabber Check */ +#define TTR_LOOP 0x0010 /* Loopback mode */ +#define TTR_NOAPOLARITY 0x0008 /* Disable auto polarity correction */ +#define TTR_NOSQE 0x0004 /* Disable SQE check */ +#define TTR_NOLINK 0x0002 /* Disable Link check */ +#define TTR_NOSQUELCH 0x0001 /* Disable squelch */ + + +/* + * Extended Control Register 2 + * + * HEX 1889 1890 1892 1893 + *------------------------------------------------------------------- + * 8000 Node/Repeater Mode * * * + * 4000 Hardware/Software Mode * * * + * 2000 Link Partner Support Remote Flt * + * 2000 Remote Fault * * + * 1000 + * 0800 + * 0400 Xmitted Remote Fault status * + * 0200 + * 0100 + * 0080 Tri-state Enable * + * 0040 + * 0020 + * 0010 A-N Powerup Remote Flt * + * 0008 + * 0004 + * 0002 Automatic 10Base-T Power Down * + * 0001 Automatic 100Base-TX Power Down * * * + */ + +#define MII_ICSPHY_ECR2 0x13 /* Extended Control Register 2 */ +#define ECR2_REPEATER 0x8000 /* Repeater Mode */ +#define ECR2_HWSW 0x4000 /* hw/sw config priority */ +#define ECR2_LPRF 0x2000 /* link partner supports rem fault */ +#define ECR2_FORCERF 0x0400 /* Force transmit of rem fault */ +#define ECR2_RFPUP 0x0010 /* A-N Powerup Remote fault */ +#define ECR2_10AUTOPWRDN 0x0002 /* Automatic 10baseT power down */ +#define ECR2_100AUTOPWRDN 0x0001 /* Automatic 100baseTX power down */ + +#endif /* _DEV_MII_ICSPHYREG_H_ */ --- src/sys/dev/mii/miidevs Sat Feb 3 18:04:39 2007 +++ src/sys/dev/mii/miidevs Tue Feb 6 19:31:03 2007 @@ -142,7 +142,10 @@ model xxDAVICOM DM9101 0x0000 DM9101 10/100 media interface =20 /* Integrated Circuit Systems PHYs */ +model xxICS 1889 0x0001 ICS1889 10/100 media interface model xxICS 1890 0x0002 ICS1890 10/100 media interface +model xxICS 1892 0x0003 ICS1892 10/100 media interface +model xxICS 1893 0x0004 ICS1893 10/100 media interface =20 /* IC Plus Corp. PHYs */ model ICPLUS IP1000A 0x0008 IC Plus 10/100/1000 media interface --- src/sys/modules/mii/Makefile Tue Jul 25 02:20:11 2006 +++ src/sys/modules/mii/Makefile Tue Feb 6 19:19:59 2007 @@ -5,7 +5,7 @@ KMOD=3D miibus SRCS=3D mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h pci_if.h SRCS+=3D miibus_if.h miidevs.h device_if.h miibus_if.c e1000phy.c exphy.c = nsphy.c -SRCS+=3D mlphy.c tlphy.c rlphy.c amphy.c inphy.c tdkphy.c +SRCS+=3D mlphy.c tlphy.c rlphy.c amphy.c icsphy.c inphy.c tdkphy.c SRCS+=3D bmtphy.c brgphy.c xmphy.c pnaphy.c lxtphy.c qsphy.c acphy.c nsgph= y.c SRCS+=3D rgephy.c ruephy.c ciphy.c gentbi.c ip1000phy.c =20 --qN286NIOm1dtEdh0-- --r3RYAYa9cXQlbOHD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUUNP52SDGA2eCwURAtRdAJsFDQt/PAwFUoXvz94jsHLJfVXUYQCfYx0s DnCNctcQ6A41NGOsiQSHr0o= =pe3E -----END PGP SIGNATURE----- --r3RYAYa9cXQlbOHD-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 07:11:04 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA2C816A400 for ; Mon, 21 May 2007 07:11:04 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 699EE13C45B for ; Mon, 21 May 2007 07:11:04 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000089812.msg for ; Mon, 21 May 2007 11:13:35 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 21 May 2007 11:13:32 +0400 Message-ID: <78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local> In-Reply-To: <20070520111247.GZ23313@hoeg.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: Acea0F4njRj9GDqkRP2/ofvQ0xpJnQApsgag References: <20070518192007.6e6a91e1@kan.dnsalias.net><20070519182811.GW23313@hoeg.nl><20070520155736.59f36b67.ariff@FreeBSD.org> <20070520111247.GZ23313@hoeg.nl> From: "Yuriy Tsibizov" To: "Ed Schouten" X-Spam-Processed: mx2.gfk.ru, Mon, 21 May 2007 11:13:35 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Mon, 21 May 2007 11:13:35 +0400 Cc: current@freebsd.org Subject: RE: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 07:11:05 -0000 > * Ariff Abdullah wrote: > > Any error messages? How about with snd_emu10kx instead of > > snd_emu10k1 ? >=20 > I don't get any error messages as far as I can see. snd_emu10kx does > work. Is it worth to invest more time in this problem, better=20 > said, will > the snd_emu10kx driver replace snd_emu10k1 in the near future? Yes, there are some plans to do it before 7.0-RELEASE. BTW, I was unable to repeat your problem with my cards (i386 world + kernel built with gcc42). Are you using i386 or amd64 kernel? Yuriy From owner-freebsd-current@FreeBSD.ORG Mon May 21 07:12:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DF1516A400 for ; Mon, 21 May 2007 07:12:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id D9E0313C489 for ; Mon, 21 May 2007 07:12:01 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1772937pyh for ; Mon, 21 May 2007 00:12:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=NR5Wz2m4V9BYX28UE02WPhNu/GvHwWM1k+t+C93wldapnzFWKrrQ/mUB/aIEAM9KviZs4e4Bdd+8hzCA6+4rGdUvQWtLla9WVOJAxiiDHGCHWxmqaXymN2ssIQOg9XMqSNDeRno7mwT6eByT0Y3K6Ii8L4g4+/YlFHj9VUK2mYQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=p8IiIoNoIQJpuDcV4trccc2ToT6nxfp4rVrk/pFp6TznxEjF0qOXZ7djz6mAuOYU3/qDw76xdSYNcyTswT3YZUvesLYoZrK7NhxCOOxKpIAcPiEecFjL87X+smGrgxhAF5+qxh5Pb17EpKBkhdyXs060bQk6tlFwDD2PUSuXBns= Received: by 10.35.41.14 with SMTP id t14mr490512pyj.1179731521289; Mon, 21 May 2007 00:12:01 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 12sm13799927nzn.2007.05.21.00.11.59; Mon, 21 May 2007 00:12:00 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l4L7Bt7a038390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 16:11:55 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l4L7BsEd038389; Mon, 21 May 2007 16:11:54 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 21 May 2007 16:11:54 +0900 From: Pyun YongHyeon To: Ed Schouten Message-ID: <20070521071154.GF36838@cdnetworks.co.kr> References: <4327.10.202.77.103.1179664974.squirrel@webmail.superhero.nl> <20070521010735.GA36838@cdnetworks.co.kr> <20070521065927.GC23313@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070521065927.GC23313@hoeg.nl> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Current Subject: Re: CFT: nfe(4) MSI/MSIX support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 07:12:02 -0000 On Mon, May 21, 2007 at 08:59:27AM +0200, Ed Schouten wrote: > Hello, > > * Pyun YongHyeon wrote: > > I'd also like to commit it and make nfe(4) default driver for all > > nVidia network adapters. I've sent several mails to official FreeBSD > > nfe(4) maintainer, obrien, but got no reply yet. I'll wait one or two > > week more and will post a mail that asks for opinions of other > > developers on superseding nve(4) with nfe(4). > > Please do. That would be great! I only have a small problem with the > nfe(4) driver and that is that the machine I use it on (Microsoft Xbox) > doesn't have a PHY that is supported by any FreeBSD PHY driver. I ported > the NetBSD icsphy(4) driver and now it works like it should. > > I've attached a patch which adds the driver. You'd really help me out by > adding this driver as well. Thanks! > Thanks for the patch. :-) As you know nfe(4) requires several PHY driver patches to work correctly. I'll take care of icsphy(4) too. -- Regards, Pyun YongHyeon From owner-freebsd-current@FreeBSD.ORG Mon May 21 07:25:04 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1753616A46E for ; Mon, 21 May 2007 07:25:04 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id CFF5613C457 for ; Mon, 21 May 2007 07:25:03 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id EB8AA1CD3B; Mon, 21 May 2007 09:25:02 +0200 (CEST) Date: Mon, 21 May 2007 09:25:02 +0200 From: Ed Schouten To: Yuriy Tsibizov Message-ID: <20070521072502.GD23313@hoeg.nl> References: <20070520111247.GZ23313@hoeg.nl> <78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E+SuQPWxZ0J/gtME" Content-Disposition: inline In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 07:25:04 -0000 --E+SuQPWxZ0J/gtME Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Yuriy Tsibizov wrote: > BTW, I was unable to repeat your problem with my cards (i386 world + > kernel built with gcc42). > Are you using i386 or amd64 kernel? I'm an amd64 user. I now hear a click (`plop') during boot, which normally doesn't occur. Maybe I'll take a closer look at it this evening, when time permits. --=20 Ed Schouten WWW: http://g-rave.nl/ --E+SuQPWxZ0J/gtME Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUUlO52SDGA2eCwURAr3CAJ9BZvkNb34v5MYpLKG/JDuRAywCXgCfUkm1 n2JN/yjspFyJ4xSY00ZgqFI= =EmJE -----END PGP SIGNATURE----- --E+SuQPWxZ0J/gtME-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 07:44:20 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD28716A468 for ; Mon, 21 May 2007 07:44:20 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF5613C4BD for ; Mon, 21 May 2007 07:44:20 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1Hq2Yv-000Har-PD by authid for ; Mon, 21 May 2007 10:44:13 +0300 Date: Mon, 21 May 2007 10:44:13 +0300 From: Odhiambo Washington To: freebsd-current@FreeBSD.org Message-ID: <20070521074413.GL61558@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Kernel compilation failure ... 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: Mon, 21 May 2007 07:44:20 -0000 Hi, I am running -CURRENT on my desktop, csup-ped sources even today - 20070521. For the last one week or so, I cannot successfully compile a kernel. Always fails here: cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=make sh /usr/src/sys/conf/newvers.sh alligator cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding vers.c linking kernel.debug if_ural.o(.text+0xe8f): In function `ural_attach': /usr/src/sys/dev/usb/if_ural.c:491: undefined reference to `ieee80211_amrr_init' if_ural.o(.text+0x2fa5): In function `ural_task': /usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to `ieee80211_amrr_node_init' if_ural.o(.text+0x3179): In function `ural_amrr_update': /usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to `ieee80211_amrr_choose' *** Error code 1 Stop in /usr/obj/usr/src/sys/ALLIGATOR-7.x. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Something I have missed, I believe.... -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ The state law of Pennsylvania prohibits singing in the bathtub. From owner-freebsd-current@FreeBSD.ORG Mon May 21 07:51:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E94D216A468 for ; Mon, 21 May 2007 07:51:56 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id 22A9313C447 for ; Mon, 21 May 2007 07:51:56 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1189114wra for ; Mon, 21 May 2007 00:51:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iDXanrEkJY9o6jgX+wIApJZUlv1U8aV1o0p9lTy7dLGTSEDrgOosTrvI8qC/+2+bZDX2I9BP5co8JOdKI3KgqalQk0B5Aqsm91npkZao84TED9Sxh1lMNpxzNgtGZe4wkxtqICvXXEukqzJ0KFmhEBOfVadni5Fjxill6jiaCzA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LSCRtCddMBxFa0vkTtR4bcSsKJtfOfoQG/VcAS9jnbqHXfXRVvZTmFpmen7IU0zeQMQJY0EZEbtpAEwpaz3oIX7l5FEeZ9qqhGAM2Wy0Mua5EdgsrccQSyvPXprfMMotY2hhlh3bOrF/mlHcJv2aXPs4QSCIc/w36NX561KUPLQ= Received: by 10.115.110.6 with SMTP id n6mr2523920wam.1179733913015; Mon, 21 May 2007 00:51:53 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Mon, 21 May 2007 00:51:52 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 09:51:52 +0200 From: "Claus Guttesen" To: "Odhiambo Washington" , freebsd-current@freebsd.org In-Reply-To: <20070521074413.GL61558@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070521074413.GL61558@ns2.wananchi.com> Cc: Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 07:51:57 -0000 > I am running -CURRENT on my desktop, csup-ped sources even today > - 20070521. > For the last one week or so, I cannot successfully compile a kernel. > Always fails here: > > > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > MAKE=make sh /usr/src/sys/conf/newvers.sh alligator > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding vers.c > linking kernel.debug > if_ural.o(.text+0xe8f): In function `ural_attach': > /usr/src/sys/dev/usb/if_ural.c:491: undefined reference to `ieee80211_amrr_init' > if_ural.o(.text+0x2fa5): In function `ural_task': > /usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to `ieee80211_amrr_node_init' > if_ural.o(.text+0x3179): In function `ural_amrr_update': > /usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to `ieee80211_amrr_choose' > *** Error code 1 Something with a wireless usb-card in your kernel-config maybe? Is it ALLIGATOR a copy of GENERIC or customized? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-current@FreeBSD.ORG Mon May 21 07:55:00 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A90A16A41F for ; Mon, 21 May 2007 07:55:00 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id E1FC413C44B for ; Mon, 21 May 2007 07:54:58 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 4FD3C1055A; Mon, 21 May 2007 10:54:57 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00404-04; Mon, 21 May 2007 10:54:55 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id A57BB10558; Mon, 21 May 2007 10:54:55 +0300 (EEST) Message-ID: <4651504E.20801@bulinfo.net> Date: Mon, 21 May 2007 10:54:54 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: Odhiambo Washington , freebsd-current@FreeBSD.org References: <20070521074413.GL61558@ns2.wananchi.com> In-Reply-To: <20070521074413.GL61558@ns2.wananchi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 07:55:00 -0000 'man ural' or check for following in your kernel config file: device ehci device uhci device ohci device usb device ural device wlan Odhiambo Washington wrote: > Hi, > > I am running -CURRENT on my desktop, csup-ped sources even today > - 20070521. > For the last one week or so, I cannot successfully compile a kernel. > Always fails here: > > > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > MAKE=make sh /usr/src/sys/conf/newvers.sh alligator > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding vers.c > linking kernel.debug > if_ural.o(.text+0xe8f): In function `ural_attach': > /usr/src/sys/dev/usb/if_ural.c:491: undefined reference to `ieee80211_amrr_init' > if_ural.o(.text+0x2fa5): In function `ural_task': > /usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to `ieee80211_amrr_node_init' > if_ural.o(.text+0x3179): In function `ural_amrr_update': > /usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to `ieee80211_amrr_choose' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/ALLIGATOR-7.x. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > Something I have missed, I believe.... > > > > -Wash > > http://www.netmeister.org/news/learn2quote.html > > DISCLAIMER: See http://www.wananchi.com/bms/terms.php > > -- > +======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 > +======================================================================+ > > The state law of Pennsylvania prohibits singing in the bathtub. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > -- Krassimir Slavchev Bulinfo Ltd. krassi@bulinfo.net (+359 2) 969-9160 http://www.bulinfo.net (+359 2) 969-9166 From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:00:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8262C16A421 for ; Mon, 21 May 2007 08:00:23 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.freebsd.org (Postfix) with ESMTP id E39A513C469 for ; Mon, 21 May 2007 08:00:22 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id l4L8YcFX091699 for ; Mon, 21 May 2007 08:34:39 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id l4L8YcZI091698 for freebsd-current@freebsd.org; Mon, 21 May 2007 08:34:38 GMT (envelope-from dunstan) Date: Mon, 21 May 2007 08:34:38 +0000 From: "Wojciech A. Koszek" To: freebsd-current@freebsd.org Message-ID: <20070521083438.GA91554@FreeBSD.czest.pl> Mail-Followup-To: "Wojciech A. Koszek" , freebsd-current@freebsd.org References: <20070521074413.GL61558@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Mon, 21 May 2007 08:34:39 +0000 (UTC) Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 08:00:23 -0000 On Mon, May 21, 2007 at 09:51:52AM +0200, Claus Guttesen wrote: > >I am running -CURRENT on my desktop, csup-ped sources even today > >- 20070521. > >For the last one week or so, I cannot successfully compile a kernel. > >Always fails here: > > > > > >cc -shared -nostdlib hack.c -o hack.So > >rm -f hack.c > >MAKE=make sh /usr/src/sys/conf/newvers.sh alligator > >cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > >-Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > >-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > >-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > >-finline-limit=8000 --param inline-unit-growth=100 --param > >large-function-growth=1000 -mno-align-long-strings > >-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > >-mno-sse3 -ffreestanding vers.c > >linking kernel.debug > >if_ural.o(.text+0xe8f): In function `ural_attach': > >/usr/src/sys/dev/usb/if_ural.c:491: undefined reference to > >`ieee80211_amrr_init' > >if_ural.o(.text+0x2fa5): In function `ural_task': > >/usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to > >`ieee80211_amrr_node_init' > >if_ural.o(.text+0x3179): In function `ural_amrr_update': > >/usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to > >`ieee80211_amrr_choose' > >*** Error code 1 > > Something with a wireless usb-card in your kernel-config maybe? Is it > ALLIGATOR a copy of GENERIC or customized? Presence of ural(4) and lack of the wireless support seems to be the cause of the problem. Try to check if you have wlan(4) present. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/ From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:24:40 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B555916A468 for ; Mon, 21 May 2007 08:24:40 +0000 (UTC) (envelope-from freebsd@unixfreunde.de) Received: from unixfreunde.net (unixfreunde.de [85.214.35.254]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2F713C45D for ; Mon, 21 May 2007 08:24:40 +0000 (UTC) (envelope-from freebsd@unixfreunde.de) Received: from miwi.homeunix.com (dslb-082-083-129-125.pools.arcor-ip.net [82.83.129.125]) by unixfreunde.net (Postfix) with ESMTP id 5DC8D50BE6; Mon, 21 May 2007 09:56:35 +0200 (CEST) Date: Mon, 21 May 2007 07:56:33 +0000 From: Martin Wilke To: Ed Schouten Message-ID: <20070521075633.5b1e1fae@miwi.homeunix.com> In-Reply-To: <20070521072502.GD23313@hoeg.nl> References: <20070520111247.GZ23313@hoeg.nl> <78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local> <20070521072502.GD23313@hoeg.nl> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 08:24:40 -0000 On Mon, 21 May 2007 09:25:02 +0200 Ed Schouten wrote: |* Yuriy Tsibizov wrote: |> BTW, I was unable to repeat your problem with my cards (i386 world + |> kernel built with gcc42). |> Are you using i386 or amd64 kernel? | |I'm an amd64 user. I now hear a click (`plop') during boot, which |normally doesn't occur. Maybe I'll take a closer look at it this |evening, when time permits. I can reproduct this with i386. - Martin -- Martin Wilke | irc.unixfreunde.de #bsd miwi@FreeBSD.org | miwi@unixfreunde.de FreeBSD Committer | Power to Serve From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:26:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72C8B16A469; Mon, 21 May 2007 08:26:58 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 627E413C483; Mon, 21 May 2007 08:26:58 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 22B2C1A3C19; Mon, 21 May 2007 01:27:56 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7D9C052624; Mon, 21 May 2007 04:26:57 -0400 (EDT) Date: Mon, 21 May 2007 04:26:57 -0400 From: Kris Kennaway To: Jonathan Fosburgh Message-ID: <20070521082657.GC51136@xor.obsecurity.org> References: <200705202254.45347.jonathan@fosburgh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705202254.45347.jonathan@fosburgh.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 08:26:58 -0000 On Sun, May 20, 2007 at 10:54:44PM -0500, Jonathan Fosburgh wrote: > I am trying to upgrade my Xorg installation to 7.2. I believe everything has > upgraded successfully except for xorg-server. While trying to compile either > xorg-server port, the compilation process hangs in hw/xfree86/scanpci at > xf86ScanPci.c. The compiler just sits there, rapidly chewing up about 800MB > of memory and doesn't proceed. I am running -CURRENT from Saturday morning > CDT (approx 10AM), so this is post symver and post gcc-4.2. I would imagine > this combination of software wasn't thoroughly tested. My system is an > Athlon64 3200+ (running i386). Uname output is: > > FreeBSD asgard.fosburgh.org 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Sat May 19 > 12:16:39 CDT 2007 root@:/usr/obj/usr/src/sys/vmbsd i386 > > This is a very recently built system and quite clean in terms of what software > is installed, prior to upgrading to 7.2 I only had about 350 packages > installed, and the bulk of that was kde and support programs and libraries. > > Has anyone managed to compile xorg-server on a very recent -CURRENT? It worked the last time I tried. That was with gcc 4.2 but without symver. I cannot confirm how much memory it may have required though. Kris From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:27:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D9CA16A468 for ; Mon, 21 May 2007 08:27:25 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 280C913C46A for ; Mon, 21 May 2007 08:27:24 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1Hq3Ef-00014k-3D by authid for ; Mon, 21 May 2007 11:27:21 +0300 Date: Mon, 21 May 2007 11:27:21 +0300 From: Odhiambo Washington To: freebsd-current@freebsd.org Message-ID: <20070521082721.GA80782@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@freebsd.org References: <20070521074413.GL61558@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 08:27:25 -0000 * On 21/05/07 09:51 +0200, Claus Guttesen wrote: | >I am running -CURRENT on my desktop, csup-ped sources even today | >- 20070521. | >For the last one week or so, I cannot successfully compile a kernel. | >Always fails here: | > | > | >cc -shared -nostdlib hack.c -o hack.So | >rm -f hack.c | >MAKE=make sh /usr/src/sys/conf/newvers.sh alligator | >cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs | >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline | >-Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. | >-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL | >-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common | >-finline-limit=8000 --param inline-unit-growth=100 --param | >large-function-growth=1000 -mno-align-long-strings | >-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 | >-mno-sse3 -ffreestanding vers.c | >linking kernel.debug | >if_ural.o(.text+0xe8f): In function `ural_attach': | >/usr/src/sys/dev/usb/if_ural.c:491: undefined reference to | >`ieee80211_amrr_init' | >if_ural.o(.text+0x2fa5): In function `ural_task': | >/usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to | >`ieee80211_amrr_node_init' | >if_ural.o(.text+0x3179): In function `ural_amrr_update': | >/usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to | >`ieee80211_amrr_choose' | >*** Error code 1 | | Something with a wireless usb-card in your kernel-config maybe? Is it | ALLIGATOR a copy of GENERIC or customized? The only customization I did involved commenting out the WITNESS options. I have `cp GENERIC ALLIGATOR` now and tried again and it did not fail. Perhaps there were things added to GENERIC within the period I have had these failures, which I needed to add to ALLIGATOR. So I have learnt my lesson: I need to diff my kernel config file against GENERIC so often as to NOT miss any changes that have been made into GENERIC. Thank you all for the pointers. PS: Is anyone using -CURRENT as their Desktop? I deinstalled gain 1.5.x and now compiling pidgin IM client is a pain as well. I am not sure it is right to discuss that in -current though! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Beware of low-flying butterflies. From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:29:00 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C8AC16A400 for ; Mon, 21 May 2007 08:29:00 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 8121E13C48A for ; Mon, 21 May 2007 08:28:59 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000090075.msg for ; Mon, 21 May 2007 12:31:30 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 21 May 2007 12:31:25 +0400 Message-ID: <78664C02FF341B4FAC63E561846E3BCC0A10B8@ex.hhp.local> In-Reply-To: <20070521075633.5b1e1fae@miwi.homeunix.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: Acebgdpu6M0fdTF1TUCSHgcKntTVwwAAG+bw References: <20070520111247.GZ23313@hoeg.nl><78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local><20070521072502.GD23313@hoeg.nl> <20070521075633.5b1e1fae@miwi.homeunix.com> From: "Yuriy Tsibizov" To: "Martin Wilke" , "Ed Schouten" X-Spam-Processed: mx2.gfk.ru, Mon, 21 May 2007 12:31:30 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Mon, 21 May 2007 12:31:31 +0400 Cc: current@freebsd.org Subject: RE: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 08:29:00 -0000 > |* Yuriy Tsibizov wrote: > |> BTW, I was unable to repeat your problem with my cards=20 > (i386 world + > |> kernel built with gcc42). > |> Are you using i386 or amd64 kernel? > | > |I'm an amd64 user. I now hear a click (`plop') during boot, which > |normally doesn't occur. Maybe I'll take a closer look at it this > |evening, when time permits. >=20 > I can reproduct this with i386. Did you mean 'plop's or slow playback? Yuriy From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:49:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1EED16A421 for ; Mon, 21 May 2007 08:49:24 +0000 (UTC) (envelope-from kevlo@kevlo.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 5599413C46C for ; Mon, 21 May 2007 08:49:24 +0000 (UTC) (envelope-from kevlo@kevlo.org) Received: from [127.0.0.1] (kevlo.org [220.128.136.52]) by ns.kevlo.org (8.13.8/8.13.8) with ESMTP id l4L8PtB7005626 for ; Mon, 21 May 2007 16:25:56 +0800 (CST) (envelope-from kevlo@kevlo.org) From: Kevin Lo To: freebsd-current@freebsd.org In-Reply-To: <4651504E.20801@bulinfo.net> References: <20070521074413.GL61558@ns2.wananchi.com> <4651504E.20801@bulinfo.net> Content-Type: text/plain Date: Mon, 21 May 2007 16:22:52 +0800 Message-Id: <1179735772.6061.20.camel@monet> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 08:49:24 -0000 Krassimir Slavchev wrote: > 'man ural' or check for following in your kernel config file: > > device ehci > device uhci > device ohci > device usb > device ural > device wlan and device wlan_amrr Kevin From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:51:45 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB71416A46B; Mon, 21 May 2007 08:51:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id C955413C48C; Mon, 21 May 2007 08:51:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4L8pj9i025478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 May 2007 01:51:45 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4L8piOa020422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 21 May 2007 01:51:44 -0700 Message-ID: <46515D9F.1080908@u.washington.edu> Date: Mon, 21 May 2007 01:51:43 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: "Wojciech A. Koszek" , freebsd-current@freebsd.org References: <20070521074413.GL61558@ns2.wananchi.com> <20070521083438.GA91554@FreeBSD.czest.pl> In-Reply-To: <20070521083438.GA91554@FreeBSD.czest.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.21.13237 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 08:51:46 -0000 Wojciech A. Koszek wrote: > On Mon, May 21, 2007 at 09:51:52AM +0200, Claus Guttesen wrote: >>> I am running -CURRENT on my desktop, csup-ped sources even today >>> - 20070521. >>> For the last one week or so, I cannot successfully compile a kernel. >>> Always fails here: >>> >>> >>> cc -shared -nostdlib hack.c -o hack.So >>> rm -f hack.c >>> MAKE=make sh /usr/src/sys/conf/newvers.sh alligator >>> cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs >>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >>> -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >>> -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL >>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >>> -finline-limit=8000 --param inline-unit-growth=100 --param >>> large-function-growth=1000 -mno-align-long-strings >>> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >>> -mno-sse3 -ffreestanding vers.c >>> linking kernel.debug >>> if_ural.o(.text+0xe8f): In function `ural_attach': >>> /usr/src/sys/dev/usb/if_ural.c:491: undefined reference to >>> `ieee80211_amrr_init' >>> if_ural.o(.text+0x2fa5): In function `ural_task': >>> /usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to >>> `ieee80211_amrr_node_init' >>> if_ural.o(.text+0x3179): In function `ural_amrr_update': >>> /usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to >>> `ieee80211_amrr_choose' >>> *** Error code 1 >> Something with a wireless usb-card in your kernel-config maybe? Is it >> ALLIGATOR a copy of GENERIC or customized? > > Presence of ural(4) and lack of the wireless support seems to be the > cause of the problem. Try to check if you have wlan(4) present. > This is the most comment cause for error in compiling custom kernels I've seen (the OP is around the 20th person I've seen while semi-actively watching the lists for the past year or so). I think that the questions and current lists should have FAQs about this particular "error", or maybe the example GENERIC kernel config file should move ural to the wlan section and have a big warning posted next to it stating "ural requires both USB and wlan support". Just my thought though on the subject.. -Garrett From owner-freebsd-current@FreeBSD.ORG Mon May 21 09:59:10 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D034316A41F for ; Mon, 21 May 2007 09:59:10 +0000 (UTC) (envelope-from freebsd@unixfreunde.de) Received: from unixfreunde.net (unixfreunde.de [85.214.35.254]) by mx1.freebsd.org (Postfix) with ESMTP id 9203913C4AE for ; Mon, 21 May 2007 09:59:10 +0000 (UTC) (envelope-from freebsd@unixfreunde.de) Received: from miwi.homeunix.com (dslb-082-083-129-125.pools.arcor-ip.net [82.83.129.125]) by unixfreunde.net (Postfix) with ESMTP id 9D14C50BE3; Mon, 21 May 2007 11:59:12 +0200 (CEST) Date: Mon, 21 May 2007 09:59:11 +0000 From: Martin Wilke To: "Yuriy Tsibizov" Message-ID: <20070521095911.16b2073e@miwi.homeunix.com> In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0A10B8@ex.hhp.local> References: <20070520111247.GZ23313@hoeg.nl> <78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local> <20070521072502.GD23313@hoeg.nl> <20070521075633.5b1e1fae@miwi.homeunix.com> <78664C02FF341B4FAC63E561846E3BCC0A10B8@ex.hhp.local> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ed Schouten , current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 09:59:10 -0000 On Mon, 21 May 2007 12:31:25 +0400 "Yuriy Tsibizov" wrote: |Did you mean 'plop's or slow playback? Oh Sorry, slow playback. -- Martin Wilke | irc.unixfreunde.de #bsd miwi@FreeBSD.org | miwi@unixfreunde.de FreeBSD Committer | Power to Serve From owner-freebsd-current@FreeBSD.ORG Mon May 21 10:30:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62D0716A400 for ; Mon, 21 May 2007 10:30:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2047413C44B for ; Mon, 21 May 2007 10:30:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id BBDF92084; Mon, 21 May 2007 12:30:14 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 4DC4A2083; Mon, 21 May 2007 12:30:14 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 22C5A5745; Mon, 21 May 2007 12:30:13 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Wes Morgan References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> Date: Mon, 21 May 2007 12:30:13 +0200 In-Reply-To: <20070520214222.L44264@volatile.chemikals.org> (Wes Morgan's message of "Sun\, 20 May 2007 21\:43\:31 -0400 \(EDT\)") Message-ID: <86wsz2tqoa.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Harald Schmalzbauer , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 10:30:21 -0000 Wes Morgan writes: > I have to ask the stupidly obvious question of why isn't the compiler > smart enough to realize (or forcefully taught) that our platform > doesn't support this? Looking at it from the opposite perspective, how much work would it be to teach ld-elf.so to support PIE? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 10:33:44 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E598C16A46B for ; Mon, 21 May 2007 10:33:44 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 6301A13C465 for ; Mon, 21 May 2007 10:33:44 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000090662.msg for ; Mon, 21 May 2007 14:36:16 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 21 May 2007 14:36:11 +0400 Message-ID: <78664C02FF341B4FAC63E561846E3BCC0A10BF@ex.hhp.local> In-Reply-To: <20070521095911.16b2073e@miwi.homeunix.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: AcebjwzwcaI9TYkzRta/B3cbcIdPJwAAriHQ References: <20070520111247.GZ23313@hoeg.nl><78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local><20070521072502.GD23313@hoeg.nl><20070521075633.5b1e1fae@miwi.homeunix.com><78664C02FF341B4FAC63E561846E3BCC0A10B8@ex.hhp.local> <20070521095911.16b2073e@miwi.homeunix.com> From: "Yuriy Tsibizov" To: "Martin Wilke" X-Spam-Processed: mx2.gfk.ru, Mon, 21 May 2007 14:36:16 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Mon, 21 May 2007 14:36:17 +0400 Cc: Ed Schouten , current@freebsd.org Subject: RE: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 10:33:45 -0000 > |Did you mean 'plop's or slow playback? >=20 > Oh Sorry, >=20 > slow playback. ok, can you (and Ed) send me more info about hw (pciconf -lv), and player you use? Can you try to play some mp3s with madplay (if you use other player)? Yuriy. From owner-freebsd-current@FreeBSD.ORG Mon May 21 11:10:19 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 385F716A400 for ; Mon, 21 May 2007 11:10:19 +0000 (UTC) (envelope-from freebsd@unixfreunde.de) Received: from unixfreunde.net (unixfreunde.de [85.214.35.254]) by mx1.freebsd.org (Postfix) with ESMTP id C9EAA13C484 for ; Mon, 21 May 2007 11:10:18 +0000 (UTC) (envelope-from freebsd@unixfreunde.de) Received: from miwi.homeunix.com (dslb-082-083-129-125.pools.arcor-ip.net [82.83.129.125]) by unixfreunde.net (Postfix) with ESMTP id B153950BE3; Mon, 21 May 2007 13:10:17 +0200 (CEST) Date: Mon, 21 May 2007 11:10:19 +0000 From: Martin Wilke To: "Yuriy Tsibizov" Message-ID: <20070521111019.0dc641c0@miwi.homeunix.com> In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0A10BF@ex.hhp.local> References: <20070520111247.GZ23313@hoeg.nl> <78664C02FF341B4FAC63E561846E3BCC0A10B2@ex.hhp.local> <20070521072502.GD23313@hoeg.nl> <20070521075633.5b1e1fae@miwi.homeunix.com> <78664C02FF341B4FAC63E561846E3BCC0A10B8@ex.hhp.local> <20070521095911.16b2073e@miwi.homeunix.com> <78664C02FF341B4FAC63E561846E3BCC0A10BF@ex.hhp.local> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ed Schouten , current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Mon, 21 May 2007 11:10:19 -0000 On Mon, 21 May 2007 14:36:11 +0400 "Yuriy Tsibizov" wrote: | |> |Did you mean 'plop's or slow playback? |> |> Oh Sorry, |> |> slow playback. |ok, can you (and Ed) send me more info about hw (pciconf -lv), and |player you use? | |Can you try to play some mp3s with madplay (if you use other player)? | |Yuriy. | Hi Yuriy Mplayer and musicpd (ncmpd) it's with mp3s and tv [11:07][miwi@miwi] $ pciconf -lv (~) none0@pci0:0:0: class=0x058000 card=0x71251462 chip=0x005e10de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 Memory Controller' class = memory isab0@pci0:1:0: class=0x060100 card=0x71251462 chip=0x005010de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 PCI to ISA Bridge' class = bridge subclass = PCI-ISA none1@pci0:1:1: class=0x0c0500 card=0x71251462 chip=0x005210de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 SMBus' class = serial bus subclass = SMBus ohci0@pci0:2:0: class=0x0c0310 card=0x71251462 chip=0x005a10de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 USB Controller' class = serial bus subclass = USB ehci0@pci0:2:1: class=0x0c0320 card=0x71251462 chip=0x005b10de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 USB 2.0 Controller' class = serial bus subclass = USB atapci0@pci0:6:0: class=0x01018a card=0x71251462 chip=0x005310de rev=0xf2 hdr=0x00 vendor = 'Nvidia Corp' device = 'NVidia nForce 4 SLI IDE Controller' class = mass storage subclass = ATA pcib1@pci0:9:0: class=0x060401 card=0x00000000 chip=0x005c10de rev=0xa2 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCI Bridge' class = bridge subclass = PCI-PCI nve0@pci0:10:0: class=0x068000 card=0x71251462 chip=0x005710de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce4 Ultra NVidia Network Bus Enumerator' class = bridge pcib2@pci0:11:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCI Express Bridge' class = bridge subclass = PCI-PCI pcib3@pci0:12:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCI Express Bridge' class = bridge subclass = PCI-PCI pcib4@pci0:13:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCI Express Bridge' class = bridge subclass = PCI-PCI pcib5@pci0:14:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce4 PCI Express Bridge' class = bridge subclass = PCI-PCI hostb0@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb1@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Address Map' class = bridge subclass = HOST-PCI hostb2@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron DRAM Controller' class = bridge subclass = HOST-PCI hostb3@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI pcm0@pci1:7:0: class=0x040100 card=0x80651102 chip=0x00021102 rev=0x0a hdr=0x00 vendor = 'Creative Labs' device = 't4830020080332 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780' class = multimedia subclass = audio none2@pci1:7:1: class=0x098000 card=0x00201102 chip=0x70021102 rev=0x0a hdr=0x00 vendor = 'Creative Labs' device = 'EMU10000 Game Port' class = input device none3@pci1:9:0: class=0x040000 card=0x13eb0070 chip=0x036e109e rev=0x02 hdr=0x00 vendor = 'Conexant (Was: Brooktree Corp)' device = 'Bt878/Fusion 878A Mediastream Controller' class = multimedia subclass = video none4@pci1:9:1: class=0x048000 card=0x13eb0070 chip=0x0878109e rev=0x02 hdr=0x00 vendor = 'Conexant (Was: Brooktree Corp)' device = 'Bt878/Fusion878A Video Capture (Audio Section)' class = multimedia nvidia0@pci5:0:0: class=0x030000 card=0x22001682 chip=0x01df10de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'GeForce 7300 GS' class = display subclass = VGA And world/kernel is from 19 May. FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #233: Sat May 19 20:02:50 UTC 2007 root@miwi.homeunix.com:/usr/obj/usr/src/sys/BSDBOX i386 -- Martin Wilke | irc.unixfreunde.de #bsd miwi@FreeBSD.org | miwi@unixfreunde.de FreeBSD Committer | Power to Serve From owner-freebsd-current@FreeBSD.ORG Mon May 21 11:11:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5D4016A400 for ; Mon, 21 May 2007 11:11:55 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id A63B613C44C for ; Mon, 21 May 2007 11:11:55 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2200130nze for ; Mon, 21 May 2007 04:11:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=imugVPquiJHXXmvM+sz/yyy6SVlk6zQJ4wfgG3oFqGq08VFukzkaTlACt/PVeO2A0m1sEVLgrGhdlIJf0BrUl3+cbVFqt3WX80tDVlLa9+fmmPHUv7XYNP9zqYhsxD9/PSEXWkgeEl56LF0gRDEI22G17loEjIoBTar2ne6r59Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TO/WjiJWLUUmN09nluoc0dcH4idiFZKcpZexWvsom50ZfPWuLSb1z6/HF7J0j6Nnw7NbhG1FyTyM2FFUjvAmbfMmrZ8biDLyz47oYZwDV2ZkXJp7OO4Dab1BPZAX4IQxKQUDhd/2ZVRO+oj0/w3b7aqDIcMDR3YPEuvOZSv1e3Y= Received: by 10.114.27.20 with SMTP id a20mr2602082waa.1179745914518; Mon, 21 May 2007 04:11:54 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Mon, 21 May 2007 04:11:54 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 13:11:54 +0200 From: "Claus Guttesen" To: freebsd-current@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: make buildworld fails in gperf 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: Mon, 21 May 2007 11:11:56 -0000 Replying to my self: > I did a make world and kernel after gcc 4.2 was imported and rebooted. > When I try make buildworld after that I get (hand transcribed): > > undefined reference to '_Unwind_Resume' > *** Error code 1 Did a clean install and had no errors. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-current@FreeBSD.ORG Mon May 21 12:25:39 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29A6116A421 for ; Mon, 21 May 2007 12:25:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 075CB13C465 for ; Mon, 21 May 2007 12:25:38 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6530047070 for ; Mon, 21 May 2007 08:25:38 -0400 (EDT) Date: Mon, 21 May 2007 13:25:38 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: <20070521132139.Q50138@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: My developer summit / BSDCan 2007 slides 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: Mon, 21 May 2007 12:25:39 -0000 I've uploaded my slides from the recent FreeBSD developer summit and BSDCan conference: http://www.watson.org/~robert/freebsd/2007bsdcan/ FreeBSD Developer Summit 20070516-net-cabal-intro.pdf - Network Stack Cabal introduction. 20070516-mbufallocator.pdf - Network Stack Cabal read-through of the mbuf allocator. 20070516-netisr.pdf - Network Stack Cabal read-through of netisr infrastructure. 20070517-devsummit-projectadvocacy.pdf - How the FreeBSD Project Works: Self-Description as Advocacy (FreeBSD Developer Summit). 20070517-devsummit-zerocopybpf.pdf - Zero-copy BPF Buffers (FreeBSD Developer Summit). 20070517-parallel-stack.pdf - Experiments with Highly Parallel Network Stack Processing. BSDcan 2007 20070519-security-features.pdf - FreeBSD Advanced Security Features (BSDCan 2007). 20070519-wip-intro.pdf - Works-in-Progress introduction (BSDCan 2007). 20070519-appaudit.pdf - Application Security Audit with System Audit Properties (BSDCan Works-in-Progress Session). Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Mon May 21 12:41:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38CA416A41F for ; Mon, 21 May 2007 12:41:33 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id AD5CF13C4C1 for ; Mon, 21 May 2007 12:41:32 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l4LCfNho087942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 14:41:28 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l4LCfNde006607; Mon, 21 May 2007 14:41:23 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l4LCfNP1011795; Mon, 21 May 2007 14:41:23 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-current@freebsd.org Date: Mon, 21 May 2007 14:41:22 +0200 User-Agent: KMail/1.9.6 References: <200705201954.00476.h.schmalzbauer@omnisec.de> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> In-Reply-To: <20070520184710.75db1335@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705211441.23211.h.schmalzbauer@omnisec.de> Cc: Dag-Erling =?iso-8859-15?q?Sm=F8rgrav?= Subject: What is -fPIE (GCC) good for? [Was: Re: strange "Exec format error" (gcc4.2 suspicious)] 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: Mon, 21 May 2007 12:41:33 -0000 Hello, a quick search told me that pie means Posix Independant Executable. Has anybody a link handy where I can find an explanation why one would want to have this? Thanks, -Harry From owner-freebsd-current@FreeBSD.ORG Mon May 21 12:55:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 687C816A41F for ; Mon, 21 May 2007 12:55:54 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.249]) by mx1.freebsd.org (Postfix) with ESMTP id 2326713C448 for ; Mon, 21 May 2007 12:55:54 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by ag-out-0708.google.com with SMTP id 31so75873aga for ; Mon, 21 May 2007 05:55:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=NERLDmelggGDEm/cN8pUIMCK1Qg2fCp6sKxGTVnHbardhqx1rNmQ6vI8P1VNmj1JY9JVJMmNFXlUo8YGAN69xWGasdkVrIcYMOIO3dfZ4mCNyV3HruKz8vEcM4zT34Qk1JhLJ349n/Wx0ZM0uX+lU2b5oBFUOyBEcX4e7r6F7ws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=Ng4PCGxcWNxQZ5mCyFaQAn89HlOsgBfFD0dMMOs5E/EXQ4XKwGnCOojB+xGRmEO9NxxfAmZfyKY2KZPhGc+7bZi3vHvz9up1WCSYg7JEXhapE8JRPgEiRJ9RFwRdZKWHzbnDObITOaBCr0fi0bZhAbdUnYe5J/bn3ZOpP6qNnxA= Received: by 10.90.101.19 with SMTP id y19mr3326766agb.1179752153358; Mon, 21 May 2007 05:55:53 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id 33sm9244490wra.2007.05.21.05.55.52; Mon, 21 May 2007 05:55:52 -0700 (PDT) Date: Mon, 21 May 2007 08:55:47 -0400 From: Alexander Kabaev To: Harald Schmalzbauer Message-ID: <20070521085547.0365b9d5@kan.dnsalias.net> In-Reply-To: <200705211441.23211.h.schmalzbauer@omnisec.de> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <200705211441.23211.h.schmalzbauer@omnisec.de> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_9=lBeFVN6To9esl9TIPnoAL"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-current@freebsd.org Subject: Re: What is -fPIE (GCC) good for? [Was: Re: strange "Exec format error" (gcc4.2 suspicious)] 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: Mon, 21 May 2007 12:55:54 -0000 --Sig_9=lBeFVN6To9esl9TIPnoAL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 21 May 2007 14:41:22 +0200 Harald Schmalzbauer wrote: > Hello, >=20 > a quick search told me that pie means Posix Independant Executable. > Has anybody a link handy where I can find an explanation why one > would want to have this? >=20 > Thanks, >=20 > -Harry=20 http://people.redhat.com/drepper/nonselsec.pdf --=20 Alexander Kabaev --Sig_9=lBeFVN6To9esl9TIPnoAL Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUZbTQ6z1jMm+XZYRAowgAJ40Oi4NtYX/C976yHSBPM5oTe3bigCfRoKt +JVeVNWCEBajUf7SyghsTek= =jiRy -----END PGP SIGNATURE----- --Sig_9=lBeFVN6To9esl9TIPnoAL-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 13:05:18 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6626016A421 for ; Mon, 21 May 2007 13:05:18 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3B31813C44C for ; Mon, 21 May 2007 13:05:18 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 34.158-pool-avail-mi.sccoast.net ([66.153.158.34]:64840 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1Hq7Zd-0002DY-3x; Mon, 21 May 2007 09:05:17 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l4LD5Ffc048721; Mon, 21 May 2007 09:05:15 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Mon, 21 May 2007 09:05:15 -0400 (EDT) From: Wes Morgan To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <86wsz2tqoa.fsf@dwp.des.no> Message-ID: <20070521090426.O44264@volatile.chemikals.org> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1660631743-1179752715=:44264" Cc: Harald Schmalzbauer , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 13:05:18 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1660631743-1179752715=:44264 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 21 May 2007, Dag-Erling Smørgrav wrote: > Wes Morgan writes: >> I have to ask the stupidly obvious question of why isn't the compiler >> smart enough to realize (or forcefully taught) that our platform >> doesn't support this? > > Looking at it from the opposite perspective, how much work would it be > to teach ld-elf.so to support PIE? Not that I don't agree with you, but probably much less time than the two commits to disable and re-enable support and prevent noise on other lists. :) -- This .signature sanitized for your protection --0-1660631743-1179752715=:44264-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 13:18:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA25C16A482 for ; Mon, 21 May 2007 13:18:33 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id C3C1713C45A for ; Mon, 21 May 2007 13:18:32 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 76284 invoked from network); 21 May 2007 12:51:49 -0000 Received: from unknown (HELO ale.andxor.it) (192.168.2.5) by andxor.it with SMTP; 21 May 2007 12:51:49 -0000 Message-ID: <465195E5.6000600@FreeBSD.org> Date: Mon, 21 May 2007 14:51:49 +0200 From: Alex Dupre User-Agent: Thunderbird 2.0.0.0 (X11/20070428) MIME-Version: 1.0 To: Harald Schmalzbauer References: <200705201954.00476.h.schmalzbauer@omnisec.de> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <200705211441.23211.h.schmalzbauer@omnisec.de> In-Reply-To: <200705211441.23211.h.schmalzbauer@omnisec.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: What is -fPIE (GCC) good for? [Was: Re: strange "Exec format error" (gcc4.2 suspicious)] 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: Mon, 21 May 2007 13:18:34 -0000 Harald Schmalzbauer ha scritto: > a quick search told me that pie means Posix Independant Executable. Position, not Posix. > Has anybody a link handy where I can find an explanation why one would want to > have this? From Wikipedia: Position-independent executables (PIE) are executable binaries made entirely from position-independent code. While some systems only run PIC executables, there are other reasons they are used. PIE binaries are used in some security-focused Linux distributions to allow PaX or Exec Shield to use address space layout randomization to prevent attackers from knowing where existing executable code is during a security attack using exploits that rely on knowing the offset of the executable code in the binary, such as return-to-libc attacks. -- Alex Dupre From owner-freebsd-current@FreeBSD.ORG Mon May 21 13:40:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A80E416A421 for ; Mon, 21 May 2007 13:40:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6876D13C45D for ; Mon, 21 May 2007 13:40:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 60FED2084; Mon, 21 May 2007 15:40:12 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id D20732083; Mon, 21 May 2007 15:40:11 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id A77645756; Mon, 21 May 2007 15:40:11 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Harald Schmalzbauer References: <200705201954.00476.h.schmalzbauer@omnisec.de> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <200705211441.23211.h.schmalzbauer@omnisec.de> Date: Mon, 21 May 2007 15:40:11 +0200 In-Reply-To: <200705211441.23211.h.schmalzbauer@omnisec.de> (Harald Schmalzbauer's message of "Mon\, 21 May 2007 14\:41\:22 +0200") Message-ID: <86veems3b8.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: What is -fPIE (GCC) good for? 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: Mon, 21 May 2007 13:40:16 -0000 Harald Schmalzbauer writes: > a quick search told me that pie means Posix Independant Executable. No, it means "position-independent executable". It is necessary on platforms which don't have separate page tables for each process, and therefore can't load each executable at a fixed address in its own address space. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 14:35:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FD3116A468 for ; Mon, 21 May 2007 14:35:34 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 2D52513C46C for ; Mon, 21 May 2007 14:35:32 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:Subject:From:X-Attribution:Date:Message-Id; b=dOmM/fWBDjJuO7z4sPDhFRiu3Ty2769Dvyx825Tsprp1B/cnN53Zpfi+eYpreYVeSxBfq3SdZagCwF13AY9n3oT9Ezxk/uqR9xgdGuAdfov5vy5IZ84/ydg6sWRtEKz6TDxzIhgYo7PqB7o9Z0mYm8C6AYumH5XM8sjEB/c5CG9bfEfLn/KTSQyV4h9L/SuhuhEMOirQQ2rLaWIK9avvCTGdurXHOlKi6tiq/iVhf/Xi1an0XTVk2bdq+M0fO1tk; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1Hq8g5-0002WA-Ei for freebsd-current@freebsd.org; Mon, 21 May 2007 14:16:01 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1Hq8eL-0004kJ-0X for freebsd-current@freebsd.org; Mon, 21 May 2007 14:14:13 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Hq8eK-0001RA-2f for freebsd-current@freebsd.org; Mon, 21 May 2007 16:14:12 +0200 To: freebsd-current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Mon, 21 May 2007 16:14:12 +0200 Message-Id: Subject: em0 hijacking traffic to port 623 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: Mon, 21 May 2007 14:35:34 -0000 Hi We've noticed an issue on our firewalls where the first em device in the system hijacks inbound port 623 tcp and udp. The OS never sees this traffic. Interestingly, em1 and em2 do not appear to be afflicted by this problem. Some reading I've done points to a similar conclusion: http://blogs.sun.com/shepler/entry/port_623_or_the_mount I've looked at the bios, but I can't find any settings that remotely hint IPMI or RMCP+ or serial-over-lan. Does anyone know how I can stop the card or system from stealing port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? Here's the pciconf output: em0@pci3:4:0: class=0x020000 card=0x10798086 chip=0x10798086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82546EB Dual Port Gigabit Ethernet Controller' class = network subclass = ethernet cap 01[dc] = powerspec 2 supports D0 D3 current D0 cap 07[e4] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction cap 05[f0] = MSI supports 1 message, 64 bit enabled with 1 message Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Mon May 21 14:49:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34BF616A421 for ; Mon, 21 May 2007 14:49:49 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id DEA1D13C4B9 for ; Mon, 21 May 2007 14:49:48 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l4LEnZiE087008; Mon, 21 May 2007 08:49:35 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4651B17E.7070909@samsco.org> Date: Mon, 21 May 2007 08:49:34 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> In-Reply-To: <86wsz2tqoa.fsf@dwp.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Mon, 21 May 2007 08:49:36 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Kris Kennaway , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 14:49:49 -0000 Dag-Erling Smørgrav wrote: > Wes Morgan writes: >> I have to ask the stupidly obvious question of why isn't the compiler >> smart enough to realize (or forcefully taught) that our platform >> doesn't support this? > > Looking at it from the opposite perspective, how much work would it be > to teach ld-elf.so to support PIE? > > DES It looks like most of the interesting magic would be in the kernel, actually. KDE and Apache seem to be good candidates for benefiting from it, which makes it interesting for FreeBSD. I haven't been able to find any technical details other than a broad overview in the apache docs. Scott From owner-freebsd-current@FreeBSD.ORG Mon May 21 14:54:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF70B16A421 for ; Mon, 21 May 2007 14:54:13 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6D61913C469 for ; Mon, 21 May 2007 14:54:13 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id B28C02086; Mon, 21 May 2007 16:54:07 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 375582083; Mon, 21 May 2007 16:54:07 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 1DB83575F; Mon, 21 May 2007 16:54:07 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Scott Long References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> <4651B17E.7070909@samsco.org> Date: Mon, 21 May 2007 16:54:06 +0200 In-Reply-To: <4651B17E.7070909@samsco.org> (Scott Long's message of "Mon\, 21 May 2007 08\:49\:34 -0600") Message-ID: <86fy5qrzw1.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Kris Kennaway , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 14:54:13 -0000 Scott Long writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Looking at it from the opposite perspective, how much work would it be > > to teach ld-elf.so to support PIE? > It looks like most of the interesting magic would be in the kernel, > actually. KDE and Apache seem to be good candidates for benefiting > from it, which makes it interesting for FreeBSD. I haven't been able > to find any technical details other than a broad overview in the apache > docs. URL? I can't find even that much... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 14:55:08 2007 Return-Path: X-Original-To: current@freeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A659216A400 for ; Mon, 21 May 2007 14:55:08 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4337213C480 for ; Mon, 21 May 2007 14:55:08 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 7F17217382; Mon, 21 May 2007 14:55:01 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l4LEtLva002315; Mon, 21 May 2007 14:55:21 GMT (envelope-from phk@critter.freebsd.dk) To: Kris Kennaway From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 20 May 2007 18:37:27 -0400." <20070520223727.GB44666@xor.obsecurity.org> Date: Mon, 21 May 2007 14:55:21 +0000 Message-ID: <2314.1179759321@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: takawata@freeBSD.org, njl@freeBSD.org, current@freeBSD.org Subject: Re: HPET vs other timers 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: Mon, 21 May 2007 14:55:08 -0000 In message <20070520223727.GB44666@xor.obsecurity.org>, Kris Kennaway writes: >no LOCK_PROFILING 24559.36 (baseline) >TSC 19627.16 >ACPI-fast 4633.02 >HPET 2917.85 >i8254 panic :( [1] > >i.e. HPET is actually slower than all the other (working ;) >timecounters in this configuration. > >Can you provide some more justification of why HPET has the highest >quality factor and is appropriate to be used as the preferred >timecounter? I can't rememember who raised the quality of it recently, CVS will know. I was sceptical, because I also have systems where HPET is slow. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Mon May 21 15:12:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 463A116A477; Mon, 21 May 2007 15:12:48 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id EE1FF13C4DE; Mon, 21 May 2007 15:12:47 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 48B222095; Mon, 21 May 2007 17:12:43 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 2B25C2093; Mon, 21 May 2007 17:12:43 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 109A05766; Mon, 21 May 2007 17:12:43 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Michiel Boland References: <200705202254.45347.jonathan@fosburgh.org> <20070521011217.O44264@volatile.chemikals.org> Date: Mon, 21 May 2007 17:12:42 +0200 In-Reply-To: (Michiel Boland's message of "Mon\, 21 May 2007 08\:26\:15 +0200 \(MEST\)") Message-ID: <863b1qrz11.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 15:12:48 -0000 Michiel Boland writes: > My build of xorg-server died. The box ran out of swap space. I have > 512M RAM + 1G swap. Someone please tell me this is a glitch in the new > gcc. I don't want to add ram just to be able to compile a simple > program. :) The quick fix is to build at a lower optimization level. Advanced optimizations can be very memory-consuming, especially when compiling unusually large source files, or source files which contain unusually large functions. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 15:14:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53B0F16A46F for ; Mon, 21 May 2007 15:14:04 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1593313C4C9 for ; Mon, 21 May 2007 15:14:04 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 77F1F2084; Mon, 21 May 2007 17:14:00 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 6BCAC2083; Mon, 21 May 2007 17:14:00 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 58C0F5768; Mon, 21 May 2007 17:14:00 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Odhiambo Washington References: <20070521074413.GL61558@ns2.wananchi.com> <20070521082721.GA80782@ns2.wananchi.com> Date: Mon, 21 May 2007 17:14:00 +0200 In-Reply-To: <20070521082721.GA80782@ns2.wananchi.com> (Odhiambo Washington's message of "Mon\, 21 May 2007 11\:27\:21 +0300") Message-ID: <86y7jiqkef.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Kernel compilation failure ... 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: Mon, 21 May 2007 15:14:04 -0000 Odhiambo Washington writes: > So I have learnt my lesson: I need to diff my kernel config file against > GENERIC so often as to NOT miss any changes that have been made into > GENERIC. See /usr/src/tools/tools/genericize/genericize.pl DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 15:15:45 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3081716A46C; Mon, 21 May 2007 15:15:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0D6C413C44B; Mon, 21 May 2007 15:15:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4LFFbZY021237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 May 2007 08:15:38 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4LFFaKv010715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 21 May 2007 08:15:37 -0700 Message-ID: <4651B796.2000602@u.washington.edu> Date: Mon, 21 May 2007 08:15:34 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <200705202254.45347.jonathan@fosburgh.org> <20070521011217.O44264@volatile.chemikals.org> <863b1qrz11.fsf@dwp.des.no> In-Reply-To: <863b1qrz11.fsf@dwp.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.21.75535 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Michiel Boland , freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 15:15:45 -0000 Dag-Erling Smørgrav wrote: > Michiel Boland writes: >> My build of xorg-server died. The box ran out of swap space. I have >> 512M RAM + 1G swap. Someone please tell me this is a glitch in the new >> gcc. I don't want to add ram just to be able to compile a simple >> program. :) > > The quick fix is to build at a lower optimization level. Advanced > optimizations can be very memory-consuming, especially when compiling > unusually large source files, or source files which contain unusually > large functions. > > DES That isn't good. Are you running X at the same time as the compile, with what programs going in the background? Also, what do your CFLAGS look like? -Garrett From owner-freebsd-current@FreeBSD.ORG Mon May 21 16:10:07 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01E7C16A468; Mon, 21 May 2007 16:10:07 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 4DCEC13C44B; Mon, 21 May 2007 16:10:05 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l4LFeKLo093159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 16:40:21 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4651BD6F.5050301@unsane.co.uk> Date: Mon, 21 May 2007 16:40:31 +0100 From: Vince User-Agent: Thunderbird 2.0.0.0 (X11/20070516) MIME-Version: 1.0 To: Craig Boston , Kris Kennaway , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , freebsd-fs@FreeBSD.org References: <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> In-Reply-To: <20070410014233.GD8189@nowhere> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: ZFS committed to the FreeBSD base. 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: Mon, 21 May 2007 16:10:07 -0000 Craig Boston wrote: > On Mon, Apr 09, 2007 at 08:30:35PM -0500, Craig Boston wrote: >> Even the vm.zone breakdown seems to be gone in current so apparently my >> knowledge of such things is becoming obsolete :) > > But vmstat -m still works > > ... > > solaris 145806 122884K - 15319671 16,32,64,128,256,512,1024,2048,4096 > ... > > Whoa! That's a lot of kernel memory. Meanwhile... > > kstat.zfs.misc.arcstats.size: 33554944 > (which is just barely above vfs.zfs.arc_min) > > So I don't think it's the arc cache (yeah I know that's redundant) that > is the problem. Seems like something elsewhere in zfs is allocating > large amounts of memory and not letting it go, and even the cache is > having to shrink to its minimum size due to the memory pressure. > > It didn't panic this time, so when the tar finished I tried a "zfs > unmount /usr/ports". This caused the "solaris" entry to drop down to > about 64MB, so it's not a leak. It could just be that ZFS needs lots of > memory to operate if it keeps a lot of metadata for each file in memory. > > The sheer # of allocations still seems excessive though. It was well > over 20 million by the time the tar process exited. > I dont suppose that there are any other tunables people could suggest? I got a shiny new(well old but new to me) dual opteron board and dual 250 sata drives and though i'd try putting it in as my home server with everything but / on zfs since i've had my /usr/ports on my laptop as compressed zfs since very shortly after it was commited. After a few kmem_map: too small" panics I re-read this thread and put vm.kmem_size_max and vm.kmem_size up to 512M and vfs.zfs.arc_min vfs.zfs.arc_max down to 65 megs. This did get me past "portsnap extract" but a make buildworld still got me the same panic. vmstat -z showed a steady growth. This is with a generic -CURRENT from friday. I'm happy to provide any useful information once I get home and reboot it. Thanks, Vince > Craig > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Mon May 21 16:21:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C23C16A468; Mon, 21 May 2007 16:21:40 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from mxfep03.bredband.com (mxfep03.bredband.com [195.54.107.76]) by mx1.freebsd.org (Postfix) with ESMTP id A0F4C13C43E; Mon, 21 May 2007 16:21:39 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep03.bredband.com with ESMTP id <20070521162138.BCLQ23113.mxfep03.bredband.com@ironport.bredband.com>; Mon, 21 May 2007 18:21:38 +0200 Received: from c-5416e555.03-51-73746f3.cust.bredbandsbolaget.se (HELO scode.mine.nu) ([85.229.22.84]) by ironport.bredband.com with ESMTP; 21 May 2007 18:21:38 +0200 Received: from scode.mine.nu (localhost [127.0.0.1]) by scode.mine.nu (Postfix) with ESMTP id 4C2E5C446; Mon, 21 May 2007 18:21:37 +0200 (CEST) Message-ID: <4651C707.2080301@infidyne.com> Date: Mon, 21 May 2007 18:21:27 +0200 From: Peter Schuller User-Agent: Thunderbird 2.0.0.0 (X11/20070501) MIME-Version: 1.0 To: Vince References: <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> In-Reply-To: <4651BD6F.5050301@unsane.co.uk> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8D68A48824DCB6A968FC5F92" Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek Subject: Re: ZFS committed to the FreeBSD base. 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: Mon, 21 May 2007 16:21:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8D68A48824DCB6A968FC5F92 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > I dont suppose that there are any other tunables people could suggest? = I > got a shiny new(well old but new to me) dual opteron board and dual 250= > sata drives and though i'd try putting it in as my home server with > everything but / on zfs since i've had my /usr/ports on my laptop as > compressed zfs since very shortly after it was commited. > After a few kmem_map: too small" panics I re-read this thread and put > vm.kmem_size_max and vm.kmem_size up to 512M and vfs.zfs.arc_min > vfs.zfs.arc_max down to 65 megs. This did get me past "portsnap extract= " > but a make buildworld still got me the same panic. vmstat -z showed a > steady growth. This is with a generic -CURRENT from friday. I'm happy t= o > provide any useful information once I get home and reboot it. Decrease kern.maxvnodes. To 3/4 I believe was the recommendation, or 2/3. I have it pretty significantly turned down to get rid of the issue. --=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --------------enig8D68A48824DCB6A968FC5F92 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGUccQDNor2+l1i30RCKslAKCijpvn86Ho6iQM/C7upTpLyh01DQCaAvwO f6eQoNLSy9BVsnkm/dD689c= =oFZZ -----END PGP SIGNATURE----- --------------enig8D68A48824DCB6A968FC5F92-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 16:22:40 2007 Return-Path: X-Original-To: current@freeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79D4E16A41F; Mon, 21 May 2007 16:22:40 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 3417413C45D; Mon, 21 May 2007 16:22:38 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 7BDF32087; Mon, 21 May 2007 18:22:34 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 5E5872086; Mon, 21 May 2007 18:22:34 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 3CFEF576D; Mon, 21 May 2007 18:22:34 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Poul-Henning Kamp" References: <2314.1179759321@critter.freebsd.dk> Date: Mon, 21 May 2007 18:22:33 +0200 In-Reply-To: <2314.1179759321@critter.freebsd.dk> (Poul-Henning Kamp's message of "Mon\, 21 May 2007 14\:55\:21 +0000") Message-ID: <86ps4uqh86.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: takawata@freeBSD.org, njl@freeBSD.org, current@freeBSD.org, Kris Kennaway Subject: Re: HPET vs other timers 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: Mon, 21 May 2007 16:22:40 -0000 "Poul-Henning Kamp" writes: > I can't rememember who raised the quality of it recently, CVS will > know. I was sceptical, because I also have systems where HPET > is slow. I did, with your approval, almost a year ago. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 16:24:33 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30C1616A421; Mon, 21 May 2007 16:24:33 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id DFC6813C447; Mon, 21 May 2007 16:24:32 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 60515208E; Mon, 21 May 2007 18:24:29 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 5097F2086; Mon, 21 May 2007 18:24:29 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 37DA8576F; Mon, 21 May 2007 18:24:29 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Vince References: <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> Date: Mon, 21 May 2007 18:24:29 +0200 In-Reply-To: <4651BD6F.5050301@unsane.co.uk> (jhary@unsane.co.uk's message of "Mon\, 21 May 2007 16\:40\:31 +0100") Message-ID: <86lkfiqh4y.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@FreeBSD.org, Craig Boston , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Mon, 21 May 2007 16:24:33 -0000 Vince writes: > I dont suppose that there are any other tunables people could suggest? sysctl kern.maxvnodes=3D50000 Also, disabling atime on all ZFS file systems will greatly improve performance and reduce the frequency of ATA stalls. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 16:28:56 2007 Return-Path: X-Original-To: current@freeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40AC816A468; Mon, 21 May 2007 16:28:56 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id F04DE13C448; Mon, 21 May 2007 16:28:55 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id C2AE317382; Mon, 21 May 2007 16:28:54 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l4LGTFts002793; Mon, 21 May 2007 16:29:15 GMT (envelope-from phk@critter.freebsd.dk) To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 21 May 2007 18:22:33 +0200." <86ps4uqh86.fsf@dwp.des.no> Date: Mon, 21 May 2007 16:29:15 +0000 Message-ID: <2792.1179764955@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: takawata@freeBSD.org, njl@freeBSD.org, current@freeBSD.org, Kris Kennaway Subject: Re: HPET vs other timers 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: Mon, 21 May 2007 16:28:56 -0000 In message <86ps4uqh86.fsf@dwp.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: >"Poul-Henning Kamp" writes: >> I can't rememember who raised the quality of it recently, CVS will >> know. I was sceptical, because I also have systems where HPET >> is slow. > >I did, with your approval, almost a year ago. I'd forgotten that it was you :-) Yes, I said "try it" or something of the sort. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Mon May 21 16:40:44 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E7EC16A469; Mon, 21 May 2007 16:40:44 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id E570813C44C; Mon, 21 May 2007 16:40:43 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2FDAA487F0; Mon, 21 May 2007 18:40:41 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 79E5545683; Mon, 21 May 2007 18:40:37 +0200 (CEST) Date: Mon, 21 May 2007 18:40:33 +0200 From: Pawel Jakub Dawidek To: Dag-Erling Sm??rgrav Message-ID: <20070521164033.GA2975@garage.freebsd.pl> References: <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <86lkfiqh4y.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <86lkfiqh4y.fsf@dwp.des.no> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Craig Boston , freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Kris Kennaway , ups@FreeBSD.org, Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Mon, 21 May 2007 16:40:44 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 21, 2007 at 06:24:29PM +0200, Dag-Erling Sm??rgrav wrote: > Vince writes: > > I dont suppose that there are any other tunables people could suggest? >=20 > sysctl kern.maxvnodes=3D50000 >=20 > Also, disabling atime on all ZFS file systems will greatly improve > performance and reduce the frequency of ATA stalls. Does anyone seen this problem on amd64? Because after discussion with ups@ at devsummit, I don't think this is a problem there. UMA uses direct mapping on amd64 for small allocation (just like vnode structures). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUcuBForvXbEpPzQRAikeAKCu8N5XjfHwFHFaPAKScUFnWErHzQCgsjMu dVFQjRGwAqAgHSqViJO/VdI= =B8wJ -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 17:00:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D63C716A400 for ; Mon, 21 May 2007 17:00:04 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5576313C465 for ; Mon, 21 May 2007 17:00:03 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1331462wra for ; Mon, 21 May 2007 10:00:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I8ct6k7H4pYFGl2lUTtEInRaiDLYNPa11jxoiVTm6DqPvxBjSEZ6vctkbVmFFzkZ4QtA+RdgQdP+iH6uo+1Ro7k3C5EEGQqIvhHLf3gb6RqePZRkXBW1b67I+NEunnrjivXvUfRlvQUZYoNk7onQwm7z0MMqytKf3QiUnkA7G4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=knahjLeRJ8d00Wg63gfq21a7OvNv18Fj0WWI1YAWyzO7r04dFPi2x+1W/pY7UBuNYayM9cupm2pg1KPJ65kwlEXEG+vMy7bOZix+UPLypkgpVj5rgV4n+MqJ3h4Wjn6F7pLsvum6wEY2bEUe9tRbe4ZOunU8uE415a9FHao6Whg= Received: by 10.114.26.1 with SMTP id 1mr2778899waz.1179766802111; Mon, 21 May 2007 10:00:02 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Mon, 21 May 2007 10:00:02 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 19:00:02 +0200 From: "Claus Guttesen" To: "Pawel Jakub Dawidek" In-Reply-To: <20070521164033.GA2975@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070407180319.GH8831@cicely12.cicely.de> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <86lkfiqh4y.fsf@dwp.des.no> <20070521164033.GA2975@garage.freebsd.pl> Cc: Craig Boston , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Kris Kennaway , ups@freebsd.org, Dag-Erling Sm??rgrav , Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Mon, 21 May 2007 17:00:04 -0000 > > > I dont suppose that there are any other tunables people could suggest? > > sysctl kern.maxvnodes=50000 > > > > Also, disabling atime on all ZFS file systems will greatly improve > > performance and reduce the frequency of ATA stalls. > > Does anyone seen this problem on amd64? Because after discussion with > ups@ at devsummit, I don't think this is a problem there. UMA uses > direct mapping on amd64 for small allocation (just like vnode > structures). I have just done a clean install of current (amd64) and upgraded to gcc 4.2 and installed xorg with /usr/local, /usr/src, /usr/obj on zfs. No problems, except that one particular file would make my system swap 1.1 GB a couple of times before the file eventually compiled :-) When I tried to generate a xorg.conf file my machine stopped and I had to push the reset-button. I thought it was a mix of zfs and X so I moved /usr/local from zfs to ufs and disabled zfs and rebooted but it still stopped. After I copied an old xorg.conf X would start fine. So it was probably due to a bad probe. I'm compiling kdebase atm. and still no need to adjust settings. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare. From owner-freebsd-current@FreeBSD.ORG Mon May 21 17:04:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D09C316A46B for ; Mon, 21 May 2007 17:04:51 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 0D73813C4B9 for ; Mon, 21 May 2007 17:04:50 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so982222ugh for ; Mon, 21 May 2007 10:04:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uiC6Om0HsMHSo4r04bJ8AlsS6C/m5qNCPAdQQJCqzy9x8tSXVaaw2e/2Wz+RTcv1pGpWTtzOdZwatsp5CdkD/4Tqlm0MTQsV0EfeWOwum5Qd/C4UPwIymnWb6ypmnCj6cZpiu8OkeGL1IUBGMFTm9fV/tJ70oh3iHBiimVXLnZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lEANY8Wy7TWUcWNzGOhqV5PiGXQVXmJSpctl6y90bPEg1P6RX+dl2VDePUL6moGWCb1Z851k7UhEEKuSWVu2gzJBBz3kT4a9n1eZlkFEP6FZ2dh+3eCLg40mlVg9pffHe3saZHdW2O989I6lavGLbbL4IL0wFGVdi2vdIhq/0RU= Received: by 10.78.175.8 with SMTP id x8mr1226067hue.1179767088462; Mon, 21 May 2007 10:04:48 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Mon, 21 May 2007 10:04:48 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 10:04:48 -0700 From: "Kip Macy" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" , "Scott Long" , "Kris Kennaway" , freebsd-current@freebsd.org, "Harald Schmalzbauer" In-Reply-To: <86fy5qrzw1.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200705201954.00476.h.schmalzbauer@omnisec.de> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> <4651B17E.7070909@samsco.org> <86fy5qrzw1.fsf@dwp.des.no> Cc: Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 17:04:51 -0000 Google DSO On 5/21/07, Dag-Erling Sm=F8rgrav wrote: > Scott Long writes: > > Dag-Erling Sm=F8rgrav writes: > > > Looking at it from the opposite perspective, how much work would it b= e > > > to teach ld-elf.so to support PIE? > > It looks like most of the interesting magic would be in the kernel, > > actually. KDE and Apache seem to be good candidates for benefiting > > from it, which makes it interesting for FreeBSD. I haven't been able > > to find any technical details other than a broad overview in the apache > > docs. > > URL? I can't find even that much... > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:07:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DA9016A400 for ; Mon, 21 May 2007 18:07:12 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4A51C13C487 for ; Mon, 21 May 2007 18:07:12 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id AEBF52086; Mon, 21 May 2007 20:07:08 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 36D402083; Mon, 21 May 2007 20:07:08 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 137065773; Mon, 21 May 2007 20:07:08 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Kip Macy" References: <200705201954.00476.h.schmalzbauer@omnisec.de> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> <4651B17E.7070909@samsco.org> <86fy5qrzw1.fsf@dwp.des.no> Date: Mon, 21 May 2007 20:07:07 +0200 In-Reply-To: (Kip Macy's message of "Mon\, 21 May 2007 10\:04\:48 -0700") Message-ID: <864pm6aw50.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Harald Schmalzbauer , freebsd-current@freebsd.org, Kris Kennaway Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 18:07:12 -0000 "Kip Macy" writes: > Google DSO You don't need PIE for DSO, you just need the executable to export its symbols (ld --export-dynamic). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:09:51 2007 Return-Path: X-Original-To: current@freeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1068016A46F; Mon, 21 May 2007 18:09:51 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id C41AF13C45E; Mon, 21 May 2007 18:09:50 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 3A32A2084; Mon, 21 May 2007 20:09:47 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 1FB822083; Mon, 21 May 2007 20:09:47 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id E3C9D5775; Mon, 21 May 2007 20:09:46 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Poul-Henning Kamp" References: <2792.1179764955@critter.freebsd.dk> Date: Mon, 21 May 2007 20:09:46 +0200 In-Reply-To: <2792.1179764955@critter.freebsd.dk> (Poul-Henning Kamp's message of "Mon\, 21 May 2007 16\:29\:15 +0000") Message-ID: <86zm3y9hg5.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: takawata@freeBSD.org, njl@freeBSD.org, current@freeBSD.org, Kris Kennaway Subject: Re: HPET vs other timers 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: Mon, 21 May 2007 18:09:51 -0000 "Poul-Henning Kamp" writes: > Dag-Erling Sm=C3=B8rgrav writes: > > "Poul-Henning Kamp" writes: > > > I can't rememember who raised the quality of it recently, CVS will > > > know. I was sceptical, because I also have systems where HPET is > > > slow. > > I did, with your approval, almost a year ago. > Yes, I said "try it" or something of the sort. For the record, I ran with HPET timers the entire time from HPET support was first committed until I finally committed that patch - about ten months - so I did test it to the best of my ability. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:20:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 250EC16A468 for ; Mon, 21 May 2007 18:20:12 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id A477713C487 for ; Mon, 21 May 2007 18:20:11 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so5648ugh for ; Mon, 21 May 2007 11:20:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rgpjTGy2tc6UP8TqM1ZMlPlMxHOt8upm32Sq29OxPNUWFdj7MlVq/vq6NvJ4EzVkEjFPegXfScCW5OiEOJx4QpRQAmBKEMzf2MLJXZKPvmwpg0c1e6Lf7kdS1HEhZ17FsFswE8lHekS5IH4t2bvJEJ0oSuRQovuH23WPnD+nNsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KVXnKvcdkwOsCC5ETPte48VOQ/T+B+Go8eGfHHjClYIJQPtVgpKCbL4v2UJUUPjEUhluauiMxV2mfr9BfFBBzQ17CHgDOf3HHpRzrwleRaRIUN3ETFDRLEWc+obbMT25OUrAKsHTCVnyLeDprPaqu+zpLVIkr0hre1UjUtj+jHQ= Received: by 10.78.202.19 with SMTP id z19mr1234298huf.1179771610114; Mon, 21 May 2007 11:20:10 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Mon, 21 May 2007 11:20:10 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 11:20:10 -0700 From: "Kip Macy" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" , "Scott Long" , "Kris Kennaway" , freebsd-current@freebsd.org, "Harald Schmalzbauer" In-Reply-To: <864pm6aw50.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200705201954.00476.h.schmalzbauer@omnisec.de> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> <4651B17E.7070909@samsco.org> <86fy5qrzw1.fsf@dwp.des.no> <864pm6aw50.fsf@dwp.des.no> Cc: Subject: Re: strange "Exec format error" (gcc4.2 suspicious) 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: Mon, 21 May 2007 18:20:12 -0000 - Original message - "Kip Macy" writes: > Google DSO You... I know, but that yields the page that scottl was referring to. -Kip On 5/21/07, Dag-Erling Sm=F8rgrav wrote: > "Kip Macy" writes: > > Google DSO > > You don't need PIE for DSO, you just need the executable to export its > symbols (ld --export-dynamic). > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:25:53 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6C9516A468 for ; Mon, 21 May 2007 18:25:53 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD1613C45A for ; Mon, 21 May 2007 18:25:52 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so7101ugh for ; Mon, 21 May 2007 11:25:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a3fcctK5qzBAAKcN6O0T5IZK9m2rHtykk6DYBnTtOBQyccUDRB6rpLenQIdrTpv/d6rkwgilbTjVUdp0bo3iTRwO5EsGAU1UmMhxsEpSthXPwC5CDCoj16ASXhveQMC5PQ8+XspXo9w5tq0qogMDoW2x9nxFClV7SABYk8nlqzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZWRsgdkwPsEN38ho4plvmSfCk7sICW9R8K0Ur7ksgEtgJy/s408ZqlWhqz9WItWCfgCJ1iieSMULZ9EaophO/ENw4ZjOf0JdYtUzda5cEW3XznZmVCuvGU5c6oY1tyb0nwe/9mElG+NEfhWeZqU9SrOaHDabVVFuugVcW3HgXI0= Received: by 10.78.202.19 with SMTP id z19mr1235153huf.1179771951701; Mon, 21 May 2007 11:25:51 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Mon, 21 May 2007 11:25:51 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 11:25:51 -0700 From: "Kip Macy" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" , "Poul-Henning Kamp" , takawata@freebsd.org, njl@freebsd.org, current@freebsd.org, "Kris Kennaway" In-Reply-To: <86zm3y9hg5.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2792.1179764955@critter.freebsd.dk> <86zm3y9hg5.fsf@dwp.des.no> Cc: Subject: Re: HPET vs other timers 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: Mon, 21 May 2007 18:25:53 -0000 - Original message - For the record, I ran with HPET timers the entire time fro... There is no questioning the quality of the support for HPET. The only issue is that its use comes at a higher cost than one might expect. -Kip On 5/21/07, Dag-Erling Sm=F8rgrav wrote: > "Poul-Henning Kamp" writes: > > Dag-Erling Sm=F8rgrav writes: > > > "Poul-Henning Kamp" writes: > > > > I can't rememember who raised the quality of it recently, CVS will > > > > know. I was sceptical, because I also have systems where HPET is > > > > slow. > > > I did, with your approval, almost a year ago. > > Yes, I said "try it" or something of the sort. > > For the record, I ran with HPET timers the entire time from HPET support > was first committed until I finally committed that patch - about ten > months - so I did test it to the best of my ability. > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:28:14 2007 Return-Path: X-Original-To: current@freeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0871C16A46B for ; Mon, 21 May 2007 18:28:14 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id C44C913C4BB for ; Mon, 21 May 2007 18:28:13 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 72083 invoked from network); 21 May 2007 18:27:35 -0000 Received: from 209-128-117-003.bayarea.net (HELO ?10.0.1.144?) (nate-mail@209.128.117.3) by root.org with ESMTPA; 21 May 2007 18:27:35 -0000 Message-ID: <4651E484.1010204@root.org> Date: Mon, 21 May 2007 11:27:16 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070424) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <2792.1179764955@critter.freebsd.dk> <86zm3y9hg5.fsf@dwp.des.no> In-Reply-To: <86zm3y9hg5.fsf@dwp.des.no> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: takawata@freeBSD.org, Poul-Henning Kamp , current@freeBSD.org, Kris Kennaway Subject: Re: HPET vs other timers 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: Mon, 21 May 2007 18:28:14 -0000 Dag-Erling Smørgrav wrote: > "Poul-Henning Kamp" writes: >> Dag-Erling Smørgrav writes: >>> "Poul-Henning Kamp" writes: >>>> I can't rememember who raised the quality of it recently, CVS will >>>> know. I was sceptical, because I also have systems where HPET is >>>> slow. >>> I did, with your approval, almost a year ago. >> Yes, I said "try it" or something of the sort. > > For the record, I ran with HPET timers the entire time from HPET support > was first committed until I finally committed that patch - about ten > months - so I did test it to the best of my ability. > > DES Let's keep this technical. I'm fine with bumping HPET to below ACPI timer if the hw turns out to be this much slower. Anyone able to speculate why though? HPET only reads 32 bits from a memory mapped region. No locking or other requirements. ACPI_timer does multiple IO ops, which according to bde@ are much slower than memory reads. So unless something from the chipset is stopping the processor (SMI?) when it reads from this region, I have a hard time seeing why it's slower. -- Nate From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:28:42 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DAEC816A480; Mon, 21 May 2007 18:28:42 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id 745F813C46A; Mon, 21 May 2007 18:28:42 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP id l4LIScjI010716 (8.13.4/1.4); Mon, 21 May 2007 20:28:38 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP id l4LIScvu010712 (8.13.4/2.02); Mon, 21 May 2007 20:28:38 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Mon, 21 May 2007 20:28:38 +0200 (MEST) From: Michiel Boland To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <863b1qrz11.fsf@dwp.des.no> Message-ID: References: <200705202254.45347.jonathan@fosburgh.org> <20070521011217.O44264@volatile.chemikals.org> <863b1qrz11.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Mon, 21 May 2007 18:28:43 -0000 >> My build of xorg-server died. The box ran out of swap space. I have >> 512M RAM + 1G swap. Someone please tell me this is a glitch in the new >> gcc. I don't want to add ram just to be able to compile a simple >> program. :) > > The quick fix is to build at a lower optimization level. Advanced > optimizations can be very memory-consuming, especially when compiling > unusually large source files, or source files which contain unusually > large functions. Ok, that appears to do the trick. Compile without any optimization at all. But I wonder: what is the point of a huge object file with 10000 or so symbols, of which I most likely will use only one or two? I thought the whole point of the new xorg was the modularity. (I'm afraid I'm getting a bit off-topic now, so I will quickly stop my ranting here. :) From owner-freebsd-current@FreeBSD.ORG Mon May 21 19:37:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A34B16A49A for ; Mon, 21 May 2007 19:37:40 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1326D13C4C6 for ; Mon, 21 May 2007 19:37:39 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mr2so.prod.shaw.ca (pd4mr2so-qfe3.prod.shaw.ca [10.0.141.213]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JIE00LPLMBJZUD0@l-daemon> for freebsd-current@freebsd.org; Mon, 21 May 2007 12:35:43 -0600 (MDT) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd4mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JIE0051MMBJ7WC1@pd4mr2so.prod.shaw.ca> for freebsd-current@freebsd.org; Mon, 21 May 2007 12:35:44 -0600 (MDT) Received: from hexahedron.daemonology.net ([24.82.18.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JIE009YPMBIVD70@l-daemon> for freebsd-current@freebsd.org; Mon, 21 May 2007 12:35:42 -0600 (MDT) Received: (qmail 66841 invoked from network); Mon, 21 May 2007 16:48:54 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Mon, 21 May 2007 16:48:54 +0000 Date: Mon, 21 May 2007 12:48:53 -0400 From: Colin Percival In-reply-to: <20070520184324.GA41576@xor.obsecurity.org> To: Kris Kennaway Message-id: <4651CD75.5090903@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.0 References: <20070520022722.1f5a0cda@kan.dnsalias.net> <465034CE.4060802@freebsd.org> <20070520184324.GA41576@xor.obsecurity.org> User-Agent: Thunderbird 2.0.0.0 (X11/20070511) Cc: FreeBSD Current Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Mon, 21 May 2007 19:37:40 -0000 Kris Kennaway wrote: > On Sun, May 20, 2007 at 07:45:18AM -0400, Colin Percival wrote: >> For the record (since I know several people were asking at BSDCan), this is >> a great example of why it makes sense to have libmd as well as libcrypto: A >> minimal hashing library which we maintain ourselves is far less likely to >> randomly break than a bloated^W more feature-complete library which is >> maintained outside of FreeBSD and occasionally imported onto a vendor branch. > > Well that's kind of a straw man because it's not actually what I > suggested. You're not the only person who was asking about libmd vs. libcrypto. There are two suggestions which come up frequently (including at bsdcan): 1. Kill libmd entirely and tell people to link to libcrypto instead. 2. Kill src/lib/libmd/*.c and build libmd from the C code in crypto/openssl. > I was advocating [option #2] > > At least the last time I looked at openssl this was possible, and one > ends up with something very similar to our current libmd, plus > additional bug fixes. Several reasons for not doing this come to mind: 1. It takes longer to fix bugs in contrib code (e.g., the current problem had to wait for our OpenSSL maintainer to return to .dk, while a bug in libmd could have been fixed immediately -- I don't think the current bug affects the hashing functions, but the point remains). 2. Importing a new version of OpenSSL is enough of a headache already without needing to make sure that everything is where libmd expects to find it and doesn't require any changes in the compile options. 3. The license on the current libmd code is more sane. I don't want to have to include "This product includes cryptographic software written by Eric Young X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D49516A421 for ; Mon, 21 May 2007 20:36:16 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.freebsd.org (Postfix) with ESMTP id E8E7913C458 for ; Mon, 21 May 2007 20:36:15 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.39]) by mx.nitro.dk (Postfix) with ESMTP id BF3DE2D4F33; Mon, 21 May 2007 20:18:18 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id AE7B61141D; Mon, 21 May 2007 22:18:18 +0200 (CEST) Date: Mon, 21 May 2007 22:18:18 +0200 From: "Simon L. Nielsen" To: Alexander Kabaev Message-ID: <20070521201817.GB1380@zaphod.nitro.dk> References: <20070520022722.1f5a0cda@kan.dnsalias.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> User-Agent: Mutt/1.5.11 Cc: Michiel Boland , freebsd-current@freebsd.org, Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Mon, 21 May 2007 20:36:16 -0000 On 2007.05.20 02:27:22 -0400, Alexander Kabaev wrote: > there were several reports of OpenSSL being broken when compiled with > GCC 4.2. It turns out OpenSSL uses function casting feature that was > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > invalid instructions ON PURPOSE to discourage the practice. "Interesting" choice - oh well. > Consequently, OpenSSL need the patch similar to attached one to work. > Just in case mailing list will eat the attachment, the patch can be > found at > > http://people.freebsd.org/~kan/openssl-gcc42.diff > > Unfortunately, our OpenSSL maintainer(s) are currently en-route from > BSDCan and cannot attend to the matters. Once we figure the best way to > fix the code and to integrate the fix into OpenSSL, we will check the > fix info CVS. People are advised to patch their sources locally until > then. I had hoped to be able to test and commit today, but I'm too beat from the trip from Canada to be able to do this until tomorrow (it's very high in the priority list to get this done tomorrow but I don't know how hard the jet lag will hit this time). I haven't seen enough reports of this patch working to be really comfortable committing the patch without having had a chance to try it myself. Other people who try this patch please report any success/failure. Success can also just be reported in private mail. Oh, and in case people were wondering - I'm not a "vendor branch purist" wrt. OpenSSL, so getting the patch commited once I'm sure it is OK isn't a problem. Alexander, thanks a lot for looking at this! -- Simon L. Nielsen Hat: OpenSSL janitor From owner-freebsd-current@FreeBSD.ORG Mon May 21 21:23:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11B0416A41F; Mon, 21 May 2007 21:23:12 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 36DC513C44C; Mon, 21 May 2007 21:23:11 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 28A191CC5A; Tue, 22 May 2007 09:23:09 +1200 (NZST) Date: Tue, 22 May 2007 09:23:09 +1200 From: Andrew Thompson To: Fredrik Lindberg Message-ID: <20070521212309.GA4320@heff.fud.org.nz> References: <4645E8A2.1040408@FreeBSD.org> <20070512202004.GA71624@heff.fud.org.nz> <46462CB2.9050008@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <46462CB2.9050008@FreeBSD.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: yar@freebsd.org, freebsd-current@freebsd.org Subject: Re: Network interface modules keeps re-loading 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: Mon, 21 May 2007 21:23:12 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, May 12, 2007 at 11:08:02PM +0200, Fredrik Lindberg wrote: > Andrew Thompson wrote: > > > >A similar solution to this was committed in rev1.129 of ifconfig.c but > >then backed out later as the module loading proved to be feature used by > >quite a few people. I think an example was being able to load and > >initialise an interface by just trying 'ifconfig foo0'. > > > >I think a different way to solve this is to add a argument to ifconfig > >to suppress the module loading and then use it at the appropriate places > >in rc. > > > > Oh, I should have read the commit logs first, sorry about that. > Either way, I think something should be done about it. It certainly > annoyed me today before I could figure out what as going on. > When somebody issues a kldunload, they shouldn't get the module > re-loaded right away. > > Clearly people want the current behavior (although I question it > myself), what would be an appropriate way to suppress loading? > ifconfig -n foo0, as in no-probe/load? Here is a patch to do this, i'll commit it unless there are any objections. Andrew --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ifconfig-load.diff" Index: ifconfig.8 =================================================================== RCS file: /home/ncvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.137 diff -u -p -r1.137 ifconfig.8 --- ifconfig.8 17 Apr 2007 00:35:09 -0000 1.137 +++ ifconfig.8 21 May 2007 21:15:18 -0000 @@ -1579,6 +1579,11 @@ For example, the values of 802.11 WEP ke the current user. This information is not printed by default, as it may be considered sensitive. +.Pp +If the network interface driver is not present in the kernel then the module +will be loaded, the +.Fl n +flag suppresses this. .Pp Only the super-user may modify the configuration of a network interface. .Sh NOTES Index: ifconfig.c =================================================================== RCS file: /home/ncvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.130 diff -u -p -r1.130 ifconfig.c --- ifconfig.c 24 Mar 2007 20:26:54 -0000 1.130 +++ ifconfig.c 21 May 2007 21:16:12 -0000 @@ -139,7 +139,7 @@ usage(void) int main(int argc, char *argv[]) { - int c, all, namesonly, downonly, uponly; + int c, all, namesonly, downonly, uponly, noload; const struct afswtch *afp = NULL; int ifindex; struct ifaddrs *ifap, *ifa; @@ -150,10 +150,10 @@ main(int argc, char *argv[]) struct option *p; size_t iflen; - all = downonly = uponly = namesonly = verbose = 0; + all = downonly = uponly = namesonly = noload = verbose = 0; /* Parse leading line options */ - strlcpy(options, "adklmuv", sizeof(options)); + strlcpy(options, "adklmnuv", sizeof(options)); for (p = opts; p != NULL; p = p->next) strlcat(options, p->opt, sizeof(options)); while ((c = getopt(argc, argv, options)) != -1) { @@ -173,6 +173,9 @@ main(int argc, char *argv[]) case 'm': /* show media choices in status */ supmedia = 1; break; + case 'n': /* suppress module loading */ + noload++; + break; case 'u': /* restrict scan to "up" interfaces */ uponly++; break; @@ -898,6 +901,10 @@ ifmaybeload(const char *name) char ifkind[35], *dp; const char *cp; + /* loading suppressed by the user */ + if (noload) + return; + /* turn interface and unit into module name */ strcpy(ifkind, "if_"); for (cp = name, dp = ifkind + 3; --C7zPtVaVf+AK4Oqc-- From owner-freebsd-current@FreeBSD.ORG Mon May 21 21:50:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36F1D16A400 for ; Mon, 21 May 2007 21:50:32 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 041F013C447 for ; Mon, 21 May 2007 21:50:31 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (121-72-69-144.dsl.telstraclear.net [121.72.69.144]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JIE00HUXVC39H00@smtp5.clear.net.nz> for freebsd-current@freebsd.org; Tue, 22 May 2007 09:50:28 +1200 (NZST) Date: Tue, 22 May 2007 09:50:11 +1200 From: Mark Kirkwood To: freebsd-current@freebsd.org Message-id: <46521413.9070403@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.10 (X11/20070313) Subject: Xorg upgrade deps 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: Mon, 21 May 2007 21:50:32 -0000 Hi, I'm part way though the xorg 7.2 upgrade (following procedure in UPDATING) and have done: $ portupgrade -Rf libXft which seems to have completed ok. However when I do the next step: $ portupgrade -a I get: Stale dependency: Xaw3d-1.5E_1 --> xorg-libraries-6.9.0_1 -- manually run 'pkgdb -F' to fix, or specify -O to force. (...and other packages that depend on xorg-libraries) Now at this point I have no idea what to replace the stale dependency with....obviously *one* or more of the new modularized libs. I guess for Xaw3d it might depend on only libXaw-1.0.2, but there are others (say java stuff) for which its not obvious. What did other folks do at this stage? Cheers Mark From owner-freebsd-current@FreeBSD.ORG Mon May 21 21:50:56 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 157AC16A400 for ; Mon, 21 May 2007 21:50:56 +0000 (UTC) (envelope-from rink@thunderstone.rink.nu) Received: from mx1.rink.nu (thunderstone.rink.nu [80.112.228.34]) by mx1.freebsd.org (Postfix) with ESMTP id C0E4E13C468 for ; Mon, 21 May 2007 21:50:55 +0000 (UTC) (envelope-from rink@thunderstone.rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id 542076D455; Mon, 21 May 2007 23:44:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([127.0.0.1]) by localhost (thunderstone.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L3Pgt-F9y1lG; Mon, 21 May 2007 23:44:47 +0200 (CEST) Received: from thunderstone.rink.nu (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.rink.nu (Postfix) with ESMTP id 0EAD46D45E; Mon, 21 May 2007 23:44:47 +0200 (CEST) Received: (from rink@localhost) by thunderstone.rink.nu (8.13.8/8.13.8/Submit) id l4LLikdx087434; Mon, 21 May 2007 23:44:46 +0200 (CEST) (envelope-from rink) Date: Mon, 21 May 2007 23:44:46 +0200 From: Rink Springer To: Andrew Thompson Message-ID: <20070521214446.GC51358@rink.nu> References: <4645E8A2.1040408@FreeBSD.org> <20070512202004.GA71624@heff.fud.org.nz> <46462CB2.9050008@FreeBSD.org> <20070521212309.GA4320@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20070521212309.GA4320@heff.fud.org.nz> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: yar@FreeBSD.org, freebsd-current@FreeBSD.org, Fredrik Lindberg Subject: Re: Network interface modules keeps re-loading 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: Mon, 21 May 2007 21:50:56 -0000 Hi Andrew, On Tue, May 22, 2007 at 09:23:09AM +1200, Andrew Thompson wrote: > Here is a patch to do this, i'll commit it unless there are any > objections. It looks fine to me - but shouldn't the -n flag be added to the SYNOPSIS of the manual page as well? --=20 Rink P.W. Springer - http://rink.nu "It is such a quiet thing, to fall. But yet a far more terrible thing, to admit it." - Darth Traya From owner-freebsd-current@FreeBSD.ORG Mon May 21 22:22:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9C3016A400 for ; Mon, 21 May 2007 22:22:34 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from stargate.alaskaparadise.com (190-144-58-66.gci.net [66.58.144.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5F413C487 for ; Mon, 21 May 2007 22:22:34 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id 256E57E16 for ; Mon, 21 May 2007 14:05:06 -0800 (AKDT) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-current@freebsd.org Date: Mon, 21 May 2007 14:04:55 -0800 User-Agent: KMail/1.9.6 X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M, ^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m, )2 X?M\:OE9QgZ"xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{ Subject: Firefox errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@alaskaparadise.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 22:22:34 -0000 I just completed the xorg upgrade and have -CURRENT from yesterday. Firefox was rebuilt as part of the upgrade. It now just returns a blank page with the following error: stargate# firefox GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: IOR file '/var/tmp/gconfd-root/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/var/tmp/gconfd-root/lock/ior' not opened successfully, no gconfd located: No such file or directory) ** (Gecko:93032): WARNING **: Wrong permissions for /var/tmp/orbit-root Anyone have a suggestion? Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html --------------------------------------------------------------------------------------- From owner-freebsd-current@FreeBSD.ORG Mon May 21 22:37:38 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 154EB16A46D for ; Mon, 21 May 2007 22:37:38 +0000 (UTC) (envelope-from aradford@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id BECE813C483 for ; Mon, 21 May 2007 22:37:37 +0000 (UTC) (envelope-from aradford@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so412360and for ; Mon, 21 May 2007 15:37:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r8AiVXWElt+/xJ3zd8HcC6qYCIGbRBI1HYWn288Sua3VdFZ9UaTWtYlslfQRfSkOrqc6E8CdJLgN2CKBzwY0JdL3aIGbV1XU1WxQdZHXaBFuL3ZJauA2u7RN77i8gQs+MiJQBS8JufV1UGBeyo2jud+kHP8cM93OP2OE5LueYCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UQnQ6V6kdSlHznOP29LPXHEs/7MMAY/vooX1zKl104iRv+kBa4LplJe+bugeT+R96I+CpevZIkuKRy37QfacyscCoWO9Jz0NxBXr0ITw/BV8hnzYbzvTUP6FhEvpVUPYyxbyFBd5v0ncBTxZbD3D+U7T+DYeKYKJvd34N4+yV/I= Received: by 10.100.59.20 with SMTP id h20mr3360024ana.1179787057511; Mon, 21 May 2007 15:37:37 -0700 (PDT) Received: by 10.100.239.10 with HTTP; Mon, 21 May 2007 15:37:37 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 15:37:37 -0700 From: "adam radford" To: "Boris Samorodov" In-Reply-To: <11042281@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> <4641542A.7030203@samsco.org> <11042281@srv.sem.ipt.ru> Cc: freebsd-current@freebsd.org Subject: Re: [Boris Samorodov] Re: Functional RAID controller? 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: Mon, 21 May 2007 22:37:38 -0000 Boris, This should be fixed with the latest patch I sent to Scott Long to turn off deferred interrupt handling in the twa driver. CVS up until you get twa driver v3.70.03.007. -Adam On 5/19/07, Boris Samorodov wrote: > [re-post to the list] > > Hi Scott, All! > > > On Tue, 08 May 2007 22:55:06 -0600 Scott Long wrote: > > > I have a pretty good idea of what is wrong, and it's partially my fault. > > A quick work-around would be to edit /sys/dev/twa/tw_osl_freebsd.c and > > remove the INTR_MPSAFE flag as so: > > I have today's current (with sys/cam/cam_xpt.c 1.187): > ----- > FreeBSD 7.0-CURRENT #0: Thu May 17 16:56:58 MSD 2007 > bsam@tinderbox.amd64.ipt.ru:/usr/obj/usr/src/sys/GENERIC > WARNING: WITNESS option enabled, expect reduced performance. > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU E5335 @ 2.00GHz (2000.01-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x6f7 Stepping = 7 > Features=0xbfebfbff > Features2=0x4e33d,DCA> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 4 > usable memory = 8576622592 (8179 MB) > avail memory = 8289337344 (7905 MB) > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs > ... > 3ware device driver for 9000 series storage controllers, version: 3.70.03.006 > twa0: <3ware 9000 series Storage Controller> port 0x3000-0x30ff mem 0xd8000000-0xd9ffffff,0xda300000-0xda300fff irq 16 at device 0.0 on pci8 > twa0: [FILTER] > twa0: INFO: (0x04: 0x0053): Battery capacity test is overdue: > twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-8LPML, 8 ports, Firmware FE9X 3.06.00.005, BIOS BE9X 3.06.00.002 > ... > panic: blockable sleep lock (sleep mutex) CAM SIMQ lock @ /usr/src/sys/cam/cam_xpt.c:4847 > cpuid = 0 > KDB: enter: panic > [thread pid 17 tid 100007 ] > Stopped at kdb_enter+0x2f: nop > db> where > Tracing pid 17 tid 100007 td 0xffffff021eeaa540 > kdb_enter() at kdb_enter+0x2f > panic() at panic+0x225 > witness_checkorder() at witness_checkorder+0x5db > _mtx_lock_flags() at _mtx_lock_flags+0x75 > xpt_done() at xpt_done+0xca > tw_osl_complete_io() at tw_osl_complete_io+0x10c > tw_cli_complete_io() at tw_cli_complete_io+0x80 > tw_cli_process_complete_queue() at tw_cli_process_complete_queue+0xa3 > tw_cli_process_resp_intr() at tw_cli_process_resp_intr+0x1e3 > twa_pci_intr_fast() at twa_pci_intr_fast+0x2b > intr_execute_handlers() at intr_execute_handlers+0x126 > Xapic_isr1() at Xapic_isr1+0x7f > --- interrupt, rip = 0xffffffff8065a9b6, rsp = 0xffffffffac2a7be0, rbp = 0xffffffffac2a7bf0 --- > acpi_cpu_c1() at acpi_cpu_c1+0x6 > acpi_cpu_idle() at acpi_cpu_idle+0x1a0 > sched_idletd() at sched_idletd+0x35 > fork_exit() at fork_exit+0xaa > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffffffac2a7d30, rbp = 0 --- > db> > ----- > > Is that a known problem you are working on? If it may help I can > arrange an access to comconsole on that server. > > Thanks! > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Mon May 21 22:42:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B581B16A468 for ; Mon, 21 May 2007 22:42:47 +0000 (UTC) (envelope-from sten@blinkenlights.nl) Received: from mx0.blinkenlights.nl (mx0.blinkenlights.nl [89.188.0.20]) by mx1.freebsd.org (Postfix) with ESMTP id 7B76B13C45E for ; Mon, 21 May 2007 22:42:47 +0000 (UTC) (envelope-from sten@blinkenlights.nl) Received: from zaphod.blinkenlights.nl (zaphod.blinkenlights.nl [IPv6:2001:980:ffe:3:2e0:81ff:fe2f:bb6a]) by mx0.blinkenlights.nl (Postfix) with ESMTP id BBE527302A; Tue, 22 May 2007 00:21:36 +0200 (CEST) Received: by zaphod.blinkenlights.nl (Postfix, from userid 1001) id 8B0F617F459; Tue, 22 May 2007 00:21:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zaphod.blinkenlights.nl (Postfix) with ESMTP id 812BC17F455; Tue, 22 May 2007 00:21:36 +0200 (CEST) Date: Tue, 22 May 2007 00:21:36 +0200 (CEST) From: Sten Spans To: Ian FREISLICH In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Mon, 21 May 2007 22:42:47 -0000 On Mon, 21 May 2007, Ian FREISLICH wrote: > Hi > > We've noticed an issue on our firewalls where the first em device > in the system hijacks inbound port 623 tcp and udp. The OS never > sees this traffic. Interestingly, em1 and em2 do not appear to be > afflicted by this problem. Some reading I've done points to a > similar conclusion: > > http://blogs.sun.com/shepler/entry/port_623_or_the_mount > > I've looked at the bios, but I can't find any settings that remotely > hint IPMI or RMCP+ or serial-over-lan. > > Does anyone know how I can stop the card or system from stealing > port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? Does "ifconfig em0 promisc" help ? That fixed firmware related vanishing ipv6 packets on fxp and em. -- Sten Spans "There is a crack in everything, that's how the light gets in." Leonard Cohen - Anthem From owner-freebsd-current@FreeBSD.ORG Mon May 21 23:17:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84A8316A469 for ; Mon, 21 May 2007 23:17:12 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 410B413C4BA for ; Mon, 21 May 2007 23:17:12 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so414547and for ; Mon, 21 May 2007 16:17:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qopugN+v4FWepGtIa8ApJRW1P+G4cpCfbfPTszEMiVlUhspzLwLp9rOdW9JPpEzuQA+J9SbeIJrrMNMWF0wEaEbeyAGU+/aTgaH+35GumNlzBS2riJiV2kyi+bC8B0cOvMJAAp0c5HBd/cETfAeiznby1kab8UhOGxPluxrmGVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UJclGRvztwbCaOcS23gmhkfzgwhR7/ggICVh4S0GcmGVtNPiAHyVG3HPazXfnmPkn9a+sgZvUdNWnlh63VB+Mui964SPcAtWMrIK1FCqluCjIqU8KvTBONRFcSCY3I4oQYEjx4QL06nBF5GlCUJIjBKzFHKrSkmikvrli8WLsv0= Received: by 10.115.89.1 with SMTP id r1mr2978961wal.1179789428077; Mon, 21 May 2007 16:17:08 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Mon, 21 May 2007 16:17:07 -0700 (PDT) Message-ID: <2a41acea0705211617p17f74964oabdc88564376ada3@mail.gmail.com> Date: Mon, 21 May 2007 16:17:07 -0700 From: "Jack Vogel" To: "Sten Spans" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: Ian FREISLICH , freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Mon, 21 May 2007 23:17:12 -0000 On 5/21/07, Sten Spans wrote: > On Mon, 21 May 2007, Ian FREISLICH wrote: > > > Hi > > > > We've noticed an issue on our firewalls where the first em device > > in the system hijacks inbound port 623 tcp and udp. The OS never > > sees this traffic. Interestingly, em1 and em2 do not appear to be > > afflicted by this problem. Some reading I've done points to a > > similar conclusion: > > > > http://blogs.sun.com/shepler/entry/port_623_or_the_mount > > > > I've looked at the bios, but I can't find any settings that remotely > > hint IPMI or RMCP+ or serial-over-lan. > > > > Does anyone know how I can stop the card or system from stealing > > port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? > > Does "ifconfig em0 promisc" help ? > That fixed firmware related vanishing ipv6 packets on fxp and em. Is this happening even with the latest CURRENT driver, there is code in it now that is supposed to stop the firmware from doing that, at least that was the theory :) Jack From owner-freebsd-current@FreeBSD.ORG Mon May 21 23:57:19 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2991616A400 for ; Mon, 21 May 2007 23:57:19 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id E60EE13C45D for ; Mon, 21 May 2007 23:57:18 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (121-72-69-144.dsl.telstraclear.net [121.72.69.144]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JIF0070817GO840@smtp3.clear.net.nz> for freebsd-current@freebsd.org; Tue, 22 May 2007 11:57:17 +1200 (NZST) Date: Tue, 22 May 2007 11:57:00 +1200 From: Mark Kirkwood In-reply-to: <46521413.9070403@paradise.net.nz> To: freebsd-current@freebsd.org Message-id: <465231CC.7040503@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <46521413.9070403@paradise.net.nz> User-Agent: Thunderbird 1.5.0.10 (X11/20070313) Subject: Re: Xorg upgrade deps 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: Mon, 21 May 2007 23:57:19 -0000 Mark Kirkwood wrote: > Hi, > > I'm part way though the xorg 7.2 upgrade (following procedure in > UPDATING) and have done: > > $ portupgrade -Rf libXft > > which seems to have completed ok. However when I do the next step: > > $ portupgrade -a > > I get: > > Stale dependency: Xaw3d-1.5E_1 --> xorg-libraries-6.9.0_1 -- manually > run 'pkgdb -F' to fix, or specify -O to force. > (...and other packages that depend on xorg-libraries) > > Now at this point I have no idea what to replace the stale dependency > with....obviously *one* or more of the new modularized libs. I guess for > Xaw3d it might depend on only libXaw-1.0.2, but there are others (say > java stuff) for which its not obvious. > > What did other folks do at this stage? > Thinking on this a little, I'm guessing that leaving the stale dependency is the way to go, as xorg-libraries meta port is not registered (yet?). Mark From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:59:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D076F16A468 for ; Mon, 21 May 2007 18:59:22 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9065C13C448 for ; Mon, 21 May 2007 18:59:22 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.66) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1HqD6H-0005LO-Aj>; Mon, 21 May 2007 20:59:21 +0200 Received: from e178062087.adsl.alicedsl.de ([85.178.62.87] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.66) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1HqD6H-0002hV-8U>; Mon, 21 May 2007 20:59:21 +0200 Message-ID: <4651ECDB.80103@mail.zedat.fu-berlin.de> Date: Mon, 21 May 2007 21:02:51 +0200 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.0 (X11/20070520) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.62.87 X-Mailman-Approved-At: Tue, 22 May 2007 00:04:44 +0000 Subject: {gcc 4.2 issue??] portsnap -> Illegal instruction 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: Mon, 21 May 2007 18:59:22 -0000 Hello, after upgrading one of our FreeBSD 7.0-CURRENT boxes and recompiling world and ports to reflect compiler changes toward gcc 4.2, I run into issue with portsnap: # portsna fetch update after upgrading my box yesterday Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction invalid snapshot tag. Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction invalid snapshot tag. Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction invalid snapshot tag. No mirrors remaining, giving up. My box is a FreeBSD 7.0-CURRENT/AMD64. Regards, Oliver From owner-freebsd-current@FreeBSD.ORG Mon May 21 21:12:39 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C69E616A492 for ; Mon, 21 May 2007 21:12:39 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (190-144-58-66.gci.net [66.58.144.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3280613C4E7 for ; Mon, 21 May 2007 21:12:36 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id E1F247EAD; Mon, 21 May 2007 12:54:34 -0800 (AKDT) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-current@freebsd.org Date: Mon, 21 May 2007 12:54:16 -0800 User-Agent: KMail/1.9.6 References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070521201817.GB1380@zaphod.nitro.dk> In-Reply-To: <20070521201817.GB1380@zaphod.nitro.dk> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705211254.23929.beech@alaskaparadise.com> X-Mailman-Approved-At: Tue, 22 May 2007 00:04:44 +0000 Cc: "Simon L. Nielsen" Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beech@alaskaparadise.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 21:12:39 -0000 On Monday 21 May 2007, Simon L. Nielsen said: > On 2007.05.20 02:27:22 -0400, Alexander Kabaev wrote: > > there were several reports of OpenSSL being broken when compiled > > with GCC 4.2. It turns out OpenSSL uses function casting feature > > that was aggressively de-supported by GCC 4.2 and GCC goes as far > > as inserting invalid instructions ON PURPOSE to discourage the > > practice. > > "Interesting" choice - oh well. > > > Consequently, OpenSSL need the patch similar to attached one to > > work. Just in case mailing list will eat the attachment, the > > patch can be found at > > > > http://people.freebsd.org/~kan/openssl-gcc42.diff > > > > Unfortunately, our OpenSSL maintainer(s) are currently en-route > > from BSDCan and cannot attend to the matters. Once we figure the > > best way to fix the code and to integrate the fix into OpenSSL, > > we will check the fix info CVS. People are advised to patch their > > sources locally until then. > > I had hoped to be able to test and commit today, but I'm too beat > from the trip from Canada to be able to do this until tomorrow > (it's very high in the priority list to get this done tomorrow but > I don't know how hard the jet lag will hit this time). > > I haven't seen enough reports of this patch working to be really > comfortable committing the patch without having had a chance to try > it myself. > > Other people who try this patch please report any success/failure. > Success can also just be reported in private mail. > > Oh, and in case people were wondering - I'm not a "vendor branch > purist" wrt. OpenSSL, so getting the patch commited once I'm sure > it is OK isn't a problem. > > Alexander, thanks a lot for looking at this! I applied the patch and it did fix the problem for me. I would call it a success. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html --------------------------------------------------------------------------------------- From owner-freebsd-current@FreeBSD.ORG Tue May 22 00:18:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF49F16A421 for ; Tue, 22 May 2007 00:18:25 +0000 (UTC) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.freebsd.org (Postfix) with ESMTP id AF56713C447 for ; Tue, 22 May 2007 00:18:24 +0000 (UTC) (envelope-from null@pozo.com) Received: from T41p.pozo.com (t41p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.1/8.14.1) with ESMTP id l4LNx0QG057107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 21 May 2007 16:59:00 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <200705212359.l4LNx0QG057107@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 21 May 2007 16:58:58 -0700 To: "Simon L. Nielsen" , Alexander Kabaev From: Manfred Antar In-Reply-To: <20070521201817.GB1380@zaphod.nitro.dk> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070521201817.GB1380@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Michiel Boland , freebsd-current@freebsd.org, Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Tue, 22 May 2007 00:18:25 -0000 At 01:18 PM 5/21/2007, Simon L. Nielsen wrote: >On 2007.05.20 02:27:22 -0400, Alexander Kabaev wrote: > >> there were several reports of OpenSSL being broken when compiled with >> GCC 4.2. It turns out OpenSSL uses function casting feature that was >> aggressively de-supported by GCC 4.2 and GCC goes as far as inserting >> invalid instructions ON PURPOSE to discourage the practice. > >"Interesting" choice - oh well. > >> Consequently, OpenSSL need the patch similar to attached one to work. >> Just in case mailing list will eat the attachment, the patch can be >> found at >> >> http://people.freebsd.org/~kan/openssl-gcc42.diff >> >> Unfortunately, our OpenSSL maintainer(s) are currently en-route from >> BSDCan and cannot attend to the matters. Once we figure the best way to >> fix the code and to integrate the fix into OpenSSL, we will check the >> fix info CVS. People are advised to patch their sources locally until >> then. > >I had hoped to be able to test and commit today, but I'm too beat from >the trip from Canada to be able to do this until tomorrow (it's very >high in the priority list to get this done tomorrow but I don't know >how hard the jet lag will hit this time). > >I haven't seen enough reports of this patch working to be really >comfortable committing the patch without having had a chance to try it >myself. > >Other people who try this patch please report any success/failure. >Success can also just be reported in private mail. > >Oh, and in case people were wondering - I'm not a "vendor branch >purist" wrt. OpenSSL, so getting the patch commited once I'm sure it >is OK isn't a problem. > >Alexander, thanks a lot for looking at this! Patch works for me.Using ssl for sendmail with Sasl ,also had to apply the patch to the openssl port. ================================== || null@pozo.com || || Ph. (415) 681-6235 || ================================== From owner-freebsd-current@FreeBSD.ORG Tue May 22 00:21:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6910C16A469 for ; Tue, 22 May 2007 00:21:21 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5848913C489 for ; Tue, 22 May 2007 00:21:21 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E849B1A3C19; Mon, 21 May 2007 17:22:19 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 776C4513FC; Mon, 21 May 2007 20:21:20 -0400 (EDT) Date: Mon, 21 May 2007 20:21:20 -0400 From: Kris Kennaway To: "O. Hartmann" Message-ID: <20070522002120.GA85091@xor.obsecurity.org> References: <4651ECDB.80103@mail.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4651ECDB.80103@mail.zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: {gcc 4.2 issue??] portsnap -> Illegal instruction 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: Tue, 22 May 2007 00:21:21 -0000 On Mon, May 21, 2007 at 09:02:51PM +0200, O. Hartmann wrote: > Hello, > after upgrading one of our FreeBSD 7.0-CURRENT boxes and recompiling > world and ports to reflect compiler changes toward gcc 4.2, I run into > issue with portsnap: > > # portsna fetch update > after upgrading my box yesterday > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction > invalid snapshot tag. > Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction > invalid snapshot tag. > Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction > invalid snapshot tag. > No mirrors remaining, giving up. > > > My box is a FreeBSD 7.0-CURRENT/AMD64. Please see other mailing list emails. Kris From owner-freebsd-current@FreeBSD.ORG Tue May 22 00:15:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C20DA16A421 for ; Tue, 22 May 2007 00:15:47 +0000 (UTC) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 8E89A13C45B for ; Tue, 22 May 2007 00:15:47 +0000 (UTC) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4M0F7tk001015 for ; Mon, 21 May 2007 17:15:07 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4M0F76e001014 for freebsd-current@freebsd.org; Mon, 21 May 2007 17:15:07 -0700 (PDT) (envelope-from kargl) From: "Steven G. Kargl" Message-Id: <200705220015.l4M0F76e001014@troutmask.apl.washington.edu> To: freebsd-current@freebsd.org Date: Mon, 21 May 2007 17:15:07 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL123f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Mailman-Approved-At: Tue, 22 May 2007 00:23:18 +0000 Subject: kernel panic in sbflush_internal 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: Tue, 22 May 2007 00:15:47 -0000 One of my colleagues brought down a node on my cluster while running a MPI job. The kernel coredump shows Script started on Mon May 21 17:02:53 2007 node12:root[201] kgdb kernel.debug vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] Unread portion of the kernel message buffer: panic: sbflush_internal: cc 4294965848 || mb 0 || mbcnt 0 cpuid = 0 Uptime: 7h6m34s Physical memory: 16119 MB Dumping 631 MB: 616 600 584 568 552 536 520 504 488 472 456 440 424 408 392 376 360 344 328 312 296 280 264 248 232 216 200 184 168 152 136 120 104 88 72 56 40 24 8 #0 doadump () at pcpu.h:171 171 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:171 #1 0xffffffff802a01eb in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xffffffff802a08cc in panic (fmt=0xffffff03157e0d20 "") at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xffffffff802f4d23 in sbflush_internal (sb=0xffffff031243ab68) at /usr/src/sys/kern/uipc_sockbuf.c:808 #4 0xffffffff802f50cb in sbflush (sb=0xffffff031243ab68) at /usr/src/sys/kern/uipc_sockbuf.c:825 #5 0xffffffff803b7246 in tcp_disconnect (tp=0xffffff03101f73e0) at /usr/src/sys/netinet/tcp_usrreq.c:1496 #6 0xffffffff803b7539 in tcp_usr_disconnect (so=0xffffff0311a04690) at /usr/src/sys/netinet/tcp_usrreq.c:584 #7 0xffffffff802f67f2 in soclose (so=0xffffff031243aae0) at /usr/src/sys/kern/uipc_socket.c:642 #8 0xffffffff802de133 in soo_close (fp=0xffffff0312402258, td=0x0) at /usr/src/sys/kern/sys_socket.c:296 #9 0xffffffff8027479f in fdrop (fp=0xffffff0312402258, td=0xffffff03157e0d20) at file.h:297 #10 0xffffffff80274aaf in closef (fp=0xffffff0312402258, td=0xffffff03157e0d20) at /usr/src/sys/kern/kern_descrip.c:1928 #11 0xffffffff80275f54 in fdfree (td=0xffffff03157e0d20) at /usr/src/sys/kern/kern_descrip.c:1638 #12 0xffffffff8027f537 in exit1 (td=0xffffff03157e0d20, rv=9) at /usr/src/sys/kern/kern_exit.c:271 #13 0xffffffff802a578f in sigexit (td=0xffffff03157e0d20, sig=9) at /usr/src/sys/kern/kern_sig.c:2862 #14 0xffffffff802a63ac in postsig (sig=9) at /usr/src/sys/kern/kern_sig.c:2741 #15 0xffffffff802d3547 in ast (framep=0xffffffffb0580c70) at /usr/src/sys/kern/subr_trap.c:271 #16 0xffffffff804787f0 in Xfast_syscall () ---Type to continue, or q to quit--- at /usr/src/sys/amd64/amd64/exception.S:283 #17 0x00000003c0c7294c in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) quit I have the debug kernel and vmcore file, and can make it available. The dmesg for the node that panic is Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #6: Fri May 18 10:19:43 PDT 2007 kargl@node10.cimu.org:/usr/obj/usr/src/sys/HPC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 280 (2391.55-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x3 Cores per package: 2 usable memory = 16902705152 (16119 MB) avail memory = 16387166208 (15628 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi_hpet0: iomem 0xfec01000-0xfec013ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 2000 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, eff00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci3: on pcib1 ohci0: mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 device_attach: uhub0 attach returned 6 usb0: port 0, set config at addr 1 failed usb0: root hub problem, error=4 ohci1: mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f mem 0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] vgapci0: port 0xb800-0xb8ff mem 0xfd000000-0xfdffffff,0xfeaff000-0xfeafffff irq 18 at device 6.0 on pci3 isab0: at device 7.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] amdsmb0: port 0xcc00-0xcc1f irq 19 at device 7.2 on pci0 smbus0: on amdsmb0 smb0: on smbus0 amdpm0: port 0x10e0-0x10ff at device 7.3 on pci0 smbus1: on amdpm0 smb1: on smbus1 pcib2: at device 10.0 on pci0 pci2: on pcib2 pci2:9:0: bad VPD cksum, remain 72 bge0: mem 0xfc8c0000-0xfc8cffff,0xfc8b0000-0xfc8bffff irq 24 at device 9.0 on pci2 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:e0:81:34:e1:4c bge0: [ITHREAD] pci2:9:1: bad VPD cksum, remain 72 bge1: mem 0xfc8f0000-0xfc8fffff,0xfc8e0000-0xfc8effff irq 25 at device 9.1 on pci2 miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: 00:e0:81:34:e1:4d bge1: [ITHREAD] pcib3: at device 11.0 on pci0 pci1: on pcib3 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff,0xcc800-0xcdfff,0xce000-0xcf7ff,0xcf800-0xd07ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <8 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ad4: 239372MB at ata2-master SATA150 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! hwpmc: TSC/1/0x20 K8/4/0x1ff Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted -- Steve http://troutmask.apl.washington.edu/~kargl/ From owner-freebsd-current@FreeBSD.ORG Tue May 22 02:28:55 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6760516A41F for ; Tue, 22 May 2007 02:28:55 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id D304113C44B for ; Tue, 22 May 2007 02:28:54 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2451466nze for ; Mon, 21 May 2007 19:28:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=F2RIYcHUFvIVBdZ5YL1LXXBqqfQggd3XcLL549oZLPlGlfkcGTGBdwYYj0KMwetcjQuv0MP49akkaOIoua7RP2304L2krZhnJvx5BqCN6dqG0CieWpvvyqtiqUKhdwM63oRKMSLJbZRHPpfUdBGLKPggs/9sVWF4GdpRKUhpoOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=lxsdyISJkpF8zyBpFjFv+tWFxcwjbUqd5PV5xKpa8P7jsTQqlVYTIM6wUJGztq6bZPGBCd4SSahuNHl0/Duu0tmeckpe1mtWb2vh/iVQsudAEZVJMB/u1yH8q33E2i9r1VYcrWJGS1MBluQLXpt/DQRkS2pkrUhFLrr8VqDDXD4= Received: by 10.64.213.3 with SMTP id l3mr87641qbg.1179800933562; Mon, 21 May 2007 19:28:53 -0700 (PDT) Received: by 10.64.193.13 with HTTP; Mon, 21 May 2007 19:28:53 -0700 (PDT) Message-ID: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> Date: Tue, 22 May 2007 10:28:53 +0800 From: "Rong-en Fan" To: ports@freebsd.org, current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: miwi@freebsd.org Subject: tinderbox and bad system call 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: Tue, 22 May 2007 02:28:55 -0000 After upgrading tinderbox's jail to latest -current, miwi@ and I see this "bad system call (core dumped)" while building devel/glib20. My log is at http://www.rafan.org/tb/errors/7-FreeBSD/glib-2.12.12_2.log My tinderbox is running on 6.2-RELEASE. Not sure about miwi@'s but I think they are 6.x. I think it's related to recent changes in current and may only happen in tinderbox environment. Any ideas? Regards, Rong-En Fan From owner-freebsd-current@FreeBSD.ORG Tue May 22 02:38:43 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79B5716A400; Tue, 22 May 2007 02:38:43 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 11E5713C447; Tue, 22 May 2007 02:38:43 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id D5F51EB1678; Tue, 22 May 2007 10:38:41 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 1veluHD0yX+K; Tue, 22 May 2007 10:38:39 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 71D8EEB08DF; Tue, 22 May 2007 10:38:27 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=NJzTz6HQ8CKPhXg6UQSfjhNYp9GL3GK6yFUYm3Njqw8iH9uPSwe/1CmY/IQztXNUu vqKYHHA/sbYsTAZaCAWog== Message-ID: <4652579B.4080209@delphij.net> Date: Tue, 22 May 2007 10:38:19 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Rong-en Fan References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> In-Reply-To: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig7E596A533982CFEBCC78B8C1" Cc: ports@freebsd.org, current@freebsd.org, miwi@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 02:38:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E596A533982CFEBCC78B8C1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Rong-en Fan wrote: > After upgrading tinderbox's jail to latest -current, > miwi@ and I see this "bad system call (core dumped)" > while building devel/glib20. My log is at >=20 > http://www.rafan.org/tb/errors/7-FreeBSD/glib-2.12.12_2.log >=20 > My tinderbox is running on 6.2-RELEASE. Not sure about > miwi@'s but I think they are 6.x. I think it's related to recent > changes in current and may only happen in tinderbox environment. Is the jailed environment 32-bit running in a 64-bit host? Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig7E596A533982CFEBCC78B8C1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGUlebOfuToMruuMARCr7wAJ43rOb2vINFvNUeudXO1vkMEJfUTgCeJEnH rHPcm2O9BWlprUAIpVXZEPY= =Wv4o -----END PGP SIGNATURE----- --------------enig7E596A533982CFEBCC78B8C1-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 02:54:53 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADB6716A474 for ; Tue, 22 May 2007 02:54:53 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5A813C484 for ; Tue, 22 May 2007 02:54:53 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2456914nze for ; Mon, 21 May 2007 19:54:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eFAzC5cAbJLebqeduxkRYkB0i3QdLVn5G3yjDpRZQkR3II+BM2gMA3z390E2+mWaBPA2fOwe85WVb35dXNPgshZ1qWEcZqy9xlwW3q+YRF07+6OlA/nr9wexbgZT2Iwwyq3+NvHpd1RFibOZJvf1MTOI2wsWb0H+dvJY5m7a+VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pHnCuDZnR+Syzwp2gE0H79QkgIWobR5v5NR3nPLCaTqgU/tDEvPGbpQjWlvh/xkgr5EPrm3Ikj7pleNkMzEvCFfaqTeG+SM1/BKuk13rLKExVRGSz6ny1oOSW5nlnA1+7LGnxTwUgUK8Y6yAk4sDXYugTvqrbyAfRhlSaJI4lGg= Received: by 10.64.148.8 with SMTP id v8mr12120853qbd.1179802491614; Mon, 21 May 2007 19:54:51 -0700 (PDT) Received: by 10.64.193.13 with HTTP; Mon, 21 May 2007 19:54:51 -0700 (PDT) Message-ID: <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> Date: Tue, 22 May 2007 10:54:51 +0800 From: "Rong-en Fan" To: "LI Xin" In-Reply-To: <4652579B.4080209@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> Cc: ports@freebsd.org, current@freebsd.org, miwi@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 02:54:53 -0000 On 5/22/07, LI Xin wrote: > Rong-en Fan wrote: > > After upgrading tinderbox's jail to latest -current, > > miwi@ and I see this "bad system call (core dumped)" > > while building devel/glib20. My log is at > > > > http://www.rafan.org/tb/errors/7-FreeBSD/glib-2.12.12_2.log > > > > My tinderbox is running on 6.2-RELEASE. Not sure about > > miwi@'s but I think they are 6.x. I think it's related to recent > > changes in current and may only happen in tinderbox environment. > > Is the jailed environment 32-bit running in a 64-bit host? No, the host is running i386. Regards, Rong-En Fan > Cheers, > -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > > > From owner-freebsd-current@FreeBSD.ORG Tue May 22 03:56:46 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D300616A41F; Tue, 22 May 2007 03:56:46 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5FF13C448; Tue, 22 May 2007 03:56:46 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4M3ueiX040081; Mon, 21 May 2007 23:56:40 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: LI Xin In-Reply-To: <4652579B.4080209@delphij.net> References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1sxM7tlM/X1d6n0pfbkb" Organization: MarcusCom, Inc. Date: Mon, 21 May 2007 23:56:24 -0400 Message-Id: <1179806184.61392.72.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: ports@freebsd.org, Rong-en Fan , current@freebsd.org, miwi@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 03:56:46 -0000 --=-1sxM7tlM/X1d6n0pfbkb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-05-22 at 10:38 +0800, LI Xin wrote: > Rong-en Fan wrote: > > After upgrading tinderbox's jail to latest -current, > > miwi@ and I see this "bad system call (core dumped)" > > while building devel/glib20. My log is at > >=20 > > http://www.rafan.org/tb/errors/7-FreeBSD/glib-2.12.12_2.log > >=20 > > My tinderbox is running on 6.2-RELEASE. Not sure about > > miwi@'s but I think they are 6.x. I think it's related to recent > > changes in current and may only happen in tinderbox environment. >=20 > Is the jailed environment 32-bit running in a 64-bit host? Also note that this is not a true jail, but rather a chroot. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-1sxM7tlM/X1d6n0pfbkb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGUmnmb2iPiv4Uz4cRAvGsAJ0YvvGv3bBlfz/jQlzxOs32GjDkywCeK9rG hK3TXfer6my90obE9GdEJps= =g14e -----END PGP SIGNATURE----- --=-1sxM7tlM/X1d6n0pfbkb-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 03:57:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEAAC16A480 for ; Tue, 22 May 2007 03:57:12 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8B713C44C for ; Tue, 22 May 2007 03:57:12 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (121-72-69-144.dsl.telstraclear.net [121.72.69.144]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JIF009HICBAZC20@smtp5.clear.net.nz> for freebsd-current@freebsd.org; Tue, 22 May 2007 15:57:11 +1200 (NZST) Date: Tue, 22 May 2007 15:56:52 +1200 From: Mark Kirkwood In-reply-to: <465231CC.7040503@paradise.net.nz> To: freebsd-current@freebsd.org Message-id: <46526A04.4020001@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <46521413.9070403@paradise.net.nz> <465231CC.7040503@paradise.net.nz> User-Agent: Thunderbird 1.5.0.10 (X11/20070313) Subject: Re: Xorg upgrade deps 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: Tue, 22 May 2007 03:57:12 -0000 Mark Kirkwood wrote: > Mark Kirkwood wrote: >> Hi, >> >> I'm part way though the xorg 7.2 upgrade (following procedure in >> UPDATING) and have done: >> >> $ portupgrade -Rf libXft >> >> which seems to have completed ok. However when I do the next step: >> >> $ portupgrade -a >> >> I get: >> >> Stale dependency: Xaw3d-1.5E_1 --> xorg-libraries-6.9.0_1 -- manually >> run 'pkgdb -F' to fix, or specify -O to force. >> (...and other packages that depend on xorg-libraries) >> >> Now at this point I have no idea what to replace the stale dependency >> with....obviously *one* or more of the new modularized libs. I guess >> for Xaw3d it might depend on only libXaw-1.0.2, but there are others >> (say java stuff) for which its not obvious. >> >> What did other folks do at this stage? >> > > Thinking on this a little, I'm guessing that leaving the stale > dependency is the way to go, as xorg-libraries meta port is not > registered (yet?). > > ... not thinking enough, this just gets me back to portupgrade failing with stale dependencies again. So back to being stuck :-(, or is being brave and using -O to pkgdb (or portupgrade) an option? thanks Mark From owner-freebsd-current@FreeBSD.ORG Tue May 22 04:54:29 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8913B16A400 for ; Tue, 22 May 2007 04:54:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id 3CB8813C46A for ; Tue, 22 May 2007 04:54:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HqMOB-0009nu-1M; Tue, 22 May 2007 08:54:27 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HqMPL-000Beb-IG; Tue, 22 May 2007 08:55:39 +0400 To: "adam radford" References: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> <4641542A.7030203@samsco.org> <11042281@srv.sem.ipt.ru> From: Boris Samorodov Date: Tue, 22 May 2007 08:55:39 +0400 In-Reply-To: (adam radford's message of "Mon\, 21 May 2007 15\:37\:37 -0700") Message-ID: <57412004@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org Subject: Re: [Boris Samorodov] Re: Functional RAID controller? 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: Tue, 22 May 2007 04:54:29 -0000 Adam, On Mon, 21 May 2007 15:37:37 -0700 you wrote: > This should be fixed with the latest patch I sent to Scott Long to > turn off deferred > interrupt handling in the twa driver. CVS up until you get twa driver > v3.70.03.007. Got, thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-current@FreeBSD.ORG Tue May 22 05:03:09 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 174B316A468; Tue, 22 May 2007 05:03:09 +0000 (UTC) (envelope-from miwi@bsdcrew.de) Received: from bsdcrew.de (duro.unixfreunde.de [85.214.90.4]) by mx1.freebsd.org (Postfix) with ESMTP id D2BDD13C43E; Tue, 22 May 2007 05:03:08 +0000 (UTC) (envelope-from miwi@bsdcrew.de) Received: by bsdcrew.de (Postfix, from userid 1001) id 8376D4E795; Tue, 22 May 2007 06:36:37 +0200 (CEST) Date: Tue, 22 May 2007 06:36:37 +0200 From: Martin Wilke To: Rong-en Fan Message-ID: <20070522043637.GA65742@bsdcrew.de> References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: ports@freebsd.org, LI Xin , current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 05:03:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, May 22, 2007 at 10:54:51AM +0800, Rong-en Fan wrote: > On 5/22/07, LI Xin wrote: > > Rong-en Fan wrote: > > > After upgrading tinderbox's jail to latest -current, > > > miwi@ and I see this "bad system call (core dumped)" > > > while building devel/glib20. My log is at > > > > > > http://www.rafan.org/tb/errors/7-FreeBSD/glib-2.12.12_2.log > > > > > > My tinderbox is running on 6.2-RELEASE. Not sure about > > > miwi@'s but I think they are 6.x. I think it's related to recent > > > changes in current and may only happen in tinderbox environment. > > > > Is the jailed environment 32-bit running in a 64-bit host? > > No, the host is running i386. Same here host is 386. > > Regards, > Rong-En Fan > > > Cheers, > > -- > > Xin LI http://www.delphij.net/ > > FreeBSD - The Power to Serve! > > > > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" - -- - ---------------------------------------------------- | Martin Wilke | irc.unixfreunde.de #bsd | | miwi@FreeBSD.org | miwi@bsdcrew.de | | FreeBSD Committer | Power to Serve | - ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGUnNUFwpycAVoI1MRAvyMAJ406rlA9z9IOqou/4Df/z/SOQhNdwCfReME OQioJdcrEuJ1YJ4n6UhHfr0= =zlgU -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Tue May 22 05:04:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2663A16A479 for ; Tue, 22 May 2007 05:04:09 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id E111013C45B for ; Tue, 22 May 2007 05:04:08 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=c93/Nc95uLPoUkSJMCqkyMSkQPnS0WCl3ueX7v/KPyhFVGiptUwtLMWUIgX0mJ0wSw5p9ZQZORDgyUM2TWQ9z3rhNN63dLVt1TrAwfFgBoBfCZvG6MtWNQHJ0xp6gyfs3vfn9qXcraGM/qxGkNYvm7PUav++Bbd04V2pF2wiBpjwXCGY7SJKgg5jJo0PvIcXsF//IKW1pAaP3Npax1NhJ2YQ1ywbnW72Bget9TkgvBh8p0vFjDA3Jdy28Th3FQ+G; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HqMXY-0000g2-9b; Tue, 22 May 2007 05:04:08 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HqMWj-0000m1-1g; Tue, 22 May 2007 05:03:17 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqMWi-0000Tk-2X; Tue, 22 May 2007 07:03:16 +0200 To: Sten Spans From: Ian FREISLICH In-Reply-To: Message from Sten Spans of "Tue, 22 May 2007 00:21:36 +0200." X-Attribution: BOFH Date: Tue, 22 May 2007 07:03:16 +0200 Message-Id: Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 05:04:09 -0000 Sten Spans wrote: > On Mon, 21 May 2007, Ian FREISLICH wrote: > > > Hi > > > > We've noticed an issue on our firewalls where the first em device > > in the system hijacks inbound port 623 tcp and udp. The OS never > > sees this traffic. Interestingly, em1 and em2 do not appear to be > > afflicted by this problem. Some reading I've done points to a > > similar conclusion: > > > > http://blogs.sun.com/shepler/entry/port_623_or_the_mount > > > > I've looked at the bios, but I can't find any settings that remotely > > hint IPMI or RMCP+ or serial-over-lan. > > > > Does anyone know how I can stop the card or system from stealing > > port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? > > Does "ifconfig em0 promisc" help ? > That fixed firmware related vanishing ipv6 packets on fxp and em. They are already in promiscuous mode due to carp. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue May 22 05:20:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40AC116A47B for ; Tue, 22 May 2007 05:20:11 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA0D13C4B8 for ; Tue, 22 May 2007 05:20:10 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=EEMIgeAy/raUdluTgcRi37nPpFhouNmzSo96D6j2AANiQhsuo5yKicYpFpP0Ah7plaFeDEGnD5yu/wdANNvIcpVxtGFvlhPF0t2jOZU6vemLHkKNMIbJbBIqrO1UbhLxFyu26IUk4BdBdXl6jDKMxJCWmNpcEqxLFkohujuJMcodmSBoT87HQuc2RK7C2Wcq+WpDnQ8i2/Z+G7iv1Nw+HZfOL2QPbjGEQ6EQcFimFV55lhM+QoilTBMiEWSecB/Y; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HqMn2-0001n5-Jw; Tue, 22 May 2007 05:20:08 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HqMm8-0000qQ-7O; Tue, 22 May 2007 05:19:12 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqMm7-0000V4-AL; Tue, 22 May 2007 07:19:11 +0200 To: "Jack Vogel" From: Ian FREISLICH In-Reply-To: Message from "Jack Vogel" of "Mon, 21 May 2007 16:17:07 MST." <2a41acea0705211617p17f74964oabdc88564376ada3@mail.gmail.com> X-Attribution: BOFH Date: Tue, 22 May 2007 07:19:11 +0200 Message-Id: Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 05:20:11 -0000 "Jack Vogel" wrote: > On 5/21/07, Sten Spans wrote: > > On Mon, 21 May 2007, Ian FREISLICH wrote: > > > I've looked at the bios, but I can't find any settings that remotely > > > hint IPMI or RMCP+ or serial-over-lan. > > > > > > Does anyone know how I can stop the card or system from stealing > > > port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? > > > > Does "ifconfig em0 promisc" help ? > > That fixed firmware related vanishing ipv6 packets on fxp and em. > > Is this happening even with the latest CURRENT driver, there is code in > it now that is supposed to stop the firmware from doing that, at least > that was the theory :) No, it's a March 6 current. How safe is it to just update the sys/dev/em directory and recompile? Quite a lot has changed in CURRENT since then and I don't want to update everything on these servers just yet. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue May 22 05:55:27 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FA6416A421 for ; Tue, 22 May 2007 05:55:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 204ED13C43E for ; Tue, 22 May 2007 05:55:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4M5tQ0Y018447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 May 2007 22:55:26 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4M5tPC9019304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 21 May 2007 22:55:26 -0700 Message-ID: <465285CC.2050309@u.washington.edu> Date: Mon, 21 May 2007 22:55:24 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Mark Kirkwood References: <46521413.9070403@paradise.net.nz> <465231CC.7040503@paradise.net.nz> <46526A04.4020001@paradise.net.nz> In-Reply-To: <46526A04.4020001@paradise.net.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.21.223837 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-current@freebsd.org Subject: Re: Xorg upgrade deps 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: Tue, 22 May 2007 05:55:27 -0000 Mark Kirkwood wrote: > Mark Kirkwood wrote: >> Mark Kirkwood wrote: >>> Hi, >>> >>> I'm part way though the xorg 7.2 upgrade (following procedure in >>> UPDATING) and have done: >>> >>> $ portupgrade -Rf libXft >>> >>> which seems to have completed ok. However when I do the next step: >>> >>> $ portupgrade -a >>> >>> I get: >>> >>> Stale dependency: Xaw3d-1.5E_1 --> xorg-libraries-6.9.0_1 -- manually >>> run 'pkgdb -F' to fix, or specify -O to force. >>> (...and other packages that depend on xorg-libraries) >>> >>> Now at this point I have no idea what to replace the stale dependency >>> with....obviously *one* or more of the new modularized libs. I guess >>> for Xaw3d it might depend on only libXaw-1.0.2, but there are others >>> (say java stuff) for which its not obvious. >>> >>> What did other folks do at this stage? >>> >> >> Thinking on this a little, I'm guessing that leaving the stale >> dependency is the way to go, as xorg-libraries meta port is not >> registered (yet?). >> >> > > ... not thinking enough, this just gets me back to portupgrade failing > with stale dependencies again. So back to being stuck :-(, or is being > brave and using -O to pkgdb (or portupgrade) an option? > > thanks > > Mark Just go to the directory, run make clean deinstall reinstall. That will solve your problems. -Garrett From owner-freebsd-current@FreeBSD.ORG Tue May 22 06:08:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FA2316A468 for ; Tue, 22 May 2007 06:08:47 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (lab.alexdupre.com [81.174.31.42]) by mx1.freebsd.org (Postfix) with ESMTP id AF37113C4AD for ; Tue, 22 May 2007 06:08:46 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 50183 invoked from network); 22 May 2007 06:08:45 -0000 Received: from unknown (HELO athlon.alexdupre.com) (192.168.178.2) by lab.alexdupre.com with SMTP; 22 May 2007 06:08:45 -0000 Message-ID: <465288EC.7030301@FreeBSD.org> Date: Tue, 22 May 2007 08:08:44 +0200 From: Alex Dupre User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <200705202254.45347.jonathan@fosburgh.org> <20070521011217.O44264@volatile.chemikals.org> <863b1qrz11.fsf@dwp.des.no> In-Reply-To: <863b1qrz11.fsf@dwp.des.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: Problem compiling xorg-server{-snap} on recent -CURRENT 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: Tue, 22 May 2007 06:08:47 -0000 Dag-Erling Smørgrav wrote: >> My build of xorg-server died. The box ran out of swap space. I have >> 512M RAM + 1G swap. Someone please tell me this is a glitch in the new >> gcc. I don't want to add ram just to be able to compile a simple >> program. :) > > The quick fix is to build at a lower optimization level. Advanced > optimizations can be very memory-consuming, especially when compiling > unusually large source files, or source files which contain unusually > large functions. I confirm the issue and the fix with latest -CURRENT (gcc 4.2 and symbol versioning). I have less RAM and swap than Michiel, and 800MB of total memory are not enough to build xf86scanpci.c with default CFLAGS (and even with less aggressive -O). I had to remove completely the optimization flag, but only for this single source file, all the rest can be compiled with -O2. -- Alex Dupre From owner-freebsd-current@FreeBSD.ORG Tue May 22 06:09:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 254FB16A41F for ; Tue, 22 May 2007 06:09:09 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id E34E613C48C for ; Tue, 22 May 2007 06:09:08 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=SFstg/bKcI6OX9ISmunY9YfPujfW6PXbRgCPD51821UkhRpRdjgraU066SZQFymjEDRKbtt0W+wNYmUkTMXr/dKap+13YtgCe+ivunJ2yIfZeG+sAFOSwpTjmpY8gbr0Dk59Lgri/OWBJQ8Ypb2lwrTM5xzPfLNgKYmyB5Y7U9+88WJ50fxUwB4D8asdEpmYU1PuT7AlMCZeZcc6/Zxvxththq2Yt4lMdzVHgTQaEyj46257ZUE65EoQDUlOl38+; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HqNYS-0005Ni-1r; Tue, 22 May 2007 06:09:08 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HqNYG-00014D-6S; Tue, 22 May 2007 06:08:56 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqNYF-0000aO-8h; Tue, 22 May 2007 08:08:55 +0200 To: "Jack Vogel" , freebsd-current@freebsd.org From: Ian FREISLICH In-Reply-To: Message from Ian FREISLICH of "Tue, 22 May 2007 07:19:11 +0200." X-Attribution: BOFH Date: Tue, 22 May 2007 08:08:55 +0200 Message-Id: Cc: Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 06:09:09 -0000 Ian FREISLICH wrote: > "Jack Vogel" wrote: > > On 5/21/07, Sten Spans wrote: > > > On Mon, 21 May 2007, Ian FREISLICH wrote: > > > > I've looked at the bios, but I can't find any settings that remotely > > > > hint IPMI or RMCP+ or serial-over-lan. > > > > > > > > Does anyone know how I can stop the card or system from stealing > > > > port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? > > > > > > Does "ifconfig em0 promisc" help ? > > > That fixed firmware related vanishing ipv6 packets on fxp and em. > > > > Is this happening even with the latest CURRENT driver, there is code in > > it now that is supposed to stop the firmware from doing that, at least > > that was the theory :) > > No, it's a March 6 current. How safe is it to just update the > sys/dev/em directory and recompile? Quite a lot has changed in > CURRENT since then and I don't want to update everything on these > servers just yet. Looking at the new source, I'm not sure it will stop this adaptor gobbling port 623. It's a 82546EB, e1000_82546_rev_3 e1000_mac_type. In em_init_manageability(), it looks like it's only disabled for e1000_mac_type >= e1000_82571 which excludes this adaptor: /* enable receiving management packets to the host */ if (adapter->hw.mac.type >= e1000_82571) { manc |= E1000_MANC_EN_MNG2HOST; #define E1000_MNG2HOST_PORT_623 (1 << 5) #define E1000_MNG2HOST_PORT_664 (1 << 6) manc2h |= E1000_MNG2HOST_PORT_623; manc2h |= E1000_MNG2HOST_PORT_664; E1000_WRITE_REG(&adapter->hw, E1000_MANC2H, manc2h); } I'll give the driver a whirl anyway. If it doesn't, is it safe to write 'manc |= E1000_MANC_EN_MNG2HOST' for adapter->hw.mac.type >= e1000_82546? Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue May 22 06:30:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF03216A421 for ; Tue, 22 May 2007 06:30:51 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id BCDF513C45B for ; Tue, 22 May 2007 06:30:51 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (121-72-69-144.dsl.telstraclear.net [121.72.69.144]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JIF00KS1JFECP00@smtp3.clear.net.nz> for freebsd-current@freebsd.org; Tue, 22 May 2007 18:30:50 +1200 (NZST) Date: Tue, 22 May 2007 18:30:31 +1200 From: Mark Kirkwood In-reply-to: <465285CC.2050309@u.washington.edu> To: Garrett Cooper Message-id: <46528E07.8000106@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <46521413.9070403@paradise.net.nz> <465231CC.7040503@paradise.net.nz> <46526A04.4020001@paradise.net.nz> <465285CC.2050309@u.washington.edu> User-Agent: Thunderbird 1.5.0.10 (X11/20070313) Cc: freebsd-current@freebsd.org Subject: Re: Xorg upgrade deps 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: Tue, 22 May 2007 06:30:52 -0000 Garrett Cooper wrote: > Mark Kirkwood wrote: >> ... not thinking enough, this just gets me back to portupgrade failing >> with stale dependencies again. So back to being stuck :-(, or is being >> brave and using -O to pkgdb (or portupgrade) an option? >> >> thanks >> >> Mark > > Just go to the directory, run make clean deinstall reinstall. That will > solve your problems. Ah - excellent. Yep sure does. I needed to run pkgdb -F again, but this time it worked things out for itself (irrelevant dependency - deleted!). Much appreciated, thanks! Mark From owner-freebsd-current@FreeBSD.ORG Tue May 22 06:41:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 669A216A468 for ; Tue, 22 May 2007 06:41:53 +0000 (UTC) (envelope-from nkalev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3A713C4AE for ; Tue, 22 May 2007 06:41:53 +0000 (UTC) (envelope-from nkalev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1745312wxc for ; Mon, 21 May 2007 23:41:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=a+6MeTycj4ZvCvuf91k6iLMR9bFa6yKHrHg/iTFC06YO2VukeD5P+wBJSYw0p+r8REs857TMCw1CCfq+mYer5WvadyvzWXCT49X6Wm7PwpN/vqqlmEMH5TO12ZM8lr4PVgDDPFOr/p6oL1I0TB7nw10vqghGyIG82TVv+7TrpT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DJtYTWlat4YzeEQOlO0XFImmqsYyBbnls4qWxrfUWX0Vyf3XpsWh8nHXN+ss3Uzdf73S7KtGLAeCOumZgKiKYNzCIdzU+C0gy4rXBNXE6OxtYpYdz4W2pD0NeKBc0s1w3mLRYjWUIw9BWVcV71mOY8CggUcBTrh6xhKJZshTOpY= Received: by 10.70.13.1 with SMTP id 1mr8513542wxm.1179816112453; Mon, 21 May 2007 23:41:52 -0700 (PDT) Received: by 10.70.40.3 with HTTP; Mon, 21 May 2007 23:41:52 -0700 (PDT) Message-ID: <136a340a0705212341t5429c570yda976cf2130170e3@mail.gmail.com> Date: Tue, 22 May 2007 14:41:52 +0800 From: "Nikolay Kalev" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: PDF BSDcan2007 request ? 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: Tue, 22 May 2007 06:41:53 -0000 Can you guys release all of the pdf presentations from the BSDcan 2007 there are realy some interesting documents which i'm sure a lot of people will be interested in? -- Key fingerprint = 1932 68D3 AC9D D5BE 8717 AA5E C272 B46C 42BC 6DC2 From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:16:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0F4316A473 for ; Tue, 22 May 2007 07:16:11 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 4C87C13C465 for ; Tue, 22 May 2007 07:16:10 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 22 May 2007 07:16:09 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp051) with SMTP; 22 May 2007 09:16:09 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/muZo8rP7mGRcPC0Jjh2EVT3vd5rSMfBq7IdEFWD jJiwjZHxcBPpcj From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Tue, 22 May 2007 09:16:07 +0200 User-Agent: KMail/1.9.6 References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070521201817.GB1380@zaphod.nitro.dk> In-Reply-To: <20070521201817.GB1380@zaphod.nitro.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705220916.07976.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: freebsd-current@freebsd.org, "Simon L. Nielsen" Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Tue, 22 May 2007 07:16:12 -0000 On Monday 21 May 2007 22:18:18 Simon L. Nielsen wrote: > On 2007.05.20 02:27:22 -0400, Alexander Kabaev wrote: > > there were several reports of OpenSSL being broken when compiled with > > GCC 4.2. It turns out OpenSSL uses function casting feature that was > > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > > invalid instructions ON PURPOSE to discourage the practice. > > "Interesting" choice - oh well. > > > Consequently, OpenSSL need the patch similar to attached one to work. > > Just in case mailing list will eat the attachment, the patch can be > > found at > > > > http://people.freebsd.org/~kan/openssl-gcc42.diff ... > I haven't seen enough reports of this patch working to be really > comfortable committing the patch without having had a chance to try it > myself. > > Other people who try this patch please report any success/failure. > Success can also just be reported in private mail. After applying the patch, konqueror with https no longer causes SIGILL. From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:16:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0788B16A474 for ; Tue, 22 May 2007 07:16:12 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 57A6213C468 for ; Tue, 22 May 2007 07:16:10 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 22 May 2007 07:16:09 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp051) with SMTP; 22 May 2007 09:16:09 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/muZo8rP7mGRcPC0Jjh2EVT3vd5rSMfBq7IdEFWD jJiwjZHxcBPpcj From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Tue, 22 May 2007 09:16:07 +0200 User-Agent: KMail/1.9.6 References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070521201817.GB1380@zaphod.nitro.dk> In-Reply-To: <20070521201817.GB1380@zaphod.nitro.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705220916.07976.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: freebsd-current@freebsd.org, "Simon L. Nielsen" Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Tue, 22 May 2007 07:16:12 -0000 On Monday 21 May 2007 22:18:18 Simon L. Nielsen wrote: > On 2007.05.20 02:27:22 -0400, Alexander Kabaev wrote: > > there were several reports of OpenSSL being broken when compiled with > > GCC 4.2. It turns out OpenSSL uses function casting feature that was > > aggressively de-supported by GCC 4.2 and GCC goes as far as inserting > > invalid instructions ON PURPOSE to discourage the practice. > > "Interesting" choice - oh well. > > > Consequently, OpenSSL need the patch similar to attached one to work. > > Just in case mailing list will eat the attachment, the patch can be > > found at > > > > http://people.freebsd.org/~kan/openssl-gcc42.diff ... > I haven't seen enough reports of this patch working to be really > comfortable committing the patch without having had a chance to try it > myself. > > Other people who try this patch please report any success/failure. > Success can also just be reported in private mail. After applying the patch, konqueror with https no longer causes SIGILL. From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:21:16 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F26A16A468; Tue, 22 May 2007 07:21:16 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2B80013C448; Tue, 22 May 2007 07:21:16 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 22F8E1A3C19; Tue, 22 May 2007 00:22:15 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 42E83536DF; Tue, 22 May 2007 03:21:15 -0400 (EDT) Date: Tue, 22 May 2007 03:21:15 -0400 From: Kris Kennaway To: Martin Wilke Message-ID: <20070522072115.GC59910@xor.obsecurity.org> References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20070522043637.GA65742@bsdcrew.de> User-Agent: Mutt/1.4.2.2i Cc: ports@freebsd.org, LI Xin , Rong-en Fan , current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 07:21:16 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 06:36:37AM +0200, Martin Wilke wrote: > On Tue, May 22, 2007 at 10:54:51AM +0800, Rong-en Fan wrote: > > On 5/22/07, LI Xin wrote: > > > Rong-en Fan wrote: > > > > After upgrading tinderbox's jail to latest -current, > > > > miwi@ and I see this "bad system call (core dumped)" > > > > while building devel/glib20. My log is at > > > > > > > > http://www.rafan.org/tb/errors/7-FreeBSD/glib-2.12.12_2.log > > > > > > > > My tinderbox is running on 6.2-RELEASE. Not sure about > > > > miwi@'s but I think they are 6.x. I think it's related to recent > > > > changes in current and may only happen in tinderbox environment. > > > > > > Is the jailed environment 32-bit running in a 64-bit host? > >=20 > > No, the host is running i386. >=20 > Same here host is 386. You can't run FreeBSD N.x binaries on FreeBSD M.x where M < N. Sometimes it works by accident, until it stops working. The change here was probably libthr being used by default. Kris --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUpnqWry0BWjoQKURAr/qAJ91vqlePda9Xa01ecRegVk4W0EB1gCgrIkD hy2Zql5KBbywcwQa1W+twIw= =wHwN -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:31:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 304EF16A400; Tue, 22 May 2007 07:31:16 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.103]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4FC13C487; Tue, 22 May 2007 07:31:15 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-av-04.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-02.forthnet.gr (8.14.0/8.14.0) with ESMTP id l4M7VDDn011019; Tue, 22 May 2007 10:31:13 +0300 Received: from MX-IN-04.forthnet.gr (mx-in-04.forthnet.gr [193.92.150.163]) by mx-av-04.forthnet.gr (8.14.1/8.14.1) with ESMTP id l4M7VD41021961; Tue, 22 May 2007 10:31:13 +0300 Received: from [192.168.136.22] (ppp125-70.adsl.forthnet.gr [193.92.232.70]) by MX-IN-04.forthnet.gr (8.14.1/8.14.1) with ESMTP id l4M7V5Dp032661; Tue, 22 May 2007 10:31:06 +0300 Authentication-Results: MX-IN-04.forthnet.gr from=dds@aueb.gr; sender-id=neutral; spf=neutral Message-ID: <46529C30.2090906@aueb.gr> Date: Tue, 22 May 2007 10:30:56 +0300 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org References: <461958CC.4040804@aueb.gr> <20070414170218.M76326@fledge.watson.org> <4621E826.6050306@aueb.gr> <20070415105157.J84174@fledge.watson.org> <46231C64.9010707@aueb.gr> <20070419101815.Y2913@fledge.watson.org> <4627A6C3.2070409@aueb.gr> <20070419212253.L2913@fledge.watson.org> <4627E311.6080500@aueb.gr> <463B581E.6070804@aueb.gr> In-Reply-To: <463B581E.6070804@aueb.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Process accounting changes 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: Tue, 22 May 2007 07:31:16 -0000 The accounting changes discussed in arch@ about a month ago are now part of the CURRENT tree. The changes increase the precision of the time values stored in acct(5) from 15ms (which for most commands was too large) to 1 microsecond. The userland programs sa(8) and lastcomm(1) provide backward compatibility with existing record and file formats (including accounting files including both old and new records); regression tests are included to verify this. The changes have been tested on i386, amd64, and (partly) sparc64; please drop me an email if you suspect a problem with your particular setup. Many thanks to Garance A Drosehn, Bruce Evans, Peter Jeremy, Poul-Henning Kamp, Sam Leffler, Rick C. Petty, Erik Trulsson, and Robert Watson for their earlier comments; to Eric Anderson, Carl Johan Gustavsson, Larry Rosenman, and Derek Tattersall for responding to my hackers@ request with test data, and especially to Larry Rosenman for arranging access to an additional test machine. Diomidis Spinellis - http://www.spinellis.gr From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:43:57 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 450F416A468 for ; Tue, 22 May 2007 07:43:57 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.freebsd.org (Postfix) with ESMTP id 0C89213C45B for ; Tue, 22 May 2007 07:43:57 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 09FC81CC8A; Tue, 22 May 2007 09:25:45 +0200 (CEST) Date: Tue, 22 May 2007 09:25:45 +0200 From: Erwin Lansing To: ports@freebsd.org, current@freebsd.org Message-ID: <20070522072545.GQ71905@droso.net> Mail-Followup-To: ports@freebsd.org, current@freebsd.org References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dXvu6+ixFx2ZffE8" Content-Disposition: inline In-Reply-To: <20070522072115.GC59910@xor.obsecurity.org> X-Operating-System: FreeBSD/i386 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 07:43:57 -0000 --dXvu6+ixFx2ZffE8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 03:21:15AM -0400, Kris Kennaway wrote: >=20 > You can't run FreeBSD N.x binaries on FreeBSD M.x where M < N. >=20 > Sometimes it works by accident, until it stops working. The change > here was probably libthr being used by default. >=20 Another reason for to run -CURRENT and eat some more dogfood :-) -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --dXvu6+ixFx2ZffE8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUpr5qy9aWxUlaZARAnzGAKDFBYd0ZuHxuf9iKnsaLDFWWQ70wQCguTFY wnuyhSoXXV6CgFPhgNy+28k= =CDQZ -----END PGP SIGNATURE----- --dXvu6+ixFx2ZffE8-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:49:27 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55CEF16A41F for ; Tue, 22 May 2007 07:49:27 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1729813C48C for ; Tue, 22 May 2007 07:49:26 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1524730wra for ; Tue, 22 May 2007 00:49:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hsM9p+S5InikBdRw0R3Sorejy5Mzes/IlepcWRYufCHatiEa87rh1xIEE/klDsZ2SHxpG24MM6TiHIxxRU13hfyetUxCudoa19JsWCDIaT3efsKXprC04ldLy6Bo3AZ0lrZrxA0qI96I/Sk0bSzjGqbEwqNH+dt9elIcE+wU4kA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BTxgvspj5Dfwnq6arfrqLFzPeIbU6PcUcyNYyhwE3WRUUT282zvi9VmWQxS6UwgHJAT58H+6Wo20yaxJeuft7iMeX7KPFxwL2Cv6Tp4Pl6twMK/j2eicYJP8il4b/AwE6+jj/xMi4XXoaN0FcQCxUCqOwKFPEfuchJQB6kKQ2YY= Received: by 10.115.60.1 with SMTP id n1mr3176281wak.1179820166134; Tue, 22 May 2007 00:49:26 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 00:49:26 -0700 (PDT) Message-ID: <2a41acea0705220049w32b50fc6m37a2e2fef5c8837e@mail.gmail.com> Date: Tue, 22 May 2007 00:49:26 -0700 From: "Jack Vogel" To: "Ian FREISLICH" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 07:49:27 -0000 On 5/21/07, Ian FREISLICH wrote: > Ian FREISLICH wrote: > > "Jack Vogel" wrote: > > > On 5/21/07, Sten Spans wrote: > > > > On Mon, 21 May 2007, Ian FREISLICH wrote: > > > > > I've looked at the bios, but I can't find any settings that remotely > > > > > hint IPMI or RMCP+ or serial-over-lan. > > > > > > > > > > Does anyone know how I can stop the card or system from stealing > > > > > port 623 in hardware or must I just stop using em0 (and/or Intel NICS)? > > > > > > > > Does "ifconfig em0 promisc" help ? > > > > That fixed firmware related vanishing ipv6 packets on fxp and em. > > > > > > Is this happening even with the latest CURRENT driver, there is code in > > > it now that is supposed to stop the firmware from doing that, at least > > > that was the theory :) > > > > No, it's a March 6 current. How safe is it to just update the > > sys/dev/em directory and recompile? Quite a lot has changed in > > CURRENT since then and I don't want to update everything on these > > servers just yet. > > Looking at the new source, I'm not sure it will stop this adaptor > gobbling port 623. It's a 82546EB, e1000_82546_rev_3 e1000_mac_type. > In em_init_manageability(), it looks like it's only disabled for > e1000_mac_type >= e1000_82571 which excludes this adaptor: > > /* enable receiving management packets to the host */ > if (adapter->hw.mac.type >= e1000_82571) { > manc |= E1000_MANC_EN_MNG2HOST; > #define E1000_MNG2HOST_PORT_623 (1 << 5) > #define E1000_MNG2HOST_PORT_664 (1 << 6) > manc2h |= E1000_MNG2HOST_PORT_623; > manc2h |= E1000_MNG2HOST_PORT_664; > E1000_WRITE_REG(&adapter->hw, E1000_MANC2H, manc2h); > } > > I'll give the driver a whirl anyway. If it doesn't, is it safe to write > 'manc |= E1000_MANC_EN_MNG2HOST' for adapter->hw.mac.type >= e1000_82546? It may be that register doesnt exist on the earlier adapter, I'm not sure. There is also a system configuration to avoid that port use by the port mapper, although the exact way slips my mind right now. If you can test that would be useful. Jack From owner-freebsd-current@FreeBSD.ORG Tue May 22 08:01:23 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E3F516A469; Tue, 22 May 2007 08:01:23 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1E113C455; Tue, 22 May 2007 08:01:23 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4M81MGU082745; Tue, 22 May 2007 04:01:22 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4M81M15089985; Tue, 22 May 2007 04:01:22 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 4699873068; Tue, 22 May 2007 04:01:22 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070522080122.4699873068@freebsd-current.sentex.ca> Date: Tue, 22 May 2007 04:01:22 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner4 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 08:01:23 -0000 TB --- 2007-05-22 07:00:29 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-22 07:00:29 - starting HEAD tinderbox run for ia64/ia64 TB --- 2007-05-22 07:00:29 - cleaning the object tree TB --- 2007-05-22 07:01:05 - checking out the source tree TB --- 2007-05-22 07:01:05 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2007-05-22 07:01:05 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-22 07:18:38 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-22 07:18:38 - cd /src TB --- 2007-05-22 07:18:38 - /usr/bin/make -B buildworld >>> World build started on Tue May 22 07:18:39 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] mkdep -f .depend -a -DHAVE_ARC4RANDOM -DHAVE_POLL_H /src/usr.sbin/rtsold/rtsold.c /src/usr.sbin/rtsold/rtsol.c /src/usr.sbin/rtsold/if.c /src/usr.sbin/rtsold/probe.c /src/usr.sbin/rtsold/dump.c /src/usr.sbin/rtsold/rtsock.c echo rtsold: /obj/ia64/src/tmp/usr/lib/libc.a /obj/ia64/src/tmp/usr/lib/libkvm.a >> .depend ===> usr.sbin/rwhod (depend) rm -f .depend mkdep -f .depend -a /src/usr.sbin/rwhod/rwhod.c echo rwhod: /obj/ia64/src/tmp/usr/lib/libc.a >> .depend ===> usr.sbin/sa (depend) make: don't know how to make readrec.c. Stop *** Error code 2 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-22 08:01:22 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-22 08:01:22 - ERROR: failed to build world TB --- 2007-05-22 08:01:22 - tinderbox aborted TB --- 0.84 user 2.59 system 3652.65 real http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Tue May 22 08:21:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 777D516A46B for ; Tue, 22 May 2007 08:21:09 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 4219413C4C5 for ; Tue, 22 May 2007 08:21:09 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=p6JvVwMjOd7221QGFJGGtBgYb1dhoi80YaJIkhL68X12LZhhwr0xV7YU5TqK85NDYEkkYEmgPfz15FwbHGmrN925VSpLleOa1q/hhBq/R4uoGic/pgL0PSIXBcUn6ij6ptsu4yE5aeA/Me8ZWsyH+dPOEvqSLBiDhVYSl9WZGqCYE5AxNQEZV1bHZ0FhI1imyTs+Qymbqzhb9htug9Da6vq/b5dLrtY5Bax4RyK2pFwqQHar2cIFktAPpmoJsYA3; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HqPcC-0006aS-EF; Tue, 22 May 2007 08:21:08 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HqPbr-0002YD-T4; Tue, 22 May 2007 08:20:47 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqPbq-0000s8-MQ; Tue, 22 May 2007 10:20:46 +0200 To: "Jack Vogel" From: Ian FREISLICH In-Reply-To: Message from "Jack Vogel" of "Tue, 22 May 2007 00:49:26 MST." <2a41acea0705220049w32b50fc6m37a2e2fef5c8837e@mail.gmail.com> X-Attribution: BOFH Date: Tue, 22 May 2007 10:20:46 +0200 Message-Id: Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 08:21:09 -0000 "Jack Vogel" wrote: > On 5/21/07, Ian FREISLICH wrote: > > Ian FREISLICH wrote: > > > "Jack Vogel" wrote: > > > > On 5/21/07, Sten Spans wrote: > > > > > On Mon, 21 May 2007, Ian FREISLICH wrote: > > > > > > I've looked at the bios, but I can't find any settings that remotel y > > > > > > hint IPMI or RMCP+ or serial-over-lan. > > > > > > > > > > > > Does anyone know how I can stop the card or system from stealing > > > > > > port 623 in hardware or must I just stop using em0 (and/or Intel NI CS)? > > > > > > > > > > Does "ifconfig em0 promisc" help ? > > > > > That fixed firmware related vanishing ipv6 packets on fxp and em. > > > > > > > > Is this happening even with the latest CURRENT driver, there is code i n > > > > it now that is supposed to stop the firmware from doing that, at least > > > > that was the theory :) > > > > > > No, it's a March 6 current. How safe is it to just update the > > > sys/dev/em directory and recompile? Quite a lot has changed in > > > CURRENT since then and I don't want to update everything on these > > > servers just yet. > > > > Looking at the new source, I'm not sure it will stop this adaptor > > gobbling port 623. It's a 82546EB, e1000_82546_rev_3 e1000_mac_type. > > In em_init_manageability(), it looks like it's only disabled for > > e1000_mac_type >= e1000_82571 which excludes this adaptor: > > > > /* enable receiving management packets to the host */ > > if (adapter->hw.mac.type >= e1000_82571) { > > manc |= E1000_MANC_EN_MNG2HOST; > > #define E1000_MNG2HOST_PORT_623 (1 << 5) > > #define E1000_MNG2HOST_PORT_664 (1 << 6) > > manc2h |= E1000_MNG2HOST_PORT_623; > > manc2h |= E1000_MNG2HOST_PORT_664; > > E1000_WRITE_REG(&adapter->hw, E1000_MANC2H, manc2h) ; > > } > > > > I'll give the driver a whirl anyway. If it doesn't, is it safe to write > > 'manc |= E1000_MANC_EN_MNG2HOST' for adapter->hw.mac.type >= e1000_82546? > > It may be that register doesnt exist on the earlier adapter, I'm not sure. > There is also a system configuration to avoid that port use by the port > mapper, although the exact way slips my mind right now. > If you can test that would be useful. Looking at the software developers manual for the chip, the management control word 13h and 23h for lan B and lan A respectively have bits for enabling and disabling filtering ports 623 and 644 (pp. 113,114). I haven't been able to figure out the correlation between the driver source and the manual yet. Maybe the difference will be in the initialization of the chip. Although it looks like it uses left over BIOS settings. I'll start with the new driver and test/work from there. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue May 22 08:31:12 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 680) id 3FF6116A46C; Tue, 22 May 2007 08:31:12 +0000 (UTC) Date: Tue, 22 May 2007 08:31:12 +0000 From: Darren Reed To: Vince Message-ID: <20070522083112.GA5136@hub.freebsd.org> References: <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4651BD6F.5050301@unsane.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@FreeBSD.org, Craig Boston , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Tue, 22 May 2007 08:31:12 -0000 On Mon, May 21, 2007 at 04:40:31PM +0100, Vince wrote: ... > I dont suppose that there are any other tunables people could suggest? I > got a shiny new(well old but new to me) dual opteron board and dual 250 > sata drives and though i'd try putting it in as my home server with > everything but / on zfs since i've had my /usr/ports on my laptop as > compressed zfs since very shortly after it was commited. > After a few kmem_map: too small" panics I re-read this thread and put > vm.kmem_size_max and vm.kmem_size up to 512M and vfs.zfs.arc_min > vfs.zfs.arc_max down to 65 megs. This did get me past "portsnap extract" > but a make buildworld still got me the same panic. vmstat -z showed a > steady growth. This is with a generic -CURRENT from friday. I'm happy to > provide any useful information once I get home and reboot it. Are you running the opterons with a 32 or 64 bit kernel? I set vfs.zfs.arc_max to somewhere between 75% and 80% of vm.kmem_size_max. Darren From owner-freebsd-current@FreeBSD.ORG Tue May 22 08:37:14 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EEC6216A400 for ; Tue, 22 May 2007 08:37:14 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B170813C48A for ; Tue, 22 May 2007 08:37:14 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 320682086; Tue, 22 May 2007 10:37:10 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 9CA142084; Tue, 22 May 2007 10:37:09 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 7BB8D57A1; Tue, 22 May 2007 10:37:09 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ian FREISLICH References: Date: Tue, 22 May 2007 10:37:09 +0200 In-Reply-To: (Ian FREISLICH's message of "Tue\, 22 May 2007 07\:19\:11 +0200") Message-ID: <86zm3xmeyy.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Jack Vogel Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 08:37:15 -0000 Ian FREISLICH writes: > No, it's a March 6 current. How safe is it to just update the > sys/dev/em directory and recompile? Quite a lot has changed in > CURRENT since then and I don't want to update everything on these > servers just yet. Quick workaround: configure inetd to listen to port 623 so rpcbind won't assign these ports to the NFS server. Something like this: asf-rmcp dgram udp nowait root /bin/false false asf-rmcp stream tcp nowait root /bin/false false DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:01:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67C3716A41F; Tue, 22 May 2007 09:01:24 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id BF6CE13C480; Tue, 22 May 2007 09:01:23 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l4M916U7039252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 May 2007 10:01:08 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4652B15D.5060505@unsane.co.uk> Date: Tue, 22 May 2007 10:01:17 +0100 From: Vince User-Agent: Thunderbird 2.0.0.0 (X11/20070516) MIME-Version: 1.0 To: Darren Reed References: <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> In-Reply-To: <20070522083112.GA5136@hub.freebsd.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Craig Boston , freebsd-current@freebsd.org, Pawel Jakub Dawidek , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Tue, 22 May 2007 09:01:24 -0000 Darren Reed wrote: > On Mon, May 21, 2007 at 04:40:31PM +0100, Vince wrote: > ... >> I dont suppose that there are any other tunables people could suggest? I >> got a shiny new(well old but new to me) dual opteron board and dual 250 >> sata drives and though i'd try putting it in as my home server with >> everything but / on zfs since i've had my /usr/ports on my laptop as >> compressed zfs since very shortly after it was commited. >> After a few kmem_map: too small" panics I re-read this thread and put >> vm.kmem_size_max and vm.kmem_size up to 512M and vfs.zfs.arc_min >> vfs.zfs.arc_max down to 65 megs. This did get me past "portsnap extract" >> but a make buildworld still got me the same panic. vmstat -z showed a >> steady growth. This is with a generic -CURRENT from friday. I'm happy to >> provide any useful information once I get home and reboot it. > > Are you running the opterons with a 32 or 64 bit kernel? > > I set vfs.zfs.arc_max to somewhere between 75% and 80% of vm.kmem_size_max. > I'm running i386 more because I had a i386 CD lying around to install from and wont be using more than 3Gigs of RAM, than through informed choice. It looks like setting kern.maxvnodes=50000 has solved it for now. (after almost a day of uptime including building world and adding the 2nd disk to the zfs mirror) [root@crab ~]# vmstat -m | grep sol solaris 188066 139903K - 164899933 16,32,64,128,256,512,1024,2048,4096 I may reinstall at a later date as this is still very much a box to play with, but I gather there is no great gain from going 64 bit other than not having to play with PAE if you've got lots or RAM. Thanks to everyone who made suggestions, Vince > Darren > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:10:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A145E16A469; Tue, 22 May 2007 09:10:00 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id E8CAB13C448; Tue, 22 May 2007 09:09:59 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 958A448801; Tue, 22 May 2007 11:09:58 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 14DA7487F0; Tue, 22 May 2007 11:09:54 +0200 (CEST) Date: Tue, 22 May 2007 11:09:47 +0200 From: Pawel Jakub Dawidek To: Vince Message-ID: <20070522090947.GA3005@garage.freebsd.pl> References: <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <4652B15D.5060505@unsane.co.uk> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Darren Reed , freebsd-fs@freebsd.org, Kris Kennaway , freebsd-current@freebsd.org, Craig Boston Subject: Re: ZFS committed to the FreeBSD base. 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: Tue, 22 May 2007 09:10:00 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 10:01:17AM +0100, Vince wrote: > Darren Reed wrote: > > On Mon, May 21, 2007 at 04:40:31PM +0100, Vince wrote: > > ... > >> I dont suppose that there are any other tunables people could suggest?= I > >> got a shiny new(well old but new to me) dual opteron board and dual 250 > >> sata drives and though i'd try putting it in as my home server with > >> everything but / on zfs since i've had my /usr/ports on my laptop as > >> compressed zfs since very shortly after it was commited. > >> After a few kmem_map: too small" panics I re-read this thread and put > >> vm.kmem_size_max and vm.kmem_size up to 512M and vfs.zfs.arc_min > >> vfs.zfs.arc_max down to 65 megs. This did get me past "portsnap extrac= t" > >> but a make buildworld still got me the same panic. vmstat -z showed a > >> steady growth. This is with a generic -CURRENT from friday. I'm happy = to > >> provide any useful information once I get home and reboot it. > >=20 > > Are you running the opterons with a 32 or 64 bit kernel? > >=20 > > I set vfs.zfs.arc_max to somewhere between 75% and 80% of vm.kmem_size_= max. > >=20 > I'm running i386 more because I had a i386 CD lying around to install > from and wont be using more than 3Gigs of RAM, than through informed > choice. It looks like setting kern.maxvnodes=3D50000 has solved it for = now. >=20 > (after almost a day of uptime including building world and adding the > 2nd disk to the zfs mirror) > [root@crab ~]# vmstat -m | grep sol > solaris 188066 139903K - 164899933 > 16,32,64,128,256,512,1024,2048,4096 >=20 > I may reinstall at a later date as this is still very much a box to play > with, but I gather there is no great gain from going 64 bit other than > not having to play with PAE if you've got lots or RAM. I expect there is a huge difference in performance between i386 and amd64. I'm currently setting up environment to compare ZFS on FreeBSD/i386, FreeBSD/amd64 and Solaris. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUrNbForvXbEpPzQRAjubAKCbBilKQ/6Q//R9DNeB0I8G4oe6uwCg8Pq4 eJKqrg+/FVDZxNjAtg5KqDk= =/RNi -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:14:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 182C716A400 for ; Tue, 22 May 2007 09:14:11 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id D887613C448 for ; Tue, 22 May 2007 09:14:10 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=Et50OrJ4/oOV9B+mfWBCLkRuq/nidQocR45GbIF4r84R11JSvavBo/xFc/RoPuX1oIQj78Nkcu7zFEgkoAQ4uKE7M7a0oU8kNCIACP8Xb59PuaOc3BR9ipHaVWijePtHOYdhH81qCGxz9HfT12LP9so0qdwpPrkJMXfHmElIY7MLCaWcBK9lOd6Oy2LLRR+9t+GS+8sdxUP4DHynj6DLx3YqctxLxLLpczTRrfOPegEvMsdGShw/qtrbEshebuNH; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HqQRU-0002Ex-Eo; Tue, 22 May 2007 09:14:08 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HqQQj-0002sp-Oc; Tue, 22 May 2007 09:13:21 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqQQi-0000yl-ML; Tue, 22 May 2007 11:13:20 +0200 To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= From: Ian FREISLICH In-Reply-To: Message from =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= of "Tue, 22 May 2007 10:37:09 +0200." <86zm3xmeyy.fsf@dwp.des.no> X-Attribution: BOFH Date: Tue, 22 May 2007 11:13:20 +0200 Message-Id: Cc: freebsd-current@freebsd.org, Jack Vogel Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 09:14:11 -0000 =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wrote: > Ian FREISLICH writes: > > No, it's a March 6 current. How safe is it to just update the > > sys/dev/em directory and recompile? Quite a lot has changed in > > CURRENT since then and I don't want to update everything on these > > servers just yet. > > Quick workaround: configure inetd to listen to port 623 so rpcbind > won't assign these ports to the NFS server. Something like this: > > asf-rmcp dgram udp nowait root /bin/false false > asf-rmcp stream tcp nowait root /bin/false false This won't help me. These hosts are routers for several large datacenters. They're blackholing all traffic with a destination port of 623 and probably 664 in hardware. I wouldn't mind so much if it just did it for it's own IP. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:24:41 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C96F016A469; Tue, 22 May 2007 09:24:41 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from unixfreunde.net (unixfreunde.de [85.214.35.254]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE1713C4BB; Tue, 22 May 2007 09:24:41 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from miwi.homeunix.com (dslb-082-083-150-173.pools.arcor-ip.net [82.83.150.173]) by unixfreunde.net (Postfix) with ESMTP id C28D850BEB; Tue, 22 May 2007 11:01:36 +0200 (CEST) Date: Tue, 22 May 2007 12:02:27 +0000 From: Martin Wilke To: Erwin Lansing In-Reply-To: <20070522072545.GQ71905@droso.net> References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) User-Agent: miwi@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 Message-Id: <20070522090136.C28D850BEB@unixfreunde.net> Cc: ports@freebsd.org, current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 09:24:41 -0000 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpPbiBUdWUs IDIyIE1heSAyMDA3IDA5OjI1OjQ1ICswMjAwDQpFcndpbiBMYW5zaW5nIDxlcndpbkBGcmVlQlNE Lm9yZz4gd3JvdGU6DQoNCnxBbm90aGVyIHJlYXNvbiBmb3IgdG8gcnVuIC1DVVJSRU5UIGFuZCBl YXQgc29tZSBtb3JlIGRvZ2Zvb2QgOi0pDQp8DQp8LWVyd2luDQoNCg0KaSB0aGluayB0aGF0J3Mg YSB3cm9uZyB3YXkgdG8gc2F5IGFsbCB1c2VycyBhbmQgbWFpbnRhaW5lciB5b3UNCnNob3VsZCB1 cGRhdGUgdG8gY3VycmVudCBmb3IgY29ycmVjdCBidWlsZGluZyBub3cuIEknbSBub3QgcmVhbGx5 DQp3aWxsaW5nIHRvIHVwZGF0ZSBteSBtaXdpYm94IHRvIGN1cnJlbnQuDQoNCi0gLSBNYXJ0aW4N Cg0KDQotIC0tIA0KTWFydGluIFdpbGtlCQl8IGlyYy51bml4ZnJldW5kZS5kZSAjYnNkIA0KbWl3 aUBGcmVlQlNELm9yZwl8IG1pd2lAdW5peGZyZXVuZGUuZGUNCkZyZWVCU0QgQ29tbWl0dGVyCXwg UG93ZXIgdG8gU2VydmUNCi0tLS0tQkVHSU4gUEdQIFNJR05BVFVSRS0tLS0tDQpWZXJzaW9uOiBH bnVQRyB2Mi4wLjMgKEZyZWVCU0QpDQoNCmlEOERCUUZHVXR2V0Z3cHljQVZvSTFNUkFqdHhBSjR2 RTluY05lZGNXTTI2SnhibUluVHRYSnM0NXdDY0Noek4NCitkZld1N1grcHZRQ0k3emswRnQzUXpv PQ0KPU9VSWYNCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0K From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:47:26 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B57216A469; Tue, 22 May 2007 09:47:26 +0000 (UTC) (envelope-from fli@FreeBSD.org) Received: from mx1.h3q.net (mx1.h3q.net [212.37.5.30]) by mx1.freebsd.org (Postfix) with ESMTP id D623E13C457; Tue, 22 May 2007 09:47:25 +0000 (UTC) (envelope-from fli@FreeBSD.org) Received: from [192.168.1.100] (81-232-22-115-no50.tbcn.telia.com [81.232.22.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fli@shapeshifter.se) by mx1.h3q.net (Postfix) with ESMTP id A693B78C20; Tue, 22 May 2007 11:47:23 +0200 (CEST) Message-ID: <4652BC26.3070403@FreeBSD.org> Date: Tue, 22 May 2007 11:47:18 +0200 From: Fredrik Lindberg User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Andrew Thompson References: <4645E8A2.1040408@FreeBSD.org> <20070512202004.GA71624@heff.fud.org.nz> <46462CB2.9050008@FreeBSD.org> <20070521212309.GA4320@heff.fud.org.nz> In-Reply-To: <20070521212309.GA4320@heff.fud.org.nz> Content-Type: multipart/mixed; boundary="------------090602070001030503020604" Cc: yar@freebsd.org, freebsd-current@freebsd.org Subject: Re: Network interface modules keeps re-loading 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: Tue, 22 May 2007 09:47:26 -0000 This is a multi-part message in MIME format. --------------090602070001030503020604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Andrew Thompson wrote: > > Here is a patch to do this, i'll commit it unless there are any > objections. > > Seems fine, about the same thing I had in mind. Also, network.subr needs to be modified to use this, I believe it's only necessary to change ifexists(). That would leave module loading intact in thinks like rc.d/netif start foo0 (if that's what people want?) Fredrik --------------090602070001030503020604 Content-Type: text/plain; name="network.subr-20070522.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="network.subr-20070522.patch" Index: network.subr =================================================================== RCS file: /home/ncvs/src/etc/network.subr,v retrieving revision 1.179 diff -u -r1.179 network.subr --- network.subr 29 Mar 2007 21:42:19 -0000 1.179 +++ network.subr 22 May 2007 09:44:18 -0000 @@ -265,7 +265,7 @@ # Returns 0 if the interface exists and 1 otherwise. ifexists() { - ifconfig $1 > /dev/null 2>&1 + ifconfig -n $1 > /dev/null 2>&1 } # ipv4_up if --------------090602070001030503020604-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 10:08:17 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14E1616A46F; Tue, 22 May 2007 10:08:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id BC78013C469; Tue, 22 May 2007 10:08:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 2279F2084; Tue, 22 May 2007 12:08:12 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 12BEF2083; Tue, 22 May 2007 12:08:12 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id EBF6157AD; Tue, 22 May 2007 12:08:11 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Martin Wilke References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> Date: Tue, 22 May 2007 12:08:11 +0200 In-Reply-To: <20070522090136.C28D850BEB@unixfreunde.net> (Martin Wilke's message of "Tue\, 22 May 2007 12\:02\:27 +0000") Message-ID: <867ir1yxv8.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, Erwin Lansing , current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 10:08:17 -0000 Martin Wilke writes: > Erwin Lansing writes: > > Another reason for to run -CURRENT and eat some more dogfood :-) > i think that's a wrong way to say all users and maintainer you > should update to current for correct building now. I'm not really > willing to update my miwibox to current. So don't run CURRENT in your chroot. We (mostly) support running old userlands on new kernels, but we have never supported running new userlands on old kernels. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 22 10:16:45 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 268EF16A46B; Tue, 22 May 2007 10:16:45 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.freebsd.org (Postfix) with ESMTP id E0A8B13C458; Tue, 22 May 2007 10:16:44 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id E4DA61CC82; Tue, 22 May 2007 12:16:43 +0200 (CEST) Date: Tue, 22 May 2007 12:16:43 +0200 From: Erwin Lansing To: ports@freebsd.org, current@freebsd.org Message-ID: <20070522101643.GO71905@droso.net> Mail-Followup-To: ports@freebsd.org, current@freebsd.org References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> <867ir1yxv8.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aXNiKu4lnbRqA5kZ" Content-Disposition: inline In-Reply-To: <867ir1yxv8.fsf@dwp.des.no> X-Operating-System: FreeBSD/i386 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 10:16:45 -0000 --aXNiKu4lnbRqA5kZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 12:08:11PM +0200, Dag-Erling Smrgrav wrote: > Martin Wilke writes: > > Erwin Lansing writes: > > > Another reason for to run -CURRENT and eat some more dogfood :-) > > i think that's a wrong way to say all users and maintainer you > > should update to current for correct building now. I'm not really > > willing to update my miwibox to current. >=20 > So don't run CURRENT in your chroot. >=20 > We (mostly) support running old userlands on new kernels, but we have > never supported running new userlands on old kernels. >=20 Which is exactly what the ports tinderbox does, different userlands on a shared kernel. -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --aXNiKu4lnbRqA5kZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUsMLqy9aWxUlaZARAvQNAKCeEAJQ41fw0ohGLqCNnjRYmaCWpgCfXpx7 XC/JK7+ccMF5s2XRPcKpPjo= =mN1V -----END PGP SIGNATURE----- --aXNiKu4lnbRqA5kZ-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 11:01:22 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D3A616A46B; Tue, 22 May 2007 11:01:22 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from blue.servers.aueb.gr (blue.servers.aueb.gr [195.251.255.132]) by mx1.freebsd.org (Postfix) with ESMTP id 05AE213C46A; Tue, 22 May 2007 11:01:21 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from [195.251.249.158] ([::ffff:195.251.249.142]) by blue.servers.aueb.gr with esmtp; Tue, 22 May 2007 13:51:15 +0300 id 000D11EF.4652CB23.00002FBA Message-ID: <4652CB1A.2030300@aueb.gr> Date: Tue, 22 May 2007 13:51:06 +0300 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: FreeBSD Tinderbox References: <20070522080122.4699873068@freebsd-current.sentex.ca> In-Reply-To: <20070522080122.4699873068@freebsd-current.sentex.ca> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.ORG, ia64@FreeBSD.ORG Subject: Re: [head tinderbox] failure on ia64/ia64 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: Tue, 22 May 2007 11:01:22 -0000 FreeBSD Tinderbox wrote: > TB --- 2007-05-22 07:00:29 - tinderbox 2.3 running on freebsd-current.sentex.ca > TB --- 2007-05-22 07:00:29 - starting HEAD tinderbox run for ia64/ia64 > TB --- 2007-05-22 07:00:29 - cleaning the object tree > TB --- 2007-05-22 07:01:05 - checking out the source tree > TB --- 2007-05-22 07:01:05 - cd /tinderbox/HEAD/ia64/ia64 > TB --- 2007-05-22 07:01:05 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src > TB --- 2007-05-22 07:18:38 - building world (CFLAGS=-O2 -pipe) > TB --- 2007-05-22 07:18:38 - cd /src > TB --- 2007-05-22 07:18:38 - /usr/bin/make -B buildworld >>>> World build started on Tue May 22 07:18:39 UTC 2007 >>>> Rebuilding the temporary build tree >>>> stage 1.1: legacy release compatibility shims >>>> stage 1.2: bootstrap tools >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3: cross tools >>>> stage 4.1: building includes >>>> stage 4.2: building libraries >>>> stage 4.3: make dependencies > [...] > mkdep -f .depend -a -DHAVE_ARC4RANDOM -DHAVE_POLL_H /src/usr.sbin/rtsold/rtsold.c /src/usr.sbin/rtsold/rtsol.c /src/usr.sbin/rtsold/if.c /src/usr.sbin/rtsold/probe.c /src/usr.sbin/rtsold/dump.c /src/usr.sbin/rtsold/rtsock.c > echo rtsold: /obj/ia64/src/tmp/usr/lib/libc.a /obj/ia64/src/tmp/usr/lib/libkvm.a >> .depend > ===> usr.sbin/rwhod (depend) > rm -f .depend > mkdep -f .depend -a /src/usr.sbin/rwhod/rwhod.c > echo rwhod: /obj/ia64/src/tmp/usr/lib/libc.a >> .depend > ===> usr.sbin/sa (depend) > make: don't know how to make readrec.c. Stop > *** Error code 2 > > Stop in /src/usr.sbin. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2007-05-22 08:01:22 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2007-05-22 08:01:22 - ERROR: failed to build world > TB --- 2007-05-22 08:01:22 - tinderbox aborted > TB --- 0.84 user 2.59 system 3652.65 real I can't reproduce this, but I committed a change to usr.sbin/sa/Makefile, which, I think, should correct the problem. Diomidis Spinellis From owner-freebsd-current@FreeBSD.ORG Tue May 22 11:07:36 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD61C16A468; Tue, 22 May 2007 11:07:36 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 3677913C448; Tue, 22 May 2007 11:07:36 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 0A8735EF9; Tue, 22 May 2007 14:48:48 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id C449C5EF1; Tue, 22 May 2007 14:48:47 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4MAiK58080315; Tue, 22 May 2007 14:44:20 +0400 (MSD) (envelope-from ru) Date: Tue, 22 May 2007 14:44:20 +0400 From: Ruslan Ermilov To: Diomidis Spinellis , FreeBSD Tinderbox Message-ID: <20070522104420.GC79450@rambler-co.ru> References: <20070522080122.4699873068@freebsd-current.sentex.ca> <20070522104029.GB79450@rambler-co.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XMCwj5IQnwKtuyBG" Content-Disposition: inline In-Reply-To: <20070522104029.GB79450@rambler-co.ru> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: current@FreeBSD.org Subject: Re: [head tinderbox] failure on ia64/ia64 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: Tue, 22 May 2007 11:07:36 -0000 --XMCwj5IQnwKtuyBG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 02:40:29PM +0400, Ruslan Ermilov wrote: > Diomidis, >=20 > You apparently forgot to "cvs add/commit readrec.c". >=20 Oops, sorry, I now see it in ../../usr.bin/lastcomm, so it looks like it was a partial CVS update. > On Tue, May 22, 2007 at 04:01:22AM -0400, FreeBSD Tinderbox wrote: > > TB --- 2007-05-22 07:00:29 - tinderbox 2.3 running on freebsd-current.s= entex.ca > > TB --- 2007-05-22 07:00:29 - starting HEAD tinderbox run for ia64/ia64 > > TB --- 2007-05-22 07:00:29 - cleaning the object tree > > TB --- 2007-05-22 07:01:05 - checking out the source tree > > TB --- 2007-05-22 07:01:05 - cd /tinderbox/HEAD/ia64/ia64 > > TB --- 2007-05-22 07:01:05 - /usr/bin/cvs -f -R -q -d/home/ncvs update = -Pd -A src > > TB --- 2007-05-22 07:18:38 - building world (CFLAGS=3D-O2 -pipe) > > TB --- 2007-05-22 07:18:38 - cd /src > > TB --- 2007-05-22 07:18:38 - /usr/bin/make -B buildworld > > >>> World build started on Tue May 22 07:18:39 UTC 2007 > > >>> Rebuilding the temporary build tree > > >>> stage 1.1: legacy release compatibility shims > > >>> stage 1.2: bootstrap tools > > >>> stage 2.1: cleaning up the object tree > > >>> stage 2.2: rebuilding the object tree > > >>> stage 2.3: build tools > > >>> stage 3: cross tools > > >>> stage 4.1: building includes > > >>> stage 4.2: building libraries > > >>> stage 4.3: make dependencies > > [...] > > mkdep -f .depend -a -DHAVE_ARC4RANDOM -DHAVE_POLL_H /src/usr.sbin/rt= sold/rtsold.c /src/usr.sbin/rtsold/rtsol.c /src/usr.sbin/rtsold/if.c /src/u= sr.sbin/rtsold/probe.c /src/usr.sbin/rtsold/dump.c /src/usr.sbin/rtsold/rts= ock.c > > echo rtsold: /obj/ia64/src/tmp/usr/lib/libc.a /obj/ia64/src/tmp/usr/lib= /libkvm.a >> .depend > > =3D=3D=3D> usr.sbin/rwhod (depend) > > rm -f .depend > > mkdep -f .depend -a /src/usr.sbin/rwhod/rwhod.c > > echo rwhod: /obj/ia64/src/tmp/usr/lib/libc.a >> .depend > > =3D=3D=3D> usr.sbin/sa (depend) > > make: don't know how to make readrec.c. Stop > > *** Error code 2 > >=20 > > Stop in /src/usr.sbin. > > *** Error code 1 > >=20 > > Stop in /src. > > *** Error code 1 > >=20 > > Stop in /src. > > *** Error code 1 > >=20 > > Stop in /src. > > TB --- 2007-05-22 08:01:22 - WARNING: /usr/bin/make returned exit code = 1=20 > > TB --- 2007-05-22 08:01:22 - ERROR: failed to build world > > TB --- 2007-05-22 08:01:22 - tinderbox aborted > > TB --- 0.84 user 2.59 system 3652.65 real > >=20 > >=20 > > http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 > --=20 > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --XMCwj5IQnwKtuyBG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGUsmEqRfpzJluFF4RAng2AJ9p8A5D7HXWeFO+p5+iWUe4i64KZgCfZZM2 /vcmH7ijU8T+/LIbaADFeVY= =rXyr -----END PGP SIGNATURE----- --XMCwj5IQnwKtuyBG-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 11:07:36 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C151116A400; Tue, 22 May 2007 11:07:36 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1CF13C44B; Tue, 22 May 2007 11:07:36 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id E0D625F0B; Tue, 22 May 2007 14:44:56 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id A6C7A5EAD; Tue, 22 May 2007 14:44:56 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4MAeTGZ080256; Tue, 22 May 2007 14:40:29 +0400 (MSD) (envelope-from ru) Date: Tue, 22 May 2007 14:40:29 +0400 From: Ruslan Ermilov To: Diomidis Spinellis , FreeBSD Tinderbox Message-ID: <20070522104029.GB79450@rambler-co.ru> References: <20070522080122.4699873068@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline In-Reply-To: <20070522080122.4699873068@freebsd-current.sentex.ca> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: current@FreeBSD.org Subject: Re: [head tinderbox] failure on ia64/ia64 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: Tue, 22 May 2007 11:07:37 -0000 --ftEhullJWpWg/VHq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Diomidis, You apparently forgot to "cvs add/commit readrec.c". On Tue, May 22, 2007 at 04:01:22AM -0400, FreeBSD Tinderbox wrote: > TB --- 2007-05-22 07:00:29 - tinderbox 2.3 running on freebsd-current.sen= tex.ca > TB --- 2007-05-22 07:00:29 - starting HEAD tinderbox run for ia64/ia64 > TB --- 2007-05-22 07:00:29 - cleaning the object tree > TB --- 2007-05-22 07:01:05 - checking out the source tree > TB --- 2007-05-22 07:01:05 - cd /tinderbox/HEAD/ia64/ia64 > TB --- 2007-05-22 07:01:05 - /usr/bin/cvs -f -R -q -d/home/ncvs update -P= d -A src > TB --- 2007-05-22 07:18:38 - building world (CFLAGS=3D-O2 -pipe) > TB --- 2007-05-22 07:18:38 - cd /src > TB --- 2007-05-22 07:18:38 - /usr/bin/make -B buildworld > >>> World build started on Tue May 22 07:18:39 UTC 2007 > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > >>> stage 4.3: make dependencies > [...] > mkdep -f .depend -a -DHAVE_ARC4RANDOM -DHAVE_POLL_H /src/usr.sbin/rtso= ld/rtsold.c /src/usr.sbin/rtsold/rtsol.c /src/usr.sbin/rtsold/if.c /src/usr= =2Esbin/rtsold/probe.c /src/usr.sbin/rtsold/dump.c /src/usr.sbin/rtsold/rts= ock.c > echo rtsold: /obj/ia64/src/tmp/usr/lib/libc.a /obj/ia64/src/tmp/usr/lib/l= ibkvm.a >> .depend > =3D=3D=3D> usr.sbin/rwhod (depend) > rm -f .depend > mkdep -f .depend -a /src/usr.sbin/rwhod/rwhod.c > echo rwhod: /obj/ia64/src/tmp/usr/lib/libc.a >> .depend > =3D=3D=3D> usr.sbin/sa (depend) > make: don't know how to make readrec.c. Stop > *** Error code 2 >=20 > Stop in /src/usr.sbin. > *** Error code 1 >=20 > Stop in /src. > *** Error code 1 >=20 > Stop in /src. > *** Error code 1 >=20 > Stop in /src. > TB --- 2007-05-22 08:01:22 - WARNING: /usr/bin/make returned exit code 1= =20 > TB --- 2007-05-22 08:01:22 - ERROR: failed to build world > TB --- 2007-05-22 08:01:22 - tinderbox aborted > TB --- 0.84 user 2.59 system 3652.65 real >=20 >=20 > http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ftEhullJWpWg/VHq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGUsidqRfpzJluFF4RArrAAJ4g3LCel1gHliowhhOk4o//y+L4qgCfZ454 Va5+dMZHnWYjJCJYh6nQX/c= =l3Az -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:35:19 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2C8A16A41F; Tue, 22 May 2007 09:35:19 +0000 (UTC) (envelope-from kvs@binarysolutions.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 8592713C4C4; Tue, 22 May 2007 09:35:19 +0000 (UTC) (envelope-from kvs@binarysolutions.dk) Received: from coruscant.localhost (fw2.pil.dk [83.90.227.58]) by solow.pil.dk (Postfix) with ESMTP id 5404A1CC0ED; Tue, 22 May 2007 11:17:39 +0200 (CEST) Received: by coruscant.localhost (Postfix, from userid 502) id 7EF223ACCAF; Tue, 22 May 2007 11:17:37 +0200 (CEST) To: Pawel Jakub Dawidek References: <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070522090947.GA3005@garage.freebsd.pl> From: Kenneth Vestergaard Schmidt Date: Tue, 22 May 2007 11:17:37 +0200 In-Reply-To: <20070522090947.GA3005@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Tue\, 22 May 2007 11\:09\:47 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 22 May 2007 11:57:00 +0000 Cc: Craig Boston , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Kris Kennaway , Darren Reed , Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Tue, 22 May 2007 09:35:19 -0000 Pawel Jakub Dawidek writes: >> I may reinstall at a later date as this is still very much a box to play >> with, but I gather there is no great gain from going 64 bit other than >> not having to play with PAE if you've got lots or RAM. > > I expect there is a huge difference in performance between i386 and > amd64. I'm currently setting up environment to compare ZFS on > FreeBSD/i386, FreeBSD/amd64 and Solaris. I've had precious little time to do more testing on our amd64-setup, but it seems that vm.kmem.size_max is a 32-bit uint, so we can't really use much RAM for ZFS. --=20 vh Kenneth Schmidt pil.dk support Tr=E6t af virusmails? http://pil.dk/produkter/mail/antivirus/ From owner-freebsd-current@FreeBSD.ORG Tue May 22 10:39:56 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2747816A41F for ; Tue, 22 May 2007 10:39:56 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id A2FE713C44C for ; Tue, 22 May 2007 10:39:55 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (dybkve@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l4MAdlXv050682; Tue, 22 May 2007 12:39:52 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l4MAdglu050681; Tue, 22 May 2007 12:39:42 +0200 (CEST) (envelope-from olli) Date: Tue, 22 May 2007 12:39:42 +0200 (CEST) Message-Id: <200705221039.l4MAdglu050681@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, jhs@tower.berklix.net, jhs@berklix.com In-Reply-To: <200705151030.l4FAUbEE063594@fire.jhs.private> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 22 May 2007 12:39:52 +0200 (CEST) X-Mailman-Approved-At: Tue, 22 May 2007 11:57:00 +0000 Cc: Subject: Re: We don't really need two FTP daemons X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, jhs@tower.berklix.net, jhs@berklix.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 10:39:56 -0000 Julian H. Stacey wrote: > Someone asked whether lukemftpd offered functionality other(s) don't ? > What about proxy ? None of the ftpds offer proxy functionality. > I've never been sure which ftpd to run on my gateway (with IPFW, with no NAT) > to provide proxy, so internal hosts could cd /usr/ports; make fetch Personally I use Squid, but any HTTP proxy should do (I've also worked with Apache mod_proxy and "oops"; all of them work fine as an FTP proxy). Use these lines in /etc/make.conf (proxy on port 3128): FETCH_ENV= FTP_PROXY=http://your-proxy.your.domain:3128 \ HTTP_PROXY=http://your-proxy.your.domain:3128 Regarding the packet filter rules (IPFW or whatever): For the clients, you have to allow the TCP port on which the proxy server listens, of course, and the proxy server itself must be able to open FTP and HTTP connections to the outside. Note that some distfiles come from origin servers via HTTP, so configuring FTP only isn't sufficient. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Life is short (You need Python)" -- Bruce Eckel, ANSI C++ Comitee member, author of "Thinking in C++" and "Thinking in Java" From owner-freebsd-current@FreeBSD.ORG Tue May 22 10:49:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF7F716A480 for ; Tue, 22 May 2007 10:49:59 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de (mail.liberty-hosting.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7AC13C46E for ; Tue, 22 May 2007 10:49:59 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 46784-07 for ; Tue, 22 May 2007 12:49:57 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-170-5.dynamic.qsc.de [212.202.170.5]) by mail.liberty-hosting.de (Postfix) with ESMTP id 883C3181003 for ; Tue, 22 May 2007 12:49:57 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id 7BE6145046 for ; Tue, 22 May 2007 12:49:54 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Tue, 22 May 2007 12:49:54 +0200 (CEST) Message-ID: <53202.2001:6f8:101e:0:20e:cff:fe6d:6adb.1179830994.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <63182.2001:6f8:101e:0:20e:cff:fe6d:6adb.1179830426.squirrel@webmail.a lpha-tierchen.de> References: <63182.2001:6f8:101e:0:20e:cff:fe6d:6adb.1179830426.squirrel@webmail.alpha-tierchen.de> Date: Tue, 22 May 2007 12:49:54 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: current@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de X-Mailman-Approved-At: Tue, 22 May 2007 11:57:00 +0000 Cc: Subject: Re: sysinstall says "BARF", concerns libdisk and geom_label 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: Tue, 22 May 2007 10:49:59 -0000 Ich schrieb: > Maybe the best but most time-consuming solution is to change the > output of kern.geom.conftxt to another format, e.g. XML. Right now I see that there is already a kern.geom.confxml sysctl. So it should be easy to use this in libdisk instead of conftxt. Björn From owner-freebsd-current@FreeBSD.ORG Tue May 22 11:04:20 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4FA316A41F for ; Tue, 22 May 2007 11:04:20 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 9515F13C45D for ; Tue, 22 May 2007 11:04:20 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 46517-01 for ; Tue, 22 May 2007 12:40:30 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-170-5.dynamic.qsc.de [212.202.170.5]) by mail.liberty-hosting.de (Postfix) with ESMTP id E8E2E18112C for ; Tue, 22 May 2007 12:40:29 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id C035D45046 for ; Tue, 22 May 2007 12:40:26 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Tue, 22 May 2007 12:40:26 +0200 (CEST) Message-ID: <63182.2001:6f8:101e:0:20e:cff:fe6d:6adb.1179830426.squirrel@webmail.alpha-tierchen.de> Date: Tue, 22 May 2007 12:40:26 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: current@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de X-Mailman-Approved-At: Tue, 22 May 2007 11:57:00 +0000 Cc: Subject: sysinstall says "BARF", concerns libdisk and geom_label 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: Tue, 22 May 2007 11:04:20 -0000 Hello, when I start sysinstall I get the error message "BARF 148 <88>". The reason for this is the label of my Windows partion, it is called "Windows XP" and contains a space character. libdisk/open_disk.c needs to parse the value of kern.geom.conftxt which contains spaces as field seperator, therefore it fails. A quick and dirty workaround would be to skip labels that contain space characters, which can be easily done in g_label_is_name_ok (sys/geom/label/g_label.c). But I am looking for a better solution. So it might be more accurate to revise libdisk, i.e. improve the parsing of kern.geom.conftxt. Maybe the best but most time-consuming solution is to change the output of kern.geom.conftxt to another format, e.g. XML. Are there any comments or other suggestions? Björn From owner-freebsd-current@FreeBSD.ORG Tue May 22 11:58:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45C5816A478 for ; Tue, 22 May 2007 11:58:12 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 0FEE113C469 for ; Tue, 22 May 2007 11:58:11 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=I6QOrIBWbcFZ6irywEPgHn5XYkvrshb9mjAKdV8Rf5cz0rEtAMWV9EfmOsqNWiPsfNGLeEoBtMR/x5qPHoKtLP3pp4NsXfiRJ4Ks+c3qec3VqsgJwCo3dq7g1LXIA4XtyI5kQPB+G4jTy1jAh2T7X1t9kTh1/TBcE7aaJqvXwSLmFwK2msb5xssrVkAX/t2q17XcHscp8oJ1pxKquWQsFRdHNYs+a7hiHJRXWjc9vvGbTSpXlc8eoL2dNnTmuuDB; Received: from uucp by munchkin.clue.co.za with local (Exim 4.66) (envelope-from ) id 1HqT0E-0005zo-JB; Tue, 22 May 2007 11:58:10 +0000 Received: from cluetoy.clue.co.za ([10.0.0.19] helo=clue.co.za) by urchin.clue.co.za with esmtpa (Exim 4.66) (envelope-from ) id 1HqSzo-0003vl-U5; Tue, 22 May 2007 11:57:44 +0000 Received: from localhost ([127.0.0.1]) by clue.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqSzn-0001Eu-On; Tue, 22 May 2007 13:57:43 +0200 To: "Jack Vogel" From: Ian FREISLICH In-Reply-To: Message from "Jack Vogel" of "Tue, 22 May 2007 00:49:26 MST." <2a41acea0705220049w32b50fc6m37a2e2fef5c8837e@mail.gmail.com> X-Attribution: BOFH Date: Tue, 22 May 2007 13:57:43 +0200 Message-Id: Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 11:58:12 -0000 "Jack Vogel" wrote: > On 5/21/07, Ian FREISLICH wrote: > > Looking at the new source, I'm not sure it will stop this adaptor > > gobbling port 623. It's a 82546EB, e1000_82546_rev_3 e1000_mac_type. > > In em_init_manageability(), it looks like it's only disabled for > > e1000_mac_type >= e1000_82571 which excludes this adaptor: > > > > /* enable receiving management packets to the host */ > > if (adapter->hw.mac.type >= e1000_82571) { > > manc |= E1000_MANC_EN_MNG2HOST; > > #define E1000_MNG2HOST_PORT_623 (1 << 5) > > #define E1000_MNG2HOST_PORT_664 (1 << 6) > > manc2h |= E1000_MNG2HOST_PORT_623; > > manc2h |= E1000_MNG2HOST_PORT_664; > > E1000_WRITE_REG(&adapter->hw, E1000_MANC2H, manc2h) ; > > } > > > > I'll give the driver a whirl anyway. If it doesn't, is it safe to write > > 'manc |= E1000_MANC_EN_MNG2HOST' for adapter->hw.mac.type >= e1000_82546? > > If you can test that would be useful. FWIW, the new driver doesn't disable RCMP filtering on this NIC. :( But, doing this to the new driver solves the immediate problem for me: diff -u -d -r1.3 e1000_82540.c --- e1000_82540.c 16 May 2007 00:14:23 -0000 1.3 +++ e1000_82540.c 22 May 2007 11:21:02 -0000 @@ -316,6 +316,7 @@ /* Disable HW ARPs on ASF enabled adapters */ manc = E1000_READ_REG(hw, E1000_MANC); manc &= ~E1000_MANC_ARP_EN; + manc &= ~(E1000_MANC_RMCP_EN | E1000_MANC_0298_EN); E1000_WRITE_REG(hw, E1000_MANC, manc); E1000_WRITE_REG(hw, E1000_IMC, 0xffffffff); If you can point me to the propper place or way to effect this. I can see situations where someone would not want to turn this filtering off - if they have the IPMI daughterboard on their motherboard. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue May 22 12:06:36 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCEF316A41F for ; Tue, 22 May 2007 12:06:36 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 85A7813C45B for ; Tue, 22 May 2007 12:06:36 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HqT8H-0006RD-MB for freebsd-current@freebsd.org; Tue, 22 May 2007 14:06:29 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 May 2007 14:06:29 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 May 2007 14:06:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Tue, 22 May 2007 14:06:06 +0200 Lines: 33 Message-ID: References: <46868.6355547563$1179835199@news.gmane.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig92CCDC26E16EF59C53A85816" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <46868.6355547563$1179835199@news.gmane.org> X-Enigmail-Version: 0.94.2.0 Sender: news Subject: Re: sysinstall says "BARF", concerns libdisk and geom_label 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: Tue, 22 May 2007 12:06:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig92CCDC26E16EF59C53A85816 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn K=C3=B6nig wrote: > when I start sysinstall I get the error message "BARF 148 <88>". The > reason for this is the label of my Windows partion, it is called "Windo= ws > XP" and contains a space character. libdisk/open_disk.c needs to parse = the > value of kern.geom.conftxt which contains spaces as field seperator, > therefore it fails. Perhaps encoding such character as %20 or "\ "? --------------enig92CCDC26E16EF59C53A85816 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGUtyvldnAQVacBcgRAlWeAJ9WsJrYS/lO+z7n4ofU+0SPV+NuOQCfWhGc x+gWTwj5NS9+jfdcmLeGnoo= =frGN -----END PGP SIGNATURE----- --------------enig92CCDC26E16EF59C53A85816-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 12:20:49 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD0CE16A41F; Tue, 22 May 2007 12:20:49 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 79ECE13C455; Tue, 22 May 2007 12:20:49 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 679C92084; Tue, 22 May 2007 14:20:45 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id C6B3F2083; Tue, 22 May 2007 14:20:44 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 4C89A57B5; Tue, 22 May 2007 14:20:44 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: ports@freebsd.org References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> <867ir1yxv8.fsf@dwp.des.no> <20070522101643.GO71905@droso.net> Date: Tue, 22 May 2007 14:20:43 +0200 In-Reply-To: <20070522101643.GO71905@droso.net> (Erwin Lansing's message of "Tue\, 22 May 2007 12\:16\:43 +0200") Message-ID: <86myzxxd5w.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 12:20:49 -0000 Erwin Lansing writes: > Dag-Erling Smrgrav writes: > > So don't run CURRENT in your chroot. We (mostly) support running > > old userlands on new kernels, but we have never supported running > > new userlands on old kernels. > Which is exactly what the ports tinderbox does, different userlands on > a shared kernel. Then you need to run a kernel that corresponds to the newest userland the tinderbox wants to run - or from a different perspective, configure the tinderbox to only run userlands as old as or older than your kernel. In any case, it's your problem, not FreeBSD's. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 22 12:21:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 136B516A41F for ; Tue, 22 May 2007 12:21:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8D93D13C457 for ; Tue, 22 May 2007 12:21:14 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3D387474CD; Tue, 22 May 2007 08:21:13 -0400 (EDT) Date: Tue, 22 May 2007 08:21:13 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Steven G. Kargl" In-Reply-To: <200705220015.l4M0F76e001014@troutmask.apl.washington.edu> Message-ID: <20070522081827.V28780@fledge.watson.org> References: <200705220015.l4M0F76e001014@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: kernel panic in sbflush_internal 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: Tue, 22 May 2007 12:21:16 -0000 On Mon, 21 May 2007, Steven G. Kargl wrote: > One of my colleagues brought down a node on my cluster while running a MPI > job. The kernel coredump shows > > Script started on Mon May 21 17:02:53 2007 > node12:root[201] kgdb kernel.debug vmcore.0 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > > Unread portion of the kernel message buffer: > panic: sbflush_internal: cc 4294965848 || mb 0 || mbcnt 0 > cpuid = 0 > Uptime: 7h6m34s > Physical memory: 16119 MB > Dumping 631 MB: 616 600 584 568 552 536 520 504 488 472 456 440 424 408 392 376 360 344 328 312 296 280 264 248 232 216 200 184 168 152 136 120 104 88 72 56 40 24 8 Is the kernel build date an accurate reflection of the source code version it is being used with? Could you let me know what file revisions are in use for uipc_socket.c, uipc_sockbuf2.c, uipc_syscalls.c, tcp_usrreq.c, tcp_input.c, tcp_subr.c? Could you print *sb in frame #4, *so in frame #7, *tp in frame $5, and *inp in #5 (if defined) -- otherwise, (struct inpcb *)so->so_pcb, if non-NULL, in frame #6. Robert N M Watson Computer Laboratory University of Cambridge > > #0 doadump () at pcpu.h:171 > 171 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:171 > #1 0xffffffff802a01eb in boot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xffffffff802a08cc in panic (fmt=0xffffff03157e0d20 "") > at /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xffffffff802f4d23 in sbflush_internal (sb=0xffffff031243ab68) > at /usr/src/sys/kern/uipc_sockbuf.c:808 > #4 0xffffffff802f50cb in sbflush (sb=0xffffff031243ab68) > at /usr/src/sys/kern/uipc_sockbuf.c:825 > #5 0xffffffff803b7246 in tcp_disconnect (tp=0xffffff03101f73e0) > at /usr/src/sys/netinet/tcp_usrreq.c:1496 > #6 0xffffffff803b7539 in tcp_usr_disconnect (so=0xffffff0311a04690) > at /usr/src/sys/netinet/tcp_usrreq.c:584 > #7 0xffffffff802f67f2 in soclose (so=0xffffff031243aae0) > at /usr/src/sys/kern/uipc_socket.c:642 > #8 0xffffffff802de133 in soo_close (fp=0xffffff0312402258, td=0x0) > at /usr/src/sys/kern/sys_socket.c:296 > #9 0xffffffff8027479f in fdrop (fp=0xffffff0312402258, td=0xffffff03157e0d20) > at file.h:297 > #10 0xffffffff80274aaf in closef (fp=0xffffff0312402258, td=0xffffff03157e0d20) > at /usr/src/sys/kern/kern_descrip.c:1928 > #11 0xffffffff80275f54 in fdfree (td=0xffffff03157e0d20) > at /usr/src/sys/kern/kern_descrip.c:1638 > #12 0xffffffff8027f537 in exit1 (td=0xffffff03157e0d20, rv=9) > at /usr/src/sys/kern/kern_exit.c:271 > #13 0xffffffff802a578f in sigexit (td=0xffffff03157e0d20, sig=9) > at /usr/src/sys/kern/kern_sig.c:2862 > #14 0xffffffff802a63ac in postsig (sig=9) at /usr/src/sys/kern/kern_sig.c:2741 > #15 0xffffffff802d3547 in ast (framep=0xffffffffb0580c70) > at /usr/src/sys/kern/subr_trap.c:271 > #16 0xffffffff804787f0 in Xfast_syscall () > ---Type to continue, or q to quit--- > at /usr/src/sys/amd64/amd64/exception.S:283 > #17 0x00000003c0c7294c in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) quit > > I have the debug kernel and vmcore file, and can make it available. > > The dmesg for the node that panic is > > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-CURRENT #6: Fri May 18 10:19:43 PDT 2007 > kargl@node10.cimu.org:/usr/obj/usr/src/sys/HPC > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Dual Core AMD Opteron(tm) Processor 280 (2391.55-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > Features=0x178bfbff > Features2=0x1 > AMD Features=0xe2500800 > AMD Features2=0x3 > Cores per package: 2 > usable memory = 16902705152 (16119 MB) > avail memory = 16387166208 (15628 MB) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-27 on motherboard > ioapic2 irqs 28-31 on motherboard > acpi0: on motherboard > acpi0: [ITHREAD] > acpi_hpet0: iomem 0xfec01000-0xfec013ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 2000 > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, eff00000 (3) failed > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: on acpi0 > acpi_throttle0: on cpu0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 6.0 on pci0 > pci3: on pcib1 > ohci0: mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3 > ohci0: [GIANT-LOCKED] > ohci0: [ITHREAD] > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: on usb0 > device_attach: uhub0 attach returned 6 > usb0: port 0, set config at addr 1 failed > usb0: root hub problem, error=4 > ohci1: mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3 > ohci1: [GIANT-LOCKED] > ohci1: [ITHREAD] > usb1: OHCI version 1.0, legacy support > usb1: SMM does not respond, resetting > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 3 ports with 3 removable, self powered > atapci0: port 0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f mem 0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > ata5: on atapci0 > ata5: [ITHREAD] > vgapci0: port 0xb800-0xb8ff mem 0xfd000000-0xfdffffff,0xfeaff000-0xfeafffff irq 18 at device 6.0 on pci3 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 > ata0: on atapci1 > ata0: [ITHREAD] > ata1: on atapci1 > ata1: [ITHREAD] > amdsmb0: port 0xcc00-0xcc1f irq 19 at device 7.2 on pci0 > smbus0: on amdsmb0 > smb0: on smbus0 > amdpm0: port 0x10e0-0x10ff at device 7.3 on pci0 > smbus1: on amdpm0 > smb1: on smbus1 > pcib2: at device 10.0 on pci0 > pci2: on pcib2 > pci2:9:0: bad VPD cksum, remain 72 > bge0: mem 0xfc8c0000-0xfc8cffff,0xfc8b0000-0xfc8bffff irq 24 at device 9.0 on pci2 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > bge0: Ethernet address: 00:e0:81:34:e1:4c > bge0: [ITHREAD] > pci2:9:1: bad VPD cksum, remain 72 > bge1: mem 0xfc8f0000-0xfc8fffff,0xfc8e0000-0xfc8effff irq 25 at device 9.1 on pci2 > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > bge1: Ethernet address: 00:e0:81:34:e1:4d > bge1: [ITHREAD] > pcib3: at device 11.0 on pci0 > pci1: on pcib3 > acpi_button0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > ppc0: port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ppc0: [GIANT-LOCKED] > ppc0: [ITHREAD] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff,0xcc800-0xcdfff,0xce000-0xcf7ff,0xcf800-0xd07ff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <8 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounters tick every 1.000 msec > ad4: 239372MB at ata2-master SATA150 > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > hwpmc: TSC/1/0x20 K8/4/0x1ff > Trying to mount root from ufs:/dev/ad4s1a > WARNING: / was not properly dismounted > > -- > Steve > http://troutmask.apl.washington.edu/~kargl/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Tue May 22 12:23:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 040AA16A41F for ; Tue, 22 May 2007 12:23:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB7613C44B for ; Tue, 22 May 2007 12:23:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 43460472BF; Tue, 22 May 2007 08:23:32 -0400 (EDT) Date: Tue, 22 May 2007 08:23:32 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Nikolay Kalev In-Reply-To: <136a340a0705212341t5429c570yda976cf2130170e3@mail.gmail.com> Message-ID: <20070522082123.B28780@fledge.watson.org> References: <136a340a0705212341t5429c570yda976cf2130170e3@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: PDF BSDcan2007 request ? 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: Tue, 22 May 2007 12:23:34 -0000 On Tue, 22 May 2007, Nikolay Kalev wrote: > Can you guys release all of the pdf presentations from the BSDcan 2007 there > are realy some interesting documents which i'm sure a lot of people will be > interested in? Many of the slides from the developer summit and network cabal meeting can be found here: http://wiki.freebsd.org/200705DevSummit http://wiki.freebsd.org/200705NetworkCabal We're still working on extracting slides from everone involved. I've sent all the BSDCan WIP slides to Dan but I know he's involved in running pgsqlcon right now so it may be a week or so before he goes into recovery mode and then posts slides. :-) Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Tue May 22 12:25:07 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4541116A468; Tue, 22 May 2007 12:25:07 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 2585213C46C; Tue, 22 May 2007 12:25:07 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id A98B2ACD; Tue, 22 May 2007 07:25:06 -0500 (CDT) Date: Tue, 22 May 2007 07:25:06 -0500 To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20070522122506.GA3680@soaustin.net> References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> <867ir1yxv8.fsf@dwp.des.no> <20070522101643.GO71905@droso.net> <86myzxxd5w.fsf@dwp.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86myzxxd5w.fsf@dwp.des.no> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) X-Mailman-Approved-At: Tue, 22 May 2007 12:35:11 +0000 Cc: ports@freebsd.org, current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 12:25:07 -0000 On Tue, May 22, 2007 at 02:20:43PM +0200, Dag-Erling Smørgrav wrote: > Then you need to run a kernel that corresponds to the newest userland > the tinderbox wants to run - or from a different perspective, configure > the tinderbox to only run userlands as old as or older than your kernel. Yes, that's the general idea, and what pointyhat does. > In any case, it's your problem, not FreeBSD's. As usual, factual but badly stated. mcl From owner-freebsd-current@FreeBSD.ORG Tue May 22 13:17:02 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DC3B16A475; Tue, 22 May 2007 13:17:02 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id E890813C4B0; Tue, 22 May 2007 13:17:01 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id B36DA5C62; Tue, 22 May 2007 17:17:00 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 909D25C4F; Tue, 22 May 2007 17:17:00 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4MDCWrT098830; Tue, 22 May 2007 17:12:32 +0400 (MSD) (envelope-from ru) Date: Tue, 22 May 2007 17:12:32 +0400 From: Ruslan Ermilov To: Diomidis Spinellis Message-ID: <20070522131232.GD79450@rambler-co.ru> References: <20070522080122.4699873068@freebsd-current.sentex.ca> <4652CB1A.2030300@aueb.gr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722" Content-Disposition: inline In-Reply-To: <4652CB1A.2030300@aueb.gr> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: ia64@FreeBSD.org, FreeBSD Tinderbox , current@FreeBSD.org Subject: Re: [head tinderbox] failure on ia64/ia64 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: Tue, 22 May 2007 13:17:02 -0000 --3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 01:51:06PM +0300, Diomidis Spinellis wrote: > FreeBSD Tinderbox wrote: > > [...] > > mkdep -f .depend -a -DHAVE_ARC4RANDOM -DHAVE_POLL_H=20 > > /src/usr.sbin/rtsold/rtsold.c /src/usr.sbin/rtsold/rtsol.c=20 > > /src/usr.sbin/rtsold/if.c /src/usr.sbin/rtsold/probe.c=20 > > /src/usr.sbin/rtsold/dump.c /src/usr.sbin/rtsold/rtsock.c > > echo rtsold: /obj/ia64/src/tmp/usr/lib/libc.a=20 > > /obj/ia64/src/tmp/usr/lib/libkvm.a >> .depend > > =3D=3D=3D> usr.sbin/rwhod (depend) > > rm -f .depend > > mkdep -f .depend -a /src/usr.sbin/rwhod/rwhod.c > > echo rwhod: /obj/ia64/src/tmp/usr/lib/libc.a >> .depend > > =3D=3D=3D> usr.sbin/sa (depend) > > make: don't know how to make readrec.c. Stop > > *** Error code 2 > > Stop in /src/usr.sbin. >=20 > I can't reproduce this, but I committed a change to usr.sbin/sa/Makefile= ,=20 > which, I think, should correct the problem. >=20 It doesn't really matter in this case where you put .PATH as long as it happens before inclusion of bsd.prog.mk, but what you've committed is more style.Makefile(5). That said, there was no problem at all, and the breakage most likely was caused by a partial CVSup update on a particular (tinderbox) host. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --3Pql8miugIZX0722 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGUuxAqRfpzJluFF4RAimEAKCGGp5L1M/aTtAhvexy+eAvda9MgwCggHNV b7oRwHDjLJo6iYHG/ghqT50= =e72V -----END PGP SIGNATURE----- --3Pql8miugIZX0722-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 14:26:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E790716A480 for ; Tue, 22 May 2007 14:26:33 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 95DAC13C45D for ; Tue, 22 May 2007 14:26:33 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l4MEQWvv075720; Tue, 22 May 2007 09:26:32 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l4MEQWss075719; Tue, 22 May 2007 09:26:32 -0500 (CDT) (envelope-from brooks) Date: Tue, 22 May 2007 09:26:32 -0500 From: Brooks Davis To: Andrew Thompson Message-ID: <20070522142631.GA75668@lor.one-eyed-alien.net> References: <4645E8A2.1040408@FreeBSD.org> <20070512202004.GA71624@heff.fud.org.nz> <46462CB2.9050008@FreeBSD.org> <20070521212309.GA4320@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <20070521212309.GA4320@heff.fud.org.nz> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 22 May 2007 09:26:32 -0500 (CDT) Cc: yar@freebsd.org, freebsd-current@freebsd.org, Fredrik Lindberg Subject: Re: Network interface modules keeps re-loading 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: Tue, 22 May 2007 14:26:34 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 09:23:09AM +1200, Andrew Thompson wrote: > On Sat, May 12, 2007 at 11:08:02PM +0200, Fredrik Lindberg wrote: > > Andrew Thompson wrote: > > > > > >A similar solution to this was committed in rev1.129 of ifconfig.c but > > >then backed out later as the module loading proved to be feature used = by > > >quite a few people. I think an example was being able to load and > > >initialise an interface by just trying 'ifconfig foo0'. > > > > > >I think a different way to solve this is to add a argument to ifconfig > > >to suppress the module loading and then use it at the appropriate plac= es > > >in rc. > > > > >=20 > > Oh, I should have read the commit logs first, sorry about that. > > Either way, I think something should be done about it. It certainly > > annoyed me today before I could figure out what as going on. > > When somebody issues a kldunload, they shouldn't get the module > > re-loaded right away. > >=20 > > Clearly people want the current behavior (although I question it > > myself), what would be an appropriate way to suppress loading? > > ifconfig -n foo0, as in no-probe/load? >=20 > Here is a patch to do this, i'll commit it unless there are any > objections. The concept seems fine. One small phrasing nit below. > Index: ifconfig.8 > =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/sbin/ifconfig/ifconfig.8,v > retrieving revision 1.137 > diff -u -p -r1.137 ifconfig.8 > --- ifconfig.8 17 Apr 2007 00:35:09 -0000 1.137 > +++ ifconfig.8 21 May 2007 21:15:18 -0000 > @@ -1579,6 +1579,11 @@ For example, the values of 802.11 WEP ke > the current user. > This information is not printed by default, as it may be considered > sensitive. > +.Pp=20 > +If the network interface driver is not present in the kernel then the mo= dule > +will be loaded, the > +.Fl n > +flag suppresses this. I'd say something like: +If the network interface driver is not present in the kernel then =2ENm will attempt to load it. The =2EFl n flag disables this behavior. The key is that ifconfig is pretty stupid about loading things and can't figure out what to load in some circumstances. -- Brooks --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUv2XXY6L6fI4GtQRAl4BAJ47F//bY2O3IGRSTLS5ZD3FL/KhxwCfSpEn AIHNZQxiUpE2JJj3jLtTz5M= =uTX2 -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 14:27:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 416FF16A46C for ; Tue, 22 May 2007 14:27:48 +0000 (UTC) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (afrodita.rcub.bg.ac.yu [147.91.1.120]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6FC13C4AD for ; Tue, 22 May 2007 14:27:46 +0000 (UTC) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: by afrodita.rcub.bg.ac.yu (Postfix, from userid 2055) id A2565160C13; Tue, 22 May 2007 16:01:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by afrodita.rcub.bg.ac.yu (Postfix) with ESMTP id 97FC7160C0F for ; Tue, 22 May 2007 16:01:10 +0200 (CEST) Date: Tue, 22 May 2007 16:01:10 +0200 (CEST) From: Goran Gajic To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RCUB-MailScanner-Information: Please contact the RCUB if you have problem with mail X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-From: ggajic@afrodita.rcub.bg.ac.yu X-Mailman-Approved-At: Tue, 22 May 2007 14:32:12 +0000 Subject: Kernel hanging after today cvsup at Timecounter "TSC 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: Tue, 22 May 2007 14:27:48 -0000 Hi, After today cvsup and installing of new kernel system refuses to boot. It hangs at mentioned line. Here is minicom.cap: GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #0: Tue May 22 10:59:15 CEST 2007 root@fbsd.interex-pla.net:/usr/src/sys/i386/compile/GENERIC WARNING: WITNESS option enabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.53GHz (2542.35-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x651d AMD Features=0x20000000 real memory = 536543232 (511 MB) avail memory = 511246336 (487 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 1ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci3: on pcib1 vgapci0: port 0xe000-0xe0ff mem 0xd8000000-0xdfffffff,0xd7fe0000-0xd7feffff irq 16 at device 0.0 on pci3 vgapci1: mem 0xd7ff0000-0xd7ffffff at device 0.1 on pci3 pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 uhci0: port 0x7400-0x741f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x7800-0x781f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x8000-0x801f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x8400-0x841f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xd7dffc00-0xd7dfffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci1: on pcib3 em0: port 0xc400-0xc43f mem 0xd7ea0000-0xd7ebffff irq 19 at device 3.0 on pci1 em0: Ethernet address: 00:13:d4:cc:2b:62 em0: [FILTER] pci1: at device 9.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xa000-0xa007,0x9800-0x9803,0x9400-0x9407,0x9000-0x9003,0x8800-0x880f irq 18 at device 31.1 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0xb800-0xb807,0xb400-0xb403,0xb000-0xb007,0xa800-0xa803,0xa400-0xa40f irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD] ata1 at port 0x170-0x177,0x376 irq 15 on isa0 ata1: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC Kernel built on May 17th boots fine.. Regards, gg. From owner-freebsd-current@FreeBSD.ORG Tue May 22 14:59:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94E6D16A400 for ; Tue, 22 May 2007 14:59:49 +0000 (UTC) (envelope-from solon@pyro.de) Received: from srv23.fsb.echelon.bnd.org (mail.pyro.de [83.137.99.96]) by mx1.freebsd.org (Postfix) with ESMTP id 51B8913C448 for ; Tue, 22 May 2007 14:59:48 +0000 (UTC) (envelope-from solon@pyro.de) Received: from i577b70f0.versanet.de ([87.123.112.240] helo=FLASH) by srv23.fsb.echelon.bnd.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1HqVq0-0004nR-5a for freebsd-current@freebsd.org; Tue, 22 May 2007 16:59:48 +0200 Date: Tue, 22 May 2007 16:59:43 +0200 From: Solon Luigi Lutz X-Mailer: SecureBat! Lite (v2.12.4) Personal Organization: PyroDesign Berlin X-Priority: 3 (Normal) Message-ID: <204195092.20070522165943@pyro.de> To: freebsd-current@freebsd.org In-Reply-To: References: <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070522090947.GA3005@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Solon Luigi Lutz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 14:59:49 -0000 KVS> Pawel Jakub Dawidek writes: >>> I may reinstall at a later date as this is still very much a box to play >>> with, but I gather there is no great gain from going 64 bit other than >>> not having to play with PAE if you've got lots or RAM. >> >> I expect there is a huge difference in performance between i386 and >> amd64. I'm currently setting up environment to compare ZFS on >> FreeBSD/i386, FreeBSD/amd64 and Solaris. KVS> I've had precious little time to do more testing on our amd64-setup, but KVS> it seems that vm.kmem.size_max is a 32-bit uint, so we can't really use KVS> much RAM for ZFS. These are the figures for the following out-of-the-box 7.0 amd64 smp system: Athlon X2 3800, 1GB Ram, Asus M2N-SLI (modified), 24x 500GB (Samsung Spinpoint), Areca ARC1280 running RAID-6. ZFS -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 8000 89555 85.6 188475 63.3 114048 36.9 95865 97.2 460375 64.0 41.2 0.3 Test was done on a 10TB volume. Since the machine is running in semi-production mode, I can't perform any UFS tests anymore. The systems is running stable, and extensive checksumming after 8TB data transfers didn't reveal any errors, neither did a filesystem-stress-test. Checksumming with 'cfv' runs at a sustained data rate of 290MB/s Thanks for the good work! From owner-freebsd-current@FreeBSD.ORG Tue May 22 16:34:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE60516A421 for ; Tue, 22 May 2007 16:34:15 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 5934513C45D for ; Tue, 22 May 2007 16:34:15 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2661447nze for ; Tue, 22 May 2007 09:34:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OUUimaRzSOv/QWXkNoBAoDHPTMepNC1fFEkP4H7+fpYI8gWUtVED13AzeoCzINthBZqxLYpcOIqyHRWln1XjxvriyWroIKo01uwClj91U5YIwOjDn7XWlVt1fkORmPNXtdsCsebbu91rBohXhIJSYL7RYegOrcHa+MoV1dULSc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T8TwRGcwa3MQwSboHHi1dgNVlTFnA5ApvZBT3EzChswxbJFiKn23Mc2Yo0uf8LXqZPGW6LCkeZzRTV1nwHSS10mzw0pwBVxtByiJna0HA0rHBAdjJpEGVxCtjTGwuit0F1C5kZkLpgwBtMnZXsDuradNXImWcrNZfIXVyLeUHiw= Received: by 10.114.110.1 with SMTP id i1mr3351804wac.1179851653925; Tue, 22 May 2007 09:34:13 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 09:34:13 -0700 (PDT) Message-ID: <2a41acea0705220934g666dfc56kaac4ac43ab325352@mail.gmail.com> Date: Tue, 22 May 2007 09:34:13 -0700 From: "Jack Vogel" To: "Ian FREISLICH" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0705220049w32b50fc6m37a2e2fef5c8837e@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 16:34:15 -0000 On 5/22/07, Ian FREISLICH wrote: > "Jack Vogel" wrote: > > On 5/21/07, Ian FREISLICH wrote: > > > Looking at the new source, I'm not sure it will stop this adaptor > > > gobbling port 623. It's a 82546EB, e1000_82546_rev_3 e1000_mac_type. > > > In em_init_manageability(), it looks like it's only disabled for > > > e1000_mac_type >= e1000_82571 which excludes this adaptor: > > > > > > /* enable receiving management packets to the host */ > > > if (adapter->hw.mac.type >= e1000_82571) { > > > manc |= E1000_MANC_EN_MNG2HOST; > > > #define E1000_MNG2HOST_PORT_623 (1 << 5) > > > #define E1000_MNG2HOST_PORT_664 (1 << 6) > > > manc2h |= E1000_MNG2HOST_PORT_623; > > > manc2h |= E1000_MNG2HOST_PORT_664; > > > E1000_WRITE_REG(&adapter->hw, E1000_MANC2H, manc2h) > ; > > > } > > > > > > I'll give the driver a whirl anyway. If it doesn't, is it safe to write > > > 'manc |= E1000_MANC_EN_MNG2HOST' for adapter->hw.mac.type >= e1000_82546? > > > > If you can test that would be useful. > > FWIW, the new driver doesn't disable RCMP filtering on this NIC. :( > > But, doing this to the new driver solves the immediate problem for me: > > diff -u -d -r1.3 e1000_82540.c > --- e1000_82540.c 16 May 2007 00:14:23 -0000 1.3 > +++ e1000_82540.c 22 May 2007 11:21:02 -0000 > @@ -316,6 +316,7 @@ > /* Disable HW ARPs on ASF enabled adapters */ > manc = E1000_READ_REG(hw, E1000_MANC); > manc &= ~E1000_MANC_ARP_EN; > + manc &= ~(E1000_MANC_RMCP_EN | E1000_MANC_0298_EN); > E1000_WRITE_REG(hw, E1000_MANC, manc); > > E1000_WRITE_REG(hw, E1000_IMC, 0xffffffff); > > If you can point me to the propper place or way to effect this. I > can see situations where someone would not want to turn this filtering > off - if they have the IPMI daughterboard on their motherboard. This is in shared code, so let me forward the issue to the owners of same here and see what they say. Cheers, Jack From owner-freebsd-current@FreeBSD.ORG Tue May 22 16:38:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 721CA16A421 for ; Tue, 22 May 2007 16:38:30 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 2F7C513C483 for ; Tue, 22 May 2007 16:38:30 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2662837nze for ; Tue, 22 May 2007 09:38:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lCXgCTUAawOqGa7vQWlOz+t9B76P+6PfpCmK2QTu1oFre5XdXxEarToDD9GO/LLnbIziiwdAMVAFzw2QIMfUC152nxn+rW0g1KYDuO1Nf8DFAucvltGKKN67kBXlsY48XJiH0UvaLrm9N4UttMlHV0H0kWl+CidXla+iarqdExw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P+Nh5/5cEApfC6fl7nJ8TcXqK3tO07Ucy78BN3EnDelt2HjWsQNKWxUU+xlowdnsCAy7lBNpF9jf9rAAr3jdlCHwF6Z8zsj+PB1f0qPoFZbFkoZi3jSY0SeiwkdUH0ynCtdoEKG5bzgobcv+d8bjfacecWAKyJyPB8fB1WzvPqk= Received: by 10.115.88.1 with SMTP id q1mr3370867wal.1179851909231; Tue, 22 May 2007 09:38:29 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 09:38:29 -0700 (PDT) Message-ID: <2a41acea0705220938p20b998bfg86a6feba9abc9862@mail.gmail.com> Date: Tue, 22 May 2007 09:38:29 -0700 From: "Jack Vogel" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86zm3xmeyy.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <86zm3xmeyy.fsf@dwp.des.no> Cc: Ian FREISLICH , freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Tue, 22 May 2007 16:38:30 -0000 On 5/22/07, Dag-Erling Sm=F8rgrav wrote: > Ian FREISLICH writes: > > No, it's a March 6 current. How safe is it to just update the > > sys/dev/em directory and recompile? Quite a lot has changed in > > CURRENT since then and I don't want to update everything on these > > servers just yet. > > Quick workaround: configure inetd to listen to port 623 so rpcbind > won't assign these ports to the NFS server. Something like this: > > asf-rmcp dgram udp nowait root /bin/false false > asf-rmcp stream tcp nowait root /bin/false false You dont have to do anything this crude btw, there is an setting in rc.conf I believe to control the range, I'm rusty on the details right now, I discovered this while working this same issue with Yahoo, but its been 6 months or more since. Jack From owner-freebsd-current@FreeBSD.ORG Tue May 22 16:39:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FA2316A41F for ; Tue, 22 May 2007 16:39:41 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 9922413C465 for ; Tue, 22 May 2007 16:39:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D9EAE48807; Tue, 22 May 2007 18:39:38 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 973FC48809; Tue, 22 May 2007 18:39:25 +0200 (CEST) Date: Tue, 22 May 2007 18:39:20 +0200 From: Pawel Jakub Dawidek To: Solon Luigi Lutz Message-ID: <20070522163920.GF1135@garage.freebsd.pl> References: <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070522090947.GA3005@garage.freebsd.pl> <204195092.20070522165943@pyro.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ExXT7PjY8AI4Hyfa" Content-Disposition: inline In-Reply-To: <204195092.20070522165943@pyro.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. 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: Tue, 22 May 2007 16:39:41 -0000 --ExXT7PjY8AI4Hyfa Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 04:59:43PM +0200, Solon Luigi Lutz wrote: > KVS> Pawel Jakub Dawidek writes: > >>> I may reinstall at a later date as this is still very much a box to p= lay > >>> with, but I gather there is no great gain from going 64 bit other than > >>> not having to play with PAE if you've got lots or RAM. > >> > >> I expect there is a huge difference in performance between i386 and > >> amd64. I'm currently setting up environment to compare ZFS on > >> FreeBSD/i386, FreeBSD/amd64 and Solaris. >=20 > KVS> I've had precious little time to do more testing on our amd64-setup,= but > KVS> it seems that vm.kmem.size_max is a 32-bit uint, so we can't really = use > KVS> much RAM for ZFS. >=20 > These are the figures for the following out-of-the-box 7.0 amd64 smp syst= em: out-of-the-box means that you still have INVARIANTS/WITNESS turned on? > Athlon X2 3800, 1GB Ram, Asus M2N-SLI (modified), 24x 500GB (Samsung Spin= point), > Areca ARC1280 running RAID-6. >=20 > ZFS > -------Sequential Output-------- ---Sequential Input-- --Ra= ndom-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Se= eks--- > Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /se= c %CPU > 8000 89555 85.6 188475 63.3 114048 36.9 95865 97.2 460375 64.0 = 41.2 0.3 >=20 > Test was done on a 10TB volume. >=20 > Since the machine is running in semi-production mode, I can't perform any= UFS > tests anymore. The systems is running stable, and extensive > checksumming after 8TB data transfers didn't reveal any errors, > neither did a filesystem-stress-test. Checksumming with 'cfv' runs at a s= ustained > data rate of 290MB/s :) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ExXT7PjY8AI4Hyfa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUxy4ForvXbEpPzQRAp88AJ9Qt0rDFAuMWYIQgm5ynVhk9+QzAgCcCQW+ FEbnJq9ae03dfpojCb55awQ= =WTPi -----END PGP SIGNATURE----- --ExXT7PjY8AI4Hyfa-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 16:51:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CABBF16A4A6 for ; Tue, 22 May 2007 16:51:00 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7027F13C52A for ; Tue, 22 May 2007 16:50:58 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1HqXZP-000MCb-PP by authid for ; Tue, 22 May 2007 19:50:47 +0300 Date: Tue, 22 May 2007 19:50:47 +0300 From: Odhiambo Washington To: freebsd-current@freebsd.org Message-ID: <20070522165047.GA71349@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Subject: sound with -CURRENT 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: Tue, 22 May 2007 16:51:00 -0000 --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Okay, not exactly with current, but I have not been able to get sound working with either 6.x or -CURRENT. I have the present case - an HP DC7600 on which I run -current, but I also have those Creative SoundBlaster cards that support 5.1 surround at home, which I have never managed to get to work. Let's concentrate on the present system that runs 7.x. I am attaching dmesg.boot and the output of `pciconf -lv` I am using the GENERIC kernel on this one, so far. Is there something that I need to do to get the sound card detected - like perhaps load some modules? Perhaps I am simply running unsupported hardware :) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Critic, n.: A person who boasts himself hard to please because nobody tries to please him. -- Ambrose Bierce, "The Devil's Dictionary" --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #2: Mon May 21 11:11:43 EAT 2007 root@alligator-vmware-fbsd7.wananchi.com:/usr/obj/usr/src/sys/ALLIGATOR-7.x ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3389.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf64 Stepping = 4 Features=0xbfebfbff Features2=0xe49d> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 2138832896 (2039 MB) avail memory = 2083454976 (1986 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x10c0-0x10c7 mem 0xe0400000-0xe047ffff,0xd0000000-0xdfffffff,0xe0480000-0xe04bffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M pci0: at device 27.0 (no driver attached) pcib1: at device 28.0 on pci0 pci32: on pcib1 pcib2: irq 17 at device 28.1 on pci0 pci63: on pcib2 pci63:0:0: bad VPD cksum, remain 14 bge0: mem 0xe0500000-0xe050ffff irq 17 at device 0.0 on pci63 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:18:71:71:64:5a bge0: [ITHREAD] uhci0: port 0x1000-0x101f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1020-0x103f irq 18 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1040-0x105f irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1060-0x107f irq 22 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xe04c4000-0xe04c43ff irq 20 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci5: on pcib3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x10a0-0x10af irq 17 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x10d8-0x10df,0x10f0-0x10f3,0x10e0-0x10e7,0x10f4-0x10f7,0x10b0-0x10bf irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] pmtimer0 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/13 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: on uhub0 ums0: on uhub1 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec ad0: 38204MB at ata0-master UDMA100 acd0: DVDR at ata0-slave UDMA40 ad4: 152627MB at ata2-master SATA150 SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider ad4s2 is ntfs/2007. Trying to mount root from ufs:/dev/ad0s1a bge0: link state changed to UP --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pciconf.txt" hostb0@pci0:0:0: class=0x060000 card=0x3010103c chip=0x27708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945G/GZ/P/PL Host Bridge/DRAM Controller' class = bridge subclass = HOST-PCI vgapci0@pci0:2:0: class=0x030000 card=0x3010103c chip=0x27728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945G Integrated Graphics Controller' class = display subclass = VGA none0@pci0:27:0: class=0x040300 card=0x3010103c chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia pcib1@pci0:28:0: class=0x060400 card=0x3010103c chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib2@pci0:28:1: class=0x060400 card=0x3010103c chip=0x27d28086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x3010103c chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x3010103c chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x3010103c chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x3010103c chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x3010103c chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib3@pci0:30:0: class=0x060401 card=0x3010103c chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB/GB/HB (ICH2/3/4/4/5/5/6/7/8), 63xxESB Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x3010103c chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x3010103c chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:31:2: class=0x01018f card=0x3010103c chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class = mass storage subclass = ATA bge0@pci63:0:0: class=0x020000 card=0x3010103c chip=0x160014e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5752 NetXtreme BCM5752 Gigabit Ethernet PCI Express' class = network subclass = ethernet --0ntfKIWw70PvrIHh-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 16:53:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC0B216A469; Tue, 22 May 2007 16:53:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id C10A013C4AE; Tue, 22 May 2007 16:53:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4MGqgqw009322; Tue, 22 May 2007 09:52:42 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4MGqgeN009321; Tue, 22 May 2007 09:52:42 -0700 (PDT) (envelope-from sgk) Date: Tue, 22 May 2007 09:52:42 -0700 From: Steve Kargl To: Robert Watson Message-ID: <20070522165242.GA9249@troutmask.apl.washington.edu> References: <200705220015.l4M0F76e001014@troutmask.apl.washington.edu> <20070522081827.V28780@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070522081827.V28780@fledge.watson.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, "Steven G. Kargl" Subject: Re: kernel panic in sbflush_internal 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: Tue, 22 May 2007 16:53:30 -0000 On Tue, May 22, 2007 at 08:21:13AM -0400, Robert Watson wrote: > > On Mon, 21 May 2007, Steven G. Kargl wrote: > > >One of my colleagues brought down a node on my cluster while running a MPI > >job. The kernel coredump shows > > > >Script started on Mon May 21 17:02:53 2007 > >node12:root[201] kgdb kernel.debug vmcore.0 > > > >Unread portion of the kernel message buffer: > >panic: sbflush_internal: cc 4294965848 || mb 0 || mbcnt 0 > >cpuid = 0 > >Uptime: 7h6m34s > >Physical memory: 16119 MB > >Dumping 631 MB: 616 600 584 568 552 536 520 504 488 472 456 440 424 408 > >392 376 360 344 328 312 296 280 264 248 232 216 200 184 168 152 136 120 > >104 88 72 56 40 24 8 > > Is the kernel build date an accurate reflection of the source code version > it is being used with? Could you let me know what file revisions are in > use for uipc_socket.c, uipc_sockbuf2.c, uipc_syscalls.c, tcp_usrreq.c, > tcp_input.c, tcp_subr.c? Could you print *sb in frame #4, *so in frame #7, > *tp in frame $5, and *inp in #5 (if defined) -- otherwise, (struct inpcb > *)so->so_pcb, if non-NULL, in frame #6. > The requested info follows below. Here's a few details that I omitted. In /var/log/messages on this node, I see May 21 17:28:38 node12 kernel: bge0: watchdog timeout -- resetting May 21 17:28:38 node12 kernel: bge0: link state changed to DOWN May 21 17:28:40 node12 kernel: bge0: link state changed to UP May 21 17:29:33 node12 kernel: bge0: watchdog timeout -- resetting May 21 17:29:33 node12 kernel: bge0: link state changed to DOWN May 21 17:29:35 node12 kernel: bge0: link state changed to UP Google has suggested that I set hw.pci.enable_msix="0" and hw.pci.enable_msi="0" to potential eliminate the above. I also have kern.ipc.nmbclusters="65536" net.inet.tcp.sendspace="65536" net.inet.tcp.recvspace="65536" in my loader.conf. The user's home directory is made available via NFS from a different node. His MPI job is pushing multiple GB/s across the GigE net among 4 identical nodes. node12:kargl[203] ident kernel.debug | grep uipc sys/kern/uipc_sockbuf.c,v 1.170 2007/05/16 20:41:07 rwatson sys/kern/uipc_socket.c,v 1.300 2007/05/16 20:41:07 rwatson sys/kern/uipc_syscalls.c,v 1.255 2007/05/16 20:41:08 rwatson sys/kern/uipc_usrreq.c,v 1.204 2007/05/11 12:28:45 rwatson node12:kargl[206] ident kernel.debug | grep tcp_ sys/netinet/tcp_sack.c,v 1.40 2007/05/11 11:21:43 rwatson node10:kargl[202] ident sys/netinet/tcp_input.c sys/netinet/tcp_input.c,v 1.351 2007/05/16 17:14:25 andre node10:kargl[203] ident sys/netinet/tcp_usrreq.c sys/netinet/tcp_usrreq.c,v 1.156 2007/05/11 10:20:50 rwatson node10:kargl[204] ident sys/netinet/tcp_subr.c sys/netinet/tcp_subr.c,v 1.283 2007/05/16 17:14:25 andre node12:root[201] kgdb kernel.debug vmcore.0 (kgdb) frame 4 #4 0xffffffff802f50cb in sbflush (sb=0xffffff031243ab68) at /usr/src/sys/kern/uipc_sockbuf.c:825 825 /usr/src/sys/kern/uipc_sockbuf.c: No such file or directory. in /usr/src/sys/kern/uipc_sockbuf.c (kgdb) print *sb $1 = {sb_sel = {si_thrlist = {tqe_next = 0xffffff03121ae8b0, tqe_prev = 0xffffff031059d5f8}, si_thread = 0x0, si_note = {kl_list = { slh_first = 0x0}, kl_lock = 0xffffffff8027ac80 , kl_unlock = 0xffffffff8027acb0 , kl_locked = 0xffffffff8027ace0 , kl_lockarg = 0xffffff031243abb0}, si_flags = 0}, sb_mtx = { lock_object = {lo_name = 0xffffffff8050cd15 "so_rcv", lo_type = 0xffffffff8050cd15 "so_rcv", lo_flags = 16973824, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 18446742987443408160, mtx_recurse = 0}, sb_sx = {lock_object = { lo_name = 0xffffffff8050d3d0 "so_rcv_sx", lo_type = 0xffffffff8050d3d0 "so_rcv_sx", lo_flags = 37421056, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, sx_lock = 1, sx_recurse = 0}, sb_state = 32, sb_mb = 0x0, sb_mbtail = 0x0, sb_lastrecord = 0x0, sb_sndptr = 0x0, sb_sndptroff = 0, sb_cc = 4294965848, sb_hiwat = 131056, sb_mbcnt = 0, sb_mbmax = 262144, sb_ctl = 0, sb_lowat = 1, sb_timeo = 0, sb_flags = 0} (kgdb) frame 7 #7 0xffffffff802f67f2 in soclose (so=0xffffff031243aae0) at /usr/src/sys/kern/uipc_socket.c:642 642 /usr/src/sys/kern/uipc_socket.c: No such file or directory. in /usr/src/sys/kern/uipc_socket.c (kgdb) print *so $2 = {so_count = 1, so_type = 1, so_options = 0, so_linger = 0, so_state = 266, so_qstate = 0, so_pcb = 0xffffff0311a04690, so_proto = 0xffffffff80673030, so_head = 0x0, so_incomp = {tqh_first = 0x0, tqh_last = 0x0}, so_comp = {tqh_first = 0x0, tqh_last = 0x0}, so_list = { tqe_next = 0x0, tqe_prev = 0xffffff0311f3c860}, so_qlen = 0, so_incqlen = 0, so_qlimit = 0, so_timeo = 0, so_error = 0, so_sigio = 0x0, so_oobmark = 0, so_aiojobq = {tqh_first = 0x0, tqh_last = 0xffffff031243ab58}, so_rcv = {sb_sel = {si_thrlist = { tqe_next = 0xffffff03121ae8b0, tqe_prev = 0xffffff031059d5f8}, si_thread = 0x0, si_note = {kl_list = {slh_first = 0x0}, kl_lock = 0xffffffff8027ac80 , kl_unlock = 0xffffffff8027acb0 , kl_locked = 0xffffffff8027ace0 , kl_lockarg = 0xffffff031243abb0}, si_flags = 0}, sb_mtx = { lock_object = {lo_name = 0xffffffff8050cd15 "so_rcv", lo_type = 0xffffffff8050cd15 "so_rcv", lo_flags = 16973824, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 18446742987443408160, mtx_recurse = 0}, sb_sx = { lock_object = {lo_name = 0xffffffff8050d3d0 "so_rcv_sx", lo_type = 0xffffffff8050d3d0 "so_rcv_sx", lo_flags = 37421056, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, sx_lock = 1, sx_recurse = 0}, sb_state = 32, sb_mb = 0x0, sb_mbtail = 0x0, sb_lastrecord = 0x0, sb_sndptr = 0x0, sb_sndptroff = 0, sb_cc = 4294965848, sb_hiwat = 131056, sb_mbcnt = 0, sb_mbmax = 262144, sb_ctl = 0, sb_lowat = 1, sb_timeo = 0, sb_flags = 0}, so_snd = {sb_sel = { si_thrlist = {tqe_next = 0x0, tqe_prev = 0x0}, si_thread = 0x0, si_note = {kl_list = {slh_first = 0x0}, kl_lock = 0xffffffff8027ac80 , kl_unlock = 0xffffffff8027acb0 , kl_locked = 0xffffffff8027ace0 , kl_lockarg = 0xffffff031243aca8}, si_flags = 0}, sb_mtx = { lock_object = {lo_name = 0xffffffff8050cd1c "so_snd", lo_type = 0xffffffff8050cd1c "so_snd", lo_flags = 16973824, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 4, mtx_recurse = 0}, sb_sx = {lock_object = { lo_name = 0xffffffff8050d3c6 "so_snd_sx", lo_type = 0xffffffff8050d3c6 "so_snd_sx", lo_flags = 37421056, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, sx_lock = 1, sx_recurse = 0}, sb_state = 16, sb_mb = 0x0, sb_mbtail = 0x0, sb_lastrecord = 0x0, sb_sndptr = 0x0, sb_sndptroff = 0, sb_cc = 0, sb_hiwat = 131056, sb_mbcnt = 0, sb_mbmax = 262144, sb_ctl = 0, sb_lowat = 2048, sb_timeo = 0, sb_flags = 0}, so_upcall = 0, so_upcallarg = 0x0, so_cred = 0xffffff031a37e700, so_label = 0x0, so_peerlabel = 0x0, so_gencnt = 1035, so_emuldata = 0x0, so_accf = 0x0} (kgdb) frame 5 #5 0xffffffff803b7246 in tcp_disconnect (tp=0xffffff03101f73e0) at /usr/src/sys/netinet/tcp_usrreq.c:1496 1496 /usr/src/sys/netinet/tcp_usrreq.c: No such file or directory. in /usr/src/sys/netinet/tcp_usrreq.c (kgdb) print *tp $3 = {t_segq = {lh_first = 0x0}, t_segqlen = 0, t_dupacks = 0, t_timers = 0xffffff03101f7578, t_inpcb = 0xffffff0311a04690, t_state = 5, t_flags = 2097636, snd_una = 1204918958, snd_max = 1204918958, snd_nxt = 1204918958, snd_up = 1204918958, snd_wl1 = 3283435452, snd_wl2 = 1204918958, iss = 3229930725, irs = 1013480283, rcv_nxt = 3283435453, rcv_adv = 3283567957, rcv_wnd = 132504, rcv_up = 3283435452, snd_wnd = 130816, snd_cwnd = 7240, snd_bwnd = 6144, snd_ssthresh = 14480, snd_bandwidth = 12140, snd_recover = 1202449118, t_maxopd = 1460, t_rcvtime = 25596928, t_starttime = 8536916, t_rtttime = 0, t_rtseq = 1204918886, t_bw_rtttime = 22602960, t_bw_rtseq = 1204918958, t_rxtcur = 314, t_maxseg = 1448, t_srtt = 425, t_rttvar = 403, t_rxtshift = 0, t_rttmin = 3, t_rttbest = 10, t_rttupdated = 800408, max_sndwnd = 130816, t_softerror = 0, t_oobflags = 0 '\0', t_iobc = 0 '\0', snd_scale = 8 '\b', rcv_scale = 8 '\b', request_r_scale = 8 '\b', ts_recent = 25589283, ts_recent_age = 25596928, ts_offset = 3770841565, last_ack_sent = 3283435453, snd_cwnd_prev = 133216, snd_ssthresh_prev = 18824, snd_recover_prev = 1191617750, t_badrxtwin = 22521286, snd_limited = 2 '\002', snd_numholes = 0, snd_holes = {tqh_first = 0x0, tqh_last = 0xffffff03101f7508}, snd_fack = 0, rcv_numsacks = 0, sackblks = {{start = 0, end = 0}, {start = 0, end = 0}, { start = 0, end = 0}, {start = 0, end = 0}, {start = 0, end = 0}, { start = 0, end = 0}}, sack_newdata = 0, sackhint = {nexthole = 0x0, sack_bytes_rexmit = 0}, t_rttlow = 100, rfbuf_ts = 0, rfbuf_cnt = 0} (kgdb) print *inp $4 = {inp_hash = {le_next = 0x0, le_prev = 0xffffff0000c18788}, inp_list = { le_next = 0xffffff0311a047a8, le_prev = 0xffffff0311a04588}, inp_flow = 0, inp_inc = {inc_flags = 0 '\0', inc_len = 0 '\0', inc_pad = 0, inc_ie = { ie_fport = 25290, ie_lport = 21464, ie_dependfaddr = {ie46_foreign = { ia46_pad32 = {0, 0, 0}, ia46_addr4 = {s_addr = 234924224}}, ie6_foreign = {__u6_addr = { __u6_addr8 = '\0' , "À¨\000\016", __u6_addr16 = { 0, 0, 0, 0, 0, 0, 43200, 3584}, __u6_addr32 = {0, 0, 0, 234924224}}}}, ie_dependladdr = {ie46_local = {ia46_pad32 = {0, 0, 0}, ia46_addr4 = {s_addr = 201369792}}, ie6_local = { __u6_addr = {__u6_addr8 = '\0' , "À¨\000\f", __u6_addr16 = {0, 0, 0, 0, 0, 0, 43200, 3072}, __u6_addr32 = {0, 0, 0, 201369792}}}}}}, inp_ppcb = 0xffffff03101f73e0, inp_pcbinfo = 0xffffffff806ca680, inp_socket = 0xffffff031243aae0, inp_label = 0x0, inp_flags = 8388608, inp_sp = 0x0, inp_vflag = 1 '\001', inp_ip_ttl = 64 '@', inp_ip_p = 0 '\0', inp_ip_minttl = 0 '\0', inp_depend4 = {inp4_ip_tos = 0 '\0', inp4_options = 0x0, inp4_moptions = 0x0}, inp_depend6 = {inp6_options = 0x0, inp6_outputopts = 0x0, inp6_moptions = 0x0, inp6_icmp6filt = 0x0, inp6_cksum = 0, inp6_hops = 0}, inp_portlist = {le_next = 0x0, le_prev = 0xffffff0003431390}, inp_phd = 0xffffff0003431380, inp_gencnt = 264, inp_mtx = {lock_object = { lo_name = 0xffffffff80514d23 "inp", lo_type = 0xffffffff8051713d "tcpinp", lo_flags = 21692416, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, mtx_lock = 18446742987443408160, mtx_recurse = 0}} (kgdb) quit -- Steve From owner-freebsd-current@FreeBSD.ORG Tue May 22 17:44:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6697616A41F for ; Tue, 22 May 2007 17:44:32 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4FF13C483 for ; Tue, 22 May 2007 17:44:31 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 603661CDAB; Tue, 22 May 2007 19:44:30 +0200 (CEST) Date: Tue, 22 May 2007 19:44:30 +0200 From: Ed Schouten To: Odhiambo Washington , FreeBSD Current Message-ID: <20070522174430.GJ23313@hoeg.nl> References: <20070522165047.GA71349@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nQ9468VQnrzpS1Lp" Content-Disposition: inline In-Reply-To: <20070522165047.GA71349@ns2.wananchi.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: Re: sound with -CURRENT 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: Tue, 22 May 2007 17:44:32 -0000 --nQ9468VQnrzpS1Lp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Odhiambo Washington wrote: > Okay, not exactly with current, but I have not been able to get sound=20 > working with either 6.x or -CURRENT. I have the present case - an HP > DC7600 on which I run -current, but I also have those Creative SoundBlast= er > cards that support 5.1 surround at home, which I have never managed > to get to work. >=20 > Let's concentrate on the present system that runs 7.x. >=20 > I am attaching dmesg.boot and the output of `pciconf -lv` > I am using the GENERIC kernel on this one, so far. >=20 > Is there something that I need to do to get the sound card detected -=20 > like perhaps load some modules? >=20 > Perhaps I am simply running unsupported hardware :) >=20 > [...] > none0@pci0:27:0: class=3D0x040300 card=3D0x3010103c chip=3D0x27d88086 rev= =3D0x01 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '82801G (ICH7 Family) High Definition Audio' > class =3D multimedia | $ whatis 'high definition audio' | snd_hda(4) - Intel High Definition Audio bridge device driv= er A `kldload snd_hda' should suffice. snd_ich should also work, but doesn't make use of the high definition audio functionality. --=20 Ed Schouten WWW: http://g-rave.nl/ --nQ9468VQnrzpS1Lp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUyv+52SDGA2eCwURAisTAJ9GA/FtWp9FxgkyOxC9KZB3Ra9UIACePgzz cOwKdLkmRCZzPjw4lfHP0/o= =vMXA -----END PGP SIGNATURE----- --nQ9468VQnrzpS1Lp-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 17:48:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAABA16A421 for ; Tue, 22 May 2007 17:48:51 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4839D13C465 for ; Tue, 22 May 2007 17:48:51 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 137494793F; Tue, 22 May 2007 13:48:50 -0400 (EDT) Date: Tue, 22 May 2007 13:48:50 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Goran Gajic In-Reply-To: Message-ID: <20070522134724.L28780@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Tue, 22 May 2007 17:48:51 -0000 On Tue, 22 May 2007, Goran Gajic wrote: > After today cvsup and installing of new kernel system refuses to boot. > It hangs at mentioned line. Here is minicom.cap: > sc0: VGA <16 virtual consoles, flags=0x100> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC > > Kernel built on May 17th boots fine.. I saw an identical problem when I booted a kernel from yesterday with kernel modules from a week or so earlier, only mine froze before getting to the Timecounter line, rather, immediately after the vga0 line. Perhaps we're looking at an issue with mixing modules with a kernel from before/after the compiler upgrade? Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Tue May 22 18:04:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 896F216A46B for ; Tue, 22 May 2007 18:04:03 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id 4963413C4B9 for ; Tue, 22 May 2007 18:04:03 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2691235nze for ; Tue, 22 May 2007 11:04:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iDEfFYZ8cqRe8LOLV8HQBTAzxQvY2POCvxz+5cq6G3G5B7lY5Epydk/H9n6J3xZEdLpTubFjOyei+trH9BblS2fnxCvcBnoV6zJVxy4MOueturUp2GpGyfvV5sitVO3QehrI8WmJN9DyT6lxlx+Frhzu/85bp12dWx3d41sNkSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=l06Ol1SnL4pgX+HaGDSWFD3US5adxDIF8Q+PX4/DIguoGa2pQW98BHT3sLgPQ1QuAC7DnCpRB1MwFIH6wsBaLu+U2AxiiAJ1YNYaHKrXAYKJzO0IK5Vau6ZBTaeTh8nbOU3xbpul69bDLN/IA1Asw1SPHGpfQEQG75WTJNlm6P8= Received: by 10.115.15.1 with SMTP id s1mr3430403wai.1179857042158; Tue, 22 May 2007 11:04:02 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 11:04:02 -0700 (PDT) Message-ID: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> Date: Tue, 22 May 2007 11:04:02 -0700 From: "Jack Vogel" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: May snapshot 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: Tue, 22 May 2007 18:04:03 -0000 Is there some reason why the powerpc iso is not in the May snapshot? Trying to install a machine and had to fall back to April. Regards, Jack From owner-freebsd-current@FreeBSD.ORG Tue May 22 18:13:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5361616A400 for ; Tue, 22 May 2007 18:13:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2690C13C4BA for ; Tue, 22 May 2007 18:13:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/smtpout06/MantshX 4.0) with ESMTP id l4MIDkah010118; Tue, 22 May 2007 11:13:46 -0700 (PDT) Received: from [172.24.104.227] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id l4MIDhUL023605 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 22 May 2007 11:13:44 -0700 (PDT) In-Reply-To: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> References: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5DC479B2-0AA8-435A-B694-7B878F8251A9@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Tue, 22 May 2007 14:13:34 -0400 To: Jack Vogel X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: FreeBSD Current Subject: Re: May snapshot 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: Tue, 22 May 2007 18:13:47 -0000 On May 22, 2007, at 2:04 PM, Jack Vogel wrote: > Is there some reason why the powerpc iso is not in the May snapshot? > Trying to install a machine and had to fall back to April. Yes. My machines had to be turned off for a while. There should be a snapshot next month... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Tue May 22 18:28:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E73D616A41F for ; Tue, 22 May 2007 18:28:16 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtai103.cox.net (eastrmmtai103.cox.net [68.230.240.10]) by mx1.freebsd.org (Postfix) with ESMTP id 750D313C4BB for ; Tue, 22 May 2007 18:28:16 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao105.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070522172739.FDBU11792.eastrmmtao105.cox.net@eastrmimpo01.cox.net> for ; Tue, 22 May 2007 13:27:39 -0400 Received: from serene.no-ip.org ([72.200.36.10]) by eastrmimpo01.cox.net with bizsmtp id 2HTe1X00C0D7syo0000000; Tue, 22 May 2007 13:27:39 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.1/8.14.1) with ESMTP id l4MH3bHG057767 for ; Tue, 22 May 2007 12:03:37 -0500 (CDT) (envelope-from conrads@cox.net) Message-Id: <200705221703.l4MH3bHG057767@serene.no-ip.org> Date: Tue, 22 May 2007 12:03:32 -0500 From: "Conrad J. Sabatier" To: freebsd-current@freebsd.org X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: dhclient fxp0 broken in -current for several days now 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: Tue, 22 May 2007 18:28:17 -0000 I *think* this started around last Friday or Saturday (May 19 or 20). Suddenly, dhclient is no longer obtaining an IP address from my ISP (Cox), nor is it falling back to the prior saved lease. # dhclient fxp0 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 20 No DHCPOFFERS received. No working leases in persistent database - sleeping. This last line above is particularly baffling, as I still have a perfectly good /var/db/dhclient.leases.fxp0 file. My /etc/dhclient.conf contains only one line: prepend domain-name-servers 127.0.0.1; I've resorted to manual configuration of fxp0 for now, based on the information contained in the last DHCP lease, but I'd sure like to get the DHCP negotiation working again. -- Conrad J. Sabatier From owner-freebsd-current@FreeBSD.ORG Tue May 22 18:54:21 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51A8716A421 for ; Tue, 22 May 2007 18:54:21 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.177]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3D813C468 for ; Tue, 22 May 2007 18:54:21 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/smtpout07/MantshX 4.0) with ESMTP id l4MIBQlr014394; Tue, 22 May 2007 11:11:26 -0700 (PDT) Received: from [172.24.104.227] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id l4MIB0RH022325 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 22 May 2007 11:11:07 -0700 (PDT) In-Reply-To: <"63182.2001:6f8:101e:0:20e:cff:fe6d:6adb.1179830426.squirrel"@webmail.alpha-tierchen.de> References: <"63182.2001:6f8:101e:0:20e:cff:fe6d:6adb.1179830426.squirrel"@webmail.alpha-tierchen.de> Mime-Version: 1.0 (Apple Message framework v752.3) X-Priority: 3 (Normal) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <8869FB6B-5FF0-4414-8636-8CACE5FD6684@mac.com> Content-Transfer-Encoding: quoted-printable From: Marcel Moolenaar Date: Tue, 22 May 2007 14:10:51 -0400 To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: current@freebsd.org Subject: Re: sysinstall says "BARF", concerns libdisk and geom_label 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: Tue, 22 May 2007 18:54:21 -0000 On May 22, 2007, at 6:40 AM, Bj=F6rn K=F6nig wrote: > Hello, > > when I start sysinstall I get the error message "BARF 148 <88>". The > reason for this is the label of my Windows partion, it is called =20 > "Windows > XP" and contains a space character. libdisk/open_disk.c needs to =20 > parse the > value of kern.geom.conftxt which contains spaces as field seperator, > therefore it fails. > > A quick and dirty workaround would be to skip labels that contain =20 > space > characters, which can be easily done in g_label_is_name_ok > (sys/geom/label/g_label.c). > > But I am looking for a better solution. So it might be more =20 > accurate to > revise libdisk, i.e. improve the parsing of kern.geom.conftxt. > > Maybe the best but most time-consuming solution is to change the =20 > output of > kern.geom.conftxt to another format, e.g. XML. > > Are there any comments or other suggestions? The major flaw in libdisk is that each platform has its own set of supported partitioning schemes. With other efforts underway, we need to stop doing that. I would suggest to stop using libdisk entirely and instead work on sysinstall to support partitioning disks based on gpart. That way every platform can (potentially) create disks with every partitioning scheme that freebsd supports. --=20 Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Tue May 22 18:20:18 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BD8B16A400; Tue, 22 May 2007 18:20:18 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 76B5B13C4BD; Tue, 22 May 2007 18:20:15 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 22 May 2007 11:19:47 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAHjQUkaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007052211194503-667 ; Tue, 22 May 2007 11:19:45 -0700 Date: Tue, 22 May 2007 11:19:44 -0700 (PDT) From: KAYVEN RIESE To: linimon@lonesome.com (Mark Linimon) In-Reply-To: <20070522122506.GA3680@soaustin.net> Message-ID: References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> <867ir1yxv8.fsf@dwp.des.no> <20070522101643.GO71905@droso.net> <86myzxxd5w.fsf@dwp.des.no> <20070522122506.GA3680@soaustin.net> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/22/2007 11:19:45, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/22/2007 11:19:47, Serialize complete at 05/22/2007 11:19:47 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-126398554-1179857984=:10757" X-Mailman-Approved-At: Tue, 22 May 2007 18:56:48 +0000 Cc: ports@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 18:20:18 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-126398554-1179857984=:10757 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed On Tue, 22 May 2007, linimon@lonesome.com (Mark Linimon) wrote: > On Tue, May 22, 2007 at 02:20:43PM +0200, Dag-Erling Sm=F8rgrav wrote: >> Then you need to run a kernel that corresponds to the newest userland >> the tinderbox wants to run - or from a different perspective, configure >> the tinderbox to only run userlands as old as or older than your kernel. > > Yes, that's the general idea, and what pointyhat does. > >> In any case, it's your problem, not FreeBSD's. > > As usual, factual but badly stated. > > mcl this discussion is starting to feel like a "pointyheaded" one. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-126398554-1179857984=:10757-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 18:22:51 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C46516A46F; Tue, 22 May 2007 18:22:51 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron2.sfsu.edu (iron2.sfsu.edu [130.212.10.36]) by mx1.freebsd.org (Postfix) with ESMTP id 64D3713C4BA; Tue, 22 May 2007 18:22:50 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron2.sfsu.edu with ESMTP; 22 May 2007 10:54:14 -0700 X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CABTLUkaC1Apk/2dsb2JhbAA Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0) with ESMTP id 2007052210541282-651 ; Tue, 22 May 2007 10:54:12 -0700 Date: Tue, 22 May 2007 10:54:12 -0700 (PDT) From: KAYVEN RIESE To: Martin Wilke In-Reply-To: <20070522090136.C28D850BEB@unixfreunde.net> Message-ID: References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0|August 18, 2005) at 05/22/2007 10:54:12, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.2FP1HF155 | March 20, 2007) at 05/22/2007 10:54:14, Serialize complete at 05/22/2007 10:54:14 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Tue, 22 May 2007 18:56:48 +0000 Cc: ports@freebsd.org, current@freebsd.org Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 18:22:51 -0000 On Tue, 22 May 2007, Martin Wilke wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 22 May 2007 09:25:45 +0200 > Erwin Lansing wrote: > > |Another reason for to run -CURRENT and eat some more dogfood :-) > | > |-erwin > > > i think that's a wrong way to say all users and maintainer you > should update to current for correct building now. I'm not really > willing to update my miwibox to current. > > - - Martin obviously he's being a facious purist hard-butt. > > > - -- > Martin Wilke | irc.unixfreunde.de #bsd > miwi@FreeBSD.org | miwi@unixfreunde.de > FreeBSD Committer | Power to Serve > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.3 (FreeBSD) > > iD8DBQFGUtvWFwpycAVoI1MRAjtxAJ4vE9ncNedcWM26JxbmInTtXJs45wCcChzN > +dfWu7X+pvQCI7zk0Ft3Qzo= > =OUIf > -----END PGP SIGNATURE----- > From owner-freebsd-current@FreeBSD.ORG Tue May 22 19:16:19 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F313016A46C; Tue, 22 May 2007 19:16:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id DFB4613C465; Tue, 22 May 2007 19:16:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7FD731A3C19; Tue, 22 May 2007 12:17:18 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0B486513AD; Tue, 22 May 2007 15:16:17 -0400 (EDT) Date: Tue, 22 May 2007 15:16:17 -0400 From: Kris Kennaway To: ports@freebsd.org, current@freebsd.org Message-ID: <20070522191617.GA77470@xor.obsecurity.org> References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> <867ir1yxv8.fsf@dwp.des.no> <20070522101643.GO71905@droso.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070522101643.GO71905@droso.net> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 19:16:19 -0000 On Tue, May 22, 2007 at 12:16:43PM +0200, Erwin Lansing wrote: > On Tue, May 22, 2007 at 12:08:11PM +0200, Dag-Erling Smrgrav wrote: > > Martin Wilke writes: > > > Erwin Lansing writes: > > > > Another reason for to run -CURRENT and eat some more dogfood :-) > > > i think that's a wrong way to say all users and maintainer you > > > should update to current for correct building now. I'm not really > > > willing to update my miwibox to current. > > > > So don't run CURRENT in your chroot. > > > > We (mostly) support running old userlands on new kernels, but we have > > never supported running new userlands on old kernels. > > > Which is exactly what the ports tinderbox does, different userlands on a > shared kernel. Tinderboxes have always had to cope with this (in the past that mostly just affected me). Sometimes when a new CURRENT is forked you can get away with running the previous version for a while longer because the kernel ABI usually only diverges slowly. Eventually there is always an incompatible change and tinderbox machines must be upgraded to run CURRENT. This is just the price of progress. As a bonus, you get to help with QA of FreeBSD-CURRENT, which you'll be thankful for in the long run since you'll be using that branch sooner or later no matter what you do. Kris From owner-freebsd-current@FreeBSD.ORG Tue May 22 19:22:31 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E301F16A4D1; Tue, 22 May 2007 19:22:31 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 8070013C45B; Tue, 22 May 2007 19:22:31 +0000 (UTC) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l4MJML216579; Tue, 22 May 2007 15:22:21 -0400 (EDT) Received: from [64.102.193.121] (dhcp-64-102-193-121.cisco.com [64.102.193.121]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l4MJMJq04791; Tue, 22 May 2007 15:22:19 -0400 (EDT) Message-ID: <46534301.10005@FreeBSD.org> Date: Tue, 22 May 2007 15:22:41 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: "current@freebsd.org" X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: pjd@FreeBSD.org Subject: [Fwd: Serious problem with mount(8)] 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: Tue, 22 May 2007 19:22:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think this email got eaten by the recent mailman problems, so I'm resending. Any feedback on this would be appreciated. Joe - -------- Original Message -------- Subject: Serious problem with mount(8) Date: Thu, 17 May 2007 14:19:21 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. To: current@freebsd.org CC: pjd@freebsd.org I really don't know why I didn't notice this before, but when mount was converted to use the pidfile(3) API three months ago, the behavior of mount(8) changed with regard to restarting mountd. A pidfile client cannot use pidfile_open(3) as this will truncate the pidfile. The result is that mount reads in a PID of 0, and when it tries to send a SIGHUP to this PID, it kills itself. Consequently, this is breaking the ports Tinderbox. I suppose we could revert to the previous behavior, but use flopen() to test if the file is actually locked. Maybe something like this: http://www.marcuscom.com/downloads/mount.c.diff Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGU0MBb2iPiv4Uz4cRAkHlAJ9inrjwmUU8+iaFbmQ/06z6Wak2ygCeN19q Hlqo5gpIBOdoWcjAUVMkz8c= =gUKr -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Tue May 22 19:57:31 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30E0216A41F; Tue, 22 May 2007 19:57:31 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.freebsd.org (Postfix) with ESMTP id E9C7813C45B; Tue, 22 May 2007 19:57:30 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 841711CC2D; Tue, 22 May 2007 21:57:29 +0200 (CEST) Date: Tue, 22 May 2007 21:57:29 +0200 From: Erwin Lansing To: ports@freebsd.org, current@freebsd.org Message-ID: <20070522195729.GX71905@droso.net> Mail-Followup-To: ports@freebsd.org, current@freebsd.org References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> <867ir1yxv8.fsf@dwp.des.no> <20070522101643.GO71905@droso.net> <20070522191617.GA77470@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bEAlbH1hodbw2omC" Content-Disposition: inline In-Reply-To: <20070522191617.GA77470@xor.obsecurity.org> X-Operating-System: FreeBSD/i386 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 19:57:31 -0000 --bEAlbH1hodbw2omC Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 03:16:17PM -0400, Kris Kennaway wrote: >=20 > Tinderboxes have always had to cope with this (in the past that mostly > just affected me). Sometimes when a new CURRENT is forked you can get > away with running the previous version for a while longer because the > kernel ABI usually only diverges slowly. Eventually there is always > an incompatible change and tinderbox machines must be upgraded to run > CURRENT. This is just the price of progress. >=20 > As a bonus, you get to help with QA of FreeBSD-CURRENT, which you'll > be thankful for in the long run since you'll be using that branch > sooner or later no matter what you do. >=20 Exactly the non-joke part in my joke (unfortunately, some people seem to ignore or overlook smileys), it would be great if developers could run -CURRENT on at least some of their systems, but I also understand that not everyone has access to hardward to do this. My personal tinderbox runs on my workstation at work, as this is the fastest machine I have access to, and that is too critical to run anything more recent than -STABLE. The amd64 box of the shared tinderboxes available to committers does run -CURRENT though, and I will try (or try to convince Simon) to upgrade the i386 box as well one of these days, so committers have access to test these ports that are running into trouble after the recent events. -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --bEAlbH1hodbw2omC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGU0spqy9aWxUlaZARAofKAKCQePfNjdQE9aGcDTBUJfjZjPTFkwCfQg5m cHyCnvnf3Fz6ImEKMwS5agA= =La5c -----END PGP SIGNATURE----- --bEAlbH1hodbw2omC-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:01:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFEC116A421 for ; Tue, 22 May 2007 20:01:40 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id B025E13C469 for ; Tue, 22 May 2007 20:01:40 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1726895wra for ; Tue, 22 May 2007 13:01:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k/hveq2xaVaYHi5MtL0GpoavTdTQgwJlY/8V9YLlwqQMb60J0SZ3DExLfXOIrCOmUabTNU1cASq5+mnHeG7T9rvGUA65JA/s/IDvyqC0RBWOUg70v0GyZaCB97w9IakClDaE42KOhPnsWbD3fndJGAy2HhR2QGxspc4kqNFPFVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m8KcXN9WzAnerT6kxaw+FUwEr+kjnP1gt7biNRulcCv2tLyEnSnNAt428nvA2dp9VrFNyIVARZK8ZjVvEDqllziMnlRMw5j66kGaJ9GWzkIZEboqRdeRt4xgjrd8clhGt0ovy/wkML493kbLn/DQ7nWkxqgAKUKXKlntesq1E/4= Received: by 10.115.75.1 with SMTP id c1mr3438441wal.1179864099404; Tue, 22 May 2007 13:01:39 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 13:01:39 -0700 (PDT) Message-ID: <2a41acea0705221301t39e9a07atf7ad445e17c54261@mail.gmail.com> Date: Tue, 22 May 2007 13:01:39 -0700 From: "Jack Vogel" To: "Marcel Moolenaar" In-Reply-To: <5DC479B2-0AA8-435A-B694-7B878F8251A9@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> <5DC479B2-0AA8-435A-B694-7B878F8251A9@mac.com> Cc: FreeBSD Current Subject: Re: May snapshot 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: Tue, 22 May 2007 20:01:41 -0000 On 5/22/07, Marcel Moolenaar wrote: > > On May 22, 2007, at 2:04 PM, Jack Vogel wrote: > > > Is there some reason why the powerpc iso is not in the May snapshot? > > Trying to install a machine and had to fall back to April. > > Yes. My machines had to be turned off for a while. > There should be a snapshot next month... Thanks, turns out this hardware isnt supported anyway so its not an issue :( Jack From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:03:37 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CB1416A46C; Tue, 22 May 2007 20:03:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 3892E13C45A; Tue, 22 May 2007 20:03:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 956F32084; Tue, 22 May 2007 22:03:33 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 833A12083; Tue, 22 May 2007 22:03:33 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 677B557C6; Tue, 22 May 2007 22:03:33 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: KAYVEN RIESE References: <6eb82e0705211928q29881391k4da2e1a738af800d@mail.gmail.com> <4652579B.4080209@delphij.net> <6eb82e0705211954y7db95e87mdda62228e31ea013@mail.gmail.com> <20070522043637.GA65742@bsdcrew.de> <20070522072115.GC59910@xor.obsecurity.org> <20070522072545.GQ71905@droso.net> <20070522090136.C28D850BEB@unixfreunde.net> Date: Tue, 22 May 2007 22:03:33 +0200 In-Reply-To: (KAYVEN RIESE's message of "Tue\, 22 May 2007 10\:54\:12 -0700 \(PDT\)") Message-ID: <868xbgzkve.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, current@freebsd.org, Martin Wilke Subject: Re: tinderbox and bad system call 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: Tue, 22 May 2007 20:03:37 -0000 KAYVEN RIESE writes: > Martin Wilke writes: > > i think that's a wrong way to say all users and maintainer you > > should update to current for correct building now. I'm not really > > willing to update my miwibox to current. > obviously he's being a facious purist hard-butt. Obviously you are... well, words fail me. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:06:02 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D96A416A46B; Tue, 22 May 2007 20:06:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9937F13C458; Tue, 22 May 2007 20:06:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id F070B2084; Tue, 22 May 2007 22:05:57 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id E2D442083; Tue, 22 May 2007 22:05:57 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id BD99757C8; Tue, 22 May 2007 22:05:57 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Joe Marcus Clarke References: <46534301.10005@FreeBSD.org> Date: Tue, 22 May 2007 22:05:57 +0200 In-Reply-To: <46534301.10005@FreeBSD.org> (Joe Marcus Clarke's message of "Tue\, 22 May 2007 15\:22\:41 -0400") Message-ID: <864pm4zkre.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: pjd@FreeBSD.org, "current@freebsd.org" Subject: Re: [Fwd: Serious problem with mount(8)] 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: Tue, 22 May 2007 20:06:02 -0000 Joe Marcus Clarke writes: > I really don't know why I didn't notice this before, but when mount was > converted to use the pidfile(3) API three months ago, the behavior of > mount(8) changed with regard to restarting mountd. A pidfile client > cannot use pidfile_open(3) as this will truncate the pidfile. The > result is that mount reads in a PID of 0, and when it tries to send a > SIGHUP to this PID, it kills itself. Consequently, this is breaking the > ports Tinderbox. > > I suppose we could revert to the previous behavior, but use flopen() to > test if the file is actually locked. Maybe something like this: > > http://www.marcuscom.com/downloads/mount.c.diff Better yet, extend the pidfile API with a function which reads the contents of a PID file and also checks whether it's locked. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:13:02 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88E9D16A501; Tue, 22 May 2007 20:13:02 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 2619E13C455; Tue, 22 May 2007 20:13:01 +0000 (UTC) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l4MKD1f21483; Tue, 22 May 2007 16:13:01 -0400 (EDT) Received: from [64.102.193.121] (dhcp-64-102-193-121.cisco.com [64.102.193.121]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l4MKD0q15021; Tue, 22 May 2007 16:13:00 -0400 (EDT) Message-ID: <46534EE2.3090107@FreeBSD.org> Date: Tue, 22 May 2007 16:13:22 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <46534301.10005@FreeBSD.org> <864pm4zkre.fsf@dwp.des.no> In-Reply-To: <864pm4zkre.fsf@dwp.des.no> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: pjd@FreeBSD.org, "current@freebsd.org" Subject: Re: [Fwd: Serious problem with mount(8)] 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: Tue, 22 May 2007 20:13:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dag-Erling Smørgrav wrote: > Joe Marcus Clarke writes: >> I really don't know why I didn't notice this before, but when mount was >> converted to use the pidfile(3) API three months ago, the behavior of >> mount(8) changed with regard to restarting mountd. A pidfile client >> cannot use pidfile_open(3) as this will truncate the pidfile. The >> result is that mount reads in a PID of 0, and when it tries to send a >> SIGHUP to this PID, it kills itself. Consequently, this is breaking the >> ports Tinderbox. >> >> I suppose we could revert to the previous behavior, but use flopen() to >> test if the file is actually locked. Maybe something like this: >> >> http://www.marcuscom.com/downloads/mount.c.diff > > Better yet, extend the pidfile API with a function which reads the > contents of a PID file and also checks whether it's locked. I'd be happy to do this. Is my approach with this code sound (i.e. can I simply port this to pidfile(3)), or should I take another approach? Thanks. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGU07ib2iPiv4Uz4cRAro0AKCQp9xjvvozdAZnV/AKkAG+f28O2QCfUFtn Qh7BiapUrg+rRccFb9GQ0TA= =aers -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:13:50 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCDE616A46C for ; Tue, 22 May 2007 20:13:50 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 7399513C45D for ; Tue, 22 May 2007 20:13:50 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 08ED448801; Tue, 22 May 2007 22:13:49 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0BDB9456AB; Tue, 22 May 2007 22:13:44 +0200 (CEST) Date: Tue, 22 May 2007 22:13:36 +0200 From: Pawel Jakub Dawidek To: Dag-Erling Sm??rgrav Message-ID: <20070522201336.GA4201@garage.freebsd.pl> References: <46534301.10005@FreeBSD.org> <864pm4zkre.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <864pm4zkre.fsf@dwp.des.no> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Joe Marcus Clarke , "current@freebsd.org" Subject: Re: [Fwd: Serious problem with mount(8)] 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: Tue, 22 May 2007 20:13:51 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 10:05:57PM +0200, Dag-Erling Sm??rgrav wrote: > Joe Marcus Clarke writes: > > I really don't know why I didn't notice this before, but when mount was > > converted to use the pidfile(3) API three months ago, the behavior of > > mount(8) changed with regard to restarting mountd. A pidfile client > > cannot use pidfile_open(3) as this will truncate the pidfile. The > > result is that mount reads in a PID of 0, and when it tries to send a > > SIGHUP to this PID, it kills itself. Consequently, this is breaking the > > ports Tinderbox. > > > > I suppose we could revert to the previous behavior, but use flopen() to > > test if the file is actually locked. Maybe something like this: > > > > http://www.marcuscom.com/downloads/mount.c.diff >=20 > Better yet, extend the pidfile API with a function which reads the > contents of a PID file and also checks whether it's locked. That would be useful also for pkill(1). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGU07wForvXbEpPzQRApoEAKDYPRk6Rih7K7kn8JsFzhp9zquXaACg6Un9 CGw9Z6QwQqR0fZEdL35k+mw= =Hrmo -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:40:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF50A16A488 for ; Tue, 22 May 2007 20:40:06 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDF613C455 for ; Tue, 22 May 2007 20:40:05 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.39]) by mx.nitro.dk (Postfix) with ESMTP id 878E72D4F66; Tue, 22 May 2007 20:40:04 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 6F84011458; Tue, 22 May 2007 22:40:04 +0200 (CEST) Date: Tue, 22 May 2007 22:40:04 +0200 From: "Simon L. Nielsen" To: Alexander Kabaev Message-ID: <20070522204003.GC1116@zaphod.nitro.dk> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070521201817.GB1380@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070521201817.GB1380@zaphod.nitro.dk> User-Agent: Mutt/1.5.11 Cc: Michiel Boland , freebsd-current@freebsd.org, Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade 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: Tue, 22 May 2007 20:40:06 -0000 On 2007.05.21 22:18:18 +0200, Simon L. Nielsen wrote: > On 2007.05.20 02:27:22 -0400, Alexander Kabaev wrote: > > > Consequently, OpenSSL need the patch similar to attached one to work. > > Just in case mailing list will eat the attachment, the patch can be > > found at > > > > http://people.freebsd.org/~kan/openssl-gcc42.diff > > [...] > I had hoped to be able to test and commit today, but I'm too beat from > the trip from Canada to be able to do this until tomorrow (it's very > high in the priority list to get this done tomorrow but I don't know > how hard the jet lag will hit this time). Patch has been committed. Get it from your nearest FreeBSD source tree supplier (/cvsup mirror). Thanks to everybody who tested and reported back! I will get this fix pushed upstream, but that won't be today :-). -- Simon L. Nielsen Hat: OpenSSL janitor From owner-freebsd-current@FreeBSD.ORG Tue May 22 20:46:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BFA316A41F for ; Tue, 22 May 2007 20:46:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id E8C5D13C44C for ; Tue, 22 May 2007 20:46:20 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id l4MKTEM2089731; Tue, 22 May 2007 13:29:14 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id l4MKTEJF089730; Tue, 22 May 2007 13:29:14 -0700 (PDT) (envelope-from david) Date: Tue, 22 May 2007 13:29:14 -0700 From: David Wolfskill To: Robert Watson Message-ID: <20070522202914.GB64542@bunrab.catwhisker.org> References: <20070522134724.L28780@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pUlgu49b0Z8TrXtg" Content-Disposition: inline In-Reply-To: <20070522134724.L28780@fledge.watson.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Goran Gajic Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Tue, 22 May 2007 20:46:21 -0000 --pUlgu49b0Z8TrXtg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 01:48:50PM -0400, Robert Watson wrote: >... =20 > On Tue, 22 May 2007, Goran Gajic wrote: >=20 > >After today cvsup and installing of new kernel system refuses to boot. > >It hangs at mentioned line. Here is minicom.cap: > > >sc0: VGA <16 virtual consoles, flags=3D0x100> > >sio1: configured irq 3 not in bitmap of probed irqs 0 > >sio1: port may not be enabled > >vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > >Timecounter "TSC > > > >Kernel built on May 17th boots fine.. >=20 > I saw an identical problem when I booted a kernel from yesterday with=20 > kernel modules from a week or so earlier, only mine froze before getting = to=20 > the Timecounter line, rather, immediately after the vga0 line. Perhaps= =20 > we're looking at an issue with mixing modules with a kernel from=20 > before/after the compiler upgrade? I'm about as certain as I can be that ssuch "module-mixing" did not cause the hang that I saw on my laptop today, as I was able to successfully boot from a kernel built (along with world, at the time) on 19 May (after the gcc 4 import). In my case, the keyboard was unresponsive (e.g., didn't go into "scroll lock" mode when I used the keyboard chord to request that), and the fan started gaining speed pretty rapidly, so I elected to power-cycle the machine aftter a few seconds of trying less disruptive means of getting its attention. I believe the last message displayed had the word "probe" in it. I am certain that the system hadn't tried to mount any file systems yet. Sorry I don't have more specifics handy. I did save the hanging kernel, of course. Peace, david --=20 David H. Wolfskill david@catwhisker.org Anything and everything is a (potential) cat toy. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --pUlgu49b0Z8TrXtg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkZTUpkACgkQmprOCmdXAD2BqwCdGwGCzpqqkt6EaAsAX3tsFxAn nMgAnjtakgcrMm2Pmbp7kdwFA9D8IeDB =Yrt1 -----END PGP SIGNATURE----- --pUlgu49b0Z8TrXtg-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 21:09:30 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 548A316A41F for ; Tue, 22 May 2007 21:09:30 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 2B90613C44C for ; Tue, 22 May 2007 21:09:29 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id l4ML9TcW090004 for ; Tue, 22 May 2007 14:09:29 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id l4ML9T4P090003 for current@freebsd.org; Tue, 22 May 2007 14:09:29 -0700 (PDT) (envelope-from david) Date: Tue, 22 May 2007 14:09:29 -0700 From: David Wolfskill To: current@freebsd.org Message-ID: <20070522210929.GC64542@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org References: <20070522134724.L28780@fledge.watson.org> <20070522202914.GB64542@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s1V7GiNVmT/EiLBY" Content-Disposition: inline In-Reply-To: <20070522202914.GB64542@bunrab.catwhisker.org> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Tue, 22 May 2007 21:09:30 -0000 --s1V7GiNVmT/EiLBY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 01:29:14PM -0700, David Wolfskill wrote: > ... > Sorry I don't have more specifics handy. I did save the hanging kernel, > of course. Oh: I do have a complete list of each source file that changed between the 2 kernels, and can provide that either to the list or off-list. And come to think of it, I also have the typescript from the "make buildworld" and friends, of course. Peace, david --=20 David H. Wolfskill david@catwhisker.org Anything and everything is a (potential) cat toy. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --s1V7GiNVmT/EiLBY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkZTXAgACgkQmprOCmdXAD3rtgCfdvDkCkOllk92jCsnYT1Qrn6x 0vMAoIT3lZs7M85Fzie2E/PLCL8VsUc/ =RfXD -----END PGP SIGNATURE----- --s1V7GiNVmT/EiLBY-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 21:30:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44AFD16A400 for ; Tue, 22 May 2007 21:30:55 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from plouf.absolight.net (plouf.absolight.net [193.30.224.136]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB2213C447 for ; Tue, 22 May 2007 21:30:54 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (ATuin.in.mat.cc [193.30.224.125]) by plouf.absolight.net (Postfix) with ESMTP id 9D4266048D4; Tue, 22 May 2007 22:57:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 637424BA6B6; Tue, 22 May 2007 22:57:39 +0200 (CEST) Date: Tue, 22 May 2007 22:57:38 +0200 From: Mathieu Arnold To: Jack Vogel , FreeBSD Current Message-ID: <8FA938F5C0AFB857FBBAF655@atuin.in.mat.cc> In-Reply-To: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> References: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========C6AD1BFD7DE1A51F2D02==========" Cc: Subject: Re: May snapshot 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: Tue, 22 May 2007 21:30:55 -0000 --==========C6AD1BFD7DE1A51F2D02========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +-Le 22/05/07 11:04 -0700, Jack Vogel a dit : | Is there some reason why the powerpc iso is not in the May snapshot? | Trying to install a machine and had to fall back to April. you can find one there : ftp://anoncvs.fr.freebsd.org/7-20070507-SNAP-sparc64/R/cdrom/ I've not tested it though. -- Mathieu Arnold --==========C6AD1BFD7DE1A51F2D02========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGU1lDJqR8av5thQ8RAttPAJ4so5f0Ihm4OTbmwHMdJbv0kLJRIACgpXny uNoTmRxrisefzEsmldbQ2sQ= =w/Dm -----END PGP SIGNATURE----- --==========C6AD1BFD7DE1A51F2D02==========-- From owner-freebsd-current@FreeBSD.ORG Tue May 22 21:41:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1929816A41F; Tue, 22 May 2007 21:41:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 094D713C457; Tue, 22 May 2007 21:41:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B9FC51A3C19; Tue, 22 May 2007 14:42:02 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1C54F52EEA; Tue, 22 May 2007 17:41:02 -0400 (EDT) Date: Tue, 22 May 2007 17:41:01 -0400 From: Kris Kennaway To: Mathieu Arnold Message-ID: <20070522214101.GA20510@xor.obsecurity.org> References: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> <8FA938F5C0AFB857FBBAF655@atuin.in.mat.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8FA938F5C0AFB857FBBAF655@atuin.in.mat.cc> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Current , Jack Vogel Subject: Re: May snapshot 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: Tue, 22 May 2007 21:41:03 -0000 On Tue, May 22, 2007 at 10:57:38PM +0200, Mathieu Arnold wrote: > +-Le 22/05/07 11:04 -0700, Jack Vogel a dit : > | Is there some reason why the powerpc iso is not in the May snapshot? > | Trying to install a machine and had to fall back to April. > > you can find one there : > ftp://anoncvs.fr.freebsd.org/7-20070507-SNAP-sparc64/R/cdrom/ > I've not tested it though. powerpc snapshot disguised as sparc64? Kris From owner-freebsd-current@FreeBSD.ORG Tue May 22 21:56:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 012FB16A469 for ; Tue, 22 May 2007 21:56:06 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.freenix.fr (keltia.freenix.org [82.230.37.243]) by mx1.freebsd.org (Postfix) with ESMTP id AE38513C457 for ; Tue, 22 May 2007 21:56:05 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from localhost (localhost [127.0.0.1]) by keltia.freenix.fr (Postfix/TLS) with ESMTP id 381AB396BA for ; Tue, 22 May 2007 23:56:01 +0200 (CEST) Received: from keltia.freenix.fr ([127.0.0.1]) by localhost (keltia.freenix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84702-08 for ; Tue, 22 May 2007 23:56:00 +0200 (CEST) Received: by keltia.freenix.fr (Postfix/TLS, from userid 101) id C8C383948F; Tue, 22 May 2007 23:56:00 +0200 (CEST) Date: Tue, 22 May 2007 23:56:00 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org Message-ID: <20070522215600.GA84787@keltia.freenix.fr> References: <20070522134724.L28780@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070522134724.L28780@fledge.watson.org> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 6.2 / Dell D820 SMP User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: amavisd-new at keltia.freenix.fr Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Tue, 22 May 2007 21:56:06 -0000 According to Robert Watson: > I saw an identical problem when I booted a kernel from yesterday with kernel > modules from a week or so earlier, only mine froze before getting to the > Timecounter line, rather, immediately after the vga0 line. Perhaps we're > looking at an issue with mixing modules with a kernel from before/after the > compiler upgrade? Not in my case. My Parallels VM with source from May, 21th boots correctly whereas my last update, it stops after vga0 and CPU starts spinning. This is the last changeset I sync'ed for the good kernel: http://archives.keltia.net/hg/freebsd-src-head/rev/d8315e0aa491 -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007 i386 From owner-freebsd-current@FreeBSD.ORG Tue May 22 22:43:17 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E94B16A58F for ; Tue, 22 May 2007 22:43:17 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id BDA8F13C44C for ; Tue, 22 May 2007 22:43:16 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4MMgSQd013031 for ; Tue, 22 May 2007 15:42:28 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4MMgOgI013029 for freebsd-current@freebsd.org; Tue, 22 May 2007 15:42:24 -0700 (PDT) (envelope-from sgk) Date: Tue, 22 May 2007 15:42:24 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070522224224.GA13012@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: bge0 watchdog timeout? 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: Tue, 22 May 2007 22:43:17 -0000 Is there any hope of avoiding May 22 15:16:14 node11 kernel: bge0: watchdog timeout -- resetting May 22 15:16:14 node11 kernel: bge0: link state changed to DOWN May 22 15:16:17 node11 kernel: bge0: link state changed to UP /boot/loader.conf contains node11:kargl[202] cat /boot/loader.conf hw.pci.enable_msix="0" hw.pci.enable_msi="0" hw.bge.allow_asf="1" kargl[203] ifconfig bge0 bge0: flags=9843 metric 0 mtu 1500 options=9b ether 00:e0:81:40:47:66 inet 192.168.0.11 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet 1000baseTX status: active I get the similar messages whether I have link0 or not and whether I allow bge0 to autoselect media or force 1000baseTX . bge0 is connected to a SMC TigerSwitch SMC8624T. uname shows FreeBSD node11.cimu.org 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Fri May 18 10:19:43 PDT 2007 kargl@node10.cimu.org:/usr/obj/usr/src/sys/HPC amd64 where the date and time corresponds to roughly my last csup. -- Steve From owner-freebsd-current@FreeBSD.ORG Tue May 22 23:14:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9175216A400 for ; Tue, 22 May 2007 23:14:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 5A86F13C457 for ; Tue, 22 May 2007 23:14:50 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so11747wra for ; Tue, 22 May 2007 16:14:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SVZBBJ0Nb4eTv8yrYcy94PxEq0G/h2YlOppl9fItsscUoHDtdF/lIgssVeqioEH/9PC3RYeB+q9Bs6X/haIGkqjxh60ORH9AUvOHpUPfx9+YcRzvEIMwby+QwzFaXF0wYYerAg4NgvVgKIE7cuGteGi1uEvFHqAQPOgAqZMTBgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b8KiLBomR782a1GbJYMZY8SDg5b8ckpB614RWYxF19zjXtVXGNBj2QfVsoV0wOqVsoOZZo2eSFELIJRGBiIVjutVUn19E7mMEa9/FLVQTOuaWx0S7rpwTvFbuOqtr9r8oP453CPznkla+f20RKa+Lf+hQ+U+4oQojuzH2Pvjavc= Received: by 10.114.137.2 with SMTP id k2mr3497787wad.1179875689431; Tue, 22 May 2007 16:14:49 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 16:14:49 -0700 (PDT) Message-ID: <2a41acea0705221614k321b9e7al58b33aa228c2df03@mail.gmail.com> Date: Tue, 22 May 2007 16:14:49 -0700 From: "Jack Vogel" To: "Kris Kennaway" In-Reply-To: <20070522214101.GA20510@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> <8FA938F5C0AFB857FBBAF655@atuin.in.mat.cc> <20070522214101.GA20510@xor.obsecurity.org> Cc: Mathieu Arnold , FreeBSD Current Subject: Re: May snapshot 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: Tue, 22 May 2007 23:14:51 -0000 On 5/22/07, Kris Kennaway wrote: > On Tue, May 22, 2007 at 10:57:38PM +0200, Mathieu Arnold wrote: > > +-Le 22/05/07 11:04 -0700, Jack Vogel a dit : > > | Is there some reason why the powerpc iso is not in the May snapshot? > > | Trying to install a machine and had to fall back to April. > > > > you can find one there : > > ftp://anoncvs.fr.freebsd.org/7-20070507-SNAP-sparc64/R/cdrom/ > > I've not tested it though. > > powerpc snapshot disguised as sparc64? Fiendishly clever :) From owner-freebsd-current@FreeBSD.ORG Tue May 22 23:34:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E19816A400 for ; Tue, 22 May 2007 23:34:49 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 231EA13C44C for ; Tue, 22 May 2007 23:34:48 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l4MNYgYA012419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 May 2007 01:34:47 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l4MNYgMH021437 for ; Wed, 23 May 2007 01:34:42 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l4MNYgOq039035 for freebsd-current@freebsd.org; Wed, 23 May 2007 01:34:42 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-current@freebsd.org Date: Wed, 23 May 2007 01:34:41 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705230134.42046.h.schmalzbauer@omnisec.de> Subject: Seems package system can't handele xorg 7.2 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: Tue, 22 May 2007 23:34:49 -0000 Hello, I see extremely high load when "make package" is running. The system has one CPU 100% load with "sys". Surprisingly that makes the whole machine unresponsive although the second cpu is idle. Is there a bug to search or is the package system by design not suited for 500+ entries? Btw. making packages does take more time than compiling those, at least on this machine (E6600,1GB) ... Thanks, -Harry From owner-freebsd-current@FreeBSD.ORG Tue May 22 23:45:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 160AC16A400 for ; Tue, 22 May 2007 23:45:48 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id D67BA13C45D for ; Tue, 22 May 2007 23:45:47 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from vil1.ruomad.net (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id 06C5D97AC9; Wed, 23 May 2007 01:45:46 +0200 (CEST) Message-ID: <465380AA.5040400@free.fr> Date: Wed, 23 May 2007 01:45:46 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.0 (X11/20070522) MIME-Version: 1.0 To: Harald Schmalzbauer References: <200705230134.42046.h.schmalzbauer@omnisec.de> In-Reply-To: <200705230134.42046.h.schmalzbauer@omnisec.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Seems package system can't handele xorg 7.2 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: Tue, 22 May 2007 23:45:48 -0000 Harald Schmalzbauer wrote: > Hello, > > I see extremely high load when "make package" is running. The system has one > CPU 100% load with "sys". Surprisingly that makes the whole machine > unresponsive although the second cpu is idle. > Is there a bug to search or is the package system by design not suited for > 500+ entries? > Btw. making packages does take more time than compiling those, at least on > this machine (E6600,1GB) ... Same here; Compiling ports I get : vil1 ~ # top 1404 root 4 20 19 27692K 3504K kserel 0 18.3H 97.02% trackerd 32937 root 1 132 0 4656K 1636K CPU0 1 0:22 96.40% pkg_create Not sure if creating package actually takes _more_ time than building but it certainly takes a _long_ while. vil1 ~ # uname -a FreeBSD vil1.ruomad.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon May 21 23:10:10 CEST 2007 root@vil1.ruomad.net:/usr/obj/usr/src/sys/VIL1 amd64 From owner-freebsd-current@FreeBSD.ORG Tue May 22 23:58:28 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB0C716A400 for ; Tue, 22 May 2007 23:58:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A355113C469 for ; Tue, 22 May 2007 23:58:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 709C91A3C19; Tue, 22 May 2007 16:59:28 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CCC70513EC; Tue, 22 May 2007 19:58:27 -0400 (EDT) Date: Tue, 22 May 2007 19:58:27 -0400 From: Kris Kennaway To: Harald Schmalzbauer Message-ID: <20070522235827.GA22756@xor.obsecurity.org> References: <200705230134.42046.h.schmalzbauer@omnisec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705230134.42046.h.schmalzbauer@omnisec.de> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: Seems package system can't handele xorg 7.2 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: Tue, 22 May 2007 23:58:28 -0000 On Wed, May 23, 2007 at 01:34:41AM +0200, Harald Schmalzbauer wrote: > Hello, > > I see extremely high load when "make package" is running. The system has one > CPU 100% load with "sys". Surprisingly that makes the whole machine > unresponsive although the second cpu is idle. > Is there a bug to search or is the package system by design not suited for > 500+ entries? > Btw. making packages does take more time than compiling those, at least on > this machine (E6600,1GB) ... See extensive discussion on ports@ and other mailing lists. Kris From owner-freebsd-current@FreeBSD.ORG Wed May 23 01:12:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AA0616A400 for ; Wed, 23 May 2007 01:12:41 +0000 (UTC) (envelope-from blyon@blyon.com) Received: from util2.sjc1.bitgravity.com (util2.sjc1.bitgravity.com [208.67.233.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF7813C484 for ; Wed, 23 May 2007 01:12:41 +0000 (UTC) (envelope-from blyon@blyon.com) Received: from [209.131.110.155] by util2.sjc1.bitgravity.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Hqf4x-00072c-2G; Tue, 22 May 2007 17:51:51 -0700 In-Reply-To: <4641542A.7030203@samsco.org> References: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> <4641542A.7030203@samsco.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Barrett Lyon Date: Tue, 22 May 2007 17:49:49 -0700 To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.752.3) Cc: adam radford Subject: Re: Functional RAID controller? 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: Wed, 23 May 2007 01:12:41 -0000 Just an update, Adam has helped us a lot in getting some incremental changes in place that has stabilized the use of the 'twa' 3ware driver on HEAD. We've been running a lot of performance tests and we really like what we see, both on the performance and on stability. Cheers, -Barrett From owner-freebsd-current@FreeBSD.ORG Wed May 23 01:46:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 042B916A400 for ; Wed, 23 May 2007 01:46:15 +0000 (UTC) (envelope-from nkalev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAEF13C46C for ; Wed, 23 May 2007 01:46:14 +0000 (UTC) (envelope-from nkalev@gmail.com) Received: by wx-out-0506.google.com with SMTP id t5so11316wxc for ; Tue, 22 May 2007 18:46:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CyYcmZSDO9oEzrjs0tk62YYLR9lprDCezRyRJ1s8LZilRpWm0anUIID+NIUZLymUj8o8JbaCy+GhXBCzJIwZODbuBYrIZNMV4rkrwMkijaAYckOn+bM6719jqycEsRHiGgEi0bGYwM/nH1r8l265wEHSHLQbDu9Eqo0kBBTafoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kt9+wBY6wy9TaYtf7blr2tr+vvMtS3YNps5PfeRH2vcSi4FvPcRV8YbkIcEOnCEDHmF9H+lYJILBgygYYmzM3rc5LvBHKZ6iR7SKVwSHwR3o/gg98khYmbEOf7JrHN3TQlRxnb8XBBKHI7r1wGP7s+PkGCCaeXFfLbRh7unlTwk= Received: by 10.70.67.4 with SMTP id p4mr181005wxa.1179884773679; Tue, 22 May 2007 18:46:13 -0700 (PDT) Received: by 10.70.40.3 with HTTP; Tue, 22 May 2007 18:46:13 -0700 (PDT) Message-ID: <136a340a0705221846u2ffb5779sfc959e41d4f5fe1f@mail.gmail.com> Date: Wed, 23 May 2007 04:46:13 +0300 From: "Nikolay Kalev" To: "Robert Watson" In-Reply-To: <20070522082123.B28780@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <136a340a0705212341t5429c570yda976cf2130170e3@mail.gmail.com> <20070522082123.B28780@fledge.watson.org> Cc: freebsd-current@freebsd.org Subject: Re: PDF BSDcan2007 request ? 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: Wed, 23 May 2007 01:46:15 -0000 Thank you :-) ! On 5/22/07, Robert Watson wrote: > On Tue, 22 May 2007, Nikolay Kalev wrote: > > > Can you guys release all of the pdf presentations from the BSDcan 2007 there > > are realy some interesting documents which i'm sure a lot of people will be > > interested in? > > Many of the slides from the developer summit and network cabal meeting can be > found here: > > http://wiki.freebsd.org/200705DevSummit > http://wiki.freebsd.org/200705NetworkCabal > > We're still working on extracting slides from everone involved. I've sent all > the BSDCan WIP slides to Dan but I know he's involved in running pgsqlcon > right now so it may be a week or so before he goes into recovery mode and then > posts slides. :-) > > Robert N M Watson > Computer Laboratory > University of Cambridge > -- Key fingerprint = 1932 68D3 AC9D D5BE 8717 AA5E C272 B46C 42BC 6DC2 From owner-freebsd-current@FreeBSD.ORG Wed May 23 02:18:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E12C16A468 for ; Wed, 23 May 2007 02:18:43 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC7313C45E for ; Wed, 23 May 2007 02:18:43 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (localhost [127.0.0.1]) by lexi.siliconlandmark.com (8.13.8/8.13.3) with ESMTP id l4N26dEA009726 for ; Tue, 22 May 2007 22:06:39 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by lexi.siliconlandmark.com (8.13.8/8.13.3/Submit) with ESMTP id l4N26dAd009723 for ; Tue, 22 May 2007 22:06:39 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: lexi.siliconlandmark.com: andy owned process doing -bs Date: Tue, 22 May 2007 22:06:33 -0400 (EDT) From: Andre Guibert de Bruet To: freebsd-current@freebsd.org In-Reply-To: <2a41acea0705220934g666dfc56kaac4ac43ab325352@mail.gmail.com> Message-ID: <20070522220025.S7667@lexi.siliconlandmark.com> References: <2a41acea0705220049w32b50fc6m37a2e2fef5c8837e@mail.gmail.com> <2a41acea0705220934g666dfc56kaac4ac43ab325352@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV 0.90.1/3283/Tue May 22 18:56:44 2007 on lexi.siliconlandmark.com X-Virus-Status: Clean X-Information: Please contact the ISP for more information X-SL-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SL-SpamCheck: not spam, SpamAssassin (not cached, score=-2.601, required 6, autolearn=not spam, BAYES_00 -2.60, SPF_HELO_PASS -0.00, SPF_PASS -0.00) X-MailScanner-From: andy@siliconlandmark.com Subject: Re: em0 hijacking traffic to port 623 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: Wed, 23 May 2007 02:18:43 -0000 On Tue, 22 May 2007, Jack Vogel wrote: > On 5/22/07, Ian FREISLICH wrote: >> >> If you can point me to the propper place or way to effect this. I >> can see situations where someone would not want to turn this filtering >> off - if they have the IPMI daughterboard on their motherboard. > > This is in shared code, so let me forward the issue to the owners of > same here and see what they say. Having em-equipped servers with and without the IPMI modules, I think that a sysctl would work wonders. Cheers, Andy /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * Tormenting bytes since 1980. */ From owner-freebsd-current@FreeBSD.ORG Wed May 23 03:35:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B76316A400 for ; Wed, 23 May 2007 03:35:54 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id 06A5413C45A for ; Wed, 23 May 2007 03:35:53 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so70454nze for ; Tue, 22 May 2007 20:35:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DoKeyW1jU/FvSG2euEvjNoXCIWyRmru75K0550wdUbf6oQcolLpG+rFCC6Rbg3XZzh2wErQoNdLGsYZrMZs/IXM0oDHZXeaUfmD4IsdyajcX10MiQzzjnA7OnmHU9qNFpk5fmL4R2N6ouZ+IrDtikybnRgq98iHwca6uBzoc8qc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e5x0MF8bqSd/uxNg1PInnGGuVbwBAKDdY2KYsnI5/3Emvy6sUCkoS06niSMLZD7uufkgABAgn5BXNuvqOWGk40hI5hnYfRHQmL5lOU/JyIPzttQqw79Am5IGnPy2kfqnmXx50ZdulVPyMgyV/WATwpv/u3Si/aw9B0f56EfxFvk= Received: by 10.115.49.16 with SMTP id b16mr47809wak.1179891353100; Tue, 22 May 2007 20:35:53 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Tue, 22 May 2007 20:35:52 -0700 (PDT) Message-ID: <2a41acea0705222035p31b25d05hb8d9ba4847e164fd@mail.gmail.com> Date: Tue, 22 May 2007 20:35:52 -0700 From: "Jack Vogel" To: "Andre Guibert de Bruet" In-Reply-To: <20070522220025.S7667@lexi.siliconlandmark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0705220049w32b50fc6m37a2e2fef5c8837e@mail.gmail.com> <2a41acea0705220934g666dfc56kaac4ac43ab325352@mail.gmail.com> <20070522220025.S7667@lexi.siliconlandmark.com> Cc: freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Wed, 23 May 2007 03:35:54 -0000 On 5/22/07, Andre Guibert de Bruet wrote: > > On Tue, 22 May 2007, Jack Vogel wrote: > > On 5/22/07, Ian FREISLICH wrote: > >> > >> If you can point me to the propper place or way to effect this. I > >> can see situations where someone would not want to turn this filtering > >> off - if they have the IPMI daughterboard on their motherboard. > > > > This is in shared code, so let me forward the issue to the owners of > > same here and see what they say. > > Having em-equipped servers with and without the IPMI modules, I think that > a sysctl would work wonders. > > Cheers, > Andy I've verified that the other drivers dont do anything with this, so its not really something they'd let into the shared code, but the sysctl idea sounds doable, let me think this over, I also need to check some internal docs on various adapters to see if there's harm in any way in doing this. Jack From owner-freebsd-current@FreeBSD.ORG Wed May 23 07:04:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B77016A41F for ; Wed, 23 May 2007 07:04:24 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 35BC413C45B for ; Wed, 23 May 2007 07:04:23 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HqktN-000Jpv-2p; Wed, 23 May 2007 10:04:17 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Jack Vogel" In-reply-to: Your message of Tue, 22 May 2007 09:38:29 -0700 . Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Wed, 23 May 2007 10:04:16 +0300 From: Danny Braniss Message-ID: Cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , Ian FREISLICH , freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Wed, 23 May 2007 07:04:24 -0000 > On 5/22/07, Dag-Erling Sm=F8rgrav wrote: > > Ian FREISLICH writes: > > > No, it's a March 6 current. How safe is it to just update the > > > sys/dev/em directory and recompile? Quite a lot has changed in > > > CURRENT since then and I don't want to update everything on these > > > servers just yet. > > > > Quick workaround: configure inetd to listen to port 623 so rpcbind > > won't assign these ports to the NFS server. Something like this: > > > > asf-rmcp dgram udp nowait root /bin/false false= > > asf-rmcp stream tcp nowait root /bin/false false= > > You dont have to do anything this crude btw, there is an setting > in rc.conf I believe to control the range, I'm rusty on the details > right now, I discovered this while working this same issue with > Yahoo, but its been 6 months or more since. >=20 in loader.conf: net.inet.ip.portrange.lowlast=3D=22665=22 danny > Jack From owner-freebsd-current@FreeBSD.ORG Wed May 23 07:21:18 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9EB016A41F for ; Wed, 23 May 2007 07:21:18 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id A292313C447 for ; Wed, 23 May 2007 07:21:18 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Hql9p-000K97-7C; Wed, 23 May 2007 10:21:17 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Jack Vogel" In-reply-to: References: Comments: In-reply-to Danny Braniss message dated "Wed, 23 May 2007 10:04:16 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Wed, 23 May 2007 10:21:17 +0300 From: Danny Braniss Message-ID: Cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , Ian FREISLICH , freebsd-current@freebsd.org Subject: Re: em0 hijacking traffic to port 623 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: Wed, 23 May 2007 07:21:19 -0000 > On 5/22/07, Dag-Erling Sm=F8rgrav wrote: > > Ian FREISLICH writes: > > > No, it's a March 6 current. How safe is it to just update the > > > sys/dev/em directory and recompile? Quite a lot has changed in > > > CURRENT since then and I don't want to update everything on these > > > servers just yet. > > > > Quick workaround: configure inetd to listen to port 623 so rpcbind > > won't assign these ports to the NFS server. Something like this: > > > > asf-rmcp dgram udp nowait root /bin/false false= > > asf-rmcp stream tcp nowait root /bin/false false= > > You dont have to do anything this crude btw, there is an setting > in rc.conf I believe to control the range, I'm rusty on the details > right now, I discovered this while working this same issue with > Yahoo, but its been 6 months or more since. >=20 before coffee, > in loader.conf: s/loader.conf/sysctl.conf/ > net.inet.ip.portrange.lowlast=3D=22665=22 From owner-freebsd-current@FreeBSD.ORG Wed May 23 07:30:15 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F62916A400; Wed, 23 May 2007 07:30:15 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB1913C465; Wed, 23 May 2007 07:30:15 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 4A2262084; Wed, 23 May 2007 09:30:11 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id C0A3B2083; Wed, 23 May 2007 09:30:10 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id A7D3857E3; Wed, 23 May 2007 09:30:10 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Joe Marcus Clarke References: <46534301.10005@FreeBSD.org> <864pm4zkre.fsf@dwp.des.no> <46534EE2.3090107@FreeBSD.org> Date: Wed, 23 May 2007 09:30:10 +0200 In-Reply-To: <46534EE2.3090107@FreeBSD.org> (Joe Marcus Clarke's message of "Tue\, 22 May 2007 16\:13\:22 -0400") Message-ID: <867ir0atfh.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: pjd@FreeBSD.org, "current@freebsd.org" Subject: Re: [Fwd: Serious problem with mount(8)] 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: Wed, 23 May 2007 07:30:15 -0000 Joe Marcus Clarke writes: > Dag-Erling Sm=C3=B8rgrav writes: > > Better yet, extend the pidfile API with a function which reads the > > contents of a PID file and also checks whether it's locked. > I'd be happy to do this. Is my approach with this code sound (i.e. can > I simply port this to pidfile(3)), or should I take another approach? > Thanks. You expose yourself to all sorts of race conditions by opening the file twice... what you should do is something like (off the top of my head): fd =3D open(pidfile, O_RDONLY); fcntl(fd, F_GETLK, &fl) if (fl.l_type =3D=3D F_UNLCK) return (-1) fstat(fd, &fsb); read(fd, buf, fsb.st_len); if (atoi(buf) !=3D fl.l_pid) return (-1); #ifdef OPTIONAL stat(pidfile, &sb); if (sb.st_dev !=3D fsb.st_dev || sb.st_ino !=3D fsb.st_ino) return (-1); #endif return (fl.l_pid); with appropriate error checking, of course. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Wed May 23 08:20:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8267516A400; Wed, 23 May 2007 08:20:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from plouf.absolight.net (plouf.absolight.net [193.30.224.136]) by mx1.freebsd.org (Postfix) with ESMTP id 46EBD13C447; Wed, 23 May 2007 08:20:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (ATuin.in.mat.cc [193.30.224.125]) by plouf.absolight.net (Postfix) with ESMTP id 51E466048CB; Wed, 23 May 2007 10:20:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 3689E4BA79C; Wed, 23 May 2007 10:20:09 +0200 (CEST) Date: Wed, 23 May 2007 10:20:08 +0200 From: Mathieu Arnold To: Kris Kennaway , Mathieu Arnold Message-ID: In-Reply-To: <20070522214101.GA20510@xor.obsecurity.org> References: <2a41acea0705221104p1733d91ax9207451edc9b865e@mail.gmail.com> <8FA938F5C0AFB857FBBAF655@atuin.in.mat.cc> <20070522214101.GA20510@xor.obsecurity.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========5678090BAD30E2D0DC52==========" Cc: FreeBSD Current , Jack Vogel Subject: Re: May snapshot 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: Wed, 23 May 2007 08:20:12 -0000 --==========5678090BAD30E2D0DC52========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +-Le 22/05/07 17:41 -0400, Kris Kennaway a dit : | On Tue, May 22, 2007 at 10:57:38PM +0200, Mathieu Arnold wrote: |> +-Le 22/05/07 11:04 -0700, Jack Vogel a dit : |> | Is there some reason why the powerpc iso is not in the May snapshot? |> | Trying to install a machine and had to fall back to April. |> |> you can find one there : |> ftp://anoncvs.fr.freebsd.org/7-20070507-SNAP-sparc64/R/cdrom/ |> I've not tested it though. | | powerpc snapshot disguised as sparc64? Hum, that'll teach me to *reread* before replying 0:-) -- Mathieu Arnold --==========5678090BAD30E2D0DC52========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGU/k4JqR8av5thQ8RAskuAKDv/9dqKwkNLzOKx4XAfyk/7qlj2QCbB33x 705fkqWobQwLoGfSiRou5vo= =fWLY -----END PGP SIGNATURE----- --==========5678090BAD30E2D0DC52==========-- From owner-freebsd-current@FreeBSD.ORG Wed May 23 08:35:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0501016A400 for ; Wed, 23 May 2007 08:35:59 +0000 (UTC) (envelope-from rse@engelschall.com) Received: from visp1.engelschall.com (visp1.engelschall.com [195.30.6.144]) by mx1.freebsd.org (Postfix) with ESMTP id BF5D213C43E for ; Wed, 23 May 2007 08:35:58 +0000 (UTC) (envelope-from rse@engelschall.com) Received: by visp1.engelschall.com (Postfix, from userid 21100) id DF1871B44881; Wed, 23 May 2007 10:21:17 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v0.5.2 visp1.engelschall.com DF1871B44881 Received: by en1.engelschall.com (Postfix, from userid 10000) id 83D826D86F; Wed, 23 May 2007 10:17:49 +0200 (CEST) Date: Wed, 23 May 2007 10:17:49 +0200 From: "Ralf S. Engelschall" To: current@FreeBSD.org Message-ID: <20070523081749.GA18197@engelschall.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: FreeBSD User-Agent: Mutt/1.5.15 OpenPKG/CURRENT (2007-04-06) Cc: Subject: etc/rc.d/{var,tmp} and sub-shell usage?! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ralf S. Engelschall" List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 08:35:59 -0000 I've just stumbled over a confusing sub-shell usage in our src/etc/rc.d/{var,tmp} scripts where I'm sure the sub-shells are totally unnecessary and useless. I also do not see any difference under run-time except that the sub-shell usage is slower, of course ;-) Nevertheless, I'm a little bit curious whether someone else sees _ANY_ reason to keep those sub-shell constructs? If nobody has any objections I would just cleanup these two scripts by removing the sub-shell constructs... Index: tmp =================================================================== RCS file: /v/freebsd/cvs/src/etc/rc.d/tmp,v retrieving revision 1.37 diff -u -d -r1.37 tmp --- tmp 2 Dec 2005 20:35:23 -0000 1.37 +++ tmp 22 May 2007 14:18:48 -0000 @@ -48,7 +48,7 @@ [Nn][Oo]) ;; *) - if (/bin/mkdir -p /tmp/.diskless 2> /dev/null); then + if /bin/mkdir -p /tmp/.diskless 2> /dev/null; then rmdir /tmp/.diskless else if [ -h /tmp ]; then Index: var =================================================================== RCS file: /v/freebsd/cvs/src/etc/rc.d/var,v retrieving revision 1.42 diff -u -d -r1.42 var --- var 2 Apr 2007 22:53:07 -0000 1.42 +++ var 22 May 2007 14:18:09 -0000 @@ -60,7 +60,7 @@ [Nn][Oo]) ;; *) - if (/bin/mkdir -p /var/.diskless 2> /dev/null); then + if /bin/mkdir -p /var/.diskless 2> /dev/null; then rmdir /var/.diskless else mount_md ${varsize} /var "${varmfs_flags}" -- rse@FreeBSD.org Ralf S. Engelschall FreeBSD.org/~rse rse@engelschall.com FreeBSD committer www.engelschall.com From owner-freebsd-current@FreeBSD.ORG Wed May 23 08:55:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id F14B116A41F; Wed, 23 May 2007 08:55:32 +0000 (UTC) Date: Wed, 23 May 2007 08:55:32 +0000 From: Darren Reed To: Vince Message-ID: <20070523085532.GA27542@hub.freebsd.org> References: <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4652B15D.5060505@unsane.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org, Craig Boston , freebsd-current@freebsd.org, Pawel Jakub Dawidek , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 08:55:33 -0000 On Tue, May 22, 2007 at 10:01:17AM +0100, Vince wrote: ... > I may reinstall at a later date as this is still very much a box to play > with, but I gather there is no great gain from going 64 bit other than > not having to play with PAE if you've got lots or RAM. It's not RAM that ZFS really likes but your KVA (Kernel Virtual Address) space. With a 32bit kernel you are more likely to experience problems with KVA shortage than you are RAM shortage when using ZFS. Darren From owner-freebsd-current@FreeBSD.ORG Wed May 23 09:04:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C7CD16A400; Wed, 23 May 2007 09:04:46 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.freenix.fr (keltia.freenix.org [82.230.37.243]) by mx1.freebsd.org (Postfix) with ESMTP id B513013C44B; Wed, 23 May 2007 09:04:45 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from localhost (localhost [127.0.0.1]) by keltia.freenix.fr (Postfix/TLS) with ESMTP id 2213F396E2; Wed, 23 May 2007 11:04:44 +0200 (CEST) Received: from keltia.freenix.fr ([127.0.0.1]) by localhost (keltia.freenix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97122-05; Wed, 23 May 2007 11:04:43 +0200 (CEST) Received: by keltia.freenix.fr (Postfix/TLS, from userid 101) id B382E396DB; Wed, 23 May 2007 11:04:43 +0200 (CEST) Date: Wed, 23 May 2007 11:04:43 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org, Kris Kennaway Message-ID: <20070523090443.GA97506@keltia.freenix.fr> References: <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523085532.GA27542@hub.freebsd.org> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 6.2 / Dell D820 SMP User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: amavisd-new at keltia.freenix.fr Cc: Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 09:04:46 -0000 According to Darren Reed: > It's not RAM that ZFS really likes but your KVA (Kernel Virtual Address) > space. With a 32bit kernel you are more likely to experience problems > with KVA shortage than you are RAM shortage when using ZFS. It was discussed a bit at the DevSummit in BSDCan and an interesting question was raised. ZFS has its own buffer cache and tries as best as it can to bypass our own, taking its toll on memory and KVA. I don't think we could replace our buffer cache with ARC due to the license but it would be nice to reduce the duplication there. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007 i386 From owner-freebsd-current@FreeBSD.ORG Wed May 23 09:32:39 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 574D316A502; Wed, 23 May 2007 09:32:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 38A8913C447; Wed, 23 May 2007 09:32:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6186F1A3C19; Wed, 23 May 2007 02:33:37 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 993B2522DD; Wed, 23 May 2007 05:32:32 -0400 (EDT) Date: Wed, 23 May 2007 05:32:31 -0400 From: Kris Kennaway To: Darren Reed Message-ID: <20070523093231.GA29797@xor.obsecurity.org> References: <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <20070523085532.GA27542@hub.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: Craig Boston , Pawel Jakub Dawidek , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Kris Kennaway , Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 09:32:39 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 23, 2007 at 08:55:32AM +0000, Darren Reed wrote: > On Tue, May 22, 2007 at 10:01:17AM +0100, Vince wrote: > ... > > I may reinstall at a later date as this is still very much a box to play > > with, but I gather there is no great gain from going 64 bit other than > > not having to play with PAE if you've got lots or RAM. >=20 > It's not RAM that ZFS really likes but your KVA (Kernel Virtual Address) > space. With a 32bit kernel you are more likely to experience problems > with KVA shortage than you are RAM shortage when using ZFS. Currently in FreeBSD the issues are 1) space in the kmem_map, which is memory shared between various kernel systems and bounded to be smaller than the amount of address space dedicated to the kernel (KVA). The size of kmem_map depends on the amount of RAM in the system by default (but can be overridden at compile or boot time), 2) the size of the KVA, the "container" that all of the addressible data in the kernel must fit into. The first is actually the major issue for most people. This is partly because the mechanisms that are supposed to provide backpressure to reduce memory usage when space is becoming tight need some further adaptation and extension to work with ZFS, and also partly because ZFS typically wants to allocate hundreds of megabytes out the kmem_map which is just not sized with this expectation in mind (it would usually be "wasted" in the pre-ZFS world). Problem 2) only becomes an issue when you try to increase the size of kmem_map to deal with problem 1), and you find that when you make it too large you exceed the size of the "container", i.e. the total amount of KVA. In this situation you could just increase KVA, but of course there are tradeoffs (e.g. less address space available to user processes). Plain ZFS (i.e. as it exists in Solaris) actually has very different ideas about the memory it should be allowed to use. These ideas were completely inappropriate on FreeBSD and were mostly corrected here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/contrib/opensolaris/uts/commo= n/fs/zfs/arc.c.diff?r1=3D1.5;r2=3D1.6 /* Start out with 1/8 of all memory */ - arc_c =3D physmem * PAGESIZE / 8; + arc_c =3D kmem_size() / 8; - /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ - arc_c_min =3D MAX(arc_c / 4, 64<<20); - /* set max to 3/4 of all memory, or all but 1GB, whichever is more */ + /* set min cache to 1/32 of all memory, or 16MB, whichever is more */ + arc_c_min =3D MAX(arc_c / 4, 64<<18); + /* set max to 1/2 of all memory, or all but 1GB, whichever is more */ i.e. plain ZFS wants to use 3/4 of the *physical* RAM in the system (or all but 1GB). i.e. if you have 16GB in your system then zfs will try to use up to 15GB of it for caching leaving only 1GB for everything else (kernel + userland). I would actually be interested to know how Solaris gets away with this. It sounds like there must be less of a distinction between memory allocated to the kernel and to userland, and the ability for memory to flow between these two with some form of backpressure when userland wants memory that is currently gobbled by up solaris ZFS. This kind of system probably makes good sense (although maybe there are trade-offs), but anyway it's not how FreeBSD does it. Kris --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGVAouWry0BWjoQKURAluEAKDw4ijRNrHhbzhpkFBHSKL0vEI1lgCfe+sB FtA8Wrj0CQZJMa+uNAOXIrg= =9fDI -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-current@FreeBSD.ORG Wed May 23 10:06:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F87916A469; Wed, 23 May 2007 10:06:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5916E13C448; Wed, 23 May 2007 10:06:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BC0051A4D80; Wed, 23 May 2007 03:07:32 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7AFE8513AD; Wed, 23 May 2007 06:06:31 -0400 (EDT) Date: Wed, 23 May 2007 06:06:31 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070523100631.GA30143@xor.obsecurity.org> References: <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523093231.GA29797@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: Craig Boston , Pawel Jakub Dawidek , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Darren Reed , Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 10:06:32 -0000 On Wed, May 23, 2007 at 05:32:31AM -0400, Kris Kennaway wrote: > I would actually be interested to know how Solaris gets away with > this. It sounds like there must be less of a distinction between > memory allocated to the kernel and to userland, and the ability for > memory to flow between these two with some form of backpressure when > userland wants memory that is currently gobbled by up solaris ZFS. > > This kind of system probably makes good sense (although maybe there > are trade-offs), but anyway it's not how FreeBSD does it. After some further thought I guess the difference is just that on a 64-bit kernel you don't have KVA issues and can indeed map all of physical RAM into the kernel for caching. Kris From owner-freebsd-current@FreeBSD.ORG Wed May 23 10:14:28 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0A4916A400 for ; Wed, 23 May 2007 10:14:28 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2828D13C455 for ; Wed, 23 May 2007 10:14:27 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hqnpz-000601-Ko for freebsd-current@freebsd.org; Wed, 23 May 2007 12:13:00 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 May 2007 12:12:59 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 May 2007 12:12:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Wed, 23 May 2007 12:11:52 +0200 Lines: 36 Message-ID: References: <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig053AB28F72BD0A1543C789D7" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <20070523093231.GA29797@xor.obsecurity.org> X-Enigmail-Version: 0.94.2.0 Sender: news Cc: freebsd-fs@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 10:14:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig053AB28F72BD0A1543C789D7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Kris Kennaway wrote: > i.e. plain ZFS wants to use 3/4 of the *physical* RAM in the system > (or all but 1GB). i.e. if you have 16GB in your system then zfs will > try to use up to 15GB of it for caching leaving only 1GB for > everything else (kernel + userland). >=20 > I would actually be interested to know how Solaris gets away with > this. It sounds like there must be less of a distinction between > memory allocated to the kernel and to userland, and the ability for > memory to flow between these two with some form of backpressure when > userland wants memory that is currently gobbled by up solaris ZFS. Isn't it adequately explained with Sparc being a 64-bit platform? --------------enig053AB28F72BD0A1543C789D7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGVBNpldnAQVacBcgRAjxNAKDKndBee37V9m0tGQZW159PJbMnYwCgjEPY ofLCrMGGY+D2+/jhVlKxdL0= =3JMY -----END PGP SIGNATURE----- --------------enig053AB28F72BD0A1543C789D7-- From owner-freebsd-current@FreeBSD.ORG Wed May 23 09:12:02 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2614516A41F for ; Wed, 23 May 2007 09:12:02 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9837A13C468 for ; Wed, 23 May 2007 09:12:01 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (uhktgb@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l4N9BsD3015398; Wed, 23 May 2007 11:12:00 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l4N9Bssl015397; Wed, 23 May 2007 11:11:54 +0200 (CEST) (envelope-from olli) Date: Wed, 23 May 2007 11:11:54 +0200 (CEST) Message-Id: <200705230911.l4N9Bssl015397@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, "Ralf S. Engelschall" In-Reply-To: <20070523081749.GA18197@engelschall.com> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 23 May 2007 11:12:00 +0200 (CEST) X-Mailman-Approved-At: Wed, 23 May 2007 11:48:15 +0000 Cc: Subject: Re: etc/rc.d/{var,tmp} and sub-shell usage?! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, "Ralf S. Engelschall" List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 09:12:02 -0000 Ralf S. Engelschall wrote: > I've just stumbled over a confusing sub-shell usage in our > src/etc/rc.d/{var,tmp} scripts where I'm sure the sub-shells are totally > unnecessary and useless. I also do not see any difference under run-time > except that the sub-shell usage is slower, of course ;-) > > Nevertheless, I'm a little bit curious whether someone else sees _ANY_ > reason to keep those sub-shell constructs? If nobody has any objections > I would just cleanup these two scripts by removing the sub-shell > constructs... > [...] > [Nn][Oo]) > ;; > *) > - if (/bin/mkdir -p /tmp/.diskless 2> /dev/null); then > + if /bin/mkdir -p /tmp/.diskless 2> /dev/null; then > rmdir /tmp/.diskless > else > if [ -h /tmp ]; then Additionally, I think it's not a good idea to use "mkdir -p" to check if a directory is writable. If the directory already exists (for whatever reason), "mkdir -p" succeeds even if the file system is not writable. Normally you would use touch(1), but the problem is that touch is in /usr, so it might not be available in single-user mode (which is probably the reason why the original author used mkdir in the first place). The best solution is probably to use /bin/ln, and include the PID in the name to reduce the risk of accidental file name collisions. (Note that this code is running before the system is multi-user, so writing to /tmp as root doesn't introduce a security issue here, as far as I can tell.) test_file=/tmp/.diskless.$$ if /bin/ln -sf foo $test_file 2>/dev/null; then rm $test_file else [...] fi Well ... Thinking about it, there's a good chance that the PID is always the same during the boot sequence of scripts (some low number anyway), so maybe something like $(/bin/date +%s) should be used in the name of the test file instead od the PID. But maybe that's just overkill. Best regards Oliver PS: I also noticed that there's really a lot of redundant (i.e. superfluous) use of braces "${}" for variable expansion in the scripts, which makes them more difficult to read (IMHO). Is there some style guideline that requires it? Just wondering ... -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. From owner-freebsd-current@FreeBSD.ORG Wed May 23 13:35:36 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2016E16A400 for ; Wed, 23 May 2007 13:35:36 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4D57913C457 for ; Wed, 23 May 2007 13:35:35 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1Hqqzz-000KCF-0Q by authid for ; Wed, 23 May 2007 16:35:31 +0300 Date: Wed, 23 May 2007 16:35:30 +0300 From: Odhiambo Washington To: freebsd-current@freebsd.org Message-ID: <20070523133530.GC31783@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@freebsd.org References: <20070522165047.GA71349@ns2.wananchi.com> <20070522174430.GJ23313@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070522174430.GJ23313@hoeg.nl> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: sound with -CURRENT 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: Wed, 23 May 2007 13:35:36 -0000 * On 22/05/07 19:44 +0200, Ed Schouten wrote: | * Odhiambo Washington wrote: | > Okay, not exactly with current, but I have not been able to get sound | > working with either 6.x or -CURRENT. I have the present case - an HP | > DC7600 on which I run -current, but I also have those Creative SoundBlaster | > cards that support 5.1 surround at home, which I have never managed | > to get to work. | > | > Let's concentrate on the present system that runs 7.x. | > | > I am attaching dmesg.boot and the output of `pciconf -lv` | > I am using the GENERIC kernel on this one, so far. | > | > Is there something that I need to do to get the sound card detected - | > like perhaps load some modules? | > | > Perhaps I am simply running unsupported hardware :) | > | > [...] | > none0@pci0:27:0: class=0x040300 card=0x3010103c chip=0x27d88086 rev=0x01 hdr=0x00 | > vendor = 'Intel Corporation' | > device = '82801G (ICH7 Family) High Definition Audio' | > class = multimedia | | | $ whatis 'high definition audio' | | snd_hda(4) - Intel High Definition Audio bridge device driver | | A `kldload snd_hda' should suffice. snd_ich should also work, but | doesn't make use of the high definition audio functionality. This makes me look so so dumb :) I did not think I could get the answer just by using `whatis`! Now, can this driver support my Creative SoundBlaster? I will have to try it out. Thank you so much. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ The mosquito is the state bird of New Jersey. -- Andy Warhol From owner-freebsd-current@FreeBSD.ORG Wed May 23 13:36:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3227A16A400 for ; Wed, 23 May 2007 13:36:56 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: from mx1.ethionet.et (mx1.ethionet.et [213.55.64.53]) by mx1.freebsd.org (Postfix) with ESMTP id 2985E13C45B for ; Wed, 23 May 2007 13:36:54 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: from mx1.ethionet.et (localhost [127.0.0.1]) by localhost.ethionet.et (Postfix) with ESMTP id 7D54051F7; Wed, 23 May 2007 16:33:03 +0300 (EAT) Received: from rogue.navcom.lan (unknown [213.55.81.157])by mx1.ethionet.et (Postfix) with SMTP id AE33C514D; Wed, 23 May 2007 16:32:59 +0300 (EAT) Received: by rogue.navcom.lan (Postfix, from userid 1001)id 47ADF113F; Wed, 23 May 2007 16:42:02 +0300 (EAT) Date: Wed, 23 May 2007 16:42:02 +0300 From: Mike Makonnen To: Ollivier Robert Message-ID: <20070523134202.GA3753@rogue.navcom.lan> References: <2007 0522134724.L28780@fledge.watson.org> <20070522215600.GA84787@keltia.freenix .fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070522215600.GA84787@keltia.freenix.fr> User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD/7.0-CURRENT (i386) X-imss-version: 2.46 X-imss-result: Passed X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:3 C:2 M:2 S:3 R:2 (0.5000 0.5000) Cc: freebsd-current@freebsd.org Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Wed, 23 May 2007 13:36:56 -0000 On Tue, May 22, 2007 at 11:56:00PM +0200, Ollivier Robert wrote: > According to Robert Watson: > > I saw an identical problem when I booted a kernel from yesterday with kernel > > modules from a week or so earlier, only mine froze before getting to the > > Timecounter line, rather, immediately after the vga0 line. Perhaps we're > > looking at an issue with mixing modules with a kernel from before/after the > > compiler upgrade? > > Not in my case. My Parallels VM with source from May, 21th boots correctly > whereas my last update, it stops after vga0 and CPU starts spinning. I cvsuped around 23/05/07 midnight GMT, and my Dell Inspiron 5100 laptop hangs after printing the probe of vga0. Normally, this is what I see after the probe for vga0: Timecounter "TSC" frequency 2392042560 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master UDMA33 ad2: 28615MB at ata1-master UDMA100 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad2s2a Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org From owner-freebsd-current@FreeBSD.ORG Wed May 23 14:32:19 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94CC616A400; Wed, 23 May 2007 14:32:19 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 594CD13C45A; Wed, 23 May 2007 14:32:19 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from imp3-g19.free.fr (imp3-g19.free.fr [212.27.42.3]) by smtp5-g19.free.fr (Postfix) with ESMTP id BCC4744C37; Wed, 23 May 2007 16:32:18 +0200 (CEST) Received: by imp3-g19.free.fr (Postfix, from userid 33) id 83B0C12A59; Wed, 23 May 2007 17:32:18 +0200 (CEST) Received: from 194.250.38.4 ([194.250.38.4]) by imp.free.fr (IMP) with HTTP for ; Wed, 23 May 2007 17:32:18 +0200 Message-ID: <1179934338.46545e8270392@imp.free.fr> Date: Wed, 23 May 2007 17:32:18 +0200 From: freebsd.ruomad@free.fr To: Pawel Jakub Dawidek References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070517105346.GA3012@garage.freebsd.pl> In-Reply-To: <20070517105346.GA3012@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 194.250.38.4 Cc: freebsd-current@FreeBSD.org Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 14:32:19 -0000 > > Anyone has an idea on how to get the normal mode to work automatically (not > that I cannot live with verbose dmesg, but...) > > I'll look into this once I'm back from BSDCan. > Hello Pawel, I rebuilded everything (thanks to gcc 4.2) : world and ports. The problem remains and has sort of grown worse as now even the verbose boot does not result in my root being mounted properly (automatically). Do you have a clue or some idea of what I can test now to help solving this problem. Am I the only one to see this ? My system is a Core Duo E6400 with 2GB DDR2 5300/ MB Asus PW5 B Deluxe Running a fresh amd64 current from Monday (gcc 4.2 + xorg 7.2 - full gnome installed - 820 ports installed and freshly rebuilt). AFAIK everything else works though some ports failed to rebuild correctly (I can name pwlib, gnome-volume-manager, rails, and some others - will investigate the problem later on) I have 2 zfs tanks : - 1 for root system on a partition on a sata300 disk (ICH7) with different filesystems (/usr, /usr/local, /var, /tmp, /home) (ad10s2d) - 1 for data on an raid 1 array (sort of hardware AFAIK) (2x320G SATA300) plus (ad12s1) - 1 partition on the first disk for win$ (ad10s1) - 1 label for swap on the same disk (ad10s2b) - 1 label ufs for /boot (ad10s2a) Thanks for any clue Bruno From owner-freebsd-current@FreeBSD.ORG Wed May 23 14:44:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 041B116A41F for ; Wed, 23 May 2007 14:44:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id CD09A13C457 for ; Wed, 23 May 2007 14:44:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 7892E470E8; Wed, 23 May 2007 10:44:52 -0400 (EDT) Date: Wed, 23 May 2007 10:44:52 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: David Wolfskill In-Reply-To: <20070522202914.GB64542@bunrab.catwhisker.org> Message-ID: <20070523103815.W28780@fledge.watson.org> References: <20070522134724.L28780@fledge.watson.org> <20070522202914.GB64542@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Goran Gajic Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Wed, 23 May 2007 14:44:53 -0000 On Tue, 22 May 2007, David Wolfskill wrote: >> I saw an identical problem when I booted a kernel from yesterday with >> kernel modules from a week or so earlier, only mine froze before getting to >> the Timecounter line, rather, immediately after the vga0 line. Perhaps >> we're looking at an issue with mixing modules with a kernel from >> before/after the compiler upgrade? > > I'm about as certain as I can be that ssuch "module-mixing" did not cause > the hang that I saw on my laptop today, as I was able to successfully boot > from a kernel built (along with world, at the time) on 19 May (after the gcc > 4 import). > > In my case, the keyboard was unresponsive (e.g., didn't go into "scroll > lock" mode when I used the keyboard chord to request that), and the fan > started gaining speed pretty rapidly, so I elected to power-cycle the > machine aftter a few seconds of trying less disruptive means of getting its > attention. > > I believe the last message displayed had the word "probe" in it. I am > certain that the system hadn't tried to mount any file systems yet. > > Sorry I don't have more specifics handy. I did save the hanging kernel, of > course. Indeed, looks like I was on the wrong track -- with INVARIANTS enabled, I see something more sensible. Apologies for any typos, this is hand-transcribed: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 panic: corupt spinlock KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x32: leave db> bt Tracing pid 0 tid 0 td 0xc0b36620 kdb_enter(...) at kdb_enter+0x32 panic(...) at panic+0xc5 statclock(...) at statclock+0x108 hardclock(...) at hardclock+0x37 clkintr(...) at clkintr+0xd2 intr_execute_handlers(...) at intr_execute_handlers+0xe5 atpic_handle_intr(...) at atpic_handle_intr+0xba Xatpic_intr0() at Xatpic_int0+0x21 --- interrupt, eip = 0xc099409b, esp=0xc1020cb7, ebp = 0xc1020cbc --- spinlock_exit(...) at spinlock_exit+0x2b _mtx_unlock_spin_flags(...) at _mtx_unlock_spin_flags+0xdc atpic_enable_source(...) at atpic_enable_source+0x86 intr_add_handler(...) at intr_add_handler+0xb3 cpu_initclockS(...) at cpu_initclocks+0x50 initclocks(...) at initclocks+0xb mi_startup(...) at mi_startup+0x96 begin() at begin+0x2c I've uploaded the actual stack trace with arguments as http://www.watson.org/~robert/freebsd/20070523-panic.png The arguments to atpic_handle_intr() and atpic_enable_source() suggest that the interrupt fires before the code is ready to handle it, or something along those lines. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Wed May 23 14:47:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D235C16A482 for ; Wed, 23 May 2007 14:47:48 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA5913C4BB for ; Wed, 23 May 2007 14:47:46 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 074508BE07B; Wed, 23 May 2007 16:47:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X6dyqXFtAn7L; Wed, 23 May 2007 16:47:43 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C0EA466C94B; Wed, 23 May 2007 16:47:43 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4NElhhZ049194; Wed, 23 May 2007 16:47:43 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 23 May 2007 16:47:43 +0200 From: Roman Divacky To: "Conrad J. Sabatier" Message-ID: <20070523144743.GA48764@freebsd.org> References: <200705221703.l4MH3bHG057767@serene.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705221703.l4MH3bHG057767@serene.no-ip.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: dhclient fxp0 broken in -current for several days now 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: Wed, 23 May 2007 14:47:48 -0000 On Tue, May 22, 2007 at 12:03:32PM -0500, Conrad J. Sabatier wrote: > I *think* this started around last Friday or Saturday (May 19 or 20). > Suddenly, dhclient is no longer obtaining an IP address from my ISP > (Cox), nor is it falling back to the prior saved lease. I see exactly the same thing, starting roughly on the same day... roman From owner-freebsd-current@FreeBSD.ORG Wed May 23 15:59:04 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC0E616A46C; Wed, 23 May 2007 15:59:04 +0000 (UTC) (envelope-from bp@barryp.org) Received: from eden.barryp.org (host-42-60-230-24.midco.net [24.230.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id AAE4F13C468; Wed, 23 May 2007 15:59:04 +0000 (UTC) (envelope-from bp@barryp.org) Received: from geo.med.und.nodak.edu ([134.129.166.11]) by eden.barryp.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HqtEt-000I3b-5R; Wed, 23 May 2007 10:59:03 -0500 Message-ID: <46546489.1030304@barryp.org> Date: Wed, 23 May 2007 10:58:01 -0500 From: Barry Pederson User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: freebsd.ruomad@free.fr References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070517105346.GA3012@garage.freebsd.pl> <1179934338.46545e8270392@imp.free.fr> In-Reply-To: <1179934338.46545e8270392@imp.free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 15:59:05 -0000 freebsd.ruomad@free.fr wrote: >>> Anyone has an idea on how to get the normal mode to work automatically (not >> that I cannot live with verbose dmesg, but...) >> >> I'll look into this once I'm back from BSDCan. >> > > Hello Pawel, > > I rebuilded everything (thanks to gcc 4.2) : world and ports. > The problem remains and has sort of grown worse as now even the verbose boot > does not result in my root being mounted properly (automatically). > > Do you have a clue or some idea of what I can test now to help solving this > problem. > Am I the only one to see this ? Bruno: So does it mount OK after you manually enter the root? I'm having a problem very frequently where it picks up the zfs_load="YES" vfs.root.mountfrom="zfs:tank/root" OK in the loader, but hangs when booting at: ------ . . . WARNING: ZFS is considered to be an experimental feature in FreeBSD ZFS filesystem version 6 ZFS storage pool version 6 Trying to mount root from zfs:tank/root ------ and then it just sits there. But on other occasions, it gets past that and boots fine. This is without recompiling or anything - so I'm not sure what's changing (LOR?) Anyhow, not sure if that's the same what you're seeing, but I thought I'd mention it. Barry From owner-freebsd-current@FreeBSD.ORG Wed May 23 16:06:46 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C19616A468 for ; Wed, 23 May 2007 16:06:46 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 06ABB13C48C for ; Wed, 23 May 2007 16:06:45 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6605347444 for ; Wed, 23 May 2007 12:06:45 -0400 (EDT) Date: Wed, 23 May 2007 12:06:45 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: <20070523120014.U28780@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: ata sema panic: mtx_lock() of destroyed mutex ... sema ... 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: Wed, 23 May 2007 16:06:46 -0000 While attempting to debug the vga0 (actually, clocking locking) panic, I backed out to a 20070520 kernel, and saw the following: acd0: WARNING - PREVENT_ALLOW read data overrun 18>0 panic: mtx_lock() of destroyed mutex @ /usr/src/sys/kern/kern_sema.c:79 KDB: enter: panic [thread pid 17 tid 100012 ] Stopped at kdb_enter+0x32: leave db> bt Tracing pid 17 tid 100012 td 0xc2703000 kdb_enter(...) at kdb_enter+0x32 panic(...) at panic+0xc5 _mtx_lock_flags(...) at _mtx_lock_flags+0x59 _sema_post(...) at _sema_post+0x2a ata_completed(...) at ata_completed+0x66d taskqueue_run(...) at taskqueue_run+0x10b taskqeueu_swi_run(...) at taskqueue_swi_run+0x13 ithread_loop(...) at ithread_loop+0x1b5 Hand-transcribed, full stack trace here: http://www.watson.org/~robert/freebsd/20070523-ata-sema-panic.png No dump, but that's alright, it probably wouldn't have dumped anyway, given that ATA was keeling over :-). ata_completed+0x66d maps to ata-queue.c:481 in ata_queue.c:1.69. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Wed May 23 16:19:01 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBB4B16A400 for ; Wed, 23 May 2007 16:19:01 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id A98D513C4B8 for ; Wed, 23 May 2007 16:19:01 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 656AB173B4; Wed, 23 May 2007 16:19:00 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l4NGJLJc006015; Wed, 23 May 2007 16:19:22 GMT (envelope-from phk@critter.freebsd.dk) To: Takeharu KATO From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 09 May 2007 20:34:26 +0900." <4641B1C2.70909@ybb.ne.jp> Date: Wed, 23 May 2007 16:19:21 +0000 Message-ID: <6014.1179937161@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-current@freebsd.org Subject: Re: Evaluation of High Precision Event Timer Driver for userland timer facility 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: Wed, 23 May 2007 16:19:02 -0000 In message <4641B1C2.70909@ybb.ne.jp>, Takeharu KATO writes: >Hi, > >I wrote a patch to add following features into acpi_hpet timer driver >(The patch is posted as PR kern/112544). I have briefly scanned your patch and have some comments. Basing this facility on the HPET almost guarantees that we cannot use it in FreeBSD, because the HPET is not available on more than a couple of our architectures. The underlying timecounters have datastructures that can be used to implement the mmap(2) access to user-space, but access to the necessary hardware is not readily available, as that more often than not, requires kernel privileges. Without userland access to the timekeeping hardware, it is difficult to avoid the system call overhead and once in the kernel anyway it is doubtful that splitting the code between userland and kernel really gives much of a payoff. I am aware that Linux has a userland timestamping facility, but I am also aware of its numerous shortcomings. >feature-1) Global time stamp for SMP machines. > This driver provides a common time-base on N-Way MP system via > mmap system call. > It is not affected by clock freq. drifts. This is an incredibly tall claim that has no backing in reality. >feature-2) Periodic timer facility > This driver provides periodic timer facility for userland applications to > use for appication specific process scheduling. This should under no circumstances be committed without an architecture and hardware independent API. We already have [gs]etitimer() for this purpose. If we want to do something like this, we want to do it right, and that means giving the timeout mechanism in the kernel a good workout. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Wed May 23 16:33:11 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 435CD16A469; Wed, 23 May 2007 16:33:11 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 84CD413C46E; Wed, 23 May 2007 16:33:10 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from imp3-g19.free.fr (imp3-g19.free.fr [212.27.42.3]) by smtp5-g19.free.fr (Postfix) with ESMTP id A525F44FC9; Wed, 23 May 2007 18:33:09 +0200 (CEST) Received: by imp3-g19.free.fr (Postfix, from userid 33) id 6CE2D12AB1; Wed, 23 May 2007 19:33:09 +0200 (CEST) Received: from 194.250.38.4 ([194.250.38.4]) by imp.free.fr (IMP) with HTTP for ; Wed, 23 May 2007 19:33:09 +0200 Message-ID: <1179941589.46547ad55ac68@imp.free.fr> Date: Wed, 23 May 2007 19:33:09 +0200 From: freebsd.ruomad@free.fr To: Barry Pederson References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070517105346.GA3012@garage.freebsd.pl> <1179934338.46545e8270392@imp.free.fr> <46546489.1030304@barryp.org> In-Reply-To: <46546489.1030304@barryp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 194.250.38.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , freebsd.ruomad@free.fr Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 16:33:11 -0000 Selon Barry Pederson : > freebsd.ruomad@free.fr wrote: > >>> Anyone has an idea on how to get the normal mode to work automatically > (not > >> that I cannot live with verbose dmesg, but...) > >> > >> I'll look into this once I'm back from BSDCan. > >> > > > > Hello Pawel, > > > > I rebuilded everything (thanks to gcc 4.2) : world and ports. > > The problem remains and has sort of grown worse as now even the verbose > boot > > does not result in my root being mounted properly (automatically). > > > > Do you have a clue or some idea of what I can test now to help solving this > > problem. > > Am I the only one to see this ? > > Bruno: > > So does it mount OK after you manually enter the root? > > I'm having a problem very frequently where it picks up the > > zfs_load="YES" > vfs.root.mountfrom="zfs:tank/root" > > OK in the loader, but hangs when booting at: > . > WARNING: ZFS is considered to be an experimental feature in FreeBSD > ZFS filesystem version 6 > ZFS storage pool version 6 > Trying to mount root from zfs:tank/root > ------ > > and then it just sits there. But on other occasions, it gets past that > and boots fine. This is without recompiling or anything - so I'm not > sure what's changing (LOR?) > > Anyhow, not sure if that's the same what you're seeing, but I thought > I'd mention it. > Not sure if it's the same ? The point is that the I get the messgaes Trying to mount root from zfs:tank/root and the mountroot> prompt BEFORE the following messages ZFS filesystem version 6 ZFS storage pool version 6 If I enter : zfs:system at the prompt, it boots allright. On occasions, booting in verbose mode, I got the "version 6" messages before trying to mount root, and then everything just works fine. It's not the case since my last buildworld though :( Bruno From owner-freebsd-current@FreeBSD.ORG Wed May 23 16:43:59 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CAF816A400; Wed, 23 May 2007 16:43:59 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 1569C13C457; Wed, 23 May 2007 16:43:58 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4NGTtSN058290; Wed, 23 May 2007 12:29:55 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= In-Reply-To: <867ir0atfh.fsf@dwp.des.no> References: <46534301.10005@FreeBSD.org> <864pm4zkre.fsf@dwp.des.no> <46534EE2.3090107@FreeBSD.org> <867ir0atfh.fsf@dwp.des.no> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-2Rf1Lyd9u+PMxUZMWvc6" Organization: FreeBSD, Inc. Date: Wed, 23 May 2007 12:29:35 -0400 Message-Id: <1179937775.53308.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: pjd@FreeBSD.org, "current@freebsd.org" Subject: Re: [Fwd: Serious problem with mount(8)] 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: Wed, 23 May 2007 16:43:59 -0000 --=-2Rf1Lyd9u+PMxUZMWvc6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, 2007-05-23 at 09:30 +0200, Dag-Erling Sm=F8rgrav wrote: > Joe Marcus Clarke writes: > > Dag-Erling Sm=F8rgrav writes: > > > Better yet, extend the pidfile API with a function which reads the > > > contents of a PID file and also checks whether it's locked. > > I'd be happy to do this. Is my approach with this code sound (i.e. can > > I simply port this to pidfile(3)), or should I take another approach? > > Thanks. >=20 > You expose yourself to all sorts of race conditions by opening the file > twice... what you should do is something like (off the top of my head): >=20 > fd =3D open(pidfile, O_RDONLY); > fcntl(fd, F_GETLK, &fl) > if (fl.l_type =3D=3D F_UNLCK) > return (-1) > fstat(fd, &fsb); > read(fd, buf, fsb.st_len); > if (atoi(buf) !=3D fl.l_pid) > return (-1); > #ifdef OPTIONAL > stat(pidfile, &sb); > if (sb.st_dev !=3D fsb.st_dev || sb.st_ino !=3D fsb.st_ino) > return (-1); > #endif > return (fl.l_pid); >=20 > with appropriate error checking, of course. Thanks for the tip, but this is moot now that flopen(3) has been fixed, and pidfile_open(3) operates as documented. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-2Rf1Lyd9u+PMxUZMWvc6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGVGvtb2iPiv4Uz4cRAh0yAKCwPo+37bGZBAMAlZ4jb8/MMbMBxACggk/m YVXvlI5YqjFXkuItF+leNKA= =SFK9 -----END PGP SIGNATURE----- --=-2Rf1Lyd9u+PMxUZMWvc6-- From owner-freebsd-current@FreeBSD.ORG Wed May 23 16:44:51 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5BAD16A468; Wed, 23 May 2007 16:44:51 +0000 (UTC) (envelope-from bp@barryp.org) Received: from eden.barryp.org (host-42-60-230-24.midco.net [24.230.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 755D213C484; Wed, 23 May 2007 16:44:51 +0000 (UTC) (envelope-from bp@barryp.org) Received: from geo.med.und.nodak.edu ([134.129.166.11]) by eden.barryp.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HqtxB-000Ip1-Rh; Wed, 23 May 2007 11:44:50 -0500 Message-ID: <46546F44.8050003@barryp.org> Date: Wed, 23 May 2007 11:43:48 -0500 From: Barry Pederson User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: freebsd.ruomad@free.fr References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070517105346.GA3012@garage.freebsd.pl> <1179934338.46545e8270392@imp.free.fr> <46546489.1030304@barryp.org> <1179941589.46547ad55ac68@imp.free.fr> In-Reply-To: <1179941589.46547ad55ac68@imp.free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 16:44:51 -0000 freebsd.ruomad@free.fr wrote: > Not sure if it's the same ? > The point is that the I get the messgaes > Trying to mount root from zfs:tank/root > and the mountroot> prompt > BEFORE the following messages > ZFS filesystem version 6 > ZFS storage pool version 6 > > If I enter : zfs:system at the prompt, it boots allright. > On occasions, booting in verbose mode, I got the "version 6" messages before > trying to mount root, and then everything just works fine. > It's not the case since my last buildworld though :( This jumps out at me from one of your earlier messages as being something different from what I've see on my fairly stock setup: fuse4bsd: version 0.3.0, FUSE ABI 7.8 Is that a kernel module loaded from your /boot/loader.conf ? Have you tried without that? Barry From owner-freebsd-current@FreeBSD.ORG Wed May 23 16:51:14 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08C4D16A46E; Wed, 23 May 2007 16:51:14 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id BD3AA13C468; Wed, 23 May 2007 16:51:13 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from imp3-g19.free.fr (imp3-g19.free.fr [212.27.42.3]) by smtp5-g19.free.fr (Postfix) with ESMTP id 2B21344FC9; Wed, 23 May 2007 18:51:13 +0200 (CEST) Received: by imp3-g19.free.fr (Postfix, from userid 33) id EDC9D12AB1; Wed, 23 May 2007 19:51:12 +0200 (CEST) Received: from 194.250.38.4 ([194.250.38.4]) by imp.free.fr (IMP) with HTTP for ; Wed, 23 May 2007 19:51:12 +0200 Message-ID: <1179942672.46547f10d83a7@imp.free.fr> Date: Wed, 23 May 2007 19:51:12 +0200 From: freebsd.ruomad@free.fr To: Barry Pederson References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070517105346.GA3012@garage.freebsd.pl> <1179934338.46545e8270392@imp.free.fr> <46546489.1030304@barryp.org> <1179941589.46547ad55ac68@imp.free.fr> <46546F44.8050003@barryp.org> In-Reply-To: <46546F44.8050003@barryp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 194.250.38.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , freebsd.ruomad@free.fr Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 16:51:14 -0000 Selon Barry Pederson : > freebsd.ruomad@free.fr wrote: > > > Not sure if it's the same ? > > The point is that the I get the messgaes > > Trying to mount root from zfs:tank/root > > and the mountroot> prompt > > BEFORE the following messages > > ZFS filesystem version 6 > > ZFS storage pool version 6 > > > > If I enter : zfs:system at the prompt, it boots allright. > > On occasions, booting in verbose mode, I got the "version 6" messages > before > > trying to mount root, and then everything just works fine. > > It's not the case since my last buildworld though :( > > This jumps out at me from one of your earlier messages as being > something different from what I've see on my fairly stock setup: > > fuse4bsd: version 0.3.0, FUSE ABI 7.8 > > Is that a kernel module loaded from your /boot/loader.conf ? Have you > tried without that? > It's a kernel module loaded for ntfs access (fusefs-ntfs) to my win$ partition. No I didn't try to disable it, but I will do it and report. Do you think it might be some conflict between these 2 ? Thanks Bruno From owner-freebsd-current@FreeBSD.ORG Wed May 23 17:02:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0202E16A46B for ; Wed, 23 May 2007 17:02:20 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB5913C4C9 for ; Wed, 23 May 2007 17:02:17 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id g33so550173ugd for ; Wed, 23 May 2007 10:02:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=r6onB1yfDTxuIhkQyBlAt7jEzNIacEdHjg4l4p/CVLXLhJYTPkzabo6mhw6ZLwHboHqSU1kCdL1gLRs017hjUpowDlfp/Lzv9oi9nXcrGd8nK0FOW2oQq8YWQThMXzRf1nlRPYxGv5iYpyL9Xqq6skTdP2OIs0gWUCMv3D5uMcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=krhe2dJi54cIzEbensgsPCxkiz3jsS2a6e+A41mGoWwGixw36HVJGZcJvoB698c1jUrE/pCLzgESCv22H5oVNh7Q6LRT0qjJucY+mrvJ/Jl6gIB7tBGCUL9H2BTJPd0X3fzIBngqZn3zUMOPvWCv+2wtLqvI/NLTWlBdTwL4cI8= Received: by 10.78.188.10 with SMTP id l10mr177844huf.1179939269804; Wed, 23 May 2007 09:54:29 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Wed, 23 May 2007 09:54:29 -0700 (PDT) Message-ID: <3bbf2fe10705230954pc9d013dpcbe678cd296b4105@mail.gmail.com> Date: Wed, 23 May 2007 18:54:29 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Robert Watson" In-Reply-To: <20070523103815.W28780@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070522134724.L28780@fledge.watson.org> <20070522202914.GB64542@bunrab.catwhisker.org> <20070523103815.W28780@fledge.watson.org> X-Google-Sender-Auth: 3eccd9625ff99b3c Cc: Goran Gajic , freebsd-current@freebsd.org Subject: Re: Kernel hanging after today cvsup at Timecounter "TSC 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: Wed, 23 May 2007 17:02:20 -0000 2007/5/23, Robert Watson : > > On Tue, 22 May 2007, David Wolfskill wrote: > > >> I saw an identical problem when I booted a kernel from yesterday with > >> kernel modules from a week or so earlier, only mine froze before getting to > >> the Timecounter line, rather, immediately after the vga0 line. Perhaps > >> we're looking at an issue with mixing modules with a kernel from > >> before/after the compiler upgrade? > > > > I'm about as certain as I can be that ssuch "module-mixing" did not cause > > the hang that I saw on my laptop today, as I was able to successfully boot > > from a kernel built (along with world, at the time) on 19 May (after the gcc > > 4 import). > > > > In my case, the keyboard was unresponsive (e.g., didn't go into "scroll > > lock" mode when I used the keyboard chord to request that), and the fan > > started gaining speed pretty rapidly, so I elected to power-cycle the > > machine aftter a few seconds of trying less disruptive means of getting its > > attention. > > > > I believe the last message displayed had the word "probe" in it. I am > > certain that the system hadn't tried to mount any file systems yet. > > > > Sorry I don't have more specifics handy. I did save the hanging kernel, of > > course. > > Indeed, looks like I was on the wrong track -- with INVARIANTS enabled, I see > something more sensible. Apologies for any typos, this is hand-transcribed: > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > panic: corupt spinlock > KDB: enter: panic > [thread pid 0 tid 0 ] > Stopped at kdb_enter+0x32: leave > db> bt > Tracing pid 0 tid 0 td 0xc0b36620 > kdb_enter(...) at kdb_enter+0x32 > panic(...) at panic+0xc5 > statclock(...) at statclock+0x108 > hardclock(...) at hardclock+0x37 > clkintr(...) at clkintr+0xd2 > intr_execute_handlers(...) at intr_execute_handlers+0xe5 > atpic_handle_intr(...) at atpic_handle_intr+0xba > Xatpic_intr0() at Xatpic_int0+0x21 > --- interrupt, eip = 0xc099409b, esp=0xc1020cb7, ebp = 0xc1020cbc --- > spinlock_exit(...) at spinlock_exit+0x2b > _mtx_unlock_spin_flags(...) at _mtx_unlock_spin_flags+0xdc > atpic_enable_source(...) at atpic_enable_source+0x86 > intr_add_handler(...) at intr_add_handler+0xb3 > cpu_initclockS(...) at cpu_initclocks+0x50 > initclocks(...) at initclocks+0xb > mi_startup(...) at mi_startup+0x96 > begin() at begin+0x2c > > I've uploaded the actual stack trace with arguments as > > http://www.watson.org/~robert/freebsd/20070523-panic.png Ok, it seems that the new time_lock spinlock is initialized too late, and infact cpu_initclocks() is called before it is initialized. It is enough to move the mtx_init() just before the cpu_initclocks() in kern_clock.c::initclocks(). Can someone try that and report if it works? I'm sorry for that, but I (and presumabily other people testing the patch) never got that problems on all machines we used (probabilly beacause this is just triggered when attaching vgaX). Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Wed May 23 17:21:26 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF3C916A469 for ; Wed, 23 May 2007 17:21:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 78A8813C48C for ; Wed, 23 May 2007 17:21:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 12464 invoked by uid 399); 23 May 2007 17:21:25 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 23 May 2007 17:21:25 -0000 X-Originating-IP: 127.0.0.1 Date: Wed, 23 May 2007 10:21:23 -0700 (PDT) From: Doug Barton To: freebsd-current@FreeBSD.ORG, "Ralf S. Engelschall" In-Reply-To: <200705230911.l4N9Bssl015397@lurza.secnetix.de> Message-ID: <20070523101529.K46653@ync.qbhto.arg> References: <200705230911.l4N9Bssl015397@lurza.secnetix.de> Organization: http://www.FreeBSD.org/ X-OpenPGP-Key-ID: 0xD5B2F0FB X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: etc/rc.d/{var,tmp} and sub-shell usage?! 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: Wed, 23 May 2007 17:21:26 -0000 On Wed, 23 May 2007, Oliver Fromme wrote: > Ralf S. Engelschall wrote: > > I've just stumbled over a confusing sub-shell usage in our > > src/etc/rc.d/{var,tmp} scripts where I'm sure the sub-shells are totally > > unnecessary and useless. I also do not see any difference under run-time > > except that the sub-shell usage is slower, of course ;-) Those (and any similar) should go away. Thanks for catching this. > Additionally, I think it's not a good idea to use > "mkdir -p" to check if a directory is writable. > If the directory already exists (for whatever > reason), "mkdir -p" succeeds even if the file > system is not writable. > > The best solution is probably to use /bin/ln, and > include the PID in the name to reduce the risk of > accidental file name collisions. (Note that this > code is running before the system is multi-user, > so writing to /tmp as root doesn't introduce a > security issue here, as far as I can tell.) Using 'echo > file' will work just as well, and avoid the cost of invoking ln. > PS: I also noticed that there's really a lot of > redundant (i.e. superfluous) use of braces "${}" > for variable expansion in the scripts, which makes > them more difficult to read (IMHO). Sorry, but "more difficult to read" is a spurious argument. Braces are part of shell scripting, get used to it. :) > Is there some > style guideline that requires it? Just wondering ... Not explicitly, but a lot of the stuff we imported from NetBSD had braces that weren't strictly necessary, and that style has been perpetuated. Personally I tend to include braces more often than they are actually needed since it helps insure against those times when they ARE needed and I forget to add them. :) Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Wed May 23 17:24:05 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF1A316A4C4 for ; Wed, 23 May 2007 17:24:05 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8EE6913C4FF for ; Wed, 23 May 2007 17:24:02 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3B12D46F01 for ; Wed, 23 May 2007 13:24:00 -0400 (EDT) Date: Wed, 23 May 2007 18:24:00 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: <20070523182203.R12345@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: rtfree: 0xc296cd20 has 1 refs 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: Wed, 23 May 2007 17:24:05 -0000 During boot on today's 7-CURRENT: net.inet6.ip6.auto_linklocal: 1 -> 0 rtfree: 0xc296cd20 has 1 refsDHCPREQUEST on ed0 to 255.255.255.255 port 67 DHCPACK from 10.211.55.1 Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Wed May 23 17:32:28 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5954F16A4C4; Wed, 23 May 2007 17:32:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1FC8113C4B8; Wed, 23 May 2007 17:32:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id D1FC546F8C; Wed, 23 May 2007 13:32:26 -0400 (EDT) Date: Wed, 23 May 2007 13:32:26 -0400 (EDT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Attilio Rao In-Reply-To: <3bbf2fe10705230954pc9d013dpcbe678cd296b4105@mail.gmail.com> Message-ID: <20070523133052.O28780@fledge.watson.org> References: <20070522134724.L28780@fledge.watson.org> <20070522202914.GB64542@bunrab.catwhisker.org> <20070523103815.W28780@fledge.watson.org> <3bbf2fe10705230954pc9d013dpcbe678cd296b4105@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Goran Gajic , freebsd-current@freebsd.org Subject: Fixed (was: Re: Kernel hanging after today cvsup at Timecounter "TSC) 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: Wed, 23 May 2007 17:32:28 -0000 On Wed, 23 May 2007, Attilio Rao wrote: >> I've uploaded the actual stack trace with arguments as >> >> http://www.watson.org/~robert/freebsd/20070523-panic.png > > Ok, it seems that the new time_lock spinlock is initialized too late, and > infact cpu_initclocks() is called before it is initialized. > > It is enough to move the mtx_init() just before the cpu_initclocks() in > kern_clock.c::initclocks(). > > Can someone try that and report if it works? > > I'm sorry for that, but I (and presumabily other people testing the patch) > never got that problems on all machines we used (probabilly beacause this is > just triggered when attaching vgaX). I've made the change, sucessfully booted, and committed the fix as kern_clock.c:1.196. Thanks! Robert N M Watson Computer Laboratory University of Cambridge 5B From owner-freebsd-current@FreeBSD.ORG Wed May 23 17:36:29 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 966D516A41F for ; Wed, 23 May 2007 17:36:29 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.freebsd.org (Postfix) with ESMTP id 512DA13C4B0 for ; Wed, 23 May 2007 17:36:27 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id 16A8F110C5; Wed, 23 May 2007 12:36:27 -0500 (CDT) Date: Wed, 23 May 2007 12:36:18 -0500 From: Craig Boston To: Doug Barton Message-ID: <20070523173618.GA22034@nowhere> Mail-Followup-To: Craig Boston , Doug Barton , freebsd-current@FreeBSD.ORG, "Ralf S. Engelschall" References: <200705230911.l4N9Bssl015397@lurza.secnetix.de> <20070523101529.K46653@ync.qbhto.arg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523101529.K46653@ync.qbhto.arg> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@FreeBSD.ORG, "Ralf S. Engelschall" Subject: Re: etc/rc.d/{var,tmp} and sub-shell usage?! 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: Wed, 23 May 2007 17:36:29 -0000 On Wed, May 23, 2007 at 10:21:23AM -0700, Doug Barton wrote: > Using 'echo > file' will work just as well, and avoid the cost of invoking > ln. It seems like that could be vulnerable to malicious symbolic links lying around from the previous boot. Doing an rm first should work as during this stage of system startup there shouldn't be any race conditions. ln has the -h flag to not follow links, so it may be a better option, especially if you would have to invoke rm anyway. Craig From owner-freebsd-current@FreeBSD.ORG Wed May 23 18:19:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4651F16A421; Wed, 23 May 2007 18:19:06 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 306F013C455; Wed, 23 May 2007 18:19:06 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 012F11A4D83; Wed, 23 May 2007 11:20:07 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3513C52EE3; Wed, 23 May 2007 14:19:05 -0400 (EDT) Date: Wed, 23 May 2007 14:19:04 -0400 From: Kris Kennaway To: Ivan Voras Message-ID: <20070523181903.GA60674@xor.obsecurity.org> References: <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 18:19:06 -0000 On Wed, May 23, 2007 at 12:11:52PM +0200, Ivan Voras wrote: > Kris Kennaway wrote: > > >i.e. plain ZFS wants to use 3/4 of the *physical* RAM in the system > >(or all but 1GB). i.e. if you have 16GB in your system then zfs will > >try to use up to 15GB of it for caching leaving only 1GB for > >everything else (kernel + userland). > > > >I would actually be interested to know how Solaris gets away with > >this. It sounds like there must be less of a distinction between > >memory allocated to the kernel and to userland, and the ability for > >memory to flow between these two with some form of backpressure when > >userland wants memory that is currently gobbled by up solaris ZFS. > > Isn't it adequately explained with Sparc being a 64-bit platform? Not entirely, because solaris also runs on i386 (this is what was confusing me). I guess the answer is that ZFS has similar issues on Solaris i386 that it did on FreeBSD i386. Kris From owner-freebsd-current@FreeBSD.ORG Wed May 23 18:32:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE19616A46E for ; Wed, 23 May 2007 18:32:15 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6548513C469 for ; Wed, 23 May 2007 18:32:15 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id g33so585875ugd for ; Wed, 23 May 2007 11:32:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K2IZVSC3Zsxh79LEks0h2pjny9U/BdjpGQyytbwqjZJXp/8Fe5MKQ8U+cOn/MCGfjvSBascDKxhYmwfIUENNwexPRjrqGcrDQHiH3FttDVLo7GRZ8IWNVc/CtSvtXD0RtcaIj7wtmJXvImXwg0smdxDTYYBUJEqpDD8pWNIWakQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RlRx6QlLa3QykO21QuMDvift8Z0SzK5NTXZsUvSaz3ko9kBIxzp7YLx75IjIcoPgQWDZdhlc05Tzm24DUOgGuyv9yqCx2IYB2zv4h0n2uPuT2+xDf2Om1w+u6gAl1r75jLN2U0UlldIqQXEXcAdQoVcL0SMwDXaxtP6S8oPydew= Received: by 10.78.123.5 with SMTP id v5mr232204huc.1179945134036; Wed, 23 May 2007 11:32:14 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Wed, 23 May 2007 11:32:13 -0700 (PDT) Message-ID: Date: Wed, 23 May 2007 11:32:13 -0700 From: "Kip Macy" To: "Kris Kennaway" In-Reply-To: <20070523181903.GA60674@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070410003837.GB8189@nowhere> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523181903.GA60674@xor.obsecurity.org> Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Ivan Voras Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 18:32:16 -0000 > Not entirely, because solaris also runs on i386 (this is what was > confusing me). I guess the answer is that ZFS has similar issues on > Solaris i386 that it did on FreeBSD i386. My understanding is that Sun has more or less abandoned 32-bit x86 in favor of x86_64. -Kip From owner-freebsd-current@FreeBSD.ORG Wed May 23 18:55:03 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D76816A400 for ; Wed, 23 May 2007 18:55:03 +0000 (UTC) (envelope-from master@preved.cn) Received: from mc333.mccolo.com (mc333.mccolo.com [208.72.175.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6C0DC13C44C for ; Wed, 23 May 2007 18:54:58 +0000 (UTC) (envelope-from master@preved.cn) Received: from mc333.mccolo.com (localhost [127.0.0.1]) by mc333.mccolo.com (Postfix) with ESMTP id 0F93F114E9 for ; Wed, 23 May 2007 11:54:54 -0700 (PDT) Received: from [10.7.0.3] (233.188.pseudo-real.birulevo.net [62.140.233.188]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mc333.mccolo.com (Postfix) with ESMTP id 17A74114DA for ; Wed, 23 May 2007 11:54:52 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <004B3A71-7E55-401E-92E1-8311882B5739@preved.cn> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: current@freebsd.org From: Alexey Tarasov Date: Wed, 23 May 2007 22:54:48 +0400 X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: ZFS testing problems 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: Wed, 23 May 2007 18:55:03 -0000 Hello. I have installed recent FreeBSD 7-CURRENT on test P4 machine. I have created the following zpool: krivetko# zpool status tank pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 da2 ONLINE 0 0 0 da3 ONLINE 0 0 0 da4 ONLINE 0 0 0 da5 ONLINE 0 0 0 da6 ONLINE 0 0 0 spares da7 AVAIL errors: No known data errors All hard disks are 300 GB SATA disks attached to 3Ware 9550SX-8LP raid controller. During performance tests with IOzone there were a lot of lock order reversal messages in dmesg: lock order reversal: 1st 0xc5c55cd0 zfs:&db->db_mtx (zfs:&db->db_mtx) @ /usr/src/sys/ modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1681 2nd 0xc629cde4 zfs:&zp->z_lock (zfs:&zp->z_lock) @ /usr/src/sys/ modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c:75 KDB: stack backtrace: db_trace_self_wrapper (c0a1b31c,e59988a0,c076eaae,c0a1d745,c629cde4,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a1d745,c629cde4,c5690826,c5690826,c56908a0,...) at kdb_backtrace+0x29 witness_checkorder(c629cde4,9,c56908a0,4b,c5c55c94,...) at witness_checkorder+0x6de _sx_xlock(c629cde4,c56908a0,4b,c568bf82,c0b80180,...) at _sx_xlock+0x7a znode_pageout_func(c5c55c94,c629cdd4,c55bf410,e5998940,c5625f52,...) at znode_pageout_func+0x2d dbuf_evict_user(c5c55cec,ffffffff,ffffffff,c52395d4,0,...) at dbuf_evict_user+0x38 dbuf_rele(c5c55c94,0,0,e5998ad4,c6607380,...) at dbuf_rele+0x172 zfs_rmnode(c629cdd4,c52a33c0,2ad,2a4,c52395d4,...) at zfs_rmnode+0x263 zfs_zinactive(c629cdd4,c5691ae7,b85,252,c5239048,...) at zfs_zinactive +0x184 zfs_inactive(c6673dd0,c660e500,e5998b74,c0999035,e5998b8c,...) at zfs_inactive+0x5a zfs_freebsd_inactive (e5998b8c,c6673e58,c6673dd0,c6673e58,e5998ba4,...) at zfs_freebsd_inactive+0x21 VOP_INACTIVE_APV(c5694ba0,e5998b8c,c0a2382a,8e4,c0aedbc0,...) at VOP_INACTIVE_APV+0xa5 vinactive(c5694ba0,e5998bc0,c0a2382a,870,c07a8198,...) at vinactive+0x91 vput(c6673dd0,ffffffdf,2,c54efe58,c0aedac0,...) at vput+0x1e6 kern_unlink(c52a33c0,8145b00,0,e5998d2c,c0984218,...) at kern_unlink +0x1ba unlink(c52a33c0,e5998cfc,4,c0a2fbe6,c0abf470,...) at unlink+0x22 syscall(e5998d38) at syscall+0x288 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (10, FreeBSD ELF32, unlink), eip = 0x2818c3ff, esp = 0xbfbfe44c, ebp = 0xbfbfe5f8 --- lock order reversal: 1st 0xc59ac420 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) @ /usr/ src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/ dbuf.c:1866 2nd 0xc5c54154 zfs:&db->db_mtx (zfs:&db->db_mtx) @ /usr/src/sys/ modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1837 KDB: stack backtrace: db_trace_self_wrapper (c0a1b31c,e7cc85a0,c076eaae,c0a1d745,c5c54154,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a1d745,c5c54154,c568c0a5,c568c0a5,c568bf82,...) at kdb_backtrace+0x29 witness_checkorder(c5c54154,9,c568bf82,72d,c5c54118,...) at witness_checkorder+0x6de _sx_xlock(c5c54154,c568bf82,72d,c1474788,c5c53570,...) at _sx_xlock+0x7a dbuf_sync_list(c59ac438,c5c56b00,74a,e7cc8a24,c5c53570,...) at dbuf_sync_list+0x70 dbuf_sync_list(c5c53640,c5c56b00,257,3,2,...) at dbuf_sync_list+0x107 dnode_sync(c5c53570,c5c56b00,7,3,2,...) at dnode_sync+0x1cd dmu_objset_sync(c59df400,c5adcac8,c5c56b00,0,c59df098,...) at dmu_objset_sync+0x130 dsl_pool_sync(c59df000,38f,0,0,0,...) at dsl_pool_sync+0x98 spa_sync(c54f8000,38f,0,c59df140,c59df11c,...) at spa_sync+0x3f8 txg_sync_thread(c59df000,e7cc8d38,c0a153b6,324,c598ed80,...) at txg_sync_thread+0x15a fork_exit(c5654db0,c59df000,e7cc8d38) at fork_exit+0xf1 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xe7cc8d70, ebp = 0 --- If I run tw_cli during tests, machine goes into GDB prompt. Here is dmesg: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #0: Wed May 23 12:15:59 EDT 2007 root@:/usr/obj/usr/src/sys/KRIVETKO WARNING: WITNESS option enabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3394.22-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d Logical CPUs per core: 2 real memory = 2146304000 (2046 MB) avail memory = 2090790912 (1993 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 3.0 on pci0 pci1: on pcib1 em0: port 0xb000-0xb01f mem 0xf6000000-0xf601ffff irq 18 at device 1.0 on pci1 em0: Ethernet address: 00:30:48:87:34:9a em0: [FILTER] pcib2: at device 28.0 on pci0 pci2: on pcib2 3ware device driver for 9000 series storage controllers, version: 3.70.03.007 twa0: <3ware 9000 series Storage Controller> port 0xc000-0xc03f mem 0xf0000000-0xf1ffffff,0xf2020000-0xf2020fff irq 25 at device 2.0 on pci2 twa0: [GIANT-LOCKED] twa0: [ITHREAD] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-8LP, 8 ports, Firmware FE9X 3.04.00.005, BIOS BE9X 3.04.00.002 uhci0: port 0xe100-0xe11f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pci0: at device 29.4 (no driver attached) ehci0: mem 0xf6100000-0xf61003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 4 ports with 4 removable, self powered pcib3: at device 30.0 on pci0 pci3: on pcib3 fxp0: port 0xd000-0xd03f mem 0xf5081000-0xf5081fff,0xf5020000-0xf503ffff irq 20 at device 1.0 on pci3 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:0e:0c:cf:9b:11 fxp0: [ITHREAD] fxp1: port 0xd100-0xd13f mem 0xf5082000-0xf5082fff,0xf5000000-0xf501ffff irq 21 at device 2.0 on pci3 miibus1: on fxp1 inphy1: PHY 1 on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:0e:0c:cf:97:3b fxp1: [ITHREAD] vgapci0: port 0xd200-0xd2ff mem 0xf4000000-0xf4ffffff,0xf5080000-0xf5080fff irq 16 at device 9.0 on pci3 em1: port 0xd300-0xd33f mem 0xf5040000-0xf505ffff irq 19 at device 10.0 on pci3 em1: Ethernet address: 00:30:48:87:34:9b em1: [FILTER] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xe200-0xe207,0xe300-0xe303,0xe400-0xe407,0xe500-0xe503,0xe600-0xe60f at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff, 0xc9000-0xca7ff,0xcb000-0xcc7ff,0xcd000-0xce7ff,0xcf000-0xcffff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-slave UDMA33 ad4: 152627MB at ata2-master SATA150 da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 100.000MB/s transfers da0: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da1 at twa0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 100.000MB/s transfers da1: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da2 at twa0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 100.000MB/s transfers da2: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da3 at twa0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 100.000MB/s transfers da3: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da4 at twa0 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI-3 device da4: 100.000MB/s transfers da4: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da5 at twa0 bus 0 target 5 lun 0 da5: Fixed Direct Access SCSI-3 device da5: 100.000MB/s transfers da5: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da6 at twa0 bus 0 target 6 lun 0 da6: Fixed Direct Access SCSI-3 device da6: 100.000MB/s transfers da6: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) da7 at twa0 bus 0 target 7 lun 0 da7: Fixed Direct Access SCSI-3 device da7: 100.000MB/s transfers da7: 305165MB (624977920 512 byte sectors: 255H 63S/T 38903C) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS filesystem version 6 ZFS storage pool version 6 rtfree: 0xc63d6d20 has 1 refs em0: link state changed to UP -- Alexey Tarasov master@preved.cn From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:16:52 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CADB16A400 for ; Wed, 23 May 2007 19:16:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 42DC013C44B for ; Wed, 23 May 2007 19:16:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4NJFtNT022581 for ; Wed, 23 May 2007 12:15:55 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4NJFt4c022580 for freebsd-current@freebsd.org; Wed, 23 May 2007 12:15:55 -0700 (PDT) (envelope-from sgk) Date: Wed, 23 May 2007 12:15:55 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070523191555.GA22564@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: "make buildkernel" busted 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: Wed, 23 May 2007 19:16:52 -0000 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /usr/src/sys/amd64/amd64/genassym.c cc1: error: unrecognized command line option "-Wno-pointer-sign" *** Error code 1 -- Steve From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:28:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26F8516A46D for ; Wed, 23 May 2007 19:28:59 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 049DA13C4C3 for ; Wed, 23 May 2007 19:28:59 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D70001A3C19; Wed, 23 May 2007 12:29:59 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2693A51FFA; Wed, 23 May 2007 15:28:58 -0400 (EDT) Date: Wed, 23 May 2007 15:28:58 -0400 From: Kris Kennaway To: Steve Kargl Message-ID: <20070523192857.GA62208@xor.obsecurity.org> References: <20070523191555.GA22564@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523191555.GA22564@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:28:59 -0000 On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /usr/src/sys/amd64/amd64/genassym.c > cc1: error: unrecognized command line option "-Wno-pointer-sign" > *** Error code 1 You haven't yet updated your compiler. Was this really from a 'make buildkernel'? I thought it is supposed to rebuild the toolchain as part of the kernel build. Kris From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:30:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96C7D16A41F for ; Wed, 23 May 2007 19:30:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 71EF013C45E for ; Wed, 23 May 2007 19:30:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 18F4946E86; Wed, 23 May 2007 15:30:25 -0400 (EDT) Date: Wed, 23 May 2007 20:30:25 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Steve Kargl In-Reply-To: <20070523191555.GA22564@troutmask.apl.washington.edu> Message-ID: <20070523202921.V34109@fledge.watson.org> References: <20070523191555.GA22564@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:30:25 -0000 On Wed, 23 May 2007, Steve Kargl wrote: > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron > -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em > -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support > -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel > -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > /usr/src/sys/amd64/amd64/genassym.c cc1: error: unrecognized command line > option "-Wno-pointer-sign" *** Error code 1 The new version of gcc accepts different flags than the old one, so you'll need to either do a full buildworld, or just kernel-buildchain (or whatever the target is called) in oder to do a buildkernel. This is quite inconvenient, but in practice necessary. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:33:52 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A495F16A46B for ; Wed, 23 May 2007 19:33:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 893F913C4B7 for ; Wed, 23 May 2007 19:33:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4NJWuwg022731; Wed, 23 May 2007 12:32:56 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4NJWtDR022730; Wed, 23 May 2007 12:32:55 -0700 (PDT) (envelope-from sgk) Date: Wed, 23 May 2007 12:32:55 -0700 From: Steve Kargl To: Kris Kennaway Message-ID: <20070523193255.GA22598@troutmask.apl.washington.edu> References: <20070523191555.GA22564@troutmask.apl.washington.edu> <20070523192857.GA62208@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523192857.GA62208@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:33:52 -0000 On Wed, May 23, 2007 at 03:28:58PM -0400, Kris Kennaway wrote: > On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /usr/src/sys/amd64/amd64/genassym.c > > cc1: error: unrecognized command line option "-Wno-pointer-sign" > > *** Error code 1 > > You haven't yet updated your compiler. Was this really from a 'make > buildkernel'? I thought it is supposed to rebuild the toolchain as > part of the kernel build. > Yes, it was from a "make buildkernel". My most recent world is about an hour or two before gcc-4.2 was imported. I'm chasing to different kernel panic. I used csup to grab only src-sys. Deleting -Wno-pointer-sign in sys/conf/kern.mk fixes the problem. -- Steve From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:35:08 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B343E16A421; Wed, 23 May 2007 19:35:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 9786C13C447; Wed, 23 May 2007 19:35:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4NJYCt0022762; Wed, 23 May 2007 12:34:12 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4NJYBlf022761; Wed, 23 May 2007 12:34:12 -0700 (PDT) (envelope-from sgk) Date: Wed, 23 May 2007 12:34:11 -0700 From: Steve Kargl To: Robert Watson Message-ID: <20070523193411.GB22598@troutmask.apl.washington.edu> References: <20070523191555.GA22564@troutmask.apl.washington.edu> <20070523202921.V34109@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523202921.V34109@fledge.watson.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@FreeBSD.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:35:08 -0000 On Wed, May 23, 2007 at 08:30:25PM +0100, Robert Watson wrote: > On Wed, 23 May 2007, Steve Kargl wrote: > > >cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron > >-std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > >-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > >-Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > >-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > >-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > >-I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em > >-I/usr/src/sys/gnu/fs/xfs/FreeBSD > >-I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > >-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > >-finline-limit=8000 --param inline-unit-growth=100 --param > >large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel > >-mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow > >-msoft-float -fno-asynchronous-unwind-tables -ffreestanding > >/usr/src/sys/amd64/amd64/genassym.c cc1: error: unrecognized command line > >option "-Wno-pointer-sign" *** Error code 1 > > The new version of gcc accepts different flags than the old one, so you'll > need to either do a full buildworld, or just kernel-buildchain (or whatever > the target is called) in oder to do a buildkernel. This is quite > inconvenient, but in practice necessary. > Yes, it is inconvenient because I'm chasing the tcp panic that I sent in a few days ago. There is also a issue with bge watchdog timeout that I'm chasing. -- Steve From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:40:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33DD816A41F for ; Wed, 23 May 2007 19:40:46 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 18F1D13C468 for ; Wed, 23 May 2007 19:40:46 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4NJde7I022814; Wed, 23 May 2007 12:39:40 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4NJdefU022813; Wed, 23 May 2007 12:39:40 -0700 (PDT) (envelope-from sgk) Date: Wed, 23 May 2007 12:39:40 -0700 From: Steve Kargl To: Craig Rodrigues Message-ID: <20070523193940.GC22598@troutmask.apl.washington.edu> References: <20070523191555.GA22564@troutmask.apl.washington.edu> <20070523193303.GA31944@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523193303.GA31944@crodrigues.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:40:46 -0000 On Wed, May 23, 2007 at 03:33:03PM -0400, Craig Rodrigues wrote: > On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > > cc1: error: unrecognized command line option "-Wno-pointer-sign" > > *** Error code 1 > > > You didn't upgrade your system properly. > Read either: > > (1) In /usr/src/Makefile, the section labelled: > # For individuals wanting to upgrade their sources (even if only a > # delta of a few days): > > or > > (2) In /usr/src/UPDATING, read the "To build a kernel" section. > Thanks. I know how to update the world. That isn't the problem. A few patches to bge were committed yesterday. I want to test those patch to see if it fixes May 22 15:16:14 node11 kernel: bge0: watchdog timeout -- resetting May 22 15:16:14 node11 kernel: bge0: link state changed to DOWN May 22 15:16:17 node11 kernel: bge0: link state changed to UP Additionally, there is a panic in the tcp (or socket) code. Doing a binary search that cross the gcc-4.2 import should be hampered by -Wno-pointer-sign. -- Steve From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:42:07 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4239B16A46C for ; Wed, 23 May 2007 19:42:07 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 19A5813C4C1 for ; Wed, 23 May 2007 19:42:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BCDD74703E; Wed, 23 May 2007 15:42:05 -0400 (EDT) Date: Wed, 23 May 2007 20:42:05 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Steve Kargl In-Reply-To: <20070523193411.GB22598@troutmask.apl.washington.edu> Message-ID: <20070523204134.P34109@fledge.watson.org> References: <20070523191555.GA22564@troutmask.apl.washington.edu> <20070523202921.V34109@fledge.watson.org> <20070523193411.GB22598@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:42:07 -0000 On Wed, 23 May 2007, Steve Kargl wrote: >> The new version of gcc accepts different flags than the old one, so you'll >> need to either do a full buildworld, or just kernel-buildchain (or whatever >> the target is called) in oder to do a buildkernel. This is quite >> inconvenient, but in practice necessary. > > Yes, it is inconvenient because I'm chasing the tcp panic that I sent in a > few days ago. There is also a issue with bge watchdog timeout that I'm > chasing. I feel much less begrudging about breakages due to compiler version changes than due to changes in the build infrastructure. :-) Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:45:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B15C16A41F for ; Wed, 23 May 2007 19:45:02 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152]) by mx1.freebsd.org (Postfix) with ESMTP id 2452813C489 for ; Wed, 23 May 2007 19:45:02 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (rwcrmhc12) with ESMTP id <20070523193300m1200hff1de>; Wed, 23 May 2007 19:33:00 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l4NJX3Nm031982; Wed, 23 May 2007 15:33:03 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l4NJX3O4031981; Wed, 23 May 2007 15:33:03 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 23 May 2007 15:33:03 -0400 From: Craig Rodrigues To: Steve Kargl Message-ID: <20070523193303.GA31944@crodrigues.org> References: <20070523191555.GA22564@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523191555.GA22564@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted 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: Wed, 23 May 2007 19:45:02 -0000 On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > cc1: error: unrecognized command line option "-Wno-pointer-sign" > *** Error code 1 You didn't upgrade your system properly. Read either: (1) In /usr/src/Makefile, the section labelled: # For individuals wanting to upgrade their sources (even if only a # delta of a few days): or (2) In /usr/src/UPDATING, read the "To build a kernel" section. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-current@FreeBSD.ORG Wed May 23 20:45:24 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D69416A48F; Wed, 23 May 2007 20:45:24 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id C49F013C4BA; Wed, 23 May 2007 20:45:22 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id E19AD2084; Wed, 23 May 2007 22:45:13 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 668282083; Wed, 23 May 2007 22:45:13 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 4C28C5091; Wed, 23 May 2007 22:45:13 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Joe Marcus Clarke References: <46534301.10005@FreeBSD.org> <864pm4zkre.fsf@dwp.des.no> <46534EE2.3090107@FreeBSD.org> <867ir0atfh.fsf@dwp.des.no> <1179937775.53308.6.camel@shumai.marcuscom.com> Date: Wed, 23 May 2007 22:45:13 +0200 In-Reply-To: <1179937775.53308.6.camel@shumai.marcuscom.com> (Joe Marcus Clarke's message of "Wed\, 23 May 2007 12\:29\:35 -0400") Message-ID: <86646js206.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: pjd@FreeBSD.org, "current@freebsd.org" Subject: Re: [Fwd: Serious problem with mount(8)] 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: Wed, 23 May 2007 20:45:24 -0000 Joe Marcus Clarke writes: > Thanks for the tip, but this is moot now that flopen(3) has been > fixed, and pidfile_open(3) operates as documented. It's less pressing, but not moot - pidfile_read() is still subject to races. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Wed May 23 20:51:14 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 379DD16A473 for ; Wed, 23 May 2007 20:51:14 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id DF19613C48C for ; Wed, 23 May 2007 20:51:13 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nz-out-0506.google.com with SMTP id m22so324557nzf for ; Wed, 23 May 2007 13:51:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tRlYtqJMnTpP1MOyFrm3VMWluwUfDp2yS1OPDTxY+KsovHP1o1d95AK4EnnmhNJYG2gFlrWhk8h7Akwz400Zd4DU7R96+1vAaNOuQMs5gxhHNaleClcdtOjQpMY32Hx1iohVSEaRBuMjDpurcILoYFqod/W+8d7ubgkpijrEREM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rqu8BWB/qyFK01+SDA0BC0cD/epTkPDTu1yEe9ldbvbm6PN7GT2univMtcW42rq29jfCSCn7A7uaUqE/Z0Pbh5FsR+f+EFTLWaKzu7aOb5OxuL1mtjpCpr7pRAJC5PT/QMBoQcy7/jdzlukhYBEaYdFzyJEoXBKLf75zxxLWeWw= Received: by 10.114.137.2 with SMTP id k2mr481485wad.1179953472292; Wed, 23 May 2007 13:51:12 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Wed, 23 May 2007 13:51:12 -0700 (PDT) Message-ID: <2a41acea0705231351l7e764fbey73edf5dbacf3d145@mail.gmail.com> Date: Wed, 23 May 2007 13:51:12 -0700 From: "Jack Vogel" To: "FreeBSD Current" , freebsd-net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: EM now endian clean 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: Wed, 23 May 2007 20:51:14 -0000 I believe I have found the endian problem and fixed it and just checked it in, so anyone with a big-endian system should update. Cheers, Jack From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:06:40 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EE2616A41F; Wed, 23 May 2007 21:06:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 000D613C447; Wed, 23 May 2007 21:06:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id EC9DC48809; Wed, 23 May 2007 23:06:37 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7771948804; Wed, 23 May 2007 23:06:32 +0200 (CEST) Date: Wed, 23 May 2007 23:06:26 +0200 From: Pawel Jakub Dawidek To: Bruno Damour Message-ID: <20070523210625.GC11105@garage.freebsd.pl> References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <464BFBCB.1030300@free.fr> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 21:06:40 -0000 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 17, 2007 at 08:52:59AM +0200, Bruno Damour wrote: > Bruno Damour wrote: > >Hello, > >I have successfullty moved my root to zfs (some work, though) following = Pawel instruction. > >Anyway, it still refuses to boot without asking root device from cmd lin= e : > > > >acd0: DVDR at ata0-master UDMA66 > >ad10: 238475MB at ata5-master SATA150 > >ad12: 305245MB at ata6-master SATA150 > >pcm0: > >pcm0: > >WARNING: ZFS is considered to be an experimental feature in FreeBSD. > >SMP: AP CPU #1 Launched! > >Trying to mount root from zfs:system > > > >Manual root filesystem specification: > > : Mount using filesystem > > eg. ufs:da0s1a > > ? List valid disk boot devices > > Abort manual input > > > >mountroot> ZFS filesystem version 6 > >ZFS storage pool version 6 > >zfs:system > >Trying to mount root from zfs:system > >fuse4bsd: version 0.3.0, FUSE ABI 7.8 > > > >It first fails to mount my zfs:system > >I get the mountroot cmd line, and if I type zfs:system, boot resumes and= completes allright. > > > >Any idea of how to get rid of this ? Can you try this patch: http://people.freebsd.org/~pjd/patches/zfs_root.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGVKzRForvXbEpPzQRAnCAAKCAglkQcAUYN6cgKEFygbZUZvgs/gCfRNU4 0Qfnf+ciqIl2QU2OA9Kw7iY= =FGaV -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP-- From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:20:02 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BC0516A4EF for ; Wed, 23 May 2007 21:20:02 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id D399813C448 for ; Wed, 23 May 2007 21:20:01 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [87.139.104.184] (helo=[192.168.2.71]) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1HqxIw-0005x2-B4 for current@freebsd.org; Wed, 23 May 2007 22:19:30 +0200 Message-ID: <4654A1CD.2030509@gwdg.de> Date: Wed, 23 May 2007 22:19:25 +0200 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Subject: Problems compiling some ports after upgrading to gcc 4.2.0 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: Wed, 23 May 2007 21:20:02 -0000 Hope it is the right list for this question, not ports@ ... I upgraded CURRENT (because of gcc 4.2.0 ...) and after that deleted old libs (make delete-old && make delete-old-libs) before reinstalling all of my ports (changing to Xorg 7.2). Now when I try to make 'graphics/tiff-3.8.2_1' I get the following error: [..snip..] /usr/bin/ld: cannot find -lgcc_pic [..snip..] Before upgrading CURRENT there was a file '/usr/libs/libgcc_pic.a' in system libs directory. The absence of this file gives me errors for some more ports (e.g. graphics/libcaca; graphics/GraphicsMagick). Obviously the libgcc_pic.a was needed for them. Or am I completely wrong? Any help is appreciated. Thanks in advance, Rainer From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:45:08 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4010F16A400 for ; Wed, 23 May 2007 21:45:08 +0000 (UTC) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.freebsd.org (Postfix) with ESMTP id 2B24713C465 for ; Wed, 23 May 2007 21:45:08 +0000 (UTC) (envelope-from randy@psg.com) Received: from [150.188.159.4] by rip.psg.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqySn-000GC2-OA; Wed, 23 May 2007 21:33:45 +0000 Message-ID: <4654B332.6000003@psg.com> Date: Wed, 23 May 2007 17:33:38 -0400 From: Randy Bush User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Rainer Hurling References: <4654A1CD.2030509@gwdg.de> In-Reply-To: <4654A1CD.2030509@gwdg.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Wed, 23 May 2007 21:45:08 -0000 having serious crashes when running anything using openssl in cvsup of last day, most recent being May 22 18:49 gmt. we are wondering about diagnostics dsaparam.c: In function 'dsaparam_main': dsaparam.c:337: warning: function called through a non-compatible type dsaparam.c:337: note: if this code is reached, the program will abort dsaparam.c:417: warning: function called through a non-compatible type dsaparam.c:417: note: if this code is reached, the program will abort dsaparam.c:436: warning: function called through a non-compatible type dsaparam.c:436: note: if this code is reached, the program will abort randy From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:48:54 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC09E16A46F for ; Wed, 23 May 2007 21:48:54 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id DDDB613C4AD for ; Wed, 23 May 2007 21:48:54 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DE64E1A3C19; Wed, 23 May 2007 14:49:55 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0A81E511B4; Wed, 23 May 2007 17:48:54 -0400 (EDT) Date: Wed, 23 May 2007 17:48:53 -0400 From: Kris Kennaway To: Randy Bush Message-ID: <20070523214853.GA64650@xor.obsecurity.org> References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4654B332.6000003@psg.com> User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Wed, 23 May 2007 21:48:55 -0000 On Wed, May 23, 2007 at 05:33:38PM -0400, Randy Bush wrote: > having serious crashes when running anything using openssl in cvsup of > last day, most recent being May 22 18:49 gmt. Do people really pay this little attention to the mailing lists? It seems like most of the emails I send lately are pointing people to previous discussions of the questions they ask. Kris From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:28:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D35116A469 for ; Wed, 23 May 2007 21:28:24 +0000 (UTC) (envelope-from freebsd@deadcafe.de) Received: from deadcafe.de (deadcafe.de [85.214.57.176]) by mx1.freebsd.org (Postfix) with ESMTP id 35AFA13C458 for ; Wed, 23 May 2007 21:28:23 +0000 (UTC) (envelope-from freebsd@deadcafe.de) Received: from [172.23.7.123] (mx.ddcd.de [87.139.47.14]) by deadcafe.de (8.13.8+Sun/8.13.8/Rock) with ESMTP id l4NJbslN039849 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for ; Wed, 23 May 2007 21:37:58 +0200 (CEST) X-Envelope-To: Message-ID: <46549809.7040600@deadcafe.de> Date: Wed, 23 May 2007 21:37:45 +0200 From: Daniel Rock User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: current@freebsd.org References: <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523181903.GA60674@xor.obsecurity.org> In-Reply-To: <20070523181903.GA60674@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=4.8 tests=BAYES_50 autolearn=no version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on mail X-Mailman-Approved-At: Wed, 23 May 2007 21:49:00 +0000 Cc: Subject: Re: ZFS committed to the FreeBSD base. 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: Wed, 23 May 2007 21:28:24 -0000 Kris Kennaway schrieb: > Not entirely, because solaris also runs on i386 (this is what was > confusing me). I guess the answer is that ZFS has similar issues on > Solaris i386 that it did on FreeBSD i386. Yes, I can confirm that. I'm running 32-bit Solaris 10 with 2GB RAM and occasionally even after only moderate activity on ZFS the machine would hang. ping etc. would still be answered but every filesystem activity would hang. At one instance the machine recovered after approx. 60 minutes, but most of the time I had to hard-reset the machine. In Solaris the solution was simple. Give the kernel more address space. I raised the kernel address space from the default 512MB to 2GB, and now the machine runs stable: eeprom kernelbase=0x80000000 This will reduce the useable address space of user processes though. Daniel From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:51:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1225616A41F for ; Wed, 23 May 2007 21:51:41 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from stargate.alaskaparadise.com (190-144-58-66.gci.net [66.58.144.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9796B13C448 for ; Wed, 23 May 2007 21:51:40 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id 2A7557DA7; Wed, 23 May 2007 13:51:39 -0800 (AKDT) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-current@freebsd.org Date: Wed, 23 May 2007 13:51:27 -0800 User-Agent: KMail/1.9.6 References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> In-Reply-To: <4654B332.6000003@psg.com> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705231351.32729.freebsd@alaskaparadise.com> Cc: Randy Bush Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@alaskaparadise.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 21:51:41 -0000 On Wednesday 23 May 2007, Randy Bush said: > having serious crashes when running anything using openssl in cvsup > of last day, most recent being May 22 18:49 gmt. > > we are wondering about diagnostics > > dsaparam.c: In function 'dsaparam_main': > dsaparam.c:337: warning: function called through a non-compatible > type dsaparam.c:337: note: if this code is reached, the program > will abort dsaparam.c:417: warning: function called through a > non-compatible type dsaparam.c:417: note: if this code is reached, > the program will abort dsaparam.c:436: warning: function called > through a non-compatible type dsaparam.c:436: note: if this code is > reached, the program will abort > > randy Apply this patch and rebuild openssl. Fixed the problem for me. http://people.freebsd.org/~kan/openssl-gcc42.diff Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html --------------------------------------------------------------------------------------- From owner-freebsd-current@FreeBSD.ORG Wed May 23 21:54:01 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C994916A400 for ; Wed, 23 May 2007 21:54:01 +0000 (UTC) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.freebsd.org (Postfix) with ESMTP id B3AE813C448 for ; Wed, 23 May 2007 21:54:01 +0000 (UTC) (envelope-from randy@psg.com) Received: from [150.188.159.4] by rip.psg.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HqymM-000GFK-9X; Wed, 23 May 2007 21:53:58 +0000 Message-ID: <4654B7EC.1010107@psg.com> Date: Wed, 23 May 2007 17:53:48 -0400 From: Randy Bush User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Kris Kennaway References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> <20070523214853.GA64650@xor.obsecurity.org> In-Reply-To: <20070523214853.GA64650@xor.obsecurity.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Wed, 23 May 2007 21:54:01 -0000 >> having serious crashes when running anything using openssl in cvsup >> of last day, most recent being May 22 18:49 gmt. > Do people really pay this little attention to the mailing lists? yes. can't read everything and have very full plate. sorry. google and search did not help. > It seems like most of the emails I send lately are pointing people to > previous discussions of the questions they ask. sorry, missed pointer randy From owner-freebsd-current@FreeBSD.ORG Wed May 23 22:56:18 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A53F16A421; Wed, 23 May 2007 22:56:18 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id 14AE913C4AE; Wed, 23 May 2007 22:56:17 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from vil1.ruomad.net (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id C2BFA93FBC; Thu, 24 May 2007 00:56:16 +0200 (CEST) Message-ID: <4654C690.5010003@free.fr> Date: Thu, 24 May 2007 00:56:16 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.0 (X11/20070522) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <46458EDE.5060909@free.fr> <464BFBCB.1030300@free.fr> <20070523210625.GC11105@garage.freebsd.pl> In-Reply-To: <20070523210625.GC11105@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: zfs root is not mounted automatically 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: Wed, 23 May 2007 22:56:18 -0000 Pawel Jakub Dawidek wrote: > On Thu, May 17, 2007 at 08:52:59AM +0200, Bruno Damour wrote: > >> Bruno Damour wrote: >> >>> Hello, >>> I have successfullty moved my root to zfs (some work, though) following Pawel instruction. >>> Anyway, it still refuses to boot without asking root device from cmd line : >>> >>> acd0: DVDR at ata0-master UDMA66 >>> ad10: 238475MB at ata5-master SATA150 >>> ad12: 305245MB at ata6-master SATA150 >>> pcm0: >>> pcm0: >>> WARNING: ZFS is considered to be an experimental feature in FreeBSD. >>> SMP: AP CPU #1 Launched! >>> Trying to mount root from zfs:system >>> >>> Manual root filesystem specification: >>> : Mount using filesystem >>> eg. ufs:da0s1a >>> ? List valid disk boot devices >>> Abort manual input >>> >>> mountroot> ZFS filesystem version 6 >>> ZFS storage pool version 6 >>> zfs:system >>> Trying to mount root from zfs:system >>> fuse4bsd: version 0.3.0, FUSE ABI 7.8 >>> >>> It first fails to mount my zfs:system >>> I get the mountroot cmd line, and if I type zfs:system, boot resumes and completes allright. >>> >>> Any idea of how to get rid of this ? >>> > > Can you try this patch: > > http://people.freebsd.org/~pjd/patches/zfs_root.patch > > Works allright. I tested it with : - normal boot - single user boot - verbose boot and everything works as expected. Thanks a lot for your work ! ZFS is great Bruno From owner-freebsd-current@FreeBSD.ORG Wed May 23 22:58:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8299C16A41F for ; Wed, 23 May 2007 22:58:41 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 5235813C4BB for ; Wed, 23 May 2007 22:58:41 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4NMvhRG024318 for ; Wed, 23 May 2007 15:57:43 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4NMvhxo024317 for freebsd-current@freebsd.org; Wed, 23 May 2007 15:57:43 -0700 (PDT) (envelope-from sgk) Date: Wed, 23 May 2007 15:57:43 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070523225743.GA24256@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: kernel page fault with non-sleepable lock 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: Wed, 23 May 2007 22:58:41 -0000 (hand transcribed) kernel page fault with following non-sleepable locks held: exclusive sleep mutex vm object (standard object) r=0 (0xffffff0313a437d0) locked@/usr/src/sys/vm/vm_fault.c 898 db_warn_self_wrapper witness_warn trap calltrap _mtx_assert vm_page_wakeup vm_fault trap_pfault -- Steve From owner-freebsd-current@FreeBSD.ORG Wed May 23 23:18:51 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A3BF16A400 for ; Wed, 23 May 2007 23:18:51 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id D879A13C455 for ; Wed, 23 May 2007 23:18:50 +0000 (UTC) (envelope-from andre@freebsd.org) Received: (qmail 55167 invoked from network); 23 May 2007 22:36:03 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 23 May 2007 22:36:03 -0000 Message-ID: <4654CBDE.5000902@freebsd.org> Date: Thu, 24 May 2007 01:18:54 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Norikatsu Shigemura References: <20070520223104.d8c53e57.nork@FreeBSD.org> In-Reply-To: <20070520223104.d8c53e57.nork@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: panic: tcp_log_addrs: string too long 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: Wed, 23 May 2007 23:18:51 -0000 Norikatsu Shigemura wrote: > Hi andre! > > I have a tcp_log_addrs panic issue like following (with my patch). > I didn't know why 'string too long'. So I added following patch > to report this issue. Do you have any idea? It is fixed in netinet/tcp_subr.c rev. 1.285. Please update your system. -- Andre > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > panic: tcp_log_addrs: string too long:size=178, s= TCP: [192.168.36.6]:54312 to [219.127.74.122]:22 tcpflags 0x10 > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper(c06b36fd,f88bf8e8,c04a9b31,c06c9a9a,0,...) at db_trace_self_wrapper+0x26 > kdb_backtrace(c06c9a9a,0,c06bbedb,f88bf8f4,0,...) at kdb_backtrace+0x29 > panic(c06bbedb,c06a16de,b2,b2,c6f4c300,...) at panic+0x111 > tcp_log_addrs(f88bfaac,c6bb3828,0,0,2,...) at tcp_log_addrs+0x304 > syncache_expand(f88bfaac,f88bfad4,c6bb3828,f88bfaec,c6ba8800,...) at syncache_expand+0x3dc > tcp_input(c6ba8800,14,c4e4fc00,1,0,...) at tcp_input+0x7a5 > ip_input(c6ba8800,c6ba8800,800,c4e4fc00,800,...) at ip_input+0x6a0 > netisr_dispatch(2,c6ba8800,154,3,0,...) at netisr_dispatch+0x52 > ether_demux(c4e4fc00,c6ba8800,3,0,3,...) at ether_demux+0x1c1 > ether_input(c4e4fc00,c6ba8800,1,c5018bb4,c4e4fc00,...) at ether_input+0x3c3 > fwe_as_input(c5018b84,0,c09cb9f9,8ca,2a7f3318,...) at fwe_as_input+0x134 > fwohci_intr_body(c4e80d80,f88bfcb0,c04da23f,c5013000,1,...) at fwohci_intr_body+0x2cc > fwohci_complete(c5013000,1,f88bfc94,c067afc7,18bfcbc,...) at fwohci_complete+0x1c > taskqueue_run(c4e80d80,f88bfcf4,c048d1bb,0,0,...) at taskqueue_run+0x17f > taskqueue_swi_run(0,0,0,0,0,...) at taskqueue_swi_run+0x13 > ithread_loop(c4e80a80,f88bfd38,0,0,0,...) at ithread_loop+0x1cb > fork_exit(c048cff0,c4e80a80,f88bfd38) at fork_exit+0xa9 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xf88bfd70, ebp = 0 --- > KDB: enter: panic > [thread pid 16 tid 100010 ] > Stopped at kdb_enter+0x32: leave > db> reset > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > --- sys/netinet/tcp_subr.c.orig Sat May 19 18:08:13 2007 > +++ sys/netinet/tcp_subr.c Sun May 20 13:47:16 2007 > @@ -2148,6 +2148,6 @@ > if (th) > sprintf(sp, " tcpflags 0x%b", th->th_flags, PRINT_TH_FLAGS); > if (s[size] != '\0') > - panic("%s: string too long", __func__); > + panic("%s: string too long:size=%u, s=%*s", __func__, size, size, s); > return (s); > } > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > From owner-freebsd-current@FreeBSD.ORG Wed May 23 23:24:31 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9CED16A46B for ; Wed, 23 May 2007 23:24:31 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 7DDD713C45A for ; Wed, 23 May 2007 23:24:31 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4NNOi1p061699; Wed, 23 May 2007 19:24:44 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-GIjLUVlPxdN9UJA7LdhQ" Organization: MarcusCom, Inc. Date: Wed, 23 May 2007 19:24:23 -0400 Message-Id: <1179962663.75721.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Subject: Panic on -CURRENT after LDT changes 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: Wed, 23 May 2007 23:24:31 -0000 --=-GIjLUVlPxdN9UJA7LdhQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On a -CURRENT build today with Jeff's LDT locking changes, I get an instant, reproducible panic by doing: # cd /usr/src # make -DNO_CLEAN buildworld Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the problem. Here is a dmesg and backtrace. In frame 6, it appears mdp is NULL (i.e. td->td_proc->p_md =3D 0x0). http://www.marcuscom.com/downloads/JCLARKE-PC_dump.txt Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x4 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc0723195 stack pointer =3D 0x28:0xe768dbf4 frame pointer =3D 0x28:0xe768dc20 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 1025 (make) trap number =3D 12 panic: page fault Uptime: 2m37s Physical memory: 2022 MB Dumping 65 MB: 50 34 18 2 #0 doadump () at pcpu.h:172 #1 0xc0562c93 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0562f18 in panic (fmt=3DVariable "fmt" is not available. #3 0xc07240b2 in trap_fatal (frame=3D0xe768dbb4, eva=3D4) at /usr/src/sys/i386/i386/trap.c:876 #4 0xc07249a3 in trap (frame=3D0xe768dbb4) at /usr/src/sys/i386/i386/trap.c:276 #5 0xc070de5b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc0723195 in i386_ldt_grow (td=3DVariable "td" is not available. ) at /usr/src/sys/i386/i386/sys_machdep.c:704 #7 0xc072350a in i386_set_ldt (td=3D0xc4fccbd0, uap=3D0xe768dc68, descs=3D0xe76f3000) at /usr/src/sys/i386/i386/sys_machdep.c:631 #8 0xc0723a44 in sysarch (td=3D0xc4fccbd0, uap=3D0xe768dcfc) at /usr/src/sys/i386/i386/sys_machdep.c:134 #9 0xc0724645 in syscall (frame=3D0xe768dd38) at /usr/src/sys/i386/i386/trap.c:1016 #10 0xc070dec0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #11 0x00000033 in ?? () Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-GIjLUVlPxdN9UJA7LdhQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGVM0lb2iPiv4Uz4cRAggGAJ9eNaU0YEfxr94mImTxGGfgO8j8QgCdEKEr VCo153OGzCyY6HYv69ILUQ0= =Txdr -----END PGP SIGNATURE----- --=-GIjLUVlPxdN9UJA7LdhQ-- From owner-freebsd-current@FreeBSD.ORG Wed May 23 23:51:37 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 793DC16A41F; Wed, 23 May 2007 23:51:37 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 445E413C44B; Wed, 23 May 2007 23:51:37 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l4NNpZR6032006 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 23 May 2007 19:51:36 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Wed, 23 May 2007 16:51:28 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Joe Marcus Clarke In-Reply-To: <1179962663.75721.6.camel@shumai.marcuscom.com> Message-ID: <20070523165051.G9443@10.0.0.1> References: <1179962663.75721.6.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: attilio@freebsd.org, Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Wed, 23 May 2007 23:51:37 -0000 Thanks, Attilio and I will look at this right away. Jeff On Wed, 23 May 2007, Joe Marcus Clarke wrote: > On a -CURRENT build today with Jeff's LDT locking changes, I get an > instant, reproducible panic by doing: > > # cd /usr/src > # make -DNO_CLEAN buildworld > > Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the > problem. Here is a dmesg and backtrace. In frame 6, it appears mdp is > NULL (i.e. td->td_proc->p_md = 0x0). > > http://www.marcuscom.com/downloads/JCLARKE-PC_dump.txt > > Unread portion of the kernel message buffer: > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x4 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0723195 > stack pointer = 0x28:0xe768dbf4 > frame pointer = 0x28:0xe768dc20 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 1025 (make) > trap number = 12 > panic: page fault > Uptime: 2m37s > Physical memory: 2022 MB > Dumping 65 MB: 50 34 18 2 > > #0 doadump () at pcpu.h:172 > #1 0xc0562c93 in boot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc0562f18 in panic (fmt=Variable "fmt" is not available. > #3 0xc07240b2 in trap_fatal (frame=0xe768dbb4, eva=4) > at /usr/src/sys/i386/i386/trap.c:876 > #4 0xc07249a3 in trap (frame=0xe768dbb4) > at /usr/src/sys/i386/i386/trap.c:276 > #5 0xc070de5b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #6 0xc0723195 in i386_ldt_grow (td=Variable "td" is not available. > ) > at /usr/src/sys/i386/i386/sys_machdep.c:704 > #7 0xc072350a in i386_set_ldt (td=0xc4fccbd0, uap=0xe768dc68, > descs=0xe76f3000) at /usr/src/sys/i386/i386/sys_machdep.c:631 > #8 0xc0723a44 in sysarch (td=0xc4fccbd0, uap=0xe768dcfc) > at /usr/src/sys/i386/i386/sys_machdep.c:134 > #9 0xc0724645 in syscall (frame=0xe768dd38) > at /usr/src/sys/i386/i386/trap.c:1016 > #10 0xc070dec0 in Xint0x80_syscall () > at /usr/src/sys/i386/i386/exception.s:196 > #11 0x00000033 in ?? () > > Joe > > -- > PGP Key : http://www.marcuscom.com/pgp.asc > From owner-freebsd-current@FreeBSD.ORG Thu May 24 00:18:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 638BA16A469; Thu, 24 May 2007 00:18:33 +0000 (UTC) (envelope-from conrads@serene.no-ip.org) Received: from eastrmpop101.cox.net (eastrmpop101.cox.net [68.230.240.39]) by mx1.freebsd.org (Postfix) with ESMTP id E613D13C4BE; Thu, 24 May 2007 00:18:32 +0000 (UTC) (envelope-from conrads@serene.no-ip.org) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao101.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070523223003.QEDU16046.eastrmmtao101.cox.net@eastrmimpo02.cox.net>; Wed, 23 May 2007 18:30:03 -0400 Received: from serene.no-ip.org ([72.200.17.85]) by eastrmimpo02.cox.net with bizsmtp id 2mW21X00R1q7YRk0000000; Wed, 23 May 2007 18:30:02 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.1/8.14.1) with ESMTP id l4NMU258066535; Wed, 23 May 2007 17:30:02 -0500 (CDT) (envelope-from conrads@serene.no-ip.org) Received: (from conrads@localhost) by serene.no-ip.org (8.14.1/8.14.1/Submit) id l4NMU2Ho066534; Wed, 23 May 2007 17:30:02 -0500 (CDT) (envelope-from conrads) Date: Wed, 23 May 2007 17:30:02 -0500 From: "Conrad J. Sabatier" To: Roman Divacky Message-ID: <20070523223002.GA63205@cox.net> Mail-Followup-To: "Conrad J. Sabatier" , Roman Divacky , freebsd-current@FreeBSD.org References: <200705221703.l4MH3bHG057767@serene.no-ip.org> <20070523144743.GA48764@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523144743.GA48764@freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-current@freebsd.org Subject: Re: dhclient fxp0 broken in -current for several days now 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: Thu, 24 May 2007 00:18:33 -0000 On Wed, May 23, 2007 at 04:47:43PM +0200, Roman Divacky wrote: > On Tue, May 22, 2007 at 12:03:32PM -0500, Conrad J. Sabatier wrote: > > I *think* this started around last Friday or Saturday (May 19 or 20). > > Suddenly, dhclient is no longer obtaining an IP address from my ISP > > (Cox), nor is it falling back to the prior saved lease. > > I see exactly the same thing, starting roughly on the same day... Well, in my case, either a subsequent CVS update fixed it, or very likely, it was due to my use of -O3 optimization with gcc 4.2. I just recompiled dhclient a little while ago using -O2 instead, and it's working fine again now. I do tend to believe it was an optimization bug. Sorry for any possible false alarms, folks. :-) -- Conrad J. Sabatier From owner-freebsd-current@FreeBSD.ORG Thu May 24 00:10:21 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5019E16A46B for ; Thu, 24 May 2007 00:10:21 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 395FD13C480 for ; Thu, 24 May 2007 00:10:21 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id D9C40AC4; Wed, 23 May 2007 19:10:20 -0500 (CDT) Date: Wed, 23 May 2007 19:10:20 -0500 To: Kris Kennaway Message-ID: <20070524001020.GC14827@soaustin.net> References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> <20070523214853.GA64650@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523214853.GA64650@xor.obsecurity.org> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) X-Mailman-Approved-At: Thu, 24 May 2007 00:38:32 +0000 Cc: Randy Bush , current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 00:10:21 -0000 On Wed, May 23, 2007 at 05:48:53PM -0400, Kris Kennaway wrote: > On Wed, May 23, 2007 at 05:33:38PM -0400, Randy Bush wrote: > > having serious crashes when running anything using openssl in cvsup of > > last day, most recent being May 22 18:49 gmt. > > Do people really pay this little attention to the mailing lists? It > seems like most of the emails I send lately are pointing people to > previous discussions of the questions they ask. At the very least I would like to ask people to check the mailing lists on the web for the past few days, to see if the issue has already been dealt with. This is especially the case for those people running -CURRENT, where we explicitly tell people that they will need to keep up with freebsd-current. The codebase is undergoing some heavy changes right now and it's most effective and least frustrating if we can keep the developers focused on dealing with the inevitable problems. Thanks. mcl From owner-freebsd-current@FreeBSD.ORG Thu May 24 04:18:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF08E16A41F for ; Thu, 24 May 2007 04:18:15 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id BF12613C45A for ; Thu, 24 May 2007 04:18:15 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4O4IEgf014759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 23 May 2007 21:18:14 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4O4IDCo016735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 May 2007 21:18:13 -0700 Message-ID: <4655122E.3060903@u.washington.edu> Date: Wed, 23 May 2007 21:18:54 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd@alaskaparadise.com References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> <200705231351.32729.freebsd@alaskaparadise.com> In-Reply-To: <200705231351.32729.freebsd@alaskaparadise.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.23.210435 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Randy Bush , freebsd-current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 04:18:16 -0000 Beech Rintoul wrote: > On Wednesday 23 May 2007, Randy Bush said: >> having serious crashes when running anything using openssl in cvsup >> of last day, most recent being May 22 18:49 gmt. >> >> we are wondering about diagnostics >> >> dsaparam.c: In function 'dsaparam_main': >> dsaparam.c:337: warning: function called through a non-compatible >> type dsaparam.c:337: note: if this code is reached, the program >> will abort dsaparam.c:417: warning: function called through a >> non-compatible type dsaparam.c:417: note: if this code is reached, >> the program will abort dsaparam.c:436: warning: function called >> through a non-compatible type dsaparam.c:436: note: if this code is >> reached, the program will abort >> >> randy > > Apply this patch and rebuild openssl. Fixed the problem for me. > > http://people.freebsd.org/~kan/openssl-gcc42.diff > > Beech > Is there any reason why this patch hasn't been committed yet? -Garrett From owner-freebsd-current@FreeBSD.ORG Thu May 24 04:27:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3C4216A421 for ; Thu, 24 May 2007 04:27:01 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id D196413C447 for ; Thu, 24 May 2007 04:27:01 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from [24.114.252.226] (port=50115 helo=[192.168.75.221]) by thebighonker.lerctr.org with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Hr4ug-000C27-6I; Wed, 23 May 2007 23:26:59 -0500 In-Reply-To: <4655122E.3060903@u.washington.edu> References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> <200705231351.32729.freebsd@alaskaparadise.com> <4655122E.3060903@u.washington.edu> Mime-Version: 1.0 (Apple Message framework v752.2) Message-Id: <3C18563E-2C7B-4C02-904A-FD7BBBB0D60A@lerctr.org> From: Larry Rosenman Date: Thu, 24 May 2007 00:26:58 -0400 To: Garrett Cooper X-Mailer: Apple Mail (2.752.2) X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0.001, HTML_MESSAGE=0.001 X-LERCTR-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0.001, HTML_MESSAGE=0.001 DomainKey-Status: no signature Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd@alaskaparadise.com, Randy Bush , freebsd-current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 04:27:02 -0000 On May 24, 2007, at 12:18 AM, Garrett Cooper wrote: > Beech Rintoul wrote: >> On Wednesday 23 May 2007, Randy Bush said: >>> having serious crashes when running anything using openssl in cvsup >>> of last day, most recent being May 22 18:49 gmt. >>> >>> we are wondering about diagnostics >>> >>> dsaparam.c: In function 'dsaparam_main': >>> dsaparam.c:337: warning: function called through a non-compatible >>> type dsaparam.c:337: note: if this code is reached, the program >>> will abort dsaparam.c:417: warning: function called through a >>> non-compatible type dsaparam.c:417: note: if this code is reached, >>> the program will abort dsaparam.c:436: warning: function called >>> through a non-compatible type dsaparam.c:436: note: if this code is >>> reached, the program will abort >>> >>> randy >> Apply this patch and rebuild openssl. Fixed the problem for me. >> http://people.freebsd.org/~kan/openssl-gcc42.diff >> Beech > > Is there any reason why this patch hasn't been committed yet? > It was committed yesterday. See commit from Simon Nielsen: simon 2007-05-22 20:28:19 UTC FreeBSD src repository Modified files: crypto/openssl/crypto/asn1 asn1.h crypto/openssl/crypto/ocsp ocsp.h crypto/openssl/crypto/pem pem.h Log: Fix runtime crash in OpenSSL with "Illegal instruction" by making some casts a bit less evil. This was e.g. seen when using portsnap as: Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction Note the patch is slightly different from kan's original patch to match style in the OpenSSL source files a bit better. Submitted by: kan Tested by: many Revision Changes Path 1.2 +783 -495 src/crypto/openssl/crypto/asn1/asn1.h 1.2 +11 -16 src/crypto/openssl/crypto/ocsp/ocsp.h 1.2 +168 -54 src/crypto/openssl/crypto/pem/pem.h -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 From owner-freebsd-current@FreeBSD.ORG Thu May 24 05:51:57 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A61D16A468 for ; Thu, 24 May 2007 05:51:57 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id C3FDD13C43E for ; Thu, 24 May 2007 05:51:56 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [87.139.104.184] (helo=[192.168.2.71]) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1Hr6Et-0001z2-Ey for current@freebsd.org; Thu, 24 May 2007 07:51:55 +0200 Message-ID: <465527F8.9090209@gwdg.de> Date: Thu, 24 May 2007 07:51:52 +0200 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: current@freebsd.org References: <4654A1CD.2030509@gwdg.de> In-Reply-To: <4654A1CD.2030509@gwdg.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 05:51:57 -0000 I think I have no problem with openssl. I also have no crashes of my system. It works stable :-) Again: After build/install world/kernel (05222007) I ran 'make delete-old(-libs)'. This removed many files, inclusive /usr/libs/libgcc_pic.a. Now when trying to compile ports in several cases I get the described error, see below. I see this behaviour on three machines, all running newest CURRENT. Rainer Rainer Hurling schrieb: > Hope it is the right list for this question, not ports@ ... > > I upgraded CURRENT (because of gcc 4.2.0 ...) and after that deleted old > libs (make delete-old && make delete-old-libs) before reinstalling all > of my ports (changing to Xorg 7.2). > > Now when I try to make 'graphics/tiff-3.8.2_1' I get the following error: > > [..snip..] > /usr/bin/ld: cannot find -lgcc_pic > [..snip..] > > Before upgrading CURRENT there was a file '/usr/libs/libgcc_pic.a' in > system libs directory. The absence of this file gives me errors for some > more ports (e.g. graphics/libcaca; graphics/GraphicsMagick). > > Obviously the libgcc_pic.a was needed for them. Or am I completely wrong? > > Any help is appreciated. > > Thanks in advance, > Rainer From owner-freebsd-current@FreeBSD.ORG Thu May 24 07:52:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70BE016A400 for ; Thu, 24 May 2007 07:52:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 1E40A13C457 for ; Thu, 24 May 2007 07:52:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 12EAEEB398D for ; Thu, 24 May 2007 15:52:55 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 55vLg5seVqqL for ; Thu, 24 May 2007 15:52:46 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 0BEE9EB0BF6 for ; Thu, 24 May 2007 15:52:46 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:x-enigmail-version:content-type; b=OqEWdTlDSUSbTDJeZM/dgofHmKtj8YjhOcarwWx4/0pLCsnUVe9em2N/Ey9NiCQfA Y73vJK1NPDAwGo+3QR2Ow== Message-ID: <46554442.7070502@delphij.net> Date: Thu, 24 May 2007 15:52:34 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: FreeBSD Current X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigE3798B5F904E8D91D6379088" Subject: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 07:52:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE3798B5F904E8D91D6379088 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, It seems that we can not build RELENG_6_2 world with -HEAD userland anymore, after the gcc upgrade. So the only way to build RELENG_6_2 releases is to create a chroot environment for now? Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigE3798B5F904E8D91D6379088 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVURCOfuToMruuMARCox6AJ41+OFaHbnpmZuWp/fr7/gj9QdK6wCfR0Y9 OucCiSSADVr6wRNmAVC/0B4= =fUjt -----END PGP SIGNATURE----- --------------enigE3798B5F904E8D91D6379088-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 07:58:19 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDB7516A41F for ; Thu, 24 May 2007 07:58:19 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id BBC8413C46E for ; Thu, 24 May 2007 07:58:19 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 4FF251A3C19; Thu, 24 May 2007 00:59:21 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DF15C513AD; Thu, 24 May 2007 03:58:18 -0400 (EDT) Date: Thu, 24 May 2007 03:58:18 -0400 From: Kris Kennaway To: Rainer Hurling Message-ID: <20070524075818.GA87952@xor.obsecurity.org> References: <4654A1CD.2030509@gwdg.de> <465527F8.9090209@gwdg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <465527F8.9090209@gwdg.de> User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 07:58:19 -0000 On Thu, May 24, 2007 at 07:51:52AM +0200, Rainer Hurling wrote: > I think I have no problem with openssl. I also have no crashes of my > system. It works stable :-) > > Again: After build/install world/kernel (05222007) I ran 'make > delete-old(-libs)'. This removed many files, inclusive > /usr/libs/libgcc_pic.a. > > Now when trying to compile ports in several cases I get the described > error, see below. > > I see this behaviour on three machines, all running newest CURRENT. The package builds do not reference this library (e.g. tiff builds fine), so something else is wrong on your system. Unfortunately you didn't give enough information to figure out what it could be. Kris From owner-freebsd-current@FreeBSD.ORG Thu May 24 08:17:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8573916A400 for ; Thu, 24 May 2007 08:17:24 +0000 (UTC) (envelope-from dumbbell@freebsd.org) Received: from mail.ilius.net (mail.ilius.net [62.23.30.92]) by mx1.freebsd.org (Postfix) with ESMTP id EEC4313C45E for ; Thu, 24 May 2007 08:17:23 +0000 (UTC) (envelope-from dumbbell@freebsd.org) Received: from viking.ilius.fr [192.168.192.55] by mail.ilius.net with ESMTP (SMTPD-9.10) id A4D302DC; Thu, 24 May 2007 09:54:59 +0200 Message-ID: <465544D1.6090109@freebsd.org> Date: Thu, 24 May 2007 09:54:57 +0200 From: =?ISO-8859-15?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Thunderbird 2.0.0.0 (X11/20070426) MIME-Version: 1.0 To: Rainer Hurling References: <4654A1CD.2030509@gwdg.de> <465527F8.9090209@gwdg.de> In-Reply-To: <465527F8.9090209@gwdg.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 08:17:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24.05.2007 07:51, Rainer Hurling wrote: > I think I have no problem with openssl. I also have no crashes of my > system. It works stable :-) > > Again: After build/install world/kernel (05222007) I ran 'make > delete-old(-libs)'. This removed many files, inclusive > /usr/libs/libgcc_pic.a. > > Now when trying to compile ports in several cases I get the described > error, see below. > > I see this behaviour on three machines, all running newest CURRENT. Hi, You need to rebuild libtool. It fixed the problem for me. Regards, - -- Jean-Sébastien Pédron http://www.dumbbell.fr/ PGP Key: http://www.dumbbell.fr/pgp/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVUTRa+xGJsFYOlMRAk94AKDCFG6FnCVHVnhmjVT2PHbotSjUWQCffaPt jzjpXKNBKTwWK8KOBijw894= =OGze -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Thu May 24 08:39:27 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9015416A421 for ; Thu, 24 May 2007 08:39:27 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with ESMTP id 12C6E13C455 for ; Thu, 24 May 2007 08:39:26 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 9870033CD1; Thu, 24 May 2007 10:10:22 +0200 (SAST) Date: Thu, 24 May 2007 10:10:22 +0200 From: John Hay To: Kris Kennaway Message-ID: <20070524081022.GA81737@zibbi.meraka.csir.co.za> References: <4654A1CD.2030509@gwdg.de> <465527F8.9090209@gwdg.de> <20070524075818.GA87952@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070524075818.GA87952@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 08:39:27 -0000 On Thu, May 24, 2007 at 03:58:18AM -0400, Kris Kennaway wrote: > On Thu, May 24, 2007 at 07:51:52AM +0200, Rainer Hurling wrote: > > I think I have no problem with openssl. I also have no crashes of my > > system. It works stable :-) > > > > Again: After build/install world/kernel (05222007) I ran 'make > > delete-old(-libs)'. This removed many files, inclusive > > /usr/libs/libgcc_pic.a. > > > > Now when trying to compile ports in several cases I get the described > > error, see below. > > > > I see this behaviour on three machines, all running newest CURRENT. > > The package builds do not reference this library (e.g. tiff builds > fine), so something else is wrong on your system. Unfortunately you > didn't give enough information to figure out what it could be. I have seen this and fixed it by forcing a rebuild of libtool. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Thu May 24 08:44:02 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D80616A468 for ; Thu, 24 May 2007 08:44:02 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2865113C43E for ; Thu, 24 May 2007 08:44:02 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Hr8Qf-0008Gt-9e for current@freebsd.org; Thu, 24 May 2007 11:12:13 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2007 11:12:13 +0300 From: Danny Braniss Message-ID: Cc: Subject: WITH_HESIOD 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: Thu, 24 May 2007 08:44:02 -0000 hi, after the latest gcc upgrade, i'm having problems with buildworld ... ===> usr.bin/hesinfo (all) cc -O2 -fno-strict-aliasing -pipe -c /r+d/7.0/src/usr.bin/hesinfo/hesinfo.c cc -O2 -fno-strict-aliasing -pipe -o hesinfo hesinfo.o hesinfo.o(.text+0x138): In function `main': : undefined reference to `hesiod_resolve' i'm tracking this down, but any shortcuts? btw: any explanation/rational wrt src.conf/make.conf? danny From owner-freebsd-current@FreeBSD.ORG Thu May 24 09:57:14 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id 506CD16A46B; Thu, 24 May 2007 09:57:14 +0000 (UTC) Date: Thu, 24 May 2007 09:57:14 +0000 From: Darren Reed To: Bruce Evans Message-ID: <20070524095714.GA52149@hub.freebsd.org> References: <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523100631.GA30143@xor.obsecurity.org> <20070523212559.V10628@besplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523212559.V10628@besplex.bde.org> User-Agent: Mutt/1.4.2.1i Cc: Craig Boston , Pawel Jakub Dawidek , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Kris Kennaway , Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Thu, 24 May 2007 09:57:14 -0000 On Wed, May 23, 2007 at 09:45:16PM +1000, Bruce Evans wrote: > On Wed, 23 May 2007, Kris Kennaway wrote: > > >On Wed, May 23, 2007 at 05:32:31AM -0400, Kris Kennaway wrote: > > > >>I would actually be interested to know how Solaris gets away with > >>this. It sounds like there must be less of a distinction between > >>memory allocated to the kernel and to userland, and the ability for > >>memory to flow between these two with some form of backpressure when > >>userland wants memory that is currently gobbled by up solaris ZFS. > >> > >>This kind of system probably makes good sense (although maybe there > >>are trade-offs), but anyway it's not how FreeBSD does it. > > > >After some further thought I guess the difference is just that on a > >64-bit kernel you don't have KVA issues and can indeed map all of > >physical RAM into the kernel for caching. > > This should probably happen for 64-bit kernels in FreeBSD too. FreeBSD > sizes the buffer map part of KVA in the same way on all arches, to squeeze > it into the limited available space on i386's, and has large complexity > and some loss of performance in the buffer cache in order to work with > the limited KVA. (Very old versions had less complexity and a large loss > of performance.) Do we support variable page sizes in the kernel for amd64? Darren From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:01:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id 94B4F16A46E; Thu, 24 May 2007 10:01:25 +0000 (UTC) Date: Thu, 24 May 2007 10:01:25 +0000 From: Darren Reed To: Kip Macy Message-ID: <20070524100125.GB52149@hub.freebsd.org> References: <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523181903.GA60674@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Ivan Voras , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Thu, 24 May 2007 10:01:25 -0000 On Wed, May 23, 2007 at 11:32:13AM -0700, Kip Macy wrote: > >Not entirely, because solaris also runs on i386 (this is what was > >confusing me). I guess the answer is that ZFS has similar issues on > >Solaris i386 that it did on FreeBSD i386. > > My understanding is that Sun has more or less abandoned 32-bit x86 in > favor of x86_64. I don't know where you got that from or how your arrived at that conclusion... While I don't know of any hardware that is *only* 32bit and sold by Sun, Solaris 10 runs on 32bit PCs and will do for the foreseeable future as I'm sure a good part of the opensolaris community would be upset if it were to be abandoned. Darren From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:03:32 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 680) id 88C1C16A421; Thu, 24 May 2007 10:03:32 +0000 (UTC) Date: Thu, 24 May 2007 10:03:32 +0000 From: Darren Reed To: Daniel Rock Message-ID: <20070524100332.GC52149@hub.freebsd.org> References: <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523181903.GA60674@xor.obsecurity.org> <46549809.7040600@deadcafe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46549809.7040600@deadcafe.de> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: ZFS committed to the FreeBSD base. 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: Thu, 24 May 2007 10:03:32 -0000 On Wed, May 23, 2007 at 09:37:45PM +0200, Daniel Rock wrote: > Kris Kennaway schrieb: > > >Not entirely, because solaris also runs on i386 (this is what was > >confusing me). I guess the answer is that ZFS has similar issues on > >Solaris i386 that it did on FreeBSD i386. > > Yes, I can confirm that. > > I'm running 32-bit Solaris 10 with 2GB RAM and occasionally even after only > moderate activity on ZFS the machine would hang. ping etc. would still be > answered but every filesystem activity would hang. I've seen this too when using ZFS on 32bit x86 hardware. It's a filesystem designed with the future in mind rather than the past, who can blame them for architecting it to work best on 64bit hardware (not like 64bit amd chips or systems are outrageously $$). Darren From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:07:34 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 680) id BC55616A41F; Thu, 24 May 2007 10:07:34 +0000 (UTC) Date: Thu, 24 May 2007 10:07:34 +0000 From: Darren Reed To: current@freebsd.org Message-ID: <20070524100734.GD52149@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: problems with perl 5.8.8 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: Thu, 24 May 2007 10:07:34 -0000 Since doing a recent build world, I've started seeing problems like this with perl: # perl /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__divdi3" Is this an error in the way i've done the build, perl or something else? Darren From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:16:33 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0090016A400; Thu, 24 May 2007 10:16:33 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.freenix.fr (keltia.freenix.org [82.230.37.243]) by mx1.freebsd.org (Postfix) with ESMTP id A627F13C44C; Thu, 24 May 2007 10:16:32 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from localhost (localhost [127.0.0.1]) by keltia.freenix.fr (Postfix/TLS) with ESMTP id 3EB71395EC; Thu, 24 May 2007 12:16:31 +0200 (CEST) Received: from keltia.freenix.fr ([127.0.0.1]) by localhost (keltia.freenix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29330-20; Thu, 24 May 2007 12:16:30 +0200 (CEST) Received: by keltia.freenix.fr (Postfix/TLS, from userid 101) id A8EDD395B5; Thu, 24 May 2007 12:16:30 +0200 (CEST) Date: Thu, 24 May 2007 12:16:30 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org, current@freebsd.org Message-ID: <20070524101630.GA29806@keltia.freenix.fr> References: <20070524100734.GD52149@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070524100734.GD52149@hub.freebsd.org> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 6.2 / Dell D820 SMP User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: amavisd-new at keltia.freenix.fr Cc: Subject: Re: problems with perl 5.8.8 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: Thu, 24 May 2007 10:16:33 -0000 According to Darren Reed: > # perl > /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__divdi3" > > Is this an error in the way i've done the build, perl or something else? This is a post-versioning symbols world, right? It may be that you have to reinstall the port.__divdi3 is part of libgcc IIRC so either it is a symbol versioning problems or a gcc one. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007 i386 From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:16:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0090016A400; Thu, 24 May 2007 10:16:33 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.freenix.fr (keltia.freenix.org [82.230.37.243]) by mx1.freebsd.org (Postfix) with ESMTP id A627F13C44C; Thu, 24 May 2007 10:16:32 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from localhost (localhost [127.0.0.1]) by keltia.freenix.fr (Postfix/TLS) with ESMTP id 3EB71395EC; Thu, 24 May 2007 12:16:31 +0200 (CEST) Received: from keltia.freenix.fr ([127.0.0.1]) by localhost (keltia.freenix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29330-20; Thu, 24 May 2007 12:16:30 +0200 (CEST) Received: by keltia.freenix.fr (Postfix/TLS, from userid 101) id A8EDD395B5; Thu, 24 May 2007 12:16:30 +0200 (CEST) Date: Thu, 24 May 2007 12:16:30 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org, current@freebsd.org Message-ID: <20070524101630.GA29806@keltia.freenix.fr> References: <20070524100734.GD52149@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070524100734.GD52149@hub.freebsd.org> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 6.2 / Dell D820 SMP User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: amavisd-new at keltia.freenix.fr Cc: Subject: Re: problems with perl 5.8.8 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: Thu, 24 May 2007 10:16:33 -0000 According to Darren Reed: > # perl > /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__divdi3" > > Is this an error in the way i've done the build, perl or something else? This is a post-versioning symbols world, right? It may be that you have to reinstall the port.__divdi3 is part of libgcc IIRC so either it is a symbol versioning problems or a gcc one. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007 i386 From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:35:53 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86B0A16A469 for ; Thu, 24 May 2007 10:35:53 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 18B1313C468 for ; Thu, 24 May 2007 10:35:52 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so3575uge for ; Thu, 24 May 2007 03:35:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=EOW5H3+tXBkfPswulSYQJqUDucNYnphG+PBTQrMtIlwb+zQbjVMo8KQk2RQ+kE3/AIglHXcm582a6kbIIhhThk4EpUiUFKI66K74HQ1z0aZk9uIbQqjnT3GRVlMIvEqzMdfjOxxnBUJjeeJCX0jwrfXYak4+PC2J265jfEZHlko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=rK2Oig1tODIAC+uKQsDb0LVx9NUAs19dLJFGas7NnZ1Qo3ySRy4cWAC2GByq3Hx+MQzjWFIjjEalL5LjQYLJd92Ei058u6fg+dOhhPl5Pw4WgdmhcMJ3FXogiJullgI5kBSxQc48WrlRhWDkMJHw1w3szvEkkNmn/oRsRS85pEk= Received: by 10.67.121.15 with SMTP id y15mr2042391ugm.1180001401628; Thu, 24 May 2007 03:10:01 -0700 (PDT) Received: from ?172.31.5.25? ( [89.97.252.178]) by mx.google.com with ESMTP id c22sm1865740ika.2007.05.24.03.10.00; Thu, 24 May 2007 03:10:01 -0700 (PDT) Message-ID: <4655D5C1.2010905@FreeBSD.org> Date: Thu, 24 May 2007 20:13:21 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Jeff Roberson References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> In-Reply-To: <20070523165051.G9443@10.0.0.1> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 10:35:53 -0000 Jeff Roberson wrote: > Thanks, Attilio and I will look at this right away. > > Jeff > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an >> instant, reproducible panic by doing: >> >> # cd /usr/src >> # make -DNO_CLEAN buildworld >> >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the >> problem. Here is a dmesg and backtrace. In frame 6, it appears mdp is >> NULL (i.e. td->td_proc->p_md = 0x0). Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? Thanks, Attilio From owner-freebsd-current@FreeBSD.ORG Thu May 24 11:26:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4070F16A468 for ; Thu, 24 May 2007 11:26:59 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id E811613C457 for ; Thu, 24 May 2007 11:26:58 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id B8D706345; Thu, 24 May 2007 15:26:57 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 96F1E67C0; Thu, 24 May 2007 15:26:57 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4OBMCXW081292; Thu, 24 May 2007 15:22:12 +0400 (MSD) (envelope-from ru) Date: Thu, 24 May 2007 15:22:12 +0400 From: Ruslan Ermilov To: Danny Braniss Message-ID: <20070524112212.GA62020@rambler-co.ru> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: current@freebsd.org Subject: Re: WITH_HESIOD 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: Thu, 24 May 2007 11:26:59 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 24, 2007 at 11:12:13AM +0300, Danny Braniss wrote: [...] > btw: any explanation/rational wrt src.conf/make.conf? >=20 http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGVXVkqRfpzJluFF4RAoptAJ9LBFAtkB7vZcTw1D4Jf/vroEkR9ACfSvOt mbI/3wzavYc4/FoODdSH700= =yxrb -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 05:03:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BADE16A47D; Thu, 24 May 2007 05:03:03 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx03.syd.optusnet.com.au (fallbackmx03.syd.optusnet.com.au [211.29.133.136]) by mx1.freebsd.org (Postfix) with ESMTP id 2176413C448; Thu, 24 May 2007 05:02:58 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail31.syd.optusnet.com.au (mail31.syd.optusnet.com.au [211.29.132.102]) by fallbackmx03.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l4NBlsmw007666; Wed, 23 May 2007 21:47:54 +1000 Received: from besplex.bde.org (c211-30-216-190.carlnfd3.nsw.optusnet.com.au [211.30.216.190]) by mail31.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l4NBjE4x001436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 May 2007 21:45:15 +1000 Date: Wed, 23 May 2007 21:45:16 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kris Kennaway In-Reply-To: <20070523100631.GA30143@xor.obsecurity.org> Message-ID: <20070523212559.V10628@besplex.bde.org> References: <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523100631.GA30143@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Thu, 24 May 2007 11:31:28 +0000 Cc: Craig Boston , Pawel Jakub Dawidek , freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Darren Reed , Vince Subject: Re: ZFS committed to the FreeBSD base. 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: Thu, 24 May 2007 05:03:03 -0000 On Wed, 23 May 2007, Kris Kennaway wrote: > On Wed, May 23, 2007 at 05:32:31AM -0400, Kris Kennaway wrote: > >> I would actually be interested to know how Solaris gets away with >> this. It sounds like there must be less of a distinction between >> memory allocated to the kernel and to userland, and the ability for >> memory to flow between these two with some form of backpressure when >> userland wants memory that is currently gobbled by up solaris ZFS. >> >> This kind of system probably makes good sense (although maybe there >> are trade-offs), but anyway it's not how FreeBSD does it. > > After some further thought I guess the difference is just that on a > 64-bit kernel you don't have KVA issues and can indeed map all of > physical RAM into the kernel for caching. This should probably happen for 64-bit kernels in FreeBSD too. FreeBSD sizes the buffer map part of KVA in the same way on all arches, to squeeze it into the limited available space on i386's, and has large complexity and some loss of performance in the buffer cache in order to work with the limited KVA. (Very old versions had less complexity and a large loss of performance.) Bruce From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:25:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4077516A484; Thu, 24 May 2007 10:25:06 +0000 (UTC) (envelope-from Rainer.Hurling@nw-fva.de) Received: from wald.nfv.gwdg.de (Wald.NFV.gwdg.de [134.76.242.31]) by mx1.freebsd.org (Postfix) with ESMTP id F302913C44B; Thu, 24 May 2007 10:25:05 +0000 (UTC) (envelope-from Rainer.Hurling@nw-fva.de) Received: from [192.168.2.111] (Pc11B.nfv [192.168.2.111]) by wald.nfv.gwdg.de (Postfix) with ESMTP id 9FBCA6090E3; Thu, 24 May 2007 12:08:07 +0200 (CEST) Message-ID: <46556407.3090707@nw-fva.de> Date: Thu, 24 May 2007 12:08:07 +0200 From: Rainer Hurling Organization: Nordwestdeutsche Forstliche Versuchsanstalt User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: =?ISO-8859-15?Q?Jean-S=E9bastien_P=E9dron?= References: <4654A1CD.2030509@gwdg.de> <465527F8.9090209@gwdg.de> <465544D1.6090109@freebsd.org> In-Reply-To: <465544D1.6090109@freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 24 May 2007 11:31:28 +0000 Cc: current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 [SOLVED] 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: Thu, 24 May 2007 10:25:06 -0000 Jean-Sébastien Pédron schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 24.05.2007 07:51, Rainer Hurling wrote: >> I think I have no problem with openssl. I also have no crashes of my >> system. It works stable :-) >> >> Again: After build/install world/kernel (05222007) I ran 'make >> delete-old(-libs)'. This removed many files, inclusive >> /usr/libs/libgcc_pic.a. >> >> Now when trying to compile ports in several cases I get the described >> error, see below. >> >> I see this behaviour on three machines, all running newest CURRENT. > > Hi, > > You need to rebuild libtool. It fixed the problem for me. > > Regards, > Jean-Sébastien Pédron Yes, rebuilding libtool fixed it for me, too! Thank you very much. Rainer From owner-freebsd-current@FreeBSD.ORG Thu May 24 10:27:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6838016A46B for ; Thu, 24 May 2007 10:27:47 +0000 (UTC) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (afrodita.rcub.bg.ac.yu [147.91.1.120]) by mx1.freebsd.org (Postfix) with ESMTP id CA05613C46A for ; Thu, 24 May 2007 10:27:46 +0000 (UTC) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: by afrodita.rcub.bg.ac.yu (Postfix, from userid 2055) id B32DC160C0C; Thu, 24 May 2007 12:27:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by afrodita.rcub.bg.ac.yu (Postfix) with ESMTP id 9EDFE160946 for ; Thu, 24 May 2007 12:27:20 +0200 (CEST) Date: Thu, 24 May 2007 12:27:20 +0200 (CEST) From: Goran Gajic To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RCUB-MailScanner-Information: Please contact the RCUB if you have problem with mail X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-From: ggajic@afrodita.rcub.bg.ac.yu X-Mailman-Approved-At: Thu, 24 May 2007 11:31:28 +0000 Subject: panic from today 7.0-CURRENT 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: Thu, 24 May 2007 10:27:47 -0000 FreeBSD fbsd.interex-pla.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu May 24 11:41:38 CEST 2007 root@fbsd.interex-pla.net:/usr/src/sys/i386/compile/GENERIC i386 This is from today, when I have after cvsup tried make buildworld panic: vm_page_free_toq: freeing mapped page 0xc17d85d8 cpuid = 0 KDB: enter: panic [thread pid 2905 tid 100051 ] Stopped at kdb_enter+0x32: leave db> db> where Tracing pid 2905 tid 100051 td 0xc3024000 kdb_enter(c0a1a727,0,c0a38df7,d500e9d0,0,...) at kdb_enter+0x32 panic(c0a38df7,c17d85d8,c0a38cd9,45a,8,...) at panic+0x124 vm_page_free_toq(c17d85d8,d500ea24,c08df5f8,c17d85d8,0,...) at vm_page_free_toq+0x56 vm_page_free(c17d85d8,0,c0a387a9,28b,1c3,...) at vm_page_free+0x16 vm_object_terminate(c4acdbb8,0,c0a387a9,1c3,c4acdbb8,...) at vm_object_terminate+0x178 vm_object_deallocate(c4acdbb8,0,c0a37ead,8f0,d500ea94,...) at vm_object_deallocate+0x5df vm_map_delete(c146508c,d2e8b000,d2ecd000,d500ec5c,c466a300,...) at vm_map_delete+0x2eb kmem_free_wakeup(c146508c,d2e8b000,41400,c363d480,d500ec40,...) at kmem_free_wakeup+0x4b exec_free_args(c1458b40,ffffffdf,c3024000,c0a1709a,2e9,...) at exec_free_args+0x28 kern_execve(c3024000,d500ec5c,0,2810e7d0,bfbfeb28,d2e8b000,d2e8b000,d2e8b0b7,d2e8b4b9,d2ecb000,3fb47,3,22) at kern_execve+0xd81 execve(c3024000,d500ecfc,c,c0a1fd98,c0ac14e8,...) at execve+0x4c syscall(d500ed38) at syscall+0x288 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (0, FreeBSD ELF32, nosys), eip = 0x28064390, esp = 0xbfbfe9dc, ebp = 0 --- db> ps pid ppid pgrp uid state wmesg wchan cmd 2905 2602 644 0 R+ CPU 0 sh 2602 2598 644 0 R+ make 2598 2597 644 0 S+ wait 0xc4609240 sh 2597 2596 644 0 S+ wait 0xc4608480 make 2596 1217 644 0 S+ wait 0xc38df6c0 sh 1217 1216 644 0 S+ wait 0xc38dfb40 make 1216 762 644 0 S+ wait 0xc4608b40 sh 780 569 780 0 S+ ttyin 0xc2f1b410 vlock 762 760 644 0 S+ wait 0xc3078480 make 760 644 644 0 S+ wait 0xc30286c0 sh 644 564 644 0 S+ wait 0xc3078d80 make 627 600 597 1001 S+ pause 0xc361b264 skype_bin 625 600 597 1001 S+ pause 0xc38de924 skype_bin 624 600 597 1001 S+ select 0xc0b6a0bc skype_bin 623 600 597 1001 S+ pause 0xc38de264 skype_bin 600 598 597 1001 S+ select 0xc0b6a0bc skype_bin 599 597 597 1001 S+ piperd 0xc305b948 grep 598 597 597 1001 S+ select 0xc0b6a0bc skype_bin 597 586 597 1001 S+ wait 0xc38ddb40 sh 596 586 596 1001 S+ select 0xc0b6a0bc xglobe 588 586 588 1001 S+ select 0xc0b6a0bc fluxbox 586 585 586 1001 Ss+ ttyin 0xc2f46c10 tcsh 585 576 585 1001 S+ select 0xc0b6a0bc xterm 577 576 577 1001 S+ select 0xc0b6a0bc Xorg 576 1 576 1001 S+ wait 0xc361a6c0 xinit 569 557 569 0 S+ pause 0xc361a924 csh 564 556 564 0 S+ pause 0xc361b4a4 csh 563 1 563 0 Ss+ ttyin 0xc2f3c410 getty 562 1 562 0 Ss+ ttyin 0xc2f3c810 getty 561 1 561 0 Ss+ ttyin 0xc2f3cc10 getty 560 1 560 0 Ss+ ttyin 0xc2f3d010 getty 559 1 559 0 Ss+ ttyin 0xc2f3d410 getty 558 1 558 0 Ss+ ttyin 0xc2f1dc10 getty 557 1 557 0 Ss+ wait 0xc3028900 login 556 1 556 0 Ss+ wait 0xc3028d80 login 516 1 516 0 Ss select 0xc0b6a0bc moused 488 1 488 0 Ss nanslp 0xc0b1d4e4 cron 482 1 482 25 Ss pause 0xc3028b64 sendmail 478 1 478 0 Ss select 0xc0b6a0bc sendmail 472 1 472 0 Ss select 0xc0b6a0bc sshd 431 1 431 0 Ss select 0xc0b6a0bc usbd 320 1 320 0 Ss select 0xc0b6a0bc syslogd 267 1 267 0 Ss select 0xc0b6a0bc devd 160 1 160 0 Ss pause 0xc3028264 adjkerntz 46 0 0 0 SL - 0xc0b1d314 [schedcpu] 482 1 482 25 Ss select 0xc0b6a0bc sendmail 472 1 472 0 Ss select 0xc0b6a0bc sshd 431 1 431 0 Ss select 0xc0b6a0bc usbd 320 1 320 0 Ss select 0xc0b6a0bc syslogd 267 1 267 0 Ss select 0xc0b6a0bc devd 160 1 160 0 Ss pause 0xc3028264 adjkerntz 46 0 0 0 SL - 0xc0b1d314 [schedcpu] 45 0 0 0 SL sdflush 0xc0b74fd8 [softdepflush] 44 0 0 0 SL vlruwt 0xc3023480 [vnlru] 43 0 0 0 SL syncer 0xc0b1d30c [syncer] 42 0 0 0 SL psleep 0xc0b6a564 [bufdaemon] 41 0 0 0 SL pgzero 0xc0b7d8d0 [pagezero] 40 0 0 0 SL psleep 0xc0b757fc [vmdaemon] 39 0 0 0 SL psleep 0xc0b757c0 [pagedaemon] 38 0 0 0 WL [irq15: ata1] 37 0 0 0 WL [irq14: ata0] 36 0 0 0 WL [swi0: sio] 35 0 0 0 WL [irq12: psm0] 34 0 0 0 WL [irq1: atkbd0] 33 0 0 0 SL - 0xc2ee2e3c [fdc0] 32 0 0 0 SL - 0xc2ef0800 [em0 taskq] 31 0 0 0 SL usbevt 0xc2e55210 [usb4] 30 0 0 0 SL usbevt 0xc2edd210 [usb3] 29 0 0 0 WL [irq16: pcm0 uhci3] 28 0 0 0 SL usbevt 0xc2eca210 [usb2] 27 0 0 0 WL [irq18: uhci2+] 26 0 0 0 SL usbevt 0xc2ebf210 [usb1] 25 0 0 0 WL [irq19: em0 uhci1+] 24 0 0 0 SL usbtsk 0xc0b1acf4 [usbtask-dr] 23 0 0 0 SL usbtsk 0xc0b1ace0 [usbtask-hc] 22 0 0 0 SL usbevt 0xc2e59210 [usb0] 21 0 0 0 WL [irq23: uhci0 ehci0] 20 0 0 0 WL [irq9: acpi0] 19 0 0 0 WL [swi5: +] 18 0 0 0 SL - 0xc2dae500 [kqueue taskq] 9 0 0 0 SL - 0xc2dae580 [acpi_task_2] 8 0 0 0 SL - 0xc2dae580 [acpi_task_1] 7 0 0 0 SL - 0xc2dae580 [acpi_task_0] 17 0 0 0 WL [swi2: cambio] 6 0 0 0 SL ccb_scan 0xc0aefff4 [xpt_thrd] 16 0 0 0 WL [swi6: task queue] 15 0 0 0 WL [swi6: Giant taskq] 5 0 0 0 SL - 0xc2dae980 [thread taskq] 14 0 0 0 SL - 0xc0b1d314 [yarrow] 4 0 0 0 SL - 0xc0b1b46c [g_down] 3 0 0 0 SL - 0xc0b1b468 [g_up] 2 0 0 0 SL - 0xc0b1b460 [g_event] 13 0 0 0 WL [swi3: vm] 12 0 0 0 RL [swi4: clock sio] 11 0 0 0 WL [swi1: net] 10 0 0 0 RL [idle: cpu0] 1 0 1 0 SLs wait 0xc2d78000 [init] 0 0 0 0 WLs [swapper] db> panic panic: from debugger cpuid = 0 Uptime: 5m9s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. Rebooting... Regards, gg. From owner-freebsd-current@FreeBSD.ORG Thu May 24 11:57:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06FDF16A468 for ; Thu, 24 May 2007 11:57:58 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBEF13C457 for ; Thu, 24 May 2007 11:57:57 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so20216uge for ; Thu, 24 May 2007 04:57:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iZAvVGIcJKncmR1NQrAY3ZGYyPfBFroIGIMB2gk7cDXL+9O+0IrdZYJ88/yGJmLgxNzV3p2A8Hqd7+zhlX2LvhK0hIxXNO4AzLhVLE8as4thB+ETGZpWrjsLJRPx/UIBvEONgFAmIBU9EDrOJb7PoxqXtXlvUrPPEDG64rIyKRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FffhzZnEiy72utja8cB+i8Zi0ZOn4hltEWnwe9wUTMGplvUkeRFiHDh2mp0EkpkTTbGOF3+50KBuQ7mHn23m3ncHrhuP86zOy7nuJmDyYr+3RZv2FaiB9xFpmAurhyuGtsoyGoMkT4idUFlQAAJ0Jzn66WOG//zfTz4P8kMrp5A= Received: by 10.82.156.12 with SMTP id d12mr3056179bue.1180006428236; Thu, 24 May 2007 04:33:48 -0700 (PDT) Received: by 10.82.185.16 with HTTP; Thu, 24 May 2007 04:33:48 -0700 (PDT) Message-ID: Date: Thu, 24 May 2007 06:33:48 -0500 From: "illoai@gmail.com" To: "Ollivier Robert" In-Reply-To: <20070524101630.GA29806@keltia.freenix.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070524100734.GD52149@hub.freebsd.org> <20070524101630.GA29806@keltia.freenix.fr> Cc: freebsd-current@freebsd.org, current@freebsd.org Subject: Re: problems with perl 5.8.8 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: Thu, 24 May 2007 11:57:58 -0000 On 24/05/07, Ollivier Robert wrote: > According to Darren Reed: > > # perl > > /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__divdi3" > > > > Is this an error in the way i've done the build, perl or something else? > > This is a post-versioning symbols world, right? It may be that you have to > reinstall the port.__divdi3 is part of libgcc IIRC so either it is a symbol > versioning problems or a gcc one. I just hit this one myself and rebuilding perl seems to have cured it. -- -- From owner-freebsd-current@FreeBSD.ORG Thu May 24 12:01:53 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E69B16A468 for ; Thu, 24 May 2007 12:01:53 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id C147E13C447 for ; Thu, 24 May 2007 12:01:52 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so94140mue for ; Thu, 24 May 2007 05:01:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iZAvVGIcJKncmR1NQrAY3ZGYyPfBFroIGIMB2gk7cDXL+9O+0IrdZYJ88/yGJmLgxNzV3p2A8Hqd7+zhlX2LvhK0hIxXNO4AzLhVLE8as4thB+ETGZpWrjsLJRPx/UIBvEONgFAmIBU9EDrOJb7PoxqXtXlvUrPPEDG64rIyKRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FffhzZnEiy72utja8cB+i8Zi0ZOn4hltEWnwe9wUTMGplvUkeRFiHDh2mp0EkpkTTbGOF3+50KBuQ7mHn23m3ncHrhuP86zOy7nuJmDyYr+3RZv2FaiB9xFpmAurhyuGtsoyGoMkT4idUFlQAAJ0Jzn66WOG//zfTz4P8kMrp5A= Received: by 10.82.156.12 with SMTP id d12mr3056179bue.1180006428236; Thu, 24 May 2007 04:33:48 -0700 (PDT) Received: by 10.82.185.16 with HTTP; Thu, 24 May 2007 04:33:48 -0700 (PDT) Message-ID: Date: Thu, 24 May 2007 06:33:48 -0500 From: "illoai@gmail.com" To: "Ollivier Robert" In-Reply-To: <20070524101630.GA29806@keltia.freenix.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070524100734.GD52149@hub.freebsd.org> <20070524101630.GA29806@keltia.freenix.fr> Cc: freebsd-current@freebsd.org, current@freebsd.org Subject: Re: problems with perl 5.8.8 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: Thu, 24 May 2007 12:01:53 -0000 On 24/05/07, Ollivier Robert wrote: > According to Darren Reed: > > # perl > > /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__divdi3" > > > > Is this an error in the way i've done the build, perl or something else? > > This is a post-versioning symbols world, right? It may be that you have to > reinstall the port.__divdi3 is part of libgcc IIRC so either it is a symbol > versioning problems or a gcc one. I just hit this one myself and rebuilding perl seems to have cured it. -- -- From owner-freebsd-current@FreeBSD.ORG Thu May 24 12:02:36 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C206016A468 for ; Thu, 24 May 2007 12:02:36 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from webmail12.mail.yandex.net (webmail12.mail.yandex.net [213.180.223.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7B93113C487 for ; Thu, 24 May 2007 12:02:36 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from YAMAIL (webmail12.yandex.ru) by mail.yandex.ru id ; Thu, 24 May 2007 15:45:31 +0400 Received: from [81.222.244.205] ([81.222.244.205]) by mail.yandex.ru with HTTP; Thu, 24 May 2007 15:45:29 +0400 (MSD) Date: Thu, 24 May 2007 15:45:29 +0400 (MSD) From: "S.N.Grigoriev" Sender: serguey-grigoriev@yandex.ru Message-Id: <46557AD9.000003.17693@webmail12.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: serguey-grigoriev@yandex.ru To: freebsd-current@freebsd.org X-MsgDayCount: 1 X-BornDate: 1109019600 X-Source-Ip: 81.222.244.205 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Panic afrer 'installworld' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: serguey-grigoriev@yandex.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 12:02:36 -0000 Hi, list, the following error messages appear during the next reboot after `make installworld' (after kernel only installation my system works fine): /boot/kernel/netgraph.ko size 0x14468 at 0x7b3000 .... (etc, omitted) ... Consoles: internal video/keyboard BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS drive D: is disk2 BIOS 638kB/1047488kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@amico.mdmspb.com, Wen May 23 23:57:40 MSD 2007) Can't work out which disk we are booting from Guessed BIOS device 0xffffffff not found by probes, defaulting to disk 0 panic: free: guard1 fail @0x6bebc from /usr/src/sys/boot/i386/loader/../../common/module.c:958 I used 7-CURRENT amd64 sources from 20070523. In past `make installworld' did not do such a panic. Regards, Serguey. From owner-freebsd-current@FreeBSD.ORG Thu May 24 12:04:14 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0F8416A421 for ; Thu, 24 May 2007 12:04:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 58DC713C4B0 for ; Thu, 24 May 2007 12:04:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HrC3A-000H1Q-8y; Thu, 24 May 2007 15:04:12 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Ruslan Ermilov In-reply-to: Your message of Thu, 24 May 2007 15:22:12 +0400 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2007 15:04:11 +0300 From: Danny Braniss Message-ID: Cc: current@freebsd.org Subject: Re: WITH_HESIOD 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: Thu, 24 May 2007 12:04:14 -0000 > > --AhhlLboLdkugWU4S > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Thu, May 24, 2007 at 11:12:13AM +0300, Danny Braniss wrote: > [...] > > btw: any explanation/rational wrt src.conf/make.conf? > >=20 > http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html good, it also makes allot of sense. now for the main issue, why setting WITH_HESIOD compiles lib/net/hesiod.c but usr.bin/hesinfo failes? and am getting different results, cross-compiling, native, but none work :-( cheers, danny From owner-freebsd-current@FreeBSD.ORG Thu May 24 13:25:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D03E516A421 for ; Thu, 24 May 2007 13:25:40 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2D71C13C4C3 for ; Thu, 24 May 2007 13:25:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4ODMRjD023307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 May 2007 16:22:42 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4ODM5SG003378; Thu, 24 May 2007 16:22:20 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4ODM4AY003377; Thu, 24 May 2007 16:22:04 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 24 May 2007 16:22:03 +0300 From: Giorgos Keramidas To: Garrett Cooper Message-ID: <20070524132203.GB2803@kobe.laptop> References: <4654A1CD.2030509@gwdg.de> <4654B332.6000003@psg.com> <200705231351.32729.freebsd@alaskaparadise.com> <4655122E.3060903@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4655122E.3060903@u.washington.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.525, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.67, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd@alaskaparadise.com, Randy Bush , freebsd-current@freebsd.org Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 13:25:40 -0000 On 2007-05-23 21:18, Garrett Cooper wrote: >> Apply this patch and rebuild openssl. Fixed the problem for me. >> http://people.freebsd.org/~kan/openssl-gcc42.diff >> Beech > > Is there any reason why this patch hasn't been committed yet? It _has_ been committed. Please people, keep up to date with recent commits *and* this list. Otherwise, it makes much less sense to run the HEAD of the CVS tree :-( From owner-freebsd-current@FreeBSD.ORG Thu May 24 13:27:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF43D16A421 for ; Thu, 24 May 2007 13:27:20 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4F19E13C455 for ; Thu, 24 May 2007 13:27:20 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4ODOFpt023403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 May 2007 16:24:31 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4ODNrWt003418; Thu, 24 May 2007 16:24:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4ODNrXc003417; Thu, 24 May 2007 16:23:53 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 24 May 2007 16:23:53 +0300 From: Giorgos Keramidas To: LI Xin Message-ID: <20070524132352.GC2803@kobe.laptop> References: <46554442.7070502@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46554442.7070502@delphij.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.525, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.67, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Current Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 13:27:21 -0000 On 2007-05-24 15:52, LI Xin wrote: > Hi, > It seems that we can not build RELENG_6_2 world with -HEAD userland > anymore, after the gcc upgrade. So the only way to build RELENG_6_2 > releases is to create a chroot environment for now? I think this was never really ``supported''. It may work, but if it breaks nobody is going to fix it. What *is* supported and should always work is building CURRENT on the latest RELENG_X branch. But what you are doing is the reverse... From owner-freebsd-current@FreeBSD.ORG Thu May 24 13:33:43 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED4BE16A469; Thu, 24 May 2007 13:33:43 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id A180F13C468; Thu, 24 May 2007 13:33:43 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HrDRm-000JyU-Qy; Thu, 24 May 2007 16:33:42 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Ruslan Ermilov In-reply-to: References: Comments: In-reply-to Danny Braniss message dated "Thu, 24 May 2007 15:04:11 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2007 16:33:42 +0300 From: Danny Braniss Message-ID: Cc: current@freebsd.org Subject: Re: WITH_HESIOD 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: Thu, 24 May 2007 13:33:44 -0000 > > > > --AhhlLboLdkugWU4S > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > Content-Transfer-Encoding: quoted-printable > > > > On Thu, May 24, 2007 at 11:12:13AM +0300, Danny Braniss wrote: > > [...] > > > btw: any explanation/rational wrt src.conf/make.conf? > > >=20 > > http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html > good, it also makes allot of sense. > > now for the main issue, why setting WITH_HESIOD compiles lib/net/hesiod.c but > usr.bin/hesinfo failes? > > and am getting different results, cross-compiling, native, but none work :-( > > cheers, > danny found the problem: in src/lib/libc/net/Symbol.map s/hesiod_resolv;/hesiod_resolve;/ danny From owner-freebsd-current@FreeBSD.ORG Thu May 24 14:03:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8645716A421 for ; Thu, 24 May 2007 14:03:58 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5EBC913C44B for ; Thu, 24 May 2007 14:03:58 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 78B585C2E; Thu, 24 May 2007 09:52:14 -0400 (EDT) Date: Thu, 24 May 2007 09:52:14 -0400 From: Wesley Shields To: Giorgos Keramidas Message-ID: <20070524135214.GB45539@atarininja.org> References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070524132352.GC2803@kobe.laptop> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current , LI Xin Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 14:03:58 -0000 On Thu, May 24, 2007 at 04:23:53PM +0300, Giorgos Keramidas wrote: > On 2007-05-24 15:52, LI Xin wrote: > > Hi, > > It seems that we can not build RELENG_6_2 world with -HEAD userland > > anymore, after the gcc upgrade. So the only way to build RELENG_6_2 > > releases is to create a chroot environment for now? > > I think this was never really ``supported''. It may work, but if it > breaks nobody is going to fix it. > > What *is* supported and should always work is building CURRENT on the > latest RELENG_X branch. But what you are doing is the reverse... The problem is that running a tinderbox on a CURRENT host and building a RELENG_X branch is often done. I understand it's not really supported but it is a very nice thing to be able to do. Currently, a RELENG_6 build for a ports tinderbox running on CURRENT is broken. :( -- WXS From owner-freebsd-current@FreeBSD.ORG Thu May 24 14:22:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4392316A421 for ; Thu, 24 May 2007 14:22:13 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC3013C45D for ; Thu, 24 May 2007 14:22:13 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id A8A915C2E; Thu, 24 May 2007 10:26:06 -0400 (EDT) Date: Thu, 24 May 2007 10:26:06 -0400 From: Wesley Shields To: Tom Evans Message-ID: <20070524142606.GC45539@atarininja.org> References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> <20070524135214.GB45539@atarininja.org> <1180015981.9846.26.camel@zoot.mintel.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1180015981.9846.26.camel@zoot.mintel.co.uk> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Giorgos Keramidas , FreeBSD Current , LI Xin Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 14:22:13 -0000 On Thu, May 24, 2007 at 03:13:01PM +0100, Tom Evans wrote: > On Thu, 2007-05-24 at 09:52 -0400, Wesley Shields wrote: > > On Thu, May 24, 2007 at 04:23:53PM +0300, Giorgos Keramidas wrote: > > > On 2007-05-24 15:52, LI Xin wrote: > > > > Hi, > > > > It seems that we can not build RELENG_6_2 world with -HEAD userland > > > > anymore, after the gcc upgrade. So the only way to build RELENG_6_2 > > > > releases is to create a chroot environment for now? > > > > > > I think this was never really ``supported''. It may work, but if it > > > breaks nobody is going to fix it. > > > > > > What *is* supported and should always work is building CURRENT on the > > > latest RELENG_X branch. But what you are doing is the reverse... > > > > The problem is that running a tinderbox on a CURRENT host and building a > > RELENG_X branch is often done. I understand it's not really supported > > but it is a very nice thing to be able to do. > > > > Currently, a RELENG_6 build for a ports tinderbox running on CURRENT is > > broken. :( > > > > -- WXS > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > Isn't it the other way around? You couldn't have a tinderbox building > for 7.0 running on a 6.2 host, but its common practise to have tinderbox > build 6.2 packages whilst running on 7.0 host. http://www.marcuscom.com/pipermail/tinderbox-list/2007-May/000839.html I can reproduce this on my tinderbox host after getting the GCC upgrade. -- WXS From owner-freebsd-current@FreeBSD.ORG Thu May 24 14:37:22 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B443016A469 for ; Thu, 24 May 2007 14:37:22 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6706E13C45E for ; Thu, 24 May 2007 14:37:22 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 372F26967; Thu, 24 May 2007 18:37:21 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 143126955; Thu, 24 May 2007 18:37:21 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4OEWYoI000771; Thu, 24 May 2007 18:32:34 +0400 (MSD) (envelope-from ru) Date: Thu, 24 May 2007 18:32:34 +0400 From: Ruslan Ermilov To: Danny Braniss Message-ID: <20070524143234.GA546@rambler-co.ru> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: current@freebsd.org Subject: Re: WITH_HESIOD 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: Thu, 24 May 2007 14:37:22 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 24, 2007 at 04:33:42PM +0300, Danny Braniss wrote: > > >=20 > > > --AhhlLboLdkugWU4S > > > Content-Type: text/plain; charset=3Dus-ascii > > > Content-Disposition: inline > > > Content-Transfer-Encoding: quoted-printable > > >=20 > > > On Thu, May 24, 2007 at 11:12:13AM +0300, Danny Braniss wrote: > > > [...] > > > > btw: any explanation/rational wrt src.conf/make.conf? > > > >=3D20 > > > http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.= html > > good, it also makes allot of sense. > >=20 > > now for the main issue, why setting WITH_HESIOD compiles lib/net/hesiod= =2Ec but > > usr.bin/hesinfo failes? > >=20 > > and am getting different results, cross-compiling, native, but none wo= rk :-( > >=20 > > cheers, > > danny >=20 > found the problem: > in src/lib/libc/net/Symbol.map > s/hesiod_resolv;/hesiod_resolve;/ >=20 Committed your fix, thanks! Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGVaICqRfpzJluFF4RAgPVAJ9DN4gA8tajLX9rjwR9THvl7jMTNQCfffIp zDnH2wBuLTe3ECmxYmEd++o= =3NI2 -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 14:47:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E30716A400 for ; Thu, 24 May 2007 14:47:43 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA8E13C45D for ; Thu, 24 May 2007 14:47:42 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ik-out-1112.google.com with SMTP id c21so207562ika for ; Thu, 24 May 2007 07:47:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=PbS/F7FJV2zQkxfeI/lXnD4v/l289MP2Dmf3nNGBhA/N/TR+v7RUqSPjf+5QE7GLTJxh/phy0ifUztJNw7Beuu5VKak9dl1cLbSzsrSn3noNPOLzc8ASq2dgMBXseDKHpfA8cpPgNnzcD6SdAyMCWfG5LPo33hgOVn90urIiT/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=GTBU9aJLmtYow8riFQprPWYCDTkCqYwM7UXAgcs1WabORvylPsnsZGQ4Vk/LlRD2oAhyio48dKfWmPOqSiCzhK95udKh0MFeq8vj9mNvMzSvYVqegNmiNCjS9ZHMCSIACkyZyOE/s4nvg0LPetBLf1YGtNFIDjnO/kBOmaXHHsE= Received: by 10.78.150.7 with SMTP id x7mr513771hud.1180016097476; Thu, 24 May 2007 07:14:57 -0700 (PDT) Received: from ?IPv6:::ffff:127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id 7sm66081nfv.2007.05.24.07.14.51; Thu, 24 May 2007 07:14:55 -0700 (PDT) From: Tom Evans To: Wesley Shields In-Reply-To: <20070524135214.GB45539@atarininja.org> References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> <20070524135214.GB45539@atarininja.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+izkyLWWfhjXO/hREgtp" Date: Thu, 24 May 2007 15:13:01 +0100 Message-Id: <1180015981.9846.26.camel@zoot.mintel.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: Giorgos Keramidas , FreeBSD Current , LI Xin Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 14:47:43 -0000 --=-+izkyLWWfhjXO/hREgtp Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-05-24 at 09:52 -0400, Wesley Shields wrote: > On Thu, May 24, 2007 at 04:23:53PM +0300, Giorgos Keramidas wrote: > > On 2007-05-24 15:52, LI Xin wrote: > > > Hi, > > > It seems that we can not build RELENG_6_2 world with -HEAD userland > > > anymore, after the gcc upgrade. So the only way to build RELENG_6_2 > > > releases is to create a chroot environment for now? > >=20 > > I think this was never really ``supported''. It may work, but if it > > breaks nobody is going to fix it. > >=20 > > What *is* supported and should always work is building CURRENT on the > > latest RELENG_X branch. But what you are doing is the reverse... >=20 > The problem is that running a tinderbox on a CURRENT host and building a > RELENG_X branch is often done. I understand it's not really supported > but it is a very nice thing to be able to do. >=20 > Currently, a RELENG_6 build for a ports tinderbox running on CURRENT is > broken. :( >=20 > -- WXS > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " Isn't it the other way around? You couldn't have a tinderbox building for 7.0 running on a 6.2 host, but its common practise to have tinderbox build 6.2 packages whilst running on 7.0 host. --=-+izkyLWWfhjXO/hREgtp Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGVZ1qlcRvFfyds/cRAjfoAJ0Vi1FE0gIIk42FJVyzFG3tQU78OgCfYDm2 dIQ7Ilmc/xvnvbou4cFUrzU= =RWvI -----END PGP SIGNATURE----- --=-+izkyLWWfhjXO/hREgtp-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 15:07:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA98D16A48F for ; Thu, 24 May 2007 15:07:04 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id A3FB813C483 for ; Thu, 24 May 2007 15:07:04 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nz-out-0506.google.com with SMTP id m22so532639nzf for ; Thu, 24 May 2007 08:07:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qzb4zlHt4bcjYCP/mxnek70qPF3jydEEm+oU5yzKAVLSC8oqWWV6qWi0zo9bDEYnweNGxklfIm0VVHK6KGompPRTVtZXGAGsiBbSk9Z48uoKIclQ9WvXn3hYE2HQtDzGeXsoehbFnaoB9hk0j1szRk65FxnJO/ZRmpAit/Lx6EE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HgWmQ7fSsdXegpBJcbbhkOHHuguVZPQrs5EcBorq1WwxI8hUpeJQPqyMJfPaRbirtJXh924GaPqfG67sUKoe9XdlbQ8DilfsyNuDbniUH0weNq9WU9VoctJmuiMzyr9E1Z5UKxivzN7llWZK7WkZO/yEihEet642JpIgnAfySQQ= Received: by 10.65.212.3 with SMTP id o3mr3073707qbq.1180019223918; Thu, 24 May 2007 08:07:03 -0700 (PDT) Received: by 10.64.193.13 with HTTP; Thu, 24 May 2007 08:07:03 -0700 (PDT) Message-ID: <6eb82e0705240807o4ed9ca62gd43d546abc1fd994@mail.gmail.com> Date: Thu, 24 May 2007 23:07:03 +0800 From: "Rong-en Fan" To: "Tom Evans" In-Reply-To: <1180015981.9846.26.camel@zoot.mintel.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> <20070524135214.GB45539@atarininja.org> <1180015981.9846.26.camel@zoot.mintel.co.uk> Cc: Giorgos Keramidas , Wesley Shields , LI Xin , FreeBSD Current Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 15:07:05 -0000 On 5/24/07, Tom Evans wrote: > On Thu, 2007-05-24 at 09:52 -0400, Wesley Shields wrote: > > On Thu, May 24, 2007 at 04:23:53PM +0300, Giorgos Keramidas wrote: > > > On 2007-05-24 15:52, LI Xin wrote: > > > > Hi, > > > > It seems that we can not build RELENG_6_2 world with -HEAD userland > > > > anymore, after the gcc upgrade. So the only way to build RELENG_6_2 > > > > releases is to create a chroot environment for now? > > > > > > I think this was never really ``supported''. It may work, but if it > > > breaks nobody is going to fix it. > > > > > > What *is* supported and should always work is building CURRENT on the > > > latest RELENG_X branch. But what you are doing is the reverse... > > > > The problem is that running a tinderbox on a CURRENT host and building a > > RELENG_X branch is often done. I understand it's not really supported > > but it is a very nice thing to be able to do. > > > > Currently, a RELENG_6 build for a ports tinderbox running on CURRENT is > > broken. :( > > > > -- WXS > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > Isn't it the other way around? You couldn't have a tinderbox building > for 7.0 running on a 6.2 host, but its common practise to have tinderbox > build 6.2 packages whilst running on 7.0 host. It's never supported to run newer userland on older kernel (see archive on current@ few days ago from me). In fact, after recent thread library changes in current, you can not run 7.0 userland on a 6.2 kernel. Regards, Rong-En Fan From owner-freebsd-current@FreeBSD.ORG Thu May 24 15:20:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E4D716A46C for ; Thu, 24 May 2007 15:20:21 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id ABB8313C455 for ; Thu, 24 May 2007 15:20:20 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 8FB2CEB3CC3; Thu, 24 May 2007 23:20:19 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id yftipxG-fAvO; Thu, 24 May 2007 23:20:17 +0800 (CST) Received: from LI-Xins-MacBook.local (unknown [221.220.28.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id B0F9BEB3CA8; Thu, 24 May 2007 23:20:15 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=hh1gCEYLvXtMkvgvG6/1xh49mUifDFuSqsJFeQQeb61B4XeCfrjb/pD8cmg0rnfNd ldxYKzuE95hAqW5CcuG0w== Message-ID: <4655AD24.5000805@delphij.net> Date: Thu, 24 May 2007 23:20:04 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Giorgos Keramidas References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> In-Reply-To: <20070524132352.GC2803@kobe.laptop> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB48050003C9CE97F8380C2F4" Cc: FreeBSD Current Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 15:20:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB48050003C9CE97F8380C2F4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Giorgos Keramidas wrote: > On 2007-05-24 15:52, LI Xin wrote: >> Hi, >> It seems that we can not build RELENG_6_2 world with -HEAD userland >> anymore, after the gcc upgrade. So the only way to build RELENG_6_2 >> releases is to create a chroot environment for now? >=20 > I think this was never really ``supported''. It may work, but if it > breaks nobody is going to fix it. >=20 > What *is* supported and should always work is building CURRENT on the > latest RELENG_X branch. But what you are doing is the reverse... Okay, I just thought that using chroot to build release is a bit weird :-= ) As a side note, my real concern is that, it seems that our build infrastructure can not bootstrap itself very easily, say it's not "that" self-contained as I imagined. After installing a gcc 3.4.6 from ports collection and override CC/CXX variables, I found that some of the installed headers and bsd.*.mk is still used during the build, making it very hard to produce successful build without heavy hack to the source tree. I think it's time for me to pursue more about our build skeleton..= =2E Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigB48050003C9CE97F8380C2F4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVa0kOfuToMruuMARCsosAJwIUjSsU3KTv4r10j+h5wMS9CG1OQCfapaz 1df6KIySew4Ps0HTt2EpSiI= =lZ+1 -----END PGP SIGNATURE----- --------------enigB48050003C9CE97F8380C2F4-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 15:24:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00BA716A421 for ; Thu, 24 May 2007 15:24:46 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC2413C468 for ; Thu, 24 May 2007 15:24:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id B0D7DEB3CD3; Thu, 24 May 2007 23:24:44 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 66aqdFrtFtxS; Thu, 24 May 2007 23:24:40 +0800 (CST) Received: from LI-Xins-MacBook.local (unknown [221.220.28.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id AB4C2EB3B39; Thu, 24 May 2007 23:24:39 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=EQqy39hCMT1V2zxmsJgpzBZk7wZSBjD8Ak6YgHiwwph9SL9XYbwqA5OeD5LBFAA2g NAIN6t32U3Bxj/BuufFgQ== Message-ID: <4655AE2C.6070505@delphij.net> Date: Thu, 24 May 2007 23:24:28 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Wesley Shields References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> <20070524135214.GB45539@atarininja.org> <1180015981.9846.26.camel@zoot.mintel.co.uk> <20070524142606.GC45539@atarininja.org> In-Reply-To: <20070524142606.GC45539@atarininja.org> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig5ED176254EC6DB6AD7AEBB90" Cc: Tom Evans , Giorgos Keramidas , FreeBSD Current Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 15:24:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5ED176254EC6DB6AD7AEBB90 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wesley Shields wrote: [...] > http://www.marcuscom.com/pipermail/tinderbox-list/2007-May/000839.html >=20 > I can reproduce this on my tinderbox host after getting the GCC upgrade= =2E This is what exactly I hit today :-) The workaround I have used is to install the userland bits from my previous build (or a installation CDROM if you prefer), and mount devfs into the environment, then chroot into it. Note that, just installing gcc 3.4.6 from the ports collection does not seem to be useful because of the changes in bsd.sys.mk is being picked up during build (I thought this is not quite right, though, but it would take time to fix it throughly). Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig5ED176254EC6DB6AD7AEBB90 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVa4sOfuToMruuMARCp0cAJ9GKpDrBCBiTw1001ncuzs36OoOCACbBIow 7N9HNAkEu+78lg3I4+wUwPk= =52qV -----END PGP SIGNATURE----- --------------enig5ED176254EC6DB6AD7AEBB90-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 16:08:57 2007 Return-Path: X-Original-To: Current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E963E16A421; Thu, 24 May 2007 16:08:57 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 9D83013C46C; Thu, 24 May 2007 16:08:57 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4OG94FS073638; Thu, 24 May 2007 12:09:04 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: attilio@FreeBSD.org In-Reply-To: <4655D5C1.2010905@FreeBSD.org> References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MEQOSqIpBgUlC3yJvumB" Organization: MarcusCom, Inc. Date: Thu, 24 May 2007 12:08:39 -0400 Message-Id: <1180022919.10757.24.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , jeff@FreeBSD.org, Current@FreeBSD.org Subject: Re: Panic on -CURRENT after LDT changes 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: Thu, 24 May 2007 16:08:58 -0000 --=-MEQOSqIpBgUlC3yJvumB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > Jeff Roberson wrote: > > Thanks, Attilio and I will look at this right away. > >=20 > > Jeff > >=20 > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > >=20 > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an > >> instant, reproducible panic by doing: > >> > >> # cd /usr/src > >> # make -DNO_CLEAN buildworld > >> > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the > >> problem. Here is a dmesg and backtrace. In frame 6, it appears mdp i= s > >> NULL (i.e. td->td_proc->p_md =3D 0x0). >=20 > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? No, this kernel does not have WITNESS or INVARIANTS. I can enable those tomorrow if that would give you more useful information. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-MEQOSqIpBgUlC3yJvumB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGVbiGb2iPiv4Uz4cRAgD5AJ4uNUyu/YH4RanCW1txiglYK9UaEwCgkj8f kxfujJI9KdDihBoIXp0HwZg= =3Qov -----END PGP SIGNATURE----- --=-MEQOSqIpBgUlC3yJvumB-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 16:30:08 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F047416A469 for ; Thu, 24 May 2007 16:30:08 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 98A1913C4BB for ; Thu, 24 May 2007 16:30:08 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so340379wxd for ; Thu, 24 May 2007 09:30:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=k1cl3NqVN62uON6KTWcIk6+GmWRJxuvZ4rm8QVaH7podCde68W3gfxI8nGWme0XK/xldJAuCEQCthLg2uNUmjzRvEksRDKFzpQFaHcqFi0SAD91U3WlViyCGN9l98M9ecL5hVmEYmPR331id22FL2Y6zIEywrIA8gsVYq+6cxBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=e3wFMWh0E5XLhG2pZohcXKUZuScMZ/vfKLwoCCjp7T8ymsPwtY74qoNcNh2E/4aQ6A7OmbJsVrOTzyBZkuEimdNJMaMArcFpUiRiDjgbPlkkhSClSEg5L7TpxzMicZRcDlgOB+CeC2MyiaN+K8XXC1GQZNKrthkJ6aFLPG51chE= Received: by 10.78.181.13 with SMTP id d13mr592088huf.1180024207327; Thu, 24 May 2007 09:30:07 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Thu, 24 May 2007 09:30:07 -0700 (PDT) Message-ID: <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> Date: Thu, 24 May 2007 18:30:07 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <1180022919.10757.24.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> X-Google-Sender-Auth: 33b170e86964c879 Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Thu, 24 May 2007 16:30:09 -0000 2007/5/24, Joe Marcus Clarke : > On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > > Jeff Roberson wrote: > > > Thanks, Attilio and I will look at this right away. > > > > > > Jeff > > > > > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > > > > > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an > > >> instant, reproducible panic by doing: > > >> > > >> # cd /usr/src > > >> # make -DNO_CLEAN buildworld > > >> > > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the > > >> problem. Here is a dmesg and backtrace. In frame 6, it appears mdp is > > >> NULL (i.e. td->td_proc->p_md = 0x0). > > > > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? > > No, this kernel does not have WITNESS or INVARIANTS. I can enable those > tomorrow if that would give you more useful information. It would be very appreciated, since I've been unable to reproduce your panic on a centrino dual core. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Thu May 24 16:35:13 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 217F416A400; Thu, 24 May 2007 16:35:13 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8992313C44B; Thu, 24 May 2007 16:35:12 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4OGZK8q073996; Thu, 24 May 2007 12:35:20 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Attilio Rao In-Reply-To: <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1+rrZuVz9WT4CIwvk7Nr" Organization: MarcusCom, Inc. Date: Thu, 24 May 2007 12:34:56 -0400 Message-Id: <1180024496.10757.34.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Thu, 24 May 2007 16:35:13 -0000 --=-1+rrZuVz9WT4CIwvk7Nr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-05-24 at 18:30 +0200, Attilio Rao wrote: > 2007/5/24, Joe Marcus Clarke : > > On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > > > Jeff Roberson wrote: > > > > Thanks, Attilio and I will look at this right away. > > > > > > > > Jeff > > > > > > > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > > > > > > > >> On a -CURRENT build today with Jeff's LDT locking changes, I get a= n > > > >> instant, reproducible panic by doing: > > > >> > > > >> # cd /usr/src > > > >> # make -DNO_CLEAN buildworld > > > >> > > > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects t= he > > > >> problem. Here is a dmesg and backtrace. In frame 6, it appears m= dp is > > > >> NULL (i.e. td->td_proc->p_md =3D 0x0). > > > > > > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? > > > > No, this kernel does not have WITNESS or INVARIANTS. I can enable thos= e > > tomorrow if that would give you more useful information. >=20 > It would be very appreciated, since I've been unable to reproduce your > panic on a centrino dual core. Will do, but it may be that adding those options masks the bug. Have you tried without them? Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-1+rrZuVz9WT4CIwvk7Nr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGVb6vb2iPiv4Uz4cRAg0bAKCOAmvIeDjkLS4SjRnBHEqzduzFxgCfegzA X8tmUADbcmuuK9elQuPOTuY= =SJ4S -----END PGP SIGNATURE----- --=-1+rrZuVz9WT4CIwvk7Nr-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 16:39:01 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70EC516A400 for ; Thu, 24 May 2007 16:39:01 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 12D7813C457 for ; Thu, 24 May 2007 16:39:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so155223wra for ; Thu, 24 May 2007 09:39:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RWHy3bHQ752EHqR0mxpGCps7EW2HGvDsOzk10Q9LVw4akVm7bJakSBV6UAmfUB7veZUcGVeqNRkkXVosU9e3b8/kj9J/3pVqe2DfYu0fpwyyoAaTSIB7+fZqXkIT8sIMhPvMvnF9aupIbWDIpHL11JeZl9YxTfWYUvCU+qqRIOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=VT/0GOEFIH7vZSUMIFo44kAMfk1NWJ8iK9RP9YEP9A9USrRDeIHd0qnZges05D49rtbvw5CdUmaePYUbk49jHtImXEDCEQWm2G5aXRvWsHAwQhuMhNEueY2QCQLnvzlR3NFPD3hFaVpYIh3mehSx1kPkMGSjFGYl01mJe6ej+Ww= Received: by 10.78.204.1 with SMTP id b1mr592640hug.1180024739679; Thu, 24 May 2007 09:38:59 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Thu, 24 May 2007 09:38:59 -0700 (PDT) Message-ID: <3bbf2fe10705240938s730d2793o1e3da6fdea8cf039@mail.gmail.com> Date: Thu, 24 May 2007 18:38:59 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <1180024496.10757.34.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <1180024496.10757.34.camel@shumai.marcuscom.com> X-Google-Sender-Auth: fec2e8dfd32af8c9 Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Thu, 24 May 2007 16:39:01 -0000 2007/5/24, Joe Marcus Clarke : > On Thu, 2007-05-24 at 18:30 +0200, Attilio Rao wrote: > > 2007/5/24, Joe Marcus Clarke : > > > On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > > > > Jeff Roberson wrote: > > > > > Thanks, Attilio and I will look at this right away. > > > > > > > > > > Jeff > > > > > > > > > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > > > > > > > > > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an > > > > >> instant, reproducible panic by doing: > > > > >> > > > > >> # cd /usr/src > > > > >> # make -DNO_CLEAN buildworld > > > > >> > > > > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the > > > > >> problem. Here is a dmesg and backtrace. In frame 6, it appears mdp is > > > > >> NULL (i.e. td->td_proc->p_md = 0x0). > > > > > > > > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? > > > > > > No, this kernel does not have WITNESS or INVARIANTS. I can enable those > > > tomorrow if that would give you more useful information. > > > > It would be very appreciated, since I've been unable to reproduce your > > panic on a centrino dual core. > > Will do, but it may be that adding those options masks the bug. Have > you tried without them? Yes, I tried both. And please don't add WITNESS_SKIPSPIN since the dt_lock is a spinlock. Thanks a lot, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Thu May 24 16:40:37 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C8ED16A400 for ; Thu, 24 May 2007 16:40:37 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id D5FA513C484 for ; Thu, 24 May 2007 16:40:36 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so232954ika for ; Thu, 24 May 2007 09:40:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PNPxWiqoYl2TRJTXju1eAYbsUIeyAtEViVzKe2UvVbgSQQo961B7xmoPCpeJ6HxT/nw1GJXviEBBaUWdjICxvygpUS5ed5oOGyn1OHPoeDDGDu4aFt3YkB8Ie6vLJlywtGX4gIbRT/kiaCEIPmnP8TQnsl9v/IIen5aRdbgtkMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gGNIDgnht6xqJ8lzaxZ1T2f47P7tagyOjoW5KuYe25wxoSnsFmJpc0z98fwGomiCmGeae9GhfSbqdK4VwqqKWhcHmdkmU6Y8Yt1hmydS78iKakxpDP2Osi9HtI+yL/qABUmTOg2eDy+VvvAF+OQASF9YJccfznfrSzSgrXjmSDU= Received: by 10.78.171.13 with SMTP id t13mr595336hue.1180024835462; Thu, 24 May 2007 09:40:35 -0700 (PDT) Received: by 10.78.107.13 with HTTP; Thu, 24 May 2007 09:40:35 -0700 (PDT) Message-ID: Date: Thu, 24 May 2007 09:40:35 -0700 From: "Kip Macy" To: "Darren Reed" In-Reply-To: <20070524100125.GB52149@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070410013034.GC8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523181903.GA60674@xor.obsecurity.org> <20070524100125.GB52149@hub.freebsd.org> Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Ivan Voras , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Thu, 24 May 2007 16:40:37 -0000 > While I don't know of any hardware that is *only* 32bit and > sold by Sun, Solaris 10 runs on 32bit PCs and will do for the > foreseeable future as I'm sure a good part of the opensolaris > community would be upset if it were to be abandoned. Abandoned is the wrong word, but supported is definitely not the same as new development being targeted at. -Kip From owner-freebsd-current@FreeBSD.ORG Thu May 24 17:27:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A8B916A46C for ; Thu, 24 May 2007 17:27:09 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from sccrmhc15.comcast.net (sccrmhc15.comcast.net [204.127.200.85]) by mx1.freebsd.org (Postfix) with ESMTP id E29CA13C468 for ; Thu, 24 May 2007 17:27:08 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (sccrmhc15) with ESMTP id <2007052417270701500pk5ece>; Thu, 24 May 2007 17:27:08 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l4OHRDdX040199; Thu, 24 May 2007 13:27:13 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l4OHRCNx040198; Thu, 24 May 2007 13:27:12 -0400 (EDT) (envelope-from rodrigc) Date: Thu, 24 May 2007 13:27:12 -0400 From: Craig Rodrigues To: LI Xin Message-ID: <20070524172711.GA40185@crodrigues.org> References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> <20070524135214.GB45539@atarininja.org> <1180015981.9846.26.camel@zoot.mintel.co.uk> <20070524142606.GC45539@atarininja.org> <4655AE2C.6070505@delphij.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4655AE2C.6070505@delphij.net> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Current Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 17:27:09 -0000 On Thu, May 24, 2007 at 11:24:28PM +0800, LI Xin wrote: > The workaround I have used is to install the userland bits from my > previous build (or a installation CDROM if you prefer), and mount devfs > into the environment, then chroot into it. If you go to http://pointyhat.freebsd.org/errorlogs/ and scroll down to "Every port is built in its own chroot environment", you can download a tarball for a 6.x userland there....this is similar to what you did. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-current@FreeBSD.ORG Thu May 24 17:30:58 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 834CA16A46D for ; Thu, 24 May 2007 17:30:58 +0000 (UTC) (envelope-from hpcharles@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id F02EC13C465 for ; Thu, 24 May 2007 17:30:56 +0000 (UTC) (envelope-from hpcharles@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so100944anc for ; Thu, 24 May 2007 10:30:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EsNuxysOCBcgfEH3lgurD09E9Tj+Btsu9jv05ZjRz27RCooL0HccnyDaq3l1gyDxc2/TiKyVtjG/CrahgdOX39X0ZHITb6ioDtlUNRUystfRENzyCnOt/Mykfp/HAkthWvbyMn0Cc2cTYNfZt2uuTpLoNpEt3pL1EWtz0fopjZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CErzOk5t5Xs8QN/P3IccJIzW8M8g2iAxUclURSIE17uTyr2jzyourZFPIS62an8aRtr+glzMkLuxb24/wRbqK6zUnNpSE5LjncxtvVKbu5AHcJEQc2OQDZFUvVU9WTCgjDnj6Ua0jwLLaj1YVEGW7zCc1kzwVU1aPxwvTAOg348= Received: by 10.143.31.4 with SMTP id i4mr41688wfj.1180024898219; Thu, 24 May 2007 09:41:38 -0700 (PDT) Received: by 10.142.115.3 with HTTP; Thu, 24 May 2007 09:41:38 -0700 (PDT) Message-ID: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> Date: Thu, 24 May 2007 18:41:38 +0200 From: "Henri-Pierre Charles" To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: xorg 7.2 install and remote ssh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hpcharles@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 17:30:58 -0000 Hello list, I did an xorg 7.2 upgrade (My way is to pkg_delete -a then do a lot of pkg_add -r on package-6-stable) The upgrade was ok. But I was unable to invoque an X client remotely via ssh. Sympthom : ssh -v fail wiith a message "debug1: Remote: No xauth program; cannot forward with spoofing." I did little research : e:~/>strings /usr/bin/ssh |grep xauth ../.. /usr/X11R6/bin/xauth ../... Oh damnit ssh is not aware that /usr/X11R6 is now /usr/local ! :-( Bug ? Turn around: cd /usr/X11R6/bin/; sudo ln -s /usr/local/bin/xauth H-P Charles From owner-freebsd-current@FreeBSD.ORG Thu May 24 17:46:42 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA40516A421 for ; Thu, 24 May 2007 17:46:42 +0000 (UTC) (envelope-from sbaskinger@lumeta.com) Received: from MAIL.corp.lumeta.com (hercules.lumeta.com [65.246.245.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0BC13C45D for ; Thu, 24 May 2007 17:46:42 +0000 (UTC) (envelope-from sbaskinger@lumeta.com) Received: from qilin.corp.lumeta.com ([65.246.246.82]) by MAIL.corp.lumeta.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 May 2007 13:34:40 -0400 Message-ID: <4655CBF5.8060804@lumeta.com> Date: Thu, 24 May 2007 13:31:33 -0400 From: Sam Baskinger Organization: Lumeta Corporation User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: hpcharles@gmail.com References: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> In-Reply-To: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 May 2007 17:34:40.0082 (UTC) FILETIME=[CEA07B20:01C79E29] Cc: current@freebsd.org Subject: Re: xorg 7.2 install and remote ssh 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: Thu, 24 May 2007 17:46:42 -0000 I would suggest using the ssh config option for /etc/ssh/sshd_conf. XAuthLocation /usr/local/bin/xauth My 2c. :) Sam Henri-Pierre Charles wrote: > Hello list, I did an xorg 7.2 upgrade > (My way is to pkg_delete -a then do a lot of pkg_add -r on > package-6-stable) > > The upgrade was ok. But I was unable to invoque an X client > remotely via ssh. > > Sympthom : ssh -v fail wiith a message "debug1: Remote: No xauth > program; cannot forward with spoofing." > > I did little research : > e:~/>strings /usr/bin/ssh |grep xauth > ../.. > /usr/X11R6/bin/xauth > ../... > > Oh damnit ssh is not aware that /usr/X11R6 is now /usr/local ! :-( > Bug ? > > Turn around: cd /usr/X11R6/bin/; sudo ln -s /usr/local/bin/xauth > > H-P Charles > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Sam Baskinger Software Engineer Lumeta - Securing the Network in the Face of Change sbaskinger@lumeta.com 732.357.3545 (office) 732.564.0731 (fax) Lumeta Corporation 220 Davidson Ave, 4th Floor Somerset, NJ 08873 www.lumeta.com From owner-freebsd-current@FreeBSD.ORG Thu May 24 17:55:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C287516A421 for ; Thu, 24 May 2007 17:55:59 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 1A6D813C457 for ; Thu, 24 May 2007 17:55:58 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 24 May 2007 17:55:57 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp032) with SMTP; 24 May 2007 19:55:57 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX18lrboTMHMlSZRpmxvnOnhB84LZtKZs1yEbqPmP0B rsOOy242l1xE7p From: Stefan Ehmann To: freebsd-current@freebsd.org, hpcharles@gmail.com Date: Thu, 24 May 2007 19:55:55 +0200 User-Agent: KMail/1.9.6 References: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> In-Reply-To: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705241955.56293.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Subject: Re: xorg 7.2 install and remote ssh 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: Thu, 24 May 2007 17:55:59 -0000 On Thursday 24 May 2007 18:41:38 Henri-Pierre Charles wrote: > Hello list, I did an xorg 7.2 upgrade > (My way is to pkg_delete -a then do a lot of pkg_add -r on > package-6-stable) > > The upgrade was ok. But I was unable to invoque an X client > remotely via ssh. > > Sympthom : ssh -v fail wiith a message "debug1: Remote: No xauth > program; cannot forward with spoofing." > > I did little research : > e:~/>strings /usr/bin/ssh |grep xauth > ../.. > /usr/X11R6/bin/xauth > ../... > > Oh damnit ssh is not aware that /usr/X11R6 is now /usr/local ! :-( > Bug ? > > Turn around: cd /usr/X11R6/bin/; sudo ln -s /usr/local/bin/xauth Before someone else jumps on you for not reading the mailing list/update instructions: The UPDATING instructions also apply to fresh installs because of the /usr/X11R6 merge. You probably need to: sh /usr/ports/Tools/scripts/mergebase.sh From owner-freebsd-current@FreeBSD.ORG Thu May 24 17:58:57 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59D3616A400 for ; Thu, 24 May 2007 17:58:57 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 3633E13C480 for ; Thu, 24 May 2007 17:58:57 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 3C0BC5C2E; Thu, 24 May 2007 13:46:51 -0400 (EDT) Date: Thu, 24 May 2007 13:46:51 -0400 From: Wesley Shields To: Henri-Pierre Charles Message-ID: <20070524174651.GD45539@atarininja.org> References: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4734a3ed0705240941u3d4293abn31e3146bd845f474@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org Subject: Re: xorg 7.2 install and remote ssh 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: Thu, 24 May 2007 17:58:57 -0000 On Thu, May 24, 2007 at 06:41:38PM +0200, Henri-Pierre Charles wrote: > Hello list, I did an xorg 7.2 upgrade > (My way is to pkg_delete -a then do a lot of pkg_add -r on > package-6-stable) > > The upgrade was ok. But I was unable to invoque an X client > remotely via ssh. > > Sympthom : ssh -v fail wiith a message "debug1: Remote: No xauth > program; cannot forward with spoofing." > > I did little research : > e:~/>strings /usr/bin/ssh |grep xauth > ../.. > /usr/X11R6/bin/xauth > ../... > > Oh damnit ssh is not aware that /usr/X11R6 is now /usr/local ! :-( > Bug ? > > Turn around: cd /usr/X11R6/bin/; sudo ln -s /usr/local/bin/xauth The directions in UPDATING state that there needs to be a symlink from /usr/X11R6 to /usr/local. -- WXS From owner-freebsd-current@FreeBSD.ORG Thu May 24 18:05:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3F8316A41F for ; Thu, 24 May 2007 18:05:21 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id 52BE213C46A for ; Thu, 24 May 2007 18:05:21 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HrHgN-000Mpe-3F; Thu, 24 May 2007 22:05:03 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HrHhS-0000KN-1q; Thu, 24 May 2007 22:06:10 +0400 To: Craig Rodrigues References: <46554442.7070502@delphij.net> <20070524132352.GC2803@kobe.laptop> <20070524135214.GB45539@atarininja.org> <1180015981.9846.26.camel@zoot.mintel.co.uk> <20070524142606.GC45539@atarininja.org> <4655AE2C.6070505@delphij.net> <20070524172711.GA40185@crodrigues.org> From: Boris Samorodov Date: Thu, 24 May 2007 22:06:10 +0400 In-Reply-To: <20070524172711.GA40185@crodrigues.org> (Craig Rodrigues's message of "Thu\, 24 May 2007 13\:27\:12 -0400") Message-ID: <10982493@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Current , LI Xin Subject: Re: RELENG_6_2 broken on latest -HEAD 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: Thu, 24 May 2007 18:05:21 -0000 On Thu, 24 May 2007 13:27:12 -0400 Craig Rodrigues wrote: > On Thu, May 24, 2007 at 11:24:28PM +0800, LI Xin wrote: > > The workaround I have used is to install the userland bits from my > > previous build (or a installation CDROM if you prefer), and mount devfs > > into the environment, then chroot into it. > If you go to http://pointyhat.freebsd.org/errorlogs/ and scroll down to > "Every port is built in its own chroot environment", you can > download a tarball for a 6.x userland there....this is similar to what you > did. Seems they are i386-only. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-current@FreeBSD.ORG Thu May 24 19:00:14 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B69816A468; Thu, 24 May 2007 19:00:14 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.130]) by mx1.freebsd.org (Postfix) with ESMTP id 05DEA13C468; Thu, 24 May 2007 19:00:13 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.1/8.14.1) with ESMTP id l4OIKSSU043494; Thu, 24 May 2007 22:20:28 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.1/8.14.1/Submit) id l4OIKSlw043493; Thu, 24 May 2007 22:20:28 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 24 May 2007 22:20:28 +0400 From: Gleb Smirnoff To: Robert Watson Message-ID: <20070524182028.GE89017@FreeBSD.org> References: <20070523182203.R12345@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20070523182203.R12345@fledge.watson.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@FreeBSD.org Subject: Re: rtfree: 0xc296cd20 has 1 refs 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: Thu, 24 May 2007 19:00:14 -0000 Robert, On Wed, May 23, 2007 at 06:24:00PM +0100, Robert Watson wrote: R> During boot on today's 7-CURRENT: R> R> net.inet6.ip6.auto_linklocal: 1 -> 0 R> rtfree: 0xc296cd20 has 1 refsDHCPREQUEST on ed0 to 255.255.255.255 port 67 R> DHCPACK from 10.211.55.1 this is me catching incorrect use of rtfree(). :) Can you please add kdb_backtrace() to line 248 of sys/net/route.c and reproduce? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Thu May 24 19:42:07 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4FED16A46D for ; Thu, 24 May 2007 19:42:07 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AC30D13C458 for ; Thu, 24 May 2007 19:42:07 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id AF4921A4D80; Thu, 24 May 2007 12:43:09 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C221652A38; Thu, 24 May 2007 15:42:05 -0400 (EDT) Date: Thu, 24 May 2007 15:42:05 -0400 From: Kris Kennaway To: John Hay Message-ID: <20070524194205.GA31693@xor.obsecurity.org> References: <4654A1CD.2030509@gwdg.de> <465527F8.9090209@gwdg.de> <20070524075818.GA87952@xor.obsecurity.org> <20070524081022.GA81737@zibbi.meraka.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <20070524081022.GA81737@zibbi.meraka.csir.co.za> User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org, Kris Kennaway Subject: Re: Problems compiling some ports after upgrading to gcc 4.2.0 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: Thu, 24 May 2007 19:42:07 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 24, 2007 at 10:10:22AM +0200, John Hay wrote: > On Thu, May 24, 2007 at 03:58:18AM -0400, Kris Kennaway wrote: > > On Thu, May 24, 2007 at 07:51:52AM +0200, Rainer Hurling wrote: > > > I think I have no problem with openssl. I also have no crashes of my= =20 > > > system. It works stable :-) > > >=20 > > > Again: After build/install world/kernel (05222007) I ran 'make=20 > > > delete-old(-libs)'. This removed many files, inclusive=20 > > > /usr/libs/libgcc_pic.a. > > >=20 > > > Now when trying to compile ports in several cases I get the described= =20 > > > error, see below. > > >=20 > > > I see this behaviour on three machines, all running newest CURRENT. > >=20 > > The package builds do not reference this library (e.g. tiff builds > > fine), so something else is wrong on your system. Unfortunately you > > didn't give enough information to figure out what it could be. >=20 > I have seen this and fixed it by forcing a rebuild of libtool. You need to rebuild "just about" everything after the recent mega-changes, so portupgrade -fa is probably easiest. Kris --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGVeqNWry0BWjoQKURAnXpAJ9HUIfCXCMt0nptD4ub/Z5PbGDVQQCguvYY 5IcqtiPthuopGP7+l0Kly9w= =ZBWZ -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- From owner-freebsd-current@FreeBSD.ORG Thu May 24 20:24:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E23A916A41F for ; Thu, 24 May 2007 20:24:13 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id A21A013C45A for ; Thu, 24 May 2007 20:24:13 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id C56A32084; Thu, 24 May 2007 22:24:09 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id B7F472083; Thu, 24 May 2007 22:24:09 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 97B5550A0; Thu, 24 May 2007 22:24:09 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Steve Kargl References: <20070523191555.GA22564@troutmask.apl.washington.edu> Date: Thu, 24 May 2007 22:24:09 +0200 In-Reply-To: <20070523191555.GA22564@troutmask.apl.washington.edu> (Steve Kargl's message of "Wed\, 23 May 2007 12\:15\:55 -0700") Message-ID: <86ps4qm0ly.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted 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: Thu, 24 May 2007 20:24:14 -0000 Steve Kargl writes: > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dopteron = -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-poin= ter-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/co= ntrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr= /src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr= /src/sys/dev/em -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs= /FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_H= EADERS -include opt_global.h -finline-limit=3D8000 --param inline-unit-grow= th=3D100 --param large-function-growth=3D1000 -fno-omit-frame-pointer -mcmo= del=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-= 3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /usr/src/= sys/amd64/amd64/genassym.c > cc1: error: unrecognized command line option "-Wno-pointer-sign" > *** Error code 1 Update your entire src tree and 'make kernel-toolchain' before building the kernel. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Thu May 24 22:07:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C88716A421 for ; Thu, 24 May 2007 22:07:56 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id C0FD713C468 for ; Thu, 24 May 2007 22:07:55 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so158265anc for ; Thu, 24 May 2007 15:07:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ml7QsgweBXuL1LNW2F2UBRm9gKkDwR8BzHbPbbfKrAyu2mDN+mLWD9UHAiY/pxQ7Mb9yzQhRbMHUmXeIi8cdwBu4gS57uIj8cgW989/ICH20ibDZtO3+fi0gw0tYCS6jPWNWeJE8M6vUUSMCWHxzbhdw0+TkUfO3Q26jSKic174= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E72UMp1XIXkQ2+AjpNs2d1nsSDg4sL8aakN8B9m8c8mJfYR2adhYFjmQ8D+GmHqZ1IOg3/KB//VLr4R2xqjosFoY3rEHBxCejPZ5wLxVRzFDxjYhCDYl9cQs0A17JllQlDHHJ1BHRbeR6HRRGOQIT/A6DOVkndF38kVd9Bj8rXU= Received: by 10.100.251.9 with SMTP id y9mr2248588anh.1180044474817; Thu, 24 May 2007 15:07:54 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Thu, 24 May 2007 15:07:54 -0700 (PDT) Message-ID: <499c70c0705241507x4b77b922t1b9d0d1b32d0fa58@mail.gmail.com> Date: Fri, 25 May 2007 01:07:54 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: adding ULE in GENERIC options 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: Thu, 24 May 2007 22:07:56 -0000 Hello, Just wondering why ULE isn't in the GENERIC options for -CURRENT? Is it good for dual xeon cpu and MySQL now? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-current@FreeBSD.ORG Thu May 24 22:25:44 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A79D916A421 for ; Thu, 24 May 2007 22:25:44 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.NUXI.org (trang.nuxi.org [64.81.59.225]) by mx1.freebsd.org (Postfix) with ESMTP id 71FEF13C44C for ; Thu, 24 May 2007 22:25:44 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.8/8.13.8) with ESMTP id l4OLtXw4080577; Thu, 24 May 2007 14:55:34 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.14.1/8.13.7/Submit) id l4OLtX8Q080576; Thu, 24 May 2007 14:55:33 -0700 (PDT) (envelope-from obrien) Date: Thu, 24 May 2007 14:55:33 -0700 From: "David O'Brien" To: Steve Kargl Message-ID: <20070524215533.GA40323@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Steve Kargl , freebsd-current@freebsd.org References: <20070523191555.GA22564@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523191555.GA22564@troutmask.apl.washington.edu> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 22:25:44 -0000 On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron .. > cc1: error: unrecognized command line option "-Wno-pointer-sign" > *** Error code 1 I've made a commit that will help here. Set WITH_GCC3 (in /etc/src.conf or environment). Note, I envision this is just to get us over the hump of the GCC 4.2 upgrade, not something permanent. -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Thu May 24 23:54:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D7A816A41F; Thu, 24 May 2007 23:54:00 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 5104513C489; Thu, 24 May 2007 23:54:00 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4ONqqFT035369; Thu, 24 May 2007 16:52:52 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4ONqqmb035368; Thu, 24 May 2007 16:52:52 -0700 (PDT) (envelope-from sgk) Date: Thu, 24 May 2007 16:52:52 -0700 From: Steve Kargl To: obrien@freebsd.org, freebsd-current@freebsd.org Message-ID: <20070524235252.GB35308@troutmask.apl.washington.edu> References: <20070523191555.GA22564@troutmask.apl.washington.edu> <20070524215533.GA40323@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070524215533.GA40323@dragon.NUXI.org> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: "make buildkernel" busted 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: Thu, 24 May 2007 23:54:00 -0000 On Thu, May 24, 2007 at 02:55:33PM -0700, David O'Brien wrote: > On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron > .. > > cc1: error: unrecognized command line option "-Wno-pointer-sign" > > *** Error code 1 > > I've made a commit that will help here. Set WITH_GCC3 (in /etc/src.conf > or environment). Note, I envision this is just to get us over the hump > of the GCC 4.2 upgrade, not something permanent. > Thanks, David! In the meantime, I've taken kan@ advice (in private email) to move on. So, I've upgraded the compiler and kernel. Hopefully, someone can find and fix the reported kernel bugs. -- Steve From owner-freebsd-current@FreeBSD.ORG Thu May 24 23:56:54 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4821016A41F for ; Thu, 24 May 2007 23:56:54 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id AF68913C4BB for ; Thu, 24 May 2007 23:56:53 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so167554uge for ; Thu, 24 May 2007 16:56:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=DEYmWHDejGJIXzp6mtHyODIZk6IEkLEKUMKETXXnps6Sia4rIWiIvIp++ocORUvF7oIcSIqv4ptYDB+LwTrJhSnjho/yZoDZajSKOqZgO4DfmnXs0BoRtNqfRm4cq2AOQgYsDDMqP9bSAvyMfEfzU56FGtArktHdggKBqC2xjss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=YEuJxWni5tgT7Br89z+lKDPGYwXuCA0AnNpw5Kwgmq1YFX+dg8w+6QKRb3VsCfny8TS2y778mv06UeeTvNJkL9s1G93XbazjqbwgcYf/gBgtvZn30lZhjvQkXoHXkuFMlBR6Ptl6hmO6Wr3pAFOCiiUbA4Ihrc1UPzT6Fon05Xw= Received: by 10.66.242.5 with SMTP id p5mr2483773ugh.1180049377579; Thu, 24 May 2007 16:29:37 -0700 (PDT) Received: from ?10.1.1.6? ( [83.239.5.254]) by mx.google.com with ESMTP id w5sm10236731mue.2007.05.24.16.29.33; Thu, 24 May 2007 16:29:36 -0700 (PDT) From: Yuri Pankov To: Gleb Smirnoff In-Reply-To: <20070524182028.GE89017@FreeBSD.org> References: <20070523182203.R12345@fledge.watson.org> <20070524182028.GE89017@FreeBSD.org> Content-Type: text/plain Date: Fri, 25 May 2007 03:29:16 +0400 Message-Id: <1180049356.1014.3.camel@darklight> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: rtfree: 0xc296cd20 has 1 refs 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: Thu, 24 May 2007 23:56:54 -0000 On Thu, 2007-05-24 at 22:20 +0400, Gleb Smirnoff wrote: > Robert, > > On Wed, May 23, 2007 at 06:24:00PM +0100, Robert Watson wrote: > R> During boot on today's 7-CURRENT: > R> > R> net.inet6.ip6.auto_linklocal: 1 -> 0 > R> rtfree: 0xc296cd20 has 1 refsDHCPREQUEST on ed0 to 255.255.255.255 port 67 > R> DHCPACK from 10.211.55.1 > > this is me catching incorrect use of rtfree(). :) > > Can you please add kdb_backtrace() to line 248 of sys/net/route.c and > reproduce? > Hi, I get similar messages. Here's backtraces: at boot: rtfree: 0xffffff0060053b40 has 1 refsKDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a rtfree() at rtfree+0xba in6_update_ifa() at in6_update_ifa+0x724 in6_ifattach() at in6_ifattach+0x2ce ifioctl() at ifioctl+0x118 soo_ioctl() at soo_ioctl+0x3ad kern_ioctl() at kern_ioctl+0xa2 ioctl() at ioctl+0xf9 syscall() at syscall+0x1b2 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x80082184c, rsp = 0x7fffffffe588, rbp = 0x7fffffffef73 --- after ppp's connect: rtfree: 0xffffff0060053870 has 1 refsKDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a rtfree() at rtfree+0xba in6_ifremloop() at in6_ifremloop+0xb8 in6_purgeaddr() at in6_purgeaddr+0x42 in6_control() at in6_control+0x116c ifioctl() at ifioctl+0xea soo_ioctl() at soo_ioctl+0x3ad kern_ioctl() at kern_ioctl+0xa2 ioctl() at ioctl+0xf9 syscall() at syscall+0x1b2 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x80125b84c, rsp = 0x7fffffffe388, rbp = 0x7fffffffe550 --- From owner-freebsd-current@FreeBSD.ORG Fri May 25 04:14:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5F6716A41F for ; Fri, 25 May 2007 04:14:06 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 555BB13C465 for ; Fri, 25 May 2007 04:14:06 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so205314uge for ; Thu, 24 May 2007 21:14:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BIyR36QPyXeLGbyEiEeixXXyOzl77NdZoREMxfibkOHVLIDksSmBQk5vy5jeEt15L+jph8uzLOXdJvtO7ijzGn8pNsrzY+ppy9XxEaT17Fs1/8HI0NCenZ5DJOmrN22l0+/L/Yj9P4DqKue2RCbAAVyRi1fV/I7epXtVIJ+HJ5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MM7ElzMTDKC20agdVO0nHGtYGF9IAS8WqipjuwqE3MdnQinmN/lUZ3rAKL5zCRjD9AOmzJ9/j+Rsz7fn03odllwd/0RGcjUnpi59JIlIFrNM09iQAgkbgfImObfGalDkcrM7ZJAYpqOzaPpG3bTzqX67T4v9cSoZobPbZnpwedw= Received: by 10.82.184.2 with SMTP id h2mr4525514buf.1180066444988; Thu, 24 May 2007 21:14:04 -0700 (PDT) Received: by 10.82.185.16 with HTTP; Thu, 24 May 2007 21:14:04 -0700 (PDT) Message-ID: Date: Thu, 24 May 2007 23:14:04 -0500 From: "illoai@gmail.com" To: "Abdullah Ibn Hamad Al-Marri" In-Reply-To: <499c70c0705241507x4b77b922t1b9d0d1b32d0fa58@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <499c70c0705241507x4b77b922t1b9d0d1b32d0fa58@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: adding ULE in GENERIC options 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: Fri, 25 May 2007 04:14:07 -0000 On 24/05/07, Abdullah Ibn Hamad Al-Marri wrote: > Hello, > > Just wondering why ULE isn't in the GENERIC options for -CURRENT? > > Is it good for dual xeon cpu and MySQL now? > I tried it on a desktop machine for a while and noticed no tangible differences. from /usr/src/sys/conf/NOTES: # SCHED_ULE is a new scheduler that has been designed for SMP and has some # advantages for UP as well. It is intended to replace the 4BSD scheduler # over time. NOTE: SCHED_ULE is currently considered experimental and is # not recommended for production use at this time. AFIK, you cannot have both SCHED_ULE and SCHED_4BSD in the same kernel, which is likely why it is not yet in GENERIC. -- -- From owner-freebsd-current@FreeBSD.ORG Fri May 25 04:14:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0571016A41F; Fri, 25 May 2007 04:14:56 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id C603213C45D; Fri, 25 May 2007 04:14:55 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com ([192.168.42.25]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l4P4EkYv093228; Thu, 24 May 2007 23:14:46 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <465662B6.6090409@freebsd.org> Date: Thu, 24 May 2007 23:14:46 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: Giorgos Keramidas References: <464464BB.3090100@freebsd.org> <20070511152646.g6n5r7k2tcw00ow4@webmail.leidinger.net> <464476D3.3090001@freebsd.org> <4645173A.2040008@freebsd.org> <20070512205110.U24765@fledge.watson.org> <20070513024030.GE2364@dan.emsphone.com> <20070513031807.GA6437@kobe.laptop> <46476700.6010101@freebsd.org> <20070513201402.GB22152@kobe.laptop> In-Reply-To: <20070513201402.GB22152@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3297/Thu May 24 21:29:55 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Cc: Robert Watson , Kian Mohageri , Dan Nelson , freebsd-current@freebsd.org Subject: Re: [PATCH] Fancy rc startup (revisited) 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: Fri, 25 May 2007 04:14:56 -0000 On 05/13/07 15:14, Giorgos Keramidas wrote: > On 2007-05-13 14:29, Eric Anderson wrote: >> On 05/12/07 22:18, Giorgos Keramidas wrote: >>> I am kind of old-fashioned in the Robert >>> way too, however. If there was a way to minimize the console output >>> when services are starting, i.e. to print something like: >>> >>> [last kernel message] >>> >>> Booting FreeBSD: dumpon initrandom fsck root hostid mountcritlocal >>> var cleanvar random adjkerntz hostname kldxref swap sysctl netif (lo0 >>> fxp0) pflog pf routing devd nsswitch devfs syslogd ldconfig named >>> auditd tmp cleartmp dmesg virecover local motd ntpd powerd syscons >>> sshd sendmail cron securelevel power_profile inetd >>> >>> foo login: >>> >>> where each rc.d script would only print its name if it *was* enabled >>> with xxx_enable, optionally followed by a parenthesized list of >>> single-word status messages for each subscript/component), would be >>> really neat. >>> >>> Is there any easy way we can 'tune' the fancy script to support the >>> current output style, a very brief style like above, and then a fancy >>> colorful style, depending on an rc.conf setting? >> I think the rc_fancy patch could be pretty easily tweaked to do exactly >> what you say. > > Yeah, that was my impression from skimming through the changes :) I was wrong. To do it right, I think we'd need to capture all output from rc scripts, and output them in a unified way. I'm thinking of replacing all 'echo' statements that output text to STDOUT, with a function like rc_echo, which does different things depending on the settings of an rc.conf set of variables. Then, you'd have a main rc.conf knob, called rc_output_style, with settings like OFF/NO/NONE, QUIET, SHORT, FANCY, and a rc_output_color YES/NO toggle, so any one of those could be colorful or not. The default would be as it looks without any of this, but the options would be the 'FANCY' style, like my patch does now with the fancy [ OK ] type messages, SHORT style would output similar to above, QUIET would output nothing. NONE/OFF/NO/etc would all just print output as it currently is. Comments? >> I might give it a go, and add that as another option to it. Maybe >> then the variable should change to rc_style_* instead? > > Can I help with testing or even writing the necessary changes? Sure! Let's get it ironed out first, then we'll write it.. Thanks, Eric From owner-freebsd-current@FreeBSD.ORG Fri May 25 04:44:29 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id 8A80B16A468; Fri, 25 May 2007 04:44:29 +0000 (UTC) Date: Fri, 25 May 2007 04:44:29 +0000 From: Darren Reed To: Kip Macy Message-ID: <20070525044429.GA56657@hub.freebsd.org> References: <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> <4652B15D.5060505@unsane.co.uk> <20070523085532.GA27542@hub.freebsd.org> <20070523093231.GA29797@xor.obsecurity.org> <20070523181903.GA60674@xor.obsecurity.org> <20070524100125.GB52149@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Ivan Voras , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Fri, 25 May 2007 04:44:29 -0000 On Thu, May 24, 2007 at 09:40:35AM -0700, Kip Macy wrote: > >While I don't know of any hardware that is *only* 32bit and > >sold by Sun, Solaris 10 runs on 32bit PCs and will do for the > >foreseeable future as I'm sure a good part of the opensolaris > >community would be upset if it were to be abandoned. > > Abandoned is the wrong word, but supported is definitely not the same > as new development being targeted at. I disagree with that completely. You're obviously unaware of a lot of development that is going on inside [Open]Solaris on the driver front. But that aside, 32bit x86 is aging rapidly and within the next few years will be just as legacy as your 486 is and in maybe 5-10 the same as 386. So I wouldn't say that they have or are abandoned 32bit x86, rather that there is just no future in it, so effort is scaled appropriately. Even in open source this rings true - NetBSD is getting close to removing some of the more venerable platforms, not because they're abandoning them but because for one reason or another it no longer makes sense. Darren From owner-freebsd-current@FreeBSD.ORG Fri May 25 04:52:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id AB2D816A41F; Fri, 25 May 2007 04:52:49 +0000 (UTC) Date: Fri, 25 May 2007 04:52:49 +0000 From: Darren Reed To: "illoai@gmail.com" Message-ID: <20070525045249.GB56657@hub.freebsd.org> References: <20070524100734.GD52149@hub.freebsd.org> <20070524101630.GA29806@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Ollivier Robert , freebsd-current@freebsd.org, current@freebsd.org Subject: Re: problems with perl 5.8.8 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: Fri, 25 May 2007 04:52:49 -0000 On Thu, May 24, 2007 at 06:33:48AM -0500, illoai@gmail.com wrote: > On 24/05/07, Ollivier Robert wrote: > >According to Darren Reed: > >> # perl > >> /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: > >Undefined symbol "__divdi3" > >> > >> Is this an error in the way i've done the build, perl or something else? > > > >This is a post-versioning symbols world, right? It may be that you have to > >reinstall the port.__divdi3 is part of libgcc IIRC so either it is a symbol > >versioning problems or a gcc one. > > I just hit this one myself and rebuilding perl seems to > have cured it. I tried to rebuild perl but I get an error with "command-line" ? Darren From owner-freebsd-current@FreeBSD.ORG Fri May 25 04:52:49 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 680) id AB2D816A41F; Fri, 25 May 2007 04:52:49 +0000 (UTC) Date: Fri, 25 May 2007 04:52:49 +0000 From: Darren Reed To: "illoai@gmail.com" Message-ID: <20070525045249.GB56657@hub.freebsd.org> References: <20070524100734.GD52149@hub.freebsd.org> <20070524101630.GA29806@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Ollivier Robert , freebsd-current@freebsd.org, current@freebsd.org Subject: Re: problems with perl 5.8.8 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: Fri, 25 May 2007 04:52:49 -0000 On Thu, May 24, 2007 at 06:33:48AM -0500, illoai@gmail.com wrote: > On 24/05/07, Ollivier Robert wrote: > >According to Darren Reed: > >> # perl > >> /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: > >Undefined symbol "__divdi3" > >> > >> Is this an error in the way i've done the build, perl or something else? > > > >This is a post-versioning symbols world, right? It may be that you have to > >reinstall the port.__divdi3 is part of libgcc IIRC so either it is a symbol > >versioning problems or a gcc one. > > I just hit this one myself and rebuilding perl seems to > have cured it. I tried to rebuild perl but I get an error with "command-line" ? Darren From owner-freebsd-current@FreeBSD.ORG Fri May 25 05:32:26 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12F9F16A421 for ; Fri, 25 May 2007 05:32:26 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id D50B113C45B for ; Fri, 25 May 2007 05:32:25 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 54162 invoked from network); 25 May 2007 05:32:28 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 25 May 2007 05:32:28 -0000 Message-ID: <465674E3.5080008@root.org> Date: Thu, 24 May 2007 22:32:19 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: current X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: Testing driver suspend 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: Fri, 25 May 2007 05:32:26 -0000 > -------- Original Message -------- > njl 2007-05-25 05:26:21 UTC > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi.c > Log: > Add a sysctl, 'debug.acpi.suspend_bounce', that causes the system to bounce > back in a simulated resume instead of entering the requested suspend state. > This helps in testing drivers separately from the acpi suspend code. To > test your drivers, set debug.acpi.suspend_bounce=1 and then run > acpiconf -s3 (or 4). > > MFC after: 1 day > > Revision Changes Path > 1.238 +8 -0 src/sys/dev/acpica/acpi.c I've added the above sysctl in -current and will MFC soon. The goal is to make it easier to test driver suspend/resume methods without doing the whole system suspend/resume process. If your drivers are working right, you should be able to set the sysctl and run your system normally while doing acpiconf -s3 (or 4) in a loop. Please test and report any driver bugs found to the list. Since acpi is not involved at this point, bugs found should not be acpi bugs. -- Nate From owner-freebsd-current@FreeBSD.ORG Fri May 25 07:07:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F05616A421; Fri, 25 May 2007 07:07:24 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9E09213C48A; Fri, 25 May 2007 07:07:22 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1HrTtM-0002RQ-VA by authid ; Fri, 25 May 2007 10:07:17 +0300 Date: Fri, 25 May 2007 10:07:16 +0300 From: Odhiambo Washington To: freebsd-current@freebsd.org, current Message-ID: <20070525070716.GA7016@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@freebsd.org, current MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: -CURRENT buildworld problems... 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: Fri, 25 May 2007 07:07:24 -0000 Hi, I decided to blow away my -CURRENT setup to start afresh! Mad I know, but I wanted to start on a clean slate. I grabbed the CD1 via ftp. This is the May 2007 snapshot. I had funny problems during direct installation like panics.. So I decided to install inside a VMware env and later transfer to a disk. Now, after grabbing latest sources (yesterday and this morning), buildworld fails for me as shown below: rm -f yp.h rpcgen -I -C -h -o yp.h /usr/src/libexec/ypxfr/../../include/rpcsvc/yp.x rm -f yp_clnt.c rpcgen -I -C -DYPSERV_ONLY -l -o yp_clnt.c /usr/src/libexec/ypxfr/../../include/rpcsvc/yp.x rm -f ypxfr_clnt.c rpcgen -I -C -DYPPUSH_ONLY -l -o ypxfr_clnt.c /usr/src/libexec/ypxfr/../../include/rpcsvc/yp.x rm -f .depend mkdep -f .depend -a -I. /usr/src/libexec/ypxfr/../../usr.sbin/ypserv/yp_dblookup.c /usr/src/libexec/ypxfr/yp_dbwrite.c /usr/src/libexec/ypxfr/../../usr.sbin/ypserv/yp_error.c /usr/src/libexec/ypxfr/ypxfr_getmap.c /usr/src/libexec/ypxfr/ypxfr_main.c /usr/src/libexec/ypxfr/ypxfr_misc.c /usr/src/libexec/ypxfr/ypxfrd_getmap.c yp_clnt.c ypxfr_clnt.c echo ypxfr: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/librpcsvc.a >> .depend ===> bin (depend) ===> bin/cat (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/cat/cat.c echo cat: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/chflags (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/chflags/chflags.c echo chflags: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/chio (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/chio/chio.c echo chio: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/chmod (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/chmod/chmod.c echo chmod: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/cp (depend) rm -f .depend mkdep -f .depend -a -DVM_AND_BUFFER_CACHE_SYNCHRONIZED /usr/src/bin/cp/cp.c /usr/src/bin/cp/utils.c echo cp: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/csh (depend) grep '[FV]_' /usr/src/bin/csh/../../contrib/tcsh/ed.defns.c | grep '^#define' >> ed.defns.h cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | sort >> tc.const.h cc -o gethost -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/gethost.c ./gethost /usr/src/bin/csh/host.defs >> tc.defs.c *** Error code 1 Stop in /usr/src/bin/csh. *** Error code 1 Stop in /usr/src/bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. How do I address this? Another funny crash I am getting is when I try to ftp from the Virtual Machine to another host. It's a panic kind of crash, which takes the machine into the debugger, but I am not sure I know how to capture the details shown, bar for manually writing them down, which is a little tideous. Is there a way to capture such output into a file that I can send? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Harrisberger's Fourth Law of the Lab: Experience is directly proportional to the amount of equipment ruined. From owner-freebsd-current@FreeBSD.ORG Fri May 25 07:07:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F05616A421; Fri, 25 May 2007 07:07:24 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9E09213C48A; Fri, 25 May 2007 07:07:22 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1HrTtM-0002RQ-VA by authid ; Fri, 25 May 2007 10:07:17 +0300 Date: Fri, 25 May 2007 10:07:16 +0300 From: Odhiambo Washington To: freebsd-current@freebsd.org, current Message-ID: <20070525070716.GA7016@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@freebsd.org, current MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: -CURRENT buildworld problems... 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: Fri, 25 May 2007 07:07:24 -0000 Hi, I decided to blow away my -CURRENT setup to start afresh! Mad I know, but I wanted to start on a clean slate. I grabbed the CD1 via ftp. This is the May 2007 snapshot. I had funny problems during direct installation like panics.. So I decided to install inside a VMware env and later transfer to a disk. Now, after grabbing latest sources (yesterday and this morning), buildworld fails for me as shown below: rm -f yp.h rpcgen -I -C -h -o yp.h /usr/src/libexec/ypxfr/../../include/rpcsvc/yp.x rm -f yp_clnt.c rpcgen -I -C -DYPSERV_ONLY -l -o yp_clnt.c /usr/src/libexec/ypxfr/../../include/rpcsvc/yp.x rm -f ypxfr_clnt.c rpcgen -I -C -DYPPUSH_ONLY -l -o ypxfr_clnt.c /usr/src/libexec/ypxfr/../../include/rpcsvc/yp.x rm -f .depend mkdep -f .depend -a -I. /usr/src/libexec/ypxfr/../../usr.sbin/ypserv/yp_dblookup.c /usr/src/libexec/ypxfr/yp_dbwrite.c /usr/src/libexec/ypxfr/../../usr.sbin/ypserv/yp_error.c /usr/src/libexec/ypxfr/ypxfr_getmap.c /usr/src/libexec/ypxfr/ypxfr_main.c /usr/src/libexec/ypxfr/ypxfr_misc.c /usr/src/libexec/ypxfr/ypxfrd_getmap.c yp_clnt.c ypxfr_clnt.c echo ypxfr: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/librpcsvc.a >> .depend ===> bin (depend) ===> bin/cat (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/cat/cat.c echo cat: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/chflags (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/chflags/chflags.c echo chflags: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/chio (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/chio/chio.c echo chio: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/chmod (depend) rm -f .depend mkdep -f .depend -a /usr/src/bin/chmod/chmod.c echo chmod: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/cp (depend) rm -f .depend mkdep -f .depend -a -DVM_AND_BUFFER_CACHE_SYNCHRONIZED /usr/src/bin/cp/cp.c /usr/src/bin/cp/utils.c echo cp: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend ===> bin/csh (depend) grep '[FV]_' /usr/src/bin/csh/../../contrib/tcsh/ed.defns.c | grep '^#define' >> ed.defns.h cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | sort >> tc.const.h cc -o gethost -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/gethost.c ./gethost /usr/src/bin/csh/host.defs >> tc.defs.c *** Error code 1 Stop in /usr/src/bin/csh. *** Error code 1 Stop in /usr/src/bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. How do I address this? Another funny crash I am getting is when I try to ftp from the Virtual Machine to another host. It's a panic kind of crash, which takes the machine into the debugger, but I am not sure I know how to capture the details shown, bar for manually writing them down, which is a little tideous. Is there a way to capture such output into a file that I can send? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Harrisberger's Fourth Law of the Lab: Experience is directly proportional to the amount of equipment ruined. From owner-freebsd-current@FreeBSD.ORG Fri May 25 07:32:46 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26A9816A421 for ; Fri, 25 May 2007 07:32:46 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id DDA2413C44C for ; Fri, 25 May 2007 07:32:45 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: by nz-out-0506.google.com with SMTP id m22so699853nzf for ; Fri, 25 May 2007 00:32:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=joVHr6i1p75r5ZwYiQinpdhdwN6jeAdEHGO1FFlva4YkgsXVByZT1tyUVm1wd0VSYJ73gyV9PncSwsBhs5eDok5OKIcxEsBUdkT4ikXB44mOKuRGf0sqCNsUP/UUNliIhp8DP0tMRTOBHWwUEUfLf0wR2A4jm6vYnSjUmnm5bMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uaueAIu5yHgVhYRkDZvun6h2mmg3gvbrkvi3+P4wH7nbNwcQnsjEZjnChMh2Q9Cmlu+q+J6upwRceNfW04CcyAehonl7j7YMqquomwdXVbkMJl/WXNWOry46jajSP4gGb8XUnqaUp7nfQADEYQESMAykhw9T8Pqj/SmRajD0TIA= Received: by 10.115.91.2 with SMTP id t2mr1318571wal.1180076623434; Fri, 25 May 2007 00:03:43 -0700 (PDT) Received: by 10.114.153.7 with HTTP; Fri, 25 May 2007 00:03:43 -0700 (PDT) Message-ID: <83e5fb980705250003s360bb402hcae25c030d2c69f6@mail.gmail.com> Date: Fri, 25 May 2007 09:03:43 +0200 From: "Diego Depaoli" To: current@freebsd.org In-Reply-To: <20070525045249.GB56657@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070524100734.GD52149@hub.freebsd.org> <20070524101630.GA29806@keltia.freenix.fr> <20070525045249.GB56657@hub.freebsd.org> Cc: Subject: Re: problems with perl 5.8.8 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: Fri, 25 May 2007 07:32:46 -0000 2007/5/25, Darren Reed : > On Thu, May 24, 2007 at 06:33:48AM -0500, illoai@gmail.com wrote: > > On 24/05/07, Ollivier Robert wrote: > > >According to Darren Reed: > > >> # perl > > >> /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: > > >Undefined symbol "__divdi3" > > >> > > >> Is this an error in the way i've done the build, perl or something > else? > > > > > >This is a post-versioning symbols world, right? It may be that you have > to > > >reinstall the port.__divdi3 is part of libgcc IIRC so either it is a > symbol > > >versioning problems or a gcc one. > > > > I just hit this one myself and rebuilding perl seems to > > have cured it. > > I tried to rebuild perl but I get an error with "command-line" ? Short question... have you done make delete-old and make delete-old-libs as described in /usr/src/Makefile? -- Diego Depaoli From owner-freebsd-current@FreeBSD.ORG Fri May 25 08:39:50 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E14516A421; Fri, 25 May 2007 08:39:50 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3B8AF13C4C3; Fri, 25 May 2007 08:39:50 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id F3FF14755D; Fri, 25 May 2007 04:39:49 -0400 (EDT) Date: Fri, 25 May 2007 09:39:49 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Gleb Smirnoff In-Reply-To: <20070524182028.GE89017@FreeBSD.org> Message-ID: <20070525093912.P53865@fledge.watson.org> References: <20070523182203.R12345@fledge.watson.org> <20070524182028.GE89017@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@FreeBSD.org Subject: Re: rtfree: 0xc296cd20 has 1 refs 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: Fri, 25 May 2007 08:39:50 -0000 On Thu, 24 May 2007, Gleb Smirnoff wrote: > On Wed, May 23, 2007 at 06:24:00PM +0100, Robert Watson wrote: > R> During boot on today's 7-CURRENT: > R> > R> net.inet6.ip6.auto_linklocal: 1 -> 0 > R> rtfree: 0xc296cd20 has 1 refsDHCPREQUEST on ed0 to 255.255.255.255 port 67 > R> DHCPACK from 10.211.55.1 > > this is me catching incorrect use of rtfree(). :) > > Can you please add kdb_backtrace() to line 248 of sys/net/route.c and > reproduce? Following jinmei's commit, I no longer get the warning. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Fri May 25 09:51:50 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0316016A46B for ; Fri, 25 May 2007 09:51:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id B97E613C44B for ; Fri, 25 May 2007 09:51:49 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EDF468BFF11 for ; Fri, 25 May 2007 11:51:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xid4g-c7tTiK for ; Fri, 25 May 2007 11:51:47 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id F40348BFF10 for ; Fri, 25 May 2007 11:51:46 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4P9pkmg045350 for current@freebsd.org; Fri, 25 May 2007 11:51:46 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 25 May 2007 11:51:46 +0200 From: Roman Divacky To: current@freebsd.org Message-ID: <20070525095146.GA45288@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 09:51:50 -0000 hi I just noticed that spravci ~# ls -l /boot/kernel*/kernel -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* ie. after gcc42 import the kernel size increased roughly by 60% thats a little too much. is there any forgotten option or something that makes the kernel grow so big? thnx roman From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:03:37 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9C3B16A400 for ; Fri, 25 May 2007 10:03:37 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from gretel.pobox.com (gretel.pobox.com [208.58.1.197]) by mx1.freebsd.org (Postfix) with ESMTP id 8905E13C45E for ; Fri, 25 May 2007 10:03:37 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from sceptre.pobox.com (sceptre.pobox.com [207.106.133.20]) by gretel.pobox.com (Postfix) with ESMTP id A464A6258F7C for ; Fri, 25 May 2007 05:47:54 -0400 (EDT) Received: from sceptre (localhost.localdomain [127.0.0.1]) by sceptre.pobox.com (Postfix) with ESMTP id 24FDE2EF for ; Fri, 25 May 2007 05:47:53 -0400 (EDT) Received: from localhost (80-45-95-114.static.dsl.as9105.com [80.45.95.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id DEB0C50EAE for ; Fri, 25 May 2007 05:47:52 -0400 (EDT) Received: from lists by localhost with local (Exim 4.60) (envelope-from ) id 1HrWOO-0006rZ-4K for freebsd-current@freebsd.org; Fri, 25 May 2007 10:47:28 +0100 Resent-From: lists@uk.tiscali.com Resent-Date: Fri, 25 May 2007 10:47:27 +0100 Resent-Message-ID: <20070525094727.GA26257@uk.tiscali.com> Resent-To: freebsd-current@freebsd.org Date: Fri, 25 May 2007 08:49:26 +0100 From: Brian Candler To: freebsd-current@freebsd.org Message-ID: <20070525074925.GA19294@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Resent-Date: Fri, 25 May 2007 10:47:28 +0100 Subject: Using Subversion for binary distribution? 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: Fri, 25 May 2007 10:03:37 -0000 Here's a wacky idea - I don't know if anyone's considered it before. Suppose you checked a full *binary* FreeBSD distribution into Subversion (that is, untar all the distribution bundles and then svn import) Now, on a target machine, you do "svn checkout .... /mnt" where /mnt has mounted a blank disk. Then install the boot loader, and then boot from that disk. What you get is the following: * Binary updates. If you check in binary updates to the repository, then "svn update" on all the clients will perform the update. * "svn status" shows you what files you have changed or added on the machine (without generating any network traffic). Note: this can be done in any subdirectory, e.g. /etc, not just at the root. * Piping "svn status" into a backup script would backup only the minimum set of files and directories needed to recreate the machine. * "svn diff" would show what config changes you had made on a system, and "svn revert" would wind them back to how they were at the original installation (again, without generating any network traffic) * Upgrading to a new release would just be a case of "svn switch ...; svn update" * Upgrading would correctly delete files which were present in the old release, not present in the new release, and not modified by you. Yay! Clean systems even after multiple upgrade cycles!! * Provides a replacement for "mergemaster": "svn update" will automatically merge in non-conflicting changes to all your config files, and highlight where there are conflicts for you to fix manually. For the more advanced user, you could create a separate branch in your central repository for each endpoint machine, allowing you to drive config changes from the repository. (The downside is that when you upgrade to a new release you'll need to merge these branch changes into the new branch) Is there any value in pursuing this idea? Cheers, Brian. From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:31:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 218F316A400 for ; Fri, 25 May 2007 10:31:30 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CDD9913C447 for ; Fri, 25 May 2007 10:31:29 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HrX4q-0006cp-G6 for freebsd-current@freebsd.org; Fri, 25 May 2007 12:31:20 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 May 2007 12:31:20 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 May 2007 12:31:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Fri, 25 May 2007 12:30:59 +0200 Lines: 35 Message-ID: References: <20070525074925.GA19294@uk.tiscali.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE031E4D35D58554BE7A51B6D" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <20070525074925.GA19294@uk.tiscali.com> X-Enigmail-Version: 0.94.2.0 Sender: news Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 10:31:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE031E4D35D58554BE7A51B6D Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Brian Candler wrote: > Here's a wacky idea - I don't know if anyone's considered it before. >=20 > Suppose you checked a full *binary* FreeBSD distribution into Subversio= n > (that is, untar all the distribution bundles and then svn import) > Is there any value in pursuing this idea? Unless performance problems arise when there are several versions of the = ~~300 MB tree (for the base system) in the repository, this is actually=20 a nice idea! --------------enigE031E4D35D58554BE7A51B6D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGVrrqldnAQVacBcgRAq8DAKCg3vOgtp1tSDSzKaKTExtK/B5pawCgmE58 b8h7VO/bcYyIgElhY6mJzys= =cni/ -----END PGP SIGNATURE----- --------------enigE031E4D35D58554BE7A51B6D-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:40:31 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1406316A400 for ; Fri, 25 May 2007 10:40:31 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C048413C4AE for ; Fri, 25 May 2007 10:40:30 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HrXDg-0008Fw-6U for freebsd-current@freebsd.org; Fri, 25 May 2007 12:40:28 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 May 2007 12:40:28 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 May 2007 12:40:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Fri, 25 May 2007 12:40:10 +0200 Lines: 30 Message-ID: References: <20070525095146.GA45288@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4753715AED0C9B011ED060FC" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <20070525095146.GA45288@freebsd.org> X-Enigmail-Version: 0.94.2.0 Sender: news Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 10:40:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4753715AED0C9B011ED060FC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Roman Divacky wrote: > ie. after gcc42 import the kernel size increased roughly by 60% thats > a little too much. is there any forgotten option or something that > makes the kernel grow so big? A trivial idea (since I don't have a 7-current here): have you tried=20 stripping it? --------------enig4753715AED0C9B011ED060FC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGVr0KldnAQVacBcgRAlTXAJoD4mpBM6P8TtHOpiZGvXagI88XfACgveUz AJS48QMQMiBPxn2gaaZSz00= =urV+ -----END PGP SIGNATURE----- --------------enig4753715AED0C9B011ED060FC-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:45:37 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF10D16A41F for ; Fri, 25 May 2007 10:45:36 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 70E4913C465 for ; Fri, 25 May 2007 10:45:36 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4PAi01u005819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2007 13:44:06 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4PAhgUK054825; Fri, 25 May 2007 13:43:54 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4PAhg9S054824; Fri, 25 May 2007 13:43:42 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 25 May 2007 13:43:42 +0300 From: Giorgos Keramidas To: Brian Candler Message-ID: <20070525104342.GA2761@kobe.laptop> References: <20070525074925.GA19294@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070525074925.GA19294@uk.tiscali.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.525, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.67, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 10:45:37 -0000 On 2007-05-25 08:49, Brian Candler wrote: > Here's a wacky idea - I don't know if anyone's considered it before. Not so wacky. Ok, maybe a little wacky... see below :) > Suppose you checked a full *binary* FreeBSD distribution into Subversion > (that is, untar all the distribution bundles and then svn import) > > Now, on a target machine, you do "svn checkout .... /mnt" where /mnt has > mounted a blank disk. Then install the boot loader, and then boot from that > disk. > > What you get is the following: > > * Binary updates. If you check in binary updates to the repository, then > "svn update" on all the clients will perform the update. > > * "svn status" shows you what files you have changed or added on the machine > (without generating any network traffic). Note: this can be done in any > subdirectory, e.g. /etc, not just at the root. > > * Piping "svn status" into a backup script would backup only the minimum set > of files and directories needed to recreate the machine. > > * "svn diff" would show what config changes you had made on a system, and > "svn revert" would wind them back to how they were at the original > installation (again, without generating any network traffic) > > * Upgrading to a new release would just be a case of "svn switch ...; > svn update" > > * Upgrading would correctly delete files which were present in the old > release, not present in the new release, and not modified by you. Yay! Clean > systems even after multiple upgrade cycles!! > > * Provides a replacement for "mergemaster": "svn update" will automatically > merge in non-conflicting changes to all your config files, and highlight > where there are conflicts for you to fix manually. > > For the more advanced user, you could create a separate branch in your > central repository for each endpoint machine, allowing you to drive config > changes from the repository. (The downside is that when you upgrade to a new > release you'll need to merge these branch changes into the new branch) > > Is there any value in pursuing this idea? Yes, there probably is at least some amount of value in this. What you are describing is, essentially, a way of creating a single, huge "binary package" of the FreeBSD base system. Using Subversion of a more distributed system like Git and Mercurial, can work in the way you are describing, but you would have to be _very_ careful about file ownership (so that you don't accidentally leak files owned by root to other accounts, for example), and permissions (so that you don't suddenly let everyone read /etc/master.passwd, or something equally or more evil). Subversion support for making 'local' changes to a checked out workspace and keeping them local is simply unavailable. The checked out tree would be "polluted" with .svn/ subdirectories with all the metadata of the Subversion workspace too (that's where permissions will be tricky to get right). The disk space requirements of a Subversion checkout are also very big. At least twice the size of the checked out files, and then some more. PS: Have you already tried systems like sysutils/cfengine and given up on them for your own reasons? From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:56:58 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2A0916A400 for ; Fri, 25 May 2007 10:56:58 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9FC13C43E for ; Fri, 25 May 2007 10:56:58 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 3A51B64B9; Fri, 25 May 2007 14:56:57 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 182C8648E; Fri, 25 May 2007 14:56:57 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4PAq3Ge007380; Fri, 25 May 2007 14:52:03 +0400 (MSD) (envelope-from ru) Date: Fri, 25 May 2007 14:52:03 +0400 From: Ruslan Ermilov To: Roman Divacky Message-ID: <20070525105203.GB6500@rambler-co.ru> References: <20070525095146.GA45288@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline In-Reply-To: <20070525095146.GA45288@freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: current@FreeBSD.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 10:56:58 -0000 --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 25, 2007 at 11:51:46AM +0200, Roman Divacky wrote: > hi >=20 > I just noticed that > spravci ~# ls -l /boot/kernel*/kernel > -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* > -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* >=20 > ie. after gcc42 import the kernel size increased roughly by 60% thats > a little too much. is there any forgotten option or something that > makes the kernel grow so big? >=20 My numbers are different (1% for the GENERIC kernel, and this is with all code changes in-between): -r-xr-xr-x 1 root wheel 8942239 Apr 11 16:20 kernel.old/kernel -r-xr-xr-x 1 root wheel 9035021 May 24 16:23 kernel/kernel bde@ also reported a 1% code bloat in another thread, so I think you should look at your own changes. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGVr/TqRfpzJluFF4RAsR+AKCXrQXaLwU6aqmoyZTwPX+/STU7HQCeNEuA Cvg1vDrQAdtVX5ja1ATsVSc= =VJiM -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:59:01 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D922816A41F for ; Fri, 25 May 2007 10:59:01 +0000 (UTC) (envelope-from jan.grant@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA9413C469 for ; Fri, 25 May 2007 10:59:01 +0000 (UTC) (envelope-from jan.grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1HrXFa-0004OQ-DU; Fri, 25 May 2007 11:42:27 +0100 Received: from cse-jg.cse.bris.ac.uk ([137.222.12.37]:64432) by mail.ilrt.bris.ac.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HrXFW-0001eN-Dr; Fri, 25 May 2007 11:42:22 +0100 Date: Fri, 25 May 2007 11:42:22 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@tribble.ilrt.bris.ac.uk To: Ivan Voras In-Reply-To: Message-ID: <20070525113853.S79178@tribble.ilrt.bris.ac.uk> References: <20070525074925.GA19294@uk.tiscali.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-ILRT-MailScanner: Found to be clean X-ILRT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.033, required 5, autolearn=disabled, ALL_TRUSTED -1.44, AWL 1.40, TW_SV 0.08) X-ILRT-MailScanner-From: jan.grant@bristol.ac.uk X-Spam-Status: No X-Spam-Score: -0.8 X-Spam-Level: / Cc: freebsd-current@freebsd.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 10:59:01 -0000 On Fri, 25 May 2007, Ivan Voras wrote: > Brian Candler wrote: > > Here's a wacky idea - I don't know if anyone's considered it before. > > > > Suppose you checked a full *binary* FreeBSD distribution into Subversion > > (that is, untar all the distribution bundles and then svn import) > > > Is there any value in pursuing this idea? > > Unless performance problems arise when there are several versions of > the ~~300 MB tree (for the base system) in the repository, this is > actually a nice idea! Using fsfs I've done something similar. The major problem I had was that "large" transactions (revisions) tended to slow any operations that had to hunt through them to a crawl. Not completely sure that svn is the right vc tool for that, but with the "right" one it's an interesting approach. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Usenet: The separation of content AND presentation - simultaneously. From owner-freebsd-current@FreeBSD.ORG Fri May 25 11:52:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8329516A502 for ; Fri, 25 May 2007 11:52:47 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.freebsd.org (Postfix) with ESMTP id 4761013C45D for ; Fri, 25 May 2007 11:52:47 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 89FA5F06A8; Fri, 25 May 2007 07:53:08 -0400 (EDT) Received: from localhost (80-45-95-114.static.dsl.as9105.com [80.45.95.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id C36A4F06A5; Fri, 25 May 2007 07:53:06 -0400 (EDT) Received: from brian by localhost with local (Exim 4.60) (envelope-from ) id 1HrYLb-0008SL-0q; Fri, 25 May 2007 12:52:43 +0100 Date: Fri, 25 May 2007 12:52:42 +0100 From: Brian Candler To: Giorgos Keramidas Message-ID: <20070525115242.GA31555@uk.tiscali.com> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070525104342.GA2761@kobe.laptop> User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 11:52:47 -0000 On Fri, May 25, 2007 at 01:43:42PM +0300, Giorgos Keramidas wrote: > Using Subversion of a more distributed system like Git and Mercurial, > can work in the way you are describing, but you would have to be _very_ > careful about file ownership (so that you don't accidentally leak files > owned by root to other accounts, for example), and permissions (so that > you don't suddenly let everyone read /etc/master.passwd, or something > equally or more evil). That's a very good point. There's svn:executable, but that's only a small part of the equation. Perhaps mtree-like settings could be put into a user property, and a post-checkout script could enforce them. The problem is, I believe, analagous to what happens when you do the initial system build and create the tarballs: you have to ensure that all the files in the tarballs are owned by the correct accounts and have the correct mode (not root:root and 0755, or whatever they got when the compiler built them) If you put this information in an appropriate place for the client, it can apply it locally after it has done an svn checkout. > Subversion support for making 'local' changes to a checked out workspace > and keeping them local is simply unavailable. The checked out tree > would be "polluted" with .svn/ subdirectories with all the metadata of > the Subversion workspace too (that's where permissions will be tricky to > get right). > > The disk space requirements of a Subversion checkout are also very big. > At least twice the size of the checked out files, and then some more. Having .svn directories all over the place is not a worry to me, and in fact that's what gives you most of the practical advantages: svn diff and svn revert will depend on this, as well as merging of non-conflicting changes. rm /bin/ls svn revert /bin/ls # happy days :-) Permissions on the .svn directories need to be gotten right, but I think that simply setting them to root:root 0700 would be safe. You'd have a hard job finding a disk below 160GB these days, so the size utilisation doesn't bother me either. Similarly, it gets a bit more complicated if you try to keep the distribution sets separate, so I'd be inclined to install all distributions regardless. You could set svn:ignore on /usr/games if you wanted. > PS: Have you already tried systems like sysutils/cfengine and given up > on them for your own reasons? Actually, it's the FreeBSD "upgrade" process which I've given up on. Doing a binary upgrade leaves loads of crud around on your hard drive, and doesn't handle config files properly (i.e. no "mergemaster" support). Doing source upgrades, well, requires lots of compiling, and a lot more disk space again. For this reason, I've migrated most of the machines I use to Linux - sorry :-) My laptop remains on FreeBSD (5.4), but maybe even that'll have to go soon. Regards, Brian. From owner-freebsd-current@FreeBSD.ORG Fri May 25 11:54:38 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7616616A46E; Fri, 25 May 2007 11:54:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 2747113C46A; Fri, 25 May 2007 11:54:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5CFEE.dip.t-dialin.net [84.165.207.238]) by redbull.bpaserver.net (Postfix) with ESMTP id 86E742E2A0; Fri, 25 May 2007 13:54:33 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id D550B5B6175; Fri, 25 May 2007 13:54:16 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l4PBsGpu047031; Fri, 25 May 2007 13:54:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 25 May 2007 13:54:16 +0200 Message-ID: <20070525135416.7u2tw5ibtwwogko8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 25 May 2007 13:54:16 +0200 From: Alexander Leidinger To: Ruslan Ermilov References: <20070525095146.GA45288@freebsd.org> <20070525105203.GB6500@rambler-co.ru> In-Reply-To: <20070525105203.GB6500@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Roman Divacky , current@FreeBSD.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 11:54:38 -0000 Quoting Ruslan Ermilov (from Fri, 25 May 2007 =20 14:52:03 +0400): > On Fri, May 25, 2007 at 11:51:46AM +0200, Roman Divacky wrote: >> hi >> >> I just noticed that >> spravci ~# ls -l /boot/kernel*/kernel >> -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* >> -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* >> >> ie. after gcc42 import the kernel size increased roughly by 60% thats >> a little too much. is there any forgotten option or something that >> makes the kernel grow so big? >> > My numbers are different (1% for the GENERIC kernel, and this > is with all code changes in-between): > > -r-xr-xr-x 1 root wheel 8942239 Apr 11 16:20 kernel.old/kernel > -r-xr-xr-x 1 root wheel 9035021 May 24 16:23 kernel/kernel > > bde@ also reported a 1% code bloat in another thread, so I think > you should look at your own changes. My minimal kernel without additional changes shows: -r-xr-xr-x 1 root wheel 2.5M 7 Apr 17:22 /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 8.1M 7 Apr 17:22 /boot/kernel.old/kernel.symbol= s* -r-xr-xr-x 1 root wheel 3.9M 24 Mai 18:46 /boot/kernel/kernel* -r-xr-xr-x 1 root wheel 14M 24 Mai 18:46 /boot/kernel/kernel.symbols* But this is with debugging (-g) enabled. How's the .symbols generated? =20 Can there be some new stuff in the kernel which needs to be handled in =20 the .symbols file generation? Bye, Alexander. --=20 The relative importance of files depends on their cost in terms of the human effort needed to regenerate them. =09=09-- T. A. Dolotta http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Fri May 25 12:22:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1FC316A468 for ; Fri, 25 May 2007 12:22:04 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.freenix.fr (keltia.freenix.org [82.230.37.243]) by mx1.freebsd.org (Postfix) with ESMTP id 8B12613C44B for ; Fri, 25 May 2007 12:22:04 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from localhost (localhost [127.0.0.1]) by keltia.freenix.fr (Postfix/TLS) with ESMTP id A3D033968E for ; Fri, 25 May 2007 14:22:02 +0200 (CEST) Received: from keltia.freenix.fr ([127.0.0.1]) by localhost (keltia.freenix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62034-14 for ; Fri, 25 May 2007 14:22:02 +0200 (CEST) Received: by keltia.freenix.fr (Postfix/TLS, from userid 101) id 4639A3968C; Fri, 25 May 2007 14:22:02 +0200 (CEST) Date: Fri, 25 May 2007 14:22:02 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org Message-ID: <20070525122202.GA62490@keltia.freenix.fr> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> <20070525115242.GA31555@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070525115242.GA31555@uk.tiscali.com> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 6.2 / Dell D820 SMP User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: amavisd-new at keltia.freenix.fr Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 12:22:04 -0000 According to Brian Candler: > Having .svn directories all over the place is not a worry to me, and in fact > that's what gives you most of the practical advantages: svn diff and svn > revert will depend on this, as well as merging of non-conflicting changes. Having twice the binary distribution inside .svn files scattered all over the place does bother me. And I'm afraid svn diff on /sbin/init isn't giving me real useful information. For text files in /etc, /boot and others, mercurial does that in place more efficiently then svn. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin sidhe.keltia.net Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007 i386 From owner-freebsd-current@FreeBSD.ORG Fri May 25 12:29:36 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A98E16A468 for ; Fri, 25 May 2007 12:29:36 +0000 (UTC) (envelope-from allbery@ece.cmu.edu) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.freebsd.org (Postfix) with ESMTP id 3466813C46C for ; Fri, 25 May 2007 12:29:36 +0000 (UTC) (envelope-from allbery@ece.cmu.edu) Received: from [10.9.204.128] (dsl093-061-215.pit1.dsl.speakeasy.net [66.93.61.215]) by bache.ece.cmu.edu (Postfix) with ESMTP id C5202B6; Fri, 25 May 2007 08:01:51 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20070525104342.GA2761@kobe.laptop> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <19A57FD4-B9D7-4C47-9E7B-1691110F4C27@ece.cmu.edu> Content-Transfer-Encoding: 7bit From: "Brandon S. Allbery KF8NH" Date: Fri, 25 May 2007 08:01:49 -0400 To: Giorgos Keramidas , freebsd-current@freebsd.org X-Mailer: Apple Mail (2.752.2) Cc: Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 12:29:36 -0000 On May 25, 2007, at 6:43 , Giorgos Keramidas wrote: > PS: Have you already tried systems like sysutils/cfengine and given up > on them for your own reasons? I think he's talking about something like freebsd-update, not SCM. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From owner-freebsd-current@FreeBSD.ORG Fri May 25 12:29:38 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 306B116A400 for ; Fri, 25 May 2007 12:29:38 +0000 (UTC) (envelope-from jw@innerewut.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.44]) by mx1.freebsd.org (Postfix) with ESMTP id C069F13C457 for ; Fri, 25 May 2007 12:29:37 +0000 (UTC) (envelope-from jw@innerewut.de) Received: (qmail 17521 invoked from network); 25 May 2007 12:01:33 -0000 Received: from unknown (HELO blowfish.local) (068076@[85.178.249.244]) (envelope-sender ) by smtprelay06.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 25 May 2007 12:01:33 -0000 Message-ID: <4656D01F.4070701@innerewut.de> Date: Fri, 25 May 2007 14:01:35 +0200 From: Jonathan Weiss User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> In-Reply-To: <20070525104342.GA2761@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 25 May 2007 12:36:53 +0000 Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 12:29:38 -0000 > The checked out tree > would be "polluted" with .svn/ subdirectories with all the metadata of > the Subversion workspace too (that's where permissions will be tricky to > get right). The is always SVK with does not pollute the working dir. Jonathan -- Jonathan Weiss http://blog.innerewut.de From owner-freebsd-current@FreeBSD.ORG Fri May 25 12:49:47 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B9AF16A469 for ; Fri, 25 May 2007 12:49:47 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id EE33313C46E for ; Fri, 25 May 2007 12:49:46 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l4PCnjLu094741; Fri, 25 May 2007 07:49:46 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4656DB6A.1010100@freebsd.org> Date: Fri, 25 May 2007 07:49:46 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: Alexander Leidinger References: <20070525095146.GA45288@freebsd.org> <20070525105203.GB6500@rambler-co.ru> <20070525135416.7u2tw5ibtwwogko8@webmail.leidinger.net> In-Reply-To: <20070525135416.7u2tw5ibtwwogko8@webmail.leidinger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3301/Fri May 25 03:38:57 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: Roman Divacky , current@freebsd.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 12:49:47 -0000 On 05/25/07 06:54, Alexander Leidinger wrote: > Quoting Ruslan Ermilov (from Fri, 25 May 2007 > 14:52:03 +0400): > >> On Fri, May 25, 2007 at 11:51:46AM +0200, Roman Divacky wrote: >>> hi >>> >>> I just noticed that >>> spravci ~# ls -l /boot/kernel*/kernel >>> -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* >>> -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* >>> >>> ie. after gcc42 import the kernel size increased roughly by 60% thats >>> a little too much. is there any forgotten option or something that >>> makes the kernel grow so big? >>> >> My numbers are different (1% for the GENERIC kernel, and this >> is with all code changes in-between): >> >> -r-xr-xr-x 1 root wheel 8942239 Apr 11 16:20 kernel.old/kernel >> -r-xr-xr-x 1 root wheel 9035021 May 24 16:23 kernel/kernel >> >> bde@ also reported a 1% code bloat in another thread, so I think >> you should look at your own changes. > > My minimal kernel without additional changes shows: > -r-xr-xr-x 1 root wheel 2.5M 7 Apr 17:22 /boot/kernel.old/kernel* > -r-xr-xr-x 1 root wheel 8.1M 7 Apr 17:22 /boot/kernel.old/kernel.symbols* > -r-xr-xr-x 1 root wheel 3.9M 24 Mai 18:46 /boot/kernel/kernel* > -r-xr-xr-x 1 root wheel 14M 24 Mai 18:46 /boot/kernel/kernel.symbols* > > But this is with debugging (-g) enabled. How's the .symbols generated? > Can there be some new stuff in the kernel which needs to be handled in > the .symbols file generation? Hmm. Here's mine, with debugging, without WITNESS, or INVARIANTS: $ ls -alh kernel*/kernel -r-xr-xr-x 1 root wheel 7.2M Apr 24 10:24 kernel.old/kernel -r-xr-xr-x 1 root wheel 8.1M May 21 11:22 kernel/kernel Also - are you compiling in hints, or not? Eric From owner-freebsd-current@FreeBSD.ORG Fri May 25 12:54:17 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 861A016A400; Fri, 25 May 2007 12:54:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 06B1513C458; Fri, 25 May 2007 12:54:16 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PCsFlM052375; Fri, 25 May 2007 08:54:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PCsF4t050421; Fri, 25 May 2007 08:54:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E083673068; Fri, 25 May 2007 08:54:14 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525125414.E083673068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 08:54:14 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 12:54:17 -0000 TB --- 2007-05-25 11:06:32 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 11:06:32 - starting HEAD tinderbox run for ia64/ia64 TB --- 2007-05-25 11:06:32 - cleaning the object tree TB --- 2007-05-25 11:07:03 - checking out the source tree TB --- 2007-05-25 11:07:03 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2007-05-25 11:07:03 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 11:14:59 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 11:14:59 - cd /src TB --- 2007-05-25 11:14:59 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 11:15:01 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 12:52:32 UTC 2007 TB --- 2007-05-25 12:52:32 - generating LINT kernel config TB --- 2007-05-25 12:52:32 - cd /src/sys/ia64/conf TB --- 2007-05-25 12:52:32 - /usr/bin/make -B LINT TB --- 2007-05-25 12:52:32 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 12:52:32 - cd /src TB --- 2007-05-25 12:52:32 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 12:52:32 UTC 2007 >>> 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 [...] /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_xgmac.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_t3_hw.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 12:54:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 12:54:14 - ERROR: failed to build lint kernel TB --- 2007-05-25 12:54:14 - tinderbox aborted TB --- 0.77 user 2.65 system 6461.95 real http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 13:33:40 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5ADD216A421; Fri, 25 May 2007 13:33:40 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 08C2413C48A; Fri, 25 May 2007 13:33:39 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PDXdPA059124; Fri, 25 May 2007 09:33:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PDXdkP087489; Fri, 25 May 2007 09:33:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id EA4DE73068; Fri, 25 May 2007 09:33:38 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525133338.EA4DE73068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 09:33:38 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 13:33:40 -0000 TB --- 2007-05-25 12:09:16 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 12:09:16 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-05-25 12:09:16 - cleaning the object tree TB --- 2007-05-25 12:09:36 - checking out the source tree TB --- 2007-05-25 12:09:36 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-05-25 12:09:36 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 12:16:45 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 12:16:45 - cd /src TB --- 2007-05-25 12:16:45 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 12:16:46 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 13:31:45 UTC 2007 TB --- 2007-05-25 13:31:45 - generating LINT kernel config TB --- 2007-05-25 13:31:45 - cd /src/sys/powerpc/conf TB --- 2007-05-25 13:31:45 - /usr/bin/make -B LINT TB --- 2007-05-25 13:31:45 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 13:31:45 - cd /src TB --- 2007-05-25 13:31:45 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 13:31:45 UTC 2007 >>> 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 [...] /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_xgmac.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_t3_hw.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 13:33:38 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 13:33:38 - ERROR: failed to build lint kernel TB --- 2007-05-25 13:33:38 - tinderbox aborted TB --- 0.66 user 2.51 system 5061.98 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 14:02:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1C9F16A400 for ; Fri, 25 May 2007 14:02:51 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 40AF713C43E for ; Fri, 25 May 2007 14:02:50 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 25 May 2007 14:02:49 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp043) with SMTP; 25 May 2007 16:02:49 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX18T/6EgvAATN+9bZC5heCWIEXyTpEiIXVyXwj+NJ6 V9TpNw6A3SQHlN From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Fri, 25 May 2007 16:02:47 +0200 User-Agent: KMail/1.9.6 References: <20070525095146.GA45288@freebsd.org> In-Reply-To: <20070525095146.GA45288@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705251602.48778.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Roman Divacky Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 14:02:52 -0000 On Friday 25 May 2007 11:51:46 Roman Divacky wrote: > hi > > I just noticed that > spravci ~# ls -l /boot/kernel*/kernel > -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* > -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* > > ie. after gcc42 import the kernel size increased roughly by 60% thats > a little too much. is there any forgotten option or something that > makes the kernel grow so big? While I also see an increase, it's not that much. GENERIC from today's current, also compiled with gcc34 from ports (I had to delete two gcc options in sys/conf/kern.mk): gcc34: 6530916 gcc42: 7352560 gcc34 -Os: 6074468 gcc42 -Os: 10058032 That -Os produces a much larger kernel image looks worrying. Can anyone confirm this? I used make COPTFLAGS="-Os -pipe" buildkernel. For comparision, a stripped (uncompressed) debian unstable kernel (2.6.20): gcc 3.4: 2655188 gcc 4.2: 2595948 It seems the kernel is compiled with -Os by default. with -O2: gcc 3.4: 3036116 gcc 4.2: 2956568 Stefan From owner-freebsd-current@FreeBSD.ORG Fri May 25 14:17:17 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 023EE16A4F4; Fri, 25 May 2007 14:17:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id A3BD113C448; Fri, 25 May 2007 14:17:16 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PEHFaC066969; Fri, 25 May 2007 10:17:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PEHFof021882; Fri, 25 May 2007 10:17:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 94CFF73068; Fri, 25 May 2007 10:17:15 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525141715.94CFF73068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 10:17:15 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 14:17:17 -0000 TB --- 2007-05-25 12:54:15 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 12:54:15 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2007-05-25 12:54:15 - cleaning the object tree TB --- 2007-05-25 12:54:38 - checking out the source tree TB --- 2007-05-25 12:54:38 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2007-05-25 12:54:38 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 13:02:52 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 13:02:52 - cd /src TB --- 2007-05-25 13:02:52 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 13:02:53 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 14:15:23 UTC 2007 TB --- 2007-05-25 14:15:23 - generating LINT kernel config TB --- 2007-05-25 14:15:23 - cd /src/sys/sparc64/conf TB --- 2007-05-25 14:15:23 - /usr/bin/make -B LINT TB --- 2007-05-25 14:15:23 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 14:15:23 - cd /src TB --- 2007-05-25 14:15:23 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 14:15:24 UTC 2007 >>> 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 [...] /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_xgmac.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_t3_hw.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 14:17:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 14:17:15 - ERROR: failed to build lint kernel TB --- 2007-05-25 14:17:15 - tinderbox aborted TB --- 0.76 user 2.60 system 4980.38 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 14:52:39 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC52E16A421; Fri, 25 May 2007 14:52:39 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 545D313C46C; Fri, 25 May 2007 14:52:39 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PEqc5l077548; Fri, 25 May 2007 10:52:38 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PEqctD063668; Fri, 25 May 2007 10:52:38 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 6A27B73068; Fri, 25 May 2007 10:52:38 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525145238.6A27B73068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 10:52:38 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 14:52:39 -0000 TB --- 2007-05-25 13:33:39 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 13:33:39 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2007-05-25 13:33:39 - cleaning the object tree TB --- 2007-05-25 13:34:02 - checking out the source tree TB --- 2007-05-25 13:34:02 - cd /tinderbox/HEAD/sparc64/sun4v TB --- 2007-05-25 13:34:02 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 13:43:10 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 13:43:10 - cd /src TB --- 2007-05-25 13:43:10 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 13:43:12 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 14:51:17 UTC 2007 TB --- 2007-05-25 14:51:17 - generating LINT kernel config TB --- 2007-05-25 14:51:17 - cd /src/sys/sun4v/conf TB --- 2007-05-25 14:51:17 - /usr/bin/make -B LINT TB --- 2007-05-25 14:51:17 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 14:51:17 - cd /src TB --- 2007-05-25 14:51:17 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 14:51:18 UTC 2007 >>> 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 [...] /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_xgmac.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_t3_hw.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 14:52:38 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 14:52:38 - ERROR: failed to build lint kernel TB --- 2007-05-25 14:52:38 - tinderbox aborted TB --- 0.74 user 2.16 system 4739.21 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 15:05:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B71416A421 for ; Fri, 25 May 2007 15:05:22 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id EBA4B13C45B for ; Fri, 25 May 2007 15:05:21 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 6A4C48BFACB; Fri, 25 May 2007 17:05:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3okXlfT5PV2L; Fri, 25 May 2007 17:05:18 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 977378BFABB; Fri, 25 May 2007 17:05:18 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4PF5IjQ063618; Fri, 25 May 2007 17:05:18 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 25 May 2007 17:05:17 +0200 From: Roman Divacky To: Stefan Ehmann Message-ID: <20070525150517.GA63514@freebsd.org> References: <20070525095146.GA45288@freebsd.org> <200705251602.48778.shoesoft@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705251602.48778.shoesoft@gmx.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 15:05:22 -0000 On Fri, May 25, 2007 at 04:02:47PM +0200, Stefan Ehmann wrote: > On Friday 25 May 2007 11:51:46 Roman Divacky wrote: > > hi > > > > I just noticed that > > spravci ~# ls -l /boot/kernel*/kernel > > -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* > > -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* > > > > ie. after gcc42 import the kernel size increased roughly by 60% thats > > a little too much. is there any forgotten option or something that > > makes the kernel grow so big? > > While I also see an increase, it's not that much. > > GENERIC from today's current, also compiled with gcc34 from ports (I had to > delete two gcc options in sys/conf/kern.mk): > > gcc34: 6530916 > gcc42: 7352560 > gcc34 -Os: 6074468 > gcc42 -Os: 10058032 yes, thats it! I also used -Os. it looks like this occurs only with -Os optimization level. can someone else confirm this? and/or possibly explain this? thnx roman From owner-freebsd-current@FreeBSD.ORG Fri May 25 15:12:10 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF25916A46B for ; Fri, 25 May 2007 15:12:10 +0000 (UTC) (envelope-from caelian@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBE513C46A for ; Fri, 25 May 2007 15:12:09 +0000 (UTC) (envelope-from caelian@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so409431mue for ; Fri, 25 May 2007 08:12:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=W1quS60Oa3mL8viqSb/cW4fiWchHXM2qJEmQwje2h/GHBdOJZASmLqJJmHpzFLCM9r/wSwKTwu+EnGVOGQNnzl/YLWu9J+6C7e+MG6DBavDaEWehm/koQTMWHwuisRceC8AYua4B5RA8uC7cRitarEiABv2k//IsMVRDVXNXbko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=WHeu003Ai+w/T+l90//LTgVmyalvH3mEq53awVIc2sTu76Xv6mO0EYKczLuDPywk7LPBZhD/GJEDaRIXPlGaIcPctLV/SYed74a48LaORDCJEAlnMmKJ9kFz3QgT3o4YsbAus0ya3ICUhT4884LXITqwXR+ug9MhE5YgTupM8d4= Received: by 10.82.123.16 with SMTP id v16mr5632805buc.1180104216888; Fri, 25 May 2007 07:43:36 -0700 (PDT) Received: from ?172.16.0.8? ( [84.129.213.136]) by mx.google.com with ESMTP id j2sm13808557mue.2007.05.25.07.43.36; Fri, 25 May 2007 07:43:36 -0700 (PDT) From: Pascal Hofstee To: current@freebsd.org Content-Type: text/plain Date: Fri, 25 May 2007 16:43:34 +0200 Message-Id: <1180104214.19278.20.camel@neo.zion> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: gcc-4.2.0 update and f77 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: Fri, 25 May 2007 15:12:10 -0000 Hi, After the recent update to gcc-4.2.0 as the new base system compiler and a run of make delete-old and make delete-old-libs ... i noticed there's still a stale /usr/bin/f77 lying around on my system (version 3.4.6). Was this file forgotten to be added to ObsoleteFiles now that with gcc-4.2.0 we (to my understanding) dropped the fortran compiler from the base system ? -- Pascal Hofstee From owner-freebsd-current@FreeBSD.ORG Fri May 25 16:02:34 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CD2016A46B; Fri, 25 May 2007 16:02:34 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id E8B8413C458; Fri, 25 May 2007 16:02:33 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 9BDF561F5; Fri, 25 May 2007 20:02:32 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 6094661E2; Fri, 25 May 2007 20:02:32 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4PFvac3028112; Fri, 25 May 2007 19:57:36 +0400 (MSD) (envelope-from ru) Date: Fri, 25 May 2007 19:57:36 +0400 From: Ruslan Ermilov To: Pascal Hofstee Message-ID: <20070525155736.GB27738@rambler-co.ru> References: <1180104214.19278.20.camel@neo.zion> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="98e8jtXdkpgskNou" Content-Disposition: inline In-Reply-To: <1180104214.19278.20.camel@neo.zion> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: Alexander Kabaev , Xin LI , current@freebsd.org Subject: Re: gcc-4.2.0 update and f77 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: Fri, 25 May 2007 16:02:34 -0000 --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 25, 2007 at 04:43:34PM +0200, Pascal Hofstee wrote: > Hi, >=20 > After the recent update to gcc-4.2.0 as the new base system compiler and > a run of make delete-old and make delete-old-libs ... i noticed there's > still a stale /usr/bin/f77 lying around on my system (version 3.4.6). >=20 > Was this file forgotten to be added to ObsoleteFiles now that with > gcc-4.2.0 we (to my understanding) dropped the fortran compiler from the > base system ? >=20 ObsoleteFiles hasn't been updated at all for the GCC import. There are more obsolete files. And libg2c.* and libgcc_pic.a were mistakenly and incompletely put into OLD_LIBS as part of "20070521: shared library version bump" though they belong to the new GCC import dropping support for Fortran. (Incompletely because the libg2c.so symlink isn't removed.) The following patch is incomplete as it doesn't deal with usr/include/c++/3.4. %%% Index: ObsoleteFiles.inc =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/ObsoleteFiles.inc,v retrieving revision 1.86 diff -u -r1.86 ObsoleteFiles.inc --- ObsoleteFiles.inc 21 May 2007 08:53:26 -0000 1.86 +++ ObsoleteFiles.inc 25 May 2007 15:57:32 -0000 @@ -14,6 +14,24 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS las= t. # =20 +# 20070519: GCC 4.2 +OLD_FILES+=3Dusr/bin/f77 +OLD_FILES+=3Dusr/bin/protoize +OLD_FILES+=3Dusr/libexec/f771 +OLD_FILES+=3Dusr/share/info/g77.info.gz +OLD_FILES+=3Dusr/share/man/man1/f77.1.gz +OLD_LIBS+=3Dusr/lib/libg2c.a +OLD_LIBS+=3Dusr/lib/libg2c.so +OLD_LIBS+=3Dusr/lib/libg2c.so.2 +OLD_LIBS+=3Dusr/lib/libg2c_p.a +OLD_LIBS+=3Dusr/lib/libgcc_pic.a +.if ${TARGET_ARCH} =3D=3D "amd64" +OLD_LIBS+=3Dusr/lib32/libg2c.a +OLD_LIBS+=3Dusr/lib32/libg2c.so +OLD_LIBS+=3Dusr/lib32/libg2c.so.2 +OLD_LIBS+=3Dusr/lib32/libg2c_p.a +OLD_LIBS+=3Dusr/lib32/libgcc_pic.a +.endif # 20070521: shared library version bump OLD_LIBS+=3Dlib/libatm.so.4 OLD_LIBS+=3Dlib/libbegemot.so.2 @@ -45,10 +63,6 @@ OLD_LIBS+=3Dusr/lib/libform.so.3 OLD_LIBS+=3Dusr/lib/libformw.so.3 OLD_LIBS+=3Dusr/lib/libftpio.so.6 -OLD_LIBS+=3Dusr/lib/libg2c.a -OLD_LIBS+=3Dusr/lib/libg2c.so.2 -OLD_LIBS+=3Dusr/lib/libg2c_p.a -OLD_LIBS+=3Dusr/lib/libgcc_pic.a OLD_LIBS+=3Dusr/lib/libgpib.so.1 OLD_LIBS+=3Dusr/lib/libkse.so.2 OLD_LIBS+=3Dusr/lib/libmagic.so.2 %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --98e8jtXdkpgskNou Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGVwdwqRfpzJluFF4RAovNAJ4qv2KnyhxKHeMZsX2tLlbuATwOlwCfTdjb AqBgfNh4KMLjZ0Sd3TgBEKw= =Tv3c -----END PGP SIGNATURE----- --98e8jtXdkpgskNou-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 16:52:28 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C4CC16A41F; Fri, 25 May 2007 16:52:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0B04413C489; Fri, 25 May 2007 16:52:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PGqRJ3098609; Fri, 25 May 2007 12:52:27 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PGqRga071139; Fri, 25 May 2007 12:52:27 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id EEB5173068; Fri, 25 May 2007 12:52:26 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525165226.EEB5173068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 12:52:26 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 16:52:28 -0000 TB --- 2007-05-25 14:55:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 14:55:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2007-05-25 14:55:00 - cleaning the object tree TB --- 2007-05-25 14:55:40 - checking out the source tree TB --- 2007-05-25 14:55:40 - cd /tinderbox/HEAD/amd64/amd64 TB --- 2007-05-25 14:55:40 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 15:05:12 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 15:05:12 - cd /src TB --- 2007-05-25 15:05:12 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 15:05:14 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Fri May 25 16:50:08 UTC 2007 TB --- 2007-05-25 16:50:08 - generating LINT kernel config TB --- 2007-05-25 16:50:08 - cd /src/sys/amd64/conf TB --- 2007-05-25 16:50:08 - /usr/bin/make -B LINT TB --- 2007-05-25 16:50:08 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 16:50:08 - cd /src TB --- 2007-05-25 16:50:08 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 16:50:09 UTC 2007 >>> 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 [...] /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_xgmac.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_t3_hw.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 16:52:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 16:52:26 - ERROR: failed to build lint kernel TB --- 2007-05-25 16:52:26 - tinderbox aborted TB --- 0.86 user 3.83 system 7045.83 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 17:26:41 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3788516A421 for ; Fri, 25 May 2007 17:26:41 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id DA34313C43E for ; Fri, 25 May 2007 17:26:40 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so294706anc for ; Fri, 25 May 2007 10:26:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W/l+7c4/jDLnFdIuWPioNxNkprU/douAzqq8hXr1E+nf4niZMgabWVBUITWtPJo/1ff34pnyAwL5+XvPHN2etKACHlJXYLPsN3eKsMPzZAWR3eOJtZeES2zd9K6YK3Zaj3lLGmMvZrhRMYsKaQtQxMAOW1p6B/0COizTTHgHJns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XPywkgXfZoxS4QfFzP2tdcvIhwESB4EuSSqd/6g/HATlI4f/cgBLLBddO0OIXKnxNtKZ23T14DmfLC+27KDswugUg7bn34LE90NGB4ZXnAqoUy1PHaD8HCWTEyfsjTgAbFMfpY8KazO98eFCdE11YybzM+YTovLSZyY8ccS7u+c= Received: by 10.100.248.18 with SMTP id v18mr2883532anh.1180110272189; Fri, 25 May 2007 09:24:32 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Fri, 25 May 2007 09:24:32 -0700 (PDT) Message-ID: <499c70c0705250924g535476a9rab2fc78643a62399@mail.gmail.com> Date: Fri, 25 May 2007 19:24:32 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Roman Divacky" In-Reply-To: <20070525095146.GA45288@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070525095146.GA45288@freebsd.org> Cc: current@freebsd.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Fri, 25 May 2007 17:26:41 -0000 On 5/25/07, Roman Divacky wrote: > hi > > I just noticed that > spravci ~# ls -l /boot/kernel*/kernel > -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* > -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* > > ie. after gcc42 import the kernel size increased roughly by 60% thats > a little too much. is there any forgotten option or something that > makes the kernel grow so big? > > thnx > > roman Could you please share your make.conf? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-current@FreeBSD.ORG Fri May 25 17:40:38 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB75716A41F for ; Fri, 25 May 2007 17:40:38 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id A8DDC13C448 for ; Fri, 25 May 2007 17:40:38 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from vil1.ruomad.net (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id D6D34980A5 for ; Fri, 25 May 2007 19:40:37 +0200 (CEST) Message-ID: <46571F95.80605@free.fr> Date: Fri, 25 May 2007 19:40:37 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.0 (X11/20070522) MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: howto find build date for ports ? 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: Fri, 25 May 2007 17:40:38 -0000 Hello I wonder if there is a tool that can tell which prots were last built before a certain date ? Thanks in advance Bruno From owner-freebsd-current@FreeBSD.ORG Fri May 25 17:41:56 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA99016A46B; Fri, 25 May 2007 17:41:56 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1DE13C483; Fri, 25 May 2007 17:41:56 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PHft16004387; Fri, 25 May 2007 13:41:55 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PHftiR009021; Fri, 25 May 2007 13:41:55 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1228F73068; Fri, 25 May 2007 13:41:54 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525174155.1228F73068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 13:41:54 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 17:41:56 -0000 TB --- 2007-05-25 16:14:45 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 16:14:45 - starting HEAD tinderbox run for i386/i386 TB --- 2007-05-25 16:14:45 - cleaning the object tree TB --- 2007-05-25 16:15:20 - checking out the source tree TB --- 2007-05-25 16:15:20 - cd /tinderbox/HEAD/i386/i386 TB --- 2007-05-25 16:15:20 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 16:24:18 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 16:24:18 - cd /src TB --- 2007-05-25 16:24:18 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 16:24:19 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 17:39:52 UTC 2007 TB --- 2007-05-25 17:39:52 - generating LINT kernel config TB --- 2007-05-25 17:39:52 - cd /src/sys/i386/conf TB --- 2007-05-25 17:39:52 - /usr/bin/make -B LINT TB --- 2007-05-25 17:39:52 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 17:39:52 - cd /src TB --- 2007-05-25 17:39:52 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 17:39:53 UTC 2007 >>> 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 [...] /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_xgmac.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory In file included from /src/sys/dev/cxgb/common/cxgb_common.h:541, from /src/sys/dev/cxgb/common/cxgb_t3_hw.c:37: /src/sys/dev/cxgb/cxgb_adapter.h:58:41: error: dev/cxgb/ulp/toecore/toedev.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 17:41:54 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 17:41:54 - ERROR: failed to build lint kernel TB --- 2007-05-25 17:41:54 - tinderbox aborted TB --- 0.78 user 3.05 system 5229.51 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:09:46 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA3E416A468; Fri, 25 May 2007 18:09:46 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 58BAF13C455; Fri, 25 May 2007 18:09:46 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.101] (vpn-client-101.marcuscom.com [10.2.1.101]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4PI9u9A087267; Fri, 25 May 2007 14:09:57 -0400 (EDT) (envelope-from marcus@marcuscom.com) Message-ID: <4657267C.2070306@marcuscom.com> Date: Fri, 25 May 2007 14:10:04 -0400 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Attilio Rao References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> In-Reply-To: <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 18:09:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Attilio Rao wrote: > 2007/5/24, Joe Marcus Clarke : >> On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: >> > Jeff Roberson wrote: >> > > Thanks, Attilio and I will look at this right away. >> > > >> > > Jeff >> > > >> > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: >> > > >> > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an >> > >> instant, reproducible panic by doing: >> > >> >> > >> # cd /usr/src >> > >> # make -DNO_CLEAN buildworld >> > >> >> > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the >> > >> problem. Here is a dmesg and backtrace. In frame 6, it appears >> mdp is >> > >> NULL (i.e. td->td_proc->p_md = 0x0). >> > >> > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? >> >> No, this kernel does not have WITNESS or INVARIANTS. I can enable those >> tomorrow if that would give you more useful information. > > It would be very appreciated, since I've been unable to reproduce your > panic on a centrino dual core. I'm stopped in the debugger now with WITNESS and friends enabled. Same backtrace as before. I did a "show locks" and I see: exclusive spin mutex descriptor tables r = 0 (0xc08369f8) locked @ /usr/src/sys/i386/i386/sys_machdep.c:629 Please let me know what else you'd like to see while I'm at the debugger. FYI: this is a Pentium 4 with "options SMP" disabled. Joe - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVyZ8b2iPiv4Uz4cRAmMEAJwK6LoqXTtiA/XxD/IhsWxgIaJLNgCgj0iI wRRxfWOA+k3VV678FIJ4Vxs= =rvhj -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:16:23 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 458C416A46D for ; Fri, 25 May 2007 18:16:23 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id AA83513C480 for ; Fri, 25 May 2007 18:16:22 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so374468uge for ; Fri, 25 May 2007 11:16:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=L7GvgL4QR6hZs4B2Syu0mLtcDm9iGDfomVG5g8dJu8HHJLtjrHPg8IKeAllqzErXXuI7ri0yZflLR+7LQuUXRSI1LPBD0Tr3AEqZS4YGgN8uohVVlG55IRsieiy0PtZkj+xOfVD8v7PkOdv4JkvtvRQv52ss92OvFkXIt5h26tA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sSswTGJRFjPn/0N+0MShtM1UCeEOf9baxlZP8BcxXeamxeCEc5P1/fwFU1ZHnC2lM4U6ackdQXnzZ9BFpfqFXawaZc+6lnkEgF8gZw46zu9q9CnoF0SXBZ/GvG7WkJJ7LYij+v7mV94L6IOH95nMl+aDpXM+A5kT/Lqntm5xmYo= Received: by 10.78.178.5 with SMTP id a5mr1025523huf.1180116981629; Fri, 25 May 2007 11:16:21 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Fri, 25 May 2007 11:16:21 -0700 (PDT) Message-ID: <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> Date: Fri, 25 May 2007 20:16:21 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <4657267C.2070306@marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> X-Google-Sender-Auth: c871db806e7f966f Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 18:16:23 -0000 2007/5/25, Joe Marcus Clarke : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Attilio Rao wrote: > > 2007/5/24, Joe Marcus Clarke : > >> On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > >> > Jeff Roberson wrote: > >> > > Thanks, Attilio and I will look at this right away. > >> > > > >> > > Jeff > >> > > > >> > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > >> > > > >> > >> On a -CURRENT build today with Jeff's LDT locking changes, I get an > >> > >> instant, reproducible panic by doing: > >> > >> > >> > >> # cd /usr/src > >> > >> # make -DNO_CLEAN buildworld > >> > >> > >> > >> Backing out the LDT changes to /sys/i386/i386/*machdep* corrects the > >> > >> problem. Here is a dmesg and backtrace. In frame 6, it appears > >> mdp is > >> > >> NULL (i.e. td->td_proc->p_md = 0x0). > >> > > >> > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? > >> > >> No, this kernel does not have WITNESS or INVARIANTS. I can enable those > >> tomorrow if that would give you more useful information. > > > > It would be very appreciated, since I've been unable to reproduce your > > panic on a centrino dual core. > > I'm stopped in the debugger now with WITNESS and friends enabled. Same > backtrace as before. I did a "show locks" and I see: > > exclusive spin mutex descriptor tables r = 0 (0xc08369f8) locked @ > /usr/src/sys/i386/i386/sys_machdep.c:629 > > Please let me know what else you'd like to see while I'm at the > debugger. FYI: this is a Pentium 4 with "options SMP" disabled. This is a multicore? do you have PREEMPTION/FULL_PREEMPTION installed? Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:16:25 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8678D16A469; Fri, 25 May 2007 18:16:25 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5EEB313C447; Fri, 25 May 2007 18:16:25 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PIGOi6008208; Fri, 25 May 2007 14:16:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PIGOgu005180; Fri, 25 May 2007 14:16:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 542F173068; Fri, 25 May 2007 14:16:24 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525181624.542F173068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 14:16:24 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 18:16:25 -0000 TB --- 2007-05-25 16:52:27 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 16:52:27 - starting HEAD tinderbox run for i386/pc98 TB --- 2007-05-25 16:52:27 - cleaning the object tree TB --- 2007-05-25 16:52:53 - checking out the source tree TB --- 2007-05-25 16:52:53 - cd /tinderbox/HEAD/i386/pc98 TB --- 2007-05-25 16:52:53 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 17:01:28 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 17:01:28 - cd /src TB --- 2007-05-25 17:01:28 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 17:01:29 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 18:14:37 UTC 2007 TB --- 2007-05-25 18:14:37 - generating LINT kernel config TB --- 2007-05-25 18:14:37 - cd /src/sys/pc98/conf TB --- 2007-05-25 18:14:37 - /usr/bin/make -B LINT TB --- 2007-05-25 18:14:37 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 18:14:37 - cd /src TB --- 2007-05-25 18:14:37 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 18:14:37 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/pci/agp_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/pc98/pc98/canbus_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding /src/sys/dev/cxgb/cxgb_offload.c:63:43: error: dev/cxgb/common/cxgb_ctl_defs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 18:16:23 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 18:16:23 - ERROR: failed to build lint kernel TB --- 2007-05-25 18:16:23 - tinderbox aborted TB --- 0.84 user 2.83 system 5036.91 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:22:23 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C97A16A421; Fri, 25 May 2007 18:22:23 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 9E50413C483; Fri, 25 May 2007 18:22:22 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.101] (vpn-client-101.marcuscom.com [10.2.1.101]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4PIMWNM087459; Fri, 25 May 2007 14:22:32 -0400 (EDT) (envelope-from marcus@marcuscom.com) Message-ID: <46572970.5080201@marcuscom.com> Date: Fri, 25 May 2007 14:22:40 -0400 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Attilio Rao References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> In-Reply-To: <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 18:22:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Attilio Rao wrote: > 2007/5/25, Joe Marcus Clarke : >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Attilio Rao wrote: >> > 2007/5/24, Joe Marcus Clarke : >> >> On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: >> >> > Jeff Roberson wrote: >> >> > > Thanks, Attilio and I will look at this right away. >> >> > > >> >> > > Jeff >> >> > > >> >> > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: >> >> > > >> >> > >> On a -CURRENT build today with Jeff's LDT locking changes, I >> get an >> >> > >> instant, reproducible panic by doing: >> >> > >> >> >> > >> # cd /usr/src >> >> > >> # make -DNO_CLEAN buildworld >> >> > >> >> >> > >> Backing out the LDT changes to /sys/i386/i386/*machdep* >> corrects the >> >> > >> problem. Here is a dmesg and backtrace. In frame 6, it appears >> >> mdp is >> >> > >> NULL (i.e. td->td_proc->p_md = 0x0). >> >> > >> >> > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? >> >> >> >> No, this kernel does not have WITNESS or INVARIANTS. I can enable >> those >> >> tomorrow if that would give you more useful information. >> > >> > It would be very appreciated, since I've been unable to reproduce your >> > panic on a centrino dual core. >> >> I'm stopped in the debugger now with WITNESS and friends enabled. Same >> backtrace as before. I did a "show locks" and I see: >> >> exclusive spin mutex descriptor tables r = 0 (0xc08369f8) locked @ >> /usr/src/sys/i386/i386/sys_machdep.c:629 >> >> Please let me know what else you'd like to see while I'm at the >> debugger. FYI: this is a Pentium 4 with "options SMP" disabled. > > This is a multicore? do you have PREEMPTION/FULL_PREEMPTION installed? No, single core with PREEMPTION enabled only. Joe > > Attilio > > - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVylwb2iPiv4Uz4cRAvDaAJ0eD4swI1OvZ6vINo3TlPjnfqEUMwCgg2jo 9wB314PFlbbLLcwuX2qyOy8= =qmFu -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:35:23 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45CE116A421 for ; Fri, 25 May 2007 18:35:23 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id AA50A13C4C3 for ; Fri, 25 May 2007 18:35:22 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so378195uge for ; Fri, 25 May 2007 11:35:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Alggxu6Z+Jy5/HKdexZ4iBWjOgdNrk06iz/1DdtC9Qy1f3TPxXnPtkS0+YtoQ5IAraKIRZM/uZHQsiy4oQdm7fdn5lwB5tTQtFZiKykXhliqSyzX9k+RYLQhdEFaF4vHO4C7m1SuPjSPUxRgCehb8NCu2x/ZswDoS189pwcWsoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RtpqvhSr9fNzOQ2oXD7n+xJhdvh0cc02Wk3VA5bNL0BMXnJ4qZkZGoUBw5Al9Kskcd7hTkF4SXDNeD1jo42yHM5OnHFhlqf/JxIpoxZGGZje1G4GobmZ6nmHdjdgbGUeQ/XxNrJCgRrQy+7uBmJAwzVepmrNsbZIuJQc41iAuks= Received: by 10.78.159.7 with SMTP id h7mr1029793hue.1180118121236; Fri, 25 May 2007 11:35:21 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Fri, 25 May 2007 11:35:21 -0700 (PDT) Message-ID: <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> Date: Fri, 25 May 2007 20:35:21 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <46572970.5080201@marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> X-Google-Sender-Auth: c3131f12e3433a9f Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 18:35:23 -0000 2007/5/25, Joe Marcus Clarke : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Attilio Rao wrote: > > 2007/5/25, Joe Marcus Clarke : > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> Attilio Rao wrote: > >> > 2007/5/24, Joe Marcus Clarke : > >> >> On Thu, 2007-05-24 at 20:13 +0200, Attilio Rao wrote: > >> >> > Jeff Roberson wrote: > >> >> > > Thanks, Attilio and I will look at this right away. > >> >> > > > >> >> > > Jeff > >> >> > > > >> >> > > On Wed, 23 May 2007, Joe Marcus Clarke wrote: > >> >> > > > >> >> > >> On a -CURRENT build today with Jeff's LDT locking changes, I > >> get an > >> >> > >> instant, reproducible panic by doing: > >> >> > >> > >> >> > >> # cd /usr/src > >> >> > >> # make -DNO_CLEAN buildworld > >> >> > >> > >> >> > >> Backing out the LDT changes to /sys/i386/i386/*machdep* > >> corrects the > >> >> > >> problem. Here is a dmesg and backtrace. In frame 6, it appears > >> >> mdp is > >> >> > >> NULL (i.e. td->td_proc->p_md = 0x0). > >> >> > > >> >> > Did you enable WITNESS/INVARIANTS/INVARIANT_SUPPORT? > >> >> > >> >> No, this kernel does not have WITNESS or INVARIANTS. I can enable > >> those > >> >> tomorrow if that would give you more useful information. > >> > > >> > It would be very appreciated, since I've been unable to reproduce your > >> > panic on a centrino dual core. > >> > >> I'm stopped in the debugger now with WITNESS and friends enabled. Same > >> backtrace as before. I did a "show locks" and I see: > >> > >> exclusive spin mutex descriptor tables r = 0 (0xc08369f8) locked @ > >> /usr/src/sys/i386/i386/sys_machdep.c:629 > >> > >> Please let me know what else you'd like to see while I'm at the > >> debugger. FYI: this is a Pentium 4 with "options SMP" disabled. > > > > This is a multicore? do you have PREEMPTION/FULL_PREEMPTION installed? > > No, single core with PREEMPTION enabled only. Very strange. Could you disable PREEMPTION and see if the error persists? Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Fri May 25 18:39:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E4C416A479 for ; Fri, 25 May 2007 18:39:22 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id E088A13C44B for ; Fri, 25 May 2007 18:39:21 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4PIc7rY045403 for ; Fri, 25 May 2007 11:38:07 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4PIc7e5045402 for freebsd-current@freebsd.org; Fri, 25 May 2007 11:38:07 -0700 (PDT) (envelope-from sgk) Date: Fri, 25 May 2007 11:38:07 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070525183806.GA45369@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: PS/2 mouse disappearing with gcc-4.2 built kernel 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: Fri, 25 May 2007 18:39:22 -0000 There seems to be a small problem with the psm0 device. In particular, my Inspiron 4150 laptop has a touchpad, and I plug a PS/2 mouse into the PS/2 port on the back. At some point, the console shows May 25 11:31:44 mobile kernel: psm0: failed to reset the aux device. May 25 11:31:44 mobile kernel: psm0: the aux device has gone! (reinitialize). and the mouse is gone. Of course, a disappearing mouse while in X is somewhat inconvenient. -- Steve From owner-freebsd-current@FreeBSD.ORG Fri May 25 19:09:42 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E9AD16A537 for ; Fri, 25 May 2007 19:09:42 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 30EAD13C43E for ; Fri, 25 May 2007 19:09:42 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so385033uge for ; Fri, 25 May 2007 12:09:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=dM2TaRHbIEucOItc7gJoV636HAa5eQhyM6Ncdd3+sSm9ARWXdje2X112xn4cWQm0nS43w/UxmBmHyRb10QUG51ISiunDx3MsHtpCn2GKehfXvBHFWiXDsBkpknrZv8O9xpakCZnypjfbfvkkqUKstvHK+1Xr80Jhf5VQqJsodPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=f/6gLYXq8F4Ng5eXsovnV9nNoQSo5MaZIqwVxYwQbvTk90WPOoKZmB0KyRmR60D8M532Z8IfoLZRzYM81UHnXvpg+cmUYLtz+3aii9GxsvrOAchSETnIfCMRYymx+X66S//ZMGP8ZC/DDLlyrKrfr1TrA39yGWVmJ4ZF23NWHGI= Received: by 10.78.181.13 with SMTP id d13mr1034185huf.1180120181045; Fri, 25 May 2007 12:09:41 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Fri, 25 May 2007 12:09:40 -0700 (PDT) Message-ID: <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> Date: Fri, 25 May 2007 21:09:40 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> X-Google-Sender-Auth: 33c7a08ba47aa1d5 Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 19:09:42 -0000 2007/5/25, Attilio Rao : > 2007/5/25, Joe Marcus Clarke : > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > No, single core with PREEMPTION enabled only. > > Very strange. > Could you disable PREEMPTION and see if the error persists? Joe, maybe I've found the bug. I will let you have a patch for testing in the short time. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Fri May 25 19:13:45 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DCFB16A46C; Fri, 25 May 2007 19:13:45 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id E49D813C4B8; Fri, 25 May 2007 19:13:44 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.193] (vpn-client-193.marcuscom.com [10.2.1.193]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4PJDu6I087952; Fri, 25 May 2007 15:13:56 -0400 (EDT) (envelope-from marcus@marcuscom.com) Message-ID: <4657357C.4050009@marcuscom.com> Date: Fri, 25 May 2007 15:14:04 -0400 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Attilio Rao References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> In-Reply-To: <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 19:13:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Attilio Rao wrote: > 2007/5/25, Attilio Rao : >> 2007/5/25, Joe Marcus Clarke : >> > -----BEGIN PGP SIGNED MESSAGE----- >> > Hash: SHA1 >> > >> > >> > No, single core with PREEMPTION enabled only. >> >> Very strange. >> Could you disable PREEMPTION and see if the error persists? > > Joe, > maybe I've found the bug. > I will let you have a patch for testing in the short time. Thanks. I just finished building a PREEMPTION-less kernel. I'll hold off on the test until I get your patch. Joe - -- PGP Key : http://www.marcuscom.com/pgp.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVzV8b2iPiv4Uz4cRArQPAKCTpkvfC4wEh2IdoE5ZEFi+d7p0nwCgj0c6 dMdt+N/wURHlq/TcX5SrA2k= =i1/7 -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri May 25 19:30:08 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 100DE16A400; Fri, 25 May 2007 19:30:08 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id DCB4F13C455; Fri, 25 May 2007 19:30:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PJU79q016149; Fri, 25 May 2007 15:30:07 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PJU7tO093755; Fri, 25 May 2007 15:30:07 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D4DCB73068; Fri, 25 May 2007 15:30:06 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525193006.D4DCB73068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 15:30:06 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 19:30:08 -0000 TB --- 2007-05-25 17:41:55 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 17:41:55 - starting HEAD tinderbox run for ia64/ia64 TB --- 2007-05-25 17:41:55 - cleaning the object tree TB --- 2007-05-25 17:42:19 - checking out the source tree TB --- 2007-05-25 17:42:19 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2007-05-25 17:42:19 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 17:50:20 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 17:50:20 - cd /src TB --- 2007-05-25 17:50:20 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 17:50:21 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 19:28:26 UTC 2007 TB --- 2007-05-25 19:28:26 - generating LINT kernel config TB --- 2007-05-25 19:28:26 - cd /src/sys/ia64/conf TB --- 2007-05-25 19:28:26 - /usr/bin/make -B LINT TB --- 2007-05-25 19:28:26 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 19:28:26 - cd /src TB --- 2007-05-25 19:28:26 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 19:28:27 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/pci/agp_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding /src/sys/dev/cxgb/cxgb_offload.c:63:43: error: dev/cxgb/common/cxgb_ctl_defs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 19:30:06 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 19:30:06 - ERROR: failed to build lint kernel TB --- 2007-05-25 19:30:06 - tinderbox aborted TB --- 0.62 user 1.71 system 6491.40 real http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 19:40:58 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B38FB16A468; Fri, 25 May 2007 19:40:58 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9A813C458; Fri, 25 May 2007 19:40:58 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PJewCL017967; Fri, 25 May 2007 15:40:58 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.8/8.13.8) with ESMTP id l4PJew0w076653; Fri, 25 May 2007 15:40:58 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 3B62573068; Fri, 25 May 2007 15:40:56 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070525194056.3B62573068@freebsd-current.sentex.ca> Date: Fri, 25 May 2007 15:40:56 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 19:40:58 -0000 TB --- 2007-05-25 18:16:24 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-25 18:16:24 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-05-25 18:16:24 - cleaning the object tree TB --- 2007-05-25 18:16:36 - checking out the source tree TB --- 2007-05-25 18:16:36 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-05-25 18:16:36 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-25 18:24:18 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-25 18:24:18 - cd /src TB --- 2007-05-25 18:24:18 - /usr/bin/make -B buildworld >>> World build started on Fri May 25 18:24:19 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri May 25 19:39:15 UTC 2007 TB --- 2007-05-25 19:39:15 - generating LINT kernel config TB --- 2007-05-25 19:39:15 - cd /src/sys/powerpc/conf TB --- 2007-05-25 19:39:15 - /usr/bin/make -B LINT TB --- 2007-05-25 19:39:15 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-05-25 19:39:15 - cd /src TB --- 2007-05-25 19:39:15 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 25 19:39:15 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/mmu_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/powerpc/pic_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ofw/ofw_bus_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/em -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding /src/sys/dev/cxgb/cxgb_offload.c:63:43: error: dev/cxgb/common/cxgb_ctl_defs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-25 19:40:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-25 19:40:56 - ERROR: failed to build lint kernel TB --- 2007-05-25 19:40:56 - tinderbox aborted TB --- 0.55 user 1.69 system 5071.80 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Fri May 25 19:58:41 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A8A916A488 for ; Fri, 25 May 2007 19:58:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id ECAD113C465 for ; Fri, 25 May 2007 19:58:40 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup171.ach.sch.gr [81.186.70.171]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4PJv8bk006074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2007 22:57:17 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4PJuttU002474; Fri, 25 May 2007 22:56:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4PJur7h002473; Fri, 25 May 2007 22:56:53 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 25 May 2007 22:56:53 +0300 From: Giorgos Keramidas To: Brian Candler Message-ID: <20070525195653.GA1824@kobe.laptop> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> <20070525115242.GA31555@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070525115242.GA31555@uk.tiscali.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.688, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.51, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@FreeBSD.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 19:58:41 -0000 On 2007-05-25 12:52, Brian Candler wrote: >On Fri, May 25, 2007 at 01:43:42PM +0300, Giorgos Keramidas wrote: >> Using Subversion of a more distributed system like Git and Mercurial, >> can work in the way you are describing, but you would have to be _very_ >> careful about file ownership (so that you don't accidentally leak files >> owned by root to other accounts, for example), and permissions (so that >> you don't suddenly let everyone read /etc/master.passwd, or something >> equally or more evil). > > That's a very good point. There's svn:executable, but that's only a small > part of the equation. Perhaps mtree-like settings could be put into a user > property, and a post-checkout script could enforce them. > > The problem is, I believe, analagous to what happens when you do the initial > system build and create the tarballs: you have to ensure that all the files > in the tarballs are owned by the correct accounts and have the correct mode > (not root:root and 0755, or whatever they got when the compiler built them) > > If you put this information in an appropriate place for the client, it can > apply it locally after it has done an svn checkout. Indeed. This crossed my mind too. An mtree script which can run every time something is "committed", "updated" or resynced in any way from a master copy was my initial thought of working around the permissions and ownership issues. Then again, a full 'checkout' can take a lot of time, and this may create a "window of time" during which some files have very wrong permissions and ownership. I'm not sure if this is good enough for all possible cases. >> Subversion support for making 'local' changes to a checked out workspace >> and keeping them local is simply unavailable. The checked out tree >> would be "polluted" with .svn/ subdirectories with all the metadata of >> the Subversion workspace too (that's where permissions will be tricky to >> get right). >> >> The disk space requirements of a Subversion checkout are also very big. >> At least twice the size of the checked out files, and then some more. > > Having .svn directories all over the place is not a worry to me, and in fact > that's what gives you most of the practical advantages: svn diff and svn > revert will depend on this, as well as merging of non-conflicting changes. > > rm /bin/ls > svn revert /bin/ls > # happy days :-) > > Permissions on the .svn directories need to be gotten right, but I think > that simply setting them to root:root 0700 would be safe. > > You'd have a hard job finding a disk below 160GB these days, so the size > utilisation doesn't bother me either. If disk is not a space, there better tools for managing 'local' per workspace and per-checkout changes. Git and Mercurial are two of them, and I like a lot better their support for "pushing" and "pulling" changes from a master repository. But before you read below, a word of caution... What follows is an unverified brainstorming about management of a blobs of files with a distributed SCM like Mercurial (this is the one I'm most familiar with, so I'll let other people speak for Git as they see fit). I haven't put this to production use anywhere, and I don't really recommend using an SCM to manage installed files, but since you seem to like the idea, the following are a few random thoughts intermixed with a mini 'tutorial' about Mercurial/Hg. Their merge support is also excellent, so you can keep local changes like the '/etc/hosts' contents and other per-system changes tracked properly as the master copy is updated. The 'hooks' of Mercurial for example are nice for running "update" scripts which take care of the permission problems, similar to the one you mentioned above. Mercurial and Git are a very big departure from the centralized way of working with Subversion, but it is precisely this 'distributedness' that makes them ideal for keeping local per-system changes whenever these local changes make sense. For example, if you want to keep a central copy of the FreeBSD base system in a 'master' machine called 'buildhost', you can create a Mercurial workspace with the binary files of a FreeBSD base system at: buildhost:/repos/freebsd/releng7/base To populate a new disk with the files of the freebsd7/base workspace, essentially "installing" a new copy of FreeBSD on the system, you can mount the new disk on your laptop (i.e. through a USB disk connection), and use something like: laptop# fdisk -BI /dev/da0 laptop# bsdlabel -w -B /dev/da0s1 laptop# newfs /dev/da0s1a and then you can 'clone' the base installation from 'buildhost', through an SSH tunneled clone operation: laptop# mount /dev/da0s1a /mnt laptop# cd /mnt laptop# hg clone ssh://buildhost//repos/freebsd/releng7/base . The next step would be to edit the /mnt files locally, while the disk is still connected on your laptop (i.e. to fix `/etc/fstab' and other files which do need local changes). You install hook scripts in /mnt/.hg/hooks and set them up to run every time a group of changes is pulled, every time a commit is done in the /mnt workspace, and every time 'hg update' is used to update local files: laptop# cd /mnt laptop# cat .hg/hgrc [paths] default = ssh://buildhost//repos/freebsd/releng7/base [hooks] changegroup = /bin/sh .hg/hooks/fixperms.sh commit = /bin/sh .hg/hooks/fixperms.sh update = /bin/sh .hg/hooks/fixperms.sh laptop# A good idea is to also set up a per-managed host workspace at the buildhost, i.e. using workspace paths like: ssh://buildhost//repos/freebsd/hosts/kobe and setting the 'default-push' path of .hg/hgrc to point to the 'backup' clone of the host 'kobe': laptop# cat .hg/hgrc [paths] default = ssh://buildhost//repos/freebsd/releng7/base default-push = ssh://buildhost//repos/freebsd/hosts/kobe Then you can unmount the new disk, move it to its destination machine and let the "distributedness" take over. Every time something changes in the 'master' copy of the base installation, you can "pull" the new changes: laptop$ ssh kobe kobe$ sudo -i Password: ****** kobe# cd / kobe# hg incoming This will show you the changes you would have 'pulled' but not modify anything, i.e.: kobe# hg incoming comparing with ssh://buildhost//repos/freebsd/releng7/base searching for changes no changes found kobe# You can "pull" new changes with "hg pull": kobe# hg incoming comparing with ssh://buildhost//repos/freebsd/releng7/base searching for changes adding changesets adding manifests adding file changes added 29 changesets with 47 changes to 26 files (-1 heads) (run 'hg update' to get a working copy) kobe# If there are merge conflicts, Mercurial will create new "heads" with the conflicting changes but *not* affect any of the files until you run "hg update". Local changes which have been 'committed' in the managed host's file system will not be lost when you pull. You can 'merge' the remote updates, using 3-way merge tools (i.e. kdiff3 or even plain good ol' vim), you can revert the merge, you can roll back changes to a known good-state, etc. and so on. When managing a large set of files as a 'branch', everything that can be done with Subversion can also be done with Mercurial, and you also get the benefits of a fully distributed system, including (but not expressly limited to) the following: + Blazingly fast local operation + Minimal dependency on the network (you never have to go over the network for looking at history and making commits/changes, unless you really want to) + Speed. It's amazing how horrendously slow some operations can be when you have to go over the network for *everything* except perhaps one operation, like "svn diff". + Fully usable local history, diffs + Merge tracking that is *far* superior to what CVS or Subversion have ever provided so far + The ability to pull/push identical changes to multiple hosts + Tunnelling of SCM operation through SSH, HTTP, HTTPS + Full support for arbitrarily complex local changes, completely independently of remote hosts (i.e. no host will be affected by local changes, unless the changes are specifically "pushed" to it, or "pulled" while working on the host itself) + Most importantly. Changes can be tested *locally* on the host which they should affect and only on that host! If they don't work, rollback is easy and nobody's central Subversion repository is bloated by the changes, as they have never hit anybody's tree. Combined with the extremely easy clonability of "Hg-managed" blobs of files, and a test host someplace out of production, you can guess how easy testing of changes which are highly experimental can be ;-) IMHO, if you _have_ to use an SCM to manage the FreeBSD base system, and you are ok with the idea of running hook scripts to fix permission and ownership of the checked out files (as you seem to be), don't use Subversion... use a fully distributed tool. It's inherently better for almost any sort of job which requires 'merging' of local changes with a remote master copy. FWIW, more information about Mercurial (which I very briefly advocated for above) and Git can be found online, at their sites: Mercurial: http://www.selenic.com/mercurial/ Git: http://git.or.cz/ From owner-freebsd-current@FreeBSD.ORG Fri May 25 20:01:19 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79C1416A421 for ; Fri, 25 May 2007 20:01:19 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id D4C0513C502 for ; Fri, 25 May 2007 20:01:18 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup171.ach.sch.gr [81.186.70.171]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4PK067x006139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2007 23:00:27 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4PJxn0X002496; Fri, 25 May 2007 22:59:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4PJxn2W002495; Fri, 25 May 2007 22:59:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 25 May 2007 22:59:49 +0300 From: Giorgos Keramidas To: "Brandon S. Allbery KF8NH" Message-ID: <20070525195949.GB1824@kobe.laptop> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> <19A57FD4-B9D7-4C47-9E7B-1691110F4C27@ece.cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19A57FD4-B9D7-4C47-9E7B-1691110F4C27@ece.cmu.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.69, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.51, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@FreeBSD.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 20:01:19 -0000 On 2007-05-25 08:01, "Brandon S. Allbery KF8NH" wrote: >On May 25, 2007, at 6:43 , Giorgos Keramidas wrote: >> PS: Have you already tried systems like sysutils/cfengine and given up >> on them for your own reasons? > > I think he's talking about something like freebsd-update, not SCM. Oops. I was confused then (and posted a large-ish post about SCM tools which I think are better than Subversion for multi-host management). Subversion *is* an SCM tool, hence the confusion. Oh well... From owner-freebsd-current@FreeBSD.ORG Fri May 25 20:13:27 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4556916A421 for ; Fri, 25 May 2007 20:13:27 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 075EB13C45E for ; Fri, 25 May 2007 20:13:26 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 05695-07; Fri, 25 May 2007 21:42:40 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-170-5.dynamic.qsc.de [212.202.170.5]) by mail.liberty-hosting.de (Postfix) with ESMTP id F410615B14B; Fri, 25 May 2007 21:42:39 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id EF3D145046; Fri, 25 May 2007 21:42:35 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Fri, 25 May 2007 21:42:35 +0200 (CEST) Message-ID: <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <46571F95.80605@free.fr> References: <46571F95.80605@free.fr> Date: Fri, 25 May 2007 21:42:35 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: "Bruno Damour" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: freebsd-current@freebsd.org Subject: Re: howto find build date for ports ? 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: Fri, 25 May 2007 20:13:27 -0000 Hello Bruno, > I wonder if there is a tool that can tell which prots were last built > before a certain date ? > Thanks in advance find /var/db/pkg -type d -mtime +30 lists all ports that haven't been touched for more than 30 days. Regards Björn P.S. questions@freebsd.org is a better place for those questions. ;) From owner-freebsd-current@FreeBSD.ORG Fri May 25 20:14:30 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62BDF16A469 for ; Fri, 25 May 2007 20:14:30 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id B9DBC13C4C7 for ; Fri, 25 May 2007 20:14:29 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup171.ach.sch.gr [81.186.70.171]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4PKDCGc007852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2007 23:13:21 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4PKBMFF002641; Fri, 25 May 2007 23:11:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4PKB7oJ002640; Fri, 25 May 2007 23:11:07 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 25 May 2007 23:11:07 +0300 From: Giorgos Keramidas To: Jonathan Weiss Message-ID: <20070525201106.GE1824@kobe.laptop> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> <4656D01F.4070701@innerewut.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4656D01F.4070701@innerewut.de> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.688, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.51, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@FreeBSD.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 20:14:30 -0000 On 2007-05-25 14:01, Jonathan Weiss wrote: >Giorgos Keramidas wrote: >> The checked out tree would be "polluted" with .svn/ >> subdirectories with all the metadata of the Subversion >> workspace too (that's where permissions will be tricky to get >> right). > > The is always SVK with does not pollute the working dir. Yay! I'm not mad for suggesting a distributed SCM in another post elsethread. You're right of course. Now, I'm not 100% sure I like the idea of using an SCM tool for managing binary files like the FreeBSD base system, but it's kind of nice that other people like the idea of using a distributed SCM for this :) From owner-freebsd-current@FreeBSD.ORG Fri May 25 20:42:29 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 293D116A421 for ; Fri, 25 May 2007 20:42:29 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from plouf.absolight.net (plouf.absolight.net [193.30.224.136]) by mx1.freebsd.org (Postfix) with ESMTP id DA04813C45B for ; Fri, 25 May 2007 20:42:26 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (ATuin.in.mat.cc [193.30.224.125]) by plouf.absolight.net (Postfix) with ESMTP id D3F0A60416B; Fri, 25 May 2007 22:42:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id C115B4C158C; Fri, 25 May 2007 22:42:24 +0200 (CEST) Date: Fri, 25 May 2007 22:42:22 +0200 From: Mathieu Arnold To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= , Bruno Damour Message-ID: In-Reply-To: <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> References: <46571F95.80605@free.fr> <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========F34A70F3CC10C7D86A5D==========" Cc: freebsd-current@freebsd.org Subject: Re: howto find build date for ports ? 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: Fri, 25 May 2007 20:42:29 -0000 --==========F34A70F3CC10C7D86A5D========== Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline +-Le 25/05/07 21:42 +0200, Bj=F6rn K=F6nig a dit : | Hello Bruno, |=20 |> I wonder if there is a tool that can tell which prots were last built |> before a certain date ? |> Thanks in advance |=20 | find /var/db/pkg -type d -mtime +30 |=20 | lists all ports that haven't been touched for more than 30 days. That's actually true, but it's not what Bruno wanted, in case you portupgrade foo that bar depends on, portupgrade will change bar/+CONTENTS to match the new foo version, and the bar directory will be updated. I believe that find /var/db/pkg/ -name '+DESC' -mtime +30 will be more accurate. Regards, --=20 Mathieu Arnold --==========F34A70F3CC10C7D86A5D========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGV0owJqR8av5thQ8RAlMLAKDNPMWW3GkJCKkjl041NsyxEF1ShQCfYqTB AHz73QRIki+2WZI15vzPyQo= =IvwY -----END PGP SIGNATURE----- --==========F34A70F3CC10C7D86A5D==========-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 21:42:38 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80EB216A421 for ; Fri, 25 May 2007 21:42:38 +0000 (UTC) (envelope-from allbery@ece.cmu.edu) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.freebsd.org (Postfix) with ESMTP id 5E33013C44B for ; Fri, 25 May 2007 21:42:38 +0000 (UTC) (envelope-from allbery@ece.cmu.edu) Received: from [10.9.204.128] (dsl093-061-215.pit1.dsl.speakeasy.net [66.93.61.215]) by bache.ece.cmu.edu (Postfix) with ESMTP id 7B346A1; Fri, 25 May 2007 17:42:37 -0400 (EDT) In-Reply-To: <20070525195949.GB1824@kobe.laptop> References: <20070525074925.GA19294@uk.tiscali.com> <20070525104342.GA2761@kobe.laptop> <19A57FD4-B9D7-4C47-9E7B-1691110F4C27@ece.cmu.edu> <20070525195949.GB1824@kobe.laptop> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Brandon S. Allbery KF8NH" Date: Fri, 25 May 2007 17:42:34 -0400 To: Giorgos Keramidas X-Mailer: Apple Mail (2.752.2) Cc: freebsd-current@FreeBSD.org Subject: Re: Using Subversion for binary distribution? 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: Fri, 25 May 2007 21:42:38 -0000 On May 25, 2007, at 15:59 , Giorgos Keramidas wrote: > On 2007-05-25 08:01, "Brandon S. Allbery KF8NH" > wrote: >> On May 25, 2007, at 6:43 , Giorgos Keramidas wrote: >>> PS: Have you already tried systems like sysutils/cfengine and >>> given up >>> on them for your own reasons? >> >> I think he's talking about something like freebsd-update, not SCM. > > Oops. I was confused then (and posted a large-ish post about SCM > tools > which I think are better than Subversion for multi-host management). > > Subversion *is* an SCM tool, hence the confusion. Oh well... Whoops, definitions and TLA confusion. Where I come from you can use tools like Subversion as part of a system configuration management mechanism, but Subversion is not very good at it by itself. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From owner-freebsd-current@FreeBSD.ORG Fri May 25 22:50:47 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E585B16A469 for ; Fri, 25 May 2007 22:50:47 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 776AF13C46E for ; Fri, 25 May 2007 22:50:47 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so425678uge for ; Fri, 25 May 2007 15:50:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=KscJYPJhpkPFBGUT9nkX3pgtCxeHQuxnG84gakTJtk/lUWRQ+UQvq7f4/qjbgk1+W3pXSsaCVqZ4auLXOMJxoaHqyg3d/ASP1clNwxbqMVfb3H2fmDphgR7XS4fU5Vwxbe77PM78+EMMOfpMs3c8PjZbhCsLJcOdomWHmIUbNJI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=Rpwi2mOSV75m3HBwm8f0C5WYDJS3MyokioTkzVdQHwBEU+FSY1TuTWWV+0X7lbpN4VtpI9lDEcNrwt9mSWm3k7SKtMzlxYhchrLD6EGwkcWsqUbyr0akQ3jYDlH1n9Oi/dfh0W675H1tpVWHSKuRJ3bnPtDAXi0h8czvophLOXM= Received: by 10.67.117.18 with SMTP id u18mr3251155ugm.1180133446512; Fri, 25 May 2007 15:50:46 -0700 (PDT) Received: from ?151.75.248.62? ( [151.75.248.62]) by mx.google.com with ESMTP id z34sm7164442ikz.2007.05.25.15.50.44; Fri, 25 May 2007 15:50:45 -0700 (PDT) Message-ID: <4657683E.6040107@FreeBSD.org> Date: Sat, 26 May 2007 00:50:38 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Joe Marcus Clarke References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com> In-Reply-To: <4657357C.4050009@marcuscom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: Jeff Roberson , Current@freebsd.org Subject: Re: Panic on -CURRENT after LDT changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 22:50:48 -0000 Joe Marcus Clarke wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Thanks. I just finished building a PREEMPTION-less kernel. I'll hold > off on the test until I get your patch. Hello Joe, can you please try this patch: http://users.gufi.org/~rookie/works/patches/sys_machdep.diff maybe using with and without PREEMPTION? Thanks, Attilio From owner-freebsd-current@FreeBSD.ORG Fri May 25 19:43:45 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8270D16A421 for ; Fri, 25 May 2007 19:43:45 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC3B13C46C for ; Fri, 25 May 2007 19:43:45 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 278D2AFB; Fri, 25 May 2007 14:43:45 -0500 (CDT) Date: Fri, 25 May 2007 14:43:45 -0500 To: Bruno Damour Message-ID: <20070525194345.GE14633@soaustin.net> References: <46571F95.80605@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46571F95.80605@free.fr> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) X-Mailman-Approved-At: Fri, 25 May 2007 22:57:05 +0000 Cc: freebsd-current@FreeBSD.org Subject: Re: howto find build date for ports ? 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: Fri, 25 May 2007 19:43:45 -0000 On Fri, May 25, 2007 at 07:40:37PM +0200, Bruno Damour wrote: > I wonder if there is a tool that can tell which prots were last built > before a certain date ? I'm not sure exactly what you're asking here, but try the following: http://pointyhat.freebsd.org/errorlogs/i386-7-failure.html http://portsmon.freebsd.org/portoverview.py If you go up one level, you'll see many more links. mcl From owner-freebsd-current@FreeBSD.ORG Fri May 25 20:05:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21E3616A421 for ; Fri, 25 May 2007 20:05:02 +0000 (UTC) (envelope-from Michiel.Boland@internl.net) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id B6A1613C4B0 for ; Fri, 25 May 2007 20:05:01 +0000 (UTC) (envelope-from Michiel.Boland@internl.net) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP for id l4PJmU8Y003165 (8.13.4/1.4); Fri, 25 May 2007 21:48:30 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP for id l4PJmTfG003160 (8.13.4/2.02); Fri, 25 May 2007 21:48:29 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Fri, 25 May 2007 21:48:29 +0200 (MEST) From: Michiel Boland To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Fri, 25 May 2007 22:57:11 +0000 Subject: gcc memory consumption: amd64 v i386 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: Fri, 25 May 2007 20:05:02 -0000 Hi. I noticed that compilation of xorg-server on i386 with the new gcc proceeds normally, whereas compilation on amd64 would crash because the compiler would consume all memory. The i386 and amd64 boxen have the same amount of RAM and swap, obviously. And they run, give or take a few hours, more or less same version of -CURRENT. So it appears that memory consumption of gcc on amd64 is significantly greater than on i386. To test this further I created a very simple C source file:- void n0() { } void n1() { } void n2() { } void n3() { } ... void n49998() { } void n49999() { } (i.e. a file with 50000 trivial function definitions.) I compiled this file with several optimization levels, and then got the following no optimization -O amd64 164M 445M i386 142M 247M I was wondering if anyone can make any sense out of this. Cheers Michiel From owner-freebsd-current@FreeBSD.ORG Fri May 25 23:04:18 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDDB016A46E for ; Fri, 25 May 2007 23:04:18 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.freebsd.org (Postfix) with ESMTP id 775FD13C46C for ; Fri, 25 May 2007 23:04:18 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so632286wxd for ; Fri, 25 May 2007 16:04:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=o7qGJfFwl17v6woo4jEGBQjkjIFUArAey27bSlcFiSgohY2LmVdVxS2ZTVt0xPifWZwj3VFc1Yv9Es5+nWMrDlrdfb6KMg+F8+vO7m92vXMYWa8Kp7zCekrSCOylmj05Q3FxiYtuIutmxm6PoPfi8qZ3wx8ApN6rpd+KnLXOTGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=CiUeOLeVcZCp762eB3cevt7bMXIgifi5mPi2JCWhiUBdYGlhjTx+oE3H1bFD1B7yci/DkFLfdAbXDpfaKn2iOm9SQDaEhmLXZmLvmhN7X1hY0ENnsPFTyCjTtaxFpUeH5wxCfo2miXCDMyzxIct6eLTPkhNHPdE5k27/tQ9Htc0= Received: by 10.70.90.14 with SMTP id n14mr4741899wxb.1180134257737; Fri, 25 May 2007 16:04:17 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id 13sm3941528wrl.2007.05.25.16.04.16; Fri, 25 May 2007 16:04:16 -0700 (PDT) Date: Fri, 25 May 2007 19:04:08 -0400 From: Alexander Kabaev To: Ruslan Ermilov Message-ID: <20070525190408.5a9e9766@kan.dnsalias.net> In-Reply-To: <20070525155736.GB27738@rambler-co.ru> References: <1180104214.19278.20.camel@neo.zion> <20070525155736.GB27738@rambler-co.ru> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_OtqUYrZGn+vGWylFaWRyyPu; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Alexander Kabaev , Xin LI , current@freebsd.org, Pascal Hofstee Subject: Re: gcc-4.2.0 update and f77 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: Fri, 25 May 2007 23:04:19 -0000 --Sig_OtqUYrZGn+vGWylFaWRyyPu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 25 May 2007 19:57:36 +0400 Ruslan Ermilov wrote: > On Fri, May 25, 2007 at 04:43:34PM +0200, Pascal Hofstee wrote: > > Hi, > >=20 > > After the recent update to gcc-4.2.0 as the new base system > > compiler and a run of make delete-old and make delete-old-libs ... > > i noticed there's still a stale /usr/bin/f77 lying around on my > > system (version 3.4.6). > >=20 > > Was this file forgotten to be added to ObsoleteFiles now that with > > gcc-4.2.0 we (to my understanding) dropped the fortran compiler > > from the base system ? > >=20 > ObsoleteFiles hasn't been updated at all for the GCC import. > There are more obsolete files. >=20 > And libg2c.* and libgcc_pic.a were mistakenly and incompletely > put into OLD_LIBS as part of "20070521: shared library version > bump" though they belong to the new GCC import dropping support > for Fortran. (Incompletely because the libg2c.so symlink isn't > removed.) >=20 > The following patch is incomplete as it doesn't deal with > usr/include/c++/3.4. >=20 This is where I stopped and dropped the whole idea of updating ObsoleteFiles.inc. I am not going to put every old c++ include file onto the list and there seems to way to request deletion of the whole directory with all its content :) --=20 Alexander Kabaev --Sig_OtqUYrZGn+vGWylFaWRyyPu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGV2toQ6z1jMm+XZYRArfDAKDqpIEo3mXKO0V8AUGaaWnjF2fHMgCgoSWi MDLc6NBECuvHhkC+hNwSe9U= =je0n -----END PGP SIGNATURE----- --Sig_OtqUYrZGn+vGWylFaWRyyPu-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 23:06:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95B3D16A421 for ; Fri, 25 May 2007 23:06:22 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 637E913C46C for ; Fri, 25 May 2007 23:06:22 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4PN55Vi048530; Fri, 25 May 2007 16:05:05 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4PN55FH048529; Fri, 25 May 2007 16:05:05 -0700 (PDT) (envelope-from sgk) Date: Fri, 25 May 2007 16:05:05 -0700 From: Steve Kargl To: Michiel Boland Message-ID: <20070525230505.GA48506@troutmask.apl.washington.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: gcc memory consumption: amd64 v i386 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: Fri, 25 May 2007 23:06:22 -0000 On Fri, May 25, 2007 at 09:48:29PM +0200, Michiel Boland wrote: > > I compiled this file with several optimization levels, and then got the > following > > no optimization -O > amd64 164M 445M > i386 142M 247M > > I was wondering if anyone can make any sense out of this. > How many registers do i386 and amd64 hardware have? -- Steve From owner-freebsd-current@FreeBSD.ORG Fri May 25 23:34:41 2007 Return-Path: X-Original-To: Current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AC5D16A474; Fri, 25 May 2007 23:34:41 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA3C13C483; Fri, 25 May 2007 23:34:40 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4PNYrsf090014; Fri, 25 May 2007 19:34:53 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: attilio@FreeBSD.org In-Reply-To: <4657683E.6040107@FreeBSD.org> References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com> <4657683E.6040107@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TDvndabnn+8x/4dHHUjN" Organization: MarcusCom, Inc. Date: Fri, 25 May 2007 19:34:24 -0400 Message-Id: <1180136064.94117.14.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , jeff@FreeBSD.org, Current@FreeBSD.org Subject: Re: Panic on -CURRENT after LDT changes 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: Fri, 25 May 2007 23:34:41 -0000 --=-TDvndabnn+8x/4dHHUjN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote: > Joe Marcus Clarke wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > >=20 > >=20 > > Thanks. I just finished building a PREEMPTION-less kernel. I'll hold > > off on the test until I get your patch. >=20 > Hello Joe, > can you please try this patch: > http://users.gufi.org/~rookie/works/patches/sys_machdep.diff >=20 > maybe using with and without PREEMPTION? With PREEMPTION yields a new crash: panic: blockable sleep lock (sleep mutex) system map @ /usr/src/sys/vm/vm_map.c:2395 Uptime: 2m11s Physical memory: 2022 MB Dumping 82 MB: 67 51 35 19 3 #0 sched_switch (td=3D0xc07d1020, newtd=3D0xc4c70360, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:933 933 sched_lock.mtx_lock =3D (uintptr_t)td; (kgdb) bt #0 sched_switch (td=3D0xc07d1020, newtd=3D0xc4c70360, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:933 #1 0xc0567a1d in mi_switch (flags=3DVariable "flags" is not available. ) at /usr/src/sys/kern/kern_synch.c:464 #2 0xc06c8c90 in scheduler (dummy=3D0x0) at /usr/src/sys/vm/vm_glue.c:724 #3 0xc052e676 in mi_startup () at /usr/src/sys/kern/init_main.c:250 #4 0xc0438e15 in begin () at /usr/src/sys/i386/i386/locore.s:348 #0 sched_switch (td=3D0xc07d1020, newtd=3D0xc4c70360, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:933 p =3D (struct proc *) 0xc07d0de0 #1 0xc0567a1d in mi_switch (flags=3DVariable "flags" is not available. ) at /usr/src/sys/kern/kern_synch.c:464 new_switchtime =3D 153236108634 td =3D (struct thread *) 0xc07d1020 p =3D (struct proc *) 0xc07d0de0 __func__ =3D "mi_switch" #2 0xc06c8c90 in scheduler (dummy=3D0x0) at /usr/src/sys/vm/vm_glue.c:724 p =3D (struct proc *) 0x0 td =3D Variable "td" is not available. I will rebuild without PREEMPTION, and let you know. Note: I am no longer have console access, so live debugging is out until Tuesday. Joe >=20 > Thanks, > Attilio >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-TDvndabnn+8x/4dHHUjN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGV3J/b2iPiv4Uz4cRAl3cAJ9HDl+80F1O7xneRaE0jemBumnIegCfewOM meFxon0yqGrQ06Pk21L/+q0= =DITI -----END PGP SIGNATURE----- --=-TDvndabnn+8x/4dHHUjN-- From owner-freebsd-current@FreeBSD.ORG Fri May 25 23:42:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DEB416A503 for ; Fri, 25 May 2007 23:42:33 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id F283C13C44B for ; Fri, 25 May 2007 23:42:32 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4PNfFk6048826 for ; Fri, 25 May 2007 16:41:15 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4PNfF0t048825 for freebsd-current@freebsd.org; Fri, 25 May 2007 16:41:15 -0700 (PDT) (envelope-from sgk) Date: Fri, 25 May 2007 16:41:15 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070525234115.GA48789@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: Segment failed SYNCOOKIE? 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: Fri, 25 May 2007 23:42:33 -0000 Anyone have ideas on how to cure May 25 16:20:03 node13 kernel: TCP: [192.168.0.15]:53815 to [192.168.0.13]:50992 tcpflags 0x11; syncache_expand: Segment failed SYNCOOKIE authentication The hardware and kernel on 192.168.0.15 and 192.168.0.13 are identical. -- Steve From owner-freebsd-current@FreeBSD.ORG Fri May 25 23:51:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8D1316A484 for ; Fri, 25 May 2007 23:51:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 30BCF13C4B8 for ; Fri, 25 May 2007 23:51:57 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16099 invoked by uid 399); 25 May 2007 23:25:15 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 25 May 2007 23:25:15 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <46577058.8040606@FreeBSD.org> Date: Fri, 25 May 2007 16:25:12 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Alexander Kabaev References: <1180104214.19278.20.camel@neo.zion> <20070525155736.GB27738@rambler-co.ru> <20070525190408.5a9e9766@kan.dnsalias.net> In-Reply-To: <20070525190408.5a9e9766@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Kabaev , Xin LI , current@freebsd.org, Pascal Hofstee Subject: Re: gcc-4.2.0 update and f77 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: Fri, 25 May 2007 23:51:59 -0000 Alexander Kabaev wrote: > This is where I stopped and dropped the whole idea of updating > ObsoleteFiles.inc. I am not going to put every old c++ include file > onto the list and there seems to way to request deletion of the whole > directory with all its content :) In my experience the safest way to do this is before you type make install to do 'cd /usr/ && mv include include-old'. The obsolete files stuff is good and useful, but has its limitations. Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Fri May 25 23:58:58 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD99F16A400 for ; Fri, 25 May 2007 23:58:58 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2D0B113C469 for ; Fri, 25 May 2007 23:58:57 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so434775uge for ; Fri, 25 May 2007 16:58:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=RoEOOR+vcheJenX1YhWSDvFxBYX0U5MkWhOfQ2Ax4TNKZotoRfKd7DuwPLHHZ3yhh573IvxlJGDlyzvctFqkCkb8A+QgGPuIahPwQxjzql0yPVWsbBIaZ121Pw7F3mKQbb63kw5kKFe8QU/mRAlsrdFK1cNDt4rDZRfvEz9wWVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=H+agVX6ZnAQEdQTrt7oQZctKAC/m6+u60NhSEQvTBwWSpliHfQmi6KKMVH8oPEIIrio2gmjsYR7f0Qo1CoCH+rRhOJenY6x6yyzbOzdwVyb5PM7sZPkXHXQX72f7ZO7MVOqhtM8X3TQ+5YEluQ51mExInI31JohvQaggkGNJy94= Received: by 10.67.27.15 with SMTP id e15mr3270061ugj.1180137537088; Fri, 25 May 2007 16:58:57 -0700 (PDT) Received: from ?151.75.248.62? ( [151.75.248.62]) by mx.google.com with ESMTP id y34sm1846149iky.2007.05.25.16.58.55; Fri, 25 May 2007 16:58:55 -0700 (PDT) Message-ID: <46577838.3020107@FreeBSD.org> Date: Sat, 26 May 2007 01:58:48 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Joe Marcus Clarke References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com> <4657683E.6040107@FreeBSD.org> <1180136064.94117.14.camel@shumai.marcuscom.com> In-Reply-To: <1180136064.94117.14.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: Jeff Roberson , jeff@FreeBSD.org, Current@FreeBSD.org Subject: Re: Panic on -CURRENT after LDT changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 23:58:58 -0000 Joe Marcus Clarke wrote: > On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote: >> Joe Marcus Clarke wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> >>> Thanks. I just finished building a PREEMPTION-less kernel. I'll hold >>> off on the test until I get your patch. >> Hello Joe, >> can you please try this patch: >> http://users.gufi.org/~rookie/works/patches/sys_machdep.diff >> >> maybe using with and without PREEMPTION? > > With PREEMPTION yields a new crash: Could you please re-download the patch and try this new one? Thanks a lot for the effort, you are being very helpfull. Attilio From owner-freebsd-current@FreeBSD.ORG Sat May 26 00:07:45 2007 Return-Path: X-Original-To: Current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B67416A41F; Sat, 26 May 2007 00:07:45 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id C8DD913C465; Sat, 26 May 2007 00:07:44 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4Q07v5Y090191; Fri, 25 May 2007 20:07:57 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: attilio@FreeBSD.org In-Reply-To: <46577838.3020107@FreeBSD.org> References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com> <4657683E.6040107@FreeBSD.org> <1180136064.94117.14.camel@shumai.marcuscom.com> <46577838.3020107@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-cdymdcCaITcgh17/Y6UC" Organization: MarcusCom, Inc. Date: Fri, 25 May 2007 20:07:28 -0400 Message-Id: <1180138048.94117.17.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , jeff@FreeBSD.org, Current@FreeBSD.org Subject: Re: Panic on -CURRENT after LDT changes 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: Sat, 26 May 2007 00:07:45 -0000 --=-cdymdcCaITcgh17/Y6UC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2007-05-26 at 01:58 +0200, Attilio Rao wrote: > Joe Marcus Clarke wrote: > > On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote: > >> Joe Marcus Clarke wrote: > >>> -----BEGIN PGP SIGNED MESSAGE----- > >>> Hash: SHA1 > >>> > >>> > >>> Thanks. I just finished building a PREEMPTION-less kernel. I'll hol= d > >>> off on the test until I get your patch. > >> Hello Joe, > >> can you please try this patch: > >> http://users.gufi.org/~rookie/works/patches/sys_machdep.diff > >> > >> maybe using with and without PREEMPTION? > >=20 > > With PREEMPTION yields a new crash: >=20 > Could you please re-download the patch and try this new one? Ding, ding, ding. With this patch plus PREEMPTION, I no longer get a crash. Given that is the ideal state (i.e. closest to a GENERIC kernel), I think this is a winner. >=20 > Thanks a lot for the effort, you are being very helpfull. No problem. You're the one being helpful. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-cdymdcCaITcgh17/Y6UC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGV3o/b2iPiv4Uz4cRAvh3AKCJ5P+NjpTp+1iNfdeBomNnR6InNwCfa19q zdTUPPcE8ADmfVumDyOQer4= =nyKm -----END PGP SIGNATURE----- --=-cdymdcCaITcgh17/Y6UC-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 00:34:53 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 909F616A468 for ; Sat, 26 May 2007 00:34:53 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id AC11713C45A for ; Sat, 26 May 2007 00:34:52 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so438826uge for ; Fri, 25 May 2007 17:34:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=d9cQP1kFiY1arOh+tO02w4OfSpZt0IHixCkUwzt1GSD3q99TmtCGAagLVE2X2eQ9jfEizMUx3bx5/B1VyfGh8NdsJ+l0DEi7ro98Xdgp8HqszJli54OQE7slwrRCOCKvIyjg+RXHZMlrlSDAJ3Qwt1OwZLHRyerM0T8zGp1dfmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=NfBDS+DBkD3HEK48It8mYhnY5X0Yn3LJIDC+5lYT6xAGY65WUU87+4iBQUYi1nD1qy6prHBKl+METmjZoBdghkx4hvhuGYwXatiFLtvxkHw97KtXHsStDZLNujydUP8aDpAEBsH4yxYBlCyh7cncgRJm2XQk6C3b+kJoN4Zurpw= Received: by 10.67.121.18 with SMTP id y18mr3315495ugm.1180139691368; Fri, 25 May 2007 17:34:51 -0700 (PDT) Received: from ?151.75.248.62? ( [151.75.248.62]) by mx.google.com with ESMTP id c22sm1863873ika.2007.05.25.17.34.50; Fri, 25 May 2007 17:34:50 -0700 (PDT) Message-ID: <465780A3.8040603@FreeBSD.org> Date: Sat, 26 May 2007 02:34:43 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Joe Marcus Clarke References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com> <4657683E.6040107@FreeBSD.org> <1180136064.94117.14.camel@shumai.marcuscom.com> <46577838.3020107@FreeBSD.org> <1180138048.94117.17.camel@shumai.marcuscom.com> In-Reply-To: <1180138048.94117.17.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: Jeff Roberson , jeff@FreeBSD.org, Current@FreeBSD.org Subject: Re: Panic on -CURRENT after LDT changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 00:34:53 -0000 Joe Marcus Clarke wrote: > On Sat, 2007-05-26 at 01:58 +0200, Attilio Rao wrote: >> Joe Marcus Clarke wrote: >>> On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote: >>>> Joe Marcus Clarke wrote: >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>> Hash: SHA1 >>>>> >>>>> >>>>> Thanks. I just finished building a PREEMPTION-less kernel. I'll hold >>>>> off on the test until I get your patch. >>>> Hello Joe, >>>> can you please try this patch: >>>> http://users.gufi.org/~rookie/works/patches/sys_machdep.diff >>>> >>>> maybe using with and without PREEMPTION? >>> With PREEMPTION yields a new crash: >> Could you please re-download the patch and try this new one? > > Ding, ding, ding. With this patch plus PREEMPTION, I no longer get a > crash. Given that is the ideal state (i.e. closest to a GENERIC > kernel), I think this is a winner. Could you please try this better approach on a VANILLA kernel and say if it still works for you: http://users.gufi.org/~rookie/works/patches/schedlock/ldt2.diff Thanks a lot, Attilio From owner-freebsd-current@FreeBSD.ORG Sat May 26 00:48:19 2007 Return-Path: X-Original-To: Current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8822B16A468; Sat, 26 May 2007 00:48:19 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 1C34513C457; Sat, 26 May 2007 00:48:18 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l4Q0mWen090419; Fri, 25 May 2007 20:48:32 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: attilio@FreeBSD.org In-Reply-To: <465780A3.8040603@FreeBSD.org> References: <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com> <4657683E.6040107@FreeBSD.org> <1180136064.94117.14.camel@shumai.marcuscom.com> <46577838.3020107@FreeBSD.org> <1180138048.94117.17.camel@shumai.marcuscom.com> <465780A3.8040603@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JV5o+lHPltJxRZ0RgPsN" Organization: MarcusCom, Inc. Date: Fri, 25 May 2007 20:48:03 -0400 Message-Id: <1180140483.94117.24.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: Jeff Roberson , jeff@FreeBSD.org, Current@FreeBSD.org Subject: Re: Panic on -CURRENT after LDT changes 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: Sat, 26 May 2007 00:48:19 -0000 --=-JV5o+lHPltJxRZ0RgPsN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2007-05-26 at 02:34 +0200, Attilio Rao wrote: > Joe Marcus Clarke wrote: > > On Sat, 2007-05-26 at 01:58 +0200, Attilio Rao wrote: > >> Joe Marcus Clarke wrote: > >>> On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote: > >>>> Joe Marcus Clarke wrote: > >>>>> -----BEGIN PGP SIGNED MESSAGE----- > >>>>> Hash: SHA1 > >>>>> > >>>>> > >>>>> Thanks. I just finished building a PREEMPTION-less kernel. I'll h= old > >>>>> off on the test until I get your patch. > >>>> Hello Joe, > >>>> can you please try this patch: > >>>> http://users.gufi.org/~rookie/works/patches/sys_machdep.diff > >>>> > >>>> maybe using with and without PREEMPTION? > >>> With PREEMPTION yields a new crash: > >> Could you please re-download the patch and try this new one? > >=20 > > Ding, ding, ding. With this patch plus PREEMPTION, I no longer get a > > crash. Given that is the ideal state (i.e. closest to a GENERIC > > kernel), I think this is a winner. >=20 > Could you please try this better approach on a VANILLA kernel and say if=20 > it still works for you: > http://users.gufi.org/~rookie/works/patches/schedlock/ldt2.diff Still works, no crash. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-JV5o+lHPltJxRZ0RgPsN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGV4PBb2iPiv4Uz4cRAr8AAJ44q0Jeo5bBoAyzXpHs0hOlAZxjswCdFNOy dcptBFnUKKiZ5xKB/NCYSPs= =Fmjq -----END PGP SIGNATURE----- --=-JV5o+lHPltJxRZ0RgPsN-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 01:16:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45A8F16A41F for ; Sat, 26 May 2007 01:16:40 +0000 (UTC) (envelope-from nkalev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 09F6A13C45B for ; Sat, 26 May 2007 01:16:39 +0000 (UTC) (envelope-from nkalev@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so649642wxd for ; Fri, 25 May 2007 18:16:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=V9jNPtUUd1xSKYYpDweppUCpAr3pPi0kqTljsLwl++eb81lvb1WpouccPwW3/bw67GU3p2PPgEloOoqoT0VeOETfsQZkwNtorZP6llIhaqnv26csnu1Pz4oQxUJ3V/tY5BOW2fajsZoN679/zUQDmWTm9d3zei769i7y+w/lQY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=oBUOPjYfhIZP4DRgahAtylQhMKD3a0+L7Q5qnbRcbCR1eljpbAXvcW+GJhPyyDJ69iDvT+RXV4potVSDLE839gUU8dRIeAo36DEWzrVGMNghAPB94zDIvXNnxmGJhcEPDwYzt2eLKbVS42DxdI7xCHM3e7HhDjSeFSHUouyUPu0= Received: by 10.70.27.18 with SMTP id a18mr4891072wxa.1180142199449; Fri, 25 May 2007 18:16:39 -0700 (PDT) Received: by 10.70.40.3 with HTTP; Fri, 25 May 2007 18:16:39 -0700 (PDT) Message-ID: <136a340a0705251816r67245c0q6871bf739b2ef769@mail.gmail.com> Date: Sat, 26 May 2007 04:16:39 +0300 From: "Nikolay Kalev" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: make release broken in 7-current ? 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: Sat, 26 May 2007 01:16:40 -0000 i have a question when doing cross compile for SunFire platform i got problems with using md* from the script it always does md0c device which is not proper when created under i386 platform for cross build. Any Idea if that should be like that or it;s not updated ? P.S. when i remove from doFS.sh ${MDDEVICE}c to ${MDDEVICE} works ok ;-). -- Key fingerprint = 1932 68D3 AC9D D5BE 8717 AA5E C272 B46C 42BC 6DC2 From owner-freebsd-current@FreeBSD.ORG Sat May 26 01:35:06 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F54E16A468 for ; Sat, 26 May 2007 01:35:06 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id ED5CB13C44B for ; Sat, 26 May 2007 01:35:05 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from vil1.ruomad.net (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id 4FB0696621 for ; Sat, 26 May 2007 03:35:05 +0200 (CEST) Message-ID: <46578EC8.3060605@free.fr> Date: Sat, 26 May 2007 03:35:04 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.0 (X11/20070522) MIME-Version: 1.0 To: freebsd-current@FreeBSD.org References: <46571F95.80605@free.fr> <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: howto find build date for ports ? 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: Sat, 26 May 2007 01:35:06 -0000 Björn König wrote: > Hello Bruno, > > >> I wonder if there is a tool that can tell which prots were last built >> before a certain date ? >> Thanks in advance >> > > find /var/db/pkg -type d -mtime +30 > > lists all ports that haven't been touched for more than 30 days. > > Regards > Björn > > P.S. questions@freebsd.org is a better place for those questions. ;) > > Yes but I guess if I csup the tree i'll get today's date everywhere. What I want to know is when I _built_ the port. Thanks in advance Bruno From owner-freebsd-current@FreeBSD.ORG Sat May 26 01:45:24 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C685A16A421 for ; Sat, 26 May 2007 01:45:24 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9070B13C45B for ; Sat, 26 May 2007 01:45:24 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from vil1.ruomad.net (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id AE97B96621 for ; Sat, 26 May 2007 03:45:23 +0200 (CEST) Message-ID: <46579133.3020101@free.fr> Date: Sat, 26 May 2007 03:45:23 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.0 (X11/20070522) MIME-Version: 1.0 To: freebsd-current@FreeBSD.org References: <46571F95.80605@free.fr> <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> <46578EC8.3060605@free.fr> In-Reply-To: <46578EC8.3060605@free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: howto find build date for ports ? 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: Sat, 26 May 2007 01:45:24 -0000 Bruno Damour wrote: > Björn König wrote: >> Hello Bruno, >> >> >>> I wonder if there is a tool that can tell which prots were last built >>> before a certain date ? >>> Thanks in advance >>> >> >> find /var/db/pkg -type d -mtime +30 >> >> lists all ports that haven't been touched for more than 30 days. >> >> Regards >> Björn >> >> P.S. questions@freebsd.org is a better place for those questions. ;) >> >> > Yes but I guess if I csup the tree i'll get today's date everywhere. > What I want to know is when I _built_ the port. > > Thanks in advance > Bruno > Got the answer from freebsd-questions : pkg_glob Thanks to all Bruno From owner-freebsd-current@FreeBSD.ORG Sat May 26 04:06:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A27116A400 for ; Sat, 26 May 2007 04:06:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 24EE913C45A for ; Sat, 26 May 2007 04:06:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4Q463CH030162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 May 2007 21:06:03 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4Q462t9026252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2007 21:06:03 -0700 Message-ID: <4657B253.7070001@u.washington.edu> Date: Fri, 25 May 2007 21:06:43 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Michiel Boland References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.25.204734 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-current@freebsd.org Subject: Re: gcc memory consumption: amd64 v i386 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: Sat, 26 May 2007 04:06:04 -0000 Michiel Boland wrote: > Hi. I noticed that compilation of xorg-server on i386 with the new gcc > proceeds normally, whereas compilation on amd64 would crash because the > compiler would consume all memory. The i386 and amd64 boxen have the > same amount of RAM and swap, obviously. And they run, give or take a few > hours, more or less same version of -CURRENT. > > So it appears that memory consumption of gcc on amd64 is significantly > greater than on i386. To test this further I created a very simple C > source file:- > > void n0() { } > void n1() { } > void n2() { } > void n3() { } > ... > void n49998() { } > void n49999() { } > > (i.e. a file with 50000 trivial function definitions.) > > I compiled this file with several optimization levels, and then got the > following > > no optimization -O > amd64 164M 445M > i386 142M 247M > > I was wondering if anyone can make any sense out of this. > > Cheers > Michiel What are your CFLAGS and CXXFLAGS? What -O did you build with? -Garrett From owner-freebsd-current@FreeBSD.ORG Sat May 26 05:28:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 987BC16A468 for ; Sat, 26 May 2007 05:28:07 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.liberty-hosting.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 3EAC113C489 for ; Sat, 26 May 2007 05:28:06 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 76448-08; Sat, 26 May 2007 07:28:04 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-170-5.dynamic.qsc.de [212.202.170.5]) by mail.liberty-hosting.de (Postfix) with ESMTP id 9400A17FC1B; Sat, 26 May 2007 07:28:04 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id BB9D045046; Sat, 26 May 2007 07:28:03 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Sat, 26 May 2007 07:28:03 +0200 (CEST) Message-ID: <61031.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180157283.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <46579133.3020101@free.fr> References: <46571F95.80605@free.fr> <58961.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180122155.squirrel@webmail.alpha-tierchen.de> <46578EC8.3060605@free.fr> <46579133.3020101@free.fr> Date: Sat, 26 May 2007 07:28:03 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: "Bruno Damour" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: Mathieu Arnold , freebsd-current@freebsd.org Subject: Re: howto find build date for ports ? 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: Sat, 26 May 2007 05:28:07 -0000 Bruno Damour wrote: >> Yes but I guess if I csup the tree i'll get today's date everywhere. >> What I want to know is when I _built_ the port. If you run csup then /usr/ports will be updated only. The line that I suggested (and that has been significantly improved by Mathieu Arnold) works on /var/db/pkg. This is the place where installed ports are registered. > Got the answer from freebsd-questions : pkg_glob Alright. ;-) Regards Björn From owner-freebsd-current@FreeBSD.ORG Sat May 26 07:29:37 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7914016A400; Sat, 26 May 2007 07:29:37 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2758313C43E; Sat, 26 May 2007 07:29:36 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id C48A460A4; Sat, 26 May 2007 11:29:35 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id A199F609C; Sat, 26 May 2007 11:29:35 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4Q7OYiw006530; Sat, 26 May 2007 11:24:34 +0400 (MSD) (envelope-from ru) Date: Sat, 26 May 2007 11:24:34 +0400 From: Ruslan Ermilov To: Doug Barton Message-ID: <20070526072434.GA6493@rambler-co.ru> References: <1180104214.19278.20.camel@neo.zion> <20070525155736.GB27738@rambler-co.ru> <20070525190408.5a9e9766@kan.dnsalias.net> <46577058.8040606@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <46577058.8040606@FreeBSD.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: Alexander Kabaev , Pascal Hofstee , Xin LI , current@FreeBSD.org Subject: Re: gcc-4.2.0 update and f77 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: Sat, 26 May 2007 07:29:37 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 25, 2007 at 04:25:12PM -0700, Doug Barton wrote: > Alexander Kabaev wrote: >=20 > > This is where I stopped and dropped the whole idea of updating > > ObsoleteFiles.inc. I am not going to put every old c++ include file > > onto the list and there seems to way to request deletion of the whole > > directory with all its content :) >=20 > In my experience the safest way to do this is before you type make insta= ll=20 > to do 'cd /usr/ && mv include include-old'. The obsolete files stuff is = good=20 > and useful, but has its limitations. >=20 That's what I usually do as well. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGV+CyqRfpzJluFF4RAv/QAJ4u/w+XuK5koxgIknilquWxcBD6twCdE1BN kZShu0GVVFjs0gHcmYRDHVg= =sM1v -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 08:24:00 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E53616A41F for ; Sat, 26 May 2007 08:24:00 +0000 (UTC) (envelope-from c47g@gmx.at) Received: from email.aon.at (nat-warsl417-02.aon.at [195.3.96.120]) by mx1.freebsd.org (Postfix) with ESMTP id C7C1C13C46A for ; Sat, 26 May 2007 08:23:59 +0000 (UTC) (envelope-from c47g@gmx.at) Received: (qmail 32630 invoked from network); 26 May 2007 07:57:18 -0000 Received: from unknown (HELO email.aon.at) ([172.18.5.82]) (envelope-sender ) by fallback02.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 26 May 2007 07:57:18 -0000 Received: (qmail 21641 invoked from network); 26 May 2007 07:57:14 -0000 Received: from m3805p022.adsl.highway.telekom.at (HELO bones) ([88.117.123.150]) (envelope-sender ) by smarthub81.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 26 May 2007 07:57:14 -0000 From: Christian Gusenbauer To: current@freebsd.org Date: Sat, 26 May 2007 09:57:43 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3820132.frqi7OsRFh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705260957.51060.c47g@gmx.at> Cc: Subject: problems with make.conf 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: Sat, 26 May 2007 08:24:00 -0000 --nextPart3820132.frqi7OsRFh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! I've a problem compiling the port graphics/libGLw. The port's Makefile=20 contains the line CFLAGS+=3D-D__GLX_MOTIF=3D1 As long as I don't set my own CFLAGS in /etc/make.conf, the port compiles=20 fine. But if I set my own CFLAGS in /etc/make.conf, the CFLAGS+=3D line in = the=20 Makefile seems to be ignored (or overwritten by my settings). How do I correctly use the /etc/make.conf file? How can I use my own settin= gs? Thanks, Christian. --nextPart3820132.frqi7OsRFh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGV+h/73Wh/GTgh8wRAtTxAKCFHynW4r/iWlZUB8KqQyBkmZdmHACfUjhe 243oqpiJvz26GOe8XMFq+Eg= =WJzc -----END PGP SIGNATURE----- --nextPart3820132.frqi7OsRFh-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 09:30:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C067C16A421 for ; Sat, 26 May 2007 09:30:54 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 663C913C457 for ; Sat, 26 May 2007 09:30:54 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by wa-out-1112.google.com with SMTP id m33so451564wag for ; Sat, 26 May 2007 02:30:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KWBmyKM1eTMaGUnLI5asEzSPYiLUEgo0U72Mi6cxtyf3uU0c4WufflWDV6Sk+ftAs3q1wF/ub9IF9Gfs0WqZwNPRv+JaS0cQaxaECo1bwlPl+0pUWqeCoiJulj7lwo6YlVIpj4FUyH6L/jilGNbyexYn+I9IXuyLdkoyNbhBY/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MCrcVdlN2WUvv4q66S+pCagX/FOE9Vvh8JiJX0jZXqyNQfMD3h7X4bXhQucRd5tnGrCLKoUhBYgud4IwKAVKXvyADi0wohHzvDpd+mMIjN7laYY/Tql15HOOoqpJLo7+23m/RRiWf7hLCXplx1ivJuff8kJR+YqTl4YN3TXLwoU= Received: by 10.114.154.1 with SMTP id b1mr1896188wae.1180171853876; Sat, 26 May 2007 02:30:53 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Sat, 26 May 2007 02:30:53 -0700 (PDT) Message-ID: Date: Sat, 26 May 2007 11:30:53 +0200 From: "Claus Guttesen" To: "Michiel Boland" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org Subject: Re: gcc memory consumption: amd64 v i386 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: Sat, 26 May 2007 09:30:54 -0000 > Hi. I noticed that compilation of xorg-server on i386 with the new gcc > proceeds normally, whereas compilation on amd64 would crash because the > compiler would consume all memory. The i386 and amd64 boxen have the same > amount of RAM and swap, obviously. And they run, give or take a few hours, > more or less same version of -CURRENT. It does not crash if you have enough swap. I have 2 GB swap and it proceeded fine after some swapping. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-current@FreeBSD.ORG Sat May 26 09:36:26 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CEC5016A41F for ; Sat, 26 May 2007 09:36:26 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id D1B6D13C447 for ; Sat, 26 May 2007 09:36:25 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so492323uge for ; Sat, 26 May 2007 02:36:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=oo4BfX9n+q6o2Netk7ahDsfWpIUjLs5t98pUekgxXGvhb5fR7Sjc3N3rd3PX0o/ZCmrMUtxLdDymeOQ5AM4Chcun9xthh9DFV8x9tXAwmYIxJTiocgv8bBDJJIbiZ5wBmXR9xbvssRIi2nZ1PPHM5cViE/g8mY258/NFpG2HArc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=B8bIOKZvgnbYHBov5UEt7pi/9StQdIfO4cW9+0qJRYWxFGlEldcKZRZ1lNxrTyqIePjV7NbQaamChieKHve4rrPkzbY6MsEQnNmSPRIKAwgS5nGWq/AsC6Vxz4HYa1wmexpS3osZEs0IoyXiIDjOcXIfhMja0hmEsYo+F15i0R0= Received: by 10.78.166.7 with SMTP id o7mr1146176hue.1180172183765; Sat, 26 May 2007 02:36:23 -0700 (PDT) Received: by 10.78.190.11 with HTTP; Sat, 26 May 2007 02:36:23 -0700 (PDT) Message-ID: <70e8236f0705260236x527b0484m96bc77ae51d8b287@mail.gmail.com> Date: Sat, 26 May 2007 10:36:23 +0100 From: "Joao Barros" To: freebsd-current , freebsd-fs@freebsd.org, "Pawel Jakub Dawidek" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: ZFS: LOR in dbuf.c 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: Sat, 26 May 2007 09:36:26 -0000 Hi Pawel, I upgraded my sources last night (just before your 2 commits) and now I get this constant LOR every 5 seconds: lock order reversal: 1st 0xc7b90c20 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1866 2nd 0xc48e17e4 zfs:&db->db_mtx (zfs:&db->db_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1888 KDB: stack backtrace: db_trace_self_wrapper(c0a1ae29,e67a45a0,c076d9ee,c0a1d252,c48e17e4,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a1d252,c48e17e4,c0d1b6f4,c0d1b6f4,c0d1b5d1,...) at kdb_backtrace+0x29 witness_checkorder(c48e17e4,9,c0d1b5d1,760,c48e17a8,...) at witness_checkorder+0x6de _sx_xlock(c48e17e4,c0d1b5d1,760,c1474788,1,...) at _sx_xlock+0x7a dbuf_sync_list(c7b90c38,c894de80,74a,2,c48e0910,...) at dbuf_sync_list+0x16f dbuf_sync_list(c48e09d0,c894de80,257,3,3,...) at dbuf_sync_list+0x107 dnode_sync(c48e0910,c894de80,7,3,3,...) at dnode_sync+0x1cd dmu_objset_sync(c4441000,c47a4678,c894de80,0,c4441698,...) at dmu_objset_sync+0x130 dsl_pool_sync(c4441600,49482,0,0,0,...) at dsl_pool_sync+0x190 spa_sync(c403d000,49482,0,c4441740,c444171c,...) at spa_sync+0x3f8 txg_sync_thread(c4441600,e67a4d38,c0a14eb6,324,c44b3900,...) at txg_sync_thread+0x15a fork_exit(c0ce46e0,c4441600,e67a4d38) at fork_exit+0xf1 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xe67a4d70, ebp = 0 --- Let me know if you need more info. -- Joao Barros From owner-freebsd-current@FreeBSD.ORG Sat May 26 09:41:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C628216A468; Sat, 26 May 2007 09:41:00 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6C813C468; Sat, 26 May 2007 09:41:00 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54a5d237.dip.t-dialin.net [84.165.210.55]) by redbull.bpaserver.net (Postfix) with ESMTP id 4C4AA2E135; Sat, 26 May 2007 11:40:55 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 681ED5B4B25; Sat, 26 May 2007 11:40:38 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l4Q9ecBg093520; Sat, 26 May 2007 11:40:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from proxy.Leidinger.net (proxy.Leidinger.net [192.168.1.103]) by webmail.leidinger.net (Horde MIME library) with HTTP; Sat, 26 May 2007 11:40:38 +0200 Message-ID: <20070526114038.2b6flw4k0044wgko@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Sat, 26 May 2007 11:40:38 +0200 From: Alexander Leidinger To: Roman Divacky References: <20070525095146.GA45288@freebsd.org> <200705251602.48778.shoesoft@gmx.net> <20070525150517.GA63514@freebsd.org> In-Reply-To: <20070525150517.GA63514@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-current@freebsd.org, Stefan Ehmann Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 09:41:00 -0000 Quoting Roman Divacky (from Fri, 25 May 2007 17:05:17 +0200): > On Fri, May 25, 2007 at 04:02:47PM +0200, Stefan Ehmann wrote: >> GENERIC from today's current, also compiled with gcc34 from ports (I had to >> delete two gcc options in sys/conf/kern.mk): >> >> gcc34: 6530916 >> gcc42: 7352560 >> gcc34 -Os: 6074468 >> gcc42 -Os: 10058032 > > yes, thats it! I also used -Os. it looks like this occurs only with > -Os optimization > level. > > can someone else confirm this? and/or possibly explain this? Some datapoint: I also use -Os. Bye, Alexander. -- Everyone has a scheme for getting rich that will not work. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sat May 26 10:05:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B9D016A477; Sat, 26 May 2007 10:05:12 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 109A913C484; Sat, 26 May 2007 10:05:12 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 42ED41FFD99; Sat, 26 May 2007 12:05:10 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id E60281FFC58; Sat, 26 May 2007 12:05:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 300C944487F; Sat, 26 May 2007 10:04:46 +0000 (UTC) Date: Sat, 26 May 2007 10:04:46 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Joao Barros In-Reply-To: <70e8236f0705260236x527b0484m96bc77ae51d8b287@mail.gmail.com> Message-ID: <20070526100322.N13311@maildrop.int.zabbadoz.net> References: <70e8236f0705260236x527b0484m96bc77ae51d8b287@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: freebsd-fs@freebsd.org, freebsd-current , Pawel Jakub Dawidek Subject: Re: ZFS: LOR in dbuf.c 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: Sat, 26 May 2007 10:05:12 -0000 On Sat, 26 May 2007, Joao Barros wrote: > Hi Pawel, > > I upgraded my sources last night (just before your 2 commits) and now > I get this constant LOR every 5 seconds: > > lock order reversal: > 1st 0xc7b90c20 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) @ > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1866 > 2nd 0xc48e17e4 zfs:&db->db_mtx (zfs:&db->db_mtx) @ > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1888 please check http://sources.zabbadoz.net/freebsd/lor.html and follow the instruction there. Read to the end of the page. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-current@FreeBSD.ORG Sat May 26 10:06:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF33D16A469 for ; Sat, 26 May 2007 10:06:04 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 3F02513C465 for ; Sat, 26 May 2007 10:06:04 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so496743uge for ; Sat, 26 May 2007 03:06:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KIXWoigURUzkJBf17BzKfNdMCihi+bPFQ+cc2tWyYihg7vwcQO8/d2X5p35iKEuTD+Hb1Gy7RE8/rPOTCSvgyllM8LMa3guPFhVwh92qlZ9ZYbGNyZgnT3qDcBVVY+0vGjPDy8Oi+VKX0dsVKu7bVFAIHnj7JW3L2/Prf2CBnUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BzCTpYAIFBYk+4nXdpr6QSApzIDvOqjQ5v1vP0CCF0K9jPHc8Nbme6PWLfKf0hqaUfVz5KmrzcRbocB2hx5FhFloCexDRt+rjn7nlPf/uD7+mvz/mSxfAYDXpQbVkM0lHzv6zic62WqEuQkxiTuPvjW9ATxUv+/BgE8UFdnDLpA= Received: by 10.78.180.18 with SMTP id c18mr1156924huf.1180173962510; Sat, 26 May 2007 03:06:02 -0700 (PDT) Received: by 10.78.190.11 with HTTP; Sat, 26 May 2007 03:06:02 -0700 (PDT) Message-ID: <70e8236f0705260306n25046351w15fcbe25518e2eca@mail.gmail.com> Date: Sat, 26 May 2007 11:06:02 +0100 From: "Joao Barros" To: freebsd-current In-Reply-To: <4656DB6A.1010100@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070525095146.GA45288@freebsd.org> <20070525105203.GB6500@rambler-co.ru> <20070525135416.7u2tw5ibtwwogko8@webmail.leidinger.net> <4656DB6A.1010100@freebsd.org> Cc: Alexander Leidinger , Roman Divacky Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 10:06:04 -0000 On 5/25/07, Eric Anderson wrote: > On 05/25/07 06:54, Alexander Leidinger wrote: > > Quoting Ruslan Ermilov (from Fri, 25 May 2007 > > 14:52:03 +0400): > > > >> On Fri, May 25, 2007 at 11:51:46AM +0200, Roman Divacky wrote: > >>> hi > >>> > >>> I just noticed that > >>> spravci ~# ls -l /boot/kernel*/kernel > >>> -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 /boot/kernel.old/kernel* > >>> -r-xr-xr-x 1 root wheel 5211345 May 25 11:47 /boot/kernel/kernel* > >>> > >>> ie. after gcc42 import the kernel size increased roughly by 60% thats > >>> a little too much. is there any forgotten option or something that > >>> makes the kernel grow so big? > >>> > >> My numbers are different (1% for the GENERIC kernel, and this > >> is with all code changes in-between): > >> > >> -r-xr-xr-x 1 root wheel 8942239 Apr 11 16:20 kernel.old/kernel > >> -r-xr-xr-x 1 root wheel 9035021 May 24 16:23 kernel/kernel > >> > >> bde@ also reported a 1% code bloat in another thread, so I think > >> you should look at your own changes. > > > > My minimal kernel without additional changes shows: > > -r-xr-xr-x 1 root wheel 2.5M 7 Apr 17:22 /boot/kernel.old/kernel* > > -r-xr-xr-x 1 root wheel 8.1M 7 Apr 17:22 /boot/kernel.old/kernel.symbols* > > -r-xr-xr-x 1 root wheel 3.9M 24 Mai 18:46 /boot/kernel/kernel* > > -r-xr-xr-x 1 root wheel 14M 24 Mai 18:46 /boot/kernel/kernel.symbols* > > > > But this is with debugging (-g) enabled. How's the .symbols generated? > > Can there be some new stuff in the kernel which needs to be handled in > > the .symbols file generation? > > Hmm. Here's mine, with debugging, without WITNESS, or INVARIANTS: > > $ ls -alh kernel*/kernel > -r-xr-xr-x 1 root wheel 7.2M Apr 24 10:24 kernel.old/kernel > -r-xr-xr-x 1 root wheel 8.1M May 21 11:22 kernel/kernel > > Also - are you compiling in hints, or not? > > Eric Here's my CURRENT from last night with make options untouched: xeon# ls -lh /boot/kernel*/kernel* -r-xr-xr-x 1 root wheel 7.2M Apr 27 20:28 /boot/kernel.old/kernel -r-xr-xr-x 1 root wheel 18M Apr 27 20:28 /boot/kernel.old/kernel.symbols -r-xr-xr-x 1 root wheel 8.0M May 26 09:49 /boot/kernel/kernel -r-xr-xr-x 1 root wheel 22M May 26 09:49 /boot/kernel/kernel.symbols -- Joao Barros From owner-freebsd-current@FreeBSD.ORG Sat May 26 10:21:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0998516A469 for ; Sat, 26 May 2007 10:21:09 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB5413C44C for ; Sat, 26 May 2007 10:21:08 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so498639uge for ; Sat, 26 May 2007 03:21:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SpwTPtY3tfvzssvMqNETAxlsqEYcvgCBKQ9U6RJbfWy8o76BgGyXt49ju9DwfZ7Ur6zTRhS1sacHVVIXQiUGiLyZNr0ScMJgArNdF5QSytHyhi9gucgWkAskkJ6RPQncKTi5qNCsD7IuHcHmOEf7iG2ImSi6gt/I2ON8/1c7Ulw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rjqAGemb+4McvtzxrWEXUVVxk3KFc9QZfRLD3ueyGl3WdjPlJyespdr6sRAFyXbxOmSOYNakJHu8r/T1QH82+SQLJTiHWRAe+hVRCgv27YjgxjkYhQy4vB9TY9dTvNWGCOp1C2P0sWIJcohPKMl2m/b5KGEEdgvevZAbwwUI2vQ= Received: by 10.78.204.7 with SMTP id b7mr1153245hug.1180174866706; Sat, 26 May 2007 03:21:06 -0700 (PDT) Received: by 10.78.190.11 with HTTP; Sat, 26 May 2007 03:21:06 -0700 (PDT) Message-ID: <70e8236f0705260321i3ee8b15fo189d265a23a3e5e@mail.gmail.com> Date: Sat, 26 May 2007 11:21:06 +0100 From: "Joao Barros" To: "Bjoern A. Zeeb" In-Reply-To: <20070526100322.N13311@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70e8236f0705260236x527b0484m96bc77ae51d8b287@mail.gmail.com> <20070526100322.N13311@maildrop.int.zabbadoz.net> Cc: freebsd-fs@freebsd.org, freebsd-current , Pawel Jakub Dawidek Subject: Re: ZFS: LOR in dbuf.c 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: Sat, 26 May 2007 10:21:09 -0000 On 5/26/07, Bjoern A. Zeeb wrote: > On Sat, 26 May 2007, Joao Barros wrote: > > > Hi Pawel, > > > > I upgraded my sources last night (just before your 2 commits) and now > > I get this constant LOR every 5 seconds: > > > > lock order reversal: > > 1st 0xc7b90c20 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) @ > > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1866 > > 2nd 0xc48e17e4 zfs:&db->db_mtx (zfs:&db->db_mtx) @ > > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1888 > > please check http://sources.zabbadoz.net/freebsd/lor.html and follow > the instruction there. Read to the end of the page. > > -- > Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT > I swear I checked your page before sending the email, but didn't actually searched the page, just browsed to the end and looked for dbuf.c Just to note that the way this LOR is happening now (5 seconds recurrent) didn't happen before , with sources from May 26. I had some occasional LORs but never this like this, that's the reason I went looking for a recent (last) LOR on your page :) -- Joao Barros From owner-freebsd-current@FreeBSD.ORG Sat May 26 10:48:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E258C16A41F for ; Sat, 26 May 2007 10:48:40 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 544F313C457 for ; Sat, 26 May 2007 10:48:40 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 26 May 2007 10:48:38 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp005) with SMTP; 26 May 2007 12:48:38 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/Y3MJinT7YIJmfOiluIKt67IQud8FUEnelvuN3zF XwB04nghZ88DnA From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Sat, 26 May 2007 12:48:36 +0200 User-Agent: KMail/1.9.6 References: <20070525095146.GA45288@freebsd.org> <200705251602.48778.shoesoft@gmx.net> <20070525150517.GA63514@freebsd.org> In-Reply-To: <20070525150517.GA63514@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705261248.37152.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Roman Divacky Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 10:48:41 -0000 On Friday 25 May 2007 17:05:17 Roman Divacky wrote: > On Fri, May 25, 2007 at 04:02:47PM +0200, Stefan Ehmann wrote: > > On Friday 25 May 2007 11:51:46 Roman Divacky wrote: > > > hi > > > > > > I just noticed that > > > spravci ~# ls -l /boot/kernel*/kernel > > > -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 > > > /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 5211345 May 25 > > > 11:47 /boot/kernel/kernel* > > > > > > ie. after gcc42 import the kernel size increased roughly by 60% thats > > > a little too much. is there any forgotten option or something that > > > makes the kernel grow so big? > > > > While I also see an increase, it's not that much. > > > > GENERIC from today's current, also compiled with gcc34 from ports (I had > > to delete two gcc options in sys/conf/kern.mk): > > > > gcc34: 6530916 > > gcc42: 7352560 > > gcc34 -Os: 6074468 > > gcc42 -Os: 10058032 > > yes, thats it! I also used -Os. it looks like this occurs only with -Os > optimization level. > > can someone else confirm this? and/or possibly explain this? -Os seems to do more inlining than -O. Maybe this is a gcc bug, we use strange options for the buildkernel or who knows what. If I use INLINE_LIMIT=600, I get a more reasonable sized kernel (600 is the gcc default, /sys/conf/kern.mk sets it to 8000). But it's still larger than the -O compile. If I further lower INLINE_LIMIT to 50: -Os: 5876816 -O: 7154096 This numbers finally look sane for a -Os build. Doing this is probably not a good idea but maybe this points to the cause of the size increase. From owner-freebsd-current@FreeBSD.ORG Sat May 26 11:56:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1FA616A47E for ; Sat, 26 May 2007 11:56:13 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5C48613C458 for ; Sat, 26 May 2007 11:56:11 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HrusP-0004zC-Bm for freebsd-current@freebsd.org; Sat, 26 May 2007 13:56:05 +0200 Received: from 78-0-91-14.adsl.net.t-com.hr ([78.0.91.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 13:56:05 +0200 Received: from ivoras by 78-0-91-14.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 13:56:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Sat, 26 May 2007 13:55:50 +0200 Lines: 39 Message-ID: References: <20070525095146.GA45288@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2263C07A499962078D4A17D5" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-91-14.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <20070525095146.GA45288@freebsd.org> X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 11:56:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2263C07A499962078D4A17D5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Roman Divacky wrote: > ie. after gcc42 import the kernel size increased roughly by 60% thats > a little too much. is there any forgotten option or something that > makes the kernel grow so big? Ouch, I've just got bitten by this. I'm trying to update a 6.x machine to 7-current, and couldn't install the kernel because there's no space for in on the root file system. This is an old-style root file system of 256 MB. By fiddling around I've managed to free enough space, and I see now that my new /boot/kernel's size is 106 MB! This means I can't hold both kernel and kernel.old on the root file system. This may need to be addressed in upgrade documents. (And others - for example, tuning(7) still implicitly recommends a 128 MB root file system)= =2E --------------enig2263C07A499962078D4A17D5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWCBMldnAQVacBcgRAkV1AKDOhdHkiQTPNFahZ/0KYOKIiJJQOACguClb MlBlo1ZLQUc8nvlhBwCkIyY= =YCvE -----END PGP SIGNATURE----- --------------enig2263C07A499962078D4A17D5-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 12:54:45 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3482F16A400 for ; Sat, 26 May 2007 12:54:45 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id E5BFB13C45A for ; Sat, 26 May 2007 12:54:44 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 2B5138BF328; Sat, 26 May 2007 14:54:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lv41X-vsdCAw; Sat, 26 May 2007 14:54:40 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D24C58BF2E5; Sat, 26 May 2007 14:54:40 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4QCscrl093913; Sat, 26 May 2007 14:54:38 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 26 May 2007 14:54:38 +0200 From: Roman Divacky To: Ivan Voras Message-ID: <20070526125438.GA93705@freebsd.org> References: <20070525095146.GA45288@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 12:54:45 -0000 On Sat, May 26, 2007 at 01:55:50PM +0200, Ivan Voras wrote: > Roman Divacky wrote: > > > ie. after gcc42 import the kernel size increased roughly by 60% thats > > a little too much. is there any forgotten option or something that > > makes the kernel grow so big? > > Ouch, I've just got bitten by this. I'm trying to update a 6.x machine > to 7-current, and couldn't install the kernel because there's no space > for in on the root file system. This is an old-style root file system of > 256 MB. By fiddling around I've managed to free enough space, and I see > now that my new /boot/kernel's size is 106 MB! This means I can't hold > both kernel and kernel.old on the root file system. > > This may need to be addressed in upgrade documents. (And others - for > example, tuning(7) still implicitly recommends a 128 MB root file system). well.. I dont think that 60% increase of size when you are optimizing for size is normal. I even think its a "bug" in that sense that something wrong is set somewhere which causes this. I certainly dont believe this is normal From owner-freebsd-current@FreeBSD.ORG Sat May 26 13:15:58 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EBAF16A400 for ; Sat, 26 May 2007 13:15:58 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 464CA13C448 for ; Sat, 26 May 2007 13:15:58 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hrw7c-0002D3-37 for freebsd-current@freebsd.org; Sat, 26 May 2007 15:15:52 +0200 Received: from 78-0-91-14.adsl.net.t-com.hr ([78.0.91.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 15:15:52 +0200 Received: from ivoras by 78-0-91-14.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 15:15:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Sat, 26 May 2007 15:15:34 +0200 Lines: 35 Message-ID: References: <20070525095146.GA45288@freebsd.org> <20070526125438.GA93705@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2DBC2657677ED3B26D68635B" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-91-14.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <20070526125438.GA93705@freebsd.org> X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 13:15:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DBC2657677ED3B26D68635B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Roman Divacky wrote: > well.. I dont think that 60% increase of size when you are optimizing f= or size > is normal. I even think its a "bug" in that sense that something wrong = is set > somewhere which causes this. >=20 > I certainly dont believe this is normal I'm using the default make flags. In my case, it's release, non-debugging 6-RELEASE kernel of 26 MB vs debugging kernel of 7-CURRENT of 106 MB :) --------------enig2DBC2657677ED3B26D68635B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWDL8ldnAQVacBcgRAghcAKCB8Nt5esD7i/8rAWlBRGe5yIgRvQCfSC8Q gsVQ9ydPAMZHZ1GwRmzv4IU= =fOm7 -----END PGP SIGNATURE----- --------------enig2DBC2657677ED3B26D68635B-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 13:54:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E6E816A469 for ; Sat, 26 May 2007 13:54:40 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 5E06313C483 for ; Sat, 26 May 2007 13:54:39 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 26 May 2007 13:54:37 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp010) with SMTP; 26 May 2007 15:54:37 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1+0QQoVYPS0CTbLBK4k6vUO1+QqYD8mr8OpTdanfR V8oBXqEoZD0AVO From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Sat, 26 May 2007 15:54:37 +0200 User-Agent: KMail/1.9.6 References: <20070525095146.GA45288@freebsd.org> <20070526125438.GA93705@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705261554.38444.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Ivan Voras Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 13:54:40 -0000 On Saturday 26 May 2007 15:15:34 Ivan Voras wrote: > Roman Divacky wrote: > > well.. I dont think that 60% increase of size when you are optimizing for > > size is normal. I even think its a "bug" in that sense that something > > wrong is set somewhere which causes this. > > > > I certainly dont believe this is normal > > I'm using the default make flags. In my case, it's release, > non-debugging 6-RELEASE kernel of 26 MB vs debugging kernel of 7-CURRENT > of 106 MB :) I guess that's due to /boot/kernel/*.symbols which are not present in my 6.2 installation. gcc42 file size increase shouldn't be that much. From owner-freebsd-current@FreeBSD.ORG Sat May 26 14:04:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 191E916A421 for ; Sat, 26 May 2007 14:04:25 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C903213C45B for ; Sat, 26 May 2007 14:04:24 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C425E8BF7E0; Sat, 26 May 2007 16:04:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9voRSma84XiX; Sat, 26 May 2007 16:04:21 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BCC0A8BF2CF; Sat, 26 May 2007 16:04:21 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4QE4L9s097847; Sat, 26 May 2007 16:04:21 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 26 May 2007 16:04:21 +0200 From: Roman Divacky To: Stefan Ehmann Message-ID: <20070526140421.GA97649@freebsd.org> References: <20070525095146.GA45288@freebsd.org> <20070526125438.GA93705@freebsd.org> <200705261554.38444.shoesoft@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705261554.38444.shoesoft@gmx.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 14:04:25 -0000 On Sat, May 26, 2007 at 03:54:37PM +0200, Stefan Ehmann wrote: > On Saturday 26 May 2007 15:15:34 Ivan Voras wrote: > > Roman Divacky wrote: > > > well.. I dont think that 60% increase of size when you are optimizing for > > > size is normal. I even think its a "bug" in that sense that something > > > wrong is set somewhere which causes this. > > > > > > I certainly dont believe this is normal > > > > I'm using the default make flags. In my case, it's release, > > non-debugging 6-RELEASE kernel of 26 MB vs debugging kernel of 7-CURRENT > > of 106 MB :) > > I guess that's due to /boot/kernel/*.symbols which are not present in my 6.2 > installation. gcc42 file size increase shouldn't be that much. thats the problem. with -Os and gcc42 the kernel increases A LOT (60%), other optimization levels doesnt seem to be affected From owner-freebsd-current@FreeBSD.ORG Sat May 26 14:19:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 459EA16A400 for ; Sat, 26 May 2007 14:19:40 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id D878C13C43E for ; Sat, 26 May 2007 14:19:39 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP id l4QEJcm2015502 (8.13.4/1.4); Sat, 26 May 2007 16:19:38 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP id l4QEJcjF015498 (8.13.4/2.02); Sat, 26 May 2007 16:19:38 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Sat, 26 May 2007 16:19:38 +0200 (MEST) From: Michiel Boland To: Claus Guttesen In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: gcc memory consumption: amd64 v i386 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: Sat, 26 May 2007 14:19:40 -0000 >> Hi. I noticed that compilation of xorg-server on i386 with the new gcc >> proceeds normally, whereas compilation on amd64 would crash because the >> compiler would consume all memory. The i386 and amd64 boxen have the same >> amount of RAM and swap, obviously. And they run, give or take a few hours, >> more or less same version of -CURRENT. > > It does not crash if you have enough swap. I have 2 GB swap and it > proceeded fine after some swapping. The point I was trying to make (although perhaps not clearly enough) is that there is no reason that a trivial source file takes up such a huge amount of memory to compile. Especially since gcc 3.4.6 does not blow up like that. If every new gcc version means I have to readjust the amount of memory in my box, I guess I'll pass the next time a gcc upgrade happens. This is not what I would call progress. Anyway, I will get back under my stone now. :) From owner-freebsd-current@FreeBSD.ORG Sat May 26 14:23:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21E0916A421 for ; Sat, 26 May 2007 14:23:56 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 7090D13C448 for ; Sat, 26 May 2007 14:23:55 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 26 May 2007 14:23:54 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp025) with SMTP; 26 May 2007 16:23:54 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1+tNIJ1oRqt6GKaN0m5RrfZ9mxQU4RO3/pvpPnqVz Wz898xDK6K4PAg From: Stefan Ehmann To: Roman Divacky Date: Sat, 26 May 2007 16:23:53 +0200 User-Agent: KMail/1.9.6 References: <20070525095146.GA45288@freebsd.org> <200705261554.38444.shoesoft@gmx.net> <20070526140421.GA97649@freebsd.org> In-Reply-To: <20070526140421.GA97649@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705261623.54752.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 14:23:56 -0000 On Saturday 26 May 2007 16:04:21 Roman Divacky wrote: > On Sat, May 26, 2007 at 03:54:37PM +0200, Stefan Ehmann wrote: > > On Saturday 26 May 2007 15:15:34 Ivan Voras wrote: > > > Roman Divacky wrote: > > > > well.. I dont think that 60% increase of size when you are optimizing > > > > for size is normal. I even think its a "bug" in that sense that > > > > something wrong is set somewhere which causes this. > > > > > > > > I certainly dont believe this is normal > > > > > > I'm using the default make flags. In my case, it's release, > > > non-debugging 6-RELEASE kernel of 26 MB vs debugging kernel of > > > 7-CURRENT of 106 MB :) > > > > I guess that's due to /boot/kernel/*.symbols which are not present in my > > 6.2 installation. gcc42 file size increase shouldn't be that much. > > thats the problem. with -Os and gcc42 the kernel increases A LOT (60%), > other optimization levels doesnt seem to be affected Yes, but Ivan said he used default flags. So I think in his case the symbol files are mainly responsible for the 106MB vs 26MB. There's definitely something fishy about the -Os build. As I wrote earlier today: It looks like -Os does excessive inlining. Which might possibly be caused by our gcc options or a gcc bug. Setting a very low -finline-limit for testing purposes gives reasonable filesizes. Any gcc experts around to comment on this issue? Stefan From owner-freebsd-current@FreeBSD.ORG Sat May 26 14:39:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69BDB16A41F for ; Sat, 26 May 2007 14:39:59 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 206DD13C448 for ; Sat, 26 May 2007 14:39:58 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HrxQu-0001XR-3p for freebsd-current@freebsd.org; Sat, 26 May 2007 16:39:52 +0200 Received: from 78-0-91-14.adsl.net.t-com.hr ([78.0.91.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 16:39:52 +0200 Received: from ivoras by 78-0-91-14.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 16:39:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Sat, 26 May 2007 16:39:33 +0200 Lines: 33 Message-ID: References: <20070525095146.GA45288@freebsd.org> <200705261554.38444.shoesoft@gmx.net> <20070526140421.GA97649@freebsd.org> <200705261623.54752.shoesoft@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAB463FA37A1D29D845BF7D74" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-91-14.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <200705261623.54752.shoesoft@gmx.net> X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 14:39:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAB463FA37A1D29D845BF7D74 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stefan Ehmann wrote: > Yes, but Ivan said he used default flags. So I think in his case the sy= mbol=20 > files are mainly responsible for the 106MB vs 26MB. Yes, symbol files are 76 MB, leaving 31 MB for the kernel+modules. That's not so bad. Can anyone comment about will the symbols be useful in production kernels, for better backtraces? --------------enigAB463FA37A1D29D845BF7D74 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWEauldnAQVacBcgRAszHAKDejp8c6vakKu56gFagcsR0REE8WACfW1Li 50RuhVlE7We/PRTCCAAHPe8= =zm2u -----END PGP SIGNATURE----- --------------enigAB463FA37A1D29D845BF7D74-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 16:46:17 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6FC816A400 for ; Sat, 26 May 2007 16:46:17 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id B9AF713C455 for ; Sat, 26 May 2007 16:46:17 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QGijGa053628; Sat, 26 May 2007 09:44:45 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QGij00053627; Sat, 26 May 2007 09:44:45 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 09:44:45 -0700 From: Steve Kargl To: Michiel Boland Message-ID: <20070526164445.GA53570@troutmask.apl.washington.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Claus Guttesen Subject: Re: gcc memory consumption: amd64 v i386 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: Sat, 26 May 2007 16:46:17 -0000 On Sat, May 26, 2007 at 04:19:38PM +0200, Michiel Boland wrote: > >>Hi. I noticed that compilation of xorg-server on i386 with the new gcc > >>proceeds normally, whereas compilation on amd64 would crash because the > >>compiler would consume all memory. The i386 and amd64 boxen have the same > >>amount of RAM and swap, obviously. And they run, give or take a few hours, > >>more or less same version of -CURRENT. > > > >It does not crash if you have enough swap. I have 2 GB swap and it > >proceeded fine after some swapping. > > The point I was trying to make (although perhaps not clearly enough) is > that there is no reason that a trivial source file takes up such a huge > amount of memory to compile. Especially since gcc 3.4.6 does not blow up > like that. Major portions of the middle and back end of gcc were rewritten in going from 3.4.6 to 4.x. The TREE-SSA representation supposely offers the possibility of better optimization passes, but it comes at the moment with some memory pressure. The GCC developers are accutely aware of this issue, and are working on the problem. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 26 17:45:08 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE85716A421 for ; Sat, 26 May 2007 17:45:08 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 5054513C44C for ; Sat, 26 May 2007 17:45:08 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000105570.msg for ; Sat, 26 May 2007 21:47:53 +0400 Received: from 10.0.0.30 ([10.0.0.30]) by ex.hhp.local ([10.0.0.30]) with Microsoft Exchange Server HTTP-DAV ; Sat, 26 May 2007 17:47:51 +0000 From: "Yuriy Tsibizov" To: Message-ID: <009201c79fbd$fb3e6372$1e00000a@hhp.local> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 26 May 2007 21:45:10 +0400 MIME-Version: 1.0 Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: Acefvfs+xUDLffAlTSuR8O6MYF/AQA== X-MimeOLE: Produced By Microsoft Exchange V6.5 X-Spam-Processed: mx2.gfk.ru, Sat, 26 May 2007 21:47:53 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Sat, 26 May 2007 21:47:54 +0400 Cc: freebsd@unixfreunde.de, ed@fxq.nl, current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 17:45:08 -0000 I've re-checked this problem today and it seems to be a real gcc = regression. I had more pessimistic optimisation flags ( -O ) in my first = tests and snd_emu10k1 was running without problems. If I build it with = -O2 (default value for -CURRENT, with __MAKE_CONF=3D/dev/null) it is = broken (I checked it on my Audigy card and it shows different problems = from Live!, because it uses different code paths in driver). snd_emu10kx = is not broken with both -O and -O2. I can't tell for shure, but there = was no bug reports about broken snd_emu10k1 with -O2 and old gcc. Yuriy -----Unmodified Original Message----- On Mon, 21 May 2007 14:36:11 +0400 "Yuriy Tsibizov" wrote: | |> |Did you mean 'plop's or slow playback? |>=20 |> Oh Sorry, |>=20 |> slow playback. |ok, can you (and Ed) send me more info about hw (pciconf -lv), and |player you use? | |Can you try to play some mp3s with madplay (if you use other player)? | |Yuriy. | Hi Yuriy Mplayer and musicpd (ncmpd) it's with mp3s and tv=20 [11:07][miwi@miwi] $ pciconf -lv (~) none0@pci0:0:0: class=3D0x058000 card=3D0x71251462 chip=3D0x005e10de rev=3D0xa3 = hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'nForce4 Memory Controller' class =3D memory isab0@pci0:1:0: class=3D0x060100 card=3D0x71251462 chip=3D0x005010de rev=3D0xa3 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'nForce4 PCI to ISA Bridge' class =3D bridge subclass =3D PCI-ISA none1@pci0:1:1: class=3D0x0c0500 card=3D0x71251462 chip=3D0x005210de = rev=3D0xa2 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'nForce4 SMBus' class =3D serial bus subclass =3D SMBus ohci0@pci0:2:0: class=3D0x0c0310 card=3D0x71251462 chip=3D0x005a10de = rev=3D0xa2 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'nForce4 USB Controller' class =3D serial bus subclass =3D USB ehci0@pci0:2:1: class=3D0x0c0320 card=3D0x71251462 chip=3D0x005b10de = rev=3D0xa3 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'nForce4 USB 2.0 Controller' class =3D serial bus subclass =3D USB atapci0@pci0:6:0: class=3D0x01018a card=3D0x71251462 = chip=3D0x005310de rev=3D0xf2 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'NVidia nForce 4 SLI IDE Controller' class =3D mass storage subclass =3D ATA pcib1@pci0:9:0: class=3D0x060401 card=3D0x00000000 chip=3D0x005c10de = rev=3D0xa2 hdr=3D0x01 vendor =3D 'Nvidia Corp' device =3D 'nForce4 PCI Bridge' class =3D bridge subclass =3D PCI-PCI nve0@pci0:10:0: class=3D0x068000 card=3D0x71251462 chip=3D0x005710de = rev=3D0xa3 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'nForce4 Ultra NVidia Network Bus Enumerator' class =3D bridge pcib2@pci0:11:0: class=3D0x060400 card=3D0x00000000 = chip=3D0x005d10de rev=3D0xa3 hdr=3D0x01 vendor =3D 'Nvidia Corp' device =3D 'nForce4 PCI Express Bridge' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:12:0: class=3D0x060400 card=3D0x00000000 = chip=3D0x005d10de rev=3D0xa3 hdr=3D0x01 vendor =3D 'Nvidia Corp' device =3D 'nForce4 PCI Express Bridge' class =3D bridge subclass =3D PCI-PCI pcib4@pci0:13:0: class=3D0x060400 card=3D0x00000000 = chip=3D0x005d10de rev=3D0xa3 hdr=3D0x01 vendor =3D 'Nvidia Corp' device =3D 'nForce4 PCI Express Bridge' class =3D bridge subclass =3D PCI-PCI pcib5@pci0:14:0: class=3D0x060400 card=3D0x00000000 = chip=3D0x005d10de rev=3D0xa3 hdr=3D0x01 vendor =3D 'Nvidia Corp' device =3D 'nForce4 PCI Express Bridge' class =3D bridge subclass =3D PCI-PCI hostb0@pci0:24:0: class=3D0x060000 card=3D0x00000000 = chip=3D0x11001022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices (AMD)' device =3D 'Athlon 64 / Opteron HyperTransport Technology Configuration' class =3D bridge subclass =3D HOST-PCI hostb1@pci0:24:1: class=3D0x060000 card=3D0x00000000 = chip=3D0x11011022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices (AMD)' device =3D 'Athlon 64 / Opteron Address Map' class =3D bridge subclass =3D HOST-PCI hostb2@pci0:24:2: class=3D0x060000 card=3D0x00000000 = chip=3D0x11021022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices (AMD)' device =3D 'Athlon 64 / Opteron DRAM Controller' class =3D bridge subclass =3D HOST-PCI hostb3@pci0:24:3: class=3D0x060000 card=3D0x00000000 = chip=3D0x11031022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices (AMD)' device =3D 'Athlon 64 / Opteron Miscellaneous Control' class =3D bridge subclass =3D HOST-PCI pcm0@pci1:7:0: class=3D0x040100 card=3D0x80651102 chip=3D0x00021102 = rev=3D0x0a hdr=3D0x00 vendor =3D 'Creative Labs' device =3D 't4830020080332 Sound Blaster Live! (Also Live! 5.1) = - OEM from DELL - CT4780' class =3D multimedia subclass =3D audio none2@pci1:7:1: class=3D0x098000 card=3D0x00201102 chip=3D0x70021102 = rev=3D0x0a hdr=3D0x00 vendor =3D 'Creative Labs' device =3D 'EMU10000 Game Port' class =3D input device none3@pci1:9:0: class=3D0x040000 card=3D0x13eb0070 chip=3D0x036e109e = rev=3D0x02 hdr=3D0x00 vendor =3D 'Conexant (Was: Brooktree Corp)' device =3D 'Bt878/Fusion 878A Mediastream Controller' class =3D multimedia subclass =3D video none4@pci1:9:1: class=3D0x048000 card=3D0x13eb0070 chip=3D0x0878109e = rev=3D0x02 hdr=3D0x00 vendor =3D 'Conexant (Was: Brooktree Corp)' device =3D 'Bt878/Fusion878A Video Capture (Audio Section)' class =3D multimedia nvidia0@pci5:0:0: class=3D0x030000 card=3D0x22001682 = chip=3D0x01df10de rev=3D0xa1 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'GeForce 7300 GS' class =3D display subclass =3D VGA And world/kernel is from 19 May. FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #233: Sat May 19 20:02:50 UTC 2007 root@miwi.homeunix.com:/usr/obj/usr/src/sys/BSDBOX i386 --=20 Martin Wilke | irc.unixfreunde.de #bsd=20 miwi@FreeBSD.org | miwi@unixfreunde.de FreeBSD Committer | Power to Serve From owner-freebsd-current@FreeBSD.ORG Sat May 26 17:49:18 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C12716A41F for ; Sat, 26 May 2007 17:49:18 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mx1.freebsd.org (Postfix) with ESMTP id CA85013C465 for ; Sat, 26 May 2007 17:49:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so755375wxd for ; Sat, 26 May 2007 10:49:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=jo5rcxE8ceMms8b7cuG9cSdbb6P21cDbOyqk4orFeW4JzqmOqYadsRld3JaWQ8uDveiWxFcs+aw8DU2S7unTQWqwW9eO1fMICsA5kMybnRXtHwG/KNxBFoPs4onaBPr9DrU+fQxZDhMzB2TgoKPX6zhqO0Ft83Alti18U3jyvHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=FvAzr9NB7J0j8zrH7qOJjfetHvU3DdQiymemWAqF8GBBH5o+hYREcwQPVLwlRKQoci2lHxbintBBGClMiRhPIy0e9lAz6tD6jprKEZDA2W/GVj5NgvOWvdpcqFKsQjhQcVCYIq81jsM95lqtC/yE7PVorI43rJzoT2mhySGHtYE= Received: by 10.70.48.15 with SMTP id v15mr5929233wxv.1180201757129; Sat, 26 May 2007 10:49:17 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id 13sm5091328wrl.2007.05.26.10.49.15; Sat, 26 May 2007 10:49:16 -0700 (PDT) Date: Sat, 26 May 2007 13:49:12 -0400 From: Alexander Kabaev To: "Yuriy Tsibizov" Message-ID: <20070526134912.589eddba@kan.dnsalias.net> In-Reply-To: <009201c79fbd$fb3e6372$1e00000a@hhp.local> References: <009201c79fbd$fb3e6372$1e00000a@hhp.local> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_c6KOMx/f4Wi4gWF.fWyyH/K"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd@unixfreunde.de, ed@fxq.nl, current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 17:49:18 -0000 --Sig_c6KOMx/f4Wi4gWF.fWyyH/K Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 26 May 2007 21:45:10 +0400 "Yuriy Tsibizov" wrote: > I've re-checked this problem today and it seems to be a real gcc > regression. I had more pessimistic optimisation flags ( -O ) in my > first tests and snd_emu10k1 was running without problems. If I build > it with -O2 (default value for -CURRENT, with __MAKE_CONF=3D/dev/null) > it is broken (I checked it on my Audigy card and it shows different > problems from Live!, because it uses different code paths in driver). > snd_emu10kx is not broken with both -O and -O2. I can't tell for > shure, but there was no bug reports about broken snd_emu10k1 with -O2 > and old gcc. >=20 > Yuriy >=20 Show me the broken code. It is not that hard to isolate one if you know that it exists. Above rambling does not cut it. --=20 Alexander Kabaev --Sig_c6KOMx/f4Wi4gWF.fWyyH/K Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGWHMYQ6z1jMm+XZYRAkqzAJ9P4R0FkFbO/Vi14ao8BC4rY6riVACeJZ6F 0vEJoIaiCtlKwlsP5aBYgXc= =0T3a -----END PGP SIGNATURE----- --Sig_c6KOMx/f4Wi4gWF.fWyyH/K-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 19:32:57 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E646B16A400 for ; Sat, 26 May 2007 19:32:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC3C13C4B0 for ; Sat, 26 May 2007 19:32:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QJVXeO054918 for ; Sat, 26 May 2007 12:31:33 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QJVS5v054917 for freebsd-current@freebsd.org; Sat, 26 May 2007 12:31:28 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 12:31:28 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070526193128.GB54875@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: HEADS-UP: gcc-4.2 import appears to miscompile libm. 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: Sat, 26 May 2007 19:32:58 -0000 mobile:kargl[234] cat a.c #include #include int main (void) { int n; float a; a = 1.f; printf("%f\n", frexpf(a,&n)); return 0; } mobile:kargl[235] cc -o z a.c -lm mobile:kargl[236] ./z 1.000000 mobile:kargl[237] cc --version cc (GCC) 4.2.0 20070514 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. frexpf() should return a value in [1/2,1). -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 26 19:36:39 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C02016A400 for ; Sat, 26 May 2007 19:36:39 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.freebsd.org (Postfix) with ESMTP id A268D13C45E for ; Sat, 26 May 2007 19:36:38 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 90298 invoked by uid 89); 26 May 2007 19:09:55 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 26 May 2007 19:09:55 -0000 Date: Sat, 26 May 2007 21:09:53 +0200 From: Oliver Lehmann To: current@freebsd.org Message-Id: <20070526210953.74174657.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.4.2 (GTK+ 2.10.12; amd64-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: internal error on compiling HEAD 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: Sat, 26 May 2007 19:36:39 -0000 I was trying to update my current, but gcc is dying again and again here... cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c cc: Internal error: Killed: 9 (program cc1) Please submit a full bug report. See for instructions. {standard input}: Assembler messages: {standard input}:24808: Warning: partial line at end of file ignored *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc_int. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Exit 1 root@curry src> uname -a FreeBSD curry.salatschuessel.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Feb 17 09:21:37 CET 2007 olivleh1@curry.salatschuessel.net: /usr/obj/usr/src/sys/CURRY i386 root@curry src> -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-current@FreeBSD.ORG Sat May 26 19:38:58 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E83916A400 for ; Sat, 26 May 2007 19:38:58 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id A5CA913C458 for ; Sat, 26 May 2007 19:38:57 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000105613.msg for ; Sat, 26 May 2007 23:41:44 +0400 Received: from 10.0.0.30 ([10.0.0.30]) by ex.hhp.local ([10.0.0.30]) with Microsoft Exchange Server HTTP-DAV ; Sat, 26 May 2007 19:41:42 +0000 From: "Yuriy Tsibizov" To: , Message-ID: <009301c79fcd$e3040060$1e00000a@hhp.local> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 26 May 2007 23:38:58 +0400 MIME-Version: 1.0 Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: AcefzeMDxKqcvY7uTjuyUfQQtCoKFQ== X-MimeOLE: Produced By Microsoft Exchange V6.5 X-Spam-Processed: mx2.gfk.ru, Sat, 26 May 2007 23:41:44 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Sat, 26 May 2007 23:41:44 +0400 Cc: freebsd@unixfreunde.de, ed@fxq.nl, current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 19:38:58 -0000 Alexander, I'm working on it. The only thing I can say right now, that it's -ftree-vrp that broke the = code -- building with -O -ftree-vrp makes broken binary, while -O alone = does not.=20 (sorry for top-posting) -----Original Message----- From: "Alexander Kabaev" Sent: 26.05.07 21:58:38 To: "Yuriy Tsibizov" Cc: "ed@fxq.nl", "current@freebsd.org", = "freebsd@unixfreunde.de" Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade On Sat, 26 May 2007 21:45:10 +0400 "Yuriy Tsibizov" wrote: > I've re-checked this problem today and it seems to be a real gcc > regression. I had more pessimistic optimisation flags ( -O ) in my > first tests and snd_emu10k1 was running without problems. If I build > it with -O2 (default value for -CURRENT, with __MAKE_CONF=3D/dev/null) > it is broken (I checked it on my Audigy card and it shows different > problems from Live!, because it uses different code paths in driver). > snd_emu10kx is not broken with both -O and -O2. I can't tell for > shure, but there was no bug reports about broken snd_emu10k1 with -O2 > and old gcc. >=20 > Yuriy >=20 Show me the broken code. It is not that hard to isolate one if you know that it exists. Above rambling does not cut it. --=20 Alexander Kabaev From owner-freebsd-current@FreeBSD.ORG Sat May 26 19:45:37 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77E4616A41F for ; Sat, 26 May 2007 19:45:37 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 22ECF13C458 for ; Sat, 26 May 2007 19:45:37 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so770726wxd for ; Sat, 26 May 2007 12:45:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=DzSWdDD2Z0OkDUKK3pqRXXxpTOWPKw3ntUCF1C3TxFLX9LLOe1MtW5+o6wqv8HFyMDjP3Z2SdTGU4ipOXoK9t3VO3iw/SSVlJZhPvLoHGr8auUyIiXnxTGxWTB0WpF/IJbGNgLZ7U3t9zgX5K6W3NIlWOHRC5DewcEmY2HJvqJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=mpjjvA/E4s/zOWBMLRZveXcbh0+7RsWba5CkEf+IzZAMkW5Gghe0IUm76EAfMazYQJDkKMsSUJiTjqC3AKnr01mzyrvSTWtgJoFnseCXY4KPjrkgzi8asI3dYmOfoisfXL1VWQcC2CFQM4Sw78KNcl80GqxhImKWjpl+MGjuPC4= Received: by 10.70.65.8 with SMTP id n8mr5994487wxa.1180208736564; Sat, 26 May 2007 12:45:36 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id 32sm5209004wri.2007.05.26.12.45.35; Sat, 26 May 2007 12:45:35 -0700 (PDT) Date: Sat, 26 May 2007 15:45:31 -0400 From: Alexander Kabaev To: "Yuriy Tsibizov" Message-ID: <20070526154531.79503c6b@kan.dnsalias.net> In-Reply-To: <009301c79fcd$e3040060$1e00000a@hhp.local> References: <009301c79fcd$e3040060$1e00000a@hhp.local> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_jgJ=e6rMr_iLOXq6VxwisHQ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd@unixfreunde.de, ed@fxq.nl, current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 19:45:37 -0000 --Sig_jgJ=e6rMr_iLOXq6VxwisHQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 26 May 2007 23:38:58 +0400 "Yuriy Tsibizov" wrote: > Alexander, I'm working on it. > The only thing I can say right now, that it's -ftree-vrp that broke > the code -- building with -O -ftree-vrp makes broken binary, while -O > alone does not.=20 >=20 > (sorry for top-posting) Thanks. Ideally should be able to distill the case info a simple preprocessed .i file with just enough code to demonstrate the mis-compilation. I do not have any of the snd_emuXXX cards here myself. --=20 Alexander Kabaev --Sig_jgJ=e6rMr_iLOXq6VxwisHQ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGWI5bQ6z1jMm+XZYRAmCcAJwK9V+N+PJ4M+i0FUsagA+1ArYwMwCfUKFl ViQCYz9Y5xNy15VXggPbo5M= =lhfQ -----END PGP SIGNATURE----- --Sig_jgJ=e6rMr_iLOXq6VxwisHQ-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 19:45:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DC8116A468 for ; Sat, 26 May 2007 19:45:40 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id D26C613C45D for ; Sat, 26 May 2007 19:45:39 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so381796anc for ; Sat, 26 May 2007 12:45:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oWRgip+03yiMz+ebdW2+Aj5Z6qnPea9ROqu8ae/yPnv5dPiMGgGCSCv2k+i4GLNDKiA2bPrgJ4ryFu4ZNAnu+Sx2YMaHJ1BjhslI5L/j1eoKjbmFwE2AN/OOO2UBNGmhcdnxq/jA3ssSKCxub0Se8EuszNpCOrNL2KMw0MLa2/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gmkVlxZLCyTEeglwODmjrnFDOyM3dKGfeIFd1aVm2gnL29uJnrLT9Pkzmp2xLT9GbYE4xeDvf9S8W8gs2MtG0GhCw6nRojV5SMJXzGGhAFLr47cIxc3dAMXIja2LPJHSrqYStP7eeLffWqPHZvi8SUUwFPbIUVPbkl/Bz7WxiAo= Received: by 10.100.178.7 with SMTP id a7mr3634593anf.1180208738763; Sat, 26 May 2007 12:45:38 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Sat, 26 May 2007 12:45:38 -0700 (PDT) Message-ID: <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> Date: Sat, 26 May 2007 22:45:38 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Steve Kargl" In-Reply-To: <20070525234115.GA48789@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070525234115.GA48789@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: Segment failed SYNCOOKIE? 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: Sat, 26 May 2007 19:45:40 -0000 On 5/26/07, Steve Kargl wrote: > Anyone have ideas on how to cure > > May 25 16:20:03 node13 kernel: TCP: [192.168.0.15]:53815 to > [192.168.0.13]:50992 tcpflags 0x11; syncache_expand: > Segment failed SYNCOOKIE authentication > > The hardware and kernel on 192.168.0.15 and 192.168.0.13 > are identical. > > -- > Steve 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat May 26 04:25:29 GMT 2007 I got the same problem and my sever paniced today. TCP: [70.162.96.41]:54686 to [IP removed for security reasons]:59999 tcpflags 0x18; syncache_expand: Segment failed SYNCOOKIE authentication Anyone working on this now? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-current@FreeBSD.ORG Sat May 26 20:00:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F5DF16A400 for ; Sat, 26 May 2007 20:00:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5DAB113C480 for ; Sat, 26 May 2007 20:00:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 263551A3C1C; Sat, 26 May 2007 13:01:28 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7F1C852F14; Sat, 26 May 2007 16:00:22 -0400 (EDT) Date: Sat, 26 May 2007 16:00:22 -0400 From: Kris Kennaway To: Michiel Boland Message-ID: <20070526200021.GA53296@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Claus Guttesen Subject: Re: gcc memory consumption: amd64 v i386 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: Sat, 26 May 2007 20:00:23 -0000 On Sat, May 26, 2007 at 04:19:38PM +0200, Michiel Boland wrote: > >>Hi. I noticed that compilation of xorg-server on i386 with the new gcc > >>proceeds normally, whereas compilation on amd64 would crash because the > >>compiler would consume all memory. The i386 and amd64 boxen have the same > >>amount of RAM and swap, obviously. And they run, give or take a few hours, > >>more or less same version of -CURRENT. > > > >It does not crash if you have enough swap. I have 2 GB swap and it > >proceeded fine after some swapping. > > The point I was trying to make (although perhaps not clearly enough) is > that there is no reason that a trivial source file takes up such a huge > amount of memory to compile. Especially since gcc 3.4.6 does not blow up > like that. Of course there is a reason. You mean "there is no reason I currently understand". Every new version of gcc brings new optimizations. Typically these may require additional memory at compile time to produce a space or time saving at runtime. That's the trade-off. Kris From owner-freebsd-current@FreeBSD.ORG Sat May 26 20:01:16 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 619EE16A46F for ; Sat, 26 May 2007 20:01:16 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 52B9013C465 for ; Sat, 26 May 2007 20:01:16 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 1EB8C1A3C1C; Sat, 26 May 2007 13:02:21 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7B1A7513AE; Sat, 26 May 2007 16:01:15 -0400 (EDT) Date: Sat, 26 May 2007 16:01:15 -0400 From: Kris Kennaway To: Oliver Lehmann Message-ID: <20070526200115.GB53296@xor.obsecurity.org> References: <20070526210953.74174657.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070526210953.74174657.lehmann@ans-netz.de> User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org Subject: Re: internal error on compiling HEAD 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: Sat, 26 May 2007 20:01:16 -0000 On Sat, May 26, 2007 at 09:09:53PM +0200, Oliver Lehmann wrote: > I was trying to update my current, but gcc is dying again and again here... > > cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c > cc: Internal error: Killed: 9 (program cc1) Usually: "Out of memory". Kris From owner-freebsd-current@FreeBSD.ORG Sat May 26 20:30:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C12D16A400 for ; Sat, 26 May 2007 20:30:24 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 1E66013C45B for ; Sat, 26 May 2007 20:30:23 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000105638.msg for ; Sun, 27 May 2007 00:33:09 +0400 Received: from 10.0.0.30 ([10.0.0.30]) by ex.hhp.local ([10.0.0.30]) with Microsoft Exchange Server HTTP-DAV ; Sat, 26 May 2007 20:33:05 +0000 From: "Yuriy Tsibizov" To: , Message-ID: <009401c79fd5$10681d17$1e00000a@hhp.local> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 27 May 2007 00:30:20 +0400 MIME-Version: 1.0 Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: Acef1RBnrmrhY8pzSQ6dM3g9UMEJag== X-MimeOLE: Produced By Microsoft Exchange V6.5 X-Spam-Processed: mx2.gfk.ru, Sun, 27 May 2007 00:33:09 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Sun, 27 May 2007 00:33:10 +0400 Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 20:30:24 -0000 Alexander, I've narrowed it down to single function -- emu_vsetup (in = sys/dev/sound/pci/emu10k1.c). Without -ftree-vrp it compiles without = problems, with it it makes broken code. You can also compare it to the = function with the same name in emu10kx.c -- in last file it compiles = with or without -ftree-vrp without problems. If you need more info, I can do more research tomorrow. Yuriy. P.S. Many thanks to ssb from #c on RusNet. -----Original Message----- From: "Alexander Kabaev" Sent: 26.05.07 23:48:33 To: "Yuriy Tsibizov" Cc: "Yuriy.Tsibizov@gfk.ru", = "ed@fxq.nl", "current@freebsd.org", = "freebsd@unixfreunde.de" Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade On Sat, 26 May 2007 23:38:58 +0400 "Yuriy Tsibizov" wrote: > Alexander, I'm working on it. > The only thing I can say right now, that it's -ftree-vrp that broke > the code -- building with -O -ftree-vrp makes broken binary, while -O > alone does not.=20 >=20 > (sorry for top-posting) Thanks. Ideally should be able to distill the case info a simple preprocessed .i file with just enough code to demonstrate the mis-compilation. I do not have any of the snd_emuXXX cards here myself. --=20 Alexander Kabaev From owner-freebsd-current@FreeBSD.ORG Sat May 26 20:57:38 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4B3816A469 for ; Sat, 26 May 2007 20:57:37 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC5313C48C for ; Sat, 26 May 2007 20:57:37 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so384112anc for ; Sat, 26 May 2007 13:57:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kLFQviOPpPyAQ3iKM21z+m98gdM/bGx+N7NTCGOhzurkVFa1ZEHcLgrJ/krQZRAbcIbLpEUccSupQookVD7Fd5l0xpv5QNRfPipN08D3fjp+qRI1Y0yEp+OQQib7pcr1260JFUcHFWZ66EgKp3DseNV/bm5EAUuj+um0hslVsgU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=El4wfifD8YkMWATJhe0efchO5OqkN3RICDbMCRL75NqaEY94inH/+OhPT2eZ4ruC7jXU/LIlfHKe8Th76ECMcNzkUkdLR5A3VVGkDMTeMlw5eRwsYhK6GZ5dyeK6aNmJdnV8NLDsIY25RkC90sKh3r6weOqitl9aTaHOnZZnwMU= Received: by 10.100.199.12 with SMTP id w12mr3619609anf.1180213056882; Sat, 26 May 2007 13:57:36 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Sat, 26 May 2007 13:57:36 -0700 (PDT) Message-ID: <499c70c0705261357j1dbac221g2132fe05d6ab6029@mail.gmail.com> Date: Sat, 26 May 2007 23:57:36 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: freebsd-current@freebsd.org In-Reply-To: <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070525234115.GA48789@troutmask.apl.washington.edu> <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> Subject: Re: Segment failed SYNCOOKIE? 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: Sat, 26 May 2007 20:57:38 -0000 On 5/26/07, Abdullah Ibn Hamad Al-Marri wrote: > On 5/26/07, Steve Kargl wrote: > > Anyone have ideas on how to cure > > > > May 25 16:20:03 node13 kernel: TCP: [192.168.0.15]:53815 to > > [192.168.0.13]:50992 tcpflags 0x11; syncache_expand: > > Segment failed SYNCOOKIE authentication > > > > The hardware and kernel on 192.168.0.15 and 192.168.0.13 > > are identical. > > > > -- > > Steve > > 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat May 26 04:25:29 GMT 2007 > > I got the same problem and my sever paniced today. > > TCP: [70.162.96.41]:54686 to [IP removed for security reasons]:59999 > tcpflags 0x18; syncache_expand: Segment failed SYNCOOKIE > authentication > > Anyone working on this now? Sorry for the spam, I need to add this. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100000 real memory = 2146304000 (2046 MB) avail memory = 2099286016 (2002 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 em0: port 0xa000-0xa01f mem 0xf9020000-0xf903ffff,0xf9000000-0xf901ffff irq 18 at device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:54:00 em0: [FILTER] pcib3: at device 28.0 on pci0 pci3: on pcib3 vgapci0: port 0xb000-0xb0ff mem 0xfa000000-0xfaffffff,0xfc000000-0xfc000fff irq 24 at device 2.0 on pci3 pcib4: at device 30.0 on pci0 pci4: on pcib4 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, rule-based forwarding disabled, default to accept, logging limited to 10000 packets/entry by default ad0: 70911MB at ata0-master SATA150 ad1: 238475MB at ata0-slave SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a em0: link state changed to UP -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-current@FreeBSD.ORG Sat May 26 21:42:14 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CD1A16A4C2 for ; Sat, 26 May 2007 21:42:14 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 2425B13C457 for ; Sat, 26 May 2007 21:42:12 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.5.6) with ESMTP id md50000105654.msg for ; Sun, 27 May 2007 01:44:59 +0400 Received: from 10.0.0.30 ([10.0.0.30]) by ex.hhp.local ([10.0.0.30]) with Microsoft Exchange Server HTTP-DAV ; Sat, 26 May 2007 21:44:56 +0000 From: "Yuriy Tsibizov" To: , Message-ID: <009501c79fdf$19e25880$1e00000a@hhp.local> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 27 May 2007 01:42:12 +0400 MIME-Version: 1.0 Thread-Topic: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Thread-Index: Acef1RBnrmrhY8pzSQ6dM3g9UMEJagACgl7+ X-MimeOLE: Produced By Microsoft Exchange V6.5 X-Spam-Processed: mx2.gfk.ru, Sun, 27 May 2007 01:44:59 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Sun, 27 May 2007 01:45:00 +0400 Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 21:42:14 -0000 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32100 -----Original Message----- From: "Yuriy Tsibizov" Sent: 27.05.07 00:33:05 To: "kabaev@gmail.com", = "Yuriy.Tsibizov@gfk.ru" Cc: "current@freebsd.org" Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade Alexander, I've narrowed it down to single function -- emu_vsetup (in = sys/dev/sound/pci/emu10k1.c). Without -ftree-vrp it compiles without = problems, with it it makes broken code. You can also compare it to the = function with the same name in emu10kx.c -- in last file it compiles = with or without -ftree-vrp without problems. If you need more info, I can do more research tomorrow. Yuriy. P.S. Many thanks to ssb from #c on RusNet. -----Original Message----- From: "Alexander Kabaev" Sent: 26.05.07 23:48:33 To: "Yuriy Tsibizov" Cc: "Yuriy.Tsibizov@gfk.ru", = "ed@fxq.nl", "current@freebsd.org", = "freebsd@unixfreunde.de" Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade On Sat, 26 May 2007 23:38:58 +0400 "Yuriy Tsibizov" wrote: > Alexander, I'm working on it. > The only thing I can say right now, that it's -ftree-vrp that broke > the code -- building with -O -ftree-vrp makes broken binary, while -O > alone does not.=20 >=20 > (sorry for top-posting) Thanks. Ideally should be able to distill the case info a simple preprocessed .i file with just enough code to demonstrate the mis-compilation. I do not have any of the snd_emuXXX cards here myself. --=20 Alexander Kabaev From owner-freebsd-current@FreeBSD.ORG Sat May 26 21:46:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9777D16A468; Sat, 26 May 2007 21:46:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 744EB13C45D; Sat, 26 May 2007 21:46:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4QLkoiw027287 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 26 May 2007 14:46:51 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4QLkoIY003325 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 26 May 2007 14:46:50 -0700 Message-ID: <4658AAF3.5060708@u.washington.edu> Date: Sat, 26 May 2007 14:47:31 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Stefan Ehmann References: <20070525095146.GA45288@freebsd.org> <200705251602.48778.shoesoft@gmx.net> <20070525150517.GA63514@freebsd.org> <200705261248.37152.shoesoft@gmx.net> In-Reply-To: <200705261248.37152.shoesoft@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.26.142834 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Roman Divacky , freebsd-current@freebsd.org Subject: Re: size of kernel after gcc4.2 upgrade 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: Sat, 26 May 2007 21:46:51 -0000 Stefan Ehmann wrote: > On Friday 25 May 2007 17:05:17 Roman Divacky wrote: >> On Fri, May 25, 2007 at 04:02:47PM +0200, Stefan Ehmann wrote: >>> On Friday 25 May 2007 11:51:46 Roman Divacky wrote: >>>> hi >>>> >>>> I just noticed that >>>> spravci ~# ls -l /boot/kernel*/kernel >>>> -r-xr-xr-x 1 root wheel 3389971 May 18 12:03 >>>> /boot/kernel.old/kernel* -r-xr-xr-x 1 root wheel 5211345 May 25 >>>> 11:47 /boot/kernel/kernel* >>>> >>>> ie. after gcc42 import the kernel size increased roughly by 60% thats >>>> a little too much. is there any forgotten option or something that >>>> makes the kernel grow so big? >>> While I also see an increase, it's not that much. >>> >>> GENERIC from today's current, also compiled with gcc34 from ports (I had >>> to delete two gcc options in sys/conf/kern.mk): >>> >>> gcc34: 6530916 >>> gcc42: 7352560 >>> gcc34 -Os: 6074468 >>> gcc42 -Os: 10058032 >> yes, thats it! I also used -Os. it looks like this occurs only with -Os >> optimization level. >> >> can someone else confirm this? and/or possibly explain this? > > -Os seems to do more inlining than -O. > > Maybe this is a gcc bug, we use strange options for the buildkernel or who > knows what. > > If I use INLINE_LIMIT=600, I get a more reasonable sized kernel (600 is the > gcc default, /sys/conf/kern.mk sets it to 8000). But it's still larger than > the -O compile. > > If I further lower INLINE_LIMIT to 50: > -Os: 5876816 > -O: 7154096 > > This numbers finally look sane for a -Os build. Doing this is probably not a > good idea but maybe this points to the cause of the size increase. This has been discussed quite a bit in the Gentoo forums with gcc v4.1+. Depending on the architecture and CPU, -Os actually reduced the overall performance greatly. This may or may not have to do with size. For Pentium 4 - Core 2 Duo: -O2 was good. -O3 was better. -Os was the worst. This is one of many discussion threads: . Some food for thought. -Garrett From owner-freebsd-current@FreeBSD.ORG Sat May 26 21:56:03 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DD5916A400 for ; Sat, 26 May 2007 21:56:03 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id DC72B13C46E for ; Sat, 26 May 2007 21:56:02 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 9E5D91CD9A; Sat, 26 May 2007 23:56:01 +0200 (CEST) Date: Sat, 26 May 2007 23:56:01 +0200 From: Ed Schouten To: Yuriy Tsibizov Message-ID: <20070526215601.GT23313@hoeg.nl> References: <009501c79fdf$19e25880$1e00000a@hhp.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nF5CeAc4QNWHTmva" Content-Disposition: inline In-Reply-To: <009501c79fdf$19e25880$1e00000a@hhp.local> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: current@freebsd.org Subject: Re: [Regression] snd_emu10k1 doesn't work after GCC 4.2 upgrade 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: Sat, 26 May 2007 21:56:03 -0000 --nF5CeAc4QNWHTmva Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Yuriy Tsibizov wrote: > See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32100 So if I understand this correctly, the following patch should work around this? Shouldn't a warning about this be raised anyway (that is: assigning the constant value of '1' to a signed int:1)? I can't test this patch yet, I'll take a look tomorrow. --- src/sys/dev/sound/pci/emu10k1.c Fri Dec 30 20:55:53 2005 +++ src/sys/dev/sound/pci/emu10k1.c Sat May 26 23:53:38 2007 @@ -85,7 +85,7 @@ =20 struct emu_voice { int vnum; - int b16:1, stereo:1, busy:1, running:1, ismaster:1; + unsigned int b16:1, stereo:1, busy:1, running:1, ismaster:1; int speed; int start, end, vol; int fxrt1; /* FX routing */ --=20 Ed Schouten WWW: http://g-rave.nl/ --nF5CeAc4QNWHTmva Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGWKzx52SDGA2eCwURAlmBAJ4lKGbYTaoLbdBn0oY5WMB0L6lf0ACfT4aN DmFuZVcSQbosr9spUs77Uv0= =YuBB -----END PGP SIGNATURE----- --nF5CeAc4QNWHTmva-- From owner-freebsd-current@FreeBSD.ORG Sat May 26 22:34:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62F7116A468 for ; Sat, 26 May 2007 22:34:40 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 46C0213C46C for ; Sat, 26 May 2007 22:34:40 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QMXEkS055654; Sat, 26 May 2007 15:33:14 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QMXESM055653; Sat, 26 May 2007 15:33:14 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 15:33:14 -0700 From: Steve Kargl To: Abdullah Ibn Hamad Al-Marri Message-ID: <20070526223314.GB55588@troutmask.apl.washington.edu> References: <20070525234115.GA48789@troutmask.apl.washington.edu> <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: Segment failed SYNCOOKIE? 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: Sat, 26 May 2007 22:34:40 -0000 On Sat, May 26, 2007 at 10:45:38PM +0300, Abdullah Ibn Hamad Al-Marri wrote: > On 5/26/07, Steve Kargl wrote: > >Anyone have ideas on how to cure > > > >May 25 16:20:03 node13 kernel: TCP: [192.168.0.15]:53815 to > >[192.168.0.13]:50992 tcpflags 0x11; syncache_expand: > >Segment failed SYNCOOKIE authentication > > > >The hardware and kernel on 192.168.0.15 and 192.168.0.13 > >are identical. > > > >-- > >Steve > > 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat May 26 04:25:29 GMT 2007 > > I got the same problem and my sever paniced today. > > TCP: [70.162.96.41]:54686 to [IP removed for security reasons]:59999 > tcpflags 0x18; syncache_expand: Segment failed SYNCOOKIE > authentication > > Anyone working on this now? > Fortunately for me, the porblem appears on a cluster that sits behind a firewall or two, so I can turn syncookie off via net.inet.tcp.syncookies. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 26 22:42:15 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C76916A41F for ; Sat, 26 May 2007 22:42:15 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 006CD13C457 for ; Sat, 26 May 2007 22:42:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QMem06055719; Sat, 26 May 2007 15:40:49 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QMeeDv055718; Sat, 26 May 2007 15:40:40 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 15:40:40 -0700 From: Steve Kargl To: Ed Schouten Message-ID: <20070526224040.GA55701@troutmask.apl.washington.edu> References: <20070526193128.GB54875@troutmask.apl.washington.edu> <20070526214835.GS23313@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070526214835.GS23313@hoeg.nl> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: HEADS-UP: gcc-4.2 import appears to miscompile libm. 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: Sat, 26 May 2007 22:42:15 -0000 On Sat, May 26, 2007 at 11:48:35PM +0200, Ed Schouten wrote: > Hello Steve, > > * Steve Kargl wrote: > > mobile:kargl[234] cat a.c > > #include > > #include > > > > int main (void) { > > int n; > > float a; > > a = 1.f; > > printf("%f\n", frexpf(a,&n)); > > return 0; > > } > > mobile:kargl[235] cc -o z a.c -lm > > mobile:kargl[236] ./z > > 1.000000 > > mobile:kargl[237] cc --version > > cc (GCC) 4.2.0 20070514 [FreeBSD] > > Copyright (C) 2007 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > > frexpf() should return a value in [1/2,1). > > In a different thread (about snd_emu10k1) a user noticed that -ftree-vrp > (part of -O2) may cause miscompilations. Could you try installing a libm > (src/lib/msun) that is compiled with -O1? > (cc'd -current list) Using -O instead of -O2 indeed appears to fix the problem. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 26 22:57:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61A0016A41F for ; Sat, 26 May 2007 22:57:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 501FD13C46A for ; Sat, 26 May 2007 22:57:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 3DE151A3C19; Sat, 26 May 2007 15:58:37 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7E2D1514AA; Sat, 26 May 2007 18:57:31 -0400 (EDT) Date: Sat, 26 May 2007 18:57:31 -0400 From: Kris Kennaway To: Steve Kargl Message-ID: <20070526225731.GA56181@xor.obsecurity.org> References: <20070526193128.GB54875@troutmask.apl.washington.edu> <20070526214835.GS23313@hoeg.nl> <20070526224040.GA55701@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070526224040.GA55701@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Ed Schouten Subject: Re: HEADS-UP: gcc-4.2 import appears to miscompile libm. 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: Sat, 26 May 2007 22:57:32 -0000 On Sat, May 26, 2007 at 03:40:40PM -0700, Steve Kargl wrote: > On Sat, May 26, 2007 at 11:48:35PM +0200, Ed Schouten wrote: > > Hello Steve, > > > > * Steve Kargl wrote: > > > mobile:kargl[234] cat a.c > > > #include > > > #include > > > > > > int main (void) { > > > int n; > > > float a; > > > a = 1.f; > > > printf("%f\n", frexpf(a,&n)); > > > return 0; > > > } > > > mobile:kargl[235] cc -o z a.c -lm > > > mobile:kargl[236] ./z > > > 1.000000 > > > mobile:kargl[237] cc --version > > > cc (GCC) 4.2.0 20070514 [FreeBSD] > > > Copyright (C) 2007 Free Software Foundation, Inc. > > > This is free software; see the source for copying conditions. There is NO > > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > > > > frexpf() should return a value in [1/2,1). > > > > In a different thread (about snd_emu10k1) a user noticed that -ftree-vrp > > (part of -O2) may cause miscompilations. Could you try installing a libm > > (src/lib/msun) that is compiled with -O1? > > > > (cc'd -current list) > > Using -O instead of -O2 indeed appears to fix the problem. How about -O2 -fno-tree-vrp? Kris From owner-freebsd-current@FreeBSD.ORG Sat May 26 23:08:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50ABC16A41F for ; Sat, 26 May 2007 23:08:00 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 331D113C43E for ; Sat, 26 May 2007 23:08:00 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QN6XC3055952; Sat, 26 May 2007 16:06:33 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QN6XMw055951; Sat, 26 May 2007 16:06:33 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 16:06:33 -0700 From: Steve Kargl To: Kris Kennaway Message-ID: <20070526230633.GA55908@troutmask.apl.washington.edu> References: <20070526193128.GB54875@troutmask.apl.washington.edu> <20070526214835.GS23313@hoeg.nl> <20070526224040.GA55701@troutmask.apl.washington.edu> <20070526225731.GA56181@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070526225731.GA56181@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Ed Schouten Subject: Re: HEADS-UP: gcc-4.2 import appears to miscompile libm. 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: Sat, 26 May 2007 23:08:00 -0000 On Sat, May 26, 2007 at 06:57:31PM -0400, Kris Kennaway wrote: > On Sat, May 26, 2007 at 03:40:40PM -0700, Steve Kargl wrote: > > > > Using -O instead of -O2 indeed appears to fix the problem. > > How about -O2 -fno-tree-vrp? > I'm getting there. For those new to gcc-4.x, there are -fdump-tree-* options that dump a boatload of intermediate results. I'm wading through the -fdump-tree-all directories. OK. -fno-tree-vrp does not help. -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 26 23:09:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6615716A46C for ; Sat, 26 May 2007 23:09:20 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9CB13C448 for ; Sat, 26 May 2007 23:09:20 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 34.158-pool-avail-mi.sccoast.net ([66.153.158.34]:61425 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1Hs5Nu-0003Hz-V3; Sat, 26 May 2007 19:09:19 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l4QN9Hmh005078; Sat, 26 May 2007 19:09:17 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sat, 26 May 2007 19:09:16 -0400 (EDT) From: Wes Morgan To: Kris Kennaway In-Reply-To: <20070526225731.GA56181@xor.obsecurity.org> Message-ID: <20070526190023.C98508@volatile.chemikals.org> References: <20070526193128.GB54875@troutmask.apl.washington.edu> <20070526214835.GS23313@hoeg.nl> <20070526224040.GA55701@troutmask.apl.washington.edu> <20070526225731.GA56181@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Ed Schouten , Steve Kargl Subject: Re: HEADS-UP: gcc-4.2 import appears to miscompile libm. 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: Sat, 26 May 2007 23:09:20 -0000 On Sat, 26 May 2007, Kris Kennaway wrote: > On Sat, May 26, 2007 at 03:40:40PM -0700, Steve Kargl wrote: >> On Sat, May 26, 2007 at 11:48:35PM +0200, Ed Schouten wrote: >>> Hello Steve, >>> >>> * Steve Kargl wrote: >>>> mobile:kargl[234] cat a.c >>>> #include >>>> #include >>>> >>>> int main (void) { >>>> int n; >>>> float a; >>>> a = 1.f; >>>> printf("%f\n", frexpf(a,&n)); >>>> return 0; >>>> } >>>> mobile:kargl[235] cc -o z a.c -lm >>>> mobile:kargl[236] ./z >>>> 1.000000 >>>> mobile:kargl[237] cc --version >>>> cc (GCC) 4.2.0 20070514 [FreeBSD] >>>> Copyright (C) 2007 Free Software Foundation, Inc. >>>> This is free software; see the source for copying conditions. There is NO >>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >>>> >>>> frexpf() should return a value in [1/2,1). >>> >>> In a different thread (about snd_emu10k1) a user noticed that -ftree-vrp >>> (part of -O2) may cause miscompilations. Could you try installing a libm >>> (src/lib/msun) that is compiled with -O1? >>> >> >> (cc'd -current list) >> >> Using -O instead of -O2 indeed appears to fix the problem. > > How about -O2 -fno-tree-vrp? > Working from -O towards -O2 based on the info pages, I can "reproduce" the problem with "-O -fstrict-aliasing -fgcse"... However, -O2 with -fno-strict-aliasing by itself seems to work around the issue. At first glance it looks like a possible interaction between several optimizations. -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Sat May 26 23:28:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE9A516A469 for ; Sat, 26 May 2007 23:28:48 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF9313C44B for ; Sat, 26 May 2007 23:28:48 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so388379anc for ; Sat, 26 May 2007 16:28:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oRnG79tLrKNHJOWTfvfxxR6hJuZ2zU/9ssCImts/gQdBfRUB15fatmip6MsrD4KLmVp6MfJ3HUlrwihEAxLXkqdBsezwbfxYrN59SnlEUNf016lSGwlz2XBMzaQ0Vq6sM5Kqg2RsEeKzdHtiwcZ3CVbZ4FJkwTcMLIEIhyLEkTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gzzi+DZ9cbof1rS5cO/pthMXmoYs0z5zbp+DwGjuKTwAqAU+y5NJth/KN926aZh4PZ/GbHaQ3ZTC4IuH1u7Gdpekn1w1E1FWKwwWSMOQxaIuRTKTopTKBV84IyUxnOkRkBNhGyA9yGTmT96fmZNIoKILXMiyMcSEJIIlmd9mgpI= Received: by 10.100.197.15 with SMTP id u15mr3688483anf.1180222127079; Sat, 26 May 2007 16:28:47 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Sat, 26 May 2007 16:28:47 -0700 (PDT) Message-ID: <499c70c0705261628x69396f33h107edf5577238100@mail.gmail.com> Date: Sun, 27 May 2007 02:28:47 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Steve Kargl" In-Reply-To: <20070526223314.GB55588@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070525234115.GA48789@troutmask.apl.washington.edu> <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> <20070526223314.GB55588@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: Segment failed SYNCOOKIE? 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: Sat, 26 May 2007 23:28:48 -0000 On 5/27/07, Steve Kargl wrote: > On Sat, May 26, 2007 at 10:45:38PM +0300, Abdullah Ibn Hamad Al-Marri wrote: > > On 5/26/07, Steve Kargl wrote: > > >Anyone have ideas on how to cure > > > > > >May 25 16:20:03 node13 kernel: TCP: [192.168.0.15]:53815 to > > >[192.168.0.13]:50992 tcpflags 0x11; syncache_expand: > > >Segment failed SYNCOOKIE authentication > > > > > >The hardware and kernel on 192.168.0.15 and 192.168.0.13 > > >are identical. > > > > > >-- > > >Steve > > > > 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat May 26 04:25:29 GMT 2007 > > > > I got the same problem and my sever paniced today. > > > > TCP: [70.162.96.41]:54686 to [IP removed for security reasons]:59999 > > tcpflags 0x18; syncache_expand: Segment failed SYNCOOKIE > > authentication > > > > Anyone working on this now? > > > > Fortunately for me, the porblem appears on a cluster that > sits behind a firewall or two, so I can turn syncookie off > via net.inet.tcp.syncookies. > > -- > Steve > Could I turn it off in my box till this get sorted out? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-current@FreeBSD.ORG Sat May 26 23:32:50 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 283DF16A469 for ; Sat, 26 May 2007 23:32:50 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 0A01B13C45B for ; Sat, 26 May 2007 23:32:50 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QNVLZ8056067; Sat, 26 May 2007 16:31:21 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QNVGLc056066; Sat, 26 May 2007 16:31:16 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 16:31:16 -0700 From: Steve Kargl To: Wes Morgan Message-ID: <20070526233116.GA56054@troutmask.apl.washington.edu> References: <20070526193128.GB54875@troutmask.apl.washington.edu> <20070526214835.GS23313@hoeg.nl> <20070526224040.GA55701@troutmask.apl.washington.edu> <20070526225731.GA56181@xor.obsecurity.org> <20070526190023.C98508@volatile.chemikals.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070526190023.C98508@volatile.chemikals.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Ed Schouten , Kris Kennaway Subject: Re: HEADS-UP: gcc-4.2 import appears to miscompile libm. 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: Sat, 26 May 2007 23:32:50 -0000 On Sat, May 26, 2007 at 07:09:16PM -0400, Wes Morgan wrote: > > Working from -O towards -O2 based on the info pages, I can "reproduce" the > problem with "-O -fstrict-aliasing -fgcse"... However, -O2 with > -fno-strict-aliasing by itself seems to work around the issue. At first > glance it looks like a possible interaction between several optimizations. > Ths patch fixes the problem. --- s_frexpf.c.orig Sat May 26 16:26:50 2007 +++ s_frexpf.c Sat May 26 16:28:03 2007 @@ -39,6 +39,9 @@ } *eptr += (ix>>23)-126; hx = (hx&0x807fffff)|0x3f000000; +#if 0 *(int*)&x = hx; +#endif + SET_FLOAT_WORD(x,hx); return x; } -- Steve From owner-freebsd-current@FreeBSD.ORG Sat May 26 23:34:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4302216A400 for ; Sat, 26 May 2007 23:34:20 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 2596913C447 for ; Sat, 26 May 2007 23:34:20 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QNWrrC056078; Sat, 26 May 2007 16:32:53 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QNWrul056077; Sat, 26 May 2007 16:32:53 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 16:32:53 -0700 From: Steve Kargl To: Abdullah Ibn Hamad Al-Marri Message-ID: <20070526233253.GB56054@troutmask.apl.washington.edu> References: <20070525234115.GA48789@troutmask.apl.washington.edu> <499c70c0705261245k6679a12k5a0237fce786ab68@mail.gmail.com> <20070526223314.GB55588@troutmask.apl.washington.edu> <499c70c0705261628x69396f33h107edf5577238100@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <499c70c0705261628x69396f33h107edf5577238100@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: Segment failed SYNCOOKIE? 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: Sat, 26 May 2007 23:34:20 -0000 On Sun, May 27, 2007 at 02:28:47AM +0300, Abdullah Ibn Hamad Al-Marri wrote: > On 5/27/07, Steve Kargl wrote: > > > >Fortunately for me, the porblem appears on a cluster that > >sits behind a firewall or two, so I can turn syncookie off > >via net.inet.tcp.syncookies. > > > > Could I turn it off in my box till this get sorted out? > man syncache If your system is exposed to the internet, you are exposed to a DoS type attack. -- Steve