Gspca for newer kernels
Hi. I've got Creative Webcam NX Pro and I found i should be able to use it with gspca. gspca4all package in AUR is orphaned and outdated, so I tried to do it myslef. Unfortunately, adter many tries to compile it myself, it looks like it's impossible for newer kernels. The last release of gspca was in 2007. I'm sorry to see it's discontinued, but if it supports so many webcams, maybe it's at least possible to make it compile on 2.6.30 kernel?
gspca was integrated into the kernel(with 2.6.27 I think).
Last edited by Atsutane (2009-09-12 12:50:24)
Similar Messages
-
[Solved] Kernel 3.2 wont re-patch vmware for new kernel build
Hi, I looked for the same thing and didnt find it, I had vmplayer running great -> enter new kernel 3.2. When it went to build the new modules because the kernel changed it failed with log of:
2012-01-19T06:10:49.389-06:00| vthread-3| I120: Log for VMware Workstation pid=3928 version=8.0.1 build=build-528992 option=Release
2012-01-19T06:10:49.389-06:00| vthread-3| I120: The process is 64-bit.
2012-01-19T06:10:49.389-06:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-01-19T06:10:49.388-06:00| vthread-3| I120: Msg_Reset:
2012-01-19T06:10:49.388-06:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2012-01-19T06:10:49.388-06:00| vthread-3| I120: ----------------------------------------
2012-01-19T06:10:49.388-06:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-01-19T06:10:49.389-06:00| vthread-3| I120: Msg_Reset:
2012-01-19T06:10:49.389-06:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2012-01-19T06:10:49.389-06:00| vthread-3| I120: ----------------------------------------
2012-01-19T06:10:49.389-06:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/redhat-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/redhat_version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/sun-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/SuSE-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/novell-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/sles-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/debian_version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/debian_release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mandrake-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mandriva-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mandrakelinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/turbolinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/fedora-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/gentoo-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/nld-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/lsb-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/annvix-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: Cannot work with empty file.
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/arklinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/aurox-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/blackcat-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/cobalt-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/conectiva-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/immunix-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/knoppix_version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/lfs-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/linuxppc-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/mklinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/pld-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/slackware-version: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/slackware-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/e-smith-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/tinysofa-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/ultrapenguin-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/UnitedLinux-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/va-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoReadDistroFile: could not open file/etc/yellowdog-release: 2
2012-01-19T06:10:49.395-06:00| vthread-3| W110: HostinfoOSData: Error: no distro file found
2012-01-19T06:10:49.396-06:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-3928.log
2012-01-19T06:10:49.497-06:00| vthread-3| I120: modconf query interface initialized
2012-01-19T06:10:49.498-06:00| vthread-3| I120: modconf library initialized
2012-01-19T06:10:49.544-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-19T06:10:49.548-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.550-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.563-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.592-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.592-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.594-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.608-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.636-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.672-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.674-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.676-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.679-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.681-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.715-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.717-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.719-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.721-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.724-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-19T06:10:49.726-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.728-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.741-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.769-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.804-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.806-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.809-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.811-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.813-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-19T06:10:49.815-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:49.817-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.830-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:49.858-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:49.926-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.928-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.930-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.933-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:49.935-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:50.059-06:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-1-ARCH.
2012-01-19T06:10:50.059-06:00| vthread-3| I120: Validating path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH
2012-01-19T06:10:50.061-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:50.076-06:00| vthread-3| I120: Your GCC version: 4.6
2012-01-19T06:10:50.105-06:00| vthread-3| I120: Header path /lib/modules/3.2.1-1-ARCH/build/include for kernel release 3.2.1-1-ARCH is valid.
2012-01-19T06:10:50.105-06:00| vthread-3| I120: Building module vmmon.
2012-01-19T06:10:50.105-06:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-01-19T06:10:50.116-06:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.1-1-ARCH/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.2
2012-01-19T06:10:51.838-06:00| vthread-3| I120: Failed to compile module vmmon!
So I thought ok maybe it needs the 3.2 patch, so I un-installed then reinstalled but it wouldn't let me run the patch saying that my sources are alreay patched, I need this machine to do my work and I now at a dead stop.
thanks for your help on this.
--jerry
Last edited by jk121960 (2012-01-19 23:16:22)OK it all worked accept for one small bit, with the new patch there is a bug in the script. It calls for
/sbin/lsmod which doesn't exist.
It exists in /bin/lsmod
So I guess you could mod the script but I just symlinked the path and it worked fine.
ln -s /bin/lsmod /sbin/lsmod
thanks again for your help and I hope this little bit gets found by who needs it.
--jerry -
[Solved] Init not found for new kernels
Hello everyone,
I am experiencing this error message when booting using either the linux-3.7.x or linux-ck-3.8.x kernels. I would investigate towards something being wrong with systemd (i.e. the init= line suggested), but the system boots perfectly fine using linux-lts-3.0.56.1.
Relevant information I can think of:
/ is ext4, LVM. The lvm -3 update has not been done yet.
mkinitcpio 0.13.0-1
I am mostly interested in any direction towards what to investigate -- the fact that there is something wrong with the init not being found, but only for certain kernels, perplexes me.
Thanks for any help,
Jan
(My apologies for the quality.)
http://i.imgur.com/Tv276ds.jpg
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by Zuiop (2013-03-06 20:35:51)/usr is on /.
Here is what lsinitcpio gives me. They all include /usr/bin/init, and in fact the same init related things.
~ /boot for i in initramfs-linux-lts.img initramfs-linux.img initramfs-linux-ck.img ; do
print $i
lsinitcpio $i | grep init
done
initramfs-linux-lts.img
./init
./init_functions
./usr/bin/init
./usr/lib/udev/rules.d/11-dm-initramfs.rules
./etc/initrd-release
initramfs-linux.img
./init
./init_functions
./usr/bin/init
./usr/lib/udev/rules.d/11-dm-initramfs.rules
./etc/initrd-release
initramfs-linux-ck.img
./init
./init_functions
./usr/bin/init
./usr/lib/udev/rules.d/11-dm-initramfs.rules
./etc/initrd-release
Full output (is there a spoiler tag? couldn't find one)
http://paste.kde.org/688802/
Thanks for your continuing help! -
Suggestions for new kernel domain name
i'm unsure if this the correct place to post this if not moderate away and i apologize:
I am working on a new patchset for the linux kernel and its becoming a larger project that is *no* longer just a git repository. I have been brainstorming ideas such as: crash.ie -- something with panic in it -- i've always liked @kernel.crashing.org -- as benh has -- i think thats pretty clever -- also prime www realestate --
in addition i think it would be cool to integrate a word into the domain extention e.g.: www.cra.sh or something to this effect -- this is very interesting and also feasible now days
PLEASE feel free to make any suggestions -- i expect it will take me forever to come up with it so the more help the better -- and make them as nerdy as you want cr0n.com or -- captainkobject.com haha -- i don't care -- i just want to get some creative juices flowing -- i can make a patchset -- just not a domain name -- thanks guysthats a pretty sick one -- see i knew if i asked good stuff would come in -- keep them coming! -- this one is the best so far
Last edited by bbs (2008-07-09 15:59:02) -
WLAN-NG26 not updated for new kernel
Hi,
I just wanted to post that the current wlan-ng26 package hasnt been compiled for the 2.6.11-7 kernel and it still isnt for the 2.6.11-10 which was released recently. It is pretty important that modules keep working in case of pacman replacing the kernel. And it is also - especially for a distro like arch - very important that the internet connection keeps working.
Well, I tried to upgrade that package myself but didnt have any luck. Maybe somebody could do this - Somebody smarter than me
Anyway - I love arch - I just moved totally after already having tried it a year ago!Hi nagoola,
Please inform the maintainer of wlan-ng26 so he knows. ([email protected])
Thanks. -
NEW KERNEL V47, and a new hope for 720p video play...
thats right people, after matan's strange disappearing, we now have pali getting us new kernels, and his first kernel with loads of new awesome patches is in the extras devels ( v47 ) , you can try it out, same installation method as the old v46 (or v42 from the extras ), and same overclocking method too .
and now he is working on a 720p video playback patch, he already got the 720p media codecs (finally) and many users reported that they are able to play 720p mpeg4 videos on the n900 (this patch isn't in the extras devel version....yet ! ) so now we don't have a hardware problem to play 720p videos, the problem is in gstreamer (video player in the default media player) but thank god, we have MohamadAG to work on that openmedia player so we can finally get 720p video playback .
and if we can play 720p videos, we can shoot them too .
and i can say that after 40 minutes of hard usage of this new kernel my phone seems a lot smoother and abit faster than the old v46 or v42 with the same overclocking settings .
Use Hildon Application Manager or via apt-get
Step 1 Installation:
In Hildon Application Manager install package: Linux Kernel for power user
Or via apt-get package: kernel-power-flasher
Step 2 Multiboot support:
First see step 1.
Then in Hildon Application Manager install package: Linux Kernel for power user (boot image)
Or via apt-get package: kernel-power-bootimg
this is not for noobs right now, but it will be soon, and it might become a part of the cssu .
and btw if you get a 400 degrees temprature in conky don't panic, its a false value, its 40
ORIGINAL THREAD BY PALI AT talk.maemo.org .
Reality is wrong....dreams are for real... 2pac .
don't forget to hit that green kudosceroberts75 wrote:
i am boping we get another community udate soon. the last one brought us a great camera update, but the email is still messed up.
it will be coming...... its just tat Mag is busy with the new facebook app...... and so far i know that it includes multiple proflies support... and the camera ui has been updated 2-3 times since the last cssu update .
and for 720 p playback we are porbably going to use open medi pllayer, for anyone that wants to use it, search this forum for "open media player" , its a faster version of the original one, with more effects and smoothness .
Reality is wrong....dreams are for real... 2pac .
don't forget to hit that green kudos -
Ocfs for new suse kernel 2.4.21-203
Hi!
We arecurrently evaluating 9.2 RAC on Linux (SuSE Enterprise Server 8 / United Linux. We have kernel 2.4.21-198-smp and there was an rpm ocfs-2.4.21.198-1.0.11-1.i586.rpm on http://oss.oracle.com/projects/ocfs for this kernel. Now SuSE has recomended an update to kernel 2.4.21.203 because of some recent security issues. But where do I get the (supported) rpm for this ? Do I have to uninstall the ocfs-2.4.21.198 before updating the kernel ?
TIA, Roland SteinmeyerHi, please send me the error log file,
Thanks.
Message was edited by:
Serch-NET -
How do I use a newer kernel in the netinstall USB image
Hi,
trying to install Arch onto my laptop. My laptop is a Acer 1410 and it seems to have a new wireless card. dmesg | grep firmware shows something like iwlwifi-1000-2.ucode firmware file req failed: -2
The problem is I can only find iwlwifi-1000-3.ucode on intel's website. So I assume a newer kernel will help. Replacing the kernel on the live USB with vmlinuz-2.6.31-17-generic copied from by ubuntu install makes it not able to boot.
ThanksThe error message means that the firmware is not installed. Did you actually try the 1000-3.ucode before assuming you need a new kernel?
Also, there are various places where you could get an older firmware package, if you really need the 1000-2 version. Have a look at the wiki's Downgrade page for details. -
Failed to install the new kernel pkg
I just downloaded a new kernel pkg from
archlive-pkg
this is the new kernel pkg I downloaded.
kernel26-snapshot-2.6.31-rc6-git6-i686.pkg.tar.gz
when I ran
pacman -U kernel26-snapshot-2.6.31-rc6-git6-i686.pkg.tar.gz
, it complaint there is a conflict issue~
How can i install the package? thanks!
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#####################] 100%
error: failed to prepare transaction (conflicting files)
kernel26-snapshot-2.6.31: /boot/System.map26 exists in filesystem
kernel26-snapshot-2.6.31: /boot/vmlinuz26 exists in filesystem
kernel26-snapshot-2.6.31: /etc/mkinitcpio.d/kernel26.kver exists in filesystem
kernel26-snapshot-2.6.31: /etc/mkinitcpio.d/kernel26.preset exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/3com/typhoon.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/acenic/tg1.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/acenic/tg2.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/adaptec/starfire_rx.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/adaptec/starfire_tx.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/advansys/3550.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/advansys/38C0800.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/advansys/38C1600.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/advansys/mcode.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/atmsar11.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/bnx2/bnx2-mips-06-4.6.16.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/bnx2/bnx2-mips-09-4.6.17.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/bnx2/bnx2-rv2p-06-4.6.16.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/bnx2/bnx2-rv2p-09-4.6.15.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/cis/LA-PCM.cis exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/cxgb3/t3b_psram-1.1.0.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/cxgb3/t3c_psram-1.1.0.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/e100/d101m_ucode.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/e100/d101s_ucode.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/e100/d102e_ucode.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/edgeport/boot.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/edgeport/boot2.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/edgeport/down.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/edgeport/down2.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/edgeport/down3.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi26/bitstream.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi26/firmware.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi26/loader.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi62/bitstream.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi62/loader.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi62/midi.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/emi62/spdif.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/ess/maestro3_assp_kernel.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/ess/maestro3_assp_minisrc.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/kaweth/new_code.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/kaweth/new_code_fix.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/kaweth/trigger_code.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/kaweth/trigger_code_fix.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/keyspan_pda/keyspan_pda.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/keyspan_pda/xircom_pgs.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/korg/k1212.dsp exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/mts_cdma.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/mts_edge.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/mts_gsm.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/ositech/Xilinx7OD.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/qlogic/1040.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/qlogic/12160.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/qlogic/1280.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/sun/cassini.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/tehuti/bdx.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/ti_3410.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/ti_5052.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/tigon/tg3.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/tigon/tg3_tso.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/tigon/tg3_tso5.bin exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/whiteheat.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/whiteheat_loader.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/yamaha/ds1_ctrl.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/yamaha/ds1_dsp.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/yamaha/ds1e_ctrl.fw exists in filesystem
kernel26-snapshot-2.6.31: /lib/firmware/yamaha/yss225_registers.bin exists in filesystem
errors occurred, no packages were upgraded.yunkwan wrote:
bangkok_manouel wrote:another option:
pacman -Rd kernel26-firmware && pacman -U kernel26-snapshot-2.6.31-rc6-git6-i686.pkg.tar.gz
after I run
pacman -Rd kernel26-firmware mkinitcpio
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#####################]
100%
error: failed to prepare transaction (conflicting files)
kernel26-snapshot-2.6.31: /boot/System.map26 exists in filesystem
kernel26-snapshot-2.6.31: /boot/vmlinuz26 exists in filesystem
which pkg else should I remove?
your kernel. i'd recommend you to do that first:
cp /boot/System.map26 /boot/System.map26.old
cp /boot/vmlinuz26 /boot/vmlinuz26.old
in case of problem with your newly installed kernel, edit the grub entry at boot according to the new back-up names above.
then simply:
pacman -Uf kernel26-snapshot-2.6.31-rc6-git6-i686.pkg.tar.gz
also, why has mkinitcpio been removed? reinstall it before installing your new kernel. -
Can't get Nvidia to work in new kernel
Hi,
Yes, I know, loads of people have problems getting this to work and it has been posted thousands of times...but yet I can't do it! I've been trying for days, googling, reading the wikis and forums, but it won't work for me at all! I guess I'm doing something really evidently wrong, but what?
I've compiled a low latency kernel to allow me to run some midi applications that my wife absolutely must have (and she won't accept my move to Arch until I get them to work ) Now, this part is OK - I've succeeded here no probs. But no amount of work will get that Nvidia card up and running. I've tried this using abs in the following way: I've copied /var/abs/extra/nvidia-96xx to /var/abs/local/nvidia-96xx/ In nvidia.install I've changed KERNEL_VERSION from 2.6.25-ARCH to 2.6.21-rt; I've done the same thing in PKGBUILD; and I've changed pkgname in PKGBUILD to nvidia-custom. Then I've run makepkg -i -c...nothing. It seemed to build the first time I tried, however on booting into the new kernel I got greeted by a blank screen (and pacman won't let me re-install the NVIDIA driver, either) However, the second time it refused (I think it was a permissions problem). So I tried the same manipulation, this time copying /var/abs/extra/nvidia-96xx to my home directory. Still nothing. What am I doing wrong? Sorry for being such an Arch noob!
Thanks in advance!OK, here is the exact error message when I try to do this manually:
The CC version check failed.
The compiler used to compile the kernel (gcc 4.2) does not exactly match the current compiler (gcc 4.3). The Linux 2.6 kernel module rejects kernel modules built with a version of gcc that does not exaclt match that of the compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version to check, select "No" to continue installation. Otherwise, select "yes" to abort installation, set the CC environment to the name of the compiler used to compile your kernel, and restart installation. Abort now?
Does the fact that I find nvidia.ko where it should be mean that this is the problem when I try to install Nvidia with abs? How do I set the CC environment like it says? I don't really understand this message.
Last edited by Flapjack (2008-06-21 05:49:29) -
PKGBUILD for custom kernel issue
Hi all,
Last night I was putting together a PKGBUILD for a kernel I'd like to compile that has the ck patchset, grsecurity (latest testing), and had broadcom-wl on it already so I don't have to keep reinstalling it from AUR and doing depmod each time as it keeps making me have to find an ethernet cable. I used the kerne26 Arch PKGBUILD as a base and included parts of kernel-netbook for broadcom-wl, kernel26-grsecurity, and kernel26-ck and altered name variables and links etc so it all works and all sources are downloaded. I also got the two .patch files (semaphore and something else) from the kernel-netbook tarball to build the thing with, I don't know if it would work without them.
However when I get into the build() a few patches are applied before I get messages about patches already applied or reversed, and then it says build failed because of an error, I can't tell which package is causing thins or why (it all goes by too fast, and the error says failed without reason, and the reversed patch messages are what is immediately previous to it). I have not yet gone all the way through the pkgbuild - especially towards the end, and I felt that the standard setup of init file system creation and such were ok, and if anything does need altering about it, I can deal with it once I get these first troubles solved.
Below is my pkgbuild so far. Hopefully there are people out there who can aid me with this.
Thanks,
Ben.
# Maintainer: Ben Ward <[email protected]>
pkgbase="kernel26"
# pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
pkgname=kernel26-custom # Build kernel with a different name
#Base kernel info
_kernelname=${pkgname#kernel26}
_basekernel=2.6.38
pkgver=${_basekernel}.3
pkgrel=1
#ARCH patch info
_archpatchver=1
_archpatchname="patch-${pkgver}-${_archpatchver}-ARCH"
#_archpatchname="patch-${pkgver}-1-ARCH"
#grsecurity info
_grsec=2.2.2
_timestamp=201104182227
#Broadcom-wl info
_broadcom_ver=5.100.82.38
_broadcom="hybrid-portsrc_x86_32-v${_broadcom_ver//./_}"
#ck-patch info
_ckpatchversion=3
_ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
arch=(i686 x86_64)
license=('GPL2')
url="http://www.kernel.org"
options=(!strip)
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
ftp://ftp.archlinux.org/other/kernel26/${_archpatchname}.bz2
http://grsecurity.net/test/grsecurity-${_grsec}-${pkgver}-${_timestamp}.patch
http://www.broadcom.com/docs/linux_sta/${_broadcom}.tar.gz
http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/${_basekernel}/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2
"semaphore.patch"
"mutex-sema.patch"
# the main kernel config files
config config.x86_64
# standard config files for mkinitcpio ramdisk
kernel26.preset)
md5sums=('7d471477bfa67546f902da62227fa976'
'b3677121c4b5efcb8128c2000788d0aa'
'5b14b6eb2cdcb074905d4974437c4df6'
'a19024797f192fe21a468de80c101d8a'
'c0074a1622c75916442e26763ddf47d0'
'88d5b3e0622f8c48dad19ab9ac3c16f0'
'aee89fe7f034aea2f2ca95322774c1b5'
'21ce3f7967d7305064bf7eb60030ffea'
'f66543886835ab8599b29cd0c48aa66d'
'd866bcc06672fee17736bd5022f700fe'
'25584700a0a679542929c4bed31433b6')
build() {
cd ${srcdir}/linux-$_basekernel
# Apply kernel.org patch to basekernel
msg "Checking basekernel is ip to date..."
if [[ "${_basekernel}" != "${pkgver}" ]]; then
msg "Patching source with upstream patch..."
patch -Np1 -i "${srcdir}/patch-${pkgver}" || return 1
fi
# Add -ARCH patches
# See http://projects.archlinux.org/linux-2.6-ARCH.git/
msg "Patching Kernel with ARCH patches..."
patch -Np1 -i ${srcdir}/${_archpatchname}
# Add ck patch
msg "Patching Kernel with ck patches..."
patch -Np1 -i ${srcdir}/${_ckpatchname}
# Add grsecurity patch
msg "Patching kernel with grsecurity testing branch..."
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
else
cat ../config >./.config
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
make nconfig # new CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# stop here
# this is useful to configure the kernel
#msg "Stopping build"
#return 1
yes "" | make config
# build!
make ${MAKEFLAGS} bzImage modules
package_kernel26() {
pkgdesc="The Linux Kernel and modules"
groups=('base')
backup=(etc/mkinitcpio.d/${pkgname}.preset)
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.12-2' 'mkinitcpio>=0.6.8-2')
# pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
# nforce package support was abandoned by nvidia, kernel modules should cover everything now.
# kernel24 support is dropped since glibc24
replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
'alsa-driver' 'ieee80211' 'hostap-driver26'
'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
'gspcav1' 'atl2' 'wlan-ng26' 'rt2500' 'nouveau-drm')
install=kernel26.install
optdepends=('crda: to set the correct wireless channels of your country')
KARCH=x86
cd ${srcdir}/linux-$_basekernel
# get kernel version
_kernver="$(make kernelrelease)"
mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
make INSTALL_MOD_PATH=${pkgdir} modules_install
cp System.map ${pkgdir}/boot/System.map26${_kernelname}
cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
# # add vmlinux
install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
# install fallback mkinitcpio.conf file and preset file for kernel
install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i $startdir/kernel26.install
sed \
-e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
-e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
# remove build and source links
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf ${pkgdir}/lib/firmware
# gzip -9 all modules to safe 100MB of space
find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
##Section: Broadcom-wl
msg "Compiling broadcom-wl module:"
cd ${srcdir}/
#patching broadcom as broadcom-wl package on AUR
patch -p1 < license.patch
patch -p1 < semaphore.patch
patch -p1 < mutex-sema.patch
make -C ${srcdir}/linux-$_basekernel M=`pwd`
install -D -m 755 wl.ko ${pkgdir}/lib/modules/$_kernver/kernel/drivers/net/wireless/wl.ko
package_kernel26-headers() {
pkgdesc="Header files and scripts for building modules for kernel26"
mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build
cd ${srcdir}/linux-$_basekernel
install -D -m644 Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Makefile
install -D -m644 kernel/Makefile \
${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
install -D -m644 .config \
${pkgdir}/usr/src/linux-${_kernver}/.config
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video xen; do
cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
done
# copy arch includes for external modules
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
# fix permissions on scripts dir
chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
if [ "$CARCH" = "i686" ]; then
cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
fi
cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
# add headers for lirc package
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
done
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
cp -a drivers/staging/usbvideo/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
# add dm headers
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
# add inotify.h
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
# add wireless headers
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/11194
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb
cp drivers/media/dvb/dvb-usb/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends
cp drivers/media/dvb/frontends/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners
cp drivers/media/common/tuners/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/
# add xfs and shmem for aufs building
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
# add headers vor virtualbox
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
# add headers for broadcom wl
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
# add headers for crypto modules
# in reference to:
# http://bugs.archlinux.org/task/22081
cp -a include/crypto $pkgdir/usr/src/linux-${_kernver}/include/
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
done
chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
# strip scripts directory
find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "$binary")" in
*application/x-sharedlib*) # Libraries (.so)
/usr/bin/strip $STRIP_SHARED "$binary";;
*application/x-archive*) # Libraries (.a)
/usr/bin/strip $STRIP_STATIC "$binary";;
*application/x-executable*) # Binaries
/usr/bin/strip $STRIP_BINARIES "$binary";;
esac
done
# remove unneeded architectures
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
package_kernel26-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
cd ${srcdir}/linux-$_basekernel
mkdir -p $pkgdir/usr/src/linux-$_kernver
mv Documentation $pkgdir/usr/src/linux-$_kernver
find $pkgdir -type f -exec chmod 444 {} \;
find $pkgdir -type d -exec chmod 755 {} \;
# remove a file already in kernel26 package
rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
I wonder if localyesconfig would take care of broadcom-wl for me...
Last edited by Ben9250 (2011-04-20 00:12:44)Thank you. I guess trying the abs method wouldn't hurt. My main issue was configuration. I've only just skimmed the PKGBUILD so I'm not aware of how it handles it. I suppose I could write my own as described in the wiki as well. Thanks again.
Edit: Further research has revealed to me that the kernel headers are merely there for when the full source tree isn't. Seeing as the full tree is present in my case, the headers are unnecessary. I may take graysky's advice though and use pacman to manage my kernel.
Last edited by smithr.michael1997 (2011-03-31 02:17:29) -
New kernel prevents computer from booting
i installed kernel26-scsi 2.6.13.4-1 by means of pacman about a week ago, ran lilo, rebooted to find that before lilo loaded the screen had a bunch of "99"s printing across the screen. Once they stopped printing the processor hung. Every time i restart this happens. I booted to knoppix and installed the same kernel again but it still wouldn't boot. so I booted to knoppix again copied the contents of my scsi that i was trying to boot from to my ide and wiped my scsi. I put in the arch 0.7 cd and did an ftp install on the scsi drive. I installed kernel24-scsi since i had trouble with doing a fresh install with udev, lilo, and the kernel26-scsi, hoping that when i got it running i would be able to put kernel 2.6 on it. it still boots to a bunch of "99"s printed accross the screen and stalls the cpu. Is this some kind of hardware issue with the new kernel or can anyone help me solve this problem?
rocknice wrote: gosh Moo-Crumpus.
What do you blame me for? I payed deference to phrakture for not giving up. Unlike him, I am tired of asking again and again if one has read this or that. He is constantly helpful, isn't he, while I tend to be snubbed.
As you have not told us you where prepared for udev/devfs - and 80% of help calls here and in irc have been udev related - phrakture had to guess - he did a quick shot and missed. So what?
Let's see if we can help you.
Unfortunately, I don't use or kn ow lilo very well. As far as I know, lilo has some strange issues if beeing used in a dual boot to windows or linux scenario, and some other strange behaviours. Furthermore, 99 99 99 99 99 99 99 99 etc seemes to be a lilo message that should tell you lilo can't get further then stage one. This can be a damaged mbr, for example, or if windows has repaired the mbr and destroyed lilo, or a physically damaged hard disk. Have you rerun "lilo" or "liloconf"? They will reinstall LILO to the drive and make the second stage loader look in the right spot...which apparently it is not, hence the L 99 99 99 99 ...
As you tried a reinstall using ftp, I think you could try cd based install, to be sure. I would recommend to use grub instead of lilo. -
What's the deal with Intel and the new kernel?
Hi
I have trouble understanding the whole deal behind Intel's video drivers and the new kernel. What doesn't work and why? Could someone please try to explain what the problem is in a way so that a newbie like me can understand it?
ThanksIntel and Linux are transitioning to a new graphics system. We're in the middle of the transition, so everything's kinda suckish right now. Old kernel and drivers are better, development kernel and drivers are almost as good, and they will get much better soon.
www.phoronix.com for up-to-date info. -
[Solved] Compiling a new kernel with ABS
I've made it through the whole process outlined in the wiki, up to installing with pacman. Pacman is telling me that the stock arch kernel is a conflicting package and wants to remove it. I want to hang on to it in case I've messed something up. What am I doing wrong? I know you can have two kernels installed. Using the traditional way I can get this, but I'd rather keep to doing things The Arch Way.
Last edited by Morrvick (2011-11-17 00:40:30)I double checked what I was doing, and I have done that. Here is my modified PKGBUILD:
# $Id: PKGBUILD 130991 2011-07-09 12:23:51Z thomas $
# Maintainer: Tobias Powalowski <[email protected]>
# Maintainer: Thomas Baechler <[email protected]>
pkgbase=linux
#pkgname=('linux' 'linux-headers' 'linux-docs') # Build stock -ARCH kernel
pkgname=('linux-morrvick' 'linux-headers-morrvick') # Build kernel with a different name
_kernelname=${pkgname#linux}
_basekernel=3.1
pkgver=${_basekernel}.1
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.xz"
"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
"${pkgname}.preset"
'change-default-console-loglevel.patch'
'i915-fix-ghost-tv-output.patch'
'i915-fix-incorrect-error-message.patch'
'usb-add-reset-resume-quirk-for-several-webcams.patch')
md5sums=('edbdc798f23ae0f8045c82f6fa22c536'
'2bf7eb28a58238e1a062fa7393bf7824'
'cbaaa923f00c1935055273ccc1630144'
'93687a4b7e1e6bcd4e7417d6e5079bc4'
'eb14dcfd80c00852ef81ded6e826826a'
'9d3c56a4b999c8bfbd4018089a62f662'
'263725f20c0b9eb9c353040792d644e5'
'a50c9076012cb2dda49952dc6ec3e9c1'
'52d41fa61e80277ace2b994412a0c856')
build() {
cd "${srcdir}/linux-${_basekernel}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# Some chips detect a ghost TV output
# mailing list discussion: http://lists.freedesktop.org/archives/intel-gfx/2011-April/010371.html
# Arch Linux bug report: FS#19234
# It is unclear why this patch wasn't merged upstream, it was accepted,
# then dropped because the reasoning was unclear. However, it is clearly
# needed.
patch -Np1 -i "${srcdir}/i915-fix-ghost-tv-output.patch"
# In 3.1.1, a DRM_DEBUG message is falsely declared as DRM_ERROR. This
# worries users, as this message is displayed even at loglevel 4. Fix
# this.
patch -Np1 -i "${srcdir}/i915-fix-incorrect-error-message.patch"
# Add the USB_QUIRK_RESET_RESUME for several webcams
# FS#26528
patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.patch"
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
cat "${srcdir}/config" > ./.config
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# stop here
# this is useful to configure the kernel
#msg "Stopping build"
#return 1
yes "" | make config
# build!
make ${MAKEFLAGS} bzImage modules
package_linux-morrvick() {
pkgdesc="The Linux Kernel and modules"
groups=('base')
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
provides=('kernel26')
conflicts=('kernel26')
replaces=('kernel26')
backup=("etc/mkinitcpio.d/${pkgname}.preset")
install=${pkgname}.install
cd "${srcdir}/linux-${_basekernel}"
KARCH=x86
# get kernel version
_kernver="$(make kernelrelease)"
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make INSTALL_MOD_PATH="${pkgdir}" modules_install
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgname}"
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
# install fallback mkinitcpio.conf file and preset file for kernel
install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i "${startdir}/${pkgname}.install"
sed \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
# remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"
# gzip -9 all modules to save 100MB of space
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
# make room for external modules
ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
package_linux-headers-morrvick() {
pkgdesc="Header files and scripts for building modules for linux kernel"
provides=('kernel26-headers')
conflicts=('kernel26-headers')
replaces=('kernel26-headers')
mkdir -p "${pkgdir}/lib/modules/${_kernver}"
cd "${pkgdir}/lib/modules/${_kernver}"
ln -sf ../../../usr/src/linux-${_kernver} build
cd "${srcdir}/linux-${_basekernel}"
install -D -m644 Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Makefile"
install -D -m644 kernel/Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
install -D -m644 .config \
"${pkgdir}/usr/src/linux-${_kernver}/.config"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
for i in acpi asm-generic config crypto drm generated linux math-emu \
media net pcmcia scsi sound trace video xen; do
cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
done
# copy arch includes for external modules
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
# fix permissions on scripts dir
chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
if [ "${CARCH}" = "i686" ]; then
cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
fi
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
# add headers for lirc package
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video"
cp drivers/media/video/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/"
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
cp -a drivers/media/video/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
done
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
# add dm headers
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
# add inotify.h
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
# add wireless headers
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core"
cp drivers/media/dvb/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/"
# and...
# http://bugs.archlinux.org/task/11194
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
cp drivers/media/dvb/frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
cp drivers/media/video/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb"
cp drivers/media/dvb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends"
cp drivers/media/dvb/frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners"
cp drivers/media/common/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/"
# add xfs and shmem for aufs building
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
done
chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
# strip scripts directory
find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "${binary}")" in
*application/x-sharedlib*) # Libraries (.so)
/usr/bin/strip ${STRIP_SHARED} "${binary}";;
*application/x-archive*) # Libraries (.a)
/usr/bin/strip ${STRIP_STATIC} "${binary}";;
*application/x-executable*) # Binaries
/usr/bin/strip ${STRIP_BINARIES} "${binary}";;
esac
done
# remove unneeded architectures
rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
package_linux-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
provides=('kernel26-docs')
conflicts=('kernel26-docs')
replaces=('kernel26-docs')
cd "${srcdir}/linux-${_basekernel}"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
find "${pkgdir}" -type f -exec chmod 444 {} \;
find "${pkgdir}" -type d -exec chmod 755 {} \;
# remove a file already in linux package
rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
After the compiling is finished:
sudo pacman -U linux-morrvick-3.1.1-1-x86_64.pkg.tar.xz
Password:
resolving dependencies...
looking for inter-conflicts...
:: linux-morrvick and linux are in conflict (kernel26). Remove linux? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: linux-morrvick and linux are in conflict (kernel26)
Any thoughts? -
ATI display driver fails to work with new kernel
Hi,
I've just upgraded from
OEL kernel-2.6.18-194.11.3.0.1.el5.x86_64
to most current
OEL kernel-2.6.18-194.11.4.0.1.el5.x86_64
and got the problem with ATI display driver. Whenever I perform kernel upgrade, I have to recompile vendor-provided ATI display driver downloadable from AMD/ATI site, because system ATI driver, provided by OEL/RHEL as kernel module, doesn't work properly (too slow). I did that hundred times and never had a problem. This time the problem is that after upgrading to new kernel and recompiling the existing ATI display driver (Revision 10.8), it doesn't work anymore, even though it worked perfectly with previous kernel. I cannot even start X11 (glibc problem reported with stack traces!!!). The newest ATI display driver (Revision 10.9) "works" with new kernel, but display is awfully slow making any serious work impossible. It is even slower than system-provided ATI driver.
I am pretty sure the problem is in new kernel. As I have no backup of old kernel files and couldn't download the previous OEL kernel files from ULN, neither binary nor source (the files do not exist on ULN anymore, only the recent kernel files), I downloaded the previous kernel source from ftp.redhat.com, compiled the kernel and downgraded to it, recompiled ATI display driver, and everything works properly and fast as before upgrading. I can remember that ULN site used to have all kernel versions prior to actual one and cannot understand why Oracle dropped this practice. As I have an ULN account, I certainly want to have OEL patched kernel.
My question is: does anybody know how and where I can download the previous OEL kernel-2.6.18-194.11.3.0.1.el5.x86_64 binary rpm files or at least source rpm file?
Maybe Sergio or Tommy can help?
Thanks in advance.
NJI have experienced the same with Ubuntu some years ago - specific feature (hack?) that was implemented in the kernel was deprecated. This was used by the display driver for an onboard Intel graphics chipset. Beryl (which was subsequently merged with Compiz) turned into a horribly slow experience. As far as I recall, a subsequent kernel patch "fixed" things as a number of users were affected, of which many complained very loudly.
Anyway, I think the lesson here is that OEL is not really the correct distro to use for a desktop. A broken ATI driver for the OEL kernel? Does not really feature in the scheme of things for OEL support. Oracle Grid/RAC/Enterprise/Standard Edition do not care. Oracle's application servers (Apache, Weblogic, etc) do not care. Etc.
Sure, GUI desktop access to an OEL server is needed (like when running dbca or an installer) - but that can easily and effectively be done using vncserver for example and running twm.
You may be able to fix/work-around the problem with the current kernel update.. you may be able to roll back the update. But what about the next time when some other component does not work after a patch or an update? Surely it is a lot less stressful and frustrating to rather use a desktop distro, like Ubuntu, instead?
Maybe you are looking for
-
How do I get rid of the badge app icon on my macbook desktop calendar app?
This icon won't go away and I don't know how to get rid of it in any of the calendar's settings, system preferences etc. Please help!
-
Hi there could someone out there please help i've got a Iphone 4 running on IOS 5 and it will not come out of recovery mode> It comes up with the error code -1 which i've looked everywhere on the web but no one seams to have the same issue. This is a
-
URGENT - Change color for a set of rows in JTable
Hello all, How can i set color for a particular set of row which are all having same values in a cell. If any other rows contains same value that should also be in different color. Example: I have 10 rows containing itemcode and taxes in JTable. 1st,
-
Need help finding 10.2 desk top flash player
only one that i can find currently is trying to install to my web browser but i need the one that can launch swf files from my desk top
-
Inner Join with Negative Condition
Hi Gurus, I have to select data from two table and I have to exclude some records based on user selection I am slecting data fromm MARC and MVKE and I have provided two select option for MTPOS from MVKE and EKGRP from MARC Exclude the entries where