From owner-freebsd-tokenring Sun Oct 22 16:37:51 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id AC6AB37B4C5 for ; Sun, 22 Oct 2000 16:37:49 -0700 (PDT) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 32D336A901; Mon, 23 Oct 2000 01:37:47 +0200 (CEST) Received: from sv.Go2France.com [212.73.210.79] by mail.Go2France.com with ESMTP (SMTPD32-6.04) id AB9554BA0054; Mon, 23 Oct 2000 01:43:17 +0200 Message-Id: <5.0.0.25.0.20001023013502.03b73eb0@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 23 Oct 2000 01:37:49 +0200 To: freebsd-tokenring@freebsd.org From: Len Conrad Subject: Re: time to MFC netinet/if_ether.c and net/*iso88025*? Cc: Larry Lile In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Installing a fresh disk from FreeBSD 4.1-R cdrom, and using the oltr as delivered on that cdrom: linking kernel if_oltr.o: In function `oltr_pci_attach': if_oltr.o(.text+0x883): undefined reference to `iso88025_output' if_oltr.o(.text+0x982): undefined reference to `iso88025_ifattach' if_oltr.o: In function `oltr_ioctl': if_oltr.o(.text+0x101b): undefined reference to `iso88025_ioctl' if_oltr.o: In function `DriverReceiveFrameCompleted': if_oltr.o(.text+0x18b1): undefined reference to `iso88025_input' *** Error code 1 How to get the compile to succeed? Thanks, Len To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun Oct 22 16:39:39 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 0DF6337B479 for ; Sun, 22 Oct 2000 16:39:38 -0700 (PDT) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 1FE9B6A901; Mon, 23 Oct 2000 01:39:37 +0200 (CEST) Received: from sv.Go2France.com [212.73.210.79] by mail.Go2France.com with ESMTP (SMTPD32-6.04) id AC0855210054; Mon, 23 Oct 2000 01:45:12 +0200 Message-Id: <5.0.0.25.0.20001023013920.03176340@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 23 Oct 2000 01:39:46 +0200 To: freebsd-tokenring@freebsd.org From: Len Conrad Subject: sorry, did not change subject: undefined reference to `iso88025_output Cc: Larry Lile Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Installing a fresh disk from FreeBSD 4.1-R cdrom, and using the oltr as delivered on that cdrom: linking kernel if_oltr.o: In function `oltr_pci_attach': if_oltr.o(.text+0x883): undefined reference to `iso88025_output' if_oltr.o(.text+0x982): undefined reference to `iso88025_ifattach' if_oltr.o: In function `oltr_ioctl': if_oltr.o(.text+0x101b): undefined reference to `iso88025_ioctl' if_oltr.o: In function `DriverReceiveFrameCompleted': if_oltr.o(.text+0x18b1): undefined reference to `iso88025_input' *** Error code 1 How to get the compile to succeed? Thanks, Len To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun Oct 22 19:47: 3 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 468B437B479 for ; Sun, 22 Oct 2000 19:47:02 -0700 (PDT) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 2FBDC6A901; Mon, 23 Oct 2000 04:47:01 +0200 (CEST) Received: from sv.Go2France.com [212.73.210.79] by mail.Go2France.com with ESMTP (SMTPD32-6.04) id A7F47C8B0054; Mon, 23 Oct 2000 04:52:36 +0200 Message-Id: <5.0.0.25.0.20001023044435.03bbfd40@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 23 Oct 2000 04:47:06 +0200 To: freebsd-tokenring@freebsd.org From: Len Conrad Subject: undefined reference to `iso88025_output In-Reply-To: <5.0.0.25.0.20001023013920.03176340@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to bother the list again, but I'm dead in the water with the compile pb below. Can someboy please indicate, fairly soon, how I can get past this block? tia, Len ==================== >Installing a fresh disk from FreeBSD 4.1-R cdrom, and using the oltr >as delivered on that cdrom: > >linking kernel >if_oltr.o: In function `oltr_pci_attach': >if_oltr.o(.text+0x883): undefined reference to `iso88025_output' >if_oltr.o(.text+0x982): undefined reference to `iso88025_ifattach' >if_oltr.o: In function `oltr_ioctl': >if_oltr.o(.text+0x101b): undefined reference to `iso88025_ioctl' >if_oltr.o: In function `DriverReceiveFrameCompleted': >if_oltr.o(.text+0x18b1): undefined reference to `iso88025_input' >*** Error code 1 > >How to get the compile to succeed? > >Thanks, >Len To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun Oct 22 23:41:21 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from Draculina.otdel-1.org (Draculina.Otdel-1.ORG [195.230.65.30]) by hub.freebsd.org (Postfix) with ESMTP id 87A1037B479 for ; Sun, 22 Oct 2000 23:41:19 -0700 (PDT) Received: by Draculina.otdel-1.org (Postfix, from userid 1002) id D63231BB; Mon, 23 Oct 2000 10:41:16 +0400 (MSD) Date: Mon, 23 Oct 2000 10:41:16 +0400 From: Nikolai Saoukh To: Len Conrad Cc: freebsd-tokenring@freebsd.org Subject: Re: time to MFC netinet/if_ether.c and net/*iso88025*? Message-ID: <20001023104116.A35871@Draculina.otdel-1.org> References: <5.0.0.25.0.20001023073344.03f01130@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.0.25.0.20001023073344.03f01130@mail.Go2France.com>; from lconrad@Go2France.com on Mon, Oct 23, 2000 at 07:36:58AM +0200 Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Installing a fresh disk from FreeBSD 4.1-R cdrom, and using the oltr > >as delivered on that cdrom: > > > >linking kernel > >if_oltr.o: In function `oltr_pci_attach': > >if_oltr.o(.text+0x883): undefined reference to `iso88025_output' > >if_oltr.o(.text+0x982): undefined reference to `iso88025_ifattach' > >if_oltr.o: In function `oltr_ioctl': > >if_oltr.o(.text+0x101b): undefined reference to `iso88025_ioctl' > >if_oltr.o: In function `DriverReceiveFrameCompleted': > >if_oltr.o(.text+0x18b1): undefined reference to `iso88025_input' > >*** Error code 1 > > Can you tell, precisely, how to fix this? or do I have to wait until > the committers update the tree? Is there nothing I can do to get running? You need 'pseudo-device token' in your config file, I guess. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun Oct 22 23:48: 4 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 1799237B479 for ; Sun, 22 Oct 2000 23:48:02 -0700 (PDT) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id D12D26A901; Mon, 23 Oct 2000 08:48:00 +0200 (CEST) Received: from sv.Go2France.com [212.73.210.79] by mail.Go2France.com with ESMTP (SMTPD32-6.04) id A06FAD140054; Mon, 23 Oct 2000 08:53:35 +0200 Message-Id: <5.0.0.25.0.20001023084623.03115720@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 23 Oct 2000 08:48:06 +0200 To: Nikolai Saoukh From: Len Conrad Subject: Re: time to MFC netinet/if_ether.c and net/*iso88025*? Cc: freebsd-tokenring@freebsd.org In-Reply-To: <20001023104116.A35871@Draculina.otdel-1.org> References: <5.0.0.25.0.20001023073344.03f01130@mail.Go2France.com> <5.0.0.25.0.20001023073344.03f01130@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > >Installing a fresh disk from FreeBSD 4.1-R cdrom, and using the oltr > > >as delivered on that cdrom: > > > > > >linking kernel > > >if_oltr.o: In function `oltr_pci_attach': > > >if_oltr.o(.text+0x883): undefined reference to `iso88025_output' > > >if_oltr.o(.text+0x982): undefined reference to `iso88025_ifattach' > > >if_oltr.o: In function `oltr_ioctl': > > >if_oltr.o(.text+0x101b): undefined reference to `iso88025_ioctl' > > >if_oltr.o: In function `DriverReceiveFrameCompleted': > > >if_oltr.o(.text+0x18b1): undefined reference to `iso88025_input' > > >*** Error code 1 > > > > Can you tell, precisely, how to fix this? or do I have to wait until > > the committers update the tree? Is there nothing I can do to get running? > >You need 'pseudo-device token' in your config file, I guess. ok, that allows "make" to run until it breaks on ipfilter now. :))) Thanks, Nikolai Len http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K http://IMGate.MEIway.com: Build free, hi-perf, anti-spam mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Oct 23 3:13:35 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 9254E37B4C5 for ; Mon, 23 Oct 2000 03:13:32 -0700 (PDT) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id DF9876A90A for ; Mon, 23 Oct 2000 12:13:31 +0200 (CEST) Received: from sv.Go2France.com [212.73.210.79] by mail.Go2France.com with ESMTP (SMTPD32-6.04) id A09ADA260054; Mon, 23 Oct 2000 12:19:06 +0200 Message-Id: <5.0.0.25.0.20001023115127.02e43720@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 23 Oct 2000 12:11:14 +0200 To: freebsd-tokenring@freebsd.org From: Len Conrad Subject: Re: undefined reference to `iso88025_output In-Reply-To: <5.0.0.25.0.20001023044435.03bbfd40@mail.Go2France.com> References: <5.0.0.25.0.20001023013920.03176340@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG PIII 733 MHz Olicom OC-3140 with a cable plugged into an Olicom hub (but only device on the TRN segment) In our custom kernal built from 4.1-R CDROM, with no errors signalled during make: device oltr0 pseudo-device token But then the card is not recognized: Oct 23 11:51:54 gw0 /kernel: pcib0: on motherboard Oct 23 11:51:54 gw0 /kernel: pci0: on pcib0 Oct 23 11:51:54 gw0 /kernel: pcib2: at device 1.0 on pci0 Oct 23 11:51:54 gw0 /kernel: pci1: on pcib2 Oct 23 11:51:54 gw0 /kernel: pci1: at 0.0 irq 11 Oct 23 11:51:54 gw0 /kernel: isab0: at device 4.0 on pci0 Oct 23 11:51:54 gw0 /kernel: isa0: on isab0 Oct 23 11:51:54 gw0 /kernel: atapci0: port 0xb800-0xb80f at device 4.1 on pci0 Oct 23 11:51:54 gw0 /kernel: ata0: at 0x1f0 irq 14 on atapci0 Oct 23 11:51:54 gw0 /kernel: pci0: (vendor=0x108d, dev=0x0004) at 14.0 irq 12 Oct 23 11:51:54 gw0 /kernel: xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa400-0xa47f mem 0xe1800000-0xe180007f irq 5 at device 15.0 on pci0 Oct 23 11:51:54 gw0 /kernel: xl0: Ethernet address: 00:01:02:b2:ad:a5 Oct 23 11:51:54 gw0 /kernel: miibus0: on xl0 Oct 23 11:51:54 gw0 /kernel: xlphy0: <3c905C 10/100 internal PHY> on miibus0 Oct 23 11:51:54 gw0 /kernel: xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 23 11:51:54 gw0 /kernel: xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xa000-0xa07f mem 0xe1000000-0xe100007f irq 10 at device 16.0 on pci0 Oct 23 11:51:54 gw0 /kernel: xl1: Ethernet address: 00:01:02:b2:ae:93 Oct 23 11:51:54 gw0 /kernel: miibus1: on xl1 Oct 23 11:51:54 gw0 /kernel: xlphy1: <3c905C 10/100 internal PHY> on miibus1 Oct 23 11:51:54 gw0 /kernel: xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 23 11:51:54 gw0 /kernel: pcib1: on motherboard Oct 23 11:51:54 gw0 /kernel: pci2: on pcib1 Any suggestions? Len http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K http://IMGate.MEIway.com: Build free, hi-perf, anti-spam mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Oct 23 6:38: 1 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from Draculina.otdel-1.org (Draculina.Otdel-1.ORG [195.230.65.30]) by hub.freebsd.org (Postfix) with ESMTP id 3345F37B479 for ; Mon, 23 Oct 2000 06:38:00 -0700 (PDT) Received: by Draculina.otdel-1.org (Postfix, from userid 1002) id 0DFAC1EA; Mon, 23 Oct 2000 17:37:57 +0400 (MSD) Date: Mon, 23 Oct 2000 17:37:57 +0400 From: Nikolai Saoukh To: Len Conrad Cc: freebsd-tokenring@freebsd.org Subject: Re: undefined reference to `iso88025_output Message-ID: <20001023173757.A36831@Draculina.otdel-1.org> References: <5.0.0.25.0.20001023013920.03176340@mail.Go2France.com> <5.0.0.25.0.20001023044435.03bbfd40@mail.Go2France.com> <5.0.0.25.0.20001023115127.02e43720@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.0.25.0.20001023115127.02e43720@mail.Go2France.com>; from lconrad@Go2France.com on Mon, Oct 23, 2000 at 12:11:14PM +0200 Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In our custom kernal built from 4.1-R CDROM, with no errors signalled > during make: > > device oltr0 > pseudo-device token It should be 'device oltr', -- no zero. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon Oct 23 10:12: 9 2000 Delivered-To: freebsd-tokenring@freebsd.org Received: from Draculina.otdel-1.org (Draculina.Otdel-1.ORG [195.230.65.30]) by hub.freebsd.org (Postfix) with ESMTP id 7C6E137B479; Mon, 23 Oct 2000 10:12:05 -0700 (PDT) Received: by Draculina.otdel-1.org (Postfix, from userid 1002) id 7C8001BD; Mon, 23 Oct 2000 21:12:03 +0400 (MSD) Date: Mon, 23 Oct 2000 21:12:03 +0400 From: Nikolai Saoukh To: lile@freebsd.org Cc: freebsd-tokenring@freebsd.org Subject: recent problems with oltr at 4.x-stable Message-ID: <20001023211203.A37445@Draculina.otdel-1.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The work memory for trlld was present in wrong time. The patch is below. Spelling corrected too ;-) --- if_oltr.c.orig Tue Oct 10 04:47:12 2000 +++ if_oltr.c Mon Oct 23 20:49:53 2000 @@ -290,5 +290,5 @@ { int i, s, rc = 0, rid, - scratch_size, work_size; + scratch_size; int media = IFM_TOKEN|IFM_TOK_UTP16; u_long command; @@ -340,24 +340,4 @@ } - switch(sc->config.type) { - case TRLLD_ADAPTER_PCI4: /* OC-3139 */ - work_size = 32 * 1024; - break; - case TRLLD_ADAPTER_PCI7: /* OC-3540 */ - work_size = 256; - break; - default: - work_size = 0; - } - - if (work_size) { - if ((sc->work_memory = malloc(work_size, M_DEVBUF, M_NOWAIT)) == NULL) { - device_printf(dev, "failed to allocate work memory.\n"); - } else { - TRlldAddMemory(sc->TRlldAdapter, sc->work_memory, - vtophys(sc->work_memory), work_size); - } - } - /* * Allocate RX/TX Pools @@ -546,5 +526,5 @@ oltr_pci_attach(pcici_t config_id, int unit) { - int i, s, rc = 0, scratch_size, work_size; + int i, s, rc = 0, scratch_size; int media = IFM_TOKEN|IFM_TOK_UTP16; u_long command; @@ -601,24 +581,4 @@ } - switch(sc->config.type) { - case TRLLD_ADAPTER_PCI4: /* OC-3139 */ - work_size = 32 * 1024; - break; - case TRLLD_ADAPTER_PCI7: /* OC-3540 */ - work_size = 256; - break; - default: - work_size = 0; - } - - if (work_size) { - if ((sc->work_memory = malloc(work_size, M_DEVBUF, M_NOWAIT)) == NULL) { - printf("oltr%d: failed to allocate work memory.\n", unit); - } else { - TRlldAddMemory(sc->TRlldAdapter, sc->work_memory, - vtophys(sc->work_memory), work_size); - } - } - /* * Allocate RX/TX Pools @@ -844,4 +804,5 @@ struct ifmedia *ifm = &sc->ifmedia; int poll = 0, i, rc = 0, s; + int work_size; /* @@ -881,4 +842,24 @@ sc->state = OL_INIT; + switch(sc->config.type) { + case TRLLD_ADAPTER_PCI4: /* OC-3139 */ + work_size = 32 * 1024; + break; + case TRLLD_ADAPTER_PCI7: /* OC-3540 */ + work_size = 256; + break; + default: + work_size = 0; + } + + if (work_size) { + if ((sc->work_memory = malloc(work_size, M_DEVBUF, M_NOWAIT)) == NULL) { + printf("oltr%d: failed to allocate work memory (%d octets).\n", sc->unit, work_size); + } else { + TRlldAddMemory(sc->TRlldAdapter, sc->work_memory, + vtophys(sc->work_memory), work_size); + } + } + switch(IFM_SUBTYPE(ifm->ifm_media)) { case IFM_AUTO: @@ -993,5 +974,5 @@ return; default: - printf("oltr%d: unkown open error (%d)\n", sc->unit, rc); + printf("oltr%d: unknown open error (%d)\n", sc->unit, rc); (void)splx(s); return; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message