Post thumbnail of Hardware Device Management in Linux using udev
28 December 2009
Continue reading Hardware Device Management in Linux using udev

Hardware Device Management in Linux using udev

Udev creates and removes device nodes in /dev, based on events the kernel sends out on device discovery or removal. In other words, Udev is the system that maps hardware devices to files you can interact with in the /dev directory. Udev runs in user space and creates points in /dev when the kernel detects and recognizes new hardware as it’s attached. It’s only been around since 2003/2004. All modern distributions use udev instead of the now depreciated hotplug.

Post thumbnail of Configuring and making OProfile for a custom kernel on Fedora
7 August 2009
Continue reading Configuring and making OProfile for a custom kernel on Fedora

Configuring and making OProfile for a custom kernel on Fedora

I found the easiest way to get all the dependencies out of the way was to attempt to install Fedora’s oprofile, oprofile-devel, and oprofile-gui through YUM. But instead of installing them, just find out their dependencies and install those.

Post thumbnail of Find your partitions and kernel from the GRUB command line
15 April 2009
Continue reading Find your partitions and kernel from the GRUB command line

Find your partitions and kernel from the GRUB command line

You may find that grub is pretty useless when your menu.lst is missing or misconfigured. It’s not easy to figure out how to make grub tell you where the files are that you need. Here’s how to find what you need in order to boot, just using the grub bootloader.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of Kernel panic after sysctl changes for Oracle
2 April 2009
Continue reading Kernel panic after sysctl changes for Oracle

Kernel panic after sysctl changes for Oracle

I changed the kernel semaphores and ip local port range as usual in /etc/sysctl.conf for an Oracle 11g install, and what happened?

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of See console messages in remote shells
14 March 2009
Continue reading See console messages in remote shells

See console messages in remote shells

In Ubuntu, Fedora and other systems I’ve seen rsyslog running on, to see the console messages you have to have physical access to the server usually through a KVM or IP-KVM setup. Kernel messages are sent to /dev/console while mail, crit, debug, and others get sent to files. Any of these message can be monitored remotely…

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of gentoo unknown filesystem type ‘ext2′
18 February 2009
Continue reading gentoo unknown filesystem type ‘ext2′

gentoo unknown filesystem type ‘ext2′

I usually make my boot partition ext2 because it doesn’t stay mounted and doesn’t get written to unless i’m installing a new kernel or tweaking the options like vga=0×317 or whatever. But strangely enough, when I boot, grub sees the boot partition, grub.conf, and the kernel and loads with no problem. But when I try to mount /dev/sda1 from a shell it doesn’t seem to know what i’m talking about!

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of shell scripting on an old ppc
10 October 2008
Continue reading shell scripting on an old ppc

shell scripting on an old ppc

In a shell script you’re probably testing a variable against some constant or another variable, but why not run a command in a subshell and compare the output?  You could even compare the output of two subshell commands!  I guess most of the time i’m doing something like this i’m …

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Powered by Wordpress   |   Lunated designed by ZenVerse