LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2012, 10:14 PM   #1
inph
LQ Newbie
 
Registered: Jul 2012
Posts: 9

Rep: Reputation: Disabled
Sunday July 22nd The lots of shiny stuff update and a udev story


A bunch of shiny updates rolled out to -current.

Quote:
Sun Jul 22 22:38:36 UTC 2012
Howdy! Lots of shiny stuff here, including the long awaited Xfce 4.10!

Thanks to Robby Workman for the initial set of build scripts, and lots of testing (plus some very helpful notes about things such as the proper build order).

I'm calling this a beta (finally!), and it's really very close to what we expect to release. Test away.

BTW, Mercury leaves retrograde on August 8th, position 01:26 Leo. ;-)
the udev story (worth a read if you've had problems lately)

Quote:
Well, udev in this devel cycle has certainly been interesting! A fair number of odd bug reports have been coming in, and we hadn't really been able to get a handle on the source of the issues. Quite some time ago we started testing udev-182, and noticed that it caused some issues with the persistent net and cd rules.

There'd sometimes be two entries per device, so a machine with a single Ethernet card might come up showing the card as eth1, with two rules in 70-persistent-net.rules (eth0 and eth1).

We tested a lot of udev versions trying to determine where the problem started, and it seemed to begin with version 176, the first one that used libkmod rather than calling out to module-init-tools to load modules.

Asking upstream about it, they suggested that we just turn the generation of persistent rules off. They'd already turned it off by default. "Make 'em make rules!" seemed to be the answer, and since I remember well why the autogeneration of net and CD rules came about, I wasn't really happy with that answer.

After deploying the "safe" upgrade to 175, we got a couple of reports of this same issue happening (though none of us could reproduce the issue with 175). Robby ended up making some patches to the rule writing scripts for udev-182 that were able to stop the doubling up of rules, but the devices themselves would still be misnumbered on the first boot without rules, and would then be correct after a reboot.

Last week I sat down determined to figure out where the race condition was. After endless reboots with various tests, I got the idea to put my network modules on the initrd and have it shell out so that I could take a look at them. What I found was that the rules were generated correctly on the initrd. Well, that was a surprise, but I must have had some kind of hunch to even try a test like that. On another hunch, I ran "pstree -c -p | grep udevd" on the running system. Heh. There it was.

We had been running two copies of udevd, and they were fighting it out.

At some point along the line, udevd was changed. It used to be that if you tried to start a second copy it wouldn't start, and would exit with status 1, and our rc.udev script relied on this behavior. Fixing the problem was considerably easier than finding it... rworkman and I made some changes in rc.udev to check if udevd was already running instead of expecting it to check for itself.

Another change was required to cause it to write out rules if they didn't exist already, and then to read them back in (otherwise optical symlinks were still missing on first boot without rules).

There's still one issue that was also present with udev-175, which is that a hotplugged optical drive won't get symlinks unless it has been in at boot and had rules generated for it then.

Otherwise, things are looking considerably better. Firmware is loading correctly, rules are autogenerated properly again, and several devices that were missing in /dev have returned.

So, there's the story. Maybe more than you really wanted to know. ;-)

Thanks to rworkman for his help on this. Please report any new problems.

And if anyone knows how to get symlinks working for a hotplugged optical drive like they did in udev-165, a fix would be most appreciated.
changelog

Code:
a/aaa_elflibs-14.0-i486-3.txz:  Rebuilt.
  Fixed missing libz.so.1.
a/lvm2-2.02.96-i486-4.txz:  Rebuilt.
  Recompiled for udev-182.
a/sysvinit-scripts-2.0-noarch-3.txz:  Rebuilt.
  Show the date after setting the system clock.
  Thanks to Darrell Anderson.
  Shut down udev in rc.6.  Thanks to Robby Workman.
  In rc.S, determine the actual root partition and insert it into /etc/mtab
  so that "/dev/root" isn't shown when booting a kernel without an initrd.
  I should have fixed this years ago.
a/udev-182-i486-1.txz:  Upgraded.
a/udisks2-1.98.0-i486-1.txz:  Added.
ap/foomatic-filters-4.0.12-i486-1.txz:  Upgraded.
ap/gutenprint-5.2.9-i486-1.txz:  Upgraded.
ap/slackpkg-2.82.0-noarch-6.tgz:  Rebuilt.
  Support XFCE series.  Note that slackpkg will upgrade itself, but it still
  won't know about the XFCE series during that run, so you'll need to run it
  a second time to install Xfce.
l/GConf-3.2.5-i486-1.txz:  Added.
l/gcr-3.4.1-i486-1.txz:  Added.
l/glade3-3.8.1-i486-1.txz:  Added.
l/glib-networking-2.32.3-i486-1.txz:  Added.
l/gnome-keyring-3.4.1-i486-1.txz:  Added.
l/gsettings-desktop-schemas-3.4.2-noarch-1.txz:  Added.
l/gvfs-1.12.3-i486-1.txz:  Added.
l/js185-1.0.0-i486-1.txz:  Added.
l/keybinder-0.3.0-i486-1.txz:  Added.
l/libcanberra-0.29-i486-1.txz:  Added.
l/libgnome-keyring-3.4.1-i486-1.txz:  Added.
l/libproxy-0.4.7-i486-1.txz:  Added.
l/libsoup-2.38.1-i486-1.txz:  Added.
l/libtasn1-2.12-i486-1.txz:  Added.
l/loudmouth-1.4.3-i486-3.txz:  Rebuilt.
  Rebuilt with --enable-debug=yes, which I hear disables debugging messages on
  the console.  Go figure.  :-)  Thanks to Youjie Zhou.
l/media-player-info-17-noarch-1.txz:  Added.
l/mozilla-nss-3.13.5-i486-2.txz:  Rebuilt.
  Added nspr-config and nss-config.
  Removed unneeded binaries in /usr/bin.
  Removed config files in /usr/include/nspr/md.
l/sound-theme-freedesktop-0.7-noarch-1.txz:  Added.
n/php-5.4.5-i486-1.txz:  Upgraded.
  Fixed potential overflow in _php_stream_scandir (CVE-2012-2688).
  (Thanks to Jason Powell, Stas)
  For more information, see:
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2688
  (* Security fix *)
xap/network-manager-applet-0.9.4.1-i486-1.txz:  Added.
xap/xfce-4.6.2-i486-5.txz:  Removed.
xfce/Terminal-0.4.8-i486-1.txz:  Added.
xfce/Thunar-1.4.0-i486-1.txz:  Added.
xfce/exo-0.8.0-i486-1.txz:  Added.
xfce/garcon-0.2.0-i486-1.txz:  Added.
xfce/gtk-xfce-engine-3.0.0-i486-1.txz:  Added.
xfce/libxfce4ui-4.10.0-i486-1.txz:  Added.
xfce/libxfce4util-4.10.0-i486-1.txz:  Added.
xfce/libxfcegui4-4.10.0-i486-1.txz:  Added.
xfce/orage-4.8.3-i486-1.txz:  Added.
xfce/thunar-volman-0.8.0-i486-1.txz:  Upgraded.
xfce/tumbler-0.1.25-i486-1.txz:  Added.
xfce/xfce4-appfinder-4.10.0-i486-1.txz:  Added.
xfce/xfce4-clipman-plugin-1.2.3-i486-1.txz:  Added.
xfce/xfce4-dev-tools-4.10.0-i486-1.txz:  Added.
xfce/xfce4-mixer-4.8.0-i486-1.txz:  Added.
xfce/xfce4-notifyd-0.2.2-i486-1.txz:  Upgraded.
xfce/xfce4-panel-4.10.0-i486-1.txz:  Added.
xfce/xfce4-power-manager-1.2.0-i486-1.txz:  Upgraded.
xfce/xfce4-screenshooter-1.8.1-i486-1.txz:  Added.
xfce/xfce4-session-4.10.0-i486-1.txz:  Added.
xfce/xfce4-settings-4.10.0-i486-1.txz:  Added.
xfce/xfce4-systemload-plugin-1.1.0-i486-1.txz:  Added.
xfce/xfce4-taskmanager-1.0.0-i486-1.txz:  Added.
xfce/xfce4-volumed-0.1.13-i486-1.txz:  Added.
xfce/xfce4-weather-plugin-0.7.4-i486-1.txz:  Added.
xfce/xfconf-4.10.0-i486-1.txz:  Added.
xfce/xfdesktop-4.10.0-i486-1.txz:  Added.
xfce/xfwm4-4.10.0-i486-1.txz:  Added.
xfce/xfwm4-themes-4.10.0-i486-1.txz:  Added.
isolinux/initrd.img:  Rebuilt.
  Support XFCE series.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
  Support XFCE series.
+--------------------------+
Only Added

Code:
a/udisks2-1.98.0-i486-1.txz:  Added.
l/GConf-3.2.5-i486-1.txz:  Added.
l/gcr-3.4.1-i486-1.txz:  Added.
l/glade3-3.8.1-i486-1.txz:  Added.
l/glib-networking-2.32.3-i486-1.txz:  Added.
l/gnome-keyring-3.4.1-i486-1.txz:  Added.
l/gsettings-desktop-schemas-3.4.2-noarch-1.txz:  Added.
l/gvfs-1.12.3-i486-1.txz:  Added.
l/js185-1.0.0-i486-1.txz:  Added.
l/keybinder-0.3.0-i486-1.txz:  Added.
l/libcanberra-0.29-i486-1.txz:  Added.
l/libgnome-keyring-3.4.1-i486-1.txz:  Added.
l/libproxy-0.4.7-i486-1.txz:  Added.
l/libsoup-2.38.1-i486-1.txz:  Added.
l/libtasn1-2.12-i486-1.txz:  Added.
l/media-player-info-17-noarch-1.txz:  Added.
  Added nspr-config and nss-config.
l/sound-theme-freedesktop-0.7-noarch-1.txz:  Added.
xap/network-manager-applet-0.9.4.1-i486-1.txz:  Added.
xfce/Terminal-0.4.8-i486-1.txz:  Added.
xfce/Thunar-1.4.0-i486-1.txz:  Added.
xfce/exo-0.8.0-i486-1.txz:  Added.
xfce/garcon-0.2.0-i486-1.txz:  Added.
xfce/gtk-xfce-engine-3.0.0-i486-1.txz:  Added.
xfce/libxfce4ui-4.10.0-i486-1.txz:  Added.
xfce/libxfce4util-4.10.0-i486-1.txz:  Added.
xfce/libxfcegui4-4.10.0-i486-1.txz:  Added.
xfce/orage-4.8.3-i486-1.txz:  Added.
xfce/tumbler-0.1.25-i486-1.txz:  Added.
xfce/xfce4-appfinder-4.10.0-i486-1.txz:  Added.
xfce/xfce4-clipman-plugin-1.2.3-i486-1.txz:  Added.
xfce/xfce4-dev-tools-4.10.0-i486-1.txz:  Added.
xfce/xfce4-mixer-4.8.0-i486-1.txz:  Added.
xfce/xfce4-panel-4.10.0-i486-1.txz:  Added.
xfce/xfce4-screenshooter-1.8.1-i486-1.txz:  Added.
xfce/xfce4-session-4.10.0-i486-1.txz:  Added.
xfce/xfce4-settings-4.10.0-i486-1.txz:  Added.
xfce/xfce4-systemload-plugin-1.1.0-i486-1.txz:  Added.
xfce/xfce4-taskmanager-1.0.0-i486-1.txz:  Added.
xfce/xfce4-volumed-0.1.13-i486-1.txz:  Added.
xfce/xfce4-weather-plugin-0.7.4-i486-1.txz:  Added.
xfce/xfconf-4.10.0-i486-1.txz:  Added.
xfce/xfdesktop-4.10.0-i486-1.txz:  Added.
xfce/xfwm4-4.10.0-i486-1.txz:  Added.
xfce/xfwm4-themes-4.10.0-i486-1.txz:  Added.
Only Removed
Code:
xap/xfce-4.6.2-i486-5.txz:  Removed.

Last edited by inph; 07-22-2012 at 10:26 PM.
 
Old 07-23-2012, 12:44 AM   #2
inph
LQ Newbie
 
Registered: Jul 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
just confirming: udev-182 fixes the e100 firmware loading problems I was having mentionted in the Friday 13th thread.

Only one udev error on boot now: udevd: could not find module by name='rtc_cmos'

--

multiple udev's explains the error:
udevd: bind failed: Address already in use
udevd: error binding control socket, seems udevd is already running
which was present in my logs for udev-165.

Last edited by inph; 07-23-2012 at 12:49 AM.
 
Old 07-23-2012, 12:44 AM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Ah, very nice. I felt I could have added to the contribution beforehand since I saw udev-165 load even though I recall we upgraded udev before, heh.
Code:
# dmesg | grep udev
[    7.071316] udev[1078]: starting version 165
[   12.691919] udevd[1375]: starting version 175
[   12.782308] udevd[1375]: converting old udev database
[   21.805272] udevd[1898]: starting version 175
Yes yes I realize the 165 version is from not upgrading my initrd.

Glad to see xfce has it's own package series now, was waiting for that.

Last edited by TommyC7; 07-23-2012 at 01:36 AM.
 
Old 07-23-2012, 03:01 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
That's GREAT news. And according to Murphy's law, I just finished writing dozens of SlackBuild scripts to have just that with Slackware13.37. Well, that's how you learn.
 
Old 07-23-2012, 03:18 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I prepared, for personal testing, some isos with the latest updates to -current : there are mini isos for installing using a local and remote mirror and dvd isos (omitting the ./source folder).
Hope they can be useful for anybody wanting to try an install from scratch of slackware*-14.0 beta

http://ponce.cc/slackware/iso/

you can get them with a "wget -c" or by rsync: for example, to get the dvd iso for slackware64-current (mind the dot at the end of the line)
Code:
rsync -vP rsync://ponce.cc/pub/iso/slackware64-current-install-dvd.iso .
if you don't want to risk trying these, I think very soon also Alien BOB's ones with the latest updates will be available
http://taper.alienbase.nl/mirrors/sl...e-current-iso/
http://taper.alienbase.nl/mirrors/sl...4-current-iso/

Last edited by ponce; 07-23-2012 at 03:22 AM.
 
  


Reply



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
Slackware64 -current update July 19 2012: Thunar is throwing icon errors TL_CLD Slackware 3 07-19-2012 08:41 AM
[SOLVED] Openbox runs lots of stuff (not set on autostart) at startup after the last upgrade the dsc Linux - Desktop 1 01-03-2012 05:14 PM
KDE Menu Missing Lots of Stuff progrock SUSE / openSUSE 3 10-09-2007 11:56 AM
LXer: KDE Commit-Digest for 22nd July 2007 LXer Syndicated Linux News 0 07-23-2007 01:16 AM
lots of quick questions, help please (kernel, installing stuff, etc) ixp Linux - Software 10 12-30-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:28 PM.

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