libera/#maemo/ Tuesday, 2018-06-26

OksanaAfter installing python2.7, pyversions -i (or -s) still gives only python2.505:19
DocScrutinizer05how would pyversions know which versions are installed?06:36
DocScrutinizer05not that it couldn't tell, but prolly knowing how it works helps spotting the "problem"06:38
brolin_empeyIt occurs to me that fax and SMS and maybe even Telex can be considered a form of electronic mail.08:22
KotCzarnymessaging. mail is also a form of messaging08:22
brolin_empeyYes.08:23
brolin_empeyHas the “People’s Republic of China” truly had USA DARPA Internetwork connectivity only since 1994, like Wikipedia says?08:25
MaxdamantusPresumably you could always have just used dial-up.08:30
Maxdamantus(using a service provider in a different country, if none existed within China)08:31
brolin_empeyThe .tw WHOIS server says that some .tw domain names, at least asus.com.tw , have existed since the 1980s, which suggests that the Republic of China had USA DARPA Internetwork connectivity before both the World Wide Web existed (project was proposed in 1989) and before the PRC had USA DARPA Internetwork connectivity.08:32
MaxdamantusWikipedia says: > China has been on the internet intermittently since May 1989 and on a permanent basis since 20 April 1994.08:32
MaxdamantusI don't think that's particularly late tbh08:33
KotCzarnytaiwan != china (especially in 90s)08:33
MaxdamantusYeah, but he's talking about China, not Taiwain08:34
MaxdamantusTaiwan = Republic of China08:34
MaxdamantusChina = People's Republic of China08:34
KotCzarnybut it was special case08:34
Maxdamantusunless he misspoke.08:34
KotCzarnythey had some independence08:34
KotCzarnythat's why in 90s taiwan != china08:34
MaxdamantusApparently internet was only in this country (New Zealand) in 1989 too.08:36
Maxdamantusat a particular university, not available in general.08:36
Maxdamantusbut in any case, we still had phonelines, so people could have dialed up themselves to offshore ISPs beforehand.08:37
brolin_empeyMainland China was the original Republic of China from 1912 to 1949, when mainland China became the People’s Republic of China and Taiwan became the current Republic of China.08:39
KotCzarnyyes, but it still had some independence till some event in 90s/early 200008:40
Maxdamantuswhen you say "The Republic of China", do you mean by name, or by some other sort of identity of the people in control?08:40
MaxdamantusI'm not particularly familiar with the history, but statements like that seem kind of vague. Presumably it should involve something more than which government used which name.08:42
KotCzarnyHowever, references to the province is now rare since the Taiwan Provincial Government has largely been dissolved and its functions transferred to the central government or county governments since 199708:43
KotCzarnyso, as i've said, till '97 it was a province of china, but rules were more lax then08:44
buZzha, just got someone excited for maemo/n90008:49
buZz(said person was planning to get a android phone to do -development- on it)08:50
brolin_empeyMaxdamantus: By name.  The original Republic of China, governed by the Kuomintang and led by Chiang Kai-shek, lost the Chinese Civil War to the Communist Party of China, led by Mao Tse-tung, who established the People’s Republic of China in mainland China in 1949, which is why 1949‑10‑01 is National Day in the PRC.  The Kuomintang fled to Taiwan and established Taiwan as the current Republic of China.  The PRC has never controlled Taiwan.  The ROC08:55
brolin_empeycontinued to represent “China” in the United Nations until 1971, when the ROC lost its seat to the PRC.  Since then, Taiwan/ROC is the both the largest country by population and the largest economy outside of the UN.08:55
brolin_empeyThe One China Policy is the party line of the PRC.09:02
brolin_empeybuZz: The Nokia N900 can somewhat run Android as the host OS and some computers that ship with Android can also somewhat run GNU+Linux as the host OS.  Even the Nexus One from 2010 can run Debian GNU+Linux as the host OS but without cellular telephony capability when I last checked years ago.09:26
buZzbrolin_empey: thats a huge benefit09:26
buZznonworking cellular a) makes battery lasts longer b) increases privacy of the device09:27
buZzand c) prevents harrassment while working on something09:27
KotCzarnyjust buy a tablet?09:27
buZzKotCzarny: no clue what you're saying09:27
KotCzarnyandroid without cellular09:27
buZzwhich maemo tablet are you talking about?09:27
buZzi dno why we're discussing android?09:27
buZznobody wants android at all09:28
KotCzarnyit has its uses09:28
buZzbeside alarmclock , i havent found any use for android09:29
buZzbut sure, if you wanna lower standards to it, you can09:29
KotCzarnytv boxes09:29
buZzkodi runs on linux just fine09:29
KotCzarnyas long you have cpu power or hw accelerated decoding09:30
buZzsure, like a raspi109:31
KotCzarnyi like oranges09:31
brolin_empeybuZz: I did not say without cellular connectivity, I said without cellular telephony capability.  It may have working cellular data connectivity.09:34
buZzbrolin_empey: thats horrible :P09:34
ceeneis there anyway to look at serial console output, messages from the kernel, etc, from an ssh connection?12:26
KotCzarnycat /proc/kmsg ?12:27
KotCzarny(about kernel messages)12:27
ceenethat may be good enough12:28
ceenethanks!12:28
ceenei have a remote thing that is oopsing12:28
ceene2.6.34 kernel, modern as it comes12:28
KotCzarnymaybe ttylog too12:29
KotCzarnyie. ttylog tty12:29
ceenei'd rather not have to install anything else12:30
ceeneembedded systems are a pain in the ass12:30
KotCzarnymaybe it's already installed12:30
KotCzarnyor available in busybox12:30
ceenenope12:31
KotCzarnyalso: t=`tty`; setconsole $t12:31
KotCzarnyhttp://old.easyco.com/easydocs/linux/man/man8/setconsole.htm12:32
ceenei don't have setconsole even on my pc12:32
KotCzarnymight be what you need12:32
ceene /proc/kmsg may be enough12:33
ceenenow i need to be able to trigger this oops on command12:33
ceenebecause up to now seems completely random12:33
KotCzarnyin slackware: ./a/kbd-1.15.3-i586-4.txz: /usr/bin/setconsolefont12:33
KotCzarnyerm. wrong12:33
KotCzarnyscratch the last comment ;)12:33
ceenelol12:33
KotCzarnyyou are right, it might be either very old command or rh specific12:34
KotCzarnycat /dev/console might be also a trick12:35
KotCzarnyeasiest to trigger kernel output is swapon/swapoff12:36
ceenethere's no swap on this thing :)12:36
KotCzarny8MB swapfile ?12:37
ceenena12:37
ceenei'll wait and see what happens with /proc/kmsg12:37
ceenei have a remote person too, who can provide me logs when required12:37
ceenebut i didn't want to bother him12:37
ceeneso i'm bothering you :D12:37
KotCzarnynot bothering at all12:38
ceenethis oops is also ancient12:38
KotCzarnywriting some script so i can multitask12:38
ceenenowadays oopses are more verbose12:38
ceenei don't understand a thing12:38
KotCzarnydepends on kernel options12:38
KotCzarnyusually i only understand which module it occured12:38
ceeneit's telling me that it occured on one task that is a program i wrote12:39
ceenebut at the moment of the oops, this program is only doing mathematical calculations12:39
KotCzarnyoh, right, dividing by 0 in c program might also trigger oops12:39
KotCzarny:)12:39
ceeneand shm read/write access12:39
ceenewell, dividing by 0 segfaults, not oops12:40
KotCzarnyhmm, right12:40
ceenedoesn't segfault either, does it?12:40
ceenesimply crashes the process12:40
ceenebut not the kernel12:40
ceeneit also complains Kernel panic - not syncing: Fatal exception in interrupt12:40
KotCzarnyunless it's a kernel module12:40
ceeneso i'm not sure if the problem is inside an interrupt service routine12:40
KotCzarnymight be simply corrupting memory12:40
ceeneor if it's just a consequence of the oops12:40
ceeneUnable to handle kernel paging request for data at address 0x0000000012:41
ceeneFaulting instruction address: 0x400155b012:41
ceeneOops: Kernel access of bad area, sig: 11 [#1]12:41
ceenethere's some null dereferencing12:41
ceenethat's clear12:41
KotCzarnyYUP12:41
KotCzarnysegv in kernel code results in oops12:41
ceenebut where is it? I mean, I think I know which kernel module would be at fault, because this platform uses a driver written by the company that provides us the hardware12:41
ceeneso i guess it's their fault12:42
KotCzarny:>12:42
KotCzarnyquality vendor code12:42
ceenebut where in the hell that is that piece of code lies the problem? that's a mistery12:42
KotCzarnybinary too?12:42
ceeneno, at least i have the source12:42
KotCzarnyrecompile with lots of printk12:42
KotCzarnyor use kgdb12:42
ceene  76513 total12:43
ceenethat's quite a few lines to read12:43
KotCzarnyfor a start add printk("%s\n",__func); in ever function start12:44
KotCzarny;)12:44
KotCzarnys/__func/__func__12:44
ceenefirst i'm trying to make the oops repeatable12:44
ceeneif I had to guess, i'd say it should be due to the dma functions12:46
ceenebecause that's the only thing that is happening: lots of dma transfers to userspace12:46
ceenebut, who knows what else is it doing on the background12:46
KotCzarnyjust add printk i've mentioned to every function with some sed12:47
ceenebut that's not going to serve much if i don't know how to make it crash12:47
ceeneit may happen today, or maybe tomorrow12:47
ceenei need to make it happen fast enough12:47
KotCzarnycheck logs around time it happened12:47
KotCzarnymaybe there will be some clue12:48
ceenenope, nothing12:48
ceenereading the Call Trace and looking at System.map, I may know where's the origin13:00
ceeneit may be some access to a strange serial device13:00
ceeneso i'm forcing lots of read/writes through that device, to see if something happens13:00
ceenegonna have lunch meanwhile, let's see if it breaks then13:01
ceenenothing happened14:25
ceenegrrr14:25
DocScrutinizer05brolin_empey: AFAIK Taiwan was totally unrelated and almost at war with mainland China until maybe 20 or 30 years ago. Now they have somewhat better standing with each other but still are two totally separate states15:28
DocScrutinizer05who represented China in UN is another highly intriguing topic15:29
DocScrutinizer05Taiwan basically is under protectorate of USA15:29
DocScrutinizer05there were times when there were MEGA speakers on the common costline, to bridge the several seamiles with mere sound and annoy the opponent15:31
DocScrutinizer05iirc15:31
Wizzupthis was true for korea until a few weeks ago15:31
DocScrutinizer05yeah15:31
DocScrutinizer05they have a common land vorder though15:32
DocScrutinizer05border15:32
DocScrutinizer05~wp taiwan15:32
DocScrutinizer05~wiki taiwan15:32
infobotAt https://en.wikipedia.org/wiki/Taiwan (URL), Wikipedia explains: "{{other uses}} {{redirect|Republic of China|the People's Republic of China|China|other uses|Republic of China (disambiguation)}} {{pp-move-indef|small=yes}} {{pp|small=yes}} {{short description|State in East Asia}} {{EngvarO|date=December 2016}} {{Use dmy dates|date=August 2017}} {{Infobox country | conventional_long_name = Republic of China | common_name = Taiwan | native_name = ...15:32
DocScrutinizer05"recently" a president or governor or whatever been elected in Taiwan who followed a strong policy of "one China" in some way, and that led to quite some turmoil15:40
DocScrutinizer05to call mainland and Taiwan one country is almost like back when you would have called GDR and Western Germany one country15:43
bencohceene: don't you get a stack trace when your kernel segv?16:06
ceenebencoh: yes, I was missing the fact that this kernel is compiled without CONFIG_KALLSYMS16:08
ceeneso the backtrace was pretty useless16:08
ceenebut I found the matching System.map file16:08
ceeneso now I know which driver is responsible, this seem to be triggered by the IRQ service routing of a strange serial driver16:09
ceenebut I haven't been able to replicate it at will16:09
ceenei'm stresssing that serial port as a bitch, with no oops16:09
DocScrutinizer05https://en.wikipedia.org/wiki/File:101.portrait.altonthompson.jpg  www.linkedin.com/in/joerg-reisenweber  ;-)16:14
DocScrutinizer05ugh what? linkedin doesn't show my profile to non-"members"?16:16
bencohdepends on the profile16:18
bencohbasically that's configurable iirc16:19
DocScrutinizer05bencoh: so can you visit http://www.linkedin.com/in/joerg-reisenweber ?16:43
DocScrutinizer05aaaand are you a linkedin victim?16:43
bencohDocScrutinizer05: it asks me to join16:45
DocScrutinizer05that's what I ranted about16:45
bencohDocScrutinizer05: and I do have a linkedin profile16:45
bencohyeah :)16:46
DocScrutinizer05aaah so maybe only for members16:46
bencohyou can set it to be public as well if you want (or so I recall)16:46
DocScrutinizer05I did16:46
bencohhmm, strange then16:46
bencohwait, maybe they changed their policy16:47
bencoheven supposedly public, google-indexed profiles still redirect to that page16:49
bencoh(say, torvalds, for instance)16:49
DocScrutinizer05and proxy on startpage gets 40317:06
bencohproxy?17:10

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!