MySQL: Kernel Problem

This forum is for all other ARMv5 devices

MySQL: Kernel Problem

Postby appa » Fri Jun 15, 2012 8:47 am

Hello alarm-team and users,

Since I want to use owncloud, I installed apache, php, php-apache and mysql. Till Yesterday apache didn't work (I used the now pre-latest oxnas-update). I don't know if someone has even had and recognised this problem. /var/log/httpd/error.log gave:
$this->bbcode_second_pass_code('', '[error] (38)Function not implemented: apr_socket_accept: (client socket)') and 'wget localhost' and browser access took forever.

But with the oxnas-update i applied today this problem is somehow solved.

But now I can't start MySQL. Everytime I try to 'rc.d start mysqld' the following message is printed to my /var/lib/mysql/HOSTNAME.err.

$this->bbcode_second_pass_code('', '120615 10:29:20 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
^@120615 10:29:20 mysqld_safe mysqld from pid file /var/lib/mysql/SERVER.pid ended
')

As this seems to be a kernel problem, I hope this is a general one and somebody can help me.

I already know I could also run sqlite as a database-backend for owncloud and I will try this if there is no solution for this mysql-problem.

Thanks in advance, Raphael
appa
 
Posts: 1
Joined: Tue Jun 12, 2012 9:25 pm

Re: MySQL: Kernel Problem

Postby Geoff » Fri Jun 15, 2012 3:32 pm

I use lighttpd instead of apache, and I recommend it for taking a lot less resources. Also, it never had a problem with apr_socket_accept. I was doing fine with mysql until yesterday's upgrade to version 5.5.25-1. I had to revert to the previous version 5.5.24-1, and I will avoid upgrading it for the time being by putting "IgnorePkg = mysql mysql-clients libmysqlclient" into my /etc/pacman.conf.
Last edited by Geoff on Thu Jun 21, 2012 8:36 pm, edited 1 time in total.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: MySQL: Kernel Problem

Postby jman6495 » Mon Jun 18, 2012 3:16 pm

Sorry to bump, but I can confirm this problem still exists.
Would it be possible for someone to send me the package for a previous version of mysql which is working as i had never installed mysql previously

Many thanks

-jman6495
jman6495
 
Posts: 4
Joined: Mon Jun 18, 2012 3:13 pm

Re: MySQL: Kernel Problem

Postby WarheadsSE » Mon Jun 18, 2012 4:14 pm

Has anyone tried Maria in the mean time?

This looks like a code call in mysql that is to a function not implemented in 2.6.31 so I'd have to find & backport. I haven't had any time to look.

Debian, btw, is using my kernel & modules, so if you want a patched & recent version, it's still going to have this problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MySQL: Kernel Problem

Postby karog » Thu Jun 21, 2012 2:28 pm

$this->bbcode_second_pass_quote('WarheadsSE', '
')This looks like a code call in mysql that is to a function not implemented in 2.6.31 so I'd have to find & backport. I haven't had any time to look.


I have been running mysql 5.5.24-1 on a B01 (v3) on the 2.6.31 kernel for a few months with no problem whatsoever. Note that I have NOT yet upgraded to the most recent kernel with devtmpfs. I do not want to upgrade yet if mysql will no longer function. So was this problem somehow introduced in the recent kernel?
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: MySQL: Kernel Problem

Postby WarheadsSE » Thu Jun 21, 2012 2:31 pm

MySQL was recently bumped to 5.5.25-1, so this is not a magic kernel issue, its a new piece of code in MySQL
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MySQL: Kernel Problem

Postby karog » Thu Jun 21, 2012 5:03 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'M')ySQL was recently bumped to 5.5.25-1, so this is not a magic kernel issue, its a new piece of code in MySQL

Thanks. I had checked with "pacman -Si mysql" which returned 5.5.24-1 but since I have not upgraded recently waiting a bit for the dust to settle, my local list was out of date. Sorry. I have now sync'd the pacman databases.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: MySQL: Kernel Problem

Postby dvhasselt » Tue Jul 17, 2012 1:38 pm

I recently did a clean install and I'm experiencing the same problems with 5.5.25.

$this->bbcode_second_pass_code('', 'A newer kernel is required to run this binary.')

Does anyone know where to get 5.5.24, or would someone be kind enough to upload it here?
Daan
dvhasselt
 
Posts: 2
Joined: Mon Jan 16, 2012 10:40 pm

Re: MySQL: Kernel Problem

Postby karog » Tue Jul 17, 2012 5:44 pm

$this->bbcode_second_pass_quote('dvhasselt', 'I') recently did a clean install and I'm experiencing the same problems with 5.5.25.

$this->bbcode_second_pass_code('', 'A newer kernel is required to run this binary.')

Does anyone know where to get 5.5.24, or would someone be kind enough to upload it here?
Daan

I just uploaded a copy of 5.5.24-1 for mysql, mysql-clients, and libmysqlclient to mysql-5.5.24-1.tar.gz
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm
Top

Re: MySQL: Kernel Problem

Postby m0rphU » Wed Aug 08, 2012 10:41 pm

Thx @karog! Your version works like a charm.
I've also added the following to /etc/pacman.conf to stay out of update-troubles ;)
$this->bbcode_second_pass_code('', 'IgnorePkg = libmysqlclient mysql-clients mysql')

Is there any other fix than downgrading mysql or upgrading the kernel (I know this is a different story...) possible?
m0rphU
 
Posts: 7
Joined: Fri Jun 10, 2011 9:55 am

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests