[ SOLVED ] Maybe a driver issue ?

[ SOLVED ] Maybe a driver issue ?

Postby serpenth » Feb 19th, '15, 09:13

Hello there !

I have a problem and wish to ask for help from the community...

I need to set up a Mageia 2 system (yes, I know, it's a little old but the software I have to install only works en MGA 2). The computer has 2 network cards.

I've installed the LSB from the installation CD, and tried to verify the network cards. One is ok, the other not ; I can see it, set an IP Address on it, but cannot ping from this card ...
I had an idea that could seem absurd but ... I booted on the live cd, set up the two network cards, and then ... everything was ok !!!

I begin to wonder ... since the Installation CD only contains free software, and no legacy drivers, and since the live CD seems to have more legacy drivers, could it be a driver issue ?

In this case, how can I know which is the missing driver, and add it to my installation-cd set up system ?

Thanx to all :)
Last edited by serpenth on Feb 24th, '15, 22:44, edited 1 time in total.
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 19th, '15, 09:29

Either when booted from the live cd, run
Code: Select all
lspcidrake -v
and look what driver is loaded for that second card,
or check if you have the firmware installed. You should have at least kernel-firmware-nonfree.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 19th, '15, 11:01

Hello and thank you for answering.

I've run the command, and here is the result :

Code: Select all
8139too         : Accton Technology Corporation|SMC2-1211TX [NETWORK_ETHERNET] (vendor:1113 device:1211 subv:1113 subd:a211) (rev: 10)
sky2            : Marvell Technology Group Ltd.|88E8057 PCI-E Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:11ab device:4380 subv:17aa subd:304f) (rev: 10)
i2c_i801        : Intel Corporation|N10/ICH 7 Family SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:27da subv:17aa subd:304f) (rev: 01)
ata_piix        : Intel Corporation|N10/ICH7 Family SATA Controller [IDE mode] [STORAGE_IDE] (vendor:8086 device:27c0 subv:17aa subd:304f) (rev: 01)
intel_rng       : Intel Corporation|82801GB/GR (ICH7 Family) LPC Interface Bridge [BRIDGE_ISA] (vendor:8086 device:27b8 subv:17aa subd:304f) (rev: 01)
unknown         : Intel Corporation|82801 PCI Bridge [BRIDGE_PCI] (vendor:8086 device:244e) (rev: e1)
uhci_hcd        : Intel Corporation|N10/ICH 7 Family USB UHCI Controller #4 [SERIAL_USB] (vendor:8086 device:27cb subv:17aa subd:304f) (rev: 01)
uhci_hcd        : Intel Corporation|N10/ICH 7 Family USB UHCI Controller #3 [SERIAL_USB] (vendor:8086 device:27ca subv:17aa subd:304f) (rev: 01)
uhci_hcd        : Intel Corporation|N10/ICH 7 Family USB UHCI Controller #2 [SERIAL_USB] (vendor:8086 device:27c9 subv:17aa subd:304f) (rev: 01)
uhci_hcd        : Intel Corporation|N10/ICH 7 Family USB UHCI Controller #1 [SERIAL_USB] (vendor:8086 device:27c8 subv:17aa subd:304f) (rev: 01)
shpchp          : Intel Corporation|N10/ICH 7 Family PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:27d2) (rev: 01)
shpchp          : Intel Corporation|N10/ICH 7 Family PCI Express Port 1 [BRIDGE_PCI] (vendor:8086 device:27d0) (rev: 01)
snd_hda_intel   : Intel Corporation|N10/ICH 7 Family High Definition Audio Controller (vendor:8086 device:27d8 subv:17aa subd:304f) (rev: 01)
Card:Intel 810 and later: Intel Corporation|4 Series Chipset Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:2e32 subv:17aa subd:304f) (rev: 03)
unknown         : Intel Corporation|4 Series Chipset DRAM Controller [BRIDGE_HOST] (vendor:8086 device:2e30 subv:17aa subd:304f) (rev: 03)
hub             : Linux 3.3.6-desktop586-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.3.6-desktop586-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
usb_storage     :         |USB DISK 2.0 [Mass Storage|SCSI|Bulk-Only] (vendor:13fe device:3600)
hub             : Linux 3.3.6-desktop586-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
usbhid          : IBM Corp.|Unknown [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:04b3 device:310d)
usbhid          : LITE-ON Technology|USB NetVista Full Width Keyboard. [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:04b3 device:3025)
hub             : Linux 3.3.6-desktop586-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
Last edited by isadora on Feb 19th, '15, 11:03, edited 1 time in total.
Reason: Command-output placed between [CODE]-tags, for better readability. ;)
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 19th, '15, 11:36

serpenth wrote:8139too : Accton Technology Corporation|SMC2-1211TX [NETWORK_ETHERNET] (vendor:1113 device:1211 subv:1113 subd:a211) (rev: 10)
sky2 : Marvell Technology Group Ltd.|88E8057 PCI-E Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:11ab device:4380 subv:17aa subd:304f) (rev: 10)

The names of the two drivers used are marked in bold.

Now you need to find out which is which, and which doesn't work when installed from free cd/dvd.
For the installation where it's not working, if you run as root
Code: Select all
journalctl -ab | grep -i drivername

to query the log about that driver.

Also, what about the firmware - did you check if you have that installed?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 19th, '15, 12:12

Hi Doctor,

I've done as you told, here is the results (I have checked both network cards).

Here is the working card :
Code: Select all
Feb 19 11:20:31 localhost ifplugd(eth1)[860]: Using interface eth1/00:01:6C:5C:68:55 with driver <sky2> (version: 1.30)


and here is the other :
Code: Select all
Feb 19 11:20:31 localhost ifplugd(eth0)[790]: Using interface eth0/00:30:F1:47:93:7C with driver <8139too> (version: 0.9.28)
Feb 19 11:25:55 localhost ifplugd(eth0)[2240]: Using interface eth0/00:30:F1:47:93:7C with driver <8139too> (version: 0.9.28)
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 19th, '15, 13:22

doktor5000 wrote:Also, what about the firmware - did you check if you have that installed?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 19th, '15, 14:05

My apologies, but I'm a beginner and don't know how to check that (I saw Linux for the first time a few days ago ...).

How may I check that the firmware is installed ?

By the way, I was wondering : is it normal that the card appears twice when I ran the command lspcidrake ?
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 19th, '15, 18:36

serpenth wrote:How may I check that the firmware is installed ?

Please ask next time directly if you don't know something, or just say so - otherwise I'd think you have simply forgotten to post it or omitted it.

Please show the output of
Code: Select all
rpm -qa | grep firmware


serpenth wrote:By the way, I was wondering : is it normal that the card appears twice when I ran the command lspcidrake ?

Which card appears twice?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 19th, '15, 18:42

Ok I'll be more careful next time.

The card that appears twice is the not-working one.
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 19th, '15, 20:55

No need to be careful :)

And please post the duplicate output you're referrring to, couldn't spot it in what you posted above in viewtopic.php?p=54669#p54669
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 19th, '15, 22:34

serpenth wrote:

Here I only have one entry for eth1 :
Feb 19 11:20:31 localhost ifplugd(eth1)[860]: Using interface eth1/00:01:6C:5C:68:55 with driver <sky2> (version: 1.30)


and here I have two for eth0 :
Feb 19 11:20:31 localhost ifplugd(eth0)[790]: Using interface eth0/00:30:F1:47:93:7C with driver <8139too> (version: 0.9.28)
Feb 19 11:25:55 localhost ifplugd(eth0)[2240]: Using interface eth0/00:30:F1:47:93:7C with driver <8139too> (version: 0.9.28)
Last edited by doktor5000 on Feb 19th, '15, 22:37, edited 1 time in total.
Reason: replaced code with quote tags for markup
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 19th, '15, 22:37

That is not lspcidrake output, but from the system log (journal). It simply shows that the system is trying to find a link on the adapter.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 20th, '15, 09:43

Hello Doc,

Here is the results of rpm -qa :

On the installed system -not working card) :
Code: Select all
carl9170-firmware-1.9.4-1.mga2
kernel-firmware-20120219-1.mga2


and on the live system (working perfectly) :
Code: Select all
[live@localhost ~]$ rpm -qa | grep firmware
speedtouch-firmware-0.1-9.mga2.nonfree
carl9170-firmware-1.9.4-1.mga2
ipw2200-firmware-3.1-2.mga1
kernel-firmware-20120219-1.mga2
radeon-firmware-20120322-3.mga2.nonfree
zd1211-firmware-1.4-5.mga1
ralink-firmware-20120421-3.mga2.nonfree
bluez-firmware-1.2-6.mga1
rtlwifi-firmware-20120421-3.mga2.nonfree
ipw2100-firmware-1.3-4.mga1
kernel-firmware-nonfree-20120421-3.mga2.nonfree
atmel-firmware-1.3-4.mga1
[live@localhost ~]$


Is it relevant for you ?
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 20th, '15, 12:31

doktor5000 wrote:check if you have the firmware installed. You should have at least kernel-firmware-nonfree.

If you look again at you post, it should become obvious ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 20th, '15, 12:49

I'm beginning to understand ;)

I should install at least "kernel-firmware-nonfree-20120421-3.mga2.nonfree", right ?

I took a look at the live cd, but it seems the files are flattened in sqfs (or something like that).
is there a way for me to "mount" the sqfs file and rpm the firmware or should I look for it on the web ? In this case, how should I deal with dependencies ?

Again, thank you for helping me :)
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 20th, '15, 13:13

serpenth wrote:is there a way for me to "mount" the sqfs file and rpm the firmware or should I look for it on the web ? In this case, how should I deal with dependencies ?


You should not look somewhere on the web, but use the Mageia software management, which will automatically resolve dependencies.
https://wiki.mageia.org/en/Install_and_ ... r_beginner
https://wiki.mageia.org/en/Software_man ... e_software
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 20th, '15, 16:17

Unfortunately, it's not that simple ...

The Mageia system I have to set up will be the base to a firewall and logging platform ; that's why it's a LSB set up with no GUI.
Can the firmware be installed through command line ?
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby doktor5000 » Feb 20th, '15, 16:44

Sure, simply use urpmi: https://wiki.mageia.org/en/URPMI
Code: Select all
urpmi kernel-firmware-nonfree
will install the package and all required dependencies.

Please check our software management MAQeia for more information on software and package management.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Maybe a driver issue ?

Postby serpenth » Feb 20th, '15, 19:01

Thank you very much for your precious help.
I will try this monday morning and get back to you to tell you the result.

:)
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby serpenth » Feb 24th, '15, 14:49

Thank you very much for your help.
I have installed the kernel firmware nonfree and everything went ok.
Both network cards are working perfectly !!! :mrgreen:
serpenth
 
Posts: 11
Joined: Feb 19th, '15, 09:01

Re: Maybe a driver issue ?

Postby isadora » Feb 24th, '15, 18:15

Please serpenth, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2765
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest