LinuxQuestions.org
Review your favorite Linux distribution.
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 10-07-2012, 02:18 PM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Unhappy Attempt to get Slackware Graphical Boot working ends in Segfault.


I've been following the handbook for adding a Graphical Startup screen to Slackware here:

Code:
http://wiki.linuxquestions.org/wiki/Slackware-Guides-Graphical_Boot
I have all the paths set up correctly in the RC scripts but each time I attempt to boot with it I get this error:

rc.S-Wrap Segmentation Fault 1361 at Line 47 /boot/initrd/bin/busybox /boot/initrd/sbin/fbsplash -i /boot/GSplash/fbsd.config -f /boot/GSplash/fbfifo -s /boot/GSplash/shutdown.ppm &

To which I have to then chroot using the install media change the inittab paths back to the original one so I can boot again.

I've also included my scripts so please give me some insight if I didn't set something correctly.

My paths are as such for fbsplash and busybox and I am booting with fb0 enabled in /dev via the vga=791 flag for my bootloader.

Any help would be appreciated.
Attached Files
File Type: txt rc.6-Wrap.txt (1.6 KB, 21 views)
File Type: txt rc.M-Wrap.txt (1.6 KB, 12 views)
File Type: txt rc.S-Wrap.txt (1.2 KB, 15 views)
 
Old 10-07-2012, 03:38 PM   #2
Beelzebud
Member
 
Registered: Oct 2010
Distribution: Arch & Slackware
Posts: 96

Rep: Reputation: 29
I tried this last night, and had the same result. I also saw a bunch of errors relating to the x server trying to start up a bunch of times. I'm not sure what to do to get it to work.
 
Old 10-07-2012, 07:49 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Well, I have inittab set to load gdm as my display manager on runlevel 4. Maybe it has something to do with that?

I wonder if using runlevel 3 and not allow X11 to load might help any.

Last edited by ReaperX7; 10-08-2012 at 02:15 AM.
 
Old 10-08-2012, 01:10 PM   #4
Beelzebud
Member
 
Registered: Oct 2010
Distribution: Arch & Slackware
Posts: 96

Rep: Reputation: 29
That's a good observation. I was still running in runlevel 4 as well. I'll give this another try when I have more time, and see what runlevel 3 does.
 
Old 10-13-2012, 04:49 PM   #5
Pode
LQ Newbie
 
Registered: Oct 2008
Posts: 24

Rep: Reputation: 1
Segmentation Fault

I get Segmentation Fault too. But if I comment out the line
Code:
echo "$COUNT\n" > /boot/GSplash/fbfifo
in every wrap file:

Code:
#echo "$COUNT\n" > /boot/GSplash/fbfifo
or put -n option for echo

Code:
echo -n "$COUNT\n" > /boot/GSplash/fbfifo
Then I don't get segmentation fault but there is no progress bar
 
Old 10-13-2012, 05:34 PM   #6
Marcelo_Belfalas
Member
 
Registered: Apr 2012
Location: Brazil
Distribution: Slackware64-current multilib
Posts: 32

Rep: Reputation: 18
Hi!

After a lot of time in the past I did manage to get a Graphical Boot.

The segfault is because fbsplash can't display your image, either due to it's size, or because fb0 is loaded with a resolution that it doesn't support.

To check that, go to tty and use the command

Code:
/boot/initrd/bin/busybox fbsplash -s /boot/GSplash/shutdown.ppm
And if all goes well, your image display's fine.

To get fb0 to the right resolution, add to /etc/lilo.conf

Code:
append="video=1024x768-16"
It is the only way I found to affect only tty and not X.

You may find that after udev is started, udev resizes your screen to the recommended resolution, but the resolution in tty is 1024x768, so you get black bars on the sides of your screen if your resolution is bigger.

It is a little ugly, but it was the only work around I found at the time.

After udev starts, the script also bugs, since it will continue to display the progress bar, but not the image. To correct that, the only way I found is to change /etc/rc.d/rc.M

From:
Code:
if [ -x /etc/rc.d/rc.udev ]; then
   /bin/sh /etc/rc.d/rc.udev start
fi
To:
Code:
if [ -x /etc/rc.d/rc.udev ]; then
      /bin/sh /etc/rc.d/rc.udev start
      /boot/initrd/bin/busybox fbsplash -s /boot/GSplash/shutdown.ppm
fi
This will get the image to display again

Last edited by Marcelo_Belfalas; 10-13-2012 at 05:52 PM.
 
  


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
Graphical boot screen in Slackware 14.0 Beelzebud Slackware 1 10-05-2012 11:06 AM
Bad attempt at 'setting up' a dual boot Slackware+FreeBSD box. Photon Blizzard Linux - Software 1 10-13-2009 01:15 AM
graphical boot not working with Fedora 7 ruffles Fedora 5 06-06-2007 01:17 PM
ReiserFS 3.6 SegFault on mount attempt Gryphon Linux - Software 2 07-20-2006 06:51 AM
creating graphical front ends to commandline programs seidren Programming 5 02-05-2004 02:21 PM

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

All times are GMT -5. The time now is 11:07 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