Re: [HelenOS-devel] [HelenOS-commits] [mainline] r2351 - The async_futex must also be held during FIBRIL_FROM_DEAD.

2015-06-16 Thread Jakub Jermář
It can be both, but the fibril which calls async_manager() is not going to be of any use anymore. It can either linger there or be considered dead. With FIBRIL_FROM_DEAD, the async framework will attempt to free some of the resources. Jakub Odesláno z iPhonu 16. 6. 2015 v 16:32, Martin Decky

Re: [HelenOS-devel] 92nd HelenOS project meeting

2016-06-08 Thread Jakub Jermář
I made a reservation for four in Gao Den[0], starting at 19:00 in Stodulky [1]. [0] http://gaoden.cz/ [1] http://gaoden.cz/kontakt/?lang=EN See you tomorrow, Jakub On 06/06/2016 09:48 AM, Jakub Jermář wrote: > Hi! > > The 92nd HelenOS project meeting will take place on Thursday

[HelenOS-devel] 92nd HelenOS project meeting

2016-06-06 Thread Jakub Jermář
Hi! The 92nd HelenOS project meeting will take place on Thursday of June 9, shortly after 19:00 somewhere in Prague, Czech Republic. Please let me know whether you plan to come so that I can make a reasonable reservation, no later than by Wednesday morning. Also, do let me know whether you have

Re: [HelenOS-devel] 92nd HelenOS project meeting

2016-06-08 Thread Jakub Jermář
On 06/08/2016 11:13 AM, Jiri Svoboda wrote: > I will probably not make it. Not saying 100% not, but probably not. Should we do a hangout instead? Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

[HelenOS-devel] Minutes of the 92nd HelenOS project meeting

2016-06-10 Thread Jakub Jermář
What: 92nd HelenOS project meeting When: June 9, 2016 Where: Gao Den restaurant, Prague Who: MD, VH, JJ, JS (remotely) Scribe: JJ HelenOS Camp 2016 - the date is Aug 27 - Sep 2 - location TBD - please let us know if you'd like to participate MD: - hosting for ci.helenos.org - tried

Re: [HelenOS-devel] Memory leak patch

2016-06-17 Thread Jakub Jermář
Hi Manuele, On 06/16/2016 12:01 PM, Manuele Conti wrote: > I try to fix a memory leak in dnsr_name2host function. Also I found a > missing call to async_forget and I fixed. > Let me know. I integrated this in mainline,2523. 2524 fixes another issue with str_dup(). Thanks, Jakub

[HelenOS-devel] Dynamically linked apps hang on async_futex in __main()

2016-02-23 Thread Jakub Jermář
Hi, after fixing the dynamically-linked build I noticed that the boot process hangs upon executing klog, i.e. the first dynamically-linked app. After some investigation, I found that for some reason the async futex is held at the entry to __main(), which causes the system to hang on futex_down()

Re: [HelenOS-devel] Service management thesis defended

2016-02-23 Thread Jakub Jermář
On 02/08/2016 11:08 AM, Martin Decky wrote: > The available implementation is a proof-of-concept which is unsuitable > for upstream merging in its current state (there are many rough edges > and some regressions), but I think that some parts of the code are worth > cherry-picking and the rest

Re: [HelenOS-devel] Ticket #466

2016-02-18 Thread Jakub Jermář
Hi Aurelio, On 02/18/2016 12:58 PM, Aurelio Colosimo wrote: > my name is Aurelio Colosimo, from Milan, Italy. I work as an embedded > software consultant and in my spare time I'd like to help HelenOS > project. As Martin Decky suggested me, I'd like to work on ticket #466, > "Command-specific tab

Re: [HelenOS-devel] Ticket #466

2016-03-01 Thread Jakub Jermář
On 02/29/2016 03:47 PM, Aurelio Colosimo wrote: >> The merge directive works as expected, your change history is in there >> :-) The coding standard looks good too, with two nits: >> >> +NO_TRACE static const char *cmdtab_enum(const char *name, >> +const char **h, void **ctx) >> { >> +

Re: [HelenOS-devel] FYI: microkernel.info community site

2016-03-14 Thread Jakub Jermář
Hi Vasily, On 03/14/2016 09:00 AM, Vasily A. Sartakov wrote: > this is a good initiative, I like it. > > Also, it seems to me, the content of the site can be enhanced by > getting-started matherials of relevant projects, or (I prefer), MOOC project > about microkernels with basics, history,

Re: [HelenOS-devel] Ticket #466

2016-03-09 Thread Jakub Jermář
Hi Aurelio, On 03/08/2016 04:56 PM, Aurelio Colosimo wrote: > I just pushed my working branch on Launchpad, you can get it here: > > bzr branch lp:~aurelio-x/helenos/kcon-devel > > I hope I fixed all the whitespaces, and I made a correction to fix the > strange behaviour when tabbing 'zone'

Re: [HelenOS-devel] memory leak in driver.c

2016-03-16 Thread Jakub Jermář
Hi Manuele, On 03/16/2016 09:44 AM, Manuele Conti wrote: > I found a memory leak in driver.c. I'm using a software tool to catch, > and I already found some errors like this. > Can I send a mail for each? committed in mainline,2435. Thanks for contributing the fix. FYI, I declared you as its

Re: [HelenOS-devel] 91st HelenOS project meeting

2016-03-13 Thread Jakub Jermář
Hi Jiri, On 03/12/2016 08:53 PM, Jiri Svoboda wrote: > Hi all, > > the meeting on Thursday was canceled due to low attendance. We thought > about rescheduling it to Thursday next week (March 17). But Jakub tells > me he won't be able to attend in person next Thursday either, but he > could be

Re: [HelenOS-devel] Fix memory leak about mkmfs util

2016-03-30 Thread Jakub Jermář
On 03/30/2016 03:54 PM, Jan Vesely wrote: > On Wed, 2016-03-30 at 13:21 +0200, Manuele Conti wrote: >> Hi All, >> I found a memory leak in a mkmfs util and I try to fix it. > > free() is NULL safe (C std 7.20.3.2, and also in HelenOS > uspace/lib/c/generic/malloc.c:972). doing: > > if (p) >

[HelenOS-devel] HelenOS irregular hangout #23

2016-04-12 Thread Jakub Jermář
There is going to be our twenty-third G+ hangout on Thursday evening of Central European Time. I have just sent out invitations for the hangout. If you are not invited and think that you should be (or vice versa), please send me a private message. Jakub

Re: [HelenOS-devel] Patch: Avoid segfault in nic driver

2016-03-19 Thread Jakub Jermář
Hi Manuele, On 03/18/2016 10:17 AM, Manuele Conti wrote: > Hi all, > I found a bug in nic_query_address function when a NULL is passed to > nic_data parameter. I try to fix it, let me know what do you think. The caller should not pass NULL in nic_data in the first place. If it does, it should

Re: [HelenOS-devel] Fix a memory leak in remote_ahci_get_sata_device_name

2016-03-19 Thread Jakub Jermář
On 03/16/2016 02:24 PM, Manuele Conti wrote: > Hi all, > I found a missing check about malloc fault and memory not deallocated. Thanks, committed in mainline,2439. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

[HelenOS-devel] Minutes of the HelenOS irregular hangout #22

2016-03-20 Thread Jakub Jermář
MD: - tools/ew.py: create disk even for msim - fixed emulation of WAIT instruction in msim - web - RISC-V - Red flag: wiki documentation is out of date JJ: - GSoC preparations, still trying to push one ticket with BeagleBoard - new web design: integration of helenos.org with trac.helenos.org -

Re: [HelenOS-devel] Ticket #466

2016-03-20 Thread Jakub Jermář
Hi Aurelio, On 03/16/2016 10:36 AM, Aurelio Colosimo wrote: > A follow up about command tab completion. > > In my branch: > > bzr branch lp:~aurelio-x/helenos/kcon-devel > > I just pushed a couple of patches (2435 and 2436) which fixes the count > on arguments number as described in my

Re: [HelenOS-devel] memory leak vbd source

2016-04-04 Thread Jakub Jermář
Hi Manuele, On 04/04/2016 11:28 AM, Manuele Conti wrote: > I found a memory leak about vbds_get_disks_srv function in vbd.c source. > My fix is attached. Fixed in mainline,2447. Thanks! Jakub ___ HelenOS-devel mailing list

Re: [HelenOS-devel] Remove leak in tcp_pdu_encode

2016-03-30 Thread Jakub Jermář
Hi Manuele, On 03/29/2016 12:10 PM, Manuele Conti wrote: > I found a memory leak in tcp_pdu_encode function and I try to fix it. I fixed this in mainline,2443 along with another leak and a missing check for failed tcp_header_encode(). Thanks, Jakub

Re: [HelenOS-devel] Duplicate include header

2016-03-29 Thread Jakub Jermář
Nice, integrated in mainline,2441. Thanks, Jakub On 03/29/2016 10:32 AM, Manuele Conti wrote: > Hi all, > I write a patch to remove duplicate include header. This is not a bug > but only a "cosmetic" changes. > Best regards, > Manuele > > > ___ >

Re: [HelenOS-devel] (no subject)

2016-03-29 Thread Jakub Jermář
Integrated in mainline,2442. Thanks, Jakub On 03/29/2016 11:53 AM, Manuele Conti wrote: > remove a memory leak when tcp_pdu_create procedure fails ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel

Re: [HelenOS-devel] Fix memory leak about mkmfs util

2016-04-02 Thread Jakub Jermář
Hi Manuele, On 04/01/2016 09:13 AM, Manuele Conti wrote: > this is my patch file without check null pointer before free call. Fixed in mainline,2444. Thanks, Jakub > > Cheers, > Manuele > > > 2016-03-30 13:21 GMT+02:00 Manuele Conti

[HelenOS-devel] MIPS builds broken

2016-04-20 Thread Jakub Jermář
Hi Jiri, Looks like mainline,2461 broke the MIPS builds: revno: 2461 committer: Jiri Svoboda branch nick: main-clone timestamp: Tue 2016-04-19 19:04:15 +0200 message: __IN_SHARED_LIBC__ is not needed. diff: === modified file 'uspace/lib/c/generic/libc.c' ---

Re: [HelenOS-devel] fix vfs_ops bug

2016-04-25 Thread Jakub Jermář
Integrated in mainline,2471. Thanks! Jakub On 04/22/2016 01:59 PM, Manuele Conti wrote: > Hi All, > I found a bug in vfs_open function. > It is not correctly handled the returned NULL value by vfs_node_get. > My patch is attached, let me know. > > Best regards, > Manuele > > >

Re: [HelenOS-devel] Fix cmd_mkfile

2016-04-25 Thread Jakub Jermář
Integrated in mainline,2470. Thanks! Jakub On 04/22/2016 12:53 PM, Manuele Conti wrote: > Hi all, > I found two possible bug in cmd_mkfile: > - File not closed > - Memory not deallocated > > Patch is attached. Let me know. > > Best regards, > Manuele > > >

[HelenOS-devel] 91st HelenOS project meeting

2016-05-09 Thread Jakub Jermář
Hi! The 91st HelenOS project meeting will take place on Thursday of May 12, shortly after 19:00 somewhere in Prague, Czech Republic. Please let me know whether you plan to come so that I can make a reasonable reservation, no later than by Wednesday morning. Also, do let me know whether you have

Re: [HelenOS-devel] 91st HelenOS project meeting

2016-05-11 Thread Jakub Jermář
Ok, see you tomorrow at 19:00 at Zubajda. Jakub On 05/09/2016 10:37 AM, Jakub Jermář wrote: > Hi! > > The 91st HelenOS project meeting will take place on Thursday of May 12, > shortly after 19:00 somewhere in Prague, Czech Republic. Please let > me know whether you plan to com

[HelenOS-devel] Minutes of the 91st HelenOS project meeting

2016-05-13 Thread Jakub Jermář
What: 91st HelenOS project meeting When: May 12, 2016, 19:00 Where: Zubajda pub in Prague Who: VH, JJ, MD, JS Scribe: JJ Round table: VH: - was looking at some of the JM's harbours (port of QEMU) - told us about the new CI page for the second time: http://helenos.alisma.cz/ci/ - has

[HelenOS-devel] Minutes of the HelenOS irregular hangout #23

2016-04-14 Thread Jakub Jermář
MD: - Heads-Up: helenos.org server maintenance this weekend JJ: - integrated Manuele's fixes - lp:~jakub/helenos/sys-tls-set-removal branch to get rid of SYS_TLS_SET - incremental introduction of abi/asmtool.h macros to ia32 and amd64 - arm32 in prgress, others to follow soon -

Re: [HelenOS-devel] MIPS builds broken

2016-04-21 Thread Jakub Jermář
kub > > Cheers, > Jiri > > > Od: Jakub Jermář > > > Hi Jiri, > > Looks like mainline,2461 broke the MIPS builds: > > revno: 2461 > committer: Jiri Svoboda <jiri@wiwaxia> > branch nick: main-clone >

[HelenOS-devel] HelenOS Camp 2016

2016-04-19 Thread Jakub Jermář
Hi, it's about time to start planning this year's HelenOS Camp. For this reason, I've set up the following Doodle, which surveys your availability for the Camp starting from the beginning of June to the end of September: http://doodle.com/poll/8y4t39ytxu8z8ayq Please do record your preferences

Re: [HelenOS-devel] Fix memory leak in client_conn

2016-07-20 Thread Jakub Jermář
On 07/19/2016 12:05 PM, Manuele Conti wrote: > Hi I found a memory leak in client_conn.c. My fix is attached. Thanks, applied in mainline,2537. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

Re: [HelenOS-devel] Remove double free pointer

2016-07-20 Thread Jakub Jermář
On 07/19/2016 12:01 PM, Manuele Conti wrote: > I found an attempt to free released memory. My fix is attached. Thanks, merged in mainline,2536. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

Re: [HelenOS-devel] HelenOS irregular hangout #24

2016-07-15 Thread Jakub Jermář
See irc.helenos.org for the log of the meeting. Jakub On 07/14/2016 11:39 AM, Jakub Jermář wrote: > On 07/11/2016 06:19 PM, Martin Decky wrote: >>> There is going to be our twenty-fourth G+ hangout on Thursday evening >>> of Central European Time. Earlier today I

Re: [HelenOS-devel] Accommodation for HelenOS camp 2016

2016-06-27 Thread Jakub Jermář
Hi Jiri, thanks for the link, some of the places look very nice indeed. Before we attempt to make a short list out of it, we need to know who plans to come. So let this be the final call for people to register for the Camp with a hard deadline on June 30 23:59:59 sharp. The canonical

Re: [HelenOS-devel] Fix leak kdio producer

2016-07-08 Thread Jakub Jermář
On 07/06/2016 10:37 AM, Manuele Conti wrote: > I found this bug in kio.c using cppcheck and I try to fix. Thanks, a nice catch. Partially applied in mainline,2529: I don't think the test for data==NULL is necessary and only clutters the code. Should data ever be NULL, let the caller be punished

Re: [HelenOS-devel] Fix potential leak of memory

2016-07-08 Thread Jakub Jermář
On 07/06/2016 01:05 PM, Manuele Conti wrote: > I found a potential leak of memory pointed to by 'entry' in task.c and i > fix it. Thanks, applied in mainline,2530. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

Re: [HelenOS-devel] Fix Null pointer passed as an argument to a 'nonnull' parameter

2016-07-08 Thread Jakub Jermář
Hi Manuele, On 07/06/2016 12:52 PM, Manuele Conti wrote: > I found a bug in uspace/lib/drv/generic/remote_nic.c and I try to fix it. We have: uint8_t *data = NULL; if (max_length != 0) { data = malloc(max_length); if (data == NULL) {

Re: [HelenOS-devel] Missing patch about Fix potential leak of memory

2016-07-08 Thread Jakub Jermář
On 07/06/2016 01:49 PM, Manuele Conti wrote: > I forgot to attach my patch file in my previous mail. Thanks, I applied this in mainline,2531. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

[HelenOS-devel] HelenOS irregular hangout #24

2016-07-11 Thread Jakub Jermář
There is going to be our twenty-fourth G+ hangout on Thursday evening of Central European Time. Earlier today I sent out invitations for the hangout. If you are not invited and think that you should be (or vice versa), please send me a private message. Jakub

Re: [HelenOS-devel] Fwd: Passing boot arguments in case of arm32 (beaglebone black)

2017-02-22 Thread Jakub Jermář
Hi Sourav, thanks for looking into this first step of passing boot arguments to the kernel and further on. Please see my replies below. On 02/22/2017 08:02 PM, sourav punoriyar wrote: > From the logs: "Transferring control to NetBSD stage-2 loader " > Uboot transfers the control to NetBSD

Re: [HelenOS-devel] Fwd: Passing boot arguments in case of arm32 (beaglebone black)

2017-02-24 Thread Jakub Jermář
an use r2 as a scratch register for whatever reason. To do this properly, you should either save it manually in the asm.S file or pass it as an argument to bootstrap. HTH, Jakub > > > Regards, > Sourav Punoriyar > > > On Thu, Feb 23, 2017 at 3:33 AM, Jakub Jermář <j

Re: [HelenOS-devel] realloc() always resorts to malloc()+memcpy()

2017-02-24 Thread Jakub Jermář
Hi Sergio, thanks for experimenting with HelenOS. Are you going to make a write up about your discoveries? Anyway, please find my further answers below. On 02/25/2017 02:15 AM, Sergio Lopez wrote: > I've been running a simple test on various OSes, which creates a 64MB > file on a memory-backed

Re: [HelenOS-devel] Fwd: Passing boot arguments in case of arm32 (beaglebone black)

2017-02-23 Thread Jakub Jermář
On 02/22/2017 09:40 PM, Jakub Jermář wrote: >> Confusions i am having: >> 1> The bootargs info are given in r2 register. How do i preserve it when >> stage-2 boot-loader comes into action , because till the kernel comes >> into picture i will loose the info passed from

Re: [HelenOS-devel] Fwd: Running HelenOS on beaglebone-black

2017-02-09 Thread Jakub Jermář
Hi Sourav, On 02/08/2017 08:05 PM, sourav punoriyar wrote: > I was able to merge omap_uart changes with the existing code and build. There should really be virtually no difference as the branch contains a recent mainline already. > Could you please help me little bit more related to console

Re: [HelenOS-devel] realloc() always resorts to malloc()+memcpy()

2017-02-27 Thread Jakub Jermář
On 02/27/2017 12:37 AM, Sergio Lopez wrote: > On 2017-02-26 23:25, Jakub Jermář wrote: >> Btw, it would be interesting to see how these systems compare in an IPC >> ping-pong test, such as when you type tester ping_pong in HelenOS. > > I find hard to make a meaningful apples

[HelenOS-devel] HelenOS will take part in GSoC 2017

2017-02-27 Thread Jakub Jermář
Dear all, HelenOS will participate in this year's Google Summer of Code [1] program under the umbrella of the Microkernel devroom [2,3]. Student applications open on March 20. See [4] for the list of project ideas. [1] https://developers.google.com/open-source/gsoc/ [2]

Re: [HelenOS-devel] GSoC 2017

2017-02-27 Thread Jakub Jermář
Hi Ashish, thanks for your introduction and your interest in HelenOS. Also welcome to our mailing list. Please see my response below. On 02/28/2017 07:51 AM, Ashish Gahlot wrote: > I would like to ask if anyone will be willing to be my mentor for the > project idea Support for PAE on ia32

Re: [HelenOS-devel] realloc() always resorts to malloc()+memcpy()

2017-02-26 Thread Jakub Jermář
On 02/26/2017 10:01 AM, Sergio Lopez wrote: > But when the request is being served from memory (a cached read block or > almost every write, except when using O_DIRECT), you get a cost of ~1us > on a monolithic kernel vs. ~50us on a microkernel, which is a huge > difference. > > So when I heard

[HelenOS-devel] HelenOS Camp 2016 Report

2016-09-09 Thread Jakub Jermář
Hi, if you didn't attend HelenOS Camp 2016, here's a short summary: http://jakubsuniversalblog.blogspot.cz/2016/09/helenos-camp-2016-report.html Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

Re: [HelenOS-devel] HelenOS meeting at LinuxDays.cz?

2016-10-06 Thread Jakub Jermář
Alright, I've just received a confirmation for the HelenOS devroom at LinuxDays.cz on Sunday from 14:00 to 15:00 from the organizers. How to get to the venue: https://www.linuxdays.cz/2016/en/venue/ Jakub On 10/03/2016 10:46 PM, Jakub Jermář wrote: > Hi, > > if there is enough interes

[HelenOS-devel] FYI: QEMU Integrator/CP regression

2016-09-17 Thread Jakub Jermář
Hi, in case you wondered why HelenOS/Integrator/CP does not work with QEMU 2.7.0, here is the bug report: https://bugs.launchpad.net/qemu/+bug/1624726 Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz

[HelenOS-devel] HelenOS meeting at LinuxDays.cz?

2016-10-03 Thread Jakub Jermář
Hi, if there is enough interest, we can try to organize the next HelenOS meeting at LinuxDays.cz, during one of the free slots of the open room during Sunday, or after LinuxDays.cz closes. https://www.linuxdays.cz/2016/ https://www.linuxdays.cz/2016/otevrena-mistnost/ Otherwise there will be a

[HelenOS-devel] QEMU sun4v branch capable of running unmodified HelenOS/sun4v

2016-10-02 Thread Jakub Jermář
Hi, I've just very successfully tried: https://github.com/artyom-tarasenko/qemu/tree/sun4v-for-upstream with the latest mainline built for sparc64/sun4v. The best thing about it is that it runs out of the box and doesn't need any modifications on our side. And it's quite fast. Artyom is now

[HelenOS-devel] IRC meeting on Thursday

2016-10-11 Thread Jakub Jermář
Hi, there will be a supplementary IRC meeting on Thursday at 21:00 CEST. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel

Re: [HelenOS-devel] str_ltrim fix

2016-10-11 Thread Jakub Jermář
Hi Michal, On 10/11/2016 12:27 AM, Michal Koutný wrote: > Sunday's talk about own string functions implementation at LinuxDays > reminded me of a bug str_ltrim. It's in a branch [1] with other two > bugfixes, they should still be applicable as well. Merged in mainline,2574. Thanks! Jakub > >

[HelenOS-devel] Fwd: Microkernels / Component-based OSes devroom - Call for Participation

2016-10-17 Thread Jakub Jermář
FYI Forwarded Message Subject: Microkernels / Component-based OSes devroom - Call for Participation Date: Mon, 17 Oct 2016 14:01:00 +0200 From: Josef Söntgen To: microkernel-devr...@lists.fosdem.org FOSDEM 2017 - Microkernels / Component-based

[HelenOS-devel] Minutes of the 94th HelenOS project meeting

2016-12-17 Thread Jakub Jermář
What: 94th HelenOS project meeting When: Dec 17, 2016 Where: http://www.maneska.com/ Who: MD, VH, JJ Scribe: JJ Round table: MD: - temporary fix for #669 - planning to make a HelenOS release after January 15 VH: - WiP: rewrite of the CI script into Python JJ: - sun4v status: the sun4v

Re: [HelenOS-devel] 94th HelenOS project meeting

2016-12-11 Thread Jakub Jermář
Hi Martin, thanks for organizing the meeting. You can count me in. Jakub On 12/11/2016 03:55 PM, Martin Decky wrote: > Dear all, > > after a shorter hiatus, the 94th HelenOS project meeting will take place > on Saturday of December 17th, shortly after 14:00 somewhere in Prague, > Czech

[HelenOS-devel] Fwd: List of accepted talks for Microkernel/Component OS devroom @ FOSDEM 2017

2016-12-19 Thread Jakub Jermář
upport for Genode components: Performance penalty and challenges Mahoukpego Parfait Tokponnon Introducing kernel-agnostic Genode executables Norman Feske HelenOS in the year of the fire monkey Jakub Jermář Redox OS — A safety-first microkernel developed in Rust David Teller Secure Microkernel for

Re: [HelenOS-devel] Fwd: Patch for Issue #579 | GSoC 2017 | Platform-independent code for printing ptrdiff_t

2017-03-23 Thread Jakub Jermář
Hi Supragya Raj, thanks for your interest in HelenOS and our GSoC ideas. Also welcome to our mailing list. On 03/23/2017 11:37 AM, Supragya Raj wrote: > First, the patch (for implementing printing of ptrdiff_t): > [ALL ADDITIONS AT uspace/lib/c/generic/io/printf_core.c, line 1450] For the

Re: [HelenOS-devel] Patch: ptrdiff_t redone

2017-03-25 Thread Jakub Jermář
Hi Supragya Raj, On 03/24/2017 04:27 PM, Supragya Raj wrote: > Thanks for looking into my patch, I do realize comparison with int and > long were not correct in the patch. I have corrected this, in this > patch. You may find the same as attachment. Thanks. > Any further feedbacks? Yes :-) The

Re: [HelenOS-devel] ptrdiff_t patch redone (2)

2017-03-27 Thread Jakub Jermář
Hi, On 03/27/2017 05:48 AM, Supragya Raj wrote: > This is the patch for implementation of ptrdiff_t in printf_core.c file. > This implementation was done earlier, however the presentation did not > adhere to the correct ways. This mail includes a bzr diff file that > implements just that. The

Re: [HelenOS-devel] ptrdiff_t PATCH 6

2017-03-29 Thread Jakub Jermář
Hi Supragya, On 03/29/2017 04:46 PM, Supragya Raj wrote: > P.S. Jakub, no error found on any compilation by default versions of > types.h other than arm32, the typedef was required only there I guess. I wonder how you achieved that. For instance: make distclean; make -j 6

[HelenOS-devel] 95th HelenOS project meeting

2017-03-30 Thread Jakub Jermář
Hi! The 95th HelenOS project meeting will take place on Thursday of April 13, shortly after 19:00 somewhere in Prague, Czech Republic. Please let me know whether you plan to come so that I can make a reasonable reservation, no later than by morning of April 12. Also, do let me know whether you

Re: [HelenOS-devel] ptrdiff_t-patch7

2017-03-29 Thread Jakub Jermář
Hi Supragya, On 03/29/2017 07:08 PM, Supragya Raj wrote: > this is patch for ptrdiff_t, rectified for every machine's arch. This will probably be the last nit, but since ptrdiff_t is supposed to be signed, can you make it signed also in boot (it already is signed in kernel and uspace)? And on a

Re: [HelenOS-devel] ptrdiff_t PATCH 8

2017-03-30 Thread Jakub Jermář
Hi, On 03/30/2017 04:51 AM, Supragya Raj wrote: > In the given patch, I have changed a few things as Jakub advised, > changing uint32_t and uint64_t to int32_t and int64_t. I've just applied your patch in mainline,2586. Thanks for contributing this! > P.S. I have uploaded the very initial GSoC

Re: [HelenOS-devel] Ctrl+L Revision1

2017-03-31 Thread Jakub Jermář
Hi Ashish, thanks for sending us your patch. Please see my comments inline. On 03/31/2017 05:26 AM, Ashish Gahlot wrote: > === modified file 'uspace/lib/clui/tinput.c' > --- uspace/lib/clui/tinput.c2015-10-20 10:08:15 + > +++ uspace/lib/clui/tinput.c2017-03-31 03:20:32 + > @@

[HelenOS-devel] Release of HelenOS 0.7.0

2017-04-04 Thread Jakub Jermář
Dear all, HelenOS 0.7.0 was released today. This is the first in what should become a series of biannual releases. Release notes for HelenOS 0.7.0: http://www.helenos.org/wiki/ReleaseNotes/0.7.0 Download links for HelenOS 0.7.0 sources and binaries:

Re: [HelenOS-devel] Ctrl+L Revision2

2017-04-01 Thread Jakub Jermář
Hi Ashish, On 03/31/2017 12:41 PM, Ashish Gahlot wrote: > This patch fixes the problem of moving the cursor to the beginning of > the screen by pressing Ctrl+L. > > > === modified file 'uspace/lib/clui/tinput.c' > --- uspace/lib/clui/tinput.c2015-10-20 10:08:15 + > +++

Re: [HelenOS-devel] Ctrl+L Revision2

2017-04-01 Thread Jakub Jermář
On 04/01/2017 12:51 PM, Ashish Gahlot wrote: > I have done it and included in the mail. Okay, now it looks good. Note, however, that I am not going to merge this trivial patch as it brings only a very little benefit, if any, and has the issue of not moving the cursor. Cheers, Jakub

Re: [HelenOS-devel] Ctrl+L Revision2

2017-04-01 Thread Jakub Jermář
On 04/01/2017 12:38 PM, Ashish Gahlot wrote: > To generate the patch I did *bzr diff tinput.c* and copied the output > from the terminal. Hm, that's probably where the tabs got changed to spaces. I'd recommend doing: bzr diff >patch.diff and then including patch.diff in the mail. Jakub

Re: [HelenOS-devel] 95th HelenOS project meeting

2017-04-12 Thread Jakub Jermář
mewhat noisy, but food is good. Unfortunately I have been unable to make the reservation at Tradice, so I made it at Potrefena Husa Andel: http://www.potrefenahusaandel.cz/ Hope you don't mind and see you tomorrow! Jakub > > Cheers, > Jiri > -- Původní e-mail -

Re: [HelenOS-devel] Heads-Up: A large filesystem layer update

2017-04-06 Thread Jakub Jermář
On 04/06/2017 06:49 PM, Jiří Zárevúcky wrote: > On 5 April 2017 at 20:55, Jakub Jermář <ja...@jermar.eu> wrote: >> Hello, >> >> I've just merged some substantial changes to the filesystem layer in >> mainline revision 2592. Here is the commit log: &g

[HelenOS-devel] Heads-Up: A large filesystem layer update

2017-04-05 Thread Jakub Jermář
Hello, I've just merged some substantial changes to the filesystem layer in mainline revision 2592. Here is the commit log: --- Merge from lp:~jakub/helenos/vfs-2.5-cherrypick This merge cherry-picks some of the changesets from Jiri Zarevucky's: lp:~zarevucky-jiri/helenos/vfs-2.5 and then

Re: [HelenOS-devel] Fwd: Running HelenOS on beaglebone-black

2017-03-12 Thread Jakub Jermář
On 03/12/2017 01:15 PM, Jakub Jermář wrote: > On 03/11/2017 09:06 AM, sourav punoriyar wrote: >> I am able to propagate boot_args to usrspace. > > Nice, now you should be able to get a userspace console if the input, > output and console tasks are present in the boot im

Re: [HelenOS-devel] Fwd: Running HelenOS on beaglebone-black

2017-03-12 Thread Jakub Jermář
Hi Sourav, On 03/11/2017 09:06 AM, sourav punoriyar wrote: > I am able to propagate boot_args to usrspace. Nice, now you should be able to get a userspace console if the input, output and console tasks are present in the boot image. > Where can i get more informations regarding HelenOS. > for

Re: [HelenOS-devel] Passing boot arguments in case of arm32 (beaglebone black)

2017-03-06 Thread Jakub Jermář
Hi Sourav, On 03/05/2017 07:47 PM, sourav punoriyar wrote: > 2>copied boot_args to loaders local memory and then passed to kernel. Thanks for continuing to improve your patch! I noticed you attempt to copy out the boot args from bootinfo to a kernel global variable (you should not define it in

Re: [HelenOS-devel] Passing boot arguments in case of arm32 (beaglebone black)

2017-03-05 Thread Jakub Jermář
Hi Sourav, thanks for sending us the patch. Please see my inline comments below. On 03/05/2017 08:53 AM, sourav punoriyar wrote: >=== modified file 'boot/arch/arm32/src/main.c' >--- boot/arch/arm32/src/main.c 2015-10-06 20:23:44 + >+++ boot/arch/arm32/src/main.c 2017-03-05 17:41:04 +

Re: [HelenOS-devel] Passing boot arguments in case of arm32 (beaglebone black)

2017-03-05 Thread Jakub Jermář
On 03/05/2017 02:21 PM, sourav punoriyar wrote: > 1>I forgot to make a copy in loader. I will make a copy in loader and > change the code accordingly. :-) Thanks. > 2> I did not find any size for bootargs env variable in uboot. > It is dynamically allocating memory for the cmdline parameter

Re: [HelenOS-devel] Fwd: Passing boot arguments in case of arm32 (beaglebone black)

2017-03-02 Thread Jakub Jermář
flow happens. > > I will come up with a structure to keep parsed arguments and a parser > function to collect the arguments separately. > > Please give your opinion and suggestions so that i can make it better. > > > Regards, > Sourav Punoriyar > > On Sun, Feb 26, 2017 a

Re: [HelenOS-devel] ptrdiff_t PATCH 8

2017-04-02 Thread Jakub Jermář
Hi Jan, On 04/03/2017 03:25 AM, Jan Vesely wrote: > On Thu, 2017-03-30 at 08:37 +0200, Jakub Jermář wrote: >> On 03/30/2017 04:51 AM, Supragya Raj wrote: >>> In the given patch, I have changed a few things as Jakub advised, >>> changing uint32_t and uint64_t to int3

Re: [HelenOS-devel] [HelenOS-commits] [mainline] r2689 - Fix CDFS unaligned memory access when decoding Joliet file names.

2017-07-09 Thread Jakub Jermář
Hi Jiri, I noticed this change: On 07/08/2017 06:12 PM, hele...@helenos.org wrote: > Repo: mainline > Committer: Jiri Svoboda > Date: 2017-07-08 18:12:03 CEST (Sat, 08 Jul 2017) > New Revision: 2689 > New Id: jiri@wiwaxia-20170708161203-ti7p0ahv4bx63v3x > Parent:

Re: [HelenOS-devel] [HelenOS-commits] [mainline] r2689 - Fix CDFS unaligned memory access when decoding Joliet file names.

2017-07-10 Thread Jakub Jermář
On 07/10/2017 01:12 PM, Jiří Zárevúcky wrote: > On 10 July 2017 at 02:00, Jiri Svoboda wrote: >> Hi, >> >> thanks for catching that. I really didn't want to push this change, it was >> part of my debugging. The problem is that when CDFS crashes at this point, >> VFS

Re: [HelenOS-devel] HelenOS (Kids) Camp 2017

2017-06-09 Thread Jakub Jermář
A friendly reminder of the HelenOS Camp 2017 planning doodle. So far only three people filled their preferences in. The sooner we have this filled, the better options of accommodation we get. Thanks, J. On 06/01/2017 01:08 AM, Jakub Jermář wrote: > Hi, > > it's about time to plan Hel

Re: [HelenOS-devel] HelenOS (Kids) Camp 2017

2017-06-23 Thread Jakub Jermář
This years HelenOS Camp will take place from Wednesday of August 16 to Wednesday of August 23 in chalupa Modre nebe in the Krkonose mountains. See the planning wiki page for details: http://www.helenos.org/wiki/Camp2017 Passers-by with interest in HelenOS are welcome to visit too. Jakub

Re: [HelenOS-devel] "Standardization" of HelenOS

2017-06-02 Thread Jakub Jermář
On 06/02/2017 02:07 AM, Martin Decky wrote: >> Yes, this one is a little problematic, I wanted to discuss with Jakub. >> Having ftell return off64_t is wrong (because it conflicts with the >> standard). It's correct to fix it. ftell() was always supposed to be the >> ISO C ftell. If you want

[HelenOS-devel] #pragma once

2017-06-02 Thread Jakub Jermář
Hello, how controversial would it be to start using #pragma once instead of classical header guards? Asking for a friend. Jakub ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel

Re: [HelenOS-devel] #pragma once

2017-06-02 Thread Jakub Jermář
Hi Manuele, On 06/02/2017 08:06 PM, Manuele Conti wrote: > "Pragma one" is not supported by some old compiler, so I prefer to use the > classical header guards. That's true, but one cannot use an old compiler to build HelenOS anyway. Jakub ___

Re: [HelenOS-devel] 96th HelenOS project meeting

2017-06-06 Thread Jakub Jermář
Would some other days work for all? J. On 06/06/2017 03:28 PM, Jiri Svoboda wrote: > Hi, > > I would be able to join you this Thursday (8th), but most likely not > next Thursday (15th) as I will be most likely abroad. > > Regards, > Jiri > -- Původní e-mail -- > Od: Vojtech

Re: [HelenOS-devel] 96th HelenOS project meeting

2017-06-14 Thread Jakub Jermář
I have just made a reservation for 5 at Cafe Sladkovsky: http://cafesladkovsky.cz/ Sevastopolská 17 110 00 Praha 10 starting tomorrow at 19:00. Jakub On 06/06/2017 01:20 PM, Jakub Jermář wrote: > On 06/06/2017 01:07 PM, Martin Decky wrote: >>> The 96th HelenOS project meeting wil

Re: [HelenOS-devel] Nightly builds

2017-05-05 Thread Jakub Jermář
On 05/05/2017 10:59 AM, Vojtech Horky wrote: > Python is broken after the merge of the VFS improvements. When I was > looking at it, it wasn't clear to me why it was failing as it was. > If anyone knows any better, I'd be very grateful. > > I remember we discussed that on IRC. The

Re: [HelenOS-devel] "Standardization" of HelenOS

2017-06-01 Thread Jakub Jermář
Hi Martin, On 06/01/2017 02:38 PM, Martin Decky wrote: > * Why should ftell() return a long instead of a off64_t? What is the >reason for using a signed type when semantically the offset (from the >beginning of the file) is always non-negative? And why do we want to >limit the type to

[HelenOS-devel] HelenOS (Kids) Camp 2017

2017-05-31 Thread Jakub Jermář
Hi, it's about time to plan HelenOS Camp 2017. I've created the following Doodle, so let's try that first: http://doodle.com/poll/p6idk55c9qyx7eyh#table For this year, I thought it might be a good idea to take our children and spouses with us and combine the camp with a little bit more active

Re: [HelenOS-devel] Hangout/meeting this week or the next

2017-09-19 Thread Jakub Jermář
t; leave it for Thursday and who can make it will make it. > > Cheers, > Jiri > ------ Původní e-mail -- > Od: Jakub Jermář <ja...@jermar.eu> > Komu: helenos-devel@lists.modry.cz > Datum: 14. 9. 2017 15:02:57 > Předmět: Re: [HelenOS-devel] Hangout/meeting this

[HelenOS-devel] Fwd: FOSDEM 2018 - Microkernels developer room - CfP

2017-10-10 Thread Jakub Jermář
Hi, forwarding this to helenos-devel@ as the original message awaits moderator approval :-) Jakub Forwarded Message FOSDEM 2018 - Microkernels developer room CALL FOR PARTICIPATION The developers of several free and open-source microkernel-based operating systems will meet

Re: [HelenOS-devel] Heads up: Changing crosscompiler target for amd64

2017-10-10 Thread Jakub Jermář
On 10/10/2017 09:09 PM, Jiří Zárevúcky wrote: > The problem is that we use userspace thread switching (i.e. fibrils), and the > ABI uses segment registers for TLS on x86, which cannot be set from userspace. > > So to answer your question, support for tls-direct-seg-refs would require us > to do

  1   2   >