--- Log opened Thu Apr 23 00:00:19 2015 | ||
stekern | olofk: I wish you could refrain from being so politically incorrect ;) | 05:38 |
---|---|---|
olofk | I have a weird emacs problem. When I'm at the office, it can take up to a minute to launch, but when I'm at home it's more or less instant. I _think_ it's some kind of network problem, like slow DNS server or something, but haven't got a clue how to work around it. | 06:24 |
olofk | stekern, dalias : Regarding the problems with musl, linux-headers and busybox. What is The Right Way (tm) to fix this? Could we solve it by only patching busybox, or will we need hacked kernel headers also? | 06:29 |
ams | olofk: check what localhost resolves to | 06:34 |
olofk | ehhm... how to I do that? | 06:37 |
ams | cat /etc/hosts | 06:39 |
olofk | 127.0.0.1localhost | 06:39 |
olofk | ::1localhost | 06:39 |
ams | hmm.. looks fine | 06:39 |
ams | strace? | 06:39 |
olofk | Could it help perhaps to remove the ipv6 entry? Don't have ipv6 compiled at all | 06:39 |
olofk | strace produces like a mile of logs. Haven't investigated further | 06:40 |
ams | well, i was thinking if it stoped where it hanged for a bit .. | 06:41 |
ams | that could lead to some stuff .. | 06:41 |
ams | try emacs -Q? maybe your .init .. | 06:41 |
olofk | yes, emacs -q helps a bit | 06:41 |
ams | "a bit"? | 06:41 |
olofk | IIRC it was a bit faster, but still a bit slow. | 06:42 |
olofk | recvfrom(4, "L\323\201\202\0\1\0\0\0\0\0\0\vsamanthafox\0\0\34\0\1", 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("10.112.0.11")}, [16]) = 29 | 06:43 |
olofk | poll([{fd=4, events=POLLIN}], 1, 4941 | 06:43 |
olofk | It hangs there for a while | 06:43 |
ams | hmm... what is 10.112.0.11? | 06:43 |
olofk | I think that's YOUR MAMA! | 06:43 |
ams | oh? | 06:43 |
olofk | Or the company nameserver | 06:44 |
olofk | Probably the second alternative | 06:44 |
ams | emacs -q is still slow though? | 06:44 |
olofk | It faster, but it takes a while after these lines | 06:45 |
olofk | recvfrom(4, "L\323\201\202\0\1\0\0\0\0\0\0\vsamanthafox\0\0\34\0\1", 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("10.112.0.11")}, [16]) = 29 | 06:45 |
olofk | poll([{fd=4, events=POLLIN}], 1, 4941 | 06:45 |
olofk | no. | 06:45 |
olofk | pselect6(4, [3], [], NULL, {0, 999999094}, {NULL, 8} | 06:45 |
olofk | That one | 06:45 |
ams | does it loop? | 06:45 |
ams | like multiple pselects .. | 06:46 |
olofk | That might actually be some gtk thing. I get those when I move the mouse over the window | 06:46 |
ams | ah | 06:46 |
ams | ok | 06:46 |
olofk | Looks like emacs -q also waits for the nameserver | 06:47 |
ams | hwat does M-x emacs-init-time say? | 06:47 |
ams | maybe the nameserver is slow? | 06:47 |
ams | what about the hostname of the machine? | 06:47 |
ams | is it in /etc/hosts? | 06:47 |
ams | i know that could cause issues .. | 06:47 |
olofk | I'm still not totally ok that my text editor takes a minute to start because the DNS server is slow. | 06:47 |
ams | resolving olofk-big-beard-machine to a ip | 06:48 |
ams | olofk: well, it sounds .. kinda as if an incorrectly setup machine | 06:48 |
olofk | She's called samanthafox and she's using dynamic IP | 06:48 |
ams | 10.112.0.11 doesn't happen to be that ip? | 06:48 |
olofk | No matter how incorrect my network is set up. It *still* shouldn't affect the startup of my text editor | 06:48 |
ams | of course it should, and it will.. emacs needs to know stuff | 06:49 |
olofk | Nope. .11 is the nameserver. I got .223 | 06:49 |
olofk | what stuff? | 06:49 |
ams | and send it to the RMS organisation.. | 06:49 |
olofk | lol | 06:49 |
ams | olofk: your .. ~/.hidden folder | 06:49 |
olofk | emacs-init-time say 1.2 seconds. That's so not true | 06:49 |
ams | and those kitten pictures you send to stekern. | 06:50 |
olofk | hey! Those were private | 06:50 |
ams | hmm.. | 06:50 |
ams | so it works on another box, just fine, and here it does not. | 06:50 |
ams | no clue man .. | 06:52 |
ams | maybe try it in batch mode and see if you can figure it out that way? | 06:54 |
olofk | I found plenty of articles about this issue now | 06:55 |
ams | oh? | 06:55 |
olofk | Still haven't found anyone who can tell me why the hell emacs need to know my hostname | 06:55 |
olofk | https://groups.google.com/forum/#!topic/comp.emacs/eD_gMWilwWg | 06:55 |
olofk | for example | 06:55 |
ams | *** Emacs startup on GNU/Linux systems (and possibly other systems) is slow.olofk: | 06:57 |
ams | This can happen if the system is misconfigured and Emacs can't get the | 06:57 |
ams | full qualified domain name, FQDN. You should have your FQDN in the | 06:57 |
ams | 127.0.0.1localhost | 06:57 |
ams | 129.187.137.82nuc04.t30.physik.tu-muenchen.denuc04 | 06:57 |
ams | The way to set this up may vary on non-GNU systems. | 06:57 |
ams | woops | 06:58 |
olofk | Yeah, I'm trying to figure out how to set up this FQDN thing | 06:59 |
ams | samanthafox 127.0.0.1 | 06:59 |
ams | in hosts? | 06:59 |
olofk | I could try that | 07:00 |
olofk | Just read that " Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1 # should NEVER be named with the name of the machine. It causes problems # for some (stupid) programs, irc and reputedly talk" | 07:00 |
ams | hm.. | 07:01 |
ams | well, you should atleast see that samantha resolves to whatever it should resolve to .. | 07:01 |
olofk | Should the name and ip be like that, or should it be 127.0.0.1 samanthafox ? | 07:02 |
ams | hmm. | 07:03 |
ams | good one. | 07:03 |
ams | i don't have anything in my hosts.. | 07:03 |
olofk | what does hostname and hostname -f say? | 07:04 |
ams | hydrogenium | 07:04 |
ams | for both | 07:04 |
ams | ping hydrogenium works | 07:04 |
olofk | hostname -f ==> hostname: Host name lookup failure | 07:05 |
olofk | hostname says samanthafo | 07:05 |
olofk | x | 07:05 |
stekern | ams: you mean this? http://gooby.naurunappula.com/org/96/ef/96ef0936376827bc/0/1261457.gif | 07:09 |
ams | maybe fix the fqdn? | 07:09 |
ams | stekern: no.. | 07:09 |
olofk | 127.0.0.1 samanthafox in my /etc/hosts solved the problem | 07:18 |
ams | maybe check your dns server so that ghets fixed automatically? | 07:23 |
olofk | ok. I fixed it for now, but I probably need to wireshark the traffic to see what I'm sending to the dhcp server and what I get back | 07:38 |
dalias | olofk, need to see the specific failure | 09:08 |
olofk | dalias: Don't have the details now, but it was something about ethaddr_t being redeclared, and the headers from sabotage-linux fixes it | 10:09 |
dalias | i thought most/all such issues were fixed on the busybox side now | 10:12 |
olofk | dalias: I tried latest (0.22.3?) | 10:12 |
dalias | it might just be in an applet i don't use | 10:12 |
olofk | true. If you have a known working busybox config, I could try to use that | 10:13 |
olofk | But from your answer I assume that it should be possible to fix this by just changing busybox | 10:14 |
olofk | 1.23.2 is the busybox version I tried btw | 10:24 |
olofk | wow.. someone on the OpenCores forum is asking about some GCC changes he sees when upgrading to 4.9.2 from 3.4.4 | 11:15 |
Hesham | olofk: How much is some? | 11:17 |
olofk | hesham: http://opencores.org/forum,OpenRISC,0,5644,0#1429762067 | 11:21 |
olofk | I'm impressed that gcc 3.4.4 produces any code at all | 11:24 |
olofk | I realized that IP-Xact isn't as good idea as I had hoped. Forgot that xml is an unordered mess that is almost as bad as binaries when it comes to version control | 11:58 |
olofk | At least when you let tools do the xml for you | 11:59 |
stekern | mmm, it's a human readable format that's not readable by humans | 12:19 |
olofk | I've just added an option to FuseSoc that I should have done years ago | 19:14 |
olofk | FuseSoC now rebuilds the simulation models by default, instead of having to pass --force all the time | 19:15 |
olofk | And --keep prevents rebuilding | 19:15 |
--- Log closed Fri Apr 24 00:00:20 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!