Hardware :: Collecting Information For Use In A Kernel Compile?
May 14, 2010
I would like to gather as much system information I can for my box so I can get a better understanding of what needs to be enabled in the kernel. Other than the lspci, lshw output, and knowledge of certain devices connected, does anyone have any other tips they could present me with? Unfortunately, I don't have access to the machine in interests manuals, and I know next to nothing about hardware.
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
I have a simple scripting question. I am trying to list all files that have been modified in the last day and then collect metadata on those files. This command is going to be run on a number of nodes via ssh so I would like to append the hostname to start of each line (the below example has blade1 as the hostname). As you can see the loop is splitting the ls command out onto a separate line for each value. What I need to do is keep the `ls -ld` output all on one line and have the hostname echoed in front of each line.
for i in `find /var -mtime -1 | xargs ls -ld`; do echo `hostname` $i; done blade1 drwxr-xr-x. blade1 2 blade1 user blade1 group blade1 4096 blade1 Nov blade1 30 blade1 08:55 blade1 /var/cache/gdm/user
I've just started learning how to use kismet and aircrack. I'm sniffing my own network to see how vulnerable it is. I'm using aireplay to inject packets, but the number of packets per second in airodump is only about 30 to 50. Is there something that can speed this up a little more? Shouldn't it be able to go faster than this? It's going to take forever to collect at least 300,000 IVs for a 64 WEP key let alone the amount needed for 128 WEP.
wireless card intel iwl3945. Everything works great except for the extremely slow speed of gathering IVs. Also, how can I monitor my network? If someone was using aircrack on me and sending packets, how could I observe that? What should I Google?
How can I get information similar to proc/net/wireless but for more than just the wireless router I'm connected to. I know there has to be a way because when I'm disconnected from all routers the network manager shows signal strength of all available routers.
I know that I can get information from my running kernel using the uname command.My question is, how can I retrieve the kernel information from the other distros without booting into them?For example, I have Debian installed on /dev/sdd1 with two kernels in /boot. How do I go about getting the information from these kernels similar to what uname gives?
To run my other linux distros on another drive I have been manually entering the kernel and initrid info for each distro on the opensuse yast boot loader. For windows 7 it just runs the mbr on the drive windows 7 is on. However I can not get it to do that on the other linux drive. The problem for me is that on every kernel upgrade I have to manually change the info. I would rather have grub on the sdd linux disk take care of it on the upgrades. The drive that holds the other linux versions is sdd. Opensuse is on sdc.
Trying to compile the 2.6.36.2 kernel. Its not the first kernel I've compiled, but I've run into a problem I've not come accross before.
While compiling I get this error.
[Code]....
Looks like the headers sys/eventfd.h and linux/virtio_rng.h haven't been selected in my .config file. I just copied my old config from the last kernel I built. This was a while ago (2.6.30), but I thought I'd give it a go anyway.
what config option they are under or what I can do to get rid of this error?
Has anyone successfully compiled Symantec AV Autoprotect against the current Ubuntu Kernel?
I am using the kernel 2.6.24-27-generic. I'm following these instructions for Symantec Autoprotect: http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2009081214270148
and when I run the "build.sh" I receive the error message code...
Is there another option or really what am I doing wrong?
I'm using xubuntu 10.10 on usb, and i compile a new kernel but just i cannot access it. If I used harddisk instead of usb, simply, i can select my new kernel version in grub screen. However, there is no grub when booting from usb. So i cannot any selection.how can i reach the new kernel, when using xubuntu on usb?
I am new to Linux Kernel. I want to disable branch prediction in kernel and recompile for my research purpose. Can anyone point me to clear instructions on where i can find the kernel config file in ubuntu and steps to recompile the updated kernel
Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below
[root@localhost linux-2.6.36.1]# make menuconfig [root@localhost linux-2.6.36.1]# make [root@localhost linux-2.6.36.1]# make modules
I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?
I'm looking for a good kernel guide for practical tips on how to compile my kernel for better speed. At the moment I'm using genkernel under gentoo and just taking the default options (with a splash). This compiles for ages and takes a good while to load.The kind of things I'm looking for are advice on:Removing modules from the kernel that are not loaded during normal use.Core components which can (and should) be loaded as non-modules for speed of boot.How to save and load kernel options so they don't have to be repeated every time I want to compile a kernel.
i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot
also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd
A while back I compiled a custom kernel, 2.6.35. I forgot to add UDF support when configuring and compiling. Will I need to re-compile the kernel to get UDF support or is there some other way I can add it?
so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,
i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE
I installed a fedora with kernel 2.6.15-1 (quite old, isn't it ?) on my vmware workstation and try to compile a new kernel with 2.6.15.2 just for testing. I download the kernel and compile with that:make menuconfig make modules-install install
then I reboot the server but if i choose the new kernel. the system poped up the error msg like : Unable to find device-mapper major/Minor No volume groups found unable to find volume group "VolGroup00" Unable to access resume devices (/dev/VolGroup00/Logvol01)mount: could not find filesystem '/dev/root'
yes. I am using LVM to setup the fedora.
i search online and find some possible causes: 1) the .config does not contain support for LVM. then i choose to enclude the support for LVM
2) need to re-create initrd i use commond initrd --force-lvm-probe to generate the .img file
But both the method do not work. and i notices that the new '2.6.15.2.img' is about 1.5M which is smaller than the current 2.6.15.1 img (1.7M)
People, there is a tutorial to upgrade the kernel 2.6.38.3(compiling tutorial included =D) to Slackware 13.1??And, this upgrade generate a better performance on system??
I'm trying to compile the 2.6.38 kernel (from the Wheezy sources) on my Squeeze laptop and get the following error: "dpkg-buildpackage: error: debian/rules build gave error exit status 2" After doing apt-get build-dep linux-image-2.6.38-2-amd64 and apt-get source linux-image-2.6.38-2-amd64 I did dpkg-buildpackeg and here is what happened:
I am using the Debian stock kernel. I want a minimal kernel that works on my Pentium 4, 1GB DDR RAM machine. What do I have do to get a less resource hungry OS. Is there already a minimal kernel binary available?