[Haifux] Re: Acks on logo votes
Hi! I prefer logo 4 to logo 6 to the rest. Regards, Shlomi Fish -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ You are banished! You are banished! You are banished! Hey? I'm just kidding! -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
[Haifux] Re: Acks on logo votes
On Tue, 27 Jan 2004, Shlomi Fish wrote: Hi! I prefer logo 4 to logo 6 to the rest. Oops! Replied to all by accident - sorry. Regards, Shlomi Fish Regards, Shlomi Fish -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ You are banished! You are banished! You are banished! Hey? I'm just kidding! -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED] -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ You are banished! You are banished! You are banished! Hey? I'm just kidding! -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] ANN: Lectures: Writing device drivers in Linux and Windoze
On Tuesday 27 January 2004 02:56, Muli Ben-Yehuda wrote: The first draft of the slides for this one are now available at http://www.mulix.org/lectures/intro_to_linux_device_drivers/intro_linux_device_drivers.pdf. Very good. Small remarks/questions: - I assume they learn the actual build procedure elsewhere. If not, than at least some pointers are needed. - The idea to patch the core for hooking into timer interrupts is very good for learning (the power of open source...). However, because the interrupt you talk about is (by incident) the timer, people may get the wrong idea that in Linux patching is needed for timing... (which is a very common task). You may want to mention the existance of the simple timer_* API. - Some mention (maybe verbally) about kernel versioning (which is used for their exercise?) -- Understanding the Linux kernel API's are a moving target (intentionally...) - Are they getting (maybe in their lectures) some orderly view about: * Different locking schemes? (spinlocks, reader-writers, semaphores,...) * Different schemes for defering work? (softirqs, tasklet API, work-queues, timer API's) Bye, -- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron Linux lasts longer! -- Kim J. Brand [EMAIL PROTECTED] -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] Need help ASAP - Till Tuesday 12:00
Slava Shklyar wrote: 1. init reads a location of needed files from paths.h The SHELL is defined there. Maybe you can change the default shell only for single user in the init.c. Search for ':[sS1]:' regexp in this file ... This may be a bit too late, but I would simply change the /bin/sh string that appears in the binary /sbin/init file. Use khexedit for that, for example. This is quick, dirty, may not work, but most probably will. Be sure to have a backup copy of the original /sbin/init, and also make sure that you have some kind of rescue disc to boot from (knoppix and alike) in the not-so-unlikely event that your computer will refuse to boot. Eli -- Web: http://www.billauer.co.il -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
[Haifux] Lecture Slides are Ready (finally)
I know they are not perfect (feel free to send comments), I know they are about month late, I know that... But enjoy: http://www.haifux.org/lectures/83 -- Qmail SMTP. -- Orr Dunkelman, [EMAIL PROTECTED] Any human thing supposed to be complete, must for that reason infallibly be faulty -- Herman Melville, Moby Dick. Spammers: http://vipe.technion.ac.il/~orrd/spam.html -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
[Haifux] gcc -pg, but no gmon.out
Hi fellas, I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler parameters, but when the resulting binary runs, gmon.out is not created. When I create a simpler project (Makefile and code file set) to test this against, gmon.out is created correctly. Any thoughts? -- Bye, Shachar. -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] gcc -pg, but no gmon.out
On Tue, Jan 27, 2004, Shachar Tal wrote about [Haifux] gcc -pg, but no gmon.out: Hi fellas, I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler parameters, but when the resulting binary runs, gmon.out is not created. When I create a simpler project (Makefile and code file set) to test this against, gmon.out is created correctly. What you may have done wrong is to forget to add -pg to the *linking* phase. It is necessary, but not enough, to add -pg to the compilation phase, but you must make sure that the final linking is done with -pg as well, otherwise your program isn't compiled with the right bootstrap code that actually generates the gmon.out. Check to see that the cc -o progname object1.o object2.o ... line in the make output has the -pg parameter too. Also, as Orna pointed out, gmon.out is only created when the program exits. You must therefore make sure it indeed exits, and not, for example, killed with an uncaught signal. P.S. To your linking stage, you will most likely want to also add -lc_p. This will allow you to profile the standard C library calls as well. Without this, if you do a lot of library calls or IO you'll may have a lot of unexplained time in the profiling results. -- Nadav Har'El| Tuesday, Jan 27 2004, 5 Shevat 5764 [EMAIL PROTECTED] |- Phone: +972-53-790466, ICQ 13349191 |This space is for sale - inquire inside. http://nadav.harel.org.il | -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] gcc -pg, but no gmon.out
(what does haifux got to do with lkml anyway? :P~~~ we deserve our own alias!) On Tue, 27 Jan 2004, Shachar Tal wrote: I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler parameters, but when the resulting binary runs, gmon.out is not created. did you also pass '-pg' to the link command? or, if you use ld directly, did you tell it to use /lib/gcrt.o and -lc_p? 'pinfo gprof', then read about 'compiling', i've been reading from that page as i type... -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] Lecture Slides are Ready (finally)
Orr Dunkelman [EMAIL PROTECTED] writes: I know they are not perfect (feel free to send comments), I know they are about month late, I know that... But enjoy: http://www.haifux.org/lectures/83 -- Qmail SMTP. -- Orr Dunkelman, [EMAIL PROTECTED] Any human thing supposed to be complete, must for that reason infallibly be faulty -- Herman Melville, Moby Dick. Spammers: http://vipe.technion.ac.il/~orrd/spam.html -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED] Slides 2 and 3 of the PDF seem to be identical. -- Cut your own wood and it will warm you twice Regards, Yoni Rabkin Katzenell -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]