PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PCMCIA funktioniert nicht...



mianos
19.04.05, 21:29
Hallo ihr!
Ich hab hier jetzt schön langsam fast alles an meinem neuen notebook zum laufen gebracht... FAST ;)
Was mir Kopfschmerzen bereitet ist der PCMCIA Kontroller! der will und will einfach ned!
Wenn ich ne karte reinschiebe bekomme ich vom kernel keinerlei rückmeldung oder irgendwas derartiges, kein piepsen , NICHTS!
treiber sind geladen, und wenn ich ne karte drin habe, dann cardctl status mache, dannn sehe ich da auch was!
das sieht so aus:

root@laptop flo # cardctl status
Socket 0:
no card
Socket 1:
3.3V CardBus card
function 0: [ready]
root@laptop flo #

So zum system:
Komplett aktuelles gentoo system mit dem current kernel 2.6.11.7

das gibt dmesg aus wenn ich nach nem frischen reboot noch keine module geladen habe, also für pcmcia, und /etc/init.d/pcmcia start mache:

Linux Kernel Card Services
options: [pci] [cardbus] [pm]
ACPI: PCI interrupt 0000:01:04.0[A] -> GSI 5 (level, low) -> IRQ 5
Yenta: CardBus bridge found at 0000:01:04.0 [1462:0121]
Yenta: ISA IRQ mask 0x0008, PCI irq 5
Socket status: 30000006
ACPI: PCI interrupt 0000:01:04.1[B] -> GSI 6 (level, low) -> IRQ 6
Yenta: CardBus bridge found at 0000:01:04.1 [1462:0121]
Yenta: ISA IRQ mask 0x0000, PCI irq 6
Socket status: 30000820
cs: IO port probe 0xc00-0xcff: excluding 0xcf8-0xcff
cs: IO port probe 0xc00-0xcff: excluding 0xcf8-0xcff
cs: IO port probe 0x800-0x8ff: excluding 0x818-0x87f
cs: IO port probe 0x800-0x8ff: excluding 0x818-0x87f
cs: IO port probe 0x100-0x4ff: excluding 0x170-0x177 0x370-0x377 0x480-0x4bf 0x4d0-0x4d7
cs: IO port probe 0x100-0x4ff: excluding 0x170-0x177 0x370-0x377 0x480-0x4bf 0x4d0-0x4d7
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0xa00-0xaff: clean.

das hier sagt lspci -vv:

root@laptop flo # lspci -vv
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Capabilities: [e0] #09 [2109]

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fbe80000 (32-bit, non-prefetchable)
Region 1: I/O ports at dc00 [size=8]
Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at fbe40000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at fbd80000 (32-bit, non-prefetchable)
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 4: I/O ports at d880 [size=32]

0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 5
Region 4: I/O ports at d800 [size=32]

0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 7
Region 4: I/O ports at d480 [size=32]

0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at d400 [size=32]

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=03, sec-latency=32
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fbf00000-fbffffff
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
Capabilities: [50] #0d [0000]

0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 4
Region 0: I/O ports at d000
Region 1: I/O ports at cc00 [size=64]
Region 2: Memory at fbe3bc00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at fbe3b800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04) (prog-if 00 [Generic])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 6
Region 0: I/O ports at c800
Region 1: I/O ports at c480 [size=128]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0

0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) (prog-if 8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 7
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
Region 4: I/O ports at ffa0 [size=16]

0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 4
Region 4: I/O ports at 0400 [size=32]

0000:01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e800 [size=fbfe0000]
Region 1: Memory at fbfffc00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 00010000 [disabled]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:01:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin A routed to IRQ 5
Region 0: Memory at 1e001000 (32-bit, non-prefetchable)
Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 1e400000-1e7ff000 (prefetchable)
Memory window 1: 1e800000-1ebff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity+ SERR+ ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

0000:01:04.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin B routed to IRQ 6
Region 0: Memory at 1e000000 (32-bit, non-prefetchable)
Bus: primary=01, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 1ec00000-1efff000 (prefetchable)
Memory window 1: 1f000000-1f3ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001

0000:01:04.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 1000ns max)
Interrupt: pin C routed to IRQ 5
Region 0: Memory at fbfff000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME+

0000:01:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
Subsystem: Intel Corporation: Unknown device 2701
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (750ns min, 6000ns max), cache line size 08
Interrupt: pin A routed to IRQ 4
Region 0: Memory at fbffe000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-

root@laptop flo #

das hier ist lsmod:

root@laptop flo # lsmod
Module Size Used by
pcmcia 20492 4
yenta_socket 20232 2
rsrc_nonstatic 9344 1 yenta_socket
pcmcia_core 44728 3 pcmcia,yenta_socket,rsrc_nonstatic
snd_pcm_oss 48544 0
snd_mixer_oss 17792 1 snd_pcm_oss
snd_seq_oss 31744 0
snd_seq_midi_event 6016 1 snd_seq_oss
snd_seq 48144 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 7052 2 snd_seq_oss,snd_seq
ppp_mppe_mppc 15108 0
ppp_generic 20628 1 ppp_mppe_mppc
slhc 6656 1 ppp_generic
ieee80211_crypt_tkip 9924 0
ieee80211_crypt_ccmp 6980 0
ieee80211_crypt_wep 4292 1
ipw2200 154632 0
ieee80211 38052 1 ipw2200
ieee80211_crypt 4680 5 ieee80211_crypt_tkip,ieee80211_crypt_ccmp,ieee8021 1_crypt_wep,ipw2200,ieee80211
evdev 7808 1
psmouse 27400 0
snd_intel8x0 28864 3
snd_ac97_codec 75256 1 snd_intel8x0
snd_pcm 81160 5 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 20612 2 snd_seq,snd_pcm
snd 46308 13 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_ seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd _timer
snd_page_alloc 7812 2 snd_intel8x0,snd_pcm
i915 17920 0
drm 59412 1 i915
agpgart 28712 1 drm
thermal 11016 0
button 5136 0
acpi_cpufreq 4996 1
processor 18612 2 thermal,acpi_cpufreq
8139too 20992 0
mii 4224 1 8139too
ahci 8836 0
sata_qstor 7044 0
sata_uli 4736 0
sata_sis 4608 0
sata_sx4 11524 0
sata_nv 6276 0
sata_via 6020 0
sata_svw 5380 0
sata_sil 6148 0
sata_promise 7812 0
libata 41348 10 ahci,sata_qstor,sata_uli,sata_sis,sata_sx4,sata_nv ,sata_via,sata_svw,sata_sil,sata_promise
sbp2 21768 0
ohci1394 31236 0
ieee1394 94008 2 sbp2,ohci1394
uhci_hcd 29712 0
usb_storage 28928 0
usbhid 32192 0
ehci_hcd 28808 0
usbcore 105080 5 uhci_hcd,usb_storage,usbhid,ehci_hcd
root@laptop flo

so ich hab heute mal die die live-dvd von suse 9.3 gezogen und diese gebootet! siehe da, da funktioniert pcmcia, so bald ich ne pcnet-cs pc-card-NIC reinstecke wird der treiber geladen und die karte funktioniert....
uname -a sagt das es bei der live dvd ein 2.6.11.4er ist!
ich hab jetzt einfach mal unter yast - hardware-info gestartet und in eine datei gespeichert... ist alles im anhang! genau wie die kernel config!
mit dem problem bin ich nicht alleine! es gibt noch zwei leute die auch schon nen kleines howto geschrieben haben über den betrieb von linux auf diesem notebook!
es handeld sich um das aktuelle aldi notebook medion md95600 (sim 2100) wobei es sich da um nichts anderes handelt, als um ein MSI Megabook s260 mit medion aufklebern!!
hier die links zu den seiten der jungs:

http://www.danisch.de/software/msi_s260.html

http://www.fbihome.de/~glogow/md95600/

Ich hoffe es kann hier irgendwer was mit anfangen. freue mich über jeden tip der mich evtl. näher ans ziel bringt :)

vielen dank schon mal, gruß, flo

tictactux
19.04.05, 21:48
Hi flo,

so ich hab heute mal die die live-dvd von suse 9.3 gezogen und diese gebootet! siehe da, da funktioniert pcmcia, so bald ich ne pcnet-cs pc-card-NIC reinstecke wird der treiber geladen und die karte funktioniert....
uname -a sagt das es bei der live dvd ein 2.6.11.4er ist!
schau doch mal in das Changelog jenes SuSE Kernels. Vielleicht hat SuSE das
Problem in ihrem Kernel gefixed?
Falls keine Infos da, hol die Quellen, schau in drivers/pcmcia/yenta_socket.[ch]
nach, bzw. mach einen diff zu diesen Dateien in Deinem Kernel.

HTH
Wolfgang

mianos
19.04.05, 21:52
Hi flo,

schau doch mal in das Changelog jenes SuSE Kernels. Vielleicht hat SuSE das
Problem in ihrem Kernel gefixed?
Falls keine Infos da, hol die Quellen, schau in drivers/pcmcia/yenta_socket.[ch]
nach, bzw. mach einen diff zu diesen Dateien in Deinem Kernel.

HTH
Wolfgang

hm wo finde ich die changelog, weißt du das?
hm is jetzt schwierig an den suse 9.3 kernel source ranzukommen.. ich hab bloß die live dvd und auf den servern is ja noch nix!
yenta_socket.[ch] du meinnst di .c und .h files oder?
wie kann ich da ein diff machen? und dann meinen kernel mit patch -p1 patchen, davon hab ich leider keinen plan...


danke für die infos!

tictactux
19.04.05, 22:11
> hm wo finde ich die changelog, weißt du das?
ich benutze kein SuSE. Vielleicht hat's das kernel-rpm in /usr/share/doc/<Paketname>?

> yenta_socket.[ch] du meinnst di .c und .h files oder?
das sind zwei Dateien, einmal .c , einmal .h. Don't you speak regexp?:)

> wie kann ich da ein diff machen? und dann meinen kernel mit patch -p1 patchen, davon hab ich leider keinen plan...
diff machen: diff -u /pfad1/datei1 /pfad/datei2 >mein.diff
diff ansehen: diff -u /pfad1/datei1 /pfad/datei2|less

Langsam mit Patchen! Erst mal sehen, was Sache ist:)
Vielleicht sind da nur eine Handvoll Zeilen unterschiedlich.
Kannst den diff ja posten/anhängen.

Gruss,
Wolfgang

mianos
20.04.05, 05:57
danke, werd ich heute mal ausprobieren!
muss halt erst noch an die rpm's rankommen! das ja wie gesagt nur ne livecd ist und da recht wenig dabei ist....

gruß, flo