public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.67 pcmcia - insmod ds.ko hangs
@ 2003-04-14 11:22 Sean Estabrooks
  2003-04-14 11:36 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Sean Estabrooks @ 2003-04-14 11:22 UTC (permalink / raw)
  To: linux-kernel

# insmod pcmcia_core.ko
# insmod yenta_socket.ko
    PCI: Found IRQ 11 for device 00:0b.0
    PCI: Sharing IRQ 11 with 01:00.0
    Yenta IRQ list 04b0, PCI irq11
    Socket status: 30000020
    PCI: Found IRQ 11 for device 00:0b.1
    PCI: Sharing IRQ 11 with 00:0c.0
    Yenta IRQ list 04b0, PCI irq11
    Socket status: 30000007
# insmod ds.ko  
    PCI: Enabling device 02:00.0 (0000 -> 0003)
    [hang]

  And hangs here permanently, and i should mention it hangs 
the same way when compiled into the kernel.  Changing to
another virtual console and bringing up the network works
without a hitch, but the insmod above never returns.

  One interesting thing is that when ds.c is replaced with the 
version prior to "Driver Services: socket add/remove abstraction" 
patch, everything works fine.

  Some printk's showed that pcmcia_bus_add_socket() in ds.c
makes a call to pcmcia_register_client() that never returns.  

  I've tried compiling the kernel turning off power management,
preempt, etc with no change.  Thought i'd ask if anyone can 
offer a bit of guidance.

Cheers,
Sean

PS. Toshiba Satellite laptop with Xircom Cardbus Ethernet card.

# lspci
    00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
    00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
    00:05.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
    00:05.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:05.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
    00:05.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
    00:07.0 Communication controller: Lucent Microelectronics 56k
WinModem (rev 01)
    00:09.0 IRDA controller: Toshiba America Info Systems FIR Port
Type-DO
    00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to
Cardbus Bridge with ZV Support (rev 20)
    00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to
Cardbus Bridge with ZV Support (rev 20)
    00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-744B
[DS-1S Audio Controller] (rev 02)
    01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV
(rev 11)
    14:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.67 pcmcia - insmod ds.ko hangs
  2003-04-14 11:22 2.5.67 pcmcia - insmod ds.ko hangs Sean Estabrooks
@ 2003-04-14 11:36 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2003-04-14 11:36 UTC (permalink / raw)
  To: Sean Estabrooks; +Cc: linux-kernel

On Mon, Apr 14, 2003 at 07:22:04AM -0400, Sean Estabrooks wrote:
> # insmod pcmcia_core.ko
> # insmod yenta_socket.ko
>     PCI: Found IRQ 11 for device 00:0b.0
>     PCI: Sharing IRQ 11 with 01:00.0
>     Yenta IRQ list 04b0, PCI irq11
>     Socket status: 30000020
>     PCI: Found IRQ 11 for device 00:0b.1
>     PCI: Sharing IRQ 11 with 00:0c.0
>     Yenta IRQ list 04b0, PCI irq11
>     Socket status: 30000007
> # insmod ds.ko  
>     PCI: Enabling device 02:00.0 (0000 -> 0003)
>     [hang]
> 
>   And hangs here permanently, and i should mention it hangs 
> the same way when compiled into the kernel.  Changing to
> another virtual console and bringing up the network works
> without a hitch, but the insmod above never returns.

Known problem - don't insert ds.ko with any cards in the sockets.
It's caused by a deadlock in the device model handling, caused by
the expectations of PCMCIA.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-14 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14 11:22 2.5.67 pcmcia - insmod ds.ko hangs Sean Estabrooks
2003-04-14 11:36 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox