Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: unrecognised pcmcia net card 3c574
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tangram
n00b
n00b


Joined: 21 Aug 2007
Posts: 54
Location: 3City, Poland

PostPosted: Tue Sep 09, 2008 1:53 am    Post subject: SOLVED: unrecognised pcmcia net card 3c574 Reply with quote

IBM tp600E with 16bit pcmcia network card: 3com574.
After last system update, my pcmcia network card cannot be recognised as rasult of what eth0 is gone.
During the system update the following packages were updated:

    Wed Sep 3 08:59:40 2008 >>> dev-util/strace-4.5.18
    Wed Sep 3 09:00:46 2008 >>> net-dns/openresolv-1.7.1
    Wed Sep 3 09:14:09 2008 >>> media-libs/alsa-lib-1.0.17a
    Wed Sep 3 09:18:31 2008 >>> sys-libs/e2fsprogs-libs-1.41.1
    Wed Sep 3 09:27:16 2008 >>> sys-fs/e2fsprogs-1.41.1
    Wed Sep 3 09:28:26 2008 >>> app-portage/gentoolkit-0.2.4
    Wed Sep 3 09:34:44 2008 >>> sys-fs/udev-127
    Wed Sep 3 09:40:42 2008 >>> net-misc/neon-0.28.3
    Wed Sep 3 09:42:11 2008 >>> sys-apps/pcmciautils-015
    Wed Sep 3 09:54:32 2008 >>> sys-libs/pam-1.0.2
    Wed Sep 3 10:07:48 2008 >>> sys-apps/hal-0.5.11-r1

I suppose these packages are most important for my problem.
Wed Sep 3 09:34:44 2008 >>> sys-fs/udev-127
Wed Sep 3 09:42:11 2008 >>> sys-apps/pcmciautils-015
Both packages changed udev rulez.

After system start lsmod shows:

    Module Size Used by
    sg 26000 0
    sd_mod 21136 2
    usb_storage 36224 1
    scsi_mod 88232 3 sg,sd_mod,usb_storage
    snd_pcm_oss 34624 0
    snd_mixer_oss 12704 1 snd_pcm_oss
    snd_seq_oss 28544 0
    snd_seq_midi_event 4160 1 snd_seq_oss
    snd_seq 38576 4 snd_seq_oss,snd_seq_midi_event
    snd_cs4236 4448 0
    snd_opl3_lib 7744 1 snd_cs4236
    snd_hwdep 5892 1 snd_opl3_lib
    snd_cs4236_lib 12288 1 snd_cs4236
    snd_mpu401_uart 4896 1 snd_cs4236
    snd_rawmidi 15168 1 snd_mpu401_uart
    snd_seq_device 4972 4 snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
    snd_cs4231_lib 17280 2 snd_cs4236,snd_cs4236_lib
    snd_pcm 54696 3 snd_pcm_oss,snd_cs4236_lib,snd_cs4231_lib
    snd_timer 15172 4 snd_seq,snd_opl3_lib,snd_cs4231_lib,snd_pcm
    snd 36612 14 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_cs4236,snd_opl3_lib,snd_hwdep,snd_cs4236_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_cs4231_lib,snd_pcm,snd_timer
    soundcore 5504 1 snd
    snd_page_alloc 6216 2 snd_cs4231_lib,snd_pcm
    pcmcia 25240 0
    firmware_class 6624 1 pcmcia
    uhci_hcd 21228 0
    usbcore 120496 3 usb_storage,uhci_hcd
    yenta_socket 22988 2
    rsrc_nonstatic 10784 1 yenta_socket
    intel_agp 23164 1
    pcmcia_core 31600 3 pcmcia,yenta_socket,rsrc_nonstatic
    agpgart 27344 1 intel_agp

Mannualy loading the module 3c574_cs doesnt help, the card still stays unrecognized.
Kernel ( via dmesg) reports inserting the card into pcmcia slot but udevadm monitor shows nothing,
probably because for the system card "doesn't live"...
Did I overlooked something... ?


Last edited by tangram on Mon Sep 15, 2008 2:59 am; edited 1 time in total
Back to top
View user's profile Send private message
tangram
n00b
n00b


Joined: 21 Aug 2007
Posts: 54
Location: 3City, Poland

PostPosted: Fri Sep 12, 2008 2:14 am    Post subject: Reply with quote

It's a main problem that PCMCIA card, after insert, doesn’t appear in /sys/bus/pcmcia/devices/
It’s hard to understand it, with same kernel and modules( 2.6.25-gentoo-r7), before system update, card recognition works properly.
Probably the effect would be similar if I would remove uhci_hcd module and try to watch “udevadm monitor” while inserting pendrive…
“udevadm monitor” will show nothing.
Back to top
View user's profile Send private message
tangram
n00b
n00b


Joined: 21 Aug 2007
Posts: 54
Location: 3City, Poland

PostPosted: Mon Sep 15, 2008 2:59 am    Post subject: Reply with quote

The card ( 3com574) needs to work resource database which is loaded with „pcmcia_socket_startup” script
( thanks to Dominik Brodowski, he showed me the right direction).
This script isn’t built with default pcmciautils's use flags, for build you have to set “staticsocket” flag.
Socket with statically assigned resources does not need these programs. However, a
socket with dynamically assigned resources needs them. So, having to set
"staticsocket" is contra-intuitive, maybe bad naming…
You need to correct paths for pcmcia-check-broken-cis and pcmcia-socket-startup scripts in /etc/udev/rules.d/60-pcmcia.rules file also.( Dominik told me he will make it in the next pcmciautils version).
These scripts are default installed into /sbin and not /lib/udev directory.
That’s all folks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT - 5 Hours
Page 1 of 1

 
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