Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-22 Thread Kevin Gordon
Last update for today, promise :-)

On a fresh install of os23 on any of my XO 1.0's, (without moving the .ko
driver) with a VGA adapter , doing this first time try booting using 'boot'
from OFW,  the system will most often hang on the set localhost line right
after the [13.xxx]  'Allocated 8 output buffers' USB line.  If it hangs
right here,  if I now unplug the VGA adapter it continues to boot.

 If instead, the console lines on an OFW boot continue through the
[14.x]  and hang on the diisplay of libertas lines, then removing the
VGA adapter does not cause the boot to continue.  It sits there unhappily
idle.

So bottom line ruight now is that the 'workaround' for the intermittent
problem listed as in the ticket does not carry forward to 11.2.  I cannot
get it to give VGA outputon an XO 1.0 on build 11.2, at all.  External power
is in, and the VGA display is ready for all the above tests.

Awaiting more orders.

Cheers

KG



On Wed, Jun 22, 2011 at 7:39 AM, Kevin Gordon  wrote:

> Update:
>
> rather than power off, I decided to do another ctl-alt-f2 at the snag of
> the 'stall point' below, and got a bash prompt,
>
> entering  stop prefdm there then returns "unknown instance" and a bash
> prompt
>
> tried the insmod tests from there, loaded successfully with the following
> output:
>
> usb 1-2: USB2VGA dongle found at address 3
> usb 1-2: Allocated 8 output buffers
> usb 1-2: 8Mb 1 ch/1 r SDR SDRAM, bus width 32
> usbcore: registered new interface driver sisusb
>
> tried the rmmod, got the following output:
>
> usbcore: deregistering interface driver sisusb
>
> did it about 10 times with various 1-10 second waits before and after each
> step,  always results as above.
>
> KG
>
>
>
>
>
>
>
>
>
> On Wed, Jun 22, 2011 at 7:23 AM, Kevin Gordon wrote:
>
>> DSD:
>>
>> Hit a snag on your method below:
>>
>> Moved the .ko
>>
>> rebooted
>>
>> rebooted with USBVGA2 plugged in, booted successfully with no VGA display,
>> as you predicted
>>
>> ctl-alt-f2
>>
>> hit enter to login, gives me the bash # prompt
>>
>> entering stop prefdm at the prompt does not then return a # prompt, just
>> shoots a bunch of text console lines, ending with
>>
>> Starting crond:
>> [21.486698] input: olpc-kbdshim virtual input as
>> /devices/virtual/input/input6
>> [97.220326] dcon_freeze_store: 0
>>
>> any subsequent input echoes but does nothing, have to power off by the
>> power button
>>
>> Any suggestions?
>>
>>
>>
>>
>> More specific instructions for this:
>>
>>>
>>> Boot without USBVGA connector attached. Go to a root terminal and move
>>> sisusbvga.ko to /root:
>>> # mv /lib/modules/*/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko /root
>>>
>>> Power off the system, connect USBVGA, boot. It should boot
>>> successfully, but without any VGA output. Press ctrl+alt+f2 to get to
>>> a root terminal, and stop X/sugar with:
>>> # stop prefdm
>>>
>>> Now load the sisusbvga driver manually and see if it hangs:
>>> # insmod /root/sisusbvga.ko
>>>
>>> Wait a few seconds, see if the system is hung or if you can still type
>>> on the console.
>>>
>>> If you can still type, unload the module:
>>> # rmmod sisusbvga
>>>
>>> and now try loading/unloading a few more times with a few seconds
>>> pause between each step.
>>> # insmod /root/sisusbvga.ko
>>> ...
>>> # rmmod sisusbvga
>>> ...
>>> # insmod /root/sisusbvga.ko
>>> ...
>>> # rmmod sisusbvga
>>> ...
>>> etc
>>>
>>> The idea is to find out whether the system hang is caused by the
>>> loading of sisusbvga. It might not hang first time, may require a few
>>> attempts, hence the repeated loading.
>>>
>>> Thanks,
>>> Daniel
>>>
>>
>>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-22 Thread Kevin Gordon
Update:

rather than power off, I decided to do another ctl-alt-f2 at the snag of the
'stall point' below, and got a bash prompt,

entering  stop prefdm there then returns "unknown instance" and a bash
prompt

tried the insmod tests from there, loaded successfully with the following
output:

usb 1-2: USB2VGA dongle found at address 3
usb 1-2: Allocated 8 output buffers
usb 1-2: 8Mb 1 ch/1 r SDR SDRAM, bus width 32
usbcore: registered new interface driver sisusb

tried the rmmod, got the following output:

usbcore: deregistering interface driver sisusb

did it about 10 times with various 1-10 second waits before and after each
step,  always results as above.

KG








On Wed, Jun 22, 2011 at 7:23 AM, Kevin Gordon  wrote:

> DSD:
>
> Hit a snag on your method below:
>
> Moved the .ko
>
> rebooted
>
> rebooted with USBVGA2 plugged in, booted successfully with no VGA display,
> as you predicted
>
> ctl-alt-f2
>
> hit enter to login, gives me the bash # prompt
>
> entering stop prefdm at the prompt does not then return a # prompt, just
> shoots a bunch of text console lines, ending with
>
> Starting crond:
> [21.486698] input: olpc-kbdshim virtual input as
> /devices/virtual/input/input6
> [97.220326] dcon_freeze_store: 0
>
> any subsequent input echoes but does nothing, have to power off by the
> power button
>
> Any suggestions?
>
>
>
>
> More specific instructions for this:
>
>>
>> Boot without USBVGA connector attached. Go to a root terminal and move
>> sisusbvga.ko to /root:
>> # mv /lib/modules/*/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko /root
>>
>> Power off the system, connect USBVGA, boot. It should boot
>> successfully, but without any VGA output. Press ctrl+alt+f2 to get to
>> a root terminal, and stop X/sugar with:
>> # stop prefdm
>>
>> Now load the sisusbvga driver manually and see if it hangs:
>> # insmod /root/sisusbvga.ko
>>
>> Wait a few seconds, see if the system is hung or if you can still type
>> on the console.
>>
>> If you can still type, unload the module:
>> # rmmod sisusbvga
>>
>> and now try loading/unloading a few more times with a few seconds
>> pause between each step.
>> # insmod /root/sisusbvga.ko
>> ...
>> # rmmod sisusbvga
>> ...
>> # insmod /root/sisusbvga.ko
>> ...
>> # rmmod sisusbvga
>> ...
>> etc
>>
>> The idea is to find out whether the system hang is caused by the
>> loading of sisusbvga. It might not hang first time, may require a few
>> attempts, hence the repeated loading.
>>
>> Thanks,
>> Daniel
>>
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-22 Thread Kevin Gordon
DSD:

Hit a snag on your method below:

Moved the .ko

rebooted

rebooted with USBVGA2 plugged in, booted successfully with no VGA display,
as you predicted

ctl-alt-f2

hit enter to login, gives me the bash # prompt

entering stop prefdm at the prompt does not then return a # prompt, just
shoots a bunch of text console lines, ending with

Starting crond:
[21.486698] input: olpc-kbdshim virtual input as
/devices/virtual/input/input6
[97.220326] dcon_freeze_store: 0

any subsequent input echoes but does nothing, have to power off by the power
button

Any suggestions?



More specific instructions for this:

>
> Boot without USBVGA connector attached. Go to a root terminal and move
> sisusbvga.ko to /root:
> # mv /lib/modules/*/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko /root
>
> Power off the system, connect USBVGA, boot. It should boot
> successfully, but without any VGA output. Press ctrl+alt+f2 to get to
> a root terminal, and stop X/sugar with:
> # stop prefdm
>
> Now load the sisusbvga driver manually and see if it hangs:
> # insmod /root/sisusbvga.ko
>
> Wait a few seconds, see if the system is hung or if you can still type
> on the console.
>
> If you can still type, unload the module:
> # rmmod sisusbvga
>
> and now try loading/unloading a few more times with a few seconds
> pause between each step.
> # insmod /root/sisusbvga.ko
> ...
> # rmmod sisusbvga
> ...
> # insmod /root/sisusbvga.ko
> ...
> # rmmod sisusbvga
> ...
> etc
>
> The idea is to find out whether the system hang is caused by the
> loading of sisusbvga. It might not hang first time, may require a few
> attempts, hence the repeated loading.
>
> Thanks,
> Daniel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-19 Thread Kevin Gordon
Roger that.  I will try.

I do have a serial adapter cable semi-permanently attached to one of the
XO's - i use it to debrick any RTC machines I get off ebay., so with
training, I might be able to perform those steps too later, once I get to
you on the first steps.

KG


On Sun, Jun 19, 2011 at 8:48 AM, Daniel Drake  wrote:

> On 19 June 2011 13:14, Kevin Gordon  wrote:
> > Since it seems to never work on any build, if you like, I can concentrate
> on
> > just os23 on multiple XO 1.0 machines on multiple USB ports and see if
> there
> > are any differences in where it halts, even if I've previously plugged it
> in
> > after boot or not.  I've had it get to the 3rd dot before hanging on a
> > couple of occasions, and I think that's the time I see the 'Starting
> Cronds'
> > on the console .  So, if I have a more directed rather than shotgun plan,
> > perhaps I can be more helpful.
>
> That's interesting, thanks for the extensive testing.
> On the ticket I suggested some next steps for debugging.
> http://dev.laptop.org/ticket/10568
>
> The 3rd one you can do without a serial console. "See if you can
> reproduce it as follows: move the sisusbvga.ko file to somewhere where
> modprobe can't find it, boot the system and stop X. Then run a loop at
> the shell of insmod;rmmod, see if that makes it possible to reproduce
> the hang quickly"
>
> More specific instructions for this:
>
> Boot without USBVGA connector attached. Go to a root terminal and move
> sisusbvga.ko to /root:
> # mv /lib/modules/*/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko /root
>
> Power off the system, connect USBVGA, boot. It should boot
> successfully, but without any VGA output. Press ctrl+alt+f2 to get to
> a root terminal, and stop X/sugar with:
> # stop prefdm
>
> Now load the sisusbvga driver manually and see if it hangs:
> # insmod /root/sisusbvga.ko
>
> Wait a few seconds, see if the system is hung or if you can still type
> on the console.
>
> If you can still type, unload the module:
> # rmmod sisusbvga
>
> and now try loading/unloading a few more times with a few seconds
> pause between each step.
> # insmod /root/sisusbvga.ko
> ...
> # rmmod sisusbvga
> ...
> # insmod /root/sisusbvga.ko
> ...
> # rmmod sisusbvga
> ...
> etc
>
> The idea is to find out whether the system hang is caused by the
> loading of sisusbvga. It might not hang first time, may require a few
> attempts, hence the repeated loading.
>
> Thanks,
> Daniel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-19 Thread Daniel Drake
On 19 June 2011 13:14, Kevin Gordon  wrote:
> Since it seems to never work on any build, if you like, I can concentrate on
> just os23 on multiple XO 1.0 machines on multiple USB ports and see if there
> are any differences in where it halts, even if I've previously plugged it in
> after boot or not.  I've had it get to the 3rd dot before hanging on a
> couple of occasions, and I think that's the time I see the 'Starting Cronds'
> on the console .  So, if I have a more directed rather than shotgun plan,
> perhaps I can be more helpful.

That's interesting, thanks for the extensive testing.
On the ticket I suggested some next steps for debugging.
http://dev.laptop.org/ticket/10568

The 3rd one you can do without a serial console. "See if you can
reproduce it as follows: move the sisusbvga.ko file to somewhere where
modprobe can't find it, boot the system and stop X. Then run a loop at
the shell of insmod;rmmod, see if that makes it possible to reproduce
the hang quickly"

More specific instructions for this:

Boot without USBVGA connector attached. Go to a root terminal and move
sisusbvga.ko to /root:
# mv /lib/modules/*/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko /root

Power off the system, connect USBVGA, boot. It should boot
successfully, but without any VGA output. Press ctrl+alt+f2 to get to
a root terminal, and stop X/sugar with:
# stop prefdm

Now load the sisusbvga driver manually and see if it hangs:
# insmod /root/sisusbvga.ko

Wait a few seconds, see if the system is hung or if you can still type
on the console.

If you can still type, unload the module:
# rmmod sisusbvga

and now try loading/unloading a few more times with a few seconds
pause between each step.
# insmod /root/sisusbvga.ko
...
# rmmod sisusbvga
...
# insmod /root/sisusbvga.ko
...
# rmmod sisusbvga
...
etc

The idea is to find out whether the system hang is caused by the
loading of sisusbvga. It might not hang first time, may require a few
attempts, hence the repeated loading.

Thanks,
Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-19 Thread Kevin Gordon
Updates:

Both USB2VGA and USB2VGA2 work just fine on Build 23 on the 1.5's.

Neither work on any 11.2 build from os2 to os23 on the 1.0's. I have 5 XO
1.0s on the 'test bed', and installed all of the buildsto see if any
worked.  None of them come up, with an external monitor.  Doing the
'check-mark' boot shows they stop booting at various places, some with the
USB 8 buffers assigned (13.x) line mentioned in the ticket, some with a
Starting Cronds, some with a Setting Hostname line.  However, to repeat,
they never boot successfully, regardless of where it stops, with an adapter
plugged in to any port on any 1.0 machine with any 11.2.

(Must say I don't miss those multiple keychain prompts after first install
on the early builds)  :-)

Since it seems to never work on any build, if you like, I can concentrate on
just os23 on multiple XO 1.0 machines on multiple USB ports and see if there
are any differences in where it halts, even if I've previously plugged it in
after boot or not.  I've had it get to the 3rd dot before hanging on a
couple of occasions, and I think that's the time I see the 'Starting Cronds'
on the console .  So, if I have a more directed rather than shotgun plan,
perhaps I can be more helpful.

Just to be clear, i have verified that all 5 of these XO 1.0's work great
with these same external adapters using Build 860 from 10.10.1.3.

Cheers, KG





On Sat, Jun 18, 2011 at 8:47 AM, Daniel Drake  wrote:

> On 18 June 2011 13:39, Kevin Gordon  wrote:
> > First results, and I do apologize but I wont have any more time until
> > tomorrow to test further
> >
> > 3 different XO's:  USB2VGA and USB2VGA2 work first time everytime using
> > build 860.  Same 3 XO 1's, using os23 the external adapters work never.
> Not
> > intermittently, never.  The single dot is the one with the V not the one
> > with the X.  There was one weird thing, on one of the USB ports on one of
> > the XO's it got to the third dot then the animation switched to the
> console
> > and then the machine hung.  For fun, plugging in the adapter after a
> boot,
> > LSUSB output does show the device correctly attached to the USB2 hub.
> But
> > booting with the device attached to that port is still unsuccessful.  I
> have
> > *not* tried the XO 1.5's yet.
>
> In this case you should boot with the check game key to (hopefully)
> see more info at the point of hang.
> http://wiki.laptop.org/go/Cheat_codes
>
> Thanks,
> Daniel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-18 Thread Daniel Drake
On 18 June 2011 13:39, Kevin Gordon  wrote:
> First results, and I do apologize but I wont have any more time until
> tomorrow to test further
>
> 3 different XO's:  USB2VGA and USB2VGA2 work first time everytime using
> build 860.  Same 3 XO 1's, using os23 the external adapters work never.  Not
> intermittently, never.  The single dot is the one with the V not the one
> with the X.  There was one weird thing, on one of the USB ports on one of
> the XO's it got to the third dot then the animation switched to the console
> and then the machine hung.  For fun, plugging in the adapter after a boot,
> LSUSB output does show the device correctly attached to the USB2 hub.  But
> booting with the device attached to that port is still unsuccessful.  I have
> *not* tried the XO 1.5's yet.

In this case you should boot with the check game key to (hopefully)
see more info at the point of hang.
http://wiki.laptop.org/go/Cheat_codes

Thanks,
Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-18 Thread Kevin Gordon
First results, and I do apologize but I wont have any more time until
tomorrow to test further

3 different XO's:  USB2VGA and USB2VGA2 work first time everytime using
build 860.  Same 3 XO 1's, using os23 the external adapters work never.  Not
intermittently, never.  The single dot is the one with the V not the one
with the X.  There was one weird thing, on one of the USB ports on one of
the XO's it got to the third dot then the animation switched to the console
and then the machine hung.  For fun, plugging in the adapter after a boot,
LSUSB output does show the device correctly attached to the USB2 hub.  But
booting with the device attached to that port is still unsuccessful.  I have
*not* tried the XO 1.5's yet.

Also, maybe a false alarm on the LDUSB, it's kicking an error, but the
sensors still seem to work. Also, the external microscopes look like they
work too.  In both of those cases, one plugs in the device *after* boot
though.

I'll start working my way up the 11.2 builds to see if/when the External VGA
started or stopped working. But unfortunately, it will be tomorrow

Cheers

KG

On Sat, Jun 18, 2011 at 5:30 AM, Daniel Drake  wrote:

> On 18 June 2011 09:43, Kevin Gordon  wrote:
> > Cherry:
> >
> > I too am having troubles with both the USB2VGA and USB2VGA2 on build 23
> with the XO1.  I will work back in builds to see when it stopped working.
>  It looks like not only the sisusb, but the ldusb devices are unhappy with
> this kernel.  I will inform daniel and martin.  It stops loading with only
> one of the little progress dots on the animated start-up displaying.
>
> This might be http://dev.laptop.org/ticket/10568 (intermittent, not
> linked to any particular build).
>
> There are two frames of the boot animation where there is one dot in
> screen, and quite a difference between them. It would be useful to
> know if you are seeing (where . is the dot you refer to):
>
> o
> X
> .
>
> or
>
> o
> v
> .
>
> Thanks for testing!
>
> Daniel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-18 Thread Daniel Drake
On 18 June 2011 09:43, Kevin Gordon  wrote:
> Cherry:
>
> I too am having troubles with both the USB2VGA and USB2VGA2 on build 23 with 
> the XO1.  I will work back in builds to see when it stopped working.  It 
> looks like not only the sisusb, but the ldusb devices are unhappy with this 
> kernel.  I will inform daniel and martin.  It stops loading with only one of 
> the little progress dots on the animated start-up displaying.

This might be http://dev.laptop.org/ticket/10568 (intermittent, not
linked to any particular build).

There are two frames of the boot animation where there is one dot in
screen, and quite a difference between them. It would be useful to
know if you are seeing (where . is the dot you refer to):

o
X
.

or

o
v
.

Thanks for testing!

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Fwd: [support-gang] using usb2vga with 11.2.0 and 10.1.3

2011-06-18 Thread Kevin Gordon
Oops sent to wrong devel address before ...

- Forwarded message --
From: Kevin Gordon 
Date: Sat, Jun 18, 2011 at 4:43 AM
Subject: Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3
To: "Community Support Volunteers -- who help respond to \"help
ATlaptop.org\"" , Daniel Drake <
d...@laptop.org>, martin.langh...@gmail.com, devel-reque...@lists.laptop.org


Cherry:

I too am having troubles with both the 'supported' USB2VGA and USB2VGA2 on
build 23 with the XO1 even with a full, valid, complete install.

I will work back in builds to see when it stopped working.  It looks to me
like not only the sisusb, but also the ldusb devices, are unhappy with this
kernel.  I will inform daniel and martin.  On mine,  it stops loading with
only one of the little progress dots on the animated start-up displaying
either going to gnome or sugar.  This might officially be a 'regression
bug';, but, I'll probably neeed some input from D and M as to how to do a
non-animated boot so I can see any errors and then do an official report.
:-)

Also, unfortunately way back in the 11.2 builds, the usb utilities which
include the lsusb command are no longer shipped.  You have to install it
manually by going to terminal, doing the 'su' then doing 'yum install
usbutils'.  I had mentioned this before in the developer forum, it's really
small, and I'm not sure why it's not included anymore, but alas it is not.

Cheers

KG

Sent from my BlackBerry device via Gmail

-Original Message-
From: Cherry Withers 
Sender: support-gang-boun...@lists.laptop.org
Date: Sat, 18 Jun 2011 01:14:46
To: Community Support Volunteers -- who help respond to \"help
ATlaptop.org\"
Reply-To: "Community Support Volunteers -- who help respond to \"help AT
   laptop.org\"" 
Cc: Testing; Support Gangsters<
support-g...@laptop.org>
Subject: Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3

___
support-gang mailing list
support-g...@lists.laptop.org
http://lists.laptop.org/listinfo/support-gang
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel