<div dir="ltr">Salutare,<br><br>Codul sursa din qemu aferent placii [1] e gresit fatal (cel putin) in ce priveste modul simplificat de transmisie. Baietii de la MIT aparent au rezolvat bugul prin patch-ul lor [2].<br><br>Ramane sa implementam obligatoriu modul flexibil sau vom avea ... patchul ... nevermind... Facem modul flexibil.<br>
<br>PS: scuze pentru rich text si top posting<br><br>[1] <a href="http://git.qemu.org/?p=qemu.git;a=blob;f=hw/net/eepro100.c">http://git.qemu.org/?p=qemu.git;a=blob;f=hw/net/eepro100.c</a><br>[2] <a href="http://pdos.csail.mit.edu/6.828/2009/labs/lab6/qemu-0.10.6-e100.patch">http://pdos.csail.mit.edu/6.828/2009/labs/lab6/qemu-0.10.6-e100.patch</a><br>
<br>Alex</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-22 19:20 GMT+02:00 Gucea Doru <span dir="ltr"><<a href="mailto:gucea.doru@gmail.com" target="_blank">gucea.doru@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>>:<div class="">
<br><br>> Printeaza skb->data octet cu octet si vezi daca seamana cu ce trimiti.<br><br></div></div>Nu seaman cu ce trimit pentru ca pachetul tcpdump arata ca la [1]( deci gol?) pe cand in sk->data am cate ceva in octetii aceia. <br>
<br></div>E posibil ca adresa DMA pe care o furnizez catre CU sa fie gresita insa nu ar fi trebui sa dea un kernel oops daca era incorecta, (mai ales ca am alocat 100 de TCB-uri) ? Adresa dma o obtin utilizand functia <br>
<pre>cpu_addr = pci_pool_alloc(pool, flags, &dma_handle), pe care o scriu in scb general pointer.<br><br><br></pre><div><div><div>Multumesc,<br></div><div>Doru<br></div><div><br>[1] <a href="http://pastebin.com/a5a1VqBk" target="_blank">http://pastebin.com/a5a1VqBk</a><br>
</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-22 10:02 GMT-07:00 Gucea Doru <span dir="ltr"><<a href="mailto:gucea.doru@gmail.com" target="_blank">gucea.doru@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>>:<div>
<br>> 2) E buna varianta cu MAC-ul programatic, daca-l citesti inapoi e corect? Apare<br>
> MAC-ul in output-ul lui ip address show dev ixeth0?<br><br></div></div><div>Dap, apare.<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-22 9:52 GMT-07:00 Daniel Baluta <span dir="ltr"><<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2014-03-22 18:50 GMT+02:00 Gucea Doru <<a href="mailto:gucea.doru@gmail.com" target="_blank">gucea.doru@gmail.com</a>>:<br>
<div>> 1)da, tap e in masina fizica<br>
> 2)am setat macaddr programatic, insa incerc si varianta propusa de tine<br>
> 3) testez varianta 3 sa vad ce obtin<br>
<br>
</div>Foloseste te rog bottom posting -<br>
<a href="http://en.wikipedia.org/wiki/Posting_style#Bottom-posting" target="_blank">http://en.wikipedia.org/wiki/Posting_style#Bottom-posting</a><br>
<br>
2) E buna varianta cu MAC-ul programatic, daca-l citesti inapoi e corect? Apare<br>
MAC-ul in output-ul lui ip address show dev ixeth0?<br>
<br>
thanks,<br>
Daniel.<br>
_______________________________________________<br>
<a href="http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii" target="_blank">http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii</a></blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
<a href="http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii" target="_blank">http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii</a><br></blockquote></div><br></div>