-
Notifications
You must be signed in to change notification settings - Fork 456
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
Linux aarch64 Support #17640
Comments
@mkurz as I mentioned in this comment: #1733 (comment). could you please give it a try? |
@alanrenmsft I can successfully install the extension:
However I do not have access to a SQL server instance right now and running SQL Edge via docker doesn't work currently. |
@alanrenmsft I run into another problem when trying to run Azure SQL Edge via docker on my ARM64 Linux system (aarch64). The docker image does actually support ARM64 Linux, however it seems only systems with a kernal page size of 8kb (which most Linux distributions use by default). However my Asahi Linux installation has a page size of 16kb:
So when running the Azure SQL Edge image on my system I end up with: $ docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=abcdefghi' -p 1433:1433 --name azuresqledge -d mcr.microsoft.com/azure-sql-edge
098abcdb28957b302b11440f237168cb5c7051a920a65d5f3b38a7a4ce09b529
$ docker logs azuresqledge
Azure SQL Edge will run as non-root by default.
This container is running as user mssql.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2140520.
2023/04/04 16:36:57 [launchpadd] INFO: Extensibility Log Header: <timestamp> <process> <sandboxId> <sessionId> <message>
2023/04/04 16:36:57 [launchpadd] WARNING: Failed to load /var/opt/mssql/mssql.conf ini file with error open /var/opt/mssql/mssql.conf: no such file or directory
2023/04/04 16:36:57 [launchpadd] INFO: DataDirectories = /bin:/etc:/lib:/lib32:/lib64:/sbin:/usr/bin:/usr/include:/usr/lib:/usr/lib32:/usr/lib64:/usr/libexec/gcc:/usr/sbin:/usr/share:/var/lib:/opt/microsoft:/opt/mssql-extensibility:/opt/mssql/mlservices:/opt/mssql/lib/zulu-jre-11:/opt/mssql-tools
2023/04/04 16:36:57 Drop permitted effective capabilities.
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
# ...
# same message round 500 times
# ...
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
Error in GnuTLS initialization: ASN1 parser: Element was not found.
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
Out of memory allocating bitmask: Cannot allocate memory It seems this can be fixed by building jemalloc with More details and comments:
I know this is the bug tracker for vscode-mssql, however do you know where to report this bug and it's solution to the sql server team where actually someone looks at it and doesn't get lost? Do you know someone from the sql server team you can ping here on GitHub or to forward my issue to? I think this could easily be solved if someone who is in charge takes a look at. Thanks! |
@dzsquared do you know where to report the Azure SQL Edge image issues? |
All container image issues go to https://github.com/microsoft/mssql-docker, I believe. @kendalvandyke, fyi |
@mkurz Did you get a chance to verify the mssql extension by connecting to another server? |
@alanrenmsft Sorry not yet, I switched machines an didn't set up everthing yet (including necessary VPN). However I will try to do that until tomorrow. Will come back asap. |
FYI: Posted here: microsoft/mssql-docker#824 |
@alanrenmsft I finally could try the extenstion you provided me. Works fine! I can connect to the server, can run select and update queries. Results shown in nice tables. The servers view shows me the servers I created. Looking forward to the release! |
@mkurz thanks for confirming. |
@mkurz, hello! |
@kirichenec Sorry I don't fully understand your question. The extension worked for me to connect to a sql server instance that is running remote. |
@mkurz Did you run your Azure SQL Edge on your asahi linux? I've tried for many days and still stuck. If you could run sql server on your ashahi linux machine, please help me to fix it. Thank you very much |
@richieieie sorry I do not work with Azure SQL Edge anymore currently (or any MS SQL Server product). Maybe in like 2 month I will need it again, but not now and I didn't try meanwhile. Sorry. |
I appreciate it, thank u for replying me. But have u ever success in using sql server on asahi linux arm64? |
No, I never had success. |
Please make sure that it also works with Kernels that do not use 4k page sizes. For example I use Asahi Linux which uses a page size of 16k:
Would be really nice if you consider that, thanks!
The text was updated successfully, but these errors were encountered: