Personal tools
You are here: Home Members nigel Nigels Blog Debian

Debian


Debian hanging on boot at udev

Filed Under: Debian
It seems it is libnss-ldap which is causing udev to hang. Removing it does fix the issue, but we still need ldap, so I don't know what the full answer is yet.

Bug#375215: libnss-ldap hangs udev at startup

powered by performancing firefox

Optimize your ext2/ext3 filesystem

Filed Under: Debian
This is a repost from here: http://blog.drinsama.de/erich/en/linux/2006060401-optimize-your-ext23-fs


...use tune2fs -l /dev/hda5 | grep features to get a list of your filesystem features. If you have "dir_index" in there then you're all set. Ignore any "needs_recovery" - that is good for mounted filesystems (it just means "not cleanly unmounted")

To add dir_index, do the following.

  • Unmount the filesystem. If this is your primary filesystem, use a bootable CD like Knoppix or some Linux install CD.
  • Make sure the filesystem is really not mounted. Just for safety of your data. Run e2fsck /dev/hda5 - this should take less than one second if your filesystem is clean and is needed anyway otherwise...
  • Execute tune2fs -O +dir_index /dev/hda5 to enable the feature for your filesystem
  • Execute e2fsck -Df /dev/hda5. This will force a filesystem check with directory optimization (!) on your filesystem.
  • Mount your system (or reboot, if you were using a live CD)

Network Manager doesn't find devices

Filed Under: Debian
After upgrading network-manager from 0.6.2-1 to 0.6.2-3 none of my network devices show up. This is due to a change in the way devices are enumerated. If your device is listed in /etc/network/interfaces then it will not be managed by Network Manager. So deleting all references to non lo devices solved the problem.

Powered by Plone, the Open Source Content Management System