Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[/dev] Problème avec les ports PCI
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 6:25 am    Post subject: [/dev] Problème avec les ports PCI Reply with quote

Bonjour,
je viens de changer de configuration (AMD XP > Bi P3) et donc de carte mère.
Je refait mon kernel (P3 au lieu de K7, support du SMP, suppression des drivers Nforce...).
Je reboot pour activer le nouveau kernel.
Mon kernel est bon mais par contre ma carte réseau "n'existe pas". Je me dit pas de panique ^^.
Je regarde mon kernel, son driver (3Com cyclone) est bien activé, là je commence à me poser quelques questions.
Je tape
Code:
lspci

Je n'ai aucun résultat.

Aprés plusieurs heures de test je me souviens qu'il y a quelques temps suite à un problème de /dev j'avais dans le fichier "/etc/conf.d/rc " fait ceci :
Quote:
RC_DEVICE_TARBALL="no"

Là j'ai donc fait le chemin inverse (donc mis à yes).
J'ai sauvegardé puis redémarré, le problème est toujours le même.

Savez-vous ce que je dois faire ?

Cordialement.
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Fri Jun 16, 2006 7:49 am    Post subject: Re: [/dev] Problème avec les ports PCI Reply with quote

SnowBear wrote:
Code:
lspci

Je n'ai aucun résultat.

Rien du tout ? Ou bien il manque seulement la carte réseau ? Est-ce qu'il y a des erreurs relatives au PCI dans dmesg ?
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 8:00 am    Post subject: Reply with quote

je dis surement une betise car je n'ai jamais eu ce prob mais :

tu as bien les drivers pci dans le kernel?
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 8:12 am    Post subject: Reply with quote

widan > absoluement rien (je précise que depuis la livecd ça marche niquel)
Il turisto > tu aurais le nom de l'option (en théorie je l'ai mais bon on sais jamais ^^)


noyau : 2.6.15 et 2.6.16
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 8:53 am    Post subject: Reply with quote

moi j'ai ca dans mon kernel :

Code:

StoGentoo linux # cat .config | grep -i pci
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY_PROC=y
# PCI Hotplug Support
# CONFIG_HOTPLUG_PCI is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_NET_PCI=y
# CONFIG_NE2K_PCI is not set
# Wireless 802.11b ISA/PCI cards support
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
# CONFIG_SERIO_PCIPS2 is not set


Code:

StoGentoo linux # uname -a
Linux StoGentoo 2.6.16-gentoo-r9 #2 SMP PREEMPT Tue Jun 6 16:41:44 CEST 2006 i686 Intel(R) Pentium(R) M processor 1400MHz GNU/Linux
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Fri Jun 16, 2006 8:56 am    Post subject: Reply with quote

SnowBear wrote:
widan > absoluement rien (je précise que depuis la livecd ça marche niquel)

Et "dmesg | grep PCI" donne quelque chose ?
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 9:18 am    Post subject: Reply with quote

Voici le résultat d'un dmesg :
(désolé pour la qualité)
http://www.mezimages.com/image/darkou/IMG_01361.jpg

Je tourne actuellement avec udev-087, coldplug et hotplug.
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 10:11 am    Post subject: Reply with quote

Désolé mais ta photo est pas lisible.
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 10:18 am    Post subject: Reply with quote

ha...
j'arrive à lire,
bon je vais essayer de refaire en mieux.
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 10:32 am    Post subject: Reply with quote

Code:
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
PCI: PCI BIOS revision 2.10 entry at 0xfb350, last bus=1
PCI: Using configuration type 1
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
PCI: Setting latency timer of device 0000:00:01.0 to 64

Voici le résultat du dmesg.
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 10:50 am    Post subject: Reply with quote

j'ai la meme chose au boot (a peu pret).

tu dis que ton lspci n'affiche absolument rien c cela?
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 10:52 am    Post subject: Reply with quote

Il turisto wrote:
j'ai la meme chose au boot (a peu pret).

tu dis que ton lspci n'affiche absolument rien c cela?

C'est exactement celà.
Je viens de tester avec Windows et je n'ai aucun problème OO
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 1:06 pm    Post subject: Reply with quote

Je ne sais pas si ça peut faire avancer le schmibikl, le shimilibilik, le (simone, suivant !) :
Ma carte mère est une EPOX EP-D3VA. Je dit ça parce que je viens de tester la dernière Ubuntu (livecd) et elle aussi ne me retourne absoluement rien lors d'un lscpi.

La carte mère serait-elle incompatible avec linux ?
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 1:35 pm    Post subject: Reply with quote

Et sur le live cd gentoo le lspci fontionne?

Parce que ubuntu ca a pas grand chose a voir avec gentoo.
Alors que si ca fonctionne sur le livecd ca doit obligatoirement fonctionner. Restera juste a trouver pq ca marche pas ...
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 1:39 pm    Post subject: Reply with quote

Sur le livecd de gentoo j'ai bien un lspci fonctionnel.

Je suis à 2 doigts de télecharger un stage3 et de le réinstaller par dessus :/
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri Jun 16, 2006 1:40 pm    Post subject: Reply with quote

et si tu démarrais le kernel du livecd sur ta gentoo, ça donnerait quoi ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 1:41 pm    Post subject: Reply with quote

au pire tu peux utiliser le kernel du live cd.


perso je pense que le prob vient du kernel a moins que.

tu as changé d'architecture en meme temps que de carte mere? ou du moins de cflags?
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 1:41 pm    Post subject: Reply with quote

XavierMiller wrote:
et si tu démarrais le kernel du livecd sur ta gentoo, ça donnerait quoi ?

C'est à dire ? tu peux détailler les étapes,
merci :wink:
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Fri Jun 16, 2006 1:42 pm    Post subject: Reply with quote

C'est d'autant plus étrange que le kernel voit bien un périphérique PCI (en l'occurence un pont AGP ou PCI-PCI):
Code:
PCI: Bridge: 0000:00:01.0
PCI: Setting latency timer of device 0000:00:01.0 to 64

Il y a quelque chose dans /sys/bus/pci/devices ?
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 1:45 pm    Post subject: Reply with quote

L'AGP est bien la seule chose qui marche (j'ai un affichage).

Je te dit dessuite pour /sys/bus/pci/devices,
en tout cas le rep : /proc/.../pci/devices et vide
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 1:57 pm    Post subject: Reply with quote

SnowBear wrote:
XavierMiller wrote:
et si tu démarrais le kernel du livecd sur ta gentoo, ça donnerait quoi ?

C'est à dire ? tu peux détailler les étapes,
merci :wink:



juste la dans le manuel

http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=1&chap=7

dans la partie : alternative utiliser genkernel exemple de code 17.


Peux tu repondre a ma question sur l'architecture stp.
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 2:00 pm    Post subject: Reply with quote

Oups,
j'avais pas vu ta question,
en changeant de carte mère, j'ai gardé la même archi : x86 (P3 / AMD Athlon XP),
j'ai changé le cflags, mais il influe juste pour la compilation avec gcc non ?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri Jun 16, 2006 2:07 pm    Post subject: Reply with quote

as-tu aussi changé les options pourle chipset ? c'est peut-être ça qui foire...
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Fri Jun 16, 2006 2:09 pm    Post subject: Reply with quote

A priori oui,
enfin j'ai supprimé "nforce2" que j'ai remplacé par VIA82x dans la section IDE Driver.
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jun 16, 2006 2:20 pm    Post subject: Reply with quote

oui ca influe juste gcc mais g peur que si dans ton cflags tu es passe d'un truc comme ca :


(ici je donne mon cflags en exemple)
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"

a un truc comme ca

CFLAGS="-O3 -march=amdmachin -pipe -fomit-frame-pointer"


les programmes ne s'executent pas correctement avec ton nouveau cpu vu qu'il sont optimisés pour l'ancien.

enfin je raconte peut etre des betises et tu aurais surement des segfault dans ce cas la.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum