* kernel paging + io space?
@ 1998-11-07 20:34 Bibek Sahu
1998-12-02 23:52 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Bibek Sahu @ 1998-11-07 20:34 UTC (permalink / raw)
To: axp-list
While working on the ggi kernel stuff, I've run into a little
problem working in the ggi stuff. The kernel's trying to page address
0xa000000, which is actually the address of the framebuffer of my video
card.
I admit that I'm not very knowledgeable on memory setup /
architecture. However, it would _seem_ to me that the kernel shouldn't
try to be paging things in i/o space. Am I crazy in thinking this? Do I
simply have no idea what I'm talking about? And more importantly: how
might I fix it?
Nov 6 13:52:23 prophet kernel: Matrox mga2x64 chipset driver rev $Revision: 1.9 $ loaded
Nov 6 13:52:23 prophet kernel: KGI monitor driver rev $Revision: 1.10 $
Nov 6 13:52:23 prophet kernel: TVP 3026 DAC driver rev $Revison: 1.10 $
Nov 6 13:52:23 prophet kernel: tvp3026.c:318: TVP 3026 rev 04.02 detected.
Nov 6 13:52:23 prophet kernel: tvp3026.c:335: Using 250 MHz mode
Nov 6 13:52:23 prophet kernel: TVP 3026 PLL driver rev $Revision: 1.6 $
Nov 6 13:52:23 prophet kernel: Matrox Millennium (I/II) accelerator driver rev $Revision: 1.7 $ loaded
Nov 6 13:52:23 prophet kernel: Matrox Graphics Matrox mga2x64 (I/II) driver loaded.
Nov 6 13:52:23 prophet kernel: kgifb_init: xres 640 yres 480 bpp 32 vaddr 0xa000000 paddr 0xa000000 size 1245184
Nov 6 13:52:23 prophet kernel: Unable to handle kernel paging request at virtual address 000000000a000000
Nov 6 13:52:23 prophet kernel: insmod(2659): Oops 1
Nov 6 13:52:24 prophet kernel: pc = [<fffffe0000082750>] ra = [<fffffc00003f4b68>] ps = 0000
Nov 6 13:52:24 prophet kernel: r0 = 000000000a000018 r1 = 0000000000000000 r2 = 0000000000000000
Nov 6 13:52:24 prophet kernel: r3 = 0000000000000000 r4 = 0000000000000000 r5 = 0000000000000000
Nov 6 13:52:24 prophet kernel: r6 = 0000000000000000 r7 = 0000000000000000 r8 = fffffc0001134000
Nov 6 13:52:24 prophet kernel: r9 = fffffc00027b2002 r10= fffffc0000485a70 r11= 0000000000000a00
Nov 6 13:52:24 prophet kernel: r12= 000000000000004f r13= ffffffffffffffff r14= 0000000000000910
Nov 6 13:52:24 prophet kernel: r15= 0000000000000000
Nov 6 13:52:24 prophet kernel: r16= fffffc000044c980 r17= 000000000a000000 r18= 000000000a000000
Nov 6 13:52:24 prophet kernel: r19= 000000000000000e r20= 0000000000aaaaaa r21= 0000000000000000
Nov 6 13:52:24 prophet kernel: r22= 0000000000000000 r23= 0000000000000000 r24= 0000000000000000
Nov 6 13:52:24 prophet kernel: r25= 0000000000000000 r27= 000000000a00001c r28= 0000000000000000
Nov 6 13:52:24 prophet kernel: gp = fffffc00004559c8 sp = fffffc0001137c48
Nov 6 13:52:24 prophet kernel: Code: 46a20802 44340297 46a30803 <b0520000> 46a40804 46a50805 b060ffec 46a60806 b080fff0
Nov 6 13:52:24 prophet kernel: Trace: [<fffffc00003f4b68>] [<fffffc00003d5578>] [<fffffc00003d67cc>] [<fffffc00003dbac8>] [<fffffc00003f8d70>] [<fffffc0000324fc8>] [<fffffc0000310b68>]
And what may be of more use to people who don't have my
System.map:
pc = [<fffffe0000082750>] ra = [<fffffc00003f4b68>]
Trace: [<fffffc00003f4b68>] [<fffffc00003d5578>] [<fffffc00003d67cc>] [<fffffc00003dbac8>] [<fffffc00003f8d70>] [<fffffc0000324fc8>] [<fffffc0000310b68>]
fffffe0000082750 = fbcon_cfb32_putcs_Reb48126d (fffffe00000825e0) [fbcon-cfb32]
fffffc00003f4b68 = fbcon_putcs (fffffc00003f4a80)
fffffc00003d5578 = update_region (fffffc00003d55c0)
fffffc00003d67cc = redraw_screen (fffffc00003d6620)
fffffc00003dbac8 = take_over_console (fffffc00003db980)
fffffc00003f8d70 = register_framebuffer (fffffc00003f8c40)
fffffc0000324fc8 = sys_init_module (fffffc0000324960)
fffffc0000310b68 = entSys (fffffc0000310ac0)
Thanks for any and all help. I appreciate your time.
- Bob
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel paging + io space?
1998-11-07 20:34 kernel paging + io space? Bibek Sahu
@ 1998-12-02 23:52 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-12-02 23:52 UTC (permalink / raw)
To: axp-list
On Sat, Nov 07, 1998 at 02:34:18PM -0600, Bibek Sahu wrote:
> While working on the ggi kernel stuff, I've run into a little
> problem working in the ggi stuff. The kernel's trying to page address
> 0xa000000, which is actually the address of the framebuffer of my video
> card.
Actually, the kernel isn't literally trying to page that address,
it just means that that addresss isn't mapped in that process.
It is highly likely that you forgot that bus addresses are NOT the
same as memory addresses, and so are missing a readl/writel.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-12-02 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-07 20:34 kernel paging + io space? Bibek Sahu
1998-12-02 23:52 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox