Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
Unfixable bug: I'm an idiot, sometimes. I don't know if it's typical, but I often find that the USB port on the left side of the screen doesn't seem to work as nicely as the ones on the right. A fact that I forget, because I so rarely use the USB ports. As per Mr. Drake's request, the exact messages I saw before failure were (unless I made another stupid typo copying): Trying disk:\fs.zip Trying disk:\fs1.zip Trying ext:\fs.zip Trying ext:\fs1.zip Trying NANDblaster Boot device /dropin-fs:nb15_rx Arguments: ssid:OLPC-NANDblaster Scan for: OLPC-NANDblaster not found Can't open network ok which I hadn't tried to interpret the first time. I noticed "NANDblaster" and remembered reading something about the firmware fixing NANDblaster, and went on a wild goose chase the first time around. This time less, rushed than yesterday, and armed with suggestions from the list, I tried the same USB thumb drive on the one of the USB ports on the right, and voila: away it went on its reflashing. Next up, the XSCE, which looks pretty straightforward, given that I've done stuff with RPMs for many years. So, apologies and thanks to all. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
On Thu, Jul 18, 2013 at 05:15:37PM -0400, Kevin Cole wrote: > [...] > * I typed: > cd ~/Download/ > mv 32013o1.zd.zsp.fs1.zip fs1.zip > cp -v fs2 /media/usb/ > cp -v 32013o1.zd /media/usb/ > diff fs2 /media/usb/ > diff 32013o1.zd /media/usb/ > sudo shutdown -h now > > * I inserted the 1 GB USB thumb drive in the XO and pressed the > power button while holding the X key on the gamepad. Incorrect. The release notes describe holding down all four keys above the power button. I agree with Daniel that you might have sufficiently old firmware to require renaming the file from fs1.zip to fs.zip. That should be your next action. I didn't detect the existing firmware version in this thread, apologies if I missed it. > * I released the X when told it to do so. > * I received an error about NANDblaster. (Sorry, I don't have the > exact text of that message.) > > * I booted my Ubuntu laptop. > * I inserted the 1 GB USB thumb drive. > * I opened Chrome > * I went to http://wiki.laptop.org/go/Firmware > * I clicked on XO-1.5 > * I clicked on OLPC Firmware q3c16 > * I clicked on q3c16.rom which saved it to ~/Download/ > * I typed > mkdir /media/usb/boot > cp -v q3c16.rom /media/usb/boot Incorrect when used in combination with the X game key below. The page http://wiki.laptop.org/go/Upgrading_firmware describes placing the bootfw.zip file on the media, not the q3c16.rom file. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
On Thu, Jul 18, 2013 at 3:57 PM, Kevin Cole wrote: > Will go back and try it later this evening without the firmware and > developer key in place. > >> Another useful verification item: turn on the laptop, wait to hear the >> boot jingle, press escape. Connect USB disk. At the "ok" prompt type >> "dir u:\" >> This will check that the laptop can read the USB disk successfully. > > OK. If it appears that the USB disk can be read OK, try renaming fs1.zip to fs.zip It might be that the old firmware you are running does not recognise the new name. Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
P.S. It was suggested on IRC that I check the clock. So, I did, and fixed it using "date" and "hwclock". Upon power up it had the correct date and time. Also, I verified that the battery was at 100% and was plugged in while doing all this. On Thu, Jul 18, 2013 at 5:24 PM, Daniel Drake wrote: > On Thu, Jul 18, 2013 at 3:15 PM, Kevin Cole wrote: >> I thought I had given sufficient detail, but... > > Your original mail raised several questions which the additional > detail below answer perfectly clearly, thanks. > >> mv 32013o1.zd.zsp.fs1.zip fs1.zip >> cp -v fs2 /media/usb/ >> cp -v 32013o1.zd /media/usb/ >> diff fs2 /media/usb/ >> diff 32013o1.zd /media/usb/ >> sudo shutdown -h now > > What is the fs2 thing? Can you post "ls /media/usb" output for > double-checking? Slip of the fingers while retyping what I think I typed the first time. Sorry. An actual copy and paste from my Ubuntu box: $ ls -lR /media/usb /media/usb/: total 814880 -rw-r--r-- 1 kjcole kjcole 833068483 Jul 18 13:46 32013o1.zd drwx-- 2 kjcole kjcole 16384 Jul 18 13:48 boot -rw-r--r-- 1 kjcole kjcole 1314218 Jul 18 13:48 fs1.zip drwx-- 2 kjcole kjcole 16384 Jul 18 14:23 security /media/usb/boot: total 1024 -rw-r--r-- 1 kjcole kjcole 1048576 Jul 18 13:48 q3c16.rom /media/usb/security: total 16 -rw-r--r-- 1 kjcole kjcole 1260 Jul 18 14:23 develop.sig $ df -h /dev/sdd 1012M 797M 216M 79% /media/usb for i in `find /media/usb/ -type f` > do > md5sum $i > sha1sum $i > done d96caadcddc4ca0109d514b5ff02cdfe /media/usb/32013o1.zd f882851ea8e66fb0d47caf148b60fccceff1ae55 /media/usb/32013o1.zd 57d9c1d00b9735f31e95e529b8adb565 /media/usb/fs1.zip be3ed1e60850bd7c178299290c562bcd8d2ca75e /media/usb/fs1.zip 90c0aa8d6cceff52c85715f7791821dc /media/usb/boot/q3c16.rom d42c25d48129e8bb462506036646bf962d0c4deb /media/usb/boot/q3c16.rom e55c1b516f8dfde14dcebea89bd9afdd /media/usb/security/develop.sig bbc47e6bfa09a123d2969342750b2b67ff81d5bd /media/usb/security/develop.sig >> * I inserted the 1 GB USB thumb drive in the XO and pressed the >> power button while holding the X key on the gamepad. >> * I released the X when told it to do so. >> * I received an error about NANDblaster. (Sorry, I don't have the >> exact text of that message.) > > And if you can, post the output from the XO screen of the above. The > NANDblaster error is not interesting, but the previous lines are. Will go back and try it later this evening without the firmware and developer key in place. > Another useful verification item: turn on the laptop, wait to hear the > boot jingle, press escape. Connect USB disk. At the "ok" prompt type > "dir u:\" > This will check that the laptop can read the USB disk successfully. OK. >> * I booted my Ubuntu laptop. >> * I inserted the 1 GB USB thumb drive. >> * I opened Chrome >> * I went to http://wiki.laptop.org/go/Firmware >> * I clicked on XO-1.5 >> * I clicked on OLPC Firmware q3c16 >> * I clicked on q3c16.rom which saved it to ~/Download/ >> * I typed >> mkdir /media/usb/boot >> cp -v q3c16.rom /media/usb/boot >> diff q3c16.rom /media/usb/boot >> sudo shutdown -h now >> >> * I inserted the 1 GB USB thumb drive in the XO and pressed the >> power button while holding the X key on the gamepad. >> * I released the X when told it to do so. >> * After a few minutes, I saw three icons, and a message at the top >> of the screen "Activation lease not found". > > It's not clear to me why you are holding the X key here, are you > expecting that to upgrade the firmware from the rom file? > > It doesn't quite work like that. What the X does is make the laptop > boot in secure mode. Your laptop has security disabled (as you > mentioned: no wp tag) but by pressing X you are simulating > security-enabled. As designed, this then goes and looks for an > activation lease or developer key, and fails. (it wouldn't have > upgraded the firmware from the .rom even if you made it happy with the > appropriate lease/key) Ah. Thanks for the details. I was following the instructions at: http://wiki.laptop.org/go/Upgrading_firmware#Details:_Upgrading Details: Upgrading Once you have prepared the USB drive above, you must: * make sure the XO battery is in place and locked, * make sure the XO power cord and adapter are plugged in, the battery indicator must be on, * insert the USB drive into the XO, * hold down the X game key, and * turn on the XO. * Watch for a couple minutes. The upgrade process will begin, with several messages displayed, then the XO will automatically restart, once or twice. Wait for the XO to finish restarting, then: * remove the USB drive. * Test to confirm that the XO now works normally. > Anyway, no manual firmware upgrade should be necessary. Lets figure > out why the reflashing doesn't work. > > Thanks No, thank you! Especially for being patient. ___ Server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
Kevin, Is this a 2GB XO-1.5? We found it can't be upgraded beyond 883 without changing the internal memory card for a larger one. My 2 cents worth... David -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Daniel Drake Sent: Friday, 19 July 2013 8:25 a.m. To: Kevin Cole Cc: XS Devel Subject: Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found" On Thu, Jul 18, 2013 at 3:15 PM, Kevin Cole wrote: > I thought I had given sufficient detail, but... Your original mail raised several questions which the additional detail below answer perfectly clearly, thanks. > "On the first day of summer vacation, I went downtown to look for a > job and hung out in front of the drug store. On the the second day of > summer vacation, I went downtown to look for a job and hung out in > front of the drug store. On the third day of summer vacation, I went > downtown to look for a job and hung out in front of the drug store..." > -- Cheech & Chong (Sister Mary Elephant) > > * I booted my Ubuntu laptop. > * I inserted a 1 GB USB thumb drive. > * I opened Chrome > * I went to http://wiki.laptop.org/go/Release_notes > * I clicked on Release_notes/13.2.0 > * I clicked on 4.3 XO-1.5 > * I clicked on 32013o1.zd which saved it to ~/Download/ > * I clicked on 32013o1.zd.zsp.fs1.zip which saved it to ~/Download/ > * I opened a terminal window > * I typed: > cd ~/Download/ > mv 32013o1.zd.zsp.fs1.zip fs1.zip > cp -v fs2 /media/usb/ > cp -v 32013o1.zd /media/usb/ > diff fs2 /media/usb/ > diff 32013o1.zd /media/usb/ > sudo shutdown -h now What is the fs2 thing? Can you post "ls /media/usb" output for double-checking? > * I inserted the 1 GB USB thumb drive in the XO and pressed the > power button while holding the X key on the gamepad. > * I released the X when told it to do so. > * I received an error about NANDblaster. (Sorry, I don't have the > exact text of that message.) And if you can, post the output from the XO screen of the above. The NANDblaster error is not interesting, but the previous lines are. Another useful verification item: turn on the laptop, wait to hear the boot jingle, press escape. Connect USB disk. At the "ok" prompt type "dir u:\" This will check that the laptop can read the USB disk successfully. > * I booted my Ubuntu laptop. > * I inserted the 1 GB USB thumb drive. > * I opened Chrome > * I went to http://wiki.laptop.org/go/Firmware > * I clicked on XO-1.5 > * I clicked on OLPC Firmware q3c16 > * I clicked on q3c16.rom which saved it to ~/Download/ > * I typed > mkdir /media/usb/boot > cp -v q3c16.rom /media/usb/boot > diff q3c16.rom /media/usb/boot > sudo shutdown -h now > > * I inserted the 1 GB USB thumb drive in the XO and pressed the > power button while holding the X key on the gamepad. > * I released the X when told it to do so. > * After a few minutes, I saw three icons, and a message at the top > of the screen "Activation lease not found". It's not clear to me why you are holding the X key here, are you expecting that to upgrade the firmware from the rom file? It doesn't quite work like that. What the X does is make the laptop boot in secure mode. Your laptop has security disabled (as you mentioned: no wp tag) but by pressing X you are simulating security-enabled. As designed, this then goes and looks for an activation lease or developer key, and fails. (it wouldn't have upgraded the firmware from the .rom even if you made it happy with the appropriate lease/key) Anyway, no manual firmware upgrade should be necessary. Lets figure out why the reflashing doesn't work. Thanks Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
On Thu, Jul 18, 2013 at 3:15 PM, Kevin Cole wrote: > I thought I had given sufficient detail, but... Your original mail raised several questions which the additional detail below answer perfectly clearly, thanks. > "On the first day of summer vacation, I went downtown to look for a > job and hung out in front of the drug store. On the the second day of > summer vacation, I went downtown to look for a job and hung out in > front of the drug store. On the third day of summer vacation, I went > downtown to look for a job and hung out in front of the drug store..." > -- Cheech & Chong (Sister Mary Elephant) > > * I booted my Ubuntu laptop. > * I inserted a 1 GB USB thumb drive. > * I opened Chrome > * I went to http://wiki.laptop.org/go/Release_notes > * I clicked on Release_notes/13.2.0 > * I clicked on 4.3 XO-1.5 > * I clicked on 32013o1.zd which saved it to ~/Download/ > * I clicked on 32013o1.zd.zsp.fs1.zip which saved it to ~/Download/ > * I opened a terminal window > * I typed: > cd ~/Download/ > mv 32013o1.zd.zsp.fs1.zip fs1.zip > cp -v fs2 /media/usb/ > cp -v 32013o1.zd /media/usb/ > diff fs2 /media/usb/ > diff 32013o1.zd /media/usb/ > sudo shutdown -h now What is the fs2 thing? Can you post "ls /media/usb" output for double-checking? > * I inserted the 1 GB USB thumb drive in the XO and pressed the > power button while holding the X key on the gamepad. > * I released the X when told it to do so. > * I received an error about NANDblaster. (Sorry, I don't have the > exact text of that message.) And if you can, post the output from the XO screen of the above. The NANDblaster error is not interesting, but the previous lines are. Another useful verification item: turn on the laptop, wait to hear the boot jingle, press escape. Connect USB disk. At the "ok" prompt type "dir u:\" This will check that the laptop can read the USB disk successfully. > * I booted my Ubuntu laptop. > * I inserted the 1 GB USB thumb drive. > * I opened Chrome > * I went to http://wiki.laptop.org/go/Firmware > * I clicked on XO-1.5 > * I clicked on OLPC Firmware q3c16 > * I clicked on q3c16.rom which saved it to ~/Download/ > * I typed > mkdir /media/usb/boot > cp -v q3c16.rom /media/usb/boot > diff q3c16.rom /media/usb/boot > sudo shutdown -h now > > * I inserted the 1 GB USB thumb drive in the XO and pressed the > power button while holding the X key on the gamepad. > * I released the X when told it to do so. > * After a few minutes, I saw three icons, and a message at the top > of the screen "Activation lease not found". It's not clear to me why you are holding the X key here, are you expecting that to upgrade the firmware from the rom file? It doesn't quite work like that. What the X does is make the laptop boot in secure mode. Your laptop has security disabled (as you mentioned: no wp tag) but by pressing X you are simulating security-enabled. As designed, this then goes and looks for an activation lease or developer key, and fails. (it wouldn't have upgraded the firmware from the .rom even if you made it happy with the appropriate lease/key) Anyway, no manual firmware upgrade should be necessary. Lets figure out why the reflashing doesn't work. Thanks Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
> It would help if you could be more specific about exactly which steps > you are taking, and exactly you are seeing. I thought I had given sufficient detail, but... "On the first day of summer vacation, I went downtown to look for a job and hung out in front of the drug store. On the the second day of summer vacation, I went downtown to look for a job and hung out in front of the drug store. On the third day of summer vacation, I went downtown to look for a job and hung out in front of the drug store..." -- Cheech & Chong (Sister Mary Elephant) * I booted my Ubuntu laptop. * I inserted a 1 GB USB thumb drive. * I opened Chrome * I went to http://wiki.laptop.org/go/Release_notes * I clicked on Release_notes/13.2.0 * I clicked on 4.3 XO-1.5 * I clicked on 32013o1.zd which saved it to ~/Download/ * I clicked on 32013o1.zd.zsp.fs1.zip which saved it to ~/Download/ * I opened a terminal window * I typed: cd ~/Download/ mv 32013o1.zd.zsp.fs1.zip fs1.zip cp -v fs2 /media/usb/ cp -v 32013o1.zd /media/usb/ diff fs2 /media/usb/ diff 32013o1.zd /media/usb/ sudo shutdown -h now * I inserted the 1 GB USB thumb drive in the XO and pressed the power button while holding the X key on the gamepad. * I released the X when told it to do so. * I received an error about NANDblaster. (Sorry, I don't have the exact text of that message.) * I booted my Ubuntu laptop. * I inserted the 1 GB USB thumb drive. * I opened Chrome * I went to http://wiki.laptop.org/go/Firmware * I clicked on XO-1.5 * I clicked on OLPC Firmware q3c16 * I clicked on q3c16.rom which saved it to ~/Download/ * I typed mkdir /media/usb/boot cp -v q3c16.rom /media/usb/boot diff q3c16.rom /media/usb/boot sudo shutdown -h now * I inserted the 1 GB USB thumb drive in the XO and pressed the power button while holding the X key on the gamepad. * I released the X when told it to do so. * After a few minutes, I saw three icons, and a message at the top of the screen "Activation lease not found". * I looked under the battery and verified that it was an XO-1.5 (though I had no doubts). * I booted my Ubuntu laptop. * I found an old copy of my /security/developer.sig * I inserted the 1 GB USB thumb drive. * I typed mkdir /media/usb/security cp ~/XO/security/developer.sig /media/usb/security/ diff~/XO/security/developer.sig /media/usb/security/ shutdown -h now * I inserted the 1 GB USB thumb drive in the XO and pressed the power button while holding the X key on the gamepad. * I released the X when told it to do so. * After a few minutes, I saw three icons, and a message at the top of the screen "Activation lease not found". * I booted the XO into Sugar * I went to Settings * I copied the OS and firmware details. * I wrote to this list. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
On Thu, Jul 18, 2013 at 12:48 PM, Kevin Cole wrote: > I haven't done this in quite some time. I attempted to install the latest > OS release from a USB, but it complained about the NAND. So, I attempted to > upgrade the firmware from a USB, and it complained about the activation > lease. It would help if you could be more specific about exactly which steps you are taking, and exactly you are seeing. Thanks Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
P.S. "disable-security" yields "No wp tag". So that's not the issue. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
Starting with: Firmware: Q3B22 Wireless: 9.70.20.p0 OS: 11.3.0 (Build 883) Upgrading to: Firmware: Q3C16 OS: 13.2.0 ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
Kevin, Can you clarify what OS+exact firmware your XO-1.5 has, and what OS+exact firmware you're trying to get to? http://wiki.laptop.org/go/Releases http://wiki.laptop.org/go/How_to_check_the_OS_and_firmware_versions On Thu, Jul 18, 2013 at 2:48 PM, Kevin Cole wrote: > Hi, > > I haven't done this in quite some time. I attempted to install the latest > OS release from a USB, but it complained about the NAND. So, I attempted to > upgrade the firmware from a USB, and it complained about the activation > lease. So, remembering I had a /security/developer.sig hanging around from > long ago, I tried that. No joy. > > I could have sworn I've been through all of these steps on this XO with no > troubles before... > > I'm hoping to have it upgraded with the community edition of school server > by this evening. > > Would a new developer key help and if so, can I get one quickly? > > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Attempting to upgrade XO 1.5 firmware. Says "activation lease not found"
Hi, I haven't done this in quite some time. I attempted to install the latest OS release from a USB, but it complained about the NAND. So, I attempted to upgrade the firmware from a USB, and it complained about the activation lease. So, remembering I had a /security/developer.sig hanging around from long ago, I tried that. No joy. I could have sworn I've been through all of these steps on this XO with no troubles before... I'm hoping to have it upgraded with the community edition of school server by this evening. Would a new developer key help and if so, can I get one quickly? ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel