Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old March 20th, 2006   #1
ugarth
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: land of Port wine
Beans: 15
Kubuntu 8.10 Intrepid Ibex
Realtek not detected

Hi, I've just acquired a brand new laptop, a asus A6 with a "Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC" and a "Intel Pro Wireless 3945ABG" as they report. Sadly, when installing Ubuntu doesn't detect any of my network hardware. Well I though, I install the drivers later and see if it works. For what it seems there aren't drivers for my wireless chipset, although I've read at intel's that a release should be expected early this year. Yes I know I can use ndis-wrapper, but I'll try that later.

My first step is to enable my ethernet card. I went to realtek webpage and downloaded the drivers, installed them, and nothing. Restarted the pc, tried to install them again, and still nothing. What I'm i doing wrong ? I'm new to Linux, and so far I'm liking.
http://www.realtek.com.tw/downloads/...x?keyword=8168
http://support.intel.com/support/not.../CS-006408.htm

note: after installing ubuntu froze when trying to startup the hotplug system, so I disabled it. I added a entry in /etc/hotplug/blacklist for snd-hda-intel, following these instructions
http://www.nabble.com/Re:-hangs-on-%...-p2300638.html
but I need the network up to complete those instructions.

Last edited by ugarth; March 20th, 2006 at 12:26 AM..
ugarth is offline  
Old March 21st, 2006   #2
ugarth
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: land of Port wine
Beans: 15
Kubuntu 8.10 Intrepid Ibex
Re: Realtek not detected

Please, help ! I can't networking to work on my system.
ugarth is offline  
Old March 22nd, 2006   #3
al108
Just Give Me the Beans!
 
al108's Avatar
 
Join Date: Jan 2006
Location: Fairbanks, Alaska
Beans: 69
Ubuntu 7.10 Gutsy Gibbon
Re: Realtek not detected

Also read this thread http://www.ubuntuforums.org/showthread.php?t=143982
it's about rtl8169, but it's using same r1000 driver from Realtek.
Can you post your "lspci" and "dmesg | grep eth" outputs? Are you using win on this laptop? I assume that the card works there.

Alex
al108 is offline  
Old March 23rd, 2006   #4
ugarth
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: land of Port wine
Beans: 15
Kubuntu 8.10 Intrepid Ibex
Re: Realtek not detected

Yes I have windows otherwise currently the laptop would be of no use for me. I'd like to start using Ubuntu extensively for my work and leave windows for leisure. in windows it works well.

lspci -n lists somehting like
Code:
000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8168 (rev 01)
  Subsystem: Asustek Computer, Inc.: Unknown device 11f5
  Flags: bus master, fast devsel, latency 0, IRQ 11
  I/O ports at c800 [size=256]
  Memory at fe0ff000 (64-bit, non-prefetchable) [size=4K]
  Expansion ROM at f3030000[disabled] [size=64K]
  Capabilities: [40] Power Management version 2
  Capabilities: [48] Vital Product Data
  Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
  Capabilities: [60] #10 [0001]
  Capabilities: [84] #09 [014c]
dmesg | grep eth shows nothing.

Last edited by ugarth; March 23rd, 2006 at 12:27 AM..
ugarth is offline  
Old March 24th, 2006   #5
al108
Just Give Me the Beans!
 
al108's Avatar
 
Join Date: Jan 2006
Location: Fairbanks, Alaska
Beans: 69
Ubuntu 7.10 Gutsy Gibbon
Re: Realtek not detected

Well, that output looks like ubuntu kernel driver for Realtek is not compatible with 8168 or there's some conflict with other devices. Did you try installing Realtek drivers? It comes with a readme that will outline steps on how to compile new drivers, you will need to install additional packages for it to work ie gcc-3.4, kernel headers, kernel tree, build-essential, maybe some other stuff too. When you run it and if it is missing anything it'll let you know - just install that missing package using synaptic or apt. Ohterwise installation went pretty smooth for me.

Good luck
al108 is offline  
Old March 26th, 2006   #6
ugarth
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: land of Port wine
Beans: 15
Kubuntu 8.10 Intrepid Ibex
Re: Realtek not detected

hum, I did install the drivers, followed the instructions, but I didn't have gcc-3.4, so I simply renamed my regular gcc (version 4) to gcc-3.4 .
Shouldn't this work ? It seems it doesn't.
ugarth is offline  
Old March 27th, 2006   #7
al108
Just Give Me the Beans!
 
al108's Avatar
 
Join Date: Jan 2006
Location: Fairbanks, Alaska
Beans: 69
Ubuntu 7.10 Gutsy Gibbon
Re: Realtek not detected

Normally you don't rename your gcc, you can install gcc-3.4 in synaptic and you can have both gcc-3.4 and 4.0 installed at the same time. If I remember correctly realtek installer will not requier additional commands, while others like nVidia driver installer will require you to set environment like that
Code:
CC = gcc-3.4
export CC
This will tell compiler to use gcc-3.4 as a default version. It is possible to use gcc-4.0 sometimes, but current Ubuntu kernels were compiled with gcc-3.4 and it's better to do just that.
I would recompile your drivers again and see what happens after that. After that you can follow troubleshooting from here http://www.ubuntuforums.org/showthread.php?t=143982
Of course you don't have to recompile your intrd unless everything else fails.
If your drivers are still not grabbing your card, try going into BIOS and resetting PCI configuration data - sometimes that help to shake things up.
Also you can try using Live CD maybe even Dapper to see if your rtl8168 will work there. Though Dapper is not officially reliazed it works for many without a problem
al108 is offline  
Old March 27th, 2006   #8
ugarth
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: land of Port wine
Beans: 15
Kubuntu 8.10 Intrepid Ibex
Re: Realtek not detected

Ok thank you.
I downloaded and installed gcc-3.4 and the problem presists.
A friend of mine also told me about the latest ubuntu test release, but I'm not willing to try test software.
ugarth is offline  
Old March 28th, 2006   #9
al108
Just Give Me the Beans!
 
al108's Avatar
 
Join Date: Jan 2006
Location: Fairbanks, Alaska
Beans: 69
Ubuntu 7.10 Gutsy Gibbon
Re: Realtek not detected

Ok. So what you saying is r1000.ko compiled without a problem or did you have any messages other than OK from the compiler? Is r1000.ko in
Code:
/lib/modules/`uname -r`/kernel/drivers/net/
directory? Did you do
Code:
sudo depmod -a
and was it successfull?, did you add r1000 into a
Code:
/etc/modules
file? Did you try to recompile your initrd without r8169 module as it could conflict with r1000? Did you try to reset your PCI configuration in BIOS? What is the output now of your
Code:
# lsmod | grep r1000
or
Code:
dmesg | grep eth
or lspci? Also look here for more troubleshooting info http://ubuntuforums.org/showthread.php?t=142716

Did you check your CD media for errors? Did you try any Live CDs? It doesn't hurt to try Dapper Live CD since it doesn't install anything on your hard drive.
Don't be shy and describe in more details what exactly you are doing step by step and maybe more people would be willing to help you - it's really hard to go just from " it didn't work...", besides if you are successfull other people with similar problems will be able to find your thread and learn from it and know exactly what to do in their situation.

Cheers
Alex
al108 is offline  
Old March 29th, 2006   #10
ugarth
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: land of Port wine
Beans: 15
Kubuntu 8.10 Intrepid Ibex
Re: Realtek not detected

I managed to get the ethernet working.
the r1000 module was loaded. I simply did then a /etc/init.d/networking start and it worked.
But a new problem came along.
Ubuntu packet manager updated several drivers and the kernel, which erased the r1000 module. So I tried to build the module again, but make simply fails with the exact same files - this seems a regression with make. It can't match a rule, which is the 1st in the file. Which make version comes with ubuntu 5.10 by default I might try to overwrite it.

Yet, the previous kernel is still working fine and the drivers is loaded, so I'll use this one.
Thanks !

Last edited by ugarth; March 29th, 2006 at 02:13 PM..
ugarth is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:45 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry