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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-21-2012, 01:35 AM
|
#181
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Rep:
|
Quote:
Originally Posted by cwizardone
I've spent the last 24 hours trying to do a fresh install of 13.37 (64bit) and then "upgrade" (Ha) to -current. I've made at least 3 attempts from scratch. Might be four. At this point I'm so tired I don't remember. Each time there was a problem and I finally figured it out....
But this is the last straw... I had everything working well, except Xfce, but KDE 4.8.4 was working OK. NetworkManager still doesn't work, but wicd is doing the job for now.
Just when I thought all was nearly done, I fired up KDE and the whole desktop went upside down and backwards. You can see it start from the splash screen. It happens to both user and root.
Picture attached. I didn't crop out the HP logo so you can see this isn't some sort of trick.
|
I've had this problem before. You'll have to rebuild your nvidia drivers I suppose.
|
|
|
1 members found this post helpful.
|
07-21-2012, 08:27 AM
|
#182
|
|
Member
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 186
Rep:
|
Quote:
Originally Posted by cwizardone
I fired up KDE and the whole desktop went upside down and backwards. You can see it start from the splash screen. It happens to both user and root.
Picture attached. I didn't crop out the HP logo so you can see this isn't some sort of trick.
|
If you are using a binary video driver, have you reinstalled it?
|
|
|
1 members found this post helpful.
|
07-21-2012, 08:39 AM
|
#183
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,754
Rep: 
|
Quote:
Originally Posted by TommyC7
No offense to you cwizardone (I know you're having a real problem), but that's hilarious. There seems to be a lot of things with SCSI drivers though, and I've run into one of them too it seems...
|
If you like that one, you'll love this one. This was back on 8 May 2012. I started a fresh install and went to the corner market for a few minutes. I came back, grabbed a cup of coffee, and sat down in front of the monitor to find the installation had frozen and this is what was on the screen. Seems there are some bugs or old data hidden in the installation software somewhere. 
|
|
|
|
07-21-2012, 08:42 AM
|
#184
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,754
Rep: 
|
@Alekow & Rpedrica,
I deleted the ~.kde directory and re-started. So far, so good.
|
|
|
|
07-21-2012, 11:39 AM
|
#185
|
|
Member
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.0 (3.9.3) UEFI enabled
Posts: 281
Rep:
|
Your not alone
Quote:
Originally Posted by cwizardone
@Alekow & Rpedrica,
I deleted the ~.kde directory and re-started. So far, so good.
|
I had the upside down reverse screen a few months ago.
It happened when messing with the Nvidia driver.
I normally use nouveau.
I remember deleting the .kde directory and doing a:
"upgradepkg --reinstall" kde, x, and maybe l also. I really don't remember anymore. It certainly was shocking. I immediately thought some one was playing a cruel joke
john
|
|
|
1 members found this post helpful.
|
07-21-2012, 01:14 PM
|
#186
|
|
Member
Registered: Feb 2010
Distribution: Slackware
Posts: 83
Rep:
|
/dev/root
Not sure if this is a result of the latest upgrades, everything is running smoothly here but noticed that the /dev/root link is not there anymore, found out when running lilo after compiling a custom 3.4 kernel, it failed since lilo.conf has "boot = /dev/root", workaround is easy but why has /dev/root disappeared?
Thanks.
Quote:
# ls -lh /dev/root
/bin/ls: cannot access /dev/root: No such file or directory
|
|
|
|
|
07-21-2012, 02:06 PM
|
#187
|
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 603
|
Quote:
Originally Posted by dr.s
Not sure if this is a result of the latest upgrades, everything is running smoothly here but noticed that the /dev/root link is not there anymore, found out when running lilo after compiling a custom 3.4 kernel, it failed since lilo.conf has "boot = /dev/root", workaround is easy but why has /dev/root disappeared?
Thanks.
|
How did "boot = /dev/root" end up in lilo.conf? Did liloconfig do that somehow?
Upstream udev dropped the /dev/root symlink because it was really never supposed to be used for anything. Frankly, I'm not sure why the kernel ever provided it in the first place. It used to know what the actual root partition was without requiring an initrd to figure it out, but perhaps that's because the kernel used to need to be prepped with "rdev", which is long obsolete.
|
|
|
|
07-21-2012, 02:40 PM
|
#188
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,787
|
Problem remains with mkinitrd: boot fail as rootdev is not mounted.
I did a fresh installatin of -current in its state after update dated Wed Jul 18 20:21:15 UTC 2012.
As / has an ext4 file system I made an initrd with the usual command:
Code:
mkinitrd -c -k 3.2.23-smp -m ext4
Updated /etc/lilo.conf, re-ran lilo, rebooted and just after loading the three modules needed for ext4 I see:
Code:
mounting /dev on /mnt failed: Block device required

Last edited by Didier Spaier; 07-21-2012 at 03:04 PM.
|
|
|
|
07-21-2012, 02:40 PM
|
#189
|
|
Member
Registered: Feb 2010
Distribution: Slackware
Posts: 83
Rep:
|
Quote:
Originally Posted by volkerdi
How did "boot = /dev/root" end up in lilo.conf? Did liloconfig do that somehow?
Upstream udev dropped the /dev/root symlink because it was really never supposed to be used for anything. Frankly, I'm not sure why the kernel ever provided it in the first place. It used to know what the actual root partition was without requiring an initrd to figure it out, but perhaps that's because the kernel used to need to be prepped with "rdev", which is long obsolete.
|
Running liloconfig fails on my machine with the message below, so I copied (a very old) lilo.conf, edited it manually and ran lilo. That old copy had "boot = /dev/root" in it.
Code:
# liloconfig
liloconfig: couldn't open /tmp/lilotmp1: No such file or directory
|
|
|
|
07-21-2012, 03:45 PM
|
#190
|
|
Member
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 64
Rep:
|
Hello,
Quote:
Originally Posted by hotchili
Hello,
since the big update, Kaffeine can't play video from my DVB-S Card.
It claims "No Device", but I can still watch DVB-S channels with mplayer.
Have already recompiled Kaffeine, but didn't help. If anyone has an idea...
EDIT: Found out more, this seems to be a bug in udev or kaffeine
https://bugs.gentoo.org/show_bug.cgi?id=372489
Kaffeine gets the path to the dvb device wrong...
|
just FYI, I upgraded udev to version 182 and kaffeine works fine again.
I had to make some small changes to the udev.SlackBuild:
--libexecdir=/lib/udev becomes --libexecdir=/lib (else everything ends up in /lib/udev/udev)
just before scsi_id is linked into /sbin:
[ ! -d $PKG/sbin ] && mkdir $PKG/sbin
after udevd gets moved to /sbin, had to move udevadm too:
mv $PKG/usr/bin/udevadm $PKG/sbin
rm -rf $PKG/usr/bin
In the docs section:
extras/keymap/README.keymap.txt becomes src/keymap/README.keymap.txt
And the patch rule_generator.diff.gz had to be reformatted but is more or less the same.
Last edited by hotchili; 07-21-2012 at 04:06 PM.
|
|
|
|
07-21-2012, 03:57 PM
|
#191
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,787
|
Could missing /dev/root and booting with in initrd failing be related
I did notice that I have:
Code:
bash-4.2# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 10G 6.8G 2.7G 72% /
/dev/sda3 103G 48G 51G 49% /13.37
tmpfs 1.5G 0 1.5G 0% /dev/shm
/dev/sda2 32G 30G 2.6G 92% /windows
bash-4.2#
Though the /dev/root link doesn't exist anymore, as pointed out by dr.s in post #186 of this thread.
Could booting with an initrd failing (see my post #188) be related to that?
EDIT
Code:
bash-4.2# cat /etc/fstab
/dev/sda6 swap swap defaults 0 0
/dev/sda5 / ext4 defaults 1 1
/dev/sda3 /13.37 ext4 defaults 1 2
/dev/sda2 /windows ntfs-3g fmask=133,dmask=022 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
bash-4.2#
So I don't know why "df -h" writes /dev/root instead of /dev/sda5 
Last edited by Didier Spaier; 07-23-2012 at 02:27 AM.
Reason: Typo in title corrected
|
|
|
|
07-21-2012, 04:29 PM
|
#192
|
|
Member
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 64
Rep:
|
This is from mkinitrd:
Quote:
and if "mount" returns /dev/root as the root device,
use readlink to resolve the device pointed to by the /dev/root
symlink
|
Maybe it tried to resolve /dev/root but fails and then gets something wrong.
cat /boot/initrd-tree/rootdev to see what mkinitrd set as rootdev.
You could try mkinitrd with -f ext4 -r /dev/sda5 and see if your initrd error goes away.
|
|
|
|
07-21-2012, 05:02 PM
|
#193
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,787
|
Quote:
Originally Posted by hotchili
You could try mkinitrd with -f ext4 -r /dev/sda5 and see if your initrd error goes away.
|
Thanks hocthili, that did the trick.
I did "cat /boot/initrd-tree/rootdev" before running mkinitrd again and it returned /dev/
I guess you are right, at first mkinitrd tried to resolve /dev/root but failed as /dev/root did not exist.
EDIT I just looked at /sbin/mkinitrd and can confirm your assumption
Code:
# If $ROOTDEV and $ROOTFS are not set, assume we want the
# values for the currently mounted /
# (unless we find that values are already set in the initrd-tree):
if [ -z "$ROOTDEV" -a -z "$(cat $SOURCE_TREE/rootdev 2>/dev/null)" ]; then
ROOTDEV=$(mount | grep ' on / ' | cut -f 1 -d ' ')
if [ "$ROOTDEV" = "/dev/root" ]; then # find real root device
ROOTDEV="/dev/$(readlink /dev/root)"
fi
fi
In my case $ROOTDEV was not set and the source tree didn't exist yet, but "mount" returned /dev/root as / filesystem hence $(readlink /dev/root) was null and $ROOTDEV was set to /dev/
So the real problem seems to be "why do the mount command return /dev/root as filesystem for / here?"
PS for Pat: maybe the script could issue a warning in case $(readlink /dev/root) be null? Or look at /etc/fstab in that case?
PS2 I notice that whilst a generic kernel is used "mount" report the real device name for / (in my case /dev/sda5). Unfortunately chances are that mkinitrd be run whilst using a huge kernel...
Last edited by Didier Spaier; 07-21-2012 at 05:53 PM.
Reason: Added EDIT ...
|
|
|
|
07-22-2012, 10:12 AM
|
#194
|
|
Member
Registered: May 2005
Location: Greece
Posts: 372
Rep:
|
Quote:
Originally Posted by catfoo
My luks container never gets unlocked. If I try to run 'cryptsetup' from that shell, the error message is 'Cannot initialize crypto RNG backend.'
At this point I'm beginning to think that my kernel config is the problem. I'm seeing that some things I've always built as modules (i.e. ext4, mbcache, etc.) are now built into the kernel.
|
Quote:
Originally Posted by catfoo
Up and running 3.4.6 now after using the default /boot/config-generic-smp-3.2.23-smp file.
I do find it curious that the new /boot/initrd-tree/dev folder still doesn't have the random and urandom nodes. I'll just assume it has to do with differences in the kernel configuration until someone tells me otherwise.
Thanks for the help.
|
Is CONFIG_DEVTMPFS disabled in the kernel that is failing ?
udevd (according to the manpage) should copy the devices from /lib/udev/devices so /dev/urandom should be in /dev. However, for some reason it doesn't get copied (at least in my case and yours) and cryptsetup fails. If CONFIG_DEVTMPFS is enabled (as it is in the generic slackware kernel) then the devices are present and everything works fine.
|
|
|
|
07-22-2012, 12:25 PM
|
#195
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Rep: 
|
devtmpfs is *required* - go ahead and enable it.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:30 PM.
|
|
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
|
|