-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when running ipkg update #294
Comments
Hi! That's strange, the error looks to be specific to x86 platforms, however, I can't reproduce it with the same kernel version (Synology NAS):
What's the output of |
Hello, SYNO 1 DS1512+ SYNO 2 DS1815+ SYNO 3 DS3617XS (this is a VM): It stopped working after upgrading to latest ipkg packages. |
Well, according to this and this, the problem can be due to some Do you have a guide to configure a Syno VM like you did? It'd make things simpler if I could reproduce the issue. Also, I'm currently a bit limited in what I can do to debug the issue, since the Optware builder isn't yet accessible for me to ssh in. |
The issue is not on the VM only. |
Yeah, I got it's not only on VM, but it's not happening on my HW, hence a VM's a good way to reproduce the issue. I don't have an esxi server, but I could set it up, with a free license at least. So yes, I'd be thankful for the configured files. |
I generated the VM config. Can you give me on private or here your email address so I can put the archive on wetransfer? |
Here's my email: Line 85 in 054ca9a
Thanks. |
So, I didn't manage to setup an esxi server, so I used vmware workstation instead. Your sent boot image gives me this kind of error soon after boot. Previous version (DS3617xs 6.1 Jun's Mod V1.02-alpha) works fine (after I figured out I had to install precisely DSM build 6.1-15047), and I see no segfaults after installing packages you listed:
So, sorry, I can't reproduce your issue. |
OK, I managed to setup a working DSM 6.2 baremetal xpenology. Clearly |
Awesome! |
I discovered that Please report back if it fixes the issue for your other NAS (DS1815+). |
Hm, segfaulting |
Hello, I get a segfault when running the bootstrap script. Just sending you info, maybe it helps. Cheers. root@localhost:/usr/local/mitzone# wget -O - http://ipkg.nslu2-linux.org/optware-ng/bootstrap/buildroot-i686-bootstrap.sh | sh
2018-09-10 17:15:51 (137 MB/s) - written to stdout [931/931] --2018-09-10 17:15:52-- http://ipkg.nslu2-linux.org/optware-ng/buildroot-i686/ipkg-static_0.2.4-1_i686.ipk /tmp/ipkg-static_0.2.4-1_i686.ipk 100%[==================================================================================================================>] 470.36K 460KB/s in 1.0s 2018-09-10 17:15:54 (460 KB/s) - '/tmp/ipkg-static_0.2.4-1_i686.ipk' saved [481648/481648] ./data.tar.gz
|
There're still some technical issues that prevent me from updating the feeds. You can download the test binary ipkg.zip and unpack it on top of |
Will try it and let you know. |
Tested the provided archive. No segfaults. |
Ok, so using the new ipkg binary I was able to pull out a list of installed packages (same machine) after ipkg upgrade. |
Sorry for a prolonged period of silence. I didn't manage to make packages from the i686 feed to work on DS3617xs DSM 6.2. Yet there's no such issue on DSM 6.1. My best bet is that some kernel config was changed, leading to this kind of a problem. However, there're good news too. I'm now working on an x86_64 feed, and from what I can tell there're no segfaults with x86_64 binaries. I tried x86_64 Now working on x86_64 feed as time permits. |
Awesome! Can't wait to test the x64 feed. |
OK, feed built. Please test with
P.S. Don't forget to backup/remove |
Hello, Everything looks ok so far. |
Just to let you know / confirm previous findings. Also had ipkg 'Segmentation Faults' on Synology DS1817+ actions involving downloads:
Having used the ipkg file from this comment the issue was solved.
Thanks for your good work alllexx88 and success with the x86_64 feed. |
It might be related to a synology update: another package (rsl-sync) did not work on my side, and I received the following reply from support: |
Thank you for the update, @phit42 ! Based from my testing, some 32-bit syscalls indeed stopped working in DSM 6.2 (even before Update 2, at least on DS3617xs), so it indeed looks like a kernel config issue. I think this issue can be closed for now. |
Hello,
I get a Segmentation fault when running ipkg update command. Ipkg with other parameter works. Only when downloading is involved I get a segfault.
I tested this on 2 machines until now, both running 3.10.105 kernel. On both, the crash error is :
server1 : traps: ipkg[22330] general protection ip:23 sp:2b error:244 in ipkg[8048000+103000]
server2 : traps: ipkg[13239] general protection ip:23 sp:2b error:244 in ipkg[8048000+103000]
installed.txt
Thanks,
Mihai.
The text was updated successfully, but these errors were encountered: