OpenSUSE Hardware :: Build / Make Custom Driver Into Kernel?

Mar 29, 2009

I'm new to linux and recently installed openSUSE 11.1 on my Lenovo Thinkpad SL500. So far it's great... only problem is the hotkeys and brightness control don't work. Digging around online I found this "experimental" driver that purportedly works fine, but I have no idea how to compile, install, or otherwise use it. Here... tetromino's lenovo-sl-laptop at master - GitHub I'm not sure what to do with the makefile and C file provided. For example, what do I do with this instruction...

"To enable the brightness control, load the module with the "control_backlight=1" module parameter (i.e. insmod lenovo-sl-laptop.ko control_backlight=1 )" I know someone on here will be able to explain how to do this in a "computer engineering for chemists" language! I'm comfortable enough working in the terminal with commands, but have found no real straightforward explanation of how to do so (only "programming" experience is MATLAB m file writing).

View 9 Replies


ADVERTISEMENT

OpenSUSE :: Build And Install Custom Kernel?

Jul 4, 2009

When I build the kernel 2.6.30 source, the rpm package is very big and needed or root filesystem 800-900 Mb. I use "make rpm" as described in Configure, Build and Install a Custom Linux Kernel - openSUSE.

View 7 Replies View Related

CentOS 5 :: Unable To Build Custom Kernel

Mar 18, 2010

I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it:
1. Set Up an RPM Build Environment as its is explained in [URL]
2. Then follow the instructions in [URL]
3. When I try to install the kernel source rpm I get the following error:

[matias@Centos ~]$ rpm -i [URL
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root . . .
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read

View 8 Replies View Related

Debian Configuration :: Slow Custom Kernel Build Amd64

Aug 17, 2011

I used make-kpkg to build the 3.0.0 source debian wheezy on a dual 3.4GHz Xeon/L1-16k/L2-1mb/800Mhz bus with 4GB PC2-3200 ECC ram and Ultra 320 SCSI, using CONCURRENCY_LEVEL=4 (2 hyperthreading cpus=4 cores). The build was slower than molasses in January! Top reported cpu usage total between 10% and 25%. Why won't the build use the amount of machine it has available. One footnote: I wasn't using swap space. It literally took over an hour to build the deb kernel package.

My notebook from 2003 is at least three times faster building the 3.0.0 debian kernel source. Is it possible that this might cause improvement: make -j4 KDEB_PKGVERSION=version deb-pkg

over

CONCURRENCY_LEVEL=4 make-kpkg --initrd --revision=123x kernel_image?

Could amd64 vs. i386 have some influence? Could the small processor caches on the XEON cpus have an effect. The 64-bit machine absolutely flies doing everything else. I'm miffed! I've used debian since woody, although I am not an expert, but I'm no slouch!

View 1 Replies View Related

Server :: Mounting Ext3 File System As Ext2 On Slackware With Custom Build Kernel?

May 16, 2010

I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.

View 2 Replies View Related

General :: How To Make Live CD With Custom Kernel

Jan 16, 2010

I am using uuntu 8.04 and I am trying to make live cd with running kernel. I know that there is documentation in ubuntu website in "how to make live cd" but the thing is this is my custom kernel. I have my own configuration. So I want this kernel to be work in live cd.

View 6 Replies View Related

Ubuntu Installation :: How To Make Live Cd With Custom Kernel

Jan 16, 2010

I am using ubuntu 8.04 and i am trying to make iso image cd with running kernel. i know that there is documentation in ubuntu website in"how to make live cd" but the thing is this is my custom kernel. i have my own configuration. so i want this kernel to be work in live cd.

View 1 Replies View Related

Ubuntu Installation :: Make Custom Kernel With Localmodinfo

Jul 14, 2011

What are the best ways to make the kernel using git, and localmodinfo. and optimizing the kernel the best way on a laptop I have, which is a desktop laptop, so it is never really unplugged. Has a core 2 duo 2.53Ghz, 4GB DDR3 RAM, and an ATI HD 3870 GPU.so what things other than the obvious core 2 cpu type when making the kernel. It's on Ubuntu 11.04 64 bit. I also want to create it with the local mod info. and Also create this into a .deb package so it may be saved.

View 3 Replies View Related

General :: Build Kernel With 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Using Ltib

Apr 29, 2010

I use ltib for mpc8272ads. How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'?

View 3 Replies View Related

Fedora :: Akmods Fails To Build VirtualBox-OSE Driver For Kernel 2.6.40-4

Aug 2, 2011

I had no problems up to the newest kernel version. But for 2.6.40-4 akmods fails to build the kmod with the following error:

Code:
Building RPM using the command '/usr/bin/akmodsbuild --target x86_64 --kernels 2.6.40-4.fc15.x86_64 /usr/src/akmods/VirtualBox-OSE-kmod.latest'
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-4.fc15.x86_64/vboxnetflt/vboxnetflt.mod.o
LD [M] /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-
[Code]...

View 13 Replies View Related

Debian Configuration :: Change The Driver File And Compile Custom Kernel

May 3, 2011

When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:

1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb

Is this way OK or do I miss something?

View 14 Replies View Related

Debian Configuration :: Apply Driver Diff Patch Into A Custom Kernel

May 21, 2011

I' d like to apply this patch into my squeeze: [URL] Can someone pls explain howto apply driver diff patch into a custom kernel?

View 9 Replies View Related

General :: Build Kernel With 'make CONFIG_DEBUG_SECTION_MISMATCH=y' In Ltib For Mpc8272ad

Apr 29, 2010

how to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y' I use ltib for mpc8272ads

View 1 Replies View Related

Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies View Related

Ubuntu :: Make-kpkg Strange Vanilla Kernel Build Errors: Found 60 Section Mismatch(es) ?

Apr 30, 2011

I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here:
https:[url]....e.g.:

Code:
make oldconfig CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

I'm getting the following build errors:

Code:
Building modules, stage 2.
MODPOST 3053 modules
WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/aesni-intel.mod.o[code]....

There is even much more error output but it looks like it is basically the same issue.

View 2 Replies View Related

OpenSUSE Install :: Custom Build From Suse Studio|missing "initrd-2.6.34.7-0.5-default" File?

Dec 2, 2010

If you can access Suse Studio here is thlink to the buildLFS Host - SUSE GalleryGoogle hasn't been friendly and neither has a search on these forums, I don't know which man to read so a finger in the right dirrection (preferably not the middle) would be nice as far as that goesRight now the yast live installer trips up at %84 while saving the boot loader configuration and displays a popup that says �An error occurred during initrd creation. /sbin/mkinitrd: illegal optionI then press enter to acknowledge the message and the installation continues without a hitch.

When I go to boot up (no other os installed) grub says it cant find the file initrd-2.6.34.7-0.5-defaultIf you boot the live cd again you can mount the boot partition and you�ll find a broken symlink called initrd that islooking for the missing file above.Like I said above, if it an obvious fix, all I need is some direction, I don't mind reading. (been doing that all day)If you need more specifics Id be happy to supply, I'm just not sure whats relevant and don't want to bloat the post.

View 1 Replies View Related

OpenSUSE Hardware :: How To Build Rpm From Nvidia Source Driver

Apr 14, 2010

When we expect a new rpm from current 195.36.15 nvidia driver? And if it is possible someone to get my a link to this rpm,build for my. like step by step "How to build rpm from nvidia source driver.All this is because i don`t like to install after every update!

View 1 Replies View Related

General :: OpenSuse: Build Is Installed But Not Recognized By Make?

Jul 3, 2010

I was trying to follow instructions in [URL]

There is a reference to build in my kernel (with red background), se below:

linux-om4s:/lib/modules/2.6.31.5-0.1-default # ls
build modules.alias modules.alias.temp modules.builtin.bin modules.dep.bin modules.symbols source updates
kernel modules.alias.bin modules.builtin modules.dep

[Code]....

Both make and build have been properly installed in Software Manager.

View 6 Replies View Related

OpenSUSE Install :: Installation From USB Stick With Custom Kernel

Feb 10, 2010

i need to install openSUSE 11.2 from an USB stick. I followed this article SuSE install from USB drive - openSUSE using the openSUSE-11.2-NET-i586.iso. Unfortunately the kernel provided in this image doesn't load on my target as it needs a few extra modules for its chipset.

Thus i copied our custom kernel (which is verified to run on the target) and its initrd to the usb stick and i also created a new entry in the syslinux.config. The kernel loads, but then it can't find the root device.Does anybody know, how i need to configure the initrd to make the USB stick the root device?

View 2 Replies View Related

OpenSUSE :: Make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory

Feb 17, 2010

I'm attempting to install a WLAN card driver from source, as that's all that's available.I'm getting:

make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory

Build appears to be a link pointing to "/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop"."linux-2.6.31.5-0.1-obj" doesn't exist.

View 4 Replies View Related

OpenSUSE Hardware :: Can't Build Fglrx Module In Kernel 2.6.36

Nov 7, 2010

That's it guys. I have successfully installed the proprietary ati drivers in past 6.34 and 6.35 kernels but not in latest .6.36. I'm wondering if this have something to do with compatibility or not.

Installation log shows me some errors I can't recognize:

Code:

View 9 Replies View Related

OpenSUSE :: Error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory?

Oct 6, 2010

I've downloaded a linux driver for my wireless card (Realtek 8191SE), and whenever I try to make it it gives me the following error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2I have installed make, pattern devel_basis devel_C_C++, kernel-source, linux-kernel-headers, gcc43, etc.I also tried linking them:# ln -s /usr/src/kernel-headers-2.6.31.5-0.1-desktop /lib/modules/2.6.31.5-0.1-desktop/buildln: creating symbolic link `./build': File existslinux-ynct:/lib/modules # ls2.6.31.14-0.1-debug 2.6.31.14-0.1-desktop 2.6.31.5-0.1-desktop2.6.31.14-0.1-default 2.6.31.14-0.1-xen

View 9 Replies View Related

OpenSUSE Hardware :: 11.4 Studio Build Service - Kernel Firmware

May 10, 2011

I'm in the process of making my own build using SUSE Studio build service. I was hoping if someone would kindly tell me about kernel-firmware, what it does and if it is absolutely necessary because I noticed that it is not selected for you by default. Any other useful firmware that I may need. I have already included the b43-firmware, ar9170-firmware, bluez-firmware, and ivtv-firmware in my build based on openSUSE 11.4.

View 4 Replies View Related

Debian :: Custom Build Of PHP?

Nov 16, 2010

I followed The Perfect Server - Debian Lenny on howtoforge website. (Just changed some instructions to fit Sqeeze) * I did not install Control Panel, just software like LAMPP & Mail Servers - SMTP(SSL+AUTH) + POP(SSL) + IMAP(SSL).When I installed PHP it installed it with Suhosin Patch, but that patch was giving me a headache with some web scripts that I write for myself. So I decided to compile it for myself. Here is how I done it:

apt-get install build-essential
apt-get build-dep php5 (It installed about hundred packages)
apt-get source php5

[code]....

View 6 Replies View Related

OpenSUSE Hardware :: Unable To Build Kernel Module For NVidia On A Fresh 11.4 Installation?

Mar 13, 2011

I'm trying to install the nVidia driver for a fresh Installation of OpenSUSE 11.4 (32-bit) but I'm running into some issues. I followed the instructions (SDB:NVIDIA the hard way - openSUSE) using the driver binary mentioned in the workaround link (NVIDIA DRIVERS 256.53 Certified) but the installer fails while building the kernel module with the following errors:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Mar 13 17:32:56 2011

[code]....

View 7 Replies View Related

Fedora :: Download Correctly Kernel Source To Enable Driver Make Operation To Proceed?

Dec 20, 2010

I have done a new install of Fedora 14 but the RTL8191 wirless card is not being recognised. Realtek have provided the driver source but the make operation is failing because (I think) Fedora 14 isn't provided with the kernel source to enable it to complete successfully.

Basically (in easy to understand steps): how do I download correctly the Kernel source to enable the driver make operation to proceed?

View 14 Replies View Related

Fedora Installation :: Mkinitrd Can Make Initrd Image With All Hdd Driver - Config To Everytime Update Kernel?

Jul 16, 2009

I install fedora on my usb-hdd. Sometimes i boot it from real machine, sometimes i boot from virtual machine (kvm). When I boot from real machine, hdd driver is usb-storage, when i boot from virtual machine hdd drivers are ata_generic and pata_acpi.

Everytime i update kernel, mkinitrd only create initrd image contains only hdd driver current running, and I must recreate initrd manual with all preload hdd driver. How to config fedora to everytime update kernel, mkinitrd can make initrd image with all hdd driver I need?

View 2 Replies View Related

Software :: Build A Custom Distro For System Maintenence?

Apr 19, 2011

scanning them with Avast! and Malwarebytes Anti-Malware or by running registry cleaners like Ccleaner.However, I think it would be cool to have a Live system that I could boot from my flashdrive that I could have programs installed to do all this with.It would be cool if I could use Puppy Linux, since it loads and runs from RAM, which gives a huge speed boost when compared to running a live version of a distro like Ubuntu, but I don't really know my way around Puppy, or how to make my own "pupplet". Also, from what I could tell, Puppy Linux didn't have a package manager like Pacman or Aptitude.Here's a list of programs I would like to have a Linux alternative to use:-Avast! Anti-virus-Ccleaner (registry cleaner)-Malwarebytes Anti-Malware/Superantispyware (malware/spyware cleaner)-Perhaps also a Defrag program like Defraggle

View 1 Replies View Related

CentOS 5 :: Can't Install Any Rpms From Custom Appliance Build

Jun 15, 2011

We have an appliance with image being installed from CD/DVD installation
This appliance image is based on CentOS 4.7 kernel/installer/etc. Everything works fine, we ship this product for about 2 years. Recently I had to move it (port everything) to CentOS 5.5 Everything went fine and it works fine except one minor thing )) We can't install it from CD/DVD image yet. Actually it start fine, finds kickstart file, creates partitions correctly, copies install image to harddrive, but fails the next step when it tries to install RPM's

The message we get:

Quote:
the file termcap-5.5-1.20060701.1.noarch.rpm cannot be opened. This is due to a missing file, a corrupt package or corrupt media. Please verify your installation source. If you exit your system will be left in an inconsistent state that will likely require re-installation"

View 2 Replies View Related

Ubuntu :: Reinstalling Lucid - Build Custom Install Disc?

Jul 3, 2010

After troubleshooting the lockup problem on my installation of Lucid, I want to wipe the thing and reinstall. I have an integrated Broadcom wireless chipset that I want to integrate the firmware into the new Lucid install disc, along with Nvidia's 180.06 drivers for my GeForce4 440 Go (yes, it's an old machine). I need to build this from XP though, since my current Lucid install is to the point of unusable.

Is there any good way to do that? With XP builds you can use nLite to slipstream just about anything into a clean XP install, including all available hotfixes, extra drivers and a few applications. Is there a similar program for building Ubuntu installs that can do that as well? Also, if I download a new ISO of Lucid to build from, will it have all the current updates integrated, or it be up to me to do it? Edit: just realized I posted this under the wrong topic.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved