Ok it seems that Symmetric MultiProcessing is broken for the IXP4xx arch when compiling the OpenWRT linux kernel. Since netmap requires SMP to be active. Netmap uses the real_num_rx_queues field from the netdev_rx_queue which requires CONFIG_SYSFS, which is active when CONFIG_SMP is active.
I just posted at the OpenWRT development mailing list, requesting info and also, contacted Ryan Erbstoesser at Gateworks to also request info. On 12 July 2014 11:52, Carlos Ferreira <[email protected]> wrote: > Ok,I solved that problem that I was having but now I have another one. For > what I was able to determine, SMP is not supported for IXP4xx processors on > OpenWRT. > I'm able to compile it for x86, but not for IXP4xx, the CPU's that the SBC > Cambria from Gateworks use. > I'm still investigating if this is really the problem and if it is, if it > is possible to overcome. > > I will try to keep regular updates on this situation. > Carlos > > > On 11 July 2014 22:54, Carlos Ferreira <[email protected]> wrote: > >> OK, ignore what I said in the last e-mail. My Makefile is nor working >> properly and I'm trying to figure out why. OpenWRT documentation for module >> Makefiles creation is scarce and confuse... >> >> >> On 11 July 2014 18:27, Carlos Ferreira <[email protected]> wrote: >> >>> I'm building for OpenWRT (trunk) for the IXP4xx target. >>> >>> Attached goes the output for the compile attempt. Maybe I'm missing >>> something very basic... >>> >>> >>> On 11 July 2014 17:13, Luigi Rizzo <[email protected]> wrote: >>> >>>> >>>> >>>> >>>> On Fri, Jul 11, 2014 at 6:07 PM, Carlos Ferreira <[email protected] >>>> > wrote: >>>> >>>>> Luigi one question. Does netmap requires a processor with 64 bits? I'm >>>>> having some trouble in compiling netmap, using the same Makefile I used >>>>> previously, but for an Intel IXP435 CPU (Gateworks Cambria). >>>>> >>>> >>>> it used to build and work on 32 bit archs but we have not tried that >>>> there i a while. >>>> Hopefully it is just a matter of casts in printfs. >>>> >>>> which OS and netmap versions are you using ? >>>> can you send me an error log ? >>>> >>>> cheers >>>> luigi >>>> >>>> >>>>> >>>>> >>> >>> >>> -- >>> >>> Carlos Miguel Ferreira >>> Researcher at Telecommunications Institute >>> Aveiro - Portugal >>> Work E-mail - [email protected] >>> Skype & GTalk -> [email protected] >>> LinkedIn -> http://www.linkedin.com/in/carlosmferreira >>> >> >> >> >> -- >> >> Carlos Miguel Ferreira >> Researcher at Telecommunications Institute >> Aveiro - Portugal >> Work E-mail - [email protected] >> Skype & GTalk -> [email protected] >> LinkedIn -> http://www.linkedin.com/in/carlosmferreira >> > > > > -- > > Carlos Miguel Ferreira > Researcher at Telecommunications Institute > Aveiro - Portugal > Work E-mail - [email protected] > Skype & GTalk -> [email protected] > LinkedIn -> http://www.linkedin.com/in/carlosmferreira > -- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - [email protected] Skype & GTalk -> [email protected] LinkedIn -> http://www.linkedin.com/in/carlosmferreira _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[email protected]"
