From owner-freebsd-current Sun Mar 2 1:11:20 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C578637B401 for ; Sun, 2 Mar 2003 01:11:19 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8874843F75 for ; Sun, 2 Mar 2003 01:11:18 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id UAA16115; Sun, 2 Mar 2003 20:11:12 +1100 Date: Sun, 2 Mar 2003 20:12:54 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Jun Su Cc: freebsd-current@FreeBSD.ORG Subject: Re: why libkvm not implement read from user memory space In-Reply-To: <200303021352.04325.JunSu@gmx.net> Message-ID: <20030302195626.K29542-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2 Mar 2003, Jun Su wrote: > I am adding some new feature to the kgdb. I am not sure why the libkvm doesn't > implement reading from memory space when checking core dump. Who can give > some comments on this? If it is possible, I will try to implement it. It was lost when libkvm was converted to use procfs (reading from /proc//mem instead of from kmem). procfs is often considered harmful for even more reasons than this, but replacing it by sysctls tends to break support for dead kernels even more since sysctl() is completely unlike read(). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 1:22:24 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8427937B401 for ; Sun, 2 Mar 2003 01:22:23 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id D9E5F43F93 for ; Sun, 2 Mar 2003 01:22:21 -0800 (PST) (envelope-from JunSu@gmx.net) Received: (qmail 26481 invoked by uid 0); 2 Mar 2003 09:22:18 -0000 Received: from unknown (HELO 211.161.222.154) (211.161.222.154) by mail.gmx.net (mp001-rz3) with SMTP; 2 Mar 2003 09:22:18 -0000 From: Jun Su To: Bruce Evans Subject: Re: why libkvm not implement read from user memory space Date: Sun, 2 Mar 2003 17:21:59 +0800 User-Agent: KMail/1.5 Cc: freebsd-current@FreeBSD.ORG References: <20030302195626.K29542-100000@gamplex.bde.org> In-Reply-To: <20030302195626.K29542-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303021721.59602.JunSu@gmx.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 02 March 2003 17:12, Bruce Evans wrote: > On Sun, 2 Mar 2003, Jun Su wrote: > > I am adding some new feature to the kgdb. I am not sure why the libkvm > > doesn't implement reading from memory space when checking core dump. Who > > can give some comments on this? If it is possible, I will try to > > implement it. > > It was lost when libkvm was converted to use procfs (reading from > /proc//mem instead of from kmem). procfs is often considered > harmful for even more reasons than this, but replacing it by sysctls > tends to break support for dead kernels even more since sysctl() is > completely unlike read(). > > Bruce We can use the same method which libkvm read kernel memory space when in core dump to implemt the same thing for user memory space. Currently, I am cosidering the feature for debug core dump or debug remote machine more than debug /dev/mem. I think it is possible. Am I right? Jun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 1:35:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 878AA37B401 for ; Sun, 2 Mar 2003 01:35:41 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C54DF43F75 for ; Sun, 2 Mar 2003 01:35:40 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h229Zd3Y040789; Sun, 2 Mar 2003 02:35:40 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 02 Mar 2003 02:34:39 -0700 (MST) Message-Id: <20030302.023439.35219042.imp@bsdimp.com> To: raoul.megelas@libertysurf.fr Cc: freebsd-current@FreeBSD.ORG Subject: Re: old serial RS-232 pccard and wi driver. From: "M. Warner Losh" In-Reply-To: <20030301220832.A762@libertysurf.fr> References: <20030301220832.A762@libertysurf.fr> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Can you run a small test? Can you build a kernel w/o wi? Further, can you do sysctl hw.pccard.cis_debug=1 before you insert the card (or put the hw....=1 part in /boot/loader.conf) and send me the result? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 2:37:54 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE02F37B401 for ; Sun, 2 Mar 2003 02:37:52 -0800 (PST) Received: from accms33.physik.rwth-aachen.de (accms33.physik.RWTH-Aachen.DE [137.226.46.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8CA243F93 for ; Sun, 2 Mar 2003 02:37:51 -0800 (PST) (envelope-from kuku@accms33.physik.rwth-aachen.de) Received: (from kuku@localhost) by accms33.physik.rwth-aachen.de (8.9.3/8.9.3) id LAA30904 for freebsd-current@freebsd.org; Sun, 2 Mar 2003 11:37:50 +0100 Date: Sun, 2 Mar 2003 11:37:50 +0100 From: Christoph Kukulies Message-Id: <200303021037.LAA30904@accms33.physik.rwth-aachen.de> To: freebsd-current@freebsd.org Subject: mgetty in ttys hoses system Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I installed the /usr/ports/comms/mgetty+sendfax to get my new servers functions completed and found after installing the port and giving a kill -HUP 1 - the port adds the line cuaa0 "/usr/local/sbin/mgetty" unknown on insecure to /etc/ttys. After that the system was hosed. After rebooting the system seemed to got hung in multi user mode. No vtys and I booted into single user. Found that /etc/ttys contained passwd entries instead, totally hosed. It never happended to me that I got FS corruption like this before. I took out the mgetty entry and live without fax at the moment but hope to find a solution soon. Just install the mgetty+sendfax port in a -current system answer all the questions in the setup dialog with defaults and kill -HUP 1 and you'll be left with a hosed system. -- Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 2:52: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id E097C37B401; Sun, 2 Mar 2003 02:52:02 -0800 (PST) Date: Sun, 2 Mar 2003 04:52:02 -0600 From: Juli Mallett To: current@FreeBSD.org Subject: elf_loadfile: kernel already loaded Message-ID: <20030302045202.A5998@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-Negacore: Yes X-Title: Code Maven Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, (Trying to boot an alternate kernel on FreeBSD/i386 with normal loader running at a console, loading kernel from a disk.) It looks like after I "unload" the default kernel, and try to "load" a new one, when I go to "boot", loader is trying to load some other kernel, and I'm not sure why, but I get the "elf_loadfile: kernel already loaded", I was trying to fix this on my p4 branch by adding some printfs to figure out what it was trying to load, and since I didn't have libstand around, it threw a fit at me during the compile and I gave up, so I figured I'd just mail here and ask if anyone has seen what I'm talking about, or knows if it is fixed, or how to fix it. Thanx, juli. -- Juli Mallett - AIM: BSDFlata -- IRC: juli on EFnet OpenDarwin, Mono, FreeBSD Developer - ircd-hybrid Developer, EFnet addict FreeBSD on MIPS-Anything on FreeBSD - /* XXX Nothing to see here, now. */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 4: 9: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CD1437B401; Sun, 2 Mar 2003 04:08:53 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32F5743FDD; Sun, 2 Mar 2003 04:08:52 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id A2686530E; Sun, 2 Mar 2003 13:08:49 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Jens Rehsack Cc: Juli Mallett , current@freebsd.org Subject: Re: PATCH: type errors in src-tree From: Dag-Erling Smorgrav Date: Sun, 02 Mar 2003 13:08:48 +0100 In-Reply-To: <3E612F7F.1090002@liwing.de> (Jens Rehsack's message of "Sat, 01 Mar 2003 23:09:03 +0100") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <3E5EA13E.9020208@liwing.de> <3E60F1CF.2030400@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jens Rehsack writes: > Of course. Very often in ilmid.c the type caddr_t was used, and nearly > the same count of 'const char *'s was used. I've searched the include > files for caddr_t (core address) and found it defined as 'char *', so > I decided to used commonly caddr_t - maybe later I check which of them > could be changed into 'c_caddr_t' for being const. But You can of > couse replace all 'caddr_t' which 'char *'. This is wrong. caddr_t should be uniersally replaced with void *. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 4: 9:39 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C2B37B40D for ; Sun, 2 Mar 2003 04:09:36 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-52.dsl.lsan03.pacbell.net [63.207.60.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6071843FAF for ; Sun, 2 Mar 2003 04:09:35 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id E1C9066B3A; Sun, 2 Mar 2003 04:09:34 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id C05F3943; Sun, 2 Mar 2003 04:09:34 -0800 (PST) Date: Sun, 2 Mar 2003 04:09:34 -0800 From: Kris Kennaway To: leafy Cc: freebsd-current@freebsd.org Subject: Re: distributed folding client panics -current Message-ID: <20030302120934.GB30881@rot13.obsecurity.org> References: <20030302053103.GA566@leafy.idv.tw> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <20030302053103.GA566@leafy.idv.tw> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This may already be fixed..can you try updating and see if the problem persists? Kris --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+YfR+Wry0BWjoQKURAqZyAKDPUJPlJAdHcD2LuelZW8Ls9S/RNACfV5BP H0ROcCYSkfVoIoANvHWqIEw= =A21P -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 4:25:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 305D637B401 for ; Sun, 2 Mar 2003 04:25:30 -0800 (PST) Received: from mail-2.zoominternet.net (mail-2.zoominternet.net [63.67.120.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 4150343F3F for ; Sun, 2 Mar 2003 04:25:29 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: (qmail 23823 invoked from network); 2 Mar 2003 12:25:25 -0000 Received: from unknown (HELO cvzoom.net) ([24.154.36.121]) (envelope-sender ) by mail-2.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 2 Mar 2003 12:25:25 -0000 Message-ID: <3E61F838.1020508@cvzoom.net> Date: Sun, 02 Mar 2003 07:25:28 -0500 From: Donn Miller User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.2) Gecko/20030214 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway Cc: current@freebsd.org Subject: Re: distributed folding client panics -current References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway wrote: > --6sX45UoQRIJXqkqR > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > This may already be fixed..can you try updating and see if the problem persists? Yes. I've also had problems with my laptop freezing when using gtk-gnutella. After the fixes (I'm now at version 1.198 of tcp_input.c), my laptop takes a lot longer to panic while running gnutella, but it still happens nonetheless. Here is a little backtrace: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x20 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01e3fb6 stack pointer = 0x10:0xcd298a90 frame pointer = 0x10:0xcd298ab4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (swi1: net) trap number = 12 panic: page fault syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? Uptime: 48m8s Dumping 255 MB ata0: resetting devices .. done 16[CTRL-C to abort] 32[CTRL-C to abort] [CTRL-C to abort] 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 doadump () at ../../../kern/kern_shutdown.c:239 239 dumping++; (kgdb) where #0 doadump () at ../../../kern/kern_shutdown.c:239 #1 0xc01ee472 in boot (howto=260) at ../../../kern/kern_shutdown.c:371 #2 0xc01ee6d3 in panic () at ../../../kern/kern_shutdown.c:542 #3 0xc0232a22 in bwrite (bp=0xc7799140) at ../../../kern/vfs_bio.c:795 #4 0xc0234529 in vfs_bio_awrite (bp=0xc7799140) at ../../../kern/vfs_bio.c:1692 #5 0xc02e5fca in ffs_fsync (ap=0xcd298898) at ../../../ufs/ffs/ffs_vnops.c:257 #6 0xc02e50b7 in ffs_sync (mp=0xc25d9600, waitfor=2, cred=0xc0eb5f00, td=0xc03a6e60) at vnode_if.h:612 #7 0xc024939b in sync (td=0xc03a6e60, uap=0x0) at ../../../kern/vfs_syscalls.c:138 #8 0xc01ee05c in boot (howto=256) at ../../../kern/kern_shutdown.c:280 #9 0xc01ee6d3 in panic () at ../../../kern/kern_shutdown.c:542 #10 0xc03459f2 in trap_fatal (frame=0xcd298a50, eva=0) at ../../../i386/i386/trap.c:843 #11 0xc03456d2 in trap_pfault (frame=0xcd298a50, usermode=0, eva=32) at ../../../i386/i386/trap.c:757 #12 0xc03451c0 in trap (frame= {tf_fs = -1027342312, tf_es = 16, tf_ds = 16, tf_edi = -1058231728, tf_esi = 0, tf_ebp = -852915532, tf_isp = -852915588, tf_ebx = -1069851860, tf_edx = -1058231728, tf_ecx = -1034102852, tf_eax = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1071759434, tf_cs = 8, tf_eflags = 66050, tf_esp = 16, tf_ss = -1071125744}) at ../../../i386/i386/trap.c:444 #13 0xc0335398 in calltrap () at {standard input}:96 #14 0xc0278859 in tcp_input (m=0xc0ecaa50, off0=20) at ../../../netinet/tcp_input.c:2324 #15 0xc0271736 in ip_input (m=0xc0ed7900) at ../../../netinet/ip_input.c:947 #16 0xc0271822 in ipintr () at ../../../netinet/ip_input.c:965 #17 0xc02626af in swi_net (dummy=0x0) at ../../../net/netisr.c:97 #18 0xc01da321 in ithread_loop (arg=0xc0ec8280) at ../../../kern/kern_intr.c:536 #19 0xc01d9223 in fork_exit (callout=0xc01da150 , arg=0x0, frame=0x0) at ../../../kern/kern_fork.c:871 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 4:53:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5323237B401 for ; Sun, 2 Mar 2003 04:53:17 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 738BF43FBF for ; Sun, 2 Mar 2003 04:53:15 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 91454 invoked from network); 2 Mar 2003 12:53:13 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 2 Mar 2003 12:53:13 -0000 Message-ID: <3E61FEB9.2020102@liwing.de> Date: Sun, 02 Mar 2003 13:53:13 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: Juli Mallett , current@freebsd.org Subject: Re: PATCH: type errors in src-tree References: <3E5EA13E.9020208@liwing.de> <3E60F1CF.2030400@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Jens Rehsack writes: > >>Of course. Very often in ilmid.c the type caddr_t was used, and nearly >>the same count of 'const char *'s was used. I've searched the include >>files for caddr_t (core address) and found it defined as 'char *', so >>I decided to used commonly caddr_t - maybe later I check which of them >>could be changed into 'c_caddr_t' for being const. But You can of >>couse replace all 'caddr_t' which 'char *'. > > > This is wrong. caddr_t should be uniersally replaced with void *. Good to know. I think I have done it where it's possible, and where really (unsigned) char *(*) was required, I've used that. There're some places in code where I'm not sure about it's being correct, but that has nothing to do with char */void *. > DES Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 5:19:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9277B37B401; Sun, 2 Mar 2003 05:19:21 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A830A43F93; Sun, 2 Mar 2003 05:19:20 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.6/8.12.6) with ESMTP id h22DJJTp033053; Sun, 2 Mar 2003 13:19:19 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost) by storm.FreeBSD.org.uk (8.12.7/8.12.6/Submit) with UUCP id h22DJJ43033052; Sun, 2 Mar 2003 13:19:19 GMT X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.7/8.12.7) with ESMTP id h22DIlIg052357; Sun, 2 Mar 2003 13:18:47 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200303021318.h22DIlIg052357@grimreaper.grondar.org> To: Dag-Erling Smorgrav Cc: Jens Rehsack , Juli Mallett , current@FreeBSD.ORG Subject: Re: PATCH: type errors in src-tree In-Reply-To: Your message of "Sun, 02 Mar 2003 13:08:48 +0100." Date: Sun, 02 Mar 2003 13:18:47 +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > Jens Rehsack writes: > > Of course. Very often in ilmid.c the type caddr_t was used, and nearly > > the same count of 'const char *'s was used. I've searched the include > > files for caddr_t (core address) and found it defined as 'char *', so > > I decided to used commonly caddr_t - maybe later I check which of them > > could be changed into 'c_caddr_t' for being const. But You can of > > couse replace all 'caddr_t' which 'char *'. > > This is wrong. caddr_t should be uniersally replaced with void *. I'm currently doing this for kicks (Well, actually because it kills a botload of warnings, lint and otherwise). Once make world is working again, I'll put up a patch. My approach is to typedef caddr_t to void*, and then fix the errors this causes. So far, they are all no-brainers; mainly function prototypes that are inconsistent with their definitions. There are a few places where caddr_t is assumed to point to char. M -- Mark Murray iumop ap!sdn w,I idlaH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 5:43:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58DE937B405 for ; Sun, 2 Mar 2003 05:43:28 -0800 (PST) Received: from inception.quiecom.com (inception.quiecom.com [216.127.82.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDFD543FDD for ; Sun, 2 Mar 2003 05:43:23 -0800 (PST) (envelope-from fish@fish-mail.com) Received: from current (pcp01652882pcs.waldlk01.mi.comcast.net [68.62.106.180]) (authenticated (0 bits)) by inception.quiecom.com (8.11.6/8.11.6) with ESMTP id h22DakA00955 for ; Sun, 2 Mar 2003 08:36:46 -0500 Subject: Re: distributed folding client panics -current From: Fish To: current@FreeBSD.ORG In-Reply-To: <3E61F838.1020508@cvzoom.net> References: <3E61F838.1020508@cvzoom.net> Content-Type: text/plain Organization: Message-Id: <1046594552.743.4.camel@current> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 02 Mar 2003 08:42:33 +0000 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2003-03-02 at 12:25, Donn Miller wrote: > Kris Kennaway wrote: > > --6sX45UoQRIJXqkqR > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > > > This may already be fixed..can you try updating and see if the problem persists? > > Yes. I've also had problems with my laptop freezing when using > gtk-gnutella. After the fixes (I'm now at version 1.198 of > tcp_input.c), my laptop takes a lot longer to panic while running > gnutella, but it still happens nonetheless. Here is a little backtrace: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x20 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc01e3fb6 > stack pointer = 0x10:0xcd298a90 > frame pointer = 0x10:0xcd298ab4 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 12 (swi1: net) > trap number = 12 > panic: page fault > > syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? > Uptime: 48m8s > Dumping 255 MB > ata0: resetting devices .. > done > 16[CTRL-C to abort] 32[CTRL-C to abort] [CTRL-C to abort] 48 64 80 > 96 112 128 144 160 176 192 208 224 240 Just chiming in with a me-too, for LimeWire. I also am seeing this problem. I'm cvsupping and rebuilding now, my build is a few days old. Fish To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 7:36: 9 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBE6F37B401; Sun, 2 Mar 2003 07:36:07 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC63443FAF; Sun, 2 Mar 2003 07:36:05 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h22FZxX06489; Sun, 2 Mar 2003 16:35:59 +0100 (MET) Date: Sun, 2 Mar 2003 16:35:59 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Jens Rehsack Cc: Barney Wolff , Juli Mallett , current@FreeBSD.ORG Subject: Re: PATCH: type errors in src-tree In-Reply-To: <3E615F83.7090106@liwing.de> Message-ID: <20030302163339.G2174@beagle.fokus.gmd.de> References: <3E5EA13E.9020208@liwing.de> <3E60F1CF.2030400@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de> <20030301233642.GA64401@pit.databus.com> <3E614A06.5070403@liwing.de> <20030301180920.A53976@FreeBSD.org> <3E61560D.2070205@liwing.de> <20030302012530.GA65162@pit.databus.com> <3E615F83.7090106@liwing.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2 Mar 2003, Jens Rehsack wrote: JR>Barney Wolff wrote: JR>> This is an example of what I was pointing out: JR>> JR>> On Sun, Mar 02, 2003 at 01:53:33AM +0100, Jens Rehsack wrote: JR>> ... JR>> JR>>>@@ -1444,22 +1420,19 @@ JR>>> * none - response sent JR>>> * JR>>> */ JR>>>-void JR>>>-send_resp ( intf, Hdr, resp ) JR>>>- int intf; JR>>>- Snmp_Header *Hdr; JR>>>- u_char *resp; JR>>>+static void JR>>>+send_resp ( const int intf, Snmp_Header *Hdr, char *resp ) JR>>> { JR>>> int n; JR>>> JR>>>- if ( ilmi_fd[intf] > 0 ) { JR>>>- n = write ( ilmi_fd[intf], (caddr_t)&resp[1], resp[0] ); JR>>>+ if ( ilmi_fd[intf] > 0 ) { /* FIXME: does ilmi_fd[intf] exists? out of range? */ JR>>>+ n = write ( ilmi_fd[intf], resp+1, resp[0] ); JR>> JR>> ... JR>> JR>> Here's a case where it matters whether something is u_char or char. JR>> write(2) takes a size_t as its third arg, and extension of a char to JR>> that may not be the same as for u_char, for example on Sparc. If the JR>> response is ever >127 bytes, this will fail. You're going to have to JR>> look carefully at how things are used to see when char is appropriate JR>> and when u_char is necessary. JR>> JR> JR>That is really right, but for those check I have to know more 'bout ATM, JR>right? I just have detected some compiler errors using JR>-finline-functions (yes, I'm playing with optimization options :-)). If JR>you know a real good online-reference, one fine day I'll check it and JR>check the entire ilmid.c code for valid signment. Go to www.atmforum.com and look at the Standards page. You will find the ILMI 4.0 standard there. But beware, if you are not used to read telecommunication standards, you will be confused :-) For ILMI you will also need the relavant SNMP RFCs and, maybe, the ASN.1 doc (don't remember exactly should be one of the Z.* ITU-T standards). harti JR> JR>Jens JR> JR> JR>To Unsubscribe: send mail to majordomo@FreeBSD.org JR>with "unsubscribe freebsd-current" in the body of the message JR> -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 8:29: 9 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E3F137B401 for ; Sun, 2 Mar 2003 08:29:06 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62DA443F3F for ; Sun, 2 Mar 2003 08:29:05 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) by alpha.siliconlandmark.com (8.12.7/8.12.6) with ESMTP id h22GT4Kx058772 for ; Sun, 2 Mar 2003 11:29:04 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by alpha.siliconlandmark.com (8.12.7/8.12.6/Submit) with ESMTP id h22GT3Yg058769 for ; Sun, 2 Mar 2003 11:29:03 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 2 Mar 2003 11:29:02 -0500 (EST) From: Andre Guibert de Bruet To: current@FreeBSD.ORG Subject: Re: Double fault with IBM microdrives and CompactFlash (LONG) In-Reply-To: <20030301120003.R91528@alpha.siliconlandmark.com> Message-ID: <20030302105316.P91528@alpha.siliconlandmark.com> References: <20030301120003.R91528@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 1 Mar 2003, Andre Guibert de Bruet wrote: > I just tried using my FreeBSD laptop to unload pictures off of a 340MB IB= M > microdrive (Model: DMDM-10340, P/N: 22L0046) using the IBM PC Card adapte= r > (P/N: 31L9315). The laptop in question is a stock Dell Latitude C800 with > a 1Ghz P3, 512MB of RAM and a 20GB ATA66 drive. > > I got a double "page fault in kernel mode" message shortly after insertin= g > the drive. I rebooted then tried using the same adapter with a 128MB > Viking CompactFlash card, and I got the same problem. Now, I've used this > adapter under Windows XP, and it works, so it's not defective. I use the > same cardbus slots for my wi0 interface (PRISM II-based), so I know both > slots work. I recvsup'ed to make sure that I have all the latest committe= d > fixes. Here's what uname says: > pccard1: Allocation failed for cfe 0 > ata2 at port 0x100-0x10f irq 10 function 0 config 1 on pccard1 I've since cvsup'ed, and upgraded this machine's kernel. omikron# uname -a FreeBSD omikron.properkernel.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Ma= r 2 09:29:14 EST 2003 root@omikron.properkernel.com:/usr/src/sys/i386/= compile/OMIKRON i386 I also enabled dumps and managed to get a clean dump: (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:239 #1 0xc013bb55 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D3999, dumm= y4=3D0xd68d0964 "@\003E=C0\f") at ../../../ddb/db_command.c:546 #2 0xc013b8d2 in db_command (last_cmdp=3D0xc04037c0, cmd_table=3D0x0, a= ux_cmd_tablep=3D0xc03fdf94, aux_cmd_tablep_end=3D0xc03fdf98) at ../../..= /ddb/db_command.c:346 #3 0xc013b9e6 in db_command_loop () at ../../../ddb/db_command.c:470 #4 0xc013e76a in db_trap (type=3D12, code=3D0) at ../../../ddb/db_trap.c:7= 2 #5 0xc0388ad1 in kdb_trap (type=3D12, code=3D0, regs=3D0xd68d0b34) at .= =2E/../../i386/i386/db_interface.c:166 #6 0xc039a2f2 in trap_fatal (frame=3D0xd68d0b34, eva=3D0) at ../../../i= 386/i386/trap.c:838 #7 0xc039a002 in trap_pfault (frame=3D0xd68d0b34, usermode=3D0, eva=3D0) = at ../../../i386/i386/trap.c:757 #8 0xc0399b7d in trap (frame=3D {tf_fs =3D -695402472, tf_es =3D -107= 2431088, tf_ds =3D -1051262960, tf_edi =3D -1051687936, tf_esi =3D 128, tf_= ebp =3D -695399504, tf_isp =3D -695399584, tf_ebx =3D 16, tf_edx =3D -10512= 31700, tf_ecx =3D -1068976384, tf_eax =3D -1051231700, tf_trapno =3D 12, tf= _err =3D 0, tf_eip =3D 0, tf_cs =3D 8, tf_eflags =3D 66118, tf_esp =3D -107= 2345719, tf_ss =3D -1051231700}) at ../../../i386/i386/trap.c:444 #9 0xc038a428 in calltrap () at {standard input}:96 #10 0xc01463d3 in ata_attach (dev=3D0x80) at ../../../dev/ata/ata-all.c:210 #11 0xc017b24a in pccard_compat_do_attach (bus=3D0xc40f8500, dev=3D0x80) = at card_if.h:129 #12 0xc014a5bd in pccard_compat_attach (dev=3D0x10) at card_if.h:147 #13 0xc0254010 in device_probe_and_attach (dev=3D0x10) at device_if.h:39 #14 0xc0179f1f in pccard_attach_card (dev=3D0xc40f8500) at ../../../dev/= pccard/pccard.c:243 #15 0xc0181f08 in cbb_insert (sc=3D0xc15a2c00) at card_if.h:66 #16 0xc0181d2b in cbb_event_thread (arg=3D0xc15a2c00) at ../../../dev/pc= cbb/pccbb.c:914 #17 0xc022b634 in fork_exit (callout=3D0xc0181cb0 , arg= =3D0x0, frame=3D0x0) at ../../../kern/kern_fork.c:871 (kgdb) list ../../../dev/ata/ata-all.c:210 205 if (ch->devices & ATA_ATAPI_MASTER) 206 if (ata_getparam(&ch->device[MASTER], ATA_C_ATAPI_IDENT= IFY)) 207 ch->devices &=3D ~ATA_ATAPI_MASTER; 208 #ifdef DEV_ATADISK 209 if (ch->devices & ATA_ATA_MASTER) 210 ad_attach(&ch->device[MASTER]); 211 if (ch->devices & ATA_ATA_SLAVE) 212 ad_attach(&ch->device[SLAVE]); 213 #endif 214 #if DEV_ATAPIALL File versions: src/sys/dev/ata/ata-all.c 1.167 src/sys/dev/ata/ata-all.h 1.59 src/sys/dev/pccard/card_if.m 1.21 src/sys/dev/pccbb/pccbb.c 1.65 src/sys/kern/device_if.m 1.8 src/sys/kern/kern_fork.c 1.186 src/sys/pccard/pccard.c 1.156 The kernel config file that I'm using can be found at: http://siliconlandmark.com/staff/andre/files/OMIKRON If there's anything else that could be helpful, please don't hesitate to ask! :-) Thanks again, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 8:34:27 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B93E37B401 for ; Sun, 2 Mar 2003 08:34:26 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DF8743FAF for ; Sun, 2 Mar 2003 08:34:25 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg) with ESMTP id h22GYNYw056049 for ; Sun, 2 Mar 2003 17:34:23 +0100 (CET) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg/submit) with ESMTP id h22GYMk1056046 for ; Sun, 2 Mar 2003 17:34:23 +0100 (CET) Date: Sun, 2 Mar 2003 17:34:22 +0100 (CET) From: Michal Mertl To: current@freebsd.org Subject: potential for foot-shooting with KLD's Message-ID: <20030302153608.P44831@prg.traveller.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Imagine you decided to go with modular kernel. You comment out 'device random' in your kernel-config and place 'random_load="YES"' in /boot/loader.conf. When you reboot and don't rebuild the kernel first, you have your machine unbootable - at least in case you previously had acpi in your kernel and acpi doesn't work without OS supplied dsdt (as in my case) or you need acpi as a module or any other module. The way out is to boot from install CDROM, have fixit floppy, mount the old root and remove the random.ko module. Which is pretty inconvenient, when you don't have the medias handy. The problem is that I can't ask loader not to load some module. It doesn't understand 'unset XX_load'. It doesn't work to say 'set XX_load="NO"' either. The only way I found to make it not load the modules is to 'load /boot/kernel/kernel;set module_path="";boot'. Unfortunately it doesn't help me either because I need to load special acpi_dsdt.aml which isn't then loaded either. The fix could be to be able to say 'unset XX_load' or make 'set XX_load="NO"' work. The other fix (probably more difficult to do) would be to make all modules loading/linking fail when they're statically compiled in. -- Michal Mertl mime@traveller.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 9: 5:26 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 444F837B401 for ; Sun, 2 Mar 2003 09:05:23 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A6FB43FA3 for ; Sun, 2 Mar 2003 09:05:21 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA10228; Mon, 3 Mar 2003 04:04:58 +1100 Date: Mon, 3 Mar 2003 04:06:41 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Poul-Henning Kamp Cc: "M. Warner Losh" , Subject: Re: Any ideas why we can't even boot a i386 ? In-Reply-To: <20030302001614.H26391-100000@gamplex.bde.org> Message-ID: <20030303034332.Y30986-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2 Mar 2003, Bruce Evans wrote: > On Fri, 28 Feb 2003, Poul-Henning Kamp wrote: > > > My main concern would be if the chips have the necessary "umphf" > > to actually do a real-world job once they're done running all the > > overhead of 5.0-R. The lack of cmpxchg8 makes the locking horribly > > expensive. > > Actually, the lack of cmpxchg8 only makes locking more expensive. It's ^^^^ I.e., strictly more expensive, but not much more. > [cycle types for Athlon1600 running 386 code] Here are whorldstone benchmarks for an Athlon. The 386 version was a whole 0.3% slower for real time (3.2% slower for system time). To get the system to run I had to unbreak panicifcpuunsupported() so that it doesn't gratuitously reject Athlons (CPUs that are upward compatible should not be rejected), and had to replace pmap.o by the non-386 version since the 386 version caused strange errors. It's not clear why the 386 version doesn't work -- the only internal difference in pmap.c is that the 386 version uses invltlb() and other versions use invlpg(). Using invlpg() would probably make things more than 0.3% slower. Selecting the best inv*() was the main optimization that we dropped when 386 support was made incompatible with support for later CPUs. world with my kernel configured for I486_CPU through I686_CPU %%% 1532 MHz AthlonXP 1600 256MB 2 ATA drives async mounted /usr/obj (src on separate drive) -------------------------------------------------------------- >>> elf make world completed on Sun Mar 2 16:30:55 EST 2003 (started Sun Mar 2 15:53:15 EST 2003) -------------------------------------------------------------- 2260.31 real 1729.55 user 326.24 sys 40208 maximum resident set size 2248 average shared memory size 1762 average unshared data size 127 average unshared stack size 14959205 page reclaims 25630 page faults 0 swaps 43481 block input operations 3963 block output operations 0 messages sent 0 messages received 5 signals received 313523 voluntary context switches 607085 involuntary context switches %%% world with my kernel configured for I386_CPU except for pmap.o %%% 1532 MHz AthlonXP 1600 256MB 2 ATA drives async mounted /usr/obj (src on separate drive) -------------------------------------------------------------- >>> elf make world completed on Mon Mar 3 03:00:45 EST 2003 (started Mon Mar 3 02:22:57 EST 2003) -------------------------------------------------------------- 2267.98 real 1730.21 user 336.73 sys 40208 maximum resident set size 2245 average shared memory size 1756 average unshared data size 127 average unshared stack size 14958931 page reclaims 26265 page faults 0 swaps 44148 block input operations 3898 block output operations 0 messages sent 0 messages received 6 signals received 313986 voluntary context switches 598687 involuntary context switches %%% Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 9:49: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D29637B401 for ; Sun, 2 Mar 2003 09:49:07 -0800 (PST) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE16E43FB1 for ; Sun, 2 Mar 2003 09:49:06 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0246.cvx22-bradley.dialup.earthlink.net ([209.179.198.246] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18pXa6-00028O-00; Sun, 02 Mar 2003 09:48:59 -0800 Message-ID: <3E6243BB.282E436A@mindspring.com> Date: Sun, 02 Mar 2003 09:47:39 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Christoph Kukulies Cc: freebsd-current@freebsd.org Subject: Re: mgetty in ttys hoses system References: <200303021037.LAA30904@accms33.physik.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4dbd8cf97b6f6bedfcfdfd800b804af7b350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christoph Kukulies wrote: > I installed the /usr/ports/comms/mgetty+sendfax to get my > new servers functions completed and found after installing the > port and giving a kill -HUP 1 - the port adds the > line > cuaa0 "/usr/local/sbin/mgetty" unknown on insecure > to /etc/ttys. > > After that the system was hosed. After rebooting > the system seemed to got hung in multi user mode. > No vtys and I booted into single user. > > Found that /etc/ttys contained passwd entries instead, totally > hosed. It never happended to me that I got FS corruption > like this before. This is a well-known FreeBSD VM bug, having to do with writes to COW pages for objects mapped read-only. It happens when you modify the contents of the data areas returned by getpwent(). We had the same problem with Vixie "cron" on the InterJet; it would spam the crontab with a page of data from the passwd database. No one ever fixed it, because no one after Dyson has really bothered to fully understand the VM system, before making changes to it. You can work around it by modifying the program to copy the pwent contents (or use it's own pwent structure) instead of modifying the returned data areas. This avoids triggering the COW, where the dirty buffer gets attached to the wrong vnode. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 9:55:41 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8678637B401 for ; Sun, 2 Mar 2003 09:55:40 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0A943F85 for ; Sun, 2 Mar 2003 09:55:39 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h22HtLA6009065; Sun, 2 Mar 2003 18:55:28 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Bruce Evans Cc: "M. Warner Losh" , current@FreeBSD.ORG Subject: Re: Any ideas why we can't even boot a i386 ? From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 03 Mar 2003 04:06:41 +1100." <20030303034332.Y30986-100000@gamplex.bde.org> Date: Sun, 02 Mar 2003 18:55:21 +0100 Message-ID: <9064.1046627721@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030303034332.Y30986-100000@gamplex.bde.org>, Bruce Evans writes: >On Sun, 2 Mar 2003, Bruce Evans wrote: > >> On Fri, 28 Feb 2003, Poul-Henning Kamp wrote: >> >> > My main concern would be if the chips have the necessary "umphf" >> > to actually do a real-world job once they're done running all the >> > overhead of 5.0-R. The lack of cmpxchg8 makes the locking horribly >> > expensive. >> >> Actually, the lack of cmpxchg8 only makes locking more expensive. It's > ^^^^ > >I.e., strictly more expensive, but not much more. Bruce, it is not a matter of the relative expensiveness of the various implementations of locking primitives, its a matter of the cummulative weight of all the locks we add to the system. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 9:56:21 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 417F737B405 for ; Sun, 2 Mar 2003 09:56:20 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 319CC43FBF for ; Sun, 2 Mar 2003 09:56:19 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h22HuIu5076152 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 2 Mar 2003 09:56:18 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.6/8.12.6/Submit) id h22HuHJR005595; Sun, 2 Mar 2003 09:56:17 -0800 (PST) (envelope-from jdp) Date: Sun, 2 Mar 2003 09:56:17 -0800 (PST) Message-Id: <200303021756.h22HuHJR005595@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: des@ofug.org Subject: Re: PATCH: type errors in src-tree In-Reply-To: References: <3E5EA13E.9020208@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article , Dag-Erling Smorgrav wrote: > > This is wrong. caddr_t should be uniersally replaced with void *. Not quite. There is (or at least used to be) a lot of code that assumed you could do address arithmetic on a caddr_t. You can't do that on a void *, at least not in ANSI C. I think gcc lets you do it, but it's an extension. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 10:28:10 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A048237B401 for ; Sun, 2 Mar 2003 10:27:59 -0800 (PST) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FC2843F93 for ; Sun, 2 Mar 2003 10:27:58 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.134.89] (port=49157 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18pYBo-0006VA-00 for freebsd-current@FreeBSD.ORG; Mon, 03 Mar 2003 02:27:56 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h22IRuen000865 for ; Mon, 3 Mar 2003 02:27:56 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h22IRtwE000864 for freebsd-current@FreeBSD.ORG; Mon, 3 Mar 2003 02:27:55 +0800 (CST) Date: Mon, 3 Mar 2003 02:27:55 +0800 From: leafy To: freebsd-current@FreeBSD.ORG Subject: Re: distributed folding client panics -current Message-ID: <20030302182755.GA847@leafy.idv.tw> Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <20030302053103.GA566@leafy.idv.tw> <20030302120934.GB30881@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ" Content-Disposition: inline In-Reply-To: <20030302120934.GB30881@rot13.obsecurity.org> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --SkvwRMAIpAhPCcCJ Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=big5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 02, 2003 at 04:09:34AM -0800, Kris Kennaway wrote: > This may already be fixed..can you try updating and see if the problem pe= rsists? >=20 > Kris I got it again right after the client checks for new version. The world is = about 1.5hrs old. Attached the kernel dump=20 Jiawei Ye --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=big5 Content-Disposition: attachment; filename=output Content-Transfer-Encoding: quoted-printable Copyright 2002 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 condition= s. 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-undermydesk-freebsd"... panic: bdwrite: buffer is not busy panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x20 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc01b2036 stack pointer =3D 0x10:0xcd32da90 frame pointer =3D 0x10:0xcd32dab4 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 14 (swi1: net) trap number =3D 12 panic: page fault syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? Uptime: 10h44m40s Dumping 255 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 Dump complete Terminate ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-2003 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 5.0-CURRENT #0: Sun Mar 2 02:22:20 CST 2003 leafy@leafy.idv.tw:/usr/obj/usr/src/sys/CHIHIRO Preloaded elf kernel "/boot/kernel/kernel" at 0xc0420000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04200a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1794555904 Hz CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1794.56-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf12 Stepping =3D 2 Features=3D0x3febf9ff real memory =3D 268369920 (255 MB) avail memory =3D 256139264 (244 MB) Allocating major#253 to "net" Pentium Pro MTRR support enabled Allocating major#252 to "pci" npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31 pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00f7550 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device = 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 rl0: port 0xbc00-0xbcff mem 0xefefff00-0xefefff= ff irq 10 at device 1.0 on pci2 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mo= de rl0: Ethernet address: 00:40:95:07:53:6b miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: port 0xb800-0xb81f mem 0xefd00000-0= xefdfffff,0xe76ff000-0xe76fffff irq 12 at device 2.0 on pci2 fxp0: Ethernet address 00:90:27:13:a4:48 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib3: at device 4.0 on pci2 pci3: on pcib3 asr0: mem 0xe4000000-0xe5ffffff irq 9 at device= 4.1 on pci2 asr0: major=3D154 asr0: DPT PM1564U3 FW Rev. 3013, 1 channel, 256 CCBs, Protocol I2O isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xff00-0xff0f at device 31.1 = on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.2 (no driver attached) pci0: at device 31.3 (no driver attached) pci0: at device 31.4 (no driver attached) acpi_button1: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: cmd 3 failed at out byte 1 of 3 orm0:
éÚÇÏÔÏ×ÌÅÎÉÅ ÓÔÉÌØÎÙÈ ÓÁÊÔÏ× ÌÀÂÏÇÏ ÕÒÏ×ÎÑ ÓÌÏÖÎÏÓÔÉ É ÉÈ ÐÏÄÄÅÒÖËÁ. ãÅÎÙ ÏÔ 500 ÄÏ 5000 USD. òÁÂÏÔÁÀÔ ÔÏÌØËÏ ÐÒÏÆÅÓÓÉÏÎÁÌÙ (ÎÅ ÓÔÕÄÅÎÔÙ). òÅËÌÁÍÁ × ÉÎÔÅÒÎÅÔÅ.
Ô. (095) 275-49-84
To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:12: 7 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03DFE37B401 for ; Sun, 2 Mar 2003 12:12:06 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D14243FA3 for ; Sun, 2 Mar 2003 12:12:05 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.6/8.12.6) with ESMTP id h22KC3pI075569 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 2 Mar 2003 15:12:03 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.6/8.12.6/Submit) id h22KC33h075566; Sun, 2 Mar 2003 15:12:03 -0500 (EST) (envelope-from wollman) Date: Sun, 2 Mar 2003 15:12:03 -0500 (EST) From: Garrett Wollman Message-Id: <200303022012.h22KC33h075566@khavrinen.lcs.mit.edu> To: Bruce Evans Cc: current@FreeBSD.ORG Subject: Re: PATCH: typo in socreate() or i'm missing something In-Reply-To: <20030301202521.D25845-100000@gamplex.bde.org> References: <3E5FA9B0.90306@exodus.net> <20030301202521.D25845-100000@gamplex.bde.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > Interestingly, socreate() in Lite2 always does a can-wait malloc() so > our current soalloc(M_NOWAIT) does the same thing as Lite2 and is only > wrong if the FreeBSD change from can-wait to "can-wait-if p != 0" > change was needed and is still needed. When I initially revamped that code, I waited unconditionally and was rewarded with an appropriate panic for sleeping in interrupt context. I cannot speak as to whether it is still needed. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:14:18 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76F7537B401 for ; Sun, 2 Mar 2003 12:14:16 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6847F43FA3 for ; Sun, 2 Mar 2003 12:14:15 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h22KEDA6009989 for ; Sun, 2 Mar 2003 21:14:14 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org Subject: HEADSUP: Driver mega-commit ahead. From: Poul-Henning Kamp Date: Sun, 02 Mar 2003 21:14:13 +0100 Message-ID: <9988.1046636053@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I plan to commit http://phk.freebsd.dk/patch/cdevsw.patch one of the first days of the week. Basically, it changes cdevsw initializations to use C99 sparse format, and thereby eliminates 859 lines of redundant defaultvalue initializations. After this patch has been committed, we will be able to add new (variants of existing) methods to cdevsw without having to change all device drivers to match. This will also allow us to clean up fluff from earlier expansions, like for instance the KQ_FILTER flag which will no longer be necessary. Compatibility with 4-stable could be possible if somebody volunteers to test the necessary patches. Included is the top of the patch file, the rest is equally boring. Poul-Henning ---------------------------------------------------------------------------- This is a machine generated patch which changes all cdevsw{} initializations to use C99 style sparse initializers and at the same time removes all the initializations which are not needed because they are the default values. Index: alpha/alpha/mem.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/mem.c,v retrieving revision 1.42 diff -u -r1.42 mem.c --- alpha/alpha/mem.c 25 Feb 2003 03:21:18 -0000 1.42 +++ alpha/alpha/mem.c 2 Mar 2003 19:48:33 -0000 @@ -80,19 +80,15 @@ #define CDEV_MAJOR 2 static struct cdevsw mem_cdevsw = { - /* open */ mmopen, - /* close */ mmclose, - /* read */ mmrw, - /* write */ mmrw, - /* ioctl */ mmioctl, - /* poll */ (d_poll_t *)seltrue, - /* mmap */ memmmap, - /* strategy */ nostrategy, - /* name */ "mem", - /* maj */ CDEV_MAJOR, - /* dump */ nodump, - /* psize */ nopsize, - /* flags */ D_MEM, + .d_open = mmopen, + .d_close = mmclose, + .d_read = mmrw, + .d_write = mmrw, + .d_ioctl = mmioctl, + .d_mmap = memmmap, + .d_name = "mem", + .d_maj = CDEV_MAJOR, + .d_flags = D_MEM, }; ---------------------------------------------------------------------------- struct mem_range_softc mem_range_softc; -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:20:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C07737B401 for ; Sun, 2 Mar 2003 12:20:18 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 078D843F75 for ; Sun, 2 Mar 2003 12:20:17 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h22KKG1o086130; Sun, 2 Mar 2003 12:20:16 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h22KKG5r000563; Sun, 2 Mar 2003 12:20:16 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h22KKGn7000562; Sun, 2 Mar 2003 12:20:16 -0800 (PST) (envelope-from marcel) Date: Sun, 2 Mar 2003 12:20:15 -0800 From: Marcel Moolenaar To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead. Message-ID: <20030302202015.GA546@athlon.pn.xcllnt.net> References: <9988.1046636053@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9988.1046636053@critter.freebsd.dk> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 02, 2003 at 09:14:13PM +0100, Poul-Henning Kamp wrote: > > I plan to commit > http://phk.freebsd.dk/patch/cdevsw.patch > one of the first days of the week. > > Basically, it changes cdevsw initializations to use C99 sparse > format, and thereby eliminates 859 lines of redundant defaultvalue > initializations. I thought HEAD was in a slush mode. des' sweep and this sweep seems like the kind of changes we don't want at this time. Has this changed or did re@ approve it (both cases)? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:26:34 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8393737B401 for ; Sun, 2 Mar 2003 12:26:33 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7AB43F3F for ; Sun, 2 Mar 2003 12:26:32 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h22KQVA6010087; Sun, 2 Mar 2003 21:26:31 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Marcel Moolenaar Cc: current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead. From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 02 Mar 2003 12:20:15 PST." <20030302202015.GA546@athlon.pn.xcllnt.net> Date: Sun, 02 Mar 2003 21:26:31 +0100 Message-ID: <10086.1046636791@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030302202015.GA546@athlon.pn.xcllnt.net>, Marcel Moolenaar writes : >On Sun, Mar 02, 2003 at 09:14:13PM +0100, Poul-Henning Kamp wrote: >> >> I plan to commit >> http://phk.freebsd.dk/patch/cdevsw.patch >> one of the first days of the week. >> >> Basically, it changes cdevsw initializations to use C99 sparse >> format, and thereby eliminates 859 lines of redundant defaultvalue >> initializations. > >I thought HEAD was in a slush mode. des' sweep and this sweep seems >like the kind of changes we don't want at this time. Has this changed >or did re@ approve it (both cases)? I can't talk for DES sweep, (although I'll say that it seems like a step in the right direction for me). This particular sweep gives os much better cross-branch source portability and therefore I think it is exactly the kind of thing we want before the RELENG_5 branch. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:34:32 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E52237B401 for ; Sun, 2 Mar 2003 12:34:30 -0800 (PST) Received: from mail.blarg.net (floyd.blarg.net [206.124.128.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6598043FDF for ; Sun, 2 Mar 2003 12:34:28 -0800 (PST) (envelope-from abe@abeowitz.com) Received: from abeowitz.com (mail.abeowitz.com [206.124.158.120]) by mail.blarg.net (Postfix) with ESMTP id C86E137FE2 for ; Sun, 2 Mar 2003 12:34:26 -0800 (PST) Message-ID: <3E626A5B.8000204@abeowitz.com> Date: Sun, 02 Mar 2003 12:32:27 -0800 From: abe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: Current Hardware Configuration Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Floppy FTP install: 4.8-PreRelease works fine, but with CURRENT my laptop bogs down in the FTP get stage... Alternatively, it also doesn't find the CDROM drive after the boot stage of the install process. The only way I've gotten it to install is to copy the CDROM image to another UFS partition. I have a SONY C1VN Picturebook. In Linux, I can use "ide2=0x180,0x386", but I've been unable to apply this to CURRENT. Exactly what hints do I need to use? In 4.8Pre, it shows up as ata4. hint.ata.4.port=0x180? What about the 0x386? ----- IRQ/Memory Conflict? With CURRENT, running X kills my network connection. I suspected an IRQ/IOMEM conflict, the video card and pcmcia were sharing the same irq 9, but the same thing happens on my desktop... Is there a way to force hardware to specific IRQ/Memory configurations? i.e. When I installed 4.8pre, it prefers 0xd4000 and irq 10 for my pcmcia card, but CURRENT wants it to be at 0xd0000 and irq 9. Additionally, CURRENT seems to be ignoring pccard.conf and rc.conf pccardd settings... ----- ANY suggestions on how to best manage hardware configurations in CURRENT? Can't wait to learn MAC, other Trusted BSD features and GEOM! :o) Thanks! Abe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:35:59 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94D3037B401 for ; Sun, 2 Mar 2003 12:35:57 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 013D543F3F for ; Sun, 2 Mar 2003 12:35:57 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from SJDCEX01.int.exodus.net ([165.193.27.80]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Sun, 2 Mar 2003 12:35:56 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: HEADSUP: Driver mega-commit ahead. Date: Sun, 2 Mar 2003 12:35:56 -0800 Message-ID: <45258A4365C6B24A9832BFE224837D552B1296@sjdcex01.int.exodus.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HEADSUP: Driver mega-commit ahead. thread-index: AcLg+gnqe7ND/VEVRBOb7cAo5Jnw0AAAQPsm From: "Maksim Yevmenkin" To: "Poul-Henning Kamp" , "Marcel Moolenaar" Cc: X-OriginalArrivalTime: 02 Mar 2003 20:35:56.0775 (UTC) FILETIME=[53D61F70:01C2E0FB] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Poul-Henning, i think the following is not correct RCS file: /home/ncvs/src/sys/netgraph/ng_device.c,v retrieving revision 1.2 diff -u -r1.2 ng_device.c --- netgraph/ng_device.c 2 Feb 2003 13:30:00 -0000 1.2 +++ netgraph/ng_device.c 2 Mar 2003 19:48:38 -0000 @@ -66,7 +66,7 @@ /* Netgraph type */ static struct ng_type typestruct =3D { NG_ABI_VERSION, /* version */ - NG_DEVICE_NODE_TYPE, /* name */ + .d_name =3D NG_DEVICE_NODE_TYPE, ng_device_mod_event, /* modevent */ ng_device_cons, /* constructor */ ng_device_rcvmsg, /* receive msg */ @@ -114,19 +114,14 @@ please fix thanks max -----Original Message----- From: Poul-Henning Kamp [mailto:phk@phk.freebsd.dk] Sent: Sun 3/2/2003 12:26 PM To: Marcel Moolenaar Cc: current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead.=20 In message <20030302202015.GA546@athlon.pn.xcllnt.net>, Marcel Moolenaar = writes : >On Sun, Mar 02, 2003 at 09:14:13PM +0100, Poul-Henning Kamp wrote: >>=20 >> I plan to commit >> http://phk.freebsd.dk/patch/cdevsw.patch >> one of the first days of the week. >>=20 >> Basically, it changes cdevsw initializations to use C99 sparse >> format, and thereby eliminates 859 lines of redundant defaultvalue >> initializations. > >I thought HEAD was in a slush mode. des' sweep and this sweep seems >like the kind of changes we don't want at this time. Has this changed >or did re@ approve it (both cases)? I can't talk for DES sweep, (although I'll say that it seems like a step in the right direction for me). This particular sweep gives os much better cross-branch source portability and therefore I think it is exactly the kind of thing we want before the RELENG_5 branch. --=20 Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe =20 Never attribute to malice what can adequately be explained by = incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:38:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E362237B401 for ; Sun, 2 Mar 2003 12:38:40 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7BE743F85 for ; Sun, 2 Mar 2003 12:38:39 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h22Kcd1o086220; Sun, 2 Mar 2003 12:38:39 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h22Kcd5r000620; Sun, 2 Mar 2003 12:38:39 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h22Kcd1M000619; Sun, 2 Mar 2003 12:38:39 -0800 (PST) (envelope-from marcel) Date: Sun, 2 Mar 2003 12:38:39 -0800 From: Marcel Moolenaar To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead. Message-ID: <20030302203839.GB546@athlon.pn.xcllnt.net> References: <20030302202015.GA546@athlon.pn.xcllnt.net> <10086.1046636791@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10086.1046636791@critter.freebsd.dk> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 02, 2003 at 09:26:31PM +0100, Poul-Henning Kamp wrote: > In message <20030302202015.GA546@athlon.pn.xcllnt.net>, Marcel Moolenaar writes > : > >On Sun, Mar 02, 2003 at 09:14:13PM +0100, Poul-Henning Kamp wrote: > >> > >> I plan to commit > >> http://phk.freebsd.dk/patch/cdevsw.patch > >> one of the first days of the week. > >> > >> Basically, it changes cdevsw initializations to use C99 sparse > >> format, and thereby eliminates 859 lines of redundant defaultvalue > >> initializations. > This particular sweep gives os much better cross-branch source > portability and therefore I think it is exactly the kind of thing > we want before the RELENG_5 branch. I thought this was just syntactic sugaring and that doing it now reduces diffs between 5-stable and 6-current (by increasing diffs between 5-release and 5-stable) but otherwise does not change a bit? Do I misunderstand the effect of the patch? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:49:39 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37EAE37B401 for ; Sun, 2 Mar 2003 12:49:38 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACD0643F93 for ; Sun, 2 Mar 2003 12:49:37 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from SJDCEX01.int.exodus.net ([165.193.27.80]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Sun, 2 Mar 2003 12:49:37 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: PATCH: typo in socreate() or i'm missing something Date: Sun, 2 Mar 2003 12:49:36 -0800 Message-ID: <45258A4365C6B24A9832BFE224837D552B1297@sjdcex01.int.exodus.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PATCH: typo in socreate() or i'm missing something thread-index: AcLg+Aq7j6saeiVvQ+SW8krDoSgJsAAA+Xua From: "Maksim Yevmenkin" To: "Garrett Wollman" , "Bruce Evans" Cc: X-OriginalArrivalTime: 02 Mar 2003 20:49:37.0519 (UTC) FILETIME=[3D09B7F0:01C2E0FD] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Hackers, < = said: > > Interestingly, socreate() in Lite2 always does a can-wait malloc() = so > > our current soalloc(M_NOWAIT) does the same thing as Lite2 and is = only > > wrong if the FreeBSD change from can-wait to "can-wait-if p !=3D 0" > > change was needed and is still needed. >=20 > When I initially revamped that code, I waited unconditionally and was > rewarded with an appropriate panic for sleeping in interrupt context. > I cannot speak as to whether it is still needed. well, what is the best way to proceed here? as far as i can see there are three options here: 1) leave it as it is for now 2) change it to so =3D soalloc(0); (i.e. never sleep) 3) revert it back to rotted so =3D soalloc(td !=3D 0); in this case=20 people like me will call socreate() with td =3D=3D 0, and other will call socreate() with real td pointer or curthread.=20 i personally do not like option 1) at all. are there any other options? suggestions? thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 12:54: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 643FB37B401; Sun, 2 Mar 2003 12:54:01 -0800 (PST) Received: from etaq.com (mail.etaq.com [66.80.150.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id C85FC43FBF; Sun, 2 Mar 2003 12:54:00 -0800 (PST) (envelope-from wayne@etaq.com) Received: by etaq.com (Postfix, from userid 1002) id C0B136F0; Sun, 2 Mar 2003 14:56:43 -0600 (CST) Date: Sun, 2 Mar 2003 14:56:43 -0600 From: Wayne To: questions@freebsd.org Cc: current@freebsd.org Subject: can't sshd into box Message-ID: <20030302145643.A26191@etaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear FreeBSD, I have installed 5.0 into a new Dell. I have not set up anything special yet (no firewall, no natd, etc.). I can ssh out to the world, but I can't get into the new box from the gateway FreeBSD box on the same home network. The gateway box properly lists the new box in /etc/hosts. Each box can ping the other by name and by ip. I have tried the OpenSSH that came with the system, and I installed ssh-3.0 , and the result is the same. sshd is running on the new box. I enabled telnet in inetd.conf, and I get rejected, also. Is there a new default connecton protection that I must turn off, or something? [/etc/hosts.allow is the default setting, I see no answer there.] - Wayne --------- example screen output below. The new box is etaq3 ------ wayne@etaq:/home/wayne>ssh etaq3 ssh_exchange_identification: read: Connection reset by peer wayne@etaq:/home/wayne>telnet etaq3 Trying 192.168.0.12... Connected to etaq3.etaq.com. Escape character is '^]'. Connection closed by foreign host. wayne@etaq:/home/wayne>ping etaq3 PING etaq3.etaq.com (192.168.0.12): 56 data bytes 64 bytes from 192.168.0.12: icmp_seq=0 ttl=64 time=0.402 ms 64 bytes from 192.168.0.12: icmp_seq=1 ttl=64 time=0.618 ms 64 bytes from 192.168.0.12: icmp_seq=2 ttl=64 time=0.344 ms -- Wayne M Barnes wayne@etaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13: 3:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A583737B401 for ; Sun, 2 Mar 2003 13:03:15 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A779D43FDD for ; Sun, 2 Mar 2003 13:03:14 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h22L3DA6010349; Sun, 2 Mar 2003 22:03:13 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Marcel Moolenaar Cc: current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead. From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 02 Mar 2003 12:38:39 PST." <20030302203839.GB546@athlon.pn.xcllnt.net> Date: Sun, 02 Mar 2003 22:03:13 +0100 Message-ID: <10348.1046638993@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030302203839.GB546@athlon.pn.xcllnt.net>, Marcel Moolenaar writes : >On Sun, Mar 02, 2003 at 09:26:31PM +0100, Poul-Henning Kamp wrote: >> In message <20030302202015.GA546@athlon.pn.xcllnt.net>, Marcel Moolenaar writes >> : >> >On Sun, Mar 02, 2003 at 09:14:13PM +0100, Poul-Henning Kamp wrote: >> >> >> >> I plan to commit >> >> http://phk.freebsd.dk/patch/cdevsw.patch >> >> one of the first days of the week. >> >> >> >> Basically, it changes cdevsw initializations to use C99 sparse >> >> format, and thereby eliminates 859 lines of redundant defaultvalue >> >> initializations. > >> This particular sweep gives os much better cross-branch source >> portability and therefore I think it is exactly the kind of thing >> we want before the RELENG_5 branch. > >I thought this was just syntactic sugaring and that doing it now >reduces diffs between 5-stable and 6-current (by increasing diffs >between 5-release and 5-stable) but otherwise does not change a bit? > >Do I misunderstand the effect of the patch? The intention is that we can add, delete or redefine elements without having to modify all source files. Say for instance we want to add a filedescriptor argument to d_open. Without this patch, we will have to append it at the end of cdevsw to avoid modifying all drivers sources, but since that trick was already used with kqfilter, even that doesn' save us. With this patch we simply add the field, drivers which don't know about this new option will not initialize it, and we can do the necessary compat magic in make_dev(). That would make any MFC's much more manageable, since they will only entail the actually affected files, not 145 otherwise unaffected driver source files. So call it syntactic sugar if you want, but remember that emergency rations are high on carbohydrates for a reason :-) -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13: 3:34 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CFB837B401; Sun, 2 Mar 2003 13:03:32 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7189A43FCB; Sun, 2 Mar 2003 13:03:31 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from ra.dweebsoft.com (localhost [127.0.0.1]) by ra.dweebsoft.com (8.12.6/8.12.6) with ESMTP id h22L3TCF058884; Sun, 2 Mar 2003 13:03:30 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: (from http@localhost) by ra.dweebsoft.com (8.12.6/8.12.3/Submit) id h22L3T66058883; Sun, 2 Mar 2003 13:03:29 -0800 (PST) X-Authentication-Warning: ra.dweebsoft.com: http set sender to daxbert_news@dweebsoft.com using -f Received: from 64.81.58.36 ( [64.81.58.36]) as user daxbert@localhost by ra.dweebsoft.com with HTTP; Sun, 2 Mar 2003 13:03:29 -0800 Message-ID: <1046639009.3e6271a1b2285@ra.dweebsoft.com> Date: Sun, 2 Mar 2003 13:03:29 -0800 From: Daxbert To: Wayne Cc: "" , "" Subject: Re: can't sshd into box MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 64.81.58.36 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Wayne : > I have installed 5.0 into a new Dell. I have not set up anything > special yet (no firewall, no natd, etc.). > > I can ssh out to the world, but I can't get into the new box from the > gateway FreeBSD box on the same home network. The gateway box properly > lists the new box in /etc/hosts. Each box can ping the other by name > and by ip. > > I enabled telnet in inetd.conf, and I get rejected, also. > > Is there a new default connecton protection that I must turn off, or > something? [/etc/hosts.allow is the default setting, I see no answer > there.] > > wayne@etaq:/home/wayne>telnet etaq3 > Trying 192.168.0.12... > Connected to etaq3.etaq.com. > Escape character is '^]'. > Connection closed by foreign host. > > wayne@etaq:/home/wayne>ping etaq3 > PING etaq3.etaq.com (192.168.0.12): 56 data bytes > 64 bytes from 192.168.0.12: icmp_seq=0 ttl=64 time=0.402 ms When you telnet to any tcp port and you receive 'Connected to xxxx' followed by an immediate Connection closed by foreign host, it almost always means tcp_wrappers is blocking your connection. FWIW - the 'Connected to' blurb means the 3-way TCP handshake was successful. I thought the default install has tcp_wrappers "open". Since it sounds like it's not open, add the following line to the very top of /etc/hosts.allow to effecctively disable tcp_wrappers: ALL : ALL : allow As another test... do the following: # telnet etaq3 22 Do you get an SSH banner immediately? eventually? never? --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13:13:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF7AF37B401 for ; Sun, 2 Mar 2003 13:13:37 -0800 (PST) Received: from list-svr.nventure.com (list-svr.nventure.com [208.186.46.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E3643FDF for ; Sun, 2 Mar 2003 13:13:37 -0800 (PST) (envelope-from plathem@ivestnw.net) Received: from ivestnw.net ([208.187.15.193]) by list-svr.nventure.com (Post.Office MTA v3.5.3 release 223 ID# 0-67609U1600L200S0V35) with ESMTP id com for ; Sun, 2 Mar 2003 13:27:57 -0800 Message-ID: <3E6273F9.1090605@ivestnw.net> Date: Sun, 02 Mar 2003 13:13:29 -0800 From: Pat Lathem User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030202 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: eUSB Multimediacard flash storage Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi list, I'm still trying to get this drive working. I booted with a -v flag, and this the output now: Can anyone recommend any changes or patches to get this to work work? My kernel is 5.0-currrent built on March 1st. Thank you, Pat Lathem umass0: SCM Microsystems Inc. eUSB MultiMediaCard Adapter, rev 1.10/4.04, addr 2 umass0:0:0:-1: Attached to scbus0 as device 0 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exausted pass0 at umass-sim0 bus 0 target 0 lun 0 pass0: Removable Direct Access SCSI-2 device pass0: 1.000MB/s transfers GEOM: new disk da0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 15MB (31424 512 byte sectors: 64H 32S/T 15C) (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): error 5 (da0:umass-sim0:0:0:0): Retries Exausted (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): error 5 (da0:umass-sim0:0:0:0): Retries Exausted (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (da0:umass-sim0:0:0:0): Retrying Command To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13:27: 0 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05F8D37B401 for ; Sun, 2 Mar 2003 13:26:59 -0800 (PST) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01DEA44001 for ; Sun, 2 Mar 2003 13:26:28 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h22LPIF09574; Sun, 2 Mar 2003 13:25:18 -0800 Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id NAA04427; Sun, 2 Mar 2003 13:26:09 -0800 (PST) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id OAA13249; Sun, 2 Mar 2003 14:26:05 -0700 (MST) Message-ID: <3E6276E3.8010103@btc.adaptec.com> Date: Sun, 02 Mar 2003 14:25:55 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcel Moolenaar Cc: Poul-Henning Kamp , current@freebsd.org Subject: Re: HEADSUP: Driver mega-commit ahead. References: <9988.1046636053@critter.freebsd.dk> <20030302202015.GA546@athlon.pn.xcllnt.net> In-Reply-To: <20030302202015.GA546@athlon.pn.xcllnt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Marcel Moolenaar wrote: > On Sun, Mar 02, 2003 at 09:14:13PM +0100, Poul-Henning Kamp wrote: > >>I plan to commit >> http://phk.freebsd.dk/patch/cdevsw.patch >>one of the first days of the week. >> >>Basically, it changes cdevsw initializations to use C99 sparse >>format, and thereby eliminates 859 lines of redundant defaultvalue >>initializations. > > > I thought HEAD was in a slush mode. des' sweep and this sweep seems > like the kind of changes we don't want at this time. Has this changed > or did re@ approve it (both cases)? > RE@ had in principal agreed with this work, since it will make 5-STABLE and 6-CURRENT more compatible. PHK should probably have noted this in the commit message. As for DES, it's been discussed quite a bit on arch@. We probably should have been more vocal about it, but once again it's good to have it in before 5-STABLE. 5.0 seems to have been the catalyst needed to get things moving again. It went much better than expected, and is giving people a benchmark for what still needs to be done. To that end, 5.1 will probably be quite different from 5.0. If the differences between 5.1 and 5.2 aren't as drastic and widespread, then that should be a good indication that we are ready for 5-STABLE. Please remember that re@ should be kept in the loop when you plan to make large changes. Things seem to be going pretty smoothly right now, so please don't let them get out of hand. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13:33:53 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 522E237B401 for ; Sun, 2 Mar 2003 13:33:52 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C56F43F3F for ; Sun, 2 Mar 2003 13:33:51 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h22LXnIA000782; Sun, 2 Mar 2003 21:33:49 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost) by storm.FreeBSD.org.uk (8.12.7/8.12.7/Submit) with UUCP id h22LXnQM000781; Sun, 2 Mar 2003 21:33:49 GMT X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.7/8.12.7) with ESMTP id h22KuDIg055497; Sun, 2 Mar 2003 20:56:13 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200303022056.h22KuDIg055497@grimreaper.grondar.org> To: John Polstra Cc: current@FreeBSD.ORG Subject: Re: PATCH: type errors in src-tree In-Reply-To: Your message of "Sun, 02 Mar 2003 09:56:17 PST." <200303021756.h22HuHJR005595@vashon.polstra.com> Date: Sun, 02 Mar 2003 20:56:13 +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Polstra writes: > In article , > Dag-Erling Smorgrav wrote: > > > > This is wrong. caddr_t should be uniersally replaced with void *. > > Not quite. There is (or at least used to be) a lot of code that > assumed you could do address arithmetic on a caddr_t. You can't do > that on a void *, at least not in ANSI C. I think gcc lets you do > it, but it's an extension. As I have discovered. I specifically looked for this, and my misreading of the spec is now clear. :-) M -- Mark Murray iumop ap!sdn w,I idlaH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13:35:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E51037B401 for ; Sun, 2 Mar 2003 13:35:16 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55DA543F3F for ; Sun, 2 Mar 2003 13:35:15 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h22LZE1o086499; Sun, 2 Mar 2003 13:35:14 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h22LZE6d012016; Sun, 2 Mar 2003 13:35:14 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h22LZEbQ012014; Sun, 2 Mar 2003 13:35:14 -0800 (PST) (envelope-from marcel) Date: Sun, 2 Mar 2003 13:35:14 -0800 From: Marcel Moolenaar To: Scott Long Cc: Poul-Henning Kamp , current@freebsd.org Subject: Re: HEADSUP: Driver mega-commit ahead. Message-ID: <20030302213514.GA11202@athlon.pn.xcllnt.net> References: <9988.1046636053@critter.freebsd.dk> <20030302202015.GA546@athlon.pn.xcllnt.net> <3E6276E3.8010103@btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E6276E3.8010103@btc.adaptec.com> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 02, 2003 at 02:25:55PM -0700, Scott Long wrote: > > RE@ had in principal agreed with this work, since it will make 5-STABLE > and 6-CURRENT more compatible. That's all I wanted to know. Thanks, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13:47:48 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D1A637B401 for ; Sun, 2 Mar 2003 13:47:47 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A961143F85 for ; Sun, 2 Mar 2003 13:47:46 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h22LlhA6010816; Sun, 2 Mar 2003 22:47:43 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: "Maksim Yevmenkin" Cc: "Marcel Moolenaar" , current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead. From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 02 Mar 2003 12:35:56 PST." <45258A4365C6B24A9832BFE224837D552B1296@sjdcex01.int.exodus.net> Date: Sun, 02 Mar 2003 22:47:43 +0100 Message-ID: <10815.1046641663@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <45258A4365C6B24A9832BFE224837D552B1296@sjdcex01.int.exodus.net>, "M aksim Yevmenkin" writes: >Dear Poul-Henning, > >i think the following is not correct > >RCS file: /home/ncvs/src/sys/netgraph/ng_device.c,v >retrieving revision 1.2 >diff -u -r1.2 ng_device.c >--- netgraph/ng_device.c 2 Feb 2003 13:30:00 -0000 1.2 >+++ netgraph/ng_device.c 2 Mar 2003 19:48:38 -0000 >@@ -66,7 +66,7 @@ > /* Netgraph type */ > static struct ng_type typestruct = { > NG_ABI_VERSION, /* version */ >- NG_DEVICE_NODE_TYPE, /* name */ >+ .d_name = NG_DEVICE_NODE_TYPE, > ng_device_mod_event, /* modevent */ > ng_device_cons, /* constructor */ > ng_device_rcvmsg, /* receive msg */ >@@ -114,19 +114,14 @@ Damn, I thought I had caught that one. Should be fixed now in the rev 2 of the patch I uploaded. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 13:53:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A22037B401 for ; Sun, 2 Mar 2003 13:53:18 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01E9E43FA3 for ; Sun, 2 Mar 2003 13:53:17 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 169DB530E; Sun, 2 Mar 2003 22:53:14 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Polstra Cc: current@freebsd.org Subject: Re: PATCH: type errors in src-tree From: Dag-Erling Smorgrav Date: Sun, 02 Mar 2003 22:53:14 +0100 In-Reply-To: <200303021756.h22HuHJR005595@vashon.polstra.com> (John Polstra's message of "Sun, 2 Mar 2003 09:56:17 -0800 (PST)") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <3E5EA13E.9020208@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de> <200303021756.h22HuHJR005595@vashon.polstra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Polstra writes: > Dag-Erling Smorgrav wrote: > > This is wrong. caddr_t should be uniersally replaced with void *. > Not quite. There is (or at least used to be) a lot of code that > assumed you could do address arithmetic on a caddr_t. You can't do > that on a void *, at least not in ANSI C. I think gcc lets you do > it, but it's an extension. Correct, and it will break if compiled with the options we use to build kernels, but in the great majority of cases, caddr_t can be replaced with void *. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 14:22:38 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AE5837B401 for ; Sun, 2 Mar 2003 14:22:37 -0800 (PST) Received: from etaq.com (mail.etaq.com [66.80.150.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81B6D43FCB for ; Sun, 2 Mar 2003 14:22:34 -0800 (PST) (envelope-from wayne@etaq.com) Received: by etaq.com (Postfix, from userid 1002) id E38056F8; Sun, 2 Mar 2003 16:25:17 -0600 (CST) Date: Sun, 2 Mar 2003 16:25:17 -0600 From: Wayne To: John Murphy Cc: current@freebsd.org Subject: Re: can't sshd into box Message-ID: <20030302162517.A26527@etaq.com> References: <20030302145643.A26191@etaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jfm@blueyonder.co.uk on Sun, Mar 02, 2003 at 10:17:09PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear John, I am only trying to connect as a normal user. telnet etaq3 and telnet etaq3 22 and telnet etaq3 25 all come right back disconnecting me: wayne@etaq:/home/wayne>telnet etaq3 25 Trying 192.168.0.12... Connected to etaq3.etaq.com. Escape character is '^]'. Connection closed by foreign host. -------------------------------------------- portscanner etaq3 finds ports 22, 23, 25, 110 just fine. On Sun, Mar 02, 2003 at 10:17:09PM +0000, John Murphy wrote: > Wayne wrote: > > > I can ssh out to the world, but I can't get into the new box from the > >gateway FreeBSD box on the same home network. The gateway box properly > >lists the new box in /etc/hosts. Each box can ping the other by name > >and by ip. > > Bear in mind that (by default) you can't ssh as the super-user. You must > connect as a user (in the wheel group) and then su. > > John. -- Wayne M Barnes wayne@etaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 14:27:44 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3106137B401 for ; Sun, 2 Mar 2003 14:27:43 -0800 (PST) Received: from c001.snv.cp.net (h005.c001.snv.cp.net [209.228.32.119]) by mx1.FreeBSD.org (Postfix) with SMTP id 6CA0A43F85 for ; Sun, 2 Mar 2003 14:27:42 -0800 (PST) (envelope-from kutulu@kutulu.org) Received: (cpmta 20020 invoked from network); 2 Mar 2003 14:27:41 -0800 Received: from 68.32.161.3 (HELO KutuluWare) by smtp.register-admin.com (209.228.32.119) with SMTP; 2 Mar 2003 14:27:41 -0800 X-Sent: 2 Mar 2003 22:27:41 GMT Message-ID: <000701c2e10a$c76a9a10$0245a8c0@KutuluWare> From: "Michael Edenfield" To: "Paolo Pisati" , "FreeBSD_Current" References: <20030302192432.GA23245@southcross.skynet.org> Subject: Re: What's happened to CPUSTATES in /usr/include/devstat.h? Date: Sun, 2 Mar 2003 17:26:32 -0500 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.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "Paolo Pisati" Sent: Sunday, March 02, 2003 2:24 PM > i noticed it while i was compiling kdebase-3, cause > ksysguard failed. > > Add > > #include > > to devstat.h to fix it. FWIW, I had the same problem (and used the same solution) with a few other X ports, particularly icewm. --Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 15: 8: 9 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27B2E37B401 for ; Sun, 2 Mar 2003 15:08:08 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6C5743F93 for ; Sun, 2 Mar 2003 15:08:06 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 38769 invoked from network); 2 Mar 2003 23:08:04 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 2 Mar 2003 23:08:04 -0000 Message-ID: <3E628ED4.9030203@liwing.de> Date: Mon, 03 Mar 2003 00:08:04 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Murray Cc: John Polstra , current@FreeBSD.ORG Subject: Re: PATCH: type errors in src-tree References: <200303022056.h22KuDIg055497@grimreaper.grondar.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mark Murray wrote: > John Polstra writes: > >>In article , >>Dag-Erling Smorgrav wrote: >> >>>This is wrong. caddr_t should be uniersally replaced with void *. >> >>Not quite. There is (or at least used to be) a lot of code that >>assumed you could do address arithmetic on a caddr_t. You can't do >>that on a void *, at least not in ANSI C. I think gcc lets you do >>it, but it's an extension. > > > As I have discovered. I specifically looked for this, and my misreading > of the spec is now clear. :-) Yes, but relying on this during fixing out caddr_t may break use of other compilers. Now, that OpenWatcom is released, the FreeBSd port of it should follow. And maybe someone will try to compile the kernel and world with it. If that would work, this would be great, because the watcom compiler generates much better code than gcc does, even than gcc -O3 (and all known optimizations on). So long, Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 15:23:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCDBE37B401 for ; Sun, 2 Mar 2003 15:23:32 -0800 (PST) Received: from Stalker.alfacom.net (Stalker.Alfacom.net [193.108.124.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F07F43FB1 for ; Sun, 2 Mar 2003 15:23:31 -0800 (PST) (envelope-from vkushnir@alfacom.net) Received: from kushnir1.kiev.ua (124-145.dialup.Alfacom.net [193.108.124.145]) by Stalker.alfacom.net (8.12.6/8.12.6) with ESMTP id h22NNONZ014720 for ; Mon, 3 Mar 2003 01:23:25 +0200 (EET) Received: from kushnir1.kiev.ua (localhost [127.0.0.1]) by kushnir1.kiev.ua (8.12.7/8.12.6) with ESMTP id h22NNMvV000654 for ; Mon, 3 Mar 2003 01:23:22 +0200 (EET) (envelope-from vkushnir@alfacom.net) Received: from localhost (vkushnir@localhost) by kushnir1.kiev.ua (8.12.7/8.12.7/Submit) with ESMTP id h22NNKZs000651 for ; Mon, 3 Mar 2003 01:23:22 +0200 (EET) X-Authentication-Warning: kushnir1.kiev.ua: vkushnir owned process doing -bs Date: Mon, 3 Mar 2003 01:23:20 +0200 (EET) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: current@FreeBSD.ORG Subject: -CURRENT + cvs = panic Message-ID: <20030303011726.R623@kushnir1.kiev.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Practically 100% repeatable: after some CVS updates (not sure but it seems after another high HD load as well) -CURRENT panics with bwrite: buffer is not busy (in the prefious message I've attached gdb trace and so on, and nothing has changed so far). It goes on for at least several days now. Regards, Vladimir To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 15:26:47 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 377EF37B401 for ; Sun, 2 Mar 2003 15:26:46 -0800 (PST) Received: from fep03-svc.mail.telepac.pt (fep03-svc.mail.telepac.pt [194.65.5.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AD4643F75 for ; Sun, 2 Mar 2003 15:26:41 -0800 (PST) (envelope-from hvalentim@gmx.net) Received: from robur.agsoft ([213.13.31.199]) by fep03-svc.mail.telepac.pt (InterMail vM.5.01.04.13 201-253-122-122-113-20020313) with ESMTP id <20030302232639.IXMB11175.fep03-svc.mail.telepac.pt@robur.agsoft> for ; Sun, 2 Mar 2003 23:26:39 +0000 From: "Hugo D. Valentim" Reply-To: hvalentim@gmx.net To: freebsd-current@FreeBSD.ORG Subject: ACPI errors Date: Sun, 2 Mar 2003 23:26:18 +0000 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303022326.18902.hvalentim@gmx.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From dmesg.boot: acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0% ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_ERROR ACPI-1287: *** Error: Method execution failed, AE_ERROR Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04ff0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 996556073 Hz CPU: Mobile AMD Athlon(tm) 4 Processor (996.56-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x661 Stepping = 1 Features=0x383f9ff AMD Features=0xc0440000 real memory = 335544320 (320 MB) Regards, Hugo D. Valentim hvalentim@gmx.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 15:57:51 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3F3D37B401 for ; Sun, 2 Mar 2003 15:57:50 -0800 (PST) Received: from blueyonder.co.uk (pcow053o.blueyonder.co.uk [195.188.53.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EFBC43FD7 for ; Sun, 2 Mar 2003 15:57:49 -0800 (PST) (envelope-from andrew@cream.org) Received: from cream.org ([80.195.57.71]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Sun, 2 Mar 2003 23:59:21 +0000 Message-ID: <3E629A6E.5010208@cream.org> Date: Sun, 02 Mar 2003 23:57:34 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20030104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: George Hartzell Cc: Andrew Boothman , Darryl Okahata , current@FreeBSD.ORG, shogun70@bigpond.net.au Subject: Re: "NTLDR missing" after 5-RELEASE install References: <200302262325.PAA11580@mina.soco.agilent.com> <001d01c2ddf9$e71bcff0$0400a8c0@spatula> <15966.24193.851791.257033@rosebud.alerce.com> In-Reply-To: <200302262325.PAA11580@mina.soco.agilent.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG George Hartzell wrote: > > On boot I get "Loading GRUB... Please Wait..." but after that I get "GRUB > > Error 17" which according to the manual means that GRUB doesn't know how to > > load the selected partition. Even though when I boot from the floppy it > > starts no problem and I can type commands to get it to boot Win2k.... > >Here's what I'd do. > Hi everyone! I'm posting from a different email address now I've got FreeBSD back up and running. George's one-man tutorial on how to install Grub was excellent and everything is now working perfectly. Thanks to everyone who replied. Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 15:58:53 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7B1437B401 for ; Sun, 2 Mar 2003 15:58:48 -0800 (PST) Received: from mail.math.okstate.edu (mail.math.okstate.edu [139.78.112.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D32D743FBD for ; Sun, 2 Mar 2003 15:58:47 -0800 (PST) (envelope-from dboonthe@math.okstate.edu) Received: from mail.math.okstate.edu (localhost [127.0.0.1]) by mail.math.okstate.edu (8.12.6/8.12.6) with ESMTP id h22NvleN025435; Sun, 2 Mar 2003 17:57:47 -0600 (CST) Received: from localhost (dboonthe@localhost) by mail.math.okstate.edu (8.12.6/8.12.6/Submit) with ESMTP id h22Nvk7k011726; Sun, 2 Mar 2003 17:57:47 -0600 (CST) X-Authentication-Warning: mail.math.okstate.edu: dboonthe owned process doing -bs Date: Sun, 2 Mar 2003 17:57:46 -0600 (CST) From: Dustin Boontheekul To: Maksim Yevmenkin Cc: freebsd-current@freebsd.org Subject: RE: FreeBSD Bluetooth stuff In-Reply-To: <45258A4365C6B24A9832BFE224837D552B1295@sjdcex01.int.exodus.net> Message-ID: References: <45258A4365C6B24A9832BFE224837D552B1295@sjdcex01.int.exodus.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RAVMilter-Version: 8.4.2(snapshot 20021218) (mail.math.okstate.edu) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Max, > 1) compile and install hcidump from the snapshot's ports/ directory Recompiled and reinstalled. All went fine. > 2) make sure you have clean setup, i.e. > - run # rc.bluetooth stop > - disconnect the device from the PC > - reset mouse > - connect device back to PC > - run # rc.bluetooth start > - in separate window run # hcidump -x > - run # hccontrol -n hci inquiry > - run # sdptool browse I followed this sequence. One thing to note is that the mouse tries it's best to conserve power, so it only responds to any initial queries for a few seconds after pressing the reset button. I don't know exactly how long, but it's pretty short. Klausler makes a note of this on his site, so it must have caused him a hiccup or two. > please send me the output of hcidump. Okay, here it is. Turns out I think my batteries ran out of juice, which was causing some of the problems. I wasn't getting any response at all after all sorts of resets so I tried seeing if I could find the keyboard and it 'just worked'. I replaced the batteries and got a response from hccontrol inquiry. Just in case replacing the batteries turned out to reset it more than pressing the button I put the old batteries back in and still got nothing. When the batteries 'die' the mouse still lights up (it's optical), and apparently the radio connection goes first. Anyway, without further adue here is the hcidump output: # hcidump -x HCIDump - HCI packet analyzer ver 1.4 device: any snap_len: 65535 filter: 0xffffffff < HCI Command: Inquiry(0x01|0x0001) plen 5 33 8B 9E 05 08 > HCI Event: Command Status(0x0f) plen 4 00 01 01 04 > HCI Event: Inquiry Complete(0x01) plen 1 00 < HCI Command: Inquiry(0x01|0x0001) plen 5 33 8B 9E 05 08 > HCI Event: Command Status(0x0f) plen 4 00 01 01 04 > HCI Event: Inquiry Complete(0x01) plen 1 00 < HCI Command: Inquiry(0x01|0x0001) plen 5 33 8B 9E 05 08 > HCI Event: Command Status(0x0f) plen 4 00 01 01 04 > HCI Event: Inquiry Result(0x02) plen 15 01 A8 D6 7E F2 50 00 02 00 00 80 25 00 C3 4B > HCI Event: Inquiry Complete(0x01) plen 1 00 < HCI Command: Create Connection(0x01|0x0005) plen 13 A8 D6 7E F2 50 00 18 CC 02 00 C3 4B 01 > HCI Event: Command Status(0x0f) plen 4 00 01 05 04 > HCI Event: Connect Complete(0x03) plen 11 00 29 00 A8 D6 7E F2 50 00 01 00 < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4 29 00 0F 00 < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 1 scid 0x0040 > HCI Event: Number of Completed Packets(0x13) plen 5 01 29 00 01 00 > HCI Event: Command Complete(0x0e) plen 6 01 0D 08 00 29 00 > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 2 > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0 < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0 > HCI Event: Number of Completed Packets(0x13) plen 5 01 29 00 01 00 > ACL data: handle 0x0029 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4 MTU 48 > HCI Event: QoS Setup Complete(0x0d) plen 21 00 29 00 00 01 00 00 00 00 00 00 00 00 F2 2B 00 00 FF FF FF FF < ACL data: handle 0x0029 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 < ACL data: handle 0x0029 flags 0x02 dlen 24 L2CAP(d): cid 0x40 len 20 [psm 1] SDP SSA Req: tid 0x0 len 0xf pat uuid-16 0x1002 (PubBrwsGrp) max 0xffff aid(s) 0x0000 - 0xffff cont 00 > HCI Event: Number of Completed Packets(0x13) plen 5 01 29 00 01 00 > HCI Event: Number of Completed Packets(0x13) plen 5 01 29 00 01 00 > ACL data: handle 0x0029 flags 0x02 dlen 14 L2CAP(d): cid 0x40 len 10 [psm 1] SDP SSA Rsp: tid 0x0 len 0x5 cnt 0x2 len 0x2 frm->len 0x1 n 0x0 cont 00 < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040 > HCI Event: Number of Completed Packets(0x13) plen 5 01 29 00 01 00 > ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040 ^C > do you have an open baseband connection? inquiry on the local deivce > will not show remote devices that already connected to the local device. > try to run > > # hccontrol -n hci read_connection_list > Yes, this shows I have a connection to my mouse. > you can disconnect baseband connection by hand by typing > > # hccontol -n hci disconnect > > BTW you can do > > # hccontrol help > > and > > # hccontrol help > > for more information > These give a lot more help than the man page. I managed to get 'remote_name_request' to return 'Microsoft Mouse' (yippee!), but I just arbitrarily chose and as 0. I used 'read_clock_offset' to get the clock offset. What are these 2 options and how would I properly find them? > > I'm sorry if all my questions are way too basic, but what I've been > > reading is all about bluez and, well, even documentation for that isn't > > very complete. I'm still looking for more sources. > > that is ok. BTW you might want to CC to one of the FreeBSD mailing lists. > freebsd-mobile, freebsd-net and freebsd-current seems appropriate to me. > this way all my answers will go into archive and other people will have > something to start with. I'll start CC'ing this to freebsd-current starting with this message. Thanks, Dustin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 16:51:43 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BDB037B401 for ; Sun, 2 Mar 2003 16:51:39 -0800 (PST) Received: from list-svr.nventure.com (list-svr.nventure.com [208.186.46.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDF3543F93 for ; Sun, 2 Mar 2003 16:51:38 -0800 (PST) (envelope-from plathem@ivestnw.net) Received: from ivestnw.net ([208.187.15.197]) by list-svr.nventure.com (Post.Office MTA v3.5.3 release 223 ID# 0-67609U1600L200S0V35) with ESMTP id com for ; Sun, 2 Mar 2003 17:05:49 -0800 Message-ID: <3E62A6F7.6050307@ivestnw.net> Date: Sun, 02 Mar 2003 16:51:03 -0800 From: Pat Lathem User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030202 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: Re: eUSB Multimediacard flash storage References: <3E6273F9.1090605@ivestnw.net> In-Reply-To: <3E6273F9.1090605@ivestnw.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, I know it is poor form to reply to myself. I tried to do a "camcontrol reset all" while it was giving me this error. Nothing appeared to happen (the error continued to scroll) so I removed the USB device. (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): CAM Status 0x39 umass-sim0:0:0:0: func_coe 0x0901: Invalid target (target needed) (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): CAM Status 0x39 umass-sim0:0:0:0: func_code 0x0901: Invalid target (target needed) (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Error 5 (probe0:umass-sim0:0:0:0): Retries Exhausted umass-sim0:0:0:0: func_code 0x0901: Invalid target (target needed) (da0:umass-si,0:0:0:0): Synchronize cahce failed, status == 0x39, scsi status == 0x0 umass-sim0:0:0:0: func_code 0x0901: Invalid target (target needed) (da0:umass-sim0:0:0:0): removing device entry su-2.05b# panic (null): Unknown state 1 syncing disks, buffers remaining.... panic: bwrite: buffer is not busy??? Here is another panic from a kernel built Feb 4. The computer was booted with the USB device attached, and it refused to proceed past "da0: 15mb (31424 512 byte sectors.." so I detached it. umass0: SCM Microsystems Inc. eUSB MultiMediaCard Adapter, rev 1.10/4.04, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 15MB (31424 512 byte sectors: 64H 32S/T 15C) umass0: at uhub0 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached umass0: SCM Microsystems Inc. eUSB MultiMediaCard Adapter, rev 1.10/4.04, addr 2 umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 umass0: at uhub0 port 1 (addr 2) disconnected umass0: detached umass0: SCM Microsystems Inc. eUSB MultiMediaCard Adapter, rev 1.10/4.04, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 15MB (31424 512 byte sectors: 64H 32S/T 15C) Fatal trap 12: page fault while in kernel mode fault virtual addresstion pointer = 0x8:0xc02faac0 stack pointer = 0x10:0xd67b0b74 frame pointer = 0xse 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupnumber = 12 panic: page fault If more information is needed on either of the panics, please inform me. Thank you, Pat Lathem Pat Lathem wrote: > Hi list, > > I'm still trying to get this drive working. I booted with a -v flag, > and this the output now: Can anyone recommend any changes or patches > to get this to work work? My kernel is 5.0-currrent built on March 1st. > > Thank you, > Pat Lathem > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 17: 2:54 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FBC837B401 for ; Sun, 2 Mar 2003 17:02:53 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F51043FBF for ; Sun, 2 Mar 2003 17:02:52 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h2312o3Y045723; Sun, 2 Mar 2003 18:02:50 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 02 Mar 2003 17:23:50 -0700 (MST) Message-Id: <20030302.172350.65880480.imp@bsdimp.com> To: phk@phk.freebsd.dk Cc: marcel@xcllnt.net, current@FreeBSD.ORG Subject: Re: HEADSUP: Driver mega-commit ahead. From: "M. Warner Losh" In-Reply-To: <10086.1046636791@critter.freebsd.dk> References: <20030302202015.GA546@athlon.pn.xcllnt.net> <10086.1046636791@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <10086.1046636791@critter.freebsd.dk> "Poul-Henning Kamp" writes: : This particular sweep gives os much better cross-branch source : portability and therefore I think it is exactly the kind of thing : we want before the RELENG_5 branch. I for one plan on MFC'ing the "NULL->nofoo" stuff so I can move my drivers to it and then MFC w/o hassle. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 17: 7:32 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C46737B401 for ; Sun, 2 Mar 2003 17:07:31 -0800 (PST) Received: from staff-svr1.eu.inctech.com (staff-svr1.eu.inctech.com [213.219.2.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id DED1143F93 for ; Sun, 2 Mar 2003 17:07:29 -0800 (PST) (envelope-from suneel@inctech.com) content-class: urn:content-classes:message MIME-Version: 1.0 Importance: normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Wireless Networking X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Date: Mon, 3 Mar 2003 01:07:28 -0000 Message-ID: <2D49E83A43A2104F872DF4E90AE2BF49120AA0@staff-svr1.eu.inctech.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Wireless Networking Thread-Index: AcLhIUJniVf9azbJQom3+o3q3fNtKA== From: "Suneel Jhangiani" To: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I finally managed to get my hands on a couple of other Wireless network cards (previously I had a DWL-650+ based on the unsupported TI chipset). I have tried both cards to no avail on FreeBSD v4.7 and was wondering if anyone has either working under Current? The two cards are: 3Com OfficeConnect PC Card (3CRSHPW_96 Wireless LAN PC Card) Intel PRO/Wireless 2011B LAN PC Card Regards, Suneel. *************************************************************************= ***** A disclaimer applies to all email sent from Inter-Computer Technology = Limited. For the full text, see = http://home.inctech.com/Content/Legal/EmailDisclaimer.htm *************************************************************************= ***** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 17:25: 5 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6733E37B401 for ; Sun, 2 Mar 2003 17:25:03 -0800 (PST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id B034543FBD for ; Sun, 2 Mar 2003 17:25:02 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by haakonia.hitnet.rwth-aachen.de (Postfix) with ESMTP id 7B711ABC9; Mon, 3 Mar 2003 02:24:59 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 1D23043AA; Mon, 3 Mar 2003 02:24:58 +0100 (CET) Date: Mon, 3 Mar 2003 02:24:58 +0100 From: Christian Brueffer To: Suneel Jhangiani Cc: freebsd-current@FreeBSD.ORG Subject: Re: Wireless Networking Message-ID: <20030303012458.GD597@unixpages.org> References: <2D49E83A43A2104F872DF4E90AE2BF49120AA0@staff-svr1.eu.inctech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tNQTSEo8WG/FKZ8E" Content-Disposition: inline In-Reply-To: <2D49E83A43A2104F872DF4E90AE2BF49120AA0@staff-svr1.eu.inctech.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tNQTSEo8WG/FKZ8E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 03, 2003 at 01:07:28AM +0000, Suneel Jhangiani wrote: > I finally managed to get my hands on a couple of other Wireless network > cards (previously I had a DWL-650+ based on the unsupported TI chipset). >=20 > I have tried both cards to no avail on FreeBSD v4.7 and was wondering if > anyone has either working under Current? >=20 > The two cards are: >=20 > 3Com OfficeConnect PC Card (3CRSHPW_96 Wireless LAN PC Card) > Intel PRO/Wireless 2011B LAN PC Card >=20 > Regards, >=20 > Suneel. >=20 I think the 3com one has an Atmel chipset, which is unsupported. Don't about the other one. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --tNQTSEo8WG/FKZ8E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Yq7qbHYXjKDtmC0RAoFQAJwMsPJIQpoMuQqjRAxOdIx7h//65wCfXSHN 90PsBCnJYddePhjpznR41mk= =Lwgo -----END PGP SIGNATURE----- --tNQTSEo8WG/FKZ8E-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 18:59:30 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9746237B401 for ; Sun, 2 Mar 2003 18:59:29 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D424243FB1 for ; Sun, 2 Mar 2003 18:59:28 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h232xSf57487 for ; Sun, 2 Mar 2003 21:59:28 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 2 Mar 2003 21:59:28 -0500 (EST) From: Jeff Roberson To: current@freebsd.org Subject: Please test: cluster locking patch. Message-ID: <20030302215717.C56877-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a patch that should clear up buf locking issues and race conditions in vfs_cluster.c. Since this code is so tricky I'd like to have a few people test it. You should notice no difference in your system performance or behavior. Please see: http://www.chesapeake.net/~jroberson/cluster.diff I will post on arch about the contents of the patch. Cheers, Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 19:41:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8BCF37B401 for ; Sun, 2 Mar 2003 19:41:21 -0800 (PST) Received: from topperwein.pennasoft.com (acs-24-154-51-55.zoominternet.net [24.154.51.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id A77A143FD7 for ; Sun, 2 Mar 2003 19:41:20 -0800 (PST) (envelope-from behanna@topperwein.pennasoft.com) Received: from topperwein.pennasoft.com (localhost [127.0.0.1]) by topperwein.pennasoft.com (8.12.7/8.12.6) with ESMTP id h233fsSh067985 for ; Sun, 2 Mar 2003 22:41:54 -0500 (EST) (envelope-from behanna@topperwein.pennasoft.com) Received: from localhost (localhost [[UNIX: localhost]]) by topperwein.pennasoft.com (8.12.7/8.12.6/Submit) id h233eYLE067971 for current@freebsd.org; Sun, 2 Mar 2003 22:40:34 -0500 (EST) From: Chris BeHanna Reply-To: chris@pennasoft.com To: current@freebsd.org Subject: Re: PATCH: type errors in src-tree Date: Sun, 2 Mar 2003 22:40:34 -0500 User-Agent: KMail/1.5 References: <200303022056.h22KuDIg055497@grimreaper.grondar.org> <3E628ED4.9030203@liwing.de> In-Reply-To: <3E628ED4.9030203@liwing.de> Organization: PennaSoft Corporation MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303022240.34186.chris@pennasoft.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 02 March 2003 18:08, Jens Rehsack wrote: > Now, that OpenWatcom is released, the FreeBSd port of it should follow. > And maybe someone will try to compile the kernel and world with it. If > that would work, this would be great, because the watcom compiler > generates much better code than gcc does, even than gcc -O3 (and all > known optimizations on). Is someone working on such a port? Will a "bootstrap" port to build it with GCC be part of the work? -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation chris@pennasoft.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 19:47: 7 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72BFB37B401 for ; Sun, 2 Mar 2003 19:47:06 -0800 (PST) Received: from mail.reptiles.org (mail.reptiles.org [198.96.117.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3FE543F75 for ; Sun, 2 Mar 2003 19:47:05 -0800 (PST) (envelope-from geoffrey@reptiles.org) Received: from mail.reptiles.org([198.96.117.157]) (1046 bytes) by mail.reptiles.org via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Sun, 2 Mar 2003 22:47:05 -0500 (EST) (Smail-3.2.0.115-Pre 2001-Aug-6 #2 built 2002-Nov-19) Date: Sun, 2 Mar 2003 22:47:05 -0500 (EST) From: Geoffrey To: current@freebsd.org Subject: `npx_driver',`npx_devclass' defined but not used In-Reply-To: <20030302215717.C56877-100000@mail.chesapeake.net> Message-ID: <20030302223856.S32532-100000@iguana.reptiles.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ladies and Gentlemen From a fresh cvsup of RELENG_5_0 this afternoon, make buildkernel returns: cc1: warnings being treated as errors /usr/src/sys/i386/isa/npx.c:1078: warning: `npx_driver' defined but not used /usr/src/sys/i386/isa/npx.c:1084: warning: `npx_devclass' defined but not used *** Error code 1 Stop in /usr/obj/usr/src/sys/BINKY1. *** Error code 1 Stop in /usr/src. *** Error code 1 This is with -march=pentium-mmx in make.conf and device npx in my kernel configuration. Suggestions? Remedies? Thankyou. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 21:16:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C64F037B401; Sun, 2 Mar 2003 21:16:40 -0800 (PST) Received: from tomts25-srv.bellnexxia.net (tomts25-srv.bellnexxia.net [209.226.175.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6930E43F93; Sun, 2 Mar 2003 21:16:39 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from sparc64.style9.org ([65.93.76.196]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030303051637.FBHG4538.tomts25-srv.bellnexxia.net@sparc64.style9.org>; Mon, 3 Mar 2003 00:16:37 -0500 Received: (from mike@localhost) by sparc64.style9.org (8.12.6/8.12.6/Submit) id h235Gd2c024635; Mon, 3 Mar 2003 00:16:39 -0500 (EST) Date: Mon, 3 Mar 2003 00:16:39 -0500 (EST) From: Mike Barcroft Message-Id: <200303030516.h235Gd2c024635@sparc64.style9.org> To: current@FreeBSD.org, sparc64@FreeBSD.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /tinderbox/sparc64/obj/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Mon Mar 3 00:15:48 EST 2003 -------------------------------------------------------------- ===> hme make: don't know how to make bsd.README. Stop *** Error code 2 Stop in /tinderbox/sparc64/src. *** Error code 1 Stop in /tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 22: 3:18 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C256637B401 for ; Sun, 2 Mar 2003 22:03:17 -0800 (PST) Received: from etaq.com (mail.etaq.com [66.80.150.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC4643F93 for ; Sun, 2 Mar 2003 22:03:17 -0800 (PST) (envelope-from wayne@etaq.com) Received: by etaq.com (Postfix, from userid 1002) id 543436F8; Mon, 3 Mar 2003 00:06:02 -0600 (CST) Date: Mon, 3 Mar 2003 00:06:02 -0600 From: Wayne To: Jason Barnes Cc: current@freebsd.org Subject: can't sshd into box Message-ID: <20030303000602.A26864@etaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Jason, [Not too many people jumping onto this thread to help me.] The first two non-bold lines on rebooting, are: hw.bus.devctl_disable: 0 -> 1 Entropy harvesting: interrupts ethernet point_to_point. So I try: root@etaq3:/home/wayne>sysctl hw.bus.devctl_disable: 1 -> 0 [but the result is:] sysctl: unknown oid 'hw.bus.devctl_disable:' So what the heck is "Entropy harvesting" ? Could this be blocking my incoming contact attempts? -- Wayne M Barnes wayne@etaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 22: 9:46 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CCB437B401 for ; Sun, 2 Mar 2003 22:09:45 -0800 (PST) Received: from klentaq.com (ip-64-32-219-171.nyc.megapath.net [64.32.219.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D6143FBD for ; Sun, 2 Mar 2003 22:09:44 -0800 (PST) (envelope-from currently@klentaq.com) Received: by klentaq.com (Postfix, from userid 1013) id D9DD491D; Mon, 3 Mar 2003 00:09:55 -0600 (CST) Date: Mon, 3 Mar 2003 00:09:55 -0600 From: Wayne Barnes To: current@freebsd.org Subject: can't sshd into box Message-ID: <20030303000955.A69139@klentaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear FreeBSD, Immediately after rebooting, I get this: root@etaq3:/home/wayne>telnetd -debug telnetd: bind: Address already in use This doesn't happen on my other (working) system. Could this be a clue to my problem? -- -- Wayne M Barnes, currently@klentaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 23:11:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B83637B401 for ; Sun, 2 Mar 2003 23:11:41 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCF4643F93 for ; Sun, 2 Mar 2003 23:11:40 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) by alpha.siliconlandmark.com (8.12.7/8.12.6) with ESMTP id h237BdKx060847; Mon, 3 Mar 2003 02:11:39 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by alpha.siliconlandmark.com (8.12.7/8.12.6/Submit) with ESMTP id h237BdmC060844; Mon, 3 Mar 2003 02:11:39 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Mon, 3 Mar 2003 02:11:39 -0500 (EST) From: Andre Guibert de Bruet To: Wayne Barnes Cc: current@FreeBSD.ORG Subject: Re: can't sshd into box In-Reply-To: <20030303000955.A69139@klentaq.com> Message-ID: <20030303020915.B59207@alpha.siliconlandmark.com> References: <20030303000955.A69139@klentaq.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 3 Mar 2003, Wayne Barnes wrote: > Immediately after rebooting, I get this: > > root@etaq3:/home/wayne>telnetd -debug > telnetd: bind: Address already in use > > This doesn't happen on my other (working) system. > Could this be a clue to my problem? Wayne, Telnetd is telling you that something else is listening on port 23. This is most probably inetd. Do a 'killall inetd' then try that command. Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Mar 2 23:29:11 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 125E637B401 for ; Sun, 2 Mar 2003 23:29:10 -0800 (PST) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0109943F85 for ; Sun, 2 Mar 2003 23:29:09 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0033.cvx22-bradley.dialup.earthlink.net ([209.179.198.33] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18pkNl-00001P-00; Sun, 02 Mar 2003 23:29:06 -0800 Message-ID: <3E6303EE.9516823A@mindspring.com> Date: Sun, 02 Mar 2003 23:27:42 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andre Guibert de Bruet Cc: Wayne Barnes , current@FreeBSD.ORG Subject: Re: can't sshd into box References: <20030303000955.A69139@klentaq.com> <20030303020915.B59207@alpha.siliconlandmark.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4484b23930f674c99a42b4adad8c73520350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andre Guibert de Bruet wrote: > On Mon, 3 Mar 2003, Wayne Barnes wrote: > > Immediately after rebooting, I get this: > > > > root@etaq3:/home/wayne>telnetd -debug > > telnetd: bind: Address already in use > > > > This doesn't happen on my other (working) system. > > Could this be a clue to my problem? > > Telnetd is telling you that something else is listening on port 23. This > is most probably inetd. Do a 'killall inetd' then try that command. That's not only going to stop inetd from sitting on the port, it will probably also make telnet into the box start working, if it's related to the TCP wrappers (if he had modified his hosts.allow with the advice from a previous poster, he would not be having this problem, if that happens, so rather than posting his problem over and over again, maybe he should read the responses, and at least tell us if they worked?). Otherwise, another common culprit is ipfw; if he has the firewall enabled, the default is to block everything. Given that he got a connection, and that it was subsequently closed, though, rather than not getting a connection at all, it's a safe bet that it's the TCP wrappers, not the ipfw, that is causing the trouble. In which case, he should take the advice on the hosts.allow file contents that he was given earlier, and it will fix his problem... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 0:45:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E98A837B401 for ; Mon, 3 Mar 2003 00:45:15 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC2E843FDD for ; Mon, 3 Mar 2003 00:45:14 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h238jER71942 for ; Mon, 3 Mar 2003 03:45:14 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2003 03:45:14 -0500 (EST) From: Jeff Roberson To: current@FreeBSD.ORG Subject: Re: Please test: cluster locking patch. In-Reply-To: <20030302215717.C56877-100000@mail.chesapeake.net> Message-ID: <20030303034459.T71788-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Found a bug. Please update your source from the same location if you previously applied this patch. On Sun, 2 Mar 2003, Jeff Roberson wrote: > I have a patch that should clear up buf locking issues and race conditions > in vfs_cluster.c. Since this code is so tricky I'd like to have a few > people test it. You should notice no difference in your system > performance or behavior. > > Please see: http://www.chesapeake.net/~jroberson/cluster.diff > > I will post on arch about the contents of the patch. > > Cheers, > Jeff > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 0:47:41 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D52F37B401 for ; Mon, 3 Mar 2003 00:47:39 -0800 (PST) Received: from saturn.mics.co.za (saturn.mics.co.za [196.34.165.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CD9643F75 for ; Mon, 3 Mar 2003 00:47:36 -0800 (PST) (envelope-from johan@mics.co.za) Received: from root by saturn.mics.co.za with scanned_ok (Exim 3.36 #1) id 18plcH-000I0h-00 for freebsd-current@freebsd.org; Mon, 03 Mar 2003 10:48:09 +0200 Received: from fw.mics.co.za ([196.34.165.234] helo=johan) by saturn.mics.co.za with smtp (Exim 3.36 #1) id 18plcH-000I0a-00 for freebsd-current@FreeBSD.org; Mon, 03 Mar 2003 10:48:09 +0200 Message-ID: <000501c2e161$84e6a2e0$720a0a0a@johan> Reply-To: "johan" From: "johan" To: Subject: subscribe jo@jo.co.za Date: Mon, 3 Mar 2003 10:47:27 +0200 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.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: MICS Online Virus Scanner (virusalert@mics.co.za) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 0:54:12 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACA0337B401 for ; Mon, 3 Mar 2003 00:54:08 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77DD543FE5 for ; Mon, 3 Mar 2003 00:54:07 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id TAA21375; Mon, 3 Mar 2003 19:53:49 +1100 Date: Mon, 3 Mar 2003 19:55:36 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Terry Lambert Cc: Poul-Henning Kamp , "M. Warner Losh" , Subject: Re: Any ideas why we can't even boot a i386 ? In-Reply-To: <3E6257B1.32AB9644@mindspring.com> Message-ID: <20030303191604.V33196-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2 Mar 2003, Terry Lambert wrote: > Poul-Henning Kamp wrote: > > In message <20030303034332.Y30986-100000@gamplex.bde.org>, Bruce Evans writes: > > >On Sun, 2 Mar 2003, Bruce Evans wrote: > > >> On Fri, 28 Feb 2003, Poul-Henning Kamp wrote: > > >> > My main concern would be if the chips have the necessary "umphf" > > >> > to actually do a real-world job once they're done running all the > > >> > overhead of 5.0-R. The lack of cmpxchg8 makes the locking horribly > > >> > expensive. > > >> > > >> Actually, the lack of cmpxchg8 only makes locking more expensive. It's > > > > > >I.e., strictly more expensive, but not much more. > > > > Bruce, it is not a matter of the relative expensiveness of the various > > implementations of locking primitives, its a matter of the cummulative > > weight of all the locks we add to the system. Of course. A 400% pessimization of locking primitive turns into more like a 100% pessimization of locking non-primitives (at the level of mtx_lock()). Since the kernel spends only a few percent of its time (1% say) of its time in non-i386 locking non-primitives, pessimizing these non-primitives by 100% costs 1%. Since the system spends only a few percent of its time in the kernel (10% say), pessimizing the non-primitives costs a whole 0.1%. (0.1% is getting near the resolution of my benchmarkmethod (run makeworld on a fairly idle machine after rebooting).) > Bruce's "make world" benchmark gave coverage of the cumulative > weight, in support of his point. Indeed. Actual testing showed costs of 3.2% (kernel) and 0.3% (real). I made up the percentages of 1% and 0.1% by reducing these a bit (I386_CPU pessimizes more than locking, but the exact percentages aren't very interesting since they are so small). Of course there are loads that use more locks than makeworld (mainly networking with tinygrams I think -- this is why no one except networking people and benchmarkers even notice that -current is much worse than RELENG_4 (slowness from debugging options is irrelevant)). I wrote: > To get the system to run I had to unbreak panicifcpuunsupported() so > that it doesn't gratuitously reject Athlons (CPUs that are upward > compatible should not be rejected), and had to replace pmap.o by the > non-386 version since the 386 version caused strange errors. It's not > clear why the 386 version doesn't work -- the only internal difference > in pmap.c is that the 386 version uses invltlb() and other versions > use invlpg(). Using invlpg() would probably make things more than > 0.3% slower. Selecting the best inv*() was the main optimization that > we dropped when 386 support was made incompatible with support for later > CPUs. Configuring DISABLE_PG_G fixed the problem with pmap. invlpg() apparently doesn't work with global pages, but I386_CPU doesn't stop global pages being configured. > world with my kernel configured for I486_CPU through I686_CPU > %%% > 1532 MHz AthlonXP 1600 256MB 2 ATA drives > async mounted /usr/obj (src on separate drive) > -------------------------------------------------------------- > >>> elf make world completed on Sun Mar 2 16:30:55 EST 2003 > (started Sun Mar 2 15:53:15 EST 2003) > -------------------------------------------------------------- > 2260.31 real 1729.55 user 326.24 sys > 40208 maximum resident set size > 2248 average shared memory size > 1762 average unshared data size > 127 average unshared stack size > 14959205 page reclaims > 25630 page faults > 0 swaps > 43481 block input operations > 3963 block output operations > 0 messages sent > 0 messages received > 5 signals received > 313523 voluntary context switches > 607085 involuntary context switches > %%% > > world with my kernel configured for I386_CPU except for pmap.o > %%% > 1532 MHz AthlonXP 1600 256MB 2 ATA drives > async mounted /usr/obj (src on separate drive) > -------------------------------------------------------------- > >>> elf make world completed on Mon Mar 3 03:00:45 EST 2003 > (started Mon Mar 3 02:22:57 EST 2003) > -------------------------------------------------------------- > 2267.98 real 1730.21 user 336.73 sys > 40208 maximum resident set size > 2245 average shared memory size > 1756 average unshared data size > 127 average unshared stack size > 14958931 page reclaims > 26265 page faults > 0 swaps > 44148 block input operations > 3898 block output operations > 0 messages sent > 0 messages received > 6 signals received > 313986 voluntary context switches > 598687 involuntary context switches > %%% As might be expected, using invlpg() and not using global pages costs more than pessimizing locking primitives. It costs an additional 1.6% (real) and 5.9% (sys): world with my kernel configured for I386_CPU and DISABLE_PG_G %%% 1532 MHz AthlonXP 1600 256MB 2 ATA drives async mounted /usr/obj (src on separate drive) -------------------------------------------------------------- >>> elf make world completed on Mon Mar 3 04:51:15 EST 2003 (started Mon Mar 3 04:12:51 EST 2003) -------------------------------------------------------------- 2303.46 real 1749.21 user 356.69 sys 40208 maximum resident set size 2240 average shared memory size 1746 average unshared data size 127 average unshared stack size 14959130 page reclaims 25845 page faults 0 swaps 43561 block input operations 3932 block output operations 0 messages sent 0 messages received 5 signals received 311492 voluntary context switches 623634 involuntary context switches %%% Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 1:58:31 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 684B737B405 for ; Mon, 3 Mar 2003 01:58:29 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3AC943FE0 for ; Mon, 3 Mar 2003 01:58:22 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (root@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with SMTP id h239wItr018011 for ; Mon, 3 Mar 2003 11:58:18 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id h239wIHR017998 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 3 Mar 2003 11:58:18 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id h239wHdk017992; Mon, 3 Mar 2003 11:58:17 +0200 (EET) Date: Mon, 3 Mar 2003 11:58:17 +0200 From: Ruslan Ermilov To: Mike Barcroft Cc: current@freebsd.org, sparc64@freebsd.org Subject: Re: sparc64 tinderbox failure Message-ID: <20030303095817.GB17141@sunbay.com> References: <200303030516.h235Gd2c024635@sparc64.style9.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <200303030516.h235Gd2c024635@sparc64.style9.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 03, 2003 at 12:16:39AM -0500, Mike Barcroft wrote: [...] > -------------------------------------------------------------- > >>> Kernel build for GENERIC started on Mon Mar 3 00:15:48 EST 2003 > -------------------------------------------------------------- > =3D=3D=3D> hme > make: don't know how to make bsd.README. Stop > *** Error code 2 >=20 Should be fixed now. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Yyc4Ukv4P6juNwoRAkvfAJ9QOUkbC+V0/1kP10YR89d9Dp0QIgCeLq51 xb+SdqUDGRPvdJ3mEaYOOlA= =7NGS -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 2: 1:30 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CE1A37B401 for ; Mon, 3 Mar 2003 02:01:29 -0800 (PST) Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 791C543FB1 for ; Mon, 3 Mar 2003 02:01:28 -0800 (PST) (envelope-from un1i@rz.uni-karlsruhe.de) Received: from rzstud1.stud.uni-karlsruhe.de (rzstud1.stud.uni-karlsruhe.de [193.196.41.33]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1) id 18pml9-00041z-00; Mon, 03 Mar 2003 11:01:23 +0100 Received: from un1i by rzstud1.stud.uni-karlsruhe.de with local (Exim 3.36 #1) id 18pml9-0002yS-00; Mon, 03 Mar 2003 11:01:23 +0100 Date: Mon, 3 Mar 2003 11:01:22 +0100 From: Philipp Mergenthaler To: Vladimir Kushnir Cc: current@FreeBSD.ORG Subject: Re: -CURRENT + cvs = panic Message-ID: <20030303100122.GA10188@rz.uni-karlsruhe.de> References: <20030303011726.R623@kushnir1.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030303011726.R623@kushnir1.kiev.ua> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 01:23:20AM +0200, Vladimir Kushnir wrote: > Practically 100% repeatable: after some CVS updates (not sure but it > seems after another high HD load as well) -CURRENT panics with > bwrite: buffer is not busy > (in the prefious message I've attached gdb trace and so on, and nothing > has changed so far). > It goes on for at least several days now. In that gdb trace, I think the panic was only an aftereffect and the trouble started here: #15 0xc02bc1c8 in calltrap () at {standard input}:96 #16 0xc021fd79 in tcp_input (m=0xc0d49c30, off0=20) at /usr/src/sys/netinet/tcp_input.c:2324 Do you have version 1.198 of sys/netinet/tcp_input.c? I haven't had that panic since then (i.e. for the last four days). Bye, Philipp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 2:16:46 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F23C337B401 for ; Mon, 3 Mar 2003 02:16:44 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6DBF43FB1 for ; Mon, 3 Mar 2003 02:16:43 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.131.92] (port=49194 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18pmzy-0009dZ-00 for freebsd-current@freebsd.org; Mon, 03 Mar 2003 18:16:43 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h23AGgpT002485 for ; Mon, 3 Mar 2003 18:16:42 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h23AGfii002484 for freebsd-current@freebsd.org; Mon, 3 Mar 2003 18:16:41 +0800 (CST) Date: Mon, 3 Mar 2003 18:16:41 +0800 From: leafy To: freebsd-current@freebsd.org Subject: Re: -CURRENT + cvs = panic Message-ID: <20030303101641.GA2459@leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org References: <20030303011726.R623@kushnir1.kiev.ua> <20030303100122.GA10188@rz.uni-karlsruhe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030303100122.GA10188@rz.uni-karlsruhe.de> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 11:01:22AM +0100, Philipp Mergenthaler wrote: > In that gdb trace, I think the panic was only an aftereffect and > the trouble started here: > #15 0xc02bc1c8 in calltrap () at {standard input}:96 > #16 0xc021fd79 in tcp_input (m=0xc0d49c30, off0=20) > at /usr/src/sys/netinet/tcp_input.c:2324 > > Do you have version 1.198 of sys/netinet/tcp_input.c? I haven't had > that panic since then (i.e. for the last four days). > > Bye, Philipp It's the very same line of code that caused my distributed folding clinent oto panic the system. I have * $FreeBSD: src/sys/netinet/tcp_input.c,v 1.198 2003/02/26 18:20:41 jlemon Exp $ */ It still panics everytime I start the client. cvsup is ok though. Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 3:46:51 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47CC037B401 for ; Mon, 3 Mar 2003 03:46:50 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD9043FA3 for ; Mon, 3 Mar 2003 03:46:49 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h23BklA6016365 for ; Mon, 3 Mar 2003 12:46:47 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org Subject: HEADSUP! driver megacommit in progress. From: Poul-Henning Kamp Date: Mon, 03 Mar 2003 12:46:47 +0100 Message-ID: <16364.1046692007@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've finished compiling my driver megacommit on i386, alpha and sparc64 and I will be committing the stuff shortly -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 4:20:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DDDC37B401 for ; Mon, 3 Mar 2003 04:20:22 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F071C43F93 for ; Mon, 3 Mar 2003 04:20:20 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h23CKKA6016699 for ; Mon, 3 Mar 2003 13:20:20 +0100 (CET) (envelope-from phk@phk.freebsd.dk) Cc: current@FreeBSD.ORG Subject: Re: HEADSUP! driver megacommit in progress. From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 03 Mar 2003 12:46:47 +0100." <16364.1046692007@critter.freebsd.dk> Date: Mon, 03 Mar 2003 13:20:20 +0100 Message-ID: <16698.1046694020@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <16364.1046692007@critter.freebsd.dk>, Poul-Henning Kamp writes: > >I've finished compiling my driver megacommit on i386, alpha and sparc64 >and I will be committing the stuff shortly Done, you can take off your tinfoil hats now :-) -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 5:17:40 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06A0A37B401; Mon, 3 Mar 2003 05:17:39 -0800 (PST) Received: from tomts15-srv.bellnexxia.net (tomts15-srv.bellnexxia.net [209.226.175.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18A8643F3F; Mon, 3 Mar 2003 05:17:38 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from sparc64.style9.org ([65.93.76.196]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030303131737.YDHG29141.tomts15-srv.bellnexxia.net@sparc64.style9.org>; Mon, 3 Mar 2003 08:17:37 -0500 Received: (from mike@localhost) by sparc64.style9.org (8.12.6/8.12.6/Submit) id h23DHuMT026632; Mon, 3 Mar 2003 08:17:56 -0500 (EST) Date: Mon, 3 Mar 2003 08:17:56 -0500 (EST) From: Mike Barcroft Message-Id: <200303031317.h23DHuMT026632@sparc64.style9.org> To: current@FreeBSD.org, sparc64@FreeBSD.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /tinderbox/sparc64/obj/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Mon Mar 3 08:17:05 EST 2003 -------------------------------------------------------------- ===> hme make: don't know how to make bsd.README. Stop *** Error code 2 Stop in /tinderbox/sparc64/src. *** Error code 1 Stop in /tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 6: 2:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23F4737B401 for ; Mon, 3 Mar 2003 06:02:57 -0800 (PST) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEDED43FBD for ; Mon, 3 Mar 2003 06:02:55 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from PHE (silver.he.iki.fi [193.64.42.241]) by silver.he.iki.fi (8.12.6/8.11.4) with SMTP id h23E2qDT084740 for ; Mon, 3 Mar 2003 16:02:53 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <0bf901c2e18d$95bbb3e0$932a40c1@PHE> From: "Petri Helenius" To: Subject: hype(r)threading Date: Mon, 3 Mar 2003 16:02:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I seem to want to quite the opposite what other people would like to happen, we have a supermicro P4DPR board with two Xeon´s. Since lately the kernel seems to want to launch the virtual cores regardless of BIOS setting of HyperThreading being [Disabled]. Any ideas how to disable the cores since our workload is does not benefit from having more than two cores in a machine. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 6:36:59 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526D237B401 for ; Mon, 3 Mar 2003 06:36:58 -0800 (PST) Received: from pollux.asml.nl (ns.asml.nl [195.109.200.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C83E43F3F for ; Mon, 3 Mar 2003 06:36:55 -0800 (PST) (envelope-from brad.knowles@skynet.be) Received: from creon.asml.nl (creon [146.106.1.223]) by pollux.asml.nl (8.8.8+Sun/8.8.8) with ESMTP id PAA00873; Mon, 3 Mar 2003 15:36:51 +0100 (MET) Received: from titan.asml.nl (titan [146.106.1.9]) by creon.asml.nl (8.11.6+Sun/8.11.6) with ESMTP id h23Eaoq13444; Mon, 3 Mar 2003 15:36:50 +0100 (MET) Received: from [10.0.1.4] (frobozz.asml.nl [146.106.12.76]) by titan.asml.nl (8.9.3+Sun/8.9.3) with ESMTP id PAA20953; Mon, 3 Mar 2003 15:36:48 +0100 (MET) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <2D49E83A43A2104F872DF4E90AE2BF49120A9D@staff-svr1.eu.inctech.com> References: <2D49E83A43A2104F872DF4E90AE2BF49120A9D@staff-svr1.eu.inctech.com> Date: Mon, 3 Mar 2003 13:41:26 +0100 To: "Suneel Jhangiani" From: Brad Knowles Subject: Re: TI WiFi Drivers Cc: Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 7:27 PM +0000 2003/03/01, Suneel Jhangiani wrote: > Does anyone know if someone is working on WiFi drivers for cards based > on the TI chipset running at 22Mbps (ie. D-link DWL-650+ pcmcia card)? If you can get them, please let me know. A friend & co-worker (Bas Vermeulen) does driver development for Linux, currently specializing in WiFi cards. He has been able to get samples of the cards themselves, but can't get TI or any of their licensees to even talk to him about the specs or other sufficient information to allow him to write the driver. If we can get a driver under the BSD license, I'm sure that'd help him write a driver for Linux, and he would be a very happy camper. -- Brad Knowles, "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+ !w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++) tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 6:58:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B52CD37B401 for ; Mon, 3 Mar 2003 06:58:21 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD8E543F93 for ; Mon, 3 Mar 2003 06:58:20 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.7/8.12.1) with ESMTP id h23EwJjL075379 for ; Mon, 3 Mar 2003 09:58:19 -0500 (EST) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.7/8.12.1/Submit) id h23EwJqY075378 for current@FreeBSD.org; Mon, 3 Mar 2003 09:58:19 -0500 (EST) (envelope-from hiten) Date: Mon, 3 Mar 2003 09:58:19 -0500 From: Hiten Pandya To: current@FreeBSD.org Subject: NTP server change Message-ID: <20030303145819.GA74275@unixdaemons.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi gang. Can anyone who is into timekeeping, and lives in or near Finland let me know if they approve of a change to sysinstall, which will allow us to use an alternate time keeping NTP server -- the reason for doing this is outlined in PR conf/46235. Patch URL: http://www.unixdaemons.com/~hiten/work/diffs/sysinstall-46235.patch Cheers. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sysinstall-46235.patch" Index: menus.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/sysinstall/menus.c,v retrieving revision 1.368 diff -u -r1.368 menus.c --- menus.c 2003/02/03 16:14:33 1.368 +++ menus.c 2003/02/03 17:54:31 @@ -1754,12 +1754,12 @@ { "Spain", "slug.ctv.es", dmenuVarsCheck, dmenuSetVariables, NULL, "ntpdate_enable=YES,ntpdate_flags=slug.ctv.es" }, - { "Finland", "tick.keso.fi", + { "Finland", "time1.mikes.fi", dmenuVarsCheck, dmenuSetVariables, NULL, - "ntpdate_enable=YES,ntpdate_flags=tick.keso.fi" }, - { "Finland #2", "tock.keso.fi", + "ntpdate_enable=YES,ntpdate_flags=time1.mikes.fi" }, + { "Finland #2", "time2.mikes.fi", dmenuVarsCheck, dmenuSetVariables, NULL, - "ntpdate_enable=YES,ntpdate_flags=tock.keso.fi" }, + "ntpdate_enable=YES,ntpdate_flags=time2.mikes.fi" }, { "France", "ntp.obspm.fr", dmenuVarsCheck, dmenuSetVariables, NULL, "ntpdate_enable=YES,ntpdate_flags=ntp.obspm.fr" }, --uAKRQypu60I7Lcqm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 7:15:44 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB84B37B401 for ; Mon, 3 Mar 2003 07:15:42 -0800 (PST) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27A7743F75 for ; Mon, 3 Mar 2003 07:15:41 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 17483 invoked from network); 3 Mar 2003 15:15:43 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Mar 2003 15:15:43 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h23FDLhT041383; Mon, 3 Mar 2003 10:13:22 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3E5F8A11.81E4726B@mindspring.com> Date: Mon, 03 Mar 2003 10:15:52 -0500 (EST) From: John Baldwin To: Terry Lambert Subject: Re: Any ideas why we can't even boot a i386 ? Cc: David Schultz , Garance A Drosihn , current@FreeBSD.ORG, Geoffrey , Ruslan Ermilov Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 28-Feb-2003 Terry Lambert wrote: > John Baldwin wrote: >> Or you can use PXE at your provisioning center and have the >> BIOS setup to boot from the hard disk first, which will fail >> for the initial boot and fall back to PXE. Then once the box >> is installed you ship it to its destination. > > This is a possibility; however, there are a number of system > failure scenarios that make this undesirable. Specifically, > it's desirable to support the idea of a fallback boot (e.g. > "nextboot") for a partially functional system, to downgrade > it automatically, and make it at least something other than a > doorstop on which one has to pay international shipping. In > your scenario, there's no possible reupgrade method. We perform upgrades in the field using a different transport. In the case of major problems it is possible to ship a new drive out to a system. >> We just launched a closed-box appliance yesterday. Actually, >> it's going live to actual customers in about an hour and a >> half, but I digress. :) > > You should shout it to the world... at least post a press release > to -advocacy! The real press release is coming from my company's PR department. Not sure of an ETA though. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 7:39:38 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A21B337B401 for ; Mon, 3 Mar 2003 07:39:37 -0800 (PST) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44DD843FE1 for ; Mon, 3 Mar 2003 07:39:34 -0800 (PST) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id 714239C5F; Mon, 3 Mar 2003 10:26:45 -0500 (EST) Date: Mon, 3 Mar 2003 10:26:45 -0500 From: Mike Barcroft To: Wayne Cc: Jason Barnes , current@freebsd.org Subject: Re: can't sshd into box Message-ID: <20030303102645.D49156@espresso.bsdmike.org> References: <20030303000602.A26864@etaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030303000602.A26864@etaq.com>; from wayne@etaq.com on Mon, Mar 03, 2003 at 12:06:02AM -0600 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne writes: > Dear Jason, > > [Not too many people jumping onto this thread to help me.] > > The first two non-bold lines on rebooting, are: > hw.bus.devctl_disable: 0 -> 1 > Entropy harvesting: interrupts ethernet point_to_point. > > So I try: > root@etaq3:/home/wayne>sysctl hw.bus.devctl_disable: 1 -> 0 > [but the result is:] > sysctl: unknown oid 'hw.bus.devctl_disable:' > > So what the heck is "Entropy harvesting" ? Could this > be blocking my incoming contact attempts? I missed most of this thread, but to set the sysctl you want to: `sysctl hw.bus.devctl_disable=0'. See random(4) for details on entropy harvesting. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 7:48:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5260E37B401 for ; Mon, 3 Mar 2003 07:48:17 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E32743F85 for ; Mon, 3 Mar 2003 07:48:16 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) by alpha.siliconlandmark.com (8.12.7/8.12.6) with ESMTP id h23FmFKx062054; Mon, 3 Mar 2003 10:48:15 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by alpha.siliconlandmark.com (8.12.7/8.12.6/Submit) with ESMTP id h23FmFx8062051; Mon, 3 Mar 2003 10:48:15 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Mon, 3 Mar 2003 10:48:15 -0500 (EST) From: Andre Guibert de Bruet To: Terry Lambert Cc: Wayne Barnes , current@FreeBSD.ORG Subject: Re: can't sshd into box In-Reply-To: <3E6303EE.9516823A@mindspring.com> Message-ID: <20030303101317.P59207@alpha.siliconlandmark.com> References: <20030303000955.A69139@klentaq.com> <20030303020915.B59207@alpha.siliconlandmark.com> <3E6303EE.9516823A@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2 Mar 2003, Terry Lambert wrote: > Andre Guibert de Bruet wrote: > > On Mon, 3 Mar 2003, Wayne Barnes wrote: > > > Immediately after rebooting, I get this: > > > > > > root@etaq3:/home/wayne>telnetd -debug ^^^^^^^ > > > telnetd: bind: Address already in use > > > > > > This doesn't happen on my other (working) system. > > > Could this be a clue to my problem? > > > > Telnetd is telling you that something else is listening on port 23. This > > is most probably inetd. Do a 'killall inetd' then try that command. > > That's not only going to stop inetd from sitting on the port, > it will probably also make telnet into the box start working, > if it's related to the TCP wrappers (if he had modified his > hosts.allow with the advice from a previous poster, he would > not be having this problem, if that happens, so rather than > posting his problem over and over again, maybe he should read > the responses, and at least tell us if they worked?). > > Otherwise, another common culprit is ipfw; if he has the > firewall enabled, the default is to block everything. > > Given that he got a connection, and that it was subsequently > closed, though, rather than not getting a connection at all, > it's a safe bet that it's the TCP wrappers, not the ipfw, that > is causing the trouble. > > In which case, he should take the advice on the hosts.allow > file contents that he was given earlier, and it will fix his > problem... Terry, Part of the original message said the following: I have installed 5.0 into a new Dell. I have not set up anything special yet (no firewall, no natd, etc.). <...> Is there a new default connecton protection that I must turn off, or something? [/etc/hosts.allow is the default setting, I see no answer there.] If I recall correctly, we don't ship GENERIC with any firewalling options enabled, so like you said, this is not likely to be a firewalling issue. 5.0R's /etc/hosts.allow shipped with something like the following at the top of the file: # Start by allowing everything (this prevents the rest of the file # from working, so remove it when you need protection). # The rules here work on a "First match wins" basis. ALL : ALL : allow If Wayne was trying to run 'telnetd -debug', would it not make sense for him to kill inetd first (or at least reconfigure inetd.conf then hup it) before running the daemon in debug mode at the command line? Wayne: Can you successfully login using telnet over the loopback interface? Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 7:49: 6 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A693D37B401 for ; Mon, 3 Mar 2003 07:49:05 -0800 (PST) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id D541D43FB1 for ; Mon, 3 Mar 2003 07:49:04 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id MUA74016; Mon, 03 Mar 2003 07:49:03 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id D019D5D06; Mon, 3 Mar 2003 07:49:02 -0800 (PST) To: Jun Su Cc: freebsd-current@freebsd.org Subject: Re: Hyperactive ICH2 sound (with workaround) In-reply-to: Your message of "Sat, 01 Mar 2003 10:44:57 +0800." <200303011044.57403.JunSu@gmx.net> Date: Mon, 03 Mar 2003 07:49:02 -0800 From: "Kevin Oberman" Message-Id: <20030303154902.D019D5D06@ptavv.es.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Jun Su > Date: Sat, 1 Mar 2003 10:44:57 +0800 > > Soory for my English. there is a time delay in playback. Thanks. If you need > me do any test, I am glad to do. Please don't apologize for your English. I assure you that my (German, French, Chinese, Korean, Spanish, etc.) is far worse. Thanks for the added information. I have an ICH3 in my ThinkPad and it shows the same behavior, but running Stable. It is not clear to me if this is intentional or not, but it's not unique to Current. I use the system for GnomeMeeting (H.323 conferencing) and it does not seem to cause problems there, nor does it do so when using mplayer or ogle to play DVDs. But it is easy to demonstrate with 'cat /dev/dsp > /dev/dsp'. It seems likely to me that this is an issue only when running in full-duplex (simultaneous input and output). R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 8:22:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 440F237B401 for ; Mon, 3 Mar 2003 08:22:12 -0800 (PST) Received: from klentaq.com (ip-64-32-219-171.nyc.megapath.net [64.32.219.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA0143FE9 for ; Mon, 3 Mar 2003 08:22:10 -0800 (PST) (envelope-from currently@klentaq.com) Received: by klentaq.com (Postfix, from userid 1013) id EA0CE7F6; Mon, 3 Mar 2003 10:22:21 -0600 (CST) Date: Mon, 3 Mar 2003 10:22:21 -0600 From: Wayne Barnes To: current@freebsd.org Subject: [tlambert2@mindspring.com: Re: can't sshd into box] Message-ID: <20030303102221.A70601@klentaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear FreeBSD, 1. My /etc/hosts.allow is the untouched default, with the first uncommented line being ALL : ALL : allow Also, I am still running the default GENERIC kernel, so there is no ipfw capability: FreeBSD etaq3 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 2. If I kill inetd, indeed 'telnet -debug' does not give an error. It seems to be running and waiting for something ... Going back to the other box etaq and trying to 'telnet etaq3' in, however, still results in: Connection closed by foreign host. Looking back at the waiting telnet job, it has no message or anything. Trying it with 'telnetd -debug -D report' 3. If you missed my response (maybe not copied to the list correctly) about ALL:ALL:allow, maybe you missed that 'portscanner etaq3' from etaq (the 4.7) reports that etaq3 (the new 5.0 system) has open ports 22, 23, 25, and 110. They all result in immediate 'Connection closed by foreign host.', even while ps reports that 'telnet -debug' is running. Actually, 'telnet etaq3 110' has a slightly different rejection: wayne@etaq:/home/wayne>telnet etaq3 110 Trying 192.168.0.12... telnet: connect to address 192.168.0.12: Connection refused telnet: Unable to connect to remote host 4. There is one possibly relevant fact that I have not mentioned, yet: sysinstall cannot see the (motherboard?) ethernet port on this Dell 2350. As FTP connection, it only offered dialup ppp or serial, etc. So I put in a years-old SMC1211TX ethernet PCI card, and that was recognized easily as rl0. On bootup, of the FTP-installed 5.0 system, only one NIC is recognized, as rl0, and I only plugged the old PCI card with an ethernet cord; so I don't think this is really causing my problem. I can connect and conduct ssh sessions outward (that's how I am typing now), so this machine can receive packets at all. I just can't telnet or ssh into it. I haven't tried to install apache, yet, but I wouldn't expect much until an ssh or telnet probe works. It does ping just fine, both ways. - Wayne ----- Forwarded message from Terry Lambert ----- Andre Guibert de Bruet wrote: > On Mon, 3 Mar 2003, Wayne Barnes wrote: > > Immediately after rebooting, I get this: > > > > root@etaq3:/home/wayne>telnetd -debug > > telnetd: bind: Address already in use > > > > This doesn't happen on my other (working) system. > > Could this be a clue to my problem? > > Telnetd is telling you that something else is listening on port 23. This > is most probably inetd. Do a 'killall inetd' then try that command. That's not only going to stop inetd from sitting on the port, it will probably also make telnet into the box start working, if it's related to the TCP wrappers (if he had modified his hosts.allow with the advice from a previous poster, he would not be having this problem, if that happens, so rather than posting his problem over and over again, maybe he should read the responses, and at least tell us if they worked?). Otherwise, another common culprit is ipfw; if he has the firewall enabled, the default is to block everything. Given that he got a connection, and that it was subsequently closed, though, rather than not getting a connection at all, it's a safe bet that it's the TCP wrappers, not the ipfw, that is causing the trouble. In which case, he should take the advice on the hosts.allow file contents that he was given earlier, and it will fix his problem... -- Terry -- Wayne M Barnes, currently@klentaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 8:22:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEA8337B405 for ; Mon, 3 Mar 2003 08:22:32 -0800 (PST) Received: from centaur.acm.jhu.edu (centaur.acm.jhu.edu [128.220.223.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76A1443FE0 for ; Mon, 3 Mar 2003 08:22:31 -0800 (PST) (envelope-from jflemer@acm.jhu.edu) Received: by centaur.acm.jhu.edu (Postfix, from userid 556) id 7E3C013E98; Mon, 3 Mar 2003 11:22:30 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by centaur.acm.jhu.edu (Postfix) with ESMTP id 7DAF337E08 for ; Mon, 3 Mar 2003 11:22:30 -0500 (EST) Date: Mon, 3 Mar 2003 11:22:30 -0500 (EST) From: "James E. Flemer" Reply-To: "James E. Flemer" To: Subject: install via serial console Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've read the "recent" discussion[1] about why the install media cannot use "/boot/loader -P" (broken K7 mobo's). Is this still the case? Perhaps there could be a second 'miniinst' that had "/boot/loader -h" in the /boot.config to facilitate install on headless machines. I am aware of how trivial it is to fix the standard kern.flp to use serial console. However, fixing an iso or building a new one for serial console is not quite so quick. (Nor is finding the necessary combination of working floppy drives and disks in my case.) [1] Message Id: <8qb4el$18qb$1@FreeBSD.csie.NCTU.edu.tw> on freebsd-current. -James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 8:26: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93A5E37B401 for ; Mon, 3 Mar 2003 08:25:59 -0800 (PST) Received: from klentaq.com (ip-64-32-219-171.nyc.megapath.net [64.32.219.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9702A43F3F for ; Mon, 3 Mar 2003 08:25:58 -0800 (PST) (envelope-from currently@klentaq.com) Received: by klentaq.com (Postfix, from userid 1013) id C9A957F6; Mon, 3 Mar 2003 10:26:09 -0600 (CST) Date: Mon, 3 Mar 2003 10:26:09 -0600 From: Wayne Barnes To: Andre Guibert de Bruet Cc: current@freebsd.org Subject: Re: can't sshd into box Message-ID: <20030303102609.B70601@klentaq.com> References: <20030303000955.A69139@klentaq.com> <20030303020915.B59207@alpha.siliconlandmark.com> <3E6303EE.9516823A@mindspring.com> <20030303101317.P59207@alpha.siliconlandmark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030303101317.P59207@alpha.siliconlandmark.com>; from andy@siliconlandmark.com on Mon, Mar 03, 2003 at 10:48:15AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Andre, Yes, I can telnet and ssh on loopback. Boy, that debug setting on the telnetd sure dumps a lot of output on the telnet side (but is still silent on the screen where I started it). - Wayne On Mon, Mar 03, 2003 at 10:48:15AM -0500, Andre Guibert de Bruet wrote: > > On Sun, 2 Mar 2003, Terry Lambert wrote: > > > Andre Guibert de Bruet wrote: > > > On Mon, 3 Mar 2003, Wayne Barnes wrote: > > > > Immediately after rebooting, I get this: > > > > > > > > root@etaq3:/home/wayne>telnetd -debug > ^^^^^^^ > > > > telnetd: bind: Address already in use > > > > > > > > This doesn't happen on my other (working) system. > > > > Could this be a clue to my problem? > > > > > > Telnetd is telling you that something else is listening on port 23. This > > > is most probably inetd. Do a 'killall inetd' then try that command. > > > > That's not only going to stop inetd from sitting on the port, > > it will probably also make telnet into the box start working, > > if it's related to the TCP wrappers (if he had modified his > > hosts.allow with the advice from a previous poster, he would > > not be having this problem, if that happens, so rather than > > posting his problem over and over again, maybe he should read > > the responses, and at least tell us if they worked?). > > > > Otherwise, another common culprit is ipfw; if he has the > > firewall enabled, the default is to block everything. > > > > Given that he got a connection, and that it was subsequently > > closed, though, rather than not getting a connection at all, > > it's a safe bet that it's the TCP wrappers, not the ipfw, that > > is causing the trouble. > > > > In which case, he should take the advice on the hosts.allow > > file contents that he was given earlier, and it will fix his > > problem... > > Terry, > > Part of the original message said the following: > > I have installed 5.0 into a new Dell. I have not set up anything > special yet (no firewall, no natd, etc.). > <...> > Is there a new default connecton protection that I must turn off, or > something? [/etc/hosts.allow is the default setting, I see no answer > there.] > > > If I recall correctly, we don't ship GENERIC with any firewalling options > enabled, so like you said, this is not likely to be a firewalling issue. > > 5.0R's /etc/hosts.allow shipped with something like the following at the > top of the file: > # Start by allowing everything (this prevents the rest of the file > # from working, so remove it when you need protection). > # The rules here work on a "First match wins" basis. > ALL : ALL : allow > > If Wayne was trying to run 'telnetd -debug', would it not make sense for > him to kill inetd first (or at least reconfigure inetd.conf then hup it) > before running the daemon in debug mode at the command line? > > Wayne: Can you successfully login using telnet over the loopback > interface? > > Regards, > > > Andre Guibert de Bruet | Enterprise Software Consultant > > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- -- Wayne M Barnes, currently@klentaq.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 8:26:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F25E937B401 for ; Mon, 3 Mar 2003 08:26:56 -0800 (PST) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8053143FBF for ; Mon, 3 Mar 2003 08:26:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 18260 invoked from network); 3 Mar 2003 16:26:58 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Mar 2003 16:26:58 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h23GObhT041535; Mon, 3 Mar 2003 11:24:37 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030301134543.GF77007@sunbay.com> Date: Mon, 03 Mar 2003 11:27:09 -0500 (EST) From: John Baldwin To: Ruslan Ermilov Subject: Re: Volunteer with genuine i386 cpu & lots of time wanted. Cc: current@freebsd.org, Mike Barcroft Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Mar-2003 Ruslan Ermilov wrote: > On Thu, Feb 27, 2003 at 05:05:43PM -0500, John Baldwin wrote: >> >> On 27-Feb-2003 Mike Barcroft wrote: >> > John Baldwin writes: >> >> Fixed. Apparently people don't compile kernels for 80386's very often. >> > >> > Maybe LINT should be building I386 instead of more modern processors. >> >> That would turn off a lot of the CPU options that LINT covers. You would >> lose more than you gain. >> > Should I add the "nocpu" option to config(8)? :-) No. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 8:39: 4 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6456137B407 for ; Mon, 3 Mar 2003 08:38:59 -0800 (PST) Received: from sinamail.com (61-221-29-145.HINET-IP.hinet.net [61.221.29.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69AEB43F75 for ; Mon, 3 Mar 2003 08:38:54 -0800 (PST) (envelope-from suppergeorge@sinamail.com) From: star@yahoo.com.tw To: current@FreeBSD.org Subject: =?ISO-8859-1?B?prO+97d8p0HEQLdOpWi5wbjVttw/Pw==?= Reply-To: suppergeorge@sinamail.com Date: 04 Mar 2003 00:44:02 +0800 MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: <20030303163854.69AEB43F75@mx1.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ¬°¤°»ò¦³¤H·|¤ñ§A¦¨¥\10­¿
¥D¦®: ³o©Î³\¬O±z¥¿¦b´M§äªº¾÷·|³á
³o©Î³\¬O±z¥¿¦b§äªº¾÷·|®@¡I
¹ï¤£°_¡I¥´ÂZ¤F¡A¦pªG¦]¦¹³y¦¨±zªº§xÂZ¡A½Ðª½±µ§R°£¥»«H¤ÎÂI¿ï¤U¤è¡u¤£·Q¦A¦¬«H¡v¡A§Ú­Ì·|±N±zªº¸ê®Æ§R°£¡I

¬°¤°»ò¦³¤H·|¤ñ§A¦¨¥\10­¿¡A¦¬¤J¦h100­¿¡B¬Æ¦Ü¦h1000­¿¡AÃø¹D¥L¦³¤ñ§A¦hÁo©ú³o»ò¦h¶Ü¡H
µª®×ªÖ©w¤£¬Oªº¡I
·Q¤@·Q¡I¨º¨Ç¦¬¤J¤ñ§Ú­Ì°ª«Ü¦h¡A¥Í¬¡¤ñ§Ú­Ì¦n«Ü¦hªº¤H¡I
¥L­Ì¨ì©³°µ¤F¤°»ò¬O§Ú­Ì©Ò¤£ª¾¹Dªº¨Æ¡H
¦Ó§Ú­Ì¨ì©³°µ¿ù¤F¤°»ò¡B¤S¿ù¹L¤F¤°»ò¡H
·Q¤£·Qª¾¹D¤H®a«ç»ò°µ­Ëªº¡I
§A¬Û«H¡u®É¶¡¡×ª÷¿ú¡v¡BÁÙ¬O¡u®É¶¡¡Öª÷¿ú¡v

Á|¨Ò¡G

§Ú­Ì¤@¤Ñ¤u§@8¤p®É¡A¤@¦~¤u§@365¤Ñ¡A¤@½ú¤l¤u§@30¦~¡I¨º§Ú­Ì¤@½ú¤lªºÁ`¤u§@®É¼Æ¡H
¢·¤p®É¡¯¢²¢µ¢´¤Ñ¡¯¢²¢¯¦~¡×¢·¢¶,¢µ¢¯¢¯¤p®É
¦pªG§Aªº®ÉÁ~100¤¸¡A§A¤@½ú¤lÁÈ876¸U¤¸¡I
¦pªG§Aªº®ÉÁ~150¤¸¡A§A¤@½ú¤lÁÈ1314¸U¤¸¡I
¦pªG§Aªº®ÉÁ~200¤¸¡A§A¤@½ú¤lÁÈ1752¸U¤¸¡I
¬Ý°_¨Ó¦n¹³«Ü¦h¡A¬Ý²M·¡¡I¤@¦~¤u§@365¤Ñ¡A­n¤u§@30¦~¡I¦Ó¥B¤£¦Y¤£³Ü¡I
³o¼Ëªº¦¬¤J¡A¨¬°÷¤TÀ\·Å¹¡¡F¶R¨®¤l¡B©Ð¤l«j±j°÷¥Î¡F§O§Ñ¤F¡AÁÙ¦³¤l¤kªº±Ð¨|¶O¡B¦Û¤vªº¾i¦Ñª÷¡BÁÙ¦³¡y¹Ú·Q¡zµ¥«Ý¹ê²{¡I
³o¼Ëªº¤@½ú¤l¡A§A¥Ì¤ß¶Ü¡H
¨­¬°­û¤uªº§A¡A¨C¤Ñ¨¯­W¬°ªº¬O¤°»ò¡H®a®x¡B¤p«Ä¡H§A¦³¨S¦³·Q¹L¡A§A¤W¯Z¤@½ú¤l¡A±N¨Ó§Aªº¤p«Ä¯à©Ó±µ§AªºÂ¾¦ìÄ~Äò°µ¤U¥h¶Ü¡H¡]°£«D§A¦Û¤v¬O¦ÑÁó¡^
·Q¤£·Q§ïÅܦۤv¤Î¤U¤@¥Nªº¤@¥Í¡H

¤£·Q¦A¦¬«H(Unsubscribe)

¡@

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 8:42:48 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62EC837B401 for ; Mon, 3 Mar 2003 08:42:46 -0800 (PST) Received: from matrix.eurocontrol.fr (matrix.eurocontrol.fr [147.196.254.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52D2D43F3F for ; Mon, 3 Mar 2003 08:42:45 -0800 (PST) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.130.91]) by matrix.eurocontrol.fr (Postfix/TLS) with ESMTP id A72F84A9ED for ; Mon, 3 Mar 2003 17:42:39 +0100 (MET) Received: by caerdonn.eurocontrol.fr (Postfix/TLS, from userid 1193) id 992933B00; Mon, 3 Mar 2003 17:42:39 +0100 (CET) Date: Mon, 3 Mar 2003 17:42:39 +0100 From: Ollivier Robert To: FreeBSD Current Users' list Subject: Panic running mozilla when doing bg fsck Message-ID: <20030303164239.GA661@caerdonn.eurocontrol.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.0-CURRENT User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello everyone, I'm having panic fairly regularely at the moment and I've seen that trying to run mozilla when fsck_ffs is doing its work in the background is a Bad Thing[tm]. While I'm here, am I the only one to notice that stack traces are not very complete right now? initial pcb at physical address 0x00321080 panicstr: bremfree: bp 0xc7797a70 not locked panic messages: --- panic: Most recently used by none syncing disks, buffers remaining... panic: bremfree: bp 0xc7797a70 not locked Uptime: 7m37s Dumping 255 MB ata0: resetting devices .. done [CTRL-C to abort] [CTRL-C to abort] 16[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- #0 doadump () at ../../../kern/kern_shutdown.c:239 239 dumping++; (kgdb) where #0 doadump () at ../../../kern/kern_shutdown.c:239 #1 0xc019d6a5 in boot (howto=260) at ../../../kern/kern_shutdown.c:371 #2 0xc019d8e3 in panic () at ../../../kern/kern_shutdown.c:542 #3 0xc01d7c47 in bremfreel (bp=0xc02d9d6d) at ../../../kern/vfs_bio.c:672 #4 0xc01d7bb5 in bremfree (bp=0x0) at ../../../kern/vfs_bio.c:659 #5 0xc01d9cdb in vfs_bio_awrite (bp=0xc264f000) at ../../../kern/vfs_bio.c:1714 #6 0xc01e0def in vop_stdfsync (ap=0xcdd8eaf4) at ../../../kern/vfs_default.c:755 #7 0xc016ad40 in spec_fsync (ap=0xcdd8eaf4) at ../../../fs/specfs/spec_vnops.c:422 #8 0xc016a2f8 in spec_vnoperate (ap=0x0) at ../../../fs/specfs/spec_vnops.c:123 #9 0xc02513a7 in ffs_sync (mp=0xc25a5200, waitfor=2, cred=0xc0eb5e80, td=0xc02fa620) at vnode_if.h:612 #10 0xc01eca6b in sync (td=0xc02fa620, uap=0x0) at ../../../kern/vfs_syscalls.c:138 #11 0xc019d2f2 in boot (howto=256) at ../../../kern/kern_shutdown.c:280 #12 0xc019d8e3 in panic () at ../../../kern/kern_shutdown.c:542 #13 0xc027895d in mtrash_ctor (mem=0xc264f000, size=0, arg=0x0) at ../../../vm/uma_dbg.c:138 #14 0xc0278a00 in mtrash_fini (mem=0x0, size=0) at ../../../vm/uma_dbg.c:189 #15 0xc02762a9 in zone_drain (zone=0x100) at ../../../vm/uma_core.c:630 #16 0xc0276ee5 in zone_foreach (zfunc=0xc0276070 ) at ../../../vm/uma_core.c:1166 #17 0xc0278277 in uma_reclaim () at ../../../vm/uma_core.c:1997 #18 0xc0272ef9 in vm_pageout_scan (pass=0) at ../../../vm/vm_pageout.c:691 #19 0xc0273fae in vm_pageout () at ../../../vm/vm_pageout.c:1480 #20 0xc018a6d4 in fork_exit (callout=0xc0273ce0 , arg=0x0, frame=0x0) at ../../../kern/kern_fork.c:871 [there must be something here after frame #20, right?] -- Ollivier ROBERT -=- Eurocontrol EEC/AMI -=- Ollivier.Robert@eurocontrol.fr FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #6: Tue Jan 21 16:05:16 CET 2003 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 9:10:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4309037B401 for ; Mon, 3 Mar 2003 09:10:21 -0800 (PST) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76D2C43FBF for ; Mon, 3 Mar 2003 09:10:20 -0800 (PST) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.7/8.12.7) with ESMTP id h23HAJFr080084; Mon, 3 Mar 2003 12:10:19 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.7/8.12.7/Submit) id h23HAJM9080083; Mon, 3 Mar 2003 12:10:19 -0500 (EST) (envelope-from barney) Date: Mon, 3 Mar 2003 12:10:19 -0500 From: Barney Wolff To: Wayne Barnes Cc: current@FreeBSD.ORG Subject: Re: [tlambert2@mindspring.com: Re: can't sshd into box] Message-ID: <20030303171019.GB79269@pit.databus.com> References: <20030303102221.A70601@klentaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030303102221.A70601@klentaq.com> User-Agent: Mutt/1.4i X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 10:22:21AM -0600, Wayne Barnes wrote: > Looking back at the waiting telnet job, it has no message or > anything. > > Trying it with 'telnetd -debug -D report' > Use tcpdump to make sure your machine is actually receiving the telnet connection. It sounds as though something else is getting it. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 9:27:16 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE9A537B96E for ; Mon, 3 Mar 2003 09:27:02 -0800 (PST) Received: from sinamail.com (61-221-29-145.HINET-IP.hinet.net [61.221.29.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573CE43FCB for ; Mon, 3 Mar 2003 09:26:14 -0800 (PST) (envelope-from suppergeorge@sinamail.com) From: star@yahoo.com.tw To: freebsd-current@freebsd.org Subject: =?ISO-8859-1?B?prO+97d8p0HEQLdOpWi5wbjVttw/Pw==?= Reply-To: suppergeorge@sinamail.com Date: 04 Mar 2003 01:31:21 +0800 MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: <20030303172614.573CE43FCB@mx1.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ¬°¤°»ò¦³¤H·|¤ñ§A¦¨¥\10­¿
¥D¦®: ³o©Î³\¬O±z¥¿¦b´M§äªº¾÷·|³á
³o©Î³\¬O±z¥¿¦b§äªº¾÷·|®@¡I
¹ï¤£°_¡I¥´ÂZ¤F¡A¦pªG¦]¦¹³y¦¨±zªº§xÂZ¡A½Ðª½±µ§R°£¥»«H¤ÎÂI¿ï¤U¤è¡u¤£·Q¦A¦¬«H¡v¡A§Ú­Ì·|±N±zªº¸ê®Æ§R°£¡I

¬°¤°»ò¦³¤H·|¤ñ§A¦¨¥\10­¿¡A¦¬¤J¦h100­¿¡B¬Æ¦Ü¦h1000­¿¡AÃø¹D¥L¦³¤ñ§A¦hÁo©ú³o»ò¦h¶Ü¡H
µª®×ªÖ©w¤£¬Oªº¡I
·Q¤@·Q¡I¨º¨Ç¦¬¤J¤ñ§Ú­Ì°ª«Ü¦h¡A¥Í¬¡¤ñ§Ú­Ì¦n«Ü¦hªº¤H¡I
¥L­Ì¨ì©³°µ¤F¤°»ò¬O§Ú­Ì©Ò¤£ª¾¹Dªº¨Æ¡H
¦Ó§Ú­Ì¨ì©³°µ¿ù¤F¤°»ò¡B¤S¿ù¹L¤F¤°»ò¡H
·Q¤£·Qª¾¹D¤H®a«ç»ò°µ­Ëªº¡I
§A¬Û«H¡u®É¶¡¡×ª÷¿ú¡v¡BÁÙ¬O¡u®É¶¡¡Öª÷¿ú¡v

Á|¨Ò¡G

§Ú­Ì¤@¤Ñ¤u§@8¤p®É¡A¤@¦~¤u§@365¤Ñ¡A¤@½ú¤l¤u§@30¦~¡I¨º§Ú­Ì¤@½ú¤lªºÁ`¤u§@®É¼Æ¡H
¢·¤p®É¡¯¢²¢µ¢´¤Ñ¡¯¢²¢¯¦~¡×¢·¢¶,¢µ¢¯¢¯¤p®É
¦pªG§Aªº®ÉÁ~100¤¸¡A§A¤@½ú¤lÁÈ876¸U¤¸¡I
¦pªG§Aªº®ÉÁ~150¤¸¡A§A¤@½ú¤lÁÈ1314¸U¤¸¡I
¦pªG§Aªº®ÉÁ~200¤¸¡A§A¤@½ú¤lÁÈ1752¸U¤¸¡I
¬Ý°_¨Ó¦n¹³«Ü¦h¡A¬Ý²M·¡¡I¤@¦~¤u§@365¤Ñ¡A­n¤u§@30¦~¡I¦Ó¥B¤£¦Y¤£³Ü¡I
³o¼Ëªº¦¬¤J¡A¨¬°÷¤TÀ\·Å¹¡¡F¶R¨®¤l¡B©Ð¤l«j±j°÷¥Î¡F§O§Ñ¤F¡AÁÙ¦³¤l¤kªº±Ð¨|¶O¡B¦Û¤vªº¾i¦Ñª÷¡BÁÙ¦³¡y¹Ú·Q¡zµ¥«Ý¹ê²{¡I
³o¼Ëªº¤@½ú¤l¡A§A¥Ì¤ß¶Ü¡H
¨­¬°­û¤uªº§A¡A¨C¤Ñ¨¯­W¬°ªº¬O¤°»ò¡H®a®x¡B¤p«Ä¡H§A¦³¨S¦³·Q¹L¡A§A¤W¯Z¤@½ú¤l¡A±N¨Ó§Aªº¤p«Ä¯à©Ó±µ§AªºÂ¾¦ìÄ~Äò°µ¤U¥h¶Ü¡H¡]°£«D§A¦Û¤v¬O¦ÑÁó¡^
·Q¤£·Q§ïÅܦۤv¤Î¤U¤@¥Nªº¤@¥Í¡H

¤£·Q¦A¦¬«H(Unsubscribe)

¡@

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 9:48:20 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C91737B405; Mon, 3 Mar 2003 09:48:18 -0800 (PST) Received: from rtp-core-2.cisco.com (rtp-core-2.cisco.com [64.102.124.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9783E43FCB; Mon, 3 Mar 2003 09:48:16 -0800 (PST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Received: from goblet.cisco.com (IDENT:mirapoint@goblet.cisco.com [161.44.168.80]) by rtp-core-2.cisco.com (8.12.6/8.12.6) with ESMTP id h23HmENh006894; Mon, 3 Mar 2003 12:48:14 -0500 (EST) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [161.44.149.69]) by goblet.cisco.com (Mirapoint) with ESMTP id ACS55035; Mon, 3 Mar 2003 12:48:13 -0500 (EST) Received: from bmcgover-pc.cisco.com (localhost.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.12.6/8.12.6) with ESMTP id h23HmDkN017639; Mon, 3 Mar 2003 12:48:13 -0500 (EST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Message-Id: <200303031748.h23HmDkN017639@bmcgover-pc.cisco.com> To: questions@freebsd.org, current@freebsd.org, freebsd-qa@cisco.com Reply-To: bmcgover@cisco.com Subject: Changes to libfetch in 5.0 break proxy support? Date: Mon, 03 Mar 2003 12:48:13 -0500 From: "Brian J. McGovern" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having a problem with fetch and libfetch in 5.0, and (given that I currently have a bad cold), I'm hoping to get a cheap answer before I have to start crawling through code. In the 4.x days, I was able to set up an apache web proxy, and then export FTP_PASSIVE_MODE=YES and HTTP_PROXY=:80, and then go to /usr/ports, and say, for instance "make all". Everything would then download correctly, and go on happily. Now, however, it appears that when I do this, the connection either times out, or I get a file with the right name, but the contents are an HTML document (wrapped to fit in 80 cols). I know the proxy is working, as my 4.x boxes still go through it happily. Anyone have any ideas if something has broken, or whether its pilot error? -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 10:35:47 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBC3E37B401 for ; Mon, 3 Mar 2003 10:35:45 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 178F743FD7 for ; Mon, 3 Mar 2003 10:35:45 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0393.cvx40-bradley.dialup.earthlink.net ([216.244.43.138] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18pums-0004tt-00; Mon, 03 Mar 2003 10:35:43 -0800 Message-ID: <3E63A031.E8CE8BD7@mindspring.com> Date: Mon, 03 Mar 2003 10:34:25 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Wayne Barnes Cc: current@freebsd.org Subject: Re: can't sshd into box] References: <20030303102221.A70601@klentaq.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4ba7617be80f43955a79b6d98a67a5b36a7ce0e8f8d31aa3f350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne Barnes wrote: > 4. There is one possibly relevant fact that I have not mentioned, > yet: > sysinstall cannot see the (motherboard?) ethernet port on this Dell > 2350. As FTP connection, it only offered dialup ppp or serial, etc. So I > put in a years-old SMC1211TX ethernet PCI card, and that was recognized > easily as rl0. > > On bootup, of the FTP-installed 5.0 system, only one NIC is > recognized, as rl0, and I only plugged the old PCI card with an ethernet > cord; so I don't think this is really causing my problem. > > I can connect and conduct ssh sessions outward (that's how I am typing > now), so this machine can receive packets at all. > > I just can't telnet or ssh into it. I haven't tried to install > apache, yet, but I wouldn't expect much until an ssh or telnet probe > works. It does ping just fine, both ways. ifconfig netstat -af inet We would also like the output of "ifconfig" or "ifconfig -a", whichever one dumps out all configured interfaces, from one of the working hosts on your network. At this point, it's likely either netmask or a bad ethernet card. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 10:42:37 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F16037B401 for ; Mon, 3 Mar 2003 10:42:32 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id C555A43F93 for ; Mon, 3 Mar 2003 10:42:28 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Mon, 3 Mar 2003 10:42:28 -0800 Received: from exodus.net ([165.193.27.35]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Mon, 3 Mar 2003 10:42:28 -0800 Message-ID: <3E63A156.5000001@exodus.net> Date: Mon, 03 Mar 2003 10:39:18 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021126 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Dustin Boontheekul Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD Bluetooth stuff References: <45258A4365C6B24A9832BFE224837D552B1295@sjdcex01.int.exodus.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Mar 2003 18:42:28.0183 (UTC) FILETIME=[A4032E70:01C2E1B4] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Dustin, >>1) compile and install hcidump from the snapshot's ports/ directory > > Recompiled and reinstalled. All went fine. good >>2) make sure you have clean setup, i.e. >> - run # rc.bluetooth stop >> - disconnect the device from the PC >> - reset mouse >> - connect device back to PC >> - run # rc.bluetooth start >> - in separate window run # hcidump -x >> - run # hccontrol -n hci inquiry >> - run # sdptool browse > > I followed this sequence. One thing to note is that the mouse tries it's > best to conserve power, so it only responds to any initial queries for a > few seconds after pressing the reset button. I don't know exactly how > long, but it's pretty short. Klausler makes a note of this on his site, > so it must have caused him a hiccup or two. hmmm... if your mouse drains batteries so fast for how you long can you use it? > Okay, here it is. Turns out I think my batteries ran out of juice, which > was causing some of the problems. I wasn't getting any response at all > after all sorts of resets so I tried seeing if I could find the keyboard > and it 'just worked'. I replaced the batteries and got a response from > hccontrol inquiry. Just in case replacing the batteries turned out to > reset it more than pressing the button I put the old batteries back in and > still got nothing. When the batteries 'die' the mouse still lights up > (it's optical), and apparently the radio connection goes first. Anyway, > without further adue here is the hcidump output: > # hcidump -x [ inquiry part skipped ] > < HCI Command: Create Connection(0x01|0x0005) plen 13 > A8 D6 7E F2 50 00 18 CC 02 00 C3 4B 01 > >>HCI Event: Command Status(0x0f) plen 4 > 00 01 05 04 > >>HCI Event: Connect Complete(0x03) plen 11 > 00 29 00 A8 D6 7E F2 50 00 01 00 baseband connection is now open > < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4 > 29 00 0F 00 > < ACL data: handle 0x0029 flags 0x02 dlen 12 > L2CAP(s): Connect req: psm 1 scid 0x0040 >>HCI Event: Number of Completed Packets(0x13) plen 5 > 01 29 00 01 00 >>HCI Event: Command Complete(0x0e) plen 6 > 01 0D 08 00 29 00 >>ACL data: handle 0x0029 flags 0x02 dlen 16 > L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 2 this is you PC adjusts link policy settings and request L2CAP connection on PSM 1 (which is SDP) >>ACL data: handle 0x0029 flags 0x02 dlen 16 > L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0 > < ACL data: handle 0x0029 flags 0x02 dlen 12 > L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0 >>HCI Event: Number of Completed Packets(0x13) plen 5 > 01 29 00 01 00 >>ACL data: handle 0x0029 flags 0x02 dlen 14 > L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 >>ACL data: handle 0x0029 flags 0x02 dlen 16 > L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4 > MTU 48 here your PC tries to configure L2CAP channel (incoming path) and mouse agrees. after that mouse tries to configure incoming L2CAP channel and sets incoming MTU to 48 bytes. so far no problems. >>HCI Event: QoS Setup Complete(0x0d) plen 21 > 00 29 00 00 01 00 00 00 00 00 00 00 00 F2 2B 00 00 FF FF FF > FF oh! i have never seen any device using this :) your mouse actually wants to set QoS (Quality Of Service). anyway the status is 00 - success, so no problem here. > < ACL data: handle 0x0029 flags 0x02 dlen 14 > L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 and this is your PC agress to use proposed L2CAP configuration. So L2CAP connection is open and there was no problem. > < ACL data: handle 0x0029 flags 0x02 dlen 24 > L2CAP(d): cid 0x40 len 20 [psm 1] > SDP SSA Req: tid 0x0 len 0xf > pat uuid-16 0x1002 (PubBrwsGrp) > max 0xffff > aid(s) 0x0000 - 0xffff > cont 00 > >>HCI Event: Number of Completed Packets(0x13) plen 5 > 01 29 00 01 00 >>HCI Event: Number of Completed Packets(0x13) plen 5 > 01 29 00 01 00 now sdptool sends SDP browse request to your mouse to figure out which services are available. >>ACL data: handle 0x0029 flags 0x02 dlen 14 > L2CAP(d): cid 0x40 len 10 [psm 1] > SDP SSA Rsp: tid 0x0 len 0x5 > cnt 0x2 > len 0x2 frm->len 0x1 n 0x0 > cont 00 ... and the mouse returns nothing back to us :( > < ACL data: handle 0x0029 flags 0x02 dlen 12 > L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040 >>HCI Event: Number of Completed Packets(0x13) plen 5 > 01 29 00 01 00 >>ACL data: handle 0x0029 flags 0x02 dlen 12 > L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040 and at this point sdptool is done and closes the L2CAP connection. bottom line: baseband + L2CAP works. you can talk to your mouse. SDP does not return anything. possible problems: 1) mouse does not fully implement SDP. it is assumed that you have to know "magic" PSM for interrupt and control channel on the mouse. 2) SDP interoperability problem one thing you could try is to ask mouse for the specific service, rather then for all services. you can do it by # sdptool search --bdaddr HID Note: HID is the service you looking for. BD_ADDR is the address of your mouse. >>do you have an open baseband connection? inquiry on the local deivce >>will not show remote devices that already connected to the local device. >>try to run >> >># hccontrol -n hci read_connection_list >> > Yes, this shows I have a connection to my mouse. that explains why moused does not respond to inquiry anymore. >>you can disconnect baseband connection by hand by typing >> >># hccontol -n hci disconnect >> >>BTW you can do >> >># hccontrol help >> >>and >> >># hccontrol help >> >>for more information >> > These give a lot more help than the man page. from the hccontrol(8) man page: command One of the supported commands (see below). Special command ``help'' can be used to obtain the list of all supported commands. To get more information about specific command use ``help command''. > I managed to get 'remote_name_request' to return 'Microsoft Mouse' > (yippee!), but I just arbitrarily chose and as 0. > I used 'read_clock_offset' to get the clock offset. What are these 2 > options and how would I properly find them? well, you have to read Bluetooth spec :) but i can tell you right now that in this case it is safe to use 0 for all of them :) Page Scan Mode 0 - is mandatory page scan mode Clock Offset - it is always safe to set this to 0. If you set it it *may* speed up page procedure. perhaps i should change hccontrol(8) so it will use defaults if user does not provide overrides. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 11:30: 1 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E09B37B401 for ; Mon, 3 Mar 2003 11:30:00 -0800 (PST) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77FD043FCB for ; Mon, 3 Mar 2003 11:29:59 -0800 (PST) (envelope-from trish@bsdunix.net) Received: from femme.sapphite.org (pcp02268182pcs.longhl01.md.comcast.net [68.50.99.190]) by mtaout07.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan 7 2003)) with ESMTP id <0HB6006IFU30GB@mtaout07.icomcast.net> for freebsd-current@FreeBSD.ORG; Mon, 03 Mar 2003 14:28:12 -0500 (EST) Received: from localhost (trish@localhost [127.0.0.1]) by femme.sapphite.org (8.12.6/8.12.6) with ESMTP id h23JSANv078304; Mon, 03 Mar 2003 14:28:11 -0500 (EST envelope-from trish@bsdunix.net) Date: Mon, 03 Mar 2003 14:28:10 -0500 (EST) From: Trish Lynch Subject: Re: hype(r)threading In-reply-to: <0bf901c2e18d$95bbb3e0$932a40c1@PHE> X-X-Sender: To: Petri Helenius Cc: freebsd-current@FreeBSD.ORG Message-id: <20030303142353.C830-100000@femme> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=X-UNKNOWN Content-transfer-encoding: QUOTED-PRINTABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 3 Mar 2003, Petri Helenius wrote: > > I seem to want to quite the opposite what other people would like to happ= en, > we have a supermicro P4DPR board with two Xeon=B4s. Since lately the kern= el seems to > want to launch the virtual cores regardless of BIOS setting of HyperThrea= ding being > [Disabled]. > > Any ideas how to disable the cores since our workload is does not benefit= from > having more than two cores in a machine. > > Pete > Currently, AFAIK, there is no way to do this. Depending on what you are doing you can increase performance slightly by setting machdep.cpu_idle_hlt=3D1 -Trish -- Trish Lynch=09=09=09=09=09 trish@bsdunix.net Ecartis Core Team =09=09=09 trish@listmistress.org EFNet IRC Operator @ efnet.demon.co.uk=09=09 AilleCat@EFNet EFNet IRC Operator/SysAdmin @ irc.dkom.at Aille_AT@EFNet Key fingerprint =3D 781D 2B47 AA4B FC88 B919 0CD6 26B2 1D62 6FC1 FF16 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 11:47:14 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C85A37B401 for ; Mon, 3 Mar 2003 11:47:12 -0800 (PST) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ABA843FAF for ; Mon, 3 Mar 2003 11:47:09 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from PHE (silver.he.iki.fi [193.64.42.241]) by silver.he.iki.fi (8.12.6/8.11.4) with SMTP id h23Jl3DT099527; Mon, 3 Mar 2003 21:47:04 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <0c9101c2e1bd$aa9a1b50$932a40c1@PHE> From: "Petri Helenius" To: "Trish Lynch" Cc: References: <20030303142353.C830-100000@femme> Subject: Re: hype(r)threading Date: Mon, 3 Mar 2003 21:47:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After some reading around I ended up putting a return; on top of the mptable_hyperthread_fixup function and my performance is back. Setting the sysctl helps some but it does not really fix the performance issues. I would like to make the suggestion of making the HT "fixup" maybe a default but allow disabling with a kernel variable? Pete On Mon, 3 Mar 2003, Petri Helenius wrote: > > I seem to want to quite the opposite what other people would like to happen, > we have a supermicro P4DPR board with two Xeon´s. Since lately the kernel seems to > want to launch the virtual cores regardless of BIOS setting of HyperThreading being > [Disabled]. > > Any ideas how to disable the cores since our workload is does not benefit from > having more than two cores in a machine. > > Pete > Currently, AFAIK, there is no way to do this. Depending on what you are doing you can increase performance slightly by setting machdep.cpu_idle_hlt=1 -Trish -- Trish Lynch trish@bsdunix.net Ecartis Core Team trish@listmistress.org EFNet IRC Operator @ efnet.demon.co.uk AilleCat@EFNet EFNet IRC Operator/SysAdmin @ irc.dkom.at Aille_AT@EFNet Key fingerprint = 781D 2B47 AA4B FC88 B919 0CD6 26B2 1D62 6FC1 FF16 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 11:49:14 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F305737B401 for ; Mon, 3 Mar 2003 11:49:11 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id D910443FBD for ; Mon, 3 Mar 2003 11:49:10 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 24104 invoked from network); 3 Mar 2003 19:49:15 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Mar 2003 19:49:15 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h23JkmhT042183; Mon, 3 Mar 2003 14:46:49 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030301200615.A63428@FreeBSD.org> Date: Mon, 03 Mar 2003 14:49:21 -0500 (EST) From: John Baldwin To: Juli Mallett Subject: Re: Possible patch for limiting APs at startup Cc: current@FreeBSD.org, Hiten Pandya Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 02-Mar-2003 Juli Mallett wrote: > * De: Hiten Pandya [ Data: 2003-03-01 ] > [ Subjecte: Possible patch for limiting APs at startup ] >> Hello. >> >> Just as the topic says, do you think this patch is good enough, or gets >> even close to it? I have tested the patch, and it seems to do it's job >> in the right way. Some might call it hackery, but it's better than >> nothing I would suppose. > > I think your use of "cpus" to refer to APs only is silly, and also that > overriding mp_naps instead of using a real cpus value and using it as > a bounds check akin to MAXCPU, is a bit of the wrong direction. As you > know, the following is my patch, and it does not work, but I think, > personally, the behaviour is saner, in theory at least :) You should set mp_maxcpus prior to the mp_naps test so it isn't left invalid in the common case. Also, this patch doesn't limit HT cpu's at all. I could have a 4 cpu system with HTT and maxcpus=2, and I will end up with 4 CPU's due to 2 logical CPU's per processor. Perhaps this is intentional? > %%% > Index: mp_machdep.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/i386/mp_machdep.c,v > retrieving revision 1.203 > diff -d -c -r1.203 mp_machdep.c > *** mp_machdep.c 24 Feb 2003 14:36:03 -0000 1.203 > --- mp_machdep.c 2 Mar 2003 00:22:58 -0000 > *************** > *** 249,254 **** > --- 249,259 ---- > /** XXX FIXME: what system files declare these??? */ > extern struct region_descriptor r_gdt, r_idt; > > + int mp_maxcpus = 0; /* max CPUs; not in BSS so it can be hacked. */ > + TUNABLE_INT("machdep.smp_max_cpus", &mp_maxcpus); > + SYSCTL_INT(_machdep, OID_AUTO, smp_max_cpus, CTLFLAG_RD, > + &mp_maxcpus, 1, "Maximum number of CPUs to use."); > + > int bsp_apic_ready = 0; /* flags useability of BSP apic */ > int mp_naps; /* # of Applications processors */ > int mp_nbusses; /* # of busses */ > *************** > *** 864,874 **** > } > } > > ! /* qualify the numbers */ > ! if (mp_naps > MAXCPU) { > printf("Warning: only using %d of %d available CPUs!\n", > ! MAXCPU, mp_naps); > ! mp_naps = MAXCPU; > } > > /* See if we need to fixup HT logical CPUs. */ > --- 869,881 ---- > } > } > > ! /* use the smallest number of requested CPUs or CPUs we support. */ > ! if ((mp_maxcpus > 0 && mp_naps > mp_maxcpus) || mp_naps > MAXCPU) { > ! if (mp_maxcpus <= 0) > ! mp_maxcpus = MAXCPU; > printf("Warning: only using %d of %d available CPUs!\n", > ! mp_maxcpus, mp_naps); > ! mp_naps = mp_maxcpus; > } > > /* See if we need to fixup HT logical CPUs. */ > %%% > > Thanx, > juli. > -- > Juli Mallett - AIM: BSDFlata -- IRC: juli on EFnet > OpenDarwin, Mono, FreeBSD Developer - ircd-hybrid Developer, EFnet addict > FreeBSD on MIPS-Anything on FreeBSD - /* XXX Nothing to see here, now. */ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 11:54:21 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 472AA37B401 for ; Mon, 3 Mar 2003 11:54:19 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D8743FE0 for ; Mon, 3 Mar 2003 11:54:18 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 25255 invoked from network); 3 Mar 2003 19:54:24 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Mar 2003 19:54:24 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h23JpxhT042206; Mon, 3 Mar 2003 14:51:59 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <0c9101c2e1bd$aa9a1b50$932a40c1@PHE> Date: Mon, 03 Mar 2003 14:54:32 -0500 (EST) From: John Baldwin To: Petri Helenius Subject: Re: hype(r)threading Cc: freebsd-current@FreeBSD.ORG, Trish Lynch Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 03-Mar-2003 Petri Helenius wrote: > After some reading around I ended up putting a return; on top of > the mptable_hyperthread_fixup function and my performance is back. > Setting the sysctl helps some but it does not really fix the performance issues. > > I would like to make the suggestion of making the HT "fixup" maybe a default > but allow disabling with a kernel variable? I'm going to add a 'HTT' kernel option that I'll backport prior to 4.8. > Pete > > On Mon, 3 Mar 2003, Petri Helenius wrote: > >> >> I seem to want to quite the opposite what other people would like to happen, >> we have a supermicro P4DPR board with two Xeon´s. Since lately the kernel seems to >> want to launch the virtual cores regardless of BIOS setting of HyperThreading being >> [Disabled]. >> >> Any ideas how to disable the cores since our workload is does not benefit from >> having more than two cores in a machine. >> >> Pete >> > > Currently, AFAIK, there is no way to do this. > > Depending on what you are doing you can increase performance slightly by > setting machdep.cpu_idle_hlt=1 > > -Trish > > -- > Trish Lynch trish@bsdunix.net > Ecartis Core Team trish@listmistress.org > EFNet IRC Operator @ efnet.demon.co.uk AilleCat@EFNet > EFNet IRC Operator/SysAdmin @ irc.dkom.at Aille_AT@EFNet > Key fingerprint = 781D 2B47 AA4B FC88 B919 0CD6 26B2 1D62 6FC1 FF16 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 11:56: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9874F37B401 for ; Mon, 3 Mar 2003 11:56:01 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D5043F3F for ; Mon, 3 Mar 2003 11:55:57 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a165.otenet.gr [212.205.215.165]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h23Jts5q002189 for ; Mon, 3 Mar 2003 21:55:55 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h23JZsAi001220 for ; Mon, 3 Mar 2003 21:35:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h23HJ58F018727; Mon, 3 Mar 2003 19:19:05 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 3 Mar 2003 19:19:05 +0200 From: Giorgos Keramidas To: Michal Mertl Cc: current@FreeBSD.org Subject: Re: potential for foot-shooting with KLD's Message-ID: <20030303171905.GC56386@gothmog.gr> References: <20030302153608.P44831@prg.traveller.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030302153608.P44831@prg.traveller.cz> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-03-02 17:34, Michal Mertl wrote: > Imagine you decided to go with modular kernel. You comment out 'device > random' in your kernel-config and place 'random_load="YES"' in > /boot/loader.conf. When you reboot and don't rebuild the kernel first, you > have your machine unbootable - at least in case you previously had acpi in > your kernel and acpi doesn't work without OS supplied dsdt (as in my > case) or you need acpi as a module or any other module. > > The way out is to boot from install CDROM, have fixit floppy, mount the > old root and remove the random.ko module. Which is pretty inconvenient, > when you don't have the medias handy. > > The problem is that I can't ask loader not to load some module. It doesn't > understand 'unset XX_load'. It doesn't work to say 'set XX_load="NO"' > either. The only way I found to make it not load the modules is to 'load > /boot/kernel/kernel;set module_path="";boot'. Unfortunately it doesn't > help me either because I need to load special acpi_dsdt.aml which isn't > then loaded either. How about `unset XX_load' ? - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 12: 3: 5 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46E4937B401; Mon, 3 Mar 2003 12:03:03 -0800 (PST) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0C2C43FA3; Mon, 3 Mar 2003 12:03:00 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from PHE (silver.he.iki.fi [193.64.42.241]) by silver.he.iki.fi (8.12.6/8.11.4) with SMTP id h23K2vDT001469; Mon, 3 Mar 2003 22:02:57 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <0c9f01c2e1bf$e2d4b870$932a40c1@PHE> From: "Petri Helenius" To: "John Baldwin" Cc: , "Trish Lynch" References: Subject: Re: hype(r)threading Date: Mon, 3 Mar 2003 22:02:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks, that´s greatly appreciated. Pete > > On 03-Mar-2003 Petri Helenius wrote: > > After some reading around I ended up putting a return; on top of > > the mptable_hyperthread_fixup function and my performance is back. > > Setting the sysctl helps some but it does not really fix the performance issues. > > > > I would like to make the suggestion of making the HT "fixup" maybe a default > > but allow disabling with a kernel variable? > > I'm going to add a 'HTT' kernel option that I'll backport prior to 4.8. > > > Pete > > > > On Mon, 3 Mar 2003, Petri Helenius wrote: > > > >> > >> I seem to want to quite the opposite what other people would like to happen, > >> we have a supermicro P4DPR board with two Xeon´s. Since lately the kernel seems to > >> want to launch the virtual cores regardless of BIOS setting of HyperThreading being > >> [Disabled]. > >> > >> Any ideas how to disable the cores since our workload is does not benefit from > >> having more than two cores in a machine. > >> > >> Pete > >> > > > > Currently, AFAIK, there is no way to do this. > > > > Depending on what you are doing you can increase performance slightly by > > setting machdep.cpu_idle_hlt=1 > > > > -Trish > > > > -- > > Trish Lynch trish@bsdunix.net > > Ecartis Core Team trish@listmistress.org > > EFNet IRC Operator @ efnet.demon.co.uk AilleCat@EFNet > > EFNet IRC Operator/SysAdmin @ irc.dkom.at Aille_AT@EFNet > > Key fingerprint = 781D 2B47 AA4B FC88 B919 0CD6 26B2 1D62 6FC1 FF16 > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 13: 6:35 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D91B37B401 for ; Mon, 3 Mar 2003 13:06:32 -0800 (PST) Received: from mail.math.okstate.edu (mail.math.okstate.edu [139.78.112.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37DC143FBD for ; Mon, 3 Mar 2003 13:06:28 -0800 (PST) (envelope-from dboonthe@math.okstate.edu) Received: from mail.math.okstate.edu (localhost [127.0.0.1]) by mail.math.okstate.edu (8.12.6/8.12.6) with ESMTP id h23L6ueN029486; Mon, 3 Mar 2003 15:06:56 -0600 (CST) Received: from localhost (dboonthe@localhost) by mail.math.okstate.edu (8.12.6/8.12.6/Submit) with ESMTP id h23L6uXS002460; Mon, 3 Mar 2003 15:06:56 -0600 (CST) X-Authentication-Warning: mail.math.okstate.edu: dboonthe owned process doing -bs Date: Mon, 3 Mar 2003 15:06:55 -0600 (CST) From: Dustin Boontheekul To: Maksim Yevmenkin Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD Bluetooth stuff In-Reply-To: <3E63A156.5000001@exodus.net> Message-ID: References: <45258A4365C6B24A9832BFE224837D552B1295@sjdcex01.int.exodus.net> <3E63A156.5000001@exodus.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RAVMilter-Version: 8.4.2(snapshot 20021218) (mail.math.okstate.edu) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Max, This is probably where I'm going to have to stop for the week to make sure I get my classwork done, you've been a wonderful guide. I can't wait to get started working on this some more. > hmmm... if your mouse drains batteries so fast for how you long > can you use it? Actually, the battery life sucks for a wireless mouse. I guess both the RF part and the Bluetooth protocol eat up a lot of power. It's my understanding that RF mice tend to have shorter battery life than IR mice anyway, and that adding the Bluetooth chip must use more. I can get about a month out of a set of batteries. During extra high use this drops as low as 2 weeks. I read a review on activewin.com and the editor got a month out of it (and he's an editor, so I magine he uses his machine a lot). The keyboard batteries last quite a bit longer (1.5 months minimum). A friend of mine has an IR keyboard and mouse that have had the same batteries for 6 months, so going bluetooth isn't just more costly up front, but also in maintanence costs. > >>ACL data: handle 0x0029 flags 0x02 dlen 14 > > L2CAP(d): cid 0x40 len 10 [psm 1] > > SDP SSA Rsp: tid 0x0 len 0x5 > > cnt 0x2 > > len 0x2 frm->len 0x1 n 0x0 > > cont 00 > > ... and the mouse returns nothing back to us :( That sucks. Well, as long as we can get it working in the end, no big deal. > bottom line: baseband + L2CAP works. you can talk to your > mouse. SDP does not return anything. possible problems: Good. > 1) mouse does not fully implement SDP. it is assumed that you have > to know "magic" PSM for interrupt and control channel on the mouse. > > 2) SDP interoperability problem Either way at least we know somebody has gotten it working. > one thing you could try is to ask mouse for the specific service, > rather then for all services. you can do it by > > # sdptool search --bdaddr HID Bingo. Nice response from the mouse. # sdptool search --bdaddr $BT_ADDR HID Searching for HID on 00:50:F2:7E:D6:A8 ... Service Name: Wireless IntelliMouse Explorer for Bluetooth Service Description: Five Button Mouse Service Provider: Microsoft Service RecHandle: 0x10000 Service Class ID List: "" (0x1124) Protocol Descriptor List: "L2CAP" (0x0100) PSM: 17 "" (0x0011) Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "" (0x1124) Version: 0x0100 > well, you have to read Bluetooth spec :) but i can tell you right now > that in this case it is safe to use 0 for all of them :) Yup. I've downloaded it from the bluetooth SIG's website, just haven't extracted it for a look yet. Also, my bluetooth enabled phone came in today (Ericsson R520m). I'm gonna check out which firmware revision it is and (if needed) send it off for an update. Then I can start playing around with a more "conventional" Bluetooth device to learn the ins and outs better. Thanks again, Dustin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 13:24:44 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 613BC37B401 for ; Mon, 3 Mar 2003 13:24:43 -0800 (PST) Received: from mail1.luukku.com (ultra45.almamedia.fi [193.209.83.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 309F243F75 for ; Mon, 3 Mar 2003 13:24:42 -0800 (PST) (envelope-from atte.peltomaki@iki.fi) Received: from kameli.org (ip213-185-39-29.laajakaista.mtv3.fi [213.185.39.29]) by mail1.luukku.com (Postfix) with SMTP id 3C1981BA44A for ; Mon, 3 Mar 2003 23:24:33 +0200 (EET) Received: by kameli.org (sSMTP sendmail emulation); Mon, 3 Mar 2003 23:27:09 +0200 Date: Mon, 3 Mar 2003 23:27:09 +0200 From: "Atte Peltomaki" To: freebsd-current@freebsd.org Subject: strace and CURRENT? Message-ID: <20030303212709.GA9509@naama> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Installed from ports, I get strace: open("/proc/...", ...): No such file or directory trouble opening proc file Clues? Atte Peltomäki http://kameli.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 13:26:28 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF43137B401 for ; Mon, 3 Mar 2003 13:26:26 -0800 (PST) Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACA2843FBD for ; Mon, 3 Mar 2003 13:26:25 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by peitho.fxp.org (Postfix, from userid 1501) id 2FCD2137AF; Mon, 3 Mar 2003 16:26:24 -0500 (EST) Date: Mon, 3 Mar 2003 16:26:24 -0500 From: Chris Faulhaber To: Atte Peltomaki Cc: freebsd-current@freebsd.org Subject: Re: strace and CURRENT? Message-ID: <20030303212623.GA84560@peitho.fxp.org> References: <20030303212709.GA9509@naama> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20030303212709.GA9509@naama> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 03, 2003 at 11:27:09PM +0200, Atte Peltomaki wrote: > Installed from ports, I get=20 >=20 > strace: open("/proc/...", ...): No such file or directory > trouble opening proc file >=20 Try mounting the /proc fs. --=20 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) Comment: FreeBSD: The Power To Serve iD8DBQE+Y8h/ObaG4P6BelARArMJAKCB35PlgUdmMci2K4W89NEysM76zACfV91g imejxC/0pZXCEYMK41YJN3o= =Rqbe -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 13:59:12 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FC8837B401 for ; Mon, 3 Mar 2003 13:59:10 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6633443FDF for ; Mon, 3 Mar 2003 13:59:09 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Mon, 3 Mar 2003 13:59:09 -0800 Received: from exodus.net ([165.193.27.35]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Mon, 3 Mar 2003 13:59:08 -0800 Message-ID: <3E63CF6F.8000303@exodus.net> Date: Mon, 03 Mar 2003 13:55:59 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021126 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Dustin Boontheekul Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD Bluetooth stuff References: <45258A4365C6B24A9832BFE224837D552B1295@sjdcex01.int.exodus.net> <3E63A156.5000001@exodus.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Mar 2003 21:59:08.0870 (UTC) FILETIME=[1DC51E60:01C2E1D0] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dustin, > This is probably where I'm going to have to stop for the week to make sure > I get my classwork done, you've been a wonderful guide. I can't wait to > get started working on this some more. no problem. thanks for your time :) [...] >>bottom line: baseband + L2CAP works. you can talk to your >>mouse. SDP does not return anything. possible problems: > > Good. > >>1) mouse does not fully implement SDP. it is assumed that you have >> to know "magic" PSM for interrupt and control channel on the mouse. >> >>2) SDP interoperability problem > > Either way at least we know somebody has gotten it working. well, then we will get it working too :) >>one thing you could try is to ask mouse for the specific service, >>rather then for all services. you can do it by >> >># sdptool search --bdaddr HID > > Bingo. Nice response from the mouse. errr... those M$ bastards :) > # sdptool search --bdaddr $BT_ADDR HID > Searching for HID on 00:50:F2:7E:D6:A8 ... > Service Name: Wireless IntelliMouse Explorer for Bluetooth > Service Description: Five Button Mouse > Service Provider: Microsoft > Service RecHandle: 0x10000 > Service Class ID List: > "" (0x1124) > Protocol Descriptor List: > "L2CAP" (0x0100) > PSM: 17 > "" (0x0011) > Language Base Attr List: > code_ISO639: 0x656e > encoding: 0x6a > base_offset: 0x100 > Profile Descriptor List: > "" (0x1124) > Version: 0x0100 fine. we now see PSM 17. i guess it is a control channel. but where another (interrupt) one? well, its spec reading time again :) > Also, my bluetooth enabled phone came in today (Ericsson R520m). I'm > gonna check out which firmware revision it is and (if needed) send it off > for an update. Then I can start playing around with a more "conventional" > Bluetooth device to learn the ins and outs better. cool :) thanks max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 14:34: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96C4637B401 for ; Mon, 3 Mar 2003 14:34:01 -0800 (PST) Received: from Stalker.alfacom.net (Stalker.Alfacom.net [193.108.124.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id BADB743FBF for ; Mon, 3 Mar 2003 14:33:57 -0800 (PST) (envelope-from vkushnir@alfacom.net) Received: from kushnir1.kiev.ua (124-140.dialup.Alfacom.net [193.108.124.140]) by Stalker.alfacom.net (8.12.6/8.12.6) with ESMTP id h23MXo0j007524; Tue, 4 Mar 2003 00:33:52 +0200 (EET) Received: from kushnir1.kiev.ua (localhost [127.0.0.1]) by kushnir1.kiev.ua (8.12.7/8.12.6) with ESMTP id h23MXqE3001279; Tue, 4 Mar 2003 00:33:52 +0200 (EET) (envelope-from vkushnir@alfacom.net) Received: from localhost (vkushnir@localhost) by kushnir1.kiev.ua (8.12.7/8.12.7/Submit) with ESMTP id h23MXo9x001272; Tue, 4 Mar 2003 00:33:52 +0200 (EET) X-Authentication-Warning: kushnir1.kiev.ua: vkushnir owned process doing -bs Date: Tue, 4 Mar 2003 00:33:48 +0200 (EET) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: Philipp Mergenthaler Cc: current@FreeBSD.ORG Subject: Re: -CURRENT + cvs = panic In-Reply-To: <20030303100122.GA10188@rz.uni-karlsruhe.de> Message-ID: <20030304003148.K636@kushnir1.kiev.ua> References: <20030303011726.R623@kushnir1.kiev.ua> <20030303100122.GA10188@rz.uni-karlsruhe.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 3 Mar 2003, Philipp Mergenthaler wrote: > On Mon, Mar 03, 2003 at 01:23:20AM +0200, Vladimir Kushnir wrote: > > Practically 100% repeatable: after some CVS updates (not sure but it > > seems after another high HD load as well) -CURRENT panics with > > bwrite: buffer is not busy > > (in the prefious message I've attached gdb trace and so on, and nothing > > has changed so far). > > It goes on for at least several days now. > > In that gdb trace, I think the panic was only an aftereffect and > the trouble started here: > #15 0xc02bc1c8 in calltrap () at {standard input}:96 > #16 0xc021fd79 in tcp_input (m=0xc0d49c30, off0=20) > at /usr/src/sys/netinet/tcp_input.c:2324 > > Do you have version 1.198 of sys/netinet/tcp_input.c? I haven't had > that panic since then (i.e. for the last four days). > > Bye, Philipp > Yes: src/sys/netinet/tcp_input.c,v 1.198 2003/02/26 18:20:41 Doesn't help, though. Of all "cvs up ..." or "cvsup ..." there was 1 or 2 that did not panic :-( Regards, Vladimir To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 14:56:53 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E80CA37B401 for ; Mon, 3 Mar 2003 14:56:52 -0800 (PST) Received: from smak.uberduper.com (12-213-188-143.client.attbi.com [12.213.188.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76BC643FA3 for ; Mon, 3 Mar 2003 14:56:52 -0800 (PST) (envelope-from james@uberduper.com) Received: from bishop (unknown [208.33.24.5]) by smak.uberduper.com (Postfix) with ESMTP id 605139CBE7 for ; Mon, 3 Mar 2003 14:57:54 -0800 (PST) Date: Mon, 3 Mar 2003 14:57:12 -0800 From: James Satterfield To: current@freebsd.org Subject: current and vmware2 Message-Id: <20030303145712.2095e675.james@uberduper.com> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to run vmware2 on a recent -current. I'm getting these when trying to load the vmmon_up module. kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon_up.ko: No such file or directory Also making an appearance in dmesg is link_elf: symbol cdevsw_add undefined. Current from today. Using linux_base-7.1_2. Linux module is loaded. Any suggestions would be appreciated. James. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 15:15:56 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D0D937B401 for ; Mon, 3 Mar 2003 15:15:54 -0800 (PST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F6C43F85 for ; Mon, 3 Mar 2003 15:15:54 -0800 (PST) (envelope-from mbsd@pacbell.net) Received: from atlas ([64.168.26.164]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HB700IRK4M9NS@mta6.snfc21.pbi.net> for current@FreeBSD.ORG; Mon, 03 Mar 2003 15:15:45 -0800 (PST) Date: Mon, 03 Mar 2003 15:15:45 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= Subject: Re: -CURRENT + cvs = panic In-reply-to: <20030304003148.K636@kushnir1.kiev.ua> X-X-Sender: mikko@atlas.home To: current@FreeBSD.ORG Message-id: <20030303150427.M6008-100000@atlas.home> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 4 Mar 2003, Vladimir Kushnir wrote: > On Mon, 3 Mar 2003, Philipp Mergenthaler wrote: > > > On Mon, Mar 03, 2003 at 01:23:20AM +0200, Vladimir Kushnir wrote: > > > Practically 100% repeatable: after some CVS updates (not sure but it > > > seems after another high HD load as well) -CURRENT panics with > > > bwrite: buffer is not busy > > > (in the prefious message I've attached gdb trace and so on, and nothing > > > has changed so far). > > > It goes on for at least several days now. > > > > In that gdb trace, I think the panic was only an aftereffect and > > the trouble started here: > > #15 0xc02bc1c8 in calltrap () at {standard input}:96 > > #16 0xc021fd79 in tcp_input (m=0xc0d49c30, off0=20) > > at /usr/src/sys/netinet/tcp_input.c:2324 > > > > Do you have version 1.198 of sys/netinet/tcp_input.c? I haven't had > > that panic since then (i.e. for the last four days). > > > > Bye, Philipp > > > Yes: > src/sys/netinet/tcp_input.c,v 1.198 2003/02/26 18:20:41 > Doesn't help, though. Of all "cvs up ..." or "cvsup ..." there was 1 or 2 > that did not panic :-( Just to chime in: I get these panics almost daily on my laptop since the last update (including tcp_input.c 1.198). They used to happen before as well, but less frequently. Sadly, I no longer seem to get crashdumps, but back when I did get them, the code path looked the same (trap somewhere in tcp_input). The crashes can happen at any time, even under very light load and are invariably preceeded by the mouse freezing up, then a flurry of error messages like: psmintr: delay too long; resetting byte count psmintr: out of sync (0000 != 0080). psmintr: discard a byte (1). psmintr: delay too long; resetting byte count psmintr: out of sync (0000 != 0080). psmintr: discard a byte (1). Then the mouse recovers, but after that it looks like almost any network activity will trigger a panic. WITNESS does not print anything. $.02, /Mikko (Since the d*mn ACPI does not work anyway, I predict a "downgrade" to 4.8 in the near future...) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 15:15:58 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E7537B405 for ; Mon, 3 Mar 2003 15:15:55 -0800 (PST) Received: from smak.uberduper.com (12-213-188-143.client.attbi.com [12.213.188.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE18F43F85 for ; Mon, 3 Mar 2003 15:15:54 -0800 (PST) (envelope-from james@uberduper.com) Received: from bishop (unknown [208.33.24.5]) by smak.uberduper.com (Postfix) with ESMTP id 4C99E9BB0B; Mon, 3 Mar 2003 15:17:02 -0800 (PST) Date: Mon, 3 Mar 2003 15:16:19 -0800 From: James Satterfield To: James Satterfield Cc: current@FreeBSD.ORG Subject: Re: current and vmware2 Message-Id: <20030303151619.77273574.james@uberduper.com> In-Reply-To: <20030303145712.2095e675.james@uberduper.com> References: <20030303145712.2095e675.james@uberduper.com> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG By the way... /usr/local/lib/vmware/lib/modules/vmmon_up.ko does exist. James. On Mon, 3 Mar 2003 14:57:12 -0800 James Satterfield wrote: > I'm trying to run vmware2 on a recent -current. I'm getting these when trying to load the vmmon_up module. > kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon_up.ko: No such file or directory > Also making an appearance in dmesg is link_elf: symbol cdevsw_add undefined. > Current from today. Using linux_base-7.1_2. > Linux module is loaded. > > Any suggestions would be appreciated. > > James. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 15:36:44 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1D7737B401; Mon, 3 Mar 2003 15:36:43 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0134743F3F; Mon, 3 Mar 2003 15:36:43 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.8/8.12.8) with ESMTP id h23NagG1028885 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 3 Mar 2003 18:36:42 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h23Nab871910; Mon, 3 Mar 2003 18:36:37 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15971.59141.326652.334367@grasshopper.cs.duke.edu> Date: Mon, 3 Mar 2003 18:36:37 -0500 (EST) To: jhb@freebsd.org Cc: freebsd-current@freebsd.org Subject: witness_get: witness exhausted? X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm developing a character driver which tracks a lot of state on a per-open basis. I've got several mutexes in there which are initialzed at open, and destroyed at close. After a few dozen opens, witness seems to croak with: witness_get: witness exhausted Am I leaking something? Or is the witness code? I looked at subr_witness.c, and I don't see witness_free() being called from witness_destroy(). There's probably some design constraint that I don't understand. If the fault is with the witness code, can it be fixed? FWIW, Witness (and the FreeBSD debugging environment in general) is why I've gotten approval to co-develop this driver on FreeBSD (in addition to linux). Its already caught several locking bugs. Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 15:43:34 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B16F737B405 for ; Mon, 3 Mar 2003 15:43:31 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4883443F93 for ; Mon, 3 Mar 2003 15:43:30 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg) with ESMTP id h23Nfp9t068426; Tue, 4 Mar 2003 00:41:51 +0100 (CET) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg/submit) with ESMTP id h23NfplX068423; Tue, 4 Mar 2003 00:41:51 +0100 (CET) Date: Tue, 4 Mar 2003 00:41:51 +0100 (CET) From: Michal Mertl To: Giorgos Keramidas Cc: current@FreeBSD.org Subject: Re: potential for foot-shooting with KLD's In-Reply-To: <20030303171905.GC56386@gothmog.gr> Message-ID: <20030304004124.B68258@prg.traveller.cz> References: <20030302153608.P44831@prg.traveller.cz> <20030303171905.GC56386@gothmog.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > How about `unset XX_load' ? It works only for acpi. -- Michal Mertl mime@traveller.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Mar 3 16:36:18 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9763937B401 for ; Mon, 3 Mar 2003 16:36:15 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1962143FDD for ; Mon, 3 Mar 2003 16:36:14 -0800 (PST) (envelope-from huang@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id 04D0938CB28 for ; Tue, 4 Mar 2003 08:36:09 +0800 (CST) Message-ID: <3E63F4F8.2080602@gddsn.org.cn> Date: Tue, 04 Mar 2003 08:36:08 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.2.1) Gecko/20030213 X-Accept-Language: zh-cn, zh-tw, en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: ATA unable to map interrupt Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, I can't boot recent CURRENT on PCM-5823. Is this the problem of ATA driver? Copyright (c) 1992-2003 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 SBOX #0: Sun Mar 2 12:21:09 GMT 2003 root@hwh.gddsn.org.cn:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ab2000. Preloaded mfs_root "/boot/mfsroot" at 0xc0ab20a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 299237489 Hz CPU: Cyrix GXm (299.24-MHz 586-class CPU) Origin = "CyrixInstead" Id = 0x540 DIR=0x8244 Stepping=8 Revision=2 real memory = 131596288 (125 MB) avail memory = 116523008 (111 MB) Allocating major#253 to "net" Allocating major#252 to "pci" md0: Preloaded image 4423680 bytes at 0xc0678210 npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 3 entries at 0xc00fd9b0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 fxp0: port 0xe000-0xe03f mem 0xe2020000-0xe203ffff,0xe2040000-0xe2040fff irq 15 at device 11.0 on pci0 fxp0: Ethernet address 00:d0:c9:53:47:17 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xe400-0xe43f mem 0xe2000000-0xe201ffff,0xe2041000-0xe2041fff irq 11 at device 12.0 on pci0 fxp1: Ethernet address 00:d0:c9:53:47:18 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 18.0 on pci0 isa0: on isab0 pci0: at device 18.1 (no driver attached) atapci0: port 0xf000-0xf00f at device 18.2 on pci0 atapci0: unable to map interrupt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pci0: at device 18.3 (no driver attached) pci0: at device 18.4 (no driver attached) ohci0: mem 0xe2045000-0xe2045fff irq 15 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered orm0: