General :: Possible Kernel Configuration Option ?
Jul 20, 2011
I have had Linux running in our product that has several serial ports.(Another Ethernet to Serial port translator). It has been running OK for about 6 years, using kernel 2.6.11, then 2.6.18. Now I just got 2.6.39.1 running and suddenly I get these "I/O Possible" messages and my programs shutdown. I found elsewhere that the cure for this is to put a "signal(SIGIO, SIG_IGN)" call to stop this signal from crashing the program. This works, but I would really like to know the reason that this started happening in the first place.
Could there possibly be a 'config' option I missed that causes this? It just surprises me that the kernel writers would implement something that has such a large impact on the existing code base, causing anyone using serial ports, or anything else that might trigger a SIGIO, to have to edit, recompile, and redistribute their programs.
How to change the kernel behavior, short of going in and hacking the kernel. Or at least an idea as to why they would have changed the default behavior.
View 1 Replies
ADVERTISEMENT
Aug 25, 2010
I'm running Squeeze and I've been running into the r8169 hang problem (see [url]for example). A temporary (until the driver foibles in the kernel are resolved) solution that seems to be working for many people is passing the boot option "pcie_aspm=off" to the kernel.
Apparently, either I don't understand grub2 at all or my kernel doesn't like me very much. I put the option in grub.cfg like so:
However, it appears that the kernel, for whatever reason, is either not being given this boot option or it's not interpreting it correctly. When I run lspci -vv I get this for my r8169 ethernet card:
The relevant section is LnkCtl: ASPM L0s L1 Enabled; indicating that ASPM is still on.
View 8 Replies
View Related
Jul 29, 2011
I need to install any version of Debian with the Debian Kernel version 2.6.22-3-686. I don't mind what version of Debian it is, I just need it to have this specific kernel! Debian Etch comes with 2.6.18-4-686 and Lenny comes with 2.6.26-2-686 so the kernel I need is obviously somewhere in between.
I have tried using the following commands to see if kernel 2.6.22-3-686 is available for download via the apt-get method in both Debian Etch and Lenny but it is not...
apt-cache search linux-kernel
apt-cache search linux-source
So does anyone know where/how I can download specific kernels and install them for use? I have a computer sitting next to me that has multiple kernels as an option on boot, and they all boot into the same system, however I do not know the person who set up the computer so cannot ask them how they did it
View 2 Replies
View Related
Apr 19, 2011
Im am building a Linux distro. It will be very tiny and fast.
I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.
The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.
When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.
The kernel works OK with others initramfs/initrd files. But not with my own.
Quote:
Here is how the end of the kernelcomplie look like.
Quote:
Here is my init file who is the initrd/initramfs source.
Quote:
The initramfs folder contains "bin" (folder) and "init" a file. No more.
The problem is that the kernel cannot find/read init file.
View 4 Replies
View Related
Jul 16, 2010
I have Suse 10 and Suse 11 and I need to add the option elevator=noop
Code:
Suse 11
Code:
By the way I think I added correctly
Ok my question is: I can add this noop option on the fly by
Code:
But since I have sdb and sdc... I have to run that command three times it does not bother me I am worry about is what happens when my server is rebooted.
There won't be any noop option for sdb and sdc since they are not included on my boot parameter.
How can I automatically add noop to my sdb and sdc?
View 3 Replies
View Related
Jan 21, 2010
I have a loadable module, simple enough I believe it should run on any 2.6 kernel. I want to force the load and test that assumption. How can I do it?
ismod does not seem to notice the -f in 2.7 modprobe has -f but cannot locate the module.No go. So I read the manpage for modprobe which says: modprobe looks in the module directory /lib/modules/'uname -r'.So I copied MYMODULE.ko to /lib/modules/2.6.(the only directory in here) and type: modprobe -f MYMODULE.ko.Still can't locate MYMODULE.ko.I notice there are no other .ko modules in that directory; so I go in deeper to kernel/drivers/char, guessing about the char directory, and copy MYMODULE.ko there.
View 1 Replies
View Related
Aug 1, 2011
I was trying to know if relatime or noatime was set on a filesystem, but i didn't found the information, neither in /etc/fstab, neither in kernel boot options.
First of all, it seems clear that i don't have the "normal" behaviour on atime:
root@antec:/tmp# rm -f test.txt; echo a>test.txt
root@antec:/tmp# stat test.txt | grep -i 2011
Access: 2011-08-01 21:54:30.000000000 +0200
Modify: 2011-08-01 21:54:30.000000000 +0200
[Code]....
- Is noatime or relatime a default mount options, and if yes, from which kernel release ?
- Is there a way to see the default mount options (ie: how can i see why i don't have the "normal" atime behaviour ?)
View 1 Replies
View Related
Jul 6, 2011
In regards to compiling a custom kernel:
When using make menuconfig - under Device Drivers --> Character Devices --> there should be an option with the label "Enhanced Real Time Clock Support" (CONFIG_JS_RTC).
The problem is that this option seems to only show up while using the menu method when other options are either enabled or disabled and I've entirely forgotten what should be what. I swear fingered it out once.
This is on an older computer (P4) so HPET is no good.
You would think that disabling the HPET option would enable the RTC option but that does not appear to be the case.
I understand I can just add the option to the .config file and avoid this hassle but I'm very interested to know how to make this work.
To show my appreciation I will do something nice for you such as call you a nice name or tell you that you are pretty (or ugly if that's what you prefer).
View 1 Replies
View Related
Feb 18, 2011
how to install new own kernel in Redhat 5. Can i install Debian kernel in redhat ?
View 2 Replies
View Related
Apr 15, 2011
I am writing a C program (recovery utility) that needs to run at boot. I have found my way into this (booting a kernel) and now I want to configure the kernel so that it doesn't take a lot of space and compile fast so that I can edit the source afterwards and make it run my program on the kernel's startup.for the least size. The only thing this program needs is reading and writing files in all of the local hard disks (and some standard libraries such as stdio.h and stdlib.h) so I can keep the kernel simple by removing a lot of stuff such as networking, encryption algorithms and others. What would be the best configuration for this, so that it is really small in size? Should I simply start a new configuration and then only select things that I need, or should I take the "default" configuration and start removing things? What options are a MUST to make the kernel run?
View 1 Replies
View Related
Jun 17, 2011
I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.
I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...
View 1 Replies
View Related
May 23, 2011
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?
View 1 Replies
View Related
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
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
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
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
Jan 10, 2010
I have been reading for hours and just do not get how to do this simple task. I need to add a couple of kernel options to the 3rd menu item that shows in my grub.cfg list. I understand which files to edit (not grub.cfg) and run the updater.
If I look in /etc/default/grub I cannot figure out how to add a kernal parameter unless it is the default.
So basically I want to change the equivilent of this line below:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
But for a kernel menu item that is not the default.
View 4 Replies
View Related
Dec 1, 2010
I installed Jolicloud in a new partition to give it a try. It's pretty nice. Anyway, it took over my bootloader, which didn't really bother me.
Now my kernel has automatically been updated to 2.6.35-22.41 or something. The option to boot from the new kernel does not appear. As you might imagine, I want to do that. My old bootloader updated this stuff automatically.
View 9 Replies
View Related
Jul 6, 2010
I downloaded kernel 2.6.30 for my project. But I want to see the all symbol and debugging information. So, I try to use option "-g" with make file I don't know how...
I just know the make kernel "make all"
If I want to use "-g" option for vmlinuz with whole symbol for debugging, how can I put that "-g" option into the "make"
Do I have to modify the "Makefile" ? or "only command is possible like make -g something...."
How I can compling the kernel with -g option....
View 1 Replies
View Related
Apr 29, 2009
Is there an easy way to change just one option in the kernel? I need to set something from =M to =N I tried installing the kernel source rpm according to the centos wiki site, then changing the .config, make oldconfig etc. but the always build always fails.
View 7 Replies
View Related
Apr 22, 2009
there is no option that static ip cannot be configured during fedora 10 installation. I may be wrong, as i am now to fedora.
View 7 Replies
View Related
Jan 27, 2010
I am trying to create a LiveCD with the option of installation.So far, so good.Live and installation works well.Now I want to automate the installation. The problem is that when I run the install from the ISO, he said he did not could find the preseed file.In looking around, it seems that we should add this file in initrd But, I do not see how.I searched a few hours on the net in vain.
View 1 Replies
View Related
Dec 5, 2010
I can see that in yum-updatesd configuration i can use smtp_server to rely mail notifications as per below outputs from man pages smtp_server SMTP server to use when sending mail, host or a hostort string. Defaults to localhost:25. The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server
View 2 Replies
View Related
Mar 22, 2010
i'm using WICD as my wireless network manager. wicd 1.6.2.1 on slackware 13. I need to configure dynamic WEP with authentication, user name and password like shown on the pic. i couldnt find that option in wicd properties or configuration,
View 3 Replies
View Related
Apr 18, 2011
I have just installed Ubuntu 10.04 where kernel 2.6.32-30-generic-pae is default. Also installed the latest stable kernel version 2.6.38.3
I need to have the latest kernel version in boot screen without affecting the older. What are all things I need to update ?
View 1 Replies
View Related
Sep 28, 2010
Is it possible using YAST to make it possible to be given the option to boot the previous kernel when a new one is installed during an update?
View 9 Replies
View Related
Feb 12, 2010
I'm using 2 cloned disks with CentOs5.3 and I need to be able to control which one is booted. I can specify which disk in the BIOS but after stage 2 it is always running from disk 2. When I have puppy linux on one disk and CentOs on the other I can boot off of either as selected by the system BIOS so the BIOS is not the issue. I think it is how the root option is passed in the kernel command in the grub.conf.
kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00
I think when the OS searches for the /dev/VolGroup00/LogVol00 share is locates 2 since the disks are clones and uses the last one found. On information I have found for the kernel command and the root option it appears CentOs uses it differently. CentOs uses a volume name as specified /dev/VolGroup00/LogVol00 instead of a partition designator /dev/hda2. Is there a different way to specify /dev/VolGroup00/LogVol00 in CentOS for the root option for the kernel command of grub.conf?
View 7 Replies
View Related
Mar 10, 2010
i install from
yum install rkhunter
rkhunter 1.3.6-4.fc12
Invalid XINETD_CONF_PATH configuration option - non-existent pathname
View 2 Replies
View Related
Mar 24, 2010
I'm just trying to figure out what is going on with FC12
Here is the error:
[root@localhost bigmac]# rkhunter --check
Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf
View 1 Replies
View Related
Dec 24, 2010
I switched today to slackware-current on one of my desktops to play with it and ran directly into a problem.
Since ages my lilo.conf has two entries for slackware. One for runlevel 3 and one for runlevel 4.
Code:
Since the upgrade this is no more possible because I get a kernel panic as soon as udevadm trigger is called. The stack says something about an unknown boot option. Because that i removed the append lines from my lilo.conf and i was able to boot the system. The crash happens when udev is called from within the ramdisk and afterwards. I tried both.
My question is now. Is this a bug in udev or expected? I have this setup since at least 5 years and had never problems with that. What do I have to do to be able to select the runlevel at boot time?
View 3 Replies
View Related