Hi,
Thanks for the response. lsmod shows other drivers
lsmod | grep 8139
8139cp 21504 0
8139too 24708 0
mii 8192 3 8139cp,8139too,via_rhine
I do a:
rmmod 8139too
rmmod 8139cp
then I do a :
insmod real3.ko
Then it crashes with:
dmesg | tail -50
Device enabled
----------------------------------------------------------------
Base 0 Starting Address = 9c00 End Address = 9cff Length = 256
This Port is I/O mapped. It is NON Prefetchable.This is readable and writable.
Base 1 Starting Address = fdaff000 End Address = fdaff0ff Length = 256
This Port is Memory mapped. It is NON Prefetchable. This is readable and writable.
Reading the PCI BAR registers
Checking the PCI BAR registers for Memory mapped flag
region is Memory mapped region
Calling pci_request_region
Calling pci_set_master
Calling ioremap
Assigning ioaddress and length
Assigning hardware address
Assigning function address
Calling register_netdev
rtl8139_get_stats is called
BUG: unable to handle kernel NULL pointer dereference at 00000000
IP: [<c06379ef>] rtnl_fill_ifinfo+0x2cf/0x48f
*pde = 3b7a7067
Oops: 0000 [#1] SMP
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]
Pid: 3514, comm: insmod Tainted: P (2.6.27.5-117.fc10.i686 #1)
EIP: 0060:[<c06379ef>] EFLAGS: 00210246 CPU: 0
EIP is at rtnl_fill_ifinfo+0x2cf/0x48f
EAX: 00000000 EBX: e46ad090 ECX: 00000000 EDX: e46ad094
ESI: ec90e960 EDI: e462e700 EBP: e46dee9c ESP: e46dee5c
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process insmod (pid: 3514, ti=e46de000 task=e46e3340 task.ti=e46de000)
Stack: c000993b ec90e800 e46ad000 e462e700 e46dee8c 00000000 00000000 00000000
00000000 f882a000 00000000 00000010 000005dc ec90e800 e462e700 ffffffff
e46deec4 c0637e48 00000000 00000000 ffffffff 00000000 00000010 c07ee154
Call Trace:
[<c0637e48>] ? rtmsg_ifinfo+0x45/0xaf
[<c0637eea>] ? rtnetlink_event+0x38/0x3c
[<c06a9718>] ? notifier_call_chain+0x2b/0x4a
[<c0440573>] ? raw_notifier_call_chain+0xc/0xe
[<c0631f4b>] ? register_netdevice+0x30b/0x345
[<c0631fb7>] ? register_netdev+0x32/0x3f
[<f886d432>] ? init_module+0x23b/0x2a9 [real3]
[<c0401125>] ? _stext+0x3d/0x115
[<f886d1f7>] ? init_module+0x0/0x2a9 [real3]
[<c044bf7d>] ? sys_init_module+0x87/0x178
[<c0403c76>] ? syscall_call+0x7/0xb
[<c06a007b>] ? init_intel_cacheinfo+0x0/0x421
=======================
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
EIP: [<c06379ef>] rtnl_fill_ifinfo+0x2cf/0x48f SS:ESP 0068:e46dee5c
---[ end trace ef10416be49ddab2 ]---
Thanks & Regards,
D.Giriprasad
Hi,
--- On Fri, Sep 9, 2011 at 12:07 PM, Giriprasad Deviprasad
<g_pr21(a)yahoo.in> wrote:
| Calling pci_request_region
| 8139too 0000:04:03.0: BAR 0: can't reserve I/O region [0x9c00-0x9cff]
| Could not get PCI region
\--
As it says, this region is not available for your driver. Do you have
8139too driver loaded already? Check output of:
$ lsmod | grep 8139
SK