On Wed, Dec 28, Dale Farnsworth wrote: > From: Dale Farnsworth <[EMAIL PROTECTED]> > > We can't call request_irq() while holding a spin lock.
This still calls malloc with the lock held. What is the lock trying to protect anyway? Maybe the lock should be moved to the place where the lock is really required. I was able to ping with the locks removed, but ssh did not work for some reasons. MV-643xx 10/100/1000 Ethernet Driver eth1: port 1 with MAC address 00:2b:2f:de:ad:01 eth1: Scatter Gather Enabled eth1: TX TCP/IP Checksumming Supported eth1: RX TCP/UDP Checksum Offload ON eth1: RX NAPI Enabled eth1: Using SRAM Debug: sleeping function called from invalid context at mm/slab.c:2472 in_atomic():0, irqs_disabled():1 Call Trace: [C3E01D40] [C000BCAC] show_stack+0x54/0x184 (unreliable) [C3E01D60] [C0028E68] __might_sleep+0xbc/0xd0 [C3E01D70] [C005FD3C] __kmalloc+0x88/0x158 [C3E01D90] [D2281264] mv643xx_eth_real_open+0x15c/0x4b4 [mv643xx_eth] [C3E01DC0] [D22820C0] mv643xx_eth_open+0x68/0xb0 [mv643xx_eth] [C3E01DE0] [C025638C] dev_open+0x70/0xd8 [C3E01E00] [C02544F8] dev_change_flags+0x6c/0x13c ... -- short story of a lazy sysadmin: alias appserv=wotan - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html