Realtek driver problems
by Giriprasad Deviprasad
Hi All,
I am currently working on the realtek driver available in http://linuxgazette.net/156/jangir.html.
When I run the driver, pci_request_regions is erring out as :
ifconfig rtl8139 up
SIOCSIFFLAGS: Device or resource busy
[root@asdlab realtek]# dmesg | tail -50
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
pci 0000:04:03.0: PCI INT A disabled
pci 0000:04:03.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
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.
rtl8139_init is called
region is Memory mapped region
rtl8139_dev is not NULL
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_get_stats is called
rtl8139_open is called
IRQ handler type mismatch for IRQ 16
current handler: via@pci:0000:01:00.0
Pid: 8522, comm: ifconfig Tainted: P 2.6.27.5-117.fc10.i686 #1
[<c04637e7>] setup_irq+0x213/0x22d
[<f886d6c0>] ? rtl8139_interrupt+0x0/0x230 [real5]
[<c04638ef>] request_irq+0xee/0x10c
[<f886d4e6>] rtl8139_open+0x31/0x20b [real5]
[<c0631062>] dev_open+0x76/0xb4
[<c0630ae3>] dev_change_flags+0xa2/0x155
[<c067143b>] devinet_ioctl+0x21a/0x49b
[<c06721dc>] inet_ioctl+0x8e/0xa7
[<c0625597>] sock_ioctl+0x1b4/0x1d8
[<c06253e3>] ? sock_ioctl+0x0/0x1d8
[<c049a0b6>] vfs_ioctl+0x22/0x69
[<c049a347>] do_vfs_ioctl+0x24a/0x25d
[<c04f7b0c>] ? selinux_file_ioctl+0x35/0x38
[<c049a39a>] sys_ioctl+0x40/0x5a
[<c0403c76>] syscall_call+0x7/0xb
[<c06a007b>] ? init_intel_cacheinfo+0x0/0x421
I am attaching the code. Any clues as to why?
Thanks & Regards,
D.Giriprasad
12 years, 7 months
FUDCon India Sep 09 2011 IRC meeting mins
by Rahul Sundaram
Hi
http://meetbot.fedoraproject.org/fudcon-planning/2011-09-09/fudcon_pune.2...
Meeting summary
Roll Call (jsmith, 13:01:51)
Status updates (jsmith, 13:03:18)
Status Updates: Hotel (jsmith, 13:04:30)
FUDPub (jsmith, 13:10:04)
No status update on FUDPub (jsmith, 13:12:15)
Catering/Food (jsmith, 13:12:29)
Hidden Place is quoting about INR 275/- for Buffet and INR 300/-
per boxed meal (jsmith, 13:22:01)
Cocoon still hasn't come back with their menu and cost estimates
(jsmith, 13:22:10)
Posters/signage/artwork (jsmith, 13:22:43)
https://fedoraproject.org/wiki/FUDCon:Pune_2011_Buttons_And_Banners
(mether, 13:25:27)
Artwork has been finalized for most items (jsmith, 13:25:55)
T-shirt design still pending, but should have a proposal by
Sunday (jsmith, 13:26:12)
Website (jsmith, 13:27:57)
minor updates needed to the website, but not much pending there
(jsmith, 13:30:29)
Booklet (jsmith, 13:30:36)
ACTION: jsmith to finish the Welcome letter (jsmith, 13:32:41)
http://fedoraproject.org/wiki/FUDCon:India_2011_booklet#General_schedule
(FranciscoD, 13:33:14)
ACTION: FranciscoD to get the map (jsmith, 13:33:14)
Subsidy requests (jsmith, 13:35:49)
Ticket 216: Srishti Sethi (jsmith, 13:38:32)
https://fedorahosted.org/fudcon-planning/ticket/216 (jsmith,
13:38:41)
AGREED: to hold this request for now, and follow up when we have
more information (jsmith, 13:41:36)
Ticket 221: Lakshmi Narasimhan T V (jsmith, 13:42:21)
https://fedorahosted.org/fudcon-planning/ticket/221 (jsmith,
13:42:30)
AGREED: to fund ticket 221 for hotel room (jsmith, 13:43:58)
Ticket 219: Andreas Thienemann (jsmith, 13:44:20)
AGREED: to fund ticket #219 for $1300 for airfare, plus a hotel
room (jsmith, 13:54:21)
Any other tickets? (jsmith, 13:54:30)
Any other business? (jsmith, 14:01:15)
Meeting ended at 14:06:37 UTC
Action items
1. jsmith to finish the Welcome letter
2. FranciscoD to get the map
Action items, by person
1. FranciscoD
1. FranciscoD to get the map
2. jsmith
1. jsmith to finish the Welcome letter
People present (lines said)
1. jsmith (83)
2. mether (52)
3. pjp (14)
4. FranciscoD (9)
5. zodbot (8)
6. amitshah (4)
7. tatica (3)
8. rbergeron (0)
9. spot (0)
Rahul
12 years, 7 months
Re: [fedora-india] pci_request_regions not working
by Giriprasad Deviprasad
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
12 years, 7 months
pci_request_regions not working
by Giriprasad Deviprasad
Hi All,
I am currently working on the realtek driver available in http://linuxgazette.net/156/jangir.html.
When I run the driver, pci_request_regions is erring out as :
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 0 starting Address = 9c00 End Address = 9cff Length = 256 resource is not available
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
Calling pci_request_region
8139too 0000:04:03.0: BAR 0: can't reserve I/O region [0x9c00-0x9cff]
Could not get PCI region
sys_init_module: 'real3'->init suspiciously returned 1, it should follow 0/-E convention
sys_init_module: loading module anyway...
I am attaching the driver code. Any clues as to why?
Thanks & Regards,
D.Giriprasad
12 years, 7 months
Online Upgrading to fedora-15 failed.
by Mahua Chakrabarty
I was upgrading from Fedora-14 to 15 online with root comand preupgrade.
Everything was going well but at the last stage the installation process had
stalled while installing gnome-games-3.0.1.1-1.fc15.i686 and I had to abort
installation process.
Subsequently when I boot installation process starts but ends with an error
message while installing gnome-games-3.0.1.1-1.fc15.i686 with an error
message
*Error Installing Package
*
"A fatal error occured when installing gnome games package. This could
indicate errors when reading the installation media. Installation cannot
continue.
Exit Installer"
Now what to do? I am unable to login to broadband connection also.
Can anybody help me?
--
Mahua Chakrabarty
165/A Avay Vidyalankar Road,
Behala, Kolkata - 700060
Phone:
Kolkata - (033)24060452
Orissa - (06760)244160
12 years, 7 months