Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2001 08:54:32 +0100
From:      Eric Dahan <ericdahan@MEIway.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-tokenring@freebsd.org
Subject:   =?iso-8859-1?Q?it=B4s_always_in_PROMISC_mode?=
Message-ID:  <5.1.0.14.0.20011107085131.02643af8@ms1.meiway.com>

next in thread | raw e-mail | index | archive | help
--=====================_48259393==_.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable

kernel config:
# Olicom device
pseudo-device
token device oltr


most of dmesg.boot:

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 4.4-RELEASE #2: Tue Nov  6 11:27:08 CET 2001
     root@gw0.finimetal.fr:/usr/src/sys/compile/GWFIN
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1000.04-MHz 686-class CPU)
   Origin =3D "GenuineIntel"  Id =3D 0x68a  Stepping =3D 10
  =
 Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CM=
OV,PAT,PSE36,MMX,FXSR,SSE>
real memory  =3D 251576320 (245680K bytes)
avail memory =3D 242061312 (236388K bytes)
Preloaded elf kernel "kernel" at 0xc02d8000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00f14d0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA33 controller> port 0xd800-0xd80f at device 0.1 on=
 pci0
ata0: at 0x1f0 irq 14 on atapci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xeb800000-0xeb800fff=20
irq 5 at device 1.1 on pci0
sis0: Ethernet address: 00:e0:18:09:c0:0b
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib2: <PCI to PCI bridge (vendor=3D1039 device=3D0001)> at device 2.0 on=
 pci0
pci1: <PCI bus> on pcib2
pci1: <SiS model 6300 VGA-compatible display device> at 0.0 irq 11
oltr0: <Olicom PCI/II 16/4 Adapter (OC-3137)> port 0x9800-0x983f irq 11 at=
=20
device 13.0 on pci0
oltr0: MAC address 00:00:83:2b:1d:73
oltr0: adapter self-test complete (status=3D0)
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 19595MB <QUANTUM FIREBALLP AS20.5> [39813/16/63] at ata0-master UDMA33
acd0: CDROM <ASUS CD-S500/A> at ata0-slave using PIO4
Mounting root from ufs:/dev/ad0s2a
oltr0: driver status Type =3D 3
oltr0: ring insert (16 Mbps - TKP)

--------------------------------------

1. When we bring up the 3137 (or 3140), it=B4s always in PROMISC mode. This=
=20
didn=B4t occur on a 4.2R machine where we DL'ed the driver ourselves (rather=
=20
than use the kernel driver of 4.4R or ourselves) and has been running +one=
=20
year error free.


oltr0: flags=3D143<UP,BROADCAST,RUNNING,PROMISC> mtu 1500
                                    ^^^^^^^
         inet 192.168.250.1 netmask 0xffffff00 broadcast 192.168.250.255
         lladdr 00:00:83:2b:1d:73


it's not a DHCP address, the Token Ring network has only one node (The=20
Gateway)and "lsof | grep bpf" do nothing.


- rc.conf

defaultrouter=3D"192.168.253.254"
gateway_enable=3D"YES"
hostname=3D"gw0.xxxxxxxx"
ifconfig_sis0=3D"inet 192.168.253.56  netmask 255.255.255.0"
ifconfig_oltr0=3D"inet 192.168.250.1 netmask 255.255.255.0"
keymap=3D"fr.iso.acc"
sendmail_enable=3D"NO"
sshd_enable=3D"YES"
portmap_enable=3D"NO"


Thanks.



Eric DAHAN.
MEI
25 Avenue des Bretagnes
93230 ROMAINVILLE
Tel : 01.41.71.06.06.
Fax : 01.41.71.06.04.
Centre de formation agr=E9e N=B011752906075
www.meiway.com
Eric DAHAN.
MEI
25 Avenue des Bretagnes
93230 ROMAINVILLE
Tel : 01.41.71.06.06.
Fax : 01.41.71.06.04.
Centre de formation agr=E9e N=B011752906075
www.meiway.com
Eric DAHAN.
MEI
25 Avenue des Bretagnes
93230 ROMAINVILLE
Tel : 01.41.71.06.06.
Fax : 01.41.71.06.04.
Centre de formation agr=E9e N=B011752906075
www.meiway.com
--=====================_48259393==_.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
kernel config: <br>
# Olicom device <br>
pseudo-device <br>
token device oltr<br><br>
<br>
most of dmesg.boot: <br><br>
Copyright (c) 1992-2001 The FreeBSD Project.<br>
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Regents of the University
of California. All rights reserved.<br>
FreeBSD 4.4-RELEASE #2: Tue Nov&nbsp; 6 11:27:08 CET 2001<br>
&nbsp;&nbsp;&nbsp; root@gw0.finimetal.fr:/usr/src/sys/compile/GWFIN<br>
Timecounter &quot;i8254&quot;&nbsp; frequency 1193182 Hz<br>
CPU: Pentium III/Pentium III Xeon/Celeron (1000.04-MHz 686-class
CPU)<br>
&nbsp; Origin =3D &quot;GenuineIntel&quot;&nbsp; Id =3D 0x68a&nbsp; Stepping
=3D 10<br>
&nbsp;
Features=3D0x383f9ff&lt;FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR,SSE&gt;<br>
real memory&nbsp; =3D 251576320 (245680K bytes)<br>
avail memory =3D 242061312 (236388K bytes)<br>
Preloaded elf kernel &quot;kernel&quot; at 0xc02d8000.<br>
Pentium Pro MTRR support enabled<br>
md0: Malloc disk<br>
Using $PIR table, 5 entries at 0xc00f14d0<br>
npx0: &lt;math processor&gt; on motherboard<br>
npx0: INT 16 interface<br>
pcib0: &lt;Host to PCI bridge&gt; on motherboard<br>
pci0: &lt;PCI bus&gt; on pcib0<br>
atapci0: &lt;SiS 5591 ATA33 controller&gt; port 0xd800-0xd80f at device
0.1 on pci0<br>
ata0: at 0x1f0 irq 14 on atapci0<br>
isab0: &lt;SiS 85c503 PCI-ISA bridge&gt; at device 1.0 on pci0<br>
isa0: &lt;ISA bus&gt; on isab0<br>
sis0: &lt;SiS 900 10/100BaseTX&gt; port 0xd400-0xd4ff mem
0xeb800000-0xeb800fff irq 5 at device 1.1 on pci0<br>
sis0: Ethernet address: 00:e0:18:09:c0:0b<br>
miibus0: &lt;MII bus&gt; on sis0<br>
ukphy0: &lt;Generic IEEE 802.3u media interface&gt; on miibus0<br>
ukphy0:&nbsp; 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto<br>
pcib2: &lt;PCI to PCI bridge (vendor=3D1039 device=3D0001)&gt; at device 2.0
on pci0<br>
pci1: &lt;PCI bus&gt; on pcib2<br>
pci1: &lt;SiS model 6300 VGA-compatible display device&gt; at 0.0 irq
11<br>
oltr0: &lt;Olicom PCI/II 16/4 Adapter (OC-3137)&gt; port 0x9800-0x983f
irq 11 at device 13.0 on pci0<br>
oltr0: MAC address 00:00:83:2b:1d:73<br>
oltr0: adapter self-test complete (status=3D0)<br>
pcib1: &lt;SiS 5591 host to AGP bridge&gt; on motherboard<br>
pci2: &lt;PCI bus&gt; on pcib1<br>
orm0: &lt;Option ROM&gt; at iomem 0xc0000-0xcbfff on isa0<br>
fdc0: &lt;NEC 72065B or clone&gt; at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2
on isa0<br>
fdc0: FIFO enabled, 8 bytes threshold<br>
fd0: &lt;1440-KB 3.5&quot; drive&gt; on fdc0 drive 0<br>
atkbdc0: &lt;Keyboard controller (i8042)&gt; at port 0x60,0x64 on
isa0<br>
atkbd0: &lt;AT Keyboard&gt; flags 0x1 irq 1 on atkbdc0<br>
kbd0 at atkbd0<br>
psm0: &lt;PS/2 Mouse&gt; irq 12 on atkbdc0<br>
psm0: model MouseMan+, device ID 0<br>
vga0: &lt;Generic ISA VGA&gt; at port 0x3c0-0x3df iomem 0xa0000-0xbffff
on isa0<br>
sc0: &lt;System console&gt; at flags 0x100 on isa0<br>
sc0: VGA &lt;16 virtual consoles, flags=3D0x300&gt;<br>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0<br>
sio0: type 16550A<br>
sio1 at port 0x2f8-0x2ff irq 3 on isa0<br>
sio1: type 16550A<br>
ppc0: &lt;Parallel port&gt; at port 0x378-0x37f irq 7 on isa0<br>
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode<br>
ppc0: FIFO with 16/16/16 bytes threshold<br>
plip0: &lt;PLIP network interface&gt; on ppbus0<br>
lpt0: &lt;Printer&gt; on ppbus0<br>
lpt0: Interrupt-driven port<br>
ppi0: &lt;Parallel I/O&gt; on ppbus0<br>
ad0: 19595MB &lt;QUANTUM FIREBALLP AS20.5&gt; [39813/16/63] at
ata0-master UDMA33<br>
acd0: CDROM &lt;ASUS CD-S500/A&gt; at ata0-slave using PIO4<br>
Mounting root from ufs:/dev/ad0s2a<br>
oltr0: driver status Type =3D 3<br>
oltr0: ring insert (16 Mbps - TKP)<br><br>
--------------------------------------<br><br>
1. When we bring up the 3137 (or 3140), it=B4s always in PROMISC mode. This
didn=B4t occur on a 4.2R machine where we DL'ed the driver ourselves
(rather than use the kernel driver of 4.4R or ourselves) and has been
running +one year error free.<br><br>
<br>
oltr0: flags=3D143&lt;UP,BROADCAST,RUNNING,PROMISC&gt; mtu 1500<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
^^^^^^^<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 192.168.250.1 netmask
0xffffff00 broadcast 192.168.250.255<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lladdr
00:00:83:2b:1d:73<br><br>
<br>
it's not a DHCP address, the Token Ring network has only one node (The
Gateway)and &quot;lsof | grep bpf&quot; do nothing.<br><br>
<br>
- rc.conf<br><br>
defaultrouter=3D&quot;192.168.253.254&quot;<br>
gateway_enable=3D&quot;YES&quot;<br>
hostname=3D&quot;gw0.xxxxxxxx&quot;<br>
ifconfig_sis0=3D&quot;inet 192.168.253.56&nbsp; netmask
255.255.255.0&quot;<br>
ifconfig_oltr0=3D&quot;inet 192.168.250.1 netmask 255.255.255.0&quot;<br>
keymap=3D&quot;fr.iso.acc&quot;<br>
sendmail_enable=3D&quot;NO&quot;<br>
sshd_enable=3D&quot;YES&quot;<br>
portmap_enable=3D&quot;NO&quot;<br><br>
<br>
Thanks.<br><br>
<br>
<x-sigsep><p></x-sigsep>
Eric DAHAN.<br>
<b>MEI<br>
</b>25 Avenue des Bretagnes<br>
93230 ROMAINVILLE<br>
Tel : 01.41.71.06.06.<br>
Fax : 01.41.71.06.04.<br>
<font size=3D1><b><i>Centre de formation agr=E9e N=B011752906075<br>
</i></b></font><a href=3D"http://www.meiway.com/" eudora=3D"autourl">www.mei=
way.com</a>
<br>
Eric DAHAN.<br>
<b>MEI<br>
</b>25 Avenue des Bretagnes<br>
93230 ROMAINVILLE<br>
Tel : 01.41.71.06.06.<br>
Fax : 01.41.71.06.04.<br>
<font size=3D1><b><i>Centre de formation agr=E9e N=B011752906075<br>
</i></b></font><a href=3D"http://www.meiway.com/" eudora=3D"autourl">www.mei=
way.com</a>
<br>

Eric DAHAN.<br>
<b>MEI<br>
</b>25 Avenue des Bretagnes<br>
93230 ROMAINVILLE<br>
Tel : 01.41.71.06.06.<br>
Fax : 01.41.71.06.04.<br>
<font size=3D1><b><i>Centre de formation agr=E9e N=B011752906075<br>
</i></b></font><a href=3D"http://www.meiway.com/" eudora=3D"autourl">www.mei=
way.com</a></html>

--=====================_48259393==_.ALT--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20011107085131.02643af8>