You are not logged in.
Hey all for those of you who are more adventurous take a peek at the new zenmm kernel -- we have made significant improvements on the kernel. This kernel combines zen sources and mm sources to create zenmm -- it has many new and interesting features that many might be interested in if you like a custom kernel and know your way around a .config file and menuconfig. I would love some feedback on it -- and even though the PKGBUILD says the md5's are not updated -- i did update them today i was just silly and forgot to remove the comment at the top -- any feedback to unk.nown [at] unix [dot] net (or on the forum is fine too -- that may even be better since it might get some ideas flowing). TP_SMAPI coming soon -- we are still arguing with hdaps in the zen sources -- updates soon once it gets going on my x61t -- thanks
kernel26zenmm-git
respectfully,
-jt
Last edited by bbs (2008-07-06 23:10:30)
(quaqmire talking about a dude getting his tubes tied)
sex kinda looses its appeal without the potency -- its like a cobra without the venom -- i mean what do you have then....? -- a belt?
Offline
Hey, I tried this package earlier and it worked great. It was the first time I've ever messed with a custom kernel.
The only problem I had was getting the Nvidia driver to work with it. No matter what I tried, it wouldn't build against it. It kept saying something along the lines of "Can't find auto.conf or autoconf.h... run something something in the kernel src directory to fix it" -- which I did, and got the same error.
It worked great with xf86-video-nv, though.
Thanks for the package.
Offline
Ive heard a lot about this, but what exactly are the benefits of running this kernel?
Offline
Ah.
-mm patches : The -mm patches are a set of patches, released by Andrew Morton, against the official kernel series. They are frequently more experimental in nature than the official series. These patches are available in Andrew's kernel directory:
zen patches : an aggregation of several useful patches not implemented in the mainstream "vanilla" linux kernel -- more information can be found @ zen-sources.org -- or you can check the forum because a few peopl ehave discussed them already
thanks for your interests
pnevma : ping! -- i am making a note of this -- thank you very much for the feedback this is invaluable to me as i don't have every piece of hardware covered by the sources
Last edited by bbs (2008-07-07 23:56:31)
(quaqmire talking about a dude getting his tubes tied)
sex kinda looses its appeal without the potency -- its like a cobra without the venom -- i mean what do you have then....? -- a belt?
Offline
Thanks for the hard work, I'm using zen-mm since very first day and enjoy it a lot.
With latest pull 1 hour ago, dmesg spits the following. Does it mean I'm gonna die in everlasting sufferance ?
input: Video Bus as /class/input/input5
ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
proc_dir_entry 'VGA' already registered
Pid: 2832, comm: modprobe Not tainted 2.6.26-mmz #1
[<c01ce018>] proc_register+0x158/0x180
[<c01ce213>] proc_mkdir_mode+0x33/0x50
[<f8c75415>] acpi_video_bus_add+0x1b8/0xb5b [video]
[<c01d74ad>] sysfs_create_link+0x8d/0x160
[<c02b962c>] acpi_device_probe+0x3a/0x7a
[<c02cef36>] driver_probe_device+0x86/0x1a0
[<c02cf0c1>] __driver_attach+0x71/0x80
[<c02b9594>] acpi_device_remove+0x0/0x5e
[<c02ce864>] bus_for_each_dev+0x44/0x70
[<c02b9594>] acpi_device_remove+0x0/0x5e
[<c02cedc6>] driver_attach+0x16/0x20
[<c02cf050>] __driver_attach+0x0/0x80
[<c02ce1f7>] bus_add_driver+0x1a7/0x220
[<c02b9594>] acpi_device_remove+0x0/0x5e
[<c02cf25c>] driver_register+0x5c/0x130
[<f8c4002f>] acpi_video_init+0x2f/0x4d [video]
[<c014f428>] sys_init_module+0x168/0x1cf0
[<c01c93cf>] proc_reg_open+0xef/0x140
[<c02b98c8>] acpi_bus_register_driver+0x0/0x38
[<c0103d7d>] sysenter_past_esp+0x6a/0x91
[<c03a0000>] cache_add_dev+0x6d/0x469
=======================
There's also:
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:01
pci 0000:00:1c.0: IO window: disabled
pci 0000:00:1c.0: MEM window: disabled
pci 0000:00:1c.0: PREFETCH window: disabled
pci 0000:00:1c.1: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.1: IO window: disabled
pci 0000:00:1c.1: MEM window: 0xfdc00000-0xfdcfffff
pci 0000:00:1c.1: PREFETCH window: disabled
pci 0000:00:1c.2: PCI bridge, secondary bus 0000:03
pci 0000:00:1c.2: IO window: 0xb000-0xbfff
pci 0000:00:1c.2: MEM window: 0xfdd00000-0xfddfffff
pci 0000:00:1c.2: PREFETCH window: disabled
pci 0000:00:1c.3: PCI bridge, secondary bus 0000:04
pci 0000:00:1c.3: IO window: disabled
pci 0000:00:1c.3: MEM window: disabled
pci 0000:00:1c.3: PREFETCH window: disabled
pci 0000:00:1c.4: PCI bridge, secondary bus 0000:05
pci 0000:00:1c.4: IO window: 0xc000-0xcfff
pci 0000:00:1c.4: MEM window: 0xfde00000-0xfe5fffff
pci 0000:00:1c.4: PREFETCH window: 0x000000bdf00000-0x000000bfefffff
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:07
pci 0000:00:1e.0: IO window: disabled
pci 0000:00:1e.0: MEM window: 0xfe600000-0xfe6fffff
pci 0000:00:1e.0: PREFETCH window: disabled
TIA !
Offline
I also managed to succesfully build and boot into this kernel, but I'm having trouble with the nvidia driver as well, I followed the wiki and changed _kernver in the pkgbuild to '2.6.26-zen' (which I noticed was symlinked to the full name, it doesn't make a difference which one I use and this seemed more convenient), and I don't get any specific error, just this at the end:
make -f /usr/src/linux-2.6.26-rc8-zenmm1/Module.symvers -I /data/others/pkgbuilds/abs/nvidia-zenmm/src/NVIDIA-Linux-x86_64-177.13-pkg0/usr/src/nv/Module.symvers -o /data/others/pkgbuilds/abs/nvidia-zenmm/src/NVIDIA-Linux-x86_64-177.13-pkg0/usr/src/nv/Module.symvers -S -w -s
NVIDIA:left KBUILD
nvidia.ko: failed to build !
make[1]: *** [module] Error 1
make: *** [module] Error 2
(yes, I editted the PKGBUILD for the new beta driver, but it doesn't make any difference whether I use the old version or not)
I'm thinking maybe nvidia doesn't support .26 yet, the release notes do say 'preliminary support'. Anyone else ?
Last edited by GGLucas (2008-07-08 14:49:57)
Offline
Hi,
Kernel looks really promising. No Problems with compiling the kernel itself, but same Problem with compiling nvidia-driver (beta+regular) here.
I also tried the "old" Beta-Driver 173.08 with Patches from nvnews-Forum, but still no luck.
Has somebody already found a solution?
Kind Regards
Mod24
Offline
Hi,
Kernel looks really promising. No Problems with compiling the kernel itself, but same Problem with compiling nvidia-driver (beta+regular) here.
I also tried the "old" Beta-Driver 173.08 with Patches from nvnews-Forum, but still no luck.
Has somebody already found a solution?
Kind Regards
Mod24
i'm working on trying to integrate this as there are several people who are looking for these to be integrated in a more *seemless* fashion -- i'll post a comment on AUR and reply back here -- thank you very much for your interests -- hopefully we can get this kernel some popularity because it really does deserve it
(quaqmire talking about a dude getting his tubes tied)
sex kinda looses its appeal without the potency -- its like a cobra without the venom -- i mean what do you have then....? -- a belt?
Offline
Hi bbs,
100% ACK. This Kernel surely deserves some popularity since the patches and features that are included are really usefull and also stable (as stable it can be in a RC-State ;-))
But nvidia-drivers not working makes this kernel unfortunantly unusable for me at the moment :-(
I'm looking forward for a solution and try by myself some more options. If I'm lucky I will report back.
Kind Regards
Michael
Offline
stable (as stable it can be in a RC-State ;-))
So it's not stable.
Offline
RC mm-based kernel...
living on the edge
.
.
.
(of Houston)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Hi Iphitus,
you are right. It's not stable, but it builds and runs without major problems (besides the nvidia problem) which would I call solid for a non stable release. So don't let us split hairs ;-) I'm happy to see a new kernel with some advanced patches is in the repository. I always used "your" kernel26beyond till you discontinued it, btw. Some great work of yours, really.
So let's see how this kernel will develop...
Regards
Mod24
Offline
I also managed to succesfully build and boot into this kernel, but I'm having trouble with the nvidia driver as well, I followed the wiki and changed _kernver in the pkgbuild to '2.6.26-zen' (which I noticed was symlinked to the full name, it doesn't make a difference which one I use and this seemed more convenient), and I don't get any specific error, just this at the end:
make -f /usr/src/linux-2.6.26-rc8-zenmm1/Module.symvers -I /data/others/pkgbuilds/abs/nvidia-zenmm/src/NVIDIA-Linux-x86_64-177.13-pkg0/usr/src/nv/Module.symvers -o /data/others/pkgbuilds/abs/nvidia-zenmm/src/NVIDIA-Linux-x86_64-177.13-pkg0/usr/src/nv/Module.symvers -S -w -s NVIDIA:left KBUILD nvidia.ko: failed to build ! make[1]: *** [module] Error 1 make: *** [module] Error 2
(yes, I editted the PKGBUILD for the new beta driver, but it doesn't make any difference whether I use the old version or not)
I'm thinking maybe nvidia doesn't support .26 yet, the release notes do say 'preliminary support'. Anyone else ?
You need to patch the drivers with this patch
works for me:
pkgname=nvidia-zenmm-git
pkgver=173.14.09
_kernver='2.6.26-rc8-zenmm3'
pkgrel=1
pkgdesc="NVIDIA beta drivers for kernel26zenmm."
arch=('i686' 'x86_64')
[ "$CARCH" = "i686" ] && ARCH=x86 && NV=1
[ "$CARCH" = "x86_64" ] && ARCH=x86_64 && NV=1
provides=('nvidia')
url="http://www.nvidia.com/"
depends=('nvidia-utils')
conflicts=('nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy')
license=('custom')
install=nvidia.install
source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg${NV}.run \
mm-fix.patch )
build()
{
# Extract
echo ${_kernver}
cd $startdir/src/
sh NVIDIA-Linux-$ARCH-${pkgver}-pkg${NV}.run --extract-only
cd NVIDIA-Linux-$ARCH-${pkgver}-pkg${NV}/usr/src/nv/
# Any extra patches are applied in here...
patch -Np1 -i $startdir/src/mm-fix.patch || return 1
sed -i -e 's:return kill_proc:return kill_pid:g' os-interface.c || return 1
ln -s Makefile.kbuild Makefile
make SYSSRC=/lib/modules/${_kernver}/build module
# install kernel module
mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
}
[jeepee@jpbox ~]$ uname -a && glxinfo | grep "OpenGL version string\|direct"
Linux jpbox 2.6.26-rc8-zenmm3 #5 Tue Jul 22 13:47:54 CEST 2008 i686 Intel(R) Pentium(R) 4 CPU 1400MHz GenuineIntel GNU/Linux
direct rendering: Yes
OpenGL version string: 2.1.2 NVIDIA 173.14.09
Last edited by klixon (2008-07-22 16:19:53)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
I get the same problem as GGLucas with klixon's PKGBUILD.
==> Starting build()...
2.6.26-rc8-zenmm3-20080720
Creating directory NVIDIA-Linux-x86_64-173.14.09-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 173.14.09....................................................................................................................................
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.26-rc8-zenmm3-20080720/build SUBDIRS=/home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/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 /home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv/.tmp_versions ; rm -f /home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv
(cat /dev/null; ) > /home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv/modules.order
Building modules, stage 2.
make -f /usr/src/linux-2.6.26-rc8-zenmm3-20080720/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.26-rc8-zenmm3-20080720/Module.symvers -I /home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv/Module.symvers -o /home/ian/packages/nvidia-zenmm-git/src/NVIDIA-Linux-x86_64-173.14.09-pkg1/usr/src/nv/Module.symvers -S -w -s
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
==> ERROR: Build Failed.
Aborting...
(My only changes were the datestamp and a strategic || return 1)
Offline
Try going into the source directory and apply the patch manually, to see if it was actually applied...
That is the exact same spot it broke for me, when i didn't have the patch applied...
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Works perfect for me, I am completely happy with the performance aspect of this kernel. Fixed some serious latency issues for me in the 2.6.26 kernel source. Thank you for this package.
one things I would like to ask.
why do I see a gentoo logo on boot? I think we should patch that out for the arch package.
edit:nvm, I think I see what i did wrong.
Last edited by rooloo (2008-07-29 00:21:14)
Offline
nvidia beta drivers for the kernel26zenmm-git package.
Offline
Just tried this again, I don't think the patch was applying properly earlier, as I can get it to compile and install with rooloo's new PKGBUILD. However there are a lot of warnings, and X can't start.
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0.
Output of makepkg: http://pastebin.com/m68566b68
Last edited by ianegg (2008-07-31 18:54:55)
Offline
I seem to have some problems with the thinkpad_ec.o modules when compiling.
CC [M] drivers/misc/thinkpad_ec.o
drivers/misc/thinkpad_ec.c:39:27: error: asm/semaphore.h: Ingen sådan fil ellerfilkatalog
drivers/misc/thinkpad_ec.c:86: advarsel: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/misc/thinkpad_ec.c:86: advarsel: parameternavne (uden typer) i funktionserklæringen
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_lock':
drivers/misc/thinkpad_ec.c:97: fejl: implicit declaration of function 'down_interruptible'
drivers/misc/thinkpad_ec.c:97: fejl: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/misc/thinkpad_ec.c:97: fejl: (Each undeclared identifier is reported only once
drivers/misc/thinkpad_ec.c:97: fejl: for each function it appears in.)
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
drivers/misc/thinkpad_ec.c:111: fejl: implicit declaration of function 'down_trylock'
drivers/misc/thinkpad_ec.c:111: fejl: 'thinkpad_ec_mutex' undeclared (first usein this function)
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
drivers/misc/thinkpad_ec.c:123: fejl: implicit declaration of function 'up'
drivers/misc/thinkpad_ec.c:123: fejl: 'thinkpad_ec_mutex' undeclared (first usein this function)
make[2]: *** [drivers/misc/thinkpad_ec.o] Fejl 1
make[1]: *** [drivers/misc] Fejl 2
make: *** [drivers] Fejl 2
==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel-mm to clean it up
==> ERROR: Build Failed.
Aborting...
Last edited by whargoul (2008-08-02 14:21:42)
Arch - It's something refreshing
Offline
Is the nvidia-beta driver building properly against the kernel26zenmm-git version as of 02aug08? The kernel version is up to 2.6.27 now.
Offline
Just recompiled the kernel (080804) and.... nvidia doesn't compile with or without the patch. I'm just not having much luck with zenmm
Offline
Just recompiled the kernel (080804) and.... nvidia doesn't compile with or without the patch. I'm just not having much luck with zenmm
Yeah, I've been having the same experience since trying on Aug. 2 and then again on Aug. 3. Both the zenmm-git kernel and the nvidia-beta drivers seem to be evolving, but not necessarily in harmony.
I'd like to see a zenmm kernel for a late D-number release of the 2.6.26 kernel. I don't think the nvidia drivers, even in beta, are ready yet for the 2.6.27 kernel, at least based on my attempts to build nvidia drivers for 2.6.27-rc1.
Offline
ianegg wrote:Just recompiled the kernel (080804) and.... nvidia doesn't compile with or without the patch. I'm just not having much luck with zenmm
Yeah, I've been having the same experience since trying on Aug. 2 and then again on Aug. 3. Both the zenmm-git kernel and the nvidia-beta drivers seem to be evolving, but not necessarily in harmony.
I'd like to see a zenmm kernel for a late D-number release of the 2.6.26 kernel. I don't think the nvidia drivers, even in beta, are ready yet for the 2.6.27 kernel, at least based on my attempts to build nvidia drivers for 2.6.27-rc1.
Well same here. Besides that I can't find a module I need (scsi_mod), I am unable to boot as well.
Arch - It's something refreshing
Offline
Maybe the patch mentioned in this post helps... haven't tried it yet myself.
BTW that thread is the official thread for support on the gentoo "unsupported software" forum, in which the developers of the patchset reply themselves...
Good luck
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Maybe the patch mentioned in this post helps... haven't tried it yet myself.
BTW that thread is the official thread for support on the gentoo "unsupported software" forum, in which the developers of the patchset reply themselves...
Good luck
Ha! It worked! Dank u wel.
Offline