[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Token-Ring: sleep event timeout

I know, I'm on my own in uncharted territory, but maybe someone has an
idea ;-)

I'm playing around with a test box which has an "Auto 16/14 IBM
Token-Ring ISA" card (FCC ID AN042H3470) and a custom kernel with
Token-Ring enabled. Box is i386, sources cvs'ed yesterday.

What I've got so far:
# dmesg | grep tr0
tr0 at isa0 port 0xa20/4 iomem 0xdc000/16384 irq 11
tr0: address 00:04:ac:83:6e:d7 ring speed 16 Mbps

# ifconfig -m tr0
tr0: flags=22<BROADCAST,NOTRAILERS> mtu 2002
        media: TokenRing UTP/16Mbit
        supported media:
                media UTP/4Mbit
                media DB9/4Mbit
                media UTP/16Mbit
                media DB9/16Mbit

My problem:
# ifconfig tr0 netmask 0xffffff00 up
Apr  4 13:13:09 nemesis /bsd: tr0: sleep event timeout
Apr  4 13:13:09 nemesis /bsd: tr0: sleep event timeout
Apr  4 13:18:09 nemesis /bsd: tr0: sleep event timeout
Apr  4 13:18:09 nemesis /bsd: tr0: sleep event timeout

# ifconfig tr0
tr0: flags=23<UP,BROADCAST,NOTRAILERS> mtu 2002
        media: TokenRing UTP/16Mbit
        inet netmask 0xffffff00 broadcast

Looks good but doesn't work.

.) I tried to raise the timeout in tropic.c - no success.
.) Google found http://www.netsys.com/openbsd-misc/2003/06/msg01810.html
   but no solution

So, if there is some code, I'm alway happy to test :-)

Full dmesg:

OpenBSD 3.5 (TOKENRING) #2: Sat Apr  3 18:25:40 CEST 2004
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 351 MHz
real mem  = 200912896 (196204K)
avail mem = 179871744 (175656K)
using 2478 buffers containing 10149888 bytes (9912K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/15/95, BIOS32 rev. 0 @ 0xfdb60
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 9 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA G200 AGP" rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01pci_intr_map: no mapping for pin D
: couldn't map interrupt
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 7 function 3 not configured
ahc1 at pci0 dev 16 function 0 "Adaptec AHA-2940AU" rev 0x03: irq 10
scsibus0 at ahc1: 8 targets
sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-34560, S97B> SCSI2 0/direct fixed
sd0: 4357MB, 8387 cyl, 5 head, 212 sec, 512 bytes/sec, 8925000 sec total
xl0 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 9 address 00:10:5a:68:58:ee
exphy0 at xl0 phy 24: 3Com internal media interface
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
tr0 at isa0 port 0xa20/4 iomem 0xdc000/16384 irq 11
tr0: address 00:04:ac:83:6e:d7 ring speed 16 Mbps
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 440 netmask e40 ttymask ec2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ahc1: target 0 synchronous at 20.0MHz, offset = 0xf
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
tr0: sleep event timeout
tr0: sleep event timeout

Visit your host, monkey.org