Re: [gentoo-user] 3Com PCMCIA network card not recognised

2010-12-27 Thread Mick
On Tuesday 14 December 2010 20:05:01 Bill Longman wrote:
 On 12/13/2010 07:17 PM, Stroller wrote:
  What do you get in log messages and dmesg when you compile
  CONFIG_PCMCIA_3C589=m and run modprobe -v
  
  Exactly the same thing. If I `modprobe -v 3c589_cs  lsmod | grep -i 3c`
  I can see the module loaded, but I see exactly the same single line of
  text (and nothing more) when I plug the card in; the card is not shown
  in `ifconfig -a`. It doesn't make any difference if I load the module
  before plugging the card in or afterwards.
  
  The only remaining things I can think to do are to `make clean` before
  compiling my kernel and trying the exact .config  kernel version from
  the system rescue CD. I'm not optimistic of those, however - I still
  think I'm likely overlooking something stupid.
 
 Try another kernel branch? Vanilla sources? Etc

Stroller, have you had any success with this problem using the systemrescue CD 
kernel config?  Looking at the configs you posted I can't see anything amiss.

I assume that you have also checked that the necessary symlink is pointing to 
/etc/init.d/net.lo ?

If the NIC in question is recognised as eth1 then something like this would be 
needed:

cd /etc/init.d
ln -s net.lo net.eth1

Finally, check that you have emerged sys-apps/pcmciautils and reboot for good 
measure.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] 3Com PCMCIA network card not recognised

2010-12-14 Thread Bill Longman
On 12/13/2010 07:17 PM, Stroller wrote:
 What do you get in log messages and dmesg when you compile 
 CONFIG_PCMCIA_3C589=m and run modprobe -v
 
 Exactly the same thing. If I `modprobe -v 3c589_cs  lsmod | grep -i 3c` I 
 can see the module loaded, but I see exactly the same single line of text 
 (and nothing more) when I plug the card in; the card is not shown in 
 `ifconfig -a`. It doesn't make any difference if I load the module before 
 plugging the card in or afterwards.
 
 The only remaining things I can think to do are to `make clean` before 
 compiling my kernel and trying the exact .config  kernel version from the 
 system rescue CD. I'm not optimistic of those, however - I still think I'm 
 likely overlooking something stupid.

Try another kernel branch? Vanilla sources? Etc



Re: [gentoo-user] 3Com PCMCIA network card not recognised

2010-12-13 Thread Mick
On Monday 13 December 2010 07:44:51 Stroller wrote:
 I have a fairly old laptop, but which has a really nice screen and which is
 actually still quite useful for some simple tasks and for thin clienting
 and stuff. I like to keep it around as a spare, at least. For one thing I
 want to use it for some network diagnostics, and I want to use it with an
 old 10mbps 3Com PCMCIA network card. The performance would seem to be
 adequate for sniffing web-suring traffic (for instance) if I bridge it
 with the laptop's internal network card.
 
 However, the 3Com network card doesn't seem to be recognised under my
 installation of Gentoo.
 
 When I insert the card I see only this in /var/log/messages:
 
 Dec 13 06:45:42 stinky kernel: pcmcia_socket pcmcia_socket0: pccard: PCMCIA
 card inserted into slot 0
 
 And nothing else. Only the onboard network card is shown:
 
 $ ifconfig | grep -i hwadd
 eth0  Link encap:Ethernet  HWaddr 00:00:86:42:58:2c
 $
 
 The network will not start:
 
 $ sudo /etc/init.d/net.eth1 start
  * Starting eth1
  *   Configuration not set for eth1 - assuming DHCP
  *   Bringing up eth1
  * dhcp
  *   network interface eth1 does not exist
  *   Please verify hardware or kernel module (driver)  
 [ !! ]
 $
 
 If I plug in a wifi card it behaves as I'd expect:
 
 Dec 13 07:36:09 stinky kernel: pcmcia_socket pcmcia_socket0: pccard:
 CardBus card inserted into slot 0 Dec 13 07:36:09 stinky kernel: pci
 :02:00.0: reg 10: [mem 0xe000-0x] Dec 13 07:36:09 stinky
 kernel: pci :02:00.0: BAR 0: assigned [mem 0x2400-0x24001fff] Dec
 13 07:36:09 stinky kernel: pci :02:00.0: BAR 0: set to [mem
 0x2400-0x24001fff] (PCI address [0x2400-0x24001fff] Dec 13
 07:36:10 stinky kernel: cfg80211: Calling CRDA to update world regulatory
 domain Dec 13 07:36:10 stinky kernel: rt2500pci :02:00.0: enabling
 device ( - 0002) Dec 13 07:36:10 stinky kernel: rt2500pci
 :02:00.0: PCI INT A - Link[LNKA] - GSI 11 (level, low) - IRQ 11 Dec
 13 07:36:10 stinky kernel: rt2500pci :02:00.0: setting latency timer
 to 64 Dec 13 07:36:10 stinky kernel: phy0: Selected rate control algorithm
 'minstrel' Dec 13 07:36:10 stinky kernel: Registered led device:
 rt2500pci-phy0::radio Dec 13 07:36:10 stinky kernel: Registered led
 device: rt2500pci-phy0::quality
 
 
 
 Compare with when I try with system rescue CD:
 
 r...@sysresccd /root % ifconfig | grep HWaddr
 eth0  Link encap:Ethernet  HWaddr 00:00:86:42:58:2c
 eth1  Link encap:Ethernet  HWaddr 00:60:08:92:94:df
 r...@sysresccd /root %
 
 and this appears in /var/log/messages:
 
 Dec 13 06:54:26 sysresccd kernel: pcmcia_socket pcmcia_socket0: pccard:
 PCMCIA card inserted into slot 0 Dec 13 06:54:26 sysresccd kernel: pcmcia
 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 4) Dec 13 06:54:26
 sysresccd kernel: 3c589_cs 0.0: eth1: 3Com 3c589, io 0x300, irq 4, hw_addr
 00:60:08:92:94:df Dec 13 06:54:26 sysresccd kernel: 3c589_cs 0.0: eth1:  
 8K FIFO split 5:3 Rx:Tx, auto xcvr ...
 Dec 13 06:54:38 sysresccd kernel: 3c589_cs 0.0: eth1: flipped to 10baseT
 Dec 13 06:54:38 sysresccd NetworkManager: info  DHCP: device eth1 state
 changed preinit - bound Dec 13 06:54:38 sysresccd NetworkManager: info 
 Activation (eth1) Stage 4 of 5 (IP Configure Get) scheduled... Dec 13
 06:54:38 sysresccd NetworkManager: info  Activation (eth1) Stage 4 of 5
 (IP Configure Get) started... Dec 13 06:54:38 sysresccd NetworkManager:
 infoaddress 192.168.1.102 Dec 13 06:54:38 sysresccd NetworkManager:
 infoprefix 24 (255.255.255.0) Dec 13 06:54:38 sysresccd
 NetworkManager: infogateway 192.168.1.1 Dec 13 06:54:38 sysresccd
 NetworkManager: infohostname 'Vigor102' Dec 13 06:54:38 sysresccd
 NetworkManager: infonameserver '192.168.1.43' Dec 13 06:54:38
 sysresccd NetworkManager: info  Activation (eth1) Stage 5 of 5 (IP
 Configure Commit) scheduled... Dec 13 06:54:38 sysresccd NetworkManager:
 info  Activation (eth1) Stage 4 of 5 (IP Configure Get) complete. Dec 13
 06:54:38 sysresccd dhclient: DHCPACK from 192.168.1.1
 Dec 13 06:54:38 sysresccd dhclient: bound to 192.168.1.102 -- renewal in
 101292 seconds. Dec 13 06:54:38 sysresccd NetworkManager: info 
 Activation (eth1) Stage 5 of 5 (IP Configure Commit) started... Dec 13
 06:54:39 sysresccd NetworkManager: nm_ip4_config_add_nameserver: assertion
 `nameserver != s' failed Dec 13 06:54:39 sysresccd NetworkManager:
 nm_ip4_config_add_nameserver: assertion `nameserver != s' failed Dec 13
 06:54:39 sysresccd NetworkManager: info  Policy set 'Auto eth0' (eth0)
 as default for routing and DNS. Dec 13 06:54:39 sysresccd NetworkManager:
 info  (eth1): device state change: 7 - 8 (reason 0) Dec 13 06:54:39
 sysresccd NetworkManager: info  Activation (eth1) successful, device
 activated. Dec 13 06:54:39 sysresccd NetworkManager: info  Activation
 (eth1) Stage 5 of 5 (IP Configure Commit) 

Re: [gentoo-user] 3Com PCMCIA network card not recognised

2010-12-13 Thread Stroller

On 13/12/2010, at 10:53pm, Mick wrote:
 ...
 The only things I've done is to recompile my kernel a couple of times -
 once to add in the drivers statically (CONFIG_PCMCIA_3C589=y), instead of
 as modules, to see if that would make a difference, and second time to
 match another PCMCIA option that differed. Neither made any difference.
 ...
 
 What do you get in log messages and dmesg when you compile 
 CONFIG_PCMCIA_3C589=m and run modprobe -v

Yes, this is the way I prefer it, too. I have tried that - as the module and 
modprobing it - but I don't remember the output. I'm recompiling now and will 
post the results in a few hours.

Stroller.




Re: [gentoo-user] 3Com PCMCIA network card not recognised

2010-12-13 Thread Stroller

On 13/12/2010, at 10:53pm, Mick wrote:
 On Monday 13 December 2010 07:44:51 Stroller wrote:
 
 The only things I've done is to recompile my kernel a couple of times -
 once to add in the drivers statically (CONFIG_PCMCIA_3C589=y), instead of
 as modules, to see if that would make a difference, and second time to
 match another PCMCIA option that differed. Neither made any difference.
 ...
 
 What do you get in log messages and dmesg when you compile 
 CONFIG_PCMCIA_3C589=m and run modprobe -v

Exactly the same thing. If I `modprobe -v 3c589_cs  lsmod | grep -i 3c` I can 
see the module loaded, but I see exactly the same single line of text (and 
nothing more) when I plug the card in; the card is not shown in `ifconfig -a`. 
It doesn't make any difference if I load the module before plugging the card in 
or afterwards.

The only remaining things I can think to do are to `make clean` before 
compiling my kernel and trying the exact .config  kernel version from the 
system rescue CD. I'm not optimistic of those, however - I still think I'm 
likely overlooking something stupid.

Stroller.