[Résolu] probleme support PCMCIA

Bonjour,
je tente de compiler un nouveau noyau (2.6.18) sur ma debian mais j’ai le probleme suivant lors du demarrage

pourtant j’ai activé tous les modules concernant le PCMCIA dans le .config

Et donc suite a cela, le lecteur CD pcmcia ne fonctionne pas.
D’ou vient le probleme? :stuck_out_tongue:

Quelques infos sur la config:

16:27 root@em /# uname -r
2.6.18-em


16:28 root@em /# lspci
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
0000:00:08.0 FireWire (IEEE 1394): Sony Corporation CXD3222 i.LINK Controller (rev 02)
0000:00:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02)
0000:00:0a.0 Communication controller: Conexant HSF 56k Data/Fax Modem (Mob WorldW SmartDAA) (rev 01)
0000:00:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
0000:00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
0000:00:0d.0 FLASH memory: Sony Corporation Memory Stick Controller (rev 01)
0000:01:00.0 VGA compatible controller: Neomagic Corporation NM2380 [MagicMedia 256XL+] (rev 10)

16:28 root@em /# lsmod
Module                  Size  Used by
pcmcia                 37308  0
firmware_class         10496  1 pcmcia
pcmcia_core            40848  1 pcmcia
ipv6                  237792  14
thermal                14600  0
fan                     5252  0
button                  7056  0
processor              27692  1 thermal
ac                      5508  0
battery                10884  0
af_packet              21256  2
parport_pc             33860  0
parport                35144  1 parport_pc
pcspkr                  3328  0
snd_ymfpci             59584  0
gameport               15880  1 snd_ymfpci
snd_ac97_codec         85024  1 snd_ymfpci
snd_ac97_bus            2560  1 snd_ac97_codec
snd_pcm_oss            42528  0
snd_mixer_oss          16896  1 snd_pcm_oss
snd_pcm                74888  3 snd_ymfpci,snd_ac97_codec,snd_pcm_oss
eth1394                19204  0
snd_opl3_lib           10752  1 snd_ymfpci
snd_timer              23684  3 snd_ymfpci,snd_pcm,snd_opl3_lib
snd_hwdep               9988  1 snd_opl3_lib
snd_page_alloc         10248  2 snd_ymfpci,snd_pcm
snd_mpu401_uart         8576  1 snd_ymfpci
snd_rawmidi            24352  1 snd_mpu401_uart
snd_seq_device          8332  2 snd_opl3_lib,snd_rawmidi
snd                    50660  11 snd_ymfpci,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10464  1 snd
ohci1394               33712  0
ieee1394               95288  2 eth1394,ohci1394
i2c_piix4               8844  0
i2c_core               21648  1 i2c_piix4
shpchp                 36508  0
pci_hotplug            32824  1 shpchp
intel_agp              21660  1
uhci_hcd               22924  0
usbcore               121732  2 uhci_hcd
e100                   34184  0
mii                     5632  1 e100
agpgart                33840  1 intel_agp
tsdev                   7872  0
joydev                  9792  0
mousedev               12064  0
psmouse                37000  0
ide_cd                 40196  0
cdrom                  38560  1 ide_cd
genrtc                  9984  0
ext3                  129672  1
jbd                    56616  1 ext3
ide_disk               15744  3
ide_generic             1664  0 [permanent]
via82cxxx               9220  0 [permanent]
trm290                  4484  0 [permanent]
triflex                 4096  0 [permanent]
slc90e66                6144  0 [permanent]
sis5513                15240  0 [permanent]
siimage                11648  0 [permanent]
serverworks             8968  0 [permanent]
sc1200                  7296  0 [permanent]
rz1000                  3072  0 [permanent]
piix                   10628  0 [permanent]
pdc202xx_old           10496  0 [permanent]
opti621                 4996  0 [permanent]
ns87415                 4552  0 [permanent]
hpt366                 18048  0 [permanent]
hpt34x                  5376  0 [permanent]
generic                 5380  0 [permanent]
cy82c693                4868  0 [permanent]
cs5530                  5760  0 [permanent]
cs5520                  4992  0 [permanent]
cmd64x                 11036  0 [permanent]
atiixp                  6544  0 [permanent]
amd74xx                14108  0 [permanent]
alim15x3               11532  0 [permanent]
aec62xx                 7808  0 [permanent]
pdc202xx_new            8448  0 [permanent]
ide_core              117876  28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
unix                   27056  18

16:30 root@em /# cat /etc/default/pcmcia
# Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
PCMCIA=yes
PCIC=yenta_socket
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=

Merci d’avance pour l’aide :slightly_smiling:
[/code]

que donne modinfo yenta-socket ?
ou un modprobe ?
je n’ai pas encore eu le temps de passer au 2.6.18, mais mon 2.6.17 dispose bien du yenta-socket.
Tu as pensé à partir de la config du noyau précèdent qui marchait bien, pour faire ta compil ?

alors…

21:03 root@em6 /# modinfo yenta_socket
modinfo: could not find module yenta_socket
zsh: exit 1     modinfo yenta_socket
21:03 root@em6 /# modprobe yenta_socket
FATAL: Module yenta_socket not found.
zsh: exit 1     modprobe yenta_socket

il trouve rien :confused:

Sinon j’avais jamais recompilé de noyau avant donc j’ai pas de .config
mais sur le noyau par défaut j’ai effectivement le module qui se charge

et puisque tu as compilé ton noyau:
tu as recherché dans l’arborescence des sources s’il y avait encore des fichiers sources pour yenta-socket ?
Tu as recherché toujours dans tes sources si un fichier ne contenait pas le mot yenta, pour deviner si le nom du module n’a pas changé ?

Sinon, le /boot/config-XXX du noyau debian est au même format que le .config du répertoire ou tu compiles le noyau et tu peux donc l’utiliser comme config de base pour la compilation.
Et n’oublies pas de passer un --initrd à make-kpkg

J’ai essayé de recompilé le noyau avec comme base le .config du 2.6.8 installé par defaut avec ma debian, mais toujours le meme probleme

Starting PCMIA services: FATAL: Module yenta_socket not found.
Error: Failed to load yenta_socket

Dans le menuconfig il y a bien le module yenta_socket que j’ai sélectionné.

De plus j’ai bien trouvé ca dans les sources :

1:56 em@em /usr/src/linux-2.6.18% find /usr/src/linux/ * | grep yenta
/usr/src/linux/drivers/pcmcia/yenta_socket.c
/usr/src/linux/drivers/pcmcia/yenta_socket.h
/usr/src/linux/include/config/yenta
/usr/src/linux/include/config/yenta/ricoh.h
/usr/src/linux/include/config/yenta/o2.h
/usr/src/linux/include/config/yenta/ti.h
/usr/src/linux/include/config/yenta/toshiba.h
/usr/src/linux/include/config/yenta/ene
/usr/src/linux/include/config/yenta/ene/tune.h
/usr/src/linux/include/config/yenta.h
drivers/pcmcia/yenta_socket.c
drivers/pcmcia/yenta_socket.h
include/config/yenta
include/config/yenta/ricoh.h
include/config/yenta/o2.h
include/config/yenta/ti.h
include/config/yenta/toshiba.h
include/config/yenta/ene
include/config/yenta/ene/tune.h
include/config/yenta.h

tu l’as bien mis en module pas en dur <*> ?

oui oui j’ai vérifié, il est bien indiqué comme module (j’ai testé en dur aussi pour voir et ca fait pareil)

finalement, je suis repassé a une version anterieur du noyau et la ca marche bien (2.6.17.4)

pour l’instant ca me suffit mais si quelqu’un a quand meme une solution, je suis preneur :wink:

Merci MattOTop