Re: problem with NdisReturnPackets ( )



The address that you pass to the !ndiskd.pkt command does not seem to
appear on the stack anywhere. I can only guuess you took that value
from register EDI out of the trap frame.

However, the interesting part is the BX register here. And it is zero,
i.e. it contains a NULL pointer.

It would seem the address of the NDIS_PACKET is actually 0x817b1f30
(and the miniport context is 0x815ba3a0, or vice versa).

Please make sure the 'PacketsToReturn' you pass to NdisReturnPackets()
is actually "the address of the address" of the NDIS_PACKET. It seems
you actually pass some address of a stack variable to
NdisReturnPackets(), but make sure it is the address of the correct
NDIS_PACKET pointer.

Also, try and disable the packet scheduler protocol (psched) in your
network card's settings. Then see if the bugcheck still occurs.

Stephan
---
serge wrote:
> Hello, All!
>
> I get BSOD on vmware 5.0 and some other networc cards.
> It does not happen on other vmware versions and physical NICs.
>
> The problem appears when I try to send previously queued packed. The
same(?)
> packets are sent before BSOD using the same functions, pools, etc
without
> problems.
>
> On Windows 2000 Pro, mydriver rises D2 bugcheck somewhere in
> ethFilterDprIndicateReceivePacket (instead of D1 one in XPsp2 system,
see
> below).
>
> Does anybody know why this may happen?
>
> According to
> http://pcausa.com/support/KB05050101.htm
> I use separate pools for send and receive packets.
>
> Also, I tried to zero Packet->MacReserved field. No luck.
>
> Any thoughts about this would be greatly appreciated.
>
> Best regards,
> Serge.

.



Relevant Pages

  • Re: syslog server, RH ES 4, large amounts of UDP loss. please help
    ... 26 packets to unknown port received. ... Below I see no recieve errors, but netstat reports recieve ... stats are only looking at the Ethernet level errors in the stack. ... the higher levels on the receiving system stack are tripping over themselves. ...
    (comp.os.linux.networking)
  • Re: Selecting optimum block sizes for data transmission
    ... socket up with data until it either tells you you can't send any more ... Once you've make a call to send data, the TCP/IP stack does a huge ... Maintains a congestion window to limit data flow in the face of long ... Attempts to avoid wasteful sends of very small packets, ...
    (comp.lang.pascal.delphi.misc)
  • [fw-wiz] dirty packet tricks?
    ... I'm a bit out of date on the latest/greatest dirty packet-flogging ... things in BSD firewalls by whacking the code in the IP stack so that ... I was thinking of using bpf to vacuum up packets into user space ... The other alternative appears to be to just do user-mode TCP by ...
    (Firewall-Wizards)
  • Re: virtual END and ARP processing
    ... I added a "snarf protocol". ... to reach the TCP/IP stack, while most packets was to be ... etherInputHookAdd I am presently using VxWorks 5.4 ...
    (comp.os.vxworks)
  • Re: do_IRQ: stack overflow: 872..
    ... I don't think it's recursing -- I think the stack trace is just a bit ... This happens when you're bridging packets received in an interrupt while ... One option might be to make br_dev_xmitjust queue the packet rather ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)