SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying the very newest kernel (linux-next from git-20120628).
using the config-huge-3.2.21 and removing DLM and GF2 (as who compiled 3.4.4 kernel) it build fine.
after make modules_install, configuring lilo and rebooting, I had some problems:
1) during boot there is a moment in which boot process seem to be stalled:
# dmesg
...
[ 1.438561] tsc: Refined TSC clocksource calibration: 2195.013 MHz
[ 1.438871] Switching to clocksource tsc
[ 20.477961] floppy0: no floppy controllers found
...
2) I use a nvidia graphics card with the proprietary driver but the kernel module do not compile:
# make module
NVIDIA: calling KBUILD...
make -C /lib/modules/3.5.0-rc4-next-20120628+/build \
KBUILD_SRC=/usr/src/linux-next-20120628 \
KBUILD_EXTMOD="/usr/share/nvidia-linux/kernel" -f /usr/src/linux-next-20120628/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /usr/share/nvidia-linux/kernel/.tmp_versions ; rm -f /usr/share/nvidia-linux/kernel/.tmp_versions/*
make -f /usr/src/linux-next-20120628/scripts/Makefile.build obj=/usr/share/nvidia-linux/kernel
cc -Wp,-MD,/usr/share/nvidia-linux/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/include -I/usr/src/linux-next-20120628/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-next-20120628/include -include /usr/src/linux-next-20120628/include/linux/kconfig.h -I/usr/share/nvidia-linux/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/usr/share/nvidia-linux/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"295.59\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /usr/share/nvidia-linux/kernel/nv.o /usr/share/nvidia-linux/kernel/nv.c
In file included from include/linux/kernel.h:19:0,
from include/linux/sched.h:55,
from include/linux/utsname.h:35,
from /usr/share/nvidia-linux/kernel/nv-linux.h:38,
from /usr/share/nvidia-linux/kernel/nv.c:13:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-next-20120628/arch/x86/include/asm/uaccess.h:586:0,
from include/linux/poll.h:14,
from /usr/share/nvidia-linux/kernel/nv-linux.h:97,
from /usr/share/nvidia-linux/kernel/nv.c:13:
/usr/src/linux-next-20120628/arch/x86/include/asm/uaccess_64.h: In function 'copy_from_user':
/usr/src/linux-next-20120628/arch/x86/include/asm/uaccess_64.h:53:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if [ "-pg" = "-pg" ]; then if [ /usr/share/nvidia-linux/kernel/nv.o != "scripts/mod/empty.o" ]; then /usr/src/linux-next-20120628/scripts/recordmcount "/usr/share/nvidia-linux/kernel/nv.o"; fi; fi;
cc -Wp,-MD,/usr/share/nvidia-linux/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/include -I/usr/src/linux-next-20120628/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-next-20120628/include -include /usr/src/linux-next-20120628/include/linux/kconfig.h -I/usr/share/nvidia-linux/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/usr/share/nvidia-linux/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"295.59\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /usr/share/nvidia-linux/kernel/nv-acpi.o /usr/share/nvidia-linux/kernel/nv-acpi.c
In file included from include/linux/kernel.h:19:0,
from include/linux/sched.h:55,
from include/linux/utsname.h:35,
from /usr/share/nvidia-linux/kernel/nv-linux.h:38,
from /usr/share/nvidia-linux/kernel/nv-acpi.c:15:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-next-20120628/arch/x86/include/asm/uaccess.h:586:0,
from include/linux/poll.h:14,
from /usr/share/nvidia-linux/kernel/nv-linux.h:97,
from /usr/share/nvidia-linux/kernel/nv-acpi.c:15:
/usr/src/linux-next-20120628/arch/x86/include/asm/uaccess_64.h: In function 'copy_from_user':
/usr/src/linux-next-20120628/arch/x86/include/asm/uaccess_64.h:53:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/share/nvidia-linux/kernel/nv-acpi.c: In function 'nv_acpi_remove':
/usr/share/nvidia-linux/kernel/nv-acpi.c:303:9: error: too many arguments to function 'acpi_os_wait_events_complete'
In file included from include/acpi/acpi.h:63:0,
from /usr/share/nvidia-linux/kernel/nv-linux.h:269,
from /usr/share/nvidia-linux/kernel/nv-acpi.c:15:
include/acpi/acpiosxf.h:208:6: note: declared here
make[4]: *** [/usr/share/nvidia-linux/kernel/nv-acpi.o] Error 1
make[3]: *** [_module_/usr/share/nvidia-linux/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
3.4.4 is supported by the nvidia drivers.
I just suggest to stay with the long term (295.59) because also the latest 302.x (302.17) caused an hard freeze here when browsing the interwebs (in a simple page, no flash). There are other similar reports on nvidia forums.
the small stall during boot just after clocksource calibration happens also on my work desktop with 3.5-rc4, but I think it's nothing to worry about.
diff -ur kernel-orig//nv-acpi.c kernel/nv-acpi.c
--- kernel-orig//nv-acpi.c 2012-06-07 06:19:46.000000000 +0200
+++ kernel/nv-acpi.c 2012-06-28 17:42:16.899430124 +0200
@@ -300,7 +300,7 @@
if (pNvAcpiObject->notify_handler_installed)
{
// no status returned for this function
- acpi_os_wait_events_complete(NULL);
+ acpi_os_wait_events_complete();
// remove event notifier
status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
Yesterday I fixed something like this removing the every frame buffers support in kernel menuconfig, to 3.4.4
I read in some that:
Known bugs (nvidia)
nv (xserver-xorg-video-nv) and VESA (xserver-xorg-video-vesa) Xorg driver, and the proprietary 3D driver (nvidia-glx) are incompatible with KMS.
@ http://wiki.debian.org/KernelModesetting
and:
Previously, setting up the video card was the job of the X server. Because of this, it was not easily possible to have fancy graphics in virtual consoles
Yes, I had undestood the joking ;-) but I could not resist :-D
And No, I do not intend build a kernel for day. My last kernel compilation was done about some years ago ;-) becouse I do prefer a prebuilt binary (for this reason I ask for 3.4 in /extra, but this is offtopic here).
I think that I return to 3.2.21 in a few days unless I will see a very advantage to use the 3.5 kernel
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.