Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 14:20:21 +0200
From:      Bernhard Vogel <aratron@gmx.li>
To:        tokenring@freebsd.org
Subject:   Got stuck on Olicom oc3133 card
Message-ID:  <3BC43D05.59EEF847@gmx.li>

next in thread | raw e-mail | index | archive | help
hello list,
i am new to FreeBSD and got stuck on installing an Olicom oc3133 card on

FreeBSD-4.4.
Has there ever been confirmation that these cards work under FreeBSD? On

the official website it is marked as "maybe", but this statement is as
far as I can see dated back to 1999 and in the offical source code the
oc3133 is listed as one of the supported cards.
These steps i have taken this far:
1. Compiled and installed a new Kernel with the options (as mentioned
earlier in this list,also pasted below):
device    oltr0    at isa?
pseudo-device    token

(Do I have to hard code the adapter setting into the kernel
configuration?)

2. Configuration of the bootup (userconfig_script):
en oltr0
po oltr0 0xa20
ir oltr0 9
dr oltr0 5
iom oltr0 0xc0000

(port,irq,dma set according to setup program for the adapter, memory
address (iom) used from report of same card in pnp-mode, though THIS
CARD ISN'T, also tested without setting iom)
(btw the official olicom setup program report these devices as oc3118)

Did I leave something out?
Any help appreciated :)

Thanks in Advance

Bernhard


PS maybe this could be useful:

MYKERNEL (config for kernel)
machine         i386
cpu             I386_CPU
cpu             I486_CPU
cpu             I586_CPU
cpu             I686_CPU
ident           GENERIC
maxusers        32

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug
symbols

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep

this!]
options         SOFTUPDATES             #Enable FFS soft updates support

options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, NFS
required
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660
required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP
THIS!]
options         SCSI_DELAY=15000        #Delay (in ms) before probing
SCSI
options         UCONSOLE                #Allow users to grab the console

options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time
extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

device          isa
device          eisa
device          pci

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          fd1     at fdc0 drive 1

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? flags 0x100

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13


# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3

# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device

device          ed0     at isa? port 0x300 irq 5 iomem 0xcc000
device          oltr0   at isa?

pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   gif             # IPv6 and IPv4 tunneling
pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)
pseudo-device   token
pseudo-device   bpf             #Berkeley packet filter



PNPINFO (this is what pnpinfo reports for a oc3133 in PNP-mode)

Card assigned CSN #1
Vendor ID OLC9430 (0x3094833d), Serial Number 0x837f80f0
PnP Version 1.0, Vendor Version 0
Device Description: Olicom Token-Ring ISA 16/4

Logical Device ID: OLC0001 0x0100833d #0
        Device powers up active
        Device supports I/O Range Check
    I/O Range 0xa00 .. 0xbe0, alignment 0x20, len 0x20
        [16-bit addr]
    IRQ: 3 5 7 9 10 11 12 15 IRQ: High true edge sensitive
Memory Range: Not writeable (ROM)
Memory Range: Non-cacheable
Memory Range: Decode supports range length
Memory Range: 8-bit memory only
Memory Range: Memory is not shadowable
Memory Range: Memory is an expansion ROM
Memory range minimum address: 0xc0000
Memory range maximum address: 0xde000
Memory range base alignment: 0x2000
Memory range length: 0x2000
TAG Start DF
Good Configuration
    DMA: channel(s) 1 3 5 6 7
        16-bit, bus master, , , Compatibility mode
TAG Start DF
Good Configuration
    DMA: channel(s)
        8-bit, not a bus master, , , Compatibility mode
TAG End DF
End Tag

Successfully got 11 resources, 1 logical fdevs
-- card select # 0x0001

CSN OLC9430 (0x3094833d), Serial Number 0x837f80f0

Logical device #0
IO:  0x0a00 0x0a00 0x0a00 0x0a00 0x0a00 0x0a00 0x0a00 0x0a00
IRQ 9 0
DMA 1 0
IO range check 0x00 activate 0x01




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC43D05.59EEF847>