Badness in local_bh_enable when calling phy_read

DI BACCO ANTONIO - technolabs Antonio.DiBacco at technolabs.it
Tue Mar 27 16:56:09 EST 2007


Hi all,

I'm using DENX linux-2.6.19.2, trying to send a SIOCGMIIREG to a socket
causes the following message:

Badness in local_bh_enable at kernel/softirq.c:137

The call trace shows the phy_read function that has the following body:

int phy_read(struct phy_device *phydev, u16 regnum)
{
        int retval;
        struct mii_bus *bus = phydev->bus;

        spin_lock_bh(&bus->mdio_lock);
        retval = bus->read(bus, phydev->addr, regnum);
        spin_unlock_bh(&bus->mdio_lock);

        return retval;
}

Bye,
Antonio.
 



More information about the Linuxppc-embedded mailing list