**** BEGIN LOGGING AT Mon Oct 09 03:00:00 2017 Oct 09 08:07:22 jonwil: he's in here Oct 09 10:09:46 ok, I think I am in trouble Oct 09 10:09:54 I think I just stuffed my phone Oct 09 10:10:52 My clone of connui-statusbar-cellular is crashing hildon-status-menu which leads to the startup system trying to load it again and again and when it fails to load, the phone reboots. Oct 09 10:11:17 I need some way to solve this that doesn't involve flashing. Oct 09 10:11:34 and no unfortunately I dont have bootmenu or backupmenu or the like running Oct 09 10:11:46 I do have ssh going but it reboots before it can connect to WiFi for me to log on Oct 09 10:13:37 and I cant open a terminal fast enough either Oct 09 10:13:41 Am I screwed? Oct 09 10:13:52 you can boot to the rescue os and fox it? Oct 09 10:14:09 oh, no bootmenu. hm. Oct 09 10:14:24 Am I screwed? Oct 09 10:16:27 Is there some way I can boot some sort of rescue os over via the flasher? Oct 09 10:23:00 yes Oct 09 10:23:05 as long battery is ok Oct 09 10:23:09 ~rescueos Oct 09 10:23:09 rumour has it, rescueos is http://n900.quitesimple.org/rescueOS/ Oct 09 10:29:56 ok, good, rescueos is booting Oct 09 10:29:58 YAY Oct 09 10:30:07 Now I can hopefully fix my system Oct 09 10:31:27 as long you know what did you break Oct 09 10:31:28 :) Oct 09 10:31:44 dont forget to charge the battery Oct 09 10:33:05 I know what I broke, I just need to figure out the right way to get the correct .so file on the device Oct 09 10:33:40 usbnet + scp ? Oct 09 10:33:42 or wget Oct 09 10:35:38 in the worst case sdcard Oct 09 10:38:21 Can just use g_file_storage from rescueos. Oct 09 10:39:08 To make the eMMC appear as a UMS .. just make sure you don't mount it on the device at the same time. Oct 09 10:39:48 So I mount it via what? Oct 09 10:39:51 what command do I use? Oct 09 10:39:56 to mount emmc as a ums Oct 09 10:40:21 Something like: modprobe g_file_storage file=/dev/mmcblk1 Oct 09 10:40:39 (dunno if mmcblk1 will be the right device) Oct 09 10:40:50 it'll be either mmcblk1 or mmcblk0 Oct 09 10:41:07 it mound but Windows (all I have) wont recognize the disk Oct 09 10:41:11 So looks like networking is the way to go Oct 09 10:41:46 Ah, yeah, dunno about using that from Windows. Oct 09 10:43:04 modprobe g_ether && ifconfig usb0 x.y.z.w netmask 255.a.b.c Oct 09 10:47:48 I can see some devices listed in device manager now Oct 09 10:48:15 oooor... you simply don't finish the welcome screen ;-) *might* still leave you with working WLAN while not starting HD/HH and thus not rebooting Oct 09 10:48:33 Tried that, wlan doesn't start up properly Oct 09 10:48:42 drat Oct 09 10:49:01 I see "Nokia USB Modem #2" in device manager along with "Nokia USB Generic", "Nokia USB Obex" and "Nokia USB Phone Parent" Oct 09 10:49:40 actually I *thought* the system should throw you to a shell instead of rebooting system when HH restarts exceed the dsme limit Oct 09 10:49:48 on CSSU Oct 09 10:50:14 I'm pretty sure I pushed that and it been commonly accepted Oct 09 10:51:16 I dont think I am running the right version of whatever package it is Oct 09 10:52:15 anyway, rescueos, log in via ssh, mount, fix shit Oct 09 10:53:51 how about adding rescueos to boot process Oct 09 10:54:04 and make uboot react on some key Oct 09 10:55:18 Or just use pali's boot_menu command in uboot. Oct 09 10:55:29 yeah Oct 09 10:55:36 but make it done via cssu Oct 09 10:55:41 so everyone has it Oct 09 10:56:45 Well, there'd still be an installation step. Oct 09 10:57:16 You can't just distribute a package that overwrites people's bootloaders when it gets installed. Oct 09 10:57:38 ("can't" as in "really shouldn't") Oct 09 10:58:07 (side note: fuck you Debian, stop overwriting my fucking grub.cfg) Oct 09 10:58:17 make it show up similar to cssu installer Oct 09 10:58:37 ie. user has to click the icon to enable it, but have the package on device by default Oct 09 10:59:24 maxd: de**an has some grub-local.cfg that gets included, but generally it's best to f*ck the grub2 and just use grub1 installed by hand Oct 09 11:00:00 KotCzarny: when I looked into it, it appeared to be pretty much impossible to avoid. Oct 09 11:00:35 other than by setting the immutable xattr on the file or something. Oct 09 11:00:49 I think I fixed it Oct 09 11:00:51 but last time I modified grub.cfg I forgot to set it back. Oct 09 11:00:55 i remember adding own kernels/menu items to grub2, and they stayed over upgrades Oct 09 11:01:05 I was able to use the mmr command in rescueos to mount maemo Oct 09 11:01:11 Then I was able to chroot into that mounted system Oct 09 11:01:17 I don't add things "to grub2" Oct 09 11:01:26 I just maintain a very simple grub.cfg Oct 09 11:01:37 Then I could run dpkg and install the needed original .deb file Oct 09 11:01:44 At least I think that worked, testing now. Oct 09 11:01:52 I see no need to have it regenerated using some complicated bash scripts. Oct 09 11:02:50 ok, its booted and isn't killing hildon-status-bar over and over Oct 09 11:03:07 * DocScrutinizer05 beats jonwil with a BM Oct 09 11:03:27 afaict, the actual invocation of the grub2 command that generates the grub.cfg was hardcoded into the postinst script, and it was unconditional. Oct 09 11:03:51 I once tried modifying the postinst script, which kind of backfired. Oct 09 11:04:00 Now I am going to commit my WIP connui-statusbar-cellular to git and get fmg to figure out what I did wrong Oct 09 11:04:48 or rather I would do that if github hadn't gone boom right at the minute Oct 09 11:05:06 use your time! Oct 09 11:05:07 Since during an `apt-get upgrade` it noticed that the file changed, so copied the pristine version as a temporary file in the same directory, then ran all the postinsts in that directory, *THEN* asked what I wanted to do with the two files. Oct 09 11:05:09 ~bm Oct 09 11:05:10 somebody said backupmenu was http://talk.maemo.org/showthread.php?t=63975, or one-click install handling dependency issues: http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/BM.install Oct 09 11:05:34 Is github working for anyone else? Oct 09 11:05:46 github never worked for me :-P Oct 09 11:06:29 The website is working for me. Oct 09 11:06:42 too much JS BS Oct 09 11:07:03 Oh, you mean on microb? Oct 09 11:07:24 Seems to always work on Opera Mobile. Oct 09 11:07:26 no, I mean on my PC. I am having connectivity problems with it. Oct 09 11:07:40 DNS issues specifically Oct 09 11:07:43 I also meant my PC Oct 09 11:07:47 says "cant find github.com" Oct 09 11:07:53 LOL Oct 09 11:08:08 you connected N900 via USB? network manager? Oct 09 11:08:41 I didn't get USB networking working Oct 09 11:08:46 or any kind of networking in rescueos Oct 09 11:08:48 NM likes to think N900 was a new leete NIC Oct 09 11:09:14 I was able to get my system fixed once I found out I could mount rootfs and chroot into it Oct 09 11:09:20 That's a handy thing to be able to do Oct 09 11:09:35 try host ct.de on your PC Oct 09 11:09:56 Its a windows PC so I dont have host, I only have nslookup Oct 09 11:09:59 which works btw Oct 09 11:10:05 it resolves that address Oct 09 11:10:14 and just about everything else normal Oct 09 11:10:20 ooh windoesn't, then why not just reboot? ;-) Oct 09 11:10:32 I dont have anything other than Windows on this PC :P Oct 09 11:11:29 Its probably an ISP issue, this happens occasionally Oct 09 11:11:40 close and reopen your browser? Oct 09 11:12:32 https://github.com/foshardware "works" for me Oct 09 11:12:59 Its happening in several different programs Oct 09 11:13:02 so its a DNS issue Oct 09 11:13:04 for sure Oct 09 11:13:21 DHCP problem prolly Oct 09 11:13:56 nope, DNS works fine elsewhere, I am 100% sure its an ISP problem since this has happened before Oct 09 11:14:08 and I could bet windows also thinks N900 is a nice NIC Oct 09 11:14:12 aka modem Oct 09 11:14:21 aka LTE USB stick Oct 09 11:14:30 Yeah Windows thinks N900 is a Nokia Modem rather than a USB network device Oct 09 11:14:37 Doesn't matter, my N900 works and that's what matters Oct 09 11:14:48 That and waiting for things to fix so I can push this thing to cssu git Oct 09 11:15:33 * DocScrutinizer05 grumbles on CSSU not on garage Oct 09 11:16:24 honestly unplug USB, unplug and replug ethernet Oct 09 11:18:06 most OS seem to follow a "most recently plugged" policy regarding NIC and routing, and particularly their DHCP (incl NS IP) and established sessions Oct 09 11:18:50 It seems weird that it would behave like that, unless you were running a DHCP server on the N900. Oct 09 11:19:47 Its nothing at all to do with N900 Oct 09 11:19:50 Plugging it in shouldn't itself cause a default route to be added. Oct 09 11:20:02 that would be pretty surprising Oct 09 11:20:32 >>thinks N900 is a Nokia Modem<< is the exact diagnostic indicator Oct 09 11:20:34 My internet works 100% for everything except github.com wont resolve so its definitely not something to do with routes or my N900 or usbnet or anything else I might have done. Oct 09 11:21:05 hah, you'd think Oct 09 11:21:23 you forget NAT sessions and DNS cache Oct 09 11:21:36 I cleared out DNS cache Oct 09 11:21:44 ooh, well then Oct 09 11:21:54 did you restart your browser? Oct 09 11:22:19 it has its own DNS cache Oct 09 11:22:34 of sorts Oct 09 11:22:50 Its happening with browser and several other things that talk to gitlab Oct 09 11:23:11 might reboot though just because :) Oct 09 11:23:19 cant make things worse :) Oct 09 11:23:25 might also reboot the DSL router Oct 09 11:25:19 * DocScrutinizer05 idly suspexts those "other things" also stayed up and running while network route got switched several times Oct 09 11:26:10 as long as the NAT keeps a session, you're out of luck Oct 09 11:27:16 NAT doesn't just keep a single session for for a single local address. Oct 09 11:27:51 If you try to open a new connection, you'll be creating a new NAT "session". Oct 09 11:27:54 my router has a script that tears down all NAT sessions when failing over/back to/from backup ISP connection Oct 09 11:30:08 this still didn't suffice, need to provide its own IP for DHCP's NS proxy, since otherwise LAN clients won't get the auxiliary WAN connection's NS as provided by ISP to router via DHCP Oct 09 11:30:37 or a globally valid NS, like 8.8.8.8 Oct 09 11:31:39 failower is great when it works, but a PITA to get it to work Oct 09 11:33:10 looks like its a problem with my ISPs DNS servers or something like that Oct 09 11:34:05 hmm Oct 09 11:34:45 don't know nslookup, for host/dig I'd suggest to check if it actually asks your ISP's NS Oct 09 11:35:17 Its definitely talking to the ISPs DNS Oct 09 11:35:37 I am 100% sure its a problem with the ISPs DNS server Oct 09 11:35:44 loadbalancing: http://paste.opensuse.org/98065779 Oct 09 11:35:59 then use 8.8.8.8 for now Oct 09 11:38:56 btw your ISP should offer at least one fallback NS IP in DHCP Oct 09 11:43:21 and click on http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/BM.install ! ;-) Oct 09 11:43:34 The ISP DNS server works but cant resolve gitlab.com Oct 09 11:43:47 wow, weird Oct 09 11:43:53 conspiracy! Oct 09 11:43:58 Changing resolv.conf in my vmware vm to google worked and I was able to push Oct 09 11:44:01 what's the IP? Oct 09 11:44:04 of NS Oct 09 11:45:04 203.12.160.35 Oct 09 11:45:06 203.12.160.36 Oct 09 11:45:10 Those are the 2 the ISP provides Oct 09 11:45:49 both .35 and .36 cant find github.com Oct 09 11:45:51 doesn't like me Oct 09 11:46:04 google at 8.8.8.8 can find it though Oct 09 11:46:07 which is actually expected Oct 09 11:46:19 and yeah its probably configured to reject anything not from the ISPs own network Oct 09 11:46:27 :nod: Oct 09 11:46:36 Anyhow, I was able to push what I wanted and I dont need to access github.com anymore Oct 09 11:47:04 github or gitlab or gitblup ? Oct 09 11:47:08 github Oct 09 11:47:16 github definitely Oct 09 11:47:18 My vmware config is back to what it was and I have shut down the VM :) Oct 09 11:47:20 So its all good now Oct 09 11:47:34 I just need to get fmg to take a look at it Oct 09 11:48:54 no, first you need to click http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/BM.install Oct 09 11:50:38 ok, installing BM now :) Oct 09 11:50:48 :-) Oct 09 11:51:22 It wanted me to add some extra dangerous repos to my HAM (i.e. extras-devel), is that safe? Oct 09 11:51:34 or do I remove them after BM is installed? Oct 09 11:51:43 yes, just disable it afterwards Oct 09 11:53:08 I tried to figure how to temporarily enable catalogs in .install, but that seems not to be supported Oct 09 11:55:30 DocScrutinizer05: direct deb download + install is the workaround Oct 09 11:55:38 yeah Oct 09 11:55:51 how do you do that as one-click? Oct 09 11:55:58 still doing its thing Oct 09 11:56:03 with some kind of exploit maybe Oct 09 11:56:10 "preparing for installation, please wait" Oct 09 11:56:10 extras-devel update takes a while Oct 09 11:56:18 yeah I imagine Oct 09 11:56:22 or cssu-like installer Oct 09 11:56:34 that downloads/installs packages before starting upgrade Oct 09 11:56:46 without enabling repo Oct 09 11:57:05 Anyhow, I will install backupmenu Oct 09 11:57:10 should check if package isnt already installed conflicting though Oct 09 11:57:29 and I will let fmg figure out why my clone of connui-statusbar-cellular makes hildon-status-menu go boom Oct 09 11:57:49 Of course this is putting me off doing any more N900 reverse engineering work right now :P Oct 09 11:58:09 since I dont want to miss-clone something harder to fix Oct 09 11:58:11 :) Oct 09 12:00:15 ok now its sitting on the ham screen with the 3 icons and doing nothing visible that I can see Oct 09 12:00:27 wait Oct 09 12:00:30 Its probably doing something in the background Oct 09 12:00:52 now its installing BM Oct 09 12:00:57 yes, seems you got lazyham Oct 09 12:01:03 yeah I have stock HAM Oct 09 12:02:17 jonwil: why? Oct 09 12:03:23 I just do Oct 09 12:03:52 upgrade? Oct 09 12:04:41 ~cssu Oct 09 12:04:42 from memory, cssu is http://wiki.maemo.org/Community_SSU, or (Community Seamless Software Update) Oct 09 12:05:29 I should probably be running more of the CSSU packages, right now I am running a mix of CSSU packages, stock packages and other things :P Oct 09 12:06:00 that's basically what everybody with CSSU does Oct 09 12:06:10 s/everybody with// Oct 09 12:06:11 DocScrutinizer05 meant: that's basically what CSSU does Oct 09 12:06:11 What Oct 09 12:06:25 what I mean is that some of the packages that exist in CSSU I am running CSSU versions of Oct 09 12:06:29 others I am running stock versions of Oct 09 12:06:42 that's strange Oct 09 12:06:44 and others I am running something else modified that isn't actually in cssu-testing Oct 09 12:06:54 rather I am running a bunch of stuff I compiled myself Oct 09 12:06:59 and not actually running CSSU at all Oct 09 12:07:05 So some things are stock Oct 09 12:07:11 and others are whatever is in CSSU Git Oct 09 12:07:48 which may not be what CSSU is actually shipping (e.g. microb-engine has a fix in it beyond CSSU) Oct 09 12:08:23 I always swap out ISP provided DNS at the router. OpenDNS FTW. Oct 09 12:08:34 I can see why those, but why stock instead CSSU for some? Oct 09 12:09:06 I just happen to not have compiled/installed those at this point Oct 09 12:09:20 lol lazyHAM Oct 09 12:10:53 you're aware that some have very important bugfixes? Oct 09 12:11:15 like what? Oct 09 12:12:14 like a bug in HD with scrilling that makes it bounce up and down zero pixels constantly, cutting through your battery in no time. Or memleaks in system menu stuff etc Oct 09 12:12:28 scrolling* Oct 09 12:12:52 ok, my repo catalog is back where it should be Oct 09 12:12:56 removed the ones BM added Oct 09 12:13:44 now to plug it into the charger and leave it alone for a while :) Oct 09 12:13:58 You would have to compare your versions of all the packages to CSSU, to be sure. Oct 09 12:14:06 you might like my enable-catalogs script ;-) Oct 09 12:14:21 There are CVE's in there that are not just certs. Oct 09 12:15:19 would CSSU-installer / HAM install old CSSU-packages over newer locally installed ones? Oct 09 12:15:55 anyway now that jonwil has BM, he might want to make a backup and then finally install CSSU Oct 09 12:16:06 ;-) Oct 09 12:17:59 That would be down to domains in HAM? Whereas apt would use dpkg -V? Oct 09 12:19:20 ooh, wget http://maemo.cloud-7.de/maemo5/usr/local/sbin/enable-catalogs -O /usr/local/sbin/enable-catalogs && chown root /usr/local/sbin/enable-catalogs && chmod +x /usr/local/sbin/enable-catalogs Oct 09 12:19:49 I am currently running git versions of connui-home-cellular, connui-statusbar-internet, libmaemosec-certman0, libmaemosec0, libnspr4. libnss3-certs. libnss3. libpng12-0. libssl0.9.8. libxml2. maemosec-certman-common-ca. maemosec-certman-tools. mce. microb-engine-common. microb-engine. openssl. osso-systemui-modechange. status-area-applet-battery. zlib1g. wl1251-cal. maemosec-certman-applet.... Oct 09 12:19:51 ...libmaemosec-certman-applet0. connui-conndlgs-wlan. icd2-network-wlan-config amd libicd-network-wlan Oct 09 12:20:06 i.e. current CSSU git of those packages Oct 09 12:20:20 Some are the same version in CSSU-*, others are newer Oct 09 12:20:59 I dont just want to install CSSU Oct 09 12:21:15 I will however look at installing current Git of things like hildon-* though Oct 09 12:26:45 At least now I have BM and an easier way to fix my system should I install another faulty clone package :) Oct 09 12:27:11 yeah, just make backups frequently Oct 09 12:27:20 on uSD Oct 09 12:27:41 do not compress! it''s unbearable Oct 10 01:38:48 ok, finally, I have built everything from CSSU git that makes sense to build and that will compile on my dev VM, now to figure out what to do with all these debs and which ones I should install :) Oct 10 01:39:29 Or maybe I will just go ahead and install CSSU properly :P Oct 10 02:17:11 Time to install CSSU :) **** ENDING LOGGING AT Tue Oct 10 03:00:00 2017