<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br> Thanks for the response. lsmod shows other drivers<br><br>lsmod | grep 8139<br>8139cp 21504 0<br>8139too 24708 0<br>mii 8192 3 8139cp,8139too,via_rhine<br><br>I do a:<br>rmmod 8139too<br>rmmod 8139cp<br><br>then I do a :<br>insmod real3.ko<br><br>Then it crashes with:<br>dmesg | tail -50<br>Device enabled<br>----------------------------------------------------------------<br>Base 0 Starting Address = 9c00 End Address = 9cff Length = 256<br>This Port is I/O mapped. It is NON Prefetchable.This is readable and
writable.<br>Base 1 Starting Address = fdaff000 End Address = fdaff0ff Length = 256<br>This Port is Memory mapped. It is NON Prefetchable. This is readable and writable.<br>Reading the PCI BAR registers<br>Checking the PCI BAR registers for Memory mapped flag<br>region is Memory mapped region<br>Calling pci_request_region<br>Calling pci_set_master<br>Calling ioremap<br>Assigning ioaddress and length<br>Assigning hardware address<br>Assigning function address<br>Calling register_netdev<br>rtl8139_get_stats is called<br>BUG: unable to handle kernel NULL pointer dereference at 00000000<br>IP: [<c06379ef>] rtnl_fill_ifinfo+0x2cf/0x48f<br>*pde = 3b7a7067<br>Oops: 0000 [#1] SMP<br>Modules linked in: real3(P+) fuse via drm nfsd lockd nfs_acl auth_rpcgss exportfs sco bridge stp bnep l2cap bluetooth sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput ppdev snd_hda_intel snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_hwdep snd floppy i2c_viapro i2c_core pcspkr soundcore via_rhine mii sata_via parport_pc parport ata_generic pata_acpi pata_via [last unloaded: 8139cp]<br><br>Pid: 3514, comm: insmod Tainted: P (2.6.27.5-117.fc10.i686 #1)<br>EIP: 0060:[<c06379ef>] EFLAGS: 00210246 CPU: 0<br>EIP is at rtnl_fill_ifinfo+0x2cf/0x48f<br>EAX: 00000000 EBX: e46ad090 ECX: 00000000 EDX: e46ad094<br>ESI: ec90e960 EDI: e462e700 EBP: e46dee9c ESP: e46dee5c<br> DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068<br>Process insmod (pid: 3514, ti=e46de000 task=e46e3340 task.ti=e46de000)<br>Stack: c000993b ec90e800 e46ad000 e462e700 e46dee8c 00000000 00000000 00000000<br> 00000000 f882a000 00000000 00000010 000005dc ec90e800 e462e700 ffffffff<br> e46deec4
c0637e48 00000000 00000000 ffffffff 00000000 00000010 c07ee154<br>Call Trace:<br> [<c0637e48>] ? rtmsg_ifinfo+0x45/0xaf<br> [<c0637eea>] ? rtnetlink_event+0x38/0x3c<br> [<c06a9718>] ? notifier_call_chain+0x2b/0x4a<br> [<c0440573>] ? raw_notifier_call_chain+0xc/0xe<br> [<c0631f4b>] ? register_netdevice+0x30b/0x345<br> [<c0631fb7>] ? register_netdev+0x32/0x3f<br> [<f886d432>] ? init_module+0x23b/0x2a9 [real3]<br> [<c0401125>] ? _stext+0x3d/0x115<br> [<f886d1f7>] ? init_module+0x0/0x2a9 [real3]<br> [<c044bf7d>] ? sys_init_module+0x87/0x178<br> [<c0403c76>] ? syscall_call+0x7/0xb<br> [<c06a007b>] ? init_intel_cacheinfo+0x0/0x421<br> =======================<br>Code: c0 0f 88 c4 01 00 00 b9 5c 00 00 00 ba 07 00 00 00 89 f8 e8 0c dd 00 00 85 c0 89 c3 0f 84 a9 01 00 00 8b 45 c4 ff 50 50 8d 53 04 <8b> 08 89 4b 04 8b 48 04
89 4a 04 8b 48 08 89 4a 08 8b 48 0c 89<br>EIP: [<c06379ef>] rtnl_fill_ifinfo+0x2cf/0x48f SS:ESP 0068:e46dee5c<br>---[ end trace ef10416be49ddab2 ]---<br><br>Thanks & Regards,<br>D.Giriprasad<br><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div class="plainMail">As it says, this region is not available for your driver. Do you have<br>8139too driver loaded already? Check output of:<br><br> $ lsmod | grep 8139<br><br>SK<br><br></div></blockquote></td></tr></table>