Discussion:
kmod-staging in Fedora 23
Zahari Yurukov
2015-12-08 15:13:10 UTC
Permalink
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
espeakup from:
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
What will happen, if I install a vanilla kernel from:
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.

Thanks,
Zahari
Alonzo Cuellar
2015-12-08 16:56:15 UTC
Permalink
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.

Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Zahari Yurukov
2015-12-08 18:35:39 UTC
Permalink
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.

Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Alonzo Cuellar
2015-12-08 19:41:27 UTC
Permalink
Hello,
Ok do let me know if you are able to install speakup.
I see the modules in the tar archive
linux-4.3.tar.xz
Once you download the archive change to the directory driver/staging
Since these use to be hosted in its own source as a git repository you
use to be able to do
make modules_install
That might or might not work in the current staging directory.

Alonzo
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Zahari Yurukov
2015-12-08 22:06:11 UTC
Permalink
Hi,
I was able to extract the kmod-staging rpm following this instructions:
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
Then I copied all speakup related files to the place, where the rpm was
supposed to extract them.
However, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
Then I've downloaded the source of kernel 4.2.6 from kernel.org and was
eble to compile the speakup module alone following this instructions:
http://askubuntu.com/questions/168279/how-do-i-build-a-single-in-tree-kernel-module
This time I've copied the speakup*.ko files under
/usr/lib/modules/4.2.6..../drivers/staging/speakup/
Again, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
Hmmmph, after executing depmod, this time modprobe says:
modprobe: ERROR: could not insert 'speakup_soft': Exec format error
At least it detects it this time.

I'm using kernel with the PAE patch - is it possible that PAE brakes things?
I'll reboot into the non-PAE version of the same kernel now to check if
it works there.

Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
Ok do let me know if you are able to install speakup.
I see the modules in the tar archive
linux-4.3.tar.xz
Once you download the archive change to the directory driver/staging
Since these use to be hosted in its own source as a git repository you
use to be able to do
make modules_install
That might or might not work in the current staging directory.
Alonzo
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then
updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Zahari Yurukov
2015-12-08 22:36:54 UTC
Permalink
No, it didn't worked, but I know now what is the problem:
It checks the module version and if it didn't match the kernel version -
it rejects it.
Now I'm planning to try to force the version number of my copy of the
source to the exact version which Fedora uses and then compile the
module again.
Post by Zahari Yurukov
Hi,
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
Then I copied all speakup related files to the place, where the rpm was
supposed to extract them.
However, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
Then I've downloaded the source of kernel 4.2.6 from kernel.org and was
http://askubuntu.com/questions/168279/how-do-i-build-a-single-in-tree-kernel-module
This time I've copied the speakup*.ko files under
/usr/lib/modules/4.2.6..../drivers/staging/speakup/
Again, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
modprobe: ERROR: could not insert 'speakup_soft': Exec format error
At least it detects it this time.
I'm using kernel with the PAE patch - is it possible that PAE brakes things?
I'll reboot into the non-PAE version of the same kernel now to check if
it works there.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
Ok do let me know if you are able to install speakup.
I see the modules in the tar archive
linux-4.3.tar.xz
Once you download the archive change to the directory driver/staging
Since these use to be hosted in its own source as a git repository you
use to be able to do
make modules_install
That might or might not work in the current staging directory.
Alonzo
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then
updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
c***@ccs.covici.com
2015-12-08 22:44:09 UTC
Permalink
What I do in these cases is to make the Makefile match the correct
version and compile the whole kernel using the exact configs given to
you, except you will have to add those for speakup.
Post by Zahari Yurukov
It checks the module version and if it didn't match the kernel version -
it rejects it.
Now I'm planning to try to force the version number of my copy of the
source to the exact version which Fedora uses and then compile the
module again.
Post by Zahari Yurukov
Hi,
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
Then I copied all speakup related files to the place, where the rpm was
supposed to extract them.
However, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
Then I've downloaded the source of kernel 4.2.6 from kernel.org and was
http://askubuntu.com/questions/168279/how-do-i-build-a-single-in-tree-kernel-module
This time I've copied the speakup*.ko files under
/usr/lib/modules/4.2.6..../drivers/staging/speakup/
Again, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
modprobe: ERROR: could not insert 'speakup_soft': Exec format error
At least it detects it this time.
I'm using kernel with the PAE patch - is it possible that PAE brakes things?
I'll reboot into the non-PAE version of the same kernel now to check if
it works there.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
Ok do let me know if you are able to install speakup.
I see the modules in the tar archive
linux-4.3.tar.xz
Once you download the archive change to the directory driver/staging
Since these use to be hosted in its own source as a git repository you
use to be able to do
make modules_install
That might or might not work in the current staging directory.
Alonzo
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then
updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
***@ccs.covici.com
Zahari Yurukov
2015-12-09 00:23:44 UTC
Permalink
Hi,
Yes, I just made it work, but I didn't had to compile the whole kernel.
I've edited the Makefile in the root directory to say:
VERSION = 4
PATCHLEVEL = 2
SUBLEVEL = 6
EXTRAVERSION = -301.fc23.i686

Before that I did:
make oldconfig
edited .config at line 5778 to say:
CONFIG_SPEAKUP=m
make prepare
make modules_prepare
make SUBDIRS=scripts/mod
make SUBDIRS=drivers/staging/speakup/ modules

Then I copied all speakup*.ko files from drivers/staging/speakup under
/usr/lib/modules/MY_KERNEL_VERSION/kernel/drivers/staging/speakup/
And from /usr/lib/modules/MY_KERNEL_VERSION/ I executed:
sudo depmod
Then modprobe speakup_soft worked.
dmesg now shows:
[ 235.224605] speakup: module is from the staging directory, the
quality is unknown, you have been warned.
[ 235.224767] speakup: module verification failed: signature and/or
required key missing - tainting kernel
[ 235.228096] speakup 3.1.6: initialized
[ 235.242637] speakup_soft: module is from the staging directory, the
quality is unknown, you have been warned.

So it's the same version which was included in the kernel for the first
time - 3.1.6.

Then I started it and switched to a console. I heard it work, but it was
constantly interupted by GDM's instance of pulseaudio. So I disabled GDM
and rebooted.
Then I logged in into a console and tried to start espeakup. I already
new it will want root privelegies, so I started it with sudo.
First I had to execute modprobe speakup_soft again.
Then espeakup gave me some pulseaudio related error, which I wasn't able
to read, so I've started GDM.
From a terminal I started espeakup and switched to a console - espeakup
came up talking.

I'll try to compile it for my PAE kernel, as well as to understand what
is that pulseaudio error and why it didn't worked the first time with
GDM, but worked the second, but that will be tomorrow.
Thanks you guys for all the help.


Best wishes,
Zahari
Post by c***@ccs.covici.com
What I do in these cases is to make the Makefile match the correct
version and compile the whole kernel using the exact configs given to
you, except you will have to add those for speakup.
Post by Zahari Yurukov
It checks the module version and if it didn't match the kernel version -
it rejects it.
Now I'm planning to try to force the version number of my copy of the
source to the exact version which Fedora uses and then compile the
module again.
Post by Zahari Yurukov
Hi,
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
Then I copied all speakup related files to the place, where the rpm was
supposed to extract them.
However, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
Then I've downloaded the source of kernel 4.2.6 from kernel.org and was
http://askubuntu.com/questions/168279/how-do-i-build-a-single-in-tree-kernel-module
This time I've copied the speakup*.ko files under
/usr/lib/modules/4.2.6..../drivers/staging/speakup/
Again, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
modprobe: ERROR: could not insert 'speakup_soft': Exec format error
At least it detects it this time.
I'm using kernel with the PAE patch - is it possible that PAE brakes things?
I'll reboot into the non-PAE version of the same kernel now to check if
it works there.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
Ok do let me know if you are able to install speakup.
I see the modules in the tar archive
linux-4.3.tar.xz
Once you download the archive change to the directory driver/staging
Since these use to be hosted in its own source as a git repository you
use to be able to do
make modules_install
That might or might not work in the current staging directory.
Alonzo
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then
updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
Janina Sajka
2015-12-24 18:09:03 UTC
Permalink
Zahari:

If you're willing to put in this level of effort, maybe you scould
consider offering to maintain the package on rpmfusion? It does seem
rpmfusion's maintainer isn't tracking this very well, so someone more
interested might be quite welcome.

Just a thought!

Janina
Post by Zahari Yurukov
Hi,
Yes, I just made it work, but I didn't had to compile the whole kernel.
VERSION = 4
PATCHLEVEL = 2
SUBLEVEL = 6
EXTRAVERSION = -301.fc23.i686
make oldconfig
CONFIG_SPEAKUP=m
make prepare
make modules_prepare
make SUBDIRS=scripts/mod
make SUBDIRS=drivers/staging/speakup/ modules
Then I copied all speakup*.ko files from drivers/staging/speakup under
/usr/lib/modules/MY_KERNEL_VERSION/kernel/drivers/staging/speakup/
sudo depmod
Then modprobe speakup_soft worked.
[ 235.224605] speakup: module is from the staging directory, the
quality is unknown, you have been warned.
[ 235.224767] speakup: module verification failed: signature and/or
required key missing - tainting kernel
[ 235.228096] speakup 3.1.6: initialized
[ 235.242637] speakup_soft: module is from the staging directory, the
quality is unknown, you have been warned.
So it's the same version which was included in the kernel for the first
time - 3.1.6.
Then I started it and switched to a console. I heard it work, but it was
constantly interupted by GDM's instance of pulseaudio. So I disabled GDM
and rebooted.
Then I logged in into a console and tried to start espeakup. I already
new it will want root privelegies, so I started it with sudo.
First I had to execute modprobe speakup_soft again.
Then espeakup gave me some pulseaudio related error, which I wasn't able
to read, so I've started GDM.
Post by Zahari Yurukov
From a terminal I started espeakup and switched to a console - espeakup
came up talking.
I'll try to compile it for my PAE kernel, as well as to understand what
is that pulseaudio error and why it didn't worked the first time with
GDM, but worked the second, but that will be tomorrow.
Thanks you guys for all the help.
Best wishes,
Zahari
Post by Zahari Yurukov
What I do in these cases is to make the Makefile match the correct
version and compile the whole kernel using the exact configs given to
you, except you will have to add those for speakup.
Post by Zahari Yurukov
It checks the module version and if it didn't match the kernel version -
it rejects it.
Now I'm planning to try to force the version number of my copy of the
source to the exact version which Fedora uses and then compile the
module again.
Post by Zahari Yurukov
Hi,
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
Then I copied all speakup related files to the place, where the rpm was
supposed to extract them.
However, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
Then I've downloaded the source of kernel 4.2.6 from kernel.org and was
http://askubuntu.com/questions/168279/how-do-i-build-a-single-in-tree-kernel-module
This time I've copied the speakup*.ko files under
/usr/lib/modules/4.2.6..../drivers/staging/speakup/
Again, modprobe says it couldn't find speakup_soft module and insmod
says that speakup_soft.ko is in invalid module format.
modprobe: ERROR: could not insert 'speakup_soft': Exec format error
At least it detects it this time.
I'm using kernel with the PAE patch - is it possible that PAE brakes things?
I'll reboot into the non-PAE version of the same kernel now to check if
it works there.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
Ok do let me know if you are able to install speakup.
I see the modules in the tar archive
linux-4.3.tar.xz
Once you download the archive change to the directory driver/staging
Since these use to be hosted in its own source as a git repository you
use to be able to do
make modules_install
That might or might not work in the current staging directory.
Alonzo
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching
kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then
updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Janina Sajka, Phone: +1.443.300.2200
sip:***@asterisk.rednote.net
Email: ***@rednote.net

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup: http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Protocols & Formats http://www.w3.org/wai/pf
Janina Sajka
2015-12-24 18:05:26 UTC
Permalink
No, this is not correct.

Speakup is in the staging module, currently:

staging-kmod-addons-4.0.4-1.fc22.noarch

The purpose of kmod-staging is to insure you don't install a mismatch
kernel, when you're relying on functionality that only comes in the
staging package.

In other words, you want to do:

dnf upgrade kmod-staging

and all the dependencies should flow from that. However, they're also
not getting the dependencies fully enumerated, so you may have to
specify:

dnf upgrade kmod-staging staging-kmod-addons

So, this is a second bug, imo, against the kmod-staging package.
Essentially, we need a package maintainer who cares a bit more than
seems currently to be the case.

Bill Acker used to be the squeaky wheel on kmod-staging, but now someone
needs to take up where Bill left off. <sigh>

Janina
Post by Zahari Yurukov
Hi,
Thanks, that ansers my last question.
However, I forgot to mention, that speakup is stripped out of the Fedora
kernels and is contained in this package kmod-staging - that's why the
espeakup rpm package requires it.
Now I have to figure out if it's possible to compile that individual
kernel module (speakup) alone and install it under my current kernel.
Or if I can extract it from an older rpm of kmod-staging - it probably
has not changed.
I'll write you if I have any progress.
Any other suggestions are also welcomed.
Best wishes,
Zahari
Post by Alonzo Cuellar
Hello,
How about installing the headers for the kernel, the espeak-devel
package and cloning
git clone git://github.com/williamh/espeakup.git
You could then build the espeakup connector and I'd think this would work.
As far as a package I've not been successful in building an rpm.
Alonzo
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Janina Sajka, Phone: +1.443.300.2200
sip:***@asterisk.rednote.net
Email: ***@rednote.net

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup: http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Protocols & Formats http://www.w3.org/wai/pf
Janina Sajka
2015-12-24 18:00:27 UTC
Permalink
Hi, Zahari:

Your comments below are correct. I think the first step might be to file
a bug on the kmod-staging package with rpmfusion. I've been meaning to
do this myself, but haven't gotten around to it. So, whoever does it
first, please also respond on this list, so all of us who care can plus
one the bug and maybe get some action.

The broken package for the 4.1.4 kernel was maddening. It's as though
nobody bothered to test. I'm sure it's a simple typing error in the
source. Of course, that's old news now. We need current kernels
supported.

Janina
Post by Zahari Yurukov
Hi,
I'm running Fedora 23 for the last 10 days and everything looks nice,
except the only kernel in the repositories is version 4.2.6 and
kmod-staging is version 4.0.4 (from May 28th), i.e there is no
combination of kernel and kmod-staging which will allow me to install
ftp://speakupmodified.org/speakupmodified/fedora/espeakup/
I found kmod-staging-4.1.4 from august 5th, but again - no matching kernel.
I looked in all rpmfusion repositories, as well as the default Fedora
one's, both development and updates.
Do you have any idea when we could expect kmod-staging-4.2.6? I assume I
should expect it first in rpmfusion development, then updates/testing/23
and finaly in updates/23.
Unless they've decided to skip 4.2 and 4.3 series, which would be a very
bad news, cause it means it won't be coming in at least another two
months. But isn't that the idea behind kmod-staging - to prepeir you for
the new kernel? So there should be no skipping.
Where could I get kernel 4.0.4 or 4.1.4 for Fedora 23?
Also, the last espeakup rpm build is for Fedora 20 - will this work for
Fedora 23?
Could I add a repository for Fedora 22 and install a kernel from there?
What will be the implecations?
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories Should I
expect problems? I expect to find speakup there, right?
Or I should compile a kernel from kernel.org? That one should be the
last resort though.
And if I have to use an unmodified kernel, how should I install espeakup
then? I.e. without the rpm package, which depends on kmod-staging.
Thanks,
Zahari
_______________________________________________
Speakup mailing list
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Janina Sajka, Phone: +1.443.300.2200
sip:***@asterisk.rednote.net
Email: ***@rednote.net

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup: http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Protocols & Formats http://www.w3.org/wai/pf
Loading...