* Re: 2.5.67-mm1 cause framebuffer crash at bootup
@ 2003-04-09 12:24 Petr Vandrovec
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vandrovec @ 2003-04-09 12:24 UTC (permalink / raw)
To: Helge Hafting; +Cc: linux-kernel, linux-mm, jsimmons, akpm
On 9 Apr 03 at 11:42, Helge Hafting wrote:
>
> 2.5.67-mm1 works if I drop framebuffer support completely.
Now when you sent full backtrace - it looks to me like that fbdev
drivers are initialized before pci subsystem in -mm1. Unfortunately,
as proven by i2c, kobjects infrastructure does not like if you reference
non-existing bus type before it is registered.
Can you try reverting _initcall changes? Although I see no reason
why it should matter, it is clear that pci subsystem is a bit unhappy.
Maybe it is caused by driver or device which is probed before fbdev?
Petr Vandrovec
vandrove@vc.cvut.cz
P.S.: And what about change in drivers/pci/probe.c, which does
- if (base && base <= limit) {
+ if (base <= limit) {
> Here is the printed backtrace for the radeon case, the matrox case was
> similiar:
>
> <a few lines scrolled off screen>
> pcibios_enable_device
> pci_enable_device_bars
> pci_enable_device
> radeonfb_pci_register
> sysfs_new_inode
> pci_device_probe
> bus_match
> device_attach
> bus_add_device
> kobject_add
> device_add
> pci_bus_add_devices
> pci_bus_add_devices
> pci_scan_bus_parented
> pcibios_scan_root
> pci_legacy_init
> do_initcalls
> init_workqueues
> init+0x36
> init+0x00
> kernel_thread_helper
> code: Bad EIP value <0>Kernel panic:attempt to kill init!
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.67-mm1 cause framebuffer crash at bootup
2003-04-09 10:18 ` Andrew Morton
@ 2003-04-09 20:30 ` Randy.Dunlap
0 siblings, 0 replies; 5+ messages in thread
From: Randy.Dunlap @ 2003-04-09 20:30 UTC (permalink / raw)
To: Andrew Morton; +Cc: helgehaf, linux-kernel, linux-mm, vandrove
On Wed, 9 Apr 2003 03:18:45 -0700 Andrew Morton <akpm@digeo.com> wrote:
|
| Helge Hafting <helgehaf@aitel.hist.no> wrote:
| >
| > 2.5.67 works with framebuffer console, 2.5.67-mm1 dies before activating
| > graphichs mode on two different machines:
| >
| > smp with matroxfb, also using a patch that makes matroxfb work in 2.5
| > up with radeonfb, also using patches that fixes the broken devfs in mm1.
| >
| > I use devfs and preempt in both cases, and monolithic kernels without module
| > support.
| >
| > 2.5.67-mm1 works if I drop framebuffer support completely.
| >
| > Here is the printed backtrace for the radeon case, the matrox case was
| > similiar:
|
| Well I tried to reproduce this with an
|
| nVidia Corporation NV17 [GeForce4 MX440] (rev a3)
|
| and the screen came up in a strange mixture of penguins and obviously uninitialised
| video RAM overlayed on top of text. I can't read a thing.
|
| But there is no oops.
|
| The Cirrus drivers still do not compile, so scrub that test box.
|
| We have some compilation scruffies:
| drivers/video/aty/mach64_gx.c:194: warning: initialization from incompatible pointer type
....
|
| Another machine here uses
|
| ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)
|
| and..... it oopses! Backing out
|
| ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm1/broken-out/earlier-keyboard-init.patch
|
| prevents it oopsing. Can you please try that?
|
|
| Despite the lack of oopses, framebuffer support is sick on this machine also.
| The LCD alternates between blackness and a strange smeary set of flickering
| lines.
Argh. This is ridiculous.... OK, I'm over it. I'll look into this more.
I'd settle for Vojtech making an appearance. :)
I can reproduce the problem with the earlier-keyboard-init.patch, but if
I reverse it, I get this [using Petr's 2.5.66-bk12 mga patch]. Is that the
right one to use? do I need to use any kernel command line options with it?
Matrox G400 dual-head capable, but only using one of them.
matroxfb: Matrox G450 detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x26208)
matroxfb: framebuffer at 0xEC000000, mapped to 0xf8805000, size 16777216
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<00000000>] Not tainted
EFLAGS: 00010246
EIP is at 0x0
eax: c04b77c8 ebx: f7f9fccc ecx: c1ada17f edx: c04b6f40
esi: ffffffff edi: 00000030 ebp: 00000030 esp: f7f9fc78
ds: 007b es: 007b ss: 0068
Process swapper (pid: 1, threadinfo=f7f9e000 task=f7f9c080)
Stack: c0292c1e c04b6f40 f7f9fccc ffffffff ffffffff 00000000 00000000 00000400
00000008 00000001 000000ff 0000000c c04b6f40 00000030 c1a41480 c0292e65
c1a41480 c04b6f40 f7f9fccc 00000030 c00bb1c0 00000000 00000108 00000180
Call Trace:
[<c0292c1e>] putcs_aligned+0x16e/0x1b0
[<c0292e65>] accel_putcs+0xc5/0xf0
[<c02939ce>] fbcon_putcs+0x7e/0x90
[<c01feb73>] vt_console_print+0x103/0x2b0
[<c011f616>] __call_console_drivers+0x46/0x60
[<c011f762>] call_console_drivers+0xc2/0xf0
[<c011fb23>] release_console_sem+0xa3/0x140
[<c011f9d8>] printk+0x1d8/0x230
[<c029367a>] fbcon_set_display+0x33a/0x4c0
[<c01f8031>] set_inverse_transl+0x41/0xa0
[<c013ecad>] kmalloc+0xdd/0x190
[<c010b592>] do_IRQ+0x112/0x1f0
[<c02930cd>] fbcon_init+0xdd/0xf0
[<c01fba0f>] visual_init+0x9f/0x100
[<c01ff3bd>] take_over_console+0xad/0x180
[<c02981f5>] register_framebuffer+0x175/0x1a0
[<c029be10>] initMatrox2+0x8e0/0x990
[<c02d07ad>] pcibios_enable_device+0x1d/0x20
[<c029c3c2>] matroxfb_probe+0x2c2/0x2f0
[<c01e320f>] pci_device_probe+0x3f/0x60
[<c021d4c4>] bus_match+0x34/0x60
[<c021d594>] driver_attach+0x34/0x60
[<c021d847>] bus_add_driver+0x97/0xd0
[<c01e3326>] pci_register_driver+0x46/0x60
[<c01050fb>] init+0x7b/0x220
[<c0105080>] init+0x0/0x220
[<c0107165>] kernel_thread_helper+0x5/0x10
Code: Bad EIP value.
<0>Kernel panic: Attempted to kill init!
--
~Randy
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.67-mm1 cause framebuffer crash at bootup
[not found] ` <20030409031845.185d853f.akpm@digeo.com>
@ 2003-04-09 10:18 ` Andrew Morton
2003-04-09 20:30 ` Randy.Dunlap
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2003-04-09 10:18 UTC (permalink / raw)
To: Helge Hafting; +Cc: linux-kernel, linux-mm, vandrove
Helge Hafting <helgehaf@aitel.hist.no> wrote:
>
> 2.5.67 works with framebuffer console, 2.5.67-mm1 dies before activating
> graphichs mode on two different machines:
>
> smp with matroxfb, also using a patch that makes matroxfb work in 2.5
> up with radeonfb, also using patches that fixes the broken devfs in mm1.
>
> I use devfs and preempt in both cases, and monolithic kernels without module
> support.
>
> 2.5.67-mm1 works if I drop framebuffer support completely.
>
> Here is the printed backtrace for the radeon case, the matrox case was
> similiar:
Well I tried to reproduce this with an
nVidia Corporation NV17 [GeForce4 MX440] (rev a3)
and the screen came up in a strange mixture of penguins and obviously uninitialised
video RAM overlayed on top of text. I can't read a thing.
But there is no oops.
The Cirrus drivers still do not compile, so scrub that test box.
We have some compilation scruffies:
drivers/video/aty/mach64_gx.c:194: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:486: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:602: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:726: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:873: warning: initialization from incompatible pointer type
Another machine here uses
ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)
and..... it oopses! Backing out
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm1/broken-out/earlier-keyboard-init.patch
prevents it oopsing. Can you please try that?
Despite the lack of oopses, framebuffer support is sick on this machine also.
The LCD alternates between blackness and a strange smeary set of flickering
lines.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.67-mm1 cause framebuffer crash at bootup
[not found] ` <20030409030534.619f7fa0.akpm@digeo.com>
@ 2003-04-09 10:05 ` Andrew Morton
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2003-04-09 10:05 UTC (permalink / raw)
To: Helge Hafting; +Cc: linux-kernel, linux-mm, vandrove
Helge Hafting <helgehaf@aitel.hist.no> wrote:
>
> 2.5.67 works with framebuffer console, 2.5.67-mm1 dies before activating
> graphichs mode on two different machines:
>
> smp with matroxfb, also using a patch that makes matroxfb work in 2.5
> up with radeonfb, also using patches that fixes the broken devfs in mm1.
>
> I use devfs and preempt in both cases, and monolithic kernels without module
> support.
>
> 2.5.67-mm1 works if I drop framebuffer support completely.
Beats me. One possibility is the initcall shuffling.
> Here is the printed backtrace for the radeon case, the matrox case was
> similiar:
Well I tried to reproduce this with an
nVidia Corporation NV17 [GeForce4 MX440] (rev a3)
and the screen came up in a strange mixture of obviously uninitialised video
RAM overlayed on top of text. I can't read a thing.
But there's no oops, and I have penguins.
The Cirrus drivers still do not compile, so scrub that test box.
We have some compilation scruffies:
drivers/video/aty/mach64_gx.c:194: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:486: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:602: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:726: warning: initialization from incompatible pointer type
drivers/video/aty/mach64_gx.c:873: warning: initialization from incompatible pointer type
Another machine here uses
ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)
and..... it oopses! Will fix.
> <a few lines scrolled off screen>
> pcibios_enable_device
This function jumped to 0x00000000
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.67-mm1 cause framebuffer crash at bootup
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
@ 2003-04-09 9:42 ` Helge Hafting
[not found] ` <20030409030534.619f7fa0.akpm@digeo.com>
[not found] ` <20030409031845.185d853f.akpm@digeo.com>
0 siblings, 2 replies; 5+ messages in thread
From: Helge Hafting @ 2003-04-09 9:42 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-mm, vandrove, jsimmons
2.5.67 works with framebuffer console, 2.5.67-mm1 dies before activating
graphichs mode on two different machines:
smp with matroxfb, also using a patch that makes matroxfb work in 2.5
up with radeonfb, also using patches that fixes the broken devfs in mm1.
I use devfs and preempt in both cases, and monolithic kernels without module
support.
2.5.67-mm1 works if I drop framebuffer support completely.
Here is the printed backtrace for the radeon case, the matrox case was
similiar:
<a few lines scrolled off screen>
pcibios_enable_device
pci_enable_device_bars
pci_enable_device
radeonfb_pci_register
sysfs_new_inode
pci_device_probe
bus_match
device_attach
bus_add_device
kobject_add
device_add
pci_bus_add_devices
pci_bus_add_devices
pci_scan_bus_parented
pcibios_scan_root
pci_legacy_init
do_initcalls
init_workqueues
init+0x36
init+0x00
kernel_thread_helper
code: Bad EIP value <0>Kernel panic:attempt to kill init!
sysrq worked and let me reboot. No filesystems were
mounted at this point.
Helge Hafting
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-09 20:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-09 12:24 2.5.67-mm1 cause framebuffer crash at bootup Petr Vandrovec
-- strict thread matches above, loose matches on Subject: below --
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
2003-04-09 9:42 ` 2.5.67-mm1 cause framebuffer crash at bootup Helge Hafting
[not found] ` <20030409030534.619f7fa0.akpm@digeo.com>
2003-04-09 10:05 ` Andrew Morton
[not found] ` <20030409031845.185d853f.akpm@digeo.com>
2003-04-09 10:18 ` Andrew Morton
2003-04-09 20:30 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox