From owner-freebsd-alpha Wed Dec 25 4: 1:36 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1361537B401 for ; Wed, 25 Dec 2002 04:01:35 -0800 (PST) Received: from hotmail.com (host217-40-72-81.in-addr.btopenworld.com [217.40.72.81]) by mx1.FreeBSD.org (Postfix) with SMTP id F253A43ED1 for ; Wed, 25 Dec 2002 04:01:32 -0800 (PST) (envelope-from moosehead_express@hotmail.com) Reply-To: Message-ID: <036e10d42d6e$3733c6b7$1bd84da6@ycesqe> From: To: Subject: Avqcsu for us protecting the family is important Date: Wed, 25 Dec 2002 04:55:37 +0700 MiME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: {%xmailer%} Importance: Normal Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Discover the lowest rates available for term life insurance! Permanent Coverages (Whole/Universal/Burial) also available! Perfect health is not required. Fill out our short online form to see the low rate you qualify for. Save up to 72% from regular rates! http://www.inchantment.com/538754/textc.php The quote is free, and there is no obligation. Smokers accepted! Representing quality nationwide carriers. Act now! From the fortress To get off our preferred consumer database go to http://www.inchantment.com/538754/nomore.php Please allow 48-72 hours to take effect. 121l3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Dec 25 6:36:25 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C68B37B401; Wed, 25 Dec 2002 06:36:25 -0800 (PST) Received: from citusc.usc.edu (citusc.usc.edu [128.125.38.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id B591743EC2; Wed, 25 Dec 2002 06:36:24 -0800 (PST) (envelope-from kris@citusc.usc.edu) Received: (from kris@localhost) by citusc.usc.edu (8.11.6/8.11.2) id gBPEaOB18934; Wed, 25 Dec 2002 06:36:24 -0800 Date: Wed, 25 Dec 2002 06:36:24 -0800 From: Kris Kennaway To: billf@FreeBSD.org, alpha@FreeBSD.org, ports@FreeBSD.org Subject: ethereal fails on alpha Message-ID: <20021225063624.A18930@citusc.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org http://bento.freebsd.org/errorlogs/alpha-5-latest/ethereal-0.9.7.log Can someone please investigate? Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Dec 25 7:22:24 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D80A37B401; Wed, 25 Dec 2002 07:22:22 -0800 (PST) Received: from citusc.usc.edu (citusc.usc.edu [128.125.38.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BB7343E4A; Wed, 25 Dec 2002 07:22:22 -0800 (PST) (envelope-from kris@citusc.usc.edu) Received: (from kris@localhost) by citusc.usc.edu (8.11.6/8.11.2) id gBPFMBP19132; Wed, 25 Dec 2002 07:22:11 -0800 Date: Wed, 25 Dec 2002 07:22:10 -0800 From: Kris Kennaway To: Miguel Mendez Cc: Kris Kennaway , billf@FreeBSD.org, alpha@FreeBSD.org, ports@FreeBSD.org Subject: Re: ethereal fails on alpha Message-ID: <20021225072210.A19108@citusc.usc.edu> References: <20021225063624.A18930@citusc.usc.edu> <20021225161425.6de8c99c.flynn@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021225161425.6de8c99c.flynn@energyhq.homeip.net>; from flynn@energyhq.homeip.net on Wed, Dec 25, 2002 at 04:14:25PM +0100 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 25, 2002 at 04:14:25PM +0100, Miguel Mendez wrote: > On Wed, 25 Dec 2002 06:36:24 -0800 > Kris Kennaway wrote: >=20 > Hi, >=20 > > http://bento.freebsd.org/errorlogs/alpha-5-latest/ethereal-0.9.7.log > >=20 > > Can someone please investigate? >=20 > Could you try the attached patch? Not easily right now, I'm afraid, but perhaps someone else can. Thanks for the quick response. Kris --3MwIy2ne0vdjdPXF 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 iD8DBQE+Cc0iWry0BWjoQKURAgm0AKCBpHmLy7/Y09X9uf9/zDHH54vVfQCeO9jY dvjbJxyoDk2U5lkLrojlaZo= =z5aK -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 13:48:23 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7185437B401; Thu, 26 Dec 2002 13:48:19 -0800 (PST) Received: from blues.jpj.net (blues.jpj.net [208.210.80.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5145243EC5; Thu, 26 Dec 2002 13:48:18 -0800 (PST) (envelope-from trevor@jpj.net) Received: from blues.jpj.net (localhost.jpj.net [127.0.0.1]) by blues.jpj.net (8.12.3/8.12.3) with ESMTP id gBQLm7V3039700; Thu, 26 Dec 2002 16:48:07 -0500 (EST) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (8.12.3/8.12.3/Submit) with ESMTP id gBQLm7rc039697; Thu, 26 Dec 2002 16:48:07 -0500 (EST) X-Authentication-Warning: blues.jpj.net: trevor owned process doing -bs Date: Thu, 26 Dec 2002 16:48:06 -0500 (EST) From: Trevor Johnson To: alpha@freebsd.org Cc: "David O'Brien" Subject: 5.0-RC2 on Alphaserver 4100 mostly a success Message-ID: <20021226162035.I19983-100000@blues.jpj.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I did a fresh installation, booting from floppy then downloading via FTP from another computer on the same Fast Ethernet hub. The one problem I noticed is that the files transferred slowly by FTP, at less than 10 kilobytes per second. After the installation, getting files over FTP is still just as slow. When I tried doing "dd if=/dev/zero of=/tmp/zero bs=128k count=500", dd reported a rate of 5611025 bytes per second, so the trouble doesn't seem to be a slow disk drive. When I tried sending the file that I made with dd from the Alpha to the other computer, it went at a more respectable speed of around 300 kilobytes per second (this while other people were using the network--it was quiet when I did the installation). -- show device -- polling ncr0 (NCR 53C810) slot 1, bus 0 PCI, hose 1 SCSI Bus ID 7 dka500.5.0.1.1 DKA500 RRD45 0436 mka600.6.0.1.1 MKA600 TLZ07 553B polling isp0 (QLogic ISP10X0) slot 0, bus 2 PCI, hose 1 SCSI Bus ID 7 polling floppy0 (FLOPPY) PCEB - XBUS hose 0 dva0.0.0.1000.0 DVA0 RX23 polling ncr1 (NCR 53C825) slot 3, bus 0 PCI, hose 0 SCSI Bus ID 7 dkc0.0.0.3.0 DKC0 SEAGATE ST15230N 0252 dkc100.1.0.3.0 DKC100 SEAGATE ST15230N 0252 dkc200.2.0.3.0 DKC200 SEAGATE ST15230N 0252 dkc300.3.0.3.0 DKC300 SEAGATE ST15230N 0638 dkc400.4.0.3.0 DKC400 SEAGATE ST15230N 0638 dkc600.6.0.3.0 DKC600 SEAGATE ST15230N 0638 polling tulip0 (DECchip 21140-AA) slot 2, bus 0 PCI, hose 1 ewa0.0.0.2.1 00-00-F8-00-3C-EC FastFD (Full Duplex) -- dmesg -- Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-RC2 #0: Wed Dec 18 17:06:35 GMT 2002 root@mithlond.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc0000844000. AlphaServer 4100 AlphaServer 4100 5/300 2MB, 299MHz 8192 byte page size, 2 processors. CPU: EV5 (21164) major=5 minor=5 OSF PAL rev: 0x4000200020117 real memory = 534757376 (509 MB) avail memory = 512491520 (488 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Initializing GEOMetry subsystem mcbus0: pcib0: at mcbus0 gid 7 mid 5 pcib0: Horse Revision 3, Left Handed Saddle Revision 3, CAP Revision 2 pci0: on pcib0 sym0: <810> port 0x1ffee00-0x1ffeeff mem 0x7effe00-0x7effeff irq 4 at device 1.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: interrupting at IRQ 0x10 intA (vec 0xb40) de0: port 0x1ffef00-0x1ffef7f mem 0x7efff00-0x7efff7f irq 8 at device 2.0 on pci0 de0: interrupting at IRQ 0x0 intA (vec 0xb80) de0: DEC DE500-XA 21140 [10-100Mb/s] pass 1.1 de0: address 00:00:f8:00:3c:ec de0: enabling Full Duplex 100baseTX port pcib2: at device 5.0 on pci0 pci2: on pcib2 isp0: port 0x1ffff00-0x1ffffff mem 0x7fef000-0x7feffff irq 20 at device 0.0 on pci2 isp0: interrupting at IRQ 0xc intA (vec 0xc40) pcib1: at mcbus0 gid 7 mid 4 pcib1: Horse Revision 3, Left Handed Saddle Revision 3, CAP Revision 2 pci1: on pcib1 eisab0: at device 1.0 on pci1 isa0: on eisab0 pci1: at device 2.0 (no driver attached) sym1: <825a> port 0x1ffff00-0x1ffffff mem 0x77e7000-0x77e7fff,0x77e6f00-0x77e6fff irq 12 at device 3.0 on pci1 sym1: No NVRAM, ID 7, Fast-10, SE, parity checking sym1: interrupting at IRQ 0x4 intA (vec 0x9c0) ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0 ata0: interrupting at ISA irq 14 ata1 at port 0x376,0x170-0x177 irq 15 on isa0 ata1: interrupting at ISA irq 15 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 fdc0: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 mcclock0: at port 0x70-0x71 on isa0 ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 ppc0: interrupting at ISA irq 7 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A, console sio0: interrupting at ISA irq 4 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: interrupting at ISA irq 3 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 0.833 msec Timecounter "i8254" frequency 1193182 Hz Waiting 15 seconds for SCSI devices to settle sa0 at sym0 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 7.812MB/s transfers (7.812MHz, offset 8) cd0 at sym0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 8) cd0: cd present [584584 x 512 byte records] da0 at sym1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C) da1 at sym1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da1: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C) da2 at sym1 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da2: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C) da3 at sym1 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da3: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C) da4 at sym1 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI-2 device da4: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da4: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C) da5 at sym1 bus 0 target 6 lun 0 da5: Fixed Direct Access SCSI-2 device da5: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da5: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0a -- Trevor Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 14: 0: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9538837B405 for ; Thu, 26 Dec 2002 14:00:04 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 215F643F08 for ; Thu, 26 Dec 2002 14:00:04 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gBQM03VU045156; Thu, 26 Dec 2002 14:00:03 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gBQLwm59045122; Thu, 26 Dec 2002 13:58:48 -0800 (PST) Date: Thu, 26 Dec 2002 13:58:48 -0800 From: "David O'Brien" To: Trevor Johnson Cc: alpha@freebsd.org Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success Message-ID: <20021226215848.GI43977@dragon.nuxi.com> Reply-To: alpha@freebsd.org Mail-Followup-To: David O'Brien , Trevor Johnson , alpha@freebsd.org References: <20021226162035.I19983-100000@blues.jpj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021226162035.I19983-100000@blues.jpj.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-RC Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-alpha@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 26, 2002 at 04:48:06PM -0500, Trevor Johnson wrote: > still just as slow. When I tried doing "dd if=/dev/zero of=/tmp/zero I assume either if or of was a disk drive? > -- show device -- > dkc400.4.0.3.0 DKC400 SEAGATE ST15230N 0638 > dkc600.6.0.3.0 DKC600 SEAGATE ST15230N 0638 Is one of the disks dead? You should also have a dkc500 (ie, SCSI ID 5). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 14: 4:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A63837B401 for ; Thu, 26 Dec 2002 14:04:49 -0800 (PST) Received: from poptart.bithose.com (ip-204-97-176-41.modem.logical.net [204.97.176.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2386243EC5 for ; Thu, 26 Dec 2002 14:04:44 -0800 (PST) (envelope-from jakari@bithose.com) Received: from poptart.bithose.com (localhost [127.0.0.1]) by poptart.bithose.com (8.12.2/8.12.2) with ESMTP id gBQM4VWu032684; Thu, 26 Dec 2002 17:04:31 -0500 (EST) Received: from localhost (jakari@localhost) by poptart.bithose.com (8.12.2/8.12.2/Submit) with ESMTP id gBQM4VHt032678; Thu, 26 Dec 2002 17:04:31 -0500 (EST) X-Authentication-Warning: poptart.bithose.com: jakari owned process doing -bs Date: Thu, 26 Dec 2002 17:04:31 -0500 (EST) From: Jameel Akari To: Trevor Johnson Cc: Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success In-Reply-To: <20021226162035.I19983-100000@blues.jpj.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 26 Dec 2002, Trevor Johnson wrote: > from another computer on the same Fast Ethernet hub. The one problem I > noticed is that the files transferred slowly by FTP, at less than 10 > ewa0.0.0.2.1 00-00-F8-00-3C-EC FastFD (Full Duplex) If you are indeed using a hub, then having the NIC set to full-duplex is bound to cause problems. You'll have to set ewa_mode in SRM, I think, to use 100/half or autosense. Otherwise the transceiver on the NIC and/or the hub keep flipping back and forth, and things just suck. > de0: port 0x1ffef00-0x1ffef7f mem 0x7efff00-0x7efff7f irq 8 at device 2.0 on pci0 > de0: interrupting at IRQ 0x0 intA (vec 0xb80) > de0: DEC DE500-XA 21140 [10-100Mb/s] pass 1.1 > de0: address 00:00:f8:00:3c:ec > de0: enabling Full Duplex 100baseTX port I think some DE500s have problems going at 100/full even on a proper 100Mbit switch.. the one in my PWS500au (miata) crawls as 50-100kB/sec when everything is forced to 100/full. Much happier at 100/half, so I set the ewa_mode and the switch port speeds to match. I think this is fixed in later revisions of the DE500. Anyone working with Sun machines and the hme card know all about the evils of marginal speed/duplex settings.. so simple, yet such a perennial pain... #!/jameel/akari sleep 4800; make clean && make breakfast To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 14: 6:47 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43A1137B401 for ; Thu, 26 Dec 2002 14:06:46 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08B8343ED4 for ; Thu, 26 Dec 2002 14:06:45 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id gBQM6ZDx042106; Thu, 26 Dec 2002 23:06:35 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id gBQM6ZGW042105; Thu, 26 Dec 2002 23:06:35 +0100 (CET) Date: Thu, 26 Dec 2002 23:06:35 +0100 From: Wilko Bulte To: Jameel Akari Cc: Trevor Johnson , alpha@FreeBSD.ORG Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success Message-ID: <20021226230635.A42090@freebie.xs4all.nl> References: <20021226162035.I19983-100000@blues.jpj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jakari@bithose.com on Thu, Dec 26, 2002 at 05:04:31PM -0500 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@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 26, 2002 at 05:04:31PM -0500, Jameel Akari wrote: > > On Thu, 26 Dec 2002, Trevor Johnson wrote: > > > from another computer on the same Fast Ethernet hub. The one problem I > > noticed is that the files transferred slowly by FTP, at less than 10 > > > ewa0.0.0.2.1 00-00-F8-00-3C-EC FastFD (Full Duplex) > > If you are indeed using a hub, then having the NIC set to > full-duplex is bound to cause problems. You'll have to set ewa_mode in > SRM, I think, to use 100/half or autosense. Otherwise the transceiver on > the NIC and/or the hub keep flipping back and forth, and things just suck. > > > de0: port 0x1ffef00-0x1ffef7f mem 0x7efff00-0x7efff7f irq 8 at device 2.0 on pci0 > > de0: interrupting at IRQ 0x0 intA (vec 0xb80) > > de0: DEC DE500-XA 21140 [10-100Mb/s] pass 1.1 > > de0: address 00:00:f8:00:3c:ec > > de0: enabling Full Duplex 100baseTX port > > I think some DE500s have problems going at 100/full even on a > proper 100Mbit switch.. the one in my PWS500au (miata) crawls as 50-100kB/sec > when everything is forced to 100/full. Much happier at 100/half, so I set > the ewa_mode and the switch port speeds to match. I think this is fixed > in later revisions of the DE500. IIRC the various chip revs used on DE500 are not all working too well with FDX. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 14:22:12 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8998637B401 for ; Thu, 26 Dec 2002 14:22:11 -0800 (PST) Received: from alcanet.com.au (mail3.alcanet.com.au [208.178.117.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC90943F07 for ; Thu, 26 Dec 2002 14:21:50 -0800 (PST) (envelope-from peter.jeremy@alcatel.com.au) Received: from sydsmtp01.alcatel.com.au (IDENT:root@localhost.localdomain [127.0.0.1]) by alcanet.com.au (8.12.4/8.12.4/Alcanet1.3) with ESMTP id gBQMKsrG027875; Fri, 27 Dec 2002 09:20:54 +1100 Received: from gsmx07.alcatel.com.au ([139.188.20.247]) by sydsmtp01.alcatel.com.au (Lotus Domino Release 5.0.11) with ESMTP id 2002122709205374:61659 ; Fri, 27 Dec 2002 09:20:53 +1100 Received: from gsmx07.alcatel.com.au (localhost [127.0.0.1]) by gsmx07.alcatel.com.au (8.12.5/8.12.5) with ESMTP id gBQMKrQ8016714; Fri, 27 Dec 2002 09:20:53 +1100 (EST) (envelope-from peter.jeremy@alcatel.com.au) Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.12.5/8.12.5/Submit) id gBQMKrEn016713; Fri, 27 Dec 2002 09:20:53 +1100 (EST) (envelope-from peter.jeremy@alcatel.com.au) Date: Fri, 27 Dec 2002 09:20:53 +1100 From: Peter Jeremy To: Wilko Bulte Cc: Jameel Akari , alpha@FreeBSD.ORG Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success Message-ID: <20021226222053.GO5201@gsmx07.alcatel.com.au> Mail-Followup-To: Wilko Bulte , Jameel Akari , alpha@FreeBSD.ORG References: <20021226162035.I19983-100000@blues.jpj.net> <20021226230635.A42090@freebie.xs4all.nl> Mime-Version: 1.0 In-Reply-To: <20021226230635.A42090@freebie.xs4all.nl> User-Agent: Mutt/1.4i X-MIMETrack: Itemize by SMTP Server on SYDSMTP01/AlcatelAustralia(Release 5.0.11 |July 24, 2002) at 27/12/2002 09:20:53 AM, Serialize by Router on SYDSMTP01/AlcatelAustralia(Release 5.0.11 |July 24, 2002) at 27/12/2002 09:20:54 AM, Serialize complete at 27/12/2002 09:20:54 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2002-Dec-26 23:06:35 +0100, Wilko Bulte wrote: >On Thu, Dec 26, 2002 at 05:04:31PM -0500, Jameel Akari wrote: >> I think some DE500s have problems going at 100/full even on a >> proper 100Mbit switch.. ... > >IIRC the various chip revs used on DE500 are not all working too well >with FDX. You don't happen to have any details on which chip revs are affected? In real life, I keep an eye on several dozen DE500's all running 100/full (with Tru64 4.x) and haven't seen any problems that look like poor network throughput. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 14:31:25 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C989637B405 for ; Thu, 26 Dec 2002 14:31:24 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E46143EC5 for ; Thu, 26 Dec 2002 14:31:23 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id gBQMVGDx042256; Thu, 26 Dec 2002 23:31:16 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id gBQMVGmd042255; Thu, 26 Dec 2002 23:31:16 +0100 (CET) Date: Thu, 26 Dec 2002 23:31:16 +0100 From: Wilko Bulte To: Jameel Akari , alpha@FreeBSD.ORG Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success Message-ID: <20021226233116.A42240@freebie.xs4all.nl> References: <20021226162035.I19983-100000@blues.jpj.net> <20021226230635.A42090@freebie.xs4all.nl> <20021226222053.GO5201@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021226222053.GO5201@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Fri, Dec 27, 2002 at 09:20:53AM +1100 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 27, 2002 at 09:20:53AM +1100, Peter Jeremy wrote: > On 2002-Dec-26 23:06:35 +0100, Wilko Bulte wrote: > >On Thu, Dec 26, 2002 at 05:04:31PM -0500, Jameel Akari wrote: > >> I think some DE500s have problems going at 100/full even on a > >> proper 100Mbit switch.. > ... > > > >IIRC the various chip revs used on DE500 are not all working too well > >with FDX. > > You don't happen to have any details on which chip revs are affected? > In real life, I keep an eye on several dozen DE500's all running > 100/full (with Tru64 4.x) and haven't seen any problems that look like > poor network throughput. Hm, unfortunately not. I was told by a guy who used to do benchmarking on T64. ISTR it also depended on what ethernet switches one used. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Dec 26 16:30:46 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E3637B401 for ; Thu, 26 Dec 2002 16:30:45 -0800 (PST) Received: from mail.inka.de (quechua.inka.de [193.197.184.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C77643EA9 for ; Thu, 26 Dec 2002 16:30:43 -0800 (PST) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with gbsmtp id 18RiOf-0004j5-00; Fri, 27 Dec 2002 01:30:41 +0100 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.6/8.12.6) with ESMTP id gBR0GoFP064018 for ; Fri, 27 Dec 2002 01:16:50 +0100 (CET) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.6/8.12.6/Submit) id gBR0Gngj064017 for freebsd-alpha@freebsd.org; Fri, 27 Dec 2002 01:16:49 +0100 (CET) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success Date: Fri, 27 Dec 2002 00:16:49 +0000 (UTC) Message-ID: References: <20021226162035.I19983-100000@blues.jpj.net> <20021226230635.A42090@freebie.xs4all.nl> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Wilko Bulte wrote: > IIRC the various chip revs used on DE500 are not all working too well > with FDX. Well, this one de0 at pci0 dev 5 function 0 "DEC 21140" rev 0x22: eb164 irq 9 de0: DEC DE500-AA 21140A [10-100Mb/s] pass 2.2 address 00:00:f8:10:7d:a0 works fine. (Yep, that's OpenBSD.) -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Dec 27 6: 6:57 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D681537B401 for ; Fri, 27 Dec 2002 06:06:56 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 403C943EE1 for ; Fri, 27 Dec 2002 06:06:52 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id gBRE6oro010424 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 27 Dec 2002 09:06:50 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id gBRE6jP36272; Fri, 27 Dec 2002 09:06:45 -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: <15884.24181.756982.44117@grasshopper.cs.duke.edu> Date: Fri, 27 Dec 2002 09:06:45 -0500 (EST) To: naddy@mips.inka.de (Christian Weisgerber) Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success In-Reply-To: References: <20021226162035.I19983-100000@blues.jpj.net> <20021226230635.A42090@freebie.xs4all.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Christian Weisgerber writes: > Wilko Bulte wrote: > > > IIRC the various chip revs used on DE500 are not all working too well > > with FDX. > > Well, this one > > de0 at pci0 dev 5 function 0 "DEC 21140" rev 0x22: eb164 irq 9 > de0: DEC DE500-AA 21140A [10-100Mb/s] pass 2.2 address 00:00:f8:10:7d:a0 > > works fine. (Yep, that's OpenBSD.) Both my 21143s work fine. One in a Miata GL, one in a XP1000. Both set to auto-negotiate in the SRM console. Both connected to a $60 8-port 10/100 switch. Both negotiate 100/fdx. For some reason, Tru64 5.1A on the xp1000 (its dual boot, T64/fbsd) takes forever to autonegotiate at startup time. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Dec 27 6:29: 8 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CCFB37B401 for ; Fri, 27 Dec 2002 06:29:07 -0800 (PST) Received: from poptart.bithose.com (ip-204-97-176-41.modem.logical.net [204.97.176.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46EB043EC2 for ; Fri, 27 Dec 2002 06:29:06 -0800 (PST) (envelope-from jakari@bithose.com) Received: from poptart.bithose.com (localhost [127.0.0.1]) by poptart.bithose.com (8.12.2/8.12.2) with ESMTP id gBRESsWu033600; Fri, 27 Dec 2002 09:28:54 -0500 (EST) Received: from localhost (jakari@localhost) by poptart.bithose.com (8.12.2/8.12.2/Submit) with ESMTP id gBRESsjF033598; Fri, 27 Dec 2002 09:28:54 -0500 (EST) X-Authentication-Warning: poptart.bithose.com: jakari owned process doing -bs Date: Fri, 27 Dec 2002 09:28:54 -0500 (EST) From: Jameel Akari To: Andrew Gallatin Cc: Christian Weisgerber , Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success In-Reply-To: <15884.24181.756982.44117@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 27 Dec 2002, Andrew Gallatin wrote: > > de0 at pci0 dev 5 function 0 "DEC 21140" rev 0x22: eb164 irq 9 > > de0: DEC DE500-AA 21140A [10-100Mb/s] pass 2.2 address 00:00:f8:10:7d:a0 > > > > works fine. (Yep, that's OpenBSD.) > > Both my 21143s work fine. One in a Miata GL, one in a XP1000. Both > set to auto-negotiate in the SRM console. Both connected to a $60 > 8-port 10/100 switch. Both negotiate 100/fdx. For some reason, This one: Nov 30 09:15:32 poptart vmunix: tu0: DECchip 21143: Revision: 3.0 Nov 30 09:15:32 poptart vmunix: tu0: auto negotiation capable device Nov 30 09:15:32 poptart vmunix: tu0 at pci0 slot 3 Nov 30 09:15:32 poptart vmunix: tu0: DEC TULIP (10/100) Ethernet Interface, hardware address: 00-00-F8-75-7B-25 Nov 30 09:15:32 poptart vmunix: tu0: auto negotiation off: selecting 100BaseTX (UTP) port: full duplex Does not work very well at 100/full. This is in a miata (500au) with a IBM switch on which everything else (even the dreaded Sun hme and qfe) autonegotiate fine and blast away at 100/full. Since the time of that boot (Tru64 5.1) I have had to 'ifconfig tu0 speed 100 down; ifconfig tu0 up' to put it back to half-duplex. It has been plugged into a couple cheap SMC and Linksys mini-switches and exhibited the same problem. It only seems to autonegotiate sucessfully with 10Mb hubs, which isn't real exciting. But I do have a DE500 in a PC164 that works fine. The machine isn't on at the moment, but when I get a chance I'll post that. #!/jameel/akari sleep 4800; make clean && make breakfast To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Dec 27 10:33:45 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D5CA37B401 for ; Fri, 27 Dec 2002 10:33:44 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27EF543ED8 for ; Fri, 27 Dec 2002 10:33:43 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id gBRIXTDx045037; Fri, 27 Dec 2002 19:33:29 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id gBRIXTjB045036; Fri, 27 Dec 2002 19:33:29 +0100 (CET) Date: Fri, 27 Dec 2002 19:33:29 +0100 From: Wilko Bulte To: Andrew Gallatin Cc: Christian Weisgerber , freebsd-alpha@FreeBSD.ORG Subject: Re: 5.0-RC2 on Alphaserver 4100 mostly a success Message-ID: <20021227193329.A45017@freebie.xs4all.nl> References: <20021226162035.I19983-100000@blues.jpj.net> <20021226230635.A42090@freebie.xs4all.nl> <15884.24181.756982.44117@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15884.24181.756982.44117@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Fri, Dec 27, 2002 at 09:06:45AM -0500 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 27, 2002 at 09:06:45AM -0500, Andrew Gallatin wrote: > > Christian Weisgerber writes: > > Wilko Bulte wrote: > > > > > IIRC the various chip revs used on DE500 are not all working too well > > > with FDX. > > > > Well, this one > > > > de0 at pci0 dev 5 function 0 "DEC 21140" rev 0x22: eb164 irq 9 > > de0: DEC DE500-AA 21140A [10-100Mb/s] pass 2.2 address 00:00:f8:10:7d:a0 > > > > works fine. (Yep, that's OpenBSD.) > > Both my 21143s work fine. One in a Miata GL, one in a XP1000. Both > set to auto-negotiate in the SRM console. Both connected to a $60 > 8-port 10/100 switch. Both negotiate 100/fdx. For some reason, > Tru64 5.1A on the xp1000 (its dual boot, T64/fbsd) takes forever to > autonegotiate at startup time. Maybe a driver interaction on T64 ? Anyway, this info is based on what I have been told. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Dec 27 14:13:36 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF03F37B401 for ; Fri, 27 Dec 2002 14:13:33 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85B5443EDC for ; Fri, 27 Dec 2002 14:13:32 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net (pooh.honeypot.net [10.0.1.2]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id gBRMDVeC008848 for ; Fri, 27 Dec 2002 16:13:31 -0600 (CST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net (localhost [127.0.0.1]) by pooh.honeypot.net (8.12.6/8.12.6/Debian-8) with ESMTP id gBRMDVNZ009979 for ; Fri, 27 Dec 2002 16:13:31 -0600 Received: (from kirk@localhost) by pooh.honeypot.net (8.12.6/8.12.6/Debian-8) id gBRMDVkg009976 for freebsd-alpha@freebsd.org; Fri, 27 Dec 2002 16:13:31 -0600 To: freebsd-alpha@freebsd.org Subject: PC64 getting kernel panics while using bridged networking From: Kirk Strauser Date: 23 Dec 2002 23:02:13 -0600 Message-ID: <874r94f1re.fsf@pooh.honeypot.net> X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 92 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a PC64 machine with a recently-installed copy of FreeBSD 5.0-RC1 (plus a cvsup or two since installation). I want to use it as a bridged firewall using two fxp NICs. The kernel is a derivative of GENERIC with inapplicable devices commented out, and only one option: options PFIL_HOOKS added (I'm using 5.0 in the first place because I want to use ipf on the bridge). My trivial bridge setup is: # cat /usr/local/etc/rc.d/0.bridge.sh #!/bin/sh kldload bridge sysctl net.link.ether.bridge_cfg="fxp0,fxp1" sysctl net.link.ether.bridge_ipf=1 sysctl net.link.ether.bridge=1 and my ipf.rules consists of only: pass in all pass out all for now. The setup works well for short periods of time, but the kernel panics as soon as a small load crosses the bridge. Excerpts from dmesg: fxp0: promiscuous mode enabled fxp1: promiscuous mode enabled ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 fatal kernel trap: trap entry = 0x4 (unaligned access fault) faulting va = 0xfffffe0000028e9a opcode = 0x28 register = 0x3 pc = 0xfffffc00003614a8 ra = 0xfffffc0000362284 sp = 0xfffffe000a36ba60 curthread = 0xfffffc000f71fd10 pid = 19, comm = intr: fxp0 panic: trap syncing disks, buffers remaining... done Uptime: 8m28s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... I have never experienced these panics using the system in non-bridged mode, i.e. as a regular host on the network. The repeatability is 100%: if I enable bridging, then the kernel panics within minutes. Any ideas? I am *very* new to the Alpha platform (I only built my first machine within the last month), although I have a bit of experience with FreeBSD/x86. Please note that although I'd be willing to try a bog-standard GENERIC kernel, I don't have one on the system anymore, and it takes several hours to build one. As I've dedicated tonight to a 'buildworld' to update the compiler toolchain before giving this another effort, I'll have to wait until tomorrow (at the earliest) to try it. However, my kernel really should be very similar to GENERIC (minus the one addition), and I only used the minimal optimizations ('-O') from /etc/defaults/make.conf to build it. -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Dec 27 16:47:39 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF88937B401 for ; Fri, 27 Dec 2002 16:47:36 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5B2443EC2 for ; Fri, 27 Dec 2002 16:47:35 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net (pooh.honeypot.net [10.0.1.2]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id gBS0lYeC007622 for ; Fri, 27 Dec 2002 18:47:34 -0600 (CST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net (localhost [127.0.0.1]) by pooh.honeypot.net (8.12.6/8.12.6/Debian-8) with ESMTP id gBS0lYNZ010490 for ; Fri, 27 Dec 2002 18:47:34 -0600 Received: (from kirk@localhost) by pooh.honeypot.net (8.12.6/8.12.6/Debian-8) id gBS0lXBS010487; Fri, 27 Dec 2002 18:47:33 -0600 To: freebsd-alpha@freebsd.org Subject: PC64 getting kernel panics while using bridged networking From: Kirk Strauser Date: 27 Dec 2002 18:47:33 -0600 Message-ID: <87k7hvas0q.fsf@pooh.honeypot.net> Lines: 92 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a PC64 machine with a recently-installed copy of FreeBSD 5.0-RC1 (plus a cvsup or two since installation). I want to use it as a bridged firewall using two fxp NICs. The kernel is a derivative of GENERIC with inapplicable devices commented out, and only one option: options PFIL_HOOKS added (I'm using 5.0 in the first place because I want to use ipf on the bridge). My trivial bridge setup is: # cat /usr/local/etc/rc.d/0.bridge.sh #!/bin/sh kldload bridge sysctl net.link.ether.bridge_cfg="fxp0,fxp1" sysctl net.link.ether.bridge_ipf=1 sysctl net.link.ether.bridge=1 and my ipf.rules consists of only: pass in all pass out all for now. The setup works well for short periods of time, but the kernel panics as soon as a small load crosses the bridge. Excerpts from dmesg: fxp0: promiscuous mode enabled fxp1: promiscuous mode enabled ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 ether_input: drop bdg packet, bif 0x5 fatal kernel trap: trap entry = 0x4 (unaligned access fault) faulting va = 0xfffffe0000028e9a opcode = 0x28 register = 0x3 pc = 0xfffffc00003614a8 ra = 0xfffffc0000362284 sp = 0xfffffe000a36ba60 curthread = 0xfffffc000f71fd10 pid = 19, comm = intr: fxp0 panic: trap syncing disks, buffers remaining... done Uptime: 8m28s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... I have never experienced these panics using the system in non-bridged mode, i.e. as a regular host on the network. The repeatability is 100%: if I enable bridging, then the kernel panics within minutes. Any ideas? I am *very* new to the Alpha platform (I only built my first machine within the last month), although I have a bit of experience with FreeBSD/x86. Please note that although I'd be willing to try a bog-standard GENERIC kernel, I don't have one on the system anymore, and it takes several hours to build one. As I've dedicated tonight to a 'buildworld' to update the compiler toolchain before giving this another effort, I'll have to wait until tomorrow (at the earliest) to try it. However, my kernel really should be very similar to GENERIC (minus the one addition), and I only used the minimal optimizations ('-O') from /etc/defaults/make.conf to build it. -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Dec 27 18:17:49 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 072FA37B401 for ; Fri, 27 Dec 2002 18:17:48 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 187E643EC5 for ; Fri, 27 Dec 2002 18:17:47 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net (pooh.honeypot.net [10.0.1.2]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id gBS2HkeC009254 for ; Fri, 27 Dec 2002 20:17:46 -0600 (CST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net (localhost [127.0.0.1]) by pooh.honeypot.net (8.12.6/8.12.6/Debian-8) with ESMTP id gBS2HkNZ010758 for ; Fri, 27 Dec 2002 20:17:46 -0600 Received: (from kirk@localhost) by pooh.honeypot.net (8.12.6/8.12.6/Debian-8) id gBS2HkI8010755; Fri, 27 Dec 2002 20:17:46 -0600 To: freebsd-alpha@freebsd.org Subject: Re: PC64 getting kernel panics while using bridged networking References: <87k7hvas0q.fsf@pooh.honeypot.net> From: Kirk Strauser Date: 27 Dec 2002 20:17:46 -0600 In-Reply-To: <87k7hvas0q.fsf@pooh.honeypot.net> Message-ID: <87fzsic2et.fsf@pooh.honeypot.net> Lines: 26 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 2002-12-28T00:47:33Z, Kirk Strauser writes: > The kernel is a derivative of GENERIC with inapplicable devices commented > out, and only one option: I just tried again with a kernel similar to the previous one, without the PFIL_HOOKS option, but with `options BRIDGE'. Typing `trace' in DDB gives (from toggling between the crashed Alpha and this workstation via a KVM switch): fr_makefrip() at fr_makefrip+0x3e8 fr_check() at fr_check+0x2c4 ip_input() at ip_input+0x590 ipintr() at ipintr+0xa4 swi_net() at swi_net+0x84 ithread_loop() at ithread_loop+0x1cc fork_exit() at fork_exit+0x100 exception_return() at exception_return --- root of call graph -- Any thoughts? -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Dec 28 15:25:55 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBDA137B401 for ; Sat, 28 Dec 2002 15:25:52 -0800 (PST) Received: from eru.dd.chalmers.se (eru.dd.chalmers.se [129.16.117.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C0343EA9 for ; Sat, 28 Dec 2002 15:25:51 -0800 (PST) (envelope-from g@dd.chalmers.se) Received: from elros.dd.chalmers.se (elros.dd.chalmers.se [129.16.116.22]) by eru.dd.chalmers.se (8.12.6/8.12.6) with ESMTP id gBSNPnQQ010734 for ; Sun, 29 Dec 2002 00:25:50 +0100 (MET) Date: Sun, 29 Dec 2002 00:25:49 +0100 (MET) From: Anders Gavare X-X-Sender: f98anga@elros.dd.chalmers.se To: freebsd-alpha@freebsd.org Subject: faster strlen() using longs (?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi. I'm using FreeBSD 4.5 on an Alpha, and I noticed that strlen() isn't implemented using words, but using chars. I've experimented with several different variations of using longs, and this is the fastest one I've come up with. It's a quick hack, I know, and it's a bit hard coded, so it would have to be placed in the alpha-specific part of libc. It is 2.8 times faster than the default strlen() in libc. size_t my_strlen3(char *databuf) { long data; long *lp; size_t len = 0; /* Count non-aligned chars: */ while (((size_t) databuf) & (sizeof(long)-1)) { if (!*databuf++) return len; len++; } lp = (long *) databuf; /* Loop through full 'long' words: */ for (;;) { /* See comment (START) */ data = *lp++; if ( ((data & 0xff) == 0) || ((data & 0xff00) == 0) || ((data & 0xff0000) == 0) || ((data & 0xff000000) == 0) || ((data & 0xff00000000) == 0) || ((data & 0xff0000000000) == 0) || ((data & 0xff000000000000) == 0) || ((data & 0xff00000000000000) == 0) ) break; len += sizeof(long); /* See comment (END) */ } /* Return the actual length: */ if (!(data & 0xff)) return len; if (!(data & 0xff00)) return len + 1; if (!(data & 0xff0000)) return len + 2; if (!(data & 0xff000000)) return len + 3; data >>= 32; len += 4; if (!(data & 0xff)) return len; if (!(data & 0xff00)) return len + 1; if (!(data & 0xff0000)) return len + 2; return len + 3; } It is sometimes faster when compiled with -O than with -O3 (!), but this depends on which compiler is used. The stuff between (START) and (END) can be #defined and then included multiple times. That way, there will be multiple word tests before the jump back to the start of the for loop. This give a small performance gain using some compilers / compiler options. If this is not an issue anymore with newer releases of FreeBSD on Alpha, then just ignore this mail :-) Anders PS. I'm not on the list, so please CC me if you feel like replying. DS. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Dec 28 18:47:17 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15AD637B401 for ; Sat, 28 Dec 2002 18:47:17 -0800 (PST) Received: from stinky.trash.net (stinky.trash.net [195.134.144.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 463D143EB2 for ; Sat, 28 Dec 2002 18:47:16 -0800 (PST) (envelope-from kob@trash.net) Received: from devil.home.org (unknown [213.173.46.79]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by stinky.trash.net (Postfix) with ESMTP id 82415949C0 for ; Sun, 29 Dec 2002 03:47:14 +0100 (MET) Date: Sun, 29 Dec 2002 03:47:01 +0100 From: Benjamin Kohler To: freebsd-alpha@FreeBSD.org Subject: NIC Alphaserver 400 Message-Id: <20021229034701.199634e0.kob@trash.net> X-Mailer: Sylpheed version 0.8.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I have installed 4.7-Release with the mini-iso on a DEC Alphaserver 400. But know, no network interface is there. Any hints, how can i bring up the interface? cu benj -- Benjamin Kohler kob at trash dot net - Proudly running FreeBSD - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message