Skip to contentSkip to conversation

k-class and j3514A (tulip dual 100mbit tulip)

parisc-linux Anders 2 participants 2 messages Apr 20, 2005 – Apr 21, 2005

lore
Share & tools
lore

Anders

author
#0 lore raw

now im back and have almost everything working in my k460. except the tulip dual 100mbit dino card.
i have tried the card with linux-2.6.9-bk6-pa7 and linux-2.6.12-rc2-pa3 with the same results it finds the card fine

Linux Tulip driver version 1.1.13 (December 15, 2004)
tulip0: MII transceiver #1 config 3100 status 7849 advertising 01e1.
eth1: Digital DS21140 Tulip rev 34 at 80000080, 00:30:6E:27:99:EC, IRQ 20.
tulip1: MII transceiver #1 config 3100 status 786b advertising 01e1.
eth2: Digital DS21140 Tulip rev 34 at 80000100, 00:30:6E:27:99:ED, IRQ 21.

but when i try to ping something it gives me
Dino 0xf1000000: stuck interrupt 2
Dino 0xf1000000: stuck interrupt 6

and then

NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out

i can use the mii-tool to change link status and have veriffied that it works on the switch that im using.

i have tried it as a module and in kernel and i have tried every combination of the options for "DECchip Tulip (dc2114x) PCI support" in menuconfig but it dosent make any diffrence i have tried placing the card in other slots in the system to.

here is a complete dmesg with linux-2.6.12-rc2-pa3

http://www.ing.umu.se/~dizzey/dmesg_k460.log

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#1 lore raw
Quoted 11 lines · Anders

Linux Tulip driver version 1.1.13 (December 15, 2004)
tulip0: MII transceiver #1 config 3100 status 7849 advertising 01e1.
eth1: Digital DS21140 Tulip rev 34 at 80000080, 00:30:6E:27:99:EC, IRQ 20.
tulip1: MII transceiver #1 config 3100 status 786b advertising 01e1.
eth2: Digital DS21140 Tulip rev 34 at 80000100, 00:30:6E:27:99:ED, IRQ 21.

but when i try to ping something it gives me
Dino 0xf1000000: stuck interrupt 2
Dino 0xf1000000: stuck interrupt 6

IRQ routing is wrong. The card-mode dino support probably needs some love since we switched from the home-brew "IRQ region" support I hacked together 5 years to the "generic" IRQ support willy switched us over to late last year.

Feel free to hack around on drivers/parisc/dino.c. Key part is in dino_isr() has to lookup the global index before calling __do_IRQ(). IRQ 20 is obviously not connecting to "stuck interrupt 2".

Issue is likely something in how dino_device.global_irq[] array is (or is not) getting initialized in dino_assign_irq(). Particularly when dino_assign_irq() is called from dino_fixup_bus().

Enable DINO_DEBUG and see if you need to add more printk's to sort that out.

hth,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux