Summary: | net-dialup/hsfmodem breaks with linux 2.6.33+ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Willard Dawson <willard.dawson> |
Component: | Current packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | egorov_egor |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
hsfmodem-7.80.02.05-fix-missing-autoconf-and-utsrelease-header-files.patch
hsfmodem-7.80.02.05.ebuild hsfconfig log hsfmodem-7.80.02.05-fix-2.6.36-kernel.patch hsfmodem-7.80.02.05.ebuild |
Description
Willard Dawson
2010-03-10 18:53:54 UTC
Cause it was renamed to generated/autoconf.h. It's not the only package that needs to catch up with that change. (In reply to comment #1) > Cause it was renamed to generated/autoconf.h. > It's not the only package that needs to catch up with that change. > Apparently, just copying over the generated/autoconf.h to the location expected by hsfconfig is no good, either... WARNING: the kernel version () defined in /lib/modules/2.6.33-gentoo/build/include/linux/version.h does not match the currently running kernel (2.6.33-gentoo) The cause of this problem is an incorrect kernel source path. Please check that /lib/modules/2.6.33-gentoo/build points to the right tree. The cause of this is usually a missing or unconfigured kernel source tree (and sometimes an incorrect directory or symbolic link). However, proper /boot/config-2.6.33-gentoo was found. Would you like to try using it (in a temporary kernel tree)? [yes] Unable to prepare temporary kernel tree First, ensure that the proper kernel source and compiler packages from your distribution vendor and/or the community are installed. The Linux kernel can then be reconfigured by running "make menuconfig" under the kernel source directory (usually /usr/src/linux). Verify that the proper options for your system are selected. Then compile and install your new kernel (for more information about this procedure, see the README file under the kernel source directory), reboot the system using the new kernel, and re-run "hsfconfig". (In reply to comment #1) > Cause it was renamed to generated/autoconf.h. > It's not the only package that needs to catch up with that change. > Any update on this issue? cd /usr/src/linux/include/linux ln -s ../generated/autoconf.h ln -s ../generated/utsrelease.h This is workaround. With 2.6.34-zen1 hsfconfig make modules fine. Sory, my English is bad. Created attachment 238229 [details]
hsfmodem-7.80.02.05-fix-missing-autoconf-and-utsrelease-header-files.patch
This patch allow work hsfconfig fine with gentoo-sources-2.6.32-r7 and zen-sources-2.6.34 -r1 without creating symlinks.
Created attachment 238233 [details]
hsfmodem-7.80.02.05.ebuild
In my case (I using baselayout-2 with rc_parallel="YES") service /etc/init.d/hsf has not starting, because that symlink.
cp /usr/sbin/rchsf /etc/init.d/
solve this issues.
This ebuild do it.
It seems the autoconf.h from kernel 2.6.33+ is here: /usr/src/linux/include/generated/autoconf.h I have successfully compiled clamav with a symlink to /usr/src/linux/include/linux yeah, no. none of the headers you quote should be installed. hfsmodem is broken if it depends on any of them. linux-headers is not broken in this regard. someone needs to post a full build log of the failure as an attachment. i dont know anything about hsfmodem, and it seems to build fine for me. fixes for userspace code is very different from kernel modules. no userspace code should be using headers in /usr/src/linux/ or via /lib/moules/... Created attachment 245876 [details]
hsfconfig log
The output of hsfconfig in response to comment/request #8.
(In reply to comment #9) > Created an attachment (id=245876) [details] > hsfconfig log > > The output of hsfconfig in response to comment/request #8. > Any news, hints, or suggestions? (In reply to comment #10) > (In reply to comment #9) > > Created an attachment (id=245876) [details] [details] > > hsfconfig log > > > > The output of hsfconfig in response to comment/request #8. > > > > Any news, hints, or suggestions? > What can I do to get past hsfconfig? Created attachment 252131 [details]
hsfmodem-7.80.02.05-fix-2.6.36-kernel.patch
Fix compile modules with kernel >=2.3.36
Created attachment 252133 [details]
hsfmodem-7.80.02.05.ebuild
(In reply to comment #13) > Created an attachment (id=252133) [details] > hsfmodem-7.80.02.05.ebuild > Thanks, Egor. "Works for me." However, now I discover that I need modem drivers for Agere ltmodem that are simply not available as I'm running x86_64. So, I have more work to do to make it all work... but that is not your problem nor is it a problem for hsfmodem. |