Linux crashes with PcktEngn GNIC-II/hamachi driver

Grant Basham
Wed Mar 3 15:40:42 1999

ON: Intel i686, 266MHz, 64Meg Memory, 32bit PCI.
RedHat 5.2 Linux 2.0.36-7.
Switch is a Foundry BigIron B8GM card.

I am trying to bring up a Packet Engines G-NIC II card using
"hamachi.c:v0.07 8/17/98 Written by Donald Becker\n" 

On installation of the module the computer sees the card .  The switch sees
the card.  As soon as ifconfig is run, I get an immediate kernel panic without
any logged information about the problem.

I have tried changing max_interrupt_work to 10/40, and tried:

/*        writel(0x00080000, ioaddr + TxIntrCtrl);
        writel(0x00000020, ioaddr + RxIntrCtrl); */
        writel(0x00FF0000, ioaddr + TxIntrCtrl);
        writel(0x00FF0020, ioaddr + RxIntrCtrl);

perhaps as suggested in hamachi.txt.  All crash the same.  

As I have little idea what I am changing, I thought it might be a good time
to check in at the mailing list.  Any pointers are appreciated. 

Note: For all this, the node was configured with a dec tulip pci ethernet
card up and running as eth0.  I tried it without the tulip (physically
present in slot, but not configured and no tulip module installed) using the
distribution driver.  Still crashes.  All this hardware is new to us, so
there may be some really elementary mistakes happening.

Thanks for anything you can offer.


  Grant Basham       (305)361-4026       University of Miami   RSMAS Computer Facility/Systems

==== Regular crash display================================
[root@hc05 network-scripts]# ifup eth1 ; ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:E0:B1:04:1E:42
          inet addr:  Bcast:  Mask:
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          Interrupt:9 Base address:0xa000
Kernel Panic: skput:over: 04817070:65532

========== initial crash==========================
When I setup the card first time, I had the module installed, then plugged in
the fiber.  Got a "Too much work at interrupt".  Log:

Mar  3 15:48:54 hc05 kernel: Found Hamachi GNIC-II at PCI address 0x00000000e9001004, IRQ 9.
Mar  3 15:48:54 hc05 kernel: hamachi.c:v0.07 8/17/98  Written by Donald Becker
Mar  3 15:48:54 hc05 kernel:
Mar  3 15:48:54 hc05 kernel: eth1: Hamachi GNIC-II type 10911 at 0x482a000,00:e0:b1:04:1e:42, IRQ 9.
Mar  3 15:48:54 hc05 kernel: eth1:  64-bit 33 Mhz PCI bus (60), Virtual Jumpers 20, LPA 0000.
Mar  3 10:44:19 hc05 kernel: Adding Swap: 126996k swap-space (priority -3)
Mar  3 10:55:59 hc05 kernel: Swansea University Computer Society IPX 0.34 for NET3.035
Mar  3 10:55:59 hc05 kernel: IPX Portions Copyright (c) 1995 Caldera, Inc.
Mar  3 10:55:59 hc05 kernel: Appletalk 0.17 for Linux NET3.035
... plug in card
Mar  3 11:53:42 hc05 kernel: eth1: Too much work at interrupt, status=0x10000.
Mar  3 11:53:42 hc05 last message repeated 12 times
Mar  3 11:53:42 hc05 kernel: eth1: Too much work at interrupt, status=0x30000.
Mar  3 11:53:42 hc05 kernel: eth1: Too much work at interrupt, status=0x10000.
Mar  3 11:53:43 hc05 last message repeated 21 times

Kernel Panic: skput:over: 04817070:65532

 | To unsubscribe, send mail to, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name
 | You will be unsubscribed as speedily as possible.