From owner-freebsd-stable Sun Dec 9 7:10:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id B0E4D37B417 for ; Sun, 9 Dec 2001 07:10:06 -0800 (PST) Received: (from uucp@localhost) by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) id fB9FA5K16113 for freebsd-stable@FreeBSD.ORG; Sun, 9 Dec 2001 16:10:05 +0100 (MET) >Received: (from andreas@localhost) by klemm.gtn.com (8.11.6/8.11.3) id fB9EnDY00747 for freebsd-stable@FreeBSD.ORG; Sun, 9 Dec 2001 15:49:13 +0100 (CET) (envelope-from andreas) Date: Sun, 9 Dec 2001 15:49:12 +0100 From: Andreas Klemm To: freebsd-stable@FreeBSD.ORG Subject: on every reboot my DeskJet 970 prints a "0" and ejects paper Message-ID: <20011209144912.GA705@titan.klemm.gtn.com> References: <3C1273A2.E269C6BB@vortex.wa4phy.net> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <3C1273A2.E269C6BB@vortex.wa4phy.net> User-Agent: Mutt/1.3.23.1i X-Operating-System: FreeBSD 4.4-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" 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 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My HP DeskJet 970Cxi is connected via parallel centronix cable to my FreeBSD machine. Has this to do with driver initialization ? I have this problem since a long time I assume. Mostly printer is powered-off. But today I wanted to report it in the hope somebody has a solution/idea/fix. uname -a: =3D=3D=3D=3D=3D=3D=3D=3D=3D FreeBSD titan.klemm.gtn.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 8 17= :33:34 CET 2001 root@titan.klemm.gtn.com:/usr/src/sys/compile/TITAN i3= 86 my printcap: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL lp|raw|hpijs/DJ9xx;r=3D600x600;q=3Dhigh;c=3Dfull;p=3Da4;m=3Dauto:\ :lp=3D/dev/lpt0:\ :if=3D/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=3D/var/spool/lpd/lp:\ :lf=3D/var/spool/lpd/lp/log:\ :af=3D/var/spool/lpd/lp/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this test|Webmin Test:sh:lp=3D/dev/lpt0:mx#0:if=3D/usr/local/etc/webmin/lpadmin/= drivers/test:sd=3D/var/spool/lpd/test: BIOS: lpt port set to ECP mode. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D dmesg output: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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-STABLE #0: Sat Dec 8 17:33:34 CET 2001 root@titan.klemm.gtn.com:/usr/src/sys/compile/TITAN Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 997460541 Hz CPU: Pentium III/Pentium III Xeon/Celeron (997.46-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 Features=3D0x383f9ff real memory =3D 268419072 (262128K bytes) avail memory =3D 258359296 (252304K bytes) Preloaded elf kernel "kernel" at 0xc02c9000. VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0279442 (1000022) VESA: NVidia Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00f0eb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on = pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on = pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 4.2 irq 5 pci0: at 4.3 irq 5 ahc0: port 0xb800-0xb8ff mem 0xed800000-0= xed800fff irq 9 at device 9.0 on pci0 aic7880: Ultra Single Channel A, SCSI Id=3D7, 16/255 SCBs pci0: (vendor=3D0x1102, dev=3D0x0002) at 10.0 irq 5 pci0: (vendor=3D0x1102, dev=3D0x7002) at 10.1 fxp0: port 0xa800-0xa83f mem 0xec800000-0= xec8fffff,0xed000000-0xed000fff irq 10 at device 11.0 on pci0 fxp0: Ethernet address 00:d0:b7:ba:c1:c2 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci2: on pcib1 orm0:
In reference to the homepage, the = release date of=20 4.5 is planned on January 20.
 
What is the planned date = of 4.5-PRERELEASE (or=20 4.5-RC) (+code freeze) and when will first RC's become=20 available?
 
Thanks.
------=_NextPart_000_0007_01C1835D.496EF450-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 13:38:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id F0C3837B405 for ; Wed, 12 Dec 2001 13:38:52 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id fBCLcnj47865; Wed, 12 Dec 2001 16:38:49 -0500 (EST) (envelope-from mwlucas) Date: Wed, 12 Dec 2001 16:38:49 -0500 From: Michael Lucas To: Martin Matuska Cc: stable@FreeBSD.ORG Subject: Re: Q: planned 4.5 prerelease schedule Message-ID: <20011212163849.A47817@blackhelicopters.org> References: <000a01c18354$e81275e0$1533d089@wuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000a01c18354$e81275e0$1533d089@wuwien.ac.at>; from matuska@wu-wien.ac.at on Wed, Dec 12, 2001 at 10:35:23PM +0100 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 Code freeze in a week. First RCs available when the REs think they should be. :) On Wed, Dec 12, 2001 at 10:35:23PM +0100, Martin Matuska wrote: > In reference to the homepage, the release date of 4.5 is planned on January 20. > > What is the planned date of 4.5-PRERELEASE (or 4.5-RC) (+code freeze) and when will first RC's become available? > > Thanks. -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org My FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 13:56:10 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id DB06237B405; Wed, 12 Dec 2001 13:56:04 -0800 (PST) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id OAA08661; Wed, 12 Dec 2001 14:54:42 -0700 (MST) (envelope-from chad) Date: Wed, 12 Dec 2001 14:54:42 -0700 From: "Chad R. Larson" To: Ilya Martynov Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Control-C doesn't work with ssh Message-ID: <20011212145442.H7869@freeway.dcfinc.com> References: <87itbctqv7.fsf@juil.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <87itbctqv7.fsf@juil.domain>; from m_ilya@agava.com on Wed, Dec 12, 2001 at 06:11:56PM +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 On Wed, Dec 12, 2001 at 06:11:56PM +0300, Ilya Martynov wrote: > It doesn't work anymore on my FreeBSD server if I login on it with > ssh. For example I can't break 'tail -f /some/file' with Control-C. It > just prints "^C" but doesn't kill the process. I have to suspend it > with Control-Z and manually kill with 'kill %1'. What does an "stty -a" say your intr character is? -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.com DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14: 0:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hercules.icarz.com (ns1.icarz.com [207.99.22.7]) by hub.freebsd.org (Postfix) with ESMTP id 541DD37B416 for ; Wed, 12 Dec 2001 14:00:08 -0800 (PST) Received: from newken (dhcp113.icarz.com [207.99.22.113]) by hercules.icarz.com (8.10.1/8.10.1) with SMTP id fBCK3Bf29714; Wed, 12 Dec 2001 15:03:11 -0500 (EST) Message-ID: <021c01c18347$ac0af340$711663cf@icarz.com> From: "Ken Menzel" To: "Chynnee" , "Andrew Tulloch" Cc: References: <077a01c18332$3ffd4190$4c0116ac@ANDREWT> <025c01c18336$649e1980$0701a8c0@desktop> Subject: Re: SMP and MySQL/threads Date: Wed, 12 Dec 2001 15:00:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.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 Brad and Andrew, Maybe pthread CAN run on different CPU's, but I know that MySQL runs on only one CPU with native BSD threads and mutliple CPU's with Linux threads. I have tested this and currently have problems with running out of CPU occasionally on 1 processor and response times dropping off (single process goes to 99% in top, overall cpu usage stays below 50%, dual CPU machine, responses to other users slow or stopped (different databases in use), could be a bug in MySQL or threads having to do with waiting threads). (BTW to answer the original posters question, I also have been running Linux threads for several months with no problems). I want to run Linux threads on production machines but I am skittish about running anything where I don't fully understand how the module is built. I can get the port to build just fine, but I can't seem to build a working Linux Threaded MySQL outside of the port environment (I like to build from the tar file!). I am not sure this is a topic for -stable, maybe this would be more appropiate for ports. Unless there is a way to make MySQL use native threads better. I understood that having a single process use more than one CPU in FreeBSD threads was a feature coming in 5.0? Is this wrong? See: http://www.bsdtoday.com/2001/June/News508.html If something in MySQL needs to change I am sure they will change it to make it work better. We as the BSD community have to tell them what needs to be done. MySQL is critcal to our business, and it's important to us that it works as well as possible. I am sure other FreeBSD users are in this position as well. Besides, I don't like penguins. Ken ----- Original Message ----- From: "Chynnee" To: "Andrew Tulloch" Cc: Sent: Wednesday, December 12, 2001 12:56 PM Subject: Re: SMP and MySQL/threads > Pthread's threads CAN run on different CPUs if they are giving the right > attributes: > pthread_attr_setscope(&thread_attributes, PTHREAD_SCOPE_SYSTEM); > > then the "thread_attribute" is used when creating the thread. > > mysql seems to use this attribute. > maybe if someone is running it on a SMP box, they could tell us more. > > > (i am all about these thread questions today, but if i am wrong someone > please correct me) > > > brad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14:11:44 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vortex.wa4phy.net (cc449817-a.mrtnz1.ga.home.com [24.12.79.51]) by hub.freebsd.org (Postfix) with ESMTP id D31FC37B417 for ; Wed, 12 Dec 2001 14:11:41 -0800 (PST) Received: from vortex.wa4phy.net (localhost.wa4phy.net [127.0.0.1]) by vortex.wa4phy.net (8.11.6/8.11.6) with ESMTP id fBCMBae00572; Wed, 12 Dec 2001 17:11:37 -0500 (EST) (envelope-from sam@wa4phy.net) Message-ID: <3C17D618.8E03D13@vortex.wa4phy.net> Date: Wed, 12 Dec 2001 17:11:36 -0500 From: Sam Drinkard Organization: You Gotta Be Kiddin! X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en, ja MIME-Version: 1.0 To: Morsal Roudbay Cc: stable@freebsd.org Subject: Re: 4.4-STABLE crashes - suspects new ata-driver over wd-driver References: <200112050033.fB50X6G12476@mail.hydrologue.com> <20011210184258.GC25562@zigman.2y.net> <20011212214455.C10147@ldc.ro> <20011212150510.W61341@yip.org> <20011212131755.A1706@colnta.acns.ab.ca> <20011212202742.GB61023@zigman.2y.net> 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 FWIW, I moved from 4.3-R to 4.4-Stable a day or so ago, because I was seeing the ata0 timeout, resetting, plus experiencing random crashes under virtually no load, but always after cron ran at 0200. So far, (only one day and night) no problems anywhere. Cleanly built from cvcsup on 11 Dec. System is Athalon 880, and does have samba running on it. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14:12: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.tecdigital.net (tecdigital.tol.itesm.mx [132.254.97.16]) by hub.freebsd.org (Postfix) with ESMTP id B205237B41B for ; Wed, 12 Dec 2001 14:11:44 -0800 (PST) Received: from midgar (unknown [148.243.246.212]) by mail.tecdigital.net (Postfix) with ESMTP id 89D2A1D20 for ; Wed, 12 Dec 2001 16:11:36 -0600 (CST) Message-ID: <004901c18359$d8e9e620$0a00a8c0@midgar> From: "Mario Doria" To: Subject: Re: 4.4-STABLE crashes - suspects new ata-driver over wd-driver Date: Wed, 12 Dec 2001 16:10:30 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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, Dec 12, 2001 at 03:05:10PM -0500, Bob K wrote: > On Wed, Dec 12, 2001 at 09:44:56PM +0200, Alex Popa wrote: > > > disk I/O and heavy network I/O (my initial crashes occured when someone > > was making a large backup over SMB to the server, at about 9M/s disk > > I can't really offer any sort of useful help on any part of this > problem, except for this: > > Quick poll: How many of you with this problem are running samba? I dont have exactly the same problem but I am running samba. Stable cvsuped today (12/12/01) crashes on an SMP machine. Thing is, it's disks are SCSI. Here's my dmesg output: FreeBSD 4.4-STABLE #0: Sat Dec 8 01:39:28 CST 2001 madd@tecdigital.net:/usr/obj/usr/src/sys/TEC-DIGITAL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (728.44-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 805298176 (786424K bytes) config> q avail memory = 779206656 (760944K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Changing APIC ID for IO APIC #1 from 0 to 3 on chip Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0337000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc033709c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fc320 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #1 intpin 0 -> irq 2 pci0: on pcib0 pcib1: at device 2.0 on pci0 IOAPIC #1 intpin 15 -> irq 5 IOAPIC #1 intpin 14 -> irq 10 pci1: on pcib1 ahc0: port 0xfc00-0xfcff mem 0xfcfff000-0xfcffffff irq 5 at device 4.0 on pci1 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xf800-0xf8ff mem 0xfcffe000-0xf ffff,0xfe101000-0xfe101fff irq 2 at device 8.0 on pci0 fxp0: Ethernet address 00:b0:d0:aa:82:cf inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 14.0 isab0: at device 15.0 on pci0 isa0: on isab0 pcib2: on motherboard IOAPIC #1 intpin 12 -> irq 11 IOAPIC #1 intpin 10 -> irq 12 pci2: on pcib2 APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 IP Filter: v3.4.20 initialized. Default = pass all, Logging = enabled Waiting 10 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! pass4 at ahc0 bus 0 target 6 lun 0 pass4: Fixed Processor SCSI-2 device pass4: 3.300MB/s transfers da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 35020MB (71722776 512 byte sectors: 255H 63S/T 4464C) da3 at ahc0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled da3: 35020MB (71722776 512 byte sectors: 255H 63S/T 4464C) Mounting root from ufs:/dev/da0s2a cd0 at ahc1 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present >I have one dual box that has been crashing with -stable that is running >samba. Given my limited time these days I haven't even tried to figure >out what is going on, I just disabled SMP and it stopped crashing. Given >I do not really need the CPU on the box that has been "good enough for now". >With the luck I've had with -stable over the last few weeks my -stable >machines are going to be -current soon as it appears to a lot more stable >than -stable. I haven't had a -current machine panic (that I didn't cause) >in months, while the three -stable servers here are like yo-yo's. >- -- >Chad David davidc@acns.ab.ca >ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14:43:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vortex.wa4phy.net (cc449817-a.mrtnz1.ga.home.com [24.12.79.51]) by hub.freebsd.org (Postfix) with ESMTP id D59B937B41D for ; Wed, 12 Dec 2001 14:43:15 -0800 (PST) Received: from vortex.wa4phy.net (localhost.wa4phy.net [127.0.0.1]) by vortex.wa4phy.net (8.11.6/8.11.6) with ESMTP id fBCMhEe02003 for ; Wed, 12 Dec 2001 17:43:14 -0500 (EST) (envelope-from sam@wa4phy.net) Message-ID: <3C17DD82.73F632A9@vortex.wa4phy.net> Date: Wed, 12 Dec 2001 17:43:14 -0500 From: Sam Drinkard Organization: You Gotta Be Kiddin! X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en, ja MIME-Version: 1.0 To: stable@freebsd.org Subject: file broken 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 Just discovered the utility /usr/share/misc/file is either broken or has changed behavior. Now, in order to determine what a file is, I must append the -i switch. Did I miss or mess something up in the upgrade from 4.3-R to 4.4-Stable? Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14:52:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from queequeg.dev.wc.teleias.com (ip-216-73-143-80.vantas.net [216.73.143.80]) by hub.freebsd.org (Postfix) with ESMTP id EFE8137B405 for ; Wed, 12 Dec 2001 14:52:45 -0800 (PST) Received: from tenebras.com (localhost [127.0.0.1]) by queequeg.dev.wc.teleias.com (8.11.6/8.11.6) with ESMTP id fBCMtCu24091; Wed, 12 Dec 2001 14:55:14 -0800 (PST) (envelope-from kudzu@tenebras.com) Message-ID: <3C17E050.4C084B60@tenebras.com> Date: Wed, 12 Dec 2001 14:55:12 -0800 From: Michael Sierchio X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Sam Drinkard Cc: stable@FreeBSD.ORG Subject: Re: file broken References: <3C17DD82.73F632A9@vortex.wa4phy.net> 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 Sam Drinkard wrote: > > Just discovered the utility /usr/share/misc/file is either broken or has > changed behavior. Now, in order to determine what a file is, I must > append the -i switch. Did I miss or mess something up in the upgrade > from 4.3-R to 4.4-Stable? There's no such utility in the distribution AFAIK. Do you mean /usr/bin/file? 'man file?' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14:53: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id D508337B419 for ; Wed, 12 Dec 2001 14:52:59 -0800 (PST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id fBCMqtW77287; Wed, 12 Dec 2001 23:52:55 +0100 (CET) (envelope-from wkb) Date: Wed, 12 Dec 2001 23:52:55 +0100 From: Wilko Bulte To: Sam Drinkard Cc: stable@FreeBSD.ORG Subject: Re: file broken Message-ID: <20011212235255.A77228@freebie.xs4all.nl> References: <3C17DD82.73F632A9@vortex.wa4phy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C17DD82.73F632A9@vortex.wa4phy.net>; from sam@wa4phy.net on Wed, Dec 12, 2001 at 05:43:14PM -0500 X-OS: FreeBSD 4.4-STABLE 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 Wed, Dec 12, 2001 at 05:43:14PM -0500, Sam Drinkard wrote: wb ~: file /bin/sh /bin/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped wb ~: uname -a FreeBSD freebie.xs4all.nl 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Dec 2 00:40:05 CET 2001 wkb@freebie.xs4all.nl:/usr/src/sys/compile/FREEBIE i386 wb ~: And: wb ~: type file file is hashed (/usr/bin/file) So: ?? > Just discovered the utility /usr/share/misc/file is either broken or has > changed behavior. Now, in order to determine what a file is, I must > append the -i switch. Did I miss or mess something up in the upgrade > from 4.3-R to 4.4-Stable? > > Sam > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message ---end of quoted text--- -- | / o / /_ _ email: 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 Wed Dec 12 14:54: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id 15E0337B417 for ; Wed, 12 Dec 2001 14:53:59 -0800 (PST) Received: (qmail 48531 invoked by uid 100); 12 Dec 2001 22:53:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15383.57343.69989.600718@guru.mired.org> Date: Wed, 12 Dec 2001 16:53:51 -0600 To: Sam Drinkard Cc: stable@freebsd.org Subject: Re: file broken In-Reply-To: <3C17DD82.73F632A9@vortex.wa4phy.net> References: <3C17DD82.73F632A9@vortex.wa4phy.net> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA v0.42/Python 2.1.1 (freebsd4) From: "Mike Meyer" 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 Sam Drinkard types: > Just discovered the utility /usr/share/misc/file is either broken or has > changed behavior. Now, in order to determine what a file is, I must > append the -i switch. Did I miss or mess something up in the upgrade > from 4.3-R to 4.4-Stable? File changed so that it now has precompiled "magic" files. They should have been installed when you installed the world. Try doing "make install" in /usr/src/usr.bin/file, and see if that doesn't happen now. If not, you'll need to build and install them yourself. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 14:54:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 2070737B417 for ; Wed, 12 Dec 2001 14:54:28 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011212225427.KFHQ5010.rwcrmhc51.attbi.com@bmah.dyndns.org>; Wed, 12 Dec 2001 22:54:27 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id fBCMsQP21381; Wed, 12 Dec 2001 14:54:26 -0800 (PST) (envelope-from bmah) Message-Id: <200112122254.fBCMsQP21381@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Sam Drinkard Cc: stable@FreeBSD.ORG Subject: Re: file broken In-Reply-To: <3C17DD82.73F632A9@vortex.wa4phy.net> References: <3C17DD82.73F632A9@vortex.wa4phy.net> Comments: In-reply-to Sam Drinkard message dated "Wed, 12 Dec 2001 17:43:14 -0500." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_760074144P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 12 Dec 2001 14:54:26 -0800 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 --==_Exmh_760074144P Content-Type: text/plain; charset=us-ascii If memory serves me right, Sam Drinkard wrote: > Just discovered the utility /usr/share/misc/file is either broken or has > changed behavior. Now, in order to determine what a file is, I must > append the -i switch. Did I miss or mess something up in the upgrade > from 4.3-R to 4.4-Stable? Errr...what utility are you running? file(1) seems to work OK for me...it's been through at least one update since 4.3-RELEASE, IIRC. nimitz:bmah% file .emacs .emacs: Lisp/Scheme program text nimitz:bmah% which file /usr/bin/file nimitz:bmah% ls /usr/share/misc/file ls: /usr/share/misc/file: No such file or directory nimitz:bmah% uname -a FreeBSD nimitz.packetdesign.com 4.4-STABLE FreeBSD 4.4-STABLE #15: Mon Dec 3 16:27:53 PST 2001 root@nimitz.packetdesign.com:/usr/obj/usr/src/sys/NIMITZ i386 Bruce. --==_Exmh_760074144P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Exmh version 2.3.1+ 05/14/2001 iD8DBQE8F+Ai2MoxcVugUsMRAu6SAKDPgVLFxb8YdLi+b8UsHmZ4Rlu3AACcC8Zc wp0Z9QjLGjAIKjuCd+lQdhg= =PVGL -----END PGP SIGNATURE----- --==_Exmh_760074144P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 15:39:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vortex.wa4phy.net (cc449817-a.mrtnz1.ga.home.com [24.12.79.51]) by hub.freebsd.org (Postfix) with ESMTP id B3A8337B417 for ; Wed, 12 Dec 2001 15:39:24 -0800 (PST) Received: from vortex.wa4phy.net (localhost.wa4phy.net [127.0.0.1]) by vortex.wa4phy.net (8.11.6/8.11.6) with ESMTP id fBCNdHe02328; Wed, 12 Dec 2001 18:39:18 -0500 (EST) (envelope-from sam@wa4phy.net) Message-ID: <3C17EAA5.BB7956A5@vortex.wa4phy.net> Date: Wed, 12 Dec 2001 18:39:17 -0500 From: Sam Drinkard Organization: You Gotta Be Kiddin! X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en, ja MIME-Version: 1.0 To: Mike Meyer Cc: stable@FreeBSD.ORG Subject: Re: file broken References: <3C17DD82.73F632A9@vortex.wa4phy.net> <15383.57343.69989.600718@guru.mired.org> 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 Mike, the file was apparently installed during the build and install, but is not working correctly. Tried to recompile from ~/usr.bin and it did, but still get same behavior. I can't redirect the output to another file to demonstrate either, which is odd. file -v yields file-3.33, magic file from /usr/share/misc/magic. If magic is now precompiled in file, it is apparently still reading the /usr/share/misc/magic file. Will do some more investigation and report.. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 15:49:13 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pc1-cove4-0-cust214.bir.cable.ntl.com (pc1-cove4-0-cust214.bir.cable.ntl.com [213.105.93.214]) by hub.freebsd.org (Postfix) with ESMTP id BC33B37B417 for ; Wed, 12 Dec 2001 15:49:08 -0800 (PST) Received: from ntlworld.com (alpha.private [192.168.0.2]) (authenticated) by pc1-cove4-0-cust214.bir.cable.ntl.com (8.11.6/8.11.6) with ESMTP id fBCNmuW01000 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Wed, 12 Dec 2001 23:48:57 GMT (envelope-from ianjhart@ntlworld.com) Message-ID: <3C17ECE8.6C974F97@ntlworld.com> Date: Wed, 12 Dec 2001 23:48:56 +0000 From: ian j hart X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bob K , "stable@FreeBSD.ORG" Subject: Re: 4.4-STABLE crashes - suspects new ata-driver over wd-driver References: <200112050033.fB50X6G12476@mail.hydrologue.com> <20011210184258.GC25562@zigman.2y.net> <20011212214455.C10147@ldc.ro> <20011212150510.W61341@yip.org> 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 Bob K wrote: > > On Wed, Dec 12, 2001 at 09:44:56PM +0200, Alex Popa wrote: > > > disk I/O and heavy network I/O (my initial crashes occured when someone > > was making a large backup over SMB to the server, at about 9M/s disk > > I can't really offer any sort of useful help on any part of this > problem, except for this: > > Quick poll: How many of you with this problem are running samba? I am. But there's absolutely no load. This is my workstation at home. The only other box is the firewall - FreeBSD of course. I tend to have copies of everything I need at work. For the docs and trial runs. I notice that my network card shares an irq with my SB128. How did that happen? I'll fix this. I've had no crashes last 24 hours, but I thought I'd fixed it once before. > > -- > Bob | Please don't spill hot things on Bob. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- ian j hart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 15:59:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vortex.wa4phy.net (cc449817-a.mrtnz1.ga.home.com [24.12.79.51]) by hub.freebsd.org (Postfix) with ESMTP id 5E5FB37B417 for ; Wed, 12 Dec 2001 15:59:26 -0800 (PST) Received: from vortex.wa4phy.net (localhost.wa4phy.net [127.0.0.1]) by vortex.wa4phy.net (8.11.6/8.11.6) with ESMTP id fBCNxLe02518; Wed, 12 Dec 2001 18:59:22 -0500 (EST) (envelope-from sam@wa4phy.net) Message-ID: <3C17EF59.8CBB230B@vortex.wa4phy.net> Date: Wed, 12 Dec 2001 18:59:21 -0500 From: Sam Drinkard Organization: You Gotta Be Kiddin! X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en, ja MIME-Version: 1.0 To: Wilko Bulte Cc: stable@FreeBSD.ORG Subject: Re: file broken References: <3C17DD82.73F632A9@vortex.wa4phy.net> <20011212235255.A77228@freebie.xs4all.nl> 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 Found it.. sort of... $ type file file is a tracked alias for /bin/file $ which file /bin/file $ uname -a FreeBSD vortex.wa4phy.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Dec 11 10:03:43 EST 2001 root@vortex.wa4phy.net:/usr/src/sys/compile/VORTEX i386 $ Now, why didn't it get put where its supposed to be? Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 16: 2:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from spidey.speakeasy.net (webmail.speakeasy.net [216.254.0.16]) by hub.freebsd.org (Postfix) with ESMTP id 583B537B420 for ; Wed, 12 Dec 2001 16:02:45 -0800 (PST) Received: (from nobody@localhost) by spidey.speakeasy.net (8.11.6/8.11.2) id fBCNpFq30812; Wed, 12 Dec 2001 15:51:15 -0800 Message-Id: <200112122351.fBCNpFq30812@spidey.speakeasy.net> Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Wed, 12 Dec 2001 15:51:15 -0800 From: qingli@speakeasy.net To: freebsd-stable@freebsd.org Subject: route add - ?? X-Sender: qingli@speakeasy.net X-Originating-Ip: [147.11.38.43] X-Mailer: Speakeasy Network Webmail 2.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 netstat -r ============ Destination Gateway Flags Refs Use Netif Expire default gateway-38 UGSc 59 0 ep0 localhost localhost UH 1 713 lo0 147.11.38/24 link#6 UC 1 0 ep0 gateway-38 0:0:c:7:ac:26 UHLW 58 0 ep0 575 Now I do ======== route add -net 192.103.54.0 64.81.55.1 an entry of ============ 192.103.54 dsl081-055-001.sfo UGSc 0 2 ep0 is inserted. Why was I allowed to add such a route. The gateway 64.81.55.1 is not even reachable. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 16:12:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from biliskner.great4.co.uk (biliskner.great4.co.uk [213.86.13.125]) by hub.freebsd.org (Postfix) with ESMTP id 1906037B41F for ; Wed, 12 Dec 2001 16:11:57 -0800 (PST) Received: from excalibur (unknown [172.22.1.77]) by biliskner.great4.co.uk (Postfix) with ESMTP id 4BF525409; Thu, 13 Dec 2001 00:12:48 +0000 (GMT) Message-ID: <002401c1836a$6c452f50$0100a8c0@excalibur> From: "Andrew Tulloch" To: "Ken Menzel" Cc: References: <077a01c18332$3ffd4190$4c0116ac@ANDREWT> <025c01c18336$649e1980$0701a8c0@desktop> <021c01c18347$ac0af340$711663cf@icarz.com> Subject: Re: SMP and MySQL/threads Date: Thu, 13 Dec 2001 00:09:22 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 My understanding is that the pthread is totally userland and implements the threads all inside one process. The kernel has no idea about scheduling threads and sees each pthread using process as a single process, which it therefore can only schedule to be on one CPU at anyone time. linuxthreads creates n threads by having n+1 processes where n>1, the extra process handles communication between threads. This has the advantage that seperate threads can be scheduled by the kernel on seperate CPUs at the same time because they are seperate processes and thefore something it knows about. The disadvantage being that you end up with a big pile of processes that end up drowning other processes as they take up more CPU time that a single threaded process would as the scheduler thinks each process deserves their slice of CPU. This isn't really an issue for me as I have two machines that are almost entirely dedicated to MySQL (they also run apache to provide a web interface content management system, but the load from that is minimal). I was mostly looking for confirmation that MySQL+linuxthreads was the way to go as the warning message in the port put me off a bit, I've been running MySQL with linuxthreads on Linux for some time, just never used linuxthreads on FreeBSD. Thanks Andrew ----- Original Message ----- From: "Ken Menzel" To: "Chynnee" ; "Andrew Tulloch" Cc: Sent: Wednesday, December 12, 2001 8:00 PM Subject: Re: SMP and MySQL/threads > Hi Brad and Andrew, > Maybe pthread CAN run on different CPU's, but I know that MySQL > runs on only one CPU with native BSD threads and mutliple CPU's with > Linux threads. I have tested this and currently have problems with > running out of CPU occasionally on 1 processor and response times > dropping off (single process goes to 99% in top, overall cpu usage > stays below 50%, dual CPU machine, responses to other users slow or > stopped (different databases in use), could be a bug in MySQL or > threads having to do with waiting threads). (BTW to answer the > original posters question, I also have been running Linux threads for > several months with no problems). I want to run Linux threads on > production machines but I am skittish about running anything where I > don't fully understand how the module is built. I can get the port to > build just fine, but I can't seem to build a working Linux Threaded > MySQL outside of the port environment (I like to build from the tar > file!). I am not sure this is a topic for -stable, maybe this would > be more appropiate for ports. Unless there is a way to make MySQL use > native threads better. > > I understood that having a single process use more than one CPU in > FreeBSD threads was a feature coming in 5.0? Is this wrong? See: > http://www.bsdtoday.com/2001/June/News508.html > > > If something in MySQL needs to change I am sure they will change it to > make it work better. We as the BSD community have to tell them what > needs to be done. MySQL is critcal to our business, and it's > important to us that it works as well as possible. I am sure other > FreeBSD users are in this position as well. Besides, I don't like > penguins. > > Ken > > > > > ----- Original Message ----- > From: "Chynnee" > To: "Andrew Tulloch" > Cc: > Sent: Wednesday, December 12, 2001 12:56 PM > Subject: Re: SMP and MySQL/threads > > > > Pthread's threads CAN run on different CPUs if they are giving the > right > > attributes: > > pthread_attr_setscope(&thread_attributes, PTHREAD_SCOPE_SYSTEM); > > > > then the "thread_attribute" is used when creating the thread. > > > > mysql seems to use this attribute. > > maybe if someone is running it on a SMP box, they could tell us > more. > > > > > > (i am all about these thread questions today, but if i am wrong > someone > > please correct me) > > > > > > brad > > > > 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 Dec 12 16:22:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mighty.grot.org (mighty.grot.org [216.15.97.5]) by hub.freebsd.org (Postfix) with ESMTP id E5AB237B417 for ; Wed, 12 Dec 2001 16:22:46 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mighty.grot.org (Postfix) with ESMTP id 55E155E4E; Wed, 12 Dec 2001 16:22:46 -0800 (PST) Date: Wed, 12 Dec 2001 16:22:45 -0800 (PST) Message-Id: <20011212.162245.19854830.aditya@mighty.grot.org> To: qingli@speakeasy.net Cc: freebsd-stable@freebsd.org Subject: Re: route add - ?? From: "R.P. Aditya" In-Reply-To: <200112122351.fBCNpFq30812@spidey.speakeasy.net> References: <200112122351.fBCNpFq30812@spidey.speakeasy.net> X-PGP-Key: http://www.grot.org/pubkey.asc X-PGP-Key-ID: 0x6405D8D5 X-Mailer: Mew version 3.0.50 on XEmacs 21.1.14 (Cuyahoga Valley) 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 On Wed, 12 Dec 2001 15:51:15 -0800, qingli@speakeasy.net wrote: > > netstat -r > ============ > Destination Gateway Flags Refs Use Netif Expire > default gateway-38 UGSc 59 0 ep0 > localhost localhost UH 1 713 lo0 > 147.11.38/24 link#6 UC 1 0 ep0 > gateway-38 0:0:c:7:ac:26 UHLW 58 0 ep0 575 > > Now I do > ======== > route add -net 192.103.54.0 64.81.55.1 > > an entry of > ============ > 192.103.54 dsl081-055-001.sfo UGSc 0 2 ep0 > > is inserted. > > Why was I allowed to add such a route. The gateway > 64.81.55.1 is not even reachable. what does "arp -a" say? Adi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 16:26:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from CRWdog.demon.co.uk (client-170-057.neoforma.com [12.44.170.57]) by hub.freebsd.org (Postfix) with ESMTP id 33D0A37B420 for ; Wed, 12 Dec 2001 16:26:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id DB4063E42; Wed, 12 Dec 2001 16:26:17 -0800 (PST) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Sam Drinkard Cc: stable@FreeBSD.ORG Subject: Re: file broken In-Reply-To: Message from Sam Drinkard of "Wed, 12 Dec 2001 18:59:21 EST." <3C17EF59.8CBB230B@vortex.wa4phy.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1349196581P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 12 Dec 2001 16:26:17 -0800 From: Andy Sparrow Message-Id: <20011213002617.DB4063E42@CRWdog.demon.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 --==_Exmh_1349196581P Content-Type: text/plain; charset=us-ascii > Found it.. sort of... > > > $ type file > file is a tracked alias for /bin/file > $ which file > /bin/file > $ uname -a > FreeBSD vortex.wa4phy.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Dec 11 > 10:03:43 > EST 2001 root@vortex.wa4phy.net:/usr/src/sys/compile/VORTEX i386 > $ > > Now, why didn't it get put where its supposed to be? I would suspect that it's an older version - a 4.4-STABLE from Dec 4th shows: % file -v file-3.36 magic file from /usr/share/misc/magic I note that yours was v3.33. Cheers, AS --==_Exmh_1349196581P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE8F/WpPHh895bDXeQRAqfhAJ40m9VqgVs0G427XK18poX+YfmpqwCgrrjF 7mnVuHk4AEq9ktDYM1I7axA= =9r25 -----END PGP SIGNATURE----- --==_Exmh_1349196581P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 16:43:15 2001 Delivered-To: freebsd-stable@freebsd.org Received: from spidey.speakeasy.net (webmail.speakeasy.net [216.254.0.16]) by hub.freebsd.org (Postfix) with ESMTP id C7FBE37B405 for ; Wed, 12 Dec 2001 16:43:11 -0800 (PST) Received: (from nobody@localhost) by spidey.speakeasy.net (8.11.6/8.11.2) id fBD0VaO01263; Wed, 12 Dec 2001 16:31:36 -0800 Message-Id: <200112130031.fBD0VaO01263@spidey.speakeasy.net> Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Wed, 12 Dec 2001 16:31:36 -0800 From: Qing To: freebsd-stable@freebsd.org Subject: Re: route add - ?? X-Sender: qingli@speakeasy.net X-Originating-Ip: [147.11.38.43] X-Mailer: Speakeasy Network Webmail 2.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 > > what does "arp -a" say > arp -a ======= gateway-38.wrs.com (147.11.38.1) at 0:0:c:7:ac:26 on ep0 [ethernet] if I try pinging any host on the 192.103.54.0 net I can see the "Use" counter is incremented. So it looks like that route is being looked at as a valid entry. "arp -a" gives the same output after issuing the "ping" command To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 16:51:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 2E58E37B419 for ; Wed, 12 Dec 2001 16:51:11 -0800 (PST) Received: from viasoft.com.cn (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id IAA03313; Thu, 13 Dec 2001 08:58:42 +0800 Message-ID: <3C17FA33.3070906@viasoft.com.cn> Date: Thu, 13 Dec 2001 08:45:39 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Andrew Tulloch Cc: freebsd-stable@FreeBSD.ORG Subject: Re: SMP and MySQL/threads References: <077a01c18332$3ffd4190$4c0116ac@ANDREWT> 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 If you need performance, keep it with Linux until FreeBSD 5.0 is ready. current pthread implement in FreeBSD 4 is user level thread, and all disk access will be serialized and whole threads can only run in one processor. -- David Xu Andrew Tulloch wrote: >I currently have two SMP PIII-800 machines with 1gig of ram running Redhat >that I've inherited the administration of, their main task is currently to >run MySQL. I've been wanting to move them over to FreeBSD to reduce >administrative overhead, however my current understanding is that threads >are implemented using the pthread library inside a single process that means >two threads cannot run on seperate CPUs at the same time, which is obviously >something I'd want on a machine most running MySQL. I'm farily certain I'd >have quite a lot of wasted CPU time with MySQL running on just one >processor. I've looked at the makefile of the port and that has the option >to compile the port with linuxthreads, however it warns it should not be >used for production and that I should expect problems. Has anyone tried this >or has any other recommendations? > >Cheers >Andrew > > >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 Dec 12 17:52:10 2001 Delivered-To: freebsd-stable@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 8078D37B405; Wed, 12 Dec 2001 17:52:03 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA17107; Wed, 12 Dec 2001 20:51:58 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id fBD1pXY27829; Wed, 12 Dec 2001 20:51:33 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15384.2468.856614.252768@grasshopper.cs.duke.edu> Date: Wed, 12 Dec 2001 20:51:32 -0500 (EST) To: stable@freebsd.org Cc: obrien@freebsd.org Subject: Re: file broken In-Reply-To: <20011212235255.A77228@freebie.xs4all.nl> References: <3C17DD82.73F632A9@vortex.wa4phy.net> <20011212235255.A77228@freebie.xs4all.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Hmm. File actually *has* been broken recently: % file /usr/local/lib/netscape/communicator-4.77.bin /usr/local/lib/netscape/communicator-4.77.bin: DBase 3 data file with memo(s) (985657568 records) The 4.3 "magic" file yields proper results: file -m /tmp/magic.43 /usr/local/lib/netscape/communicator-4.77.bin file: Using regular magic file `/tmp/magic.43' /usr/local/lib/netscape/communicator-4.77.bin: COFF format alpha executable paged dynamically linked stripped - version 3.11-10 Running magic -k makes it apparent that the osf/1 coff entry is being obscured by the dbase entry & several ecoff entries for OSes whose ecoff binaries we do not emulate, and then another dbase entry. Since we actually execute osf/1 ecoff files, I'd really like file to tell users what the are. The easiest fix is to prepend the alpha file (patch appended). Is there a more clever way that I'm not thinking of? Drew Index: Makefile =================================================================== RCS file: /home/ncvs/src/usr.bin/file/Makefile,v retrieving revision 1.13.2.6 diff -u -r1.13.2.6 Makefile --- Makefile 2001/08/17 22:47:13 1.13.2.6 +++ Makefile 2001/12/13 01:43:24 @@ -36,7 +36,8 @@ CLEANFILES+= magic magic.mgc magic.mime.mgc magic.mime.PITA -MAGFILES= ${SRCDIR}/Header\ +MAGFILES= ${SRCDIR}/Magdir/alpha\ + ${SRCDIR}/Header\ ${SRCDIR}/Localstuff\ ${SRCDIR}/Magdir/[a-z]* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 19:41:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.uniserve.com (mail2.uniserve.com [204.244.156.10]) by hub.freebsd.org (Postfix) with ESMTP id 715DB37B416 for ; Wed, 12 Dec 2001 19:41:13 -0800 (PST) Received: from mail2.uniserve.com ([204.244.156.10]) by mail2.uniserve.com with esmtp (Exim 3.13 #1) id 16EMk5-00078W-00; Wed, 12 Dec 2001 19:41:05 -0800 Date: Wed, 12 Dec 2001 19:41:05 -0800 (PST) From: Tom X-Sender: tom@athena.uniserve.ca To: David Xu Cc: Andrew Tulloch , freebsd-stable@FreeBSD.ORG Subject: Re: SMP and MySQL/threads In-Reply-To: <3C17FA33.3070906@viasoft.com.cn> 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 Thu, 13 Dec 2001, David Xu wrote: > If you need performance, keep it with Linux until FreeBSD 5.0 is ready. > current pthread implement in FreeBSD 4 is user level thread, and all > disk access will > be serialized and whole threads can only run in one processor. Disk access will be serialized? pthreads is all userland, which is true, but all userland programs can issue non-blocking IO requests. pthreads does (must) use nonblocking IO. No one seems to have mentioned any MySQL thread issues. For instance, most MySQL table types serialize all INSERT and UPDATEs. Only one thread can be writing at a time. A new table type fixes this problem, but currently lacks online backup! Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Wed Dec 12 20:19:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 0159537B41B for ; Wed, 12 Dec 2001 20:19:42 -0800 (PST) Received: from viasoft.com.cn (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id MAA03945; Thu, 13 Dec 2001 12:27:07 +0800 Message-ID: <3C182B0E.7030809@viasoft.com.cn> Date: Thu, 13 Dec 2001 12:14:06 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Tom Cc: Andrew Tulloch , freebsd-stable@FreeBSD.ORG Subject: Re: SMP and MySQL/threads References: 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 Tom wrote: >On Thu, 13 Dec 2001, David Xu wrote: > >>If you need performance, keep it with Linux until FreeBSD 5.0 is ready. >>current pthread implement in FreeBSD 4 is user level thread, and all >>disk access will >>be serialized and whole threads can only run in one processor. >> > > Disk access will be serialized? pthreads is all userland, which is >true, but all userland programs can issue non-blocking IO requests. >pthreads does (must) use nonblocking IO. > truely? you can not make disk I/O nonblocking. there is no effect to make disk file handle nonblocking, you are always blocked when doing disk I/O. > > No one seems to have mentioned any MySQL thread issues. For instance, >most MySQL table types serialize all INSERT and UPDATEs. Only one thread >can be writing at a time. A new table type fixes this problem, but >currently lacks online backup! > >Tom > disk access will be serialized even if mysql server is accessing different tables(yet different files). -- David Xu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 1:31:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 0854437B42B for ; Thu, 13 Dec 2001 01:31:47 -0800 (PST) Received: by mao.stokely.org (Postfix, from userid 2074) id 94A334B65D; Thu, 13 Dec 2001 01:31:46 -0800 (PST) Date: Thu, 13 Dec 2001 01:31:46 -0800 From: Murray Stokely To: Martin Matuska Cc: stable@freebsd.org Subject: Re: Q: planned 4.5 prerelease schedule Message-ID: <20011213013146.U8525@windriver.com> References: <000a01c18354$e81275e0$1533d089@wuwien.ac.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DheUW4aQn8WJk6WR" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000a01c18354$e81275e0$1533d089@wuwien.ac.at>; from matuska@wu-wien.ac.at on Wed, Dec 12, 2001 at 10:35:23PM +0100 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D 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 --DheUW4aQn8WJk6WR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 12, 2001 at 10:35:23PM +0100, Martin Matuska wrote: > In reference to the homepage, the release date of 4.5 is planned on January 20. Yes, that is the goal. > What is the planned date of 4.5-PRERELEASE (or 4.5-RC) (+code freeze) and when will first RC's become available? 4.5-PRERELEASE and the code freeze will start on December 20th. The first release candidate is currently scheduled for January 5th. The release date and quantity of subsequent RCs depend on the user experience with RC1. - Murray --DheUW4aQn8WJk6WR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE8GHWBtNcQog5FH30RAnjmAJ46S6l+aDLgU3fgsxOlMyANe2PbggCgsfoW b0fHXchrSzU89pOxCwIMOk8= =ZteN -----END PGP SIGNATURE----- --DheUW4aQn8WJk6WR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 2:13: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.codfish.no (mail.codfish.no [212.62.237.101]) by hub.freebsd.org (Postfix) with ESMTP id ACEFC37B50B for ; Thu, 13 Dec 2001 02:12:46 -0800 (PST) Received: from mta.excite.com (1Cust46.tnt2.dfw9.da.uu.net [63.62.208.46]) by mail.codfish.no with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id YLZC4SH3; Thu, 13 Dec 2001 10:44:23 +0100 Message-ID: <000062b76c9c$00006f0d$00003d78@mta.excite.com> To: From: 888salescom@excite.com Subject: Marketing is the LifeBlood of Your Business! HZOU Date: Thu, 13 Dec 2001 03:56:16 -1800 MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Reply-To: 888Salescom8@excite.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 American Mailing



All transactions secured through


THIS COULD BE YOUR
FIRM’S MESSAGE…

REACHING THE MARKET SEGMENT
YOU NEED TO IMPACT!
L= et us show you how we can develop, produce,
TARGET and DELIVER your firm’s interest specific me= ssage.
  • You need your time-sensitive announcement delivered…= ;NOW!
  • You need QUALIFIED leads for your business…NOW!
  • You need to drive traffic to your web site…NOW!
  Let us show you how we can expand your client base:
  • H= TML, FLASH, Streaming Content, Multimedia Attachments
  • D= ynamic E-Marketing Solutions
  • N= ational and International
  • D= emographic Specific
  • I= nterest Specific
 

Have one of our professionals contact you right away for your E= -Marketing Solution.
Please click here and complete our inquiry form.

"Just take a look at some of our customers"<= /font>

Hewlett Packard, GTE, McDonalds, Subway, United Way,
American Red Cross,City of Anaheim, Vital Scan, Westec=

 

If you think, that you will not benefit from this correspondenc= e, please c= lick here
 
To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 3: 2:42 2001 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 7CC2E37B41A for ; Thu, 13 Dec 2001 03:02:36 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBDB2WQ66827; Thu, 13 Dec 2001 03:02:32 -0800 (PST) (envelope-from dillon) Date: Thu, 13 Dec 2001 03:02:32 -0800 (PST) From: Matthew Dillon Message-Id: <200112131102.fBDB2WQ66827@apollo.backplane.com> To: Thomas Zenker Cc: stable@freebsd.org, jlemon@flugsvamp.com Subject: Re: TCP stack still hosed? References: <20011213105451.A738@mezcal.tue.le> 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 Check your kernel sources and make sure you have at least these versions: Revision Changes Path 1.107.2.19 +8 -3 src/sys/netinet/tcp_input.c 1.39.2.12 +40 -14 src/sys/netinet/tcp_output.c 1.56.2.9 +2 -1 src/sys/netinet/tcp_var.h If you don't, maybe your update or build/install mechanism isn't working as expected. If you do, we need tcpdumps of the test connection. Also, I recommend testing between two hosts with normal ethernet cards in them (i.e. not USB) as a double-check. -Matt Matthew Dillon :Hi, : :after making new kernels I have noticed a dramatical performance drop :in the tcp stack. : :The last normally working kernel I have is from 20th november. :The sources are up to date, our archives are updated nightly. : :I am using a scripted sysinstall for doing installations/updates :on our embedded equipment. Testing the installation on a normal PC :I can see the numbers on the speedometer :-) : :"host-242" is installed, the release is fetched from "mezcal". :Both are connected to a switch 10/100TX, mezcal has a fxp running :with 100baseTX, host-242 has a NetGear USB/ethernet adapter (10TX). : :Here are the numbers: : :1. server new, client new: 10-15 Kb/s :mezcal: FreeBSD 4.4-STABLE #23: Thu Dec 13 08:48:40 CET 2001 :host-242: FreeBSD 4.4-STABLE #0: Wed Dec 12 13:37:50 GMT 2001 : :2. server old, client new: 140-160 Kb/s :mezcal: FreeBSD 4.4-STABLE #21: Tue Nov 20 14:17:19 CET 2001 :host-242: FreeBSD 4.4-STABLE #0: Wed Dec 12 13:37:50 GMT 2001 : :3. server old, client old: 225-245 Kb/s :mezcal: FreeBSD 4.4-STABLE #21: Tue Nov 20 14:17:19 CET 2001 :host-242: FreeBSD 4.3-STABLE #0: Tue Jul 17 10:58:55 GMT 2001 : :I have tcpdumps for all three cases. Strange are sometimes lots :of duplicate acks. : :Who is interrested in the tcpdumps? : :Also I have tried to switch off newreno and delayed_ack, but with :no visible effect. : :Thomas : :-- Thomas Zenker : c/o Lennartz electronic GmbH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 3:29:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.ciam.ru (main.ciam.ru [212.28.70.126]) by hub.freebsd.org (Postfix) with ESMTP id 9177637B405 for ; Thu, 13 Dec 2001 03:29:08 -0800 (PST) Received: from exim by mail.ciam.ru with drweb-scanned (Exim 3.33 #1) id 16EU2l-0006zV-00; Thu, 13 Dec 2001 14:28:51 +0300 Received: from sem.ciam.ru ([192.168.45.10] helo=sem) by mail.ciam.ru with smtp (Exim 3.33 #1) id 16EU2l-0006zN-00; Thu, 13 Dec 2001 14:28:51 +0300 Message-ID: <002901c183c9$659763d0$0a2da8c0@sem> From: "Sergey Matveychuk" To: "Jonathan Lemon" Cc: References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> Subject: Re: fxp half-duplex problemm Date: Thu, 13 Dec 2001 14:29:15 +0300 Organization: CIAM MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Envelope-To: jlemon@flugsvamp.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 > It doesn't matter. You can *NOT* mix NWAY/manual configuration reliably. > Either _both_ ends of the link must be set to NWAY, or _both_ must be set > manually. Anything else "may, but is not guaranteed" to work, which is > what you are seeing here. I repeat again: all works fine when I'v back to old fxp driver. This command turn off full-duplex: ifconfig fxp0 media 100baseTX -mediaopt full-duplex But it does not work with new fxp/mii driver for me. > > It appears that what you really want is the ability to do NWAY, but limit > the negotiation to half-duplex. This is possible, but doesn't fit into our > current ifmedia worldview. If you want to give it a try, you can use > rev 1.2 of dev/mii/inphy.c, which will perform limited NWAY configuration. Whot does mean 'rev 1.2'? CVS revision? but inphy.c has this revision for 4.4-R: $FreeBSD: src/sys/dev/mii/inphy.c,v 1.4.2.1 2001/05/13 00:16:08 jlemon Exp $ ---- Sem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 3:42:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.www-service.de (smtp.www-service.de [212.77.161.16]) by hub.freebsd.org (Postfix) with SMTP id B6FD137B405 for ; Thu, 13 Dec 2001 03:42:23 -0800 (PST) Received: (qmail 27586 invoked from network); 13 Dec 2001 09:55:29 -0000 Received: from pd9503389.dip.t-dialin.net (HELO fw.tue.le) (217.80.51.137) by smtp.www-service.de with SMTP; 13 Dec 2001 09:55:29 -0000 Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id KAA12098; Thu, 13 Dec 2001 10:54:52 +0100 (CET) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.11.6/8.11.6) id fBD9spD00778; Thu, 13 Dec 2001 10:54:51 +0100 (CET) (envelope-from thz) Date: Thu, 13 Dec 2001 10:54:51 +0100 From: Thomas Zenker To: stable@freebsd.org Cc: jlemon@flugsvamp.com, dillon@apollo.backplane.com Subject: TCP stack still hosed? Message-ID: <20011213105451.A738@mezcal.tue.le> Mail-Followup-To: Thomas Zenker , stable@freebsd.org, jlemon@flugsvamp.com, dillon@apollo.backplane.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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, after making new kernels I have noticed a dramatical performance drop in the tcp stack. The last normally working kernel I have is from 20th november. The sources are up to date, our archives are updated nightly. I am using a scripted sysinstall for doing installations/updates on our embedded equipment. Testing the installation on a normal PC I can see the numbers on the speedometer :-) "host-242" is installed, the release is fetched from "mezcal". Both are connected to a switch 10/100TX, mezcal has a fxp running with 100baseTX, host-242 has a NetGear USB/ethernet adapter (10TX). Here are the numbers: 1. server new, client new: 10-15 Kb/s mezcal: FreeBSD 4.4-STABLE #23: Thu Dec 13 08:48:40 CET 2001 host-242: FreeBSD 4.4-STABLE #0: Wed Dec 12 13:37:50 GMT 2001 2. server old, client new: 140-160 Kb/s mezcal: FreeBSD 4.4-STABLE #21: Tue Nov 20 14:17:19 CET 2001 host-242: FreeBSD 4.4-STABLE #0: Wed Dec 12 13:37:50 GMT 2001 3. server old, client old: 225-245 Kb/s mezcal: FreeBSD 4.4-STABLE #21: Tue Nov 20 14:17:19 CET 2001 host-242: FreeBSD 4.3-STABLE #0: Tue Jul 17 10:58:55 GMT 2001 I have tcpdumps for all three cases. Strange are sometimes lots of duplicate acks. Who is interrested in the tcpdumps? Also I have tried to switch off newreno and delayed_ack, but with no visible effect. Thomas -- Thomas Zenker c/o Lennartz electronic GmbH Bismarckstrasse 136, D-72072 Tuebingen, Germany Phone: +49-(0)7071-93550 Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 4:43:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.www-service.de (smtp.www-service.de [212.77.161.16]) by hub.freebsd.org (Postfix) with SMTP id ECD5E37B420 for ; Thu, 13 Dec 2001 04:43:22 -0800 (PST) Received: (qmail 7829 invoked from network); 13 Dec 2001 12:43:10 -0000 Received: from pd9503389.dip.t-dialin.net (HELO fw.tue.le) (217.80.51.137) by smtp.www-service.de with SMTP; 13 Dec 2001 12:43:10 -0000 Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id NAA12547; Thu, 13 Dec 2001 13:42:44 +0100 (CET) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.11.6/8.11.6) id fBDCgiS00415; Thu, 13 Dec 2001 13:42:44 +0100 (CET) (envelope-from thz) Date: Thu, 13 Dec 2001 13:42:44 +0100 From: Thomas Zenker To: Matthew Dillon Cc: stable@freebsd.org Subject: Re: TCP stack still hosed? Message-ID: <20011213134244.A380@mezcal.tue.le> Mail-Followup-To: Thomas Zenker , Matthew Dillon , stable@freebsd.org References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112131102.fBDB2WQ66827@apollo.backplane.com>; from dillon@apollo.backplane.com on Thu, Dec 13, 2001 at 03:02:32AM -0800 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, Dec 13, 2001 at 03:02:32AM -0800, Matthew Dillon wrote: > Check your kernel sources and make sure you have at least these > versions: > > Revision Changes Path > 1.107.2.19 +8 -3 src/sys/netinet/tcp_input.c > 1.39.2.12 +40 -14 src/sys/netinet/tcp_output.c > 1.56.2.9 +2 -1 src/sys/netinet/tcp_var.h > > If you don't, maybe your update or build/install mechanism isn't > working as expected. > > If you do, we need tcpdumps of the test connection. Also, I recommend > testing between two hosts with normal ethernet cards in them > (i.e. not USB) as a double-check. > > -Matt > Matthew Dillon repeated the tests with a normal ethernet card. I had to change the test procedure, because of the 100Mbit ethernet sysinstall was masking the results. So I did fetch ftp:// of the iso image, about 150MB. the result is different: server 2001/12/13, client 2001/12/12: 6 MBps server 2001/11/20, client 2001/12/12: 5.8 MBps server 2001/11/20, client 2001/07/17: 7.2 MBps so here the differences are not that much. The difference for USB/ethernet is caused by the changes in netinet/, but not by changes in USB. The behaviour of a kernel with all changes in only in netinet from 2001/11/20 on backed out, is the same as that of a whole kernel of that date. Thomas -- Thomas Zenker c/o Lennartz electronic GmbH Bismarckstrasse 136, D-72072 Tuebingen, Germany Phone: +49-(0)7071-93550 Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 5: 3:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id CE80D37B421 for ; Thu, 13 Dec 2001 05:03:53 -0800 (PST) Received: (qmail 32391 invoked by uid 1001); 13 Dec 2001 13:03:51 +0000 (GMT) To: thz@Lennartz-electronic.de Cc: stable@freebsd.org Subject: Re: TCP stack still hosed? From: sthaug@nethelp.no In-Reply-To: Your message of "Thu, 13 Dec 2001 13:42:44 +0100" References: <20011213134244.A380@mezcal.tue.le> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 13 Dec 2001 14:03:51 +0100 Message-ID: <32389.1008248631@verdi.nethelp.no> 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 > repeated the tests with a normal ethernet card. I had to change the > test procedure, because of the 100Mbit ethernet sysinstall was masking > the results. So I did fetch ftp:// of the iso image, about 150MB. > > the result is different: > server 2001/12/13, client 2001/12/12: 6 MBps > server 2001/11/20, client 2001/12/12: 5.8 MBps > server 2001/11/20, client 2001/07/17: 7.2 MBps > > so here the differences are not that much. How close are these hosts? As far as I can remember, the TCP problem that was corrected related to behavior under packet loss. With two hosts running -STABLE connected with a switch I have no problem filling a 100 Mbps Ethernet pipe: mgmtserv2# ttcp -r ttcp-r: buflen=8192, nbuf=2048, align=16384/+0, port=5001 tcp ttcp-r: socket ttcp-r: accept from 195.18.128.227 ttcp-r: 134217728 bytes in 11.35 real seconds = 11543.38 KB/sec +++ ttcp-r: 91930 I/O calls, msec/call = 0.13, calls/sec = 8096.18 ttcp-r: 0.0user 0.4sys 0:11real 4% 15i+206d 244maxrss 0+1pf 91929+2csw 11544.62 * 8192 * 1538/1460 = 99.626 Mbps. Close enough :-) Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 5:41:37 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.www-service.de (smtp.www-service.de [212.77.161.16]) by hub.freebsd.org (Postfix) with SMTP id D0BF137B6E6 for ; Thu, 13 Dec 2001 05:29:52 -0800 (PST) Received: (qmail 10693 invoked from network); 13 Dec 2001 13:29:50 -0000 Received: from pd9503389.dip.t-dialin.net (HELO fw.tue.le) (217.80.51.137) by smtp.www-service.de with SMTP; 13 Dec 2001 13:29:50 -0000 Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id OAA12669; Thu, 13 Dec 2001 14:29:35 +0100 (CET) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.11.6/8.11.6) id fBDDTYK00840; Thu, 13 Dec 2001 14:29:34 +0100 (CET) (envelope-from thz) Date: Thu, 13 Dec 2001 14:29:34 +0100 From: Thomas Zenker To: sthaug@nethelp.no Cc: stable@freebsd.org Subject: Re: TCP stack still hosed? Message-ID: <20011213142934.A771@mezcal.tue.le> Mail-Followup-To: Thomas Zenker , sthaug@nethelp.no, stable@freebsd.org References: <20011213134244.A380@mezcal.tue.le> <32389.1008248631@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <32389.1008248631@verdi.nethelp.no>; from sthaug@nethelp.no on Thu, Dec 13, 2001 at 02:03:51PM +0100 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, Dec 13, 2001 at 02:03:51PM +0100, sthaug@nethelp.no wrote: > > repeated the tests with a normal ethernet card. I had to change the > > test procedure, because of the 100Mbit ethernet sysinstall was masking > > the results. So I did fetch ftp:// of the iso image, about 150MB. > > > > the result is different: > > server 2001/12/13, client 2001/12/12: 6 MBps > > server 2001/11/20, client 2001/12/12: 5.8 MBps > > server 2001/11/20, client 2001/07/17: 7.2 MBps > > > > so here the differences are not that much. > > How close are these hosts? As far as I can remember, the TCP problem > that was corrected related to behavior under packet loss. > > With two hosts running -STABLE connected with a switch I have no problem > filling a 100 Mbps Ethernet pipe: > > mgmtserv2# ttcp -r > ttcp-r: buflen=8192, nbuf=2048, align=16384/+0, port=5001 tcp > ttcp-r: socket > ttcp-r: accept from 195.18.128.227 > ttcp-r: 134217728 bytes in 11.35 real seconds = 11543.38 KB/sec +++ > ttcp-r: 91930 I/O calls, msec/call = 0.13, calls/sec = 8096.18 > ttcp-r: 0.0user 0.4sys 0:11real 4% 15i+206d 244maxrss 0+1pf 91929+2csw > > 11544.62 * 8192 * 1538/1460 = 99.626 Mbps. Close enough :-) > > Steinar Haug, Nethelp consulting, sthaug@nethelp.no Yes, the numbers above are with ftp, so there might be also some loss in performance. The problem I have, as you can see in my first message, is the regression from about 240 Kbyte/sec with two system from before 20 nov. and 15 Kbyte/sec with the stable from today. There might be a problem with lossed packets, as the server has 100Mbps and the client a 10Mbps ethernet. Thomas -- Thomas Zenker c/o Lennartz electronic GmbH Bismarckstrasse 136, D-72072 Tuebingen, Germany Phone: +49-(0)7071-93550 Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:17:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 9017B37B41A; Thu, 13 Dec 2001 06:17:15 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fBDEGpw27653; Thu, 13 Dec 2001 16:16:51 +0200 (EET) (envelope-from ru) Date: Thu, 13 Dec 2001 16:16:51 +0200 From: Ruslan Ermilov To: qingli@speakeasy.net Cc: net@FreeBSD.org Subject: Re: route add - ?? Message-ID: <20011213161651.E19995@sunbay.com> References: <200112122351.fBCNpFq30812@spidey.speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112122351.fBCNpFq30812@spidey.speakeasy.net> User-Agent: Mutt/1.3.23i 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 [Redirected to -net] On Wed, Dec 12, 2001 at 03:51:15PM -0800, qingli@speakeasy.net wrote: > > netstat -r > ============ > Destination Gateway Flags Refs Use Netif Expire > default gateway-38 UGSc 59 0 ep0 > localhost localhost UH 1 713 lo0 > 147.11.38/24 link#6 UC 1 0 ep0 > gateway-38 0:0:c:7:ac:26 UHLW 58 0 ep0 575 > > Now I do > ======== > route add -net 192.103.54.0 64.81.55.1 > > an entry of > ============ > 192.103.54 dsl081-055-001.sfo UGSc 0 2 ep0 > > is inserted. > > Why was I allowed to add such a route. The gateway > 64.81.55.1 is not even reachable. > It is actually reachable through the default route. You can verify this by: ``route get 64.81.55.1''. The other question is why FreeBSD allows the use of indirect gateways. Well, I've offered in the past to disable this feature, but some other -net geeks like this "policy routing" feature of BSD. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:30:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 5625C37B41F for ; Thu, 13 Dec 2001 06:30:23 -0800 (PST) Received: from simoeon.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by smtp1.sentex.ca (8.11.6/8.11.6) with ESMTP id fBDEUK978508; Thu, 13 Dec 2001 09:30:20 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20011213091122.048e2940@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 13 Dec 2001 09:23:37 -0500 To: Thomas Zenker , stable@FreeBSD.ORG From: Mike Tancsa Subject: Re: TCP stack still hosed? In-Reply-To: <20011213105451.A738@mezcal.tue.le> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 10:54 AM 12/13/01 +0100, Thomas Zenker wrote: >Hi, > >after making new kernels I have noticed a dramatical performance drop >in the tcp stack. > >"host-242" is installed, the release is fetched from "mezcal". >Both are connected to a switch 10/100TX, mezcal has a fxp running >with 100baseTX, host-242 has a NetGear USB/ethernet adapter (10TX). I seem to recall a number of USB commits recently. Could it be driver related ? What if you did it with 2 fxp cards ? ---Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:30:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id 0386E37B420 for ; Thu, 13 Dec 2001 06:30:29 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.33 #1) id 16EFnm-0006wy-00 for freebsd-stable@FreeBSD.org; Wed, 12 Dec 2001 20:16:26 +0000 Date: Wed, 12 Dec 2001 20:16:26 +0000 From: Thomas Hurst To: freebsd-stable@FreeBSD.org Subject: Re: using irq 16 Message-ID: <20011212201626.GA26508@voi.aagh.net> Mail-Followup-To: freebsd-stable@FreeBSD.org References: <20011212113922.A43643@peitho.fxp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011212113922.A43643@peitho.fxp.org> User-Agent: Mutt/1.3.24i Organization: Not much. X-Operating-System: FreeBSD/4.4-STABLE (i386) X-Uptime: 8:11PM up 28 days, 22:13, 2 users, load averages: 2.00, 2.00, 2.00 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 * Chris Faulhaber (jedgar@fxp.org) wrote: > While setting up an new SMP box (Intel OCPRF100-based), I find that > while the USB controller is using irq 16: > > IOAPIC #0 intpin 49 -> irq 16 > ... > uhci0: port 0x1820-0x183f irq 16 at device 15.2 on pci0 > > rndcontrol(8) will not let me add it to the entropy pool: > > $ sudo rndcontrol -s 16 > rndcontrol: setting irq 16 > rndcontrol: rndcontrol: Invalid argument I have the same thing with a SCSI controler. A search threw up a similar problem on Alpha, with someone trying to use IRQ 20 - the reply was effectively "This has changed loads, so it won't be fixed in -STABLE". rndcontrol also lacks things like listing devices adding to the pool, and stats on the pool, which, for example, NetBSD's rndctl(8) provides. That also uses device names over IRQ's, which is much nicer than using IRQ numbers imo. -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:30:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id E215537B41F for ; Thu, 13 Dec 2001 06:30:42 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.33 #1) id 16E6CE-0006rp-00 for freebsd-stable@freebsd.org; Wed, 12 Dec 2001 10:01:02 +0000 Date: Wed, 12 Dec 2001 10:01:02 +0000 From: Thomas Hurst To: freebsd-stable@freebsd.org Subject: Re: microuptime() went backwards Message-ID: <20011212100102.GB25881@voi.aagh.net> 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.24i Organization: Not much. X-Operating-System: FreeBSD/4.4-STABLE (i386) X-Uptime: 9:57AM up 28 days, 11:59, 2 users, load averages: 2.02, 2.03, 2.00 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 * Dmitry Karasik (dmitry@karasik.eu.org) wrote: > What the following message spotted into the daily logs could possibly > indicate? It is not that I am paranoid over "glitches", but it might be > something that requires ... intervention? :) > > > microuptime() went backwards (3632474.277146 -> 3632474.-695109224) > > PS - it's 4.4-STABLE I get this filling my daily mailings every day. The machine in question as HZ=1000 to improve dummynet(4) performance, which I suspect is the culpret. I'd look up the thread on the archives, but I'm sans-web for some reason. *mutter* transparent proxies *mutter* -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:31:37 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id ADF8C37B41B for ; Thu, 13 Dec 2001 06:31:28 -0800 (PST) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 13 Dec 2001 14:31:26 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16EWst-0005id-00; Thu, 13 Dec 2001 14:30:51 +0000 Date: Thu, 13 Dec 2001 14:30:51 +0000 (GMT) From: Jan Grant X-X-Sender: To: freebsd-stable Subject: openoffice, native build 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 Apologies for sending this to -stable, but that appears to be where the previous discussion about this was taking place. I've done a bit of work in getting this to build (having some measure of success; at least, cranking through the problems it's thrown up) and could offer some help, but I've lost track of anyone who's involved in this. Could people contact me directly and I'll at least try to build a CC: list in the first instance to get this moving a little. Cheers, -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk ...You're visualising the _duck_ taped over my _mouth_..? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:42:21 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.nsu.ru (mail.nsu.ru [193.124.215.221]) by hub.freebsd.org (Postfix) with ESMTP id 5649437B41A for ; Thu, 13 Dec 2001 06:42:17 -0800 (PST) Received: from iclub.nsu.ru ([193.124.222.66] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 16EX35-0007ub-00; Thu, 13 Dec 2001 20:41:23 +0600 Received: (from fjoe@localhost) by iclub.nsu.ru (8.11.6/8.11.6) id fBDEfL534173; Thu, 13 Dec 2001 20:41:21 +0600 (NS) (envelope-from fjoe) Date: Thu, 13 Dec 2001 20:41:20 +0600 From: Max Khon To: David Xu Cc: Andrew Tulloch , freebsd-stable@freebsd.org Subject: Re: SMP and MySQL/threads Message-ID: <20011213204120.A34101@iclub.nsu.ru> References: <077a01c18332$3ffd4190$4c0116ac@ANDREWT> <3C17FA33.3070906@viasoft.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C17FA33.3070906@viasoft.com.cn>; from davidx@viasoft.com.cn on Thu, Dec 13, 2001 at 08:45:39AM +0800 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 Thu, Dec 13, 2001 at 08:45:39AM +0800, David Xu wrote: > If you need performance, keep it with Linux until FreeBSD 5.0 is ready. > current pthread implement in FreeBSD 4 is user level thread, and all > disk access will > be serialized and whole threads can only run in one processor. He needs also to reduce maintainance cost. It has been said in this thread that mysql + linuxthreads work fine on FreeBSD. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:44:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.www-service.de (smtp.www-service.de [212.77.161.16]) by hub.freebsd.org (Postfix) with SMTP id B679F37B41C for ; Thu, 13 Dec 2001 06:44:28 -0800 (PST) Received: (qmail 15221 invoked from network); 13 Dec 2001 14:44:26 -0000 Received: from pd90065d6.dip.t-dialin.net (HELO fw.tue.le) (217.0.101.214) by smtp.www-service.de with SMTP; 13 Dec 2001 14:44:26 -0000 Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id PAA12831; Thu, 13 Dec 2001 15:43:52 +0100 (CET) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.11.6/8.11.6) id fBDEhpk87442; Thu, 13 Dec 2001 15:43:51 +0100 (CET) (envelope-from thz) Date: Thu, 13 Dec 2001 15:43:51 +0100 From: Thomas Zenker To: Mike Tancsa Cc: stable@freebsd.org Subject: Re: TCP stack still hosed? Message-ID: <20011213154351.B80481@mezcal.tue.le> Mail-Followup-To: Thomas Zenker , Mike Tancsa , stable@freebsd.org References: <20011213105451.A738@mezcal.tue.le> <5.1.0.14.0.20011213091122.048e2940@marble.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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, Dec 13, 2001 at 09:23:37AM -0500, Mike Tancsa wrote: > At 10:54 AM 12/13/01 +0100, Thomas Zenker wrote: > >Hi, > > > >after making new kernels I have noticed a dramatical performance drop > >in the tcp stack. > > > >"host-242" is installed, the release is fetched from "mezcal". > >Both are connected to a switch 10/100TX, mezcal has a fxp running > >with 100baseTX, host-242 has a NetGear USB/ethernet adapter (10TX). > > > I seem to recall a number of USB commits recently. Could it be driver > related ? What if you did it with 2 fxp cards ? > > ---Mike > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message see my other mails as well, I did backout the netinet stuff back to 20 Nov. and all works well. Probably it has to do with loss of packets in the switch changing from 100Mbps to 10 Mbps, and then tcp falling in strange recovery behaviour?? Could try to track down the change more precisely. -- Thomas Zenker c/o Lennartz electronic GmbH Bismarckstrasse 136, D-72072 Tuebingen, Germany Phone: +49-(0)7071-93550 Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 6:51:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from web11604.mail.yahoo.com (web11604.mail.yahoo.com [216.136.172.56]) by hub.freebsd.org (Postfix) with SMTP id 6D82837B417 for ; Thu, 13 Dec 2001 06:51:27 -0800 (PST) Message-ID: <20011213145127.6476.qmail@web11604.mail.yahoo.com> Received: from [128.235.249.43] by web11604.mail.yahoo.com via HTTP; Thu, 13 Dec 2001 06:51:27 PST Date: Thu, 13 Dec 2001 06:51:27 -0800 (PST) From: Holtor Subject: Load Averages To: 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 Hello, Was the way load averages are calcuated changed in Freebsd 4.4? I had one server running 4.3 with loads between 1.5 - 2.0 all the time. After upgrading to 4.4-stable friday dec 7th load averages on this server are now rarely every above 0.10 which is a very signifigan change. That computer is running all the same things before and after the upgrade. Would that polling code removed on 7th, but included in my upgrade, have something to do with this? Its all i can think of. Any ideas? TIA Holt __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.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 Dec 13 6:59:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from biliskner.great4.co.uk (biliskner.great4.co.uk [213.86.13.125]) by hub.freebsd.org (Postfix) with ESMTP id E303D37B405 for ; Thu, 13 Dec 2001 06:59:37 -0800 (PST) Received: from ANDREWT (andrewt.topaz [172.22.1.76]) by biliskner.great4.co.uk (Postfix) with ESMTP id 5E87B540B; Thu, 13 Dec 2001 15:00:32 +0000 (GMT) Message-ID: <031b01c183e6$c7c70430$4c0116ac@ANDREWT> From: "Andrew Tulloch" To: "Max Khon" Cc: References: <077a01c18332$3ffd4190$4c0116ac@ANDREWT> <3C17FA33.3070906@viasoft.com.cn> <20011213204120.A34101@iclub.nsu.ru> Subject: Re: SMP and MySQL/threads Date: Thu, 13 Dec 2001 14:59:35 -0000 Organization: Great4 Ltd MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 That was essentially the answer I was looking for, I couldn't think of a particular reason linuxthreads wouldn't work well on FreeBSD, but the port seems to indicate you should expect problems with linuxthreads which put me (and possibly others?) off from using MySQL+linuxthreads on FreeBSD i386/SMP. From the replies to my question it seems to indicate people are running this combination with no problems. Andrew ----- Original Message ----- From: "Max Khon" To: "David Xu" Cc: "Andrew Tulloch" ; Sent: Thursday, December 13, 2001 2:41 PM Subject: Re: SMP and MySQL/threads > hi, there! > > On Thu, Dec 13, 2001 at 08:45:39AM +0800, David Xu wrote: > > > If you need performance, keep it with Linux until FreeBSD 5.0 is ready. > > current pthread implement in FreeBSD 4 is user level thread, and all > > disk access will > > be serialized and whole threads can only run in one processor. > > He needs also to reduce maintainance cost. It has been said in this thread > that mysql + linuxthreads work fine on FreeBSD. > > /fjoe > > 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 Dec 13 7: 8: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from buzz.ichilton.co.uk (pc3-stoc4-0-cust138.mid.cable.ntl.com [213.107.175.138]) by hub.freebsd.org (Postfix) with ESMTP id 85F3B37B416 for ; Thu, 13 Dec 2001 07:08:01 -0800 (PST) Received: by buzz.ichilton.co.uk (Postfix, from userid 100) id 971051CE5C7; Thu, 13 Dec 2001 15:07:59 +0000 (GMT) Date: Thu, 13 Dec 2001 15:07:59 +0000 From: Ian Chilton To: freebsd-stable@freebsd.org Subject: Problem upgrading to freebsd-stable Message-ID: <20011213150759.A24617@buzz.ichilton.local> Reply-To: Ian Chilton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i 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, ** Please CC replies to ian@ichilton.co.uk as i am not subscribed ** I have a Freebsd 4.3-release box I am trying to update to freebsd-stable. It make buildworld's ok but failes on the installworld with: install -c -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -c -s -o root -g wheel -m 444 -fschg libcrypt.so.2 /usr/lib install: /usr/lib/libcrypt.so.2: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** Error code 1 Stop in /usr/src/lib. *** 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. How can this happen when root should be able to do anything? Thanks Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 7:11: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mikea.ath.cx (okc-65-30-192-11.mmcable.com [65.30.192.11]) by hub.freebsd.org (Postfix) with ESMTP id 97C8E37B405 for ; Thu, 13 Dec 2001 07:11:03 -0800 (PST) Received: (from mikea@localhost) by mikea.ath.cx (8.11.6/8.11.1) id fBDFAwf57652 for freebsd-stable@FreeBSD.ORG; Thu, 13 Dec 2001 09:10:58 -0600 (CST) (envelope-from mikea) Date: Thu, 13 Dec 2001 09:10:57 -0600 From: mikea To: freebsd-stable@FreeBSD.ORG Subject: Re: Problem upgrading to freebsd-stable Message-ID: <20011213091057.A57635@mikea.ath.cx> References: <20011213150759.A24617@buzz.ichilton.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011213150759.A24617@buzz.ichilton.local>; from ian@ichilton.co.uk on Thu, Dec 13, 2001 at 03:07:59PM +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 On Thu, Dec 13, 2001 at 03:07:59PM +0000, Ian Chilton wrote: > Hello, > > ** Please CC replies to ian@ichilton.co.uk as i am not subscribed ** > > > I have a Freebsd 4.3-release box I am trying to update to > freebsd-stable. > > It make buildworld's ok but failes on the installworld with: > > install -c -o root -g wheel -m 444 libcrypt_p.a /usr/lib > install -c -s -o root -g wheel -m 444 -fschg libcrypt.so.2 /usr/lib > install: /usr/lib/libcrypt.so.2: Operation not permitted > *** Error code 71 Check the securelevel you're running at. It needs to be reduced. -1 (minus 1) will let you do the install, and then you can change the level in your config file, followed by either a reboot or a sysctl command to raise the securelevel. -- Mike Andrews mikea@mikea.ath.cx Tired old sysadmin since 1964 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 7:13:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [66.31.234.148]) by hub.freebsd.org (Postfix) with ESMTP id 1D59137B41C for ; Thu, 13 Dec 2001 07:13:17 -0800 (PST) Received: (from root@localhost) by thehousleys.net (8.11.6/8.11.2) id fBDFDBo19531; Thu, 13 Dec 2001 10:13:11 -0500 (EST) (envelope-from jim@Thehousleys.net) Received: from Thehousleys.net (baby.int.thehousleys.net [192.168.0.24]) (authenticated) by thehousleys.net (8.11.6/8.11.6) with ESMTP id fBDFD9a19523; Thu, 13 Dec 2001 10:13:09 -0500 (EST) (envelope-from jim@Thehousleys.net) Message-ID: <3C18C585.61793475@Thehousleys.net> Date: Thu, 13 Dec 2001 10:13:09 -0500 From: James Housley X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Holtor Cc: stable@freebsd.org Subject: Re: Load Averages References: <20011213145127.6476.qmail@web11604.mail.yahoo.com> 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 Holtor wrote: > > Hello, > > Was the way load averages are calcuated changed in > Freebsd 4.4? I had one server running 4.3 with loads > between 1.5 - 2.0 all the time. After upgrading to > 4.4-stable friday dec 7th load averages on this server > are now rarely every above 0.10 which is a very > signifigan change. That computer is running all the > same things before and after the upgrade. > > Would that polling code removed on 7th, but included > in my upgrade, have something to do with this? Its all > i can think of. > There were some changes committed to -CURRENT that put a slight variation in the time the samples were taken to avoid always sampling while repative system task were running and creating a false high load. I am not sure if they have been MFC'd yet, but they might have. Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net jhousley@SimTel.Net http://www.SimTel.Net --------------------------------------------------------------------- "...there's no idea that's so good you can't ruin it with a few well-placed idiots." -- Charles Spickman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 7:47:32 2001 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 DC48A37B416 for ; Thu, 13 Dec 2001 07:47:27 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011213154727.HQUA10701.rwcrmhc53.attbi.com@bmah.dyndns.org>; Thu, 13 Dec 2001 15:47:27 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id fBDFlRG31327; Thu, 13 Dec 2001 07:47:27 -0800 (PST) (envelope-from bmah) Message-Id: <200112131547.fBDFlRG31327@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: James Housley Cc: Holtor , stable@FreeBSD.ORG Subject: Re: Load Averages In-Reply-To: <3C18C585.61793475@Thehousleys.net> References: <20011213145127.6476.qmail@web11604.mail.yahoo.com> <3C18C585.61793475@Thehousleys.net> Comments: In-reply-to James Housley message dated "Thu, 13 Dec 2001 10:13:09 -0500." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1868842300P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 13 Dec 2001 07:47:27 -0800 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 --==_Exmh_1868842300P Content-Type: text/plain; charset=us-ascii If memory serves me right, James Housley wrote: > There were some changes committed to -CURRENT that put a slight > variation in the time the samples were taken to avoid always sampling > while repative system task were running and creating a false high load. > I am not sure if they have been MFC'd yet, but they might have. The load average jitter changes were MFC-ed, as documented in the 4.4-STABLE release notes. Bruce. --==_Exmh_1868842300P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Exmh version 2.3.1+ 05/14/2001 iD8DBQE8GM2O2MoxcVugUsMRAlhbAKDq0Bxa4wUPU4j73XVOBkZ/nv1ubwCg2Xfb 7PutTtbxcIz2VVpLiLHYA6A= =N+/H -----END PGP SIGNATURE----- --==_Exmh_1868842300P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 8:43: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from globalrelay.com (h216-18-71-77.gtcust.grouptelecom.net [216.18.71.77]) by hub.freebsd.org (Postfix) with ESMTP id 57A3637B405 for ; Thu, 13 Dec 2001 08:42:57 -0800 (PST) Received: from [10.1.0.200] (HELO hpvl4001Eric) by globalrelay.com (CommuniGate Pro SMTP 3.4.7) with SMTP id 804928 for stable@FreeBSD.ORG; Thu, 13 Dec 2001 08:42:56 -0800 Message-ID: <21bd01c183f5$a292a430$0500050a@internal.globalrelay.net> From: "Eric Parusel" To: References: <20011213145127.6476.qmail@web11604.mail.yahoo.com> <3C18C585.61793475@Thehousleys.net> <200112131547.fBDFlRG31327@bmah.dyndns.org> Subject: Re: Load Averages Date: Thu, 13 Dec 2001 08:45:55 -0800 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.4807.1700 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 memory serves me right, James Housley wrote: > >> There were some changes committed to -CURRENT that put a slight >> variation in the time the samples were taken to avoid always sampling >> while repative system task were running and creating a false high load. >> I am not sure if they have been MFC'd yet, but they might have. > >The load average jitter changes were MFC-ed, as documented in the >4.4-STABLE release notes. > >Bruce. Thank to whomever fixed this, and MFC-ed it! No more cpu load alerts in the middle of the night :) Eric Parusel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 8:58:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.svzserv.kemerovo.su (mail.svzserv.kemerovo.su [213.184.65.66]) by hub.freebsd.org (Postfix) with ESMTP id 2A7B437B419 for ; Thu, 13 Dec 2001 08:58:07 -0800 (PST) Received: from grosbein.pp.ru (D00015.dialonly.kemerovo.su [213.184.66.105]) by mail.svzserv.kemerovo.su (8.11.6/8.11.6) with ESMTP id fBDGw1P82597 for ; Thu, 13 Dec 2001 23:58:02 +0700 (NKZ) (envelope-from eugen@grosbein.pp.ru) Message-ID: <3C18DE16.D692D9BC@grosbein.pp.ru> Date: Thu, 13 Dec 2001 23:57:58 +0700 From: Eugene Grosbein Organization: SVZServ.Co. X-Mailer: Mozilla 4.79 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: stable@freebsd.org Subject: Using 4.0 userland with 4.4-STABLE kernel Content-Type: text/plain; charset=koi8-r 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 possible to install and use recent STABLE kernel with 4.0 userland? I have a remote machine with 4.0-SNAP-xxx. It has old but stable hardware - Intel Champion 486SX/8Mb RAM/200Mb HDD. It acts as router and traffic shaper for its LAN and I manage it remotely. It has enough disk space to build a kernel for itself. I need recent dummynet features, f.e. WF2Q+ queueing. Its link to the net is slow and expencive. Is it possible to upgate just kernel and ipfw keeping the rest of userland untouched? It does not use any kernel modules. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 9: 4:55 2001 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 D618737B416 for ; Thu, 13 Dec 2001 09:04:50 -0800 (PST) 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 fBDH4b076597; Thu, 13 Dec 2001 09:04:37 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id fBDH4aM14501; Thu, 13 Dec 2001 09:04:36 -0800 (PST) (envelope-from jdp) Date: Thu, 13 Dec 2001 09:04:36 -0800 (PST) Message-Id: <200112131704.fBDH4aM14501@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: joe@zircon.seattle.wa.us Subject: Re: rtld-elf issues In-Reply-To: <15382.36337.945315.693398@zircon.zircon.seattle.wa.us> References: <15382.36337.945315.693398@zircon.zircon.seattle.wa.us> 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 <15382.36337.945315.693398@zircon.zircon.seattle.wa.us>, Joe Kelsey wrote: > What should rtld-elf do when asked to load an already loaded shared > object? > > Currently, if you manually request loading of a shared object via > dlopen, rtld-elf will recursively try to load any libraries that the > shared object references. If the shared library references an already > manually-loaded shared object, it still attempts to find the shared > object via the various paths in effect at the time of the dlopen call. > This is an unnecessary effort, since the module is already loaded, yet > the search can fail and abort the program due to phantom dlopen errors. For every library it tries to load (including libraries specified by dependencies), it first checks to see if it already has that exact pathname loaded. If so, it just increments a reference count without reloading the library. If there is no pathname match, it opens the library file found by its usual search rules (but doesn't load it yet). Then it checks the device and inode numbers against all currently loaded libraries to see if the same file is already loaded by a different pathname. If it finds a match it increments a reference count without reloading the library. What do you think it should do? > Shouldn't the loader notice that libjvm.so is already mapped into the > address space and skip checking for it on the disk? No, I don't think so. There could be any number of different libraries named "libjvm.so". Without an absolute pathname, it can't assume they're all the same. To get what you want, I think you might need to specify the appropriate -rpath arguments when building the shared libraries. Man ld(1) for details. 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 Thu Dec 13 9:21:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from web11606.mail.yahoo.com (web11606.mail.yahoo.com [216.136.172.58]) by hub.freebsd.org (Postfix) with SMTP id 2DE6937B417 for ; Thu, 13 Dec 2001 09:21:09 -0800 (PST) Message-ID: <20011213172108.10411.qmail@web11606.mail.yahoo.com> Received: from [24.189.82.162] by web11606.mail.yahoo.com via HTTP; Thu, 13 Dec 2001 09:21:08 PST Date: Thu, 13 Dec 2001 09:21:08 -0800 (PST) From: Holtor Subject: Re: Load Averages To: stable@freebsd.org In-Reply-To: <200112131547.fBDFlRG31327@bmah.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 I still fail to see why my systems loads went from 1.50 - 2.00. There's over 250 processes constantly running in "select" state. Loads are now almost always 0.00 and sometimes touching 0.10 I'm confused as to what problem this solved besides creating problems.. Now I have no idea what the real system load is. Surely 0.00 load is not proper for a system running so many things. Reason being I use load averages to determine if a computer needs upgrading. When things go above a constant 2.00 or higher it either means upgrade to better hardware or reduce the amount of things running on that server to another server. Maybe i'm missing something.. but this seems to only have broken things not fixed anything.. Please enlighten me. Holt --- "Bruce A. Mah" wrote: > If memory serves me right, James Housley wrote: > > > There were some changes committed to -CURRENT that > put a slight > > variation in the time the samples were taken to > avoid always sampling > > while repative system task were running and > creating a false high load. > > I am not sure if they have been MFC'd yet, but > they might have. > > The load average jitter changes were MFC-ed, as > documented in the > 4.4-STABLE release notes. > > Bruce. > > > > ATTACHMENT part 2 application/pgp-signature __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.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 Dec 13 9:39: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 03AC637B417 for ; Thu, 13 Dec 2001 09:38:55 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011213173849.KCBD403.rwcrmhc52.attbi.com@bmah.dyndns.org>; Thu, 13 Dec 2001 17:38:49 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id fBDHcm235905; Thu, 13 Dec 2001 09:38:48 -0800 (PST) (envelope-from bmah) Message-Id: <200112131738.fBDHcm235905@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Holtor Cc: stable@FreeBSD.ORG Subject: Re: Load Averages In-Reply-To: <20011213172108.10411.qmail@web11606.mail.yahoo.com> References: <20011213172108.10411.qmail@web11606.mail.yahoo.com> Comments: In-reply-to Holtor message dated "Thu, 13 Dec 2001 09:21:08 -0800." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1977408144P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 13 Dec 2001 09:38:48 -0800 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 --==_Exmh_-1977408144P Content-Type: text/plain; charset=us-ascii If memory serves me right, Holtor wrote: > I still fail to see why my systems loads went from > 1.50 - 2.00. There's over 250 processes constantly > running in "select" state. Loads are now almost always > 0.00 and sometimes touching 0.10 If a process is in "select" state, it shouldn't be contributing to the load average...it's blocked waiting for something to happen. The load average is the number of processes in the run queue (meaning the number of processes ready to run), averaged over some time interval. The w(1) manpage will give you a few more details about this. With the old load average computation, it was possible for the sampling of the queue length to become synchronized with processes that ran periodically. This would make the load average look higher than it was (because the only time that the queue length got sampled was when these periodic processes were woken up). The random jitter is an attempt to avoid this synchronization, thus estimating the run queue length more accurately. > I'm confused as to what problem this solved besides > creating problems.. Now I have no idea what the real > system load is. Surely 0.00 load is not proper for a > system running so many things. I'm sorry, but I have the feeling that you don't quite understand what the load average is. Saying that "my machine has 250 processes, it can't have a zero load average" doesn't mean anything unless you know what those processes are doing and how they're using the system resources. > Reason being I use load averages to determine if a > computer needs upgrading. When things go above a > constant 2.00 or higher it either means upgrade to > better hardware or reduce the amount of things running > on that server to another server. The load average by itself isn't really a good metric of system performance. For example, it won't help you find disk or network bottlenecks. If it was me, I'd take a look at developing some performance metrics that depended on specific applications I was running, and some values that were (or were not) acceptable to me. (For example, how many Web hits can the machine process per unit time, for some offered workload?) I'd also use some of the other system metrics (such as CPU utilization) for additional corroborating evidence. > Maybe i'm missing something.. but this seems to only > have broken things not fixed anything.. I think you're missing something. :-) Bruce. --==_Exmh_-1977408144P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Exmh version 2.3.1+ 05/14/2001 iD8DBQE8GOeo2MoxcVugUsMRAgCnAKDUgEv7L0gHQ1SidGOzNCMrIU46ogCfSreZ tEro3w+k7tEEqxhALzwbBFE= =0dkj -----END PGP SIGNATURE----- --==_Exmh_-1977408144P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 9:48:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from woody.ichilton.co.uk (woody.ichilton.co.uk [216.28.122.60]) by hub.freebsd.org (Postfix) with ESMTP id E9E6637B416 for ; Thu, 13 Dec 2001 09:48:18 -0800 (PST) Received: by woody.ichilton.co.uk (Postfix, from userid 1000) id 91B237CF5; Thu, 13 Dec 2001 17:48:17 +0000 (GMT) Date: Thu, 13 Dec 2001 17:48:17 +0000 From: Ian Chilton To: freebsd-stable@freebsd.org Subject: ssh/telnet problem after going to freebsd-stable Message-ID: <20011213174817.A22935@woody.ichilton.co.uk> Reply-To: Ian Chilton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.13i 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, * Not subscribed - please cc replies to ian@ichilton.co.uk ** I just went from 4.3-release to freebsd-stable. Upgraded userland, then kernel then ran mergemaster and rebooted. Now I can ping the box but telnet gives: telnet: Unable to connect to remote host: Connection refused ssh answers but wont accept the password, eventhough it's right - any ideas??? (remote box) Thanks in Advance! Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 9:52:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.www-service.de (smtp.www-service.de [212.77.161.16]) by hub.freebsd.org (Postfix) with SMTP id A7F2837B405 for ; Thu, 13 Dec 2001 09:52:36 -0800 (PST) Received: (qmail 25072 invoked from network); 13 Dec 2001 17:52:23 -0000 Received: from pd90065d6.dip.t-dialin.net (HELO fw.tue.le) (217.0.101.214) by smtp.www-service.de with SMTP; 13 Dec 2001 17:52:23 -0000 Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id SAA13231; Thu, 13 Dec 2001 18:51:53 +0100 (CET) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.11.6/8.11.6) id fBDHprF00457; Thu, 13 Dec 2001 18:51:53 +0100 (CET) (envelope-from thz) Date: Thu, 13 Dec 2001 18:51:53 +0100 From: Thomas Zenker To: Matthew Dillon Cc: stable@freebsd.org Subject: Re: TCP stack still hosed? Message-ID: <20011213185153.A365@mezcal.tue.le> Mail-Followup-To: Thomas Zenker , Matthew Dillon , stable@freebsd.org References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112131102.fBDB2WQ66827@apollo.backplane.com>; from dillon@apollo.backplane.com on Thu, Dec 13, 2001 at 03:02:32AM -0800 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, Dec 13, 2001 at 03:02:32AM -0800, Matthew Dillon wrote: > If you do, we need tcpdumps of the test connection. Also, I recommend > testing between two hosts with normal ethernet cards in them > (i.e. not USB) as a double-check. > > -Matt > Matthew Dillon > the most impacting change is in tcp_usrreq.c ---------------------------- revision 1.51.2.10 date: 2001/11/30 19:54:05; author: alfred; state: Exp; lines: +3 -3 MFC: 1.64 (larger default tcp send/recieve buffers) ---------------------------- It seems that the switch and/or the USB/ethernet adaptor is overrun by the larger sendspace. So setting sysctl net.inet.tcp.xxxspace=16384 on the USB/ethernet system solves the problem mostly. Thomas -- Thomas Zenker c/o Lennartz electronic GmbH Bismarckstrasse 136, D-72072 Tuebingen, Germany Phone: +49-(0)7071-93550 Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 9:59:21 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by hub.freebsd.org (Postfix) with ESMTP id 11AC737B419; Thu, 13 Dec 2001 09:59:18 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.189.35]) by tomts11-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011213175915.DMYK8040.tomts11-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Thu, 13 Dec 2001 12:59:15 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id E22DA1B44; Thu, 13 Dec 2001 12:59:06 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id DA54420ACD; Thu, 13 Dec 2001 13:00:40 -0500 (EST) Date: Thu, 13 Dec 2001 13:00:39 -0500 From: The Anarcat To: "Bruce A. Mah" Cc: Holtor , stable@FreeBSD.ORG Subject: Re: Load Averages Message-ID: <20011213180038.GC2701@shall.anarcat.dyndns.org> References: <20011213172108.10411.qmail@web11606.mail.yahoo.com> <200112131738.fBDHcm235905@bmah.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="adJ1OR3c6QgCpb/j" Content-Disposition: inline In-Reply-To: <200112131738.fBDHcm235905@bmah.dyndns.org> User-Agent: Mutt/1.3.24i 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 --adJ1OR3c6QgCpb/j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu Dec 13, 2001 at 09:38:48AM -0800, Bruce A. Mah wrote: > If memory serves me right, Holtor wrote: >=20 > > Reason being I use load averages to determine if a > > computer needs upgrading. When things go above a > > constant 2.00 or higher it either means upgrade to > > better hardware or reduce the amount of things running > > on that server to another server. >=20 > The load average by itself isn't really a good metric of system > performance. For example, it won't help you find disk or network > bottlenecks. If it was me, I'd take a look at developing some > performance metrics that depended on specific applications I was > running, and some values that were (or were not) acceptable to me. (For > example, how many Web hits can the machine process per unit time, for > some offered workload?) I'd also use some of the other system metrics > (such as CPU utilization) for additional corroborating evidence. Indeed, I must emphasis (sp?) Bruce's words here: load average can be a useful *quick* metric of a the cpu load, but you shouldn't use it to meter general system performace, *especially* since you're using this mesure to decide wether to upgrade or not. You decide upgrade depending on wether or not the machine does its job. Even if it doesn't, you have to figure out if there is a way to fix/customize/tune the box to make it fit your needs, or else you'll might just end up with the same problems on the next box. :) Just my CAN$0.02 (that's really cheap). a. --adJ1OR3c6QgCpb/j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwY7MUACgkQttcWHAnWiGfiegCfRnkpnKtB98sM6pzK96rvng6E uMUAn0D6O5Qy2BBG+qH1+weg9fXMTn6K =oEyP -----END PGP SIGNATURE----- --adJ1OR3c6QgCpb/j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 10: 1:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 9EE6B37B41A for ; Thu, 13 Dec 2001 10:01:05 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Dec 2001 18:01:04 +0000 (GMT) To: Holtor Cc: stable@freebsd.org Subject: Re: Load Averages In-Reply-To: Your message of "Thu, 13 Dec 2001 09:21:08 PST." <20011213172108.10411.qmail@web11606.mail.yahoo.com> Date: Thu, 13 Dec 2001 18:01:03 +0000 From: Ian Dowse Message-ID: <200112131801.aa19310@salmon.maths.tcd.ie> 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 <20011213172108.10411.qmail@web11606.mail.yahoo.com>, Holtor writes: >I still fail to see why my systems loads went from >1.50 - 2.00. There's over 250 processes constantly >running in "select" state. Loads are now almost always >0.00 and sometimes touching 0.10 The changes to the load average calculation only added jitter to the timing of samples; the algorithm used to compute the load average from the samples is still the same. Could you post a `top' screen shot from the server in question? (make sure to leave top running for long enough to get the %idle etc lines filled in). Is it possible that the processes spend the vast majority of the time sleeping in select(), but that previously their run periods were often synchronised with the samples used to calculate the load average, or maybe it was system processes such as bufdaemon whose run period was synchronised with the samples? If so, then maybe the old loads around 2.0 were simply wrong. In general the %idle figure in top should be close to 100% if the load is close to 0, so that is worth checking too. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 10: 5:12 2001 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 A018237B417 for ; Thu, 13 Dec 2001 10:05:05 -0800 (PST) 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 fBDI52076969; Thu, 13 Dec 2001 10:05:02 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id fBDI51c14845; Thu, 13 Dec 2001 10:05:01 -0800 (PST) (envelope-from jdp) Date: Thu, 13 Dec 2001 10:05:01 -0800 (PST) Message-Id: <200112131805.fBDI51c14845@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: thz@Lennartz-electronic.de Subject: Re: TCP stack still hosed? In-Reply-To: <20011213185153.A365@mezcal.tue.le> References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> <20011213185153.A365@mezcal.tue.le> 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 <20011213185153.A365@mezcal.tue.le>, Thomas Zenker wrote: > the most impacting change is in tcp_usrreq.c > ---------------------------- > revision 1.51.2.10 > date: 2001/11/30 19:54:05; author: alfred; state: Exp; lines: +3 -3 > MFC: 1.64 (larger default tcp send/recieve buffers) > ---------------------------- > > It seems that the switch and/or the USB/ethernet adaptor is overrun > by the larger sendspace. So setting sysctl net.inet.tcp.xxxspace=16384 > on the USB/ethernet system solves the problem mostly. Try reducing the sysctl "net.inet.tcp.local_slowstart_flightsize" to 1 or 2. Does that also solve the problem? There seems to be mounting evidence that disabling slow start for local destinations is not a good strategy in general. It might have been OK in the days of hubs, but it seems to cause problems with many switches. 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 Thu Dec 13 10: 5:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from web11601.mail.yahoo.com (web11601.mail.yahoo.com [216.136.172.53]) by hub.freebsd.org (Postfix) with SMTP id B64C937B41B for ; Thu, 13 Dec 2001 10:05:39 -0800 (PST) Message-ID: <20011213180539.83207.qmail@web11601.mail.yahoo.com> Received: from [24.189.82.162] by web11601.mail.yahoo.com via HTTP; Thu, 13 Dec 2001 10:05:39 PST Date: Thu, 13 Dec 2001 10:05:39 -0800 (PST) From: Holt Grendal Subject: Re: Load Averages To: Ian Dowse Cc: stable@freebsd.org In-Reply-To: <200112131801.aa19310@salmon.maths.tcd.ie> 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 Ian, Gotcha! I understand how it works now. So ever since freebsd was created until now load averages have been wrong. hehe ok :o) Holt --- Ian Dowse wrote: > In message > <20011213172108.10411.qmail@web11606.mail.yahoo.com>, > Holtor writes: > >I still fail to see why my systems loads went from > >1.50 - 2.00. There's over 250 processes constantly > >running in "select" state. Loads are now almost > always > >0.00 and sometimes touching 0.10 > > The changes to the load average calculation only > added jitter to > the timing of samples; the algorithm used to compute > the load average > from the samples is still the same. Could you post a > `top' screen > shot from the server in question? (make sure to > leave top running > for long enough to get the %idle etc lines filled > in). > > Is it possible that the processes spend the vast > majority of the > time sleeping in select(), but that previously their > run periods > were often synchronised with the samples used to > calculate the load > average, or maybe it was system processes such as > bufdaemon whose > run period was synchronised with the samples? If so, > then maybe the > old loads around 2.0 were simply wrong. In general > the %idle figure > in top should be close to 100% if the load is close > to 0, so that > is worth checking too. > > Ian __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.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 Dec 13 10:30:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id E43E537B429 for ; Thu, 13 Dec 2001 10:30:30 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fBDIMUA75399; Thu, 13 Dec 2001 10:22:30 -0800 (PST) (envelope-from dg) Date: Thu, 13 Dec 2001 10:22:30 -0800 From: David Greenman To: Sergey Matveychuk Cc: Jonathan Lemon , freebsd-stable@freebsd.org Subject: Re: fxp half-duplex problemm Message-ID: <20011213102230.A75383@nexus.root.com> References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> <002901c183c9$659763d0$0a2da8c0@sem> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002901c183c9$659763d0$0a2da8c0@sem>; from sem@ciam.ru on Thu, Dec 13, 2001 at 02:29:15PM +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 >> It doesn't matter. You can *NOT* mix NWAY/manual configuration reliably. >> Either _both_ ends of the link must be set to NWAY, or _both_ must be set >> manually. Anything else "may, but is not guaranteed" to work, which is >> what you are seeing here. > >I repeat again: all works fine when I'v back to old fxp driver. >This command turn off full-duplex: >ifconfig fxp0 media 100baseTX -mediaopt full-duplex > >But it does not work with new fxp/mii driver for me. How about: ifconfig fxp0 media 100basetx mediaopt half-duplex ? -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 10:52:29 2001 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 5969A37B405 for ; Thu, 13 Dec 2001 10:52:25 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBDIqNF70268; Thu, 13 Dec 2001 10:52:23 -0800 (PST) (envelope-from dillon) Date: Thu, 13 Dec 2001 10:52:23 -0800 (PST) From: Matthew Dillon Message-Id: <200112131852.fBDIqNF70268@apollo.backplane.com> To: Thomas Zenker Cc: stable@FreeBSD.ORG Subject: Re: TCP stack still hosed? References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> <20011213185153.A365@mezcal.tue.le> 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 Very interesting! Well, I'm glad you tracked it down. Hopefully the USB authors can solve the buffering issues. We don't want to change the default back to its old lower value because it completely kills performance over the more common ethernete interfaces. You can also try dropping your USB ethernet down from 100BaseT to 10BaseT (if it happens to be running at 100). Placing a 100BaseT ethernet on a USB connection has always seemed to be an oxymoron to me. I don't know why anyone even sells such a product. -Matt Matthew Dillon :On Thu, Dec 13, 2001 at 03:02:32AM -0800, Matthew Dillon wrote: :> If you do, we need tcpdumps of the test connection. Also, I recommend :> testing between two hosts with normal ethernet cards in them :> (i.e. not USB) as a double-check. :> :> -Matt :> Matthew Dillon :> : :the most impacting change is in tcp_usrreq.c :---------------------------- :revision 1.51.2.10 :date: 2001/11/30 19:54:05; author: alfred; state: Exp; lines: +3 -3 :MFC: 1.64 (larger default tcp send/recieve buffers) :---------------------------- : :It seems that the switch and/or the USB/ethernet adaptor is overrun :by the larger sendspace. So setting sysctl net.inet.tcp.xxxspace=16384 :on the USB/ethernet system solves the problem mostly. : :Thomas : : :-- Thomas Zenker : c/o Lennartz electronic GmbH : Bismarckstrasse 136, D-72072 Tuebingen, Germany : Phone: +49-(0)7071-93550 : Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 11:34:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 8950637B41B for ; Thu, 13 Dec 2001 11:34:44 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fBDJYfZ26083; Thu, 13 Dec 2001 11:34:41 -0800 Date: Thu, 13 Dec 2001 11:34:41 -0800 From: Brooks Davis To: Matthew Dillon Cc: Thomas Zenker , stable@FreeBSD.ORG Subject: Re: TCP stack still hosed? Message-ID: <20011213113441.D4987@Odin.AC.HMC.Edu> References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> <20011213185153.A365@mezcal.tue.le> <200112131852.fBDIqNF70268@apollo.backplane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IDYEmSnFhs3mNXr+" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112131852.fBDIqNF70268@apollo.backplane.com>; from dillon@apollo.backplane.com on Thu, Dec 13, 2001 at 10:52:23AM -0800 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 --IDYEmSnFhs3mNXr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 13, 2001 at 10:52:23AM -0800, Matthew Dillon wrote: > You can also try dropping your USB ethernet down from 100BaseT to 10B= aseT > (if it happens to be running at 100). Placing a 100BaseT ethernet > on a USB connection has always seemed to be an oxymoron to me. I don= 't > know why anyone even sells such a product. Well, I can tell you why I bought one. I got it because I was worried about the possiability of running into those stupid 100BaseT only hubs some of the cheap vendors were selling for a while. USB is only really good for adhoc network connections, IMO, so that's exactly the sort of environment where you'd tend to find devices without 10Mbps support. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --IDYEmSnFhs3mNXr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8GQLQXY6L6fI4GtQRAmlBAJ9igEQRZN6DANGSm1yH1zLu5edP4gCgqT2W 5V7Q8H3HXk0BGVYgKD6Vf4g= =4uH6 -----END PGP SIGNATURE----- --IDYEmSnFhs3mNXr+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 12:53:10 2001 Delivered-To: freebsd-stable@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id 020C437B416 for ; Thu, 13 Dec 2001 12:53:05 -0800 (PST) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.33 #1) id 16EcpU-0000TN-00; Thu, 13 Dec 2001 20:51:44 +0000 Date: Thu, 13 Dec 2001 20:51:44 +0000 From: Simon Dick To: Matthew Dillon Cc: Thomas Zenker , stable@FreeBSD.ORG Subject: Re: TCP stack still hosed? Message-ID: <20011213205144.GA1488@irrelevant.org> References: <20011213105451.A738@mezcal.tue.le> <200112131102.fBDB2WQ66827@apollo.backplane.com> <20011213185153.A365@mezcal.tue.le> <200112131852.fBDIqNF70268@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112131852.fBDIqNF70268@apollo.backplane.com> User-Agent: Mutt/1.3.24i 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, Dec 13, 2001 at 10:52:23AM -0800, Matthew Dillon wrote: > Very interesting! Well, I'm glad you tracked it down. Hopefully the > USB authors can solve the buffering issues. We don't want to change > the default back to its old lower value because it completely kills > performance over the more common ethernete interfaces. > > You can also try dropping your USB ethernet down from 100BaseT to 10BaseT > (if it happens to be running at 100). Placing a 100BaseT ethernet > on a USB connection has always seemed to be an oxymoron to me. I don't > know why anyone even sells such a product. I've had to get 100Mb USB once in order to plug my laptop into a 100Mb only switch where I worked, that's the only reason I see for them. -- Simon Dick simond@irrelevant.org "Why do I get this urge to go bowling everytime I see Tux?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 13:28:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id BD22A37B419 for ; Thu, 13 Dec 2001 13:28:29 -0800 (PST) Received: (qmail 9697 invoked by uid 1001); 13 Dec 2001 18:44:00 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15384.63216.190942.560961@zircon.zircon.seattle.wa.us> Date: Thu, 13 Dec 2001 10:44:00 -0800 To: John Polstra Cc: stable@freebsd.org Subject: Re: rtld-elf issues In-Reply-To: <200112131704.fBDH4aM14501@vashon.polstra.com> References: <15382.36337.945315.693398@zircon.zircon.seattle.wa.us> <200112131704.fBDH4aM14501@vashon.polstra.com> X-Mailer: VM 6.98 under Emacs 21.1.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 John Polstra writes: > In article <15382.36337.945315.693398@zircon.zircon.seattle.wa.us>, > Joe Kelsey wrote: > > What should rtld-elf do when asked to load an already loaded shared > > object? > > > > Currently, if you manually request loading of a shared object via > > dlopen, rtld-elf will recursively try to load any libraries that the > > shared object references. If the shared library references an already > > manually-loaded shared object, it still attempts to find the shared > > object via the various paths in effect at the time of the dlopen call. > > This is an unnecessary effort, since the module is already loaded, yet > > the search can fail and abort the program due to phantom dlopen errors. > > For every library it tries to load (including libraries specified by > dependencies), it first checks to see if it already has that exact > pathname loaded. If so, it just increments a reference count > without reloading the library. > > If there is no pathname match, it opens the library file found by > its usual search rules (but doesn't load it yet). Then it checks > the device and inode numbers against all currently loaded libraries > to see if the same file is already loaded by a different pathname. > If it finds a match it increments a reference count without > reloading the library. > > What do you think it should do? I admit that the situation is confusing. The problem arises because the Linux and Solaris programmers who created the Makefiles did not really understand the linking rules that need to be applied to shared objects, and, apparantly, the loaders on Linux and Solaris are much more forgiving than the loader on FreeBSD. > > Shouldn't the loader notice that libjvm.so is already mapped into the > > address space and skip checking for it on the disk? > > No, I don't think so. There could be any number of different > libraries named "libjvm.so". Without an absolute pathname, it can't > assume they're all the same. > > To get what you want, I think you might need to specify the > appropriate -rpath arguments when building the shared libraries. > Man ld(1) for details. The problem is that the actual location of libjvm.so *cannot* be determined at link time, only at runtime, so it is not possible to specify a valid -rpath value at link time. See my comment above about the legacy of lazy programmers not really understanding why or why not to list a shared object at link time rather than run time. This situation is very complex because Java is essentially designed to load what it needs when it needs it at run time. A Java program simply needs to pick the JVM it wants to start with from among the potentially large number of candidates and load it. The JVM then does all of the rest of the work of loading other libraries using a combination of LD_LIBRARY_PATH and CLASSPATH to find them (except for the thread library, usually a choice between green and native threads, also at run time). However, the Java internals only know how to load Java libraries. Therefore, and shared objects which reference other shared objects need to bring those shared objects along for the ride. The best way to do this is to reference them at link time and let the run time loader bring along the others. This leads to several nasty chicken-and-egg problems, especially when you consider the choice of native vs. green threads and the need to have different versions of libc! There is also a potentially nasty bug lurking due to the complex interrelationship between Motif and Xt, requiring that Motif be already loaded before the first Xt call, or else things do not work at all. The way the Java implementers dealt with this problem on Linux and Solaris is simply listing all libraries on link commands, regardless of whether or not they can be found at run time via LD_LIBRARY_PATH. The fact that libjvm.so is loaded manually before any other shared object references it is seemingly sufficient for the Linux and Solaris run time loaders to be satisfied that they have it and skip it during library searching and loading, regardless of absolute path issues. I do not have knowledge of the Linux or Solaris run time loaders, I only know that the shared objects apparantly load correctly on those platforms, but not on FreeBSD, due to this apparant reliance on absolute path names. I do not know what the other loaders do differently, so I have not suggestions about what to change, except that library name matching seems like a good fallback position when absolute path names don't work out. You could search through all of the paths available, and when it fails look for the library name in your list of already loaded libraries. Matching simply libjvm.so would work just fine in this specific case. It is more or less moot at this point, since I have changed all of the broken linker commands to remove unnecessary shared objects and prevent the problem in the future. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 14:20: 1 2001 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 276B337B405 for ; Thu, 13 Dec 2001 14:19:58 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBDMJws58894; Thu, 13 Dec 2001 14:19:58 -0800 (PST) (envelope-from dillon) Date: Thu, 13 Dec 2001 14:19:58 -0800 (PST) From: Matthew Dillon Message-Id: <200112132219.fBDMJws58894@apollo.backplane.com> To: freebsd-stable@freebsd.org Subject: HEADS UP! GENERIC/Kernel configs using maxusers of 0 will autosize but require new config binary. 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 simplified version of the maxusers auto-sizing has been MFCd but people need to be aware that to use it you need to update your kernel source AND recompile /usr/src/usr.sbin/config. If you use an old config with a kernel conf specifying a maxusers of 0 you will get a warning and maxusers will be forced to 8 by the old config binary. -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 Thu Dec 13 14:44:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from merlot.juniper.net (natint.juniper.net [207.17.136.129]) by hub.freebsd.org (Postfix) with ESMTP id C6E9037B405 for ; Thu, 13 Dec 2001 14:44:26 -0800 (PST) Received: from juniper.net (wency-bsd.juniper.net [172.17.12.237]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id fBDMiL662612; Thu, 13 Dec 2001 14:44:21 -0800 (PST) (envelope-from wency@juniper.net) Message-Id: <200112132244.fBDMiL662612@merlot.juniper.net> X-Mailer: exmh version 2.1.1 10/15/1999 To: stable@freebsd.org Cc: wency@juniper.net Subject: Installing over nfs Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Dec 2001 14:44:21 -0800 From: Wency Arzadon 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 sort of new to freebsd...and to this mailing list. I've been installing freebsd44 with source tree I downloaded. I know the files are compress and tar.. My question is I'm trying to modify the source that gets installed especially src/etc/* files. I know this can be many ways, and i tried modifying src/setc.aa setc.inf, along with the files in ..src/etc, but its not working. I'm using boot floppies, kernel, mfsroot, install.cfg, but its not installing the files i want, any pointers. Sorry for long email. .../4.4-RELEASE> ls ERRATA.HTM RELNOTES.HTM compat21 docbook.css ports ERRATA.TXT RELNOTES.TXT compat22 filename.txt proflibs HARDWARE.HTM XF86336 compat3x floppies src HARDWARE.TXT bin compat4x games src.org.bak INSTALL.HTM catpages crypto info stable-supfile INSTALL.TXT cdrom.inf dict kernel supfile.cvsup README.HTM compat1x distfiles manpages README.TXT compat20 doc packages Wency To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 14:45:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 0DDE037B41D for ; Thu, 13 Dec 2001 14:45:54 -0800 (PST) Received: (qmail 13135 invoked by uid 0); 13 Dec 2001 22:45:52 -0000 Received: from pd9e4b284.dip0.t-ipconnect.de (HELO rexp0tens.lang.home.net) (217.228.178.132) by mail.gmx.net (mp002-rz3) with SMTP; 13 Dec 2001 22:45:52 -0000 Received: from daniel by rexp0tens.lang.home.net with local (Exim 3.22 #1 (Debian)) id 16EecM-0000RN-00 for ; Thu, 13 Dec 2001 23:46:18 +0100 To: stable@FreeBSD.org Message-Id: From: Daniel Lang Date: Thu, 13 Dec 2001 23:46:18 +0100 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 Dec 13 14:46:23 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id AB7EC37B41B for ; Thu, 13 Dec 2001 14:46:13 -0800 (PST) Received: (qmail 22164 invoked by uid 0); 13 Dec 2001 22:46:12 -0000 Received: from pd9e4b284.dip0.t-ipconnect.de (HELO rexp0tens.lang.home.net) (217.228.178.132) by mail.gmx.net (mp001-rz3) with SMTP; 13 Dec 2001 22:46:12 -0000 Received: from daniel by rexp0tens.lang.home.net with local (Exim 3.22 #1 (Debian)) id 16Eecg-0000RT-00 for ; Thu, 13 Dec 2001 23:46:38 +0100 To: stable@FreeBSD.org Subject: subscribe Message-Id: From: Daniel Lang Date: Thu, 13 Dec 2001 23:46:38 +0100 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 Thu Dec 13 14:58:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 0C15237B417 for ; Thu, 13 Dec 2001 14:58:24 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011213225823.TNUC403.rwcrmhc52.attbi.com@bmah.dyndns.org>; Thu, 13 Dec 2001 22:58:23 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id fBDMwN342504; Thu, 13 Dec 2001 14:58:23 -0800 (PST) (envelope-from bmah) Message-Id: <200112132258.fBDMwN342504@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Wency Arzadon Cc: stable@FreeBSD.ORG Subject: Re: Installing over nfs In-Reply-To: <200112132244.fBDMiL662612@merlot.juniper.net> References: <200112132244.fBDMiL662612@merlot.juniper.net> Comments: In-reply-to Wency Arzadon message dated "Thu, 13 Dec 2001 14:44:21 -0800." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1717173135P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 13 Dec 2001 14:58:23 -0800 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 --==_Exmh_1717173135P Content-Type: text/plain; charset=us-ascii If memory serves me right, Wency Arzadon wrote: > I've been installing freebsd44 with source tree I downloaded. > > I know the files are compress and tar.. My question is I'm trying to > modify the source that gets installed especially src/etc/* files. I know > this can be many ways, and i tried modifying src/setc.aa setc.inf, along > with the files in ..src/etc, but its not working. > I'm using boot floppies, kernel, mfsroot, install.cfg, but its not > installing the files i want, any pointers. First, this question belongs on freebsd-questions, not freebsd-stable. If you're installing FreeBSD on a new machine, the files from the src distribution are only needed or used if you want to recompile some part of FreeBSD later. But they're not really a necessary part of getting the machine running, in the same way that the bin distribution is. I suggest that you take a look at the Installation chapter of the FreeBSD handbook, which can be found on the FreeBSD Web site: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html If you have any questions after that, you can send them to freebsd-questions@freebsd.org, but you'll need to be much more specific as to what you're trying to do and how. Saying "it doesn't install" doesn't give people enough information to help you. Good luck, Bruce. --==_Exmh_1717173135P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Exmh version 2.3.1+ 05/14/2001 iD8DBQE8GTKP2MoxcVugUsMRAlxXAKDy+POBCPQJa/VOLgo7HA283RSiggCeJ7ZP 19LBaE/UwAUIMxMjv+MGvV0= =jvkQ -----END PGP SIGNATURE----- --==_Exmh_1717173135P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 15:44: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from merlot.juniper.net (natint.juniper.net [207.17.136.129]) by hub.freebsd.org (Postfix) with ESMTP id 6DF4D37B416; Thu, 13 Dec 2001 15:43:50 -0800 (PST) Received: from juniper.net (love.englab.juniper.net [192.168.5.252]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id fBDNho665643; Thu, 13 Dec 2001 15:43:50 -0800 (PST) (envelope-from wency@juniper.net) Message-Id: <200112132343.fBDNho665643@merlot.juniper.net> X-Mailer: exmh version 2.1.1 10/15/1999 To: bmah@FreeBSD.ORG Cc: Wency Arzadon , stable@FreeBSD.ORG, wency@juniper.net Subject: Re: Installing over nfs In-Reply-To: Message from "Bruce A. Mah" of "Thu, 13 Dec 2001 14:58:23 PST." <200112132258.fBDMwN342504@bmah.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Dec 2001 15:43:50 -0800 From: Wency Arzadon 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 memory serves me right, Wency Arzadon wrote: > > > I've been installing freebsd44 with source tree I downloaded. > > > > I know the files are compress and tar.. My question is I'm trying to > > modify the source that gets installed especially src/etc/* files. I know > > this can be many ways, and i tried modifying src/setc.aa setc.inf, along > > with the files in ..src/etc, but its not working. > > I'm using boot floppies, kernel, mfsroot, install.cfg, but its not > > installing the files i want, any pointers. > > First, this question belongs on freebsd-questions, not freebsd-stable. Thanks, like i said i'm new to this mailing list and OS. > > If you're installing FreeBSD on a new machine, the files from the src > distribution are only needed or used if you want to recompile some part > of FreeBSD later. But they're not really a necessary part of getting > the machine running, in the same way that the bin distribution is. > > I suggest that you take a look at the Installation chapter of the > FreeBSD handbook, which can be found on the FreeBSD Web site: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html > > If you have any questions after that, you can send them to > freebsd-questions@freebsd.org, but you'll need to be much more specific > as to what you're trying to do and how. Saying "it doesn't install" > doesn't give people enough information to help you. > > Good luck, > > Bruce. Thanks for responding so quickly. Wency > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 16:11: 1 2001 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 4743537B41C for ; Thu, 13 Dec 2001 16:10:44 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id fBE0B4q37157; Thu, 13 Dec 2001 16:11:04 -0800 (PST) Date: Thu, 13 Dec 2001 16:11:04 -0800 (PST) From: Doug White To: Cc: Subject: Re: route add - ?? In-Reply-To: <200112122351.fBCNpFq30812@spidey.speakeasy.net> Message-ID: 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, 12 Dec 2001 qingli@speakeasy.net wrote: > netstat -r Could you use 'netstat -rn' instead of just -r? The names aren't too useful when they get chopped off. > ============ > Destination Gateway Flags Refs Use Netif Expire > default gateway-38 UGSc 59 0 ep0 > localhost localhost UH 1 713 lo0 > 147.11.38/24 link#6 UC 1 0 ep0 > gateway-38 0:0:c:7:ac:26 UHLW 58 0 ep0 575 > > Now I do > ======== > route add -net 192.103.54.0 64.81.55.1 It's usually customary to specify a netmask with -net, although not required. You can use CIDR net/mask syntax if you like. Is a /24 what you want? 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 Dec 13 17:15:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from c000.snv.cp.net (c000-h007.c000.snv.cp.net [209.228.32.71]) by hub.freebsd.org (Postfix) with SMTP id 1081337B416 for ; Thu, 13 Dec 2001 17:15:17 -0800 (PST) Received: (cpmta 5776 invoked from network); 13 Dec 2001 17:15:15 -0800 Received: from 144.137.51.88 (HELO ?10.0.0.2?) by smtp.nelsonnet.org (209.228.32.71) with SMTP; 13 Dec 2001 17:15:15 -0800 X-Sent: 14 Dec 2001 01:15:15 GMT Subject: Re: 4.4-STABLE crashes - suspects new ata-driver over wd-driver Date: Fri, 14 Dec 01 12:17:25 +1100 x-sender: neal@getmail.nelsonnet.org x-mailer: Claris Emailer 2.0, March 15, 1997 From: Neal To: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Message-Id: <20011214011517.1081337B416@hub.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 Wed, Dec 12, 2001 at 09:44:56PM +0200, Alex Popa wrote: > >> disk I/O and heavy network I/O (my initial crashes occured when someone >> was making a large backup over SMB to the server, at about 9M/s disk > >I can't really offer any sort of useful help on any part of this >problem, except for this: > >Quick poll: How many of you with this problem are running samba? > >-- >Bob | Please don't spill hot things on Bob. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > I'm not running Samba and I get the freeze then reboot problem. I do have Netatalk running mind you but it's rarely used. The problem only ever happens under disc load when I do a 'portsdb -Uu' command. I never used to get the problem but I can't quite recall when it started. It was definately after upgrading to 4.4 and to UDMA-100. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 18:13:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dan-home.dan.co.jp (dan-home.dan.co.jp [61.200.57.98]) by hub.freebsd.org (Postfix) with SMTP id EB66737B405 for ; Thu, 13 Dec 2001 18:13:10 -0800 (PST) Received: (qmail 85421 invoked from network); 14 Dec 2001 02:13:09 -0000 Received: from dhcp016.dan.intra (HELO ?172.16.0.16?) (172.16.0.16) by dan-home.dan.co.jp with SMTP; 14 Dec 2001 02:13:09 -0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Fri, 14 Dec 2001 11:13:17 +0900 Subject: rl driver panics w/ large file transfer (Was: Re: 4.4-STABLE crashes...) From: Dan Kogai To: Message-ID: In-Reply-To: <20011212214455.C10147@ldc.ro> Mime-version: 1.0 Content-type: text/plain; charset="ISO-2022-JP" 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 on 01.12.13 4:44 AM, Alex Popa at razor@ldc.ro wrote: > During the bonnie++ runs iostat showed some 22M/s activity on each disk, > so I am beginning to suspect there has to be a correlation between heavy > disk I/O and heavy network I/O (my initial crashes occured when someone > was making a large backup over SMB to the server, at about 9M/s disk > activity) in order to get the crashes. $B!!(JI had a similar simptom when I tried to backup a huge chunk of files (about 30GB) over NFS. The box panic seems to panic at random but it always crashed at the same point. > Dec 13 19:28:57 gm0 /kernel: Fatal trap 12: page fault while in kernel mode > Dec 13 19:28:57 gm0 /kernel: fault virtual address = 0x3a > Dec 13 19:28:57 gm0 /kernel: fault code = supervisor write, page not > present > Dec 13 19:28:57 gm0 /kernel: instruction pointer = 0x8:0xc02d1c56 > Dec 13 19:28:57 gm0 /kernel: stack pointer = 0x10:0xc03a5974 > Dec 13 19:28:57 gm0 /kernel: frame pointer = 0x10:0xc03a5a14 > Dec 13 19:28:57 gm0 /kernel: code segment = base 0x0, limit > 0xfffff, type 0x1b > Dec 13 19:28:57 gm0 /kernel: = DPL 0, pres 1, def32 1, gran 1 > Dec 13 19:28:57 gm0 /kernel: processor eflags = interrupt enabled, resume, > IOPL = 0 > Dec 13 19:28:57 gm0 /kernel: current process = Idle > Dec 13 19:28:57 gm0 /kernel: interrupt mask = net tty > Dec 13 19:28:57 gm0 /kernel: trap number = 12 > Dec 13 19:28:57 gm0 /kernel: panic: page fault I checked the disk, I check the source. I tried both 4.4-RELEASE kernel and 4.4-STABLE. Same result. In a desperate search I changed the NIC from on-baord rl to vr card and voila! it's gone! It seems that rl crashes when the throughput passes 20MBps or 20% of theoretical max. Well, the source says rl sucks as follows. /* * The RealTek 8139 PCI NIC redefines the meaning of 'low end.' This is * probably the worst PCI ethernet controller ever made, with the possible * exception of the FEAST chip made by SMC. The 8139 supports bus-master * DMA, but it has a terrible interface that nullifies any performance * gains that bus-master DMA usually offers. * [snip] */ So I said no wonder but I still hate to see the panic in the middle of large file transfer and long fsck to come. You should rather choke the throughput instead.... Dan the Man with too Many NICs to deal with -- _____ Dan Kogai __/ ____ CEO, DAN co. ltd. /__ /-+-/ 2-8-14-418 Shiomi Koto-ku Tokyo 135-0052 Japan /--/--- mailto: dankogai@dan.co.jp / http://www.dan.co.jp/ --------- __/ / Tel:+81 3-5665-6131 Fax:+81 3-5665-6132 PGP Key: http://www.dan.co.jp/~dankogai/dankogai.pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 19:58:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tensor.xs4all.nl (tensor.xs4all.nl [213.84.53.200]) by hub.freebsd.org (Postfix) with ESMTP id D656B37B416 for ; Thu, 13 Dec 2001 19:58:41 -0800 (PST) Received: from kilgore.xs4all.nl (kilgore.xs4all.nl [192.168.1.3]) by tensor.xs4all.nl (Postfix) with ESMTP id 12C1E3E38; Fri, 14 Dec 2001 04:58:40 +0100 (CET) Date: Fri, 14 Dec 2001 04:58:27 +0100 From: Dimitry Andric X-Mailer: The Bat! (v1.54 Beta/15) Business Reply-To: Dimitry Andric X-Priority: 3 (Normal) Message-ID: <16453339468.20011214045827@xs4all.nl> To: David Greenman Cc: Sergey Matveychuk , Jonathan Lemon , freebsd-stable@FreeBSD.ORG Subject: Re[2]: fxp half-duplex problemm In-Reply-To: <20011213102230.A75383@nexus.root.com> References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> <002901c183c9$659763d0$0a2da8c0@sem> <20011213102230.A75383@nexus.root.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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2001-12-13 at 19:22:30 David Greenman wrote: DG> How about: DG> ifconfig fxp0 media 100basetx mediaopt half-duplex That will give you "ifconfig: SIOCSIFMEDIA: Device not configured", because this mediaopt option is not (no longer?) supported for fxp(4). By NOT specifying any mediaopt option, you specify half-duplex implicitly. Or you can `subtract' the full-duplex option with "-mediaopt full-duplex", as stated earlier. At the moment there are some NICs (fxp, xl, etc) that have this way of specifying half/full-duplex, and some others --not sure which-- don't, so these have an explicit "half-duplex" mediaopt. The man pages don't always agree with reality, however... :( Cheers, - -- Dimitry Andric PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh ner abj va ivbyngvba bs gur QZPN -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i Comment: http://www.gn.apc.org/duncan/stoa_cover.htm iQA/AwUBPBlq37BeowouIJajEQId4QCfQtYVs4kxr9Xbd8DXX2p0fX2Lf1cAoOW2 JN5yz90YkVPoVtMnvEQ5ZrMs =45Ke -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 20: 9: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 0766437B405 for ; Thu, 13 Dec 2001 20:09:01 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fBE40ki78977; Thu, 13 Dec 2001 20:00:46 -0800 (PST) (envelope-from dg) Date: Thu, 13 Dec 2001 20:00:46 -0800 From: David Greenman To: Dimitry Andric Cc: Sergey Matveychuk , Jonathan Lemon , freebsd-stable@FreeBSD.ORG Subject: Re: fxp half-duplex problemm Message-ID: <20011213200046.A78956@nexus.root.com> References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> <002901c183c9$659763d0$0a2da8c0@sem> <20011213102230.A75383@nexus.root.com> <16453339468.20011214045827@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16453339468.20011214045827@xs4all.nl>; from dim@xs4all.nl on Fri, Dec 14, 2001 at 04:58:27AM +0100 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 PGP SIGNED MESSAGE----- >Hash: SHA1 > >On 2001-12-13 at 19:22:30 David Greenman wrote: > >DG> How about: > >DG> ifconfig fxp0 media 100basetx mediaopt half-duplex > >That will give you "ifconfig: SIOCSIFMEDIA: Device not configured", >because this mediaopt option is not (no longer?) supported for fxp(4). I would consider that a bug. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 20:22:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tensor.xs4all.nl (tensor.xs4all.nl [213.84.53.200]) by hub.freebsd.org (Postfix) with ESMTP id 3557537B417 for ; Thu, 13 Dec 2001 20:22:33 -0800 (PST) Received: from kilgore.xs4all.nl (kilgore.xs4all.nl [192.168.1.3]) by tensor.xs4all.nl (Postfix) with ESMTP id EB78B3E38; Fri, 14 Dec 2001 05:22:31 +0100 (CET) Date: Fri, 14 Dec 2001 05:22:24 +0100 From: Dimitry Andric X-Mailer: The Bat! (v1.54 Beta/15) Business Reply-To: Dimitry Andric X-Priority: 3 (Normal) Message-ID: <18354777165.20011214052224@xs4all.nl> To: David Greenman Cc: Sergey Matveychuk , Jonathan Lemon , freebsd-stable@FreeBSD.ORG Subject: Re: fxp half-duplex problemm In-Reply-To: <20011213200046.A78956@nexus.root.com> References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> <002901c183c9$659763d0$0a2da8c0@sem> <20011213102230.A75383@nexus.root.com> <16453339468.20011214045827@xs4all.nl> <20011213200046.A78956@nexus.root.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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2001-12-14 at 05:00:46 David Greenman wrote: >>That will give you "ifconfig: SIOCSIFMEDIA: Device not configured", >>because this mediaopt option is not (no longer?) supported for fxp(4). DG> I would consider that a bug. Well, in the case of fxp(4), the man page is quite clear: The fxp driver supports the following media options: full-duplex Set full duplex operation (end of list) It doesn't really make sense to have separate options for half and full duplex, because they are mutually exclusive anyway. So one of them was dropped. I'm not sure, but it seems to be the case with all NIC drivers using the common miibus code. Cheers, - -- Dimitry Andric PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh ner abj va ivbyngvba bs gur QZPN -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i Comment: http://www.gn.apc.org/duncan/stoa_cover.htm iQA/AwUBPBlwd7BeowouIJajEQLq7QCdEHn20kFde6UgdVK5trNsuV9SeuYAnjEn 6qJ4wFrGy6vqd9sNegF0c98L =5Ft5 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 20:29:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 216A237B41B for ; Thu, 13 Dec 2001 20:29:18 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id fBE4L6a79198; Thu, 13 Dec 2001 20:21:06 -0800 (PST) (envelope-from dg) Date: Thu, 13 Dec 2001 20:21:06 -0800 From: David Greenman To: Dimitry Andric Cc: Sergey Matveychuk , Jonathan Lemon , freebsd-stable@FreeBSD.ORG Subject: Re: fxp half-duplex problemm Message-ID: <20011213202106.B78956@nexus.root.com> References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> <002901c183c9$659763d0$0a2da8c0@sem> <20011213102230.A75383@nexus.root.com> <16453339468.20011214045827@xs4all.nl> <20011213200046.A78956@nexus.root.com> <18354777165.20011214052224@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18354777165.20011214052224@xs4all.nl>; from dim@xs4all.nl on Fri, Dec 14, 2001 at 05:22:24AM +0100 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, in the case of fxp(4), the man page is quite clear: > > The fxp driver supports the following media options: > > full-duplex Set full duplex operation > >(end of list) > >It doesn't really make sense to have separate options for half and >full duplex, because they are mutually exclusive anyway. So one of >them was dropped. I'm not sure, but it seems to be the case with all >NIC drivers using the common miibus code. I agree that the two options are mutually exclusive, but I don't agree that it doesn't make sense to have both. It's not clear if there is a default or what it defaults to or when such a default is relevant. There needs to be a "half-duplex" option to make this explicitly clear in the configuration. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 20:49:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vimfuego.saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id 6553D37B416 for ; Thu, 13 Dec 2001 20:49:14 -0800 (PST) Received: from [192.168.1.10] (helo=den2) by vimfuego.saarinen.org with esmtp (Exim 3.33 #1 (Red Hack)) id 16EkH5-0003Mh-00; Fri, 14 Dec 2001 17:48:43 +1300 Date: Fri, 14 Dec 2001 17:48:43 +1300 (New Zealand Daylight Time) From: Juha Saarinen To: David Greenman Cc: Dimitry Andric , Sergey Matveychuk , Jonathan Lemon , "freebsd-stable@FreeBSD.ORG" Subject: Re: fxp half-duplex problemm In-Reply-To: <20011213202106.B78956@nexus.root.com> Message-ID: X-X-Sender: juha@vimfuego.saarinen.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 Thu, 13 Dec 2001, David Greenman wrote: > There needs to be a "half-duplex" option to make this explicitly > clear in the configuration. It's a bit pendatic, really, but surely it should be "simplex" and not "half-duplex"? -- Juha Take off every sig! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 20:54:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 20A5D37B419 for ; Thu, 13 Dec 2001 20:54:09 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fBE4rmo14358; Thu, 13 Dec 2001 20:53:48 -0800 Date: Thu, 13 Dec 2001 20:53:48 -0800 From: Brooks Davis To: Juha Saarinen Cc: David Greenman , Dimitry Andric , Sergey Matveychuk , Jonathan Lemon , "freebsd-stable@FreeBSD.ORG" Subject: Re: fxp half-duplex problemm Message-ID: <20011213205348.A13483@Odin.AC.HMC.Edu> References: <20011213202106.B78956@nexus.root.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from juha@saarinen.org on Fri, Dec 14, 2001 at 05:48:43PM +1300 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 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 14, 2001 at 05:48:43PM +1300, Juha Saarinen wrote: > On Thu, 13 Dec 2001, David Greenman wrote: >=20 > > There needs to be a "half-duplex" option to make this explicitly > > clear in the configuration. >=20 > It's a bit pendatic, really, but surely it should be "simplex" and not > "half-duplex"? The option name is half-duplex. However, if you read the ifmedia manpage in NetBSD (which we should import) they state that you should never mediaopts for say, full-duplex and half-duplex on the same device. Options are only there to represent non-default states which in ethernet is full-duplex, at least from a theoretical perspective. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8GYXcXY6L6fI4GtQRAsyfAKDM6g94UGh/pBUyjgeL++syn5HW0wCgxwA8 FcJkt+AH5pAuDpFT2IA4FjI= =6Q8G -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 20:54:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tensor.xs4all.nl (tensor.xs4all.nl [213.84.53.200]) by hub.freebsd.org (Postfix) with ESMTP id 69A6537B405 for ; Thu, 13 Dec 2001 20:54:51 -0800 (PST) Received: from kilgore.xs4all.nl (kilgore.xs4all.nl [192.168.1.3]) by tensor.xs4all.nl (Postfix) with ESMTP id 474F13E38; Fri, 14 Dec 2001 05:54:49 +0100 (CET) Date: Fri, 14 Dec 2001 05:54:29 +0100 From: Dimitry Andric X-Mailer: The Bat! (v1.54 Beta/15) Business Reply-To: Dimitry Andric X-Priority: 3 (Normal) Message-ID: <3656702083.20011214055429@xs4all.nl> To: David Greenman Cc: Sergey Matveychuk , Jonathan Lemon , freebsd-stable@FreeBSD.ORG Subject: Re: fxp half-duplex problemm In-Reply-To: <20011213202106.B78956@nexus.root.com> References: <200112122035.fBCKZBJ62726@prism.flugsvamp.com> <002901c183c9$659763d0$0a2da8c0@sem> <20011213102230.A75383@nexus.root.com> <16453339468.20011214045827@xs4all.nl> <20011213200046.A78956@nexus.root.com> <18354777165.20011214052224@xs4all.nl> <20011213202106.B78956@nexus.root.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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2001-12-14 at 05:21:06 David Greenman wrote: >>It doesn't really make sense to have separate options for half and >>full duplex, because they are mutually exclusive anyway. So one of >>them was dropped. I'm not sure, but it seems to be the case with all >>NIC drivers using the common miibus code. DG> I agree that the two options are mutually exclusive, but I don't agree DG> that it doesn't make sense to have both. It's not clear if there is a default DG> or what it defaults to or when such a default is relevant. There needs to DG> be a "half-duplex" option to make this explicitly clear in the configuration. I tend to agree with that, it would seem better to have it more explicit, or at least consistent between all NIC drivers. At the moment, however, it isn't, at least on -STABLE (don't have a -CURRENT box here to check atm): dim@tensor:/usr/src/sys/dev/mii% ls *.c acphy.c exphy.c mlphy.c qsphy.c xmphy.c amphy.c inphy.c nsgphy.c rlphy.c brgphy.c lxtphy.c nsphy.c tlphy.c dcphy.c mii.c pnaphy.c ukphy.c e1000phy.c mii_physubr.c pnphy.c ukphy_subr.c dim@tensor:/usr/src/sys/dev/mii% grep -l IFM_HDX *.c amphy.c brgphy.c e1000phy.c nsgphy.c xmphy.c So in this directory, there are quite a few phy drivers which don't support the IFM_HDX option (needed for mediaopt half-duplex). I'm unsure if these inconsistencies were by design, but I guess not. :) Btw, almost all of the files which DO support IFM_HDX were written by Bill Paul, so that's probably why they share this property. Cheers, - -- Dimitry Andric PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh ner abj va ivbyngvba bs gur QZPN -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i Comment: http://www.gn.apc.org/duncan/stoa_cover.htm iQA/AwUBPBl3+7BeowouIJajEQKbZwCgipajGcG5iYPqox7u6fkHOtcPNqgAoKa9 F0tTOx43xzTaY7ULdtGyP+sP =0tIF -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 21: 7:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id E996837B417 for ; Thu, 13 Dec 2001 21:07:09 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id fBE573Z89921; Fri, 14 Dec 2001 00:07:03 -0500 (EST) (envelope-from wollman) Date: Fri, 14 Dec 2001 00:07:03 -0500 (EST) From: Garrett Wollman Message-Id: <200112140507.fBE573Z89921@khavrinen.lcs.mit.edu> To: juha@saarinen.org Subject: Re: fxp half-duplex problemm In-Reply-To: <20011214044937$6fe9@traf.lcs.mit.edu> References: <20011213202106.B78956@nexus.root.com> Organization: MIT Laboratory for Computer Science Cc: 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 In article <20011214044937$6fe9@traf.lcs.mit.edu> you write: >It's a bit pendatic, really, but surely it should be "simplex" and not >"half-duplex"? No. ``Simplex'' means ``only one direction''. (The network interface flags get this wrong: IFF_SIMPLEX means ``can't hear myself talking''; this flag should have been called something different, as it is independent of the duplexity of a multiple-access medium.) ``Half-duplex'' is bidirectional communication where senders must take turns (e.g., all of the original IEEE 802 MAC layers), and obviously ``full-duplex'' is bidirectional communications without sender timing constraints.[1] We speak of TCP as being ``dual-simplex'', and not ``full-duplex'', because it provides two logically-independent one-way channels. Unfortunately, the designers of some protocols that sit on top of TCP did not understand this. (IIRC, TP, OSI's transport layer, is duplex.) -GAWollman [1] At least, I don't think a slotted bus could ever be full duplex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 22: 4:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from chen.org.nz (tnt1-167.quicksilver.net.nz [202.89.142.167]) by hub.freebsd.org (Postfix) with ESMTP id A1D9137B405 for ; Thu, 13 Dec 2001 22:04:07 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id fBE65No05837; Fri, 14 Dec 2001 19:05:23 +1300 (NZDT) (envelope-from jonc) Date: Fri, 14 Dec 2001 19:05:20 +1300 From: Jonathan Chen To: Ian Chilton Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ssh/telnet problem after going to freebsd-stable Message-ID: <20011214190520.B5480@grimoire.chen.org.nz> References: <20011213174817.A22935@woody.ichilton.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011213174817.A22935@woody.ichilton.co.uk>; from ian@ichilton.co.uk on Thu, Dec 13, 2001 at 05:48:17PM +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 On Thu, Dec 13, 2001 at 05:48:17PM +0000, Ian Chilton wrote: > Hello, > > * Not subscribed - please cc replies to ian@ichilton.co.uk ** > > > I just went from 4.3-release to freebsd-stable. Upgraded userland, then > kernel then ran mergemaster and rebooted. > > Now I can ping the box but telnet gives: > telnet: Unable to connect to remote host: Connection refused Recently, telnetd, ftpd have been disabled in /etc/inetd.conf. Check what it says in your config. -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Thu Dec 13 22:39: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from iitkgp.iitkgp.ernet.in (iitkgp.iitkgp.ernet.in [203.197.98.10]) by hub.freebsd.org (Postfix) with ESMTP id DFBDB37B416; Thu, 13 Dec 2001 22:38:46 -0800 (PST) Received: from cse.iitkgp.ernet.in (IDENT:root@cse.iitkgp.ernet.in [144.16.192.57]) by iitkgp.iitkgp.ernet.in (8.9.3/8.9.3) with ESMTP id CAA16780; Fri, 14 Dec 2001 02:06:38 -0500 (GMT) Received: (from brucem@localhost) by cse.iitkgp.ernet.in (8.11.0/8.8.7) id fBE6jsm06509; Fri, 14 Dec 2001 12:15:54 +0530 Date: Fri, 14 Dec 2001 12:15:54 +0530 From: Bruce Montague Message-Id: <200112140645.fBE6jsm06509@cse.iitkgp.ernet.in> To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: sound/pci/ich drvr hang on Dell OptiPlex 150 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 Two solid problems occur with the sound/pci/ich driver for the ICH2 (Intel 82801BA I/O Controller Hub) on Dell Optiplex 150 PCs. One problem (a fatal hang) occurs under 4.4-RELEASE, 4.4-STABLE, and 5.0-CURRENT (as of yesterday). I have a temporary fix for the fatal hang, but don't claim to understand the Intel ICH2 enough to know if it is "universal" (e.g., the right thing.). I doubt it's comprehensive enough. Problems: 1) Systems hang on boot (perhaps half the time) due to a never-cleared interrupt condition. The audio device sometimes comes up with an initial error condition (X_SR_DCH); this interrupt is never "dismissed/cleared" by the ich_intr() interrupt handler; ich_intr() livelocks (runs constantly). I have a quick ugly work-around fix (listed below) for this. Maybe the real fix would involve the device init routine. 2) Microphone input doesn't work, the error "pcm0: record interrupt timeout, channel dead" always occurs (it doesn't look like any channel other than PCM_PLAY is ever even triggered in the 4.4-RELEASE or 4.4-STABLE code). The microphone works OK in 5.0-CURRENT. This problem is just due to the phase-in of the features in the sound/pci/ich driver code and appears to be expected behavior when looked at long enough... The hang-on boot problem is potentially serious because it is difficult to identify and precludes unattended reboot (in normal use one can just attempt reboot until the device comes up without the DCH error, i.e., "clean"). Here is how I kludge/fixed the hang on boot problem (again, I'm not claiming this is the "right" fix, but the systems have never hung on boot with it in, and without it they hang about half to a third the time). =========================================== /*--- BRM ---*/ void ich_err_reset( struct sc_info *sc, struct sc_chinfo *ch, int i ); void ich_err_reset( struct sc_info *sc, struct sc_chinfo *ch, int i ) { u_int32_t gc,gs; gc = ich_rd(sc, ICH_REG_GLOB_CNT, 2); /* printf( " GC=%x ", gc ); */ if( gc & ICH_GLOB_CTL_PRES ) { gs = ich_rd(sc, ICH_REG_GLOB_STA, 2); /* printf( " GS=%x ", gs ); */ ich_wr( sc, ICH_REG_GLOB_STA, gs, 2 ); } } /*--- End BRM ---*/ static void ich_intr(void *p) { struct sc_info *sc = (struct sc_info *)p; struct sc_chinfo *ch; u_int32_t cbi, lbi, lvi, st; int i; for (i = 0; i < 3; i++) { ch = &sc->ch[i]; /* check channel status */ st = ich_rd(sc, ch->regbase + ICH_REG_X_SR, 2); #if 1 /*--- BRM ---*/ if( st & (ICH_X_SR_FIFOE | ICH_X_SR_DCH ) ) { ich_err_reset( sc, ch, i ); /* printf( "ER!" ); */ } /*--- end BRM ---*/ #endif ...etc.... =========================================== This checks the ICH_REG_X_DCH (DMA Controller Halted) bit. If this error bit is set, a read of the Global control reg is done to see if a "primary resume" interrupt is pending; if so a read/write of the global status reg seems to clear the interrupt... Other than checking for FIFO overrun, this interrupt handler appears to do no error checking, so when the device comes up with DMA Halted condition asserted a livelock hang occurs... (I'm not sure I even know what a "primary resume" interrupt on the audio ICH device is, although it sounds maybe like an interesting corner case; apologies for lack of time to slowly RTFM :) =============== 5.0-CURRENT ============================ >uname -a FreeBSD dellcur 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Dec 13 16:47:16 IST 2001 root@:/usr/obj/usr/src/sys/GENERIC i386 >cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xdc40 irq 10 bufsz 16384 (1p/2r/0v channels duplex default) >dmesg | egrep irq agp0: mem 0xff000000-0xff07ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xfdfffc00-0xfdfffc7f irq 11 at device 12.0 on pci1 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xff80-0xff9f irq 11 at device 31.2 on pci0 uhci1: port 0xff60-0xff7f irq 11 at device 31.4 on pci0 pcm0: port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio1 port 0x2f8-0x2ff irq 3 on acpi0 ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ================ 4.4-STABLE ===================== >uname -a FreeBSD dell2 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Dec 11 11:37:12 IST 2001 root@dell2:/usr/src/sys/compile/DELL2 i386 >cat /dev/sndstat FreeBSD Audio Driver (newpcm) Dec 11 2001 11:36:46 Installed devices: pcm0: at io 0xd800, 0xdc40 irq 10 (1p/2r/0v channels duplex) >dmesg | grep irq agp0: mem 0xff000000-0xff07ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xfdfffc00-0xfdfffc7f irq 11 at device 12.0 on pci1 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xff80-0xff9f irq 11 at device 31.2 on pci0 pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 10 uhci1: port 0xff60-0xff7f irq 11 at device 31.4 on pci0 pcm0: port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio1 at port 0x2f8-0x2ff irq 3 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 - bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 0:11: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id CA6A437B419 for ; Fri, 14 Dec 2001 00:11:00 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fBE8Axa94586; Fri, 14 Dec 2001 01:11:00 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fBE8AwM51118; Fri, 14 Dec 2001 01:10:59 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200112140810.fBE8AwM51118@harmony.village.org> To: Greg Black Subject: Re: Panic at start of install 4.4-R Cc: stable@FreeBSD.ORG In-reply-to: Your message of "Fri, 30 Nov 2001 16:28:37 +1000." References: Date: Fri, 14 Dec 2001 01:10:58 -0700 From: Warner Losh 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 the late reply, but I've been gone a week and a half in Japan and didn't see this until now. In message Greg Black writes: : I have no way of going back before the panic messages, but the : final stuff on the screen (typed by hand) is: For some reason, the machine isn't liking how we're doing PCI interrupt routing for the cardbus bridge. Try breaking into the boot loader (where it gives you the countdown) and say set hw.pcic.intr_route=1 set hw.pcic.irq=0 This will force ISA interrupt routing. You will also need to add these two lines w/o the set in front to /boot/loader.conf once you get the system installed. You will also have to then pick good IRQs to use with the system. If by chance you are in/near Boulder Colorado, I'd like access to this machine for a few hours to try to fix the underlying problem. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 0:19: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A14C737B405 for ; Fri, 14 Dec 2001 00:19:01 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fBE8J0a94598; Fri, 14 Dec 2001 01:19:00 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fBE8IxM51141; Fri, 14 Dec 2001 01:18:59 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200112140818.fBE8IxM51141@harmony.village.org> To: Peter Jeremy Subject: Re: 4-STABLE on 386? Cc: Dennis Mathiasen , freebsd-stable@freebsd.org In-reply-to: Your message of "Mon, 03 Dec 2001 08:28:56 +1100." <20011203082856.G910@gsmx07.alcatel.com.au> References: <20011203082856.G910@gsmx07.alcatel.com.au> Date: Fri, 14 Dec 2001 01:18:59 -0700 From: Warner Losh 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 <20011203082856.G910@gsmx07.alcatel.com.au> Peter Jeremy writes: : On Wed, Nov 28, 2001 at 11:24:14AM -0500, Dennis Mathiasen wrote: : >Is it possible to install 4-STABLE on a 386DX with 8 Meg of memory? : : AFAIK, no. The 4.4-RELEASE CD states 16MB - most of this is because : the installation filesystem is an MFS unpacked off the floppy. Once : you've installed the system, it'll run in 8MB. Your options would : seem to be: I found that 12M on a pc98 machine was too little to do the 4.4 install on it. However, I was able to just squeek by when I built a massively trimmed kernel. The 8M RAM machine was a lost cause. I wound up getting more RAM for these machines on my last trip to Japan so I could install FreeBSD on them. The 8M RAM machine did work OK with a disk I'd installed on another machine. # Maybe I have too many pc98 machine. Certainly the largest # collection outside Japan with 3 laptops :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 0:20:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id CCA7337B417 for ; Fri, 14 Dec 2001 00:20:33 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fBE8KWa94624; Fri, 14 Dec 2001 01:20:32 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fBE8KWM51177; Fri, 14 Dec 2001 01:20:32 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200112140820.fBE8KWM51177@harmony.village.org> To: Peter Jeremy Subject: Re: 4-STABLE on 386? Cc: Dennis Mathiasen , freebsd-stable@freebsd.org In-reply-to: Your message of "Mon, 03 Dec 2001 08:28:56 +1100." <20011203082856.G910@gsmx07.alcatel.com.au> References: <20011203082856.G910@gsmx07.alcatel.com.au> Date: Fri, 14 Dec 2001 01:20:32 -0700 From: Warner Losh 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 P.S. I should note a 5th option the Peter's suggestions. Build as tiny a kernel as you can, put that onto the kern.flp disk. This may give you just enough extra memory to do the install. But with 8M, maybe you are out of luck. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 2:50:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from www.angdatingdaan.com (angdatingdaan.com [210.16.24.27]) by hub.freebsd.org (Postfix) with SMTP id 6E78637B416 for ; Fri, 14 Dec 2001 02:50:07 -0800 (PST) Received: (qmail 2862 invoked from network); 14 Dec 2001 10:50:07 -0000 Received: from unknown (HELO ws1) (210.16.21.22) by angdatingdaan.com with SMTP; 14 Dec 2001 10:50:07 -0000 Message-ID: <001901c1848c$a3d24980$161510d2@ws1> From: "Jett Tayer" To: "Jonathan Chen" , "Ian Chilton" Cc: References: <20011213174817.A22935@woody.ichilton.co.uk> <20011214190520.B5480@grimoire.chen.org.nz> Subject: Re: ssh/telnet problem after going to freebsd-stable Date: Fri, 14 Dec 2001 18:46:48 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 how did u run mergemaster? maybe telnetd definition in /etc/inetd.conf when you ran mergemaster. pls check your configs. Jett Tayer MQSeries / Websphere Group ----- Original Message ----- From: "Jonathan Chen" To: "Ian Chilton" Cc: Sent: Friday, December 14, 2001 2:05 PM Subject: Re: ssh/telnet problem after going to freebsd-stable > On Thu, Dec 13, 2001 at 05:48:17PM +0000, Ian Chilton wrote: > > Hello, > > > > * Not subscribed - please cc replies to ian@ichilton.co.uk ** > > > > > > I just went from 4.3-release to freebsd-stable. Upgraded userland, then > > kernel then ran mergemaster and rebooted. > > > > Now I can ping the box but telnet gives: > > telnet: Unable to connect to remote host: Connection refused > > Recently, telnetd, ftpd have been disabled in /etc/inetd.conf. Check > what it says in your config. > -- > Jonathan Chen > ---------------------------------------------------------------------- > "Beer. Now there's a temporary solution." > - Homer Simpson > > 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 Dec 14 2:53:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from www.angdatingdaan.com (angdatingdaan.com [210.16.24.27]) by hub.freebsd.org (Postfix) with SMTP id B51B537B416 for ; Fri, 14 Dec 2001 02:53:19 -0800 (PST) Received: (qmail 2917 invoked from network); 14 Dec 2001 10:53:26 -0000 Received: from unknown (HELO ws1) (210.16.21.22) by angdatingdaan.com with SMTP; 14 Dec 2001 10:53:26 -0000 Message-ID: <001f01c1848d$1abe2a50$161510d2@ws1> From: "Jett Tayer" To: "Jett Tayer" , "Jonathan Chen" , "Ian Chilton" Cc: References: <20011213174817.A22935@woody.ichilton.co.uk> <20011214190520.B5480@grimoire.chen.org.nz> <001901c1848c$a3d24980$161510d2@ws1> Subject: Re: ssh/telnet problem after going to freebsd-stable Date: Fri, 14 Dec 2001 18:50:11 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 correction.. sorry how did u run mergemaster? > maybe /etc/inetd.conf was overwritten when you ran mergemaster. pls check your configs and telnetd definition is commented . > ----- Original Message ----- From: "Jett Tayer" To: "Jonathan Chen" ; "Ian Chilton" Cc: Sent: Friday, December 14, 2001 6:46 PM Subject: Re: ssh/telnet problem after going to freebsd-stable > how did u run mergemaster? > maybe telnetd definition in /etc/inetd.conf when you ran mergemaster. pls > check your configs. > > Jett Tayer > MQSeries / Websphere Group > > ----- Original Message ----- > From: "Jonathan Chen" > To: "Ian Chilton" > Cc: > Sent: Friday, December 14, 2001 2:05 PM > Subject: Re: ssh/telnet problem after going to freebsd-stable > > > > On Thu, Dec 13, 2001 at 05:48:17PM +0000, Ian Chilton wrote: > > > Hello, > > > > > > * Not subscribed - please cc replies to ian@ichilton.co.uk ** > > > > > > > > > I just went from 4.3-release to freebsd-stable. Upgraded userland, then > > > kernel then ran mergemaster and rebooted. > > > > > > Now I can ping the box but telnet gives: > > > telnet: Unable to connect to remote host: Connection refused > > > > Recently, telnetd, ftpd have been disabled in /etc/inetd.conf. Check > > what it says in your config. > > -- > > Jonathan Chen > > ---------------------------------------------------------------------- > > "Beer. Now there's a temporary solution." > > - Homer Simpson > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 4:17:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id C808437B417; Fri, 14 Dec 2001 04:17:28 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id fBECHIB97653; Fri, 14 Dec 2001 13:17:18 +0100 (CET) (envelope-from stijn) Date: Fri, 14 Dec 2001 13:17:18 +0100 From: Stijn Hoop To: Bruce Montague Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sound/pci/ich drvr hang on Dell OptiPlex 150 Message-ID: <20011214131718.B97466@pcwin002.win.tue.nl> References: <200112140645.fBE6jsm06509@cse.iitkgp.ernet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112140645.fBE6jsm06509@cse.iitkgp.ernet.in>; from brucem@cse.iitkgp.ernet.in on Fri, Dec 14, 2001 at 12:15:54PM +0530 X-Bright-Idea: Let's abolish HTML 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 Hi, On Fri, Dec 14, 2001 at 12:15:54PM +0530, Bruce Montague wrote: > Two solid problems occur with the sound/pci/ich > driver for the ICH2 (Intel 82801BA I/O Controller > Hub) on Dell Optiplex 150 PCs. One problem > (a fatal hang) occurs under 4.4-RELEASE, > 4.4-STABLE, and 5.0-CURRENT (as of yesterday). > > I have a temporary fix for the fatal hang, > but don't claim to understand the Intel ICH2 > enough to know if it is "universal" (e.g., > the right thing.). I doubt it's comprehensive > enough. Problems: > > 1) Systems hang on boot (perhaps half the > time) due to a never-cleared interrupt > condition. The audio device sometimes > comes up with an initial error condition > (X_SR_DCH); this interrupt is never > "dismissed/cleared" by the ich_intr() > interrupt handler; ich_intr() livelocks > (runs constantly). I have a quick ugly > work-around fix (listed below) for this. > Maybe the real fix would involve the device > init routine. Cool! This may be a fix for PR kern/29769. > 2) Microphone input doesn't work, the error > "pcm0: record interrupt timeout, channel dead" > always occurs (it doesn't look like any > channel other than PCM_PLAY is ever even > triggered in the 4.4-RELEASE or 4.4-STABLE > code). The microphone works OK in 5.0-CURRENT. > This problem is just due to the phase-in > of the features in the sound/pci/ich driver > code and appears to be expected behavior > when looked at long enough... I haven't tested my microphone input yet. > The hang-on boot problem is potentially serious > because it is difficult to identify and > precludes unattended reboot (in normal use > one can just attempt reboot until the device > comes up without the DCH error, i.e., "clean"). Indeed. However nobody seems to mind much (Jonathan Lemon pointed out an errata in the ICH2/ICH2-M specification, which was probably the cause; however I don't understand the code enough to fix the bug). > Here is how I kludge/fixed the hang on boot > problem (again, I'm not claiming this is the > "right" fix, but the systems have never hung > on boot with it in, and without it they hang > about half to a third the time). I'll try your fix on monday (4.4-STABLE). --Stijn -- Q: Why is Batman better than Bill Gates? A: Batman was able to beat the Penguin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 5: 4: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from student.uci.agh.edu.pl (student.uci.agh.edu.pl [149.156.98.60]) by hub.freebsd.org (Postfix) with ESMTP id 4409637B416 for ; Fri, 14 Dec 2001 05:03:20 -0800 (PST) Received: from localhost (winfried@localhost) by student.uci.agh.edu.pl (8.8.7/8.8.5/ts-tmpl.970124+rchk1.22) with ESMTP id OAA12274 for ; Fri, 14 Dec 2001 14:02:42 +0100 (MET) Date: Fri, 14 Dec 2001 14:02:42 +0100 (MET) From: Jan Srzednicki To: Subject: User Accounting 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 Helo, In login.conf(5) manual page it says that login(1) can only enforce user accounting stuff by denying to login (eg. when the account has expired). So, options in login.conf like autodelete are unused - is there an external daemon (maybe in ports) which would take care of it? I know I can write eg. a periodic script, but a complete and ready-to-use solution would be better ;) Greetz -- Winfried mail: winfried@dream.vg http://violent.dream.vg JS500-RIPE Warning: Never underestimate the power of stupid people in large numbers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 5:39:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.www-service.de (smtp.www-service.de [212.77.161.16]) by hub.freebsd.org (Postfix) with SMTP id 76CC437B416 for ; Fri, 14 Dec 2001 05:39:12 -0800 (PST) Received: (qmail 9839 invoked from network); 14 Dec 2001 13:38:59 -0000 Received: from pd90065d6.dip.t-dialin.net (HELO fw.tue.le) (217.0.101.214) by smtp.www-service.de with SMTP; 14 Dec 2001 13:38:59 -0000 Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id OAA15270; Fri, 14 Dec 2001 14:37:52 +0100 (CET) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.11.6/8.11.6) id fBEDbq592572; Fri, 14 Dec 2001 14:37:52 +0100 (CET) (envelope-from thz) Date: Fri, 14 Dec 2001 14:37:52 +0100 From: Thomas Zenker To: Mike Silbersack Cc: dillon@apollo.backplane.com, stable@freebsd.org Subject: Re: USB ethernet problem Message-ID: <20011214143752.A90727@mezcal.tue.le> Mail-Followup-To: Thomas Zenker , Mike Silbersack , dillon@apollo.backplane.com, stable@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from silby@silby.com on Thu, Dec 13, 2001 at 10:05:23PM -0500 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, Dec 13, 2001 at 10:05:23PM -0500, Mike Silbersack wrote: > I just noticed the thread with you guys talking about the tcp chagnes > impacting the usb card. I have a better fix for you to test, thomas: > > Set the sysctl > > net.inet.tcp.local_slowstart_flightsize > > to 1. > > Then set sendspace back up to 32768 and rerun your tests. > > In short, the local slowstart flightsize is set by default to a huge > value, meaning that tcp's slow start will be skipped, and you'll burst out > 32K of data all at once. With it set to 1, slow start will run normally, > and you won't overrun the card. > > Tell me if this change helps with your problem or not. > > Thanks, > > Mike "Silby" Silbersack Ok, I tried this. After doing some test, I decided, this can not be done with a quick test, (because of contradictory results) so did a serie of tests. It depends also on the transfer size (per connection). This is obviously caused by the slowstart alghorithm. in the end I collected a lot of data, this is now for a version from July and the other from yesterday. We should think about the defaults again, as there are people which might install their laptops over USB/ethernet. I myself know now what to do for my equipment, but people will have problems with sysinstall. here the test case: host -- 100TX -- SWITCH -- 10TX -- NetGear EA101 -- USB -- client data is transfered from host to USB/ethernet client with ttcp. The short transfers correspond about the transfer size of distribution parts for sysinstall (this is where I discovered this). Manipulated was the net.inet.tcp.recvspace variable on the USB client, net.inet.tcp.sendspace on the Host, net.inet.tcp.local_softstart_flightsize on both at the same time. Thomas Host USB/ethernet both sides transfer transfer sendspace recvspace local ssfls short long (256K) (16M) KB/s KB/s +--------------------------------------------------------------+ | 4.3-STABLE 2001-07-17 | +----------+--------------+-------------+----------+-----------+ | | 65536 | 65536 | 33 | 236 | | 32768 | 65536 | 16 | 66 | 230-240 | | | 65536 | 2-8 | 291 | 230-240 | | | 65536 | 1 | 266 | 230-240 | +----------+--------------+-------------+----------+-----------+ | 32768 | 16384 | 65536 | 303 | 268 | | | 16384 | 2-... | 303 | 268 | | | 16384 | 1 | 274 | 268 | +----------+--------------+-------------+----------+-----------+ | 16384 | 16384 | 2-... | 280 | 265 | +----------+--------------+-------------+----------+-----------+ | 65536 | 16384 | 2-... | 280 | 265 | | | 16384 | 65536 | 355 | 268 | | | 16384 | 2-... | 355 | 268 | | | 16384 | 1 | 313 | 268 | +----------+--------------+-------------+----------+-----------+ | 65536 | 8192 | ...-65536 | 355 | 268 | | | 8192 | 2 | 357 | 268 | | | 8192 | 1 | 313 | 268 | +--------------------------------------------------------------+ | 4.4-STABLE 2001-12-13 | +----------+--------------+-------------+----------+-----------+ | 32768 | 65536 | 65536 | 12 | 134 | | | 65536 | 16 | 20 | 200-230 | | | 65536 | 2-8 | 146 | 225 | | | 65536 | 1 | 87 | 190 | +----------+--------------+-------------+----------+-----------+ | 32768 | 16384 | 65536 | 318 | 267 | | | 16384 | 2-... | 312 | 266 | | | 16384 | 1 | 276 | 266 | +----------+--------------+-------------+----------+-----------+ | 16384 | 16384 | 2 | 283 | 266 | +----------+--------------+-------------+----------+-----------+ | 65536 | 16384 | 65536 | 371 | 268 | | | 16384 | 2 | 361 | 268 | | | 16384 | 1 | 320 | 268 | +----------+--------------+-------------+----------+-----------+ | 65536 | 8192 | 65536 | 371 | 268 | | | 8192 | 2 | 362 | 268 | | | 8192 | 1 | 320 | 268 | +----------+--------------+-------------+----------+-----------+ -- Thomas Zenker c/o Lennartz electronic GmbH Bismarckstrasse 136, D-72072 Tuebingen, Germany Phone: +49-(0)7071-93550 Email: thz@lennartz-electronic.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Fri Dec 14 5:58:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bayer2.bayer-ag.de (bayer2.bayer-ag.de [194.120.191.2]) by hub.freebsd.org (Postfix) with SMTP id 3EAA237B417 for ; Fri, 14 Dec 2001 05:58:09 -0800 (PST) Received: from by-inet1.bayer-ag.com (BY17V3.BAYER-AG.COM) by bayer2.bayer-ag.de with SMTP id OAA00690 (SMTP Gateway 4.2 for ); Fri, 14 Dec 2001 14:50:47 +0100 Subject: /kernel: tl0: tx underrun -- increasing tx threshold to 768 bytes To: stable@freebsd.org X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-Id: From: andreas.klemm.ak@bayer-ag.de Date: Fri, 14 Dec 2001 14:57:16 +0100 X-Mimetrack: Serialize by Router on BY-INET1/Central/LEV/DE/BAYER(Release 5.0.8 |June 18, 2001) at 12/14/2001 02:58:00 PM 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 ! Whats this ??? byaps1 /kernel: tl0: tx underrun -- increasing tx threshold to 768 bytes byaps1 /kernel: tl0: tx underrun -- increasing tx threshold to 768 bytes FreeBSD byaps1.bayer-ag.com 4.4-20011210-STABLE FreeBSD 4.4-20011210-STABLE #0: Mon Dec 10 22:23:07 GMT 2001 root@titan.klemm.gtn.com:/usr/src/sys/compile/GENERIC i386 GENERIC kernel in use ! New machine is a Compaq Proliant Dec 12 18:04:09 byaps1 /kernel: Copyright (c) 1992-2001 The FreeBSD Project. Dec 12 18:04:09 byaps1 /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1 994 Dec 12 18:04:09 byaps1 /kernel: The Regents of the University of California. All rights reserved. Dec 12 18:04:09 byaps1 /kernel: FreeBSD 4.4-20011210-STABLE #0: Mon Dec 10 22:23:07 GMT 2001 Dec 12 18:04:09 byaps1 /kernel: root@titan.klemm.gtn.com:/usr/src/sys/compile/GENERIC Dec 12 18:04:09 byaps1 /kernel: Timecounter "i8254" frequency 1193182 Hz Dec 12 18:04:09 byaps1 /kernel: CPU: Pentium II/Pentium II Xeon/Celeron (399.07-MHz 686-class CPU) Dec 12 18:04:09 byaps1 /kernel: Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Dec 12 18:04:09 byaps1 /kernel: Features=0x183f9ff Dec 12 18:04:09 byaps1 /kernel: real memory = 335544320 (327680K bytes) Dec 12 18:04:09 byaps1 /kernel: avail memory = 321691648 (314152K bytes) Dec 12 18:04:09 byaps1 /kernel: Preloaded elf kernel "kernel" at 0xc0489000. Dec 12 18:04:09 byaps1 /kernel: Pentium Pro MTRR support enabled Dec 12 18:04:09 byaps1 /kernel: md0: Malloc disk Dec 12 18:04:09 byaps1 /kernel: npx0: on motherboard Dec 12 18:04:09 byaps1 /kernel: npx0: INT 16 interface Dec 12 18:04:09 byaps1 /kernel: pcib0: on motherboa rd Dec 12 18:04:09 byaps1 /kernel: pci0: on pcib0 Dec 12 18:04:09 byaps1 /kernel: pci0: at 11.0 Dec 12 18:04:09 byaps1 /kernel: pcib1: at device 13.0 on pci0 Dec 12 18:04:09 byaps1 /kernel: pci1: on pcib1 Dec 12 18:04:09 byaps1 /kernel: tl0: port 0x2800-0x280f mem 0xc6 efddf0-0xc6efddff irq 5 at device 7.0 on pci1 Dec 12 18:04:09 byaps1 /kernel: tl0: Ethernet address: 00:08:c7:9f:b6:a1 Dec 12 18:04:09 byaps1 /kernel: miibus0: on tl0 Dec 12 18:04:09 byaps1 /kernel: nsphy0: on miibus0 Dec 12 18:04:09 byaps1 /kernel: nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dec 12 18:04:09 byaps1 /kernel: tlphy0: on miibus0 Dec 12 18:04:09 byaps1 /kernel: tlphy0: 10base2/BNC, 10base5/AUI Dec 12 18:04:09 byaps1 /kernel: sym0: <875> port 0x2000-0x20ff mem 0xc6eff000-0xc6efffff,0xc6efdf00-0 xc6efdfff irq 9 at device 9.0 on pci1 Dec 12 18:04:09 byaps1 /kernel: sym0: No NVRAM, ID 7, Fast-20, SE, parity checking Dec 12 18:04:09 byaps1 /kernel: sym1: <875> port 0x2400-0x24ff mem 0xc6efe000-0xc6efefff,0xc6efde00-0 xc6efdeff irq 10 at device 9.1 on pci1 Dec 12 18:04:09 byaps1 /kernel: sym1: No NVRAM, ID 7, Fast-20, SE, parity checking Dec 12 18:04:09 byaps1 /kernel: pci0: (vendor=0x0e11, dev=0xa0f0) at 14.0 Dec 12 18:04:09 byaps1 /kernel: pcib2: at device 15.0 on pci0 Dec 12 18:04:09 byaps1 /kernel: pci2: on pcib2 Dec 12 18:04:09 byaps1 /kernel: ida0: port 0x3000-0x30ff mem 0xb8 000000-0xbfffffff,0xc6ffff00-0xc6ffffff irq 11 at device 0.0 on pci2 Dec 12 18:04:09 byaps1 /kernel: ida0: drives=1 firm_rev=3.08 Dec 12 18:04:09 byaps1 /kernel: idad0: on ida0 Dec 12 18:04:09 byaps1 /kernel: idad0: 12279MB (25149120 sectors), blocksize=512 Dec 12 18:04:09 byaps1 /kernel: isab0: at device 20.0 on pci0 Dec 12 18:04:09 byaps1 /kernel: isa0: on isab0 Dec 12 18:04:09 byaps1 /kernel: atapci0: port 0xf100-0xf10f at device 20.1 on pci0 Dec 12 18:04:09 byaps1 /kernel: ata0: at 0x1f0 irq 14 on atapci0 Dec 12 18:04:09 byaps1 /kernel: uhci0: irq 0 at device 20.2 on pci0 Dec 12 18:04:09 byaps1 /kernel: uhci0: Could not map ports Dec 12 18:04:09 byaps1 /kernel: device_probe_and_attach: uhci0 attach returned 6 Dec 12 18:04:09 byaps1 /kernel: chip1: at device 20.3 on pci0 Dec 12 18:04:09 byaps1 /kernel: eisa0: on motherboard Dec 12 18:04:09 byaps1 /kernel: mainboard0: on eisa0 slot 0 Dec 12 18:04:09 byaps1 /kernel: orm0:

  • English

      

            

      ¦æ·Rªº¯u¿Í  ºV¤Ñ°óªºªù

     


     

    ·R¬O«í¤[§Ô­@¡A¤S¦³®¦·O¡A·R¬O¤£¶ú§ª¡C·R¬O¤£¦Û¸Ø¡A¤£±i¨g¡A¤£°µ®`²Ûªº¨Æ¡C¤£¨D¦Û¤vªº¯q³B¡A¤£»´©öµo«ã¡A¤£­pºâ¤H®aªº´c¡A¤£³ßÅw¤£¸q¡A¥u³ßÅw¯u²z¡C¤Z¨Æ¥]®e¡A¤Z¨Æ¬Û«H¡A¤Z¨Æ¬ß±æ¡A¤Z¨Æ§Ô­@¡A¤Z¨Æ­n§Ô­@¡A·R¬O¥Ã¤£¤î®§¡C

     


      

       ¡u·Rªº¯u¿Í¡v¬O¸t¸g¤¤ªº¤@¬q¸Ü¡A¸g¤H¾ã²z«á¡AÃЦ¨¤@¦±µÎ½w°ÊÅ¥ªº¤H¶¡¤§ºq¡C³o­ººq±q¤p¦Ü¤µ²`Àò§Ú³ß·R¡A¦L¶H¤¤¬O¦b¤p¾Ç¦X°Û¹Î¾Çªº¡C¦o¨ºÀu¬ü¬X©Mªº±Û«ß¡B¤º²[Â×´Iªººqµü¤£¦ýÀRÀq¦a´þ¾iµÛ§Úµ£¦~ªº¤ßÆF¡A¤]³­§Ú«×¹L¤FµL¼Æ­Ó¤H¥Íªº®À§é»P¦ÒÅç¡A·í§Ú¾D³{­W´o©Î­±¹ïÆg´­®É¡A§Úªº¤ß©³®É±`ÅT°_³o­º¸t¼äµL¤ñªººq¡C

        §Ú±`·t¦Û¨ØªA¨­®Çªº°ò·þ±ÐªB¤Í¡A¦]¬°¯«­n¦o­Ì°µªº¤£¥u¬O´¶³qªº¦n¤H¡A¦Ó¬O¨¥¦æ­Ñ¬ü¡B«~¼w°ª¼äªº¦n¤H¤¤ªº¦n¤H¡I«e¤@°}¤l¡A¤@¦ì°ò·þ±Ð¦P¾Çªº½Í¸Ü¡A«oµ¹¤F§Ú¤@¨Ç«ä¦ÒªºªÅ¶¡¡A§Ú¬ðµM¹ï¦o«H¥õ¤W«Òªº¤è¦¡·P¨ì¦³¨ÇºÃ´b¡C

        ¦o¸g±`¼ö¤ß¦a»P©P³òªº¤H¤À¨É¯«¦p¦ó·RÅ@¥L­Ì¾ã­Ó®a®x¡B¦p¦ó±x¤ß¦w±Æ¦oªº¤H¥Í¾D¹J¡A¯u¤ß¦a¶D»¡µÛ¯«ªºµL¨p¡B°¶¤j»P¥]®e¡C¨º¤ÑÅ¥¨ì¦o»¡¡G¡u¡KµL½×§A¥H«e°µ¤F¤°»ò¤£¦nªº¨Æ¡A¥u­n§A«HÍ¢¡AÍ¢´N·|±a»â§A¨«¦V¤Ñ°ê¡C¡v¹ï¤è°Ý¦o¡G¡u´N³o»ò²³æ¶Ü¡H¥u­n§Ú¬Û«HÍ¢¡A´N¥i¥H¤W¤Ñ°ê¶Ü¡H¡v¦o¦^µª¡G¡u¬O°Ú¡I´N¬O³o»ò²³æ¡I§A¬Ý¤W«Ò¦h»ò°¶¤j§r¡I¡v

         §Ú¥Íªø¦b¤@­Ó¨S¦³¯«¦ò«H¥õ¡B¬Æ¤Ö©v±Ð»ö¦¡ªº®a®x¸Ì¡C¾¨ºÞ¦b¦¨ªø¹Lµ{¤¤¡A»P©v±Ðªº±µÄ²«D±`¦³­­¡A¦ý¬O§Ú¤@ª½²`«H¡A¤HÁ`¸Ó­n¦³ÄÝ©ó¦Û¤vªº«H¥õ¡A¤]¦]¦¹¡A§Ú«K¤£Â_´M§ä¥å¥j¤£Åܪº¯u²z¡C

        ¦]µÛ¦P¾Çªº½Í¸Ü¡A§Ú¦A¤@¦¸«ä¦Ò¤H­Ì¹ï©ó©v±Ðªº»{ª¾¡C¤H¯uªº¤F¸Ñ¯«ªº¦®·N¶Ü¡H§Ú·Q¡A¤£ºÞ¬O­C¿q©Î¬OÄÀ­{¦È¥§¡A¬°¤F±Ï´ç¥@¤H¦Ó¶Ç¹DÁ¿ªk®É¡AÀ³¸Ó¨S¦³»¡¹L¦Û¤v¬O°ò·þ±Ð©Î¬O¦ò±Ð§a¡I·í§Ú»{ÃѨì©v±Ð¬O«á¤H©Ò¦Û³Ðªº¦Wµü¡A»ö¦¡¤]¬O¦]µÛ®ÉªÅ­I´º©Ò¦Û¦æ«Ø¥ßªº¤HÃþ¦æ¬°¡A¦Ó«D¯«ªº¦®·N¡A¤H­Ì«H©^¡BÅ@½Ãªº¬O©v±Ð§Î¦¡¡A¦Ó«D¨ä¤¤©ÒÄÄ´­ªº¯u²z¡A¬è¨Dªº¬O¦Û¤v¦b¥@¶¡ªº¦UºØ²{¹ê§Q¯q®É¡A¹ï©ó²{¤µ½Ñ¦h©v±Ð¶Ã¶H¤]´N¤£¨º»òºN¤£µÛÀYºü¤F¡C¤]Ãø©Ç§Úªº¦P¾Ç·|¦p¦¹¤Ñ¯uªº¥H¬°¥u¦bªí­±¤W¡B§Î¦¡¤W¡u«H­C¿q´N±o¥Ã¥Í¡v¤F¡C

        §Ú»{¬°«H¤£¥u¬Oºë¯«¤Wªº°í¦u¡A§ó¬O¦æ°Ê¤Wªº¸¨¹ê¡C´N¦p¦P§Ú­Ì¦b¾Ç®Õ¾Ç²ß¤@¼Ë¡A¦pªG§Ú¬Û«H¥u­n¦Ò¶i¤@¬y°ª¤¤¡A´N¥i¥H¥]¤¤½Ñ¦h¾Ç¤l¹Ú´K¥H¨Dªº¤j¾Ç¦W®Õ¡A¦Ó¤£¦b¤T¦~ªº°ª¤¤¥Í²P¤¤»{¯uÅ¥Á¿¡AºÉ¤O°µ¦n¤@­Ó¾Ç¥Íªº¥»¤À¡A¤S«ç¯à¹ê²{¦¨¬°¤j¾Ç·sÂA¤Hªº¬üÄR¹Ú·Q©O¡H¥¿½Tªº«ä¦Ò¦ñÀH¿n·¥ªº¦æ°Ê¡A¤£¥¿¬O¦¨´N½Ñ¦h¬ü¨Æªº¥ý¨M­n¥ó¶Ü¡H

        §Ú·Q¤£ºÞ§Ú­Ì¨Ó¦Û¦ó¤è¡A¹LµÛ¤°»ò¼Ëªº¥Í¬¡¡A¬O§_¾Ö¦³©v±Ð«H¥õ¡A§Ú´Á¬ß¤H­Ì³£¯à±N¡u·Rªº¯u¿Í¡vªººë²`¤º²[»P¬ü¦n¼w¦æ¿Ä¤J¥Í¬¡ÂIºw¤§¤¤¡A°µ­Ó¯u¥¿¤ßÆF¼ä²b¡B¹D¼w°ª©|ªº¦n¤H¡C

                                    (ºK¿ý¦Û¤j¬ö¤¸©P³ø)

     

     

     

    ¡·§Úı±o³o¬O¤@½g¦n¤å³¹¡A©Ò¥H·Q©M§ó¦hªº¤H¤À¨É¡A§Æ±æ¨S¦³¥´ÂZ¨ì§A¡C­Y§AÁÙ³ßÅw³o¤å³¹Åwªï¼g«H»P§Ú¤À¨É¡A ­Y§A¤£·Q¦A¦¬¨ìÃþ¦ü¤å³¹¤]½Ð¦^«Hµ¹§Ú¡CÁÂÁ§A¡I
                                                                     Fa-yin

      ¡·¤W¦^¹q¸£·í¾÷¡A¦³¨Ç«H¤£¨£¤F¡A¥i§_½Ð§A¦A±H¤@¦¸µ¹§Ú¡C

          ¡°  This is internet sharing, hope not bothering you. If you can't understand Chinese, please click here reply me, and there will be no  more e-mail from us.  Thank you!

    To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Dec 15 10:50: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ldc.ro (ldc-gw.rdsnet.ro [213.157.163.8]) by hub.freebsd.org (Postfix) with SMTP id C36A837B416 for ; Sat, 15 Dec 2001 10:49:45 -0800 (PST) Received: (qmail 27889 invoked by uid 666); 15 Dec 2001 18:49:43 -0000 Date: Sat, 15 Dec 2001 20:49:43 +0200 From: Alex Popa To: Jeremy Andrews Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Speeding up ssh over modem? Message-ID: <20011215204943.A25578@ldc.ro> References: <20011214233200.A84807@ldc.ro> <20011215092006.55e9e77f.jeremy@kerneltrap.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011215092006.55e9e77f.jeremy@kerneltrap.com>; from jeremy@kerneltrap.com on Sat, Dec 15, 2001 at 09:20:06AM -0500 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, Dec 15, 2001 at 09:20:06AM -0500, Jeremy Andrews wrote: > I'd drop the '-v', and add '-cblowfish' as it's a faster encryption algorithm: > > ssh -Ccblowfish -lusername > > -Jeremy > > -- > Jeremy Andrews > PGP Key ID: 8F8B617A http://www.kerneltrap.com/ I have tried that, same results. Both machines are p3/500MHz, so I do not think the encription speed is relevant here. I do have a 14.4k connection. I think this has to do more with the fact that ipfw list uses more write()s, as opposed to cat using libc's I/O buffering. I will check the source, and will probably do some ktrace on ipfw list, and the cat process. I am wondering if there is a way for sshd to check if the delay between two write()s to the terminal it creates are closer than say 5ms, and combining those on the outgoing wire, for a max of 10. This would yield a max delay of 50ms, which I think would not really be noticeable. Alex ------------+------------------------------------------ Alex Popa, | "Artificial Intelligence is razor@ldc.ro| no match for Natural Stupidity" ------------+------------------------------------------ "It took the computing power of three C-64s to fly to the Moon. It takes a 486 to run Windows 95. Something is wrong here." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Dec 15 11:59:19 2001 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 80D2F37B419 for ; Sat, 15 Dec 2001 11:59:16 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBFJwhi17572; Sat, 15 Dec 2001 11:58:43 -0800 (PST) (envelope-from dillon) Date: Sat, 15 Dec 2001 11:58:43 -0800 (PST) From: Matthew Dillon Message-Id: <200112151958.fBFJwhi17572@apollo.backplane.com> To: Alex Popa Cc: Jeremy Andrews , freebsd-stable@FreeBSD.ORG Subject: Re: Speeding up ssh over modem? References: <20011214233200.A84807@ldc.ro> <20011215092006.55e9e77f.jeremy@kerneltrap.com> <20011215204943.A25578@ldc.ro> 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 wondering if there is a way for sshd to check if the delay between :two write()s to the terminal it creates are closer than say 5ms, and :combining those on the outgoing wire, for a max of 10. This would yield :a max delay of 50ms, which I think would not really be noticeable. : :Alex : :------------+------------------------------------------ :Alex Popa, | "Artificial Intelligence is Try hacking your ssh to not set TCP_NODELAY. In /usr/src/crypto/openssh/packet.c around line 1284. #if 0 out the setsockopt TCP_NODELAY code. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Dec 15 12:30:59 2001 Delivered-To: freebsd-stable@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id ADAD237B417 for ; Sat, 15 Dec 2001 12:30:57 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] helo=dogma) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 16FLSN-000KBV-00 for freebsd-stable@freebsd.org; Sat, 15 Dec 2001 20:30:51 +0000 Received: (from jcm@localhost) by dogma (8.11.4/8.11.1) id fBFKUo425237 for freebsd-stable@freebsd.org; Sat, 15 Dec 2001 20:30:50 GMT (envelope-from jcm) Date: Sat, 15 Dec 2001 20:30:50 +0000 From: j mckitrick To: freebsd-stable@freebsd.org Subject: change in ed device number? Message-ID: <20011215203050.A25189@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Scanner: exiscan *16FLSN-000KBV-00*AGq5fNQOA1I* http://duncanthrax.net/exiscan/ 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 rebuilt world Nov 17, and the last time before that was early October. My NIC has been ed0 until Nov 17, and now it is detected as ed1. Any idea what causes this? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Dec 15 12:37: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mikea.ath.cx (okc-65-30-192-11.mmcable.com [65.30.192.11]) by hub.freebsd.org (Postfix) with ESMTP id A285037B417 for ; Sat, 15 Dec 2001 12:37:04 -0800 (PST) Received: (from mikea@localhost) by mikea.ath.cx (8.11.6/8.11.1) id fBFKawJ67385 for freebsd-stable@FreeBSD.ORG; Sat, 15 Dec 2001 14:36:58 -0600 (CST) (envelope-from mikea) Date: Sat, 15 Dec 2001 14:36:58 -0600 From: mikea To: freebsd-stable@FreeBSD.ORG Subject: Re: change in ed device number? Message-ID: <20011215143658.A67360@mikea.ath.cx> References: <20011215203050.A25189@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011215203050.A25189@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Sat, Dec 15, 2001 at 08:30:50PM +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 On Sat, Dec 15, 2001 at 08:30:50PM +0000, j mckitrick wrote: > > I rebuilt world Nov 17, and the last time before that was early October. > > My NIC has been ed0 until Nov 17, and now it is detected as ed1. Any > idea what causes this? Not yet. How about posting the output of `ifconfig -a` for a start. -- Mike Andrews mikea@mikea.ath.cx Tired old sysadmin since 1964 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sat Dec 15 12:56:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vortex.wa4phy.net (cc449817-a.mrtnz1.ga.home.com [24.12.79.51]) by hub.freebsd.org (Postfix) with ESMTP id 247B537B417 for ; Sat, 15 Dec 2001 12:56:09 -0800 (PST) Received: (from sam@localhost) by vortex.wa4phy.net (8.11.6/8.11.6) id fBFKu7O01268 for freebsd-stable@freebsd.org; Sat, 15 Dec 2001 15:56:07 -0500 (EST) (envelope-from sam) From: Sam Drinkard Message-Id: <200112152056.fBFKu7O01268@vortex.wa4phy.net> Subject: ed0 and dropoff in speed To: freebsd-stable@freebsd.org Date: Sat, 15 Dec 2001 15:56:07 -0500 (EST) X-Mailer: ELM [version 2.5 PL5] 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 As with j mckitrick, I just noticed ed0 is now ed1. Have also noticed a significant dropoff in speed since the build of 11 December. Altho I don't have a direct link to test against, the ed card is being fed from the cable modem. Going from a "normal" thruput of roughly 1.2 down to about 700k is pretty significant. Granted network traffic makes a big difference, but a 0400 in the a.m., it should be fairly quiescent on the east coast. Here's the output from ifconfig.. rl0: flags=8843 mtu 1500 inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255 ether 00:50:bf:75:18:fb media: Ethernet autoselect (none) status: active ed1: flags=8843 mtu 1500 inet 24.12.79.51 netmask 0xffffff00 broadcast 24.12.79.255 ether 00:80:c8:da:b1:6d lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 and output from dmesg (notice the build string, with "@" instead of a name.. inet 24.12.79.51 netmask 0xffffff00 broadcast 24.12.79.255 ether 00:80:c8:da:b1:6d lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 and output from dmesg (notice the build string, with "@" instead of a name.. Also, just noticed the ATI Mach64 card used to be recognized, now just shows generic VGA?? 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-STABLE #1: Sat Dec 15 02:15:37 EST 2001 @:/usr/src/sys/compile/VORTEX Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 880197580 Hz CPU: AMD Athlon(tm) Processor (880.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 402587648 (393152K bytes) avail memory = 388526080 (379420K bytes) Preloaded elf kernel "kernel" at 0xc0330000. Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00f7800 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 5 pci0: at 7.3 irq 5 chip1: at device 7.4 on pci0 pci0: at 9.0 irq 11 ahc0: port 0xd400-0xd4ff mem 0xdfffe000-0xdfffefff irq 10 at device 12.0 on pci0 aic7870: Single Channel A, SCSI Id=7, 16/255 SCBs pcm0: port 0xc800-0xc83f irq 10 at device 14.0 on pci0 rl0: port 0xc400-0xc4ff mem 0xdfffdf00-0xdfffdfff irq 5 at device 15.0 on pci0 rl0: Ethernet address: 00:50:bf:75:18:fb miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: