Fedora ADSL Connection Problem

  • Thread starter Thread starter bheemarjun
  • Start date Start date
  • Replies Replies 36
  • Views Views 12,077
QUOTE(vichitra @ Oct 14 2006, 01:47 PM) [snapback]65302[/snapback]
Well,
You have two solutions that you can use to get this card running in FC5, one is /ndiswrapper/ based using drivers of WINDOWS { I strongly discourage this solution } and second is using the modified driver having device entry for 1904:8139
in 8139too kernel module.

If you opt for modified driver then download the driver source from given link and then on
console give following commands.

tar xzvpf rtl8139too-19048139.tar.gz
cd rtl8139too-19048139
make

After this if you ain't logged in as root then become root first, go into rtl8139too-19048139 directory and then give following commands

mv /lib/modules/$(uname -r)/kernel/drivers/net/8139too.ko ~/
cp 8139too.ko /lib/modules/$(uname -r)/kernel/drivers/net/
depmod -ae
modprobe 8139too

now dmesg and see all the lines relating to 8139, see if it reports that it found a card.
If ok then you can use normal GUI tool to configure it.

Check it and report back.

Modified source link
http://link-removed.de/files/36677888/rtl813...139.tar.gz.html

P.S
YOU NEED TO HAVE kernel-devel PACKAGE INSTALLED
[/b]

Hi Vichitra,
Thanks a lot for the modified code of the Driver.
I have downloaded it, I'll follow the steps as you mentioned as soos as I reach home and post the results here.
Thanks Again,
Raffi
 
QUOTE(vichitra @ Oct 14 2006, 01:47 PM) [snapback]65302[/snapback]

Your BIOS is pretty much outdated and seems that it suffering from bad PCI IRQ STEERING table, have you tried to pass pci=usepirqmask to kernel at booting time, if not please do same and see what happens.

The timeout message you getting is mostly due to uncomplete IRQ postings, in short device in concerned tried to generate interrupt but either due to bad HARDWARE or related BIOS it never succeed to finish its operation.

http://www.linux-usb.org/mailing.html
[/b]



This irq problem raises a question in my mind. Maybe Raffi can try changing the USB port he is using in his computer. Would that make a difference?

And in case Raffi is using USB ports on a PCI card in his computer, he could try changing the slots of the PCI card.
 
QUOTE(raffimd @ Oct 14 2006, 04:36 PM) [snapback]65329[/snapback]
Hi Vichitra,
Thanks a lot for the modified code of the Driver.
I have downloaded it, I'll follow the steps as you mentioned as soos as I reach home and post the results here.
Thanks Again,
Raffi
[/b]

Hi Vichitra,
I Could not build the extracted tar :(
I run the make from "/data/rtl8139too-19048139"
without any change, I get an error:
------------
make -C /lib/modules/'uname -r'/build M=/data/rtl8139too-19048139 modules
make: *** /lib/modules/2.6.15-1.2054_FC5/build: No such file or directory. Stop.
make: *** [modules] Error 2
------------

I went to /lib/modules/2.6.15-1.2054_FC5/ and did ls -ltr
build under that directory was linked to "/usr/src/kernels/2.6.25-1.2054_FC5-i686" (why i686 ?)
Which does not exist...
I went to /usr/src, there is only a directory named "redhat".

So, I have edited the Makefile so that KDIR points to "/usr/src/redhat" instead of figuring out the KDIR based on the 'uname -r'.

That also didn't work.
This gave me the folowing error:
-----------
make -C /usr/src/redhat M=/data/rtl8139too-19048139 modules
make[1]: Entering directory '/usr/src/redhat'
make[1]: *** No rule to make target 'modules'. Stop
make[1]: Leaving directory '/usr/src/redhat'
make: *** [modules] Error 2
-----------

I am new to Linux, Can you please tell me what the KDIR should point to?

Thanks for all the support by you guys.... :)
Raffi

QUOTE(bsnluser @ Oct 14 2006, 09:22 PM) [snapback]65365[/snapback]
This irq problem raises a question in my mind. Maybe Raffi can try changing the USB port he is using in his computer. Would that make a difference?

And in case Raffi is using USB ports on a PCI card in his computer, he could try changing the slots of the PCI card.
[/b]

I am trying using Ethernet Port, I tried in all the slots available in my box.
The card was working well before with Windows.
I think there is an issue with the driver in Linux.
"lspci" could not detect the device properly
-------
Ethernet controller: Unknown device 1904:8139 (rev 01)
--------
I think If I could remove the Unknown device , I'll be through.
But I donot know how...
Thanks for your support guys...
Raffi
 
QUOTE(raffimd @ Oct 14 2006, 11:15 PM) [snapback]65374[/snapback]
Hi Vichitra,
I Could not build the extracted tar :(
I run the make from \"/data/rtl8139too-19048139\"
without any change, I get an error:
------------
make -C /lib/modules/'uname -r'/build M=/data/rtl8139too-19048139 modules
make: *** /lib/modules/2.6.15-1.2054_FC5/build: No such file or directory. Stop.
make: *** [modules] Error 2
------------
[/b]

You need to have kernel-devel-2.6.15-1.2054_FC5 package installed in your system to get going with the module compilation.
BTW this kernel is old update it after you fixed your ethernet card using yum, for now grab the package from the given link, you would find same package in your FC5 cd/dvd also.
Install it using

rpm -Uvh /path-to-kernel-devel-rpm/kernel-devel-2.6.15-1.2054_FC5.i686.rpm

IN CASE IF YOU WANT TO GRAB THIS PACKAGE FROM NET
http://mirrors.kernel.org/fedora/core/5/i3...54_FC5.i686.rpm

Follow the rest of instructions given in another post.


QUOTE(bsnluser @ Oct 14 2006, 09:22 PM) [snapback]65365[/snapback]
This irq problem raises a question in my mind. Maybe Raffi can try changing the USB port he is using in his computer. Would that make a difference?

And in case Raffi is using USB ports on a PCI card in his computer, he could try changing the slots of the PCI card.
[/b]

That reply was for krishnacgh.
Yes he could try different combinations of USB port or if USB PCI card then different pci slots also.
 
QUOTE(vichitra @ Oct 14 2006, 01:47 PM) [snapback]65302[/snapback]
Your BIOS is pretty much outdated and seems that it suffering from bad PCI IRQ STEERING table, have you tried to pass pci=usepirqmask to kernel at booting time, if not please do same and see what happens.

The timeout message you getting is mostly due to uncomplete IRQ postings, in short device in concerned tried to generate interrupt but either due to bad HARDWARE or related BIOS it never succeed to finish its operation.

If still having problem I would suggest you to report this back on LINUX-USB-USER mailling list at following address, you would get more specific help there.
http://www.linux-usb.org/mailing.html
[/b]

I appended "pci=usepirqmask" option to kernel at booting time, but this gave no better results.
Thanks

-krishnacgh
 
That reply was for krishnacgh.Yes he could try different combinations of USB port or if USB PCI card then different pci slots also.Tried diff combinations of USB ports and slots, but it does not work. However, works fine under Windows XPThanks-krishnacgh
 
QUOTE(krishnacgh @ Oct 15 2006, 01:55 AM) [snapback]65385[/snapback]

Tried diff combinations of USB ports and slots, but it does not work. However, works fine under Windows XP

Thanks

-krishnacgh
[/b]

Few years back BIOS writers used to think WINDOWS is the only platform for which they need to provide quircks for broken hardware :P

Anyway, could you compile a kernel with USB and NETWORK debugging on and see the dmesg what things going on, actually I don't have access to this hardware or I would have been able to help you more specifically, so right now whatever help I could provide would be based on your feedback only.
You could mail me logs if its too big.
 
hhhmmm wouldnt it be simpler to just use ndiswrapper? http://ndiswrapper.sourceforge.net/

copy ur driver files from the driver disk to ur linux install after installing it and u shud be good to go.. post back :-)

EDIT: after googling for ur card and ndiswrapper i found this page.. seems like someone else was having the same problems as u and he resolved his by using ndiswrapper

http://forums.fedoraforum.org/forum/showth...60&page=3&pp=15

it's probably best to first post in the distro's forums.. u stand a better chance of getting ur problem resolved ;-)
 
QUOTE(ogtripleog @ Oct 15 2006, 03:42 AM) [snapback]65389[/snapback]
hhhmmm wouldnt it be simpler to just use ndiswrapper? http://ndiswrapper.sourceforge.net/

copy ur driver files from the driver disk to ur linux install after installing it and u shud be good to go.. post back :-)

EDIT: after googling for ur card and ndiswrapper i found this page.. seems like someone else was having the same problems as u and he resolved his by using ndiswrapper

http://forums.fedoraforum.org/forum/showth...60&page=3&pp=15

it's probably best to first post in the distro's forums.. u stand a better chance of getting ur problem resolved ;-)
[/b]

Yes /ndiswrapper/ could be used, but then it would be more easy to use a crappy platform like WINDOWS rather then bringing its crappy things in linux.
Anyway /ndiswrapper/ is strongly discouraged by kernel developers for kernel modules, at least they wouldn't give a damn, if users experience other kernel problems.
 
lol i know.. thats why i never install wine or cedega on my linux box.. maybe the simpler solution would be to buy another card for 150 bucks :rolleyes:
 
Back