IRC log of #maemo for Thursday, 2018-02-22

*** xy2_ has joined #maemo00:00
*** dafox has quit IRC00:06
*** BitEvil is now known as SpeedEvil00:47
*** florian has quit IRC01:20
*** Pali has joined #maemo01:29
*** xy2_ has quit IRC01:48
*** Pali has quit IRC01:52
*** troulouliou_div2 has quit IRC02:08
timelesshi DocScrutinizer0502:14
DocScrutinizer05hi!02:14
* timeless is continuing adventures in remote server hell02:14
timelessso, i had a mail server, and a backup, the main server was dying, so i switched us to the backup02:14
timelessthe backup was dying, so i rebuilt the main server and switched over02:14
timelessthe main server now runs ubuntu artful02:14
timelessi asked the hosts of the backup to rebuild w/ ubuntu lts, but they couldn't, heck, they couldn't even install their preferred thing, they swapped the chassis and left me w/ centos6.902:15
DocScrutinizer05is ubuntu "artful" what came after "zoomin zebra"?02:15
timelessso, now i have 2 drives, /sda1 = /boot, /sda2 = swap, /sda3 = / (10GB)02:15
timelessi used debootstrap to set up /sdb3 = /mnt (10GB, debian karmic)02:16
timelessand used dd + tunefs to clone + re-uuid /sda1 as /sdb102:16
timelessso, now i have a centos (grub097) which is running, and a karmic which i can use in a chroot02:17
timelessi installed grub-pc (which is apparently grub2) in the karmic chroot02:17
timelessunfortunately, the grub ui / instructions are confusing beyond belief02:17
timelessmy goal is to try to get sdb1's grub to try to boot sdb3's karmic, and if it fails, to boot sda3's centos6902:18
timelessDoes that seem like a reasonable goal?02:18
DocScrutinizer05I think I shouldn't answer that since I don't really know, what I can say is I believe grub has no "when it fails, fallback to..." option02:20
* timeless keeps grumbling about not having `lsblk` in karmic02:20
timelessgrub2 has a fallback option :)02:20
DocScrutinizer05lots of people frowned at grub2. I never really looked into it02:21
timelessyeah, i've played w/ lilo, grub, and grub202:22
timelessthey all suck in various ways, and none of them have great documentation02:23
DocScrutinizer05from own experience I can tell that systemd cost me more time for debugging and "learning" (compensating any supposed saving in boottime and effort to write startup files aka unit files aka initscripts) than the previous 20 years of sysv-init02:24
DocScrutinizer05don't bitch about Lilo!! ;-P Werner Almesberger made it02:25
DocScrutinizer05;-D02:25
* timeless shrugs02:25
DocScrutinizer05hehehe02:25
timelessthey all have flaws02:25
DocScrutinizer05Werner would agree I guess02:25
*** infobot has quit IRC03:22
*** infobot has joined #maemo03:24
*** ChanServ sets mode: +v infobot03:24
timelessdoc: here's my efforts at integrating my centos thing into my ubuntu grub https://www.irccloud.com/pastebin/LriGK6iP/%2Fetc%2Fgrub.d%2F41_linux_centos03:52
*** MartiniMoe has quit IRC03:52
timelessAnd here's what it generated https://www.irccloud.com/pastebin/ZR5MdDWK/%2Fboot%2Fgrub%2Fgrub.cfg03:53
*** MartiniMoe has joined #maemo03:54
*** tm has quit IRC04:36
*** tm has joined #maemo04:39
Juestotimeless: try using a compatible grub version and use the same /boot ?04:43
timelessJuesto: i'm not trying to share a /boot per se04:43
Juestoi mean, what's the thing04:43
timelessi have a system (centos), and i want to boot into an untested ubuntu04:44
Juestoyou should if not already. unless you plan to keep in separate disks in which case just switch boots04:44
timelessif it works, i'm happy, if it fails, i want it to fall back to the other one04:44
Juestothen boot into ubuntu without modifying your centos grub04:44
Juestothen put a if04:44
Juestoand do it manually04:44
timelessmanually? this is a server i have no physical access to04:45
timelessif it doesn't boot, and reboots to the same doesn't boot, i'm screwed04:45
Juestothen set the default to the centos one04:45
Juestoor viceversa04:45
Juestoyou want to change defaults instead04:45
*** Natch has joined #maemo04:45
timelessall i want is something that explains how to get this system to boot once to ubuntu, and if it fails, to boot to centos04:46
Juestowhich grub it is?04:46
timelessthis is 2 (1.97 karmic)04:46
Juestobut then if it boots but then has problems afterwards it's no use to do grub fallbacks04:47
Juestotimeless: see https://serverfault.com/questions/614186/is-there-a-way-to-create-a-one-time-boot-entry-in-grub  https://www.centos.org/forums/viewtopic.php?t=60220 https://askubuntu.com/questions/731830/grub2-fallback-with-14-04-need-how-to04:48
Juestothe former is legacy related but well, its what i looked04:48
timelessYeah, i've read all three of those today (w/in the last couple of hours)04:49
Juestothis too https://help.ubuntu.com/community/Grub2/Troubleshooting ?04:49
Juestoregardless, if you're just testing imo its better to not place a grub entry04:51
timelessthat last one seems useless, i don't have a console04:51
Juestois it not a vps vm?04:52
timelessno, it's a baremetal hosted box04:52
timelessfrom a vendor who doesn't want to host baremetal04:53
Juestoany kind of remote management?04:53
Juestoand this is why you dont test on production servers and such04:53
* timeless nods04:54
timelessright now this is a "nascent" box that was just "barely rebuilt" to have a basic os04:54
Juestoeither have physical access or some form of system remote management04:54
timelessIn the medium term, i'd like to move the box to some other host (probably EC2)04:55
Juestothen do that before attempting any further tests04:55
Juestonote: ##linux is a better place for this. just saying04:56
timelessthe server management options i have are: "reboot", "power on", and "os reload"04:57
Juestosucks04:57
timelessi didn't choose this vendor / solution04:58
timelessthey're pretty awful04:58
timelessand they don't want to support it, they'd rather we use VMs too04:58
Juestoanyways, #centos, #ubuntu04:59
*** pkill9 has joined #maemo05:00
*** _CN_ has quit IRC05:03
*** ceene has quit IRC05:03
*** Wizzup has quit IRC05:31
*** pkill9 has quit IRC06:55
*** Kilroo has joined #maemo06:56
*** spiiroin has quit IRC07:27
brolin_empeytimeless: I thought that karmic is Ubuntu 9.10 Karmic Koala (not LTS), not Debian.07:39
timelessbrolin_empey: oops, yes, ubuntu07:40
timelessi was using it to mean "dpkg/apt based"07:40
timelessand the reason for 9.10 is to have a kernel that's roughly equivalent to centos so that it would bootstrap safely07:41
timelessonce i successfully boot to it, i'm going to distupgrade to the present07:41
timelessspecifically, i'll take it to ubuntu artful, and then when bionic comes along, i'll move over to that and switch to LTS07:42
timeless(assuming this computer lasts that long)07:42
timelessmy only concern is safely booting into it07:42
timelessthe only remote button i have is "reboot"07:42
timelessso, i need grub to be able to: (1) safely boot centos. (2) failing to boot ubuntu, boot centos. (3) boot ubuntu07:43
brolin_empeytimeless: OK.  I used Ubuntu 9.10 when it was current.07:43
brolin_empeyThe concept of change requires time but you are timeless, heh.07:45
timelessI think I used warty hoary breezy dapper edgy feisty gutsy hardy. I don't think I used things from there until perhaps precise07:45
* timeless nods07:46
timeless(and I don't think I used precise much)07:46
timelessyeah, that's about right, because I played w/ ubuntu when I was in California, and a bit @nokia, but mostly I was using OSol / Nexenta, when I went to BB, I justed used macOS/Windows07:48
* timeless is quite comfortable using a time machine07:49
Juesto:)07:49
brolin_empeyIf the universe will eventually die from heat, will anything about which a mortal can possibly care matter in the end?07:49
brolin_empeyA time machine is used to produce Time magazine? ;-)07:52
brolin_empeyDocScrutinizer05: I cannot access http://wiki.openmoko.org/ : the connection times out.  Has the Openmoko infrastructure finally gone offline?07:54
DocScrutinizer05server seems to have intermittent issues07:56
DocScrutinizer05brolin_empey: xouls you /join #openmoko-cdevel please?07:56
DocScrutinizer05could*07:56
brolin_empeyDocScrutinizer05: I could but I only wanted to see if that page said if a Nokia BL-4J or BL-5J battery can be used for the Openmoko GTA02.07:59
DocScrutinizer05I can't manage administrative requests in a OT channel08:03
*** Mek has quit IRC08:06
*** valerius has quit IRC08:06
timelessbrolin_empey: http://web.archive.org/web/20171207075008/http://wiki.openmoko.org/ ?08:08
timeless(time machines are my specialty)08:08
*** Mek has joined #maemo08:19
*** valerius has joined #maemo08:20
brolin_empeytimeless: No, https://web.archive.org/web/20170810141023/http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers .  It does not mention BL-xJ , only BL-xC.08:20
*** valerius has joined #maemo08:21
timeless> Do other BL-5/6C compatible batteries fit?08:22
timeless> If the battery is thicker than BL-6C, you won't be able to close the back cover. Nokia's BL-4C is a bit thinner than the BL-5C so it also fits, but has noticeably shorter battery life.08:22
*** valerius has joined #maemo08:24
*** valerius has joined #maemo08:25
timelesshttp://www.cpkb.org/wiki/Nokia_BL-4J_battery / http://www.cpkb.org/wiki/Nokia_BL-6C_battery ?08:25
*** valerius has joined #maemo08:27
DocScrutinizer05nfc what's wrong with this server08:29
*** spiiroin has joined #maemo08:29
*** ceene has joined #maemo08:29
*** valerius has joined #maemo08:30
*** valerius has joined #maemo08:30
DocScrutinizer05takes aaaaages to load pages, though the load is negligible. Must be HDD08:31
DocScrutinizer05I got no root access, so sorry08:31
*** valerius has joined #maemo08:31
*** _CN_ has joined #maemo08:33
DocScrutinizer05me glares at >> 4840 www-data   20   0  235M 58184  8096 S  0.0  0.4  1:09.34 /usr/bin/python /space/www/admin-trac/cgi-bin/trac.fcgi <<08:33
*** valerius has joined #maemo08:33
DocScrutinizer05and mysql, and some "planet" shit08:34
*** valerius has joined #maemo08:37
*** valerius has joined #maemo08:38
*** valerius has joined #maemo08:40
*** arcean has joined #maemo08:41
*** valerius has joined #maemo08:42
*** Kilroo has quit IRC08:43
*** Wizzup has joined #maemo09:20
*** dafox has joined #maemo09:24
*** jon_y has quit IRC09:25
*** dafox has quit IRC09:36
*** jon_y has joined #maemo09:37
*** dafox has joined #maemo09:38
*** nslu2-log has quit IRC09:39
*** nslu2-log has joined #maemo09:39
*** freemangordon_ has joined #maemo09:45
DocScrutinizer05gosh  http://paste.opensuse.org/2767743309:45
timelessnot bad09:46
* timeless did a resync w/in the last couple of months09:46
DocScrutinizer05but brings the system to a grinding halt09:46
timelesswell, yeah, welcome to mdstat09:46
timelessfrom memory, zfs resilvers are less terrible09:46
DocScrutinizer05wait, dafaq, what??? md2 not mounted?! :-o09:49
DocScrutinizer05is that normal09:50
DocScrutinizer05?09:50
*** dafox has quit IRC09:50
DocScrutinizer05timeless: http://paste.opensuse.org/7123539509:50
DocScrutinizer05md0 missing as well09:51
timelessmaybe09:51
timelesscan you check fstab to see what it would be?09:51
timelesssome things won't mount until they're happy09:51
DocScrutinizer05md0 = swap09:52
timelesswhat is 9fd9385d-b2f8-4a6e-b675-75ddf654ea9b ?09:52
DocScrutinizer05already did check fstab :-)09:52
timelesslsblk --whatevermagic09:52
timelessno, i mean, is it md2?09:52
timelesslsblk --whatevermagic09:53
timelesslsblk -f09:53
timelessfwiw, this is the system i'm using tonight https://www.irccloud.com/pastebin/MKstUbNS/09:54
* timeless hasn't seen reall mpath's before09:54
DocScrutinizer05lol, -f is like --terse here09:55
timelessthe lsblk arguments really vary from version to version09:55
DocScrutinizer05http://paste.opensuse.org/7602812909:55
timelesstry again, findn the flag to get uuids09:55
timelessoh, nevermind09:56
timelessi'm right, md2 = the uuid = /09:56
timelessthese days, it's common to mount / by uuid09:56
timelessso even if it's raid, you wouldn't see it by dev09:56
timelesssome of my office computers have that behavior09:57
DocScrutinizer05and mdfsckme umounts the raid and mounts one sd* instead?09:57
timelesseventually i'm going to rebuild those systems w/ zfs-root and move on w/ life09:57
timelessno09:57
timeless`/` is mounted09:57
timelessit's just mounted by uuid09:57
timelessfor example https://www.irccloud.com/pastebin/WaR8Chl8/fstab09:58
DocScrutinizer05aaah boot mounts a device, no md09:59
DocScrutinizer05of course09:59
DocScrutinizer05well, at least that would be plausible10:00
timelessfwiw, this system here is using lvm, not mdstat, but the same general idea10:00
*** jskarvad has joined #maemo10:00
*** jskarvad has quit IRC10:00
*** jskarvad has joined #maemo10:00
* timeless is too lazy to ssh to an office computer which actually has mdstat for root or boot or whatever10:00
DocScrutinizer05OHMY!  [=================>...]  check = 88.1% (946055296/1073740664) finish=100.8min speed=21101K/sec10:01
DocScrutinizer05meh! [=================>...]  check = 88.3% (948535936/1073740664) finish=34.5min speed=60333K/sec10:02
timelessyeah, the numbers were pretty random for my rebuild10:04
timelesshttps://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/PR-1664/9/pipeline/48/10:04
timelessmy current adventure is typing random bits of java and trying to convince a random builder to build it10:05
timeless(and i do mean that, this computer doesn't have javac, and i'm not going to waste my time setting it up)10:05
timelessIt's a nice computer though! https://www.irccloud.com/pastebin/VOX8scww/10:06
*** zGrr has joined #maemo10:06
zGrr'bry :)10:11
DocScrutinizer05http://paste.opensuse.org/35609304  :-/10:21
DocScrutinizer05swap10:21
*** herekun has joined #maemo10:22
*** geaaru has joined #maemo10:54
*** jon_y_ has joined #maemo11:16
*** jon_y has quit IRC11:17
*** jon_y_ is now known as jon_y11:17
*** Juesto has quit IRC11:22
*** TheKit has joined #maemo11:33
*** NotKit has quit IRC11:36
*** xy2_ has joined #maemo11:52
*** Kabouik_ has quit IRC11:57
*** eMHa has quit IRC12:24
*** eMHa has joined #maemo12:48
*** SmilyOrg has joined #maemo12:49
*** sunshavi has quit IRC12:52
*** sunshavi has joined #maemo12:52
*** Smily has quit IRC12:56
*** KotCzarny_ has joined #maemo12:57
*** till_ has joined #maemo12:57
*** brolin_empey_ has joined #maemo12:59
*** KotCzarny has quit IRC12:59
*** till has quit IRC12:59
*** Linkandzelda has quit IRC12:59
*** esaym153 has quit IRC12:59
*** brolin_empey has quit IRC12:59
*** esaym153 has joined #maemo13:00
*** Linkandzelda has joined #maemo13:00
*** Linkandzelda has joined #maemo13:00
*** esaym has joined #maemo13:25
*** lawl_ has joined #maemo13:27
*** florian has joined #maemo13:27
*** Pali has joined #maemo13:28
*** esaym153 has quit IRC13:34
*** lawl has quit IRC13:34
*** APic has quit IRC13:34
*** APic has joined #maemo13:35
*** pkill9 has joined #maemo14:00
*** pkill9_ has joined #maemo14:02
*** pkill9 has quit IRC14:04
*** LauRoman has quit IRC14:30
*** LauRoman has joined #maemo14:30
*** Juesto has joined #maemo14:31
*** Juesto has joined #maemo14:32
*** pkill9 has joined #maemo15:02
*** pkill9_ has quit IRC15:03
*** xy2_ has quit IRC15:13
*** timeless has quit IRC15:16
*** ecc3g has quit IRC15:16
*** timeless has joined #maemo15:18
*** ecc3g has joined #maemo15:19
*** KotCzarny_ is now known as KotCzarny15:22
*** xy2_ has joined #maemo15:27
*** jskarvad has quit IRC15:40
*** jskarvad has joined #maemo15:56
*** jskarvad has quit IRC15:56
*** jskarvad has joined #maemo15:56
*** lawl_ has quit IRC16:28
*** lawl has joined #maemo16:29
*** arcean has quit IRC16:35
*** brolin_empey_ is now known as brolin_empey16:43
*** spiiroin has quit IRC16:45
*** jskarvad has quit IRC16:47
*** herekun has quit IRC17:07
*** spiiroin has joined #maemo17:09
*** xy2_ has quit IRC17:12
*** jskarvad has joined #maemo17:34
*** freemangordon_ has quit IRC17:41
*** eMHa has quit IRC17:41
*** pkill9 has quit IRC17:47
*** pkill9 has joined #maemo17:52
*** eMHa has joined #maemo18:26
*** florian has quit IRC19:16
*** sunshavi has quit IRC19:25
*** zGrr has quit IRC19:33
*** sunshavi has joined #maemo19:38
*** sunshavi has quit IRC19:48
*** xy2_ has joined #maemo19:48
*** TheKit has quit IRC19:53
*** TheKit has joined #maemo19:55
*** sunshavi has joined #maemo19:55
*** geaaru has quit IRC20:19
*** sunshavi has quit IRC20:22
*** sunshavi has joined #maemo20:30
*** florian has joined #maemo20:52
*** jskarvad has quit IRC21:06
*** herekun has joined #maemo21:09
*** xy2_ has quit IRC21:21
*** xy2_ has joined #maemo21:38
*** Wizzup has quit IRC21:43
*** Wizzup has joined #maemo21:44
*** Wizzup has quit IRC21:53
*** Wizzup has joined #maemo21:54
*** NotKit has joined #maemo22:25
*** TheKit has quit IRC22:29
*** Wizzup has quit IRC22:34
*** pkill9 has quit IRC22:39
*** Wizzup has joined #maemo22:40
*** pkill9 has joined #maemo22:43
*** Kabouik has joined #maemo22:58
*** florian has quit IRC23:19
*** florian has joined #maemo23:32
*** florian has quit IRC23:36
*** herekun has quit IRC23:40
*** florian has joined #maemo23:51
freemangordon~ping23:57
infobot~pong23:57

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!