Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 00:24:15 -0500 (EST)
From:      Kevin Street <street@iname.com>
To:        Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc:        current@FreeBSD.ORG
Subject:   Re: Splash crash 
Message-ID:  <13978.56447.856338.251015@mired.eh.local>
In-Reply-To: <199901120117.KAA29737@zodiac.mech.utsunomiya-u.ac.jp>
References:  <87ogo5wdcn.fsf@mired.eh.local> <199901120117.KAA29737@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Kazutaka YOKOTA writes:
>
>>Any idea what's causing this?
>>
>>Preloaded elf kernel "kernel" at 0xf0285000.
>>Preloaded userconfig_script "/boot/kernel.config" at 0xf028509c.
>>Preloaded splash_image_data "/boot/sandstone.bmp" at 0xf02850ec.
>>Preloaded elf module "splash_bmp.ko" at 0xf028513c.
>>module_register_init: module_register(splash_bmp, f0281570, 0) error 19
>
>I expect your kernel is not actually panicing or crashing.  You just
>don't see the BMP file displayed, right?

Correct.  Sorry, didn't mean to imply by my subject line that the
kernel was actually crashing.

>The current version of splash_bmp.ko is very limited.  The color depth
>must be 8 bpp (256 color), and the size must be 320x200 or smaller.
>If your BMP file doesn't satisfy these conditions, splash_bmp.ko will
>return error 19 (ENODEV).  These restriction may be relaxed in the
>future (no delivery date is promised, though).

I sprinkled some printf's around and it appears that my .bmp is
strange.  I saved it in Windows as a 256 colour format, but splash_bmp 
seems to think it has 512.

I'm puzzled by the `2' in here (from bmp_Init) though:
	bmp_info.ncols = 2 << bmf->bmfi.bmiHeader.biBitCount;

but I don't know what biBitCount really means.  Changing it to a `1'
in hopes that it was a typo gets rid of the error message, but doesn't 
get me a splash screen.  My .bmp probably really is wrong.

Does anyone have a known good .bmp that I can test with?  A pointer to
one on a standard Windows 98 install would be fine.
-- 
Kevin Street
street@iName.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13978.56447.856338.251015>