Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-11 Thread Richard Cooke

Having got this working again by flashing the original factory images, today
i somewhat recklessly flashed the 2008.8 release. I am again now unable to
get usb0 to show up in my interfaces. Is there any way to fix this short of
reverting to the 2007.2 release again?
-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p686056.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-11 Thread Richard Cooke

Sorry. Cancel that. Removing the30 second suspend on FR seems to have fixed
it

-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p686080.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-07 Thread arne anka
 How do I update my kernel by the packaging from inside the Freerunner?

with opkg.
usually opkg upgrade will upgrade the kernel as well. make sure your fr  
does not go to sleep while doing the upgrade and reboot afterwards to use  
the new kernel.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Jay Vaughan

LOL!!

j.



On Aug 6, 2008, at 9:23 AM, Joerg Reisenweber wrote:

 Am Mi  6. August 2008 schrieb Olivier Berger:
 Joerg Reisenweber [EMAIL PROTECTED] writes:


 Maybe just adding the link by yourself would have been enough :-(

 Yay maybe.

 My job is to fix your hw and create new one, not to supply links.

 Well... dunno what your employer tells you to do... but I consider
 good practice to provide explicit links to valid information for
 *customer support* interactions, rather than say Mr smith told
 something in past 48 hours when that mr smith posts tons of emails.

 At least, as a volunteer, I tend to provide explicit information (and
 complement with wiki editing) as much as I can... so I would expect  
 so
 from professionals... but I guess you're overwhelmed by mail, so I
 know it's hard to take time to browse the web archives to retrieve a
 link and that adds extra burden compared to coding and such.

 But please, think about your customers.

 C'mon encourage me to give such information in the future, when I  
 come
 along.
 Best regards
 jOERG


 Thanks for the good job, and sorry for my pendantic tone.

 P.S.: been working for years in SW industry for customer service on
 application maintainance, been there, done that ;)

 Just note I'm NOT customer support but hw-developer. I have a  
 10hours day to
 fix HW!!!-bugs, and the mailing lists spam me with ~600mails per day  
 which
 I'm trying to read all of them. I really don't see any chance to  
 care about
 providing links that anybodyelse could find easily, just for your
 convenience, while I might work same time another 5 min on what's  
 I'm payed
 for.

 Ok, you convinced me to skip more mail unread, to think twice before  
 answering
 to any ml-posting,
 and to save my time not to answer mail like this one from now on

 congrats
 cheers!!!
 jOERG

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support

;
--
Jay Vaughan





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Yorick Moko
maybe this can help:
disconnect cable,
restart freerunner,
when booted: connect cable
try again

worked once for me

On Wed, Aug 6, 2008 at 11:32 AM, Richard Cooke
[EMAIL PROTECTED] wrote:

 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again, but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

 --
 View this message in context: 
 http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675456.html
 Sent from the Openmoko Support mailing list archive at Nabble.com.


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread arne anka
 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

fr is plugged in and powered on? no suspend?
if so, unplug it from the host pc, open a konsole/shell and do

sudo tail -f /var/log/syslog

have a look at the shell and plug in the fr again.
any messages?
there was a bug in one of the last u-boots, that broke about 50% of usb  
connections -- rebooting (the fr or the pc, couldn't figure out which, try  
fr first) is supposed to help.
the lattest u-boots are supposed to fix that.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

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

Somebody in the thread at some point said:
| The problem I now have is that I am unable to get usb0 recognized as an
| interface by ifconfig.
|
| The command:
| ifconfig usb0 192.168.0.200
|
| results in
| SIOCSIFADDR: No such device
| usb0: ERROR while getting interface flags: No such device
|
| fr is plugged in and powered on? no suspend?
| if so, unplug it from the host pc, open a konsole/shell and do
|
| sudo tail -f /var/log/syslog
|
| have a look at the shell and plug in the fr again.
| any messages?
| there was a bug in one of the last u-boots, that broke about 50% of usb
| connections -- rebooting (the fr or the pc, couldn't figure out which,
try
| fr first) is supposed to help.
| the lattest u-boots are supposed to fix that.

Yes, there is another way to get this issue unfortunately too.  We moved
~ USB over Ethernet support on the Freerunner into a module.  But, it's
commonly written around that folks should update their kernel by DFU.
This was never a good idea for a modular kernel (it does nothing to
update the modules) and now it's a really bad idea.

If you update your kernel by the packaging from inside the Freerunner it
won't make this problem as it updates the modules at the same time (now,
anyway, there were other problems with that method until recently).

If that's what's happened (try the Uboot update first though because
that fits the symptom as well) best plan is nuke these guys on your
device (kernel + matching rootfs) with dfu

http://buildhost.openmoko.org/releases/Freerunner/

and start over.

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

iEYEARECAAYFAkiZeFoACgkQOjLpvpq7dMqUXACcC7xnLGScuoq5b0RTmmwdZ79y
3hsAnRFCyGb9feZAtNUzDLKPDqmfD28J
=mbCO
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Aaron Sowry
arne anka wrote:
 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device
 

 there was a bug in one of the last u-boots, that broke about 50% of usb  
 connections 
I know Ubuntu handles interfaces in a weird way and references them by 
MAC address. If Arne's suggestion doesn't help, run 'sudo ifconfig -a' 
at the terminal and post the output, along with the contents of 
/etc/iftab - you might find that the interface is not even called usb0.

Aaron

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Jay Vaughan
 The problem I now have is that I am unable to get usb0 recognized as  
 an
 interface by ifconfig.
 The command:
 ifconfig usb0 192.168.0.200
 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device
 I have tried modprobing usbnet and cdc_ether but the problem remains.
 Help from any quarter would be much appreciated as I am at my wits'  
 end.


I haven't been tracking your problems, but are you *sure* that the  
usbnet module is loaded on your Freerunner?


;
--
Jay Vaughan





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

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

Somebody in the thread at some point said:

| Aug  6 11:25:36 ubuntu kernel: [  926.860809] cdc_acm 3-1:1.0:
ttyACM0: USB
| ACM device

| It seems the device is detected just as it is powering down.

Powering down or rebooting into U-Boot?

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

iEYEARECAAYFAkiZgPMACgkQOjLpvpq7dMqcSwCeNrb3rGlDy2NgbZT3EzK2oMu5
OwEAn2vrHFjvDoJalRITickR6Mrn6Ki/
=y991
-END PGP SIGNATURE-

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke


Andy Green wrote:
 
 Powering down or rebooting into U-Boot?
 - -Andy
 
Sorry. You are correct. On watching the screen more closely it is clear that
the device is detected early in its boot process. It then appears that the
USB connection is lost 6 seconds later.
-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675585.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke


Andy Green wrote:
 
 
 Yes, there is another way to get this issue unfortunately too.  We moved
 ~ USB over Ethernet support on the Freerunner into a module.  But, it's
 commonly written around that folks should update their kernel by DFU.
 This was never a good idea for a modular kernel (it does nothing to
 update the modules) and now it's a really bad idea.
 
 If you update your kernel by the packaging from inside the Freerunner it
 won't make this problem as it updates the modules at the same time (now,
 anyway, there were other problems with that method until recently).
 
 If that's what's happened (try the Uboot update first though because
 that fits the symptom as well) best plan is nuke these guys on your
 device (kernel + matching rootfs) with dfu
 
 http://buildhost.openmoko.org/releases/Freerunner/
 
 and start over.
 
 - -Andy
 
 

Thanks. This seems to be the problem. I will reflash with DFU. I am not
clear though how to avoid the same situation when I come to upgrade the
phone again as I used opkg over ssh to upgrade and have not used dfu at all.

-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675618.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Richard Cooke

Ok. No problem. I'll have another go. Thanks.

Andy Green wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Somebody in the thread at some point said:
 
 | If you update your kernel by the packaging from inside the Freerunner
 it
 | won't make this problem as it updates the modules at the same time
 (now,
 | anyway, there were other problems with that method until recently).
 
 | Thanks. This seems to be the problem. I will reflash with DFU. I am not
 | clear though how to avoid the same situation when I come to upgrade the
 | phone again as I used opkg over ssh to upgrade and have not used dfu
 at all.
 
 For a day or two there the packaging didn't take care about bringing in
 the new module that was created.  Now it pulls in all the modules needed
 automatically: sorry for the inconvenience.
 
 - -Andy
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkiZjl0ACgkQOjLpvpq7dMrxzwCfYobI9U8ZgulT0aF49A958V4Z
 ENMAnRvXXVOIfJyRBL2urWH5Y1cQXqHu
 =SrJe
 -END PGP SIGNATURE-
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 

-- 
View this message in context: 
http://n2.nabble.com/USB-networking-in-Ubuntu-tp666197p675636.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Zack Mollusc
Richard Cooke wrote:
 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again, but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

   

Hello, i am also a noob running umbongo (i am on 32bit 8.04) and i had a 
similar problem.
I broke the whole thing on the fr and no longer had a gui, I flashed the root 
filesystem
(Openmoko-Freerunner-20080424-om-gta02.rootfs.jffs2)and seemed to lose
usb connectivity, with similar host response, and after some vain faffing
about with the host machine(i thought the usb port had become confused)
, I flashed the kernel (uImage-2.6.24+git20080424-om-gta02.bin) and that
seemed to fix it for me. Obviously I had to install the apps again.
Good luck.





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Zack Mollusc
Richard Cooke wrote:
 Yeah. Worked for me too. Spent a day fiddling with the wrong box before
 giving up and asking for help. Maybe there's a lesson to be learned here.


 Zack Mollusc wrote:
   
 Richard Cooke wrote:
 
 It is a shame you have alienated the support staff on this list since I
 suspect I am not on my own in having difficulty getting USB networking
 between the freerunner and Ubuntu up and running.

 I am something of a Linux noob and a complete openmoko beginner and
 perhaps
 as such I was a little rash in taking this thing on. I am running Ubuntu
 8.04 64 bit on an AMD64 box.

 I have spent a couple of days trawling google trying to get this going
 and
 late last week was successful enough to be able to upgrade my device. I
 thought at the time that maybe I should never power down my box again,
 but
 power it down I did.

 The problem I now have is that I am unable to get usb0 recognized as an
 interface by ifconfig.

 The command:
 ifconfig usb0 192.168.0.200

 results in
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 I have tried modprobing usbnet and cdc_ether but the problem remains.

 Help from any quarter would be much appreciated as I am at my wits' end.

 Thanks,


 Richard

   
   
 Hello, i am also a noob running umbongo (i am on 32bit 8.04) and i had a
 similar problem.
 I broke the whole thing on the fr and no longer had a gui, I flashed the
 root filesystem
 (Openmoko-Freerunner-20080424-om-gta02.rootfs.jffs2)and seemed to lose
 usb connectivity, with similar host response, and after some vain faffing
 about with the host machine(i thought the usb port had become confused)
 , I flashed the kernel (uImage-2.6.24+git20080424-om-gta02.bin) and that
 seemed to fix it for me. Obviously I had to install the apps again.
 Good luck.





 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


 

   
Hehe, i booted the host multiple times and connected different USB
things to it trying to work out what was wrong with the USB port. :-)



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Matt Margush
On Wed, Aug 6, 2008 at 3:09 AM, Andy Green [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Yes, there is another way to get this issue unfortunately too.  We moved
 ~ USB over Ethernet support on the Freerunner into a module.  But, it's
 commonly written around that folks should update their kernel by DFU.
 This was never a good idea for a modular kernel (it does nothing to
 update the modules) and now it's a really bad idea.

 If you update your kernel by the packaging from inside the Freerunner it
 won't make this problem as it updates the modules at the same time

How do I update my kernel by the packaging from inside the Freerunner?

Thanks,

Matt

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Unnecessary rant - Was: Re: USB networking in Ubuntu

2008-08-06 Thread Matt Joyce
On Wed, Aug 6, 2008 at 9:43 PM, Andy Green [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Somebody in the thread at some point said:

 | If you update your kernel by the packaging from inside the Freerunner it
 | won't make this problem as it updates the modules at the same time (now,
 | anyway, there were other problems with that method until recently).

 | Thanks. This seems to be the problem. I will reflash with DFU. I am not
 | clear though how to avoid the same situation when I come to upgrade the
 | phone again as I used opkg over ssh to upgrade and have not used dfu
 at all.

 For a day or two there the packaging didn't take care about bringing in
 the new module that was created.  Now it pulls in all the modules needed
 automatically: sorry for the inconvenience.

 - -Andy

Presumably, for those who have upgraded the kernel but don't have the
usb-net modules, they could be downloaded, or extracted and loaded
onto the sd and then installed.
Would save flashing.

Matt

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support