LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2004, 11:28 AM   #1
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
Question anyone got bootsplash working in 2.6.5 vanilla?


i want to use bootsplash, but my main problem is that i can't create an initrd image

whether i use
/sbin/splash -s -f /etc/bootsplash/themes/Redmond/config/bootsplash-1024x768.cfg > /boot/initrd-splash.img

or with >>

it still says could not find valid ramdisk at 0

anyone?

Last edited by thehundredthone; 05-06-2004 at 12:27 PM.
 
Old 05-06-2004, 12:20 PM   #2
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
I always do
/sbin/splash -s -f /etc/bootsplash/themes/Redmond/config/bootsplash-1024x768.cfg > initrd.splash
mv intird.splash /boot

then edit lilo.conf and add
initrd=initrd.splash

and run lilo ofcourse and this works for me!
 
Old 05-06-2004, 12:28 PM   #3
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
shall try it out and report
thanx
thehundredthone
 
Old 05-06-2004, 04:22 PM   #4
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
well... still no results
it just wont recognize it as a valid disk image
any other idea?
 
Old 05-06-2004, 05:21 PM   #5
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
hmm, send a mail to elluva@pandora.be, I will reply you with my initrd.splash I know thisone is valid, 'cause I use it. Then we're already sure it isn't a splash thingie... What rejects your image, 'lilo'?
 
Old 05-06-2004, 05:22 PM   #6
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
oh, and is there initial ramdrive support in your kernel?
 
Old 05-07-2004, 02:12 AM   #7
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
@acid_kewpie: i'm really sorry, i guess i was a bit desperate there.

@elluva: my kernel is 2.6.5 w/ RAMDISK support+ initial ramdisk support +bootsplash compiled into the kernel (not modules).

i've disabled bootup logo, enabled bootsplash, fb, vesafb, etc.

i would be grateful if you could send me a working initrd. i've sent you a mail

maybe my bootsplash binary isn't working right?
would you like to see a trace?

using bootsplash-3.1.4-2.6.5.diff from www.radioactive.net
and bootsplash-3.1.tar.bz2 from www.bootsplash.org -> ftp.suse.com (?)
 
Old 05-07-2004, 05:39 PM   #8
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
i'm sorry, but though my mkinitrd images work
none of the bootsplash made initrd's work
even trying to mount them gives me:

gunzip: stdin: not in gzip format
/dev/loop0: Invalid argument
FAT: bogus number of reserved sectors
mount: you must specify the filesystem type

whereas one's created with a ">>" mount, but give me

gzip: unzip ok, trailing garbage removed

i don't see any difference in the linuxrc of the bootsplash initrd (>>) or an mkinitrd one

WHATS GONE WRONG? this is my 5th kernel recompile + bootsplash
 
Old 05-07-2004, 08:06 PM   #9
Likosin
Member
 
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119

Rep: Reputation: 15
therhundredthone:
Where did you get your bootsplash patch? I got mine from
http://dediziert.org/~tyrant/linux/b...1.4-2.6.5.diff
This one applies perfectly, but gives me the following compile errors:
Code:
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0xc63e2): In function `splash_getraw':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xc6be4): In function `splash_verbose':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xc70c8): In function `splash_status':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xc71fc): In function `splash_read_proc':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xc73d5): In function `splash_write_proc':
: undefined reference to `con2fb_map'
make[2]: *** [.tmp_vmlinux1] Error 1
make[2]: Leaving directory `/usr/src/linux-2.6.5'
make[1]: *** [stamp-build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5'
make: *** [stamp-buildpackage] Error 2
I emailed the people at radioactive.net, but I recieved no response...can you post or send me the .diff file? jcurry _at_ eliteproxy _dot_ com
 
Old 05-08-2004, 05:10 AM   #10
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
i don't think it's a problem with the patch
it's a problem with the splashutils, because the splash binary creates incorrect initrds. In my case it says

checking if image is initramfs, no (gunzip failed), must be initrd
RAMDISK: couldn't find valid disk image at block 0

which means my splash binary doesn't work. i've tried bootsplash-3.0.7 and 3.1
3.1 gave me a few warnings with fbmngplasy, but no errors with splash.c
3.0.7 (after freetype2 patch) gave me no errors except again a warning with fbmngplay.

i'm wondering if maybe you could send me your splash binary. does it gzip the initrd image by default or not? the_hundredth_one at hotmail dot com (the hundredth one with underscores)
 
Old 05-08-2004, 09:50 AM   #11
Likosin
Member
 
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119

Rep: Reputation: 15
Well, I'll send you my splash binary...but I haven't gotten my kernel to even compile. That's why I was asking about the patch you used. Just be aware the the splash binary I'm sending you is the default one in Debian Sid now, and I havn't even tried playing with it. If I were you, I wouldn't run random binaries sent to me by strangers, but it's your choice. Just in case our binaries are the same, the md5 checksum of mine is
Code:
13d1ce64506c59464e1069c6445d988c  /usr/sbin/splash
You can determine your md5 checksum by running
Code:
md5sum /path/to/splash/binary
Please reply again If you really want me to send you the splash binary..
 
Old 05-08-2004, 01:23 PM   #12
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
it's alright... i wouldn't take your binary, i can only wonder why in god's name it won't accept the initrd

i've used various sources actually.
doing a google search for
Quote:
bootsplash kernel 2.6.5
brings up a good number of results

try 'em out... right now i'm using a mr. bhaskar's patch for 2.6.5 + 2.6.6-rc(s)
 
Old 05-08-2004, 07:12 PM   #13
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
damn, I tried with 2.4.22 and 2.6.0 kernel and both worked, with the bootsplash utils... didn't have any difficulties, what could possibly go wrong?!
 
Old 05-09-2004, 02:52 AM   #14
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
try another patch.
if you apply the same patch first, with the -t option, it'll be removed.

then try another patch that has the name of your kernel on it, it's no use trying nother kernel's patch.

usually you should have no more than a few warnings.

what kernel are you running?

i HAVE to find out how to get a proper initrd...
 
Old 05-09-2004, 03:10 AM   #15
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
no mine works great, it is about yours... what could go wrong with your config?! I do exactly the same thing as you do, but still...

It doesn't accept my initrd either?
Though I am sure that one is correct, since I already use it for a few weeks now...
 
  


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
FC4 bootsplash not working Orphen Fedora 1 10-15-2005 08:01 AM
I want a bootsplash, but vesafb isn't working... SonicGT Linux - Newbie 5 08-24-2005 05:29 PM
Bootsplash nearly working ! djib Debian 7 03-01-2005 08:30 PM
bootsplash OK but progressbar not working sigeberht Slackware 4 06-27-2004 07:51 AM
Bootsplash agains a vanilla 2.6.6 kernel? Thetargos Linux - Software 2 05-17-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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