LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Sunday July 22nd The lots of shiny stuff update and a udev story (http://www.linuxquestions.org/questions/slackware-14/sunday-july-22nd-the-lots-of-shiny-stuff-update-and-a-udev-story-4175418158/)

inph 07-22-2012 10:14 PM

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.

inph 07-23-2012 12:44 AM

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.

TommyC7 07-23-2012 12:44 AM

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.

kikinovak 07-23-2012 03:01 AM

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.

ponce 07-23-2012 03:18 AM

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/


All times are GMT -5. The time now is 05:46 AM.