HAL automounting failure :: How i rectified it … !!

Posted on May 20, 2008 - Filed Under Slackware | 1 Comment

Error Message
[————-
Failed to mount “AL1916W”.
A security policy in place prevents this sender from sending this message to this recipient, see message bus
configuration file (rejected message had interface “org.freedesktop.Hal.Device.Volume” member “Mount” error
name “(unset)” destination “org.freedesktop.Hal”)
————-]

All my cdroms/dvd/pendrive/exrtnlHD where automounted all these days ..
suddenly it stopped and gave me above message ..
If i mount it manually ,for eg:
->#mount /dev/cdrom /mnt/cdrom ..
Im able to use it as a normal user ab …
other wise the icon just comes and pops up the above message ..

Distro:Slackware 12.1
Desktop:Xfce4.4.2

Solution::Its applicable to all Desktop environment (i guess so)
—————————————————————-

In this file
/etc/dbus-1/system.d/hal.conf
->group :: pulgdev

Is only given permission to auto mount …
So i added my self to that group by editing /etc/groups .. file

What caused the Trouble ?
————————-

By default i was the member of pulgdev group and other groups ..
But i had unintentionally corrupted my group setting using …
following command

->usermod -G net slackwarebunny

But the man page of usermod says

[
-G group,[…]
A list of supplementary groups which the user is also a member
of. Each group is separated from the next by a comma, with no
intervening whitespace. The groups are subject to the same
restrictions as the group given with the -g option.<***If the user
is currently a member of a group which is not listed, the user
will be removed from the group****>
]

Next time u use that command be::careful ..

Happy blogging

compiling a kernel(For the newbies)

Posted on February 23, 2008 - Filed Under Linux Genric | 1 Comment

Actually u can find many tutorials regarding this,But i dint find a appropriate one suiting me when i compiled the kernel for the first tym a year back…So thought of to give a detailed procedure

–>Compiling and setting up a kernel for the first time can be a daunting task even for users who are comfortable in everyday Linux use so I hope this guide will make the process a little easier and help get your new kernel up and running as fast as possible. I assume a level of competency with basic Linux commands and the environment.
–>Getting the kernel source
The kernel source can be downloaded from kernel.org. Once you have the source move it into /usr/src.

–>Configuring your new kernel

First you need to determine what type of hardware you have. This can be done using the command ‘lspci’
You’ll particularly need to know the IDE Chipset, Audio Controller, and the Ethernet Controller. You won’t normally need to know your VGA Controller type when compiling the kernel. There are several methods of configuring the kernel with version 2.6

* make config
* make oldconfig make menuconfig
* make xconfig make gconfig

We will be using make menuconfig. Its relatively simple to use and doesn’t have many requirements. All you need are the ncurses dev files. In my opinion the QT and GTK installers just add unnecessary fluff. On debian a simple apt-get install libncurses5-dev should take care of that.

—>Options
Now its really just a matter of going through the options an various menus and picking what suits your hardware and set up. If your unsure on anything you can highlight the option your unsure of and press ?. You can chose to compile things directly into the kernel (fill the box beside them with a * by pressing the space bar) or compile them as a module and insert them into the kernel as needed (by filling the box with an M). Certain things that are required to boot the kernel are best to be built in (such as IDE drivers etc) but for other non-critical stuff then its just as good, if not better, to build them as modules. At a later stage if you need to upgrade a driver thats compiled as a module you can just plug it out and insert the new one into the kernel but if its compiled in then a recompile of the kernel will be required.

–>Building the new kernel

1. sudo make bzImage
2. sudo make modules
3. sudo make modules_install
The modules will be copied into /lib/modules/KERNELVERSION

–>Installing the new kernel

Now its just a matter of copying the newly compiled kernel and System.map into /boot.
For me it looked like this

kranny@Desktop:/usr/src/kernel-source-2.6.23$ pwd
/usr/src/kernel-source-2.6.23
kranny@Desktop:/usr/src/kernel-source-2.6.23$ sudo mv arch/i386/boot/bzImage /boot/bzImage-2.6.23
kranny@Desktop:/usr/src/kernel-source-2.6.23$ sudo mv System.map /boot/System.map-2.6.23

–>Getting ready to boot

Now that the kernel is in place we just have to edit our boot loaders config file and add the new kernel.

If you are using the grub boot loader (and you probably are) this file is normally in /boot/grub and is called menu.lst. As I’m using Debian I can only guarantee it is there for my particular install. If you’re using a different OS then check out its documentation for the correct location. Look at the other entries and copy their structure to add your new kernel to the list. You must be root. Ignore the initrd option as we haven’t created one and they aren’t normally necessary.

Hope this tutorial be of some help to u

Linux Kernel 2.6.24 Released

Posted on January 31, 2008 - Filed Under Linux Kernel | Leave a Comment

“Linus Torvalds has released the 2.6.24 Linux Kernel, noting that he and most of the other key Linux developers will be flying to a conference in Australia for the next week. As the whole team will be down under while the kernel is being tested by the masses, Linus added, “Let’s hope it’s a good one“. What’s new in the latest release includes an optimized CFQ scheduler, numerous new wireless drivers, tickless kernel support for the x86-64 and PPC architectures, and much more. Time to download and start compiling.”

French Paramilitary goes for linux

Posted on January 31, 2008 - Filed Under News | Leave a Comment

The French paramilitary force is ditching Microsoft for the free OS Linux .Its one of the biggest administration in the world to do so….


Slackware 12

Posted on January 29, 2008 - Filed Under Distro Point | 5 Comments


Well as far my exposure to various distros Slackware is the one that got on the my blood … I felt a connection between me a the philosophy of Slackware , Slackware aims at its stability and simplicity .“Slack, which generally stands for the sense of freedom, independence, and original thinking that comes when you achieve your personal goals”.So definitely the meaning Slackware is obvious .Well usage till now reveled that its no easy for a newbie to use Slackware … Due to its strick UNIX biasing .. Well my intentions of using this particular distro was something else .. I wanted to learn GNU/Linux from its raw form .. Well Slackware does provide an environment for learning GNU/Linux.. . Learning Linux means not the Linux kernel as such but the GNU utilities which varies from (a-z) he he … :-)

 

Some Reason to choose Slackware

  • If you are planing to learn GNU/Linux as such
  • If you want to tweak each and every settings your self I don’t say other distros don’t allow it but when it comes to configuration you are on your own in Slackware
  • If you wana set up a good server (file,mail.. any)
  • if you are a fan of simplicity
  • if you have a killer instinct to solve issues that arise

 

 

 

I don’t say Slackware really touch thing to conquer. Once you understand the UNIX philosophy you will certainly have some momentum . So once again i say Slackware is the best one I have come across for the purpose of learning GNU/Linux .Of course Its still powerful for other purposes . One thing to keep in mind is that once u install Slackware you are on your on for the tweaking you will also get online help too..If you want any assistance regarding Slackware you may contact me at althafispure@gmail.com

 

 

 

Happy blogging