From: Ferris McCormick <fmccor@gentoo.org>
To: sparclinux@kernel.vger.org
Cc: gentoo-sparc@lists.gentoo.org
Subject: [gentoo-sparc] afbinit failure with 2.6.15 kernels (can no longer load Elite graphics microcode).
Date: Mon, 30 Jan 2006 19:23:19 +0000 [thread overview]
Message-ID: <1138648999.7197.10.camel@polylepis.inforead.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]
With kernel-2.6.15 series, the program for loading Elite graphics
microcode fails:
Is this a known problem, or is the fix for afbinit known?
With the 2.6.15 kernel series (on SB1000), an attempt to load the
Elite graphics microcode with the afbinit program:
/* $Id: afbinit.c,v 1.1.1.1 1999/09/08 06:42:36 davem Exp $
(e.g., using
afbinit /dev/fb/0 /usr/lib/afb.ucode)
results in
mmap user regs: Invalid argument --- this comes from this bit of code:
====================
uregs = mmap(0, 0x2000,
PROT_READ | PROT_WRITE,
MAP_PRIVATE,
afb_fd,
0x04000000);
====================
I'd be happy to just fix it if I knew what the mmap call should look
like with this kernel, but I don't. (The Elite did open OK; to get this
far,
afb_fd = open(afb_fname, O_RDWR);
has to have worked.
Regards,
Ferris
--
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Sparc, Devrel)
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2006-01-30 19:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1138648999.7197.10.camel@polylepis.inforead.com \
--to=fmccor@gentoo.org \
--cc=gentoo-sparc@lists.gentoo.org \
--cc=sparclinux@kernel.vger.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox