kfree_skb on hard IRQ warnings with kernel 2.3.47pre3 and starfire network driver

From: Yash Khemani (yash@khemani.com)
Date: Fri Feb 18 2000 - 12:35:34 EST


hi folks,

i'm consistently getting the following warning when running the starfire
module with kernel 2.3.47pre3:

    Warning: kfree_skb on hard IRQ d08163c8

here is the machine setup:
 - intel lb440gx motherboard
 - 2 p3/600e processors
 - 256mb ecc ram
 - adaptec 64bit duralan 2 port card (ana-62022) installed in a 32 bit
   slot on a riser board. (machine is intel's 2u machine)
 - quantum atlas 10k u2 lvd hard drive
 - 2.3.47pre3 compiled with smp
 - adaptec u2 scsi adapter support built into kernel
 - starfire support compiled as module

only eth0 is being used at this time. i had this running with port
aggregation with kernel 2.2.15-2.5.0 from rh6.2 beta 3. you would
get the occassional "something wicked happened" message. i have not
tried port aggregation here yet.

i think david miller addressed a possibly related issue with the tlan
driver a few days back.

--------------------from /var/log/messages----------------------------:
Feb 18 12:03:59 goofy kernel: starfire.c:v0.12 5/28/99 Written by Donald Becker
Feb 18 12:03:59 goofy kernel: Undates and info at http://www.beowulf.org/linux/drivers.html
Feb 18 12:03:59 goofy kernel: The PCI BIOS has not enabled the device at 4/32! Updating PCI command 0013->0017.
Feb 18 12:03:59 goofy kernel: eth0: Adaptec Starfire 6915 at 0xd081a000, 00:00:d1:da:c5:77, IRQ 20.
Feb 18 12:03:59 goofy kernel: eth0: MII PHY found at address 1, status 0x7829 advertising 01e1.
Feb 18 12:03:59 goofy kernel: The PCI BIOS has not enabled the device at 4/40! Updating PCI command 0013->0017.
Feb 18 12:03:59 goofy kernel: eth1: Adaptec Starfire 6915 at 0xd089b000, 00:00:d1:da:c5:78, IRQ 21.
Feb 18 12:03:59 goofy kernel: eth1: MII PHY found at address 1, status 0x7809 advertising 01e1.
Feb 18 12:04:08 goofy kernel: eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
--------------------end from /var/log/messages------------------------:

now, whenever there is activity of any sort on eth0 (the only one active
at this time), i get the following message:

    Warning: kfree_skb on hard IRQ d08163c8

for example, doing a ping, you get one of these messages for every ping.

here is more information that might be relavent.

--------------------from /proc/interrupts----------------------------:
           CPU0 CPU1
  0: 68187 41833 IO-APIC-edge timer
  1: 244 211 IO-APIC-edge keyboard
  2: 0 0 XT-PIC cascade
 12: 0 0 IO-APIC-edge PS/2 Mouse
 13: 1 0 XT-PIC fpu
 19: 1556 1536 IO-APIC-level aic7xxx, aic7xxx
 20: 1642 1519 IO-APIC-level eth0
NMI: 109948 109948
LOC: 109939 109937
ERR: 0
--------------------end from /proc/interrupts----------------------------

--------------------from /proc/iomem----------------------------:
00000000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000cd7ff : Extension ROM
000cd800-000cdfff : Extension ROM
000f0000-000fffff : System ROM
00100000-0ffeffff : System RAM
  00100000-0028426f : Kernel code
  00284270-002a54f3 : Kernel data
0fff0000-0ffffbff : ACPI Tables
0ffffc00-0fffffff : ACPI Non-volatile Storage
f4000000-f40fffff : Intel Corporation 82557 [Ethernet Pro 100]
f4100000-f4100fff : Adaptec 7896
f4101000-f4101fff : Adaptec 7896 (#2)
f4102000-f4102fff : Intel Corporation 82557 [Ethernet Pro 100]
f4103000-f4103fff : Cirrus Logic GD 5480
f4200000-f42fffff : PCI Bus #01
  f4200000-f42fffff : PCI Bus #02
    f4200000-f42fffff : PCI Bus #03
      f4200000-f42fffff : PCI Bus #04
        f4200000-f427ffff : Adaptec ANA620xx/ANA69011A
        f4280000-f42fffff : Adaptec ANA620xx/ANA69011A (#2)
f6000000-f7ffffff : Cirrus Logic GD 5480
f8000000-fbffffff : Intel Corporation 440GX - 82443GX Host bridge
fec00000-fec0ffff : reserved
fee00000-fee00fff : reserved
fff80000-ffffffff : reserved
--------------------end from /proc/iomem----------------------------

--------------------from /proc/ioports----------------------------:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
02f8-02ff : serial(auto)
03c0-03df : vga+
03f8-03ff : serial(auto)
2000-20ff : Adaptec 7896
  2000-20be : aic7xxx
2400-24ff : Adaptec 7896 (#2)
  2400-24be : aic7xxx
2800-283f : Intel Corporation 82557 [Ethernet Pro 100]
2840-285f : Intel Corporation 82371AB PIIX4 USB
2860-286f : Intel Corporation 82371AB PIIX4 IDE
3000-3fff : PCI Bus #01
  3000-3fff : PCI Bus #02
    3000-3fff : PCI Bus #03
      3000-3fff : PCI Bus #04
        3000-30ff : Adaptec ANA620xx/ANA69011A
        3400-34ff : Adaptec ANA620xx/ANA69011A (#2)
--------------------from /proc/ioports----------------------------

--------------------from /proc/ksyms----------------------------:
[root@goofy /proc]# grep -i starfire ksyms
d0817400 __insmod_starfire_S.rodata_L3127 [starfire]
d0815000
__insmod_starfire_O/lib/modules/2.3.47/net/starfire.o_M38ACF1CE_V131887
[starfire]
d0818040 __insmod_starfire_S.data_L188 [starfire]
d0815050 __insmod_starfire_S.text_L9119 [starfire]
--------------------end from /proc/ksyms----------------------------

--------------------from /proc/modules----------------------------:
starfire 12748 1
--------------------end from /proc/modules----------------------------

--------------------from /proc/pci----------------------------:
PCI devices found:
  Bus 0, device 0, function 0:
    Host bridge: Intel Corporation 440GX - 82443GX Host bridge (rev 0).
      Master Capable. Latency=64.
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
  Bus 0, device 1, function 0:
    PCI bridge: Intel Corporation 440GX - 82443GX AGP bridge (rev 0).
      Master Capable. Latency=64. Min Gnt=132.
  Bus 0, device 12, function 0:
    SCSI storage controller: Adaptec 7896 (rev 0).
      IRQ 19.
      Master Capable. Latency=64. Min Gnt=39.Max Lat=25.
      I/O at 0x2000 [0x20ff].
      Non-prefetchable 64 bit memory at 0xf4100000 [0xf4100fff].
--------------------end from /proc/pci----------------------------

--------------------from /proc/System.map-------------------------------:
grep kfree_skb /boot/System.map-2.3.47smp
c0178b3c T kfree_skbmem
c0178bc4 T __kfree_skb
c02802ac ? __kstrtab___kfree_skb
c0283908 ? __ksymtab___kfree_skb
--------------------end from /proc/System.map---------------------------

any help would be appreciated!

thanks,
yash

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:22 EST