Skip to contentSkip to conversation

NETDEV WATCHDOG (additonal info)

DISCUSSION Arnold 1 participant 1 message Aug 2, 2006

lore
Share & tools
lore

Arnold

author
#0 lore raw

How I end up having a system hang and NETDEV WATCHDOG error:

1.)omap_request_gpio(2); 2.)omap_set_gpio_direction(pin, DIRECTION_FOR_OUTPUT); 3.)printk(" Writing at pin = %d\n",pin); 4.)omap_set_gpio_dataout(2,1); 5.)printk("Value of pin = %d\n",omap_get_gpio_datain(2)); 6.)omap_free_gpio(2);

After this I'm encountering NETDEV WATCHDOG error.

Quoted 13 lines · --- Arnold
Quoted 3 lines

P.S.: Ethernet interrupt is connected to GPIO 0 of bank 0.
So the NETDEV WATCHDOG stuff may come either

because

Quoted 6 lines

you
accidently touched anything what is necessary for
proper
ethernet interrupt. Or the GPIO interrupt you are
dealing
with is coming so often that there isn't enough

time

Quoted 2 lines

for
ethernet irq.

This problem occurs only if I stop the program. Which
calls the omap_free_gpio. Does freeing the gpio pin be
the cause of the problem?

Quoted 9 lines

Thanks,
OJ

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com