Re: Unable to handle kernel NULL pointer dereference at vir

Petr Vandrovec (VANDROVE@vc.cvut.cz)
Mon, 10 Dec 2001 18:35:24 MET-1


On 10 Dec 01 at 16:45, Gregoire Favre wrote:
>
> I try to use VMWARE 3.0 under 2.4.16 and had problems, so I try under
> 2.4.17-pre7, with same results:
>
> ble to handle kernel NULL pointer dereference at virtual address 00000004
> printing eip:
> Process vmnet-dhcpd (pid: 3209, stackpage=ce951000)
> Stack: d6275ca0 cf7cd7e0 d9106be2 cf7cd7e0 d6275d24 ce951f50 00000000 d91053d6

Known problem. Your kernel was compiled with different gcc than your
modules were. VMware 3.0 tries 'kgcc', 'egcs' and 'gcc' in this order
of preferrence - so you should do 'CC=gcc vmware-config.pl' if you
have kgcc/egcs installed and you compiled kernel yourself. Verify
that 'cat /proc/version' and
'objdump -s -j .comment /lib/modules/`uname -r`/misc/vmmon.o' both
report same gcc version.
Petr Vandrovec
vandrove@vc.cvut.cz

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