You are not logged in.
All works, thanks.
Please write simple english for me
Offline
hey guys i have local/kernel26-pf-k8 2.6.38-pf2 and i am unable to make virtualbox module any fix
Offline
you need the headers too.
Arch64/DWM || My Dropbox referral link
Offline
hey guys i have local/kernel26-pf-k8 2.6.38-pf2 and i am unable to make virtualbox module any fix
The headers are included. See previous explanatory post.
cd /lib/modules/2.6.38-pf ; sudo rm -f build ; sudo ln -s /usr/src/linux-2.6.38-pf build
Or update to 2.6.38-pf2.
[pfkernel]
Server = http://dl.dropbox.com/u/11734958/$arch
Last edited by nous (2011-03-30 05:30:03)
Offline
cool that fixed it
Offline
Ok, I installed kernel26-pf-core2 from the dropbox repo, and rebooted. Somehow I think I'm still on the arch kernel.. Anything I have to change in menu.lst etc to boot into the pfkernel?
Offline
Ok, I installed kernel26-pf-core2 from the dropbox repo, and rebooted. Somehow I think I'm still on the arch kernel.. Anything I have to change in menu.lst etc to boot into the pfkernel?
You need to tell grub to boot vmlinuz26-pf. Edit /boot/grub/menu.lst as root, duplicate the (0) and (1) entries of the stock arch kernel and append -pf to vmlinuz26 and kernel26. The -pf entry should be the very first. My menu.lst looks as follows (the resume= option is optional, tuxonice scans all swap partitions for hibernation images):
title Arch Linux PF
root (hd0,4)
kernel /boot/vmlinuz26-pf root=/dev/disk/by-label/ROOT ro vga=773 resume=swap:/dev/sda6
initrd /boot/kernel26-pf.img
title Arch Linux PF Fallback
root (hd0,4)
kernel /boot/vmlinuz26-pf root=/dev/disk/by-label/ROOT ro vga=773 resume=swap:/dev/sda6
initrd /boot/kernel26-pf-fallback.img
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/ROOT ro vga=773
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/ROOT ro vga=773
initrd /boot/kernel26-fallback.img
Offline
^^ Thought so! Thanks! Sorry for being a noob
Offline
@kalpik - FYI, use the following to see your kernel info:
$ uname -r
More option in the manpage...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online
I just installed this kernel on my Thinkpad X120e, which has an AMD Fusion E350 APU, it seems to work great so far!
Arch user since 2011-03-13
Thinkpad X220 Intel Core i7-2640M CPU, 16GB DDR3-1333 RAM, 160GB Intel SATA II SSD & 60GB OCZ mSATA SSD, 12.5" IPS 1366x768 Display, 6-cell Battery
(Installation date: 2012-03-19)
Offline
Thanks a lot for the package (kernel26-pf-core2) I downloaded it from dropbox repo. It works great for me. But there is one "problem". After instaling or updating sth, pacman at the end always say:
missing dependency for virtualbox_bin : kernel26-headers
so I think PKGBUILD should include kernel26-pf-core2-headers or sth like that in the "provides" section.
Of course virtualbox module complies fine.
Offline
Thanks a lot for the package (kernel26-pf-core2) I downloaded it from dropbox repo. It works great for me. But there is one "problem". After instaling or updating sth, pacman at the end always say:
missing dependency for virtualbox_bin : kernel26-headers
so I think PKGBUILD should include kernel26-pf-core2-headers or sth like that in the "provides" section.
Of course virtualbox module complies fine.
The kernel26-pf package contains the headers but I have the following in the PKGBUILD:
provides=(${_pkgname}=${_basekernel} 'aufs2')<-># for $pkgname-optimized
# below 'provides' is for when you have no other kernel (which is a bad idea anyway)
# provides=(${_pkgname}=${_basekernel} 'kernel26-headers' 'kernel26=$pkgver' 'aufs2')
The main reason I kept it that way, was to remind me to always have a fallback kernel (the stock -ARCH in my case) to boot the system if anything went wrong with kernel26-pf (e.g. boot hang or disk failure). Adding 'kernel26-headers' to the "provides" array of the PKGBUILD doesn't conflict with the core kernel26-headers though; you can add it to the %PROVIDES% section of /var/lib/pacman/local/kernel26-pf-core2-2.6.38-pf6/desc to silence pacman and I'll have it fixed by the next -pf update.
Offline
Since pf7, the kernel-pf packages in the repo have no modules.
Offline
Since pf7, the kernel-pf packages in the repo have no modules.
Yes it does.
...
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpu/cpufreq/mperf.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpu/cpufreq/p4-clockmod.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpu/cpufreq/speedstep-lib.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/cpuid.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/microcode.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/msr.ko.gz
...
You might be confused because they are compressed, so a "find /lib/modules/2.6.38-pf/ -iname '*.ko'" won't list them. You'd need to use '*.ko.gz' instead.
Offline
Hm. It seems it does have modules for x86_64 and not for i686. See the file sizes:
-rw-r--r-- 1 root root 39M Apr 25 16:40 kernel26-pf-2.6.38-pf6-i686.pkg.tar.xz
-rw-r--r-- 1 root root 13M May 10 21:38 kernel26-pf-2.6.38-pf7-i686.pkg.tar.xz
-rw-r--r-- 1 root root 13M May 12 12:32 kernel26-pf-2.6.38-pf8-i686.pkg.tar.xz
-rw-r--r-- 1 root root 40M May 12 15:05 kernel26-pf-2.6.38-pf8-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root 39M May 12 12:49 kernel26-pf-atom-2.6.38-pf8-i686.pkg.tar.xz
Offline
How odd!
kernel26-pf /lib/modules/2.6.38-pf/build
kernel26-pf /lib/modules/2.6.38-pf/kernel/
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/
kernel26-pf /lib/modules/2.6.38-pf/kernel/arch/x86/kernel/test_nx.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/drivers/
kernel26-pf /lib/modules/2.6.38-pf/kernel/drivers/scsi/
kernel26-pf /lib/modules/2.6.38-pf/kernel/drivers/scsi/scsi_wait_scan.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/kernel/net/
kernel26-pf /lib/modules/2.6.38-pf/kernel/net/netfilter/
kernel26-pf /lib/modules/2.6.38-pf/kernel/net/netfilter/xt_mark.ko.gz
kernel26-pf /lib/modules/2.6.38-pf/modules.alias
kernel26-pf /lib/modules/2.6.38-pf/modules.alias.bin
kernel26-pf /lib/modules/2.6.38-pf/modules.builtin
kernel26-pf /lib/modules/2.6.38-pf/modules.builtin.bin
kernel26-pf /lib/modules/2.6.38-pf/modules.ccwmap
kernel26-pf /lib/modules/2.6.38-pf/modules.dep
kernel26-pf /lib/modules/2.6.38-pf/modules.dep.bin
kernel26-pf /lib/modules/2.6.38-pf/modules.devname
kernel26-pf /lib/modules/2.6.38-pf/modules.ieee1394map
kernel26-pf /lib/modules/2.6.38-pf/modules.inputmap
kernel26-pf /lib/modules/2.6.38-pf/modules.isapnpmap
kernel26-pf /lib/modules/2.6.38-pf/modules.ofmap
kernel26-pf /lib/modules/2.6.38-pf/modules.order
kernel26-pf /lib/modules/2.6.38-pf/modules.pcimap
kernel26-pf /lib/modules/2.6.38-pf/modules.seriomap
kernel26-pf /lib/modules/2.6.38-pf/modules.softdep
kernel26-pf /lib/modules/2.6.38-pf/modules.symbols
kernel26-pf /lib/modules/2.6.38-pf/modules.symbols.bin
kernel26-pf /lib/modules/2.6.38-pf/modules.usbmap
This is everything that's installed in /lib/modules for the i686-version. Seems like you're correct, a lot of modules are missing.
Last edited by Zom (2011-05-12 14:28:50)
Offline
The first 2.6.38-pf1 PKGBUILD didn't create the right symlink; later ones and -pf2 are fixed. Atom-pf2 kernels are already in [pfkernel] for your convenience.
Hello nous,
I’m having difficulties compiling tp_smapi kernel module. My first guess was I’d have to build a kernel26-pf-headers package. But since you say here that headers are included and we have -pf8 right now (and in fact, I do have a quite large /lib/src/modules tree) the problem should not be the headers but tp_smapi?
Another question: I’m using the kernel on my Intel Core i3 2310M (Thinkpad X220i, that is). Is there any advantage to install e.g. kernel26-pf-core2? Or should I stick with kernel26-pf standard?
I have to thank you so much for providing this great repository! Though compilation (with localmodconfig enabled) doesn’t take much time anymore on my new laptop, it is way more convenient to have a precompiled kernel including headers installed with any given -Syu → it’s simply great! Thank you!
Best,
Jakob
Last edited by jakob (2011-05-12 16:34:31)
Offline
This is everything that's installed in /lib/modules for the i686-version. Seems like you're correct, a lot of modules are missing.
I'm terribly sorry, somehow my build machine's tailored config made it into the PKGBUILD as the default config. Only the generic i686 package is affected by it though and I'm rebuilding it right now - should hit the repo in 3-4 hours. In the mean time, 32-bit users please install one of the optimized i686 pf-kernels.
Offline
nous wrote:The first 2.6.38-pf1 PKGBUILD didn't create the right symlink; later ones and -pf2 are fixed. Atom-pf2 kernels are already in [pfkernel] for your convenience.
Hello nous,
I’m having difficulties compiling tp_smapi kernel module. My first guess was I’d have to build a kernel26-pf-headers package. But since you say here that headers are included and we have -pf8 right now (and in fact, I do have a quite large /lib/src/modules tree) the problem should not be the headers but tp_smapi?
Another question: I’m using the kernel on my Intel Core i3 2310M (Thinkpad X220i, that is). Is there any advantage to install e.g. kernel26-pf-core2? Or should I stick with kernel26-pf standard?
I have to thank you so much for providing this great repository! Though compilation (with localmodconfig enabled) doesn’t take much time anymore on my new laptop, it is way more convenient to have a precompiled kernel including headers installed with any given -Syu → it’s simply great! Thank you!
Best,
Jakob
I built tp_smapi just fine in both 32- and 64-bit, see here. Can you post the error messages? Which gcc version?
The optimized kernels are indeed faster than generic ones. You won't see the impressive difference of, say, i686-vs-core2 mencoder, but it's there.
Offline
I built tp_smapi just fine in both 32- and 64-bit, see here. Can you post the error messages? Which gcc version?
The optimized kernels are indeed faster than generic ones. You won't see the impressive difference of, say, i686-vs-core2 mencoder, but it's there.
Hello,
When writing my previous post, I was wrong: tp_smapi compiled just fine. Only when trying to modprobe it I got the „no such device“ error, which is discussed here:
http://forum.thinkpads.com/viewtopic.ph … 43#p628643
I am not able to apply the patch, though and this is why I’m not able to load the module. So basically what is important at this stage of mine: I know that there are the headers included and that if the modules are working they should just work fine. It’s not kernel26-pf’s fault at all.
Concerning the optimized kernels: What I meant was if I would have any benefits usng the core2 optimized kernel with my Core i3 instead of the generic one? If I am right, they are two different kinds of architetctures so it wouldn’t make much sense, right?
Thank for your fast reply!
Jakob
Offline
Concerning the optimized kernels: What I meant was if I would have any benefits usng the core2 optimized kernel with my Core i3 instead of the generic one? If I am right, they are two different kinds of architetctures so it wouldn’t make much sense, right?
Jakob
Not quite. The core2 instruction set by far supersedes that of pentium-pro, and that's not the only advantage of the former over the latter. A core-i3 will substantially benefit from a core2 optimized kernel.
Offline
Not quite. The core2 instruction set by far supersedes that of pentium-pro, and that's not the only advantage of the former over the latter. A core-i3 will substantially benefit from a core2 optimized kernel.
Ah, good to know, thanks for the hint, just switched to pf-core2
Offline
the new kernel won't seem to recognize the boot partition on my live cd, or any hard disk. I am compiling a complete vanilla kernel26-pk from AUR on a different machine I use for pkg builds. This is meant for a livecd/usb stick. instructions?
edit: also is there a new repository? the old one is down.
Last edited by GI Jack (2011-07-06 00:25:28)
Offline
the new kernel won't seem to recognize the boot partition on my live cd, or any hard disk. I am compiling a complete vanilla kernel26-pk from AUR on a different machine I use for pkg builds. This is meant for a livecd/usb stick. instructions?
edit: also is there a new repository? the old one is down.
I've no experience in livecd/usb environments, but you might need to add the relevant filesystem modules (e.g. ext4, xfs, vfat) to the MODULES array of /etc/mkinitcpio.conf and rebuild initrd with 'mkinitcpio -p kernel26-pf'. If that fails, please report back with more information (lsmod, fdisk -l, /etc/mkinitcpio.conf and dmesg).
I just pacman -Sy'd the repository and it's up.
Offline
Can't seem to resume now
[ 3.896152] PM: Starting manual resume from disk
[ 3.898722] TuxOnIce: Image found.
[ 3.918031] Using dev_t 8:22, returned by blk_lookup_fs_info.
[ 3.947999] Failed to launch userspace program '/usr/sbin/tuxoniceui': Error -2
[ 3.950506] Launch userspace program failed.
[ 3.952986] Stopping fuse filesystems.
[ 3.955490] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 3.969131] Stopping normal filesystems.
[ 3.976671] Freezing remaining freezable tasks ...
[ 3.986860] Reading kernel & process data...
[ 3.991665] (elapsed 0.01 seconds) done.
[ 4.030193] Compress_read returned -22.
[ 4.030195]
[ 4.035116]
[ 4.035116] Breaking out of I/O loop because of result code -22.
[ 4.048624]
[ 4.048625] Breaking out of I/O loop because of result code -22.
[ 4.054151]
[ 4.054152] Breaking out of I/O loop because of result code -22.
[ 4.059314]
[ 4.059315] Breaking out of I/O loop because of result code -22.
[ 4.063766]
[ 4.081894] Waited for i/o due to readahead not ready 44 times.
[ 4.081896] Waited for i/o due to synchronous I/O 3 times.
[ 4.081899] Failed to read pageset 1.
[ 4.084032] Restarting all filesystems ...
[ 4.086175] Restarting tasks ... done.
[ 4.089055] PM: Hibernation image partition 8:22 present
[ 4.089056] PM: Looking for hibernation image.
[ 4.089359] PM: Image not found (code -22)
[ 4.089361] PM: Hibernation image not present or could not be loaded.
Any pointers?
Offline