**** BEGIN LOGGING AT Thu Nov 04 02:59:57 2010 Nov 04 05:00:53 somebody ban that dude Nov 04 05:01:47 what dude? Nov 04 05:01:53 he is gone now Nov 04 05:02:16 interesting...he is IPv6...probably thats the problem. Nov 04 05:02:39 oh, something I don't see cause I have parts and join events turned off Nov 04 05:03:09 yeah, flooding the channel with that stuff Nov 04 05:03:10 yep...a full 3 pages of k[t has quit(Excessive Flood) Nov 04 05:03:18 * rwhitby never understood why anyone wants to see those Nov 04 05:03:42 it's not a matter of want, it's just how it is on IRC Nov 04 05:03:54 not on my IRC Nov 04 05:04:01 well, you're the exception Nov 04 05:04:04 there is it again Nov 04 05:04:06 ... Nov 04 05:04:12 no, I just turn those events off in the client Nov 04 05:04:30 makes for a much more enjoyable IRC experience :) Nov 04 05:04:33 * bhuey shakes his head Nov 04 05:04:40 My irc is not on speaking terms with me Nov 04 05:05:25 really somebody should ban that dude Nov 04 05:07:59 omg Nov 04 05:08:04 yeah, really now Nov 04 05:08:35 here's a good solution to the problem Nov 04 05:12:15 * halfhalo watches ka6sox-work try to contain the flood with sugary donuts Nov 04 05:14:40 rwhitby: ok, so things I think we need to hack up the 2.0 doctor... Nov 04 05:14:40 rwhitby: installer.xml points at boot-roadrunner.bin (as well as roadrunner modem updaters which is less important since we're skippign them). recoverytool.config mentions devicetype roadrunner, which we should patch because maybe the java code is looking at it and taking different code paths based on what the doctor says rather than the device. and then obviously there's the installer boot image which we'll need to replace with Nov 04 05:15:28 (well along with changing the xml to point at it I mean) Nov 04 05:16:26 ok, so an OVERRIDE_DEVICETYPE directive and CUSTOM_BOOTLOADER and CUSTOM_KERNEL and CUSTOM_INSTALLER_UIMAGE are needed Nov 04 05:17:01 ka6sox: is it not letting you ban an ipv6 address? Nov 04 05:17:12 yep..that seems to be the problem. Nov 04 05:17:25 seriously, just turn off parts and joins in your client Nov 04 05:17:55 heh, that'll work :) Nov 04 05:17:57 yay! Nov 04 05:18:09 * halfhalo waits for a nick change Nov 04 05:18:51 * k[t has now known as k[t_ Nov 04 05:19:13 rwhitby: by that you mean those four directives need to exist and haven't been written yet? Nov 04 05:19:19 I thought the ! would fix that. Nov 04 05:19:19 correct Nov 04 05:19:41 * destinal wishes he had more skill with make :) Nov 04 05:20:11 checking out the other ones you've implemented now Nov 04 05:20:28 destinal: bootloader will just point to a .bin file, kernel probably needs to point to an .ipk (can use that for pre-flashing overclocked kernels) and UIMAGE just points to a uImage file Nov 04 05:20:43 we can point it to the stock recovery kernel Nov 04 05:21:28 destinal: here's the deal - I'll do the make code if you do the doco Nov 04 05:22:12 rwhitby: sure, you have time now? Nov 04 05:22:22 maybe Nov 04 05:22:32 you can test as I do it too Nov 04 05:22:53 rwhitby: sounds like a plan Nov 04 05:26:45 ok, CUSTOM_DEVICETYPE = castle Nov 04 05:31:19 rwhitby: so something like: Nov 04 05:31:22 make CUSTOM_BOOTLOADER=~/dr/145/resources/webOS/nova-cust-image-castle.rootfs/boot/boot.bin CUSTOM_INSTALLER_UIMAGE=~/dr/145/resources/webOS/nova-installer-image-castle.uImage REMOVE_CARRIER_CHECK=1 REMOVE_MODEL_CHECK=1 REMOVE_DEVICETYPE_CHECK=1 DISABLE_MODEM_UPDATE=1 DISABLE_UPLOAD_DAEMON=1 BYPASS_FIRST_USE_APP=1 ENABLE_DEVELOPER_MODE=1 all-wr Nov 04 05:32:05 hmm the start got truncated Nov 04 05:32:06 sec Nov 04 05:33:24 destinal: REMOVE_DEVICETYPE_CHECK is replaced by CUSTOM_DEVICETYPE Nov 04 05:34:43 rwhitby: so maybe Nov 04 05:34:45 make VERSION=2.0.0 DEVICE=pre2 OVERRIDE_DEVICETYPE=castle CUSTOM_KERNEL=org.webosinternals.kernels.palm-kernel-pre_1.4.5-9_arm.ipk CUSTOM_BOOTLOADER=~/dr/145/resources/webOS/nova-cust-image-castle.rootfs/boot/boot.bin CUSTOM_INSTALLER_UIMAGE=~/dr/145/resources/webOS/nova-installer-image-castle.uImage REMOVE_CARRIER_CHECK=1 REMOVE_MODEL_CHECK=1 DISABLE_MODEM_UPDATE=1 DISABLE_UPLOAD_DAEMON=1 BYPASS_FIRST_USE_APP=1 ENABLE_DEVELOPER_MODE= Nov 04 05:36:03 or do you want to imply remove model check also? Nov 04 05:36:23 CUSTOM_DEVICETYPE Nov 04 05:36:43 REMOVE_MODEL_CHECK stays Nov 04 05:36:48 adding CUSTOM_BOOTLOADER now Nov 04 05:36:53 k Nov 04 05:42:31 CUSTOM_BOOTLOADER pushed (untested) Nov 04 05:43:46 wait, bug. Nov 04 05:44:28 tar: boot-roadrunner.bin: Not found in archive Nov 04 05:44:28 tar: Exiting with failure status due to previous errors Nov 04 05:45:23 fix pushed Nov 04 05:47:05 you should be able to test that on a device, knowing that it won't boot, but able to test the flashing and bootloader replacement Nov 04 05:47:33 ah, we need CUSTOM_INSTALLER done first Nov 04 05:50:14 ah.. yeah, we need Installer target="castle" and the ramdisk and bootfile in there Nov 04 05:50:53 bootfile? Nov 04 05:51:09 Nov 04 05:51:10 vs Nov 04 05:51:10 Nov 04 05:51:34 ah, installer.xml Nov 04 05:51:51 right Nov 04 05:52:09 and unfortunately I think we're going to have to rename a bunch of files to match the target name Nov 04 05:52:40 image value, "nova-cust-image" in this case, gets appended with castle or roadrunner Nov 04 05:52:56 to generate the filename nova-cust-image-castle.rootfs.tar.gz , doesn't it? Nov 04 05:54:16 still don't know whether we technically need to change target name but it seems likely Nov 04 05:56:36 CUSTOM_INSTALLER added, no filename changes yet Nov 04 06:00:13 that's for specifying the the uimage? Nov 04 06:00:56 yup, ok Nov 04 06:03:36 rwhitby: looks good so far, copying the right files and not exploding anyway Nov 04 06:08:13 rwhitby: my guess is we'll need to rename nova-installer-image-roadrunner.uImage nova-installer-image-castle.uImage for instance if it's also a generated name (it's not in the xml) Nov 04 06:08:30 yeah, doing that Nov 04 06:11:04 oh we'll need a CUSTOM_INSTALLER_IMAGE or CUSTOM_INSTALLER_RAMDISK , however you want to call it Nov 04 06:11:24 just CUSTOM_INSTALLER Nov 04 06:13:07 oh right nevermind, and to rename the rootfs, and maybe that's it for the target name Nov 04 06:15:18 besides a sed on the xml. I'm sure you're already on all this, just trying to see all the pieces fit.. Nov 04 06:18:20 interestingly the doctor's classes to refer to castle and roadrunner, but one each in two files. castle is in com/palm/nova/installer/core/IcssUtilities.class and roadrunner in com/palm/nova/installer/core/FlasherThread.class Nov 04 06:21:21 the former cust-castle and sprint-castle, just the customization packages Nov 04 06:21:52 ooh that's interesting in flasherthread Nov 04 06:21:54 String machineType = this.device.getDeviceInfo().getMachineName().toLowerCase(); Nov 04 06:21:54 if ((machineType.contentEquals("broadway")) || (machineType.contentEquals("windsor")) || (machineType.contentEquals("mantaray")) || (machineType.contentEquals("stingray")) || (machineType.contentEquals("roadrunner"))) { Nov 04 06:21:54 this.flasherLogger.logPrintln("temporarily not restoring logs for newer devices"); Nov 04 06:21:54 } Nov 04 06:22:31 broadway, windsor, mantaray, stingray, and roadrunner Nov 04 06:26:04 broadway, windsor, and mantaray get special mention in A6UpdateStage due to having an A6 Nov 04 06:26:04 if ((!machineType.contentEquals("broadway")) && (!machineType.contentEquals("windsor")) && (!machineType.contentEquals("mantaray"))) { reporter.commentOnJob(this.jobId, "Not updating A6 firmware: no A6 on the device"); Nov 04 06:28:24 testing before push Nov 04 06:28:32 is that like apple's A4 but two better? or something else.. Nov 04 06:28:39 heh Nov 04 06:29:04 rwhitby: has anyone heard of these codenames before? Nov 04 06:30:23 http://www.webosroundup.com/2010/10/webos-device-broadway-found-in-app-logs/ Nov 04 06:31:34 if you have an A6 you need /usr/bin/PmA6Updater to update it. whatever an A6 is.. Nov 04 06:32:36 destinal: pushed Makefile.new - it's too raw to push as Makefile Nov 04 06:33:08 k, pulling Nov 04 06:33:11 destinal: I need to run - any fixes, make them in Makefile.new and push back or email Nov 04 06:33:26 are we missing anything to try it? Nov 04 06:33:39 if so I can hack somehting and see what happens :) Nov 04 06:33:59 we're missing kernel, but the rest may work to flash it Nov 04 06:35:00 k Nov 04 06:36:24 A6 is an ARM Core type Nov 04 06:36:46 the OMAP is A8 Nov 04 06:36:53 and the 44Xx series is A9 Nov 04 06:37:30 make that OMAP 3430 is A8 Nov 04 06:37:59 ah, the N900 has an A6, right? Nov 04 06:38:26 kind of odd that they'd go that way for new devices though Nov 04 06:38:26 dunno..will look Nov 04 06:38:46 there are like 5 ARM devices in each phone Nov 04 06:39:01 so it could be a Modem or something processor. Nov 04 06:39:07 good point Nov 04 06:39:25 and I was wrong, N900 is A8 like pre Nov 04 06:39:56 the A8 is the first one that really was able to handle any sort of graphics correctly. Nov 04 06:40:04 (with co=processors) Nov 04 06:40:21 IIRC the N900 has a graphics co-processor. Nov 04 06:45:07 destinal: on bus Nov 04 06:46:45 destinal: the other option is we say CUSTOM_DEVICETYPE and point CUSTOM_DOCTOR to an unpacked doctor directory Nov 04 06:47:10 then we grab everything from that CUSTOM_DOCTOR_SOURCE directory Nov 04 06:47:56 rwhitby: that's not a bad idea, except the partition layout for one is different in 2.0 it seems with mojodb Nov 04 06:48:26 I wonder how they're going to manage the update if I'm right Nov 04 06:48:37 lvm resize I expect Nov 04 06:54:53 destinal: /usr/share/ota-scripts/post-update Nov 04 06:55:42 rwhitby: do you think this might do the trick for now? Nov 04 06:55:57 make -f Makefile.new VERSION=2.0.0 DEVICE=pre2 unpack Nov 04 06:55:57 rm -rf build/pre2-p103ueu-wr-2.0.0/rootfs/boot; cp -rp ~/dr/145/resources/webOS/nova-cust-image-castle.rootfs/boot build/pre2-p103ueu-wr-2.0.0/rootfs Nov 04 06:55:57 make -f Makefile.new VERSION=2.0.0 DEVICE=pre2 CUSTOM_DEVICETYPE=castle CUSTOM_BOOTLOADER=~/dr/145/resources/webOS/nova-cust-image-castle.rootfs/boot/boot.bin CUSTOM_INSTALLER=1 CUSTOM_INSTALLER_UIMAGE=~/dr/145/resources/webOS/nova-installer-image-castle.uImage REMOVE_CARRIER_CHECK=1 REMOVE_MODEL_CHECK=1 DISABLE_MODEM_UPDATE=1 DISABLE_UPLOAD_DAEMON=1 BYPASS_FIRST_USE_APP=1 ENABLE_DEVELOPER_MODE=1 patch pack Nov 04 06:56:26 destinal: you'll want /lib/modules too Nov 04 06:57:01 destinal: BTW, VERSION=2.0.0 is the default for DEVICE=pre2 Nov 04 06:57:38 destinal: CUSTOM_INSTALLER points to the uImage, there is no CUSTOM_INSTALLER_UIMAGE Nov 04 07:00:21 right, somehow I'd left something in from an earlier attempt Nov 04 07:04:43 rwhitby: ok, someone with nothing set up could do this: (provided they had extracted 145 doctor directory laid out like mine Nov 04 07:04:44 http://webos.pastebin.com/HfVzVA05 Nov 04 07:04:52 seems to be running Nov 04 07:06:03 and we have a doctor. let's see what it does Nov 04 07:06:45 destinal: I'll be able to test the doctor in about 30 mins too Nov 04 07:08:23 rwhitby: I'm doctoring PuffTheMagic's development pre from on the other side of the US over x11 tunnel :) Nov 04 07:08:36 if it works he should have an interesting surprise when he wakes up Nov 04 07:09:00 if not, you'll loose contact with it Nov 04 07:09:20 yup Nov 04 07:10:07 don't disconnect your phone Nov 04 07:10:12 don't worry, I can't :) Nov 04 07:12:19 failed Nov 04 07:12:20 http://webos.pastebin.com/4sRQwsDg Nov 04 07:12:35 Nov 4, 2010 3:05:00 AM com.palm.nova.installer.recoverytool.CardController handleFailCase INFO: exiting handleFailCase() java.io.FileNotFoundException: nova-installer-image-castle.uImage (No such file or directory) Nov 04 07:12:44 must have failed to copy it Nov 04 07:13:02 bbiab Nov 04 07:16:30 ah, typo, easy enough to fix Nov 04 07:21:02 rwhitby: nope, we never renamed nova-installer-image-roadrunner.uImage Nov 04 07:21:58 err and never copied the castle one either as they have different md5sum. odd. Nov 04 07:24:11 hiya Mercury Nov 04 07:27:05 destinal: diagnosis? Nov 04 07:28:05 rwhitby: I haven't yet understood how your CUSTOM_INSTALLER directive is working Nov 04 07:28:38 doesn't seem to be doing anything at this point Nov 04 07:29:33 destinal: mine got way past that point Nov 04 07:30:30 make CUSTOM_DEVICETYPE=castle CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_INSTALLER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/nova-installer-image-castle.uImage clobber-wr all-wr Nov 04 07:30:53 failed after ramdisk had loaded and it did the carrier check - I'll add those now Nov 04 07:32:21 I run it with: Nov 04 07:32:23 java -jar ./build/pre2-p103ueu-wr-2.0.0/webosdoctorp103ueu-wr-2.0.0.jar --auto Nov 04 07:33:03 right, cli mode would be sensible too. :) my problem was that the uImage wasn't getting integrated though it's there in the command line I used Nov 04 07:33:23 I'll try a simpler list of commands Nov 04 07:35:54 booted into installer Nov 04 07:36:27 INFO: DataPreCheckStage: no status updates within the 30sec window, closing stream and exiting stage!! Nov 04 07:36:27 are you using -f Makefile.new also? Nov 04 07:36:40 yep Nov 04 07:37:24 hmm, I wonder if they're using a much different installer image in 2.0, wonder what it's looking for on the stream Nov 04 07:37:40 can you novacom in manually? Nov 04 07:37:44 yep Nov 04 07:38:21 so I need to disable this data migration step Nov 04 07:38:23 k, good. let me see where that error comes from Nov 04 07:39:39 that phrase does not exist in 1.4.5 doctor Nov 04 07:39:44 but it does in 2.0 of course Nov 04 07:39:57 Binary file ./nova/installer/core/stages/DataPreCheckStage.class matches Nov 04 07:39:57 Binary file ./nova/installer/core/stages/DataRestoreStage.class matches Nov 04 07:39:57 Binary file ./nova/installer/core/stages/DataSaveStage.class matches Nov 04 07:41:12 ah, of course. the 2.0 installer uImage has some scripts in it which the 1.4.5 installer uImage does not Nov 04 07:41:13 it's looking for "pid is" Nov 04 07:41:31 like /usr/local/sbin/recovery/pre_check.sh Nov 04 07:42:04 that's going to be a general problem - mismatch between 2.0 doctor and 1.4.5 installer uImage Nov 04 07:42:07 yup it's usr/local/sbin/recovery/pre_check.sh" Nov 04 07:42:32 we may as well build a new installer image by taking the 2.0 one and swapping the 1.4.5 kernel into it Nov 04 07:44:51 /usr/local/sbin/recovery/pre_check.sh and /usr/local/sbin/recovery/cleanup_script.sh and /usr/local/sbin/recovery/data_save.sh and /usr/local/sbin/recovery/data_restore.sh -- looks like doctor can do a lot more than blow things away now Nov 04 07:46:07 but I have to work in the morning and before that, sleep. I have a feeling you'll have this pretty quickly though Nov 04 07:47:51 rwhitby: good night Nov 04 08:14:44 destinal-sleep: it's creating filesystems and untarring Nov 04 08:34:13 reflashing now with 1.4.5 kernel and 2.0 rootfs Nov 04 08:36:15 <[AD]Turbo> yo Nov 04 08:39:46 rebooting Nov 04 08:42:37 <0>Kernel panic - not syncing: No init found. Try passing init= option to kernel. Nov 04 08:44:13 are you using the 1.4.5 init or the 2.0 init? Nov 04 08:44:30 1.4.5 kernel, 2.0 rootfs Nov 04 08:44:46 which initramfs? Nov 04 08:45:16 this is real boot, but installer Nov 04 08:45:24 s/but/not/ Nov 04 08:45:24 rwhitby meant: this is real boot, not installer Nov 04 08:45:52 the initramfs has to match the kernel build. Nov 04 08:46:06 what are the bootie boot options? Nov 04 08:46:25 1.4.5 bootie Nov 04 08:46:38 which initramfs are you referring to? Nov 04 08:47:20 interesting...its saying it can't find /sbin/init I think...misread it. Nov 04 08:49:46 that's correct Nov 04 08:55:59 do the pre's use an initrd or initramfs? I left my USB cord at the girlies place otherwise I would check Nov 04 09:00:01 did they move the partitions around in the LVM? Nov 04 09:01:35 shouldn't matter. /boot is not in LVM, and /boot/sbin/init mounts by name Nov 04 09:03:57 rwhitby, what is keeping us from grabbing the source for the newest kernel available, applying the palm patches (modifying them where they need to be to get them to apply), and compiling it? Nov 04 09:07:19 I haven't seen anything in opensource.palm.com with 2.0 in it. Nov 04 09:10:14 correct Nov 04 09:21:08 http://forums.precentral.net/showthread.php?p=2744809 Nov 04 09:21:47 who is able to verify the procedure in that post for me ? Nov 04 14:40:31 rwhitby: nice work -- now I wonder what's going on with the kernel and init, hmm Nov 04 14:50:14 rwhitby: I definitely won't try it on PuffTheMagic's dev pre since I'd lose the ability to talk to it Nov 04 14:51:41 now if only I can find a victim device :) Nov 04 15:08:36 * halfhalo will try it on his pre later today Nov 04 15:08:56 Since this particular pre has not been non in months Nov 04 15:10:02 Hmmm, gotta find the tokens for it first though... Never flashed it to vzw after the Coms swap Nov 04 15:59:01 halfhalo: you could just use dd to back up a large chunk of the flash disk Nov 04 15:59:11 tokens are in nvram area at the beginning Nov 04 15:59:30 Well, it has the wrong tokens as it is Nov 04 15:59:52 that must be an interesting story.. Nov 04 16:00:09 Its a vzw pre - Nov 04 16:02:11 ah, does that require a com board swap or just putting a different MEID on it? Nov 04 16:02:26 I did a coms swap Nov 04 16:02:46 Since I wanted my sprint phone to be a pre plus Nov 04 16:03:02 ah Nov 04 16:04:07 I want to do the same thing, either pre+ or better yet pre2 -> sprint Nov 04 16:04:40 which will leave me with a dev pre with a UMTS board in it I imagine Nov 04 18:56:10 Hi everyone Nov 04 18:57:00 just a question, building the FrankenDoctor, right now it won't boot, it won't install and it won't work at all, leaving my Pre in a state in which I'll would have to use another Doctor to restore it, am I right? :) Nov 04 19:02:51 lol Nov 04 19:02:59 that's what it looks like to me Nov 04 19:05:28 Yeah, thought so also. I'll have to wait just a bit longer, I don't have a spare Pre to test :( Nov 04 20:01:09 rwhitby: ping Nov 04 20:02:57 Loudergood: fyi, I know you didn't ask but Nutty is gone. The frankendoctor may render your hardware an actual brick, so anyone not possessing a spare pre and willing to do arcane things to try to fix it if it's even fixable should not attempt Nov 04 20:03:09 ok, not an actual brick, but actually brick it :) Nov 04 20:03:21 * halfhalo wants a brick Nov 04 20:03:48 what's a frankendoctor Nov 04 20:03:55 http://forums.precentral.net/webos-internals/267880-frankendoctor-1-4-5-2-0-0-a.html Nov 04 20:04:03 haha yes, I figured as much Nov 04 20:04:15 egaudet_work: a 2.0 doctor for roadrunner hacked to flash castle Nov 04 20:04:31 I happened to stumble on the twitter post about 30 seconds after it was up last night so I looked at it then Nov 04 20:05:30 destinal: is this an attempt to get a webOS 2.0 metadoctor ? Nov 04 20:06:09 egaudet_work: yup. I think we're pretty close with all the work rod put into metadoctor last night Nov 04 20:06:19 you know they couldn't resist trying that Nov 04 20:07:11 why not just rip the userland and castle.xml out and put in regular doctor if there are brickable parts this way? Nov 04 20:08:32 egaudet_work: that's not a bad idea but there were some changes to how 2.0 is set up and changes to both client (doctor) and server (pre installer image) sides to make it work. Nov 04 20:09:18 more than just the xml descriptors, though those are significantly different too (different partitions etc) Nov 04 20:10:20 What would the doctor be doing new that was absolutely needed aside from the .xml partitioning and userland Nov 04 20:10:43 I mean 'needed' for old hardware Nov 04 20:11:14 needed for laying out the system for 2.0 not necessarily for new hardware. Nov 04 20:11:23 from what I gathered it was more of a kernel issue? Nov 04 20:11:25 are you talking what is needed to get the image running on older hardware? thats what I also asked myself while extracting the image.... Nov 04 20:11:25 and tbh I'm not sure, it may work Nov 04 20:11:56 Can the new image even run on old hardware? Nov 04 20:12:12 Hopefully I'll be able to get a stable internet connection going tonight Nov 04 20:12:14 egaudet_work: userland should Nov 04 20:12:26 yeah userland not kernel Nov 04 20:12:38 egaudet_work: with the pre's kernel I don't see why it shouldn't Nov 04 20:13:36 is the userland still packed up as nova-cust-castle- etc.. Nov 04 20:16:29 destinal: is the kernel panic in that post still the current issue? Nov 04 20:16:31 stupid question maybe but they didn't build any of the userspace binaries targeting the new processor? Nov 04 20:18:40 anyone get more debugging information on that init failure? does it not *find* the file or does it fail when executing? Nov 04 20:27:48 egaudet_work: I never got as far as a kernel panic. rwhitby did but nobody else can even get the installer to boot since it doesn't appear to be storing with the right filename. with work today I haven't had a chance to do any more than reproduce the same issue they're having and post it to the forum thread Nov 04 20:28:21 bsm: yup that's what we're working on, think we're fairly close but it's slightly tricky Nov 04 20:28:32 So what are the "brick" worries ? Nov 04 20:29:04 egaudet_work: I think he's mainly trying to scare people off. it could theoretically flash something without a check with the wrong flash or something Nov 04 20:29:25 ok just checking if there was already a brick case Nov 04 20:29:32 since we don't know much about 2.0 or the new hardware to know if differences. no cases that I've heard of Nov 04 20:31:50 destinal, which thread are you referring to? its not the "Pre 2 webOS Doctor available - what can we learn from it?", is it? Nov 04 20:32:08 bsm: http://forums.precentral.net/webos-internals/267880-frankendoctor-1-4-5-2-0-0-a.html Nov 04 20:32:41 destinal thx Nov 04 21:14:27 egaudet_work: i won't brick anything, just make it unbootable. Nov 04 21:24:06 rwhitby: morning Nov 04 21:25:21 rwhitby: I haven't had time to investigate it but do you know why everyone else but yet is not having CUSTOM_INSTALLER work properly? Nov 04 21:25:29 s/yet/you/ Nov 04 21:25:31 destinal meant: rwhitby: I haven't had time to investigate it but do you know why everyone else but you is not having CUSTOM_INSTALLER work properly? Nov 04 21:26:27 we're all left with a doctor with a roadrunner named uimage and none with acastle name Nov 04 21:29:19 destinal: yeah, dunno. Maybe it's a sed thing. I'll test on Ubuntu today (been doing it so far on MacOSX) Nov 04 21:29:44 can you check the resulting installer.xml and see if it correct? Nov 04 21:32:47 rwhitby: Nov 04 21:33:01 so that looks correct Nov 04 21:33:25 I don't have a nova-installer-image-castle.uImage in there though Nov 04 21:33:29 in the directory Nov 04 21:49:43 rwhitby: you said "I've confirmed that /dev/mmcblk0p2 is being mounted and that /sbin/init exists on that partition." what about an init symlink in / ? Nov 04 21:52:30 destinal: do you see the lines where the Makefile moves that in? Nov 04 21:53:06 linuxjacques: I'll check later Nov 04 21:53:30 linuxjacques: I'm also wondering whether the toolchain change has any impact Nov 04 21:53:55 what's the toolchain change? Nov 04 21:54:23 I noticed in the OE control files on the rootfs that the toolchain has changed. Nov 04 21:54:25 tho, kernel build toolchain and userspace build toolchain are orthogonal Nov 04 21:54:31 looks like they've updated to cs09q1 Nov 04 21:54:47 yeah, they should be orthogonal Nov 04 21:54:52 as long as you build kernel and modules with same toolchain, you;re OK :-) Nov 04 21:55:10 if you don't, you can get all sorts of hard to debug problems Nov 04 21:55:21 yeah, we're copying in kernel and /lib/modules from the 1.4.5 doctor Nov 04 21:56:11 the init thing is curious because on my buildroot-built embedded images I need that symlink, but my desktops don't have it Nov 04 21:56:47 linuxjacques: I'm going to compare the 1.4.5 boot partition and the 2.0 boot partition later today. Nov 04 21:57:02 cool, that should be quite interesting Nov 04 21:57:02 i believe it's still in the boot partition at that point and has not done the pivot_root yet Nov 04 21:57:25 * rwhitby bbiab Nov 04 21:57:25 yeah I think so Nov 04 21:58:24 Tman, ping? Nov 04 22:01:04 rwhitby: back Nov 04 22:01:14 oh heh Nov 04 22:02:11 ain't that always the way? :-) Nov 04 22:03:57 400 Carleton Avenue Nov 04 22:04:03 whoops, mis-paste Nov 04 22:05:51 destinal: back for 10 Nov 04 22:06:01 infobot: launch ICMBs Nov 04 22:06:02 * infobot straps ICMBs to an ACME rocket, lights the fuse and ducks behind a rock Nov 04 22:11:35 make CUSTOM_DEVICETYPE=castle CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_INSTALLER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/nova-installer-image-castle.uImage CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs clobber-wr all-wr Nov 04 22:11:40 destinal: that's what I'm using now Nov 04 22:13:04 rwhitby: I'll try it Nov 04 22:15:03 rwhitby: doing now, only difference is I had to make -f Makefile.new DEVICE=pre2 at start of that line Nov 04 22:15:25 right. I have them in my local copy Nov 04 22:16:23 heh, actually my "ifeq (${LOGNAME},rwhitby)" bit does that :) Nov 04 22:16:48 destinal: pushed a better kernel copy (uses tar now) Nov 04 22:16:57 rwhitby: it's cp /srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/nova-installer-image-castle.uImage build/pre2-p103ueu-wr-2.0.0/webOS/./nova-installer-image-roadrunner.uImage Nov 04 22:16:57 why does it want to do that? Nov 04 22:17:19 the doctor is lookihng for a nova-installer-image-castle.uImage Nov 04 22:17:36 cp /srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/nova-installer-image-castle.uImage build/pre2-p103ueu-wr-2.0.0/webOS/nova-installer-image-castle.uImage Nov 04 22:17:50 try putting DEVICE=pre2 inside the Makefile.new Nov 04 22:18:03 maybe there's a var override difference Nov 04 22:18:24 * rwhitby bbiab 20 min Nov 04 22:19:12 hi all Nov 04 22:20:44 can anyone direct me to the link to get preware on my pc? Nov 04 22:21:06 Preware is not a PC app, it is for your phone. install.preware.org Nov 04 22:21:09 sorry noob question,I had it before I reinstalled my pc os Nov 04 22:21:40 preware is a webos app though, you definitely didn't have it installed on your PC, are you thinking of Quick Install? Nov 04 22:21:52 cryptk you do have to install it from your pc tho and the themes are done from your pc i think Nov 04 22:22:05 yeah quick install Nov 04 22:22:06 the themes can be isntalled from within preware Nov 04 22:22:20 really I havent found themes on mine Nov 04 22:22:37 it has themes in it but that appears to be keyboard themes Nov 04 22:22:41 they are disabled by default, go into the preware prefrences and enable the theme feeds Nov 04 22:22:51 awesome thanks Nov 04 22:23:07 preware is that thing with that feature that does that other thing, right? Nov 04 22:23:13 haha Nov 04 22:23:28 wait, thinking of my calculator Nov 04 22:23:32 I got my phone with all the preware on it gonna do my mothers in a little bit Nov 04 22:23:58 half are you maing fun of me ? Nov 04 22:24:09 no, making fun of preware Nov 04 22:24:10 lol its ok I do it often myself Nov 04 22:24:38 I have the cheapest web os phone the pixi Nov 04 22:24:48 I am ashamed to admit it here lol Nov 04 22:24:54 why? lol Nov 04 22:24:54 a sprint one at that Nov 04 22:24:57 I love my Pixi Nov 04 22:25:12 I love mine too but its low man on the totem pole Nov 04 22:25:15 the best thing I can say is... ~"haters gonna hate"~ Nov 04 22:25:40 Slap Preware on there, install Govnah, Warthog Pixi, and sail along at 787mhz. :p Nov 04 22:26:17 sinot I havent gotten that far Nov 04 22:26:38 I seen somewhere the pixi couldnt do over 600mhz tho Nov 04 22:26:56 DJNomad, mine runs @ 907mhz. Nov 04 22:26:59 it couldn't... but then Android handsets started using the same chipset Nov 04 22:27:06 so overclocking has become a reality Nov 04 22:27:08 I got govnah ..havwe no clue what warthog pixi is Nov 04 22:27:15 mine wasn't stable at 907mhz, ka6sox-work :( Nov 04 22:27:53 SineOt, bummers Nov 04 22:28:00 can anyone help me with preware prefs? Nov 04 22:28:03 mine runs at NaN Nov 04 22:28:24 I am going through it and "main scene" is set to "no" Nov 04 22:28:27 yeah, would trip into a full restart when it tried to hit 907... but 787 runs fine so far Nov 04 22:29:55 this "warthog pixi" is avail from preware on phone? Nov 04 22:30:06 DJNomad: that's what I have set too. You shouldn't need to touch the preferences much Nov 04 22:30:07 yes it is Nov 04 22:30:49 what category? Nov 04 22:30:56 SineOt, one pixi I have won't go above 800mhz but the other does 907mhz Nov 04 22:31:09 I should back it down for stability. Nov 04 22:31:55 DJNomad: you need to add the feed, first. Nov 04 22:32:21 I dont want to bother anyone but if someone has the time I would appreciate it Nov 04 22:32:26 name: webos-kernels-testing, url http://ipkg.preware.org/feeds/webos-kernels/testing/1.4.5/ Nov 04 22:32:45 only thing I have for trade would be secrets to the facebook game kingdoms of camelot lol Nov 04 22:33:19 sineot ,where do I go to add a feed ? Nov 04 22:33:30 under the Preware menu, "Manage Feeds" Nov 04 22:34:24 kk thx,I will have to manually add it ? Nov 04 22:35:00 and the "is compressed" would that be a yes or a no ? Nov 04 22:36:00 Hi! Im writting in search of anybody that please can help me with Quick Install installation. The problem, is that after getting done all the requirements (updating java, enabling devMode, etc), when i open quick install .jar file nothing happens. What should i do? does anybody knows? Nov 04 22:37:17 leave that yes, DJNomad Nov 04 22:37:23 the .jar file should open a program and run it Nov 04 22:37:36 Pablo_: WebOS Quick Install isn't supported by webos-internals... :p Nov 04 22:38:19 and do you know where to find support? Nov 04 22:38:28 Pablo_: but often we'll help where the answer is easy Nov 04 22:38:35 Pablo_: what host OS? Nov 04 22:38:47 win7 Nov 04 22:38:50 SineOt: I know I shouldnt have to ask this but what should I name the feed? Nov 04 22:39:15 Pablo_: ok, if you were following the instructions in the Preware Homebrew Documentation app in the app catalog, there is a link for win7 problems Nov 04 22:39:17 the problem is that the quick install does not run any program Nov 04 22:39:17 webos-kernels-testing is what I named mine Nov 04 22:39:24 I could never get it to find my phone using windows,I had to use linux to do it Nov 04 22:39:43 Pablo_: it points to a specific win7 thread on precentral Nov 04 22:40:12 rwhitby: shame you don't primarily use ubuntu any more. I tried changing your "rwhitby" section to my login name and for some reason it doesn't set the defaults right. could OSX's make be weird? Nov 04 22:40:18 Pablo_: it also has the support link for WOSQI Nov 04 22:41:22 destinal: it's a possibility. Most OSX/Xcode stuff uses LLVM now, so I don't know if they're even keeping GCC up to date any more, but who knows~ Nov 04 22:41:28 destinal: I just tried on Ubuntu and it worked, after changing the pre2 to pre in my login section Nov 04 22:42:06 +rwhitby: and what is really suppsed to do quickinstall? Nov 04 22:42:07 I'll try it again on Ubuntu with that section removed from the Makefile Nov 04 22:42:08 rwhitby: to pre? but version to 2.0.0 then? Nov 04 22:42:17 yes Nov 04 22:42:31 that's done by DEVICE=pre2 Nov 04 22:42:58 Pablo_: WOSQI is a java program Nov 04 22:43:44 I get: Nov 04 22:43:44 make[1]: Entering directory `/srv/tools/meta-doctor' Nov 04 22:43:44 rm -rf build/undefined--wr- Nov 04 22:44:25 so your rwhitby section isn't triggering for my login, even if I take out your ifeq. no idea what's up, make hates me :( Nov 04 22:45:09 destinal: what's your command line ? Nov 04 22:45:42 DJNomad: any luck? Nov 04 22:45:43 oops, spoke too soon, was a problem with my VERSION line Nov 04 22:46:00 destinal: you shouldn't need to change VERSION at all Nov 04 22:46:04 make hates everyone other than rwhitby Nov 04 22:46:33 make is not on speaking terms with me ever since i started seeing rake Nov 04 22:46:40 rwhitby: if you change it off pre2 to pre how is it going to know to use the 2.0 doctor as a base? Nov 04 22:46:49 * destinal is confused Nov 04 22:46:53 destinal: DEVICE=pre2 on the command line Nov 04 22:46:53 SineOt: I believe I got it added,sidetracked myself installing quickinstall on pc lol Nov 04 22:47:21 rwhitby: oh, I thought you said earlier you were changing to using pre instead, maybe I was not in the right context Nov 04 22:47:35 SineOt: what category would warthog be in ? Nov 04 22:48:04 if you go to the option in Preware of "list of everything," you can just type "warthog" and it'll find it for you Nov 04 22:48:10 destinal: I changed pre2 to pre in my LOGNAME section Nov 04 22:48:22 SineOt: you can also type it in the main screen Nov 04 22:48:45 rwhitby: hooooooooooooooooooly smokes you can wow Nov 04 22:48:48 destinal: what's the command line you're using with an unmodified Makefile.new ? Nov 04 22:48:59 SineOt: "Just Type" Nov 04 22:49:43 k thanks Nov 04 22:50:07 said feeds had changed and I have to reload so I assume I got that part right lol Nov 04 22:50:37 destinal: ah, I think I know why Nov 04 22:51:05 I might have to run linux from live cd to do the quick install casue I reinstalled windows only on my pc the other day Nov 04 22:52:13 kk I have the uberkernal installed,installiung the warthog without taking the uber off seems like it could be a mistake Nov 04 22:52:14 destinal: pull and try now with Makefile Nov 04 22:52:56 rwhitby: k, pulled and running Nov 04 22:52:57 Makefile.new no longer exists now, I merged it back after testing some more Nov 04 22:53:33 mv: `build/pre-p100ueu-wr-1.4.5/webOS/nova-cust-image-castle.rootfs.tar.gz' and `build/pre-p100ueu-wr-1.4.5/webOS/nova-cust-image-castle.rootfs.tar.gz' are the same file Nov 04 22:53:33 make[1]: *** [build/pre-p100ueu-wr-1.4.5/.unpacked] Error 1 Nov 04 22:54:18 (after mv build/pre-p100ueu-wr-1.4.5/webOS/nova-cust-image-castle.rootfs.tar.gz build/pre-p100ueu-wr-1.4.5/webOS/nova-cust-image-castle.rootfs.tar.gz ) Nov 04 22:54:20 DJNomad: Preware should handle it all fine Nov 04 22:54:46 SineOt: thanks,I already uninstalled it tho Nov 04 22:54:55 I tend to agree with its statement :) Nov 04 22:55:45 ah, oops, that was with DEVICE=pre, no wonder. sec Nov 04 22:56:21 that's my awesome end user error checking ;) Nov 04 22:56:54 rwhitby: trying again with -- make DEVICE=pre2 CUSTOM_DEVICETYPE=castle CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_INSTALLER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/nova-installer-image-castle.uImage CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs clobber-wr all-wr Nov 04 22:57:13 that should do it Nov 04 22:57:32 destinal: which JDK do you have installed, BTW? Nov 04 22:57:50 rwhitby: it was pre2 earlier when it was failing, then you confused me Nov 04 22:58:09 rwhitby: Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Nov 04 22:58:31 destinal: sun or open jdk ? Nov 04 22:58:34 rwhitby: sun Nov 04 22:58:51 rwhitby: due to past experience don't really trust anything else Nov 04 22:59:34 right Nov 04 22:59:45 ooh, I need curl it seems, sec Nov 04 22:59:53 newish VM Nov 04 22:59:56 although I guess it's oracle now :) Nov 04 23:00:17 rwhitby: and thus begins the death of all Sun's creations Nov 04 23:00:19 destinal: I think what was happening was the internal call to make wasn't picking up the Makefile.new Nov 04 23:00:28 and using the old Makefile instead Nov 04 23:00:53 using ${MAKE} is supposed to pass that through Nov 04 23:01:57 rwhitby: we're doing neat stuff with the flasher class I see? kewl Nov 04 23:02:08 yeah ;) Nov 04 23:03:00 we need to find an open source java class decompiler to use though. jode doesn't handle latest class file formats Nov 04 23:03:12 aha and also I'm getting a castle uimage appended Nov 04 23:03:17 very key, that Nov 04 23:03:36 done packing, yay Nov 04 23:04:30 destinal: there is some stuff (like "sideloading") in the doctor FlasherClass which is not exposed through the UI Nov 04 23:04:47 I suspect they have a different front-end that uses the same classes for internal use at Palm Nov 04 23:05:15 there's references to "NDI" in the doctor, which I assume is "New Device Installer" Nov 04 23:05:34 rwhitby: so did you patch the flasher to do things the old way, then? not look for scripts that aren't out there? Nov 04 23:06:16 look at patches/doctor/.... Nov 04 23:06:37 is there any palm centro users in the room? Nov 04 23:06:40 disabled stuff to do with upgrading Nov 04 23:06:44 oh nice Nov 04 23:07:07 yes, I see now Nov 04 23:07:07 my mother had a centro and moved to a pixi and I am trying to figure out how to get her contacts off the centro Nov 04 23:07:17 ok let me see if I can't break this thing now Nov 04 23:07:22 * rwhitby bbiab 10 mins Nov 04 23:07:29 rwhitby: I got access to a spare pre Nov 04 23:07:41 at least for a while Nov 04 23:07:58 "spare" lol nice Nov 04 23:08:37 DJNomad: maybe treocentral forums Nov 04 23:08:47 roadrunnercdma_fw.tar with a size of 0? why even include it o_o; Nov 04 23:08:53 kk thanks Nov 04 23:09:17 I found somewhere I could do it with usb cable but she has lost it somehow lol Nov 04 23:09:34 what kind of USB port is it? mini? Nov 04 23:10:09 im ot certain,the charging port is diff so I asssumed the usb was diff,I should check it out Nov 04 23:10:44 I do have mini and micro usb cables so maybe one of them will work Nov 04 23:11:04 I also have a bluetooth pc dongle Nov 04 23:12:09 rwhitby: awesome, loaded ramdisk Nov 04 23:12:57 anyone up to guiding me in govnah to overclocking my pixi to something not to extreme? Nov 04 23:13:22 making filesystems Nov 04 23:13:32 sure! first thing I'd do is... Enable Compcache Nov 04 23:13:56 that is done top left? Nov 04 23:14:14 Within Govnah, tap "Profile" Nov 04 23:14:21 then "Advanced Settings" Nov 04 23:14:37 k Nov 04 23:15:01 rwhitby: sometimes I think we should just create our own open installation tool that consumes doctor resources rather than bothering to patch and use doctor itself Nov 04 23:15:02 cpu freq...compressed swap etc on screen now Nov 04 23:15:26 Under Compressed Swap, I like having it set to enable, and 24mb Nov 04 23:16:10 1 compache enabled? 98304 compache mem limit Nov 04 23:16:14 The Pixi has 256mb of memory, but only about 192mb is available to the end user (I think) Nov 04 23:16:25 DJNomad: did you turn on "advanced" in the Govnah settings? :P Nov 04 23:16:34 Trenchcoat: 50% complete Nov 04 23:16:49 er, "Manual Entry" Nov 04 23:17:10 its on "manual entry" Nov 04 23:17:16 Turn that off. :p Nov 04 23:17:21 dashboard is off Nov 04 23:17:27 I should change the note under Manual Entry from "Experienced Users only" to "Total Newbies only", so that people don't go and change it. Nov 04 23:17:41 rwhitby: lol Nov 04 23:17:42 lol rw Nov 04 23:17:52 cause it seems that changing it is the first thing people do, when they are *definitely* not experienced. Nov 04 23:18:12 I change things till it stops working lol Nov 04 23:18:34 hasnt stopped yet and I have had it nearly a month lol Nov 04 23:18:51 rwhitby: dumb question, but poking around the 2.0 doctor... The root file system that gets flashed to the device is within nova-cust-image-roadrunner.rootfs.tar.gz correct? Nov 04 23:19:05 yes Nov 04 23:19:26 rwhitby: ok, done with trenchcoat-based flashing :P Nov 04 23:19:26 I saw people had been poking the default apps, but /media/ is empty! Where does that get mapped to? Nov 04 23:19:50 media is a different partition, and is empty in the doctor Nov 04 23:20:01 where does it live then? Nov 04 23:20:10 oh hurf Nov 04 23:20:16 it lives in /usr/ doesn't it Nov 04 23:21:16 compache enabled should be 24 and not 1 SineOt ? Nov 04 23:21:26 I personally use 24 Nov 04 23:21:36 rwhitby: ok, my spare pre is now a member of the infinite reboot cycle club. now I can get to debugging :) Nov 04 23:22:19 kk what about the mem limit? 98304 now Nov 04 23:23:22 btw SineOt ,I appreciate very much you taking the time to mess with me Nov 04 23:24:07 my cousin has a iphone and this will help me make him look like he wasted a lot of money on junk lol Nov 04 23:24:09 that should be 24 Nov 04 23:24:18 but be sure to turn off the manual entry Nov 04 23:24:33 or overclocking will be a pain in the ass and you will hate yourself (and most everyone else will hate you too :p ) Nov 04 23:25:01 compache enabled should be 1 and the memlimit should be 24? Nov 04 23:25:15 yes Nov 04 23:25:26 did you turn off manual entry? Nov 04 23:25:31 I'm not going to help if you didn't :T Nov 04 23:25:53 I will do as you say,where is manual entry? Nov 04 23:26:01 you turned it on! lol Nov 04 23:26:08 it's in the Govnah preferences at the bottom Nov 04 23:26:13 found Nov 04 23:26:28 manual entry is yes,I need to make it "n" Nov 04 23:26:32 "no" Nov 04 23:26:32 right Nov 04 23:26:38 done Nov 04 23:26:46 now go to profile Nov 04 23:27:00 advanced settings Nov 04 23:27:07 yes, yes Nov 04 23:27:18 Compcache: True, Memlimit: 24MB Nov 04 23:27:47 mine is at 96mb Nov 04 23:27:51 rwhitby: hmm, you know of any way to keep a USB device mapped into a VM even across unplug / replug Nov 04 23:27:57 set it at 24MB Nov 04 23:27:58 24 is lower and would seem to be worse Nov 04 23:27:58 (Vmware workstation) Nov 04 23:28:04 DJNomad: larger is not better Nov 04 23:28:04 I will set to 24 tho Nov 04 23:28:13 thats not what she said Nov 04 23:28:17 hehe jk Nov 04 23:28:18 I don't use compcache Nov 04 23:28:21 sorry all Nov 04 23:28:29 what compcache does is compresses part of the memory space. What you get is more "useable" space at the cost of speed Nov 04 23:28:59 So having a smaller setting, like 16 or 24, leaves you a lot of fast memory, with more "useable" but slower as a backup if it starts filling up Nov 04 23:29:01 its not letting me change compache mem limit Nov 04 23:29:05 alright I should have "stable" internet now, time for bip Nov 04 23:29:14 basically its swapfile space Nov 04 23:29:35 rwhitby: hmm with vendor ID and product ID it can be done: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1648 Nov 04 23:29:58 destinal: I always flash from MacOSX anyway Nov 04 23:30:16 I have /srv nfs mounted from Mac into VM Nov 04 23:30:19 anyone know the VID/PID for omap3430? Nov 04 23:30:38 thats odd it wont let me change memlimit Nov 04 23:31:26 I don't have a spare linux box to ask at the moment and windows sucks for catching ID info fast like this Nov 04 23:31:36 yeah, I'd say try relaunching Govnah Nov 04 23:31:40 if that doesn't fix it, reboot Nov 04 23:31:44 no Nov 04 23:31:55 memlimit can only be changed when compcache is disabled Nov 04 23:32:17 so just disable it, and then enable with a changed limit. don't forget to apply settings. Nov 04 23:32:18 really? Nov 04 23:32:23 rwhitby: oh wait, no I need bootie's VID/PID not the OMAP Nov 04 23:33:39 [Vendor: 0X830, Product: 0X8001] Nov 04 23:33:48 rwhitby: thanks Nov 04 23:33:49 that's recovery boot Nov 04 23:34:10 rebooting Nov 04 23:45:15 rwhitby: thanks, in case anyone (like me) is reading this log some day, this directive is supposed to do it in VMWare. Nov 04 23:45:15 usb.autoConnect.device0 = "vid:0x830 pid:0x8001" Nov 04 23:45:25 ugh, but it's not working either. sigh. Nov 04 23:45:50 destinal: try decimal numbers? Nov 04 23:47:10 destinal: "make DEVICE=pre memload mount" is handy in the meta-doctor dir Nov 04 23:47:38 rwhitby: yeah, that's what I'm trying. if the device would stay plugged in it would be nice :) Nov 04 23:48:00 stupid virtual computer Nov 04 23:48:19 destinal: what host OS is the guest running on? Nov 04 23:48:34 windows. getting ready to install the sdk now (also newish windows install) Nov 04 23:48:57 ah, so you're going to be our "Install Preware using Windows" expert? Nov 04 23:49:33 heh, preware would be a piece of cake. palm-install :) Nov 04 23:50:04 windows annoys me, I think I'll build a hackintosh Nov 04 23:50:36 rwhitby: but I troubleshot many a "services.msc, stop novacomd, start novacomd" back in mid 2009 :) Nov 04 23:51:07 2.0 bootie doesn't usb boot? Nov 04 23:52:04 egaudet: yeah it should, I'm having local PC / vm environment issues Nov 04 23:52:37 egaudet: you need 2.0 novacom drivers Nov 04 23:52:38 and I don't think we're using a new bootie anyway, are we? Nov 04 23:52:44 we are not Nov 04 23:53:05 rebooted and my pixi still wont let me change compache mem limit Nov 04 23:53:13 rwhitby: oh, right, they're in the doctor, ok Nov 04 23:53:15 the frankendoctor uses old bootie? Nov 04 23:53:27 yep, when built correctly Nov 04 23:53:54 cpu freq what should I set it at? the fastest is tempting Nov 04 23:53:58 egaudet: you building one? Nov 04 23:54:47 not yet Nov 04 23:54:57 downloading the sfr doctor Nov 04 23:55:09 well not downloading, going through Nov 04 23:55:27 we get anywhere with the doctors yet Nov 04 23:56:45 i/o scheduler and tcp congestion should be left alone? Nov 04 23:57:04 cfq and cubic are what mine are set at Nov 04 23:57:41 PuffTheMagic: yup I've gotten to where rwhitby did before, into the infinite reboot club. windows sucks btw Nov 04 23:57:41 since vmware doesn't want to hang onto bootie recovery device when it comes up and it's not possible to click attach fast enough Nov 04 23:59:25 infinite reboot club? Nov 04 23:59:51 PuffTheMagic: FrankenDoctor: http://forums.precentral.net/webos-internals/267880-frankendoctor-1-4-5-2-0-0-a.html Nov 04 23:59:55 so what does your bootie env look like when you guys are in this bad state? Nov 05 00:00:05 the kernel mem boots Nov 05 00:00:19 egaudet: kernel boots fine. it's not finding init Nov 05 00:00:37 hmm Nov 05 00:00:52 what's in the boot partition? Nov 05 00:01:05 mini rootfs which does a pivot_root Nov 05 00:01:42 going to compare that against membooted virgin 1.4.5 device, to make sure everything it still intact Nov 05 00:07:50 rwhitby: wow, when did novaterm in linux become: exec novacom $* -t open tty://0 Nov 05 00:08:35 I remember distinctly a standalone binary once upon a time Nov 05 00:09:30 novaterm just was a shell wrapper around that Nov 05 00:09:54 open tty:// is the real command and -t means 'go into terminal mode' Nov 05 00:11:45 so at what point does the init part happen Nov 05 00:11:51 after everything is copied? Nov 05 00:12:24 PuffTheMagic: ramdisk boot, trenchcoat, flash finishes, reboot, normal kernel boot, init not found. Nov 05 00:13:25 rwhitby, have you tried going into bootie mode and setting a init to something? Nov 05 00:14:06 I have not. Nov 05 00:14:20 rwhitby: hmm, from novacom -w boot mem:// < build/pre-p100ueu-wr-1.4.5/webOS/nova-installer-image-castle.uImage -- how long should it take to give a palm logo, I thought just seconds Nov 05 00:14:43 bout 10 seconds Nov 05 00:15:07 memboot the kernel Nov 05 00:15:12 mount the boot partition and make sure everything is in place Nov 05 00:15:34 egaudet: done that Nov 05 00:15:44 also if it's failing to memboot, open a novaterm to bootie in another window and you should get some sort of spew Nov 05 00:15:50 in mmcblk0p2, /sbin/init exists Nov 05 00:15:50 at least up until it starts the kernel Nov 05 00:16:01 rwhitby, does /bin/busybox and sh exist/work? Nov 05 00:16:20 and any other binary that is used in /sbin/init Nov 05 00:16:39 geist: ah, good idea Nov 05 00:16:39 ] device_command_rx:489: got request: verb 'boot', url 'mem://', argc 0 Nov 05 00:17:06 and that's it? not getting through then Nov 05 00:17:17 geist: nope nevermind finally did Nov 05 00:17:36 i'm running in a VM so maybe USB latency was higher Nov 05 00:17:49 yeah, it generally runs badly under vm Nov 05 00:19:20 egaudet: /tmp/boot/bin/busybox works Nov 05 00:19:37 (I have mmcblk0p2 mounted as /tmp/boot from an installer uImage memboot) Nov 05 00:20:30 and /tmp/boot/sbin/init runs (as expected, complains about /proc and /sys busy and stuff) Nov 05 00:21:41 of course the /etc/miniboot.sh it runs at that point is from the installer image, not the real one from the new 2.0 rootfs Nov 05 00:22:07 you should be able to mount the rootfs too Nov 05 00:22:34 yeah, I have, and the two miniboot.sh files look the same Nov 05 00:22:35 rwhitby:why not use the new installer image with the older kernel? Nov 05 00:22:50 or is there nothing else differnt? Nov 05 00:23:16 did the shell scripts you found end up being for anything important? Nov 05 00:23:24 destinal: too lazy to unpack the uImage and pack it again Nov 05 00:23:49 (in fact, I've never found a good uImage unpacking tool) Nov 05 00:24:05 anyone know of a uImage unpacking tool? Nov 05 00:24:21 all i can find is the data structures in u-boot, and I'm too lazy to write one myself from them Nov 05 00:24:30 I've unpacked and repacked initrd's but never uimage Nov 05 00:26:51 what's CUSTOM_KERNEL_DIR for? Nov 05 00:27:49 grabs the kernel to put in /boot and /lib/modules Nov 05 00:27:59 for the rootfs Nov 05 00:28:00 have you tried just using a 1.4.5 doctor with 2.0 rootfs and xml? Nov 05 00:28:14 nope Nov 05 00:28:29 seems like the path of least resistance Nov 05 00:33:59 egaudet: maybe so but this would be the most forward compatible especially if the doctors start doing post-setup operations that matter Nov 05 00:34:57 i think all the meaningful stuff is in the xml Nov 05 00:35:01 Hmm - I just removed the CUSTOM_ROOT_TARBALL option Nov 05 00:35:32 egaudet: maybe for now but they're clearly changing things, there are new shell scripts run by doctor in java code for instance Nov 05 00:35:39 I think rwhitby disabled them but still Nov 05 00:37:47 egaudet: can you do a getenv from bootie on a pre that hasn't been flashed with 2.0? Nov 05 00:37:56 meh, the end result is you get re-flashed Nov 05 00:38:25 getenv? not sure Nov 05 00:38:41 but we have bootie-config so you can see/modify bootie env from linux Nov 05 00:39:26 k, should be same difference then, can you grab that? Nov 05 00:39:30 I mean the end result of doctor is that you have a new bootie, maybe new env, tokens and rootfs (all controllable by xml file), Nov 05 00:39:40 grab what? Nov 05 00:39:53 I want to see if my bootargs are wrong for this uImage Nov 05 00:40:26 destinal: they looked the same to me Nov 05 00:40:54 i thought you were booting the old kernel? Nov 05 00:41:11 egaudet: yes, but trenchcoat may have changed my kernel boot line Nov 05 00:41:18 frankendoctor is using old bootie, old installer image, but new boot image? Nov 05 00:41:40 egaudet: old boot image, but potentially new boot arguments, which would be a problem Nov 05 00:42:27 well in Flash all we have is installer = trenchcoat and checkbatt = 1 Nov 05 00:42:35 the rest is hard coded in bootie Nov 05 00:42:52 and we're using the 1.4.5 bootie Nov 05 00:43:12 * rwhitby adds CUSTOM_ROOTFS to MetaDoctor Nov 05 00:43:45 hmm - will need CUSTOM_XML too Nov 05 00:44:30 yeah 191.4 is at least as old as webOS 1.4.1 Nov 05 00:45:01 wait.. Nov 05 00:45:11 the old wiki page says: T bootargs = root=b302 rootdelay=2 ro Nov 05 00:45:22 what I have is T bootargs = root=/dev/mmcblk0p2 rootwait ro Nov 05 00:45:50 destinal: kernel log is showing rootfs as being mounted ok ext3 Nov 05 00:46:55 has anyone tried to use old trenchcoat with new .xml vs. new trenchcoat with new .xml Nov 05 00:46:59 any way to exit from novacom tty into bootie gracefully? Nov 05 00:47:04 reset Nov 05 00:47:17 egaudet: working on that now Nov 05 00:47:29 destinal, as far as I can see T means hardcoded Nov 05 00:47:59 egaudet: yeah, I think so. wonder when the wiki page was made then, parts of it must be from earlier bootie Nov 05 00:48:52 * rwhitby adds CUSTOM_XML to MetaDoctor Nov 05 00:49:15 man, this Makefile is reasonably complex now ... Nov 05 00:49:38 rwhitby: heh, time to go to python :) Nov 05 00:50:08 dunno, it would all be system() calls in python Nov 05 00:50:27 eh, true Nov 05 00:50:49 make CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs CUSTOM_ROOTFS=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/nova-cust-image-roadrunner.rootfs.tar.gz CUSTOM_XML=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/roadrunner.xml clobber-wr all-wr Nov 05 00:51:09 haven't pushed the Makefile yet Nov 05 00:52:24 heh, even the md5sum for the boot.bin gets updated. damn this Makefile is good. Nov 05 00:52:57 make really is the right tool for this job, I just hate make Nov 05 00:53:06 why add CUSTOM_ROOTFS? Nov 05 00:53:41 egaudet: for hacking the 2.0 rootfs into 1.4.5, wasn't that what you suggested? Nov 05 00:54:06 yeah but then you wouldn't need the other CUSTOMs like BOOTLOADER Nov 05 00:54:26 um, yeah, you shouldn't. Nov 05 00:54:30 well here goes nothing, going to try frankendoctor Nov 05 00:54:30 I missed that Nov 05 00:54:34 yes you do, cause you need to replace them in the 2.0 rootfs Nov 05 00:54:42 oh... right Nov 05 00:55:09 ? Nov 05 00:55:11 it's copy rootfs from 2.0, patch it with 1.4.5 stuff, put it into 1.4.5 doctor and pack it up Nov 05 00:55:47 since /boot is in rootfs for instance Nov 05 00:56:00 Makefile pushed Nov 05 00:56:08 and kernel and modules Nov 05 00:56:27 rwhitby: ok I'll give it a shot too Nov 05 00:56:27 cmdline is above Nov 05 00:57:05 can't use new bootie? Nov 05 00:57:37 who knows what a Pre 2 bootie will do on Pre hardware Nov 05 00:57:49 * destinal does a make DEVICE=pre2 CARRIER=wr unpack Nov 05 00:58:04 destinal: unpack-doctor script Nov 05 00:58:34 you'll get a .tar instead of a .tar.gz your way Nov 05 00:58:38 which won't work Nov 05 00:58:42 ah Nov 05 00:58:49 * rwhitby waits for battery charge .... Nov 05 01:01:27 flashing Nov 05 01:02:24 flashing with what set up? Nov 05 01:03:42 make CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs CUSTOM_ROOTFS=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/nova-cust-image-roadrunner.rootfs.tar.gz CUSTOM_XML=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/roadrunner.xml DISABLE_UPLOAD_DAEMON=1 DISABLE_MODEM_UPDATE=1 REMOVE_CARRIER_CHECK=1 REMOVE_M Nov 05 01:03:42 ODEL_CHECK=1 clobber-wr all-wr Nov 05 01:04:05 what re the custom xml and rootfs for? Nov 05 01:04:08 you can probably use sprint or whatever your device is Nov 05 01:04:49 egaudet: your suggestion Nov 05 01:04:57 I'm so confused Nov 05 01:05:19 you said "why don't we put a 2.0 rootfs into a 1.4.5 doctor", so that's what I'm now doing Nov 05 01:05:31 if using the 1.4.5 doctor then bootloader and kernel dir dont' need custom Nov 05 01:05:48 yes they do, cause you need to override what is in the rootfs you are giving it Nov 05 01:06:05 if it's using 1.4.5 doctor it should exclude the overwrite Nov 05 01:06:08 and you need the custom XML to get the new partition layout Nov 05 01:06:09 not overwrite it with itself Nov 05 01:06:24 egaudet: trust me on this one, or read the Makefile to see yourself Nov 05 01:06:33 egaudet: the kernel and modules go *into* the rootfs tar first Nov 05 01:06:42 I'm not talking about how the Makefile is set up right now Nov 05 01:06:56 I was talking more on the general scope of how it will end up Nov 05 01:07:00 egaudet: I don't agree with adding more logic to figure it out, this works Nov 05 01:07:23 some people may want to use an enitre rootfs with kernel and all Nov 05 01:07:30 you are extracting 3 doctors Nov 05 01:07:45 only two Nov 05 01:08:01 well and the one metadoctor partially unpacks right Nov 05 01:08:05 yeah Nov 05 01:08:13 trenchcoat running Nov 05 01:08:15 ok well you are extracting the rootfs 3 times :P Nov 05 01:08:33 sure, but don't you have unpacked doctors lying around like I do? Nov 05 01:08:44 I dunno lol Nov 05 01:08:52 I guess I should just wait and hear the verdict Nov 05 01:08:56 egaudet: in some ways I'd like to tell metadoctor what to do rather than have it try to figure out what I mean Nov 05 01:09:00 * rwhitby counts 18 subdirs in his /srv/doctors/unpacked directory Nov 05 01:09:56 destinal: in particular, I've done it that way so that the individual CUSTOM_* things can be used on their own for other purposes Nov 05 01:09:56 egaudet: because someday I'll mean something else and not want to override the override Nov 05 01:11:02 the flow is that unpack unpacks everything, and overwrites with all the custom stuff. then patch does patching on the new filenames according to CUSTOM_DEVICETYPE. the pack packs it all up again. Nov 05 01:11:44 rwhitby: flashing Nov 05 01:12:59 * rwhitby counts 46 .jar files in his /srv/doctors directory Nov 05 01:13:06 rwhitby: I did make DEVICE=pre CARRIER=wr VERSION=1.4.5 CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs CUSTOM_ROOTFS=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/nova-cust-image-roadrunner.rootfs.tar.gz CUSTOM_XML=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/roadrunner.xml DISABLE_UPLOAD_DAEMON Nov 05 01:13:35 and yes I made /srv just to make exchanging cmd lines easier : Nov 05 01:13:36 :) Nov 05 01:13:47 good plan Nov 05 01:14:23 well /boot is a separate partition Nov 05 01:14:38 nvm Nov 05 01:14:42 correct, but it exists in the rootfs tarball for the doctor Nov 05 01:14:51 flash complete Nov 05 01:15:02 I keep forgetting this needs to work for actually doctoring a non-working device Nov 05 01:15:05 oops I meant MODEL_CHECK not MDEL check doh Nov 05 01:15:35 Because really we could just skip the boot partition writing Nov 05 01:15:41 and -not- patch the rootfs Nov 05 01:15:47 <6>musb_hdrc: version 6.0/dbg, musb-dma, peripheral, debug=1 Nov 05 01:15:48 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000 Nov 05 01:16:15 rwhitby: you sure you got kernel and modules? Nov 05 01:16:21 egaudet: if you know how to modify that easily, go for it. it's in the trenchcoat as far as I know Nov 05 01:16:44 file="${BOOTIE}" Nov 05 01:16:53 just take away the file= Nov 05 01:16:57 destinal: wrong kernel wouldn't have booted due to machine id I expect Nov 05 01:17:32 perhaps I should try starting with a sprint doctor on this sprint device Nov 05 01:18:02 or the mount="/boot" line maybe Nov 05 01:18:04 rwhitby: I've flashed wr to a sprint device when wr first came out Nov 05 01:18:55 rwhitby, maybe start smaller Nov 05 01:19:24 get a working 1.4.5 device then use trenchcoat with minimal xml file just to reflash rootfs Nov 05 01:19:28 see where the hangup is Nov 05 01:21:30 is ashi here? Nov 05 01:22:45 interesting: http://forums.precentral.net/2746058-post20.html Nov 05 01:23:28 reflashing based on Sprint 1.4.5 doctor Nov 05 01:25:23 maybe all this stuff has indeed destroyed the modem Nov 05 01:27:22 whoops Nov 05 01:27:58 rwhitby: he got the same null pointer dereference eh? Nov 05 01:27:59 egaudet: I guess we could flash with 1.4.5, memboot into installer, mount the partitions, novacom copy the rootfs over to media partition, untar it into the root partition, reboot Nov 05 01:28:05 destinal: something close Nov 05 01:28:21 <6>musb_hdrc: version 6.0/dbg, musb-dma, peripheral, debug=1 Nov 05 01:28:22 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000 Nov 05 01:28:27 ^ from his post Nov 05 01:28:34 hmm - identical Nov 05 01:29:02 I wonder if wr still works on sprint devices like it used to Nov 05 01:29:36 the kernel does, cause we have a WR kernel as the Palm recovery for 1.4.5 Nov 05 01:30:18 sure but the module load could be different or even trying to talk to a certain device. Nov 05 01:30:24 oops Nov 05 01:30:28 my tar line is wrong Nov 05 01:30:55 for custom_kernel_dir Nov 05 01:31:28 rwhitby: remember I asked about if you got the kernel in there? :P Nov 05 01:31:32 fix pushed Nov 05 01:31:34 is it possible that dsp_base changed? Nov 05 01:31:53 rwhitby: it's possible the kernels are close enough to get a partial boot apparently Nov 05 01:31:57 nvm we're using old env Nov 05 01:32:01 bootie* Nov 05 01:32:11 rwhitby: so either or both ways may work now Nov 05 01:32:13 dsp_base for the 3630 vs 3430? Nov 05 01:32:42 rwhitby: you want to try one and I'll try the other? Nov 05 01:33:07 destinal: I'm doing new way, you do old way Nov 05 01:33:23 the one from last night? ok Nov 05 01:33:27 will do Nov 05 01:33:38 you put 1.4.5 stuff into 2.0 doctor Nov 05 01:33:43 *nods* Nov 05 01:33:47 I'm putting 2.0 stuff into 1.4.5 doctor Nov 05 01:34:17 ok, now I'm seeing new md5sums for kernel and modules, so that makes more sense Nov 05 01:34:47 rwhitby: yay Nov 05 01:35:30 flashing Nov 05 01:35:32 my vm is too slow Nov 05 01:35:38 waiting for it to gzip Nov 05 01:35:54 yeah, that's why I made the metadoctor work on OSX too Nov 05 01:36:16 IMO a mac is like the perfect hacking workstation these days Nov 05 01:36:29 yeah, that's why I moved to it Nov 05 01:37:03 if only the USB ports were not so close together - I can't fit a cable to the device and a USB modem at the same time Nov 05 01:37:10 (for hacking on the bus) Nov 05 01:38:39 ok loading ramdisk Nov 05 01:40:23 destinal: although I'm not sure why you'll see anything different than still a missing init Nov 05 01:40:41 cause if it had the wrong kernel then it wouldn't have got that far Nov 05 01:41:33 rwhitby: no big deal if not, why am I spending so much time in SaveLogsBeforeFlash? Nov 05 01:42:17 oh, you need to add PATCH_DOCTOR=1 Nov 05 01:42:33 I had to remove that from CUSTOM_DEVICETYPE, but I guess I can put it back in. Nov 05 01:42:47 maybe I need webos-versioned doctor patches now Nov 05 01:43:22 rebooting Nov 05 01:43:54 back to no init found Nov 05 01:44:37 ok, so what IS init? Nov 05 01:44:50 on this particular system Nov 05 01:45:04 I recall it used to be a shell script Nov 05 01:45:07 I think Nov 05 01:45:14 can't see the /proc/cmdline print - we don't seem to get klog back to that point Nov 05 01:45:47 destinal: it's a shell script, yep. Nov 05 01:45:49 at least we now have two independent paths to the same roadblock Nov 05 01:46:09 dtzWill: ok, so could it actually be a problem loading its interpreter? is it busybox? Nov 05 01:46:39 conceivably? I find it odd to expect w/e invokes init to be able to run a script vs a binary, but shows what i know. Nov 05 01:46:47 ok, I'm going to build a 1.4.5 doctor and 1.4.5 custom rootfs, to make sure the idempotent path works Nov 05 01:46:57 has anyone tried something like init=/bin/sh ? Nov 05 01:47:14 the init failing doesn't make sense Nov 05 01:47:14 dtzWill: if we did, we wouldn't be able to talk to it Nov 05 01:47:26 dtzWill: we don't exactly have a console Nov 05 01:47:38 destinal: ...oh yeah. xD sorry. Nov 05 01:47:42 rwhitby, so what is the failure point now? still the init? Nov 05 01:47:43 make CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs CUSTOM_ROOTFS=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/nova-cust-image-castle.rootfs.tar.gz CUSTOM_XML=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/webOS/castle.xml DISABLE_UPLOAD_DAEMON=1 DISABLE_MODEM_UPDATE=1 REMOVE_CARRIER_CHECK=1 REMOVE_MODEL_CHE Nov 05 01:47:43 CK=1 clobber-wr all-wr Nov 05 01:47:56 dtzWill: though maybe init to run the novacom daemon Nov 05 01:48:10 yep, same init failure whether we insert 2.0 into 1.4.5 or 1.4.5 into 2.0 Nov 05 01:48:10 but then again it won't have pivoted yet, right? Nov 05 01:48:21 yes, this is before pivoting Nov 05 01:48:34 it doesn't make sense Nov 05 01:48:43 so I'm doing 1.4.5 into 1.4.5 to make sure we're not screwing something basic Nov 05 01:48:50 it can't be anything in the 2.0 rootfs Nov 05 01:49:00 can you tell what the kernel cmdline is ? Nov 05 01:49:11 egaudet: agreed, but I'm questioning all assumptions at this point Nov 05 01:49:14 jacques: no Nov 05 01:49:28 jacques: klog doesn't go back that far for some reason Nov 05 01:49:28 does bootie pass the cmdline ? Nov 05 01:49:39 geist: any way to see the early klog ? Nov 05 01:49:50 rwhitby, dump the first 2 partitions, verify they aren't changing Nov 05 01:50:10 rwhitby: you mean before it has got to user space? Nov 05 01:50:11 jacques: bootie's environment variables are Nov 05 01:50:12 T bootargs-ramdisk = root=/dev/ram0 ramdisk=32768 ro Nov 05 01:50:12 T bootargs = root=/dev/mmcblk0p2 rootwait ro Nov 05 01:50:17 the entire /boot is being replaced right rwhitby ? Nov 05 01:50:32 the hardcoded ones I guess :) Nov 05 01:50:34 geist: I can see the end of the kernel boot before userspace, but not right at the start of kernel boot for some reason Nov 05 01:50:37 destinal, thanks, no init= line :-\ Nov 05 01:50:58 jacques, it never uses init= Nov 05 01:51:03 ah, so it only has the end in the klog? Nov 05 01:51:03 it defaults to /sbin/init Nov 05 01:51:15 the klogs should be deep enough to hold at least all of the kernel boot Nov 05 01:51:26 and the latter half of bootie Nov 05 01:51:36 geist: yeah, that's the weird thing Nov 05 01:51:50 loading file '/boot/uImage' to address 0x81000000 Nov 05 01:51:50 parse_uimage:229: uimage 0x81000000 Nov 05 01:51:50 welcome to klog, buffer at af88000c, length 262116 Nov 05 01:51:51 how are you reading klog? on the next boot? Nov 05 01:51:52 <6>i2c_omap i2c_omap.1: bus 1 rev3.12 at 400 kHz Nov 05 01:52:01 ahhh. yeah that's weird Nov 05 01:52:04 egaudet, for some reason, my buildroot-built powerpc rootfs (uclibc but shouldn't matter) require /init - I have to symlink /init -> /sbin/init or I get the init not found error Nov 05 01:52:07 geist: vol up on next boot, then novacom get from bootie Nov 05 01:52:23 yeah, dunno then. they may have changed something Nov 05 01:52:24 is that any different than using the bootie command? Nov 05 01:55:20 destinal: I get the same result using the bootie command Nov 05 01:55:51 I was assuming that perhaps the klog module in the kernel cuts in a some middle point and only saves from then on Nov 05 01:55:56 what's the args to put 2.0 into 1.4.5 Nov 05 01:56:19 egaudet: I used make DEVICE=pre CARRIER=wr VERSION=1.4.5 CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs/boot/boot.bin CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp100ueu-wr-1.4.5/rootfs CUSTOM_ROOTFS=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/nova-cust-image-roadrunner.rootfs.tar.gz CUSTOM_XML=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/roadrunner.xml DISABLE_UPLOAD_DAEMO Nov 05 01:56:42 for all of this we're using 1.4.5 kernel, right? so we can just look at the source to see the various things? Nov 05 01:56:57 dtzWill: yeah, and substitute a modified kernel if you like Nov 05 01:56:59 like have it dump the kernel boot options before invoking init, tell us where it's looking for init, etc? Nov 05 01:57:14 dtzWill: yeah, we can do that if needed Nov 05 01:57:17 (or w/e unresolved issues we have, seems like we solved the cmdline args) Nov 05 01:57:21 hmm, okay. Nov 05 01:57:47 dtzWill: and maybe expand the klog Nov 05 01:57:54 I'm doing 1.4.5 in 1.4.5 first, in case it's just another stupid Makefile bug Nov 05 01:58:04 flashing that now Nov 05 01:58:13 rwhitby: yeah that's a good sanity check :) Nov 05 01:58:18 if that fails on init, then we know it's an error in our construction Nov 05 01:58:58 I've learnt over the years that when you have a weird bug you can't begin to explain, you throw away absolutely every assumption and build facts up from scratch. Nov 05 01:59:10 * egaudet thinks it has to be error on construction Nov 05 01:59:18 nothing up to the point of init should be changed Nov 05 02:00:12 one thing I don't know is where the mini-rootfs that is in the boot partition comes from Nov 05 02:00:34 cause it's not in rootfs/boot in the doctor tarball Nov 05 02:03:05 so we may well have a 2.0 version of that instead of a 1.4.5 verison Nov 05 02:03:47 I'm also re-unpacking the 1.4.5 doctor as root to make sure I didn't miss anything Nov 05 02:04:10 what's boot.bin do? (also, what's updatefs? my google-fu is too weak) Nov 05 02:04:20 dtzWill: boot.bin is bootie Nov 05 02:04:27 IIRC Nov 05 02:04:33 updatefs.info is new Nov 05 02:04:52 rwhitby: ok, ty, on both fronts :). Nov 05 02:04:52 rwhitby, what's "mini-rootfs that is in the boot partition" ? Nov 05 02:05:06 jacques: the rootfs before pivot Nov 05 02:05:11 rwhitby, yeah that's what it has to be Nov 05 02:05:13 in mmcblk0p2 Nov 05 02:05:26 mem boot and then mount p2 and then ls -l bin Nov 05 02:05:45 egaudet: already done all that, and executed busybox and init in there using a 1.4.5 memboot Nov 05 02:05:52 rwhitby, I assume it's an initrd or initramfs in the big uimage - there are two files there Nov 05 02:06:15 jacques: ah, of course. Nov 05 02:06:27 Image 0: 2376384 Bytes = 2320.69 kB = 2.27 MB Image 1: 9147917 Bytes = 8933.51 kB = 8.72 MB Nov 05 02:06:45 so we're sending over the 1.4.5 uImage, so it should be able to boot that Nov 05 02:06:47 I think separate file implies initrd Nov 05 02:07:09 that makes even less sense seeing an init failure Nov 05 02:07:16 agreed Nov 05 02:07:25 cause the kernel and initfs is in the same file Nov 05 02:07:39 bootloads, cmdline, kernel, and initd should all be stock 1.4.5 Nov 05 02:07:54 crazy Nov 05 02:07:57 darn can't type Nov 05 02:08:00 there's no initrd Nov 05 02:08:04 why a ramdisk if already mounts /boot ? Nov 05 02:08:30 egaudet, then what's the second image in nova-installer-image-roadrunner.uImage ? Nov 05 02:08:41 jacques: ah, don't look at installer Nov 05 02:08:43 OH the isntaller image might have initrd yeah Nov 05 02:08:47 jacques: look at the real kernel uImage Nov 05 02:08:53 oh, that's jut the installer uimage - you are gettig the error on boot Nov 05 02:09:04 jacques: what's the real kernel have? Nov 05 02:09:15 OK then there could still be an initramfs :-) but the /boot kernel is too small Nov 05 02:09:17 the boot kernel does not, and it is using mmcblk0p2 or whatever as root Nov 05 02:09:31 yeah, that's right. Nov 05 02:09:39 jacques tried to confuse me ;) Nov 05 02:09:53 * jacques confused jacques. Nov 05 02:10:04 is someone else dumping the boot partitions to compare? Nov 05 02:10:05 hehe Nov 05 02:10:07 well I'm "flashing" Nov 05 02:10:17 as in storage, not body parts ;) Nov 05 02:10:45 1.4.5 on 1.4.5 rebooting Nov 05 02:11:19 and it boots fine Nov 05 02:11:32 so, an idempotent construction is correct Nov 05 02:11:46 good to know. Nov 05 02:12:13 so now I either do an idempotent 2.0, or I compare boot partitions Nov 05 02:12:14 egaudet: lol Nov 05 02:12:44 egaudet: I love that in the binary Nov 05 02:12:52 can't you do both :-) Nov 05 02:13:46 destinal, yeah and since it's called trenchcoat all the better :P Nov 05 02:14:39 grrr windows and linux are fighting over my pre, this sucks Nov 05 02:14:55 make DEVICE=pre2 CUSTOM_DEVICETYPE=roadrunner CUSTOM_BOOTLOADER=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/rootfs/boot/boot.bin CUSTOM_INSTALLER=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/webOS/nova-installer-image-roadrunner.uImage CUSTOM_KERNEL_DIR=/srv/doctors/unpacked/webosdoctorp103ueu-wr-2.0.0/rootfs clobber-wr all-wr Nov 05 02:14:58 rwhitby, when you ran the /sbin/init I assume you had a good rootfs so a missing binary in p2 might have been in your booted rootfs Nov 05 02:15:04 I suspect something is missing in p2 Nov 05 02:15:18 egaudet: good point. I need to pivot root or chroot Nov 05 02:15:50 back when i was messing with the dual boot crap I had put echo in the /sbin/init and was going mad trying to find out why it wasn't booting lol Nov 05 02:15:53 I swear just sitting here watching this is educational Nov 05 02:16:16 egaudet: I agree on your p2 missing binary theory Nov 05 02:17:25 p2 == partition2 ? Nov 05 02:17:44 yeah Nov 05 02:17:55 `k Nov 05 02:19:29 ok, dumped p2 from 1.4.5 on 1.4.5 succcessful boot Nov 05 02:19:42 building 2.0.0 on 1.4.5 image Nov 05 02:23:34 flashing Nov 05 02:23:35 heh missing echo Nov 05 02:26:07 interesting aside -- store-filecache store-log store-media store-mojodb store-root store-swap store-update store-var Nov 05 02:26:29 I think store-filecache and store-mojodb are new. at least store-mojodb Nov 05 02:26:49 yes, they are Nov 05 02:27:08 and palm has to lvm resize on OTA update or webOS doctor to make room for them Nov 05 02:27:43 which is going to be interesting for anyone with a full media partition Nov 05 02:29:40 rwhitby: http://webos.pastebin.com/rJc4BeBT Nov 05 02:30:44 rwhitby: that's from my 2.0 p2 Nov 05 02:30:48 destinal: we're missing all the symlinks Nov 05 02:31:08 hmm - I bet that is the postinst script somewhere Nov 05 02:31:33 rwhitby: http://webos.pastebin.com/HaZD8eSd Nov 05 02:32:09 ok, that explains the symptoms Nov 05 02:32:13 now, what is the cause Nov 05 02:32:30 rwhitby: what explains it? Nov 05 02:33:05 we have symlinks they just didn't md5sum Nov 05 02:33:07 your 2.0 p2 has no /dev Nov 05 02:33:22 oh I didn't md5sum /dev either :) it's in the ls -alR Nov 05 02:33:27 see the second pastebin Nov 05 02:33:34 oh, I thought first pastebin was 2.0 and second was 1.4.5 Nov 05 02:34:02 nope both my current test pre which is running your frankendoctored 2.0 jar Nov 05 02:34:23 since you had 1.4.5 already I figured you could compare Nov 05 02:35:00 OH rwhitby you are using OLD /sbin/init? Nov 05 02:35:31 egaudet: no Nov 05 02:35:38 yes Nov 05 02:35:47 how? Nov 05 02:36:24 p2 mostly comes from the rootfs right? except for kernel Nov 05 02:36:29 not sure how but the md5sum matches the 1.4.5 Nov 05 02:36:38 and that is missing the nodes for partitions 4+ Nov 05 02:37:08 unless I'm looking at something wrong Nov 05 02:37:18 egaudet: what are you looking at for the md5sums? Nov 05 02:37:35 egaudet: hang on let me double check to make sure Nov 05 02:37:40 rootfs/sbin/boot-init Nov 05 02:37:48 vs. the one in p2 on my flashed device Nov 05 02:38:31 I copied the new /sbin/init over and tellbootied and now my screen goes off-on every like 10 seconds Nov 05 02:39:01 egaudet: it doesn't need the other nodes Nov 05 02:39:19 it mounts the lvm stuff and pivots to a root that has them Nov 05 02:39:34 destinal: my 2.0 on 1.4.5 busybox doesn't match your md5sum Nov 05 02:39:52 how do I get klog from bootie Nov 05 02:39:53 nor lvm.static Nov 05 02:39:58 http://www.fox8.com/news/election/ktla-28th-senate-seat,0,7186104.story Nov 05 02:40:00 novacom get file://klog Nov 05 02:40:02 oops. Nov 05 02:40:07 Disregard that. Nov 05 02:41:13 rwhitby: strange Nov 05 02:41:23 destrudo: http://www.bash.org/?5775 Nov 05 02:41:43 AHA Nov 05 02:41:53 yes yes Nov 05 02:42:00 it seems that /boot/lib/libc-2.8.so is missing Nov 05 02:42:07 rwhitby: lol! Nov 05 02:42:13 that's a deal breaker Nov 05 02:42:18 destinal: http://webos.pastebin.com/HaZD8eSd Nov 05 02:42:32 in your 2.0 p2 listing, there are symlinks to libs but no libs Nov 05 02:43:06 so busybox will fail to execute Nov 05 02:43:10 rwhitby: very much so Nov 05 02:43:15 *that* explains it Nov 05 02:43:25 root@palm-webos-device:/mnt# chroot /mnt/root/boot Nov 05 02:43:25 chroot: cannot execute /bin/sh: No such file or directory Nov 05 02:43:35 and init IS sh for all practical purposes Nov 05 02:43:38 yep, same cause Nov 05 02:44:04 rwhitby:when you ran init that once yours succeeded because you had good libs Nov 05 02:44:09 yes Nov 05 02:44:17 I didn't chroot Nov 05 02:44:28 now, we need to know what copies those libs into there Nov 05 02:44:38 ok, nice that things make sense now, is 2.0's real rootfs that broken? Nov 05 02:45:00 If so their doctor wouldn't work Nov 05 02:45:16 2.0 real rootfs has libc-2.8.so Nov 05 02:45:30 and so forth Nov 05 02:45:39 ok, so metadoctor broke it Nov 05 02:45:55 yeah, somehow Nov 05 02:46:33 ah, 1.4.5 is libc-2.5.so, 2.0 is libc-2.8.so Nov 05 02:46:52 so, where is that hard-coded in the doctor Nov 05 02:47:35 hmm - I wonder what havoc that is going to cause for homebrew binaries ... Nov 05 02:47:42 looks like I missed something Nov 05 02:48:20 linuxjacques: logs Nov 05 02:48:26 ~logs Nov 05 02:48:27 All conversations are logged to http://ibot.rikers.org/channel, where "channel" is replaced by the URL-encoded channel name, such as %23freenode for #freenode. Lines starting with spaces are not logged. logs are updated daily, or the log URL is http://ibot.rikers.org/%23uphpu/ Nov 05 02:48:32 bah Nov 05 02:48:37 you know where the real ones are Nov 05 02:48:42 rwhitby, yep I have them going upstairs I will look Nov 05 02:50:10 now, where to look first ... Nov 05 02:50:42 the toolchains are different enough we will probably need multiple builds Nov 05 02:51:13 tho in theory older binaries should still work on the newer userspace Nov 05 02:51:26 ah, sbin/tcppostflash Nov 05 02:51:32 ah, sbin/tcpostflash Nov 05 02:51:36 (assuming no third party library ABI incompatibilities) Nov 05 02:53:13 rwhitby: so why would the new doctor fail to copy the new libs over? Nov 05 02:54:36 2.0 tcpostflash.sh is quite different to 1.4.5 version Nov 05 02:55:12 and on your pre, in the 1.4.5 version the files the old one tried to copy weren't there Nov 05 02:55:55 or wait, it's in the rootfs Nov 05 02:56:03 ? Nov 05 02:56:32 so both were running the new version of the shell script after flash? Nov 05 02:56:48 ok I see you guys have already gotten far Nov 05 02:57:17 so we need to replace tcpostflash? Nov 05 02:58:03 destinal: it's in the rootfs, and should be operating on files in the rootfs, not kernel or bootloader Nov 05 02:58:19 so it should match either way Nov 05 02:58:48 rwhitby: right.. so.. hmm Nov 05 02:59:37 I think we need to slow this down and actually run it interactively after flash to see what the errors are Nov 05 02:59:41 so we need to use the "new" p2 Nov 05 02:59:43 not the old p2 **** ENDING LOGGING AT Fri Nov 05 02:59:58 2010