From owner-freebsd-stable Sun Jun 23 0:22:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 990C937B407 for ; Sun, 23 Jun 2002 00:22:02 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for ; Sun, 23 Jun 2002 00:22:02 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: stable@FreeBSD.ORG Date: Sun, 23 Jun 2002 00:22:02 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Serial console does not work at >9600 bps, other issues Reply-To: pjklist@ekahuna.com In-reply-to: <3D0F3858.24497.18675BCE@localhost> References: X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020623072202277.AAA707@empty1.ekahuna.com@pc02.ekahuna.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [I am re-posting this to -stable (from -questions) because it appears likely that this functionality broke sometime between 4.0 and 4.5] On 18 Jun 2002, at 13:40, Corey Snow boldly uttered: > On 17 Jun 2002, at 20:35, djf2 wrote: > > > On Mon, 17 Jun 2002, Philip J. Koenig wrote: > > > > > I see another factor, looking through the handbook - if you're trying > > > to get a login prompt, you have to tell the getty on that port what > > > speed you want, ie in the /etc/ttys file. Did you do that? (Handbook > > > section 15.6.4.4) > > > > > > > > > Phil > > > > > > > Yup. I can access the console just fine at 9600 baud. I'm just > > trying to increase that speed. The documentation makes it seem like its > > possible, but I have yet to get the serial port to use any other speed. > > > > I've been having the same problem. I tried everything I could think > of. The only other thing I can think of to try is to use a different > terminal program. However, since I can use ssh to get into the box, I > don't worry too much about a 9600 baud serial console. It's > irritating, but not hugely so. > > I suppose it could also be related to the ancient motherboard my > headless box runs on. It's an old 486 DX2/66 and may not do well at > higher COM port speeds. I finally got the serial console working on the 2 boxes that had been laughing at me. This is why it made me crazy: #1: The Intel L440GX+ SMP board has its COM1 and COM2 connectors REVERSED. For some incredibly dumb reason, COM1 comes out of the right-hand connector, and COM2 out of the left-hand connector. #2: The /boot.config option "-D" DOES NOT WORK. I had been using this instead of "-h" in the hopes that if the only active console was not working, I could use the other one. Well I have discovered on 2 different boxes that all I get if I set this option is a single "\" character at the beginning of the boot process, then nothing until the getty runs and gives a login prompt. "-h" works fine to toggle the serial console on from the default vga console. FWIW, the "-P" option also works fine, determining which console to make active depending on whether a keyboard is installed at boot time. #3: As Corey Snow observed, despite going through all the recommended steps, the serial console refuses to budge from 9600 bps. I only tried making a modest change to 19200, which resulted in nothing but garbage during the boot sequence, until the getty launched with the login prompt, which appeared to run fine at 19200. Going back to 9600 on my terminal gave me normal output. I used as my latest reference for configuring the serial console one of the excellent (although temporarily not being updated) documents from www.mostgraveconcern.com/freebsd. I have found those 'cheatsheets' to be invaluable on many occasions. Clearly the prescribed procedure must have worked at one time, because those documents are based on his personal experience. I suspect sometime during the 4.x release cycle, the code got broken. The only issue I take with the abovementioned document on the serial console is his un-notated usage of "disklabel -B wd0" which is A) older syntax for ATA disks and B) not recommended according to disklabel docs unless you have a "dangerously dedicated" disk. In my case I specified my FreeBSD slice, rather than the whole disk. (I usually install a small MSDOS slice as the first partition.) Hope it helps, and always interested in other datapoints. Phil -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 0:48:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.deltanet.com (mail.deltanet.com [216.237.144.132]) by hub.freebsd.org (Postfix) with ESMTP id 7E2D537B400 for ; Sun, 23 Jun 2002 00:48:48 -0700 (PDT) Received: from mammoth.eat.frenchfries.net (da001d0053.lax-ca.osd.concentric.net [64.0.144.54]) by mail.deltanet.com (8.11.6/8.11.6) with ESMTP id g5N7OcO12826 for ; Sun, 23 Jun 2002 00:24:39 -0700 Received: by mammoth.eat.frenchfries.net (Postfix, from userid 1000) id E340B514C; Sun, 23 Jun 2002 00:47:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mammoth.eat.frenchfries.net (Postfix) with ESMTP id E07AE49F8; Sun, 23 Jun 2002 00:47:30 -0700 (PDT) Date: Sun, 23 Jun 2002 00:47:30 -0700 (PDT) From: Paul Herman X-X-Sender: pherman@mammoth.eat.frenchfries.net To: "Geoffrey C. Speicher" Cc: "Matthew D. Fuller" , , Matt Simerson Subject: Re: bug in pw, -STABLE [patch] In-Reply-To: <20020622180011.V80651-100000@sea-incorporated.com> Message-ID: <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, Geoffrey C. Speicher wrote: > DESCRIPTION > pid_begin() will check for existence of the pid file named > _path_, and if it exists, determine whether the process whose > pid is contained therein is still running. > > [...] That's nice and all, but you really are trying to solve the wrong problem here. Remember, you want to lock a particular file and not an entire process. (Think: concurrent pw(8)s with different -V directories.) Keep it simple. Do what you mean. If you want to make changes to /etc/master.passwd then open(2) /etc/master.passwd with O_EXLOCK. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 1: 6:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by hub.freebsd.org (Postfix) with ESMTP id BF15D37B400 for ; Sun, 23 Jun 2002 01:06:33 -0700 (PDT) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g5N7BUB15811; Sun, 23 Jun 2002 02:11:31 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 100) id 882F81F02; Sun, 23 Jun 2002 03:06:29 -0500 (CDT) Date: Sun, 23 Jun 2002 03:06:29 -0500 From: "Matthew D. Fuller" To: Paul Herman Cc: "Geoffrey C. Speicher" , freebsd-stable@FreeBSD.ORG, Matt Simerson Subject: Re: bug in pw, -STABLE [patch] Message-ID: <20020623080629.GB40762@over-yonder.net> References: <20020622180011.V80651-100000@sea-incorporated.com> <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 12:47:30AM -0700 I heard the voice of Paul Herman, and lo! it spake thus: > > Keep it simple. Do what you mean. If you want to make changes to > /etc/master.passwd then open(2) /etc/master.passwd with O_EXLOCK. The point being (backing up to the start of the discussion a few months ago) that that doesn't work when master.passwd changes as part of the process. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 1:49:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id DAE0037B403 for ; Sun, 23 Jun 2002 01:49:15 -0700 (PDT) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.11.6/8.11.6) with ESMTP id g5N8nD091775; Sun, 23 Jun 2002 10:49:13 +0200 (CEST) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g5N8n79014298201; Sun, 23 Jun 2002 10:49:07 +0200 (MES) Date: Sun, 23 Jun 2002 10:51:01 +0200 (CEST) From: Martin Blapp To: "Marc G. Fournier" Cc: David Greenman-Lawrence , "bright@mu.org" , Subject: Re: Apache + threads under FreeBSD ... In-Reply-To: <20020623000914.M20796-100000@mail1.hub.org> Message-ID: <20020623104450.J550-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I see something strange here ... If I ktrace the two existing threads, I see: 1174 httpd RET setuid 0 1174 httpd CALL accept(0xe,0xbfbffb0c,0xbfbffaf4) 1174 httpd RET accept -1 errno 35 Resource temporarily unavailable 1174 httpd CALL poll(0x80c5000,0x1,0) 1174 httpd RET poll 0 1174 httpd CALL poll(0x80c5000,0x2,0xffffffff) Accept is not happy. If I try to connect, there is no more output. Something is blocked here. I see one worker thread, and the master thread. root 1173 0.0 0.4 5804 3988 ?? Is 10:38AM 0:00.02 httpd www 1174 0.0 0.4 5804 4024 ?? I 10:38AM 0:00.00 httpd There are some comments here in the apache CHANGELOG: *) Modify the worker MPM to not accept() new connections until there is an available worker thread. This prevents queued connections from starving for processing time while long-running connections were hogging all the available threads. [Aaron Bannert] *) worker MPM: Fix a situation where a child exited without releasing the accept mutex. Depending on the OS and mutex mechanism this could result in a hang. [Jeff Trawick] *) Clear the output socket descriptor in unixd_accept() to make sure we don't supply a bogus socket to the caller if the accept fails. This caused problems with the worker MPM, which tried to process the returned socket if it was non-NULL. [Brian Pane] *) Allow modules that add sockets to the ap_listeners list to define the function that should be used to accept on that socket. Each MPM can define their own function to use for the accept function with the MPM_ACCEPT_FUNC macro. This also abstracts out all of the Unix accept error handling logic, which has become out of synch across Unix MPMs. [Ryan Bloom] *) Win32: Prevent listening sockets from being inherited by the Apache child process, CGI scripts, rotatelog process etc. If the Apache child process segfaults, any processes that the child started are not reaped. Prior to this fix, these processes inherited the listening sockets which sometimes prevented the restarted Apache child process from accepting connections (ie, the server would hang). [Bill Stoddard I guess this is a bug in apache we need to track down. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 1:56:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.e-complex.ru (L180.UT.net.ru [212.220.225.180]) by hub.freebsd.org (Postfix) with ESMTP id 32B4137B410; Sun, 23 Jun 2002 01:55:58 -0700 (PDT) Received: from 127.0.0.1 (cj [192.168.2.51]) by www.e-complex.ru (8.11.6/8.11.6) with ESMTP id g5N98qM07589; Sun, 23 Jun 2002 15:08:52 +0600 (YEKST) (envelope-from vadim@e-complex.ru) Date: Sun, 23 Jun 2002 15:01:39 +0600 From: vadim@e-complex.ru X-Mailer: The Bat! (v1.51) UNREG / CD5BF9353B3B7091 Reply-To: vadim@e-complex.ru X-Priority: 3 (Normal) Message-ID: <1577698468.20020623150139@e-complex.ru> To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: File system failure! URGENT Help needed! MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All! After adding new drive to system 2 of old drives was installed on one cable, and (by fatal flaw) both as slave. And after FBSD is booted it writed identical information onto both of that drivers simultaneously. As a result both filesystems is down. After that fsck was runed... and now very important data is lost. is was from words of the system administrator. Is it possible to recover data? I understand what I give you very small information, but it is all of I know. there is an example: newserver# ls /backup/ Distr Profiles all buh home pto smeta newserver# ls -i /backup/ ls: all: Bad file descriptor ls: buh: Bad file descriptor ls: smeta: Bad file descriptor 6007573 Distr 14348288 Profiles 7936 home 12054848 pto It is obvious, that the part of inodes was lost. How can we restore it? May be, it is possible to recover that by info what is in the files? Thank you in advance, and sorry for a bad English. Vl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 2:44:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from moya.lambermont.dyndns.org (e165253.upc-e.chello.nl [213.93.165.253]) by hub.freebsd.org (Postfix) with ESMTP id DD6F437B400; Sun, 23 Jun 2002 02:44:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by moya.lambermont.dyndns.org (Postfix) with ESMTP id 0143C3640C; Sun, 23 Jun 2002 11:44:08 +0200 (CEST) Received: by moya.lambermont.dyndns.org (Postfix, from userid 1001) id EAEB936409; Sun, 23 Jun 2002 11:44:05 +0200 (CEST) Date: Sun, 23 Jun 2002 11:44:05 +0200 To: vadim@e-complex.ru Cc: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Re: File system failure! URGENT Help needed! Message-ID: <20020623114405.A42706@moya.lambermont.dyndns.org> References: <1577698468.20020623150139@e-complex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1577698468.20020623150139@e-complex.ru>; from vadim@e-complex.ru on Sun, Jun 23, 2002 at 03:01:39PM +0600 From: hans@lambermont.dyndns.org (Hans Lambermont) X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG vadim@e-complex.ru wrote: ... > booted it writed identical information onto both of that drivers ... > It is obvious, that the part of inodes was lost. How can we restore > it? May be, it is possible to recover that by info what is in the > files? I leave the inode magic to someone else, but for your filedata; I'd start with making a binary file copy of the whole drive (dd using raw device) so that you can dig trough it, maybe even copy the data parts that you need from it. If you have a spare drive that is exactly the same type you could make a binary copy of the disk to it, and don't need to worry about making the prolem worse while recovering the data with inode magic. Hope this helps you a bit. Hans Lambermont -- http://lambermont.webhop.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 2:58: 0 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.e-complex.ru (L180.UT.net.ru [212.220.225.180]) by hub.freebsd.org (Postfix) with ESMTP id 0D28C37B400; Sun, 23 Jun 2002 02:57:40 -0700 (PDT) Received: from 127.0.0.1 (cj [192.168.2.51]) by www.e-complex.ru (8.11.6/8.11.6) with ESMTP id g5NAATM07918; Sun, 23 Jun 2002 16:10:30 +0600 (YEKST) (envelope-from vadim@e-complex.ru) Date: Sun, 23 Jun 2002 16:03:15 +0600 From: vadim@e-complex.ru X-Mailer: The Bat! (v1.51) UNREG / CD5BF9353B3B7091 Reply-To: vadim@e-complex.ru X-Priority: 3 (Normal) Message-ID: <5711394421.20020623160315@e-complex.ru> To: hans@lambermont.dyndns.org ((Hans Lambermont)) Cc: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Re[2]: File system failure! URGENT Help needed! In-Reply-To: <20020623114405.A42706@moya.lambermont.dyndns.org> References: <1577698468.20020623150139@e-complex.ru> <20020623114405.A42706@moya.lambermont.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG HL> If you have a spare drive that is exactly the same type you could make a HL> binary copy of the disk to it, and don't need to worry about making the HL> prolem worse while recovering the data with inode magic. Yes, of course, I did it. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 3:17:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 256D937B43F for ; Sun, 23 Jun 2002 03:17:19 -0700 (PDT) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020623101717.EZDZ4626.mta02-svc.ntlworld.com@lungfish.ntlworld.com>; Sun, 23 Jun 2002 11:17:17 +0100 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.6) with ESMTP id g5NAHHV92493; Sun, 23 Jun 2002 11:17:17 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.12.3/8.12.3/Submit) id g5NAHGLC022073; Sun, 23 Jun 2002 11:17:16 +0100 (BST) (envelope-from scott) Date: Sun, 23 Jun 2002 11:17:16 +0100 From: Scott Mitchell To: "David W. Chapman Jr." Cc: Mark.Andrews@isc.org, Lars Eighner , Kent Stewart , freebsd-stable@FreeBSD.ORG Subject: Re: Installworld fails: unknown groups games Message-ID: <20020623111716.F359@fishballoon.dyndns.org> References: <20020622223244.GB10042@leviathan.inethouston.net> <200206222250.g5MModm0081162@drugs.dv.isc.org> <20020623030814.GA18585@leviathan.inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020623030814.GA18585@leviathan.inethouston.net>; from dwcjr@inethouston.net on Sat, Jun 22, 2002 at 10:08:14PM -0500 X-Operating-System: FreeBSD 4.6-STABLE i386 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 22, 2002 at 10:08:14PM -0500, David W. Chapman Jr. wrote: > > > > > > > > I searched UPDATING for "games" but found no hint of this. > > > > Although the makefile says to run mergemaster -p > > > > befor installing world, mergemaster denied all knowledge of > > > > a -p switch. > > > > > > > > > > > Did it mention something about compiling and installing mergemaster > > > first? > > > > > > your version is prob ably old and doesn't know about p, so you'll > > > have to find mergemaster in /usr/src and run make && make install > > > then you should be able to use -p if you don't have a new > > > mergemastger already. > > > > DON'T FOLLOW THIS ADVICE. > > > > Follow the more precise instuctions in UPDATING. > > > > > > It wasn't meant as precise advice, just something else to find in > updating! From /usr/src/UPDATING: 20020404: Due to the import of sendmail 8.12.2 (see 20020325 entry), a new user and group are required in order for sendmail to run as a set-group-ID binary. A 'make installworld' will use the new user and group to set the owner and group of /var/spool/clientmqueue and will fail if the new user and group do not exist. The 'smmsp' user and group must be merged from src/etc/group and src/etc/master.passwd before using 'make installworld'. 'mergemaster -p' will do this. You may need to install mergemaster before this will work if you are updating from a very old version of stable. This can be done with: cd /usr/src/usr.sbin/mergemaster; make all install [clean] So David's advice looks about right to me. Lars, were you _really_ updating from 3.3 straight to 4.6? That's got to be asking for trouble. I'd have spent about a day going through UPDATING and the list archives before embarking on anything like that, and probably done it in at least two steps 3.3 -> 4.0 -> 4.6. You're a brave man...I'm quite surprised this was the only problem you had! BTW, the third step in the make world procedure described in the Handbook explicitly tells you to check the contents of etc/group, and how to use mergemaster -p from an older version. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 3:51:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.e-complex.ru (L180.UT.net.ru [212.220.225.180]) by hub.freebsd.org (Postfix) with ESMTP id 5994437B401; Sun, 23 Jun 2002 03:51:34 -0700 (PDT) Received: from 127.0.0.1 (cj [192.168.2.51]) by www.e-complex.ru (8.11.6/8.11.6) with ESMTP id g5NB4UM08166; Sun, 23 Jun 2002 17:04:31 +0600 (YEKST) (envelope-from vadim@e-complex.ru) Date: Sun, 23 Jun 2002 16:57:16 +0600 From: vadim@e-complex.ru X-Mailer: The Bat! (v1.51) UNREG / CD5BF9353B3B7091 Reply-To: vadim@e-complex.ru X-Priority: 3 (Normal) Message-ID: <5714634859.20020623165716@e-complex.ru> To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: UFS\FFS physical layout description MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Is it availiable description of physical layout of the UFS\FFS? I need it for trying to recover failed filesystem. thanks a lot. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 5:18:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id D6BC537B400; Sun, 23 Jun 2002 05:17:53 -0700 (PDT) Received: from pool0005.cvx22-bradley.dialup.earthlink.net ([209.179.198.5] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17M6JR-0004z6-00; Sun, 23 Jun 2002 05:17:49 -0700 Message-ID: <3D15BC47.45DB3CA1@mindspring.com> Date: Sun, 23 Jun 2002 05:17:11 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: vadim@e-complex.ru Cc: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Re: UFS\FFS physical layout description References: <5714634859.20020623165716@e-complex.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG vadim@e-complex.ru wrote: > Is it availiable description of physical layout of the UFS\FFS? I > need it for trying to recover failed filesystem. /usr/include/ufs/ffs -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 5:36:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.e-complex.ru (L180.UT.net.ru [212.220.225.180]) by hub.freebsd.org (Postfix) with ESMTP id 791AB37B50F; Sun, 23 Jun 2002 05:35:41 -0700 (PDT) Received: from 127.0.0.1 (cj [192.168.2.51]) by www.e-complex.ru (8.11.6/8.11.6) with ESMTP id g5NCmaM08407; Sun, 23 Jun 2002 18:48:37 +0600 (YEKST) (envelope-from vadim@e-complex.ru) Date: Sun, 23 Jun 2002 18:41:19 +0600 From: vadim@e-complex.ru X-Mailer: The Bat! (v1.51) UNREG / CD5BF9353B3B7091 Reply-To: vadim@e-complex.ru X-Priority: 3 (Normal) Message-ID: <17720878203.20020623184119@e-complex.ru> To: Terry Lambert Cc: freebsd-stable@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re[2]: UFS\FFS physical layout description In-Reply-To: <3D15BC47.45DB3CA1@mindspring.com> References: <5714634859.20020623165716@e-complex.ru> <3D15BC47.45DB3CA1@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> Is it availiable description of physical layout of the UFS\FFS? I >> need it for trying to recover failed filesystem. TL> /usr/include/ufs/ffs yes, I know about it... I mean, something like table with name, arragement and description, specially for teapot like me :) It's too long for me to explain what is ufs_daddr_t and how long, for example. My situation didn't take me plenty of time... If that table is unavaliable, I will happen to do it by my hand... :( Or may be you can to prompt how bring csum in balance with actually information exist in the cylinder group info? I see csum has incorrect information and think what cg* info is correct... Vl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 5:42:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 4900337B404 for ; Sun, 23 Jun 2002 05:42:32 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g5NCgU146607; Sun, 23 Jun 2002 14:42:30 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sun, 23 Jun 2002 14:42:30 +0200 (CEST) Message-Id: <200206231242.g5NCgU146607@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: bug in pw, -STABLE [patch] In-Reply-To: <20020622180011.V80651-100000@sea-incorporated.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.5-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry for jumping in here ... Geoffrey C. Speicher wrote: > On Sat, 22 Jun 2002, Matthew D. Fuller wrote: > > pidmond(8); reads /etc/pidmond.conf, which contains a list of PID files > > and actions. Every N-interval (in config file), scan the PID file and > > check if PID specified is still alive. If not, take given action (could > > range from 'restart' to 'remove PID file'). > > Hmm. This takes care of our problem, which was that pw(8) might > die and leave a stale pid file behind. It also takes care of the > problem of automatically restarting dead daemons, though as you > pointed out, init(8) could be used for this too, so I'm not sure > what pidmond(8) gives you for daemons. Actually, the concept of "PID files" is broken by design. You never know for sure if a running process with PID n is actually the one which created a PID file containing n in the first place. Unless the process used reliable locking, which most programs don't do. And even if you can identify the process for sure, then you don't know if it's still running or just hanging/sitting there doing nothing (for whatever reason). A much better approach would be to use UNIX domain sockets instead of PID files. That way, you could reliably check if a daemon is still alive. Using the kqueue mechanism, you could even easily write a tool that restarts a daemon instantly when it dies (well okay, init(8) can already do that, too). Furthermore, using a UNIX domain socket, you can control a daemon by sending commands to and receiving status information from it, which is much more flexible and versatile than sending signals. BIND already does some- thing like that (see ndc(8)). Alas, that would require changing almost every daemon we have ... Just my 0.02 Euro. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 5:47:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sea-incorporated.com (caribbean.sea-incorporated.com [209.74.10.130]) by hub.freebsd.org (Postfix) with ESMTP id AAEF937B403 for ; Sun, 23 Jun 2002 05:47:39 -0700 (PDT) Received: from sea-incorporated.com (localhost [127.0.0.1]) by sea-incorporated.com (8.12.3/8.12.3) with ESMTP id g5NCk00t029747; Sun, 23 Jun 2002 08:46:00 -0400 (EDT) (envelope-from geoff@sea-incorporated.com) Received: from localhost (geoff@localhost) by sea-incorporated.com (8.12.3/8.12.3/Submit) with ESMTP id g5NCjxfB029744; Sun, 23 Jun 2002 08:45:59 -0400 (EDT) Date: Sun, 23 Jun 2002 08:45:58 -0400 (EDT) From: "Geoffrey C. Speicher" To: Paul Herman Cc: "Matthew D. Fuller" , , Matt Simerson Subject: Re: bug in pw, -STABLE [patch] In-Reply-To: <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> Message-ID: <20020623083510.K29729-100000@sea-incorporated.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Jun 2002, Paul Herman wrote: > On Sat, 22 Jun 2002, Geoffrey C. Speicher wrote: > > > DESCRIPTION > > pid_begin() will check for existence of the pid file named > > _path_, and if it exists, determine whether the process whose > > pid is contained therein is still running. > > > > [...] > > That's nice and all, but you really are trying to solve the wrong > problem here. Remember, you want to lock a particular file and not > an entire process. (Think: concurrent pw(8)s with different -V > directories.) > > Keep it simple. Do what you mean. If you want to make changes to > /etc/master.passwd then open(2) /etc/master.passwd with O_EXLOCK. As Matt Fuller already pointed out in a follow-up, that brings us back to where we were when we started, and it doesn't work for this application, since master.passwd disappears and reappears before we're done. Hence the use of a pid file as a mutex. You raise a good point about concurrent pw(8)s with different -V parameters, and I would think that the solution would be either to use a different pid file for each -V, or to not worry about it for pw(8) and have concurrent instances sometimes block briefly when it's not necessary. Geoff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 5:59:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by hub.freebsd.org (Postfix) with ESMTP id 7E7C837B401 for ; Sun, 23 Jun 2002 05:59:39 -0700 (PDT) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g5NC4rB27011; Sun, 23 Jun 2002 07:04:53 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 100) id 6F7591F02; Sun, 23 Jun 2002 07:59:34 -0500 (CDT) Date: Sun, 23 Jun 2002 07:59:34 -0500 From: "Matthew D. Fuller" To: "Geoffrey C. Speicher" Cc: Paul Herman , freebsd-stable@FreeBSD.ORG, Matt Simerson Subject: Re: bug in pw, -STABLE [patch] Message-ID: <20020623125934.GB81018@over-yonder.net> References: <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> <20020623083510.K29729-100000@sea-incorporated.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020623083510.K29729-100000@sea-incorporated.com> User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 08:45:58AM -0400 I heard the voice of Geoffrey C. Speicher, and lo! it spake thus: > > You raise a good point about concurrent pw(8)s with different -V > parameters, and I would think that the solution would be either to use a > different pid file for each -V, or to not worry about it for pw(8) and > have concurrent instances sometimes block briefly when it's not necessary. I've thought about this a bit. My gut reaction is lean toward "Oh well, it'll block sometimes", since I would tend to consider the cases where you have contention reasonablly rare in practice, and cases where you'd get a 'pileup' that lasts longer than 2 or 3 processes practically nonexistent. On the other hand, I'm not against adding a command-line option and/or a pw.conf option (since a different pw.conf file will be loaded with each -V) to pw(8) to specify the lock file location. I'm currently polishing up the edges of the pid_*() functions; expect a patch relating to that shortly. If we can get those 'frozen', as it were, then I can revisit my pw_auth*() functions and see what among them will be necessary to keep, to push the use of the file out to pw(8) and passwd(1) and chpass(1) and pwd_mkdb(8) and vipw(8) and all that jazz. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 6: 9:59 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sea-incorporated.com (caribbean.sea-incorporated.com [209.74.10.130]) by hub.freebsd.org (Postfix) with ESMTP id 6494737B429 for ; Sun, 23 Jun 2002 06:08:54 -0700 (PDT) Received: from sea-incorporated.com (localhost [127.0.0.1]) by sea-incorporated.com (8.12.3/8.12.3) with ESMTP id g5ND7F0t029776; Sun, 23 Jun 2002 09:07:15 -0400 (EDT) (envelope-from geoff@sea-incorporated.com) Received: from localhost (geoff@localhost) by sea-incorporated.com (8.12.3/8.12.3/Submit) with ESMTP id g5ND7Fcx029773; Sun, 23 Jun 2002 09:07:15 -0400 (EDT) Date: Sun, 23 Jun 2002 09:07:15 -0400 (EDT) From: "Geoffrey C. Speicher" To: "Matthew D. Fuller" Cc: freebsd-stable@freebsd.org, Matt Simerson , Paul Herman Subject: Re: bug in pw, -STABLE [patch] In-Reply-To: <20020623024804.GB95458@over-yonder.net> Message-ID: <20020623084607.H29729-100000@sea-incorporated.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, Matthew D. Fuller wrote: > I looked at this, and there was something that I couldn't make work > (mentally, that is) with library functions that I could with a daemon, > but I've totally lost it. OK, let's see... Using a library does leave the door open for the following scenario, which ultimately stems from the fact that pids get reused: 1. a process p1 writes his pid in /var/run/file.pid 2. p1 dies a miserable death, leaving /var/run/file.pid intact 3. a long time passes, and nobody notices that p1 left a pid file 4. a new, unrelated process comes around with the same pid as p1 5. another process p2 wants /var/run/file.pid and finds that it exists and a process with the pid inside exists as well, except p2 has no way of knowing that the process has nothing to do with the pid file Actually, now that I think about it, even a daemon wouldn't guarantee better results in every such scenario. At first it would seem that the daemon would get a chance to clean up the pid file long before another process wanted it (during step 4). However, if the timing is just right then p1 can die the moment that its pid would be reused, and chances are that the daemon wouldn't catch it in time. > Now, this is a problem. There's a race condition here. It's a very > small window, to be sure, but I'm not quite sure how to close it. After I think you must've figured it out judging by your post that just came through as I was writing that previous paragraph. :) Geoff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 6:24:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sea-incorporated.com (caribbean.sea-incorporated.com [209.74.10.130]) by hub.freebsd.org (Postfix) with ESMTP id 8EEEA37B404 for ; Sun, 23 Jun 2002 06:24:11 -0700 (PDT) Received: from sea-incorporated.com (localhost [127.0.0.1]) by sea-incorporated.com (8.12.3/8.12.3) with ESMTP id g5NDMW0t029799; Sun, 23 Jun 2002 09:22:32 -0400 (EDT) (envelope-from geoff@sea-incorporated.com) Received: from localhost (geoff@localhost) by sea-incorporated.com (8.12.3/8.12.3/Submit) with ESMTP id g5NDMVU8029796; Sun, 23 Jun 2002 09:22:31 -0400 (EDT) Date: Sun, 23 Jun 2002 09:22:31 -0400 (EDT) From: "Geoffrey C. Speicher" To: freebsd-stable@FreeBSD.ORG Cc: Oliver Fromme , "Matthew D. Fuller" , Paul Herman , Matt Simerson Subject: Re: bug in pw, -STABLE [patch] In-Reply-To: <200206231242.g5NCgU146607@lurza.secnetix.de> Message-ID: <20020623090830.W29729-100000@sea-incorporated.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Jun 2002, Oliver Fromme wrote: > Sorry for jumping in here ... S'arright, but I only got your message because I happen to have another account subscribed to -stable. :) I brought the party back into the CC list. > Actually, the concept of "PID files" is broken by design. > You never know for sure if a running process with PID n > is actually the one which created a PID file containing > n in the first place. Unless the process used reliable > locking, which most programs don't do. And even if you > can identify the process for sure, then you don't know > if it's still running or just hanging/sitting there doing > nothing (for whatever reason). > > A much better approach would be to use UNIX domain sockets > instead of PID files. That way, you could reliably check > if a daemon is still alive. Using the kqueue mechanism, > you could even easily write a tool that restarts a daemon > instantly when it dies (well okay, init(8) can already do > that, too). Furthermore, using a UNIX domain socket, you > can control a daemon by sending commands to and receiving > status information from it, which is much more flexible and > versatile than sending signals. BIND already does some- > thing like that (see ndc(8)). The beauty of encapsulating the pid file operations into a library is that the implementation can be changed to create a socket instead of, or (more likely) in addition to, a pid file. In fact, this may be just the thing we need to close that "pid gets reused" hole. Since Matt already has the functions mostly implemented, I'll defer to him. Geoff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 6:37:33 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 5B94C37B43F; Sun, 23 Jun 2002 06:36:40 -0700 (PDT) Received: from pool0005.cvx22-bradley.dialup.earthlink.net ([209.179.198.5] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17M7Xd-00024Q-00; Sun, 23 Jun 2002 06:36:34 -0700 Message-ID: <3D15CEB2.11412BC9@mindspring.com> Date: Sun, 23 Jun 2002 06:35:46 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: vadim@e-complex.ru Cc: freebsd-stable@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: UFS\FFS physical layout description References: <5714634859.20020623165716@e-complex.ru> <3D15BC47.45DB3CA1@mindspring.com> <17720878203.20020623184119@e-complex.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG vadim@e-complex.ru wrote: > >> Is it availiable description of physical layout of the UFS\FFS? I > >> need it for trying to recover failed filesystem. > TL> /usr/include/ufs/ffs > yes, I know about it... I mean, something like table with name, > arragement and description, specially for teapot like me :) > > It's too long for me to explain what is ufs_daddr_t and how long, for example. > My situation didn't take me plenty of time... > > If that table is unavaliable, I will happen to do it by my hand... :( > > Or may be you can to prompt how bring csum in balance with actually > information exist in the cylinder group info? > > I see csum has incorrect information and think what cg* info is > correct... fsck will fix this. Or if it's not just correcting the bits, then one of the "Desing and Implementation" books will have the information you are asking for, as pretty pictures: http://citeseer.nj.nec.com/mckusick84fast.html http://www.amazon.com/exec/obidos/ASIN/0201549794/ref=pd_sr_ec_ir_b/102-7714006-3202557 http://www.amazon.com/exec/obidos/ASIN/0201546299/qid=1024839281/sr=1-3/ref=sr_1_3/102-7714006-3202557 -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 6:38:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 2DC1137B409 for ; Sun, 23 Jun 2002 06:37:38 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g5NDbYU48527; Sun, 23 Jun 2002 15:37:34 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) From: Oliver Fromme Message-Id: <200206231337.g5NDbYU48527@lurza.secnetix.de> Subject: Re: bug in pw, -STABLE [patch] To: geoff@sea-incorporated.com (Geoffrey C. Speicher) Date: Sun, 23 Jun 2002 15:37:34 +0200 (CEST) Cc: freebsd-stable@FreeBSD.ORG, olli@secnetix.de (Oliver Fromme), fullermd@over-yonder.net (Matthew D. Fuller), pherman@frenchfries.net (Paul Herman), freebsd@blockads.com (Matt Simerson) In-Reply-To: <20020623090830.W29729-100000@sea-incorporated.com> from "Geoffrey C. Speicher" at Jun 23, 2002 09:22:31 AM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Geoffrey C. Speicher wrote: > The beauty of encapsulating the pid file operations into a library is that > the implementation can be changed to create a socket instead of, or (more > likely) in addition to, a pid file. In fact, this may be just the thing > we need to close that "pid gets reused" hole. > > Since Matt already has the functions mostly implemented, I'll defer to > him. Another idea that came to my mind: Why not use the whole 32bit (signed) range for PID numbers? That would reduce the risk of PID number collisions by several orders of magnitude. Even if 10 new processes are spawned every second, the wrap-around will only happen after 7 years. (And I don't think I've ever seen a machine with 7 years uptime that has been spawning 10 new processes per second continuously during all that time.) Okay, we'd have to re-design the widths of the columns in /usr/bin/top, but that's certainly not that much of a problem. :-) Just a thought. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 6:55:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by hub.freebsd.org (Postfix) with ESMTP id 441C637B405; Sun, 23 Jun 2002 06:54:47 -0700 (PDT) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g5ND03B27884; Sun, 23 Jun 2002 08:00:04 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 100) id AEDD11F02; Sun, 23 Jun 2002 08:54:41 -0500 (CDT) Date: Sun, 23 Jun 2002 08:54:41 -0500 From: "Matthew D. Fuller" To: "Geoffrey C. Speicher" Cc: freebsd-hackers@freebsd.org, Matt Simerson , Paul Herman , Oliver Fromme Subject: Locking the passwd subsystem (was Re: bug in pw, -STABLE [patch]) Message-ID: <20020623135441.GC81018@over-yonder.net> References: <20020623024804.GB95458@over-yonder.net> <20020623084607.H29729-100000@sea-incorporated.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <20020623084607.H29729-100000@sea-incorporated.com> User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [ Moved to -hackers since this isn't really a STABLE-specific issue, but rather a general thing. Bcc's to -stable for continuity's sake. ] This discussion has gone on, on and off, for months now, so I'm going to recap a bit. For the people in it, we've mostly paged out the details by now, and for the people not in it, this will be necessary catchup. pw(8) can sometimes corrupt the passwd file when it's running. This is due to the fact that, while it munges things, it locks /etc/master.passwd. This fails to really work right between invocations, because as part of its dirty work, pw(8) moves master.passwd away and creates a new one from scratch. So, an external lockfile is needed. There's no real common locking among the other consumers (chpass(1), passwd(1), vipw(8), pwd_mkdb(8), etc) either, so we might as well make a big common locking mechanism out of it. And while we're doing that, it would be nifty to centralize some functions for doing locking like that, too, instead of coding it from scratch in every application that needs it. The patch on this mail accomplishes this part of the objective; once we can all settle on that, we can easily handle locking all the consumers neatly using these functions. And now, for the carrying on. On Sun, Jun 23, 2002 at 09:07:15AM -0400 I heard the voice of Geoffrey C. Speicher, and lo! it spake thus: > > Actually, now that I think about it, even a daemon wouldn't guarantee > better results in every such scenario. At first it would seem that the > daemon would get a chance to clean up the pid file long before another > process wanted it (during step 4). However, if the timing is just right > then p1 can die the moment that its pid would be reused, and chances are > that the daemon wouldn't catch it in time. Well, a daemon would have a BETTER chance, though nowhere near a guarantee. The theory being that the daemon would check every so often (5 minutes sounds good to me), whereas with the library, you potentially could not check for days, depending on how often you run pw(8). Even on a heavily used system, 5 minutes wouldn't likely be enough to reuse a PID, unless you had random PID assignment or some such. > > Now, this is a problem. There's a race condition here. It's a very > > small window, to be sure, but I'm not quite sure how to close it. After > > I think you must've figured it out judging by your post that just came > through as I was writing that previous paragraph. :) I think so. See comments in the code. (Re: Oliver's statements about the general evil of PID files) > The beauty of encapsulating the pid file operations into a library is > that > the implementation can be changed to create a socket instead of, or (more > likely) in addition to, a pid file. In fact, this may be just the thing > we need to close that "pid gets reused" hole. > > Since Matt already has the functions mostly implemented, I'll defer to > him. Well, there's nothing necessarily stopping us from adding more stuff later, of course. Personally, I've set my sights a bit lower; for the moment, I'm more concerned with "Let's not corrupt the passwd database" than with "This must never block unless totally absolutely completely necessary and should always know where its cheese is", which is what the socket-theory is pointing at. One giant code upheaval at a time :) One possibility would be to make procfs(5) show the process start time (rather than the current time) for the ctime of the /proc/pid directory. Then, one could look at the PID file, and if its mtime (not ctime; see in below code where we could use a pre-existing file) is older than the ctime of the /proc/pid directory, we'd know the PID had changed. Getting the actual process start time would require libkvm (and thus setgid kmem), or spawning ps(1) and parsing output, otherwise. ANYWAY: Attached is a patch (relative to src/) for my first run through creating the functions to handle PID-file creation, deletion, and checking-on-creation. It consists of two functions: - pid_begin(), which creates a PID file if one doesn't exist, and checks to see if the listed process is still around (taking over the PID file if it's not) if it does. - pid_end(), which deletes the PID file. Code is reasonably well commented. Manpage included. Shaken, not stirred. Slippery when wet. This has gone through a compile test, but hasn't been live-tested. This will provide the basis then to move forward and lock all the programs that access the passwd database (for writing, of course; no reason to lock readers) in a common way. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diffs Index: lib/libutil/Makefile =================================================================== RCS file: /usr/cvs/src/lib/libutil/Makefile,v retrieving revision 1.46 diff -u -r1.46 Makefile --- lib/libutil/Makefile 8 May 2002 00:50:07 -0000 1.46 +++ lib/libutil/Makefile 23 Jun 2002 13:31:01 -0000 @@ -8,7 +8,7 @@ CFLAGS+=-DINET6 SRCS= _secure_path.c auth.c fparseln.c login.c login_auth.c \ login_cap.c login_class.c login_crypt.c login_ok.c login_times.c \ - login_tty.c logout.c logwtmp.c property.c pty.c \ + login_tty.c logout.c logwtmp.c pid_util.c property.c pty.c \ pw_util.c realhostname.c stub.c \ trimdomain.c uucplock.c INCS= libutil.h login_cap.h @@ -16,7 +16,7 @@ MAN+= login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \ login_cap.3 login_class.3 login_times.3 login_ok.3 \ _secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \ - realhostname_sa.3 trimdomain.3 fparseln.3 + realhostname_sa.3 trimdomain.3 fparseln.3 pid_util.3 MAN+= login.conf.5 auth.conf.5 MLINKS+= property.3 properties_read.3 property.3 properties_free.3 MLINKS+= property.3 property_find.3 @@ -39,5 +39,6 @@ MLINKS+=login_auth.3 auth_checknologin.3 login_auth.3 auth_cat.3 MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \ uucplock.3 uu_unlock.3 uucplock.3 uu_lockerr.3 +MLINKS+=pid_util.3 pid_begin.3 pid_end.3 .include Index: lib/libutil/libutil.h =================================================================== RCS file: /usr/cvs/src/lib/libutil/libutil.h,v retrieving revision 1.37 diff -u -r1.37 libutil.h --- lib/libutil/libutil.h 8 May 2002 00:50:07 -0000 1.37 +++ lib/libutil/libutil.h 23 Jun 2002 12:35:30 -0000 @@ -82,6 +82,8 @@ struct sockaddr; int realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, int addrlen); +int pid_begin(const char *pidfile, mode_t mode, int flags); +int pid_end(const char *pidfile); #ifdef _STDIO_H_ /* avoid adding new includes */ char *fparseln(FILE *, size_t *, size_t *, const char[3], int); #endif @@ -128,5 +130,8 @@ /* pw_scan() */ #define PWSCAN_MASTER 0x01 #define PWSCAN_WARN 0x02 + +/* pid_begin() */ +#define PID_NOBLOCK 0x01 #endif /* !_LIBUTIL_H_ */ Index: lib/libutil/pid_util.c =================================================================== --- /dev/null Sun Jun 23 08:44:01 2002 +++ lib/libutil/pid_util.c Sun Jun 23 07:34:28 2002 @@ -0,0 +1,176 @@ +/*- + * Copyright (c) 2002 Matthew D. Fuller + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#ifndef lint +static const char rcsid[] = + "$FreeBSD$"; +#endif /* not lint */ + +/* + * These functions are for maintenance of locking PID files + */ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include + + +#define PID_LEN 6 /* Currently only need 5 (0-99,999) */ + +/* + * pid_begin: Open a PID file and write PID into it. If one already + * exists, try and track down the process which opened it; if it can't be + * found, proceed as if the file weren't even there. + */ +int +pid_begin(const char *pidfile, mode_t mode, int flags) +{ + int procdead=0; + int lockfd; + int holding=0; + pid_t masterpid; + char *pidstr; + char readpid[PID_LEN+1]; + +start: + if( (lockfd=open(pidfile, O_RDWR | O_CREAT | O_EXCL | O_EXLOCK, + mode)) < 0 ) + { + if(errno!=EEXIST) + return(-1); /* Preserve errno */ + + /* Open and find PID */ + if( (lockfd=open(pidfile, O_RDWR | O_EXLOCK, mode)) < 0 ) + { + if(errno==ENOENT || errno==EWOULDBLOCK) + { + /* + * This could use some thought. We're going to + * tight-loop if someone else has the file locked + * (EWOULDBLOCK). In theory, any locks should be + * quite short-lived, so I THINK this will be fine. + */ + goto start; + } + else + return(-1);/* Preserve errno */ + } + + if( read(lockfd, readpid, PID_LEN) < 0 ) + { + holding==errno; + close(lockfd); + return(holding); + } + + masterpid = (pid_t) atoi(readpid); + if(masterpid<1) /* This shouldn't happen */ + { + /* This is really a NFS error, but we'll abuse it */ + errno=ECANCELED; + return(-1); + } + + /* + * There's a number of ways we could approach this. We could + * stat /proc/$PID, but that would fail if /proc wasn't + * mounted. We could use libkvm, but that would require + * linking libutil with it, as well as being setgid kmem on + * the app (which we can't really count on). We could + * fork/exec ps(1), but that's a bit ugly. + * I'm going to do it in a rather ugly way. SIGWINCH is + * fairly harmless in the cases where it's used, and is + * ignored by default. These functions are aimed at daemons, + * which will generally have no use for it, and thus not + * change it from the default discard. + * Note that zombie'd processes count as 'nonexistent' to + * kill(2). + */ + if( kill(masterpid, SIGWINCH) < 0 ) + if(errno==ESRCH) + procdead=1; + else + procdead=0; + else + procdead=0; /* kill(2) succeeded */ + + if(procdead==0) + { + /* Old locker is still alive */ + close(lockfd); + if( (flags & PID_NOBLOCK) ) + { + errno=EWOULDBLOCK; + return(-1); + } + else + { + sleep(1); /* Arbitrary */ + goto start; + } + } + /* Old lockholder is dead: fallthru */ + } + + /* + * If we get here, we either ARE the O_EXCL opener, or the process + * listed in the file is dead and we're taking it over. + */ + ftruncate(lockfd, 0); + write( lockfd, pidstr, asprintf(&pidstr, "%d", getpid()) ); + free(pidstr); + + close(lockfd); + return(0); +} + + +/* + * pid_end: Clean up a lock we hold. + */ +int +pid_end(const char *pidfile) +{ + /* + * We SHOULDN'T need to aquire a lock on the file, since the only + * time anybody else should be writing into it would be if we're + * dead, and thus we wouldn't be in this function. If they're just + * reading it, unlink()'ing it out from under them won't do any + * damage. If we're still alive, pid_begin() should close() the file + * and attempt to re-open() for the next attempt, so this should work + * nice and cleanly. + */ + return(unlink(pidfile)); +} Index: lib/libutil/pid_util.3 =================================================================== --- /dev/null Sun Jun 23 08:44:01 2002 +++ lib/libutil/pid_util.3 Sun Jun 23 08:29:49 2002 @@ -0,0 +1,106 @@ +.\" Copyright (c) 2002 Matthew D. Fuller +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd June 23, 2002 +.Os +.Dt PID_UTIL 3 +.Sh NAME +.Nm pid_begin , +.Nm pid_end +.Nd "handle locking and unlocking of PID files" +.Sh LIBRARY +.Lb libutil +.Sh SYNOPSIS +.In sys/types.h +.In libutil.h +.Ft int +.Fn pid_begin "const char *pidfile" "mode_t mode" "int flags" +.Ft int +.Fn pid_end "const char *pidfile" +.Sh DESCRIPTION +The function +.Fn pid_begin +attempts to open the file referenced by +.Fa pidfile +and write the process ID to it. +If the file already exists, +.Fn pid_begin +will determine if the process listed in +.Fa pidfile +still exists. +If the process is still alive, +.Fn pid_begin +will block and continue to try aquiring the lock indefinately, unless +.Dv PID_NOBLOCK +is set in the +.Fa flags , +in which case it will return an error. +If the old process is dead, or the file doesn't exist, +.Fn pid_begin +will put its own process ID in the file and continue on its merry way. +.Pp +.Fn pid_end +removed the file referenced by +.Fa pidfile . +Note that there is currently no protection afforded here that the process +calling +.Fn pid_end +is actually the process that opened the PID file in the first place. +.Sh RETURN VALUES +If successful, +.Fn pid_begin +and +.Fn pid_end +will return 0. +They will return -1 on failure, and set +.Va errno +to indicate the error. +.Sh ERRORS +.Fn pid_begin +will leave behind a PID file unless: +.Bl -tag -width Er +.It Bq Er ECANCELED +The operation was cancelled due to internal error. +.It Bq Er EWOULDBLOCK +The file is already locked by a still-live process and +.Fa mode +includes +.Dv PID_NOLOCK . +.El +.Pp +The +.Fn pid_begin +function may also fail and set errno for any of the errors specified for +the routines +.Xr open 2 +or +.Xr read 2 . +.Pp +The +.Fn pid_end +function may fail and set errno for any of the errors specified for the +routine +.Xr unlink 2 . --FL5UXtIhxfXey3p5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 7:51:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from david.io.com (david.io.com [199.170.88.28]) by hub.freebsd.org (Postfix) with ESMTP id E797A37B401 for ; Sun, 23 Jun 2002 07:51:33 -0700 (PDT) Received: from io.com (aus-as2-112.io.com [199.170.89.112]) by david.io.com (8.11.6/8.11.2) with SMTP id g5NEpUs25033; Sun, 23 Jun 2002 09:51:31 -0500 Date: Sun, 23 Jun 2002 09:56:36 -0500 (CDT) From: Lars Eighner To: Scott Mitchell Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Installworld fails: unknown groups games In-Reply-To: <20020623111716.F359@fishballoon.dyndns.org> Message-ID: <20020623095213.Q1987-100000@dumpster.io.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Jun 2002, Scott Mitchell wrote: > On Sat, Jun 22, 2002 at 10:08:14PM -0500, David W. Chapman Jr. wrote: > > > > > > > > > > I searched UPDATING for "games" but found no hint of this. > > > > > Although the makefile says to run mergemaster -p > > > > > befor installing world, mergemaster denied all knowledge of > > > > > a -p switch. > > > > > > > > > > > > > > Did it mention something about compiling and installing mergemaster > > > > first? > > > > > > > > your version is prob ably old and doesn't know about p, so you'll > > > > have to find mergemaster in /usr/src and run make && make install > > > > then you should be able to use -p if you don't have a new > > > > mergemastger already. > > > > > > DON'T FOLLOW THIS ADVICE. > > > > > > Follow the more precise instuctions in UPDATING. > > > > > > > > > > It wasn't meant as precise advice, just something else to find in > > updating! > > >From /usr/src/UPDATING: > > 20020404: > Due to the import of sendmail 8.12.2 (see 20020325 entry), a new > user and group are required in order for sendmail to run as a > set-group-ID binary. A 'make installworld' will use the new user > and group to set the owner and group of /var/spool/clientmqueue > and will fail if the new user and group do not exist. The 'smmsp' > user and group must be merged from src/etc/group and > src/etc/master.passwd before using 'make installworld'. > 'mergemaster -p' will do this. You may need to install > mergemaster before this will work if you are updating from a > very old version of stable. This can be done with: > cd /usr/src/usr.sbin/mergemaster; make all install [clean] > > So David's advice looks about right to me. > > Lars, were you _really_ updating from 3.3 straight to 4.6? No. It was a typo. 4.4 -> 4.6. I wouldn't dream of updating across a major version number without sacrificing a goat first. > That's got to > be asking for trouble. I'd have spent about a day going through UPDATING > and the list archives before embarking on anything like that, and probably > done it in at least two steps 3.3 -> 4.0 -> 4.6. You're a brave man...I'm > quite surprised this was the only problem you had! > > BTW, the third step in the make world procedure described in the Handbook > explicitly tells you to check the contents of etc/group, and how to use > mergemaster -p from an older version. That's another thing. I can't get the handbook to make. I upgraded all kinds of text handling ports to get the handbook to make for 4.4, but evidently that is all broken now. -- Lars Eighner eighner@io.com -finger for geek code- http://www.io.com/~eighner/index.html 600 E 53RD ST APT 119 AUSTIN TX 78751 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 8:58: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from taka.swcp.com (taka.swcp.com [198.59.115.12]) by hub.freebsd.org (Postfix) with ESMTP id EBEE537B400; Sun, 23 Jun 2002 08:57:55 -0700 (PDT) Received: from same.swcp.com (same.swcp.com [216.184.2.4]) by taka.swcp.com (8.12.3/8.12.3) with ESMTP id g5NFvhbJ002506; Sun, 23 Jun 2002 09:57:44 -0600 (MDT) Received: (from cheeks@localhost) by same.swcp.com (8.9.3+Sun/8.9.1) id JAA02487; Sun, 23 Jun 2002 09:57:41 -0600 (MDT) Date: Sun, 23 Jun 2002 09:57:41 -0600 From: Mark Costlow To: vadim@e-complex.ru Cc: "(Hans Lambermont)" , freebsd-stable@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: File system failure! URGENT Help needed! Message-ID: <20020623095741.A2391@same.swcp.com> References: <1577698468.20020623150139@e-complex.ru> <20020623114405.A42706@moya.lambermont.dyndns.org> <5711394421.20020623160315@e-complex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5711394421.20020623160315@e-complex.ru>; from vadim@e-complex.ru on Sun, Jun 23, 2002 at 04:03:15PM +0600 X-Spam-Status: No, hits=-3.4 required=10.0 tests=IN_REP_TO,PLING,X_NOT_PRESENT version=2.21 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 04:03:15PM +0600, vadim@e-complex.ru wrote: > HL> If you have a spare drive that is exactly the same type you could make a > HL> binary copy of the disk to it, and don't need to worry about making the > HL> prolem worse while recovering the data with inode magic. > > Yes, of course, I did it. Thanks! Now that you have a copy of the data, this tool can help you extract your data from the damaged file system: http://www.porcupine.org/forensics/tct.html Be sure to read the instructions carefully before starting to use it. It is a slow process, but it works. Mark -- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks@swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 "Education is never a waste" - Viscount du Valmont To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 9: 2:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.deltanet.com (mail.deltanet.com [216.237.144.132]) by hub.freebsd.org (Postfix) with ESMTP id 75F4C37B400 for ; Sun, 23 Jun 2002 09:02:21 -0700 (PDT) Received: from mammoth.eat.frenchfries.net (da001d0406.lax-ca.osd.concentric.net [64.0.145.151]) by mail.deltanet.com (8.11.6/8.11.6) with ESMTP id g5NFc9O25829 for ; Sun, 23 Jun 2002 08:38:11 -0700 Received: by mammoth.eat.frenchfries.net (Postfix, from userid 1000) id B18B75150; Sun, 23 Jun 2002 09:00:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mammoth.eat.frenchfries.net (Postfix) with ESMTP id AED32514C; Sun, 23 Jun 2002 09:00:52 -0700 (PDT) Date: Sun, 23 Jun 2002 09:00:52 -0700 (PDT) From: Paul Herman X-X-Sender: pherman@mammoth.eat.frenchfries.net To: "Geoffrey C. Speicher" Cc: "Matthew D. Fuller" , , Matt Simerson Subject: Re: bug in pw, -STABLE [patch] In-Reply-To: <20020623083510.K29729-100000@sea-incorporated.com> Message-ID: <20020623085312.U38255-100000@mammoth.eat.frenchfries.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Jun 2002, Geoffrey C. Speicher wrote: > > Keep it simple. Do what you mean. If you want to make changes to > > /etc/master.passwd then open(2) /etc/master.passwd with O_EXLOCK. > > As Matt Fuller already pointed out in a follow-up, that brings us back to > where we were when we started, and it doesn't work for this application, > since master.passwd disappears and reappears before we're done. How so? I'm not suggesting unlink(2)ing /etc/master.passwd or /etc/spwd.db at all. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 9: 4:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by hub.freebsd.org (Postfix) with ESMTP id 6169637B405 for ; Sun, 23 Jun 2002 09:04:43 -0700 (PDT) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g5NFA9B29988; Sun, 23 Jun 2002 10:10:09 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 100) id 523721F12; Sun, 23 Jun 2002 11:04:39 -0500 (CDT) Date: Sun, 23 Jun 2002 11:04:39 -0500 From: "Matthew D. Fuller" To: Paul Herman Cc: "Geoffrey C. Speicher" , freebsd-stable@FreeBSD.ORG Subject: Re: bug in pw, -STABLE [patch] Message-ID: <20020623160439.GE81018@over-yonder.net> References: <20020623083510.K29729-100000@sea-incorporated.com> <20020623085312.U38255-100000@mammoth.eat.frenchfries.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020623085312.U38255-100000@mammoth.eat.frenchfries.net> User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 09:00:52AM -0700 I heard the voice of Paul Herman, and lo! it spake thus: > On Sun, 23 Jun 2002, Geoffrey C. Speicher wrote: > > How so? I'm not suggesting unlink(2)ing /etc/master.passwd or > /etc/spwd.db at all. No, but pw(8) does; making it not do so would require reasonably extensive rewriting. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 9: 8: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 376E337B401 for ; Sun, 23 Jun 2002 09:08:05 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g5NG83l53100; Sun, 23 Jun 2002 18:08:03 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sun, 23 Jun 2002 18:08:03 +0200 (CEST) Message-Id: <200206231608.g5NG83l53100@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: wi0+ata In-Reply-To: <20020622183131.A17579@astral.ro> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.5-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Vlad Berliba wrote: > 1. I have a Lucent Orinoco PCMCIA radio card witch PCI->PCMCIA adapter. > The card works great since FreeBSD 4.4. Is there any way to be > recognized faster by the kernel ? I have to wait 10s until it comes up. That's something I'd like to know, too. It seems to happen with all PCMCIA cards, not only NICs. It's a bit annoying to have to wait 10 seconds just to read a picture from my camera's CompactFlash. > 2. I'm experiencing a speed drop on moving files on my hard disk. > I don't know about the average data rate but I was having peeks of 8.x > sometimes even 9 MBytes/s and know the maximum is 7.x Mbytes/s Well, the speed changes on the area of the disk. On the outer cylinders, a disk is much faster than on the inside. So it depends very much where the data gets written. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 9:20:52 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 740C837B40C; Sun, 23 Jun 2002 09:20:11 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020623162011.RJYS11659.rwcrmhc53.attbi.com@InterJet.elischer.org>; Sun, 23 Jun 2002 16:20:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id JAA47133; Sun, 23 Jun 2002 09:15:15 -0700 (PDT) Date: Sun, 23 Jun 2002 09:15:13 -0700 (PDT) From: Julian Elischer To: vadim@e-complex.ru Cc: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Re: File system failure! URGENT Help needed! In-Reply-To: <1577698468.20020623150139@e-complex.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I suspect that data to both drives was written to both drives.. :-( My suspicion is that some unknown amount of data was irretrievably lost. The mantra of sysads is always: "Do a full backup before changing the hardware" On Sun, 23 Jun 2002 vadim@e-complex.ru wrote: > Hi All! > > After adding new drive to system 2 of old drives was installed on > one cable, and (by fatal flaw) both as slave. And after FBSD is booted it writed > identical information onto both of that drivers simultaneously. > As a result both filesystems is down. After that fsck was runed... > and now very important data is lost. > > is was from words of the system administrator. > > Is it possible to recover data? I understand what I give you very > small information, but it is all of I know. > > there is an example: > > newserver# ls /backup/ > Distr Profiles all buh home pto smeta > newserver# ls -i /backup/ > ls: all: Bad file descriptor > ls: buh: Bad file descriptor > ls: smeta: Bad file descriptor > 6007573 Distr 14348288 Profiles 7936 home 12054848 pto > > It is obvious, that the part of inodes was lost. How can we restore > it? May be, it is possible to recover that by info what is in the > files? > > Thank you in advance, and sorry for a bad English. > > Vl. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 9:54: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from digitalfreaks.org (digitalfreaks.org [216.151.95.156]) by hub.freebsd.org (Postfix) with SMTP id 2ED0937B401 for ; Sun, 23 Jun 2002 09:53:56 -0700 (PDT) Received: (qmail 91221 invoked by uid 1000); 23 Jun 2002 16:55:54 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Jun 2002 16:55:54 -0000 Date: Sun, 23 Jun 2002 12:55:54 -0400 (EDT) From: Chad Ziccardi To: Hans Lambermont Cc: vadim@e-complex.ru, , Subject: Re: File system failure! URGENT Help needed! In-Reply-To: <20020623114405.A42706@moya.lambermont.dyndns.org> Message-ID: <20020623125321.A90926-100000@digitalfreaks.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG begin quote from Hans Lambermont written...: > vadim@e-complex.ru wrote: > > ... > > booted it writed identical information onto both of that drivers > ... > > It is obvious, that the part of inodes was lost. How can we restore > > it? May be, it is possible to recover that by info what is in the > > files? > > I leave the inode magic to someone else, but for your filedata; I'd > start with making a binary file copy of the whole drive (dd using raw > device) so that you can dig trough it, maybe even copy the data parts > that you need from it. > > If you have a spare drive that is exactly the same type you could make a > binary copy of the disk to it, and don't need to worry about making the > prolem worse while recovering the data with inode magic. > > Hope this helps you a bit. > > Hans Lambermont > On one of the spare disks put the data on with dd, here's two utils that will help: /usr/ports/sysutils/ffsrecov /usr/ports/sysutils/gpart As well as TCT. -- Chad Ziccardi, Professional Slacker cz@digitalfreaks.org "Some cause happiness wherever they go; others whenever they go." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 10:52:24 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.e-complex.ru (L180.UT.net.ru [212.220.225.180]) by hub.freebsd.org (Postfix) with ESMTP id B993337B40F; Sun, 23 Jun 2002 10:51:59 -0700 (PDT) Received: from 127.0.0.1 (cj [192.168.2.51]) by www.e-complex.ru (8.11.6/8.11.6) with ESMTP id g5NI4rM09047; Mon, 24 Jun 2002 00:04:53 +0600 (YEKST) (envelope-from vadim@e-complex.ru) Date: Sun, 23 Jun 2002 23:57:29 +0600 From: vadim@e-complex.ru X-Mailer: The Bat! (v1.51) UNREG / CD5BF9353B3B7091 Reply-To: vadim@e-complex.ru X-Priority: 3 (Normal) Message-ID: <3611325562.20020623235729@e-complex.ru> To: Chad Ziccardi Cc: Hans Lambermont , freebsd-stable@freebsd.org, freebsd-fs@freebsd.org Subject: Re[2]: File system failure! URGENT Help needed! In-Reply-To: <20020623125321.A90926-100000@digitalfreaks.org> References: <20020623125321.A90926-100000@digitalfreaks.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> If you have a spare drive that is exactly the same type you could make a >> binary copy of the disk to it, and don't need to worry about making the >> prolem worse while recovering the data with inode magic. >> Hope this helps you a bit. CZ> On one of the spare disks put the data on with dd, here's two utils that will CZ> help: CZ> /usr/ports/sysutils/ffsrecov That program isn't output any sensible information. ffsrecov -p shows garbage, ffsrecov -s is coredumping even on live filesystems. CZ> /usr/ports/sysutils/gpart That seems to bee unusable in my situation - I think what primary partition table is already correct. :( Vl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 10:58:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 6E46237B403 for ; Sun, 23 Jun 2002 10:58:42 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA00920; Sun, 23 Jun 2002 10:58:39 -0700 Message-ID: <3D160C4D.9040408@owt.com> Date: Sun, 23 Jun 2002 10:58:37 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Lars Eighner Cc: freebsd-stable@FreeBSD.ORG Subject: Re: make doc fails References: <20020623095213.Q1987-100000@dumpster.io.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lars Eighner wrote: > That's another thing. I can't get the handbook to make. I upgraded > all kinds of text handling ports to get the handbook to make for > 4.4, but evidently that is all broken now. > > I just cvsuped docs-all, built it and installed it. You probably have some stale dependancies. A lot has changed since 4.4. The requirement for docproj is now crystal# search docproj Port: docproj-1.9 Path: /usr/ports/textproc/docproj Info: The "meta-port" for the FreeBSD Documentation Project Maint: nik@freebsd.org Index: textproc B-deps: R-deps: XFree86-libraries-4.2.0_1 docbook-1.2 docbook-241 docbook-3.0 docbook-3.1 docbook-4.0 docbook-4.1 dsssl-docbook-modular-1.73 freetype2-2.1.0_1 gd-1.8.4_6 ghostscript-gnu-7.05_1 html-4.01 imake-4.2.0_1 iso8879-1986 jade-1.2.1_1 jbigkit-1.4 jpeg-6b_1 libiconv-1.8 libxml2-2.4.22_1 libxslt-1.0.18 links-0.97_1,1 linuxdoc-1.1 mkcatalog-1.1 netpbm-9.25_1 peps-1.0 pkgconfig-0.12.0 png-1.2.3 python-2.2.1 scr2png-1.1 sgmlformat-1.7_2 tidy-20000804_1 tiff-3.5.7 xhtml-1.0 They need to be current to process the images and etc. I use XFree86-4.2.0 and you probably still have 3.3.6 installed. Version 4.2 is now the default and you need to define your version in /etc/make.conf. I use "XFREE86_VERSION= 4", which is now the default. If you don't have portupgrade installed, you have to "make index" after every cvsup of ports-all. If you have portupgrade installed, you run "portsdb -uU" to update /usr/port/INDEX and INDEX.db. The INDEX files are not updated as often and the ports are and will have stale dependancies. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 11:15:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from tvc.codec.ro (tvc.codec.ro [193.230.240.21]) by hub.freebsd.org (Postfix) with ESMTP id BD55837B403 for ; Sun, 23 Jun 2002 11:15:47 -0700 (PDT) Received: (from vlad@localhost) by tvc.codec.ro (8.11.2/8.11.6) id g5NIJ3k31698 for freebsd-stable@FreeBSD.ORG; Sun, 23 Jun 2002 21:19:03 +0300 Date: Sun, 23 Jun 2002 21:19:03 +0300 From: Vlad Berliba To: freebsd-stable@FreeBSD.ORG Subject: Re: wi0+ata Message-ID: <20020623211902.A29330@astral.ro> References: <20020622183131.A17579@astral.ro> <200206231608.g5NG83l53100@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206231608.g5NG83l53100@lurza.secnetix.de>; from olli@secnetix.de on Sun, Jun 23, 2002 at 06:08:03PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the post. Well I think I should have posted to questions and not to stable list, which might be the reason why I haven't got so many answers... Well I will start digging in the sources maybe I'll find something... On Sun, Jun 23, 2002 at 06:08:03PM +0200, Oliver Fromme wrote: > Vlad Berliba wrote: > > 1. I have a Lucent Orinoco PCMCIA radio card witch PCI->PCMCIA adapter. > > The card works great since FreeBSD 4.4. Is there any way to be > > recognized faster by the kernel ? I have to wait 10s until it comes up. > > That's something I'd like to know, too. It seems to happen > with all PCMCIA cards, not only NICs. It's a bit annoying > to have to wait 10 seconds just to read a picture from my > camera's CompactFlash. > > > 2. I'm experiencing a speed drop on moving files on my hard disk. > > I don't know about the average data rate but I was having peeks of 8.x > > sometimes even 9 MBytes/s and know the maximum is 7.x Mbytes/s > > Well, the speed changes on the area of the disk. On the > outer cylinders, a disk is much faster than on the inside. > So it depends very much where the data gets written. The partition hasn't changed its place since 4.5 and I'm "benchmarking" with the same file. > > Regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München > Any opinions expressed in this message may be personal to the author > and may not necessarily reflect the opinions of secnetix in any way. > > "All that we see or seem is just a dream within a dream" (E. A. Poe) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Vlad Berliba Administrator Retea Astral Telecom Tel: +40(0)64-432450 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 11:41: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 6915337B400 for ; Sun, 23 Jun 2002 11:40:53 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5NIerCV086780 for ; Sun, 23 Jun 2002 11:40:53 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5NIerSq086779; Sun, 23 Jun 2002 11:40:53 -0700 (PDT) (envelope-from dillon) Date: Sun, 23 Jun 2002 11:40:53 -0700 (PDT) From: Matthew Dillon Message-Id: <200206231840.g5NIerSq086779@apollo.backplane.com> To: freebsd-stable@freebsd.org Subject: INN/Diablo and Postgres/Mysql/etc performance heads up Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is just a heads up to people who use INN/Diablo (USENET news feed systems), or postgres/mysql (database systems) in heavily loaded environment. I recently MFC'd a major fix to a performance issue that was accidently introduced in late 2000. A security fix had the unintended (and not-noticed-enough at the time) side effect of creating a severe loss in performance in the file block rewrite case, i.e. writing into the middle of a previously created file. (appending to a file is unaffected, performance remains good for that case). This case has just been fixed. I wish I could take credit but I was responsible for the original commit that created the problem in the first place :-( In anycase, the performance issue only effects the rewrite case which means it will tend to only effect database applications (and then only under write loads), and newsfeed applications (aka INN cyclic buffers). Write performance for such applications should improve between 2x and 10x. Yes, that's what I said(!). I've gotten verification from a number of sources (two sources running INN and one running postgresql). Maybe we'll win some benchmark tests now . The fix is 1.65.2.11 of src/sys/ufs/ufs/ufs_readwrite.c, in -STABLE. It did not make it into the release nor is it in the security branch. I strongly recommend that people running these sorts of applications who intend to upgrade to 4.6-REL anyway also upgrade their kernel to the latest -stable after completing the initial upgrade to 4.6-REL. - Also this is a good time to remind people running Apache as of 4.6-RELEASE that they should upgrade to the latest in ports, due to an exploit that was found just after we rolled the release. The Apache in the 4.6-REL package/ports set is exploitable. Be careful to backup your /usr/local/www before installing. (this is the same exploit that has been discussed on the lists already. If you have already upgraded your Apache you should be fine). Thanks, -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 12: 7:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id 3D70837B411; Sun, 23 Jun 2002 12:05:51 -0700 (PDT) Received: from 3gwireless.com ([66.122.212.148]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GY600061A9QOG@mta7.pltn13.pbi.net>; Sun, 23 Jun 2002 12:05:38 -0700 (PDT) Date: Sun, 23 Jun 2002 12:09:31 -0700 From: 3Gwireless'2003 Subject: Call for Submission of 2003 World Wireless Congress (3Gwireless'2003) Message-id: <3D161CEA.EB3E6CE7@3gwireless.com> MIME-version: 1.0 X-Mailer: Mozilla 4.78 [en] (Win98; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en X-Priority: 2 (High) To: undisclosed-recipients:; Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Sorry for multiple copies of this message. Thanks for your support in promotion of education, research, development and business of emerging wireless communications] Dear Fellow Wireless Colleagues: 2002 World Wireless Congress (WWC02) - the official framework of 3Gwireless'2002 has been extremely successful and productive. To continue this great effort and expect much more authoritative in the next year, the 2003 World Wireless Congress (WWC03) will be a very big bang in helping set the standard of performance, innovation and quality of emerging wireless communications focusing on 3G and 4G mobile technologies and business. WWC'03 will continue to be the best global platform of industry-driven, academia-enriched, development-oriented and business-targeted, and demand very high standard of technical leadership as well as professional excellence. The Call-for-Submission (including technical papers, tutorials, industry forums, panels, etc) is available now at the congress website. The submission will be very busy in the coming months, and the space is very limited. Please act ASAP to submit your leadership and innovation as per the guidelines listed in the web. The website of 2003 World Wireless Congress (3Gwireless'2003) is at: http://wirelesscongress.com or http://3gwireless.com The very successful story of 2002 World Wireless Congress (3Gwireless'2002) is at: http://delson.org/wwc02 This congress at news can be found at: http://www.wirelessweek.com/index.asp?layout=story&articleId=CA220172&stt=001 For sponsorship or exhibition opportunities, please contact janny@delson.org. For technical leadership issues, please contact the chair at: wwlu@ieee.org Thank you for your time in advance. With best wishes! Office of 2003 World Wireless Congress http://wirelesscongress.com or http://3gwireless.com [This is only one-time educational message. Thanks for your support.] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 12:24:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id 400F137B401 for ; Sun, 23 Jun 2002 12:24:37 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sun, 23 Jun 2002 15:24:36 -0400 Message-ID: From: Don Bowman To: "'freebsd-stable@freebsd.org'" Subject: panic in syncache/rtfree with 4.6 Date: Sun, 23 Jun 2002 15:24:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Has anyone else seen anything like this... panic(c0334f20,c392e400,ff807f44,c021fd76,c392e400) at panic+0xa4 rtfree(c392e400) at rtfree+0x27 syncache_free(debe8fc0,62000000,debe8fc0,1,debe8660) at syncache_free+0x56 syncache_drop(debe8fc0,0,1,c0220118,40000000) at syncache_drop+0xd8 syncache_timer(1,40000000,0,0,ffffffff) at syncache_timer+0xa8 softclock(0,ff800018,10,c0390010,ffffffff) at softclock+0xd1 doreti_swi() at doreti_swi+0xf The system is running 4.6. There were messages that immediately preceeded this about 'All mbuf clusters exhausted, please see tuning(7).'. Does it seem reasonable to get a panic in this circumstance? The system is setup with 1GB of memory, 2x 2GHz XEON processors. I'm using ipfw with a 'fwd' rule to attract non-local traffic, like this: 00100 allow ip from any to any via lo0 00101 allow ip from me to any 00102 allow ip from any to me 00105 fwd 127.0.0.1,8000 tcp from any to any 5000 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 65000 allow ip from any to any 65535 allow ip from any to any I have a process listening on local tcp port 8000 which uses kqueue/kevent with a single thread of execution. I had: # sysctl -a |grep nmb kern.ipc.nmbclusters: 6656 kern.ipc.nmbufs: 26624 (which I'm in the process of increasing :) I'm expecting to keep ~35K TCP sessions open on this device. Is syncache appropriate, or should I disable and use an external device to protect against DOS? net.inet.ip.fw.dyn_syn_lifetime: 20 net.inet.tcp.syncookies: 1 net.inet.tcp.syncache.bucketlimit: 30 net.inet.tcp.syncache.cachelimit: 15359 net.inet.tcp.syncache.count: 0 net.inet.tcp.syncache.hashsize: 512 net.inet.tcp.syncache.rexmtlimit: 3 post-restart I see: vm.zone: ITEM SIZE LIMIT USED FREE REQUESTS PIPE: 160, 0, 2, 100, 46 SWAPMETA: 160, 256702, 0, 0, 0 unpcb: 160, 0, 5, 45, 61 ripcb: 192, 12328, 0, 21, 1 divcb: 192, 12328, 0, 0, 0 syncache: 160, 15359, 0, 0, 0 tcpcb: 544, 12328, 2, 13, 2 udpcb: 192, 12328, 5, 37, 47 socket: 192, 12328, 12, 30, 116 KNOTE: 64, 0, 0, 128, 10 DIRHASH: 1024, 0, 20, 4, 29 NFSNODE: 352, 0, 3, 19, 3 NFSMOUNT: 544, 0, 3, 11, 3 VNODE: 192, 0, 895, 59, 895 NAMEI: 1024, 0, 0, 16, 3309 VMSPACE: 192, 0, 21, 43, 164 PROC: 416, 0, 26, 23, 169 DP fakepg: 64, 0, 0, 0, 0 PV ENTRY: 28, 1756814, 7080, 254927, 43688 MAP ENTRY: 48, 0, 301, 167, 10625 KMAP ENTRY: 48, 64303, 84, 129, 709 MAP: 108, 0, 7, 3, 7 VM OBJECT: 96, 0, 407, 59, 2747 --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 13:34:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from prism.flugsvamp.com (66-191-112-47.mad.wi.charter.com [66.191.112.47]) by hub.freebsd.org (Postfix) with ESMTP id 8952B37B400 for ; Sun, 23 Jun 2002 13:34:16 -0700 (PDT) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.6/8.11.6) id g5NKXkJ46469; Sun, 23 Jun 2002 15:33:46 -0500 (CDT) (envelope-from jlemon) Date: Sun, 23 Jun 2002 15:33:46 -0500 (CDT) From: Jonathan Lemon Message-Id: <200206232033.g5NKXkJ46469@prism.flugsvamp.com> To: don@sandvine.com, stable@freebsd.org Subject: Re: panic in syncache/rtfree with 4.6 X-Newsgroups: local.mail.freebsd-stable In-Reply-To: Organization: Cc: jlemon@flugsvamp.com Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article you write: > >Has anyone else seen anything like this... > >panic(c0334f20,c392e400,ff807f44,c021fd76,c392e400) at panic+0xa4 >rtfree(c392e400) at rtfree+0x27 >syncache_free(debe8fc0,62000000,debe8fc0,1,debe8660) at syncache_free+0x56 >syncache_drop(debe8fc0,0,1,c0220118,40000000) at syncache_drop+0xd8 >syncache_timer(1,40000000,0,0,ffffffff) at syncache_timer+0xa8 >softclock(0,ff800018,10,c0390010,ffffffff) at softclock+0xd1 >doreti_swi() at doreti_swi+0xf > >The system is running 4.6. There were messages that immediately >preceeded this about 'All mbuf clusters exhausted, please see tuning(7).'. > >Does it seem reasonable to get a panic in this circumstance? No. What does the panic message say? Do you happen to have a kernel coredump + kernel somewhere to take a look at? The offset of the crash within rtfree() seems to indicate that you've triggered the first panic, which would only be the case here if rnh == NULL: struct radix_node_head *rnh = rt_tables[rt_key(rt)->sa_family]; The panic dump would show if sa_family was garbage for some reason. >I'm expecting to keep ~35K TCP sessions open on this device. Is syncache >appropriate, or should I disable and use an external device to protect >against DOS? Yup, syncache only applies to new SYNs (unsynchronized connections), it doesn't matter how many existing open connections you have. Your syncache statistics (the net.inet.tcp.syncache.count entry) show that you don't have any entries in your syncache at the moment. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 14:11:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id 1F05D37B405 for ; Sun, 23 Jun 2002 14:11:28 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sun, 23 Jun 2002 17:11:27 -0400 Message-ID: From: Don Bowman To: 'Jonathan Lemon' , Don Bowman , stable@freebsd.org Subject: RE: panic in syncache/rtfree with 4.6 Date: Sun, 23 Jun 2002 17:11:26 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jonathan Lemon wrote: ... > >Does it seem reasonable to get a panic in this circumstance? > > No. What does the panic message say? Do you happen to have a kernel > coredump + kernel somewhere to take a look at? > > The offset of the crash within rtfree() seems to indicate that you've > triggered the first panic, which would only be the case here > if rnh == NULL: > > struct radix_node_head *rnh = > rt_tables[rt_key(rt)->sa_family]; > > The panic dump would show if sa_family was garbage for some reason. Yes, that's what seems to happen. This is repeatable when I run out of mbufs. I'll see about getting a core & kernel available. I increased NMBCLUSTERS to 64000 and the problem still occurs. > > > >I'm expecting to keep ~35K TCP sessions open on this device. > Is syncache > >appropriate, or should I disable and use an external device > to protect > >against DOS? > > Yup, syncache only applies to new SYNs (unsynchronized > connections), it > doesn't matter how many existing open connections you have. > Your syncache > statistics (the net.inet.tcp.syncache.count entry) show that you don't > have any entries in your syncache at the moment. Well, the sysctl was run after the system came back up, so there would have been no connections. At the time it failed there would have been ~4K connections, each from a different IP to a different IP. Do I need to do any tuning to syncache paramters to achieve my ~35k established connections limit with a 1K listen q? I'm expecting reasonably short connection lifetimes, so connections will come and go fairly frequently. I should mention I've done something that may or may not be common with routing for the purpose of this test. I have 20 PC's acting as 'load generators'. Each of them, and the device under test, are on a layer-2 network connected with gige. Each of the 20 PCs has a set of 510 aliases created, 1.0.0.2...1.0.1.255, 1.0.2.2...1.0.3.255, etc. The device under test (DUT) (which is the one that is crashing here) is on the same layer-2 network. It has the '.1' interface from each of those networks, eg 1.0.0.1, 1.0.2.1, 1.0.4.1, etc. Each of these has a /23 mask as well. The routing table on the DUT thus looks like: # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 1/23 link#1 UC 0 0 bge0 1.0.2/23 link#1 UC 0 0 bge0 1.0.4/23 link#1 UC 0 0 bge0 1.0.6/23 link#1 UC 0 0 bge0 1.0.8/23 link#1 UC 0 0 bge0 1.0.10/23 link#1 UC 0 0 bge0 ... # ifconfig bge0 bge0: flags=8843 mtu 1500 options=3 inet 1.0.0.1 netmask 0xfffffe00 broadcast 1.0.1.255 inet 1.0.2.1 netmask 0xfffffe00 broadcast 1.0.3.255 inet 1.0.4.1 netmask 0xfffffe00 broadcast 1.0.5.255 inet 1.0.6.1 netmask 0xfffffe00 broadcast 1.0.7.255 inet 1.0.8.1 netmask 0xfffffe00 broadcast 1.0.9.255 ... It will be receiving inbound connections from each of those subnets. It has ip-forwarding off. It will be initiating outbound connections to each of those subnets For purpose of expedience, there are 128 such interfaces & routes created on the DUT (because sometimes I use more or less than 20 PC's to load gen it). I'l re-run this with a crash dump enabled and see about making it & the kernel available. --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 17: 2:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id 7D88F37B400 for ; Sun, 23 Jun 2002 17:02:29 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sun, 23 Jun 2002 20:02:28 -0400 Message-ID: From: Don Bowman To: 'Jonathan Lemon' , "'freebsd-stable@freebsd.org'" Subject: RE: panic in syncache/rtfree with 4.6 Date: Sun, 23 Jun 2002 20:02:27 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I got another dump. This time I was for sure not low on mbufs or clusters. It ran into the INVARIANTS check in the zone allocator, freeing something already free, again from syncache_free. (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc01bf5ef in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc01bfa48 in poweroff_wait (junk=0xc034d399, howto=-1070281106) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc02e5094 in trap_fatal (frame=0xff807da4, eva=48) at /usr/src/sys/i386/i386/trap.c:966 #4 0xc02e4d25 in trap_pfault (frame=0xff807da4, usermode=0, eva=48) at /usr/src/sys/i386/i386/trap.c:859 #5 0xc02e4897 in trap (frame={tf_fs = -65512, tf_es = -8388592, tf_ds = -643497968, tf_edi = 0, tf_esi = -643488256, tf_ebp = -8356372, tf_isp = -8356400, tf_ebx = -1070107716, tf_edx = 1744880836, tf_ecx = -150038912, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071173943, tf_cs = 8, tf_eflags = 66182, tf_esp = -643488256, tf_ss = -643488256}) at /usr/src/sys/i386/i386/trap.c:458 #6 0xc0272ec9 in acquire_lock (lk=0xc03773bc) at machine/globals.h:114 #7 0xc0276fdc in softdep_update_inodeblock (ip=0xd9a52600, bp=0xe62937d4, waitfor=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3813 #8 0xc0271f65 in ffs_update (vp=0xf70e9680, waitfor=0) at /usr/src/sys/ufs/ffs/ffs_inode.c:106 #9 0xc027a3ff in ffs_sync (mp=0xd9a20600, waitfor=2, cred=0xc20ac900, p=0xc03a3d40) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1022 #10 0xc01f08ef in sync (p=0xc03a3d40, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:576 #11 0xc01bf362 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235 #12 0xc01bfa48 in poweroff_wait (junk=0xc033dfce, howto=-8356068) at /usr/src/sys/kern/kern_shutdown.c:595 #13 0xc02934a3 in zerror () at /usr/src/sys/vm/vm_zone.c:538 #14 0xc029310b in zfreei (z=0xd99f2c80, item=0xf6291f40) at /usr/src/sys/vm/vm_zone.c:81 #15 0xc0293056 in zfree (z=0xd99f2c80, item=0xf6291f40) at /usr/src/sys/vm/vm_zone.c:317 #16 0xc021b933 in syncache_free (sc=0xf6291f40) at /usr/src/sys/netinet/tcp_syncache.c:207 #17 0xc021bcb8 in syncache_drop (sc=0xf6291f40, sch=0x0) at /usr/src/sys/netinet/tcp_syncache.c:343 #18 0xc021bd68 in syncache_timer (xslot=0x0) at /usr/src/sys/netinet/tcp_syncache.c:377 #19 0xc01c569d in softclock () at /usr/src/sys/kern/kern_timeout.c:131 (kgdb) up 14 (kgdb l) 76 _zfree(vm_zone_t z, void *item) 77 { 78 ((void **) item)[0] = z->zitems; 79 #ifdef INVARIANTS 80 if (((void **) item)[1] == (void *) ZENTRY_FREE) 81 zerror(ZONE_ERROR_ALREADYFREE); <<<<<<<<<<< 82 ((void **) item)[1] = (void *) ZENTRY_FREE; 83 #endif 84 z->zitems = item; 85 z->zfreecnt++; (kgdb) up #15 0xc0293056 in zfree (z=0xd99f2c80, item=0xf6291f40) at /usr/src/sys/vm/vm_zone.c:317 317 zfreei(z, item); (kgdb) l 312 313 void 314 zfree(vm_zone_t z, void *item) 315 { 316 #ifdef SMP 317 zfreei(z, item); 318 #else 319 _zfree(z, item); 320 #endif 321 } (kgdb) up #16 0xc021b933 in syncache_free (sc=0xf6291f40) at /usr/src/sys/netinet/tcp_syncache.c:207 207 zfree(tcp_syncache.zone, sc); (kgdb) l 202 rtrequest(RTM_DELETE, rt_key(rt), 203 rt->rt_gateway, rt_mask(rt), 204 rt->rt_flags, NULL); 205 RTFREE(rt); 206 } 207 zfree(tcp_syncache.zone, sc); 208 } 209 (kgdb) info locals sc = (struct syncache *) 0xf6291f40 rt = (struct rtentry *) 0x0 (kgdb) p/x *sc $2 = {sc_inp_gencnt = 0x12342378f6291f40, sc_tp = 0xf5191820, sc_ipopts = 0x0, sc_inc = {inc_flags = 0x0, inc_len = 0x0, inc_pad = 0x0, inc_ie = { ie_fport = 0xeb04, ie_lport = 0x8813, ie_dependfaddr = {ie46_foreign = { ia46_pad32 = {0x0, 0x0, 0x0}, ia46_addr4 = {s_addr = 0x6d010001}}, ie6_foreign = {__u6_addr = {__u6_addr8 = {0x0 , 0x1, 0x0, 0x1, 0x6d}, __u6_addr16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x6d01}, __u6_addr32 = {0x0, 0x0, 0x0, 0x6d010001}}}}, ie_dependladdr = {ie46_local = {ia46_pad32 = {0x0, 0x0, 0x0}, ia46_addr4 = {s_addr = 0x3030001}}, ie6_local = {__u6_addr = { __u6_addr8 = {0x0 , 0x1, 0x0, 0x3, 0x3}, __u6_addr16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x303}, __u6_addr32 = {0x0, 0x0, 0x0, 0x3030001}}}}}, inc_dependroute = { inc4_route = {ro_rt = 0x0, ro_dst = {sa_len = 0x10, sa_family = 0x2, sa_data = {0x0, 0x0, 0x1, 0x0, 0x1, 0x6d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, inc6_route = {ro_rt = 0x0, ro_dst = { sin6_len = 0x10, sin6_family = 0x2, sin6_port = 0x0, sin6_flowinfo = 0x6d010001, sin6_addr = {__u6_addr = {__u6_addr8 = { 0x0 }, __u6_addr16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, __u6_addr32 = {0x0, 0x0, 0x0, 0x0}}}, sin6_scope_id = 0x0}}}}, sc_tsrecent = 0x566c070, sc_cc_send = 0x0, sc_cc_recv = 0x0, sc_irs = 0x176806a0, sc_iss = 0xcd9b49c5, sc_rxttime = 0x69af58, sc_rxtslot = 0x0, sc_peer_mss = 0x5b4, sc_wnd = 0xe000, sc_requested_s_scale = 0x1, sc_request_r_scale = 0x0, sc_flags = 0x26, sc_hash = {tqe_next = 0x0, tqe_prev = 0xd97ed510}, sc_timerq = {tqe_next = 0xf6291f40, tqe_prev = 0xf6291fc0}} (kgdb) up #17 0xc021bcb8 in syncache_drop (sc=0xf6291f40, sch=0x0) at /usr/src/sys/netinet/tcp_syncache.c:343 343 syncache_free(sc); (kgdb) l 338 TAILQ_REMOVE(&tcp_syncache.timerq[sc->sc_rxtslot], sc, sc_timerq); 339 if (TAILQ_EMPTY(&tcp_syncache.timerq[sc->sc_rxtslot])) 340 callout_stop(&tcp_syncache.tt_timerq[sc->sc_rxtslot]); 341 splx(s); 342 343 syncache_free(sc); 344 } 345 346 /* 347 * Walk the timer queues, looking for SYN,ACKs that need to be retransmitted. (kgdb) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 19:16:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by hub.freebsd.org (Postfix) with ESMTP id 4CB4937B400 for ; Sun, 23 Jun 2002 19:16:23 -0700 (PDT) Received: from radwaste.thai-aec.org (TruPPP0B061.inet.co.th [203.151.125.61]) by access.inet.co.th (8.8.8/8.8.8) with ESMTP id JAA11666; Mon, 24 Jun 2002 09:16:19 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (firak.thai-aec.org. [192.168.1.55]) by radwaste.thai-aec.org (8.12.3/8.12.3) with ESMTP id g5O2fsC2010458; Mon, 24 Jun 2002 09:41:55 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost.thai-aec.org [127.0.0.1]) by firak.thai-aec.org (8.12.3/8.12.3) with ESMTP id g5O2KMwY095315; Mon, 24 Jun 2002 09:20:22 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.3/8.12.3/Submit) id g5O2KJPq095314; Mon, 24 Jun 2002 09:20:19 +0700 (ICT) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Mon, 24 Jun 2002 09:20:19 +0700 From: pirat To: Kent Stewart Cc: freebsd-stable@freebsd.org Subject: Re: make doc fails Message-ID: <20020624022019.GA93820@thai-aec.org> References: <20020623095213.Q1987-100000@dumpster.io.com> <3D160C4D.9040408@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline In-Reply-To: <3D160C4D.9040408@owt.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD firak.thai-aec.org 4.5-STABLE FreeBSD 4.5-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 10:58:37AM -0700, Kent Stewart wrote: > Date: Sun, 23 Jun 2002 10:58:37 -0700 > From: Kent Stewart > To: Lars Eighner > Cc: freebsd-stable@FreeBSD.ORG > Subject: Re: make doc fails > > Lars Eighner wrote: > > > >That's another thing. I can't get the handbook to make. I upgraded > >all kinds of text handling ports to get the handbook to make for > >4.4, but evidently that is all broken now. > > > > > > I just cvsuped docs-all, built it and installed it. You probably have > some stale dependancies. A lot has changed since 4.4. The requirement > for docproj is now > ..cut some texts away.. > > They need to be current to process the images and etc. I use > XFree86-4.2.0 and you probably still have 3.3.6 installed. Version 4.2 > is now the default and you need to define your version in > /etc/make.conf. I use "XFREE86_VERSION= 4", which is now the default. > am running 4.5-stable and have not yet upgraded to 4.6 , only make buildworld am using x 3.3.6 and have just finished make install for docs very smooth. do we really need to have x version 4 in order to install documents too ? > If you don't have portupgrade installed, you have to "make index" > after every cvsup of ports-all. If you have portupgrade installed, you > run "portsdb -uU" to update /usr/port/INDEX and INDEX.db. The INDEX > files are not updated as often and the ports are and will have stale > dependancies. > thanks indeed for this new information. i have never done that for every cvsup of ports-all. with best regards, psr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 21:32: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id C845637B400 for ; Sun, 23 Jun 2002 21:31:57 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id VAA31864; Sun, 23 Jun 2002 21:31:51 -0700 Message-ID: <3D16A0B6.7010104@owt.com> Date: Sun, 23 Jun 2002 21:31:50 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: pirat Cc: freebsd-stable@freebsd.org Subject: Re: make doc fails References: <20020623095213.Q1987-100000@dumpster.io.com> <3D160C4D.9040408@owt.com> <20020624022019.GA93820@thai-aec.org> Content-Type: text/plain; charset=TIS-620; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG pirat wrote: > On Sun, Jun 23, 2002 at 10:58:37AM -0700, Kent Stewart wrote: > >>Date: Sun, 23 Jun 2002 10:58:37 -0700 >>From: Kent Stewart >>To: Lars Eighner >>Cc: freebsd-stable@FreeBSD.ORG >>Subject: Re: make doc fails >> >>Lars Eighner wrote: >> >> >> >>>That's another thing. I can't get the handbook to make. I upgraded >>>all kinds of text handling ports to get the handbook to make for >>>4.4, but evidently that is all broken now. >>> >>> >>> >>I just cvsuped docs-all, built it and installed it. You probably have >>some stale dependancies. A lot has changed since 4.4. The requirement >>for docproj is now >> >> > ..cut some texts away.. > >>They need to be current to process the images and etc. I use >>XFree86-4.2.0 and you probably still have 3.3.6 installed. Version 4.2 >>is now the default and you need to define your version in >>/etc/make.conf. I use "XFREE86_VERSION= 4", which is now the default. >> >> > > am running 4.5-stable and have not yet upgraded to 4.6 , only make buildworld > am using x 3.3.6 and have just finished make install for docs very smooth. > do we really need to have x version 4 in order to install documents too ? No, but if you are not using 4.2.0, you will have to tell the port system that you are using version 3. That is what the "XFREE86_VERSION=" does for you. > > >>If you don't have portupgrade installed, you have to "make index" >>after every cvsup of ports-all. If you have portupgrade installed, you >>run "portsdb -uU" to update /usr/port/INDEX and INDEX.db. The INDEX >>files are not updated as often and the ports are and will have stale >>dependancies. >> >> > thanks indeed for this new information. i have never done that for every cvsup of ports-all. It is very important but it is also very slow. I upgrade multiple machines at the same time and only regenerate INDEX.* on one of them. I ftp them to the other systems. Kent > > with best regards, > psr > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > . > > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 23:38:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ns.netorn.ru (ls-host14.interlan.ru [213.247.143.46]) by hub.freebsd.org (Postfix) with ESMTP id 1581A37B40C for ; Sun, 23 Jun 2002 23:37:13 -0700 (PDT) Received: (from root@localhost) by ns.netorn.ru (8.11.6/8.11.6) id g5O6fa703099 for ; Mon, 24 Jun 2002 10:41:36 +0400 (MSD) (envelope-from DrWeb-DAEMON@netorn.ru) Date: Mon, 24 Jun 2002 10:41:36 +0400 (MSD) From: DrWeb-DAEMON@netorn.ru Message-Id: <200206240641.g5O6fa703099@ns.netorn.ru> X-drweb-hash: 178b710f5bd3c6c128b7a0bc189f06a0 Subject: îÅÄÏÓÔÁ×ÌÅÎÎÏÅ ÓÏÏÂÝÅÎÉÅ: W32.Klez.E removal tools Content-Type: text/plain; charset=koi8-r To: undisclosed-recipients: ; Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG õ×ÁÖÁÅÍÙÊ ðÏÌÕÞÁÔÅÌØ, óÏÏÂÝÅÎÉÅ, ÐÏÓÌÁÎÎÏÅ ÷ÁÍ ÉÎÆÉÃÉÒÏ×ÁÎÏ É ÎÅ ÂÙÌÏ ÄÏÓÔÁ×ÌÅÎÏ. ïÔÞÅÔ ÁÎÔÉ×ÉÒÕÓÎÏÇÏ ÆÉÌØÔÒÁ: --- DrWeb report --- ====================== DrWeb scanning report: ====================== 127.0.0.1 [3097] /var/drweb/spool/drweb.tmp_RThTee - archive MAIL 127.0.0.1 [3097] >/var/drweb/spool/drweb.tmp_RThTee/html.1 - Ok 127.0.0.1 [3097] >/var/drweb/spool/drweb.tmp_RThTee/install.exe infected with Win32.HLLM.Klez.4 127.0.0.1 [3097] >/var/drweb/spool/drweb.tmp_RThTee/3-1.jpg - Ok ======== Summary: ======== known virus is found : 1 unknown code or multiple errors : 1 --- DrWeb report --- óÏÏÂÝÅÎÉÅ ÓÏÈÒÁÎÅÎÏ × ËÁÒÁÎÔÉÎÅ ÐÏÄ ÉÍÅÎÅÍ: drweb.infected_QmEkeK þÔÏ ÂÙ ÐÏÌÕÞÉÔØ ÜÔÏ ÓÏÏÂÝÅÎÉÅ ÏÂÒÁÔÉÔÅÓØ Ë ÁÄÍÉÎÉÓÔÒÁÔÏÒÕ ÐÏ ÁÄÒÅÓÕ postmaster, ÕËÁÚÁ× ÉÍÑ, ÐÏÄ ËÏÔÏÒÙÍ ÓÏÈÒÁÎÅÎÏ ÓÏÏÂÝÅÎÉÅ ÄÌÑ ÷ÁÓ. --- áÎÔÉ×ÉÒÕÓÎÁÑ ÚÁÝÉÔÁ DrWeb Daemon (http://www.drweb.ru) ðÒÉÓÙÌÁÊÔÅ ÷ÁÛÉ ÐÏÖÅÌÁÎÉÑ × DialogueScience, Inc. (http://www.dials.ru, support@dials.ru) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Jun 23 23:40: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id 4CC8937B489 for ; Sun, 23 Jun 2002 23:39:31 -0700 (PDT) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 47DBF62D1A for ; Sun, 23 Jun 2002 23:39:27 -0700 (PDT) Date: Sun, 23 Jun 2002 23:44:35 -0700 (PDT) From: Lamont Granquist To: freebsd-stable@freebsd.org Subject: Did someone break TCP? In-Reply-To: <3D16A0B6.7010104@owt.com> Message-ID: <20020623233659.A15697-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've got an IRC server with a few days of uptime now after upgrading to both FBSD 4.6 and ircd-hybrid 6.3 out of the ports tree. Tonight I found that I couldn't login, TCP wasn't completing the 3-way handshake (no RST, no SYN|ACK). Stopping the service and restarting it fixed the problem. At this point it looks like TCP freaked out. I tried multiple different ways to login to the ircd, both remotely, from the local box and from behind the machine that it acts as a firewall for. All the users reported a 3+ hour outage prior to me finding the problem. There was nothing that I was doing to the box at the time. This has been previously stable hardware. Unfortunately, I didn't collect much better information than that... I'll try to do a better job if the reoccurs after I'm back from vacation... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 1:40:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web20606.mail.yahoo.com (web20606.mail.yahoo.com [216.136.226.164]) by hub.freebsd.org (Postfix) with SMTP id 186E437B4B0 for ; Mon, 24 Jun 2002 01:36:52 -0700 (PDT) Message-ID: <20020624083651.1348.qmail@web20606.mail.yahoo.com> Received: from [142.173.224.254] by web20606.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 01:36:51 PDT Date: Mon, 24 Jun 2002 01:36:51 -0700 (PDT) From: "Mr. Darren" Subject: /dev/acd0c bug To: freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've tried many variations of this command and it breaks down to two things.. I either don't get the error and the cd doesn't work, or I do get the error and it still doesn't work... windows loads it as a blank cd with 100% used.. unix doesn't even load it.. pasted directly as is: ani927tpy6ge# burncd -etv -f /dev/acd0c -s 16 XAmode1 cd101.ugh fixate adding type 0x0a file cd101.ugh size 723458 KB 361730 blocks (0 padded) next writeable LBA 0 addr = 0 size = 740821200 blocks = 361730 writing from file cd101.ugh size 723458 KB acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 ascq=0x00 error=0x04 only wrote -1 of 32768 bytes err=5 fixating CD, please wait.. ani927tpy6ge# pay attention to: acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 ascq=0x00 error=0x04 -Darren __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 1:55: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from cse.cs.huji.ac.il (cse.cs.huji.ac.il [132.65.16.30]) by hub.freebsd.org (Postfix) with ESMTP id 0640337B403 for ; Mon, 24 Jun 2002 01:54:56 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cse.cs.huji.ac.il with esmtp id 17MOog-000IXa-00 for freebsd-stable@freebsd.org; Mon, 24 Jun 2002 11:03:18 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-stable@freebsd.org Subject: em/Intel(R) PRO/1000 problems Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 Jun 2002 11:03:18 +0300 From: Danny Braniss Message-Id: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG em0: and em0: both drivers work fine when setting ifconfig_em0="xx.xxx.xx.xx" but get stuck if using DHCP, sniffing shows the host sending arp requests and i can see the responces, but they are either not received or ignored. something similar happens if using PXE/diskless, the kernel get loaded ok, but when it tries to remount / via NFS it gets stuck. any insight? danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 2:12:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by hub.freebsd.org (Postfix) with ESMTP id DF22D37B404; Mon, 24 Jun 2002 02:12:11 -0700 (PDT) Received: from [210.49.75.34] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id pfufaaaa for ; Mon, 24 Jun 2002 19:12:08 +1000 Message-ID: <3D16E250.9080004@quake.com.au> Date: Mon, 24 Jun 2002 19:11:44 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Stable Cc: FreeBSD ISP Subject: Good dual port NICs? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hiyas, Just wondering if anyone has a recomendation on some good quality duel port NICs that work well with FreeBSD?? Im not talking about those trunking ones.. Just plain old multi-port NICs.. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 2:28:49 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.dev.itouchnet.net (devco.net [196.15.188.2]) by hub.freebsd.org (Postfix) with ESMTP id 01CBC37B410 for ; Mon, 24 Jun 2002 02:28:02 -0700 (PDT) Received: from nobody by mx1.dev.itouchnet.net with scanned_ok (Exim 3.35 #1) id 17MQA4-0002tn-00 for freebsd-stable@freebsd.org; Mon, 24 Jun 2002 11:29:28 +0200 Received: from shell.devco.net ([196.15.188.7]) by mx1.dev.itouchnet.net with esmtp (Exim 3.35 #1) id 17MQA3-0002tZ-00; Mon, 24 Jun 2002 11:29:27 +0200 Received: from bvi by shell.devco.net with local (Exim 3.33 #4) id 17MQ9G-000DtQ-00; Mon, 24 Jun 2002 11:28:38 +0200 Date: Mon, 24 Jun 2002 11:28:38 +0200 From: Barry Irwin To: Kal Torak Cc: FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? Message-ID: <20020624112838.F46303@itouchlabs.com> References: <3D16E250.9080004@quake.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D16E250.9080004@quake.com.au>; from kaltorak@quake.com.au on Mon, Jun 24, 2002 at 07:11:44PM +1000 X-Checked: Scanned for any viruses and unauthorized attachments at mx1.dev.itouchnet.net X-iScan-ID: 11143-1024910968-50311@mx1.dev.itouchnet.net version $Name: REL_2_0_2 $ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Not Dual port, but I have been using the quad port dlink 570-TX cards for quite a while with no hastles. Barry On Mon 2002-06-24 (19:11), Kal Torak wrote: > Hiyas, > > Just wondering if anyone has a recomendation on some > good quality duel port NICs that work well with FreeBSD?? > > Im not talking about those trunking ones.. Just plain old > multi-port NICs.. > > Thanks! > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > -- Barry Irwin bvi@itouchlabs.com +27214875177 Systems Administrator: Networks And Security Itouch Labs http://www.itouchlabs.com South Africa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 2:42:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by hub.freebsd.org (Postfix) with ESMTP id 0979537B404; Mon, 24 Jun 2002 02:42:38 -0700 (PDT) Received: from [210.49.75.34] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id zfufaaaa for ; Mon, 24 Jun 2002 19:42:35 +1000 Message-ID: <3D16E972.3080505@quake.com.au> Date: Mon, 24 Jun 2002 19:42:10 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Barry Irwin Cc: FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? References: <3D16E250.9080004@quake.com.au> <20020624112838.F46303@itouchlabs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Barry Irwin wrote: > Not Dual port, but I have been using the quad port dlink 570-TX cards for > quite a while with no hastles. I think I looked at that card before.. Its 4 ports count as "one" interface dont they? It does load balancing and redundancy..? But I want one card that has at least two interfaces on it that are seperate, each with their own IP address etc.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 2:48:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.dev.itouchnet.net (devco.net [196.15.188.2]) by hub.freebsd.org (Postfix) with ESMTP id 90AE537B403 for ; Mon, 24 Jun 2002 02:48:01 -0700 (PDT) Received: from nobody by mx1.dev.itouchnet.net with scanned_ok (Exim 3.35 #1) id 17MQTP-0003N9-00 for freebsd-stable@freebsd.org; Mon, 24 Jun 2002 11:49:27 +0200 Received: from shell.devco.net ([196.15.188.7]) by mx1.dev.itouchnet.net with esmtp (Exim 3.35 #1) id 17MQTO-0003Mv-00; Mon, 24 Jun 2002 11:49:26 +0200 Received: from bvi by shell.devco.net with local (Exim 3.33 #4) id 17MQSb-000DwA-00; Mon, 24 Jun 2002 11:48:37 +0200 Date: Mon, 24 Jun 2002 11:48:37 +0200 From: Barry Irwin To: Kal Torak Cc: FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? Message-ID: <20020624114837.I46303@itouchlabs.com> References: <3D16E250.9080004@quake.com.au> <20020624112838.F46303@itouchlabs.com> <3D16E972.3080505@quake.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D16E972.3080505@quake.com.au>; from kaltorak@quake.com.au on Mon, Jun 24, 2002 at 07:42:10PM +1000 X-Checked: Scanned for any viruses and unauthorized attachments at mx1.dev.itouchnet.net X-iScan-ID: 12963-1024912167-15346@mx1.dev.itouchnet.net version $Name: REL_2_0_2 $ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is an ifconfig -a on my one box card has 4 separate chips on it 4 different macs etc.. bash-2.05$ ifconfig dc0: flags=8943 mtu 1500 inet 192.192.192.5 netmask 0xffffffc0 broadcast 192.192.192.63 ether 00:80:c8:cf:a3:0d media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP none dc1: flags=8802 mtu 1500 ether 00:80:c8:cf:a3:0e media: autoselect (none) status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP none dc2: flags=8943 mtu 1500 inet 192.168.9.2 netmask 0xffffff00 broadcast 192.168.9.255 inet 192.168.9.1 netmask 0xffffffff broadcast 192.168.9.1 ether 00:80:c8:cf:a3:0f media: autoselect (100baseTX) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP none dc3: flags=8802 mtu 1500 ether 00:80:c8:cf:a3:10 media: autoselect (none) status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP none On Mon 2002-06-24 (19:42), Kal Torak wrote: > Barry Irwin wrote: > > Not Dual port, but I have been using the quad port dlink 570-TX cards for > > quite a while with no hastles. > > I think I looked at that card before.. > > Its 4 ports count as "one" interface dont they? It does > load balancing and redundancy..? > > But I want one card that has at least two interfaces on > it that are seperate, each with their own IP address etc.. > > > -- Barry Irwin bvi@itouchlabs.com +27214875177 Systems Administrator: Networks And Security Itouch Labs http://www.itouchlabs.com South Africa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 3:43:28 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.shorewood-epc.co.uk (mail.shorewood-epc.co.uk [195.10.240.17]) by hub.freebsd.org (Postfix) with ESMTP id 76F2837B400 for ; Mon, 24 Jun 2002 03:43:23 -0700 (PDT) Received: from localhost (localhost.epcdirect.co.uk [127.0.0.1]) by mail.shorewood-epc.co.uk (Postfix) with ESMTP id 2567B4D942; Mon, 24 Jun 2002 11:43:21 +0100 (BST) Received: from lfarr (bka.shorewood-epc.co.uk [192.168.15.200]) by mail.shorewood-epc.co.uk (Postfix) with ESMTP id 693D14D93A; Mon, 24 Jun 2002 11:43:19 +0100 (BST) From: "Lawrence Farr" To: "'Danny Braniss'" , Subject: RE: em/Intel(R) PRO/1000 problems Date: Mon, 24 Jun 2002 11:43:19 +0100 Message-ID: <001701c21b6b$f4488840$c80fa8c0@lfarr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: X-Virus-Scanned: by Shorewood-EPC (mail.shorewood-epc.co.uk) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I get exactly the same problem with a 3Com 3C985 Gigabit card (ti driver). Lawrence Farr EPC Direct Limited > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of Danny Braniss > Sent: 24 June 2002 09:03 > To: freebsd-stable@freebsd.org > Subject: em/Intel(R) PRO/1000 problems > > > em0: and > em0: > > both drivers work fine when setting ifconfig_em0="xx.xxx.xx.xx" > but get stuck if using DHCP, sniffing shows the host sending > arp requests > and i can see the responces, but they are either not received > or ignored. > > something similar happens if using PXE/diskless, the kernel > get loaded ok, > but when it tries to remount / via NFS it gets stuck. > > any insight? > > danny > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 3:46:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from server.rucus.ru.ac.za (server.rucus.ru.ac.za [146.231.115.1]) by hub.freebsd.org (Postfix) with SMTP id 6105F37B401 for ; Mon, 24 Jun 2002 03:46:07 -0700 (PDT) Received: (qmail 87939 invoked from network); 24 Jun 2002 10:46:03 -0000 Received: from shell-fxp1.rucus.ru.ac.za (HELO shell.rucus.ru.ac.za) (10.0.0.1) by server.rucus.ru.ac.za with SMTP; 24 Jun 2002 10:46:03 -0000 Received: (qmail 20533 invoked by uid 10032); 24 Jun 2002 10:46:03 -0000 Date: Mon, 24 Jun 2002 12:46:03 +0200 From: =?iso-8859-1?Q?David_Sieb=F6rger?= To: Kal Torak Cc: freebsd-stable@freebsd.org, freebsd-isp@freebsd.org Subject: Re: Good dual port NICs? Message-ID: <20020624124603.A19969@rucus.ru.ac.za> References: <3D16E250.9080004@quake.com.au> <3D16F5A3.2030603@rucus.ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D16E250.9080004@quake.com.au>; from kaltorak@quake.com.au on Mon, Jun 24, 2002 at 07:11:44PM +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kal Torak wrote: > Just wondering if anyone has a recomendation on some > good quality duel port NICs that work well with FreeBSD?? > > Im not talking about those trunking ones.. Just plain old > multi-port NICs.. The Intel dual-port adapters work nicely. In FreeBSD, they appear as two separate fxp interfaces. In Windows, the Intel drivers support 802.3ad link aggregation but they are fundamentally two separate interfaces on one card with different MAC addresses, IRQs, etc. Here's what an Intel PRO/100 S Dual Port Server Adapter looks like: fxp0: port 0xc000-0xc03f mem 0xe8000000-0xe801ffff,0xe8041000-0xe8041fff irq 5 at device 4.0 on pci2 fxp0: Ethernet address 00:02:b3:96:16:5e inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xc400-0xc43f mem 0xe8020000-0xe803ffff,0xe8040000-0xe8040fff irq 10 at device 5.0 on pci2 fxp1: Ethernet address 00:02:b3:96:16:5f inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto -- David Siebörger drs@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 8:31: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from quack.kfu.com (adsl-67-113-12-90.dsl.snfc21.pacbell.net [67.113.12.90]) by hub.freebsd.org (Postfix) with ESMTP id A7BC437B40E; Mon, 24 Jun 2002 08:29:56 -0700 (PDT) Received: from morpheus.kfu.com (morpheus.kfu.com [IPv6:3ffe:1200:301b:1:2d0:b7ff:fe3f:bdd0]) by quack.kfu.com (8.12.3/8.12.3) with ESMTP id g5OFTrGX017805 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 24 Jun 2002 08:29:53 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com (localhost [IPv6:::1]) by morpheus.kfu.com (8.12.3/8.12.3) with ESMTP id g5OFTm9U008269; Mon, 24 Jun 2002 08:29:48 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Message-ID: <3D173AEB.6010601@quack.kfu.com> Date: Mon, 24 Jun 2002 08:29:47 -0700 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020606 X-Accept-Language: en, en-US, en-GB MIME-Version: 1.0 To: Kal Torak Cc: FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? References: <3D16E250.9080004@quake.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stay away from the Znyx 4 port ZX346Q. The card is ostensibly 4 'dc' cards, but the dc driver does not properly parse the SROM to figure out what values to poke around for media selection. It's not Znyx's fault. Their SROM is legal per the spec I read, but our driver doesn't obey that spec. I bought a dual port fxp card from eBay that's been working just fine. Kal Torak wrote: > Hiyas, > > Just wondering if anyone has a recomendation on some > good quality duel port NICs that work well with FreeBSD?? > > Im not talking about those trunking ones.. Just plain old > multi-port NICs.. > > Thanks! > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 8:34:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by hub.freebsd.org (Postfix) with ESMTP id E551E37B400; Mon, 24 Jun 2002 08:34:13 -0700 (PDT) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 17MUud-00041M-00; Mon, 24 Jun 2002 07:33:51 -0700 Date: Mon, 24 Jun 2002 07:33:26 -0700 (PDT) From: Tom Samplonius To: Kal Torak Cc: Barry Irwin , FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? In-Reply-To: <3D16E972.3080505@quake.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Jun 2002, Kal Torak wrote: > Barry Irwin wrote: > > Not Dual port, but I have been using the quad port dlink 570-TX cards for > > quite a while with no hastles. > > I think I looked at that card before.. > > Its 4 ports count as "one" interface dont they? It does > load balancing and redundancy..? All of these cards use the ports as separate interfaces. The load balancing and redundancy features are provided by the driver only. And the FreeBSD driver has no such support and will only let you use the ports as separate interfaces. However, I believe there is work on generic support for 802.3ad (link aggregation). Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 11:24:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id BD35137B401; Mon, 24 Jun 2002 11:24:14 -0700 (PDT) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g5OIOEH95464; Mon, 24 Jun 2002 11:24:14 -0700 (PDT) Date: Mon, 24 Jun 2002 11:24:14 -0700 (PDT) From: Doug White To: Nick Sayer Cc: Kal Torak , FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? In-Reply-To: <3D173AEB.6010601@quack.kfu.com> Message-ID: <20020624112327.R95387-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Jun 2002, Nick Sayer wrote: > Stay away from the Znyx 4 port ZX346Q. The card is ostensibly 4 'dc' > cards, but the dc driver does not properly parse the SROM to figure out > what values to poke around for media selection. It's not Znyx's fault. > Their SROM is legal per the spec I read, but our driver doesn't obey > that spec. Did you try the Znyx driver they provide on their website? :-) They support link failover and other goodies and have been longtime FreeBSD supporters. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 13:30:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 8872137B403; Mon, 24 Jun 2002 13:30:12 -0700 (PDT) Received: from alex.kruijff ([213.10.151.186]) by smtp05.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GY88YA02.N6A; Mon, 24 Jun 2002 22:30:10 +0200 Date: Mon, 24 Jun 2002 22:30:59 +0200 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <10718740377.20020624223059@dds.nl> To: dwcjr@FreeBSD.org, freebsd-stable@freebsd.org Subject: samba-tng and changed working dir MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello/Beste dwcjr, I had an small error with the samba-tng port on freebsd. I used a setting in /etc/make.conf to change the default working directory to /work. (symlink) The port failed to install because of this. The whole installed after making this directory by hand. Please mail me, if you need any information -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 13:31:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from PHSEXCHICO2.Partners.org (phsexchico2.partners.org [170.223.254.20]) by hub.freebsd.org (Postfix) with ESMTP id A2DB637B401 for ; Mon, 24 Jun 2002 13:31:15 -0700 (PDT) Received: by phsexchico2.partners.org with Internet Mail Service (5.5.2650.21) id <2ZZZ6PZ1>; Mon, 24 Jun 2002 16:31:09 -0400 Message-ID: <375F68784081D511908A00508BE3BB1701EF1BEF@phsexch22.mgh.harvard.edu> From: "Morse, Richard E." To: 'Lamont Granquist' , freebsd-stable@freebsd.org Subject: RE: Did someone break TCP? Date: Mon, 24 Jun 2002 16:30:59 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lamont Granquist [mailto:lamont@scriptkiddie.org] wrote: > I've got an IRC server with a few days of uptime now after > upgrading to > both FBSD 4.6 and ircd-hybrid 6.3 out of the ports tree. > Tonight I found > that I couldn't login, TCP wasn't completing the 3-way > handshake (no RST, > no SYN|ACK). Stopping the service and restarting it fixed > the problem. > At this point it looks like TCP freaked out. > > I tried multiple different ways to login to the ircd, both > remotely, from > the local box and from behind the machine that it acts as a > firewall for. > All the users reported a 3+ hour outage prior to me finding > the problem. > There was nothing that I was doing to the box at the time. > This has been > previously stable hardware. Hi! This sounds like a problem I'm having on a FreeBSD 4.5-p6 (actually, any of the patch levels) box. After a few days, it just drops off the network. If I try to ping anything, I get an error "no buffer space available" (I think -- I'm remembering this off the top of my head). I've written about this a number of times, and no one has been able to suggest a solution. I've discovered that running tcpdump will force the computer to reconnect to the network, so the best that I've been able to do (which cures the symptoms, but not the problem) is to run 'tcpdump -c 10' via cron every two hours or so... If you do figure out what causes this, _please_ let me know. I would _really_ like to see this fixed... Thanks, Ricky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 13:47:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from PHSEXCHICI.MGH.HARVARD.EDU (phsexchici.mgh.harvard.edu [132.183.126.51]) by hub.freebsd.org (Postfix) with ESMTP id 2AC3A37B401 for ; Mon, 24 Jun 2002 13:47:22 -0700 (PDT) Received: by phsexchici.mgh.harvard.edu with Internet Mail Service (5.5.2650.21) id ; Mon, 24 Jun 2002 16:47:20 -0400 Message-ID: <375F68784081D511908A00508BE3BB1701EF1BF0@phsexch22.mgh.harvard.edu> From: "Morse, Richard E." To: "'fcash@mail.ocis.net'" Cc: stable@freebsd.org Subject: RE: Did someone break TCP? Date: Mon, 24 Jun 2002 16:47:11 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Freddie Cash [mailto:fcash@mail.ocis.net] wrote: > What NIC are you using? We've had problems with this (Sendto > Failed: No > buffer space available.) using the ep driver (3c509 ISA > cards). Turns out > there's a problem with the driver in FreeBSD versions < 4.6. > Luckily, the external card never goes down so we can connect to the > box and down/up > the card (wrote a nice little watchdog script to do this for > me -- it tries > to send ICMP packets and if it gets an error, then it restarts the > interface). Wow! I have 'ep0: <3Com 3C509B-TPO EtherLink III (PnP)> on isa0' in my dmesg, so that would appear to be the problem. Do you think that you could send me the script? I'd like to see how it works... Thanks, Ricky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 15:32:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (camus.noos.net [212.198.2.70]) by hub.freebsd.org (Postfix) with ESMTP id 004CF37B706 for ; Mon, 24 Jun 2002 15:31:46 -0700 (PDT) Received: (qmail 31614310 invoked by uid 0); 24 Jun 2002 22:31:44 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.70 (qmail-ldap-1.03) with SMTP for ; 24 Jun 2002 22:31:44 -0000 Received: from gits.gits.dyndns.org (x22uobb6p5pmt73j@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g5OMVh7b008690 for ; Tue, 25 Jun 2002 00:31:43 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g5OLsbql001728 for freebsd-stable@FreeBSD.org; Mon, 24 Jun 2002 23:54:37 +0200 (CEST) (envelope-from root) Message-Id: <200206242154.g5OLsbql001728@gits.gits.dyndns.org> Subject: unable to alias more than 1 ip address in a subnet To: freebsd stable Date: Mon, 24 Jun 2002 23:54:37 +0200 (CEST) From: Cyrille Lefevre Reply-To: cyrille.lefevre@laposte.net X-Face: X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, maybe I've discovered why I can't run netscape4, which hang my machine, for weeks (months?). netscape is configured to pass through the junkbuster proxy which is normally started on an IP alias. unfortunatelly, junkbuster won't start for some time because the alias is missing while it is normally setup at boot time through dhclient-exit-script. here is my configuration : # uname -a FreeBSD gits 4.6-STABLE FreeBSD 4.6-STABLE #15: Sun Jun 23 06:31:23 CEST 2002 root@gits:/disk2/freebsd/src/sys/compile/CUSTOM i386 # ifconfig ep0 (immediatly after boot) ep0: flags=8843 mtu 1500 inet 212.198.229.153 netmask 0xffffff00 broadcast 212.198.229.255 inet 192.168.144.96 netmask 0xffffff00 broadcast 192.168.144.255 ether 00:60:08:1a:9a:37 media: Ethernet 10baseT/UTP # netstat -rn (ditto) Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 4 195 lo0 192.168.144 link#1 UC 0 0 ep0 192.168.144.96 127.0.0.1 UGHS 0 0 lo0 192.168.144.97 127.0.0.1 UGHS 0 0 lo0 212.198.229 link#1 UC 1 0 ep0 212.198.229.153 127.0.0.1 UGHS 0 0 lo0 212.198.229.255 ff:ff:ff:ff:ff:ff UHLWb 1 5 ep0 here is the interresting part of the dhclient-exit-script trace file : + awk -v interface=ep0 /[ ]*#[ ]*alias/ && $3 == interface { print $4, $5 } /usr/local/etc/dhclient.conf + read alias_ip_address alias_subnet_mask + alias_subnet_arg=netmask 255.255.255.0 + [ x212.198.229.153 != x192.168.144.97 ] + [ x192.168.144.97 != x ] + ifconfig ep0 inet alias 192.168.144.97 netmask 255.255.255.0 ifconfig: ioctl (SIOCAIFADDR): File exists ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + route add 192.168.144.97 127.0.0.1 add host 192.168.144.97: gateway 127.0.0.1 + read alias_ip_address alias_subnet_mask and the dhclient.conf configuration file : timeout 60; retry 60; select-timeout 5; reboot 10; initial-interval 5; interface "ep0" { request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; prepend domain-name "gits.fr.invalid "; # the final space is required prepend domain-name-servers 127.0.0.1; } alias { interface "ep0"; fixed-address 192.168.144.96; option subnet-mask 255.255.255.0; # alias ep0 192.168.144.97 255.255.255.0 } so, the first alias (192.168.144.96) is well configured, but not the second one. there is no problem to create a new alias in another subnet, but no more : # ifconfig ep0 inet alias 192.168.146.96 (ok) # ifconfig ep0 inet alias 192.168.146.97 ifconfig: ioctl (SIOCAIFADDR): File exists # ifconfig ep0 ep0: flags=8843 mtu 1500 inet 212.198.229.153 netmask 0xffffff00 broadcast 212.198.229.255 inet 192.168.144.96 netmask 0xffffff00 broadcast 192.168.144.255 inet 192.168.146.96 netmask 0xffffff00 broadcast 192.168.146.255 ether 00:60:08:1a:9a:37 media: Ethernet 10baseT/UTP any idea ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 15:35:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.tgd.net (mail.tgd.net [209.81.25.10]) by hub.freebsd.org (Postfix) with ESMTP id 45ED437B6E3 for ; Mon, 24 Jun 2002 15:35:26 -0700 (PDT) Received: by mail.tgd.net (Postfix, from userid 1001) id D0B3B20F02; Mon, 24 Jun 2002 15:35:25 -0700 (PDT) Date: Mon, 24 Jun 2002 15:35:25 -0700 From: Sean Chittenden To: Cyrille Lefevre Cc: freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020624153525.C30655@ninja1.internal> References: <200206242154.g5OLsbql001728@gits.gits.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206242154.g5OLsbql001728@gits.gits.dyndns.org>; from "cyrille.lefevre@laposte.net" on Mon, Jun 24, 2002 at = 11:54:37PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > there is no problem to create a new alias in another subnet, but no > more : >=20 > # ifconfig ep0 inet alias 192.168.146.96 > (ok) > # ifconfig ep0 inet alias 192.168.146.97=20 > ifconfig: ioctl (SIOCAIFADDR): File exists > # ifconfig ep0=20 > ep0: flags=3D8843 mtu 1500 > inet 212.198.229.153 netmask 0xffffff00 broadcast 212.198.229.255 > inet 192.168.144.96 netmask 0xffffff00 broadcast 192.168.144.255 > inet 192.168.146.96 netmask 0xffffff00 broadcast 192.168.146.255 > ether 00:60:08:1a:9a:37 > media: Ethernet 10baseT/UTP >=20 > any idea ? Use 255.255.255.255 or 0xffffffff as your netmask instead. -sc --=20 Sean Chittenden --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iD8DBQE9F56sn09c7x7d+q0RAs/4AKDCB1S/pwY8E4lzmytLtWg/D83VgQCeOrK8 3AiquQmJhfOnQVAlQPYOetE= =b4Ge -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 15:36:34 2002 Delivered-To: freebsd-stable@freebsd.org Received: from dm.transactionware.com (dm.transactionware.com [203.14.245.8]) by hub.freebsd.org (Postfix) with SMTP id 8A74237B70E for ; Mon, 24 Jun 2002 15:36:11 -0700 (PDT) Received: (qmail 45453 invoked from network); 24 Jun 2002 22:47:12 -0000 Received: from new.transactionware.com (192.168.1.55) by dm.transactionware.com with SMTP; 24 Jun 2002 22:47:12 -0000 Received: (qmail 48031 invoked by uid 1006); 24 Jun 2002 22:39:06 -0000 Received: from janm@transactionware.com by new.transactionware.com by uid 1003 with qmail-scanner-1.10 (uvscan: v4.1.40/v4195. . Clear:0. Processed in 0.316036 secs); 24 Jun 2002 22:39:06 -0000 Received: from mosm1.transactionware.com (HELO mosm1) (192.168.1.130) by new.transactionware.com with SMTP; 24 Jun 2002 22:39:05 -0000 From: "Jan Mikkelsen" To: , "'freebsd stable'" Subject: RE: unable to alias more than 1 ip address in a subnet Date: Tue, 25 Jun 2002 08:28:37 +1000 Organization: Transactionware Message-ID: <000d01c21bce$7c6f5840$fc5807ca@mosm1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <200206242154.g5OLsbql001728@gits.gits.dyndns.org> Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cyrille Lefevre wrote: > [ On an interface alias problem ] > ... > + ifconfig ep0 inet alias 192.168.144.97 netmask 255.255.255.0 Try: ifconfig ep0 inet alias 192.168.144.97 netmask 255.255.255.255 Regards, Jan Mikkelsen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 16:34:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 6056E37B401; Mon, 24 Jun 2002 16:34:47 -0700 (PDT) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id JAA47580; Tue, 25 Jun 2002 09:34:45 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id JAA10959; Tue, 25 Jun 2002 09:34:45 +1000 (EST) Message-Id: <200206242334.JAA10959@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: Kal Torak Cc: FreeBSD Stable Cc: FreeBSD ISP Subject: Re: Good dual port NICs? In-reply-to: Your message of Mon, 24 Jun 2002 19:11:44 +1000. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Jun 2002 09:34:45 +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We had good luck with the Intel dual EtherExpress Pro 100 cards, even if they do cost about 10x a single! This is still on FreeBSD 3.2 (soon, soon to be 4.6). Probing for devices on PCI bus 1: fxp1: rev 0x05 int a irq 11 on pci1.4. 0 fxp1: Ethernet address 00:90:27:4c:ea:bc fxp2: rev 0x05 int a irq 10 on pci1.5. 0 fxp2: Ethernet address 00:90:27:4c:ea:bd Probing for devices on PCI bus 2: fxp3: rev 0x05 int a irq 10 on pci2.4. 0 fxp3: Ethernet address 00:90:27:3a:ce:6a fxp4: rev 0x05 int a irq 9 on pci2.5.0 fxp4: Ethernet address 00:90:27:3a:ce:6b (note the sequential MAC addresses) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 16:45:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (racine.noos.net [212.198.2.71]) by hub.freebsd.org (Postfix) with ESMTP id 578E837B401 for ; Mon, 24 Jun 2002 16:45:51 -0700 (PDT) Received: (qmail 16779275 invoked by uid 0); 24 Jun 2002 23:45:48 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.71 (qmail-ldap-1.03) with SMTP for ; 24 Jun 2002 23:45:48 -0000 Received: from gits.gits.dyndns.org (q3ikv4fi9xt6aoj6@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g5ONjmtY001630; Tue, 25 Jun 2002 01:45:48 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g5ONjkiv001629; Tue, 25 Jun 2002 01:45:46 +0200 (CEST) (envelope-from root) Date: Tue, 25 Jun 2002 01:45:45 +0200 From: Cyrille Lefevre To: Jan Mikkelsen Cc: "'freebsd stable'" Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020624234545.GA1550@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Jan Mikkelsen , 'freebsd stable' References: <200206242154.g5OLsbql001728@gits.gits.dyndns.org> <000d01c21bce$7c6f5840$fc5807ca@mosm1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c21bce$7c6f5840$fc5807ca@mosm1> User-Agent: Mutt/1.3.99i Organization: ACME Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 25, 2002 at 08:28:37AM +1000, Jan Mikkelsen wrote: > Cyrille Lefevre wrote: > > [ On an interface alias problem ] > > ... > > + ifconfig ep0 inet alias 192.168.144.97 netmask 255.255.255.0 > > Try: > > ifconfig ep0 inet alias 192.168.144.97 netmask 255.255.255.255 well, now that I've netscape back, I've found the answer in the FAQ ! so, it works, thanks. but why this was working until some times ago ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 16:57:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 8BCED37B439 for ; Mon, 24 Jun 2002 16:56:34 -0700 (PDT) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id JAA47882; Tue, 25 Jun 2002 09:56:25 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id JAA12574; Tue, 25 Jun 2002 09:56:25 +1000 (EST) Message-Id: <200206242356.JAA12574@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: Cyrille Lefevre Cc: freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet In-reply-to: Your message of Tue, 25 Jun 2002 01:45:45 +0200. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Jun 2002 09:56:25 +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > well, now that I've netscape back, I've found the answer in the FAQ ! > so, it works, thanks. but why this was working until some times ago ? Because some changes to the routing code made this (which was always recommended) now mandatory. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 17:30:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by hub.freebsd.org (Postfix) with ESMTP id A280237B401 for ; Mon, 24 Jun 2002 17:30:26 -0700 (PDT) Received: (qmail 41426167 invoked by uid 0); 25 Jun 2002 00:30:25 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with SMTP for ; 25 Jun 2002 00:30:25 -0000 Received: from gits.gits.dyndns.org (mw6dyihwuxaro896@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g5P0UOtY002706; Tue, 25 Jun 2002 02:30:24 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g5P0UN5H002705; Tue, 25 Jun 2002 02:30:23 +0200 (CEST) (envelope-from root) Date: Tue, 25 Jun 2002 02:30:23 +0200 From: Cyrille Lefevre To: Gregory Bond Cc: freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020625003023.GA2654@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Gregory Bond , freebsd stable References: <200206242356.JAA12574@lightning.itga.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206242356.JAA12574@lightning.itga.com.au> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 25, 2002 at 09:56:25AM +1000, Gregory Bond wrote: > > well, now that I've netscape back, I've found the answer in the FAQ ! > > so, it works, thanks. but why this was working until some times ago ? > > Because some changes to the routing code made this (which was always > recommended) now mandatory. IMHO, this is a good topic for /usr/src/UPDATING, no ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 19:14:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail018.syd.optusnet.com.au (mail018.syd.optusnet.com.au [210.49.20.176]) by hub.freebsd.org (Postfix) with ESMTP id EF84637B403 for ; Mon, 24 Jun 2002 19:14:17 -0700 (PDT) Received: from webmail06.syd.optusnet.com.au (webmail06.syd.optusnet.com.au [210.49.20.117]) by mail018.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id g5P2EGg23575 for ; Tue, 25 Jun 2002 12:14:17 +1000 Message-Id: <200206250214.g5P2EGg23575@mail018.syd.optusnet.com.au> Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) Received: from [203.13.126.19] as user satare@optusnet.com.au by webmail.optusnet.com.au with HTTP; From: Michael Ross To: freebsd-stable@freebsd.org Date: Tue, 25 Jun 2002 12:14:16 +1000 Subject: audigy support Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I had a look over the freebsd website and the hardware notes for 4.6.. I was wanting to know if / how well freebsd supports the newer soundblaster audigy cards? thanks, Michael Ross satare@optusnet.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 19:34:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by hub.freebsd.org (Postfix) with SMTP id 6075437B404 for ; Mon, 24 Jun 2002 19:34:01 -0700 (PDT) Received: (qmail 75424 invoked by uid 0); 25 Jun 2002 02:34:00 -0000 Received: from greg.panula@dolaninformation.com by proxy with qmail-scanner-0.96 (. Clean. Processed in 0.325494 secs); 25 Jun 2002 02:34:00 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: kaltorak@quake.com.au,bvi@itouchlabs.com,freebsd-stable@FreeBSD.ORG,freebsd-isp@FreeBSD.ORG X-Qmail-Scanner: 0.96 (No viruses found. Processed in 0.325494 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 25 Jun 2002 02:34:00 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167); 24 Jun 2002 21:34:00 -0500 Message-ID: <3D17D697.E91515E@dolaninformation.com> Date: Mon, 24 Jun 2002 21:33:59 -0500 From: Greg Panula Reply-To: greg.panula@dolaninformation.com Organization: Dolan Information Center Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Kal Torak Cc: Barry Irwin , FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? References: <3D16E250.9080004@quake.com.au> <20020624112838.F46303@itouchlabs.com> <3D16E972.3080505@quake.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kal Torak wrote: > > Barry Irwin wrote: > > Not Dual port, but I have been using the quad port dlink 570-TX cards for > > quite a while with no hastles. > I was unable to get dlink's quad port 570TX card to work properly in an SMP kernel. The card worked fine in single cpu mode. The box I was using was a compaq DL360 and the code was freebsd-stable 4.4. I got watchdog timeouts if I remember correctly. A search thru -stable list should turn up my problems. The card & box worked fine with linux (kernel 2.2.x) both with and without SMP enabled. So, I'm not sure if it was an interupt thing or APIC thing with freebsd or just a general user head-space problem on my part. Just my two bits, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 20: 6:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from richard2.pil.net (richard2.pil.net [208.8.16.11]) by hub.freebsd.org (Postfix) with SMTP id 278EC37B400 for ; Mon, 24 Jun 2002 20:06:50 -0700 (PDT) Received: (qmail 85490 invoked by uid 1825); 25 Jun 2002 03:06:44 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Jun 2002 03:06:44 -0000 Date: Mon, 24 Jun 2002 23:06:44 -0400 (EDT) From: X-Sender: up@richard2.pil.net To: Greg Panula Cc: FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? In-Reply-To: <3D17D697.E91515E@dolaninformation.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Jun 2002, Greg Panula wrote: > Kal Torak wrote: > > > > Barry Irwin wrote: > > > Not Dual port, but I have been using the quad port dlink 570-TX cards for > > > quite a while with no hastles. > > > > I was unable to get dlink's quad port 570TX card to work properly in an > SMP kernel. The card worked fine in single cpu mode. The box I was > using was a compaq DL360 and the code was freebsd-stable 4.4. I got > watchdog timeouts if I remember correctly. A search thru -stable list > should turn up my problems. > > The card & box worked fine with linux (kernel 2.2.x) both with and > without SMP enabled. > > So, I'm not sure if it was an interupt thing or APIC thing with freebsd > or just a general user head-space problem on my part. Interesting, I had the *exact* same problem with an SMP kernel built on 4.6RC-1 with a Tyan Tiger's on-board 3C920c (3C905c driver). It never occured to me that it might be linked to SMP in any way, so I just returned it and used an Intel L440GX. May not be anywhere near as fast, but they always work... James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 21:41:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id DCC7537B401 for ; Mon, 24 Jun 2002 21:41:10 -0700 (PDT) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 0EB9E62D1A; Mon, 24 Jun 2002 21:41:10 -0700 (PDT) Date: Mon, 24 Jun 2002 21:46:18 -0700 (PDT) From: Lamont Granquist To: "Morse, Richard E." Cc: freebsd-stable@freebsd.org Subject: RE: Did someone break TCP? In-Reply-To: <375F68784081D511908A00508BE3BB1701EF1BEF@phsexch22.mgh.harvard.edu> Message-ID: <20020624214242.G20202-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Jun 2002, Morse, Richard E. wrote: > Lamont Granquist [mailto:lamont@scriptkiddie.org] wrote: > > I've got an IRC server with a few days of uptime now after > > upgrading to > > both FBSD 4.6 and ircd-hybrid 6.3 out of the ports tree. > > Tonight I found > > that I couldn't login, TCP wasn't completing the 3-way > > handshake (no RST, > > no SYN|ACK). Stopping the service and restarting it fixed > > the problem. > > At this point it looks like TCP freaked out. > > > > I tried multiple different ways to login to the ircd, both > > remotely, from > > the local box and from behind the machine that it acts as a > > firewall for. > > All the users reported a 3+ hour outage prior to me finding > > the problem. > > There was nothing that I was doing to the box at the time. > > This has been > > previously stable hardware. > > Hi! This sounds like a problem I'm having on a FreeBSD 4.5-p6 (actually, > any of the patch levels) box. After a few days, it just drops off the > network. If I try to ping anything, I get an error "no buffer space > available" (I think -- I'm remembering this off the top of my head). I've > written about this a number of times, and no one has been able to suggest a > solution. I've discovered that running tcpdump will force the computer to > reconnect to the network, so the best that I've been able to do (which cures > the symptoms, but not the problem) is to run 'tcpdump -c 10' via cron every > two hours or so... > > If you do figure out what causes this, _please_ let me know. I would > _really_ like to see this fixed... No, that isn't the same issue. I could still ssh into the box, and therefore don't believe it was a driver issue. It seemed to be that something in the data structures associated with that one socket got corrupted? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 21:56: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from HAL9000.wox.org (12-233-156-170.client.attbi.com [12.233.156.170]) by hub.freebsd.org (Postfix) with ESMTP id EFE2437B408 for ; Mon, 24 Jun 2002 21:55:58 -0700 (PDT) Received: from HAL9000.wox.org (localhost [127.0.0.1]) by HAL9000.wox.org (8.12.3/8.12.3) with ESMTP id g5P4uA9p000621; Mon, 24 Jun 2002 21:56:10 -0700 (PDT) (envelope-from das@HAL9000.wox.org) Received: (from das@localhost) by HAL9000.wox.org (8.12.3/8.12.3/Submit) id g5P4u9mk000620; Mon, 24 Jun 2002 21:56:09 -0700 (PDT) Date: Mon, 24 Jun 2002 21:56:09 -0700 From: David Schultz To: Michael Ross Cc: freebsd-stable@FreeBSD.ORG Subject: Re: audigy support Message-ID: <20020624215609.A597@HAL9000.wox.org> Mail-Followup-To: Michael Ross , freebsd-stable@FreeBSD.ORG References: <200206250214.g5P2EGg23575@mail018.syd.optusnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206250214.g5P2EGg23575@mail018.syd.optusnet.com.au>; from satare@optusnet.com.au on Tue, Jun 25, 2002 at 12:14:16PM +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Michael Ross : > I had a look over the freebsd website and the hardware notes for > 4.6.. I was wanting to know if / how well freebsd supports the newer > soundblaster audigy cards? It doesn't at the moment, AFAIK, unless you care to pay for the OSS drivers. I understand they have beta-quality support for Audigy. They can also support more than two speakers, among other things. http://www.opensound.com/freebsd.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 23:30:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web20602.mail.yahoo.com (web20602.mail.yahoo.com [216.136.226.158]) by hub.freebsd.org (Postfix) with SMTP id 6F8EF37B41B for ; Mon, 24 Jun 2002 23:30:12 -0700 (PDT) Message-ID: <20020625063012.76308.qmail@web20602.mail.yahoo.com> Received: from [142.173.224.254] by web20602.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 23:30:12 PDT Date: Mon, 24 Jun 2002 23:30:12 -0700 (PDT) From: "Mr. Darren" Subject: Re: audigy support To: David Schultz Cc: freebsd In-Reply-To: <20020624215609.A597@HAL9000.wox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG opensound makes some good products, overall I'm satisfied. however, I feel possible buffer overruns exist.. I noticed that when playing one mp3 directory my computer would crash and reboot itself. I havn't yet narrowed down the mp3 which causes this but when I do I will forward it here... it's a large directory. -Darren --- David Schultz wrote: > Thus spake Michael Ross : > > I had a look over the freebsd website and the > hardware notes for > > 4.6.. I was wanting to know if / how well freebsd > supports the newer > > soundblaster audigy cards? > > It doesn't at the moment, AFAIK, unless you care to > pay for the OSS > drivers. I understand they have beta-quality > support for Audigy. > They can also support more than two speakers, among > other things. > > http://www.opensound.com/freebsd.html > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Mon Jun 24 23:40:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by hub.freebsd.org (Postfix) with ESMTP id 2873237B477 for ; Mon, 24 Jun 2002 23:38:55 -0700 (PDT) Received: from radwaste.thai-aec.org (TruPPP0A158.inet.co.th [203.151.124.158]) by access.inet.co.th (8.8.8/8.8.8) with ESMTP id NAA24845; Tue, 25 Jun 2002 13:38:51 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (firak.thai-aec.org. [192.168.1.55]) by radwaste.thai-aec.org (8.12.3/8.12.3) with ESMTP id g5P6cjG5021696; Tue, 25 Jun 2002 13:38:47 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost.thai-aec.org [127.0.0.1]) by firak.thai-aec.org (8.12.3/8.12.3) with ESMTP id g5P6hBR4000719; Tue, 25 Jun 2002 13:43:11 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.3/8.12.3/Submit) id g5P6h9Gh000718; Tue, 25 Jun 2002 13:43:09 +0700 (ICT) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Tue, 25 Jun 2002 13:43:09 +0700 From: pirat To: Kent Stewart Cc: freebsd-stable@freebsd.org Subject: Re: make doc fails Message-ID: <20020625064309.GA341@thai-aec.org> References: <20020623095213.Q1987-100000@dumpster.io.com> <3D160C4D.9040408@owt.com> <20020624022019.GA93820@thai-aec.org> <3D16A0B6.7010104@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline In-Reply-To: <3D16A0B6.7010104@owt.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD firak.thai-aec.org 4.5-STABLE FreeBSD 4.5-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 09:31:50PM -0700, Kent Stewart wrote: > Date: Sun, 23 Jun 2002 21:31:50 -0700 > From: Kent Stewart > To: pirat > Cc: freebsd-stable@FreeBSD.ORG > Subject: Re: make doc fails > > > ..cut some texts away.. > > > >>They need to be current to process the images and etc. I use > >>XFree86-4.2.0 and you probably still have 3.3.6 installed. Version 4.2 > >>is now the default and you need to define your version in > >>/etc/make.conf. I use "XFREE86_VERSION= 4", which is now the default. > >> > >> > > > >am running 4.5-stable and have not yet upgraded to 4.6 , only make > >buildworld > >am using x 3.3.6 and have just finished make install for docs very smooth. > >do we really need to have x version 4 in order to install documents too ? > > > No, but if you are not using 4.2.0, you will have to tell the port > system that you are using version 3. That is what the > "XFREE86_VERSION=" does for you. > for 4.6, XFREE86_VERSION is 4 by default is not it? am making one of my machine XFree84-4-libraries now but i have to have imake-4 installed first. am making without specifying any version of X in /etc/make.conf though. and sure, that box has 4.6 make buildworld; make buildkernel; make installkernel; make buildworld and reboot and mergermaster already. with best regards, psr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 0:13: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.useoz.com (mail.useoz.com [203.220.32.39]) by hub.freebsd.org (Postfix) with ESMTP id 8AAC737BC1F for ; Tue, 25 Jun 2002 00:11:05 -0700 (PDT) Received: from [203.220.99.91] (helo=localhost.localdomain) by mail.useoz.com with esmtp (Exim 3.36 #1) id 17MkQ5-0007wR-00 for stable@FreeBSD.org; Tue, 25 Jun 2002 17:07:21 +1000 Content-Type: text/plain; charset="us-ascii" From: JH Reply-To: john.h@chariot.net.au To: stable@FreeBSD.org Subject: subscribe Date: Tue, 25 Jun 2002 16:46:16 +0930 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206251646.16106.johnh@useoz.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 1:50: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by hub.freebsd.org (Postfix) with ESMTP id 9D7E837B400; Tue, 25 Jun 2002 01:49:46 -0700 (PDT) Received: from alogis.com (kipp@clausthal.int1.b.intern [10.1.1.30]) by alogis.com (8.11.1/8.9.3) with ESMTP id g5P8mLF88012; Tue, 25 Jun 2002 10:48:21 +0200 (CEST) (envelope-from holger.kipp@alogis.com) Message-ID: <3D182E49.D5E86F50@alogis.com> Date: Tue, 25 Jun 2002 10:48:09 +0200 From: Holger Kipp X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: greg.panula@dolaninformation.com Cc: Kal Torak , Barry Irwin , FreeBSD Stable , FreeBSD ISP Subject: Re: Good dual port NICs? References: <3D16E250.9080004@quake.com.au> <20020624112838.F46303@itouchlabs.com> <3D16E972.3080505@quake.com.au> <3D17D697.E91515E@dolaninformation.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greg Panula wrote: > > Kal Torak wrote: > > > > Barry Irwin wrote: > > > Not Dual port, but I have been using the quad port dlink 570-TX cards for > > > quite a while with no hastles. > > > > I was unable to get dlink's quad port 570TX card to work properly in an > SMP kernel. The card worked fine in single cpu mode. The box I was > using was a compaq DL360 and the code was freebsd-stable 4.4. I got > watchdog timeouts if I remember correctly. A search thru -stable list > should turn up my problems. We're using three of them in one system (no SMP) without any problems. > So, I'm not sure if it was an interupt thing or APIC thing with freebsd > or just a general user head-space problem on my part. I'd bet it was a problem with shared irqs (and IO-APIC-support). Could you provide some more information (if you still have them?). Just so I can collect more data / evidence on this. Problem Report or anything? Regards, Holger -- Holger Kipp, Dipl.-Math., Systemadministrator | alogis AG Fon: +49 (0)30 / 43 65 8 - 114 | Berliner Strasse 26 Fax: +49 (0)30 / 43 65 8 - 214 | D-13507 Berlin Tegel email: holger.kipp@alogis.com | http://www.alogis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 2:44: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 7E88B37B76E for ; Tue, 25 Jun 2002 02:41:55 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id CAA26153; Tue, 25 Jun 2002 02:41:48 -0700 Message-ID: <3D183ADB.3090704@owt.com> Date: Tue, 25 Jun 2002 02:41:47 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: pirat Cc: freebsd-stable@FreeBSD.ORG Subject: Re: make doc fails References: <20020623095213.Q1987-100000@dumpster.io.com> <3D160C4D.9040408@owt.com> <20020624022019.GA93820@thai-aec.org> <3D16A0B6.7010104@owt.com> <20020625064309.GA341@thai-aec.org> Content-Type: text/plain; charset=TIS-620; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG pirat wrote: > On Sun, Jun 23, 2002 at 09:31:50PM -0700, Kent Stewart wrote: > >> Date: Sun, 23 Jun 2002 21:31:50 -0700 From: Kent Stewart >> To: pirat Cc: >> freebsd-stable@FreeBSD.ORG Subject: Re: make doc fails >> >> >>> ..cut some texts away.. >>> >>> >>>> They need to be current to process the images and etc. I use XFree86-4.2.0 and you probably still have 3.3.6 installed. Version 4.2 >>>>is now the default and you need to define your version in >>>>/etc/make.conf. I use "XFREE86_VERSION= 4", which is now the default. >>>> >>>> >>>> >>>am running 4.5-stable and have not yet upgraded to 4.6 , only make >>>buildworld >>>am using x 3.3.6 and have just finished make install for docs very smooth. >>>do we really need to have x version 4 in order to install documents too ? >>> >> >>No, but if you are not using 4.2.0, you will have to tell the port >>system that you are using version 3. That is what the >>"XFREE86_VERSION=" does for you. >> >> > for 4.6, XFREE86_VERSION is 4 by default is not it? > am making one of my machine XFree84-4-libraries now but i have to have imake-4 installed first. > am making without specifying any version of X in /etc/make.conf though. Yes, the default is version 4. The only time you had to add the "XFREE86_VERSION=" is when you are not using the default. > > and sure, that box has 4.6 make buildworld; make buildkernel; > make installkernel; make buildworld and reboot and mergermaster already. I hope that last buildworld was an installworld. There is more to it than that. I think for 4.2 that they are recomending that you remove the older version before you begin adding version 4.2. Changing versions also means you have ports that were built with the wrong version. When I upgraded to 4.2.0, I pkg_delete -r everything that used XFree86. Then, I added everything back in and made packages for my other machines. On an AMD-1600+ XP that is optimized to do buildworlds, it required a good share of a day before KDE-3.0.1 was finally reinstalled. Configuring XFreee86 required running xf86cfg before it would start. The location of the config file has changed. It expects to find /usr/X11R6/lib/X11/XF86Config and the one in /etc is an old style one. I started out using portupgrade and ended up with multiple versions on some ports. When you have multiple ports requiring upgrades "-rfpu", portupgrade has not handled the new dependancies on a forked side line well. I did the final build manually. Kent > > with best regards, > psr -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html >>>> >>>>XFree86-4.2.0 and you probably still have 3.3.6 >>>> installed. Version 4.2 is now the default and you need to >>>> define your version in /etc/make.conf. I use >>>> "XFREE86_VERSION= 4", which is now the default. >>>> >>>> >>>> >>> am running 4.5-stable and have not yet upgraded to 4.6 , only >>> make buildworld am using x 3.3.6 and have just finished >>> make install for docs very smooth. do we really need to have >>> x version 4 in order to install documents too ? >>> >> >> No, but if you are not using 4.2.0, you will have to tell the >> port system that you are using version 3. That is what the "XFREE86_VERSION=" >> does for you. >> >> > for 4.6, XFREE86_VERSION is 4 by default is not it? am making one > of my machine XFree84-4-libraries now but i have to have imake-4 > installed first. am making without specifying any version of X in > /etc/make.conf though. Yes, the default is version 4. The only time you had to add the "XFREE86_VERSION=" is when you are not using the default. > > and sure, that box has 4.6 make buildworld; make buildkernel; > make installkernel; make buildworld and reboot and mergermaster > already. I hope that last buildworld was an installworld. There is more to it than that. I think for 4.2 they are recomending that you remove the older version before you begin adding version 4.2. Changing versions also means you have ports that were built with a really different version. I work really hard to keep them all consistant. When I upgraded to 4.2.0, I pkg_delete -r everything that used XFree86. Then, I added everything back in and made packages for my other machines. On an AMD-1600+ XP that is optimized to do buildworlds, it required a large part of a day before KDE-3.0.1 was finally installed. Configuring XFreee86 required running xf86cfg before it would start. The location of the config file has changed. It expects to find /usr/X11R6/lib/X11/XF86Config and the one in /etc is an old style one. I started out using portupgrade and ended up with multiple versions on some ports. When you have multiple ports requiring upgrades via "-rfpu", portupgrade has not cleanly handled the new dependancies on a forked side line well. I did the final build manually. Kent > > with best regards, psr -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 3: 5:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hotmail.com (oe24.pav2.hotmail.com [64.4.36.81]) by hub.freebsd.org (Postfix) with ESMTP id 8A8E137B686; Tue, 25 Jun 2002 02:55:14 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 25 Jun 2002 02:55:11 -0700 X-Originating-IP: [203.144.144.233] From: "mont" To: Subject: =?windows-874?B?cGFydC10aW1lIDUsMDAwLTEwLDAwMCCk2LOh57fT5LTpICEhIQ==?= Date: Tue, 25 Jun 2002 16:45:57 +0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0205_01C21C67.C7D305E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 25 Jun 2002 09:55:11.0687 (UTC) FILETIME=[6581BD70:01C21C2E] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0205_01C21C67.C7D305E0 Content-Type: text/plain; charset="windows-874" Content-Transfer-Encoding: quoted-printable = =C3=D0=BA=BA=A1=D2=C3=B7=D3=A7=D2=B9=A2=CD=A7=B8=D8=C3=A1=D4=A8=E3=B9=CD=B9= =D2=A4=B5 =B7=D3=E4=B4=E9=A7=E8=D2=C2 = =E1=C5=D0=CA=C3=E9=D2=A7=C3=D2=C2=E4=B4=E9=A7=D2=C1=A8=D2=A1=A1=D2=C3=B7=D3= =A7=D2=B9=BC=E8=D2=B9=C3=D0=BA=BA =BC=C1=C1=D5=C3=D2=C2=E4=B4=E9=C1=D2=A1=A1=C7=E8=D2 30,000 / = =E0=B4=D7=CD=B9 = =A8=D2=A1=A1=D2=C3=B7=D3=A7=D2=B9=E0=BE=D5=C2=A7=C7=D1=B9=C5=D0 2-3 = =AA=D1=E8=C7=E2=C1=A7=E0=B7=E8=D2=B9=D1=E9=B9 =E2=CD=A1=D2=CA=C1=D2=B6=D6=A7=A4=D8=B3=E1=C5=E9=C7 ! = =E0=CB=C5=D7=CD=E1=B5=E8=E0=BE=D5=C2=A7=A4=D8=B3=A8=D0=A4=C7=E9=D2=C1=D1=B9= =CB=C3=D7=CD=E0=BB=C5=E8=D2 =A1=D2=C3=BA=C3=C3=C2=D2=C2=E1=B9=D0=B9=D3=B8=D8=C3=A1=D4=A8 = International E-Business =E0=C3=D5=C2=B9=C3=D9=E9=C7=D4=B8=D5=A1=D2=C3=B7=D3=A7=D2=B9 = =B8=D8=C3=A1=D4=A8=B9=D2=B9=D2=AA=D2=B5=D4 =BA=B9 Internet=20 = =E0=C3=D5=C2=B9=C3=D9=E9=E1=BC=B9=A1=D2=C3=B7=D3=A7=D2=B9=E0=BE=D4=E8=C1=C3= =D2=C2=E4=B4=E9=BE=D4=E0=C8=C9=E3=B9=E1=B5=E8=C5=D0=E0=B4=D7=CD=B9 = =E1=BC=B9=C3=D2=C2=E4=B4=E9=CD=C2=E8=D2=A7=A8=C3=D4=A7=A8=D1=A7=E1=BA=BA=B7= =D3=A7=D2=B9 Part-time 15,000 =B6=D6=A7 60,000 =BA=D2=B7/=E0=B4=D7=CD=B9 =E0=C7=C5=D2=B7=D5=E8=B5=E9=CD=A7=E3=AA=E9 : 7- 14 =AA=C1. = /=CA=D1=BB=B4=D2=CB=EC=20 = =E1=BC=B9=C3=D2=C2=E4=B4=E9=CD=C2=E8=D2=A7=A8=C3=D4=A7=A8=D1=A7=E1=BA=BA=B7= =D3=A7=D2=B9 full-time 30,000 =B6=D6=A7 170,000 =BA=D2=B7/=E0=B4=D7=CD=B9 =E0=C7=C5=D2=B7=D5=E8=B5=E9=CD=A7=E3=AA=E9 : 20- 40 =AA=C1. = /=CA=D1=BB=B4=D2=CB=EC=20 =A2=E8=D2=C7=B4=D5 ! =CA=D3=CB=C3=D1=BA = =BC=D9=E9=B7=D5=E8=CD=C2=D9=E8=E3=B9=E0=A2=B5 =A1=C3=D8=A7=E0=B7=BE=CF = =E1=C5=D0=BB=C3=D4=C1=C5=B1=C5 = =CA=D3=C3=CD=A7=B7=D5=E8=B9=D1=E8=A7=E0=BE=D7=E8=CD=BF=D1=A7=A1=D2=C3=BA=C3= =C3=C2=D2=C2 =BF=C3=D5 !!! = ************************************************************* = =A2=CD=CD=C0=D1=C2=CB=D2=A1=A2=E9=CD=A4=C7=D2=C1=B9=D5=E9=E4=BB=B6=D6=A7=A4= =D8=B3=E2=B4=C2=BA=D1=A7=E0=CD=D4=AD=CB=D2=A1=A4=D8=B3=E4=C1=E8=B5=E9=CD=A7= =A1=D2=C3=C3=D1=BA=A2=E9=CD=A4=C7=D2=C1=B9=D5=E9=CD=D5=A1 =A1=C3=D8=B3=D2 =E1=A8=E9=A7 Mail = =A2=CD=A7=A4=D8=B3=B7=D5=E8=B5=E9=CD=A7=A1=D2=C3=C5=BA=C1=D2=B7=D5=E8 = "Unsubscribe" =20 =20 ------=_NextPart_000_0205_01C21C67.C7D305E0 Content-Type: text/html; charset="windows-874" Content-Transfer-Encoding: quoted-printable

=C3=D0=BA=BA=A1=D2=C3=B7=D3=A7=D2=B9=A2=CD=A7=B8=D8=C3=A1=D4=A8= =E3=B9=CD=B9=D2=A4=B5
=B7=D3=E4=B4=E9=A7=E8=D2=C2=20 = =E1=C5=D0=CA=C3=E9=D2=A7=C3=D2=C2=E4=B4=E9=A7=D2=C1=A8=D2=A1=A1=D2=C3=B7=D3= =A7=D2=B9=BC=E8=D2=B9=C3=D0=BA=BA
=BC=C1=C1=D5=C3=D2=C2=E4=B4=E9=C1=D2=A1=A1=C7=E8=D2=20 30,000 / =E0=B4=D7=CD=B9 = =A8=D2=A1=A1=D2=C3=B7=D3=A7=D2=B9=E0=BE=D5=C2=A7=C7=D1=B9=C5=D0 2-3=20 = =AA=D1=E8=C7=E2=C1=A7=E0=B7=E8=D2=B9=D1=E9=B9

=E2=CD=A1=D2=CA=C1=D2=B6=D6=A7=A4=D8=B3=E1=C5=E9=C7=20 !
=E0=CB=C5=D7=CD=E1=B5=E8=E0=BE=D5=C2=A7=A4=D8=B3=A8=D0=A4=C7= =E9=D2=C1=D1=B9=CB=C3=D7=CD=E0=BB=C5=E8=D2

=A1=D2=C3=BA=C3=C3=C2=D2=C2=E1=B9=D0=B9=D3=B8=D8=C3=A1=D4= =A8 International=20 E-Business
=E0=C3=D5=C2=B9=C3=D9=E9=C7=D4=B8=D5=A1=D2=C3=B7=D3=A7=D2= =B9 =B8=D8=C3=A1=D4=A8=B9=D2=B9=D2=AA=D2=B5=D4 =BA=B9 Internet=20
=E0=C3=D5=C2=B9=C3=D9=E9=E1=BC=B9=A1=D2=C3=B7=D3=A7=D2=B9= =E0=BE=D4=E8=C1=C3=D2=C2=E4=B4=E9=BE=D4=E0=C8=C9=E3=B9=E1=B5=E8=C5=D0=E0=B4= =D7=CD=B9

=E1=BC=B9=C3=D2=C2=E4=B4=E9=CD=C2=E8=D2=A7=A8=C3=D4=A7=A8=D1=A7=E1=BA= =BA=B7=D3=A7=D2=B9 Part-time
15,000 =B6=D6=A7 = 60,000=20 = =BA=D2=B7/=E0=B4=D7=CD=B9
=E0=C7=C5=D2=B7=D5=E8=B5=E9=CD=A7=E3=AA=E9 = : 7- 14 =AA=C1. /=CA=D1=BB=B4=D2=CB=EC=20 =
=E1=BC=B9=C3=D2=C2=E4=B4=E9=CD=C2=E8=D2=A7=A8=C3=D4=A7=A8=D1=A7=E1=BA= =BA=B7=D3=A7=D2=B9 full-time
30,000 =B6=D6=A7 170,000=20 = =BA=D2=B7/=E0=B4=D7=CD=B9
=E0=C7=C5=D2=B7=D5=E8=B5=E9=CD=A7=E3=AA=E9 = : 20- 40 =AA=C1. /=CA=D1=BB=B4=D2=CB=EC

=A2=E8=D2=C7=B4=D5=20 !     = =CA=D3=CB=C3=D1=BA = =BC=D9=E9=B7=D5=E8=CD=C2=D9=E8=E3=B9=E0=A2=B5=20 =A1=C3=D8=A7=E0=B7=BE=CF  = =E1=C5=D0=BB=C3=D4=C1=C5=B1=C5
=CA=D3=C3=CD=A7=B7=D5=E8=B9=D1=E8=A7=E0=BE=D7=E8=CD=BF=D1=A7=A1=D2= =C3=BA=C3=C3=C2=D2=C2   = =BF=C3=D5 !!!
*************************************************************
          &nbs= p; =20 =A2=CD=CD=C0=D1=C2=CB=D2=A1=A2=E9=CD=A4=C7=D2=C1=B9=D5=E9=E4=BB= =B6=D6=A7=A4=D8=B3=E2=B4=C2=BA=D1=A7=E0=CD=D4=AD=CB=D2=A1=A4=D8=B3=E4=C1=E8= =B5=E9=CD=A7=A1=D2=C3=C3=D1=BA=A2=E9=CD=A4=C7=D2=C1=B9=D5=E9=CD=D5=A1
=   =20 =            =        =20 =A1=C3=D8=B3=D2 =E1=A8=E9=A7 Mail=20 = =A2=CD=A7=A4=D8=B3=B7=D5=E8=B5=E9=CD=A7=A1=D2=C3=C5=BA=C1=D2=B7=D5=E8 = "Unsubscribe"

------=_NextPart_000_0205_01C21C67.C7D305E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 4:25:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mirage.nlink.com.br (mirage.nlink.com.br [200.249.195.3]) by hub.freebsd.org (Postfix) with SMTP id 0E13D37B403 for ; Tue, 25 Jun 2002 04:25:37 -0700 (PDT) Received: (qmail 75316 invoked by uid 501); 25 Jun 2002 11:25:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Jun 2002 11:25:35 -0000 Date: Tue, 25 Jun 2002 08:25:35 -0300 (BRT) From: Paulo Fragoso To: Thomas Quinot Cc: freebsd-stable@freebsd.org Subject: Re: XFree4 - 4.6-RELEASE In-Reply-To: <20020621160518.B29266@melusine.cuivre.fr.eu.org> Message-ID: <20020625082519.T67146-100000@mirage.nlink.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Many thanks, Paulo. On Fri, 21 Jun 2002, Thomas Quinot wrote: > Le 2002-06-21, Paulo Fragoso =E9crivait : > > > I don't know if I'm in the correct list but after upgrade to FreeBSD-4.= 6 > > and XFree86 4, I can get compose key: > > A work-around is to define the Compose key in your xmodmap: > xmodmap -e 'keycode 109 =3D Multi_key' > (109 is right-control). > > Thomas. > > -- > Thomas.Quinot@Cuivre.FR.EU.ORG > --=20 __O _-\<,_ Why drive when you can bike? (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 4:47: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gravy.kishka.net (pool-151-197-252-218.phil.east.verizon.net [151.197.252.218]) by hub.freebsd.org (Postfix) with ESMTP id B442837B404 for ; Tue, 25 Jun 2002 04:46:51 -0700 (PDT) Received: from gravy.kishka.net (gravy.kishka.net [192.168.1.2]) by gravy.kishka.net (8.12.4/8.12.3) with ESMTP id g5PBkjAg000727 for ; Tue, 25 Jun 2002 07:46:45 -0400 (EDT) (envelope-from bleez@bellatlantic.net) Date: Tue, 25 Jun 2002 07:46:45 -0400 (EDT) From: Bryan Liesner X-X-Sender: root@gravy.kishka.net To: freebsd-stable@freebsd.org Subject: D-Link DSB-R100 and the ufm driver Message-ID: <20020625073327.D708-200000@gravy.kishka.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1713206580-1025005605=:708" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1713206580-1025005605=:708 Content-Type: TEXT/PLAIN; charset=US-ASCII I just finished compiling ufm support into the kernel, and grabbed NetBSD's dsbr100 port to control my DSB-R100 device. With a little tweaking I got the port to compile, but when I run it I get inappropriate ioctl errors for USB_GET_DEVICEINFO and USB_DO_REQUEST. I think the device node may be wrong but here's what I have: crw-r--r-- 1 root operator 200, 0 Jun 25 00:55 /dev/ufm0 dmesg shows: ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2 I'm definitely not a USB guru, and need a bit of help getting this thing to work. The source is small enough, so it's attached. Thanks! ========================================================== = Bryan D. Liesner LeezSoft Communications, Inc. = = A subsidiary of LeezSoft Inc. = = bleez@bellatlantic.net Home of the Gipper = ========================================================== --0-1713206580-1025005605=:708 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="dsbr100.c" Content-Transfer-Encoding: BASE64 Content-ID: <20020625074645.T708@gravy.kishka.net> Content-Description: Content-Disposition: attachment; filename="dsbr100.c" LyoNCiAqIENvcHlyaWdodCAoYykgMjAwMCBMZW5uYXJ0IEF1Z3VzdHNzb24g PGF1Z3VzdHNzQG5ldGJzZC5vcmc+DQogKiBBbGwgcmlnaHRzIHJlc2VydmVk Lg0KICoNCiAqIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFu ZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dA0KICogbW9kaWZpY2F0 aW9uLCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2lu ZyBjb25kaXRpb25zDQogKiBhcmUgbWV0Og0KICogMS4gUmVkaXN0cmlidXRp b25zIG9mIHNvdXJjZSBjb2RlIG11c3QgcmV0YWluIHRoZSBhYm92ZSBjb3B5 cmlnaHQNCiAqICAgIG5vdGljZSwgdGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMg YW5kIHRoZSBmb2xsb3dpbmcgZGlzY2xhaW1lci4NCiAqIDIuIFJlZGlzdHJp YnV0aW9ucyBpbiBiaW5hcnkgZm9ybSBtdXN0IHJlcHJvZHVjZSB0aGUgYWJv dmUgY29weXJpZ2h0DQogKiAgICBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25k aXRpb25zIGFuZCB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIgaW4gdGhlDQog KiAgICBkb2N1bWVudGF0aW9uIGFuZC9vciBvdGhlciBtYXRlcmlhbHMgcHJv dmlkZWQgd2l0aCB0aGUgZGlzdHJpYnV0aW9uLg0KICoNCiAqIFRISVMgU09G VFdBUkUgSVMgUFJPVklERUQgQlkgVEhFIEFVVEhPUiBBTkQgQ09OVFJJQlVU T1JTIGBgQVMgSVMnJyBBTkQNCiAqIEFOWSBFWFBSRVNTIE9SIElNUExJRUQg V0FSUkFOVElFUywgSU5DTFVESU5HLCBCVVQgTk9UIExJTUlURUQgVE8sIFRI RQ0KICogSU1QTElFRCBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWSBB TkQgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UNCiAqIEFSRSBE SVNDTEFJTUVELiAgSU4gTk8gRVZFTlQgU0hBTEwgVEhFIEFVVEhPUiBPUiBD T05UUklCVVRPUlMgQkUgTElBQkxFDQogKiBGT1IgQU5ZIERJUkVDVCwgSU5E SVJFQ1QsIElOQ0lERU5UQUwsIFNQRUNJQUwsIEVYRU1QTEFSWSwgT1IgQ09O U0VRVUVOVElBTA0KICogREFNQUdFUyAoSU5DTFVESU5HLCBCVVQgTk9UIExJ TUlURUQgVE8sIFBST0NVUkVNRU5UIE9GIFNVQlNUSVRVVEUgR09PRFMNCiAq IE9SIFNFUlZJQ0VTOyBMT1NTIE9GIFVTRSwgREFUQSwgT1IgUFJPRklUUzsg T1IgQlVTSU5FU1MgSU5URVJSVVBUSU9OKQ0KICogSE9XRVZFUiBDQVVTRUQg QU5EIE9OIEFOWSBUSEVPUlkgT0YgTElBQklMSVRZLCBXSEVUSEVSIElOIENP TlRSQUNULCBTVFJJQ1QNCiAqIExJQUJJTElUWSwgT1IgVE9SVCAoSU5DTFVE SU5HIE5FR0xJR0VOQ0UgT1IgT1RIRVJXSVNFKSBBUklTSU5HIElOIEFOWSBX QVkNCiAqIE9VVCBPRiBUSEUgVVNFIE9GIFRISVMgU09GVFdBUkUsIEVWRU4g SUYgQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YNCiAqIFNVQ0ggREFN QUdFLg0KICovDQoNCi8qIA0KICogQSBkcml2ZXIgZm9yIHRoZSBELUxpbmsg RFNCLVIxMDAgVVNCIHJhZGlvLiAgVGhlIHJhZGlvIHBsdWdzDQogKiBpbnRv IGJvdGggdGhlIFVTQiBhbmQgYW4gYW5hbG9nIGF1ZGlvIGlucHV0LiAgVGhl IFVTQiBwYXJ0DQogKiBvbmx5IGRlYWxzIHdpdGggaW5pdGlhbGlzYXRpb24g YW5kIGZyZXF1ZW5jeSBzZXR0aW5nLCB0aGUNCiAqIGF1ZGlvIGRhdGEgaGFz IHRvIGJlIGhhbmRsZWQgYnkgYSBzb3VuZCBkcml2ZXIuDQogKi8NCg0KI2lu Y2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3RkbGliLmg+DQojaW5jbHVk ZSA8c3lzL3R5cGVzLmg+DQojaW5jbHVkZSA8ZmNudGwuaD4NCiNpbmNsdWRl IDx1bmlzdGQuaD4NCiNpbmNsdWRlIDxzdHJpbmcuaD4NCiNpbmNsdWRlIDxl cnIuaD4NCiNpbmNsdWRlIDxkZXYvdXNiL3VzYi5oPg0KI2luY2x1ZGUgPHN5 cy9pb2N0bC5oPg0KDQojZGVmaW5lIFZFTkRPUiAweDA0YjQNCiNkZWZpbmUg UFJPRFVDVCAweDEwMDINCg0KaW50IGRlYnVnID0gMDsNCmludCB2ZXJib3Nl ID0gMDsNCmludCBhdXRvdHVuZSA9IDE7DQoNCmludCBkZWx0YSA9IDUwOw0K aW50IG1pbnN0ZXAgPSAxMDsNCg0KaW50IHNsZWVwdGltZSA9IDMwMDAwMDsN Cg0KI2RlZmluZSBERUZBVUxUX0RFViAiL2Rldi91Zm0wIg0KDQppbnQNCnJh ZGlvX3JlcShpbnQgZiwgaW50IHVyZXEsIGludCB2YWx1ZSwgaW50IGluZGV4 KQ0Kew0KCXN0cnVjdCB1c2JfY3RsX3JlcXVlc3QgcmVxOw0KCXVfY2hhciBk YXRhOw0KCWludCByOw0KDQoJcmVxLnVjcl9yZXF1ZXN0LmJtUmVxdWVzdFR5 cGUgPSBVVF9SRUFEX1ZFTkRPUl9ERVZJQ0U7DQoJcmVxLnVjcl9yZXF1ZXN0 LmJSZXF1ZXN0ID0gdXJlcTsNCglVU0VUVyhyZXEudWNyX3JlcXVlc3Qud1Zh bHVlLCB2YWx1ZSk7DQoJVVNFVFcocmVxLnVjcl9yZXF1ZXN0LndJbmRleCwg aW5kZXgpOw0KCVVTRVRXKHJlcS51Y3JfcmVxdWVzdC53TGVuZ3RoLCAxKTsN CglyZXEudWNyX2RhdGEgPSAmZGF0YTsNCglyZXEudWNyX2ZsYWdzID0gMDsg Ly9VU0JEX1NIT1JUX1hGRVJfT0s7DQoJciA9IGlvY3RsKGYsIFVTQl9ET19S RVFVRVNULCAmcmVxKTsNCglpZiAociA8IDApDQoJCWVycigxLCAiVVNCX0RP X1JFUVVFU1QiKTsNCglpZiAoZGVidWcgPiAxKQ0KCQlwcmludGYoIiUjeCAl I3ggJSN4ICUjeCBsZW49JWRcbiIsIHVyZXEsIFVUX1JFQURfVkVORE9SX0RF VklDRSwNCgkJICAgICAgIHZhbHVlLCBpbmRleCwgcmVxLnVjcl9hY3RsZW4p Ow0KCXJldHVybiAhKGRhdGEgJiAxKTsNCn0NCg0Kdm9pZA0KcmFkaW9fc3Rh cnQoaW50IGYpDQp7DQoJcmFkaW9fcmVxKGYsIDB4MDAsIDB4MDAwMCwgMHgw MGM3KTsNCglyYWRpb19yZXEoZiwgMHgwMiwgMHgwMDAxLCAweDAwMDApOw0K fQ0KDQp2b2lkDQpyYWRpb19zdG9wKGludCBmKQ0Kew0KCXJhZGlvX3JlcShm LCAweDAwLCAweDAwMTYsIDB4MDAxYyk7DQoJcmFkaW9fcmVxKGYsIDB4MDIs IDB4MDAwMCwgMHgwMDAwKTsNCn0NCg0Kdm9pZA0KcmFkaW9fc2V0ZnJlcShp bnQgZiwgaW50IGZyZXEpDQp7DQoJaWYgKGRlYnVnID4gMSkgcHJpbnRmKCJz ZXRmcmVxPSVkXG4iLCBmcmVxKTsNCglmcmVxID0gZnJlcSAqIDgwIC8gMTAw MCArIDg1NjsNCglpZiAoZGVidWcgPiAyKSBwcmludGYoImZyZXEgPSAlI3hc biIsIGZyZXEpOw0KCXJhZGlvX3JlcShmLCAweDAxLCAoZnJlcSA+PiA4KSAm IDB4ZmYsIGZyZXEgJiAweGZmKTsNCglyYWRpb19yZXEoZiwgMHgwMCwgMHgw MDk2LCAweDAwYjcpOw0KCXJhZGlvX3JlcShmLCAweDAwLCAweDAwMDAsIDB4 MDAyNCk7DQp9DQoNCmludA0KcmFkaW9fc3RhdHVzKGludCBmKQ0Kew0KCXJl dHVybiByYWRpb19yZXEoZiwgMHgwMCwgMHgwMDAwLCAweDAwMjQpOw0KfQ0K DQp2b2lkDQp1c2FnZSh2b2lkKQ0Kew0KCWV4dGVybiBjaGFyICpfX3Byb2du YW1lOw0KDQoJZnByaW50ZihzdGRlcnIsICJVc2FnZTogJXMgWy1mIGRldmlj ZV0gWy12XSBzdGFydFxuIiwgX19wcm9nbmFtZSk7DQoJZnByaW50ZihzdGRl cnIsICIgICAgICAgJXMgWy1mIGRldmljZV0gWy12XSBzdG9wXG4iLCBfX3By b2duYW1lKTsNCglmcHJpbnRmKHN0ZGVyciwgIiAgICAgICAlcyBbLWYgZGV2 aWNlXSBbLXZdIHN0YXR1c1xuIiwgX19wcm9nbmFtZSk7DQoJZnByaW50Zihz dGRlcnIsICIgICAgICAgJXMgWy1mIGRldmljZV0gWy12XSBbLW5dIDxmcmVx PlxuIiwgX19wcm9nbmFtZSk7DQoJZnByaW50ZihzdGRlcnIsICIgICAgICAg JXMgWy1mIGRldmljZV0gWy12XSBbLW5dIHNjYW4gPGxvPiA8aGk+XG4iLCBf X3Byb2duYW1lKTsNCglmcHJpbnRmKHN0ZGVyciwgIiAgICAgICAlcyBbLWYg ZGV2aWNlXSBbLXZdIFstbl0gc2VhcmNoIDxsbz4gPGhpPlxuIiwgX19wcm9n bmFtZSk7DQoJZXhpdCgxKTsNCn0NCg0Kdm9pZA0Kc2V0ZnJlcShpbnQgZiwg aW50IGZyKQ0Kew0KCWludCBzLCBzbG8sIHNoaTsNCglpbnQgbmFjYywgYWNj Ow0KDQoJaWYgKCFhdXRvdHVuZSkgew0KCQlyYWRpb19zZXRmcmVxKGYsIGZy KTsNCgkJdXNsZWVwKHNsZWVwdGltZSk7DQoJCXJldHVybjsNCgl9DQoNCglz bG8gPSBmciAtIDQgKiBkZWx0YSAvIDI7DQoJc2hpID0gZnIgKyA0ICogZGVs dGEgLyAyOw0KCWFjYyA9IGZyOw0KCW5hY2MgPSAxOw0KCWZvciAocyA9IHNs bzsgcyA8PSBzaGk7IHMgKz0gbWluc3RlcCkgew0KCQlyYWRpb19zZXRmcmVx KGYsIHMpOw0KCQl1c2xlZXAoc2xlZXB0aW1lKTsNCgkJaWYoZGVidWcpDQoJ CQlwcmludGYoInRyeSBmcmVxPSVkIHN0ZXJlbz0lZFxuIiwgcywgcmFkaW9f c3RhdHVzKGYpKTsNCgkJaWYgKHJhZGlvX3N0YXR1cyhmKSkgew0KCQkJYWNj ICs9IHM7DQoJCQluYWNjKys7DQoJCX0NCgl9DQoJYWNjIC89IG5hY2M7DQoJ aWYgKGRlYnVnKQ0KCQlwcmludGYoImZyZXE9JWRcbiIsIGFjYyk7DQoJcmFk aW9fc2V0ZnJlcShmLCBhY2MpOw0KCXVzbGVlcChzbGVlcHRpbWUpOw0KfQ0K DQp2b2lkDQpzY2FuKGludCBmLCBpbnQgbG8sIGludCBoaSwgaW50IGNvbnQp DQp7DQoJaW50IGZyOw0KDQoJZm9yICg7Oykgew0KCQlmb3IgKGZyID0gbG87 IGZyIDwgaGk7IGZyICs9IGRlbHRhKSB7DQoJCQlpZiAodmVyYm9zZSkNCgkJ CQlwcmludGYoIlxyJS4yZiIsIGZyIC8gMTAwMC4wKSwgZmZsdXNoKHN0ZG91 dCk7DQoJCQlyYWRpb19zZXRmcmVxKGYsIGZyKTsNCgkJCXVzbGVlcChzbGVl cHRpbWUpOw0KCQkJaWYgKHJhZGlvX3N0YXR1cyhmKSkgew0KCQkJCXNldGZy ZXEoZiwgZnIgKyBkZWx0YSk7DQoJCQkJaWYgKHZlcmJvc2UpDQoJCQkJCXBy aW50ZigiXG4iKTsNCgkJCQllbHNlDQoJCQkJCXByaW50ZigiJS4yZlxuIiwg ZnIgLyAxMDAwLjApOw0KCQkJCWlmICghY29udCkNCgkJCQkJcmV0dXJuOw0K CQkJCXNsZWVwKDUpOw0KCQkJfQ0KCQkJZnIgKz0gMyAqIGRlbHRhOw0KCQl9 DQoJfQ0KfQ0KDQppbnQNCm1haW4oaW50IGFyZ2MsIGNoYXIgKiphcmd2KQ0K ew0KCWNoYXIgKmRldiA9IDA7DQoJY2hhciBkZXZidWZbMTAyNF07DQoJaW50 IGYsIGNoOw0KCWRvdWJsZSBmcmVxLCBsbywgaGk7DQoJc3RydWN0IHVzYl9k ZXZpY2VfaW5mbyBkaTsNCg0KCXdoaWxlICgoY2ggPSBnZXRvcHQoYXJnYywg YXJndiwgImRmOm52IikpICE9IC0xKSB7DQoJCXN3aXRjaChjaCkgew0KCQlj YXNlICdkJzoNCgkJCWRlYnVnKys7DQoJCQlicmVhazsNCgkJY2FzZSAnZic6 DQoJCQlkZXYgPSBvcHRhcmc7DQoJCQlicmVhazsNCgkJY2FzZSAnbic6DQoJ CQlhdXRvdHVuZSA9IDA7DQoJCQlicmVhazsNCgkJY2FzZSAndic6DQoJCQl2 ZXJib3NlKys7DQoJCQlicmVhazsNCgkJY2FzZSAnPyc6DQoJCWRlZmF1bHQ6 DQoJCQl1c2FnZSgpOw0KCQl9DQoJfQ0KCWFyZ2MgLT0gb3B0aW5kOw0KCWFy Z3YgKz0gb3B0aW5kOw0KCWlmICghZGV2KQ0KCQlkZXYgPSBERUZBVUxUX0RF VjsNCg0KCWYgPSBvcGVuKGRldiwgT19SRFdSKTsNCglpZiAoZiA8IDApIHsN CgkJaWYgKGRldlswXSAhPSAnLycpIHsNCgkJCXNwcmludGYoZGV2YnVmLCAi L2Rldi8lcyIsIGRldik7DQoJCQlmID0gb3BlbihkZXZidWYsIE9fUkRXUik7 DQoJCX0gZWxzZQ0KCQkJc3RyY3B5KGRldmJ1ZiwgZGV2KTsNCgkJaWYgKGYg PCAwKSB7DQoJCQlpZiAoIXN0cmNocihkZXZidWYsICcuJykpIHsNCgkJCQlz dHJjYXQoZGV2YnVmLCAiLjAwIik7DQoJCQkJZiA9IG9wZW4oZGV2YnVmLCBP X1JEV1IpOw0KCQkJfQ0KCQl9DQoJfQ0KCWlmIChmIDwgMCkNCgkJZXJyKDEs ICIlcyIsIGRldik7DQoNCg0KCWlmIChpb2N0bChmLCBVU0JfR0VUX0RFVklD RUlORk8sICZkaSkgIT0gMCkNCgkJZXJyKDEsICJVU0JfR0VUX0RFVklDRUlO Rk8iKTsNCglpZiAodmVyYm9zZSA+IDEpIHsNCgkJcHJpbnRmKCJQcm9kdWN0 OiAlc1xuIiwgZGkudWRpX3Byb2R1Y3QpOw0KCQlwcmludGYoIlZlbmRvcjog ICVzXG4iLCBkaS51ZGlfdmVuZG9yKTsNCgl9DQoJaWYgKGRpLnVkaV92ZW5k b3JObyAhPSBWRU5ET1IgfHwgZGkudWRpX3Byb2R1Y3RObyAhPSBQUk9EVUNU KQ0KCQllcnJ4KDEsICJUaGUgZGV2aWNlIGlzIG5vdCBhIERTQi1SMTAwIHJh ZGlvXG4iKTsNCg0KCWlmIChhcmdjID09IDEgJiYgc3RyY21wKGFyZ3ZbMF0s ICJzdGFydCIpID09IDApDQoJCXJhZGlvX3N0YXJ0KGYpOw0KCWVsc2UgaWYg KGFyZ2MgPT0gMSAmJiBzdHJjbXAoYXJndlswXSwgInN0b3AiKSA9PSAwKQ0K CQlyYWRpb19zdG9wKGYpOw0KCWVsc2UgaWYgKGFyZ2MgPT0gMSAmJiBzc2Nh bmYoYXJndlswXSwgIiVsZiIsICZmcmVxKSA9PSAxKSB7DQoJCXNldGZyZXEo ZiwgKGludCkoZnJlcSAqIDEwMDApKTsNCgkJaWYodmVyYm9zZSkNCgkJCXBy aW50ZigiJXNcbiIsIHJhZGlvX3N0YXR1cyhmKSA/ICJzdGVyZW8iIDogIm1v bm8iKTsNCgl9IGVsc2UgaWYgKGFyZ2MgPT0gMyAmJiBzdHJjbXAoYXJndlsw XSwgInNjYW4iKSA9PSAwICYmDQoJCSBzc2NhbmYoYXJndlsxXSwgIiVsZiIs ICZsbykgPT0gMSAmJg0KCQkgc3NjYW5mKGFyZ3ZbMl0sICIlbGYiLCAmaGkp ID09IDEpIHsNCgkJc2NhbihmLCBsbyAqIDEwMDAsIGhpICogMTAwMCwgMSk7 DQoJfSBlbHNlIGlmIChhcmdjID09IDMgJiYgc3RyY21wKGFyZ3ZbMF0sICJz ZWFyY2giKSA9PSAwICYmDQoJCSBzc2NhbmYoYXJndlsxXSwgIiVsZiIsICZs bykgPT0gMSAmJg0KCQkgc3NjYW5mKGFyZ3ZbMl0sICIlbGYiLCAmaGkpID09 IDEpIHsNCgkJc2NhbihmLCBsbyAqIDEwMDAsIGhpICogMTAwMCwgMCk7DQoJ fSBlbHNlIGlmIChhcmdjID09IDEgJiYgc3RyY21wKGFyZ3ZbMF0sICJzdGF0 dXMiKSA9PSAwKQ0KCQlwcmludGYoIiVzXG4iLCByYWRpb19zdGF0dXMoZikg PyAic3RlcmVvIiA6ICJtb25vIik7DQoJZWxzZQ0KCQl1c2FnZSgpOw0KDQoJ Y2xvc2UoZik7DQoNCglleGl0KDApOw0KfQ0K --0-1713206580-1025005605=:708-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 12:29:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id EF11337B403 for ; Tue, 25 Jun 2002 12:29:27 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Jun 2002 15:29:26 -0400 Message-ID: From: Don Bowman To: 'Jonathan Lemon' , "'freebsd-stable@freebsd.org'" Subject: RE: panic in syncache/rtfree with 4.6 Date: Tue, 25 Jun 2002 15:29:19 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in tcp_syncache.c, it seems that syncache_lookup() calls need to be protected by splnet()/splx(). For example, in syncache_chkrst(), the code does: sc = syncache_lookup(...) if (sc == NULL) return if (sc->...) syncache_drop(sc, ...) however, if the timer wakes up between the lookup() and the rest of the function, will a crash not occur? Shouldn't this be protected from before the lookup until after the last use of sc? --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 12:35:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from moek.pir.net (moek.pir.net [130.64.1.215]) by hub.freebsd.org (Postfix) with ESMTP id 805A637B405 for ; Tue, 25 Jun 2002 12:35:12 -0700 (PDT) Received: from pir by moek.pir.net with local (Exim) id 17Mw5n-0005cr-00 for freebsd-stable@freebsd.org; Tue, 25 Jun 2002 15:35:11 -0400 Date: Tue, 25 Jun 2002 15:35:11 -0400 From: Peter Radcliffe To: freebsd-stable@freebsd.org Subject: Re: em/Intel(R) PRO/1000 problems Message-ID: <20020625193510.GA21123@pir.net> Reply-To: freebsd-stable@freebsd.org Mail-Followup-To: freebsd-stable@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-fish: < X-Copy-On-Listmail: Please do NOT Cc: me on list mail. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Danny Braniss probably said: > em0: and > em0: Between the upgrade of em from 1.2.7 to 1.3.8 I started having problems with the em card in my desktop box at work. I have two tagged vlans over one em interface; em0: flags=8843 mtu 1500 options=3 ether 00:02:b3:xx:xx:xx media: Ethernet autoselect (1000baseTX ) status: active vlan1: flags=8843 mtu 1496 inet 130.64.x.xxx netmask 0xffffff00 broadcast 130.64.1.255 ether 00:02:b3:xx:xx:xx vlan: 1 parent interface: em0 vlan2: flags=8843 mtu 1496 inet 192.168.2.222 netmask 0xffffff00 broadcast 192.168.2.255 ether 00:02:b3:xx:xx:xx vlan: 2 parent interface: em0 With 1.2.7 in -RELEASE this works fine, with 1.3.8 in -STABLE I stop seeing arp replies from any Foundry equipment. The card is directly connected to a gig copper port on a foundry switch and the default route is a foundry router connected to the switch. With -STABLE I can connect to any machines on the same local networks as my desktop but the vlan interface (vlan1) cannot see arp responses from the foundry kit, including the default route, so cannot get any further. Sniffing on the parent interface, em0, I can see traffic from the foundry equipment and the foundry equipment gets arp responses from my desktop. I see ICMP packets sniffing on the parent interface (tagged, obviously, helpfully decoded by ethereal), those packets never make it to the vlan interface. Seems like this was broken by the upgrade. P. -- pir pir-sig@pir.net pir-sig@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 12:58:28 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id 39EF137B401 for ; Tue, 25 Jun 2002 12:58:08 -0700 (PDT) Received: from gw.tex.bogus (195-23-212-236.nr.ip.pt [195.23.212.236]) by pt-quorum.com (Postfix) with ESMTP id 52A9AEC0B; Tue, 25 Jun 2002 20:55:17 +0100 (WEST) Received: by gw.tex.bogus (Postfix, from userid 1001) id BDA7134A; Tue, 25 Jun 2002 20:55:33 +0100 (WEST) Date: Tue, 25 Jun 2002 20:55:33 +0100 From: Nuno Teixeira To: freebsd-stable@freebsd.org Cc: Soeren Schmidt Subject: hw.ata.tags="1" && hw.ata.wc="0": invalidating queued requests? Message-ID: <20020625195533.GA267@gw.tex.bogus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 4.6-STABLE User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello to all, For a long time that I am seeking over the groups about ata tags and write cache. What I heard is that when hw.ata.tags is activated, hw.ata.wc is ignored. I tested my system with: - softupdates enabled in all filesystems - ad0: 29314MB [59560/16/63] at ata0-master tagged UDMA33 - /boot/loader.conf: hw.ata.tags="1" hw.ata.wc="0" and the system gives a lot of errors (without crashing) like: ------------------------------------------------------------- ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ata0: resetting devices .. ad0: invalidating queued requests done ad0: no request for tag=0 ad0: invalidating queued requests ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ata0: resetting devices .. ad0: invalidating queued requests done ad0: timeout waiting for READY ad0: invalidating queued requests ad0: timeout sending command=00 s=d0 e=04 ad0: flush queue failed - resetting ata0: resetting devices .. ad0: invalidating queued requests done ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ata0: resetting devices .. ad0: invalidating queued requests done ad0: no request for tag=0 ad0: invalidating queued requests (...) ------------------------------------------------------------- When I use hw.ata.tags="1" && hw.ata.wc="1" the the system runs without any problems. Am I missing something? Thanks very much, Nuno Teixeira -- /* PGP fingerprint: C6D1 06ED EB54 A99C 6B14 6732 0A5D 810D 727D F6C6 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 13:13:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by hub.freebsd.org (Postfix) with ESMTP id 18E3637B74E for ; Tue, 25 Jun 2002 13:11:51 -0700 (PDT) Received: (qmail 41870581 invoked by uid 0); 25 Jun 2002 20:11:49 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with SMTP for ; 25 Jun 2002 20:11:49 -0000 Received: from gits.gits.dyndns.org (6hd38qzehgik980c@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g5PKBmtY013966; Tue, 25 Jun 2002 22:11:48 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g5PKBlNc013964; Tue, 25 Jun 2002 22:11:47 +0200 (CEST) (envelope-from root) Date: Tue, 25 Jun 2002 22:11:47 +0200 From: Cyrille Lefevre To: Michael Meltzer Cc: Gregory Bond , freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020625201147.GB11513@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Michael Meltzer , Gregory Bond , freebsd stable References: <200206242356.JAA12574@lightning.itga.com.au> <20020625003023.GA2654@gits.dyndns.org> <004d01c21c63$5ce70820$34f820c0@ix1x1000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004d01c21c63$5ce70820$34f820c0@ix1x1000> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 25, 2002 at 12:14:20PM -0400, Michael Meltzer wrote: > I know this might have come up, but is their any reason that the netmask on > a alias would not be 255.255.255.255. ? > > Its very unintuitive right now. To the point of sentencing many to > frustration. I would subject a message from ifconfig with -alias && netmask > !255.255.255.255 > "Warning: for an -alias most likely your netmask should be > 255.255.255.255, see ifconfig(8), use -s to turn warning off". for instance, ifconfig(8) doesn't say anything about netmasking .255 for aliases. in fact, I'm just noticing that .0 works 'til a few week (month?), but not anymore. so, the machine hung whenever I try to start netscape w/o touching anything. until yesterday, I guessed it was the fault to netscape (-linux) or linux_base while in fact, it's something else. in other words, this is anoying a lot. PS : could someone try netscape-linux (4.79) w/ a proxy to a wrong IP addr to see if the machine also hang ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 13:30:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.netcabo.pt (smtp.netcabo.pt [212.113.174.9]) by hub.freebsd.org (Postfix) with ESMTP id 1DF6937B414 for ; Tue, 25 Jun 2002 13:30:26 -0700 (PDT) Received: from cheetah ([213.22.28.141]) by smtp.netcabo.pt with Microsoft SMTPSVC(5.0.2195.5600); Tue, 25 Jun 2002 21:28:43 +0100 From: "Hununu" Organization: Artists, Inc. To: freebsd stable Date: Tue, 25 Jun 2002 21:30:18 +0100 MIME-Version: 1.0 Subject: Re: unable to alias more than 1 ip address in a subnet Reply-To: hununu@netcabo.pt Cc: freebsd stable Message-ID: <3D18E0EA.21229.9A0BF6@localhost> In-reply-to: <20020625003023.GA2654@gits.dyndns.org> References: <200206242356.JAA12574@lightning.itga.com.au> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-OriginalArrivalTime: 25 Jun 2002 20:28:43.0253 (UTC) FILETIME=[E62A6A50:01C21C86] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 25 Jun 2002 at 2:30, Cyrille Lefevre wrote: > > Because some changes to the routing code made this (which was always > > recommended) now mandatory. > > IMHO, this is a good topic for /usr/src/UPDATING, no ? Yes. I had some problems too until I found that out... ...:-=>> The freaking Mail Band <<=-:... hununu@netcabo.pt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 13:36:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.k12us.com (mail.k12us.com [65.112.222.15]) by hub.freebsd.org (Postfix) with SMTP id F10F037B401 for ; Tue, 25 Jun 2002 13:36:12 -0700 (PDT) Received: (qmail 98526 invoked by uid 1001); 25 Jun 2002 20:36:09 -0000 Date: Tue, 25 Jun 2002 16:36:09 -0400 From: Christopher Weimann To: Cyrille Lefevre Cc: Michael Meltzer , Gregory Bond , freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020625163609.A90689@mail.k12us.com> References: <200206242356.JAA12574@lightning.itga.com.au> <20020625003023.GA2654@gits.dyndns.org> <004d01c21c63$5ce70820$34f820c0@ix1x1000> <20020625201147.GB11513@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020625201147.GB11513@gits.dyndns.org>; from cyrille.lefevre@laposte.net on Tue, Jun 25, 2002 at 10:11:47PM +0200 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 25, 2002 at 10:11:47PM +0200, Cyrille Lefevre wrote: > > for instance, ifconfig(8) doesn't say anything about netmasking > .255 for aliases. > %uname -r 4.3-STABLE Snipped from man 8 ifconfig.... alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. If the address is on the same subnet as the first network address for this in- terface, a netmask of 0xffffffff has to be specified. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 14: 1: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from dart.sr.se (dart.sr.se [134.25.0.132]) by hub.freebsd.org (Postfix) with ESMTP id AE07B37B405 for ; Tue, 25 Jun 2002 14:00:34 -0700 (PDT) Received: from honken.sr.se (honken.sr.se [134.25.128.27]) by dart.sr.se (8.11.6/8.11.6) with ESMTP id g5PL0Or62747; Tue, 25 Jun 2002 23:00:24 +0200 (CEST) (envelope-from gunnar@pluto.sr.se) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.12.3/8.12.3) with ESMTP id g5PL0Odg096801; Tue, 25 Jun 2002 23:00:24 +0200 (CEST) (envelope-from gunnar@pluto.sr.se) Received: (from root@localhost) by pluto.sr.se (8.11.6/8.11.1) id g5PL0OU82232; Tue, 25 Jun 2002 23:00:24 +0200 (CEST) (envelope-from gunnar) Received: (from gunnar@localhost) by pluto.sr.se (8.11.6/8.11.1av) id g5PL0L082220; Tue, 25 Jun 2002 23:00:21 +0200 (CEST) (envelope-from gunnar) Date: Tue, 25 Jun 2002 23:00:21 +0200 From: Gunnar Flygt To: Cyrille Lefevre Cc: FreeBSD Stable Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020625230021.A82180@sr.se> Reply-To: Gunnar Flygt Mail-Followup-To: Gunnar Flygt , Cyrille Lefevre , FreeBSD Stable References: <200206242356.JAA12574@lightning.itga.com.au> <20020625003023.GA2654@gits.dyndns.org> <004d01c21c63$5ce70820$34f820c0@ix1x1000> <20020625201147.GB11513@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020625201147.GB11513@gits.dyndns.org>; from cyrille.lefevre@laposte.net on Tue, Jun 25, 2002 at 10:11:47PM +0200 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 25, 2002 at 10:11:47PM +0200, Cyrille Lefevre wrote: > On Tue, Jun 25, 2002 at 12:14:20PM -0400, Michael Meltzer wrote: > > I know this might have come up, but is their any reason that the netmask on > > a alias would not be 255.255.255.255. ? > > > > Its very unintuitive right now. To the point of sentencing many to > > frustration. I would subject a message from ifconfig with -alias && netmask > > !255.255.255.255 > > "Warning: for an -alias most likely your netmask should be > > 255.255.255.255, see ifconfig(8), use -s to turn warning off". > > for instance, ifconfig(8) doesn't say anything about netmasking > .255 for aliases. bash-2.05a$ uname -r 4.6-STABLE bash-2.05a$ man 8 ifconfig alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. If the address is on the same subnet as the first network address for this interface, a non-conflicting netmask must be given. Usually 0xffffffff is most appropriate. i.e. Same here as in 4.3-STABLE > > in fact, I'm just noticing that .0 works 'til a few week (month?), > but not anymore. so, the machine hung whenever I try to start > netscape w/o touching anything. until yesterday, I guessed it was > the fault to netscape (-linux) or linux_base while in fact, it's > something else. in other words, this is anoying a lot. > > PS : could someone try netscape-linux (4.79) w/ a proxy to a wrong > IP addr to see if the machine also hang ? > > Cyrille. > -- > Cyrille Lefevre mailto:cyrille.lefevre@laposte.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 17:17:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by hub.freebsd.org (Postfix) with ESMTP id 8FE7937B400 for ; Tue, 25 Jun 2002 17:17:12 -0700 (PDT) Received: (from jj@localhost) by alicia.nttmcl.com (8.10.1/8.10.1) id g5Q0HAV27277; Tue, 25 Jun 2002 17:17:10 -0700 (PDT) Date: Tue, 25 Jun 2002 17:17:10 -0700 From: JJ Behrens To: "Mr. Darren" , freebsd Subject: Re: /dev/acd0c bug Message-ID: <20020625171710.C25485@alicia.nttmcl.com> Mail-Followup-To: JJ Behrens , "Mr. Darren" , freebsd References: <20020624083651.1348.qmail@web20606.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20020624083651.1348.qmail@web20606.mail.yahoo.com>; from darren780@yahoo.com on Mon, Jun 24, 2002 at 01:36:51AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No one else has sent in a response yet, so I'll start grabbing for straws: o Perhaps you should updating your devices: cd /dev/; sh MAKEDEV all o Are you trying to burn an ISO? I.e., did you remember to use mkisofs first? o I wonder if this is related to the recent ATA problems. I apologize if this email was a waste of your time ;) -jj > I've tried many variations of this command and it > breaks down to two things.. I either don't get the > error and the cd doesn't work, or I do get the error > and it still doesn't work... windows loads it as a > blank cd with 100% used.. unix doesn't even load it.. > > pasted directly as is: > ani927tpy6ge# burncd -etv -f /dev/acd0c -s 16 XAmode1 > cd101.ugh fixate > adding type 0x0a file cd101.ugh size 723458 KB 361730 > blocks (0 padded) > next writeable LBA 0 > addr = 0 size = 740821200 blocks = 361730 > writing from file cd101.ugh size 723458 KB > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 ascq=0x00 > error=0x04 > only wrote -1 of 32768 bytes err=5 > fixating CD, please wait.. > ani927tpy6ge# > > > > > pay attention to: > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 ascq=0x00 > error=0x04 -- Users of C++ should consider hanging themselves rather than shooting their legs off--it's best not to use C++ simply as a better C. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 17:46:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by hub.freebsd.org (Postfix) with ESMTP id DAFE337B404 for ; Tue, 25 Jun 2002 17:46:45 -0700 (PDT) Received: from merlin.emma.line.org (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id CE27DA3831 for ; Wed, 26 Jun 2002 02:46:43 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 1953839B1; Wed, 26 Jun 2002 02:46:40 +0200 (CEST) To: freebsd-stable@freebsd.org Subject: Re: hw.ata.tags="1" && hw.ata.wc="0": invalidating queued requests? References: <20020625195533.GA267@gw.tex.bogus> In-Reply-To: <20020625195533.GA267@gw.tex.bogus> (Nuno Teixeira's message of "Tue, 25 Jun 2002 20:55:33 +0100") From: Matthias Andree Date: Wed, 26 Jun 2002 02:46:39 +0200 Message-ID: Lines: 14 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nuno Teixeira writes: > Am I missing something? Which version of FreeBSD are you running? FreeBSD 4-STABLE should be fine now, 4.6-RELEASE is known to be broken, and FreeBSD 4-STABLE has been broken throughout spring until recently. (Since the MFC until the very recent fix). Please look through the archives of this lists for the most recent mails from S=F8ren (or Soeren) Schmidt. --=20 Matthias Andree To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 17:55: 0 2002 Delivered-To: freebsd-stable@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 0A61837B400 for ; Tue, 25 Jun 2002 17:54:55 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for ; Tue, 25 Jun 2002 17:54:54 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: stable@FreeBSD.ORG Date: Tue, 25 Jun 2002 17:54:54 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Good dual port NICs? Reply-To: pjklist@ekahuna.com In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020626005454888.AAA782@empty1.ekahuna.com@pc02.ekahuna.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Mon, 24 Jun 2002 11:24:14 -0700 (PDT) > From: Doug White > > On Mon, 24 Jun 2002, Nick Sayer wrote: > > > Stay away from the Znyx 4 port ZX346Q. The card is ostensibly 4 'dc' > > cards, but the dc driver does not properly parse the SROM to figure out > > what values to poke around for media selection. It's not Znyx's fault. > > Their SROM is legal per the spec I read, but our driver doesn't obey > > that spec. > > Did you try the Znyx driver they provide on their website? :-) They > support link failover and other goodies and have been longtime FreeBSD > supporters. > > Doug White | FreeBSD: The Power to Serve > dwhite@resnet.uoregon.edu | www.FreeBSD.org Not to mention, they use those in at least some expensive Nokia firewall boxes (ie IP440 which was $10-12K), which run FreeBSD as the base OS. -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 18: 2:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 0497537B406 for ; Tue, 25 Jun 2002 18:01:43 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for ; Tue, 25 Jun 2002 18:01:42 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: stable@FreeBSD.ORG Date: Tue, 25 Jun 2002 18:01:42 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Good dual port NICs? Reply-To: pjklist@ekahuna.com In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020626010142870.AAA740@empty1.ekahuna.com@pc02.ekahuna.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Date: Mon, 24 Jun 2002 23:06:44 -0400 (EDT) From: > Interesting, I had the *exact* same problem with an SMP kernel built on > 4.6RC-1 with a Tyan Tiger's on-board 3C920c (3C905c driver). It never > occured to me that it might be linked to SMP in any way, so I just > returned it and used an Intel L440GX. May not be anywhere near as fast, > but they always work... 3com cards may benchmark faster in some respects but in general they also send more junk packets than any other major vendor's NICs. Modern Intel NICs in general get good and often superior performance ratings and are stable. Last time I had significant problems with Intel NICs was back in the ISA 10-megabit days. (Etherexpress 16, to be exact) I've occasionally had compatibility problems with the Intel (ie Intel NIC couldn't be forced half-duplex), but I've had that with lots of other stuff. In the case of the Intel, it was with a cheapie unconfigurable Netgear switch which could be a major part of the problem. (Whereas I've had problems with the 3coms and expensive switches [HP Procurve 4000M] which couldn't be cured no matter what settings I tried. 3com wouldn't work right at 10Mbit, had to run it at 100Mbit.) -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 18:19:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 4837637B401; Tue, 25 Jun 2002 18:19:14 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g5Q1JDf49243; Tue, 25 Jun 2002 18:19:13 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g5Q1JDU36770; Tue, 25 Jun 2002 18:19:13 -0700 (PDT) (envelope-from jdp) Date: Tue, 25 Jun 2002 18:19:13 -0700 (PDT) Message-Id: <200206260119.g5Q1JDU36770@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: freebsd-stable@freebsd.org Subject: Re: em/Intel(R) PRO/1000 problems In-Reply-To: <20020625193510.GA21123@pir.net> References: <20020625193510.GA21123@pir.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020625193510.GA21123@pir.net>, Peter Radcliffe wrote: > Danny Braniss probably said: > > em0: and > > em0: > > Between the upgrade of em from 1.2.7 to 1.3.8 I started having > problems with the em card in my desktop box at work. > > I have two tagged vlans over one em interface; > > em0: flags=8843 mtu 1500 > options=3 > ether 00:02:b3:xx:xx:xx > media: Ethernet autoselect (1000baseTX ) > status: active > vlan1: flags=8843 mtu 1496 > inet 130.64.x.xxx netmask 0xffffff00 broadcast 130.64.1.255 > ether 00:02:b3:xx:xx:xx > vlan: 1 parent interface: em0 > vlan2: flags=8843 mtu 1496 > inet 192.168.2.222 netmask 0xffffff00 broadcast 192.168.2.255 > ether 00:02:b3:xx:xx:xx > vlan: 2 parent interface: em0 > > With 1.2.7 in -RELEASE this works fine, with 1.3.8 in -STABLE I stop > seeing arp replies from any Foundry equipment. The recent em0 upgrade added HW support for VLANs in the driver, and I'm just wondering if it broke the old non-HW-supported method. There's an experiment you could try. Use ifconfig to set "link0" on both vlan1 and vlan2, then see if it starts working. Just an idea to try. I don't know whether it will make any difference. 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-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 18:19:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 4837637B401; Tue, 25 Jun 2002 18:19:14 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g5Q1JDf49243; Tue, 25 Jun 2002 18:19:13 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g5Q1JDU36770; Tue, 25 Jun 2002 18:19:13 -0700 (PDT) (envelope-from jdp) Date: Tue, 25 Jun 2002 18:19:13 -0700 (PDT) Message-Id: <200206260119.g5Q1JDU36770@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: freebsd-stable@freebsd.org Subject: Re: em/Intel(R) PRO/1000 problems In-Reply-To: <20020625193510.GA21123@pir.net> References: <20020625193510.GA21123@pir.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020625193510.GA21123@pir.net>, Peter Radcliffe wrote: > Danny Braniss probably said: > > em0: and > > em0: > > Between the upgrade of em from 1.2.7 to 1.3.8 I started having > problems with the em card in my desktop box at work. > > I have two tagged vlans over one em interface; > > em0: flags=8843 mtu 1500 > options=3 > ether 00:02:b3:xx:xx:xx > media: Ethernet autoselect (1000baseTX ) > status: active > vlan1: flags=8843 mtu 1496 > inet 130.64.x.xxx netmask 0xffffff00 broadcast 130.64.1.255 > ether 00:02:b3:xx:xx:xx > vlan: 1 parent interface: em0 > vlan2: flags=8843 mtu 1496 > inet 192.168.2.222 netmask 0xffffff00 broadcast 192.168.2.255 > ether 00:02:b3:xx:xx:xx > vlan: 2 parent interface: em0 > > With 1.2.7 in -RELEASE this works fine, with 1.3.8 in -STABLE I stop > seeing arp replies from any Foundry equipment. The recent em0 upgrade added HW support for VLANs in the driver, and I'm just wondering if it broke the old non-HW-supported method. There's an experiment you could try. Use ifconfig to set "link0" on both vlan1 and vlan2, then see if it starts working. Just an idea to try. I don't know whether it will make any difference. 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-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 18:23:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 7658437B401 for ; Tue, 25 Jun 2002 18:23:23 -0700 (PDT) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id LAA60039; Wed, 26 Jun 2002 11:23:19 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id LAA28504; Wed, 26 Jun 2002 11:23:18 +1000 (EST) Message-Id: <200206260123.LAA28504@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: Christopher Weimann Cc: Cyrille Lefevre , Michael Meltzer , freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet In-reply-to: Your message of Tue, 25 Jun 2002 16:36:09 -0400. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Jun 2002 11:23:18 +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > If the address > is on the same subnet as the first network address for this in- > terface, a netmask of 0xffffffff has to be specified. In fact this line was added in November 1999 (rev 1.21 of ifconfig.8) and so was in 4.0 Release. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 18:31:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by hub.freebsd.org (Postfix) with ESMTP id 0440E37B403 for ; Tue, 25 Jun 2002 18:30:51 -0700 (PDT) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Jun 2002 09:31:47 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C344@mailserver.dagupan.com> From: francisv@dagupan.com To: freebsd-stable@FreeBSD.ORG Subject: Problem with buildworld Date: Wed, 26 Jun 2002 09:31:46 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I just CVSuped the latest stable sources (4.6) and proceeded to do a 'buildworld' but here's what I got: /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: warning: initialization from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c: In function `rest_of_compilation': /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:3810: `rtx_equal_function_value_matters' undeclared (first use in this function) /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:3810: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:3810: for each function it appears in.) *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc_int. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --- francis a. vidal [bitstop network services] | http://www.bitstop.ph streaming media + web hosting | http://www.keystone.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 18:47:42 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sherryl.salk.edu (sherryl.salk.edu [198.202.70.151]) by hub.freebsd.org (Postfix) with ESMTP id 5136B37B400 for ; Tue, 25 Jun 2002 18:47:34 -0700 (PDT) Received: from coppi.salk.edu (coppi.salk.edu [198.202.70.7]) by sherryl.salk.edu (8.12.1/8.12.1) with ESMTP id g5Q1lW6A092333; Tue, 25 Jun 2002 18:47:32 -0700 (PDT) Date: Tue, 25 Jun 2002 18:47:31 -0700 (PDT) From: Jorge Aldana To: JJ Behrens Cc: "Mr. Darren" , freebsd Subject: Re: /dev/acd0c bug In-Reply-To: <20020625171710.C25485@alicia.nttmcl.com> Message-ID: <20020625183615.M4861-100000@coppi.salk.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I hadn't seen this till I tried the following and got: ------------------------------------------------- #burncd -f /dev/acd1c -s 12 data /dev/acd0c fixate next writeable LBA 0 writing from file /dev/acd0c size 0 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error ------------------------------------------------- I tried the MAKEDEV all and still same problem. Was coping CD's as I always did on 4.5-STABLE, I'm running 4.6-RELEASE What up? Jorge On Tue, 25 Jun 2002, JJ Behrens wrote: > No one else has sent in a response yet, so I'll start grabbing for straws: > > o Perhaps you should updating your devices: > cd /dev/; sh MAKEDEV all > o Are you trying to burn an ISO? I.e., did you remember to use mkisofs first? > o I wonder if this is related to the recent ATA problems. > > I apologize if this email was a waste of your time ;) > > -jj > > > I've tried many variations of this command and it > > breaks down to two things.. I either don't get the > > error and the cd doesn't work, or I do get the error > > and it still doesn't work... windows loads it as a > > blank cd with 100% used.. unix doesn't even load it.. > > > > pasted directly as is: > > ani927tpy6ge# burncd -etv -f /dev/acd0c -s 16 XAmode1 > > cd101.ugh fixate > > adding type 0x0a file cd101.ugh size 723458 KB 361730 > > blocks (0 padded) > > next writeable LBA 0 > > addr = 0 size = 740821200 blocks = 361730 > > writing from file cd101.ugh size 723458 KB > > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 ascq=0x00 > > error=0x04 > > only wrote -1 of 32768 bytes err=5 > > fixating CD, please wait.. > > ani927tpy6ge# > > > > > > > > > > pay attention to: > > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 ascq=0x00 > > error=0x04 > > -- > Users of C++ should consider hanging themselves rather than shooting their > legs off--it's best not to use C++ simply as a better C. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 21: 4: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsdsystems.com (mx1.freebsdsystems.com [216.126.94.33]) by hub.freebsd.org (Postfix) with ESMTP id D8F1537B403 for ; Tue, 25 Jun 2002 21:03:56 -0700 (PDT) Received: (qmail 70516 invoked from network); 26 Jun 2002 04:03:55 -0000 Received: from unknown (HELO panda.FreeBSDsystems.com) (216.126.94.34) by panda.freebsdsystems.com with SMTP; 26 Jun 2002 04:03:55 -0000 Subject: ftp dies at < 1MB From: Paul James To: FreeBSD Stable Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 26 Jun 2002 00:03:55 -0400 Message-Id: <1025064235.93761.75.camel@panda.FreeBSDsystems.COM> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have encountered a problem which I thought was only due to a large amount of users on FreeBSD ftp servers. When trying to download as a regular user or even root, files that are large, all ftp clients (ftp, scp, ncftp2, ncftp, fetch) all seem to die around the 537KB download mark. I am positive this has something to do with a network setup here. firewall=yes firewall type=open natd /sbin/natd -s -a IP ADDRESS -redirect_address 192.168.0.220 IP_ADDRESS Thanks for any help with this problem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 21:28:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id 08BA937B400 for ; Tue, 25 Jun 2002 21:28:52 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Jun 2002 00:28:51 -0400 Message-ID: From: Don Bowman To: 'Jonathan Lemon' , "'freebsd-stable@freebsd.org'" Subject: RE: panic in syncache/rtfree with 4.6, BUG, problem found Date: Wed, 26 Jun 2002 00:28:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It would appear that in syncache_respond(), which calls ip_output(), there is a way that the ip_output() can re-enter the syncache code. For example, ipintr() ip_input() tcp_input() syncache_add() syncache_respond() ip_output() ip_input() tcp_input() syncache_badack() and then kaboom. syncache_badack() will do a syncache_drop(), which deletes the 'sc' entry, which syncache_respond() is still holding onto, which, on return, will cause a crash. Now, the 64K question is, can I avoid this with a change to my ipfw rules? 00100 allow ip from any to any via lo0 00101 allow ip from me to any 00102 allow ip from any to me 00105 fwd 127.0.0.1,9000 tcp from any to any 5000 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 65535 allow ip from any to any In my test I'm doing connections to an arbitrary IP, port 5000, and using fwd to divert them locally (a transparent proxy) to port 9000. Is it the ipfw rule on ip_output that comes back to me on ip_input()? Or is it some other mechanism? What is the suggested fix? Obviously this could recurse for a long time and blow the stack in addition to just being really hard on the data pointers. One fix would be to make it so no state was held over calls to syncache_respond(). Another would be to somehow defer the ip_output() until we were outside the syncache code. I'm seeing this crash reasonably frequently in a few systems here (most frequent is every ~30seconds or so with a test, least frequent is every ~day or so under 'normal' use). (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc01bf5ef in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc01bfa48 in poweroff_wait (junk=0xc032f787, howto=-182903712) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc021c492 in syncache_badack (inc=0xf98d9bec) at /usr/src/sys/netinet/tcp_syncache.c:532 #4 0xc0217eaa in tcp_input (m=0xc37f5300, off0=20, proto=6) at /usr/src/sys/netinet/tcp_input.c:732 #5 0xc0213bf3 in ip_input (m=0xc37f5300) at /usr/src/sys/netinet/ip_input.c:841 #6 0xc0215553 in ip_output (m0=0xc37f5300, opt=0x0, ro=0xf6291ed8, flags=0, imo=0x0) at /usr/src/sys/netinet/ip_output.c:720 #7 0xc021d2c9 in syncache_respond (sc=0xf6291ea0, m=0xc37f5300) at /usr/src/sys/netinet/tcp_syncache.c:1277 #8 0xc021cf20 in syncache_add (inc=0xf98d9de4, to=0xf98d9e58, th=0xc3b34024, sop=0xf98d9de0, m=0xc37f5300) at /usr/src/sys/netinet/tcp_syncache.c:1084 #9 0xc0217f90 in tcp_input (m=0xc37f5300, off0=20, proto=6) at /usr/src/sys/netinet/tcp_input.c:827 #10 0xc0213bf3 in ip_input (m=0xc37f5300) at /usr/src/sys/netinet/ip_input.c:841 #11 0xc0213c67 in ipintr () at /usr/src/sys/netinet/ip_input.c:869 #12 0xc02d7061 in swi_net_next () #13 0xc01c10d4 in issignal (p=0xf27e5ee0) at /usr/src/sys/kern/kern_sig.c:1252 #14 0xc02e54e7 in trap (frame={tf_fs = 47, tf_es = 673054767, tf_ds = 135921711, tf_edi = 135665276, tf_esi = 135901184, tf_ebp = 135933388, tf_isp = -108159020, tf_ebx = 135607296, tf_edx = 496, tf_ecx = 256, tf_eax = 197198436, tf_trapno = 7, tf_err = 0, tf_eip = 134735518, tf_cs = 31, tf_eflags = 518, tf_esp = 135933352, tf_ss = 47}) at /usr/src/sys/sys/signalvar.h:244 #15 0xc02d703a in doreti_ast () #16 0x807ccb8 in ?? () #17 0x804fd18 in ?? () #18 0x80501c2 in ?? () #19 0x804b967 in ?? () #20 0x804bf1b in ?? () #21 0x807a34a in ?? () #22 0x807a249 in ?? () #23 0x2817644f in ?? () #24 0x0 in ?? () (kgdb) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 22: 3: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-203.zoominternet.net [24.154.28.203]) by hub.freebsd.org (Postfix) with ESMTP id 8B60F37B400 for ; Tue, 25 Jun 2002 22:03:00 -0700 (PDT) Received: from topperwein (topperwein [192.168.168.10]) by topperwein.dyndns.org (8.12.3/8.12.3) with ESMTP id g5Q52xLq013583 for ; Wed, 26 Jun 2002 01:02:59 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Wed, 26 Jun 2002 01:02:54 -0400 (EDT) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Subject: Re: Another Q about hw.ata.atapi_dma In-Reply-To: <20020621085334.A1165@sheol.localdomain> Message-ID: <20020626010026.Y13148-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 21 Jun 2002, D J Hawkey Jr wrote: > Hi. > > OK, so I boot, hit the spacebar, and enter 'set hw.ata.atapi_dma="1"', > and 'boot'. The sysctl setting takes: > > [sheol] ~$ sysctl -a |grep dma > hw.ata.ata_dma: 1 > hw.ata.atapi_dma: 1 > hw.atamodes: dma,---,pio,pio, > > And/but dmesg still shows (correspondingly): > > ... > acd0: CD-RW at ata1-master using PIO3 > acd1: CDROM at ata1-slave using PIO4 > ... > > Does this mean the hardware doesn't support DMA, or am I looking at the > wrong thing to see that it is using DMA? The drives do function. Some of them the drives lie about supporting DMA. FWIW, I've had good luck with DMA with Creative Labs, Hitachi, and Lite-On products. The latter in particular provide awesome bang for the buck, with a product available that does 16x8x40x for CD-R, CD-RW, and reading CDs, respectively, for under $90 US if you shop around. -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net Turning coffee into software since 1990. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Tue Jun 25 23:59:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web20601.mail.yahoo.com (web20601.mail.yahoo.com [216.136.226.157]) by hub.freebsd.org (Postfix) with SMTP id 60B3737B401 for ; Tue, 25 Jun 2002 23:59:23 -0700 (PDT) Message-ID: <20020626065923.98584.qmail@web20601.mail.yahoo.com> Received: from [142.173.224.254] by web20601.mail.yahoo.com via HTTP; Tue, 25 Jun 2002 23:59:23 PDT Date: Tue, 25 Jun 2002 23:59:23 -0700 (PDT) From: "Mr. Darren" Subject: Re: /dev/acd0c bug To: JJ Behrens Cc: freebsd In-Reply-To: <20020625171710.C25485@alicia.nttmcl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG the iso's in question were converted from .cue/.bin.. the vcds I burn turn out ok.. just the mode1 iso's don't... I get that error every time. all my devs are current.. could be related to the ATA problems... -Darren --- JJ Behrens wrote: > No one else has sent in a response yet, so I'll > start grabbing for straws: > > o Perhaps you should updating your devices: > cd /dev/; sh MAKEDEV all > o Are you trying to burn an ISO? I.e., did you > remember to use mkisofs first? > o I wonder if this is related to the recent ATA > problems. > > I apologize if this email was a waste of your time > ;) > > -jj > > > I've tried many variations of this command and it > > breaks down to two things.. I either don't get the > > error and the cd doesn't work, or I do get the > error > > and it still doesn't work... windows loads it as > a > > blank cd with 100% used.. unix doesn't even load > it.. > > > > pasted directly as is: > > ani927tpy6ge# burncd -etv -f /dev/acd0c -s 16 > XAmode1 > > cd101.ugh fixate > > adding type 0x0a file cd101.ugh size 723458 KB > 361730 > > blocks (0 padded) > > next writeable LBA 0 > > addr = 0 size = 740821200 blocks = 361730 > > writing from file cd101.ugh size 723458 KB > > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 > ascq=0x00 > > error=0x04 > > only wrote -1 of 32768 bytes err=5 > > fixating CD, please wait.. > > ani927tpy6ge# > > > > > > > > > > pay attention to: > > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 > ascq=0x00 > > error=0x04 > > -- > Users of C++ should consider hanging themselves > rather than shooting their > legs off--it's best not to use C++ simply as a > better C. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Jun 26 1:19:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web20608.mail.yahoo.com (web20608.mail.yahoo.com [216.136.226.166]) by hub.freebsd.org (Postfix) with SMTP id 685E737B405 for ; Wed, 26 Jun 2002 01:19:01 -0700 (PDT) Message-ID: <20020626081901.3968.qmail@web20608.mail.yahoo.com> Received: from [142.173.224.254] by web20608.mail.yahoo.com via HTTP; Wed, 26 Jun 2002 01:19:01 PDT Date: Wed, 26 Jun 2002 01:19:01 -0700 (PDT) From: "Mr. Darren" Subject: soundblaster livedrive remote To: freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG has there been any work that anyone knows of to make use of the remote? I used to have a linux site bookmarked.. since I don't seem to have it anymore can someone get back to me with a few links.. if freebsd doesn't have a remote maybe I'll port on from linux? thanks -Darren __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Jun 26 3:13: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [205.147.43.8]) by hub.freebsd.org (Postfix) with ESMTP id 856F537B407 for ; Wed, 26 Jun 2002 03:12:52 -0700 (PDT) Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) by hokkshideh2.jetcafe.org (8.11.6/8.11.6) with ESMTP id g5QACW091684; Wed, 26 Jun 2002 03:12:33 -0700 (PDT) (envelope-from dave@hokkshideh2.jetcafe.org) Message-Id: <200206261012.g5QACW091684@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Gavin Atkinson Cc: Soeren Schmidt , stable@FreeBSD.ORG Subject: Re: ATA tags bug fix committed to -releng4 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Jun 2002 03:12:27 -0700 From: Dave Hayes Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gavin Atkinson writes: > If you mean the READ_BIG timeouts I and others were having with my > DVD drive, then no, this patch has not fixed them. The DVD-ROM works > fine in both UDMA and WDMA under both linux and windows. I currently run a number of FreeBSD 4.5-p4 machines directly off of CDROM. That means I can guarantee they are all running the exact same code, no slight divergences of kernel configuration or anything like that. There are a few of these machines that I've seen the READ_BIG errors on. They happen occasionally but fairly consistantly when you run the OS off of CDROM. Here are some dmesg snippets from machines that have the problem: Machine A: acd0: DVD-ROM at ata0-master using PIO4 acd0: READ_BIG - ILLEGAL REQUEST asc=64 ascq=00 error=01 Machine B: acd0: CDROM at ata1-master using PIO4 acd0: READ_BIG command timeout - resetting (...we then change the CD drive on the -same- machine...) acd0: CDROM at ata1-master using PIO4 acd0: READ_BIG command timeout - resetting Machine C: acd0: CD-RW at ata1-master using PIO4 acd0: READ_BIG - ILLEGAL REQUEST asc=64 ascq=00 error=00 Here are some from machines that do not have the problem: Machine 1: acd0: CDROM at ata1-master using PIO4 Machine 2: acd0: CDROM at ata0-master using PIO4 It's very important to note that these are all -older- CDROM/DVD-ROM devices, as in 2-3 years older. I hope this data helps. The problem has existed since before the ata MFC (unless 4.5-p4 somehow got the MFC). I have a theory on why we see so many problems, culled mostly from other experts telling me random things here and there. The caveat on this is that I am not working on device drivers every day, nor do I know much about low level hardware details. With the following, I've merely observed the data given to me and drafted a theory to support the data. If I'm wrong, tell me...and I'd really love to know why I'm wrong if I am. Also, apologies if this has been touched upon before...you never know when a discussion is "verboten" on this list. ;) We all are painfully aware of how these different ATAPI drives work just fine with linux and windows, while on FreeBSD it's touch and go. Some people never see any problems, others of us have yet to have burncd or cdrecord (or whatever) work a CD-RW drive properly enough to burn CDs. A while ago, someone knowledgable (might have even been Soren) told me that both linux and windows use some sort of SCSI emulation layer between their operating system and ATAPI devices. According to Soren, FreeBSD uses a direct ATAPI subsystem, it doesn't go through this layer (most probably for speed). So I contend that the vendor support for the emulation is a lot less sloppy than the support for direct ATAPI. Thus, it's a LOT more work to keep up a direct ATAPI driver suite, especially since there seems to be some hardware dependance involved. (Anyone noticed how little free time Soren has?) My question would be: why don't we have an interface to the more robust SCSI emulation layer of these devices? I recognize there is loss of speed to be endured, but the upside is that we could use a lot more drives on FreeBSD. ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>> The opinions expressed above are entirely my own <<< Half of being smart is knowing what you're dumb at. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Jun 26 4: 8: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id 3B5FA37B407 for ; Wed, 26 Jun 2002 04:07:53 -0700 (PDT) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 17NAdj-0000BV-00; Wed, 26 Jun 2002 18:07:11 +0700 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 17NAdj-0000BJ-00; Wed, 26 Jun 2002 18:07:11 +0700 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.3/8.12.3) with ESMTP id g5QB7Baj008052; Wed, 26 Jun 2002 18:07:11 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.3/8.12.3/Submit) id g5QB7Alk008045; Wed, 26 Jun 2002 18:07:10 +0700 (NSS) Date: Wed, 26 Jun 2002 18:07:09 +0700 From: Max Khon To: "Mr. Darren" Cc: JJ Behrens , freebsd Subject: Re: /dev/acd0c bug Message-ID: <20020626180709.B7817@iclub.nsu.ru> References: <20020625171710.C25485@alicia.nttmcl.com> <20020626065923.98584.qmail@web20601.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020626065923.98584.qmail@web20601.mail.yahoo.com>; from darren780@yahoo.com on Tue, Jun 25, 2002 at 11:59:23PM -0700 X-Envelope-To: darren780@yahoo.com, jj@nttmcl.com, freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, there! On Tue, Jun 25, 2002 at 11:59:23PM -0700, Mr. Darren wrote: > the iso's in question were converted from .cue/.bin.. > the vcds I burn turn out ok.. just the mode1 iso's > don't... I get that error every time. all my devs are > current.. could be related to the ATA problems... why generated .iso image has .ugh extension? bchunk generates such extension when it can't determine track mode properly. if you have created .cue file yourself, you could specify incorrect track mode. can you show your .cue file? > -Darren > --- JJ Behrens wrote: > > No one else has sent in a response yet, so I'll > > start grabbing for straws: > > > > o Perhaps you should updating your devices: > > cd /dev/; sh MAKEDEV all > > o Are you trying to burn an ISO? I.e., did you > > remember to use mkisofs first? > > o I wonder if this is related to the recent ATA > > problems. > > > > I apologize if this email was a waste of your time > > ;) > > > > -jj > > > > > I've tried many variations of this command and it > > > breaks down to two things.. I either don't get the > > > error and the cd doesn't work, or I do get the > > error > > > and it still doesn't work... windows loads it as > > a > > > blank cd with 100% used.. unix doesn't even load > > it.. > > > > > > pasted directly as is: > > > ani927tpy6ge# burncd -etv -f /dev/acd0c -s 16 > > XAmode1 > > > cd101.ugh fixate > > > adding type 0x0a file cd101.ugh size 723458 KB > > 361730 > > > blocks (0 padded) > > > next writeable LBA 0 > > > addr = 0 size = 740821200 blocks = 361730 > > > writing from file cd101.ugh size 723458 KB > > > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 > > ascq=0x00 > > > error=0x04 > > > only wrote -1 of 32768 bytes err=5 > > > fixating CD, please wait.. > > > ani927tpy6ge# > > > > > > > > > > > > > > > pay attention to: > > > acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x63 > > ascq=0x00 > > > error=0x04 > > > > -- > > Users of C++ should consider hanging themselves > > rather than shooting their > > legs off--it's best not to use C++ simply as a > > better C. > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Jun 26 4:21:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ngfl.dialnet.com (ngmail.ngfl.dialnet.com [212.44.44.76]) by hub.freebsd.org (Postfix) with ESMTP id B885F37B405 for ; Wed, 26 Jun 2002 04:20:53 -0700 (PDT) Received: from ngmfilt2.ngfl.dialnet.com [212.44.44.78] by ngfl.dialnet.com with ESMTP (SMTPD32-6.06) id A2F6237011E; Wed, 26 Jun 2002 12:18:14 +0100 Received: from firewall.cardinalnewman (unverified) by ngmfilt2.ngfl.dialnet.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Wed, 26 Jun 2002 12:25:50 +0100 Received: (from root@localhost) by firewall.cardinalnewman (8.11.6/8.11.6) id g5QBKgw26843 for stable@freebsd.org; Wed, 26 Jun 2002 12:20:42 +0100 (BST) (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from mail.cardinalnewman (mail.cardinalnewman [192.168.0.3]) by firewall.cardinalnewman (8.11.6/8.11.6av) with ESMTP id g5QBKcW26836 for ; Wed, 26 Jun 2002 12:20:38 +0100 (BST) (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from dumpster.cardinalnewman (dumpster.cardinalnewman [192.168.0.9]) by mail.cardinalnewman (8.12.3/8.12.3) with ESMTP id g5QBKcYD006038 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 26 Jun 2002 12:20:38 +0100 (BST) (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from cardinalnewman.coventry.sch.uk (localhost [127.0.0.1]) by dumpster.cardinalnewman (8.12.4/8.12.4) with ESMTP id g5QBKVlL014988 for ; Wed, 26 Jun 2002 12:20:38 +0100 (BST) (envelope-from ict@cardinalnewman.coventry.sch.uk) Message-ID: <3D19A37F.8E1A7E5@cardinalnewman.coventry.sch.uk> Date: Wed, 26 Jun 2002 12:20:31 +0100 From: ict technician Organization: Cardinal Newman School X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: ahc0 data parity error Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-stable@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 out some new motherboards and I'm getting these errors when I stress the ATA disk. ahc0: PCI error Interrupt at seqaddr = 0x9 ahc0: Data Parity Error Detected during address or write data phase (also had seqadrr 0x8) This has come up a few times before and seems to be put down to shared irq's. That doesn't seem to be the case here. So far I've tried FIC (1st mainboard) FR133E QDI Advance 6T These are both VIA Apollo PLE133T chipset. I'm running the Adaptec bare, so cables and termination shouldn't be a problem. Yes? I was testing with the SCSI drives attached - but I got scared. I'm testing by doing #tail -f /var/log/messages& #time fsck This gives the error within 3 or 4 runs. Upgrading from 4.5 RELEASE to 4.6 RELEASE did improve things. I know this is cheap hardware, but the Jetway 630CF currently running has worked fine for a year, and that was cheap too. I have one more board to try LEX BN630LT. Of course I have to make a choice *now*. Here's dmesg for the QDI board. video irq = OFF S/C off by jumper Copyright (c) 1992-2002 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 4.6-RELEASE #0: Mon Jun 24 18:41:28 GMT 2002 ict@dumpster.cardinalnewman:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: VIA C3 Samuel 2 (800.02-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x678 Stepping = 8 Features=0x803035 real memory = 125763584 (122816K bytes) avail memory = 117452800 (114700K bytes) Preloaded elf kernel "kernel" at 0xc04d0000. md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdc00 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc400-0xc41f irq 5 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc800-0xc81f irq 5 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 7.4 ahc0: port 0xdc00-0xdcff mem 0xd8000000-0xd8000fff irq 11 at device 8.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs rl0: port 0xe000-0xe0ff mem 0xd8001000-0xd80010ff irq 10 at device 13.0 on pci0 rl0: Ethernet address: 00:10:5c:b5:6f:d5 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: subscribe fre= ebsd-stable
subscribe cvs-all
--MS_Mac_OE_3108062971_501006_MIME_Part-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 13:58:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 4BD7337B401 for ; Thu, 27 Jun 2002 13:58:33 -0700 (PDT) Received: from fwd06.sul.t-online.de by mailout04.sul.t-online.com with smtp id 17NgLX-0002bP-09; Thu, 27 Jun 2002 22:58:31 +0200 Received: from there (310016482961-0001@[62.153.8.234]) by fwd06.sul.t-online.com with smtp id 17NgLQ-12zagiC; Thu, 27 Jun 2002 22:58:24 +0200 Content-Type: text/plain; charset="iso-8859-1" From: ahrens.derwand@t-online.de (Guido Derwand) To: stable@FreeBSD.org Subject: subscribe Date: Thu, 27 Jun 2002 22:56:53 +0200 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <17NgLQ-12zagiC@fwd06.sul.t-online.com> X-Sender: 310016482961-0001@t-dialin.net Sender: owner-freebsd-stable@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-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:10:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web13609.mail.yahoo.com (web13609.mail.yahoo.com [216.136.174.9]) by hub.freebsd.org (Postfix) with SMTP id 7A56F37B40C for ; Thu, 27 Jun 2002 14:10:18 -0700 (PDT) Message-ID: <20020627211017.39434.qmail@web13609.mail.yahoo.com> Received: from [12.225.219.108] by web13609.mail.yahoo.com via HTTP; Thu, 27 Jun 2002 14:10:17 PDT Date: Thu, 27 Jun 2002 14:10:17 -0700 (PDT) From: Bzdik BSD Subject: Samba 2.2.5_3 wants CURRENT? To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, says it's marked as broken. Best regards __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:14:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bcrail.com (ftp.bcrail.com [198.57.70.1]) by hub.freebsd.org (Postfix) with ESMTP id 1F34D37B400 for ; Thu, 27 Jun 2002 14:14:38 -0700 (PDT) Received: by gatekeeper.bcrail.com id <119081>; Thu, 27 Jun 2002 14:10:42 -0700 Content-return: allowed Date: Thu, 27 Jun 2002 14:14:32 -0700 From: ChildsC@bcrail.com Subject: RE: Samba 2.2.5_3 wants CURRENT? To: bzdik@yahoo.com, freebsd-stable@FreeBSD.ORG Message-Id: <02Jun27.141042pdt.119081@gatekeeper.bcrail.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No, that's only if you select ACL support. Chris C -----Original Message----- From: Bzdik BSD [mailto:bzdik@yahoo.com] Sent: Thursday, June 27, 2002 2:10 PM To: freebsd-stable@freebsd.org Subject: Samba 2.2.5_3 wants CURRENT? Hi All, says it's marked as broken. Best regards __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:17:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from colossus.systems.pipex.net (colossus.systems.pipex.net [62.190.223.73]) by hub.freebsd.org (Postfix) with ESMTP id 6415537B401 for ; Thu, 27 Jun 2002 14:17:39 -0700 (PDT) Received: from ThisAddressDoesNotExist (81-86-129-77.dsl.pipex.com [81.86.129.77]) by colossus.systems.pipex.net (Postfix) with ESMTP id 884A4160001E3; Thu, 27 Jun 2002 22:17:35 +0100 (BST) Subject: Re: Samba 2.2.5_3 wants CURRENT? From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: Bzdik BSD Cc: FreeBSD-Stable In-Reply-To: <20020627211017.39434.qmail@web13609.mail.yahoo.com> References: <20020627211017.39434.qmail@web13609.mail.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-o2doGVlNmZ6/9L+HwdFb" X-Mailer: Ximian Evolution 1.0.7 Date: 27 Jun 2002 22:17:35 +0100 Message-Id: <1025212658.325.10.camel@Demon.Strobe.org> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-o2doGVlNmZ6/9L+HwdFb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I ran into this a couple of versions ago. if you elected to include support for LDAP (and ACL's, I believe), and you're not running 5.x CURRENT, then the upgrade (with portupgrade, for me) will fail. If this is your situation then redoing (to be safe) the cvsup of your ports tree and upgrading without those options mentioned above should succeed. HTH. Stacey On Thu, 2002-06-27 at 22:10, Bzdik BSD wrote: > Hi All, >=20 > says it's marked as broken. >=20 > Best regards >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message --=20 Stacey Roberts B.Sc. (HONS) Computer Science Network Systems Engineer --=-o2doGVlNmZ6/9L+HwdFb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I ran into this a couple of versions ago. if you elected to include support for LDAP (and ACL's, I believe), and you're not running 5.x CURRENT, then the upgrade (with portupgrade, for me) will fail. If this is your situation then redoing (to be safe) the cvsup of your ports tree and upgrading without those options mentioned above should succeed. HTH. Stacey On Thu, 2002-06-27 at 22:10, Bzdik BSD wrote: > Hi All, >=20 > says it's marked as broken. >=20 > Best regards >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message - --=20 Stacey Roberts B.Sc. (HONS) Computer Science Network Systems Engineer -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPRuA7vdn4A8qiCO5EQLnrQCfZvxPxlD22c9G7ujceNpPOX075loAoNYg k03vmi0I04xwhfb6iBCVdryW =7b4I -----END PGP SIGNATURE----- --=-o2doGVlNmZ6/9L+HwdFb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:31:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id AE71A37B406 for ; Thu, 27 Jun 2002 14:31:44 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g5RLVgj93332; Thu, 27 Jun 2002 23:31:42 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Thu, 27 Jun 2002 23:31:42 +0200 (CEST) Message-Id: <200206272131.g5RLVgj93332@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: XFree86 faster!? In-Reply-To: <1025209865.47815.5.camel@owen1492.it.oot> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.5-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Craig Boston wrote: > On Thu, 2002-06-27 at 14:44, Johannes Hofmann wrote: > > I just upgraded from 4.6 Release to -STABLE (Jun 27 21:42:28). > > My X feels much snappier now. Any ideas what might cause that? > > Have you filed a PR on this? I'm sure this is an issue that we would > like to get resolved by 4.7-RELEASE if at all possible. First of all -- yes, I noticed the sarcasm. While the speed improvement that Johannes experienced is certainly desirable and should not be reversed, it _is_ somewhat important to find out what caused it. Because if the cause is unknown, then it could disappear one day (maybe at the next update), rendering the system slower again, and you wouldn't be able to do anything about it because you have no clue what it is. For what it's worth, I have no clue what it is, either. For the above reason, it is always preferable to know the causes for any changes in system behaviour, no matter if it changes in a positive or negative way. Computers are not magic, and software is not voodoo. Everything has a cause. Regards Oliver PS: "Every sufficiently advanced technology is indistinguishable from magic." (Unfortunately I don't remember who said that.) -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:48:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from web13606.mail.yahoo.com (web13606.mail.yahoo.com [216.136.175.117]) by hub.freebsd.org (Postfix) with SMTP id 80D6837B400 for ; Thu, 27 Jun 2002 14:48:33 -0700 (PDT) Message-ID: <20020627214833.76505.qmail@web13606.mail.yahoo.com> Received: from [12.225.219.108] by web13606.mail.yahoo.com via HTTP; Thu, 27 Jun 2002 14:48:33 PDT Date: Thu, 27 Jun 2002 14:48:33 -0700 (PDT) From: Bzdik BSD Subject: Re: Samba 2.2.5_3 wants CURRENT? To: sroberts@dsl.pipex.com Cc: FreeBSD-Stable In-Reply-To: <1025212658.325.10.camel@Demon.Strobe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you all. > if you elected to include support for LDAP (and ACL's, I believe), > and > you're not running 5.x CURRENT, then the upgrade (with portupgrade, > for > me) will fail. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:50:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from kraeusen.nbrewer.com (kraeusen.nbrewer.com [208.42.68.65]) by hub.freebsd.org (Postfix) with ESMTP id 37F6A37B400 for ; Thu, 27 Jun 2002 14:50:08 -0700 (PDT) Received: by kraeusen.nbrewer.com (Postfix, from userid 1001) id 57F3FB82E; Thu, 27 Jun 2002 16:50:07 -0500 (CDT) Date: Thu, 27 Jun 2002 16:50:07 -0500 From: Christopher Farley To: stable@freebsd.org Subject: Panics on installworld - ffs_valloc: dup alloc Message-ID: <20020627215004.GA472@northernbrewer.com> Mail-Followup-To: Christopher Farley , stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I probably don't have enough information here to get a good response, but I experienced my first two FreeBSD kernel panics in the past two days, on two separate (but similar hardware/config) machines, both while installing -STABLE in single user mode. The first panic occured just as buildworld started. I caught it right as it was rebooting, so I did not really see the error messages. The second panic occured this afternoon on a different machine. This actually occured just after I launched mergemaster (after a make installworld). The panic message was ffs_valloc: dup alloc, apparantly on my /var filesystem. Is this perhaps a disk geometry problem? -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:51:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 0280237B401 for ; Thu, 27 Jun 2002 14:51:13 -0700 (PDT) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g5RLpGQ60514; Thu, 27 Jun 2002 14:51:17 -0700 (PDT) Date: Thu, 27 Jun 2002 14:51:16 -0700 (PDT) From: Doug White To: Mike Durian Cc: freebsd-stable@FreeBSD.ORG Subject: Re: BTX halted boot failure during 4.6 install In-Reply-To: <200206262244.g5QMie47017096@man.boogie.com> Message-ID: <20020627144938.L58384-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 26 Jun 2002, Mike Durian wrote: > On Wed, 26 Jun 2002 15:18:59 PDT, Doug White wrote: > > > >too bad, we have a LC2000r around here, just that its in use :( > > > >I've not had problems booting the FreeBSD CDs on other HP Netservers. > >Have you rev'd the BIOS recently? > > I tried to rev the BIOS, but didn't have any luck. The BIOS updates > I downloaded didn't take - apparently they didn't match the hardware, > so I must not have been in the right place. If you have a link to > the latest updates, I'd appreciate it. See if you can track down a HP Navigator CD -- that usually has all the updates you need on it. It should update all the hardware in the system that it knows about, including the management controller and the RAID controllers if they're the rebadged HP NetRAIDs. > The boot screens show I'm running: > Management Controller Firmware: F.10.38 > Symbios: PCI-4.14.04 > v001.35 adaptec hm.... adaptecs do have problems with disks that don't have DOS partition tables on them. Are your disks dangerously dedicated? > >From the adaptec menu: > Model: 2100S Rev 3204 (or possibly 320H - my scratches are a bit messy) > NVRAM Ver: DPT V1.0 For various reasons, these controllers are not recommended for use in production environments. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:54:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 7433C37B400 for ; Thu, 27 Jun 2002 14:54:41 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g5RLses94315; Thu, 27 Jun 2002 23:54:40 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Thu, 27 Jun 2002 23:54:40 +0200 (CEST) Message-Id: <200206272154.g5RLses94315@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: XFree86 faster!? In-Reply-To: <200206272131.g5RLVgj93332@lurza.secnetix.de> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.5-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I wrote about 10 minutes ago: > [...] > PS: "Every sufficiently advanced technology is > indistinguishable from magic." (Unfortunately I don't > remember who said that.) Some two dozen people have mailed me that it was Arthur C. Clark. Thanks a bunch for refreshing my memory, and now there's no reason to send me any more reminders. I certainly won't forget it again. :) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Jun 27 14:58:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mw1.texas.net (mw1.texas.net [206.127.30.11]) by hub.freebsd.org (Postfix) with ESMTP id AC7A937B405 for ; Thu, 27 Jun 2002 14:58:42 -0700 (PDT) Received: from staff3.texas.net (staff3.texas.net [207.207.0.40]) by mw1.texas.net (8.11.6/8.11.6) with ESMTP id g5RLwfn05275 for ; Thu, 27 Jun 2002 16:58:41 -0500 (CDT) Received: (from doug@localhost) by staff3.texas.net (8.11.6/8.11.6) id g5RLwbA44089 for freebsd-stable@freebsd.org; Thu, 27 Jun 2002 16:58:37 -0500 (CDT) (envelope-from doug) Date: Thu, 27 Jun 2002 16:58:32 -0500 From: Doug Swarin To: freebsd-stable@freebsd.org Subject: -STABLE double-panic in ffs_blkfree and then lockmgr Message-ID: <20020627165832.A43941@staff.texas.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm seeing a double panic on systems here that are under heavy disk load. I've included a brief analysis and dmesg below. I still have the dump and can do more debugging if necessary. Unfortunately, I cannot reproduce the problem at will. After reboot, the machine needs a manual fsck due to unexpected softupdates inconsistencies. I've looked at the CVS repository and don't see any recent commits that might fix this. I have the latest -STABLE revs of ffs_alloc.c and ffs_softdep.c. Thanks, Doug Swarin doug@texas.net Here's the gdb session: SMP 2 cpus IdlePTD at phsyical address 0x00324000 initial pcb at physical address 0x00293600 panicstr: lockmgr: locking against myself panic messages: --- panic: ffs_blkfree: freeing free block mp_lock = 00000001; cpuid = 0; lapic.id = 01000000 boot() called on cpu#0 syncing disks... 150 50 8 4 4 4 4 4 4 4 panic: lockmgr: locking against myself mp_lock = 00000001; cpuid = 0; lapic.id = 01000000 boot() called on cpu#0 Uptime: 29d2h41m9s xl0: reset didn't complete (kgdb) back #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc0161cb3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc0162125 in panic (fmt=0xc02487c0 "lockmgr: locking against myself") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc015c4e3 in lockmgr (lkp=0xd2ec5498, flags=33620002, interlkp=0xc02a72b4, p=0xe4c06780) at /usr/src/sys/kern/kern_lock.c:337 #4 0xc0188da9 in getblk (vp=0xe750cb40, blkno=64, size=16384, slpflag=0, slptimeo=0) at /usr/src/sys/sys/buf.h:305 #5 0xc0186f1e in bread (vp=0xe750cb40, blkno=64, size=16384, cred=0x0, bpp=0xe7519b38) at /usr/src/sys/kern/vfs_bio.c:508 #6 0xc01d264c in ffs_blkfree (ip=0xe7519bc0, bno=67888, size=16384) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1424 #7 0xc01d6fff in indir_trunc (ip=0xe7519bc0, dbn=263584, level=0, lbn=12, countp=0xe7519bb0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2233 #8 0xc01d6db9 in handle_workitem_freeblocks (freeblks=0xc90f4800) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2133 #9 0xc01d52bb in process_worklist_item (matchmnt=0x0, flags=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:723 #10 0xc01d5152 in softdep_process_worklist (matchmnt=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:622 #11 0xc0161b11 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:261 #12 0xc0162125 in panic (fmt=0xc0258820 "ffs_blkfree: freeing free block") at /usr/src/sys/kern/kern_shutdown.c:595 #13 0xc01d2716 in ffs_blkfree (ip=0xe7519e0c, bno=65536, size=16384) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1444 #14 0xc01d6fff in indir_trunc (ip=0xe7519e0c, dbn=255200, level=0, lbn=12, countp=0xe7519dfc) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2233 #15 0xc01d6db9 in handle_workitem_freeblocks (freeblks=0xc8e22a80) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2133 #16 0xc01d52bb in process_worklist_item (matchmnt=0x0, flags=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:723 #17 0xc01d5152 in softdep_process_worklist (matchmnt=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:622 #18 0xc018f6e3 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1177 (kgdb) up 13 #13 0xc01d2716 in ffs_blkfree (ip=0xe7519e0c, bno=65536, size=16384) blkno = fragstoblks(fs, bno); if (!ffs_isfreeblock(fs, blksfree, blkno)) { printf("dev = %s, block = %ld, fs = %s\n", devtoname(ip->i_dev), (long)bno, fs->fs_fsmnt); panic("ffs_blkfree: freeing free block"); } (kgdb) print *ip $1 = {i_lock = {lk_interlock = {lock_data = 1744881760}, lk_flags = 4294901760, lk_sharecount = -963385344, lk_waitcount = 1778436192, lk_exclusivecount = 27008, lk_prio = -14175, lk_wmesg = 0x5dc
, lk_timo = 0, lk_lockholder = -963385224}, i_hash = {le_next = 0xe7519e80, le_prev = 0xc01baa06}, i_vnode = 0x3e8, i_devvp = 0xe750cb40, i_flag = 3279805952, i_dev = 0xc680ba80, i_number = 34198419, i_effnlink = 0, inode_u = {fs = 0xc6922800, e2fs = 0xc6922800}, i_dquot = { 0x0, 0xc37dde00}, i_modrev = 1744881760, i_lockf = 0x14, i_count = 0, i_endoff = 0, i_diroff = -1015492590, i_offset = -1015492572, i_ino = 32768, i_reclen = 3331581696, i_spare = {0, 3880885904, 3223040042}, i_dirhash = 0x6a00c860, i_din = {di_mode = 47072, di_nlink = -15547, di_u = {oldids = {40636, 59217}, inumber = -414081348}, di_size = 4194304, di_atime = 0, di_atimensec = -968380416, di_mtime = -1071446033, di_mtimensec = 1744881760, di_ctime = -968380416, di_ctimensec = 1711278080, di_db = {-911644352, 0, -1071549621, -1070938240, -1018841120, -1071542463, 24, 16, 16, 0, -414081692, -414081268}, di_ib = {-414081288, -911644352, -916145280}, di_flags = 3383322944, di_blocks = -1071033364, di_gen = 0, di_uid = 8, di_gid = 3223145634, di_spare = {0, -414081228}}} (kgdb) print *fs $2 = {fs_firstfield = 0, fs_unused_1 = 0, fs_sblkno = 8, fs_cblkno = 16, fs_iblkno = 24, fs_dblkno = 1432, fs_cgoffset = 1024, fs_cgmask = -1, fs_time = 1025205027, fs_size = 149873841, fs_dsize = 147531340, fs_ncg = 1645, fs_bsize = 16384, fs_fsize = 2048, fs_frag = 8, fs_minfree = 8, fs_rotdelay = 0, fs_rps = 60, fs_bmask = -16384, fs_fmask = -2048, fs_bshift = 14, fs_fshift = 11, fs_maxcontig = 7, fs_maxbpg = 4096, fs_fragshift = 3, fs_fsbtodb = 2, fs_sbsize = 2048, fs_csmask = -1024, fs_csshift = 10, fs_nindir = 4096, fs_inopb = 128, fs_nspf = 4, fs_optim = 0, fs_npsect = 4096, fs_interleave = 1, fs_trackskew = 0, fs_id = {1022689224, 950943126}, fs_csaddr = 1432, fs_cssize = 26624, fs_cgsize = 16384, fs_ntrak = 1, fs_nsect = 4096, fs_spc = 4096, fs_ncyl = 146362, fs_cpg = 89, fs_ipg = 22528, fs_fpg = 91136, fs_cstotal = {cs_ndir = 69944, cs_nbfree = 2764524, cs_nifree = 36051685, cs_nffree = 615890}, fs_fmod = 1 '\001', fs_clean = 0 '\000', fs_ronly = 0 '\000', fs_flags = 2 '\002', fs_fsmnt = "/news", '\000' , fs_cgrotor = 0, fs_ocsp = { 0x0 }, fs_contigdirs = 0xc692b1b4 "", fs_csp = 0xc6923000, fs_maxcluster = 0xc6929800, fs_cpc = 0, fs_opostbl = { {0, 0, 0, 0, 0, 0, 0, 0} }, fs_snapinum = { 0 }, fs_avgfilesize = 16384, fs_avgfpdir = 64, fs_sparecon = {0 }, fs_pendingblocks = 0, fs_pendinginodes = 0, fs_contigsumsize = 7, fs_maxsymlinklen = 60, fs_inodefmt = 2, fs_maxfilesize = 17592186044415, fs_qbmask = 16383, fs_qfmask = 2047, fs_state = 0, fs_postblformat = 1, fs_nrpos = 1, fs_postbloff = 0, fs_rotbloff = 0, fs_magic = 72020, fs_space = ""} And here's the output of dmesg: Copyright (c) 1992-2002 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 4.5-STABLE #0: Wed May 15 13:44:34 CDT 2002 root@:/usr/obj/usr/src/sys/NB1800 Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) MP 1800+ (1533.40-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000<,AMIE,DSP,3DNow!> real memory = 2147483648 (2097152K bytes) config> q avail memory = 2088857600 (2039900K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0305000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc030509c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00fdf00 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 5.0 irq 10 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 amdpm0: port 0x8000-0x80ff at device 7.3 on pci0 amdsmb0: AMD 756/766/768 SMBus interface smbus0: on amdsmb0 smb0: on smbus0 twe0: <3ware Storage Controller> port 0x1010-0x101f mem 0xe8000000-0xe87fffff,0xe8800000-0xe880000f irq 5 at device 9.0 on pci0 twe0: 8 ports, Firmware FE7X 1.04.00.024, BIOS BE7X 1.07.02.008 pcib2: at device 16.0 on pci0 pci2: on pcib2 fxp0: port 0x2080-0x20bf mem 0xe8a20000-0xe8a3ffff,0xe8a01000-0xe8a01fff irq 11 at device 7.0 on pci2 fxp0: Ethernet address 00:02:b3:a2:49:0a inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2000-0x207f mem 0xe8a02000-0xe8a0207f irq 11 at device 8.0 on pci2 xl0: reset didn't complete xl0: Ethernet address: 00:e0:81:20:02:1a miibus1: on xl0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0:
subscribe
------=_NextPart_000_0053_01C21E86.C037D290-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 6:43:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E416B37B406 for ; Fri, 28 Jun 2002 06:43:28 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DEB743E0A for ; Fri, 28 Jun 2002 06:43:28 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Jun 2002 09:43:27 -0400 Message-ID: From: Don Bowman To: "'freebsd-stable@freebsd.org'" Subject: panic in 4.6 with knote_enqueue from kill Date: Fri, 28 Jun 2002 09:43:27 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@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 system panic occuring with FreeBSD 4.6. The stack trace is below... Debugger(c032d70a) at Debugger+0x34 panic(c032bf57,e0f37000,800001e,e0f35ee4,c01ba339) at panic+0xa4 knote_enqueue(e0f37000) at knote_enqueue+0x22 knote(db433820,800001e) at knote+0x35 psignal(db433700,1e,2,db433700,e0f35f80) at psignal+0x49 kill(db433700,e0f35f80,281f8944,81a9000,818467c) at kill+0x7b syscall2(2821002f,281f002f,80f002f,818467c,81a9000) at syscall2+0x23d Xint0x80_syscall() at Xint0x80_syscall+0x2b This is occurring about once per day (well, the machine locks up with no messages at all about once per day. Today I got it dropped into ddb). The best guess I have for the process which caused the panic is below as 'XXX', 68264. I'm not sure what the flags etc mean. This process has an event loop running which is in kqueue all the time, with sockets in that kqueue as well as 1 other thread which calls 'kill SIGUSR1', and a kevent for sigusr1 so that the main thread will wake up and perform some processing. The threads are pthreads. From knote_enqueue() its fairly obvious which line panic'd: static void knote_enqueue(struct knote *kn) { struct kqueue *kq = kn->kn_kq; int s = splhigh(); KASSERT((kn->kn_status & KN_QUEUED) == 0, ("knote already queued")); TAILQ_INSERT_TAIL(&kq->kq_head, kn, kn_tqe); kn->kn_status |= KN_QUEUED; kq->kq_count++; splx(s); kqueue_wakeup(kq); } The machine is a dual P-3 650MHz. Has anyone else seen anything like this? Would anyone care to suggest what I might do next to characterise or solve this issue? db> show all procs pid proc addr uid ppid pgrp flag stat wmesg wchan cmd 68891 e0fb92a0 e11d1000 504 68872 68891 4005806 4 avu 68872 e0fb7be0 e128c000 504 68740 68872 004086 3 poll c03b25c0 gdb52 68740 e0fb9ac0 e108d000 504 68739 68740 004086 3 wait e0fb9ac0 bash 68739 e0fb7f20 e1276000 0 149 149 000184 3 select c03b25c0 sshd 68645 e0fb7700 e128f000 70 68584 68570 000086 3 sbwait dc68b848 postgres 68644 e0fb9c60 e0fd1000 529 68313 68644 004086 3 ttyin c8c0ae30 psql 68625 e0fb9100 e11d9000 70 68584 68570 000086 3 sbwait dc680508 postgres 68624 db433700 e0f33000 0 68622 68619 4004006 2 XXX 68622 db432d40 e0f55000 0 1 68619 004086 3 wait db432d40 sh 68589 e0fb88e0 e11f7000 70 68588 68570 000086 3 select c03b25c0 postgres 68588 e0fb9440 e11ce000 70 68584 68570 000086 3 select c03b25c0 postgres 68584 e0fb8c20 e11eb000 70 1 68570 004086 3 select c03b25c0 postgres 68313 e0fb7d80 e127f000 529 68312 68313 004086 3 wait e0fb7d80 bash 68312 db4321e0 e0fa7000 0 149 149 000184 3 select c03b25c0 sshd 66514 e0fb7a40 e1255000 504 66513 66514 004086 3 ttyin c89a8c30 bash 66513 e0fb8400 e1230000 0 149 149 000184 3 select c03b25c0 sshd ... --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 7:17:13 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D6DA37B405 for ; Fri, 28 Jun 2002 07:17:08 -0700 (PDT) Received: from ehk.xinu.nl (ehk.xs4all.nl [194.109.194.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEF7E43E0A for ; Fri, 28 Jun 2002 07:17:06 -0700 (PDT) (envelope-from edwin@xinu.nl) Received: by ehk.xinu.nl (Postfix, from userid 1001) id 3B9597D9F; Fri, 28 Jun 2002 16:17:04 +0200 (CEST) Date: Fri, 28 Jun 2002 16:17:04 +0200 From: Edwin Kremer To: freebsd-stable@FreeBSD.ORG Subject: RELENG_4_6 and src/Makefile.inc1 ? Message-ID: <20020628141704.GA41495@xinu.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, in order to move ahead on the 4.6 security branch, I tried to checkout src/Makefile.inc1 so that "make update" will work: # cd /usr/src ; cvs update -rRELENG_4_6 Makefile.inc1 However, the resulting Makefile.inc1 still does a: cd /usr/src; cvs -q update -rRELENG_4 -P -d My local CVS repository is up to date (cvsup-ed today at 13:25 UTC) and I don't see anything badly mangled in there. Is the RELENG_4_6 tag set on the wrong version ? Or... ? Cheers, Edwin -- Edwin Kremer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 7:18:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 572E337B401 for ; Fri, 28 Jun 2002 07:18:47 -0700 (PDT) Received: from TMA-1.brad-x.com (static-b2-191.highspeed.eol.ca [64.56.236.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50C4143E0A for ; Fri, 28 Jun 2002 07:18:46 -0700 (PDT) (envelope-from brad@brad-x.com) Received: from Olduvai.netpro.centennialcollege.ca (unknown [199.212.61.131]) by TMA-1.brad-x.com (Postfix) with ESMTP id 9916622104A for ; Fri, 28 Jun 2002 10:21:22 -0400 (EDT) Date: Fri, 28 Jun 2002 10:17:34 -0400 From: Brad To: freebsd-stable@FreeBSD.org Subject: if_xl stall on kldload Message-Id: <20020628101734.55731b33.brad@brad-x.com> In-Reply-To: <005601c21ea8$47572e30$c700000a@corp.chasmainc.com> References: <005601c21ea8$47572e30$c700000a@corp.chasmainc.com> Organization: brad-x.com X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I noticed an odd stall on a system with a 3Com 3c509 NIC; loading the if_xl.ko module during runtime, especially in cases where there there is an application attempting to use the network, will stall out. The machine will function normally, but the module will not load, nor will the console be freed again (kldload will not accept a kill signal of any kind). On only one occasion this has lead to a system panic. My workaround is to compile this driver into the kernel, which is fine; the hard disk is removable however, and travels between several hardware configurations which otherwise work seamlessly. FreeBSD Olduvai.brad-x.com 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Jun 19 13:35:25 EDT 2002 root@Olduvai.brad-x.com:/usr/src/sys/compile/OLDUVAI i386 Debugging is not enabled in this kernel; I will attach dmesg output in a reply to this message shortly, detailing the hardware on the machine; no specific errors are generated that can render assistance though. I would like to know what further information I can provide; I'm generally unfamiliar with dealing with a kernel debugger, but I'm a quick study. :P Thanks, Brad // -- http://www.BRAD-X.com/ -- // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 7:53:42 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AFF237B405 for ; Fri, 28 Jun 2002 07:53:36 -0700 (PDT) Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6BAA43E09 for ; Fri, 28 Jun 2002 07:53:35 -0700 (PDT) (envelope-from dwcjr@inethouston.net) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 50D723198DF; Fri, 28 Jun 2002 09:53:32 -0500 (CDT) Date: Fri, 28 Jun 2002 09:53:32 -0500 From: "David W. Chapman Jr." To: Stacey Roberts Cc: Bzdik BSD , FreeBSD-Stable Subject: Re: Samba 2.2.5_3 wants CURRENT? Message-ID: <20020628145332.GA45328@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Stacey Roberts , Bzdik BSD , FreeBSD-Stable References: <20020627211017.39434.qmail@web13609.mail.yahoo.com> <1025212658.325.10.camel@Demon.Strobe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1025212658.325.10.camel@Demon.Strobe.org> X-Operating-System: FreeBSD 4.6-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > if you elected to include support for LDAP (and ACL's, I believe), and > you're not running 5.x CURRENT, then the upgrade (with portupgrade, for > me) will fail. > > If this is your situation then redoing (to be safe) the cvsup of your > ports tree and upgrading without those options mentioned above should > succeed. You can select ldap, just not ACL's, there is an existing pr to fix the verbage on why its broken, but I have not had time to commit. It gets my approval if any committer wants to commit it. -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 8:20:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D4F37B400 for ; Fri, 28 Jun 2002 08:20:06 -0700 (PDT) Received: from mhub-w2.tc.umn.edu (mhub-w2.tc.umn.edu [160.94.160.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id C609D43EC0 for ; Fri, 28 Jun 2002 08:18:07 -0700 (PDT) (envelope-from wythe001@umn.edu) Received: from amazon.software.umn.edu by mhub-w2.tc.umn.edu with ESMTP for freebsd-stable@freebsd.org; Fri, 28 Jun 2002 10:18:05 -0500 Received: (from nobody@localhost) by amazon.software.umn.edu (8.11.4/8.11.4) id g5SFI5R14690; Fri, 28 Jun 2002 10:18:05 -0500 Message-Id: <200206281518.g5SFI5R14690@amazon.software.umn.edu> Date: Fri, 28 Jun 2002 10:18:05 CDT From: Kirk R Wythers Subject: only root can run gnome To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII X-keep-fxa-happy: 128.101.74.47 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am very perplexed as to what is going on with gnome after I upgraded with cvsup to 4.6 from 4.5. As root I can fire up gnome (1.4)just fine. However, as a user, gnome hangs on the splashscreen. I am running XFree86 4.2 and have x11/wrapper installed. All was working fine with XFree86 4.2 and gnome 1.4 before I upgradded. I do know that I messed up with mergemaster, and ended up having to use adduser to re-add users since I blew away /etc/master.passwd and /etc/groups. It is possible that I messed something else with mergemaster. Any ideas where to look before I try re-compiling gnome? Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 8:36:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A5A37B401 for ; Fri, 28 Jun 2002 08:35:53 -0700 (PDT) Received: from server.sorcererx.net (c141102.catch.sdsl.no [217.8.141.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 021CA43E06 for ; Fri, 28 Jun 2002 08:35:49 -0700 (PDT) (envelope-from sorcererx@sorcererx.net) Received: from progtec (irc.sorcererx.net [217.8.141.90]) by server.sorcererx.net (8.12.4/8.11.6) with ESMTP id g5SDAShD004019 for ; Fri, 28 Jun 2002 15:10:29 +0200 (CEST) (envelope-from sorcererx@sorcererx.net) From: "Kai Hugo Hustoft Endresen" To: Subject: problems compiling /usr/ports/graphics/gd2/ Date: Fri, 28 Jun 2002 15:09:57 +0200 Message-ID: <000001c21ea5$1a916ad0$5a8d08d9@progtec> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C21EB5.DE1A3AD0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1063 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C21EB5.DE1A3AD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit When I run sdsl# make ************************************************************ * If you live outside US and Canada, you can set * * WITH_LZW=1 to enable GIF compression support. * ************************************************************ ===> Extracting for gd-2.0.1_3 >> Checksum OK for gd-2.0.1.tar.gz. ===> gd-2.0.1_3 depends on shared library: png - found ===> gd-2.0.1_3 depends on shared library: jpeg - found ===> gd-2.0.1_3 depends on shared library: freetype - found ===> gd-2.0.1_3 depends on shared library: X11.6 - found ===> Patching for gd-2.0.1_3 ===> Applying FreeBSD patches for gd-2.0.1_3 ===> Configuring for gd-2.0.1_3 GD_FONTS can be set to specify an alternative list of .bdf files See /usr/ports/graphics/gd2/scripts/configure for details... ===> Building for gd-2.0.1_3 make: cannot open bsd.lib.mk. "/usr/ports/graphics/gd2/files/Makefile.bsd", line 11: warning: "make -V SHLIB_NAME LIB=gd SHLIB_MAJOR=4 SHLIB_MINOR=0 -f bsd.lib.mk" returned non-zero status make LIB=gd SRCS="gd.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_io_file.c gd_ss.c gd_io_ss.c gd_png.c gd_jpeg.c gdxpm.c gd_gif_in.c gd_gif_out.c gd_biggif_out.c gd_lzw_out.c gdfontt.c gdfonts.c gdfontmb.c gdfontl.c gdfontg.c gdtables.c gdft.c gdcache.c gdkanji.c wbmp.c gd_wbmp.c gdhelpers.c gd_topal.c" SHLIB_MAJOR=4 SHLIB_MINOR=0 CFLAGS="-O -pipe -I/usr/ports/graphics/gd2/work/gd-2.0.1 -I/usr/local/include/freetype2/ -I/usr/local/include/freetype2/freetype -I/usr/local/include -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/usr/X11R6/include/X11 -I/usr/X11R6/include -DHAVE_XPM" -ECFLAGS LDADD="-L/usr/local/lib -lpng -lz -ljpeg -lfreetype -lm -L/usr/X11R6/lib -lXpm -lX11" -f bsd.lib.mk libgd.a make: cannot open bsd.lib.mk. *** Error code 2 1 error *** Error code 2 Stop in /usr/ports/graphics/gd2. This happens on both my FreeBSD boxes. I am running FreeBSD 4.6-STABLE. ------=_NextPart_000_0001_01C21EB5.DE1A3AD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

When I run

sdsl# make

******************************************************= ******

*      If you live outside = US and Canada, you can set      *

*      WITH_LZW=3D1 to = enable GIF compression support.       = *

******************************************************= ******

=3D=3D=3D>  Extracting for = gd-2.0.1_3

>> Checksum OK for = gd-2.0.1.tar.gz.

=3D=3D=3D>   gd-2.0.1_3 depends on = shared library: png - found

=3D=3D=3D>   gd-2.0.1_3 depends on = shared library: jpeg - found

=3D=3D=3D>   gd-2.0.1_3 depends on = shared library: freetype - found

=3D=3D=3D>   gd-2.0.1_3 depends on = shared library: X11.6 - found

=3D=3D=3D>  Patching for = gd-2.0.1_3

=3D=3D=3D>  Applying FreeBSD patches for = gd-2.0.1_3

=3D=3D=3D>  Configuring for = gd-2.0.1_3

GD_FONTS can be set to specify an alternative list of = .bdf files

See /usr/ports/graphics/gd2/scripts/configure for = details...

=3D=3D=3D>  Building for = gd-2.0.1_3

make: cannot open bsd.lib.mk.

"/usr/ports/graphics/gd2/files/Makefile.bsd"= , line 11: warning: "make -V SHLIB_NAME LIB=3Dgd  SHLIB_MAJOR=3D4 = SHLIB_MINOR=3D0 -f bsd.lib.mk" returned non-zero status

make LIB=3Dgd SRCS=3D"gd.c gd_gd.c gd_gd2.c = gd_io.c gd_io_dp.c gd_io_file.c gd_ss.c gd_io_ss.c gd_png.c gd_jpeg.c gdxpm.c gd_gif_in.c = gd_gif_out.c gd_biggif_out.c gd_lzw_out.c gdfontt.c gdfonts.c gdfontmb.c gdfontl.c = gdfontg.c gdtables.c gdft.c gdcache.c gdkanji.c wbmp.c gd_wbmp.c gdhelpers.c = gd_topal.c"  SHLIB_MAJOR=3D4 SHLIB_MINOR=3D0  CFLAGS=3D"-O = -pipe   -I/usr/ports/graphics/gd2/work/gd-2.0.1 = -I/usr/local/include/freetype2/  -I/usr/local/include/freetype2/freetype -I/usr/local/include  = -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/usr/X11R6/include/X11 = -I/usr/X11R6/include -DHAVE_XPM" -ECFLAGS LDADD=3D"-L/usr/local/lib -lpng -lz = -ljpeg -lfreetype -lm -L/usr/X11R6/lib -lXpm -lX11"  -f bsd.lib.mk = libgd.a

make: cannot open bsd.lib.mk.

*** Error code 2

1 error

*** Error code 2

 

Stop in /usr/ports/graphics/gd2.

 

This happens on both my FreeBSD = boxes.

I am running FreeBSD 4.6-STABLE.


------=_NextPart_000_0001_01C21EB5.DE1A3AD0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 8:46:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A5A637B405 for ; Fri, 28 Jun 2002 08:46:34 -0700 (PDT) Received: from TMA-1.brad-x.com (static-b2-191.highspeed.eol.ca [64.56.236.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 618F243E06 for ; Fri, 28 Jun 2002 08:46:33 -0700 (PDT) (envelope-from brad@brad-x.com) Received: from Olduvai.netpro.centennialcollege.ca (unknown [199.212.61.131]) by TMA-1.brad-x.com (Postfix) with ESMTP id 8B4C322104A for ; Fri, 28 Jun 2002 11:49:04 -0400 (EDT) Date: Fri, 28 Jun 2002 11:45:16 -0400 From: Brad To: freebsd-stable@FreeBSD.org Subject: if_xl stall on kldload (apologies for repost) Message-Id: <20020628114516.51ed8be0.brad@brad-x.com> Organization: brad-x.com X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I noticed an odd stall on a system with a 3Com 3c509 NIC; loading the if_xl.ko module during runtime, especially in cases where there there is an application attempting to use the network, will stall out. The machine will function normally, but the module will not load, nor will the console be freed again (kldload will not accept a kill signal of any kind). On only one occasion this has lead to a system panic. My workaround is to compile this driver into the kernel, which is fine; the hard disk is removable however, and travels between several hardware configurations which otherwise work seamlessly. FreeBSD Olduvai.brad-x.com 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Jun 19 13:35:25 EDT 2002 root@Olduvai.brad-x.com:/usr/src/sys/compile/OLDUVAI i386 Debugging is not enabled in this kernel; I will attach dmesg output in a reply to this message shortly, detailing the hardware on the machine; no specific errors are generated that can render assistance though. I would like to know what further information I can provide; I'm generally unfamiliar with dealing with a kernel debugger, but I'm a quick study. :P Thanks, Brad // -- http://www.BRAD-X.com/ -- // Sorry to repost this, the last one was written in a reply window unintentionally. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 8:59:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDA6737B401 for ; Fri, 28 Jun 2002 08:59:28 -0700 (PDT) Received: from moek.pir.net (moek.pir.net [130.64.1.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 891BC43E12 for ; Fri, 28 Jun 2002 08:59:28 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 17Ny9f-00018T-00 for freebsd-stable@freebsd.org; Fri, 28 Jun 2002 11:59:27 -0400 Date: Fri, 28 Jun 2002 11:59:27 -0400 From: Peter Radcliffe To: freebsd-stable@freebsd.org Subject: Re: em/Intel(R) PRO/1000 problems Message-ID: <20020628155927.GA4285@pir.net> Reply-To: freebsd-stable@freebsd.org Mail-Followup-To: freebsd-stable@freebsd.org References: <20020625193510.GA21123@pir.net> <200206260119.g5Q1JDU36770@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206260119.g5Q1JDU36770@vashon.polstra.com> User-Agent: Mutt/1.3.27i X-fish: < X-Copy-On-Listmail: Please do NOT Cc: me on list mail. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Polstra probably said: > The recent em0 upgrade added HW support for VLANs in the driver, > and I'm just wondering if it broke the old non-HW-supported method. > There's an experiment you could try. Use ifconfig to set "link0" on > both vlan1 and vlan2, then see if it starts working. Just an idea to > try. I don't know whether it will make any difference. No change in behaviour with link0 set. Thanks, Peter. -- pir pir-sig@pir.net pir-sig@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 8:59:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 825FF37B400 for ; Fri, 28 Jun 2002 08:59:54 -0700 (PDT) Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D05943E06 for ; Fri, 28 Jun 2002 08:59:53 -0700 (PDT) (envelope-from ) Received: (qmail 51970 invoked by uid 0); 28 Jun 2002 15:59:52 -0000 Received: from by proxy with qmail-scanner-0.96 (. Clean. Processed in 0.33286 secs); 28 Jun 2002 15:59:52 -0000 X-Qmail-Scanner-Mail-From: via proxy X-Qmail-Scanner-Rcpt-To: freebsd-stable@freebsd.org X-Qmail-Scanner: 0.96 (No viruses found. Processed in 0.33286 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 28 Jun 2002 15:59:51 -0000 Received: by mail.dolanmedia.com (Worldmail 1.3.167); 28 Jun 2002 10:59:51 -0500 From: greg.panula@dolaninformation.com Subject: Auto Reply to your message ... To: freebsd-stable@freebsd.org Date: 28 Jun 2002 10:59:51 -0500 Message-ID: <3CF7D023000D9E13@mail.dolanmedia.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="=========3CF7D023000D9E13/mail.dolanmedia.com" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a MIME-encapsulated message --=========3CF7D023000D9E13/mail.dolanmedia.com ----- The following text is an automated response to your message ----- I am on vacation until the evening of July 9th. If you need technical assistance please send an email to help@dolaninformation.com. Thank you, Greg Panula --=========3CF7D023000D9E13/mail.dolanmedia.com-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 10:17:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19FE837B400 for ; Fri, 28 Jun 2002 10:17:46 -0700 (PDT) Received: from prism.flugsvamp.com (66-191-112-47.mad.wi.charter.com [66.191.112.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A93A43E06 for ; Fri, 28 Jun 2002 10:17:45 -0700 (PDT) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.6/8.11.6) id g5SHHRw86464; Fri, 28 Jun 2002 12:17:27 -0500 (CDT) (envelope-from jlemon) Date: Fri, 28 Jun 2002 12:17:27 -0500 (CDT) From: Jonathan Lemon Message-Id: <200206281717.g5SHHRw86464@prism.flugsvamp.com> To: don@sandvine.com, stable@freebsd.org Subject: Re: panic in 4.6 with knote_enqueue from kill X-Newsgroups: local.mail.freebsd-stable In-Reply-To: Organization: Cc: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article you write: >I have a system panic occuring with FreeBSD 4.6. The stack trace is below... > >Debugger(c032d70a) at Debugger+0x34 >panic(c032bf57,e0f37000,800001e,e0f35ee4,c01ba339) at panic+0xa4 >knote_enqueue(e0f37000) at knote_enqueue+0x22 >knote(db433820,800001e) at knote+0x35 >psignal(db433700,1e,2,db433700,e0f35f80) at psignal+0x49 >kill(db433700,e0f35f80,281f8944,81a9000,818467c) at kill+0x7b >syscall2(2821002f,281f002f,80f002f,818467c,81a9000) at syscall2+0x23d >Xint0x80_syscall() at Xint0x80_syscall+0x2b The assumption made when calling knote() is that we are already at the correct spl level associated with a particular knote list, so no locking should be required. It appears that this isn't true for psignal(), it can be called either from a syscall, or from an interrupt. My guess is that in the call chain above, after checking the kn_status in KNOTE_ACTIVATE(), but before reaching splhigh() in knote_enqueue, an interrupt occurs which causes psignal() to be called again, and queues the knote for retrieval. This causes the assertion to be triggered. Try the patch below. -- Jonathan Index: kern_sig.c =================================================================== RCS file: /ncvs/src/sys/kern/kern_sig.c,v retrieving revision 1.72.2.14 diff -u -r1.72.2.14 kern_sig.c --- kern_sig.c 14 Dec 2001 03:05:32 -0000 1.72.2.14 +++ kern_sig.c 28 Jun 2002 17:23:59 -0000 @@ -1011,7 +1011,9 @@ panic("psignal signal number"); } + s = splhigh(); KNOTE(&p->p_klist, NOTE_SIGNAL | sig); + splx(s); prop = sigprop(sig); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 11:36:13 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 992F637B400 for ; Fri, 28 Jun 2002 11:36:09 -0700 (PDT) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id 10CC043E09 for ; Fri, 28 Jun 2002 11:36:09 -0700 (PDT) (envelope-from yid@softhome.net) Received: (qmail 32734 invoked by uid 417); 28 Jun 2002 18:36:03 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 28 Jun 2002 18:36:03 -0000 Received: from unknown ([216.194.22.251]) (AUTH: LOGIN yid@softhome.net) by softhome.net with esmtp; Fri, 28 Jun 2002 12:36:02 -0600 Date: Fri, 28 Jun 2002 14:35:58 -0400 From: Joshua Lee To: freebsd-stable@freebsd.org Subject: bad -stable Sylpheed-claws in ports? Message-Id: <20020628143558.313ae5b4.yid@softhome.net> Organization: Plan B Software Labs X-Mailer: Sylpheed version 0.7.5claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I attempted to upgrade to a more recent ports/mail/sylpheed-claws (if I remember correctly 0.7.9claws) as upgraded by cvsup using the 4.6-stable tree. The resulting executable had a bus error and core dumped, I had to roll back to the 4.6-release version. Has anyone else experienced this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 11:37:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58A7537B411 for ; Fri, 28 Jun 2002 11:37:20 -0700 (PDT) Received: from radix.cryptio.net (radix.cryptio.net [199.181.107.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B3143E12 for ; Fri, 28 Jun 2002 11:37:17 -0700 (PDT) (envelope-from emechler@radix.cryptio.net) Received: from radix.cryptio.net (localhost [127.0.0.1]) by radix.cryptio.net (8.12.3/8.12.3) with ESMTP id g5SIbFYt027162 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 28 Jun 2002 11:37:16 -0700 (PDT) (envelope-from emechler@radix.cryptio.net) Received: (from emechler@localhost) by radix.cryptio.net (8.12.3/8.12.3/Submit) id g5SIbFne027161; Fri, 28 Jun 2002 11:37:15 -0700 (PDT) Date: Fri, 28 Jun 2002 11:37:15 -0700 From: Erick Mechler To: Kai Hugo Hustoft Endresen Cc: freebsd-stable@FreeBSD.ORG Subject: Re: problems compiling /usr/ports/graphics/gd2/ Message-ID: <20020628113715.U54233@techometer.net> References: <000001c21ea5$1a916ad0$5a8d08d9@progtec> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000001c21ea5$1a916ad0$5a8d08d9@progtec>; from Kai Hugo Hustoft Endresen on Fri, Jun 28, 2002 at 03:09:57PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :: ===> Building for gd-2.0.1_3 :: :: make: cannot open bsd.lib.mk. :: :: "/usr/ports/graphics/gd2/files/Makefile.bsd", line 11: warning: "make -V :: SHLIB_NAME LIB=gd SHLIB_MAJOR=4 SHLIB_MINOR=0 -f bsd.lib.mk" returned non-zero :: status Does /usr/share/mk/bsd.lib.mk exist? If not, copy over the version from /usr/src/share/mk/bsd.lib.mk. Cheers - Erick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 11:42:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0036237B40E for ; Fri, 28 Jun 2002 11:42:01 -0700 (PDT) Received: from mail3.ksc.th.com (mail3.ksc.th.com [203.155.0.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id E23E943E40 for ; Fri, 28 Jun 2002 11:41:05 -0700 (PDT) (envelope-from easytoberich01@yahoo.com) Received: from ksc.th.com ([203.107.246.47]) by mail3.ksc.th.com (8.12.1/8.12.0) with SMTP id g5SIYRfr007846 for ; Sat, 29 Jun 2002 01:41:03 +0700 Message-Id: <200206281841.g5SIYRfr007846@mail3.ksc.th.com> Date: Sat, 29 Jun 2002 01:43:07 To: stable@FreeBSD.org From: easytoberich01@yahoo.com (international e-business) Subject: ÊÓËÃѺ¼Ùé·Õèµéͧ¡ÒÃâÍ¡ÒÊ㹡ÒÃà»ÅÕè¹á»Å§ªÕÇÔµ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG !!!!! Part-Time Job!! ÊÓËÃѺ¹Ñ¡àÃÕ¹ ¹Ñ¡ÈÖ¡ÉÒ áÅмÙé·Ó§Ò¹»ÃÐ¨Ó ¤Ø³µéͧ¡ÒçҹẺ¹ÕéºéÒ§äËÁ…?? -§Ò¹ parttime ·Ó§Ò¹·ÕèºéÒ¹ä´é ¶éҤسãªé Internet à»ç¹ -·Ó§Ò¹à¾Õ§ÇѹÅÐ 2-3 ªÁ. -ÃÒÂä´é 5,000 – 15,000 ºÒ· ¶éҤسà»ç¹¤¹Ë¹Ö觷Õè·Ó§Ò¹»ÃШÓËÃ×ÍÂѧäÁèÁÕ§Ò¹·Ó ¹Ñ¡ÈÖ¡ÉÒ·Õè¡ÓÅѧÈÖ¡ÉÒÍÂÙè ¼ÙéÇèÒ§§Ò¹ ËÃ×ͼÙé·ÕèÂѧ¾ÍÁÕàÇÅÒÇèÒ§¨Ò¡§Ò¹»ÃÐ¨Ó ÁդسÊÁºÑµÔàº×éͧµé¹´Ñ§¹Õé 1. ÁÕ·Ñȹ¤µÔ·Õè´Õ 2. ¾ÃéÍÁ·Õè¨ÐàÃÕ¹ÃÙé à¹×èͧ¨Ò¡à»ç¹ÃкºãËÁè¨Ö§µéͧãËéÁÕ¡ÒÃͺÃÁãËéµÒÁ¤ÇÒÁàËÁÒÐÊÁ 3. µéͧ¡Ò÷Õè¨Ð·Ó§Ò¹ÍÂèÒ§¨ÃÔ§¨Ñ§ ÍÂÒ¡·Õè¨Ðà»ÅÕ蹰ҹзҧ¡ÒÃà§Ô¹¢Í§µ¹àͧ áÅÐÍÂÒ¡ÁÕÃÒÂä´é¨Ò¡¡Ò÷ӧҹµÃ§¹Õé¨ÃÔ§æ ·Ø¡ÍÂèÒ§à»ç¹ä»ä´é ã¹ http://www.geocities.com/getchances2000/ ÍÂèÒ !…………….. à»ç¹á¤èà¾Õ§¤¹·Õè¹Ñè§ÃÍâÍ¡ÒÊ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 12: 8: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19F1037B40C for ; Fri, 28 Jun 2002 12:07:50 -0700 (PDT) Received: from mail3.ksc.th.com (mail3.ksc.th.com [203.155.0.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 873A743E13 for ; Fri, 28 Jun 2002 12:07:48 -0700 (PDT) (envelope-from easytoberich01@yahoo.com) Received: from ksc.th.com ([203.107.246.47]) by mail3.ksc.th.com (8.12.1/8.12.0) with SMTP id g5SIYR1P007846 for ; Sat, 29 Jun 2002 02:07:46 +0700 Message-Id: <200206281907.g5SIYR1P007846@mail3.ksc.th.com> Date: Sat, 29 Jun 2002 02:09:50 To: freebsd-stable@FreeBSD.org From: easytoberich01@yahoo.com (international e-business) Subject: ÊÓËÃѺ¼Ùé·Õèµéͧ¡ÒÃâÍ¡ÒÊ㹡ÒÃà»ÅÕè¹á»Å§ªÕÇÔµ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG !!!!! Part-Time Job!! ÊÓËÃѺ¹Ñ¡àÃÕ¹ ¹Ñ¡ÈÖ¡ÉÒ áÅмÙé·Ó§Ò¹»ÃÐ¨Ó ¤Ø³µéͧ¡ÒçҹẺ¹ÕéºéÒ§äËÁ…?? -§Ò¹ parttime ·Ó§Ò¹·ÕèºéÒ¹ä´é ¶éҤسãªé Internet à»ç¹ -·Ó§Ò¹à¾Õ§ÇѹÅÐ 2-3 ªÁ. -ÃÒÂä´é 5,000 – 15,000 ºÒ· ¶éҤسà»ç¹¤¹Ë¹Ö觷Õè·Ó§Ò¹»ÃШÓËÃ×ÍÂѧäÁèÁÕ§Ò¹·Ó ¹Ñ¡ÈÖ¡ÉÒ·Õè¡ÓÅѧÈÖ¡ÉÒÍÂÙè ¼ÙéÇèÒ§§Ò¹ ËÃ×ͼÙé·ÕèÂѧ¾ÍÁÕàÇÅÒÇèÒ§¨Ò¡§Ò¹»ÃÐ¨Ó ÁդسÊÁºÑµÔàº×éͧµé¹´Ñ§¹Õé 1. ÁÕ·Ñȹ¤µÔ·Õè´Õ 2. ¾ÃéÍÁ·Õè¨ÐàÃÕ¹ÃÙé à¹×èͧ¨Ò¡à»ç¹ÃкºãËÁè¨Ö§µéͧãËéÁÕ¡ÒÃͺÃÁãËéµÒÁ¤ÇÒÁàËÁÒÐÊÁ 3. µéͧ¡Ò÷Õè¨Ð·Ó§Ò¹ÍÂèÒ§¨ÃÔ§¨Ñ§ ÍÂÒ¡·Õè¨Ðà»ÅÕ蹰ҹзҧ¡ÒÃà§Ô¹¢Í§µ¹àͧ áÅÐÍÂÒ¡ÁÕÃÒÂä´é¨Ò¡¡Ò÷ӧҹµÃ§¹Õé¨ÃÔ§æ ·Ø¡ÍÂèÒ§à»ç¹ä»ä´é ã¹ http://www.geocities.com/getchances2000/ ÍÂèÒ !…………….. à»ç¹á¤èà¾Õ§¤¹·Õè¹Ñè§ÃÍâÍ¡ÒÊ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 13:10:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 009C637B400 for ; Fri, 28 Jun 2002 13:10:43 -0700 (PDT) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F1EC43E06 for ; Fri, 28 Jun 2002 13:10:42 -0700 (PDT) (envelope-from gibbs@scsiguy.com) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.6/8.11.5) with ESMTP id g5SK6L983137; Fri, 28 Jun 2002 14:06:21 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Message-Id: <200206282006.g5SK6L983137@aslan.scsiguy.com> To: "Hans Eichbaum" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ahc_intr - referenced scb not valid during SELTO scb (0,139) In-Reply-To: Your message of "Fri, 28 Jun 2002 14:40:18 +0200." Date: Fri, 28 Jun 2002 14:06:21 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Hi there, > >I've a problems installing FreeBSD on a compaq deskpro machine. During >install, just when booting the system from cd-rom I get the folowing message >after 15 seconds of initializing the scsi devices > >ahc0 : ahc_intr - referenced scb not valid during SELTO scb (0,139) Hmm. Its hard to say why this is happening without more information. Can you provide the probe information that FreeBSD outputs for this controller while booting "-v"? -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 14:52:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D08D537B400; Fri, 28 Jun 2002 14:52:25 -0700 (PDT) Received: from great4.greatschools.net (great4.greatschools.net [199.4.104.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id E84A743E18; Fri, 28 Jun 2002 14:52:14 -0700 (PDT) (envelope-from jdd@greatschools.net) Received: from dh8.office.greatschools.net (dh8.office.greatschools.net [199.4.104.139]) by great4.greatschools.net (8.11.3/8.11.6) with ESMTP id g5SLqEv19677; Fri, 28 Jun 2002 14:52:14 -0700 (PDT) (envelope-from jdd@greatschools.net) Date: Fri, 28 Jun 2002 14:52:15 -0700 (PDT) From: John David Duncan X-X-Sender: jdd@dh8.office.greatschools.net To: freebsd-smp@freebsd.org, Subject: 2 xeons = 4 CPUs? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey, I just installed 4.6-RELEASE on a dual 1.8Mhz Xeon + Tyan S2720 motherboard (a Relion 140 server from Penguin Computing, actually). When I reboot with an SMP kernel, I see: CPU: Pentium 4 (2199.76-Mhz 686-class CPU) CPU: Pentium 4 (2199.76-Mhz 686-class CPU) CPU: Pentium 4 (2199.76-Mhz 686-class CPU) CPU: Pentium 4 (2199.76-Mhz 686-class CPU) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! That's twice as many CPUs as I think I have, each going 400Mhz faster. Is this safe? Correct? Is it that hyperthreading stuff? Should I disable it? Thanks - JD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 15: 0:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD1BF37B401 for ; Fri, 28 Jun 2002 15:00:07 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id C317343E13 for ; Fri, 28 Jun 2002 15:00:03 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 22114 invoked from network); 28 Jun 2002 22:00:02 -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 ; 28 Jun 2002 22:00:02 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g5SM0HM04955; Fri, 28 Jun 2002 18:00:17 -0400 (EDT) (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: Date: Fri, 28 Jun 2002 18:00:02 -0400 (EDT) From: John Baldwin To: John David Duncan Subject: RE: 2 xeons = 4 CPUs? Cc: freebsd-stable@freebsd.org, freebsd-smp@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 28-Jun-2002 John David Duncan wrote: > Hey, > > I just installed 4.6-RELEASE on a dual 1.8Mhz Xeon + Tyan S2720 > motherboard (a Relion 140 server from Penguin Computing, actually). > When I reboot with an SMP kernel, I see: > > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > > That's twice as many CPUs as I think I have, each going 400Mhz faster. Is > this safe? Correct? Is it that hyperthreading stuff? Should I disable > it? Yes, it is HT and it should work fine. Let us know if there are any problems. -- 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-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 15: 2:49 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B94C37B400; Fri, 28 Jun 2002 15:02:27 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2901A43E23; Fri, 28 Jun 2002 15:02:07 -0700 (PDT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.4/8.12.4) with ESMTP id g5SM25bL029330; Fri, 28 Jun 2002 18:02:05 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.12.4/8.12.4/Submit) with SMTP id g5SM250S029327; Fri, 28 Jun 2002 18:02:05 -0400 (EDT) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Fri, 28 Jun 2002 18:02:04 -0400 (EDT) From: "Andrew R. Reiter" To: John David Duncan Cc: freebsd-smp@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: 2 xeons = 4 CPUs? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Jun 2002, John David Duncan wrote: :Hey, : :I just installed 4.6-RELEASE on a dual 1.8Mhz Xeon + Tyan S2720 :motherboard (a Relion 140 server from Penguin Computing, actually). :When I reboot with an SMP kernel, I see: : :CPU: Pentium 4 (2199.76-Mhz 686-class CPU) :CPU: Pentium 4 (2199.76-Mhz 686-class CPU) :CPU: Pentium 4 (2199.76-Mhz 686-class CPU) :CPU: Pentium 4 (2199.76-Mhz 686-class CPU) :SMP: AP CPU #1 Launched! :SMP: AP CPU #2 Launched! :SMP: AP CPU #3 Launched! : :That's twice as many CPUs as I think I have, each going 400Mhz faster. Is :this safe? Correct? Is it that hyperthreading stuff? Should I disable :it? You're seeing HT support in action. -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 16:43:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6009537B400 for ; Fri, 28 Jun 2002 16:43:14 -0700 (PDT) Received: from icebox.venux.net (icebox.venux.net [216.120.166.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06A4943E09 for ; Fri, 28 Jun 2002 16:43:14 -0700 (PDT) (envelope-from dan@venux.net) Received: from greenbox.venux.net (matrix.venux.net [216.120.166.5]) by icebox.venux.net (Postfix) with ESMTP id E94C82621D for ; Fri, 28 Jun 2002 19:43:11 -0400 (EDT) Received: by greenbox.venux.net with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Jun 2002 19:41:23 -0400 Message-ID: <570A8BDE15D3D211BBA60050040336DE4718C1@greenbox.venux.net> From: Dan Dexter To: "'freebsd-stable@FreeBSD.org'" Subject: Date: Fri, 28 Jun 2002 19:41:22 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 17: 6: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58A2037B400 for ; Fri, 28 Jun 2002 17:05:56 -0700 (PDT) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0995843E0A for ; Fri, 28 Jun 2002 17:05:56 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g5T05pw16302; Fri, 28 Jun 2002 17:05:51 -0700 (PDT) Date: Fri, 28 Jun 2002 17:05:51 -0700 (PDT) From: Doug White To: Mike Durian Cc: freebsd-stable@FreeBSD.ORG Subject: Re: BTX halted boot failure during 4.6 install In-Reply-To: <200206272228.g5RMSF47025162@man.boogie.com> Message-ID: <20020628170445.N3814-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 27 Jun 2002, Mike Durian wrote: > On Thu, 27 Jun 2002 14:51:16 PDT, Doug White wrote: > > > >See if you can track down a HP Navigator CD -- that usually has all the > >updates you need on it. It should update all the hardware in the system > >that it knows about, including the management controller and the RAID > >controllers if they're the rebadged HP NetRAIDs. > > I'll see what I can find. How does it have some programs that require > windows? It boots to Windows3.1 off the CD. :-) We just got a metric ton of these CDs from a large purchase and can mail one to you if you need it. > >hm.... adaptecs do have problems with disks that don't have DOS partition > >tables on them. Are your disks dangerously dedicated? > > I don't think so. The system is currently running Linux. That is probably the problem. Try booting a DOS floppy and wipe & recreate the table (if you don't care for whats on the box). Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 17:15:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFD5A37B400; Fri, 28 Jun 2002 17:15:03 -0700 (PDT) Received: from midearth.org (cs666880-180.austin.rr.com [66.68.80.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 391A043E06; Fri, 28 Jun 2002 17:15:03 -0700 (PDT) (envelope-from slpalmer@midearth.org) Received: from gandalf.midearth.org (localhost [127.0.0.1]) by midearth.org (8.12.5/8.12.2) with ESMTP id g5T0EqUN082045; Fri, 28 Jun 2002 19:14:52 -0500 (CDT) (envelope-from slpalmer@midearth.org) Received: from localhost (slpalmer@localhost) by gandalf.midearth.org (8.12.5/8.12.2/Submit) with ESMTP id g5T0EiaQ082042; Fri, 28 Jun 2002 19:14:52 -0500 (CDT) X-Authentication-Warning: gandalf.midearth.org: slpalmer owned process doing -bs Date: Fri, 28 Jun 2002 19:14:44 -0500 (CDT) From: "Stephen L. Palmer" X-X-Sender: slpalmer@gandalf To: ports@freebsd.org, Subject: pkg_fetch broken on 4.6 stable? Message-ID: <20020628191317.C81819-100000@gandalf> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (Sorry if this hits the list multiple times, my mail to the list is bouncing as '554 Error: no valid recipients', I think I found and fixed the problem on my end now... sendmail was reporting a wrong hostname..) It seems that 'portupgrade -P' won't ever get a package, so it builds from source every time. On investigation, it seems that pkg_fetch is getting the directory path wrong. In the example below, the correct path would have included 'packages-4-stable', not 'packages-4.6-stable', at least that's how the directory structure on the ftp sites are. Stephen L. Palmer slpalmer@midearth.org http://bfsrocks.com example:------------------ root on gandalf:~ % pkg_fetch -v bash2 ---> Fetching bash2.tgz ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.6-stable/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/bash2.tgz' 'ftp://ftp.Free BSD.org/pub/FreeBSD/ports/i386/packages-4.6-stable/Latest/bash2.tgz' fetch: /var/tmp/bash2.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.6-sta ble/Latest/bash2.tgz ** Failed to fetch bash2.tgz ---> Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed) ! bash2 (fetch error) root on gandalf:~ % To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 18: 2:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDC8137B401; Fri, 28 Jun 2002 18:02:27 -0700 (PDT) Received: from dc-mx03.cluster1.charter.net (dc-mx03.cluster1.charter.net [209.225.8.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7AF743E06; Fri, 28 Jun 2002 18:02:26 -0700 (PDT) (envelope-from aseelye@urx.com) Received: from [66.189.215.109] (HELO metallus) by dc-mx03.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9) with ESMTP id 35527441; Fri, 28 Jun 2002 21:02:05 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Aaron Seelye To: John David Duncan , freebsd-smp@freebsd.org, Subject: Re: 2 xeons = 4 CPUs? Date: Fri, 28 Jun 2002 18:03:45 -0700 User-Agent: KMail/1.4.1 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206281803.45317.aseelye@urx.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, that's hyperthreading (as two others before me have said), but one thing to keep in mind is that you may want to disable it, as on some benchmarks it actually /slows down/ the system. YMMV. Aaron On Friday 28 June 2002 02:52 pm, John David Duncan wrote: > Hey, > > I just installed 4.6-RELEASE on a dual 1.8Mhz Xeon + Tyan S2720 > motherboard (a Relion 140 server from Penguin Computing, actually). > When I reboot with an SMP kernel, I see: > > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > CPU: Pentium 4 (2199.76-Mhz 686-class CPU) > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > > That's twice as many CPUs as I think I have, each going 400Mhz faster. Is > this safe? Correct? Is it that hyperthreading stuff? Should I disable > it? > > Thanks > > - JD > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Jun 28 18:15:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E73F737B401 for ; Fri, 28 Jun 2002 18:15:35 -0700 (PDT) Received: from angryfist.fasttrackmonkey.com (angryfist.fasttrackmonkey.com [216.223.196.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C1E43E0A for ; Fri, 28 Jun 2002 18:15:35 -0700 (PDT) (envelope-from freebsd@fasttrackmonkey.com) Received: (qmail 31082 invoked by uid 85); 29 Jun 2002 01:15:32 -0000 Received: from freebsd@fasttrackmonkey.com by angryfist.fasttrackmonkey.com by uid 1001 with qmail-scanner-1.10 (sophie: 2.9/3.56. . Clear:0. Processed in 0.071282 secs); 29 Jun 2002 01:15:32 -0000 X-Qmail-Scanner-Mail-From: freebsd@fasttrackmonkey.com via angryfist.fasttrackmonkey.com X-Qmail-Scanner: 1.10 (Clear:0. Processed in 0.071282 secs) Received: from unknown (HELO white.nat.fasttrackmonkey.com) (64.47.30.2) by 0 with DES-CBC3-SHA encrypted SMTP; 29 Jun 2002 01:15:32 -0000 Date: Fri, 28 Jun 2002 21:15:33 -0400 (EDT) From: CS To: freebsd-stable@freebsd.org Subject: latest -stable snapshot, panic on boot Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have a very old no-name machine with a no-name mobo that I use as a firewall at home (full dmesg from the running kernel below). I tried an early pre-4.6 snapshot, and got a panic on boot. Today I thought I'd try the latest -stable snapshot (today's from snapshots.jp.freebsd.org) and received the same result. There's no strange hardware in it, just the built-in IDE controllers and two SMC ISA ethernet NICs (ed driver). On two occasions I got a panic, on two others I got a hang right after the lines: ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 screenshot at http://home.manymonkeys.com/hang.jpg The panic was after the lines: ad0: READ command timeout ....? ata0: resetting devices .. ata0-slave: ATA identity ? done ad0: 1916MB [893/16/63] at ata0-master BIOSDMA Fatal trap 12: page fault while in kernel mode fault virtual address = 0x6 fault code = supervisor read, page not present instruction pointer = 0x8(?):0xc015431d stack pointer = 0x10:0xc003efa4 frame pointer = 0x10:0xc003efbc 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 = 0 (swapper) interrupt mask = bio trap number = 12 panic: page fault syncing disks... etc. I'm having trouble telling the difference between "8" and "0" in the above, my camera just couldn't get me a clear image. I hope this is enough to go on. screenshot at http://home.manymonkeys.com/panic.jpg Currently the machine is running fine with: FreeBSD gw.nat.fasttrackmonkey.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Apr 27 18:31:15 EDT 2002 It has some problems with the IDE controller during boot, but continues fine: ad0: 1916MB [3893/16/63] at ata0-master BIOSDMA ata1-master: simplex device, DMA on primary only acd0: CDROM at ata1-master using BIOSPIO Mounting root from ufs:/dev/ad0s1a ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ad0: trying fallback to PIO mode ata0: resetting devices .. done The "fallback to PIO mode" seems to fix things up. Please let me know if you folks need any more info, I'm looking forward to getting this thing back on track with -stable. CS ----- Here's a full dmesg of the 4.4 kernel running on it: Copyright (c) 1992-2001 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 4.4-RELEASE #0: Sat Apr 27 18:31:15 EDT 2002 spork@angryfist.fasttrackmonkey.com:/usr/src/sys/compile/BIGRED_IPF_PPPOE Timecounter "i8254" frequency 1193182 Hz CPU: AMD Am5x86 Write-Back (486-class CPU) Origin = "AuthenticAMD" Id = 0x4f4 Stepping = 4 Features=0x1 real memory = 33554432 (32768K bytes) avail memory = 29609984 (28916K bytes) Preloaded elf kernel "kernel" at 0xc0329000. VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c1bed (c0001bed) VESA: S3 Incorporated. 86C325 md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 13.0 irq 12 pcib1: at device 16.0 on pci0 isab0: at device 18.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0xfff0-0xfff3,0xffe0-0x ffe7,0x374-0x377,0x170-0x177 at device 18.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 orm0:

> > However, the latest builworld/buildkernel caused my DSL connection vi user ppp > to stop working. Fortunately, my old kernel & netgraph, ng_ether, ng_pppoe, ng_socket.ko modules still give me a working internet connection with the latest ppp build so that I can send this email out. > > In the interests of full disclosure, my modem is Westell Wirespeed connected to > Verizon. Here's the portion of my log file where the connection fails: > > Jun 19 22:57:33 bogushost2 ppp[67]: Phase: Received NGM_PPPOE_ACNAME (hook "RES- > 6400-3-NRP2") > Jun 19 22:57:34 bogushost2 ppp[67]: Phase: Received NGM_PPPOE_<11> (hook "b6^H^H > h ^K^H") > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: deflink: Disconnected! > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: deflink: carrier -> hangup > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: deflink: Connect time: 5 secs: 0 octe > ts in, 0 octets out > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: deflink: : 0 packets in, 0 packets ou > t > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: total 0 bytes/sec, peak 0 bytes/sec > on Wed Jun 19 22:57:30 2002 > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: deflink: hangup -> closed > Jun 19 22:57:35 bogushost2 ppp[67]: Phase: bundle: Dead Could you please add set cd 10 to your ppp.conf and try with the same kernel that failed before? -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 6:27:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D637C37B401 for ; Sat, 29 Jun 2002 06:27:29 -0700 (PDT) Received: from beastie.kicks-ass.org (e56013.upc-e.chello.nl [213.93.56.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A6A943E0A for ; Sat, 29 Jun 2002 06:27:28 -0700 (PDT) (envelope-from stunn0r@beastie.kick-ass.org) Received: from w00t (w00t [10.10.10.3]) by beastie.kicks-ass.org (8.12.3/8.12.3) with SMTP id g5TDRQuL027880 for ; Sat, 29 Jun 2002 15:27:27 +0200 (CEST) (envelope-from stunn0r@beastie.kick-ass.org) Message-ID: <002c01c21f70$db728970$030a0a0a@w00t> From: "stunn0r" To: References: <20020629013133.68291.qmail@web11206.mail.yahoo.com> Subject: Re: [stable] Suspend on HLT problem Date: Sat, 29 Jun 2002 15:28:29 +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 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG this is actually a documented feature.. you can find the documentation @ http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/funnies.html#DEV-NULL :) ----- Original Message ----- From: "Rhett Monteg Hollander" To: Sent: Saturday, June 29, 2002 3:31 AM Subject: [stable] Suspend on HLT problem > Hello all, > just recently I've noticed some strange thing going > with FreeBSD on some SMP box. > > After some period of time (about an hour, for > example), keeping this box booted into FreeBSD and > staid just powered on, generally doing nothing (no > background or foreground tasks), both CPUs appeared to > be very > hot (touching heatsink I could figure about 60-70C). > But kernel was compiled with 'options CPU_SUSP_HLT', > so FreeBSD had to halt both CPUs for quite a long > time, thereby keeping them cold. > > I recompiled the kernel again and again, no > difference. Then I made a uni-processing kernel, and > booted it for an hour. First (BSP) CPU was still hot, > however about 50C, while second (AP) was obviously > cold. I can somewhat explain why BSP CPU was hot not > so much than in SMP mode, because both CPUs use the > same cooling system, but I have no explanation why it > was still hot. > > Finally, I installed Linux and even Win2000 to see any > difference. And in both cases, both CPUs were really > cold, not exceeding 30-35C. > > I don't know what's going on. Either suspend on HLT > algorithm is not effective, or it's broken at all. > Anyone with SMP box can test it simply by booting up, > turning coolers off and waiting at least for half an > hour. If I'm wrong, your box won't hang up ;) > > Rhett > > P.S. FYI, 1) my brain probably performs fine, so > 2) I don't live in Central Sahara, hence > 3) room temperature was 23C :) > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > _______________________________________________ > Freebsd-stable mailing list > Freebsd-stable@spitfire.velocet.net > http://spitfire.velocet.net/mailman/listinfo/freebsd-stable > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 6:41:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A24CA37B400 for ; Sat, 29 Jun 2002 06:41:33 -0700 (PDT) Received: from 141.com (mail1.141.com [65.168.139.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E80043E06 for ; Sat, 29 Jun 2002 06:41:29 -0700 (PDT) (envelope-from arlankfo@141.com) Received: from 141.com [138.88.152.113] by 141.com with ESMTP (SMTPD32-7.10) id A95113D008C; Sat, 29 Jun 2002 07:42:41 -0600 To: Andre Albsmeier , freebsd-stable@freebsd.org Subject: Re: Tagged queuing works, netgraph/ppp acting up. In-Reply-To: Your message of "Sat, 29 Jun 2002 15:21:57 +0200." <20020629152157.A2375@curry.mchp.siemens.de> Date: Sat, 29 Jun 2002 09:41:26 -0400 From: Andrew Lankford Message-Id: <200206290742906.SM01140@141.com> X-RBL-Warning: SPAMHEADERS: This E-mail has headers consistent with spam [4000020e]. X-Note: This E-mail was scanned for spam. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020629152157.A2375@curry.mchp.siemens.de>, Andre Albsmeier writes : >> Jun 19 22:57:35 bogushost2 ppp[67]: Phase: bundle: Dead > >Could you please add > >set cd 10 > >to your ppp.conf and try with the same kernel that failed before? > > -Andre > It doesn't hurt. My last build seems to work ok now, but I suspect the reason is that some hardware over at the central office was changed. Thanks for the suggestion. Andrew Lankford To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 6:46:25 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F1BF37B400 for ; Sat, 29 Jun 2002 06:46:20 -0700 (PDT) Received: from freebsd.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 078D243E13 for ; Sat, 29 Jun 2002 06:46:19 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.12.2/8.12.2) id g5TDkHd9074854; Sat, 29 Jun 2002 15:46:17 +0200 (CEST) (envelope-from sos) From: Soeren Schmidt Message-Id: <200206291346.g5TDkHd9074854@freebsd.dk> Subject: Re: hw.ata.tags="1" && hw.ata.wc="0": invalidating queued requests? In-Reply-To: <20020625195533.GA267@gw.tex.bogus> To: Nuno Teixeira Date: Sat, 29 Jun 2002 15:46:17 +0200 (CEST) Cc: freebsd-stable@freebsd.org Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems Nuno Teixeira wrote: > > Hello to all, > > For a long time that I am seeking over the groups about ata tags and > write cache. What I heard is that when hw.ata.tags is activated, > hw.ata.wc is ignored. I tested my system with: > > - softupdates enabled in all filesystems > > - ad0: 29314MB [59560/16/63] at ata0-master tagged > UDMA33 > > - /boot/loader.conf: > > hw.ata.tags="1" > hw.ata.wc="0" > > and the system gives a lot of errors (without crashing) like: > (...) > When I use hw.ata.tags="1" && hw.ata.wc="1" the the system runs without > any problems. > > Am I missing something? You can only do tags when WC is enabled, the updated driver in 4.6 forward wil do this automagically... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 7: 4:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 686D337B400 for ; Sat, 29 Jun 2002 07:04:34 -0700 (PDT) Received: from bunsen.solidcore.dk (bunsen.solidcore.dk [217.116.225.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6616043E06 for ; Sat, 29 Jun 2002 07:04:33 -0700 (PDT) (envelope-from laursen@netgroup.dk) Received: from area51 (gw.oxygen.net [217.116.225.2]) (AUTH: LOGIN laursen@solidcore.dk) by bunsen.solidcore.dk with esmtp; Sat, 29 Jun 2002 16:04:31 +0200 Message-ID: <009801c21f75$dcf391e0$1a01000a@area51> Reply-To: "Lasse Laursen" From: "Lasse Laursen" To: freebsd-stable@freebsd.org Subject: Promise TX2 ATA100: Problems and monitoring Date: Sat, 29 Jun 2002 16:04:19 +0200 Organization: NetGroup A/S 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.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm running FreeBSD 4.5 with a TX2 ATA100 controller with two Western Digital Disks in a RAID 1 configuration. From dmesg: ar0: 38146MB [4863/255/63] subdisks: ad4: 38166MB [77545/16/63] at ata2-master UDMA100 ad6: 38166MB [77545/16/63] at ata3-master UDMA100 Everything works just fine - except that I have had two times where the machine freezes without any cause? Have anyone had any similar problems? I was wondering if there is any tools out there to monitor the status of the hardware raid? I know that there are some tools available under windows. Yours -- Lasse Laursen - Systems Developer NetGroup A/S, St. Kongensgade 40H, DK-1264 København K, Denmark Phone: +45 3370 1526 - Fax: +45 3313 0066 - Web: www.netgroup.dk - We don't surf the net, we make the waves. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 8: 0:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5E8437B400 for ; Sat, 29 Jun 2002 08:00:24 -0700 (PDT) Received: from mail.halplant.com (ip68-100-145-31.nv.nv.cox.net [68.100.145.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E48443E13 for ; Sat, 29 Jun 2002 08:00:24 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id F273F1A6; Sat, 29 Jun 2002 11:00:22 -0400 (EDT) Date: Sat, 29 Jun 2002 11:00:22 -0400 From: Andrew J Caines To: freebsd-stable@freebsd.org Subject: Re: Promise TX2 ATA100: Problems and monitoring Message-ID: <20020629150022.GT319@hal9000.halplant.com> Reply-To: Andrew J Caines Mail-Followup-To: freebsd-stable@freebsd.org References: <009801c21f75$dcf391e0$1a01000a@area51> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009801c21f75$dcf391e0$1a01000a@area51> Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.6-STABLE X-URL: http://halplant.com:88/ Importance: Normal User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lasse, > I'm running FreeBSD 4.5 with a TX2 ATA100 controller with two Western > Digital Disks in a RAID 1 configuration. I also have the TX2, but am not doing RAID. > I was wondering if there is any tools out there to monitor the status of the > hardware raid? I know that there are some tools available under windows. Try "atacontrol list" and "atacontrol status raid" and see atacontrol(8). > Everything works just fine - except that I have had two times where the > machine freezes without any cause? Have anyone had any similar problems? You gave no details about these freezes or the circumstances in which they happened, so no-one would know how to help. Why do you think it's related to your ATA controler? Please take this question to -questions, since you aren't tracking STABLE. -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 8:13:24 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D58237B400 for ; Sat, 29 Jun 2002 08:13:20 -0700 (PDT) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E948B43E09 for ; Sat, 29 Jun 2002 08:13:18 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id g5TFDDP22186; Sat, 29 Jun 2002 17:13:13 +0200 (MEST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id g5TFDCg12496; Sat, 29 Jun 2002 17:13:12 +0200 (MEST) Received: (from localhost) by curry.mchp.siemens.de (8.12.5/8.12.5) id g5TFDCqW001283; Date: Sat, 29 Jun 2002 17:13:11 +0200 From: Andre Albsmeier To: Andrew Lankford Cc: Andre Albsmeier , freebsd-stable@freebsd.org Subject: Re: Tagged queuing works, netgraph/ppp acting up. Message-ID: <20020629171311.A2577@curry.mchp.siemens.de> References: <20020629152157.A2375@curry.mchp.siemens.de> <200206290742906.SM01140@141.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: <200206290742906.SM01140@141.com>; from arlankfo@141.com on Sat, Jun 29, 2002 at 09:41:26AM -0400 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike X-RAVMilter-Version: 8.3.1(snapshot 20020109) (curry.mchp.siemens.de) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 29-Jun-2002 at 09:41:26 -0400, Andrew Lankford wrote: > In message <20020629152157.A2375@curry.mchp.siemens.de>, Andre Albsmeier writes > : > >> Jun 19 22:57:35 bogushost2 ppp[67]: Phase: bundle: Dead > > > >Could you please add > > > >set cd 10 > > > >to your ppp.conf and try with the same kernel that failed before? > > > > -Andre > > > > It doesn't hurt. My last build seems to work ok now, but I suspect > the reason is that some hardware over at the central office was changed. If the "last build" means also the "latest -STABLE source" it has to work because the offending function (send_sessionid()) was disabled exactly because of this problem. That's why I wrote "use the same" kernel. -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 9: 6:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 960E937B405 for ; Sat, 29 Jun 2002 09:06:46 -0700 (PDT) Received: from hilfy.ece.cmu.edu (HILFY.ECE.CMU.EDU [128.2.136.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16BD43E09 for ; Sat, 29 Jun 2002 09:06:45 -0700 (PDT) (envelope-from allbery@ece.cmu.edu) Received: from rushlight.kf8nh.apk.net (root@VPN24.ECE.CMU.EDU [128.2.138.24]) by hilfy.ece.cmu.edu (8.11.0/8.8.8) with ESMTP id g5TG6b700777; Sat, 29 Jun 2002 12:06:38 -0400 (EDT) Received: (from allbery@localhost) by rushlight.kf8nh.apk.net (8.11.6/8.11.6) id g5TG6aH47990; Sat, 29 Jun 2002 12:06:36 -0400 (EDT) (envelope-from allbery@ece.cmu.edu) X-Authentication-Warning: rushlight.kf8nh.apk.net: allbery set sender to allbery@ece.cmu.edu using -f Subject: Re: IrDA device and Palm From: "Brandon S. Allbery " KF8NH To: Dmitry Shupilov Cc: stable@freebsd.org In-Reply-To: <13963408787.20020629090557@ns.tb.by> References: <13963408787.20020629090557@ns.tb.by> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 29 Jun 2002 13:06:36 -0300 Message-Id: <1025366796.47819.6.camel@rushlight.kf8nh.apk.net> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2002-06-29 at 03:05, Dmitry Shupilov wrote: > I took the birda-1.00.tar.gz unpack it, install it and try to start > with the command: > > #irs -c -e -y /dev/ptyqf > > and I got an answer > > Cannot open pty Make sure it exists (cd /dev; ./MAKEDEV pty1)? MAKEDEV only creates /dev/ptyp? by default. I've been running this on 4.5-R, 4.5-S, 4.6-R without problems. > pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. This device isn't relevant. -- brandon s allbery [openafs/solaris/japh/freebsd] allbery@kf8nh.apk.net system administrator [linux/heimdal/too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university [better check the oblivious first -ke6sls] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 9:58:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A586A37B400 for ; Sat, 29 Jun 2002 09:58:20 -0700 (PDT) Received: from web20204.mail.yahoo.com (web20204.mail.yahoo.com [216.136.226.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 197C643E1A for ; Sat, 29 Jun 2002 09:58:20 -0700 (PDT) (envelope-from fbsd2@yahoo.com) Message-ID: <20020629165819.83708.qmail@web20204.mail.yahoo.com> Received: from [209.249.182.113] by web20204.mail.yahoo.com via HTTP; Sat, 29 Jun 2002 09:58:19 PDT Date: Sat, 29 Jun 2002 09:58:19 -0700 (PDT) From: A Ling Subject: Memory speed/size vs buildworld time? To: freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings all, I'm about to upgrade a box (on a budget), and I was wondering whether the extra cost (or smaller amount) of PC2700 DDR memory would be offset by big (say >20%) differences in time for a buildworld, for example? For little more than the price of 256 Mb of PC2700, I can get 512 Mb of PC2100 from Crucial. I realize SCSI vs IDE may make more of a difference, but unfortunately that's not an option. The processor would be a socket 478 P4 1.7 GHz, and I'm considering the ASUS P4S533 motherboard (SiS645DX chip set). The disks to be migrated are: ad0: 9541MB [19386/16/63] at ata0-master UDMA100 ad1: 76319MB [155061/16/63] at ata0-slave UDMA100 Comments on motherboards also welcome; I've got PCI NIC & video cards I can use, but like the fact that the C-Media chip set on the ASUS seems to be supported for sound. If this would be better on -questions or -hardware, I could repost there. Thanks. Alex __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 10:42:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7A5937B400 for ; Sat, 29 Jun 2002 10:42:48 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 667A443E09 for ; Sat, 29 Jun 2002 10:42:48 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA22742; Sat, 29 Jun 2002 10:42:46 -0700 Message-ID: <3D1DF195.40108@owt.com> Date: Sat, 29 Jun 2002 10:42:45 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: A Ling Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Memory speed/size vs buildworld time? References: <20020629165819.83708.qmail@web20204.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A Ling wrote: > Greetings all, I'm about to upgrade a box (on a budget), and I was wondering > whether the extra cost (or smaller amount) of PC2700 DDR memory > would be offset by big (say > >> 20%) differences in time for a buildworld, for >> > example? For little more than the price of 256 Mb of PC2700, I > can get 512 Mb of PC2100 from Crucial. I realize SCSI vs IDE > may make more of a difference, but unfortunately that's not an > option. The processor would be a socket 478 P4 1.7 GHz, and I'm considering the ASUS P4S533 motherboard (SiS645DX > chip set). The disks to be migrated are: > > ad0: 9541MB [19386/16/63] at > ata0-master UDMA100 > ad1: 76319MB [155061/16/63] at > ata0-slave UDMA100 I have 2 SiS635 based AMD 1600+ XP systems. I have DDR memory in one and 256 SDIM in the other. The one with DDR has 3 HDs connected to the 2-ATA channels. The other system has a Promise Ultra 100 with 3 ATA-100 Maxtor HDs. Each HD is on its own ATA channel. The drives are all split up something like coral# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s3a 248047 57465 170739 25% / /dev/ad0s3f 992239 624 912236 0% /tmp /dev/ad0s3g 9477547 5273149 3446195 60% /usr /dev/ad0s3e 992239 145979 766881 16% /var /dev/ad4s2e 1486814 342557 1025312 25% /usr/obj /dev/ad4s3e 12712841 2737107 8958707 23% /usr2 /dev/ad6s2e 1486814 337060 1030809 25% /usr/src Opal is the same but only used ad0, ad1, and ad2. Both will do buildworlds in just over 20 minutes. Opal has 512 MB of DDR and is usually 2 minutes faster than coral. > > Comments on motherboards also welcome; I've got PCI > NIC & video cards I can use, but like the fact that > the C-Media chip set on the ASUS seems to be > supported for sound. If this would be better on > -questions or -hardware, I could repost there. Thanks. > Alex > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > . > > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html > > considering the ASUS P4S533 motherboard (SiS645DX chip set). > The disks to be migrated are: > > ad0: 9541MB [19386/16/63] at ata0-master > UDMA100 ad1: 76319MB [155061/16/63] at ata0-slave > UDMA100 I have 2 SiS635 based AMD 1600+ XP systems. I have 512MB DDR memory in one and 256 SDIM in the other. The one with DDR has 3 HDs connected to the 2-ATA channels. The HDs are combinations of ATA-100 to ATA-66. The other system has a Promise Ultra 100 with 3 ATA-100 Maxtor HDs. Each HD is on its own ATA channel. The drives are all split up something like coral# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s3a 248047 57465 170739 25% / /dev/ad0s3f 992239 624 912236 0% /tmp /dev/ad0s3g 9477547 5273149 3446195 60% /usr /dev/ad0s3e 992239 145979 766881 16% /var /dev/ad4s2e 1486814 342557 1025312 25% /usr/obj /dev/ad4s3e 12712841 2737107 8958707 23% /usr2 /dev/ad6s2e 1486814 337060 1030809 25% /usr/src Opal is the same but only used ad0, ad1, and ad2. Both will do buildworlds in just over 20 minutes. Opal is the one with 512 MB of DDR and is usually 2 minutes faster than coral. Splitting /usr/obj and /usr/src always helped and this combination was consistantly faster. Memory doesn't seem to matter beyond 128 MB. I have also found that adding -j4 to your buildworld is _ALWAYS_ slower on single cpu system. I have tabulated some of my timing of buildworlds as what I call "The Urban Legend of -j4" but it is no longer up todate. I still do "time make buildworld" and add them to my table via a cat >> times.log and cut and paste the time on the console. I just haven't added the information to my web page. I will have to do that because it also shows what softupdates and caching does. I have a 3rd SiS635 based machine with an AMD-900 Athlon Thunderbird in it. It is fast but not nearly as fast as the 1600+'s. It also has a similar configuration to coral. The behavior with respect to file system was similar to coral. I have a Maxtor Ultra-133 controller, which will be added to opal, and I will see at that time what the DDR memory really does in an identical configuration to coral. Kent > > Comments on motherboards also welcome; I've got PCI NIC & video > cards I can use, but like the fact that the C-Media chip set on > the ASUS seems to be supported for sound. If this would be > better on -questions or -hardware, I could repost there. Thanks. Alex > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 11:44:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5913F37B400 for ; Sat, 29 Jun 2002 11:44:11 -0700 (PDT) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.196.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D300743E26 for ; Sat, 29 Jun 2002 11:44:10 -0700 (PDT) (envelope-from lambert@lambertfam.org) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.inch.com (Postfix) with ESMTP id F29E635109 for ; Sat, 29 Jun 2002 14:42:29 -0400 (EDT) Received: from laptop.lambertfam.org (unknown [10.1.0.2]) by mail.lambertfam.org (Postfix) with ESMTP id 77F4A350F7 for ; Sat, 29 Jun 2002 14:42:26 -0400 (EDT) Received: by laptop.lambertfam.org (Postfix, from userid 1000) id E51C528B09; Sat, 29 Jun 2002 14:44:02 -0400 (EDT) Date: Sat, 29 Jun 2002 14:44:02 -0400 From: Scott Lambert To: freebsd-stable@FreeBSD.ORG Subject: Re: make buildworld failure on -STABLE Message-ID: <20020629184402.GA400@laptop.lambertfam.org> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <20020629062612.A33650@shell.reiteration.net> <5.1.0.14.0.20020629040503.06d777e0@192.168.0.12> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20020629040503.06d777e0@192.168.0.12> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 29, 2002 at 04:07:10AM -0400, Mike Tancsa wrote: > At 06:26 AM 6/29/2002 +0100, John wrote: > > >this gives a make buildworld error: > > > >/usr.sbin/sshd/../../lib/libssh/libssh.a -lcrypt -lcrypto -lutil -lz > >-lwrap -lpam > >gzip -cn > >/home/system/src/secure/usr.sbin/sshd/../../../crypto/openssh/sshd.8 > > >sshd.8.gz > >===> etc > >===> etc/sendmail > >make: don't know how to make freebsd.mc. Stop > >*** Error code 2 > > > >Has this got anything to do with the sed problem reported recently? To me, > >it looks like something else (and apache compiled fine). > > No. Actually, at this point, you are pretty well done. The only thing that > didnt work was the building of your local .cf file (but not the final > sendmail.cf file). The remaining bits if it had worked would have looked > something like ... > It sounds like you are missing a copy of /usr/src/etc/sendmail/freebsd.mc > in /etc/mail/ John, are you maybe using the cvsup refuse file from /usr/share/examples/cvsup/refuse? That file, by default, has src/etc/sendmail/freebsd.mc* on the refuse list. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 12:30:59 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC25537B400 for ; Sat, 29 Jun 2002 12:30:52 -0700 (PDT) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5674E43E06 for ; Sat, 29 Jun 2002 12:30:51 -0700 (PDT) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g5THapp18544 for ; Sat, 29 Jun 2002 19:36:51 +0200 Date: Sat, 29 Jun 2002 19:36:51 +0200 (CEST) From: Gheorghe Ardelean To: Subject: Problems installing STABLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I've compiled STABLE on a PII and installed fine (CPUTYPE=i686). Then changed CPUTYPE to i586 preparing for install on other machines (but using this machine as a build machine). Build is ok but as soon as I am trying to install on a P54C-133MHz machine I get the following error: -------------------------------------------------------------- >>> Installing everything.. -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info ===> include ... if [ -h /usr/include/dev/wi ]; then rm -f /usr/include/dev/wi; fi if [ -h /usr/include/machine ]; then rm -f /usr/include/machine; fi mtree -deU -f /usr/src/include/../etc/mtree/BSD.include.dist -p /usr/include cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 cam/*.h /usr/include/cam Illegal instruction - core dumped *** Error code 132 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This seems to me that the new install (/usr/obj/usr/src/i386/usr/bin/install) is not compiled for i586 but for i686 (works on build machine). I've tested (on the i586 machine) other binaries compiled in this way and they work ok (e.g. the /tmp/install.*/* binaries). Before I started the new buildworld (for i586) I've done: make clean make cleandir chflags -R noschg * rm -rf * Looking in to my buildworld log I have found that install was compiled with correct flags: ... cd /usr/src/usr.bin/xinstall; make obj; make depend; make all; make DESTDIR=/usr/obj/usr/src/i386 install /usr/obj/usr/src/i386/usr/src/usr.bin/xinstall created for /usr/src/usr.bin/xinstall rm -f .depend mkdep -f .depend -a /usr/src/usr.bin/xinstall/xinstall.c /usr/src/usr.bin/xinstall/../../lib/libc/gen/strtofflags.c cd /usr/src/usr.bin/xinstall; make _EXTRADEPEND echo xinstall: /usr/lib/libc.a >> .depend cc -O -pipe -march=pentium -c /usr/src/usr.bin/xinstall/xinstall.c cc -O -pipe -march=pentium -c /usr/src/usr.bin/xinstall/../../lib/libc/gen/strtofflags.c cc -O -pipe -march=pentium -static -o xinstall xinstall.o strtofflags.o sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555 xinstall /usr/obj/usr/src/i386/usr/bin/install Did I missed something here? Regards, +-- Gheorghe ARDELEAN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 12:55: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E60A37B409 for ; Sat, 29 Jun 2002 12:54:49 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 684AF43E06 for ; Sat, 29 Jun 2002 12:54:46 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.3/8.12.2) with ESMTP id g5TJshXH058860; Sat, 29 Jun 2002 21:54:44 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.3/8.12.3/Submit) id g5TJshXp058859; Sat, 29 Jun 2002 21:54:43 +0200 (CEST) Date: Sat, 29 Jun 2002 21:54:43 +0200 From: Wilko Bulte To: Kent Stewart Cc: freebsd-stable@FreeBSD.ORG Subject: Re: buildworld failure? Message-ID: <20020629215443.A58829@freebie.xs4all.nl> References: <20020627194509.D81262@freebie.xs4all.nl> <3D1B6291.5010805@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D1B6291.5010805@owt.com>; from kstewart@owt.com on Thu, Jun 27, 2002 at 12:08:01PM -0700 X-OS: FreeBSD 4.6-RC X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 27, 2002 at 12:08:01PM -0700, Kent Stewart wrote: Well, my laptop does as well. Just my Athlon deskside does not. I'm confused :( W/ > I would recvsup and start over. I just cvsuped src-all @1700 UTC and > it built just fine. > > Kent > > Wilko Bulte wrote: > > > I keep on getting: > > > > r.bin/cc/cc_int/../../../../contrib/gcc > > -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config > > -DTARGET_NAME=\"i386-unknown-freebsd\" -DIN_GCC -c > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c -o toplev.o > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:4876: > > warning: #warning FORCE_OPTIMIZATION_DOWNGRADE > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1190: > > warning: initialization from incompatible pointer type > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c: In function > > `main': > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:4877: `yes' > > undeclared (first use in this function) > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:4877: (Each > > undeclared identifier is reported only once > > /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:4877: for > > each function it appears in.) > > *** Error code 1 > > > > Stop in /usr/src/gnu/usr.bin/cc/cc_int. > > *** Error code 1 > > > > Stop in /usr/src/gnu/usr.bin/cc. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Is this a FAQ maybe? [still playing catchup after being on vacation] > > > > Build is done on: > > > > FreeBSD freebie.xs4all.nl 4.6-RC FreeBSD 4.6-RC #3: Sun Jun 9 15:30:58 CEST > > 2002 root@freebie.xs4all.nl:/usr/obj/usr/src/sys/FREEBIE i386 > > > > TIA > > > > > -- > Kent Stewart > Richland, WA > > http://users.owt.com/kstewart/index.html ---end of quoted text--- -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 13:27: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A6E537B401 for ; Sat, 29 Jun 2002 13:27:02 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id C964343E09 for ; Sat, 29 Jun 2002 13:27:01 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sat, 29 Jun 2002 16:27:00 -0400 Message-ID: From: Don Bowman To: 'Jonathan Lemon' , stable@freebsd.org Subject: RE: panic in 4.6 with knote_enqueue from kill Date: Sat, 29 Jun 2002 16:26:52 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jonathan Lemon wrote: > In article > 60F@mail.sandvine.com> you write: > >I have a system panic occuring with FreeBSD 4.6. The stack > trace is below... ... > > The assumption made when calling knote() is that we are already at the > correct spl level associated with a particular knote list, so > no locking > should be required. It appears that this isn't true for psignal(), it > can be called either from a syscall, or from an interrupt. > > My guess is that in the call chain above, after checking the kn_status > in KNOTE_ACTIVATE(), but before reaching splhigh() in > knote_enqueue, an > interrupt occurs which causes psignal() to be called again, and queues > the knote for retrieval. This causes the assertion to be triggered. > > Try the patch below. ... This appears to fix the problem (at least, the panic hasn't occurred since, and its been twice the previous 'normal' period). I suggest checking it in. --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 13:47:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB12A37B405 for ; Sat, 29 Jun 2002 13:47:25 -0700 (PDT) Received: from herbelot.dyndns.org (d108.dhcp212-198-26.noos.fr [212.198.26.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F91F43E13 for ; Sat, 29 Jun 2002 13:47:24 -0700 (PDT) (envelope-from thierry@herbelot.com) Received: from herbelot.com (tulipe.herbelot.nom [192.168.1.5]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id WAA14641; Sat, 29 Jun 2002 22:47:20 +0200 (CEST) (envelope-from thierry@herbelot.com) Message-ID: <3D1E1CD7.B88F6A44@herbelot.com> Date: Sat, 29 Jun 2002 22:47:19 +0200 From: Thierry Herbelot X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Gheorghe Ardelean Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Problems installing STABLE References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gheorghe Ardelean wrote: > > Hello, > > I've compiled STABLE on a PII and installed fine (CPUTYPE=i686). > Then changed CPUTYPE to i586 preparing for install on other machines > (but using this machine as a build machine). > > Build is ok but as soon as I am trying to install on a P54C-133MHz machine > > I get the following error: > -------------------------------------------------------------- > >>> Installing everything.. > -------------------------------------------------------------- .... > cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 cam/*.h /usr/include/cam > Illegal instruction - core dumped > *** Error code 132 > this is the normal behaviour : you have compiled all of your utilities to use i686-specific optimizations (CPUTYPE=i686), then try to use one of these utilities (the newly built "install") on an i586 machine, which lacks some of the i686-specific instruction codes. I also recently did almost the same mistake, compiling an application on a fast p-III, with i686 instruction codes, to see it dumping core when run on a p5-200. there are two solutions : - compile your world and kernel with only the i586 optimizations, and then share the same binaries between the i686 and i586 machines or - compile twice the world, once for i686 machines, and another time for i586 machines TfH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 14: 4:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5317737B400 for ; Sat, 29 Jun 2002 14:04:29 -0700 (PDT) Received: from shell.reiteration.net (pc-62-31-233-54-se.blueyonder.co.uk [62.31.233.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81EA543E1A for ; Sat, 29 Jun 2002 14:04:28 -0700 (PDT) (envelope-from jfm@shell.reiteration.net) Received: from shell.reiteration.net (jfm@localhost [127.0.0.1]) by shell.reiteration.net (8.12.2/8.12.2) with ESMTP id g5TL4Qjr035641; Sat, 29 Jun 2002 22:04:26 +0100 (BST) (envelope-from jfm@shell.reiteration.net) Received: (from jfm@localhost) by shell.reiteration.net (8.12.2/8.12.2/Submit) id g5TL4PBk035640; Sat, 29 Jun 2002 22:04:25 +0100 (BST) Date: Sat, 29 Jun 2002 22:04:25 +0100 From: John To: Scott Lambert Cc: freebsd-stable@freebsd.org Subject: Re: make buildworld failure on -STABLE Message-ID: <20020629220425.A35601@shell.reiteration.net> References: <20020629062612.A33650@shell.reiteration.net> <5.1.0.14.0.20020629040503.06d777e0@192.168.0.12> <20020629184402.GA400@laptop.lambertfam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020629184402.GA400@laptop.lambertfam.org>; from lambert@lambertfam.org on Sat, Jun 29, 2002 at 02:44:02PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 29, 2002 at 02:44:02PM -0400, Scott Lambert wrote: > > It sounds like you are missing a copy of /usr/src/etc/sendmail/freebsd.mc > > in /etc/mail/ > > John, are you maybe using the cvsup refuse file from > /usr/share/examples/cvsup/refuse? That file, by default, has > src/etc/sendmail/freebsd.mc* on the refuse list. Scott, You are totally correct! now modified, cheers -- John - jfm@reiteration.net - http://www.reiteration.net/~jfm For PGP public key finger jfm@reiteration.net or see webpage To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 14:15:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE82F37B405 for ; Sat, 29 Jun 2002 14:15:30 -0700 (PDT) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92D1B43E13 for ; Sat, 29 Jun 2002 14:15:29 -0700 (PDT) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g5TJLUO18961; Sat, 29 Jun 2002 21:21:30 +0200 Date: Sat, 29 Jun 2002 21:21:18 +0200 (CEST) From: Gheorghe Ardelean To: Thierry Herbelot Cc: Subject: Re: Problems installing STABLE In-Reply-To: <3D1E1CD7.B88F6A44@herbelot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Sorry, but it seems that I was not very clear. So I am explaining what I've done, stepwise: 1) installed the PII (build machine) with i686 optimizations 2) cd /usr/src; make clean; make cleandir; AND removed /usr/obj/* (according to the instructions in handbook). 3) changed CPUTYPE to i586 in /etc/make.conf 4) cd /usr/src; make buildworld after buildworld finished ok. make installworld on a i586 and I was getting the errors. But this world is build with i586 so it should work! But it isn't! What I am doing wrong? > this is the normal behaviour : you have compiled all of your utilities > to use i686-specific optimizations (CPUTYPE=i686), then try to use one > of these utilities (the newly built "install") on an i586 machine, which > lacks some of the i686-specific instruction codes. > > I also recently did almost the same mistake, compiling an application on > a fast p-III, with i686 instruction codes, to see it dumping core when > run on a p5-200. > > there are two solutions : > > - compile your world and kernel with only the i586 optimizations, and > then share the same binaries between the i686 and i586 machines or > > - compile twice the world, once for i686 machines, and another time for > i586 machines > > TfH Regards, Gheorghe Ardelean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 14:47:52 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7917B37B400 for ; Sat, 29 Jun 2002 14:47:47 -0700 (PDT) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01A343E06 for ; Sat, 29 Jun 2002 14:47:46 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g5TLlku64440; Sat, 29 Jun 2002 14:47:47 -0700 (PDT) Date: Sat, 29 Jun 2002 14:47:46 -0700 (PDT) From: Doug White To: Mike Durian Cc: freebsd-stable@FreeBSD.ORG Subject: Re: BTX halted boot failure during 4.6 install In-Reply-To: <200206290249.g5T2nF47034297@man.boogie.com> Message-ID: <20020629144445.G62564-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Jun 2002, Mike Durian wrote: > On Fri, 28 Jun 2002 17:05:51 PDT, Doug White wrote: > >> I'll see what I can find. How does it have some programs that require > >> windows? > > > >It boots to Windows3.1 off the CD. :-) > > > >We just got a metric ton of these CDs from a large purchase and can mail > >one to you if you need it. > > I found one on a shelf. M.04.00. I think it was from 2001. I was able > to update the BIOS one small increment, but that was it. Most of the > firmware was up-to-date. It did not fix my problem. That's a pretty old one actually, the one shipping is M.04.05. > >That is probably the problem. Try booting a DOS floppy and wipe & recreate > >the table (if you don't care for whats on the box). > > Really? Is this true across the boards? People can't update Linux > to FreeBSD when using certain adaptec controllers regardless of > system type? This is only a problem if you do not have a DOS partition table on the disk. The Adaptec BIOS tries to grok it and screws up badly if it is not there. That's been a problem all the way back to the L440GX+ board. if you traced the BTX error the IP ends up in the Adaptec BIOS somewhere. > I'm don't think I can take this risk unless I'm 100% sure I'll be > able to bring FreeBSD up once I wipe Linux. I don't mind clearing > the disk, but I've got to have the machine up and running, be it > Linux or FreeBSD. Got a spare disk you could drop in then? > Even if this is a BIOS error, it seems to me the BTX loader should > be able to work around it. After all, the other OSes can boot > with the buggy BIOS. Loader != LILO :) Linux does have problems, but since they don't have their own disklabel they generally get around it, unless you have an ext2 filesystem right on the disk instead of in a partition. ('mke2fs /dev/hda' will do that.) Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 16:10:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE24337B408; Sat, 29 Jun 2002 16:09:57 -0700 (PDT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AE8B43E09; Sat, 29 Jun 2002 16:09:57 -0700 (PDT) (envelope-from tony@ubik.demon.co.uk) Received: from ubik.demon.co.uk ([194.222.125.229]) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 17ORLn-0005VS-0X; Sun, 30 Jun 2002 00:09:56 +0100 Message-ID: Date: Sat, 29 Jun 2002 23:08:43 +0000 To: Terry Lambert Cc: vadim@e-complex.ru, freebsd-stable@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG From: Anthony Naggs Subject: Re: UFS\FFS physical layout description References: <5714634859.20020623165716@e-complex.ru> <3D15BC47.45DB3CA1@mindspring.com> <17720878203.20020623184119@e-complex.ru> <3D15CEB2.11412BC9@mindspring.com> In-Reply-To: <3D15CEB2.11412BC9@mindspring.com> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <3D15CEB2.11412BC9@mindspring.com>, Terry Lambert writes > >Or if it's not just correcting the bits, then one of the "Desing and >Implementation" books will have the information you are asking for, >as pretty pictures: These books I've found handy for other stuff, but they have coverage of file system layout too: "Solaris Internals - Core Kernel Architecture", 2001, $59.99 Jim Mauro, Richard McDougall Sun Microsystems Press/Prentice Hall, ISBN 0-13-022496-0 Particularly Chapter 14, The UNIX File System, which has a section on the UFS on-disk format. "Unix Internals - The New Frontiers", 1996 Uresh Vahalia Prentice Hall, ISBN 0-13-101908-2 Chapter 9 covers File System Implementations Publisher's info on these, including tables of contents, at: http://www.pearsonptg.com/book_detail/0,3771,0130224960,00.html http://www.pearsonptg.com/book_detail/0,3771,0131019082,00.html ttfn, Tony To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 16:39:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67F7037B400 for ; Sat, 29 Jun 2002 16:39:13 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D910D43E06 for ; Sat, 29 Jun 2002 16:39:12 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sat, 29 Jun 2002 19:39:12 -0400 Message-ID: From: Don Bowman To: "'freebsd-stable@freebsd.org'" Subject: number mbufs / cluster Date: Sat, 29 Jun 2002 19:39:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have an application where there is lots of connections, but packet sizes aren't that large. I'm running into the problem where I need an enormous amount of clusters, but the number of mbufs needed isn't as big: $ netstat -m 141164/141200/512000 mbufs in use (current/peak/max): 141163 mbufs allocated to data 1 mbufs allocated to fragment reassembly queue headers 127997/128000/128000 mbuf clusters in use (current/peak/max) 291300 Kbytes allocated to network (10% of mb_map in use) 121192 requests for memory denied 7 requests for memory delayed 0 calls to protocol drain routines bash-2.05a# All mbuf clusters exhausted, please see tuning(7). Is there a way to change the number of mbufs allocated per cluster? Is this a good thing to do for an application like this? As you can see, I've got quite a bit of memory allocated to the network here, and I can't really spare any more. --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 17:10: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B703037B406 for ; Sat, 29 Jun 2002 17:09:57 -0700 (PDT) Received: from vec.nogood.org (CPE00045a0a55e6.cpe.net.cable.rogers.com [24.101.6.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9594D43E09 for ; Sat, 29 Jun 2002 17:09:56 -0700 (PDT) (envelope-from getsubmail@nogood.org) Received: from cport (cport.local [192.168.1.120]) by vec.nogood.org (8.12.5/8.12.5) with SMTP id g5U09K9V044020 for ; Sat, 29 Jun 2002 20:09:20 -0400 (EDT) (envelope-from getsubmail@nogood.org) From: "getsubmail" To: Subject: subscribe freebsd-stable Date: Sat, 29 Jun 2002 20:09:48 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG subscribe freebsd-stable To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 21:30:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7305937B406 for ; Sat, 29 Jun 2002 21:30:05 -0700 (PDT) Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB13843E13 for ; Sat, 29 Jun 2002 21:30:03 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 21372290 invoked by uid 0); 30 Jun 2002 04:30:02 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with SMTP for ; 30 Jun 2002 04:30:02 -0000 Received: from gits.gits.dyndns.org (uhwpol100x733smd@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g5U4U1tY002586; Sun, 30 Jun 2002 06:30:01 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g5U4U0Ec002585; Sun, 30 Jun 2002 06:30:00 +0200 (CEST) (envelope-from root) Date: Sun, 30 Jun 2002 06:29:59 +0200 From: Cyrille Lefevre To: freebsd security , freebsd stable Subject: Re: bin/22212: skeyaccess(3) doesn't for primary group Message-ID: <20020630042959.GA2559@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , freebsd security , freebsd stable Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, anyone to commit this PR ? thanks in advance. Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Jun 29 21:34:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D8137B400 for ; Sat, 29 Jun 2002 21:34:47 -0700 (PDT) Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE3AC43E13 for ; Sat, 29 Jun 2002 21:34:46 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 44157764 invoked by uid 0); 30 Jun 2002 04:34:45 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with SMTP for ; 30 Jun 2002 04:34:45 -0000 Received: from gits.gits.dyndns.org (izun5eu28j2j9r4q@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.4/8.12.4) with ESMTP id g5U4YftY002674 for ; Sun, 30 Jun 2002 06:34:45 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.4/8.12.4/Submit) id g5U4YfDq002673 for freebsd-stable@FreeBSD.org; Sun, 30 Jun 2002 06:34:41 +0200 (CEST) (envelope-from root) Date: Sun, 30 Jun 2002 06:34:41 +0200 From: Cyrille Lefevre To: freebsd stable Subject: Re: bin/27258: getty didn't check if if= isn't empty Message-ID: <20020630043440.GA2647@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , freebsd stable Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, anyone to commit this PR ? thanks in advance. Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message