All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Can't hotplug a 3c575 ethernet adapter
@ 2001-01-22 18:40 Miles Lane
  0 siblings, 0 replies; only message in thread
From: Miles Lane @ 2001-01-22 18:40 UTC (permalink / raw)
  To: linux-hotplug

Andrew Morton wrote:

> Miles Lane wrote:
> 
>> First off, I have successfully hotplugged my USB mouse on
>> this machine, so I don't think my configuration is wrong.
>> 
>> My config:
>> 
>>         kernel 2.4.0-pre9
>>         modutils 2.4.0 + David Brownell's depmod patch.
>>         The latest hotplug package from the linux-hotplug site.
>>         usbutils is not installed.
>> 
>> I just tested and got this:
>> 
>> Jan 22 02:20:35 agate kernel: cs: socket c4ffa000 timed out during
>> reset.  Try increasing setup_delay.
 >
 > This is where things start to come unstuck.  The NIC isn't
 > reset properly and its PCI space subsequently seems to read
 > as mostly 0xff's.


> I'd roll out my standard answer: "turn off ACPI", but I don't
> think you're using ACPI?

No.  I'm using APM.  I'll try turning off Power Management,
altogether, if you think it might make a difference.

> Something's screwy in the cardbus initialisation and I don't
> know what.  I assume everything works OK if you eject
> and reseat the card?

No.  I didn't get that socket time out, but hotplug still doesn't
work at all.

Jan 22 10:04:30 agate kernel: cs: cb_alloc(bus 1): vendor 0x10b7, device 0x5157
Jan 22 10:04:30 agate kernel: got res[1000:107f] for resource 0 of PCI device 10b7:5157
Jan 22 10:04:30 agate kernel: got res[10800000:1080007f] for resource 1 of PCI device 10b7:5157
Jan 22 10:04:30 agate kernel: got res[10800080:108000ff] for resource 2 of PCI device 10b7:5157
Jan 22 10:04:30 agate kernel: got res[10400000:1041ffff] for resource 6 of PCI device 10b7:5157
Jan 22 10:04:30 agate kernel: PCI: Enabling device 01:00.0 (0000 -> 0003)
Jan 22 10:04:30 agate kernel: PCI: No IRQ known for interrupt pin A of device 01:00.0.
Jan 22 10:04:30 agate cardmgr[437]: initializing socket 0
Jan 22 10:04:30 agate cardmgr[437]: socket 0: 3Com 3CCFE575B/3CXFE575B Fast EtherLink XL
Jan 22 10:04:30 agate /sbin/hotplug: arguments (pci) env (PCI_CLASS 000 PCI_ID\x10B7:5157 ACTION­d TERM=dumb HOSTTYPE=i386 PATH=/bin:/sbin:/usr/sbin:/usr/bin HOME=/ SHELL=/bin/bash DEBUG=yes PCI_SUBSYS_ID\x10B7:5B57 OSTYPE=Linux PCI_SLOT_NAME\x01:00.0 SHLVL=1 _=/usr/bin/env)
Jan 22 10:04:31 agate cardmgr[437]: module /lib/modules/2.4.1-pre9/pcmcia/cb_enabler.o not available
Jan 22 10:04:31 agate cardmgr[437]: module /lib/modules/2.4.1-pre9/pcmcia/3c575_cb.o not available
Jan 22 10:04:32 agate cardmgr[437]: get dev info on socket 0 failed: Resource temporarily unavailable

Do you think cardmgr is getting in the way?  I could try renaming it so 
it isn't invoked.

Not sure if this might help:

01:00.0 Ethernet controller: 3Com Corporation 3c575 [Megahertz] 10/100 LAN CardBus (rev 01)
Subsystem: 3Com Corporation: Unknown device 5b57
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 A routed to IRQ 11
Region 0: I/O ports at 1000 [size\x128]
Region 1: Memory at 10800000 (32-bit, non-prefetchable) [size\x128]
Region 2: Memory at 10800080 (32-bit, non-prefetchable) [size\x128]
Expansion ROM at 10400000 [size\x128K]
Capabilities: [50] Power Management version 1
Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: b7 10 57 51 03 00 10 02 01 00 00 02 00 00 00 00
10: 01 10 00 00 00 00 80 10 80 00 80 10 00 00 00 00
20: 00 00 00 00 00 00 00 00 90 00 00 00 b7 10 57 5b
30: 01 00 40 10 50 00 00 00 00 00 00 00 0b 01 0a 05
40: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
50: 01 00 01 76 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 7c 4b 9d 9d 57 51 c9 c4 36 00 4e 56 50 6d
70: 00 30 09 00 10 00 7c 4b 9d 9d 10 20 00 00 06 00
80: a6 32 70 15 00 00 60 00 07 00 00 00 00 00 81 00
90: 13 03 43 49 53 20 04 01 01 57 51 04 06 03 01 00
a0: 00 00 00 05 0c 41 9a 01 b5 1e 01 55 02 30 ff ff
b0: 01 07 06 11 00 40 00 00 00 15 34 05 00 33 43 6f
c0: 6d 20 43 6f 72 70 6f 72 61 74 69 6f 6e 00 33 43
d0: 43 46 45 35 37 35 42 54 00 4c 41 4e 20 43 61 72
e0: 64 62 75 73 20 43 61 72 64 00 30 30 31 00 ff 21
f0: 02 06 01 05 06 00 80 80 80 80 19 ff ff ff ff ff

>> Lastly, I am getting a SCSI hotplug error early in the boot cycle.
>> 
>>     Jan 22 02:12:47 agate kernel: request_module[scsi_hostadapter]: Root
>> fs not mounted
>> 
>> I thought this was fixed?
> 
> 
> Mostly.
> 
> Perhaps you could stick a `show_trace(0)' into request_module()
> where this print happens, feed the dmesg output through ksymoops?

Okay. I'll get back to you on this.


_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-22 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-22 18:40 Can't hotplug a 3c575 ethernet adapter Miles Lane

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.