rlaager / docsis

This program encodes a DOCSIS binary configuration file from a human-readable text configuration file.
http://docsis.sourceforge.net
GNU General Public License v2.0
115 stars 70 forks source link

Test TLV_61_SubMgmtCPEIPv6PrefixList does not work on ARMv7hl #12

Closed rapgro closed 9 years ago

rapgro commented 9 years ago

I get a segmentation fault for execution of the test TLV_61_SubMgmtCPEIPv6PrefixList on ARMv7hl.

AdrianSimionov commented 9 years ago

I do not know if I own such a hardware, can you please give me some details about the hardware and Operating System? I would like to try to reproduce this issue.

Just to make it simple for you, is this a Raspberry PI ?

rapgro commented 9 years ago

Please tell me how to get a full debug log that could be of any use for you.

Honestly, I do not know what Fedora Koji is using for the ARM builds. I do not have any ARM locally to test with, so have to upload the stuff each time to Fedora's build infrastructure.

AdrianSimionov commented 9 years ago

Can you get at least the output of: uname -a

AdrianSimionov commented 9 years ago

I spoke with Fedora developers on IRC, it should be an ARMv7 processor, I will give it a try on an ARMv6 first as I already have the hardware.

If I cannot reproduce the issue, I will see later where I can find an ARMv7 processor.

This will take some time to be investigated.

rapgro commented 9 years ago

http://koji.fedoraproject.org/koji/watchlogs?taskID=911946

AdrianSimionov commented 9 years ago

I do not expect fixing this issue anytime soon. I think it would be better to just disable the failing test and continue with pushing the code to Fedora. I would keep the issue open until we find a resolution.

The code is finished for MULPI 3.0 spec and I will not start adding the 3.1 features now as I do not have the hardware to test it.

rapgro commented 9 years ago

Take a look to the following links how to virtualize ARM systems, maybe this helps to reproduce.

http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/ https://fedoraproject.org/wiki/Architectures/ARM/HowToQemu

rapgro commented 9 years ago

Also, another test (which name I do not remember) fails for PPC build. PPC is secondary for Fedora, so this issue is not important.

AdrianSimionov commented 9 years ago

I tried QEMU but I ended up with an ARMv6 system. I was not able to emulate in QEMU an ARMv7.

The new Raspberry PI has an ARMv7 CPU.

AdrianSimionov commented 9 years ago

I was able to reproduce this issue, it looks like a bug on ARMv7 architecture.

AdrianSimionov commented 9 years ago

@rapgro let me know if the ARM issue is also fixed for Fedora whenever you have time. I tested it on Debian 8 only under ARMv8 and looks OK.

You also mentioned about a test failing under PPC architecture, can you please let me know exactly which test?

AdrianSimionov commented 9 years ago

All test were run under powerpc and arm64, none failed.

Closing.