On Thursday 26 August 2010 08:51:23 Kazuki Shimada wrote:
>   Hi, Marek and Sven.
> 
> I'm sorry to be late to reply.
> Thank you for your instruction and patches.
> I could update to latest revision 1778 and built successfully.
> 
> I met a new problem.
> After configuration, I entered /etc/init.d/network restart
> 
> r...@openwrt:/# /etc/init.d/network restart
> br-lan: port 3(bat0) entering disabled state
> br-lan: port 1(eth0) entering disabled state
> device bat0 left promiscuous mode
> br-lan: port 3(bat0) entering disabled state
> device eth1 left promiscuous mode
> br-lan: port 2(eth1) entering disabled state
> device eth0 left promiscuous mode
> br-lan: port 1(eth0) entering disabled state
> eth0: link down
> device eth0 entered promiscuous mode
> device eth1 entered promiscuous mode
> device bat0 entered promiscuous mode
> br-lan: port 3(bat0) entering forwarding state
> batman_adv: bat0: Interface deactivated: wlan0
> batman_adv: bat0: Removing interface: wlan0
> eth0: link up, speed 100 Mb/s, full duplex
> br-lan: port 1(eth0) entering forwarding state
> batman_adv: bat0: Interface deactivated: wlan1
> batman_adv: bat0: Removing interface: wlan1
> 
> After this line, console stopped. No key input was recieved.

Hm, thats not much information. So here some question to enrich it a little 
bit (otherwise I have no idea were the problem might be as I could not 
reproduce it yet).

How did you connect? Using serial console or using lan (from output I would 
guess serial console).

Does the hang always happen?

Can you reproduce the problem with the version in linux-2.6.36-rc3 or 
maint/next of the batman-adv git repository? Can you reproduce the problem by 
doing the necessary insmode/iw/batctl/rmmod steps by hand (aka no 
configuration using /etc, but manually)? What where your calls? Which call 
made it hang? Can you drop parts of you iw/batctl calls and the hang still 
occurs?

Can you add printks in hard-interface.c around the call of 
hardif_remove_interface inside hard_if_event to check if it stops inside that 
function and if it does then please try to add more printks inside of 
hardif_remove_interface and hardif_disable_interface.

thanks,
        Sven

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to