Slackware :: Disable Or Configure Udev For Initrd?

Nov 8, 2010

I've recently updated my Slackware 13.1 system to the Slackware current. Although I have created my "initrd" image without specifying the "-u" option to "mkinitrd" it still starts up "udev".

That is causing me some difficulty because I am using "dmraid" to detect my RAID arrays. I had created my own device names such as "/dev/sdr2" for my root partition. With 13.1 I had no problem, since "udev" was not started by the "initrd" unless the "-u" option was provided. The current version seems to start up "udev" even without that option.

Is there a way to disable "udev" in the "initrd", or is there a way to specify custom "udev" rules for an "initrd"? I tried placing a "10-local.rules" file in the "etc/udev/rules.d" directory of the "initrd-tree" but that file had no effect on the device names generated by "udev" during the "initrd".

Here is my script that creates the "initrd".

Code:

ROOTDEVNAME="/dev/sdr2"# Name of root device
LINUXVER="2.6.35.7-smp"# Linux modules version
CLIBVER="2.12.1"# C library version
ROOTDIR="/boot/initrd-tree"# Location of root filesystm

[code]....

It will be helpful for me to understand "udev" issues related to an "initrd" because I will eventually try to use "mdadm" instead of "dmraid". So far I have only been able to get my system to boot from the RAID array using "dmraid" and I often run into new problems when I update Linux. Still, Slackware has proven to have the best support for booting from my RAID array because of the user community, documentation and flexibility.

View 1 Replies


ADVERTISEMENT

Hardware :: How To Disable Udev For Faster Boot?

Jan 6, 2010

I am trying to make gentoo boot faster and in my searching I came across this article http://lwn.net/Articles/299483/. One of the things they did was revert to a "persistent, old-school /dev directory so that boot doesn't depend on udev". I would like to know how to do this, but when I searched for disabling udev all the forums say that its a bad idea. All I want to know is how to make a static /dev directory.

View 4 Replies View Related

Slackware :: Newer Kernels And The Need For Initrd?

Apr 3, 2011

I've always booted Slackware with an initrd until recently. With my new installation of Slack Current (13.37), I didn't bother to create an initrd because of the constantly updating/transient nature of the current branch at the moment.My question is this: when 13.37 does go final in a few days, should I go back to my normal practice of booting with an initrd? Also, I think I understand how the initial ramdisk works, but is it really needed with the more modern kernels?

View 14 Replies View Related

Slackware :: Custom Initrd Splash For Current?

May 18, 2010

Need to know how to create a custom initrd boot splash for slack current
it would be nice to have a seperate one for bootup/shutdown

anyone know how-to or where to find good info?

View 2 Replies View Related

Slackware :: Generic Kernel And Initrd Not Working

Apr 8, 2010

I've changed for huge kernel to a generic+initrd setup per the instructions in the README.initrd file however my machine fails to boot using that method. I get the following errors:
/boot/initrd.gz: Loading kernel modules from initrd image:
mount: mouting /dev/sda2 on /mnt failed: No such device
ERROR: No /sbin/init found on rootdev (or not mounted)

1. I've created the initrd using the results from /usr/share/mkinitrd/mkinitrd_command_generator.sh
mkinitrd -c -k 2.6.33.1 -f ext4 -r /dev/sda2 -m usbhid:ehci-hcd:ext4 -o /boot/initrd.gz
2. my root fs is ext4 on /dev/sda2
3. I've changed all necessary links in /boot
4. I've changed my /etc/lilo to:
image = /boot/vmlinuz
initrd = /boot/initrd.gz
root = /dev/sda2
label = Linux-Generic
read-only

View 12 Replies View Related

Debian :: Make-kpkg --initrd Won't Create Initrd?

May 18, 2010

When I compile a custom kernel with this command: make-kpkg --initrd kernel_image kernel_headers and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.

It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..

View 1 Replies View Related

Slackware :: Slackware64-13.0 Multilib Can Not Build Valid Initrd For Kernels 2.6.30

Feb 27, 2010

I've just installed a Slackware64-13.0 test machine with alienBOB's multilib packages. I'm running the stock kernel generic-2.6.29.6 with an initrd set up using mkinitrd.confEverything is fine except that I cannot build a right initrd for kernels 2.6.30, both the /testing one or a custom build: if I try, it will panic at boot with the "couldn't find a valid RAM disk image" error.On the same hardware, without multilib support, I was able to correctly build and boot 2.6.30 initrds.

View 11 Replies View Related

Slackware :: Udev Not Creating Usb/hiddev* Nodes?

Dec 3, 2010

Are there any prerequisites which much be met in order for udev to create /dev/usb/hiddev* nodes?

I have two Slack 13.0 systems, each connected to a APC UPS via USB, one of which creates a hiddev0 node and the other doesn't. apcupsd can't find the UPS unless this node is present.

The "working" system has been stable in its current configuration for so long that I honestly can't remember if I had to tweak anything in this regard. I've verified that it doesn't use any local udev rules to create this node, and to the best of my knowledge there are no external scripts or processes which would create it either.

The non-working system has a similar configuration - no local rules and/or scripts which touch usb devices or nodes.

View 6 Replies View Related

Slackware :: Udev Rule Not Starting Gpsd During Boot?

May 29, 2011

I'm trying to configure gpsd 2.96 to start automatically from udev rule on a Slack 13.37 box.1. I've compiled and installed gpsd from sources and made sure it starts manually.2. I've copied the /lib/udev/gpsd.hotplug and /lib/udev/gpsd.hotplug.wrapper scripts in their places from the source tree and made them executable.3. I've copied the gpsd.rules file from sources into /etc/udev/rules.d4. I renamed it 99-persistent-gpsd.rules to run late in the bootup process.5. I've copied the /etc/default/gpsd file from sources and made sure it has the right settings inside.

Now, for the results. If I plug the gps usb dongle in while the system runs, it starts gpsd if it is not started, and it connects to it just as it should. But if I start the system with the dongle in, gpsd doesn't get started during boot. I can't find any relevant message in /var/log/syslog or /var/log/messages for boot time. There is stuff there from when I plug the dongle in while the system is running though. It's like udev ignores the rules for it at boot time.Is there something in the Slackware boot scripts that would prevent running those scriptssd.hotplug.wrapper which in turn runs /lib/udev/gpsd.hotplug which is a Python script)?Here is the contents of 99-persistent-gpsd.rules (ignore the comments referring to Debian, it was meant for a Debian box). My usb gps adapter is the first one - the Prolific chipset one:

Code:
# udev rules for gpsd
# $Id: gpsd.rules 5861 2009-08-03 13:41:01Z bzed $

[code]....

View 14 Replies View Related

Slackware :: Boot Hangs When Udev Encounters Webcam?

Jul 10, 2010

I have just installed slack-13.1 on an acer aspire one netbook from a usb stick by booting the install kernel with noudev. I was able to do a complete install including lilo but upon rebooting my boot hangs when encountering my webcam.I see enough info to note the id as 0c45:62c0. This is a microdia webcam which I may be able to do something about later but in the first instance I'd like to be able to boot my system. The bios is very basic and there is no way to disable devices.

View 14 Replies View Related

Slackware :: Submit An Enhancement Request - Envar PATH When Run By Udev

Apr 7, 2010

The value of envar PATH for processes run by the udev system is "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.". If peer review (that's you!) agrees it is a poor choice how can I submit an enhancement request? The man pages do not say anything about bug reporting. Here are reasons why it is a bizarre choice:There is no /gnu/bin directory on as-installed Slackware. /usr/local/bin is empty (or very nearly empty?) on as-installed Slackware. Processes running under udev run as root; having "." in PATH is not good practice when running as root. Processes running under udev are likely to be doing "system" work so executables from the sbin directories are likely to be used. For example, udevadm itself is /sbin/udevadm. Presumably this PATH is set by udevd itself; it is not the PATH in effect when udevd is started by rc.M. AFAIK udevd's PATH is not configurable. The workaround is for processes initiated by udev to set a sane PATH for themselves, perhaps "/usr/sbin:/sbin:/usr/bin:/bin". EDIT: seen on Slackware 13.0 32 bit. EDIT2: rc.udev is run from rc.S, not rc.M as stated above

View 7 Replies View Related

Slackware :: Write Udev Rules For USB Hard Disk Drives?

Aug 16, 2010

I just bought a USB hard disk and when I plug it in it gets mounted as owner root and group root. I tried writing a udev rule for it based on the following guide:Nothing seems to work, it always mounts as root. Slackware 13.1, KDE, Dell Optiplex GX280, Western Digital Passport USB 320 gig drive.I am a member of the plugdev group, so it seems to me a rule should not even be necessary.

View 14 Replies View Related

Slackware :: UDev Playing Hide And Seek With EthX Device

Feb 24, 2010

Some times I boot up, and udev has labelled what is usually eth0 as eth1. Of course, my rc.inet1.conf is configured for seeing internet at eth0, so no connection, quite obviously. Then I reboot and the device label is back to "eth0". Actually I'm still not able to get connected, even at eth0, despite my nameservers being OK, and the default route gateway being all OK. PS. I have a static ip address.

View 3 Replies View Related

Slackware :: Triggering Udev Events: /sbin/udevadm Trigger --type=failed

Mar 14, 2010

Noticed this on boot up the other day, but it doesn't seem to have a negative effect. Everything appears to be running just fine.

"Triggering udev events: /sbin/udevadm trigger --type=failed"

Is this something that needs to be resolved or ignored?

View 7 Replies View Related

Slackware :: Udev Start In Current Provokes Kernel Crash Because - Wrong - Boot Option

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

Slackware :: Setting Up Initrd - Generic Kernel In Grub2 - Can't Load Generic

Jan 4, 2011

I am trying to figure out how to load the generic kernel in Grub2.

I have run the /usr/hare/mkinitrd/mkinitrd_command_generator.sh and ran the output:

Code:

Why this will not load.

View 10 Replies View Related

Slackware :: Wine 32 Bit On Slackware 13 64 Bit - Configure Can't Find Some Libraries

Oct 19, 2009

Now i have 64 bit computer i installed Slackware 23 64 bit on it. i followed Alien Bob's multi lib how to and installed needed libraries one by one. everything is fine expect wine configure script can not find some libraries needed: libgsm, libmpg123, libopenal, libxcomposite.

I have already installed 32 bit compatibility packages and used /etc/profile.d/32bit.sh as recommended in Alien Bob's howto. configure -- does not really list anything for pointing for libraries.

View 14 Replies View Related

Networking :: Way To Configure Telnet Server Without Disable Firewall

Oct 13, 2010

I have a question about telnet.Is there any way to configure a telnet server without disable firewall.I am using redhat 5.2 and fedora 12.I have lack of knowledge about firewall.

View 1 Replies View Related

Fedora Networking :: Configure The Wireless - Active/inactive Buttons Are Disable

Jun 14, 2009

I am running fedora from the USB. My computer is Dell - inspirion. I tried to configure the wireless according to the instructions. I added new a device ...

I see the new device but it's written inactive. The Active/inactive buttons are disable (or not seen at all). How can i resolve/Active the wireless?

View 8 Replies View Related

Slackware :: Any Way To Disable Blueman?

Jul 7, 2011

The blueman applet is killing my processor from time to time. The crazy part is that I do not have blue tooth installed in this system. It appears to be a bug upstream and looks like it has been reported but in the mean time is there a way to disable blueman?

View 5 Replies View Related

Slackware :: How To Disable Cpu Throttling In 13

May 7, 2010

I'm trying to install ATLAS which requires disabling cpu throttling. Normally one can do it in the BIOS, while there isn't such an option of my dell inspiron 6400. Actually there is a SpeedStep option in the BIOS, however, you cannot get the highest but the lowest performance by disabling it (dell!!!).

After googled a lot, I found in some distros, there is a /usr/bin/cpufreq-selector through which one can disable throttling. But it doesn't exists in slackware.

I known that by appending kernel option "acpi=off", one can disable the whole acpi and thus the throttling control in slackware, but it seems so dirty.

Anyone known a better way to do it?

ps: With a intel T2050 cpu, i didn't find the directory /sys/devices/system/cpu1, but only the /sys/devices/system/cpu0. Similar case in /etc/acpi. it seems that slackware treats my cpu as a single core one, while it is not.

View 21 Replies View Related

Slackware :: How To Disable The Nouveau

May 1, 2011

I want to install the Nvidia drivers because I suspect nouveau to be responsible for some system freezes. It seems that I need to disable nouveau before I can get nvidia working. How do I do this?

View 5 Replies View Related

General :: How To Disable KTTSD In Slackware

Aug 17, 2010

How to disable KTTSD in slackware linux?

View 2 Replies View Related

Slackware :: How To Disable Backup Files

Apr 25, 2010

how to disable backup files? It is kinda annoying when editing lot of files and I personally see no point having them.

View 11 Replies View Related

Slackware :: How To Disable Akonadi On Startup

Jul 14, 2010

I do not want akonadi on startup. How do I disable it?

View 5 Replies View Related

Slackware :: How To Disable HP Device Manager

May 2, 2010

I've always run as root on Slackware, but having done away with Ubuntu for now, all of my machines including the family desktop are running Slackware. There have been several ups and downs and the last one that I know of (for now) is the HP Device Manager. It doesn't run as root so I've never noticed that it drastically slows down printing via a shared printer. Disabled the system just sends it's requests to the samba/cups server and starts printing instantly. The HP Device Manager seems to go through an intialization step each time that takes several seconds before I can even hit the "print" button.

View 11 Replies View Related

Slackware :: How To Disable Syslog Buffering

Mar 22, 2011

I've been messing around with fail2ban regex and heard that you can get better performance by disabling syslogd buffering. By better performance I mean that fail2ban can detect more login failures per second than with syslogd buffering turned on.How do you disable syslogd buffering

View 2 Replies View Related

Slackware :: How-to Disable Hdd Spinoffs On A Laptop

Aug 6, 2010

I have Aspire one 752 netbook with slack 13.1 installed. I installed laptop-mode-tools from slackbuilds to control power management and etc. I'd like to make sure that sda drive in netbook never spins off when not running on batteries. For now it seems to spin down after every half a minute and is producing clicking sounds. I issued 'hdparm -B 255 /dev/sda' which seemed to work - no clicks any more, and no spinning-up sounds. What is the right way to make this change to be applied whenever netbook is on AC power?Edit: Also, how to make this 'hdparm -B 255 /dev/sda' survive hibernate, as it reverts to '96' after being resumed:
# hdparm -B /dev/sda/dev/sda: APM_level = 96Edit2: Ok, i changed hdparm -B values from 254 to 255 in laptop-mode.conf, since values of 254 and any other i tried(1, 96, 128) gave ioctl errors and were not applied to drive.

Code:
# hdparm -B 96 /dev/sda
/dev/sda:

[code]....

View 3 Replies View Related

Slackware :: Configure Wifi Adapter In Slackware 12.0 / KDE Does Not Detect Any Wifi Device?

Jan 30, 2010

i tried following the readme file included in the driver of the usb network adapter but seems its not exact.

any ideas on how i can configure it manually? KDE does not detect any wifi device. .(of course since no driver is installed yet).

i used my desktop (win***)with DSL connection and installed the driver of the usb net adapter.. made it as the access point. . so my laptop detects the desktop as wifi spot.

View 2 Replies View Related

General :: Disable Case Sensitivity For Slackware?

Feb 19, 2010

How you disable it? it makes no sense you have to type all those non capital and capital letters just to access a directory correctly.

in windows you just type the name and it detects whatever you type capital or not...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved