LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-13-2013, 12:32 AM   #1
ctag
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Rep: Reputation: Disabled
Sporadic boot to blank screen - Slack 14


Hi!

I'm excited to join the Slacking community. After several years of migrating from Windows to Ubuntu (and finding myself totally reliant on apt-get), I've decided to complete the commitment to better operating systems and delve into Slackware.

That said, I've successfully installed Slackware on an old HP laptop. Had some trouble with LILO and (an existing copy of) GRUB fighting, so I ended up nuking the drive with dd and then reinstalling. Everything went smoothly after that and I'm left with a surprisingly crisp and snappy system.

Onward, to the problem:
I chose Fluxbox as my default window manager, and it worked swell. Then I decided that I really wanted Openbox instead. So I got it from slackbuilds, compiled, and installed it. I then updated my .xinitrc file to reflect the change.
Now, I have what feels like a 50/50 chance of the laptop booting up to a login prompt. The other half of the time, it begins booting, and then right when it would normally flicker, and come back with smaller, cleaner text, it goes blank. The backlight is on, but the screen is black. Furthermore, I can still log in after waiting a reasonable amount of time and blindly entering my name and pass, then I can execute 'startx' and openbox successfully launches.

Once in openbox, I can use ctrl-alt-bkspc to close the window manager, and end up with a working shell, what I expect to get on initial boot.

I'm willing to upload any configuration files that may be pertinent, or even a video of it booting, please let me know what I should include.

All in all, it would be pretty straightforward to re-install, but I'd like to at least try fixing the problem first, otherwise I won't learn anything.

***
It seems weird to mention .xinitrc and then not include it, so I've copied off the computer. Here it is.

.xinitrc:
Code:
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap

# Create default user directory & populate it if not already existent
if [ ! -d $HOME/.config/openbox ]; then
  mkdir -p $HOME/.config/openbox
  cat /etc/xdg/openbox/menu.xml > $HOME/.config/openbox/menu.xml
  cat /etc/xdg/openbox/rc.xml > $HOME/.config/openbox/rc.xml
fi

# Not sure what I'm doing, going to open xcompmgr
xcompmgr &

# Desktop background
feh --bg-center /home/ctag/wallpaper/space-ship.jpg

if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session dbus-launch --exit-with-session openbox
else
  exec openbox
fi
And .xprofile:
Code:
#!/bin/sh

# xcompmgr
# xcompmgr &
Thanks for reading,
-ctag

Last edited by ctag; 07-13-2013 at 01:02 AM. Reason: added .xinitrc
 
Old 07-13-2013, 10:03 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,121

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
This sounds like it may be a different problem (X is not running during boot). The symptoms you describe have cropped up not too long ago and were fixed in the 3.2.45 kernel.

Have you installed all the patches?

Have you installed the kernel update to version 3.2.45? Do this:
Code:
uname -a
Linux your_system_name 3.2.45 #2 SMP (and other stuff)
Does your system use Intel graphics (lspci will show you, your version may differ)?
Code:
lspci | grep -i graphic
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
If you haven't done all the patches, the easy way is to create a directory in /usr/local
Code:
su -
<root password>
mkdir -p /usr/local/patches
cd /usr/local/patches
# use this one for 32-bit
wget ftp://ftp.osuosl.org/pub/slackware/slackware-14.0/patches/packages/*
# use this one for 64-bt
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-14.0/patches/packages/*
<wait a while>
upgradepkg *.t?z
That will bring system software up to the current stable level (be sure to use either the 32-bit or the 64-bit line above, don't do both).

Now the kernel. The kernel should be at 3.2.45. You're still in /usr/local/patches, so
Code:
mkdir linux-3.2.45
cd linux-3.2.45
# use this for 32-bit
wget ftp://ftp.osuosl.org/pub/slackware/slackware-14.0/patches/packages/linux-3.2.45/*
# use this for 64-bit
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-14.0/patches/packages/linux-3.2.45/*
<wait a while>
upgradepkg --reinstall *.t?z
You must run lilo. Look at /etc/lilo.conf, down at the bottom it should look like this:
Code:
tail /etc/lilo.conf
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = Linux
  read-only
# Linux bootable partition config ends
Yours may vary a little, perhaps the root partition, but if you installed the default system, that's pretty much what it's going to look like.

Execute lilo:
Code:
lilo
Then you can reboot -- all the above brings your system to the current stable level.

Note that when you upgrade the kernel it's going to take while (well, all the above upgrades are going to take a while truth be known) -- minutes, not hours, but maybe quite a few minutes, don't worry about that.

All the above assumes that you installed default Slackware and have not done a custom kernel (where you compiled the kernel yourself). There are other ways to get the patches and apply them but the above is easy and fast (depending on your Internet connection speed, of course) and gets you up to date quickly.

Hope this helps some.
 
1 members found this post helpful.
Old 07-13-2013, 10:04 AM   #3
adelabarra
Member
 
Registered: May 2008
Location: Argentina
Distribution: Debian, Slackware
Posts: 49

Rep: Reputation: 3
Hello:
May be it is a video prblem.
Did you check any log or message files?
There should be something there...
May be i am a little newbie but donīt understand exactly if you enter fluxbox directly from booting.

Regards,

Alejandro
P.S:
Quote:
so I ended up nuking the drive
Excellent! Iīd never heard that expression before.
 
Old 07-13-2013, 10:26 AM   #4
ctag
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
adelabarra,

I'm not sure where to check for an error or message log. I have Slack set to boot to a terminal (it's default, I believe) from which I can log into either root or my regular account and then load openbox if I want a desktop.

;D Yeah, it's an expression I picked up from Darik's Boot and Nuke project to securely erase HDs.

tronayne,

I heard about patches while going through the new user install guides, but to my knowledge have not installed any of them.

Output of uname:
Code:
root@BBX-oldtop:~# uname -a 
Linux BBX-oldtop 3.2.45-smp #2 SMP Fri May 31 16:57:40 CDT 2013 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz GenuineIntel GNU/Linux
It says 3.2.45, but I didn't specifically update the kernel, I believe it came with the DVD iso.

Output of lspci:
Code:
root@BBX-oldtop:~# lspci | grep -i graphic
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Looks like Intel.

Installing patches; then kernel; then update lilo. Will either update this post or reply back when finished.

***
The updating went much faster than expected, but I didn't see any glaring error output.

updated lilo:
Code:
root@BBX-oldtop:/usr/local/patches/linux-3.2.45# lilo
Warning: LBA32 addressing assumed
Added slax  *
One warning was issued.
***

Thank you!,
-ctag

Last edited by ctag; 07-13-2013 at 10:57 AM.
 
Old 07-13-2013, 10:52 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,121

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
There was a glitch in one or two copies of the 3.2.45 kernel (having to do with black screen with Intel graphics); the version at osuosl.org is the current, working, one and it won't hurt to do the upgradepkg --reinstall *.t?z just to make sure. The symptoms were when the switch is made during boot, the screen goes black.

It could also be a hardware problem but I'd do the software first then dig into the hardware (might be as simple as a pinched cable or loose connector, but then...).
 
Old 07-13-2013, 11:05 AM   #6
ctag
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Ah, good to know.

Finished updating and reloading lilo. Rebooted about six or seven times successfully, I think that squashed it.

Next on my list will be sorting out the difference between slackpkg, installpkg, and updatepkg.

Thanks again for the help,
-ctag
 
Old 07-13-2013, 11:19 AM   #7
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,121

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Hey, glad to know you got going.
 
Old 07-13-2013, 11:38 AM   #8
r.vaillancourt
LQ Newbie
 
Registered: Oct 2012
Posts: 20

Rep: Reputation: 0
I have this same problem, except I'm using Radeon HD 6480G Graphics.
When it hits the framebuffer during boot I get the black screen or sometimes I get a bar code screen, when (if) it come back in it come in around DRM or bluetooth. I am up to date with 64-14 stable. So...
Would like to see more feedback on this subject.

Last edited by r.vaillancourt; 07-14-2013 at 12:27 PM.
 
Old 07-14-2013, 11:34 AM   #9
ctag
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
r.vaillancourt, your post looks like it got cut off, mind editing it?

--

Well, I must have rebooted and shutdown the laptop about thirty times yesterday, and right before I went to bed, it booted to a blank screen again. Seems to have the same problem today :-[

I'm going to leave the thread open to suggestions, but I'll likely reformat and reinstall to see if the problem stems from me messing around or something hardware/software with Slack.
 
Old 11-10-2013, 03:00 PM   #10
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
I've set my slack so that I do username, password then startx.
After doing slackpg upgrade-all, I got a black screen after doing startx.

Installed (again) a saved amd-driver-installer-12.6-legacy-x86.x86_64.run

it worked. Did aticonfig --initial --input/etc/X11/etc/xorg.conf
rebooted
and all is well.
 
Old 11-10-2013, 03:04 PM   #11
ctag
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks WilliamS, I'll give that workaround a shot next time I have issues like this!
 
  


Reply


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
no command prompt, just blank screen installing slack 12 richcricketz Slackware - Installation 3 12-17-2007 03:58 PM
Slack 10.2 Ker 2.6.8.1 RTAI 3.1 Blank screen Pier Slackware 4 11-06-2005 03:29 PM
Newbie, installed Slack 10.1, X11 gives blank screen on Trident CyberBlade i1. UnnDunn Slackware 6 03-11-2005 11:57 AM
Blank screen after installing Slack 10? BajaNick Slackware 3 01-09-2005 05:07 AM
Blank screen even before BIOS screen on boot josce Linux - Laptop and Netbook 3 01-04-2005 09:27 AM


All times are GMT -5. The time now is 01:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration