[ Next-in-Thread ]  [ Next Message ] 

Question: [Help] Cannot make the driver work on my laptop 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Mar 31
From: Chih Wei Hsu beavish

Notebook:TwinHead Pentium-166
Memory: 32 MB
Disk: IDE
The probe shows
PCI bridge probe: not found.
Intel PCIC probe: i82365sl DF found, 2 sockets
Linux version: Redhat 5.0, Kernerl 2.0.36
No other special equipment attached to the notebook.

Because I have a project about mobile IP, I have to installed the old release of Linux on this machine and make it work with the PCMCIA ethernet card, D-Link DE-660.

I have tried several versions of the pcmcia drivers d/l
from this site. The first one I tried is 3.1.12 but I failed while it compiled the drivers. Thus, I tried some others like 3.0.12, 3.1.11, and 3.1.13. All of them came up with no problems when I compiled. However, the system always got halted while I booted the machine after the phrase, "modules" showed up. 

Therefore, I tried to debug by myself and traced the 
/etc/rc.d/init.d/pcmcia script. I followed it step by step. 

I found that the system never upload pcmcia_core.o successfully, but it didn't get halted. As it tried to insmod i82365.o, the system halted immediately.
When I tried "insmod -pvm i82365.o", it would show the
following messages,

i82365.o: unresolved symbol pci_set_power_state
i82365.o: unresolved symbol pci_find_class
i82365.o: unresolved symbol pci_enable_device
i82365.o: unresolved symbol request_mem_region
i82365.o: unresolved symbol release_mem_region
i82365.o: unresolved symbol unregister_ss_entry
i82365.o: unresolved symbol pci_find_slot
i82365.o: unresolved symbol pci_irq_mask
i82365.o: unresolved symbol register_ss_entry
i82365.o: unresolved symbol CardServices

If "insmod i82365.o", the system will halt immediately.

However, when I switch to single user mode, I can successfully upload pcmcia_core.o which gives me 8 pages and 0 used. It is of no problem to upload both
i82365.o and ds.o under  single user mode, but what I can see with "lsmod" is pcmcia_core.o. Thus, I don't think it is successfully installed.

I have tried to find out the answer by myself on this forum before I post this. I didn't set any CFLAGS on my system and it is a pure system without any other stuff but a mobile ip daemon developed by Stanford Univ.

May you guys be kind to do me a favor to solve the problem? I can provide as much as information about my system if the above are not enough yet.

Thank you in advance.

Chih

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

Not sure, but sounds like an interrupt probe problem

Re: Question: [Help] Cannot make the driver work on my laptop (Chih Wei Hsu)
Date: 2000, Mar 31
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I think you should check the PCMCIA-HOWTO chapter on resolving
installation problems.  If loading the i82365 module freezes your
system, then you've got a problem with the interrupt probe.  There are
instructions in the HOWTO for disabling or restricting the probe.

-- Dave

Question: Re: "Not sure, but sounds like an interrupt probe problem"

Re: Not sure, but sounds like an interrupt probe problem (David Hinds)
Date: 2000, Mar 31
From: Chih Wei Hsu beavish

Thank you for your quick relpy.

Yes. I did. I followed the How-To and tried whole the irq (0 - 15) one by one, but in vain.

May you let me know why I cannot see pcmcia_core.o with "lsmod" while I manually insmod this module. Also,
why did i82365 give me those messages while I manually
installed it by "insmod -pvm i82365.o"?

Thank you.

I can't really tell what you're doing

Re: Question: Re: "Not sure, but sounds like an interrupt probe problem" (Chih Wei Hsu)
Date: 2000, Mar 31
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I can't really reconstruct what you did from your messages.  Part of
it is a language issue: it might be better for you to be more exact
about what sequences of commands you used and exactly what output you
got.  Also please watch your system log while doing these things:
almost all interesting PCMCIA messages are recorded in the system log.
I don't know what it means to say you "tried whole the irq (0-15)".
What did you do, exactly?  (what files did you modify, and how?)

If you do "insmod pcmcia_core", and that gives no error message, and
your system log indicates that the module was loaded, then I don't
konw why it would not show up with "lsmod".

If you try to "insmod -pvm i82365" when pcmcia_core is not loaded,
then you will get the "unresolved symbol" errors you describe.  You
should get the same messages if you do "insmod i82365" in this same
situation, however.

Show me what output you get from running the following series of
commands:

    insmod pcmcia_core
    tail /var/log/messages
    lsmod
    insmod i82365 do_scan=0
    tail /var/log/messages
    lsmod
    
-- Dave
[Help] Cannot make the driver work on my laptop


[ Add Message ]  to: "[Help] Cannot make the driver work on my laptop"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]