Debian Configuration :: Automatic .config Generator For Kernel 2.6.33.4?
May 16, 2010
I'm recompiling my kernel on a dell latitude c600 running lenny as I type, and it's taking forever, so far upward of 4 hours.I think I'm getting drivers for ever piece of computing hardware since the univac So I googled "a kernel conf creator" and got [URL]... Its a nice, clean method for finding what hardware your using... you just run lspci cpuinfo make xconfig and put in all the info yourself. So I was thinking: this is exactly the kind of dull, repetitive behavior that computers were made for. Is there a program that can find my hardware info, and make the.config itself, with very little user input?Or should I reinstall debian on another partition and steal the .config from it? Or should I man it up and do it myself?
After an automatic update from Debian I get the following error while starting a root terminal: An error occurred while loading or saving configuration information for gnome-terminal. Some of your configuration settings may not work properly. Failed to contact configuration server: the most common cause is a missing or misconfigured D-bus session bus daemon.
I've just installed debian sid and see that I've the kernel 2.6.32. I was a bit surprise as on ubuntu I had the 2.6.35 and debian sid is supposed to be more up to date that ubuntu (maybe I'm wrong).So I checked what were the packages available :
mart@mart-laptop:~$ uname -a Linux mart-laptop 2.6.32-5-686-bigmem #1 SMP Sat Oct 30 23:25:58 UTC 2010 i686 GNU/Linux mart@mart-laptop:~$ sudo aptitude search ^linux-image
Can I use the config for my current kernel (the jessie 3.16 one), and use it to build a more recent kernel (3.18)? Do I just copy across the config and try and build with it, or is there some tool that will bring across the existing config but also set up reasonable defaults for any new options in the newer kernel, and any other migrations that might need to be applied?
I am using Ubuntu 10.04 with Amarok 2.3.1 and I am having some problems with the Automatic Playlist Generator. I have not found my solution on these forums and I have searched google, and I am fairly new to using Amarok 2.
Every time I use the Automatic Playlist Generator, only 30 tracks are introduced into the playlist. Why is this? I don't want a limit to the amount of tracks which are selected.
As a follow-on to something Telemachos said in another post:
Quote:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
Code:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
Code:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Code:
Also, the linux-headers packages I have installed are:
Code:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
Code:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?
I accidentally deleted my .config for my kernel configuration on Linux, and seem to remember there was a way to retrieve the kernel configuration via the proc filesystem somehow. Is this still possible, and if so how would I do it?
After a kernel update, the system always updates the GRUB menu, and the newer kernel is the default boot option.However, after an update on my F13 X64 system, the GRUB menu was updated, the config file still sets the default to "1" but if i left the automatic boot it will boot the previous kernel... am I crazy or missing something here?Here is my /boot/grub/grub.conf file:
When I try to run programs from root terminal I get the error
Code: Select allQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. No protocol specified kate: cannot connect to X server :0
I found a solution: I do Code: Select allxhost SI:localuser:root
but I have to do it after each reboot. I tried to put this command in rc.local but it did'nt work. How to do this auto?
I have configured a RaLink wireless card to connecto to an 802.1x network. I connect by selecting the network, and the i give the credentials(username/password). How do i configure Debian to automatically connect to this network when a session begins?
How can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686
I have just installed Debian Weezy and for some reason it just does not see my router.1) is there a good network config script I can use?if not then what files must be edited to setup the network?When I attempt to ping the router, it does not see it. I have checked the cables etc.
I am having trouble using touch pad in jessie. My touch pad was ok when it's in wheezy but after i updated to jessie, i can't really get used to it.
I don't know whether i setting it up wrongly, sometimes, my touchpad will keep dragging, without releasing. And if I click the bottom right of the touch pad, it's not right click; instead i have to use two fingers.
etc. So how can i change to back to a more traditional usage? Also, do jessie have a setting like ubuntu saying disable touch pad while typing?
I'm trying to set up my Intel Wireless 3945ABG (which is supported in the kernel) and I don't understand where to start if I want to use systemd to do this.
I've installed my Debian (Stretch Alpha4) base system using the wireless to download the necessary components but when I boot into the system I need to set up the wireless card separately.
I would prefer to be able to install wireless without the requirement of connecting via ethernet so no package installs other than what is downloaded by the installer.
I can't even find documentation on this specific issue because everyone seems to reference /etc/network/interfaces which AFAIK is not supported in systemd. How do I configure a wireless card using only systemd?
Running natios server in Debian 8? I cannot start nagios3 demon, it got following error:
Error: Check period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere! Error: Notification period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
But if I commented following statement in generic-service_nagios2.cfg, it works just fine.
I installed the Gnome desktop CD1 AMD 64 version of Debian Squeeze. I installed samba and python-smbc. I am missing samba printers in my system-config-printer. Anyone know why? [url]
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?
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".
I know very little about Debian but have an ASUS T100TA tablet which runs fairly well under Debian 8 Jessie (kernel 3.16.0-4-686-pae). I used the following guide successfully to activate the wireless but am having trouble with the audio section of it.URL...
First, I went here and downloaded the file called 'NEW T100_B.state'.URL....
Then I copied it to /var/lib/alsa/asound.state and ran 'alsactl restore' which reported that i had no soundcards.I then downloaded and expanded linux-firmware-master-intel.tar.gz but am not sure what to do with these files. I copied them to /lib/modules/3.16.0-4-686-pae/kernel/drivers/firmware as they are specific for this kernel, but they don't seem to be doing anything and 'alsactl restore' still tells me that I don't have a soundcard. What do I need to do with these files?
I've downloaded configuration files for my VPN, Kovurt, and they don't have a .ovpn file extension. Further, when I tried to enter the information manually (using this guide), I saw that the files only include the <ca> tags, and no <cert>, <key> or <tls-auth> tags.
Here is the content of one of the config files, simply named 'Tokyo' with no extension. (adding .ovpn didn't work either):
Code: Select allclient dev tun proto udp remote 50.31.255.86 443 resolv-retry infinite nobind
[Code] ....
I have an open ticket with Kovurt asking for the other info, but I know already that they don't have much in the way of documentation or support for Linux.
how can i do user2 can't get the file /home/user1/www/wp-config.php by using an editor but the webserver can?i mean how can i disallow access on other user's directorys but allow only one? (www-data in case).
I installed debian 6 (stable) on laptop with dual boot Windows 7 and Debian. when i was installing debian ,every things were ok and installed correctly (such as DHCP configuration) before installing APT package configuration part. error is about mirror zone! i checked it and tested with all mirorrs in list but i couldnt config APT yet.i did installation without APT.after booting debian i have apt-get and aptitude commands but didnt work commands like apt-get update or aptitude install ... or aptitude update .... when i ping an ip , it dosent answer cause of errors .(but i have network connection on windows7 correctly. im using connection wired.
I'm currently dual-booting Squeeze & Windows XP on a machine i use frequently.
In my experience on the desktop, i now see no reason to have Windows XP as a boot option, & wanted to try & avoid a full re-installation of Debian in order to remove XP (merging it's partition with / ).
I have a checklist that i put together, but wanted to be sure this was all correct before going forward.
1. Perform full back-up of all data.
2. Boot into Debian, through GUI -
System Tools > Disk Utility
- Select HDD (80GB Hard Disk) - Select windows partition ( /dev/sda1 ) - Format /dev/sda1 to Ext4 Filsystem
3. Boot Live CD
- Use gParted to extend /dev/sda2 (was 38GB, will extend to 78GB)
4. Remove XP from the boot menu.
( Note: My ~ folder is on the same physical drive as / (same volume), but i actually store all Media on a separate physical drive which is formatted in NTFS. I plan on reinstalling XP using a virtual hard disk, & sharing that with the virtual machine.Here is a screenshot of my Disk Utility - [URL]
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.
I have a Jessie with grub2. I've bought ssd and copied root partition onto it. I've also installed grub on this disc. I would like to have dual boot:
- First option: old root booted from hdd - second option: boot from copied ssd and use root from it.
So i would have two identical but independent configurations.
Both disc has different uids (changed after cloning).
I had a hope that i will change fstab to mount root partition from ssd, but it doesn't work. I need to change grub configuration, but how to add new position?
There is also problem that bios doesn't allow me to choose disc to boot from. So i would rather prefer to change grub configuration for dual boot from different disc.
I run a network with about twenty Debian systems, currently running Etch. I maintain a central passwd and group file, which is regularly copied to each system. This works fairly well, but I have some problems with the system account UIDs and GIDs.
I find different systems often pick different UID and GID values for system accounts like bind, ntp, sshd etc. I think the values chosen at install come from the system UID and GID ranges, and are allocated sequentially, so the values on a system depend on which packages were installed, and the order they were installed in.
Is there any way to specify the UID and GIDs for system accounts at installation time? Are there any other thoughts on how to implement shared passwd and group files (apart from NIS, which I don't want to use)?
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.)