Jan -

I think I was unclear in my last message.  I cannot bring up the
rteth5 and rteth6 interfaces:

./rtifconfig rteth5 up 192.168.5.100 netmask 255.255.255.0
ioctl: Cannot allocate memory

and dmesg shows:

[148286.298130] e1000: rteth5: e1000_setup_rx_resources: Unable to
allocate memory for the receive descriptor ring
[148286.298235] e1000: rteth5: e1000_setup_all_rx_resources:
Allocation for Rx Queue 0 failed

Because the interfaces never get brought up in the first place, they
do not show up in the xenomai/irq:

cat /proc/xenomai/irq
IRQ         CPU0        CPU1
 29:          33       36467         rteth2
 30:           0       36473         rteth3
 31:           0       78157         rteth0
 32:           0       36471         rteth4
1285:       17191          22         [IPI]
1288:   149585668   149554999         [timer]
1289:           0           0         [critical sync]
1346:      138900        1103         [virtual]

Stuart


On Tue, Aug 12, 2008 at 5:52 PM, Jan Kiszka <[EMAIL PROTECTED]> wrote:
> Stuart O Anderson wrote:
>>
>> I'm now able to get the driver running for all 8 interfaces, according
>> to dmesg.  I can bring up the first few interfaces and ping devices
>> attaches to them successfully after setting up routing, but eventually
>> dmesg starts telling me the following:
>>
>> [76631.886445] e1000: rteth5: e1000_setup_rx_resources: Unable to
>> allocate memory for the receive descriptor ring
>> [76631.886553] e1000: rteth5: e1000_setup_all_rx_resources: Allocation
>> for Rx Queue 0 failed
>> [76619.534006] e1000: rteth6: e1000_setup_rx_resources: Unable to
>> allocate memory for the receive descriptor ring
>> [76619.534111] e1000: rteth6: e1000_setup_all_rx_resources: Allocation
>> for Rx Queue 0 failed
>>
>> I'm afraid I don't understand xenomai/rtnet/kernel stuff well enough
>> to be sure what memory I've run out of or how to make more of it
>> available.
>
> Please check if the IRQ counters for rteth5/6 increase (/proc/xenomai/irq).
> If not, TX buffers may run short quickly as the hardware is unable to report
> them as released again toward the RTnet core.
>
> Jan
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to