Debian Configuration :: Kernel Driver Support: Built-in Or Loadable?

Jun 26, 2010

Is there a way to programmatically determine whether a particular driver support is built-in rather than a loadable module? I'd be grateful if somebody would share how. I have written a shell script using the RTC (real time clock). I can check whether the rtc-cmos kernel module exists and load the module accordingly as needed, but I don't know how to determine when the driver is built-in. Of course, if the driver is built-in then the module does not exist.

I seem to recall there is a method to query the kernel config file (/proc/config.gz), through which I probably could grep for the CONFIG_RTC_DRV_CMOS parameter. I also can check whether /proc/driver/rtc exists. If that file exists then either the driver is built-in or the module was loaded.I realize the rtc-cmos driver is built-in with the standard Debian kernel build, but I still would like a way to query where the driver is supported.Is there a straightforward or direct method to query the kernel whether a particular driver is built-in?

View 3 Replies


ADVERTISEMENT

Debian Configuration :: NVidia Driver Fails With Built Kernel?

Jul 30, 2011

I've posted here before (viewtopic.php?f=5&t=66322) about problems arising from my attempts to get an nVidia driver to work with my custom kernel. Now those problems are all fixed, and I'm back to where I was: the built kernel boots fine, but the nVidia driver fails.

The custom kernel is as near to the stock one as I can make it, I'm just trying to find a working build process at present, before trying to build a later-version kernel.

I used sgfxi with "-! 40" to build the nVidia driver for my custom kernel; it reported that everything was fine.

With stock kernel - 2.6.32-5-amd64 ...

Extracts from /var/log/Xorg.0.log:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
code....

View 6 Replies View Related

Debian Configuration :: Building A Loadable Kernel Module?

Jul 30, 2010

I upgraded my kernel in my Debian Lenny to version 2.6.32-bpo.4-amd64 to fix a problem with a software and ALSA-related issues. The thing is that now, when I boot, eth1 is not enabled and I have to "load" (I guess) the driver each time. To do this, I go to the folder where all the files for the drivers are and I run:

modprobe lib80211
and then
insmod wl.ko

That I got from the readme file. That gets the wireless working perfectly again, but when I reboot the wireless is dead again and I have to run the commands above again. I imagine that what I should do is to build the driver again, for my new kernel. However, according to the readme file, before I need to install linux-headers-generic and build-essential. With build-essential, it says it's already the newest version, and with the linux-headers, I don't know which one should I install for my kernel! I thought it would be the linux-headers-2.6.32-bpo.4-xen-amd64, but when I tried that, this is what happened:

debian:/home/hernan/Programas/hybrid_wl# apt-get install linux-headers-2.6.32-bpo.4-xen-amd64
Reading package lists... Done
Building dependency tree       

[code]....

So the warning says something about the MODULE_LICENSE being missing... how to build the driver again to make it load each time I boot?

View 3 Replies View Related

Debian Configuration :: Nvidia-kernel-source Was Not Built Successfully

Apr 26, 2011

Squeeze-beta was my first foray into Debian, and I love it. I changed my setup to a rolling setup with testing (Wheezy), and have done that for several months. Lately, I got a new kernel, but it reboots to a terminal rather than GUI (I'm a simple laptop user). I think it's because of the NVIDIA drivers, and here is what I've tried (meanwhile, I'm using the previous kernel):

# apt-get install module-assistant nvidia-kernel-common
# m-a auto-install nvidia-kernel${VERSION}-source
A blue screen appears that says:

module-assistant error message Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.

You can try:

module-assistant prepare
or
apt-get install linux-headers-2.6.38-2-amd64

I have done both, rebooted, and I still get the blue screen. I also see this message:

nvidia-kernel-source was not built successfully, see:

/var/cache/modass/nvidia-kernel-source*buildlog*

...and I have copy/pasted the file below (which omits lines 101-200 because this message is too long then):

/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
test -f debian/control || cp debian/control.template debian/control

[code]....

View 1 Replies View Related

Debian :: How To Install Iptables-persistent As Loadable Kernel Module

Nov 10, 2015

I'm working on my iptables rules on a debian 8 vps and I tried to install iptables-persistent but I was told "Unable to locate package"...

Where can I get this so that I may save my rules for reboot?

View 5 Replies View Related

Debian Configuration :: How To Add Support To Kernel For Xhci Usb3 Drivers

Aug 29, 2015

I'm done following this guide about Kernel Building. [URL] .... and I got done successfully, the .config file was the very default obtained from "make menuconfig" the only extra thing added was:

Code: Select allCONFIG_USB_EHCI_HCD_ORION=y

All dependencies had to be installed about 2GBs for kernel building to function properly, mainly due to the needing of kernel headers. It loads successfully on my desktop whether or not it needs that module (if it was added correctly) but my goal was to add xhci support so it will load from my laptop, still won't load from the laptop giving me a initramfs prompt. Adding that code line to the .config file didn't seem to do what I wanted.

Although since I did a "make-kpkg clean" command as requested by the manual I dont know if it used that line or not to be honest. since I think it deleted the .config file in its efforts to clean old configs so I don't know I'm new to kernel building.

View 6 Replies View Related

Server :: Driver Support - QME2572 - Qlogic - Card Became Support By The Kernel

Jul 10, 2011

I'm trying to find out when QME2572 (Qlogic) card became support by the kernel. We have a RHEL 5.1 system that is moving to new hardware, however the kernel at this release doesn't support the new hardware, due to the Qlogic card change. I tired the Redhat KB and Bugzilla. Is there a Kernel change list etc I can search. Never really played around with the kernel too much so I'm just after some pointers for looking up this information. Offically its not supported until Redhat 5.3, I'm trying trying to research kernel info so I can tell the customer they have to upgrade.

View 3 Replies View Related

Slackware :: BigDesktop ATI AGP WITHOUT Driver (just Kernel Mod Built In)

Jan 23, 2010

I read over the X11 acceleration in this forum but I'm not having issues with acceleration - running slackware 13 with built in ATI AGP stuff in kernel. Glxgears is putting out what I would expect for a 9600 pro (2500 FPS in the little window). I haven't needed you guys for a very long time but I just formatted Ubuntu (was getting on my nerves) and installed slack 12 on my hp netbook and 13 on my old desktop without a hitch - except this

I NEED BIG DESKTOP! I've searched, I've read, I've wondered! What's the normal setup in xorg.conf for bigdesktop WITHOUT the ATI driver (I ran the driver after building a custom kernel and the installer crashed with "Error: ./default_policy.sh does not support version" - I think I should of renamed my kernel path and setup differently or something)? Is BigDesktop ONLY supported with the driver? I know now that the driver wont work for my system - How do I enable bigdesktop with the open source driver I built in?

View 1 Replies View Related

Debian Configuration :: Getting The Xen Kernel And NVIDIA Binary Driver?

May 10, 2011

I'm encountering a problem running X and Gnome from a Xen-enabled Kernel with NVIDIA Binary driver compiled with IGNORE_XEN_PRESENCE=y on debian squeeze

Hardware:
NVIDIA NVS 5100M
Kernel:
Debian Squeeze : 2.6.32-5-xen-amd64
NVIDIA Kernel from the official package

Boot and module loading are successful, but when X starts, I only get a black screen. I attached here my Xorg.0.log, however it doesn't seems to have any problem.

View 5 Replies View Related

Debian Configuration :: Install Wireless Driver Not Included With Kernel?

Jun 16, 2011

I'm running Debian wheezy on a Toshiba NB505 and I've noticed that the wireless connectivity can be painfully slow at times. I know it's not our home network because my desktop flies (running Windows).Currently, I have the driver from this guide installed. I went to Realtek's site to download the latest driver for this wireless card (RTL8188CE, the Linux/UNIX version) thinking maybe this more up-to-date driver would operate better than the one used in the guide above.Is there a possible way to install this driver, or should I just stick with the current driver I'm using from the guide above?

View 11 Replies View Related

Debian Configuration :: New Kernel And Headers Not Allowing NVidia Driver To Install

May 19, 2010

I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?

View 14 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

Ubuntu Multimedia :: Recompile Of Loadable Video Driver?

Jun 27, 2010

I have just installed UBUNTU 10.0.4 (32 bit Generic) on a Compaq CQ50 -AMD Athlon 64 X2 1.9GHZ . The install went flalessly, and everything simply worked out of the box. I also Installed the NVIDIA Propriatery graphics driver, and it worked OK. The box has an NVIDIA GeForce 8200M G. When I did a "free" I discovered that UBUBTU was not using all available RAM. After a bit of research I found that to fix this, I needed to change the kernel to a PAE enabled one. I installed 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23.On reboot the system complained bitterly that it could not start X. With log entry:

I) Loading /usr/lib/xorg/extra-modules/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.0 Module class: X.Org Video Driver (EE) NVIDIA: Failed to load the NVIDIA

[code]....

So, I selected to boot with the "generic" driver and all was well. I then issued-- nvidia-xconfig command and rebooted again. Same problem, this time I selected to go to shell and did a reboot, thinking that the driver needed to be recompiled for the new kernel, but I got the same result.I believe I am loading an NVIDIA driver into a PAE kernel which is compiled for the non-PAE kernel.I tried to de-Install/Re-Install the propriatery driver while running under the PAE kernel, but the driver still fails to load.

View 1 Replies View Related

Debian :: Where To Get Version 5 With Kernel 2.6.34 Built-in

May 25, 2010

I got last night debian 5 stable, but it has an older version of kernel, I think 2.6.26, which doesn't have my network card drivers. I tried to install myself the kernel, but I a newbie in linux, so something failed and I give up until next time. Is this version: [URL] a safer one for a desktop computer, daily usage? How to I know it has the latest kernel?

View 3 Replies View Related

Debian Configuration :: Built In Bluetooth Adapter Doesn't Find Devices

Oct 12, 2015

I've followed the guide at URL.... but my computer is unable to find any Bluetooth devices. Whether I'm using the command line or gnome-bluetooth, I don't get any results. If I plug in a cheap USB adapter, I'm able to connect and use the devices.My computer is a HP ProBook 4330s running Debian Jessie. And as far as I can tell the Bluetooth adapter is a Ralink rt3592 combination Wi-Fi and Bluetooth PCI card. The Wi-Fi works fine, but when i try to connect to a Bluetooth device, I get no search results.

View 9 Replies View Related

Debian Configuration :: File Access Logs - Functionality Like Already Built Into Samba?

Sep 7, 2010

wants some sort of logging capability on the system. to have a log of every change to every file, although that might be a bit unwieldy. perhaps a simpler compromise would be some way of monitoring a few specific folders, and tracking all changes to them, including the user that did so. Particularly important is that it should be possible to work with access through samba, as we want to track what users on the network are creating or changing files. Is there functionality like this already built into debian or samba? is there a useful additional app to gather this information? or am I going to need to be grep'ing log files to present something useable?

View 2 Replies View Related

OpenSUSE Hardware :: 3D Support With Radeon UMS Driver + Kernel 2.6.34rc5 + X Server 1.8?

Apr 26, 2010

This is just to report that I've got 3D support successfully enabled on my Mobility Radeon HD3200 chip with the open source driver on openSUSE 11.2. I did this to replace the proprietary fglrx driver that has already been installed for quite some time on my system.

Uninstalled fglrx, and here we go... Basically what I did was to get the latest X.Org server (1.8) and Mesa from Index of /repositories/X11:/XOrg/openSUSE_11.2 I changed all the corresponding system packages to the versions in that repository. I noticed that I cannot get any 3D support when pairing the last X server with the updated openSUSE 11.2 kernel (2.6.31.12_0.2). With RadeonHD driver it gives me no acceleration at all (No DRI), perhaps it is still intentionally disabled to prevent lockups in r600 cards. With Radeon KDE wouldn't start.

So to get usable driver support I have to update the stock kernel to the one in Index of /repositories/Kernel:/HEAD/openSUSE_11.2 I installed the 2.6.34-rc5-22 kernel and reboot. Immediately I notice that KMS is working, but I could not get DRI to work, presumably caused by the drm being unable to locate two related firmware files (it is there in the kernel, just doesn't know why it is not being loaded). Other than that I do not know why I can't get any acceleration with KMS on. To workaround I passed the 'nomodeset' parameter to the kernel to run in UMS mode instead, and voila! with UMS 2D + 3D accelerations are working. I can enable kwin effects just fine.

Since this is a laptop I need suspend & resume and power management working. Good news is s2ram works perfectly with extra parameter. And all the new Radeon power management options: DynamicPM, ClockGating and ForceLowPowerMode can be enabled just fine! (For UMS you need to generate a xorg.conf and put those options in)Performance is good. So far it's faster than fglrx in some areas and slower in some other area. Now this is truly amazing!

View 9 Replies View Related

General :: "KVM ... Consists Of A Loadable Kernel Module, Kvm.ko That Provides The Core Virtualization Infrastructure"

Feb 27, 2011

At linux-kvm.org it is stated: "KVM ... consists of a loadable kernel module, kvm.ko that provides the core virtualization infrastructure" and yet there's no mention of Xen, which runs as the hypervisor with KVM. The site seems to be implying the module is the hypervisor. My question to you is: What is the relationship between KVM and Xen on a server that is "running KVM"?

View 2 Replies View Related

Debian Installation :: Kernel Liquorix And Nvidia Driver / Error Doesn't Found The Kernel Source Tree?

Oct 1, 2010

I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.

I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.

View 1 Replies View Related

OpenSUSE :: FreeTDS And PHP With MSSQL Support Built In?

Aug 16, 2009

Can we get this built into the distribution? This would really set it apart from other distributions that don't have this included. And it would most likely make a lot of PHP developer lives a bit easier.

View 7 Replies View Related

Debian Configuration :: Is It 64bit Kernel Or 32bit Kernel Optimized For Amd64 Architecture?

Jan 24, 2010

I recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?

View 12 Replies View Related

Debian Configuration :: Update My Kernel From 2.6.32 To 2.6.38 - Error - Unable To Boot Into The Kernel

May 13, 2011

I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".

View 1 Replies View Related

Debian :: Version Of OpenGL Does Radeon Driver Support?

Jun 4, 2011

I have the HD4850 and, I wanted to know if it is possible to use the CLI to see which version of OpenGL is the latest version I can use according to my driver. If it's not possible via the CLI then, what's the next best way? (I can't find a website for the radeon driver listing the latest OpenGL support per supported card).

View 6 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.

View 2 Replies View Related

CentOS 5 Hardware :: Built In Support For Agere Et131x?

Apr 27, 2009

We're planning on getting computers with built-in Agere et131x NICs, and were wondering if these would be automatically detected/installed upon installing CentOS 5.3 ?

View 4 Replies View Related

Debian Configuration :: Postfix Bad IP Syntax Support

Apr 23, 2016

I have currently configured Postfix as an SMTP server. I would preferably not use a domain name in my email address, like so: myname@[1.2.3.4]

I'm currently testing to see how other mail servers handle this kind of address. When I sent a mail with one one of my gmail accounts, I see that the mail gets rejected due to bad syntax.

It seems as though Google is giving me a RCPT TO address like so: myname@1.2.3.4 However, the postfix server rejects this address with the following error:

501 5.1.3 Bad recipient address syntax

To my best knowledge the only way to have an IP address inside an email address with to write it as a domain literal [1.2.3.4].

My question: how to configure postfix to accept myname@1.2.3.4 as well?

I have put both [1.2.3.4] and 1.2.3.4 in "mydestination" and 1.2.3.4 in "virtual_alias_domains".

It doesn't seem to work so far though.

View 1 Replies View Related

Debian Configuration :: Configure USB Support In Live

Feb 4, 2011

I've created Live Debian USB image and it works well, but if I put an additional USB stick, then it's just read only. Howto configure Live Debian before rebuild an image to get fully USB support, i mean to write into other USB drives?

View 4 Replies View Related

Debian Configuration :: Squeeze: GPT Support In Grub2?

Feb 14, 2011

I have just upgraded from Lenny to Squeeze, and followed the D-I recommendation to upgrade to Grub2. However, the server will no longer boot - giving a 'missing operating system' error, so it's not getting very far in the boot loader process. I have read, in various location that Grub2 supports GPT, but my efforts to fix the situation have met with little success.

I have managed to boot the system using SuperGrub2 (recovery live cd) and can start up successfully from there. However, when I try to fix the grub installation using the Debian wiki recommendation, I'm met with:

<host>:/# grub-install /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.

[code]....

The attached disk is 4.5TB of RAID 5 disk behind an Adaptec 5405 if that's useful.

View 9 Replies View Related

Debian Configuration :: Squeeze D-u - Kernel Configuration Skipped

Jul 6, 2010

I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.

I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.

I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.

So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.

However, just in case someone else runs into this:

1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.

2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)

View 14 Replies View Related







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