Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


  Search this Thread
Old 11-25-2012, 11:41 AM   #1
LQ Newbie
Registered: Nov 2012
Posts: 6

Rep: Reputation: Disabled
mkinitrd script - blacklist more udev executables

After upgrade to slackware 14.0 I note a number of issues on system where usr and home are mounted in addition.

Udevd is started before filesystem checks, also before additional "user" file systems to be mounted. Another issue is that udev lack separate rules for "boot" process, i.e. all rules are executed, but many of them depends form libraries or binaries installed in usr file-system.

Initially I move some files from /usr to /root file system to ensure that all rules will be executed properly. This include "user" libraries libatasmart, libglib, libparted. Also I move directory hwdata from share to /lib (+symlinks).

After debug of udev I note about 30 seconds delay in process. Ok yet another issue. Internet search point to udev version 177 (slackware 14.0 is with 182) and load of "firmware". On my system it is from:
00:08.0 Multimedia audio controller: Yamaha Corporation YMF-724F [DS-1 Audio Controller] (rev 03)

udev log:
[9.515207] [1331] event_queue_insert: seq 2026 queued, 'add' 'firmware'
[8.079792] [1348] worker_new: seq 1633 running
[8.079832] [1348] udev_device_new_from_syspath: device 0x8e1d350 has devpath '/devices/pci0000:00/0000:00:08.0'
[8.080054] [1348] builtin_kmod: execute 'load' 'pci:v00001073d0000000Dsv00001073sd0000000Dbc04sc01i00'
[40.006691] [1331] main: worker [1348] timeout, kill it
[40.006751] [1331] main: seq 1633 '/devices/pci0000:00/0000:00:08.0' killed
[40.007208] [1335] udev_device_new_from_syspath: device 0x8e21620 has devpath '/devices/pci0000:00/0000:00:08.0/firmware/0000:00:08.0'

I don't like to wait kernel drivers to be updated to follow new udev ..... as PC is old. I don't know what is status of kernel driver for this card. May be is still maintained.

Good news is that exist work-around - just load modules before udev. So I start to use initrd to load modules in advance.
mkinitrd script work fine but image contain a lot of "user" libraries.

I would like to propose script to black list more udev executables. Patch attached.
Attached Files
File Type: txt mkinitrd-14.0.patch.txt (763 Bytes, 18 views)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] udev and dbus - using the notivy-send command in a script started by udev markush Slackware 2 10-14-2012 09:26 AM
UDEV: Unable to run a command line interface script after USB automount using udev mohamr2 Linux - Embedded & Single-board computer 8 08-16-2011 10:39 AM
script problem loading blacklist in iptables Rob_G_ Linux - Newbie 1 09-20-2008 09:55 AM
udev - How to blacklist pcspkr? hoofer Linux - Software 3 06-06-2007 12:39 PM
mkinitrd script with slackware deb75 Slackware 1 04-20-2004 10:56 AM > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration