From owner-freebsd-current Mon Jan 11 21:26:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA28200 for freebsd-current-outgoing; Mon, 11 Jan 1999 21:26:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mired.eh.local (kstreet.interlog.com [198.53.146.171]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA28190 for ; Mon, 11 Jan 1999 21:26:01 -0800 (PST) (envelope-from street@iname.com) Received: (from kws@localhost) by mired.eh.local (8.9.1/8.9.1) id AAA04601; Tue, 12 Jan 1999 00:24:15 -0500 (EST) (envelope-from kws) From: Kevin Street MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <13978.56447.856338.251015@mired.eh.local> Date: Tue, 12 Jan 1999 00:24:15 -0500 (EST) To: Kazutaka YOKOTA Cc: current@FreeBSD.ORG Subject: Re: Splash crash 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> X-Mailer: VM 6.63 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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