| lekernel | larsc: how is your linux port going btw? any progress recently? | 16:27 |
|---|---|---|
| lekernel | rejon: do you feel like submitting a gsoc application this year? | 16:30 |
| lekernel | (there have been many disappointing things last year and i'd not do it) | 16:35 |
| wpwrak | lekernel: (gsoc) similar experience on my side from some years ago. i think it would be more useful if google just handed out some money to pay people who are already active in the project :) | 17:51 |
| larsc | lekernel: nothing new. it still works more or less. I'm waiting for mwalle uclibc port, so we can overhaul syscalls and signal handling | 18:45 |
| rejon | lekernel yes, lets do it | 20:43 |
| rejon | they have some new people running it | 20:43 |
| Fallenou | rejon: on what are you porting linux ? | 20:47 |
| rejon | huh? | 20:47 |
| Fallenou | oh it's larsc sorry | 20:47 |
| kristianpaul | Fallenou: hi | 20:49 |
| Fallenou | hi kristianpaul ! | 20:49 |
| kristianpaul | Fallenou: Do you have some idea about the Minimac RX FIFO overflow ramdon bug? | 20:50 |
| kristianpaul | As you developed the driver i want to read your comments about it :-) | 20:50 |
| Fallenou | no I really don't | 20:50 |
| Fallenou | but i am looking for a scenario to reproduce the bug | 20:51 |
| Fallenou | Is the bug present using qemu ? | 20:51 |
| Fallenou | because I don't have a board | 20:51 |
| lekernel | no, it probably won't be present with qemu | 20:51 |
| Fallenou | arg | 20:51 |
| Fallenou | how would you process to track the bug ? can kristianpaul send me informations that could help finding out what's going on ? | 20:53 |
| kristianpaul | yday i experienced the bug when doing a _ping_ nothing hangup but every time i pinged the board i got the Minimac RX FIFO overflow | 20:53 |
| Fallenou | wo | 20:53 |
| Fallenou | the driver has serious issue then =( | 20:53 |
| kristianpaul | this was just before configure minimac0 networking using ifconfig .... | 20:53 |
| kristianpaul | I must do more test and send it back to you, yes | 20:53 |
| Fallenou | sure sure send me your test scenario and test results | 20:54 |
| Fallenou | and if you find a way to reproduce the bug at 100% chance, please gimme the exact scenario :) | 20:54 |
| Fallenou | it would really help a lot | 20:54 |
| Fallenou | because searching randomly in the source code (even if the code of the driver is not that big) is not an easy task | 20:54 |
| kristianpaul | 100% chance i doubt it... it something happes just after powerup.. | 20:54 |
| Fallenou | humm ok :x | 20:55 |
| Fallenou | anyway, send me all the information you have about it please | 20:55 |
| Fallenou | (send it to the ML actually) | 20:55 |
| kristianpaul | yeah sure | 20:55 |
| Fallenou | so that everyone can read it | 20:55 |
| kristianpaul | ah i forgot said, i never got ping reply | 21:01 |
| Fallenou | hummm i think i did, but not sore | 21:02 |
| Fallenou | sure* | 21:02 |
| Fallenou | don't remember | 21:02 |
| Fallenou | i tried ARP, TCP | 21:03 |
| Fallenou | don't remember if i tried icmp | 21:03 |
| lekernel | try with large frames too | 21:04 |
| lekernel | those seem rather prone to triggering bugs in the ethernet drive | 21:04 |
| Fallenou | actually i tried with TFTP | 21:04 |
| Fallenou | and I transfered like 20 MB | 21:04 |
| lekernel | but to be honest, I believe large parts of the ethernet driver needs to be cleaned up and rewritten | 21:04 |
| kristianpaul | Fallenou: tftp is not very smart, i just burst data from thr board to the other end i think | 21:05 |
| kristianpaul | Fallenou: i wonder if you never tried the oposite? | 21:05 |
| Fallenou | do you think we can keep the RTEMS_EVENT principle lekernel ? | 21:05 |
| Fallenou | or rewrite everything using another principle (i don't know what) | 21:06 |
| Fallenou | kristianpaul: actually it was from the host computer to the board | 21:06 |
| kristianpaul | Fallenou: oh | 21:06 |
| Fallenou | and the board was printing the data on serial output | 21:06 |
| Fallenou | you can find the source code i was using and do the test yourself | 21:06 |
| kristianpaul | wait no, i was talking about the 20 MB transfer | 21:07 |
| Fallenou | s/was using/made/ | 21:07 |
| Fallenou | yes so do I | 21:07 |
| Fallenou | checkout this https://github.com/fallen/network-demos | 21:07 |
| lekernel | first, for the tenth time or so, use the stock crc32 for fuck's sake | 21:07 |
| Fallenou | and use the tftpclient | 21:07 |
| lekernel | then don't mix softc and global variables, this just doens't make sense (I told you that several times, too) | 21:08 |
| Fallenou | lekernel: yes it would be better, but the last time I tried it didn't work | 21:09 |
| lekernel | once those problems are fixed, to avoid overflows, i'd keep a pool of buffers and refill the ethernet core in the interrupt handler | 21:10 |
| Fallenou | humm ok instead of delaying it | 21:10 |
| Fallenou | doing the change of dma address on the top half | 21:11 |
| lekernel | yes | 21:11 |
| Fallenou | that should improve network performance yes | 21:11 |
| lekernel | the crc32 is an easy problem to track down, you can run both functions (working and supposedly non-working) side by side in a x86 C program on your computer | 21:11 |
| lekernel | i'd be very surprised if there would be no stock crc32 suitable for ethernet in rtems | 21:12 |
| Fallenou | there are two actually, one for big endians and one for little endians | 21:14 |
| Fallenou | maybe I did it wrong while testing | 21:14 |
| Fallenou | but both of them failed :/ | 21:14 |
| lekernel | everything is big endian there | 21:14 |
| larsc | Fallenou: for the milkymist | 21:39 |
| Fallenou | oh nice | 21:39 |
| Fallenou | are you using the original port of Lattice ? or the modified one by the japanese guy ? | 21:40 |
| larsc | its based on takeshis tree | 21:41 |
| Fallenou | yes ok | 21:41 |
| larsc | it basically rewrote most of the code from lattice/theobroma because it was either broken or outdated | 21:42 |
| larsc | so now it is quite stable | 21:43 |
| Fallenou | do you plan on making the shared library and relocation stuff working ? | 21:43 |
| Fallenou | oh good :) | 21:43 |
| larsc | mwalle has been working on uclibc and stuff | 21:44 |
| Action: lekernel just discovered that C support complex numbers | 22:07 | |
| Fallenou | hehe | 22:11 |
| Fallenou | I was surprised too when I discovered that | 22:11 |
| wpwrak | (weird C features) one of the more galling features of C is that math.h provides y0, y1, and yn ... | 22:18 |
| kristianpaul | ok tftpclient worked well it seems.. | 22:44 |
| kristianpaul | lets see tftpd :-) | 22:44 |
| Fallenou | tftpd ? | 22:49 |
| Fallenou | on milkymist ? | 22:49 |
| kristianpaul | yes | 22:50 |
| Fallenou | it's not in netwok-demos is it ? | 22:50 |
| kristianpaul | tftpTest | 22:50 |
| kristianpaul | it is | 22:50 |
| Fallenou | oh ok | 22:51 |
| Fallenou | tftpclient is something i wrote because i never got tftpTest to work :) | 22:51 |
| kristianpaul | But i guess i requires a working fs | 22:51 |
| Fallenou | so if you do, tell me :p | 22:51 |
| Fallenou | yes | 22:51 |
| Fallenou | it is using a tftp file system | 22:51 |
| kristianpaul | s/i/it | 22:51 |
| Fallenou | i never managed to get it working | 22:51 |
| Fallenou | it mounts the tftp directory in the filesystem | 22:52 |
| Fallenou | it's kind of weird | 22:52 |
| Fallenou | to test the network driver i had to write the tftpclient | 22:52 |
| kristianpaul | why you dont used ttcp to test? it inmeadiatly fire the overflow bug ! ;) | 22:54 |
| Fallenou | oh ! | 22:55 |
| Fallenou | never tried | 22:55 |
| Fallenou | can you repeat several times ? | 22:55 |
| Fallenou | and confirm it triggers the problem ? | 22:55 |
| Fallenou | thanks ! | 22:55 |
| Action: kristianpaul dint said yes yet | 22:55 | |
| kristianpaul | ok | 22:56 |
| kristianpaul | Fallenou: you already know that ifconfig trigger the problem, why no start from there? | 22:56 |
| kristianpaul | There are more that one trgger for sure | 22:56 |
| Fallenou | if i have several things to test it's better | 22:57 |
| Fallenou | and i think ifconfig may be another bug | 22:57 |
| kristianpaul | hmm, ok | 22:57 |
| Fallenou | because it's obviously not a full fifo problem | 22:57 |
| kristianpaul | yeah, that call my atention with ifconfig (fifo) | 22:57 |
| --- Mon Feb 14 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!