From: "Randy.Dunlap" We need to call mca_system_init() to register MCA bus struct, otherwise find_mca_adapter() oopses with a NULL ptr dereference. Fixes this oops reported last week: http://marc.theaimsgroup.com/?l=linux-kernel&m=108455738606747&w=2 Thanks to James Bottomley for pointing this out. --- 25-akpm/arch/i386/kernel/mca.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff -puN arch/i386/kernel/mca.c~init-mca_bus_type-even-if-mca_bus arch/i386/kernel/mca.c --- 25/arch/i386/kernel/mca.c~init-mca_bus_type-even-if-mca_bus Mon May 17 15:06:50 2004 +++ 25-akpm/arch/i386/kernel/mca.c Mon May 17 15:06:50 2004 @@ -258,16 +258,16 @@ static int __init mca_init(void) /* Make sure the MCA bus is present */ - if(!MCA_bus) - return -ENODEV; - - printk(KERN_INFO "Micro Channel bus detected.\n"); - - if(mca_system_init()) { + if (mca_system_init()) { printk(KERN_ERR "MCA bus system initialisation failed\n"); return -ENODEV; } + if (!MCA_bus) + return -ENODEV; + + printk(KERN_INFO "Micro Channel bus detected.\n"); + /* All MCA systems have at least a primary bus */ bus = mca_attach_bus(MCA_PRIMARY_BUS); if (!bus) _