There is a missing if in driver/misc/mcp-core.c
Nearly at the end.
Try to find this entry:
        __MOD_INC_USE_COUNT(mcp->owner);

After you have found this add an if() around like this:

if (mcp->owner) 
{ 
           __MOD_INC_USE_COUNT(mcp->owner);
}

Best regards
Juergen


> -----Urspr�ngliche Nachricht-----
> Von:  raymond lee [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Freitag, 1. M�rz 2002 06:34
> An:   [EMAIL PROTECTED]
> Betreff:      kernel 2.4.17 broken,why?
> 
> Hi,
> I am using kernel 2.4.7-rmk5 on assabet.When booting
> the kernel,a error as follow encountered.
> 
> "ide: Assuming 50MHz system bus speed for PIO modes;
> override with idebus=xx
> Unable to handle kernel NULL pointer at xxxxxxx".
> 
> I look through System.map and find the "pc" pointer
> stops in "mcp_register()".So I disable MCP interface
> in kernel configuration and compile it again. The
> kernel can boot rightly this time.
>  
> why? Any other method to resolve this problem?
> 
> _________________________________________________________
> Do You Yahoo!? 
> ???????????,???????????
> http://cn.worldcup.yahoo.com/
> 
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> http://www.arm.linux.org.uk/armlinux/mailinglists.php
> Please visit the above addresses for information on this list.

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to