Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-31 Thread Olivier Berger
Hi.

Just for reference, I filed a ticket about this issue : 
http://docs.openmoko.org/trac/ticket/1933

Olivier Berger [EMAIL PROTECTED] writes:

 Andy Green [EMAIL PROTECTED] writes:

 Somebody in the thread at some point said:

 | Anyway, it seems it's rather unstable in the first times the system is
 | brought up, and stabilizes after a while.
 | If I unplug the USB cable when I lose IP connectivity, and replug
 | after 1/2 seconds, then it becomes more stable. Well maybe the fact
 | that I'm running a ping 192.168.0.202 continously helps also at that
 | stage : it may help maintain connectivity somehow ?


 Just to confirm that I experienced a similar behaviour with 2008.8
 running from flash too :(

 Maybe I'll be able to provide more diagnostics once I'm more confident
 with the networking setup in 2008.8.


-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-10 Thread Jay Vaughan


 I guess it's pretty flaky :( But still I see some (slow) progress ;)


It really could be related to the USB ports on your PC .. if for some  
reason your PC is not happy with the power-state changes demanded by  
the Freerunner, then it will reset the USB hard layer, and this has  
the effect that your internal USB GUID changes, confusing the usb- 
ethernet driver, and thus giving you inconsistent services.  If its at  
all possible, try running some sort of USB diagnostic app on your PC  
while this is all going on or check your log files for USB-related  
messages in the meantime ..


;
--
Jay Vaughan





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-10 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| I kept trying, rebooted, tested, again, again, unplugged USB,
| replugged... and TADA, at some point it magically worked !
|
| I've typed-in a few commands, got networking (opkg update completed),
| did a few more things... and ... it's now gone :(
|
| # ping 192.168.0.202
| PING 192.168.0.202 (192.168.0.202) 56(84) bytes of data.
| From 192.168.0.200 icmp_seq=1 Destination Host Unreachable
| From 192.168.0.200 icmp_seq=2 Destination Host Unreachable
| From 192.168.0.200 icmp_seq=3 Destination Host Unreachable
|
| no kernel message on desktop side : usb not unplugged...
|
| I guess it's pretty flaky :( But still I see some (slow) progress ;)
|
| I guess screen will be my friend.

I would first guess this is simply the ifconfig to set Freerunner-side
IP getting messed with.  I really did not see flakiness of Ethernet over
USB and I understood there is new scheme for managing IP allocation in
this new rootfs.  If anyone with a debug board sees this behaviour, just
logging in on the debug serial console and doing ifconfig usb0 / route
- -n would clear it up if it is that.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkieoFEACgkQOjLpvpq7dMokCgCfQuBWnoEa56g0Qw2O2KZImRrC
+K4An3dP5fzVn5kvsELnycT6IDQSBfhZ
=R/wR
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-10 Thread Olivier Berger
Jay Vaughan [EMAIL PROTECTED] writes:


 I guess it's pretty flaky :( But still I see some (slow) progress ;)


 It really could be related to the USB ports on your PC .. if for some  
 reason your PC is not happy with the power-state changes demanded by  
 the Freerunner, then it will reset the USB hard layer, and this has  
 the effect that your internal USB GUID changes, confusing the usb- 
 ethernet driver, and thus giving you inconsistent services.  If its at  
 all possible, try running some sort of USB diagnostic app on your PC  
 while this is all going on or check your log files for USB-related  
 messages in the meantime ..


I don't believe so, as I've not had these issues with 2007.7, but it
would be running from flash, whereas I have the problems with 2008.8
running from SD... maybe that's why ?

Thanks anyway.

Best regards,
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-10 Thread Olivier Berger
Andy Green [EMAIL PROTECTED] writes:

 Somebody in the thread at some point said:

 | I kept trying, rebooted, tested, again, again, unplugged USB,
 | replugged... and TADA, at some point it magically worked !
 |
 | I've typed-in a few commands, got networking (opkg update completed),
 | did a few more things... and ... it's now gone :(
 |
 | # ping 192.168.0.202
 | PING 192.168.0.202 (192.168.0.202) 56(84) bytes of data.
 | From 192.168.0.200 icmp_seq=1 Destination Host Unreachable
 | From 192.168.0.200 icmp_seq=2 Destination Host Unreachable
 | From 192.168.0.200 icmp_seq=3 Destination Host Unreachable
 |
 | no kernel message on desktop side : usb not unplugged...
 |
 | I guess it's pretty flaky :( But still I see some (slow) progress ;)
 |
 | I guess screen will be my friend.

 I would first guess this is simply the ifconfig to set Freerunner-side
 IP getting messed with.  I really did not see flakiness of Ethernet over
 USB and I understood there is new scheme for managing IP allocation in
 this new rootfs.  If anyone with a debug board sees this behaviour, just
 logging in on the debug serial console and doing ifconfig usb0 / route
 -n would clear it up if it is that.


Thanks for the feedback.

Notice that I'm running 2008.8 from SD so that may change some
behaviour vs running it from flash, explaining the network problems.

Anyway, it seems it's rather unstable in the first times the system is
brought up, and stabilizes after a while.
If I unplug the USB cable when I lose IP connectivity, and replug
after 1/2 seconds, then it becomes more stable. Well maybe the fact
that I'm running a ping 192.168.0.202 continously helps also at that
stage : it may help maintain connectivity somehow ?

Anyway, I guess I'll be able to test 2008.8 from flash soon, and may
be able to tell if that's better.

In the meantime, 'screen -R -D' is my friend ;)

Hope this helps.

Best regards,
-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-10 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| Anyway, it seems it's rather unstable in the first times the system is
| brought up, and stabilizes after a while.
| If I unplug the USB cable when I lose IP connectivity, and replug
| after 1/2 seconds, then it becomes more stable. Well maybe the fact
| that I'm running a ping 192.168.0.202 continously helps also at that
| stage : it may help maintain connectivity somehow ?

This is also quite compatible with the idea the issue is around ip
allocation on Freerunner side: when you remove and replug you will be
doing something radical on the usb0 on Freerunner side (I guess the
semantic is link down / link up, and logical usb0 network device
stays there the whole while).  But still then whatever deals with IP
allocation can be triggered to reapply static IP or do DHCP request, etc
and make the issue go away.

| Anyway, I guess I'll be able to test 2008.8 from flash soon, and may
| be able to tell if that's better.
|
| In the meantime, 'screen -R -D' is my friend ;)
|
| Hope this helps.

Well no doubt your issue is real, I guess it is not underlying link
though because I use it heavily with 2008.08 out of the picture here and
it is OK.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkifTRsACgkQOjLpvpq7dMpwAQCfa5JNPU+2RzUrVZ4mZteuRw1u
G+8An2lD6o5FliOmG58VUOVL4JHceMMu
=/u3s
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network over USB flaky ? - Re: Booting OM 2008.08 from SD - Re: Openmoko Om 2008.8 Release

2008-08-10 Thread Olivier Berger
Andy Green [EMAIL PROTECTED] writes:

 Somebody in the thread at some point said:

 | Anyway, it seems it's rather unstable in the first times the system is
 | brought up, and stabilizes after a while.
 | If I unplug the USB cable when I lose IP connectivity, and replug
 | after 1/2 seconds, then it becomes more stable. Well maybe the fact
 | that I'm running a ping 192.168.0.202 continously helps also at that
 | stage : it may help maintain connectivity somehow ?

 This is also quite compatible with the idea the issue is around ip
 allocation on Freerunner side: when you remove and replug you will be
 doing something radical on the usb0 on Freerunner side (I guess the
 semantic is link down / link up, and logical usb0 network device
 stays there the whole while).  But still then whatever deals with IP
 allocation can be triggered to reapply static IP or do DHCP request, etc
 and make the issue go away.

 | Anyway, I guess I'll be able to test 2008.8 from flash soon, and may
 | be able to tell if that's better.
 |
 | In the meantime, 'screen -R -D' is my friend ;)
 |
 | Hope this helps.

 Well no doubt your issue is real, I guess it is not underlying link
 though because I use it heavily with 2008.08 out of the picture here and
 it is OK.

 -Andy

Just to confirm that I experienced a similar behaviour with 2008.8
running from flash too :(

Maybe I'll be able to provide more diagnostics once I'm more confident
with the networking setup in 2008.8.

My 2 cents,

-- 
Olivier BERGER 
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community