Re: [Linux-fbdev-devel] fbdev broken in current bk for PPC

From: Anton Blanchard
Date: Fri Sep 10 2004 - 03:55:49 EST



> Yes, that should solve the ofonly problem, with the offb in the very last of
> the Makefile, though as you said, it's a little hackish, but very simple to
> implement. This will work for ofonly though, since
> info->fix.name is not necessarily equal to "xxxfb". For instance, offb set
> "OFfb" in info->fix.name, but the boot option is "offb".

FYI Im seeing this on my POWER5 box:

Using unsupported 640x480 MTRX,G450 at e0000000, depth=8, pitch=640
cpu 0x1: Vector: 300 (Data Access) at [c000000074f37230]
pc: c0000000001e20a4: .cfb_imageblit+0x5c0/0x610
lr: c0000000001d358c: .accel_putcs+0x1f0/0x720
sp: c000000074f374b0
msr: 8000000000009032
dar: e000000080000000
dsisr: 42000000
current = 0xc000000074f310e0
paca = 0xc00000000052fa80
pid = 1, comm = swapper
enter ? for help
1:mon> t
[c000000074f375a0] c0000000001d358c .accel_putcs+0x1f0/0x720
[c000000074f37740] c000000000218600 .do_update_region+0x238/0x2ac
[c000000074f37810] c0000000002197c8 .redraw_screen+0x138/0x2b8
[c000000074f378b0] c0000000001d4724 .fbcon_init+0x5a0/0x73c
[c000000074f379a0] c000000000219b74 .visual_init+0x22c/0x2dc
[c000000074f37a50] c00000000021c0c4 .take_over_console+0x43c/0x6dc
[c000000074f37b20] c0000000001d31b4 .fbcon_takeover+0x88/0xf0
[c000000074f37bb0] c0000000001d968c .fbcon_event_notify+0x514/0xc00
[c000000074f37c70] c00000000006284c .notifier_call_chain+0x64/0x98
[c000000074f37d00] c0000000001dc87c .register_framebuffer+0x144/0x20c
[c000000074f37df0] c00000000049dcd0 .offb_init+0x528/0x838
[c000000074f37f00] c00000000000c698 .init+0x23c/0x44c
[c000000074f37f90] c000000000017f14 .kernel_thread+0x4c/0x68

We took a data miss trying to access an ioremapped area (e000000080000000).
Offb might have always been buggy but was hidden by the fact that matroxfb
used to init first.

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/