From owner-freebsd-atm Mon Apr 8 5:54: 0 2002 Delivered-To: freebsd-atm@freebsd.org Received: from proton.hexanet.fr (proton.hexanet.fr [81.23.32.33]) by hub.freebsd.org (Postfix) with ESMTP id C467F37B421; Mon, 8 Apr 2002 05:53:52 -0700 (PDT) Received: from hexanet.fr (localhost [127.0.0.1]) by proton.hexanet.fr (8.11.6/8.11.6) with SMTP id g38CrMJ02737; Mon, 8 Apr 2002 14:53:22 +0200 (CEST) (envelope-from c.prevotaux@hexanet.fr) Date: Mon, 8 Apr 2002 14:53:22 +0200 From: Christophe Prevotaux To: Josh Paetzel , ohartman@klima.physik.uni-mainz.de Cc: administrator@klima.physik.uni-mainz.de, mikea@mikea.ath.cx, freebsd-stable@FreeBSD.ORG, freebsd-atm@FreeBSD.ORG Subject: Re: SMP with VIA chipset system lockups Message-Id: <20020408145322.2221d01f.c.prevotaux@hexanet.fr> In-Reply-To: <20020403215055.G286@twincat.vladsempire.net> References: <20020327115046.A71084@mikea.ath.cx> <20020402155825.B48482-100000@klima.physik.uni-mainz.de> <20020403215055.G286@twincat.vladsempire.net> Organization: HEXANET Sarl X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.4) X-NCC-RegID: fr.hexanet Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 3 Apr 2002 21:50:55 +0000 Josh Paetzel wrote: > On Tue, Apr 02, 2002 at 04:04:21PM +0200, Administrator IPA wrote: > > On Wed, 27 Mar 2002, mikea wrote: > > > > > On Wed, Mar 27, 2002 at 06:45:49PM +0100, Christophe Prévotaux wrote: > > > > I have a similar problem with a ASUS CUV4X-DLS > > > > Dual CPU motherboard it is using VIA CHIPSET > > > > as well and I have lockups , the system > > > > freezes but I am still able to ping the machine > > > > this is very strange , however nothing else works > > > > > > > > I have no problems running these machine in single > > > > CPU mode but when I run SMP it does have freezing > > > > problems > > > > Hello out there. > > > > We have several SMP machines around here, one is a ASUS CUV4X-D based > > system. This machine never have had any lockups as you described. > > > > Another system, a TYAN Thunder 2500/Slot 1 system with ServerWorks ServerSet III/HE > > chipset had today its 'spontanous' reboot. > > > > With TYAN's mainboard I had a lot of trouble and it seems not to be only a issue of the > > chipset itself! > > TYAN Thunder and ASUS CUV4X-D have problems with IRQs, I guess, especially when using more > > than one Intel EtherExpress (fxp) NIC. Well I do have problems with the ASUS CUV4X-D and I am using the integrated fxp ethernet interface , one DG500SX DLINK Gigabit Ethernet board and a PCA200E-SMF ATM card in the same machine. Under Linux they worked absolutely flawlessly I am using # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # The `hfa' driver provides support for the FORE Systems, Inc. # PCA-200E ATM PCI Adapter. # options ATM_CORE #core ATM protocol family options ATM_IP #IP over ATM support options ATM_SIGPVC #SIGPVC signalling manager options ATM_SPANS #SPANS signalling manager options ATM_UNI #UNI signalling manager # I also have APM enabled , but I am going to try with APM disable in my KERNCONF and see what happens -- =============================================================== Christophe Prevotaux Email: c.prevotaux@hexanet.fr HEXANET SARL URL: http://www.hexanet.fr/ Z.A.C Les Charmilles Tel: +33 (0)3 26 79 30 05 3 Allée Thierry Sabine Direct: +33 (0)3 26 79 08 02 BP202 Fax: +33 (0)3 26 79 30 06 51686 Reims Cedex 2 FRANCE HEXANET Network Operation Center =============================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Apr 8 8:22:21 2002 Delivered-To: freebsd-atm@freebsd.org Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by hub.freebsd.org (Postfix) with ESMTP id 0A06B37B404; Mon, 8 Apr 2002 08:22:09 -0700 (PDT) Received: from klima.Physik.Uni-Mainz.DE (Sturm@klima.Physik.Uni-Mainz.DE [134.93.180.162]) by klima.physik.uni-mainz.de (8.12.2/8.12.2) with ESMTP id g38FM7KK017376; Mon, 8 Apr 2002 17:22:07 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Mon, 8 Apr 2002 17:22:07 +0200 (CEST) From: "Hartmann, O." To: Christophe Prevotaux Cc: Josh Paetzel , , , , Subject: Re: SMP with VIA chipset system lockups In-Reply-To: <20020408145322.2221d01f.c.prevotaux@hexanet.fr> Message-ID: <20020408170933.W17027-100000@klima.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 8 Apr 2002, Christophe Prevotaux wrote: :>On Wed, 3 Apr 2002 21:50:55 +0000 :>Josh Paetzel wrote: :> :>> On Tue, Apr 02, 2002 at 04:04:21PM +0200, Administrator IPA wrote: :>> > On Wed, 27 Mar 2002, mikea wrote: :>> > :>> > > On Wed, Mar 27, 2002 at 06:45:49PM +0100, Christophe Prévotaux wrote: :>> > > > I have a similar problem with a ASUS CUV4X-DLS :>> > > > Dual CPU motherboard it is using VIA CHIPSET :>> > > > as well and I have lockups , the system :>> > > > freezes but I am still able to ping the machine :>> > > > this is very strange , however nothing else works :>> > > > :>> > > > I have no problems running these machine in single :>> > > > CPU mode but when I run SMP it does have freezing :>> > > > problems :> :>> > :>> > Hello out there. :>> > :>> > We have several SMP machines around here, one is a ASUS CUV4X-D based :>> > system. This machine never have had any lockups as you described. :>> > :>> > Another system, a TYAN Thunder 2500/Slot 1 system with ServerWorks ServerSet III/HE :>> > chipset had today its 'spontanous' reboot. :>> > :>> > With TYAN's mainboard I had a lot of trouble and it seems not to be only a issue of the :>> > chipset itself! :>> > TYAN Thunder and ASUS CUV4X-D have problems with IRQs, I guess, especially when using more :>> > than one Intel EtherExpress (fxp) NIC. :> :> :>Well I do have problems with the ASUS CUV4X-D and I am using the integrated :>fxp ethernet interface , one DG500SX DLINK Gigabit Ethernet board and a PCA200E-SMF :>ATM card in the same machine. Under Linux they worked absolutely flawlessly :> :>I am using :> :># To make an SMP kernel, the next two are needed :>options SMP # Symmetric MultiProcessor Kernel :>options APIC_IO # Symmetric (APIC) I/O :> :># The `hfa' driver provides support for the FORE Systems, Inc. :># PCA-200E ATM PCI Adapter. :># :>options ATM_CORE #core ATM protocol family :>options ATM_IP #IP over ATM support :>options ATM_SIGPVC #SIGPVC signalling manager :>options ATM_SPANS #SPANS signalling manager :>options ATM_UNI #UNI signalling manager :># :> :> :>I also have APM enabled , but I am going to try with :> :>APM disable :> :>in my KERNCONF and see what happens :> :> :> :>-- :>=============================================================== :>Christophe Prevotaux Email: c.prevotaux@hexanet.fr :>HEXANET SARL URL: http://www.hexanet.fr/ :>Z.A.C Les Charmilles Tel: +33 (0)3 26 79 30 05 :>3 Allée Thierry Sabine Direct: +33 (0)3 26 79 08 02 :>BP202 Fax: +33 (0)3 26 79 30 06 :>51686 Reims Cedex 2 :>FRANCE HEXANET Network Operation Center :>=============================================================== :> Well, you found one possible solution for your own. I had especially on the TYAN Thunder 2500 problems with APM enabled, but why use this seneseless feature in an server environment? Our ASUS CUV4X-D had also APM problems, I deselected it - and things were fine as before. Another issue is networking, NICs and IRQ with FreeBSD. I made the same experiences like you with more than one NIC enabled and used in an SMP system. While UP systems does obviously not have any problems with more than one NIC (we have a bridging firewall with two NICs, fxp type EtherExpress 10/100 Pro+, never saw any problem if the NICs are placed in the right PCI slots on the ASUS A7V mobo), SMP machines does. Especially those with newer chipsets. Our older SMP system, based on two Intel PII/350 on a GigaByte and Bx440 chipset worked without problems with two Intel NICs, but the TYAN Thunder 2500 did not. Our ASUS does not have a built in NIC and it worked with FBSD 4.3 without problems and in SMP mode using two NICs (activated and therefore up and under heavy load!). As I reported, the problems went away on the TYAN when replacing the RAID controller and not activating the built in NIC. I guess this has to do with IRQ sharing and the IRQ routing because I ran into much trouble when I updated the firmware of the AMI Enterprise RAID controller (nothing else!) and after a reboot, this controller obtained another IRQ and after a couple of seconds the system locked up - until I placed the controller in a PCI 64/66 slot. On Linux I never saw similar problems, but Linux has several other issues, and especially performance impacts, which can be measured if both systems are up and running stable. -- MfG O. Hartmann ohartman@klima.physik.uni-mainz.de ------------------------------------------------------------------ IT-Administration des Institutes fuer Physik der Atmosphaere (IPA) ------------------------------------------------------------------ Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 (Buero) FAX: +496131/3923532 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Fri Apr 12 5: 6:21 2002 Delivered-To: freebsd-atm@freebsd.org Received: from mta1-3.us4.outblaze.com (205-158-62-44.outblaze.com [205.158.62.44]) by hub.freebsd.org (Postfix) with ESMTP id AF6FA37B405 for ; Fri, 12 Apr 2002 05:06:09 -0700 (PDT) Received: from ws1-8.us4.outblaze.com (205-158-62-59.outblaze.com [205.158.62.59]) by mta1-3.us4.outblaze.com (8.11.6/8.11.6-srs) with SMTP id g3CC69U28105 for ; Fri, 12 Apr 2002 12:06:09 GMT Received: (qmail 1388 invoked by uid 1001); 12 Apr 2002 12:06:09 -0000 Message-ID: <20020412120609.1387.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [194.237.142.12] by ws1-8.us4.outblaze.com with http for jazzit@sociologist.com; Fri, 12 Apr 2002 07:06:08 -0500 From: "gianluca " To: freebsd-atm@FreeBSD.ORG Date: Fri, 12 Apr 2002 07:06:08 -0500 Subject: Fore pca-200E adapter: connect to atm socket X-Originating-Ip: 194.237.142.12 X-Originating-Server: ws1-8.us4.outblaze.com Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am new. I have a PC running freeBSD4.5 with Fore 200E adapter. The aim is to build on top of the ATM HARP socket part of the ss7 stack something like ATM/AAL5/SSCOP/SSCF/MTP3-B... I will only need to have some functionalities for every layer implemented. My application will have to use only a fix PVC value. In my set up I have now loopback the NIC (fiber connects Tx and RX). Through the atm commands I have set pvc in the card and IP address of a not-existing other end host. When running ping towards the not existing host I have the expected behaviour with the route to host found but obviously not response. So far so good. I have now started to use the sample programs reported in the HARP source code and modified as reported below, to use a fixed PVC value. I'd like to do a simple client -server application to start practice with the socket. The client program however doesn't start because the function connect() returns the error connect: Invalid argument. I guess that the values of satm that I pass to the function connect() are not correct. Does anyone know what's wrong? Do you know where I van find some more docs and examples apart from what is available at HARP site? Thanks Gianluca * * ATM API sample client application * * This application will open an ATM socket to a server, send a text string * in a PDU and then read one PDU from the socket and print its contents. * */ #include #include #include #include #include #include #define MAX_LEN 4096 /* Maximum PDU length */ #define MY_APPL "Client" Atm_addr_pvc pvc_addr = {0,0,0,56}; //vpi 0, vci 56 static char message[] = "A message from the client"; main(argc, argv) int argc; char **argv; { struct sockaddr_atm satm; struct t_atm_aal5 aal5; struct t_atm_net_intf netintf; struct t_atm_app_name appname; char buffer[MAX_LEN+1]; int s, n, optlen; /* * Create socket */ s = socket(AF_ATM, SOCK_SEQPACKET, ATM_PROTO_AAL5); if (s < 0) { perror("socket"); exit(1); } /* * Set up destination SAP */ bzero((caddr_t) &satm, sizeof(satm)); satm.satm_family = AF_ATM; #if (defined(BSD) && (BSD >= 199103)) satm.satm_len = sizeof(satm); #endif /* PVC address */ satm.satm_addr.t_atm_sap_addr.SVE_tag_addr = T_ATM_PRESENT; satm.satm_addr.t_atm_sap_addr.SVE_tag_selector = T_ATM_PRESENT; satm.satm_addr.t_atm_sap_addr.address_format = T_ATM_PVC_ADDR; satm.satm_addr.t_atm_sap_addr.address_length = sizeof(pvc_addr); bcopy((caddr_t)&pvc_addr, (caddr_t)satm.satm_addr.t_atm_sap_addr.address, sizeof(Atm_addr_pvc)); /* * Set up connection parameters */ aal5.forward_max_SDU_size = MAX_LEN; aal5.backward_max_SDU_size = MAX_LEN; aal5.SSCS_type = T_ATM_NULL; optlen = sizeof(aal5); if (setsockopt(s, T_ATM_SIGNALING, T_ATM_AAL5, (caddr_t)&aal5, optlen) < 0) { perror("setsockopt(aal5)"); exit(1); } strncpy(netintf.net_intf, "ni0", IFNAMSIZ); optlen = sizeof(netintf); if (setsockopt(s, T_ATM_SIGNALING, T_ATM_NET_INTF, (caddr_t)&netintf, optlen) < 0) { perror("setsockopt(net_intf)"); exit(1); } strncpy(appname.app_name, MY_APPL, T_ATM_APP_NAME_LEN); optlen = sizeof(appname); if (setsockopt(s, T_ATM_SIGNALING, T_ATM_APP_NAME, (caddr_t)&appname, optlen) < 0) { perror("setsockopt(app_name)"); exit(1); } /* * Connect the socket */ if (connect(s, (struct sockaddr *) &satm, sizeof(satm)) < 0) { perror("connect"); exit(1); } /* * Exchange message with peer */ if (write(s, message, sizeof(message)) != sizeof(message)) { perror("write"); exit(1); } if ((n = read(s, buffer, MAX_LEN)) < 0) { perror("read"); exit(1); } buffer[n] = '\0'; printf("received %d bytes: <%s>\n", n, buffer); /* * Finish up */ if (close(s) < 0) { perror("close"); exit(1); } exit(0); } -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Looking for old school, college, work or military friends? Go to Classmates now!http://www.classmates.com/index.tf?s=6010 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message