All of lore.kernel.org
 help / color / mirror / Atom feed
* Newbie help
@ 2021-12-12 15:06 Lorenzo Mainardi
  2021-12-12 16:47 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 13+ messages in thread
From: Lorenzo Mainardi @ 2021-12-12 15:06 UTC (permalink / raw)
  To: xdp-newbies

Hello everyone,
I am trying to follow this tutorial
(https://developers.redhat.com/blog/2021/04/01/get-started-with-xdp)
to learn XDP.

So I compiled my XDP program and then attached it to an interface:

lorenzo@kwaremont:~/progetti/xdp_test$ ip addr show eno1
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500
xdpgeneric/id:37 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 8c:dc:d4:8e:38:c7 brd ff:ff:ff:ff:ff:ff
    altname enp9s0
    inet 10.0.8.1/24 scope global eno1
       valid_lft forever preferred_lft forever
lorenzo@kwaremont:~/progetti/xdp_test$ ping 10.0.8.1
PING 10.0.8.1 (10.0.8.1) 56(84) bytes of data.
64 bytes from 10.0.8.1: icmp_seq=1 ttl=64 time=0.047 ms
64 bytes from 10.0.8.1: icmp_seq=2 ttl=64 time=0.033 ms
^C
--- 10.0.8.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1018ms
rtt min/avg/max/mdev = 0.033/0.040/0.047/0.007 ms

Anyway, it seems that the program is not dropping packets. Is there
any way to troubleshoot it? Where am I wrong?

Thank you

-- 
LORENZO MAINARDI

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Newbie help
@ 2015-08-03 14:38 Rishabh Chakrabarti
  2015-08-03 15:23 ` Anuz Pratap Singh Tomar
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Rishabh Chakrabarti @ 2015-08-03 14:38 UTC (permalink / raw)
  To: kernelnewbies

Hello all,

Where can I search the archives and other resources for answering the
following questions:
	
1. How to dive into the code? i.e. entry points
2. What are the pre-requisites for understanding the whole code?
3. Best books and resource material

Kindly keep a lay person in mind while answering.
Please direct me to the right place and the rest i'll DIY. Thank you.

Regards,

Rishabh

^ permalink raw reply	[flat|nested] 13+ messages in thread
* newbie help
@ 2007-10-22 18:23 Onkar
  2007-10-24  9:35 ` Akio Takebe
  0 siblings, 1 reply; 13+ messages in thread
From: Onkar @ 2007-10-22 18:23 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 187 bytes --]

I am a newbie to xen ,but motivated (and interested ) in contributing to it
; Please help me on How should I go about it ? and where to start ? Skills
required ?

Thanks & regards,
Onkar

[-- Attachment #1.2: Type: text/html, Size: 204 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Newbie Help
@ 2006-08-30 15:07 James Arnott
  0 siblings, 0 replies; 13+ messages in thread
From: James Arnott @ 2006-08-30 15:07 UTC (permalink / raw)
  To: netfilter

I am sorry if this seems like a basic question, I am trying to install
conntrackd in order to help support an Active Active cluster
configuration. 

I have installed
conntrack-1.00beta2 - No problems
libnfnetlink-0.0.16 - no problems
libnetfilter_conntrack-0.0.31 - no problems.

when I can configure conntrackd-0.8.2 
but when I run make it fails

Making all in src
make[1]: Entering directory
`/home/jarnott/Downloads/conntrackd-0.8.2/src'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o conntrackd  -lnfnetlink
-lnetfilter_conntrack alarm.o main.o run.o events.o hash.o local.o log.o
mcast.o cache.o netlink.o internal_cache.o external_cache.o stats.o
sync-mode.o stats-mode.o read_config_yy.o read_config_lex.o
-lnetfilter_conntrack -lnfnetlink
gcc -g -O2 -o conntrackd alarm.o main.o run.o events.o hash.o local.o
log.o mcast.o cache.o netlink.o internal_cache.o external_cache.o
stats.o sync-mode.o stats-mode.o read_config_yy.o read_config_lex.o
-lnetfilter_conntrack -lnfnetlink
events.o: In function
`resync_with_master':/home/jarnott/Downloads/conntrackd-0.8.2/src/events.c:198: undefined reference to `nfnl_send_receive_process'
events.o: In function
`flush_master_table':/home/jarnott/Downloads/conntrackd-0.8.2/src/events.c:212: undefined reference to `nfnl_send_receive_process'
events.o: In function
`ignore':/home/jarnott/Downloads/conntrackd-0.8.2/src/events.c:50:
undefined reference to `nfct_conntrack_is_dnatted'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/events.c:56: undefined
reference to `nfct_conntrack_is_snatted'
events.o: In function
`resync_process':/home/jarnott/Downloads/conntrackd-0.8.2/src/events.c:158: undefined reference to `nfct_parse_netlink_message'
events.o: In function
`event_process':/home/jarnott/Downloads/conntrackd-0.8.2/src/events.c:93: undefined reference to `nfct_parse_netlink_message'
netlink.o: In function
`build_network_netlink_message':/home/jarnott/Downloads/conntrackd-0.8.2/src/netlink.c:71: undefined reference to `nfct_build_protoinfo'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/netlink.c:73: undefined
reference to `nfct_build_nat'
netlink.o: In function
`parse_network_netlink_message':/home/jarnott/Downloads/conntrackd-0.8.2/src/netlink.c:91: undefined reference to `nfct_parse_netlink_message'
internal_cache.o: In function
`compare_internal':/home/jarnott/Downloads/conntrackd-0.8.2/src/internal_cache.c:51: undefined reference to `nfct_tuple_equal'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/internal_cache.c:51:
undefined reference to `nfct_tuple_equal'
external_cache.o: In function
`compare_external':/home/jarnott/Downloads/conntrackd-0.8.2/src/external_cache.c:45: undefined reference to `nfct_tuple_equal'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/external_cache.c:45:
undefined reference to `nfct_tuple_equal'
external_cache.o: In function
`iterate_commit':/home/jarnott/Downloads/conntrackd-0.8.2/src/external_cache.c:143: undefined reference to `nfct_conntrack_strip_nat'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/external_cache.c:144:
undefined reference to `nfct_build_netlink_message'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/external_cache.c:151:
undefined reference to `nfnl_send_receive_process'
sync-mode.o: In function
`step_sync':/home/jarnott/Downloads/conntrackd-0.8.2/src/sync-mode.c:303: undefined reference to `nfnl_receive_process'
stats-mode.o: In function
`step_stats':/home/jarnott/Downloads/conntrackd-0.8.2/src/stats-mode.c:168: undefined reference to `nfnl_receive_process'
read_config_yy.o: In function
`yyerror':/home/jarnott/Downloads/conntrackd-0.8.2/src/read_config_yy.y:269: undefined reference to `yytext'
:/home/jarnott/Downloads/conntrackd-0.8.2/src/read_config_yy.y:269:
undefined reference to `yylineno'
read_config_yy.o: In function
`yyparse':/home/jarnott/Downloads/conntrackd-0.8.2/src/read_config_yy.c:1208: undefined reference to `yylex'
read_config_yy.o: In function
`init_config':/home/jarnott/Downloads/conntrackd-0.8.2/src/read_config_yy.y:283: undefined reference to `yyrestart'
collect2: ld returned 1 exit status
make[1]: *** [conntrackd] Error 1
make[1]: Leaving directory
`/home/jarnott/Downloads/conntrackd-0.8.2/src'
make: *** [all-recursive] Error 1

I think I have all the dependencies installed, but it seems like
something is missing.

also a question about the patches for conntrackd, how are these applied.
I have looked into patch-o-matic but dont see the patches I want to
apply listed.

thank you very much for any help. 
James Arnott




^ permalink raw reply	[flat|nested] 13+ messages in thread
* Newbie help
@ 2004-05-05 17:28 Manu Sharma
  0 siblings, 0 replies; 13+ messages in thread
From: Manu Sharma @ 2004-05-05 17:28 UTC (permalink / raw)
  To: alsa-devel

Hi everyone,

I am new to ALSA and to sound world, but my new project needs me to
start working on it. For the same, I installed ALSA on my DELL CPx
notebook, which runs linux 2.4.21 and ran Paul Davis's sample code in "A
Tutorial on Using the ALSA Audio API" for initial tests. 

The "Minimal Playback" and "Minimal Capture" programs work fine on their
own. Yet, when I put them together (it is recommended to use interrupt
driven approach, but this was just a trial, so I used the non-interrupt
version) to implement the following functionality :

- Capture for about 30 seconds and store in a buffer
- Read from the buffer and playback

.. all I listen is hissing sound. The code seems to work because I can
listen to the modulations of some sort ... but normal voice is converted
to incoherent (hissing) noise.

Can someone suggest what might be going wrong, or do I need to tune some
other parameters ? Any help is appreciated.

Thanks in advance
-Manu


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-12-12 16:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-12 15:06 Newbie help Lorenzo Mainardi
2021-12-12 16:47 ` Toke Høiland-Jørgensen
  -- strict thread matches above, loose matches on Subject: below --
2015-08-03 14:38 Rishabh Chakrabarti
2015-08-03 15:23 ` Anuz Pratap Singh Tomar
2015-08-04  2:12 ` Navy Cheng
2015-08-04  6:55 ` Schrey, Moritz
2015-08-18 12:35   ` Andrey Skvortsov
2015-08-04  8:21 ` Bjørn Mork
2015-08-04  9:09   ` Manavendra Nath Manav
2007-10-22 18:23 newbie help Onkar
2007-10-24  9:35 ` Akio Takebe
2006-08-30 15:07 Newbie Help James Arnott
2004-05-05 17:28 Newbie help Manu Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.