Bug 128854 - Plugged pcmcia card not found
Summary: Plugged pcmcia card not found
Status: RESOLVED DUPLICATE of bug 148648
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Mobile Devices (show other bugs)
Version: Final
Hardware: i586 Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Christian Zoz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 20:59 UTC by Lars Müller
Modified: 2006-02-08 21:47 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Output of the suggested ls command while the system is up and the card was detected via the described workaround. (3.65 KB, text/plain)
2005-10-18 19:59 UTC, Lars Müller
Details
Output of the suggested grep command while the system is up and the card was detected via the described workaround. (3.18 KB, text/plain)
2005-10-18 19:59 UTC, Lars Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Müller 2005-10-17 20:59:31 UTC
The pcmcia NIC is plugged before the system is started.  While booting this NIC
isn't detected.

This is even the case if /etc/sysconfig/pcmcia:PCMCIA_COLDPLUG_REINSERT=yes as
mentioned in /usr/share/doc/packages/pcmciautils/README.SUSE

As a workaround I've written a shell script called in /etc/init.d/boot.local
which does several pccardctl eject; sleep 2; pccardctl insert calls till the
card is there.
Comment 1 Christian Zoz 2005-10-18 09:40:52 UTC
Hi Lars, once again your 'most important customer'? ;)

Does it also help to increase the sleeping time in post_init_pcmcia_socket() in
/etc/sysconfig/hardware/scripts/functions.pcmcia_socket?

Tell me more about the NIC.
Does it need a CIS upload?

You could check the state in your workaround script. Before every insert do
  ls -l /sys/class/pcmcia_socket/*/* /sys/bus/pcmcia/devices/*/*
  grep -H "" /sys/class/pcmcia_socket/*/* /sys/bus/pcmcia/devices/*/*
and look if something changed.
Comment 2 Lars Müller 2005-10-18 19:57:52 UTC
You're right Christian.  Again the same customer.

The NIC uses the pcnet_cs module.  And from the messages I don't see any CIS upload.  This is a very simple and cheap NIC.

I'll check the state while booting the system next time I'm closer to the system.

Is it possible to only check for one file?
Comment 3 Lars Müller 2005-10-18 19:59:22 UTC
Created attachment 54647 [details]
Output of the suggested ls command while the system is up and the card was detected via the described workaround.
Comment 4 Lars Müller 2005-10-18 19:59:58 UTC
Created attachment 54648 [details]
Output of the suggested grep command while the system is up and the card was detected via the described workaround.
Comment 5 Christian Zoz 2005-11-04 13:05:33 UTC
Any news?
Did you try toincrease sleep time as suggested in comment 1?

I cannot do anything with the current set of information.
Comment 6 Lars Müller 2005-11-04 13:32:36 UTC
I'm sorry.  But atm I don't have access to that system.  I'll have again in around two weeks.
Comment 7 Stefan Behlert 2005-11-24 11:13:43 UTC
Anything new here?
Comment 8 Lars Müller 2005-11-24 11:15:48 UTC
I'll be on-site the next days and provide the missing information.  Sorry, I didn't had a change in between.
Comment 9 Lars Müller 2005-11-27 11:12:58 UTC
Regarding your question in comment #2:  Increasing the sleep value in /etc/sysconfig/hardware/scripts/functions.pcmcia_socket function  post_init_pcmcia_socket() line 34 to 10, 20, 30, and 150 doesn't change the behaviour.
Comment 10 Christian Zoz 2006-02-08 21:47:21 UTC
Lars, please have a look at bug 148648 comment 2.
Would be nice if you could provide HW information in the same style. I try to collect all instances of this problem there.

*** This bug has been marked as a duplicate of 148648 ***