From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miles Lane Date: Mon, 22 Jan 2001 18:40:53 +0000 Subject: Re: Can't hotplug a 3c575 ethernet adapter Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Andrew Morton wrote: > Miles Lane wrote: >=20 >> First off, I have successfully hotplugged my USB mouse on >> this machine, so I don't think my configuration is wrong. >>=20 >> My config: >>=20 >> 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. >>=20 >> I just tested and got this: >>=20 >> 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 0x= 5157 Jan 22 10:04:30 agate kernel: got res[1000:107f] for resource 0 of PCI devi= ce 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 devi= ce 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=10B7:5157 ACTION=ADd TERM=3Ddumb HOSTTYPE=3Di386 PATH=3D/bin:/sbin:/usr= /sbin:/usr/bin HOME=3D/ SHELL=3D/bin/bash DEBUG=3Dyes PCI_SUBSYS_ID=10B7:5B= 57 OSTYPE=3DLinux PCI_SLOT_NAME=01:00.0 SHLVL=3D1 _=3D/usr/bin/env) Jan 22 10:04:31 agate cardmgr[437]: module /lib/modules/2.4.1-pre9/pcmcia/c= b_enabler.o not available Jan 22 10:04:31 agate cardmgr[437]: module /lib/modules/2.4.1-pre9/pcmcia/3= c575_cb.o not available Jan 22 10:04:32 agate cardmgr[437]: get dev info on socket 0 failed: Resour= ce temporarily unavailable Do you think cardmgr is getting in the way? I could try renaming it so=20 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- Steppin= g- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- > Lastly, I am getting a SCSI hotplug error early in the boot cycle. >>=20 >> Jan 22 02:12:47 agate kernel: request_module[scsi_hostadapter]: Root >> fs not mounted >>=20 >> I thought this was fixed? >=20 >=20 > Mostly. >=20 > 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