Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]

2009-10-29 Thread Marcus Wanner

On 10/28/2009 8:09 PM, Dale wrote:

Marcus Wanner wrote:
  

On 10/28/2009 5:39 PM, Dale wrote:


Marcus Wanner wrote:
  
  

I booted up the livecd and ran lspci -v, it worked great. I got
similar output to that above, and found out that I am using a 3Com
Corporation 3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver
in use: 3c59x. Great! Only problem was that when I went to look for
that driver in menuconfig, all I found were two other drivers for
similar cards (one of which had [Typhoon] in the name).

However, I enabled those drivers, recompiled, rebooted, and everything
works great. Thanks for all your help.

Marcus





Now I'm confused.  I did a search here as well and it returned nothing
matching that driver.  This is a first for me.  Has anyone else ever
searched for a driver when you have the exact name and not get a match
when the driver is actually there?  I did a manual search and the driver
is there.
Glad you got the network working tho.
Dale

:-)  :-)   
  

Yeah, I guess it's because you have to download that particular driver
separately?

Marcus





It's in the kernel tho.  This appears to be the one:

3c590/3c900 series (592/595/597) Vortex/Boomerang support

The help screen lists your card.  Just weird to me. 


Dale

:-)  :-)
  
Oh, now it makes sense that my card worked with that driver. Come to 
think of it, I didn't even know that each menuconfig option had its own 
help message...that could have come in handy.


Marcus



Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Mick
On Tuesday 27 October 2009 23:32:07 Marcus Wanner wrote:

 Note that I do not have the same ethernet card as is mentioned in the
 link above, and have not been able to find out exactly what it's name
 is, besides the fact that the name includes Tornado. Also note that it
 worked fine in the Gentoo minimal installation cd.
 
 To sum it up: How do I figure out what the name of my card is, and after
 that, what driver do I need?

Typical tools used to probe devices and read the details of them are:

lshw
hwconf

To read your PCI connected devices you need:

lspci -v


If you have the correct drivers for your NIC then it will show up when you 
run:

ifconfig -a

although it may not have an IP address unless dhcpcd is running.

If these commands are not on your current LiveCD, burn a Knoppix CD/DVD or 
SystemRescueCd or equivalent.  They have all these commands available and if 
your NIC is working they would have most likely loaded the necessary module:

lsmod

will show the loaded modules.

Finally, dmesg | grep eth0 (if e.g. eth0 shows up in ifconfig) will show you 
what you card is recognised as:

$ dmesg | grep -i eth0
e100: eth0: e100_probe: addr 0x4010, irq 11, MAC addr 00:02:a5:b6:a1:8f
e100: eth0 NIC Link is Up 100 Mbps Full Duplex

If as you say the Minimal CD works, then I recommend that you boot with that 
and run the above commands making notes what is the NIC module the CD kernel 
has loaded.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Dale
Mick wrote:

 To read your PCI connected devices you need:

 lspci -v

 HTH.
   

That is the key command in my opinion.  That will tell you what driver
it is using for what device.  If it works while booted on the Live CD,
then that driver is most likely what you need.  Take the name of the
driver, then search for it in menuconfig.  You hit the / key to
search.  Its like the ? key without hitting shift.  It should show you
exactly where the driver is located so you can go enable it.  Then you
just recompile the kernel and copy it to /boot.

This is what the output should look like:

01:08.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10
MBit (rev 31)
Subsystem: ARCHTEK TELECOM Corp Device 0008
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at 9800 [size=256]
Memory at df002000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 8810 [disabled] [size=256K]
Capabilities: [50] Power Management version 1
Kernel driver in use: dmfe


The last line is the key.  If I were searching for that driver, I would
search for dmfe and enable it as built in or a module.

If that command doesn't show the driver, then you may need to start with
some of the other commands to see what you can test to get it working.

Dale

:-)  :-) 





Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Damien Sticklen
Marcus Wanner wrote:
 On 10/27/2009 7:38 PM, Alan McKinnon wrote:
 On Wednesday 28 October 2009 01:32:07 Marcus Wanner wrote:
  
 Hi!

 I just followed the (excellent, easily understandable) gentoo
 installation handbook up to chapter 10, where it says to reboot. I did
 so, but I had the same problem as the user here:
 http://www.linuxquestions.org/questions/linux-networking-3/networking-eth0-

 does-not-exist-gentoo-349330/

 As suggested in there, I have recompiled the kernel with the tulip
 drivers (everything under the tulip subtree in make menuconfig), copied
 it to /boot, and booted it, but it still gives the same message. I have
 verified that I am booting the newly compiled kernel with the tulip
 drivers, but it still doesn't work.

 Note that I do not have the same ethernet card as is mentioned in the
 link above, and have not been able to find out exactly what it's name
 is, besides the fact that the name includes Tornado. Also note
 that it
 worked fine in the Gentoo minimal installation cd.

 To sum it up: How do I figure out what the name of my card is, and
 after
 that, what driver do I need?
 

 Post this output:

 lspci
 dmesg | grep something_relevant
   
 lscpi returns command not found, don't know what you mean by the dmesg
 thing. dmesg is working properly, if that's what you want to know.
 Thanks!

 Marcus

Marcus,

Are you using the lspci command as root?

Thanks,

Damien



Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Stroller


On 27 Oct 2009, at 23:32, Marcus Wanner wrote:

...
To sum it up: How do I figure out what the name of my card is, and  
after that, what driver do I need?


Boot once again with the LiveCD, and the lspci and lshw commands  
should work from there.


You can also run `lsmod` which will show which driver modules are  
currently running in the LiveCD environment - the appropriate one is  
likely to be amongst them.


From the LiveCD you can run these commands and redirect to a text  
file on a USB drive - i.e. `lspci -v  /mnt/foo/file.txt`.


Also from the LiveCD, you can chroot back into the system you've  
started building, and have network access. Follow the steps of the  
handbook just as you did before - the disk is already partitioned, so  
you can skip that bit; skip to mounting the disks at /mnt/gentoo, /mnt/ 
gentoo/boot c, then do the mount where you bind /proc and execute the  
chroot command just like you did before. Then you can `emerge sys-apps/ 
pciutils` to install lspci on the hard-drive of the new system and you  
can add any other utilities you need (some of which might not be  
included on the liveCD).


I find this easier, because once the liveCD has loaded you can set the  
liveCD's root password, start ssh and you no longer need to do your  
back in crouching over the new PC which is invariably, during the  
duration of the build, located somewhere inconvenient, such as the  
floor or the top of the sever closet. You can then return to your  
comfy chair and continue your work over the network.


Stroller.




Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Marcus Wanner

On 10/28/2009 06:38 AM, Damien Sticklen wrote:

Marcus Wanner wrote:
  

lscpi returns command not found



Are you using the lspci command as root?

  

Yes, I haven't set up a non-root user yet.

Marcus



Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]

2009-10-28 Thread Marcus Wanner

On 10/28/2009 04:01 AM, Dale wrote:

Mick wrote:
  

To read your PCI connected devices you need:

lspci -v

HTH.
  



That is the key command in my opinion.  That will tell you what driver
it is using for what device.  If it works while booted on the Live CD,
then that driver is most likely what you need.  Take the name of the
driver, then search for it in menuconfig.  You hit the / key to
search.  Its like the ? key without hitting shift.  It should show you
exactly where the driver is located so you can go enable it.  Then you
just recompile the kernel and copy it to /boot.

This is what the output should look like:

01:08.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10
MBit (rev 31)
Subsystem: ARCHTEK TELECOM Corp Device 0008
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at 9800 [size=256]
Memory at df002000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 8810 [disabled] [size=256K]
Capabilities: [50] Power Management version 1
Kernel driver in use: dmfe


The last line is the key.  If I were searching for that driver, I would
search for dmfe and enable it as built in or a module.

If that command doesn't show the driver, then you may need to start with
some of the other commands to see what you can test to get it working.

Dale

:-)  :-) 
  
I booted up the livecd and ran lspci -v, it worked great. I got similar 
output to that above, and found out that I am using a 3Com Corporation 
3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver in use: 
3c59x. Great! Only problem was that when I went to look for that driver 
in menuconfig, all I found were two other drivers for similar cards (one 
of which had [Typhoon] in the name).


However, I enabled those drivers, recompiled, rebooted, and everything 
works great. Thanks for all your help.


By the way, I have never had such great technical support before. I am 
really amazed that within 12 hours, I had about 3 different ways of 
fixing this, and was able to have it up and running within 45 minutes of 
checking my email this morning. Wonderful!


Marcus



Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Dirk Heinrichs
Am Mittwoch 28 Oktober 2009 00:32:07 schrieb Marcus Wanner:

 To sum it up: How do I figure out what the name of my card is, and after 
 that, what driver do I need?

Boot from a LiveCD, like Knoppix or GRML, run lspci -vv from there and post 
the output.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-28 Thread Dirk Heinrichs
Am Mittwoch 28 Oktober 2009 18:56:33 schrieb Dirk Heinrichs:
 Am Mittwoch 28 Oktober 2009 00:32:07 schrieb Marcus Wanner:
  To sum it up: How do I figure out what the name of my card is, and after
  that, what driver do I need?
 
 Boot from a LiveCD, like Knoppix or GRML, run lspci -vv from there and post
 the output.

Oops, you already got that hint.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]

2009-10-28 Thread Dale
Marcus Wanner wrote:
 On 10/28/2009 04:01 AM, Dale wrote:
 Mick wrote:
  
 To read your PCI connected devices you need:

 lspci -v

 HTH.
   

 That is the key command in my opinion.  That will tell you what driver
 it is using for what device.  If it works while booted on the Live CD,
 then that driver is most likely what you need.  Take the name of the
 driver, then search for it in menuconfig.  You hit the / key to
 search.  Its like the ? key without hitting shift.  It should show you
 exactly where the driver is located so you can go enable it.  Then you
 just recompile the kernel and copy it to /boot.

 This is what the output should look like:

 01:08.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10
 MBit (rev 31)
 Subsystem: ARCHTEK TELECOM Corp Device 0008
 Flags: bus master, medium devsel, latency 32, IRQ 16
 I/O ports at 9800 [size=256]
 Memory at df002000 (32-bit, non-prefetchable) [size=256]
 [virtual] Expansion ROM at 8810 [disabled] [size=256K]
 Capabilities: [50] Power Management version 1
 Kernel driver in use: dmfe


 The last line is the key.  If I were searching for that driver, I would
 search for dmfe and enable it as built in or a module.

 If that command doesn't show the driver, then you may need to start with
 some of the other commands to see what you can test to get it working.

 Dale

 :-)  :-)   
 I booted up the livecd and ran lspci -v, it worked great. I got
 similar output to that above, and found out that I am using a 3Com
 Corporation 3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver
 in use: 3c59x. Great! Only problem was that when I went to look for
 that driver in menuconfig, all I found were two other drivers for
 similar cards (one of which had [Typhoon] in the name).

 However, I enabled those drivers, recompiled, rebooted, and everything
 works great. Thanks for all your help.

 By the way, I have never had such great technical support before. I am
 really amazed that within 12 hours, I had about 3 different ways of
 fixing this, and was able to have it up and running within 45 minutes
 of checking my email this morning. Wonderful!

 Marcus



Now I'm confused.  I did a search here as well and it returned nothing
matching that driver.  This is a first for me.  Has anyone else ever
searched for a driver when you have the exact name and not get a match
when the driver is actually there?  I did a manual search and the driver
is there. 

Glad you got the network working tho. 

Dale

:-)  :-) 





Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]

2009-10-28 Thread Marcus Wanner

On 10/28/2009 5:39 PM, Dale wrote:

Marcus Wanner wrote:
  

On 10/28/2009 04:01 AM, Dale wrote:


Mick wrote:
 
  

To read your PCI connected devices you need:

lspci -v

HTH.
  


That is the key command in my opinion.  That will tell you what driver
it is using for what device.  If it works while booted on the Live CD,
then that driver is most likely what you need.  Take the name of the
driver, then search for it in menuconfig.  You hit the / key to
search.  Its like the ? key without hitting shift.  It should show you
exactly where the driver is located so you can go enable it.  Then you
just recompile the kernel and copy it to /boot.

This is what the output should look like:

01:08.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10
MBit (rev 31)
Subsystem: ARCHTEK TELECOM Corp Device 0008
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at 9800 [size=256]
Memory at df002000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 8810 [disabled] [size=256K]
Capabilities: [50] Power Management version 1
Kernel driver in use: dmfe


The last line is the key.  If I were searching for that driver, I would
search for dmfe and enable it as built in or a module.

If that command doesn't show the driver, then you may need to start with
some of the other commands to see what you can test to get it working.

Dale

:-)  :-)   
  

I booted up the livecd and ran lspci -v, it worked great. I got
similar output to that above, and found out that I am using a 3Com
Corporation 3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver
in use: 3c59x. Great! Only problem was that when I went to look for
that driver in menuconfig, all I found were two other drivers for
similar cards (one of which had [Typhoon] in the name).

However, I enabled those drivers, recompiled, rebooted, and everything
works great. Thanks for all your help.

By the way, I have never had such great technical support before. I am
really amazed that within 12 hours, I had about 3 different ways of
fixing this, and was able to have it up and running within 45 minutes
of checking my email this morning. Wonderful!

Marcus





Now I'm confused.  I did a search here as well and it returned nothing
matching that driver.  This is a first for me.  Has anyone else ever
searched for a driver when you have the exact name and not get a match
when the driver is actually there?  I did a manual search and the driver
is there. 

Glad you got the network working tho. 


Dale

:-)  :-) 
  
Yeah, I guess it's because you have to download that particular driver 
separately?


Marcus



Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]

2009-10-28 Thread Dale
Marcus Wanner wrote:
 On 10/28/2009 5:39 PM, Dale wrote:
 Marcus Wanner wrote:
  
 On 10/28/2009 04:01 AM, Dale wrote:

 Mick wrote:
  
  
 To read your PCI connected devices you need:

 lspci -v

 HTH.
   
 That is the key command in my opinion.  That will tell you what driver
 it is using for what device.  If it works while booted on the Live CD,
 then that driver is most likely what you need.  Take the name of the
 driver, then search for it in menuconfig.  You hit the / key to
 search.  Its like the ? key without hitting shift.  It should show you
 exactly where the driver is located so you can go enable it.  Then you
 just recompile the kernel and copy it to /boot.

 This is what the output should look like:

 01:08.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet
 100/10
 MBit (rev 31)
 Subsystem: ARCHTEK TELECOM Corp Device 0008
 Flags: bus master, medium devsel, latency 32, IRQ 16
 I/O ports at 9800 [size=256]
 Memory at df002000 (32-bit, non-prefetchable) [size=256]
 [virtual] Expansion ROM at 8810 [disabled] [size=256K]
 Capabilities: [50] Power Management version 1
 Kernel driver in use: dmfe


 The last line is the key.  If I were searching for that driver, I
 would
 search for dmfe and enable it as built in or a module.

 If that command doesn't show the driver, then you may need to start
 with
 some of the other commands to see what you can test to get it working.

 Dale

 :-)  :-) 
 I booted up the livecd and ran lspci -v, it worked great. I got
 similar output to that above, and found out that I am using a 3Com
 Corporation 3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver
 in use: 3c59x. Great! Only problem was that when I went to look for
 that driver in menuconfig, all I found were two other drivers for
 similar cards (one of which had [Typhoon] in the name).

 However, I enabled those drivers, recompiled, rebooted, and everything
 works great. Thanks for all your help.

 By the way, I have never had such great technical support before. I am
 really amazed that within 12 hours, I had about 3 different ways of
 fixing this, and was able to have it up and running within 45 minutes
 of checking my email this morning. Wonderful!

 Marcus


 

 Now I'm confused.  I did a search here as well and it returned nothing
 matching that driver.  This is a first for me.  Has anyone else ever
 searched for a driver when you have the exact name and not get a match
 when the driver is actually there?  I did a manual search and the driver
 is there.
 Glad you got the network working tho.
 Dale

 :-)  :-)   
 Yeah, I guess it's because you have to download that particular driver
 separately?

 Marcus



It's in the kernel tho.  This appears to be the one:

3c590/3c900 series (592/595/597) Vortex/Boomerang support

The help screen lists your card.  Just weird to me. 

Dale

:-)  :-)



Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-27 Thread Alan McKinnon
On Wednesday 28 October 2009 01:32:07 Marcus Wanner wrote:
 Hi!
 
 I just followed the (excellent, easily understandable) gentoo
 installation handbook up to chapter 10, where it says to reboot. I did
 so, but I had the same problem as the user here:
 http://www.linuxquestions.org/questions/linux-networking-3/networking-eth0-
 does-not-exist-gentoo-349330/
 
 As suggested in there, I have recompiled the kernel with the tulip
 drivers (everything under the tulip subtree in make menuconfig), copied
 it to /boot, and booted it, but it still gives the same message. I have
 verified that I am booting the newly compiled kernel with the tulip
 drivers, but it still doesn't work.
 
 Note that I do not have the same ethernet card as is mentioned in the
 link above, and have not been able to find out exactly what it's name
 is, besides the fact that the name includes Tornado. Also note that it
 worked fine in the Gentoo minimal installation cd.
 
 To sum it up: How do I figure out what the name of my card is, and after
 that, what driver do I need?

Post this output:

lspci
dmesg | grep something_relevant

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Ethernet card not working, tried tulip drivers...

2009-10-27 Thread Marcus Wanner

On 10/27/2009 7:38 PM, Alan McKinnon wrote:

On Wednesday 28 October 2009 01:32:07 Marcus Wanner wrote:
  

Hi!

I just followed the (excellent, easily understandable) gentoo
installation handbook up to chapter 10, where it says to reboot. I did
so, but I had the same problem as the user here:
http://www.linuxquestions.org/questions/linux-networking-3/networking-eth0-
does-not-exist-gentoo-349330/

As suggested in there, I have recompiled the kernel with the tulip
drivers (everything under the tulip subtree in make menuconfig), copied
it to /boot, and booted it, but it still gives the same message. I have
verified that I am booting the newly compiled kernel with the tulip
drivers, but it still doesn't work.

Note that I do not have the same ethernet card as is mentioned in the
link above, and have not been able to find out exactly what it's name
is, besides the fact that the name includes Tornado. Also note that it
worked fine in the Gentoo minimal installation cd.

To sum it up: How do I figure out what the name of my card is, and after
that, what driver do I need?



Post this output:

lspci
dmesg | grep something_relevant
  
lscpi returns command not found, don't know what you mean by the dmesg 
thing. dmesg is working properly, if that's what you want to know. Thanks!


Marcus