From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 08:39:15 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FA2E16A4CE for ; Sun, 14 Nov 2004 08:39:15 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B43BC43D1D for ; Sun, 14 Nov 2004 08:39:14 +0000 (GMT) (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 1CTFuj-0001Uj-Du for freebsd-hackers@freebsd.org; Sun, 14 Nov 2004 10:39:13 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Nov 2004 10:39:13 +0200 From: Danny Braniss Message-Id: <20041114083914.B43BC43D1D@mx1.FreeBSD.org> Subject: boot serial console speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 08:39:15 -0000 what's the magic encantation to set the console to 38400? btw, i solved my problem by just commenting out that part of the code, since i rely on the bios setting it. from src/sys/boot/i386/boot0/Makefile: # Comm settings for boot0sio. 0xE3 => 9600 8-N-1 # XXX: We should create a build-tool or something to convert BOOT_CONSOLE_SPEED # and BOOT_COMCONSOLE_PORT into the correct values to define on the build # command line BOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3 From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 09:39:12 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA62F16A4CE for ; Sun, 14 Nov 2004 09:39:12 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A31643D39 for ; Sun, 14 Nov 2004 09:39:12 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAE9cp20086228; Sun, 14 Nov 2004 11:38:51 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 64158-13; Sun, 14 Nov 2004 11:38:50 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAE9coeD086225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Nov 2004 11:38:50 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAE9coRj084896; Sun, 14 Nov 2004 11:38:50 +0200 (EET) (envelope-from ru) Date: Sun, 14 Nov 2004 11:38:50 +0200 From: Ruslan Ermilov To: Danny Braniss Message-ID: <20041114093850.GE84553@ip.net.ua> References: <20041114083914.B43BC43D1D@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ffoCPvUAPMgSXi6H" Content-Disposition: inline In-Reply-To: <20041114083914.B43BC43D1D@mx1.FreeBSD.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-hackers@freebsd.org Subject: Re: boot serial console speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 09:39:13 -0000 --ffoCPvUAPMgSXi6H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 14, 2004 at 10:39:13AM +0200, Danny Braniss wrote: > what's the magic encantation to set the console to 38400? > btw, i solved my problem by just commenting out that part of the code, > since i rely on the bios setting it. >=20 > from src/sys/boot/i386/boot0/Makefile: >=20 > # Comm settings for boot0sio. 0xE3 =3D> 9600 8-N-1 > # XXX: We should create a build-tool or something to convert BOOT_CONSOLE= _SPEED > # and BOOT_COMCONSOLE_PORT into the correct values to define on the build > # command line > BOOT_BOOT0_COMCONSOLE_SPEED?=3D 0xE3 >=20 This is the value passed in the AL register to the Int 14/AH=3D00h BIOS function: http://www.ctyme.com/intr/rb-0811.htm : Bit(s) Description (Table 00300) : 7-5 data rate (110,150,300,600,1200,2400,4800,9600 bps) : 4-3 parity (00 or 10 =3D none, 01 =3D odd, 11 =3D even) : 2 stop bits (set =3D 2, clear =3D 1) : 1-0 data bits (00 =3D 5, 01 =3D 6, 10 =3D 7, 11 =3D 8) 0xE3 =3D 111-00-0-11 =3D 9600 bps, no parity, 1 stop bit, 8 data bits But I think it's not possible to set it to anything above 9600 bps using this BIOS call. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ffoCPvUAPMgSXi6H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBlyeqqRfpzJluFF4RArjoAJ490PgNAB3bIyyejQxvoFW17p48dACgk324 K2RyTh38nRnNiQBEi2OyApk= =oNQR -----END PGP SIGNATURE----- --ffoCPvUAPMgSXi6H-- From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 10:08:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13CB116A4CE; Sun, 14 Nov 2004 10:08:14 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 309AD43D1F; Sun, 14 Nov 2004 10:08:13 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAEA85qn088497; Sun, 14 Nov 2004 12:08:05 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 67672-05; Sun, 14 Nov 2004 12:08:04 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAEA84dQ088494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Nov 2004 12:08:04 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAEA85HP085032; Sun, 14 Nov 2004 12:08:05 +0200 (EET) (envelope-from ru) Date: Sun, 14 Nov 2004 12:08:05 +0200 From: Ruslan Ermilov To: "David O'Brien" , John Baldwin Message-ID: <20041114100805.GF84553@ip.net.ua> References: <20041114083914.B43BC43D1D@mx1.FreeBSD.org> <20041114093850.GE84553@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iAL9S67WQOXgEPD9" Content-Disposition: inline In-Reply-To: <20041114093850.GE84553@ip.net.ua> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-hackers@FreeBSD.org Subject: Re: boot serial console speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 10:08:14 -0000 --iAL9S67WQOXgEPD9 Content-Type: multipart/mixed; boundary="i3lJ51RuaGWuFYNw" Content-Disposition: inline --i3lJ51RuaGWuFYNw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 14, 2004 at 11:38:50AM +0200, Ruslan Ermilov wrote: > On Sun, Nov 14, 2004 at 10:39:13AM +0200, Danny Braniss wrote: > > what's the magic encantation to set the console to 38400? > > btw, i solved my problem by just commenting out that part of the code, > > since i rely on the bios setting it. > >=20 > > from src/sys/boot/i386/boot0/Makefile: > >=20 > > # Comm settings for boot0sio. 0xE3 =3D> 9600 8-N-1 > > # XXX: We should create a build-tool or something to convert BOOT_CONSO= LE_SPEED > > # and BOOT_COMCONSOLE_PORT into the correct values to define on the bui= ld > > # command line > > BOOT_BOOT0_COMCONSOLE_SPEED?=3D 0xE3 > >=20 > This is the value passed in the AL register to the Int 14/AH=3D00h > BIOS function: >=20 > http://www.ctyme.com/intr/rb-0811.htm >=20 > : Bit(s) Description (Table 00300) > : 7-5 data rate (110,150,300,600,1200,2400,4800,9600 bps) > : 4-3 parity (00 or 10 =3D none, 01 =3D odd, 11 =3D even) > : 2 stop bits (set =3D 2, clear =3D 1) > : 1-0 data bits (00 =3D 5, 01 =3D 6, 10 =3D 7, 11 =3D 8) >=20 > 0xE3 =3D 111-00-0-11 =3D 9600 bps, no parity, 1 stop bit, 8 data bits >=20 > But I think it's not possible to set it to anything above 9600 bps > using this BIOS call. >=20 Attached is the patch that converts supported BOOT_COMCONSOLE_SPEED values into corresponding BOOT_BOOT0_COMCONSOLE_SPEED. Unsupported BOOT_COMCONSOLE_VALUES cause the boot0sio console speed to be set to 9600. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --i3lJ51RuaGWuFYNw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/boot/i386/boot0/Makefile,v retrieving revision 1.30 diff -u -r1.30 Makefile --- Makefile 27 Aug 2004 00:18:03 -0000 1.30 +++ Makefile 14 Nov 2004 10:04:36 -0000 @@ -21,11 +21,34 @@ # unless you are glutton for punishment. BOOT_BOOT0_ORG?=3D 0x600 =20 -# Comm settings for boot0sio. 0xE3 =3D> 9600 8-N-1 -# XXX: We should create a build-tool or something to convert BOOT_CONSOLE_= SPEED -# and BOOT_COMCONSOLE_PORT into the correct values to define on the build -# command line -BOOT_BOOT0_COMCONSOLE_SPEED?=3D 0xE3 +# Comm settings for boot0sio. +# Bit(s) Description +# 7-5 data rate (110,150,300,600,1200,2400,4800,9600 bps) +# 4-3 parity (00 or 10 =3D none, 01 =3D odd, 11 =3D even) +# 2 stop bits (set =3D 2, clear =3D 1) +# 1-0 data bits (00 =3D 5, 01 =3D 6, 10 =3D 7, 11 =3D 8) +.if !defined(BOOT_BOOT0_COMCONSOLE_SPEED) +BOOT_COMCONSOLE_SPEED?=3D 9600 +.if ${BOOT_COMCONSOLE_SPEED} =3D=3D 9600 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "7 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 4800 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "6 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 2400 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "5 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 1200 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "4 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 600 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "3 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 300 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "2 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 150 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "1 << 5 + 3" +.elif ${BOOT_COMCONSOLE_SPEED} =3D=3D 110 +BOOT_BOOT0_COMCONSOLE_SPEED=3D "0 << 5 + 3" +.else +BOOT_BOOT0_COMCONSOLE_SPEED=3D "7 << 5 + 3" +.endif +.endif =20 CFLAGS+=3D-DFLAGS=3D${BOOT_BOOT0_FLAGS} \ -DTICKS=3D${BOOT_BOOT0_TICKS} \ --i3lJ51RuaGWuFYNw-- --iAL9S67WQOXgEPD9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBly6FqRfpzJluFF4RAmPrAJ0XHq1Tq8uO3Og+LNfQtCF2BHpuiQCgk5YQ xh0FdkKIZEj2Ppluf8/k1do= =2NFN -----END PGP SIGNATURE----- --iAL9S67WQOXgEPD9-- From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 10:11:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00C0016A4CE; Sun, 14 Nov 2004 10:11:50 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FCFA43D39; Sun, 14 Nov 2004 10:11:49 +0000 (GMT) (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 1CTHMK-0005bY-Gq; Sun, 14 Nov 2004 12:11:48 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Ruslan Ermilov In-Reply-To: Message from Ruslan Ermilov of "Sun, 14 Nov 2004 11:38:50 +0200." <20041114093850.GE84553@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Nov 2004 12:11:48 +0200 From: Danny Braniss Message-Id: <20041114101149.9FCFA43D39@mx1.FreeBSD.org> cc: freebsd-hackers@freebsd.org Subject: Re: boot serial console speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 10:11:50 -0000 [...] > This is the value passed in the AL register to the Int 14/AH=3D00h > BIOS function: > > http://www.ctyme.com/intr/rb-0811.htm > > : Bit(s) Description (Table 00300) > : 7-5 data rate (110,150,300,600,1200,2400,4800,9600 bps) > : 4-3 parity (00 or 10 =3D none, 01 =3D odd, 11 =3D even) > : 2 stop bits (set =3D 2, clear =3D 1) > : 1-0 data bits (00 =3D 5, 01 =3D 6, 10 =3D 7, 11 =3D 8) > > 0xE3 =3D 111-00-0-11 =3D 9600 bps, no parity, 1 stop bit, 8 data bits > > But I think it's not possible to set it to anything above 9600 bps > using this BIOS call. yes, you are probably correct. Assuming then, that if we want speeds above 9600bps, and assuming that the bios set the bauds correctly, how about setting BOOT_BOOT0_COMCONSOLE_SPEED=0 and if so in boot0.S #if defined(SIO) && COMSPEED != 0 /* * Initialize the serial port. bioscom preserves the driver number in DX. */ movw COMSPEED,%ax # defined by Makefile callw bioscom #endif From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 11:28:56 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A70816A4CE for ; Sun, 14 Nov 2004 11:28:56 +0000 (GMT) Received: from mooseriver.com (h-66-166-146-73.snvacaid.covad.net [66.166.146.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2BC743D55 for ; Sun, 14 Nov 2004 11:28:55 +0000 (GMT) (envelope-from jgrosch@mooseriver.com) Received: by mooseriver.com (Postfix, from userid 200) id 8880A2282D; Sun, 14 Nov 2004 03:28:55 -0800 (PST) Date: Sun, 14 Nov 2004 03:28:55 -0800 From: Josef Grosch To: hackers@freebsd.org Message-ID: <20041114112855.GA68329@mooseriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Moose River, LLC Subject: gcc3.4 broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 11:28:56 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm trying to build eclipse on a 5.2.1 box. When the build gets to gcc 3.4 it fails. =20 ## UNAME berkeley% uname -a FreeBSD berkeley.mooseriver.com 5.2.1-RELEASE-p11 FreeBSD 5.2.1-RELEASE-p11= #2: Sat Nov 13 13:34:12 PST 2004 root@berkeley.mooseriver.com:/usr/obj= /usr/src/sys/BERKELEY i386 ## Compile error /usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/buil= d/gcc/ -B/usr/local/i386-portbld-freebsd5.2.1/bin/ -B/usr/local/i386-portbl= d-freebsd5.2.1/lib/ -isystem /usr/local/i386-portbld-freebsd5.2.1/include -= isystem /usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H= -O2 -O -pipe -mcpu=3Dpentiumpro -I. -I../.././..//gcc-3.4-20041112/libiber= ty/../include -W -Wall -Wtraditional -pedantic ../.././..//gcc-3.4-2004111= 2/libiberty/fibheap.c -o fibheap.o `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c: In function `fibheap_un= ion': =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c:166: warning: implicit d= eclaration of function `free' =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c: In function `fibheap_de= lete_node': =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c:285: error: `LONG_MIN' u= ndeclared (first use in this function) =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c:285: error: (Each undecl= ared identifier is reported only once =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c:285: error: for each fun= ction it appears in.) =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c: In function `fibheap_co= nsolidate': =2E./.././..//gcc-3.4-20041112/libiberty/fibheap.c:395: warning: implicit d= eclaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-= freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 Stop in /usr/ports/java/eclipse. --=20 Josef Grosch | Another day closer to a | FreeBSD 5.2.1 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFBl0F3y8prLS1GYSERApExAJ9Yp82sPjgtnY9ije4R7XRmSVpKggCdH6eu Y1b6mEn5khfZypT2GrPgpNA= =PMqd -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 12:48:18 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4A3D16A4CE for ; Sun, 14 Nov 2004 12:48:18 +0000 (GMT) Received: from gundel.de.clara.net (gundel.de.clara.net [212.82.225.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 643AF43D1F for ; Sun, 14 Nov 2004 12:48:18 +0000 (GMT) (envelope-from jesk@killall.org) Received: from port-212-202-52-250.dynamic.qsc.de ([212.202.52.250] helo=turbofresse) by gundel.de.clara.net with smtp (Exim 4.30; FreeBSD) id 1CTK0L-000KoC-RY; Sun, 14 Nov 2004 14:01:17 +0100 Message-ID: <002d01c4ca48$3312e970$45fea8c0@turbofresse> From: "jesk" To: "Justin Hopper" References: <1099935987.4899.1730.camel@work.gusalmighty.com> <001701c4c69e$1e81c510$45fea8c0@turbofresse> <20041109221544.3815fd48.thib@mi.is> <200411101101.32258.michael.riexinger@de.clara.net> <20041113080807.GJ1807@suricate.otoh.org> <009701c4c9c6$fc9c5d30$45fea8c0@turbofresse> <1100388569.5412.252.camel@work.gusalmighty.com> Date: Sun, 14 Nov 2004 13:48:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-hackers@freebsd.org Subject: Re: Mysql - Linuxthreads : Still needed? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 12:48:18 -0000 > This is unfortunate, since 4.1.7 is the recommended release from MySQL > AB. Does anyone know why 4.0 is faster, or is it only faster in some > cases (anybody have any benchmarks?) ? > > 50% is quite a large margin and I'm sure most people, myself included, > are looking for maximum performance. I cant repeat my tests to show you topically benchmark results at the moment. But why dont you find out how it performance in your own conditions and then share your experiences with us? From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 13 15:28:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C2FE16A4CE; Sat, 13 Nov 2004 15:28:47 +0000 (GMT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFBAB43D3F; Sat, 13 Nov 2004 15:28:46 +0000 (GMT) (envelope-from andrew.lankford@verizon.net) Received: from [192.168.0.2] ([138.88.16.13]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041113152846.SSYQ3485.out003.verizon.net@[192.168.0.2]>; Sat, 13 Nov 2004 09:28:46 -0600 Message-ID: <41962828.4030802@verizon.net> Date: Sat, 13 Nov 2004 10:28:40 -0500 From: Andrew Lankford User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [138.88.16.13] at Sat, 13 Nov 2004 09:28:45 -0600 X-Mailman-Approved-At: Sun, 14 Nov 2004 14:42:02 +0000 Subject: Re: tcsh fix X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 15:28:47 -0000 >'csh' is an interactive shell, not a programming language. Anyone >trying >to write "portable" scripts in 'csh' should know why "Csh Programming >Considered Harmful" http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ I vote that FreeBSD import a free version of the Windows command line, "cmd.exe". Show them the real meaning of pain! >;) From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 14:43:25 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBEFE16A4CE for ; Sun, 14 Nov 2004 14:43:25 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0288D43D55 for ; Sun, 14 Nov 2004 14:43:25 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-b143.otenet.gr [212.205.244.151]) iAEEh7wK001659; Sun, 14 Nov 2004 16:43:16 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id iAEEgKmq002725; Sun, 14 Nov 2004 16:42:20 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id iAEEgFqn002723; Sun, 14 Nov 2004 16:42:15 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sun, 14 Nov 2004 16:42:15 +0200 From: Giorgos Keramidas To: Josef Grosch Message-ID: <20041114144214.GA2645@gothmog.gr> References: <20041114112855.GA68329@mooseriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041114112855.GA68329@mooseriver.com> cc: hackers@freebsd.org Subject: Re: gcc3.4 broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 14:43:26 -0000 On 2004-11-14 03:28, Josef Grosch wrote: > I'm trying to build eclipse on a 5.2.1 box. When the build gets to gcc 3.4 > it fails. > ## Compile error > /usr/ports/lang/gcc34/work/build/gcc/xgcc > -B/usr/ports/lang/gcc34/work/build/gcc/ > -B/usr/local/i386-portbld-freebsd5.2.1/bin/ > -B/usr/local/i386-portbld-freebsd5.2.1/lib/ -isystem > /usr/local/i386-portbld-freebsd5.2.1/include -isystem > /usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H > -O2 -O -pipe -mcpu=pentiumpro > -I. -I../.././..//gcc-3.4-20041112/libiberty/../include -W -Wall > -Wtraditional -pedantic > ../.././..//gcc-3.4-20041112/libiberty/fibheap.c -o fibheap.o `-mcpu=' > is deprecated. Use `-mtune=' or '-march=' instead. Hmmm, you have both -O and -O2 in there. Have you by any chance set CFLAGS to anything in your environment *before* trying to install the gcc34 port? From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 10:26:36 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 999FE16A4CE for ; Mon, 15 Nov 2004 10:26:36 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0978543D2F for ; Mon, 15 Nov 2004 10:26:36 +0000 (GMT) (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 1CTe4A-000HZB-Ui for hackers@freebsd.org; Mon, 15 Nov 2004 12:26:34 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Nov 2004 12:26:34 +0200 From: Danny Braniss Message-Id: <20041115102636.0978543D2F@mx1.FreeBSD.org> Subject: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 10:26:36 -0000 hi, this board (WRAP) has no keyboard, and there is a fix in boot1.S to take into account such case, but i can't compile a -current a kernel without kbd (4.x is ok without kbd*), i solved the problem with a quick hack, just to see if im on the correct track, and a return with a return ENXIO in atkbd_probe_unit got me going. so, Q1: is it possible to compile a 5.3 kernel without kbd, or, Q2: how can i tell the kernel that this board has not keyboard controller? btw, the SC11000 says it has atkbdc_probe_unit(): atkbdc0: at port 0x64,0x60 on isa0 but will hang in atkbd_probe_unit(). back in the days of the PDP11, Unix V6 would panic on boot if some harware was non-existant/miss-configured, Berkeley fixed this with autoconf, which was just brilliant. Now we have 'fantom' hardware which is, but is not realy there, making things a bit more complicated :-) btw, this board doesn't have a vga either, and only after i removed it from the kernel config did i begin to see some output on the serial line. danny From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 10:38:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D06816A4CE for ; Mon, 15 Nov 2004 10:38:06 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7DB443D2D for ; Mon, 15 Nov 2004 10:38:05 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 442D45310; Mon, 15 Nov 2004 11:38:04 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 95474530A; Mon, 15 Nov 2004 11:37:57 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 6D4D0B861; Mon, 15 Nov 2004 11:37:57 +0100 (CET) To: Kevin Lyons References: <200411112237.iABMb6YV001471@corserv.corserv.com> <4193E3EF.3030506@criticalmagic.com> <4193E3F7.9070205@corserv.com> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 15 Nov 2004 11:37:57 +0100 In-Reply-To: <4193E3F7.9070205@corserv.com> (Kevin Lyons's message of "Thu, 11 Nov 2004 16:13:11 -0600") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.64 cc: freebsd-hackers@freebsd.org cc: Richard Coleman Subject: Re: tcsh is not csh X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 10:38:06 -0000 Kevin Lyons writes: > I humbly suggest that /bin contain csh and tcsh. Is that too hard? des@dwp ~% ll /bin/*csh -r-xr-xr-x 2 root wheel 699446 Nov 5 18:12 /bin/csh* -r-xr-xr-x 2 root wheel 699446 Nov 5 18:12 /bin/tcsh* DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 11:59:40 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9B7516A4CE for ; Mon, 15 Nov 2004 11:59:40 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1494343D48 for ; Mon, 15 Nov 2004 11:59:39 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id 30DE1355CD; Mon, 15 Nov 2004 12:59:37 +0100 (CET) Date: Mon, 15 Nov 2004 12:59:22 +0100 From: Miguel Mendez To: des@des.no (Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?=) Message-Id: <20041115125922.2ee3f5a0.flynn@energyhq.es.eu.org> In-Reply-To: References: <200411112237.iABMb6YV001471@corserv.corserv.com> <4193E3EF.3030506@criticalmagic.com> <4193E3F7.9070205@corserv.com> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__15_Nov_2004_12_59_22_+0100_bTfc6+BJ=qayk_OK" cc: freebsd-hackers@freebsd.org cc: rcoleman@criticalmagic.com cc: klyons@corserv.com Subject: Re: tcsh is not csh X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 11:59:40 -0000 --Signature=_Mon__15_Nov_2004_12_59_22_+0100_bTfc6+BJ=qayk_OK Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 15 Nov 2004 11:37:57 +0100 des@des.no (Dag-Erling Sm=F8rgrav) wrote: Hi, > des@dwp ~% ll /bin/*csh > -r-xr-xr-x 2 root wheel 699446 Nov 5 18:12 /bin/csh* > -r-xr-xr-x 2 root wheel 699446 Nov 5 18:12 /bin/tcsh* He meant both shells, not a hardlink. csh and tcsh are the same program in FreeBSD. What he wants is to have both the old/real csh *and* tcsh. flynn@scienide% ls -li /bin/*csh 49569 -r-xr-xr-x 2 root wheel 328208 Oct 24 16:08 /bin/csh 49569 -r-xr-xr-x 2 root wheel 328208 Oct 24 16:08 /bin/tcsh The i-node is the same. Cheers, --=20 Miguel Mendez | Extreme ways are back again http://www.energyhq.es.eu.org | Extreme places I didn't know PGP Key: 0xDC8514F1 | I broke everything new again Note: All HTML mail goes to /dev/null | Everything that I'd owned --Signature=_Mon__15_Nov_2004_12_59_22_+0100_bTfc6+BJ=qayk_OK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBmJodnLctrNyFFPERAizvAJ9R+bARR5HvpvoNSEGTBH+lQcKtrwCfb1k/ A1iGEH5wcUfxVk8DWuRii3M= =lR62 -----END PGP SIGNATURE----- --Signature=_Mon__15_Nov_2004_12_59_22_+0100_bTfc6+BJ=qayk_OK-- From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 13:38:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A53616A4D0 for ; Mon, 15 Nov 2004 13:38:50 +0000 (GMT) Received: from grsu.by (grsu.by [194.158.202.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 07A5543D54 for ; Mon, 15 Nov 2004 13:38:47 +0000 (GMT) (envelope-from grog@grsu.by) Received: (qmail 95260 invoked from network); 15 Nov 2004 13:37:32 -0000 Received: from unknown (HELO ?10.31.16.99?) (grog@10.31.16.99) by grsu.by with SMTP; 15 Nov 2004 13:37:31 -0000 Message-ID: <4198B388.2070203@grsu.by> Date: Mon, 15 Nov 2004 15:47:52 +0200 From: Yury Tarasievich User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <41922C27.2090400@grsu.by> <419364A3.2080909@grsu.by> In-Reply-To: <419364A3.2080909@grsu.by> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: IPDIVERT option not getting compiled? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 13:38:50 -0000 Hello? anybody? So how come IPDIVERT option is outright ignored in system build here?? The system isn't even connected to internet, nor to any other net anyway! And as if I don't know how to compile kernel? And it is stock 4.10-RELEASE, too (and 4-STABLE has same problem). The process is fairly familiar to me. Config is config that worked before (on other machines). Is it something with the machine perhaps?? What could possibly be going on? What should I check? Yury From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 15:30:28 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2089916A4CE for ; Mon, 15 Nov 2004 15:30:28 +0000 (GMT) Received: from smradoch.ath.cx (r2g224.chello.upc.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECD9C43D3F for ; Mon, 15 Nov 2004 15:30:26 +0000 (GMT) (envelope-from neuhauser@chello.cz) Received: by smradoch.ath.cx (Postfix, from userid 1001) id EA6E11F87BED; Mon, 15 Nov 2004 16:30:24 +0100 (CET) Date: Mon, 15 Nov 2004 16:30:24 +0100 From: Roman Neuhauser To: Avleen Vig , Kevin Lyons , freebsd-hackers@freebsd.org Message-ID: <20041115153024.GA2846@isis.wad.cz> Mail-Followup-To: Avleen Vig , Kevin Lyons , freebsd-hackers@freebsd.org References: <41940880.7070409@corserv.com> <20041112023023.GG19417@silverwraith.com> <20041112031122.GA87071@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041112031122.GA87071@falcon.midgard.homeip.net> User-Agent: Mutt/1.5.6i Subject: Re: tcsh fix X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 15:30:28 -0000 # ertr1013@student.uu.se / 2004-11-12 04:11:22 +0100: > The only real problem with having bash as /bin/sh is that people tend > to write scripts using bash-specific features and forget that such > scripts are not portable to systems using a less powerful /bin/sh. Or the other way around. Bash (at least the one from RHEL 3.0) is seriously broken, these two things are more than it can handle (as opposed to our /bin/sh): $(case $foo in x) do_x;; y) do_y;; esac) out=`mktemp ...` $otherscript >$out 2&1 where $otherscript contains $(x | tee /dev/stderr | y) I stumbled upon these when I was porting periodic(8) to RHEL. So, my description would be that people run into problems when they write scripts using sh-specific features and forget that such scripts are not portable to systems using a less powerful bash. ;) -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 16:47:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CFA216A4CE for ; Mon, 15 Nov 2004 16:47:47 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FBA043D53 for ; Mon, 15 Nov 2004 16:47:47 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iAFGipUu081396; Mon, 15 Nov 2004 09:44:51 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 15 Nov 2004 09:45:05 -0700 (MST) Message-Id: <20041115.094505.119360848.imp@bsdimp.com> To: danny@cs.huji.ac.il From: "M. Warner Losh" In-Reply-To: <20041115102636.0978543D2F@mx1.FreeBSD.org> References: <20041115102636.0978543D2F@mx1.FreeBSD.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 16:47:47 -0000 In message: <20041115102636.0978543D2F@mx1.FreeBSD.org> Danny Braniss writes: : so, Q1: is it possible to compile a 5.3 kernel without kbd, Doesn't removing atkbd and atkbdc from the kernel do the job? Warner From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 17:48:36 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9E1E16A4CE for ; Mon, 15 Nov 2004 17:48:36 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2522F43D2D for ; Mon, 15 Nov 2004 17:48:36 +0000 (GMT) (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.13.1/8.13.1/NinthNine) with SMTP id iAFHmYQ1019323; Tue, 16 Nov 2004 02:48:34 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Tue, 16 Nov 2004 02:48:34 +0900 (JST) Message-Id: <200411151748.iAFHmYQ1019323@sakura.ninth-nine.com> From: Norikatsu Shigemura To: qemu-devel@nongnu.org X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386-portbld-freebsd6.0) 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-1.5.11 (sakura.ninth-nine.com [219.127.74.121]); Tue, 16 Nov 2004 02:48:34 +0900 (JST) cc: freebsd-hackers@FreeBSD.org Subject: qemu -boot d -cdrom /dev/cd0 on FreeBSD is not good X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 17:48:36 -0000 I tried to install Windows XP SP2 on qemu over FreeBSD 6-current like following command, but failed. # qemu -boot d -cdrom /dev/cd0 windows.img Because find_image_format on qemu/block.c is failed. This problem can be confirmed like following program. - - - - - - - - - - - - - - - - - - - - - - - - #include #include #include int main(void) { char buf[2048]; int fd = open("/dev/cd0", O_RDONLY); if( read(fd, buf, sizeof(buf)) < 0 ) { /* no problem */ perror("[1] read error."); } if( read(fd, buf, sizeof(buf) / 2) < 0 ) { /* problem */ perror("[2] read error."); } } - - - - - - - - - - - - - - - - - - - - - - - - Adhoc-ly, I changed "buf" size to 2048. and confirmed this problem was fixed. - - - - - - - - - - - - - - - - - - - - - - - - static BlockDriver *find_image_format(const char *filename) { int fd, ret, score, score_max; BlockDriver *drv1, *drv; uint8_t buf[1024]; => buf[2048] (snip) ret = read(fd, buf, sizeof(buf)); if (ret < 0) { close(fd); return NULL; } (snip) - - - - - - - - - - - - - - - - - - - - - - - - Obtained from: qemu-0.6.1 I think magic number 2048 is sector size, but I don't know how to get valid read size. Anyone, do you have any idea? From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 20:50:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E8D116A4CE for ; Mon, 15 Nov 2004 20:50:38 +0000 (GMT) Received: from bsdhosting.net (bsdhosting.net [65.39.221.113]) by mx1.FreeBSD.org (Postfix) with SMTP id 90A6543D4C for ; Mon, 15 Nov 2004 20:50:37 +0000 (GMT) (envelope-from jhopper@bsdhosting.net) Received: (qmail 3896 invoked from network); 15 Nov 2004 20:48:48 -0000 Received: from unknown (HELO ?192.168.1.2?) (jhopper@bsdhosting.net@65.39.221.113) by bsdhosting.net with SMTP; 15 Nov 2004 20:48:48 -0000 From: Justin Hopper To: freebsd-hackers@freebsd.org Content-Type: text/plain Message-Id: <1100551835.5412.641.camel@work.gusalmighty.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 15 Nov 2004 12:50:35 -0800 Content-Transfer-Encoding: 7bit Subject: MySQL benchmarks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 20:50:38 -0000 Here are the results of the brief benchmarks that I ran. I posted the best and worse results out of running each test 5 times. ----------------- System: Dual Opteron 244s RAM 1GB 3 x 36GB U320 SCSI RAID-5 on Adaptec 2120s ----------------- OS: FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Mon Nov 15 10:35:13 PST 2004 i386 ----------------------------------------------------------- MySQL 4.1.7 WITH_OPENSSL BUILD_OPTIMIZED ----------------------------------------------------------- master# super-smack update-select.smack 30 10000 Query Barrel Report for client smacker connect: max=15ms min=4ms avg= 8ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 300000 3 0 4365.04 update_index 300000 4 0 4365.04 master# super-smack update-select.smack 30 10000 Query Barrel Report for client smacker connect: max=12ms min=0ms avg= 7ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 300000 3 0 4799.58 update_index 300000 3 0 4799.58 master# super-smack select-key.smack 30 10000 Query Barrel Report for client smacker1 connect: max=10ms min=7ms avg= 9ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 600000 3 0 10614.75 master# super-smack select-key.smack 30 10000 Query Barrel Report for client smacker1 connect: max=10ms min=6ms avg= 7ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 600000 4 0 10666.14 ----------------------------------------------------------- MySQL 4.0.22 WITH_OPENSSL BUILD_OPTIMIZED ----------------------------------------------------------- master# super-smack update-select.smack 30 10000 Query Barrel Report for client smacker connect: max=13ms min=9ms avg= 11ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 300000 3 0 4839.98 update_index 300000 3 0 4839.98 master# super-smack update-select.smack 30 10000 Query Barrel Report for client smacker connect: max=22ms min=0ms avg= 17ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 300000 3 0 4963.34 update_index 300000 2 0 4963.34 master# super-smack select-key.smack 30 10000 Query Barrel Report for client smacker1 connect: max=19ms min=5ms avg= 9ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 600000 2 0 12387.57 master# super-smack select-key.smack 30 10000 Query Barrel Report for client smacker1 connect: max=15ms min=0ms avg= 7ms from 30 clients Query_type num_queries max_time min_time q_per_s select_index 600000 2 0 13201.30 -------------------------------------------------------------- It seems 4.0.22 is faster in each benchmark. Around a 20% increase. I wonder why this is? -- Justin Hopper UNIX Systems Engineer BSDHosting.net Hosting Division of Digital Oasys Inc. http://www.bsdhosting.net From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 22:06:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 764F116A4D4 for ; Mon, 15 Nov 2004 22:06:09 +0000 (GMT) Received: from corserv.corserv.com (tx-67-76-237-133.sta.sprint-hsd.net [67.76.237.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCA2743D2F for ; Mon, 15 Nov 2004 22:06:08 +0000 (GMT) (envelope-from klyons@corserv.corserv.com) Received: (from klyons@localhost) by corserv.corserv.com (8.12.11/8.11.6) id iAFN96vK000244; Mon, 15 Nov 2004 17:09:06 -0600 (CST) (envelope-from klyons) Date: Mon, 15 Nov 2004 17:09:06 -0600 (CST) From: Kevin Lyons Message-Id: <200411152309.iAFN96vK000244@corserv.corserv.com> To: des@des.no, klyons@corserv.com In-Reply-To: cc: freebsd-hackers@freebsd.org cc: rcoleman@criticalmagic.com Subject: Re: tcsh is not csh X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 22:06:09 -0000 you missed the rest of the thread. /bin/csh is not /bin/tcsh. i have run into a fairly important compatibility problem brought on by this. later. . From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 05:06:41 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F403616A4CE for ; Tue, 16 Nov 2004 05:06:40 +0000 (GMT) Received: from vscan02.westnet.com.au (vscan02.westnet.com.au [203.10.1.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70EDA43D45 for ; Tue, 16 Nov 2004 05:06:40 +0000 (GMT) (envelope-from christopher@nu.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 8AE0AE6B8; Tue, 16 Nov 2004 13:06:38 +0800 (WST) Received: from vscan02.westnet.com.au ([127.0.0.1]) by localhost (vscan02.westnet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17175-08; Tue, 16 Nov 2004 13:06:34 +0800 (WST) Received: from anembo.nu.org (dsl-202-173-130-73.nsw.westnet.com.au [202.173.130.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vscan02.westnet.com.au (Postfix) with ESMTP id 7A7A3E6B5; Tue, 16 Nov 2004 13:06:34 +0800 (WST) Received: from anembo.nu.org (localhost [127.0.0.1]) by anembo.nu.org (8.13.1/8.13.1) with ESMTP id iAG56UHP087368; Tue, 16 Nov 2004 16:06:30 +1100 (EST) (envelope-from christopher@nu.org) Received: (from cjsv@localhost) by anembo.nu.org (8.13.1/8.13.1/Submit) id iAG56OaY087363; Tue, 16 Nov 2004 16:06:25 +1100 (EST) (envelope-from christopher@nu.org) X-Authentication-Warning: anembo.nu.org: cjsv set sender to christopher@nu.org using -f Date: Tue, 16 Nov 2004 16:06:24 +1100 From: Christopher Vance To: Avleen Vig , Kevin Lyons , freebsd-hackers@freebsd.org Message-ID: <20041116050624.GG88973@anembo.nu.org> References: <41940880.7070409@corserv.com> <20041112023023.GG19417@silverwraith.com> <20041112031122.GA87071@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20041112031122.GA87071@falcon.midgard.homeip.net> User-Agent: Mutt/1.4.2.1i Subject: Re: tcsh fix X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 05:06:41 -0000 On Fri, Nov 12, 2004 at 04:11:22AM +0100, Erik Trulsson wrote: >Personally I am of the opinion that csh (all versions) should be >removed completely from the base system and relegated entirely to the >ports system. Other than historical reasons there is not much point in >having it in the base system. I agree. Please. OpenBSD's standard sh is a well-maintained pdksh, and is really nice - significantly nicer than the pdksh version in ports, and much nicer than the bash that got foisted on me at my last job or the csh I got stuck with many jobs before that. -- Christopher Vance From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 06:55:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6840F16A4CE for ; Tue, 16 Nov 2004 06:55:21 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E98FA43D48 for ; Tue, 16 Nov 2004 06:55:20 +0000 (GMT) (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 1CTxFH-000JvE-9W; Tue, 16 Nov 2004 08:55:19 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: "M. Warner Losh" In-Reply-To: Message from "M. Warner Losh" <20041115.094505.119360848.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Nov 2004 08:55:19 +0200 From: Danny Braniss Message-Id: <20041116065520.E98FA43D48@mx1.FreeBSD.org> cc: hackers@freebsd.org Subject: Re: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 06:55:21 -0000 > In message: <20041115102636.0978543D2F@mx1.FreeBSD.org> > Danny Braniss writes: > : so, Q1: is it possible to compile a 5.3 kernel without kbd, > > Doesn't removing atkbd and atkbdc from the kernel do the job? > this is waht i get if i remove atkbd and atkbdc: ... MAKE=make sh /r+d/5.3/src/sys/conf/newvers.sh WRAP cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/r+d/5.3/src/sys -I/r+d/5.3/src/sys/contrib/dev/acpica -I/r+d/5.3/src/sys/contrib/altq -I/r+d/5.3/src/sys/contrib/ipfilter -I/r+d/5.3/src/sys/contrib/pf -I/r+d/5.3/sr c/sys/contrib/dev/ath -I/r+d/5.3/src/sys/contrib/dev/ath/freebsd -I/r+d/5.3/src/sys/contrib/ngatm -D_KERNEL -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 -ffreestanding -Werror vers.c linking kernel kbd.o(.text+0x308): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0x30e): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x334): In function `kbd_register': danny From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 07:26:52 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD9A116A4CE for ; Tue, 16 Nov 2004 07:26:52 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 607B043D31 for ; Tue, 16 Nov 2004 07:26:52 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iAG7QDmC029901; Tue, 16 Nov 2004 00:26:13 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 16 Nov 2004 00:26:33 -0700 (MST) Message-Id: <20041116.002633.29959601.imp@bsdimp.com> To: danny@cs.huji.ac.il From: "M. Warner Losh" In-Reply-To: <200411160655.iAG6tK9I015583@rover.village.org> References: <200411160655.iAG6tK9I015583@rover.village.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 07:26:52 -0000 In message: <200411160655.iAG6tK9I015583@rover.village.org> Danny Braniss writes: : kbd.o(.text+0x30e): In function `kbd_register': : : undefined reference to `__stop_set_kbddriver_set' dev/kbd/kbd.c optional atkbd dev/kbd/kbd.c optional kbd dev/kbd/kbd.c optional sc dev/kbd/kbd.c optional ukbd dev/kbd/kbd.c optional vt Do you have any of these in in your kernel: atkbd, kdb, sc, ukbd, vt? Warner From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 07:44:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A823716A4F1 for ; Tue, 16 Nov 2004 07:44:48 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E1F743D31 for ; Tue, 16 Nov 2004 07:44:47 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iAG7gd34030202 for ; Tue, 16 Nov 2004 00:42:39 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 16 Nov 2004 00:42:58 -0700 (MST) Message-Id: <20041116.004258.119567696.imp@bsdimp.com> To: hackers@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: device kbd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 07:44:48 -0000 It appears that we have a leftover line in our conf/files lines. None of the ports appear to have a 'device kbd' in their config files. There only appears to be one place where it is used, and it appears to be unnecessary. I'd like to commit the following, but thought I'd ask here first to make sure that there wasn't something subtle that I'm missing. Warner Index: files.alpha =================================================================== RCS file: /home/ncvs/src/sys/conf/files.alpha,v retrieving revision 1.114 diff -u -r1.114 files.alpha --- files.alpha 1 Aug 2004 11:40:51 -0000 1.114 +++ files.alpha 16 Nov 2004 07:41:01 -0000 @@ -179,7 +179,6 @@ dev/kbd/atkbd.c optional atkbd dev/kbd/atkbdc.c optional atkbdc dev/kbd/kbd.c optional atkbd -dev/kbd/kbd.c optional kbd dev/kbd/kbd.c optional sc dev/kbd/kbd.c optional ukbd dev/ppc/ppc.c optional ppc Index: files.amd64 =================================================================== RCS file: /home/ncvs/src/sys/conf/files.amd64,v retrieving revision 1.50 diff -u -r1.50 files.amd64 --- files.amd64 28 Sep 2004 07:29:54 -0000 1.50 +++ files.amd64 16 Nov 2004 07:41:02 -0000 @@ -123,7 +123,6 @@ dev/kbd/atkbd.c optional atkbd dev/kbd/atkbdc.c optional atkbdc dev/kbd/kbd.c optional atkbd -dev/kbd/kbd.c optional kbd dev/kbd/kbd.c optional sc dev/kbd/kbd.c optional ukbd dev/mem/memutil.c optional mem Index: files.i386 =================================================================== RCS file: /home/ncvs/src/sys/conf/files.i386,v retrieving revision 1.508 diff -u -r1.508 files.i386 --- files.i386 15 Nov 2004 05:54:14 -0000 1.508 +++ files.i386 16 Nov 2004 07:41:03 -0000 @@ -157,7 +157,6 @@ dev/kbd/atkbd.c optional atkbd dev/kbd/atkbdc.c optional atkbdc dev/kbd/kbd.c optional atkbd -dev/kbd/kbd.c optional kbd dev/kbd/kbd.c optional sc dev/kbd/kbd.c optional ukbd dev/kbd/kbd.c optional vt Index: files.ia64 =================================================================== RCS file: /home/ncvs/src/sys/conf/files.ia64,v retrieving revision 1.73 diff -u -r1.73 files.ia64 --- files.ia64 25 Sep 2004 04:27:44 -0000 1.73 +++ files.ia64 16 Nov 2004 07:41:03 -0000 @@ -55,7 +55,6 @@ dev/kbd/atkbd.c optional atkbd dev/kbd/atkbdc.c optional atkbdc dev/kbd/kbd.c optional atkbd -dev/kbd/kbd.c optional kbd dev/kbd/kbd.c optional sc dev/kbd/kbd.c optional ukbd dev/ppc/ppc.c optional ppc isa Index: files.pc98 =================================================================== RCS file: /home/ncvs/src/sys/conf/files.pc98,v retrieving revision 1.306 diff -u -r1.306 files.pc98 --- files.pc98 30 Aug 2004 23:03:56 -0000 1.306 +++ files.pc98 16 Nov 2004 07:41:03 -0000 @@ -105,7 +105,6 @@ dev/fb/fb.c optional gdc dev/fb/splash.c optional splash dev/fe/if_fe_cbus.c optional fe isa -dev/kbd/kbd.c optional kbd dev/kbd/kbd.c optional sc dev/kbd/kbd.c optional ukbd dev/kbd/kbd.c optional pckbd From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 09:03:36 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 465BB16A4CE for ; Tue, 16 Nov 2004 09:03:36 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F01BD43D3F for ; Tue, 16 Nov 2004 09:03:35 +0000 (GMT) (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 1CTzFO-000MpG-RP; Tue, 16 Nov 2004 11:03:34 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: "M. Warner Losh" In-Reply-To: Message from "M. Warner Losh" <20041116.002633.29959601.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Nov 2004 11:03:34 +0200 From: Danny Braniss Message-Id: <20041116090335.F01BD43D3F@mx1.FreeBSD.org> cc: hackers@freebsd.org Subject: Re: A20/keybord/no-keyboard X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 09:03:36 -0000 > In message: <200411160655.iAG6tK9I015583@rover.village.org> > Danny Braniss writes: > : kbd.o(.text+0x30e): In function `kbd_register': > : : undefined reference to `__stop_set_kbddriver_set' > > dev/kbd/kbd.c optional atkbd > dev/kbd/kbd.c optional kbd > dev/kbd/kbd.c optional sc > dev/kbd/kbd.c optional ukbd > dev/kbd/kbd.c optional vt > > Do you have any of these in in your kernel: atkbd, kdb, sc, ukbd, vt? > none of the above, but KBD_INSTALL_CDEV, which i don't know - yet - what it affects. btw, can the check for kbd be made aware of 'fantom' cases? i tried to follow the code but got entangled :-) danny > Warner From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 11:17:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD95916A4CE for ; Tue, 16 Nov 2004 11:17:47 +0000 (GMT) Received: from shrike.submonkey.net (cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com [81.103.67.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E7F143D31 for ; Tue, 16 Nov 2004 11:17:47 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.43 (FreeBSD)) id 1CU1L9-0002Pf-O3; Tue, 16 Nov 2004 11:17:39 +0000 Date: Tue, 16 Nov 2004 11:17:39 +0000 From: Ceri Davies To: Kevin Lyons Message-ID: <20041116111739.GN37244@submonkey.net> Mail-Followup-To: Ceri Davies , Kevin Lyons , des@des.no, klyons@corserv.com, freebsd-hackers@freebsd.org, rcoleman@criticalmagic.com References: <200411152309.iAFN96vK000244@corserv.corserv.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V7BlxAaPrdhzdIM1" Content-Disposition: inline In-Reply-To: <200411152309.iAFN96vK000244@corserv.corserv.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.6i Sender: Ceri Davies cc: des@des.no cc: rcoleman@criticalmagic.com cc: freebsd-hackers@freebsd.org cc: klyons@corserv.com Subject: Re: tcsh is not csh X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 11:17:47 -0000 --V7BlxAaPrdhzdIM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 15, 2004 at 05:09:06PM -0600, Kevin Lyons wrote: > you missed the rest of the thread. /bin/csh is not /bin/tcsh. i have > run into a fairly important compatibility problem brought on by this. lat= er. As you've been told, calling tcsh as csh should activate csh compatibility mode. If this is buggy then you should report it to the tcsh author, which is the same for all contributed software in the base. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --V7BlxAaPrdhzdIM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBmeHTocfcwTS3JF8RAklbAKC66VyR8R4nDnqPmOZdEeh1+qYcWQCggKZK R5L3o0mIeby9Vwdj0zfSitk= =Iuk/ -----END PGP SIGNATURE----- --V7BlxAaPrdhzdIM1-- From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 12:59:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C069116A4CE for ; Tue, 16 Nov 2004 12:59:38 +0000 (GMT) Received: from grsu.by (grsu.by [194.158.202.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 22C7D43D58 for ; Tue, 16 Nov 2004 12:59:37 +0000 (GMT) (envelope-from grog@grsu.by) Received: (qmail 70306 invoked from network); 16 Nov 2004 12:58:28 -0000 Received: from unknown (HELO ?10.31.16.99?) (grog@10.31.16.99) by grsu.by with SMTP; 16 Nov 2004 12:58:27 -0000 Message-ID: <4199FBE6.60200@grsu.by> Date: Tue, 16 Nov 2004 15:08:54 +0200 From: Yury Tarasievich User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Jennejohn References: <200411151836.iAFIa6b2007989@peedub.jennejohn.org> In-Reply-To: <200411151836.iAFIa6b2007989@peedub.jennejohn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: IPDIVERT option not getting compiled? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 12:59:38 -0000 Gary Jennejohn wrote: > Yury Tarasievich writes: > >>Hello? anybody? So how come IPDIVERT option is outright ignored in >>system build here?? The system isn't even connected to internet, nor to >>any other net anyway! >> >>And as if I don't know how to compile kernel? And it is stock >>4.10-RELEASE, too (and 4-STABLE has same problem). The process is fairly >>familiar to me. Config is config that worked before (on other machines). >>Is it something with the machine perhaps?? What could possibly be going >>on? What should I check? >> > > > How about explaining in a little more detail what sort of error you're > seeing? We're not psychics und I certainly can't see a real error report > anywhere in the text of your mail. :) Given the situation, if I'd be able to provide any extra info, I'd be able to solve the problem myself, wouldn't I? I'm adding IPDIVERT option ("options IPDIVERT") to config file and config kernel and compile kernel (alternatively -- buildkernel KERNCONF...) and install kernel and all's fine except that after reboot ipfw.ko tells that "divert is disabled" and it is, indeed, disabled, as natd starts but there are no divert sockets. It happens both with 4.10-RELEASE and with 4-STABLE. But never you mind. This time I had the luxury of being able to just format the partition and install system from scratch, so I did (there wasn't anything big installed yet). Mighty it would help me with populated system. --regards From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 18:36:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 077BB16A4CE for ; Mon, 15 Nov 2004 18:36:11 +0000 (GMT) Received: from peedub.jennejohn.org (Jb149.j.pppool.de [85.74.177.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DFAC43D39 for ; Mon, 15 Nov 2004 18:36:10 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.13.1/8.11.6) with ESMTP id iAFIa6b2007989; Mon, 15 Nov 2004 19:36:07 +0100 (CET) (envelope-from garyj@jennejohn.org) Message-Id: <200411151836.iAFIa6b2007989@peedub.jennejohn.org> X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Yury Tarasievich In-Reply-To: Message from Yury Tarasievich of "Mon, 15 Nov 2004 15:47:52 +0200." <4198B388.2070203@grsu.by> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Nov 2004 19:36:06 +0100 From: Gary Jennejohn X-Mailman-Approved-At: Tue, 16 Nov 2004 13:34:47 +0000 cc: freebsd-hackers@freebsd.org cc: garyj@jennejohn.org Subject: Re: IPDIVERT option not getting compiled? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 18:36:11 -0000 Yury Tarasievich writes: > Hello? anybody? So how come IPDIVERT option is outright ignored in > system build here?? The system isn't even connected to internet, nor to > any other net anyway! > > And as if I don't know how to compile kernel? And it is stock > 4.10-RELEASE, too (and 4-STABLE has same problem). The process is fairly > familiar to me. Config is config that worked before (on other machines). > Is it something with the machine perhaps?? What could possibly be going > on? What should I check? > How about explaining in a little more detail what sort of error you're seeing? We're not psychics und I certainly can't see a real error report anywhere in the text of your mail. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org garyj[at]denx.de From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 14:30:17 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD40916A4D0 for ; Tue, 16 Nov 2004 14:30:17 +0000 (GMT) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 004F443D31 for ; Tue, 16 Nov 2004 14:30:17 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v7.2.0.R) with ESMTP id md50000717917.msg for ; Tue, 16 Nov 2004 14:21:32 +0000 Message-ID: <002c01c4cbe8$9e3bb1e0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: Date: Tue, 16 Nov 2004 14:28:58 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Processed: multiplay.co.uk, Tue, 16 Nov 2004 14:21:32 +0000 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Tue, 16 Nov 2004 14:21:35 +0000 Subject: 5.3-RELEASE with nge crashes regularly under load X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 14:30:17 -0000 I tried enabling giant and setting the sysctl neither helped. Unfortunately didn't have time to setup and get a dump of the kernel panic as I had to get the machine up and running ASAP. Replaced the netcard with an em and all was well. Test to reproduce should be rsync on a dir with some large files in. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 15:16:52 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 021C316A4CE for ; Tue, 16 Nov 2004 15:16:52 +0000 (GMT) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE9E243D1D for ; Tue, 16 Nov 2004 15:16:49 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.9p2/8.12.9) with ESMTP id iAGFGkUf075459; Tue, 16 Nov 2004 18:16:46 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.9p2/8.12.9/Submit) id iAGFGioA075458; Tue, 16 Nov 2004 18:16:44 +0300 (MSK) (envelope-from yar) Date: Tue, 16 Nov 2004 18:16:44 +0300 From: Yar Tikhiy To: Yury Tarasievich Message-ID: <20041116151643.GA74432@comp.chem.msu.su> References: <200411151836.iAFIa6b2007989@peedub.jennejohn.org> <4199FBE6.60200@grsu.by> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4199FBE6.60200@grsu.by> User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org cc: Gary Jennejohn Subject: Re: IPDIVERT option not getting compiled? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 15:16:52 -0000 On Tue, Nov 16, 2004 at 03:08:54PM +0200, Yury Tarasievich wrote: > > I'm adding IPDIVERT option ("options IPDIVERT") to config file and > config kernel and compile kernel (alternatively -- buildkernel > KERNCONF...) and install kernel and all's fine except that after reboot > ipfw.ko tells that "divert is disabled" and it is, indeed, disabled, as > natd starts but there are no divert sockets. It happens both with > 4.10-RELEASE and with 4-STABLE. > > But never you mind. This time I had the luxury of being able to just > format the partition and install system from scratch, so I did (there > wasn't anything big installed yet). Mighty it would help me with > populated system. You seem to be confused by the well-known kernel vs. module configuration issue. Alas, kernel options you specify in your kernel config file affect the kernel binary only, not modules built along with the kernel. If you want IPDIVERT, which is an option to IPFIREWALL, you have to build your kernel with both IPFIREWALL and IPDIVERT: options IPFIREWALL options IPDIVERT or just options IPFIREWALL,IPDIVERT Here IPFIREWALL tells to compile the ipfw firewall into your kernel binary while IPDIVERT indicates that ipfw must be compiled with the divert code enabled. With some options, you can do the trick of building a module separately as follows: cd /sys/modules/foo && make obj && make -D