LinuxQuestions.org
Review your favorite Linux distribution.
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 11-30-2010, 06:32 AM   #61
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Rep: Reputation: 16

Quote:
rc.S does not call rc.M explicitly
That's true in my case. Well i've setup a vm and didn't make a separate /boot partiton and it works(partially) but fbsplash says some other things:

Quote:
BusyBox v1.15.3 (2010-05-08 00:29:16 CDT) multi-call binary

Usage: fbsplash -s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]

Options:

-s Image
-c Hide cursor
-d Framebuffer device (default /dev/fb0)
-i Config file (var=value):
BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT
BAR_R,BAR_G,BAR_B
-f Control pipe (else exit after drawing image)
commands: 'NN' (% for progress bar) or 'exit'

/etc/rc/d/rc.S-Wrap: line35: /boot/GSplash/fbfifo: Permission Denied
/etc/rc/d/rc.S-Wrap: line35: /boot/GSplash/fbfifo: Interrupted system call
and the system halts there.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-30-2010, 12:09 PM   #62
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Sorry, that is correct that rc.S doesn't call rc.M. I was a bit distracted when I wrote that.

I've gone back to page 1 of this thread to read through the wrapper scripts again. I see several potential failure point in there. First, there is no PATH set at the top of the scripts, so a couple of programs are being called without the path to them, so far I see 'bc' and 'tput' which are both in /usr/bin. If you happen to have /usr on a separate partition these are not going be available at the start of rc.S or at the start of the rc.S wrapper. I also think the use of the busybox binary under /boot/initrd-tree/bin is weak -for the same reason as above (possibly separate un-mounted /boot partition) and also because it implies that mkinitrd is installed. I'd just create a busybox package and install it so that busybox is in /bin for easier usage. The only other stand-alone bins I see being called are 'setterm' and 'mv' which are both in /bin, so no problem there.

This line:
"$STARTUP" &> /boot/GSplash/fifo &
assumes that the directory /boot/GSplash/ exists -there is no 'mkdir -p /boot/GSplash' anywhere, that I see. Again, there will be a problem if /boot is a separate partition. 7tmp would be a more likely place to create the fifo, but /tmp might also be unavailable still, before 'mount -a ...' is run. The only sure place to create the fifo so soon would be right in /, which is kinda messy. But, rc.S is gonna create a file in / when it checks to see if / is writable, so you could do the same. But think about it, / is supposed to be readonly where this is all happening, so you can't even create the file in / until rc.S has run...

The other thing I see is that no framebuffer device is being specified with the fbsplash command. And that brings up the fact that you must be booting using a framebuffer, which means you cannot be using accelerated graphics drivers( you should have some vga=xxx setting on the kernel boot line)

As far as I can see there is no way that the wrapper scripts will work at all in their present form. Most of what is being done there depends on / being mounted read-write and that doesnt happen until after : '/sbin/mount -w -v -n -o remount /' is run. Looks to me like the best way to handle this is to edit the original scripts to insert the code where needed. You won't be able to start the create the fifo until after '/sbin/mount -w -v -n -o remount /'.
 
1 members found this post helpful.
Old 03-04-2011, 08:05 PM   #63
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I am searching for a boot splash strategy for friends and acquaintances for whom I install Slackware. I hope to try this idea soon. Has anybody tried this idea with Current (13.2)?

Is the wiki updated with all the fixes and conversation of this thread?

Lastly, there seems to be concerns this idea will burp if separate partitions are used for /usr or /boot. True or false?

Thanks much.
 
Old 03-05-2011, 02:38 AM   #64
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
wow old thread... certainly this is still a viable option. It's not really that complicated. If you are used to reading scripts it's easy enough to follow. I believe some of the minor fixes and concerns were fixed on the wiki as well.

Personally, I would do it differently and, once a solution finalized, make the scripts run more directly without the wrappers. Additionally, since this solution requires busybox to be accessible somewhere on your system (e.g. /boot/initrd-tree/bin/busybox) it's logical to assume that this is not considered 'installed' and finding another 'fbsplash' program would probably be a better solution.

As to issues with separate /boot /usr portions, it all depends on when /boot is mounted. You can always move a copy of busybox to the /usr partition and update the path variables. That's an easy fix. But the question is where to put busybox. It's technically a swissarmy knife designed for embedded systems. It doesn't really belong anywhere because it's not supposed to be used by the main OS :P.

Last edited by lumak; 03-05-2011 at 02:43 AM.
 
Old 03-06-2011, 03:36 AM   #65
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Rep: Reputation: 16
Quote:
I am searching for a boot splash strategy for friends and acquaintances for whom I install Slackware. I hope to try this idea soon.
Right now the LQ database is down, if you really want a splashy then search threads started by me and you will find a thread with title something 'bootsplash or splashy' the thread has thumbs up by me. I had to compile splash screen in a kernel(by applying a patch), that method works for lot of people(including me) compared to the one mentioned in this thread. You will need to find the bootsplash patch for your kernel though.

Compiling kernel is not hard,(you may get adrenaline rush for a first few times though!) Good luck.
 
Old 08-03-2011, 02:08 AM   #66
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Eofeof

Hi,
When I run it as a VM Image I many times after reboot get a EOFEOF and then it just hangs.
This happens many times.
What I must do then is sent CTRL ALT DELETE signal from vmware menu.
Then it reboots and starts up good.

So something corrupt it once it gets shutdown via the vmware.
Anyone had this issue?
 
Old 08-03-2011, 10:58 AM   #67
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I think that's a known issue -if you are talking about the old 'real' bootsplash kernel support. It doesn't play well with vmware. Search posts hear about bootsplash by the author 'jong357' to see his experience.
 
0 members found this post helpful.
Old 08-03-2011, 11:02 AM   #68
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
I use the above initrd-tree/bin/busybox fbsplash -s ~/startup.ppm
and -Wrap files etc..
sometimes it works.
 
Old 08-04-2011, 10:33 AM   #69
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Anyone have problem also it just say EOFEOF and never starts ups
 
Old 08-04-2011, 12:06 PM   #70
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
See post #67
 
Old 08-04-2011, 01:51 PM   #71
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Hi
Thanks for reply.
Is there a workaround for it to avoid the EOFEOF?
It seems when i click sent ctrl alt del then it reboots and startup fine.
 
Old 08-05-2011, 03:00 AM   #72
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You have to use some other form of 'splash' -the other ones all work in user-space instead of as a kernel module. You can set up any of several splash tools in an initrd. Or you figure out how to fix the bootsplash sources so they work with vmware. Still, if you were running it on real hardware you'd probably not have this problem.
 
Old 08-05-2011, 04:25 AM   #73
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Hi,
Yeah I am thinking it proberly tweak needed to the bootup script.
Since it sometimes stop at EOFEOF
Maybe it because the EOFEOF dont get sent to it?

Then I right click make vmware sent Ctrl Alt Del and then it reboot again and works.

So it must be something that blocks the EOFEOF ?
So it could be rewritten and tweak around it?
 
Old 08-09-2011, 04:45 AM   #74
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
anyone find a way to hack around the eofeof stopping issue?
Sometimes it work fine others not so there must be a way to hack it.
 
Old 08-18-2011, 03:00 AM   #75
janjan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Now I installed on a Dell server and still get the EOFEOF even without using vmware at all.

Can there be some work around for the EOFEOF?
It just stops there.
I can ping the unit etc. but nothing helps.
I tried CTRL C etc.
but it just keeps at EOFEOF
 
  


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
Poor man's graphical boot in Slackware 13.X... LuckyCyborg Slackware 38 05-21-2011 11:33 AM
Poor Man's VPN on smartphone - Putty Fatal error WSAEventSelect(): SOCKET_ERROR " Wildebeest2010 Linux - Software 1 02-15-2010 01:41 PM
Display a picture file as a poor-man's splash screen fudam Linux - General 1 12-01-2006 06:15 AM
Wanna do a poor man's slacktop... papa0822 Linux - Laptop and Netbook 2 10-12-2004 06:59 PM
Poor man's dual monitor (using two linux boxes)) alexferrer Linux - General 8 05-22-2003 03:02 PM

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

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