Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
11-25-2015, 06:07 AM
#541
LQ Newbie
Registered: Nov 2010
Location: US-Pennsylvania
Distribution: Slackware64-15.0, Slackware-current, Slackware64-current, Slackwareaarch64-current
Posts: 29
Rep:
LiLo 24.2 not working.
Quote:
Originally Posted by
cwizardone
It appears LiLo 24.2 is still referencing udev:
Code:
# lilo
lilo: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
I have been running a minimal install of Slackware64-current on this machine since it was built a year and a half ago. This is first problem I have run into with -current.
Packages installed:
Code:
# ls /var/log/packages/
aaa_base-14.1-x86_64-1 gnupg-1.4.19-x86_64-2 net-snmp-5.7.3-x86_64-2
aaa_elflibs-14.1-x86_64-3 gnutls-3.4.4.1-x86_64-1 net-tools-1.60.20120726git-x86_64-1
aaa_terminfo-5.9-x86_64-1 gptfdisk-1.0.0-x86_64-1 network-scripts-14.2-noarch-1
acl-2.2.52-x86_64-1 grep-2.22-x86_64-1 nfs-utils-1.3.1-x86_64-1
alsa-lib-1.1.0-x86_64-1 groff-1.22.3-x86_64-1 ntp-4.2.8p4-x86_64-1
alsa-oss-1.0.28-x86_64-1 gzip-1.6-x86_64-1 openssh-7.1p1-x86_64-1
alsa-utils-1.1.0-x86_64-1 hdparm-9.48-x86_64-1 openssl-solibs-1.0.1p-x86_64-1
apcupsd-3.14.12-x86_64-1_SBo htop-1.0.3-x86_64-1 pciutils-3.4.0-x86_64-1
attr-2.4.47-x86_64-1 icecast-2.4.2-x86_64-1_SBo perl-5.22.0-x86_64-1
bash-4.3.042-x86_64-1 infozip-6.0-x86_64-3 pkgtools-14.2-noarch-4
bin-11.1-x86_64-1 iptables-1.4.21-x86_64-1 polkit-0.105-x86_64-4
binutils-2.25.1-x86_64-1 iputils-s20140519-x86_64-1 portmap-6.0-x86_64-1
bluez-4.101-x86_64-2 kernel-firmware-20151122git-noarch-1 pyserial-2.7-x86_64-1_SBo
bluez-firmware-1.2-x86_64-1 kernel-generic-4.1.13-x86_64-1 python-2.7.10-x86_64-2
bluez-hcidump-2.5-x86_64-1 kernel-huge-4.1.13-x86_64-1 readline-6.3-x86_64-2
bzip2-1.0.6-x86_64-1 kernel-modules-4.1.13-x86_64-1 rsync-3.1.1-x86_64-1
coreutils-8.24-x86_64-1 kmod-22-x86_64-1 screen-4.3.1-x86_64-2
cpio-2.11-x86_64-2 lame-3.99.5-x86_64-1_SBo sed-4.2.2-x86_64-1
curl-7.45.0-x86_64-1 less-481-x86_64-1 shadow-4.2.1-x86_64-1
cyrus-sasl-2.1.26-x86_64-1 libgudev-230-x86_64-1 sharutils-4.15-x86_64-1
darkice-1.2-x86_64-1 libmad-0.15.1b-x86_64-3 slackpkg-2.82.0-noarch-14
dcron-4.5-x86_64-4 libmpc-1.0.3-x86_64-1 slocate-3.1-x86_64-4
devs-2.3.1-noarch-25 libnl-1.1.4-x86_64-1 strace-4.10-x86_64-1
dhcpcd-6.8.2-x86_64-2 libogg-1.3.2-x86_64-1 sysklogd-1.5-x86_64-2
dialog-1.2_20130523-x86_64-1 liboggz-1.1.1-x86_64-1 syslinux-4.06-x86_64-1
diffutils-3.3-x86_64-1 libsamplerate-0.1.8-x86_64-1 sysvinit-2.88dsf-x86_64-4
dmidecode-2.12-x86_64-1 libsigsegv-2.10-x86_64-1 sysvinit-scripts-2.0-noarch-24
e2fsprogs-1.42.13-x86_64-2 libtheora-1.1.1-x86_64-1 tar-1.26-x86_64-1
efibootmgr-0.5.4-x86_64-1 libvorbis-1.3.5-x86_64-1 telnet-0.17-x86_64-2
elilo-3.16-x86_64-1 libxml2-2.9.2-x86_64-2 time-1.7-x86_64-1
etc-14.2-x86_64-4 libxslt-1.1.28-x86_64-2 traceroute-2.0.19-x86_64-1
eudev-3.1.5-x86_64-6 lilo-24.2-x86_64-1 usbutils-007-x86_64-3
file-5.25-x86_64-1 lm_sensors-3.4.0-x86_64-1 utempter-1.1.5-x86_64-1
findutils-4.4.2-x86_64-1 logrotate-3.8.9-x86_64-1 util-linux-2.26.2-x86_64-2
flex-2.5.39-x86_64-1 man-1.6g-x86_64-3 wget-1.17-x86_64-1
gawk-4.1.3-x86_64-1 man-pages-4.02-noarch-1 which-2.20-x86_64-1
glibc-2.22-x86_64-1 mkinitrd-1.4.8-x86_64-4 wireless-tools-29-x86_64-9
glibc-i18n-2.22-x86_64-1 mpfr-3.1.3-x86_64-1 wpa_supplicant-2.4-x86_64-2
glibc-profile-2.22-x86_64-1 mpg123-1.21.0-x86_64-1 xz-5.2.2-x86_64-1
glibc-solibs-2.22-x86_64-1 nano-2.4.3-x86_64-1
glibc-zoneinfo-2015g-noarch-1 ncurses-5.9-x86_64-4
Let me know if any other information is needed.
Thank you.
11-25-2015, 06:50 AM
#542
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Rep:
there are 2 updates that I would like to see in -current still
that is the update of util-linux to 2.27.x
and gegl update from 0.2 to 0.3 (these should be able to be build/installed in parallel)
11-25-2015, 06:54 AM
#543
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
Quote:
Originally Posted by
Bravo_97
It appears LiLo 24.2 is still referencing udev:
Code:
# lilo
lilo: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
Remove the blacklist entry for your elflibs and get that updated.
11-25-2015, 07:38 AM
#544
LQ Newbie
Registered: Nov 2010
Location: US-Pennsylvania
Distribution: Slackware64-15.0, Slackware-current, Slackware64-current, Slackwareaarch64-current
Posts: 29
Rep:
Quote:
Originally Posted by
bassmadrigal
Remove the blacklist entry for your elflibs and get that updated.
That worked. Thank you very much!
11-27-2015, 11:39 AM
#546
Member
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375
Rep:
Quote:
Originally Posted by
bartgymnast
that is the update of util-linux to 2.27.x
I remember reading that 2.27 changed the way /etc/mtab was read/used, so that may be the reason why it hasn't been upgraded from 2.26.x.
11-27-2015, 08:42 PM
#547
Member
Registered: Jun 2015
Distribution: Debian Jessie 64
Posts: 163
Rep:
Sorry. I goofed. please delete.
Last edited by pzognar; 11-27-2015 at 08:44 PM .
Reason: wrong thread!
11-27-2015, 09:31 PM
#548
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Don't know if it was posted already, but grub-2.02~beta2 has been out for about two years now and has been fairly stable.
I would recommend adding this patch to ensure booting with BtrFS as root works without a problem:
grub_gpt_legacy_detection_btrfs.patch
Code:
diff -Naur grub-2.02~beta2.orig/Makefile.util.def.orig grub-2.02~beta2/Makefile.util.def
--- grub-2.02~beta2.orig/Makefile.util.def.orig 2014-05-20 15:13:30.969701269 +0200
+++ grub-2.02~beta2/Makefile.util.def 2014-05-20 15:19:23.271715952 +0200
@@ -384,7 +384,7 @@
ldadd = libgrubgcry.a;
ldadd = libgrubkern.a;
ldadd = grub-core/gnulib/libgnu.a;
- ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
+ ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
};
program = {
diff -Naur grub-2.02~beta2.orig/util/grub.d/10_linux.in grub-2.02~beta2/util/grub.d/10_linux.in
--- grub-2.00.orig/util/grub.d/10_linux.in 2012-04-18 23:24:38.000000000 +0200
+++ grub-2.00/util/grub.d/10_linux.in 2012-06-30 07:53:03.765625589 +0200
@@ -198,7 +198,8 @@
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
+ "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" \
+ "initrd.gz"; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break
diff -Naur grub-2.02~beta2.orig/util/grub.d/00_header.in grub2-2.02~beta2/util/grub/00_header.in
--- grub-2.02~beta2.orig/util/grub.d/00_header.in 2013-12-24 08:45:34.000000000 -0800
+++ grub-2.02~beta2/util/grub.d/00_header.in 2015-01-27 21:55:45.697000000 -0800
@@ -153,7 +153,7 @@
EOF
else
for dir in "${pkgdatadir}" "`echo '/@bootdirname@/@grubdirname@' | sed "s,//*,/,g"`" /usr/share/grub ; do
- for basename in unicode unifont ascii; do
+ for basename in unicode unifont dejavusansmono ascii; do
path="${dir}/${basename}.pf2"
if is_path_readable_by_grub "${path}" > /dev/null ; then
font_path="${path}"
@@ -166,7 +166,7 @@
if [ -n "${font_path}" ] ; then
cat << EOF
if [ x\$feature_default_font_path = xy ] ; then
- font=unicode
+ font=dejavusansmono
else
EOF
# Make the font accessible
@@ -179,7 +179,7 @@
EOF
else
cat << EOF
-if loadfont unicode ; then
+if loadfont dejavusansmono ; then
EOF
fi
fi
diff -Naur grub-2.02~beta2.orig/util/grub-mkconfig.in grub-2.02~beta2/util/grub-mkconfig.in
--- grub-2.02~beta2.orig/util/grub-mkconfig.in 2013-12-24 08:46:40.000000000 -0800
+++ grub-2.02~beta2/util/grub-mkconfig.in 2015-01-26 23:39:24.521000000 -0800
@@ -129,8 +129,9 @@
fi
# Device containing our userland. Typically used for root= parameter.
-GRUB_DEVICE="`${grub_probe} --target=device /`"
-GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE} --target=fs_uuid 2> /dev/null`" || true
+GRUB_DEVICE="`${grub_probe} --target=device /`" || GRUB_DEVICE="`legacy_find_root_device`"
+GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE} --target=fs_uuid 2> /dev/null`" || \
+ GRUB_DEVICE_UUID="`legacy_convert_to_uuid ${GRUB_DEVICE}`"
# Device containing our /boot partition. Usually the same as GRUB_DEVICE.
GRUB_DEVICE_BOOT="`${grub_probe} --target=device /boot`"
diff -Naur grub-2.02~beta2.orig/util/grub-mkconfig_lib.in grub-2.02~beta2/util/grub-mkconfig_lib
--- grub-2.02~beta2.orig/util/grub-mkconfig_lib.in 2013-12-17 13:45:18.000000000 -0800
+++ grub-2.02~beta2/util/grub-mkconfig_lib.in 2015-01-26 23:42:43.932000000 -0800
@@ -264,6 +264,82 @@
echo "$version_find_latest_a"
}
+legacy_find_device ()
+{
+ mount_point=$1
+
+ # Autodetect current root device
+ device=
+ if [ -f /etc/fstab ] ; then
+ device="`awk '$1!~/^#/{
+ if ($2 ~ "^/+$") { $2 = "/"; } else { sub("/*$", "", $2); }
+ if ($2 == "'"$mount_point"'"){
+ print $1;
+ }
+ }' /etc/fstab | tail -n 1`"
+ fi
+
+ if [ -n "$device" ] ; then
+ case "$device" in
+ LABEL=* | UUID=*)
+ device="`findfs $device`"
+ device="`readlink -f "$device"`"
+ ;;
+ *)
+ device=`readlink -f "$device"`
+ ;;
+ esac
+ fi
+
+ echo $device
+}
+
+legacy_find_root_device ()
+{
+ echo "Cannot determine root device. Trying legacy probe method" >&2
+ device="`legacy_find_device /`"
+
+ if [ -z "$device" ]; then
+ echo "Cannot determine root device. Assuming /dev/sda1" >&2
+ echo "This error is probably caused by an invalid /etc/fstab" >&2
+ device=/dev/sda1
+ fi
+
+ echo $device
+}
+
+legacy_convert_to_uuid()
+{
+ echo "Cannot determine uuid of root device. Trying legacy probe method" >&2
+ local dev; dev="$1"
+
+ convert=false
+ case "$dev" in
+ /dev/disk/*)
+ ;;
+ /dev/mapper/*)
+ ;;
+ /dev/evms/[hs]d[a-z][0-9]*)
+ convert=:
+ ;;
+ /dev/evms/*)
+ ;;
+ /dev/md[0-9]*)
+ ;;
+ /dev/*)
+ convert=:
+ ;;
+ esac
+ if $convert; then
+ if [ -b "$dev" ]; then
+ uuid="`blkid -o value -s UUID "$dev" || true`"
+ fi
+ fi
+
+ echo "$uuid"
+}
+
+
# One layer of quotation is eaten by "" and the second by sed; so this turns
# ' into \'.
grub_quote () {
diff -Naur grub-2.02~beta2.orig/util/grub-install.c grub-2.02~beta2/util/grub-install.c
--- grub-2.02~beta2.orig/util/grub-install.c 2013-12-24 08:40:31.000000000 -0800
+++ grub-2.02~beta2/util/grub-install.c.new 2015-01-27 22:07:56.714000000 -0800
@@ -827,7 +827,7 @@
grub_util_host_init (&argc, &argv);
product_version = xstrdup (PACKAGE_VERSION);
pkgdatadir = grub_util_get_pkgdatadir ();
- label_font = grub_util_path_concat (2, pkgdatadir, "unicode.pf2");
+ label_font = grub_util_path_concat (2, pkgdatadir, "dejavusansmono.pf2");
argp_parse (&argp, argc, argv, 0, 0, 0);
This patch restores the legacy device node look up and detection features in /dev with gpt partitioned hard drives.
This patch does affect the build, so autoreconf will need to be ran.
Last edited by ReaperX7; 11-27-2015 at 09:37 PM .
11-28-2015, 12:35 AM
#549
Senior Member
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212
1 members found this post helpful.
11-29-2015, 08:03 AM
#550
Member
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322
Rep:
Not an update, but just a minor bugfix suggestion for the mirrors used by slackpkg.
One on the Dutch mirrors in /etc/slackpkg/mirrors has changed, which would be good to fix.
ftp://ftp.nluug.nl/vol/4/slackware/* should be
ftp://ftp.nluug.nl/vol/2/slackware/*
btw) latest stable release of slackpkg is 2.82, while current still uses 2.81.1
3 members found this post helpful.
11-29-2015, 12:30 PM
#551
Member
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946
slackpkg mirrors
Quote:
Originally Posted by
moesasji
ftp.sunet.se needs to be removed from /etc/slackpkg/mirrors since they no longer host linux distributions
ftp://ftp.sunet.se/pub/Linux/distrib...re/HEADER.html
11-30-2015, 01:21 PM
#552
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 92
Rep:
freetype 2.6.2 is out with major changes to lcd rendering
http://www.freetype.org
1 members found this post helpful.
11-30-2015, 08:44 PM
#553
Member
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Quote:
Originally Posted by
sanjioh
I thank you for the post; normally, upgrades like this, at least for me, would go unnoticed and I would not bother to upgrade, as I do not normally think about the display of fonts on a LCD/LED monitor; if it displays and looks good, that's where I leave it. But your little note about changes to the LCD rendering prompted me to read the developer's notes on the changes made between versions, and I must say, it has been a most interesting read. I, for one, am glad that some people obsess over the display of fonts in many contexts; without them, our fonts would still be stuck in the Stone Age.
Thanks again for the post!
Regards,
Matt
1 members found this post helpful.
12-01-2015, 12:09 AM
#554
Member
Registered: Jan 2012
Distribution: Slackware
Posts: 92
Rep:
You're welcome!
I as well think that font rendering is important, both for eye pleasure and ergonomics. Let's wait for the update to hit the changelog now
finger crossed!
12-01-2015, 01:19 AM
#555
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Yeah, just wait and see. A lot has slowed down since all those updates and upgrades were processed, so right now, there will be a few updates and releases for packages from upstream, but at least the major stuff in already done as far as anyone can tell, and mostly now it's just stray libraries here and there.
All times are GMT -5. The time now is 08:51 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News