LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-26-2003, 07:59 AM   #196
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57

Try the package named:

rtl8180_linuxdrv_v12_rh80.zip

It was compiled against a 2.4.18 with a 3.x series gcc. Edit the makefile so it sees your kernel source, and then run a "make clean" and a "make" I've had the same problem with the SuSe chunk.

Cheers,

Finegan
 
Old 08-26-2003, 08:16 AM   #197
xeristian/null
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
Wonderful. Less errors are good. "Segmentation Fault" bad. I probably have something colliding with it, so I'm going to nullify some services. If you have any input...
 
Old 08-26-2003, 08:23 AM   #198
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
a seg fault on insmod?

erm... post back with the whole error, also the chunk at the end of "dmesg" having to do with the card.

Cheers,

Finegan
 
Old 08-26-2003, 08:28 AM   #199
xeristian/null
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
Wow... that's the fastest reply on a thread I've had in months...

[root@reality release4]# insmod rtl8180_24x.o
Segmentation fault





******** RTL8180 Wireless Lan Driver 2003-06-11 loaded********
PCI: Setting latency timer of device 02:00.0 to 64
RTL8180: 02:00.0: region #0 IS a PIO resource!
RTL8180: request_region(0x00009000,0x00000100) !
Unable to handle kernel paging request at virtual address bd01010c
printing eip:
e0abf441
*pde = 00000000
Oops: 0000
rtl8180_24x snd-pcm-oss snd-mixer-oss snd-ali5451 snd-pcm snd-timer snd-page-alloc snd-ac97-codec snd soundcore ds yenta_socket pcmcia_core orinoco hermes af_packet sr_mod 8139too mii ohci1394 ieee1394 supermount nls_iso8859-1 nls_cp850 vfat fat ide-cd cdrom ide-scsi scsi_mod usbmouse keybdev mousedev hid input ehci-hcd usb-uhci usbcore rtc
CPU: 0
EIP: 0010:[<e0abf441>] Not tainted
EFLAGS: 00210286
EIP is at rtl8180_hw_get_version+0x1/0x70 [rtl8180_24x]
eax: 00009000 ebx: da2d5000 ecx: da2d5000 edx: da3216e0
esi: e0adaa97 edi: da320000 ebp: da473e70 esp: da473e40
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 1959, stackpage=da473000)
Stack: da473e70 e0abcdfe da2d5000 da3216e0 000189bc 00200286 00000001 00200286
c03a7071 da2d5000 e0adaa97 da2d5227 da473e90 e0abc8e8 da2d5000 db91205c
c21998a0 da2d5000 db912000 da2d5000 da473ec0 e0abc2a0 da2d5000 00009000
Call Trace:
[<e0abcdfe>] __rtl8180_init_default_config+0x42/0x2b8 [rtl8180_24x]
[<e0adaa97>] .rodata.str1.1+0x1b/0x1744 [rtl8180_24x]
[<e0abc8e8>] rtl8180_init+0x18/0x80 [rtl8180_24x]
[<e0abc2a0>] rtl8180_pci_probe+0x240/0x300 [rtl8180_24x]
[<e0aea380>] rtl8180_driver_name+0x0/0x20 [rtl8180_24x]
[<e0aea3a0>] rtl8180_pci_id_tbl+0x0/0x40 [rtl8180_24x]
[<e0aea3e0>] rtl8180_pci_driver+0x0/0x28 [rtl8180_24x]
[<c01e4c97>] pci_announce_device+0x27/0x60 [kernel]
[<e0aea3a0>] rtl8180_pci_id_tbl+0x0/0x40 [rtl8180_24x]
[<e0aea3e0>] rtl8180_pci_driver+0x0/0x28 [rtl8180_24x]
[<c01e4d27>] pci_register_driver+0x57/0x60 [kernel]
[<e0aea3e0>] rtl8180_pci_driver+0x0/0x28 [rtl8180_24x]
[<e0abc44c>] rtl8180_pci_module_init+0x1c/0x50 [rtl8180_24x]
[<e0aea3e0>] rtl8180_pci_driver+0x0/0x28 [rtl8180_24x]
[<c011d8f8>] sys_init_module+0x508/0x650 [kernel]
[<e0ae6e2c>] __ksymtab+0x0/0x970 [rtl8180_24x]
[<e0abc060>] rtl8180_pci_probe+0x0/0x300 [rtl8180_24x]
[<c0109093>] system_call+0x33/0x40 [kernel]

Code: a1 0c 01 01 bd 89 e5 25 00 00 00 ff 8b 55 0c 75 22 c6 02 02

[root@reality release4]#
 
Old 08-26-2003, 08:29 AM   #200
xeristian/null
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Rep: Reputation: 0
I'm thinking it has something to do with the unnecessary modules being loaded...
 
Old 08-26-2003, 01:27 PM   #201
Nizzki
LQ Newbie
 
Registered: Aug 2003
Distribution: redhat 9
Posts: 6

Rep: Reputation: 0
any ideas why i can connect to the router using the card (I get the ssid, mac of the router, etc.), but i get 100% overruns when i try to ping anything? i have set up the ip address using ifconfig (brought it up as well), and the default gw using route.
I tried using all of the versions of the driver, currently using the rh9 version. Also tried different kernels, now using 2.4.22-rc2
 
Old 08-26-2003, 04:30 PM   #202
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
The oops comes from the fact that... well, the driver isn't that well written. I can't understand the oops trace. Offhand you may want to mail the output to realtek, beg them some more to open the priv_part of their driver and clean up some more code. How to get around it for now?

Honestly, compile a kernel from the ground up with as much as possible compiled directly into the kernel as opposed to modules... maybe that will get around it, I've had a lot of luck with this card and vanilla compiles of 2.4.21 and 22-preX.

nizzki,

When you say that you get the ssid and mac of the router, they're appearing in "dmesg" right? This little bugger luckily makes a very obvious log of the moment it associates with an AP. If you get that, but no packet traffic... I'm a little confused, could you list all the commands your are using, in order...


Cheers,

Finegan
 
Old 08-26-2003, 05:27 PM   #203
Nizzki
LQ Newbie
 
Registered: Aug 2003
Distribution: redhat 9
Posts: 6

Rep: Reputation: 0
Finegan:
k, here are the commands:
install modules
iwpriv wlan0 enable < this gives me the connect blob in dmesg saying that it found, and connected to, my router (no wep set). The router also sees the connection, as i can see the mac address on the config page.
ifconfig wlan0 192.168.1.102 netmask 255.255.255.0 up
route add default gw 192.168.1.1
ping 192.168.1.1 (it is set to reply to ping commands), no replies
in ifconfig i have 100% overruns.
I have tried using dhclient wlan0 to no avail, no replies from a dhcp server
I tried using the same commands with the regular ethernet card, and that worked fine

thx for help
 
Old 08-26-2003, 05:40 PM   #204
Nizzki
LQ Newbie
 
Registered: Aug 2003
Distribution: redhat 9
Posts: 6

Rep: Reputation: 0
One more thing, the network card itself works, and communicates with the router, as it functions happily under windoze (using it right now)
 
Old 08-26-2003, 07:50 PM   #205
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
nizzki,

It may look like its associated, but without:

iwpriv wlan0 wlan_para networktype=managed
iwpriv wlan0 wlan_para wepmode=off
iwpriv wlan0 wlan_para ssid2scan=blahblah

before enabling it...

Setting all that goop by hand, etc... I don't think the card handles the wireless layer well at all, and probably isn't actually setting this stuff right although the scan may look clean.

Cheers,

Finegan
 
Old 08-27-2003, 02:06 AM   #206
zadtc
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Hi,

Ok, my followup, sorry for the long delay but i had to apt-get over dial-up. i managed to install Gcc 3.3 (from unstable), couldn't compile my kernel with it. I also tried a 2.4.21-4 version kernel compiled with Gcc 2.9.x but i still get seg faults. I'm going to wait for another driver version before giving it another shot.

Zadtc
 
Old 08-28-2003, 12:09 AM   #207
trockid
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
I've read this whole thread in an attempt to solve my issues with my Gigafast WF721 wireless pcmcia (realtek 8180 chip) to no avail.
I'm runing Debian on a Thinkpad 600e.

I compiled the latest redhat driver by just changing the kernel source location in the Makefile. However, when I try insmod i get:

rtl8180_24x.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

dmesg gives me:

******** RTL8180 Wireless Lan Driver 2003-06-11 loaded********
PCI: No IRQ known for interrupt pin A of device .
RTL8180: : region #0 not a PIO resource, aborting
unregister_netdevice: device wlan%d/ce287c00 never was registered
RTL8180: wlan driver load failed
rtl8180: No devices found, RTL8180 Wireless Lan Driver 2003-06-11 unregistered

I appended "pci=biosirq" in lilo and it didn't help.
Cardctl ident gives me:
Socket 0:
product info: "Realtek", "Rtl8139"
manfid: 0x0000, 0x024c
function: 6 (network)
PCI id: 0x10ec, 0x8180

When I try "lspci" I get the error:
pcilib: Cannot open /proc/bus/pci/02/00.0
lspci: Unable to read 64 bytes of configuration space.

So I tried "lspci -H1 -v" and got:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8180 (rev 20)
Subsystem: Realtek Semiconductor Co., Ltd.: Unknown device 8180
Flags: bus master, medium devsel, latency 64, IRQ 2
I/O ports at <unassigned> [disabled]
Memory at 60000000 (32-bit, non-prefetchable)
Capabilities: [50] Power Management version 2

I'm not really sure where to go from here...been ripping my hair out trying to get this working. help!
 
Old 08-28-2003, 10:58 AM   #208
wrapp
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
If you have a ACPI machine compile in ACPI support into your kernel.
For me this helps on a Toshiba 11xx .
 
Old 08-28-2003, 11:46 AM   #209
sundevil
LQ Newbie
 
Registered: Aug 2003
Location: somerville,ma
Posts: 4

Rep: Reputation: 0
more rtl8180 trouble

wow. this chipset is a real pain.
has anyone gotten this to work?

here's my situation....

i've got a generic card with the realtek 8180l chip.
i'm running mandrake 9.1
with 2.4.21-0.25mdk

i downloaded the rh9 drivers and recompiled with my kernel in the makefile.
fine.
i insmod -f the driver.
fine. no errors, just the warning about forcing a driver.....

i enable the driver
CRASH!
system freezes and nver comes back

any ideas/suggestions?????
 
Old 09-01-2003, 03:53 PM   #210
icebergfella
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
I have that same problem your havin and still haven't found any help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linksys WPC11 version 4 aover25 Linux - Wireless Networking 5 02-12-2006 11:01 PM
WPC11 version 3 chiatello Linux - Networking 0 10-28-2003 09:32 PM
Linksys WPC11 version 4 kronixx Linux - Networking 1 06-07-2003 10:25 PM
WPC11 Version 4 StarCat Linux - Networking 1 05-03-2003 12:13 PM
Linksys WPC11 Version 3 haqtiq Linux - Networking 3 01-15-2003 11:33 PM


All times are GMT -5. The time now is 05:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration