Re: compiling one kernel tree + module from another tree
Well, first of all you'll need to make sure the module in question actually works with the kernel version you are trying to build it against. Kernel APIs do have a tendency to change. As for technicalities, you may be better off with compiling it out of tree. 1. configure the kernel tree 2. Put the module in a separate directory 3. Create a proper Makefile in that directory 4. Go there, and run make -C /path/to/linux/tree M=`pwd` Or, alternatively, just use the newer kernel in general, if it is at all possible. On 03/17/2014 11:20 AM, Erez D wrote: Hi i am cross compiling modules for kernel 3.6.9 for an arm embedded board (comes with kernel but no modules). however, i need a driver for 8188eu, which does not come with this kernel. i downloaded a new kernel tree with 8188eu driver. it is not 3.6.9 so it will not insmod if i compile it directly (what file holds the kernel version ?) i copied the subdir from kernel tree 2 to kernel tree 1, however do not know how to configure the kernel to compile it adding 'CONFIG_RTL8188EU=m' to .config and 'make modules' does not do it how do i do that ? thanks, erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [OT] Self-employed's office
I would be. Ilya. On Fri, 2011-10-14 at 14:35 +0200, Amichai Rotman wrote: I have a similar problem, and i live in haifa. Would anyone be interested in starting such a place in Haifa? -- Amichai Rotman On Oct 13, 2011 8:03 PM, Daniel Shahaf linux...@danielsh.fastmail.net wrote: [sorry for delay; re-sending from my exempt-from-moderation address] Michael Tewner wrote on Thu, Oct 06, 2011 at 07:00:27 +0200: Can you please share the helpful responses? -Mike I'd be happy to --- with the permission of those who provided them. I assume they would have included the list in the Cc if they had intended for the responses to become public... In any case, I'm BCC'ing the responders, and I'll repeat here the Any academic institution or library suggestion that came to me via several routes. Sorry, Daniel On Thursday, September 29, 2011, Daniel Shahaf d...@daniel.shahaf.name wrote: I got a few replies off-list, one of them in particular seems very promising; thanks to all who responded. Daniel Shahaf wrote on Sun, Sep 25, 2011 at 04:44:20 +0300: [ Hopefully this isn't too off-topic for this list. ] I'm located in the Tel-Aviv area. These days I'm working remotely (under several different hats), but working from home is getting a bit long in the tooth, so I've been wondering what other options I have. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Die GNU autotools
LOL. My feelings too. A while ago I got so tired of autotools that I even started working on my own build system intended as a semi-drop-in replacement. It's purely make-based. If interested, take a look at the sources http://sources.total-knowledge.com/gitweb/?p=adon-banai.git On 01/10/11 12:09, Amos Shapira wrote: Sorry but I felt compelled to share this book title with you: I saw a book entitled Die GNU Autotools and I thought My feelings exactly. Turns out the book was in German. ref: http://twitter.com/timmartin2/status/23365017839599616 Hope you understand, --Amos ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Die GNU autotools
On 01/10/11 14:02, Tzafrir Cohen wrote: On Mon, Jan 10, 2011 at 12:49:25PM +0200, Ilya A. Volynets-Evenbakh wrote: LOL. My feelings too. A while ago I got so tired of autotools that I even started working on my own build system intended as a semi-drop-in replacement. It's purely make-based. If interested, take a look at the sources http://sources.total-knowledge.com/gitweb/?p=adon-banai.git Does it have anything similar to the autotools 'make distcheck'? It does :) -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: virtualbox question
On 05/15/10 17:26, sara fink wrote: I installed gentoo in virtualbox. My problem is that with the livecd it builds a filesystem partition that is very small and I don't have control on the size. If I want to add stuff there, the space is very limited. 119mb for /. If I want to add modules to the kernel they need to sit under / , kernel compilation same thing. the /usr/src/linux is 330mb. So kernel recompilation is out of question because it will fail with no space left. Is there any way to increase the size of / ? or other solutions? I am opened to new ideas. It's been a while since I used Gentoo livecd, but what you describe sounds very strange. If there is a small partition created by Gentoo install process, it's going to be /boot, which is meant only to store kernels and grub stuff. If for some reason you really ended up with such a small / on hard drive, you can always boot off of the live CD again, and use parted to resize it. In general, if you want to get a real feel for what Gentoo is like, you are better off getting minimal install CD, and following the handbook. P.S. How is this VirtualBox question? P.P.S If you want to talk about Gentoo in real-time, I can often be found on #gentoo-he on irc.freenode.net. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Serial connection?
On 04/22/10 10:25, Marc Volovic wrote: You are talking about a terminal server. I suggest you buy the simplest possible linux machine (micro box would be VERY good), plug in two USB hubs and plug into the hubs USB-RS232 converters. Voilla! Instant TS. While this is relatively cheap solution, it may prove rather unreliable. I am using USB-to-Serial cables for serial consoles quite a lot for my work, and they all have a common problem - periodically USB freaks out and device disconnects and reconnects, often under different device name. Old CISCO 2511 will do much better job. I don't know where to get one of those in Israel. In US it's possible to get one for ~$300. Ebay has quite a few listed, BTW. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Kosher for Passover software
On 04/01/10 09:06, Shlomi Fish wrote: Why are you saying M$ instead of MS? Don't you know the dollar signs ($) is not kosher for Passover since U.S. dollars constitute leavened bread? This makes all Perl, PHP and Bash/zsh code (And some Ruby and Haskell code) non- kosher for Passover. I'm not kosher either (for Passover or otherwise), so it's OK. Seriously now - I detest people who use M$ instead of MS, not as much because I respect Microsoft (which I do to a substantial extent), but because I respect the dollar-sign, There seems to be a contradiction in your words. 1. You say that you don't like people who use M$ 2. You say that you respect the dollar sign. 3. You say that you respect the company. How is combining two things you respect is a bad thing? -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Kosher for Passover software
On 04/01/10 07:40, Nadav Har'El wrote: We should especially avoid free software - because much of it was written by gentiles who eat bread during Passover! Following that logic, you should also avoid using any of M$ software, since it was mostly written by gentiles as well, and sure as hell, there was lot of bacon in the M$ headquarters cafeteria. פסח כשר ושמח (And happy April fools as well :) -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Kernel Oopsed, but where ?
Lev Olshvang wrote: Hi list, I am trying to figure out Oops reason, but I do not understand where it happens The system is ARM, linux kernel 2.6.31, No loadable modules I have 3 questions to following dump : 1. - PID 1 must be an init process, why it calls himself a swapper ? (Perhaps it is a kernel thread kswapd) It is process swapper, not process swapper :) An address was accessed, swapper attempted to see if there is a page to be loaded for this access, and then reported an invalid page fault. 2. - who is trying to load the failed module - kernel or userspace ( I see that module failed initialization and oopsed in cleanup) The console shows that kernel made most initializations before oops Not sure, but looks like kernel is responding to detection of some device. Can you give more details on your lpg610 module? 3. - why no printk from this module is not shown ( I added dozen printks to module init) Something looks rather messed up, since your init function calls a cleanup function. Could it be some sort of stack corruption? Here is console messages CPU: Testing write buffer coherency: ok Serial: AMBA PL011 UART driver dev:f1: ttyAMA0 at MMIO 0xc600 (irq = 0) is a AMBA/PL011 console [ttyAMA0] enabled bio: create slab bio-0 at 0 MMC card not detected NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 3, 40960 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered NET: Registered protocol family 1 Unable to handle kernel paging request at virtual address 36677670 pgd = c0004000 [36677670] *pgd= Internal error: Oops: 0 [#1] CPU: 0Not tainted (2.6.31 #8) PC is at 0x36677670 LR is at device_get_nodename+0x70/0xdc pc : [36677670]lr : [c01540e4]psr: 2013 sp : c1c33e30 ip : c1c33e50 fp : c1c33e4c r10: c022d744 r9 : 0001 r8 : r7 : c03c5554 r6 : c1ca5880 r5 : c1c33e54 r4 : c1ca5880 r3 : 36677670 r2 : 0004 r1 : c1c33e54 r0 : c1ca5880 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 0005317f Table: 31004000 DAC: 0017 Process swapper (pid: 1, stack limit = 0xc1c32270) Stack: (0xc1c33e30 to 0xc1c34000) 3e20: c1ca5880 c1c47000 c1c19bc0 c03c5554 . 3fa0: c001f2e8 c0028a9c 0040 c03bca48 c001befc c001c088 3fc0: c1c33ff4 c1c33fe0 c0008448 c001f2c0 3fe0: c1c33ff8 c0034df4 c00083c0 b3cc73ac 318cb34c Backtrace: [c0154074] (device_get_nodename+0x0/0xdc) from [c0154260] (dev_uevent+0x110/0x144) r7:c03c5554 r6:c1c19bc0 r5:c1c47000 r4:c1ca5880 [c0154150] (dev_uevent+0x0/0x144) from [c01166fc] (kobject_uevent_env+0x1e4/0x478) r5:c1c47000 r4:c1ca5888 [c0116518] (kobject_uevent_env+0x0/0x478) from [c01169a4] (kobject_uevent+0x14/0x18) [c0116990] (kobject_uevent+0x0/0x18) from [c01548b8] (device_del+0x138/0x17c) [c0154780] (device_del+0x0/0x17c) from [c0154910] (device_unregister+0x14/0x20) r7: r6:0fe0 r5:c0257698 r4:c1ca5880 [c01548fc] (device_unregister+0x0/0x20) from [c0154954] (device_destroy+0x38/0x44) r5:c0257698 r4:c1ca5880 [c015491c] (device_destroy+0x0/0x44) from [c0028a28] (lpg610_cleanup_module+0xd8/0x13c) r4:c03cc490 [c0028950] (lpg610_cleanup_module+0x0/0x13c) from [c0028bf0] (lpg610_init_module+0x164/0x330) [c0028a8c] (lpg610_init_module+0x0/0x330) from [c001f2e8] (do_one_initcall+0x38/0x1c4) Thnaks for reading, Lev ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Getting a kernel's .config without running it
Shachar Shemesh wrote: Hi all, I have a kernel image that was compiled by someone else for a platform I don't own. The kernel was (probably) compiled to export its configuration parameters via /proc/config.gz. I want to get that file. The problem is, of course, that I cannot run the kernel. Does anyone know how I can extract the kernel's config without running it? Thanks, Shachar From Kconfig: │ CONFIG_IKCONFIG: │ │ │ │ This option enables the complete Linux kernel .config file │ │ contents to be saved in the kernel. It provides documentation │ │ of which kernel options are used in a running kernel or in an │ │ on-disk kernel. This information can be extracted from the kernel │ │ image file with the script scripts/extract-ikconfig and used as │ │ input to rebuild the current kernel or to build another kernel. │ │ It can also be extracted from a running kernel by reading │ │ /proc/config.gz if enabled (below). │ -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: date command
This is independent of locale. The get_date function simply treats xx/yy as US format according to info date. Erez D wrote: On Mon, Nov 9, 2009 at 1:26 AM, Chaim Keren-Tzion ch...@intercomp.co.il wrote: $ date -d 'Mon 11/9 2:25 AM' Mon Nov 9 02:25:00 IST 2009 yes, that what i want, but that's not what i get. it thinks the 11/9 is september 11, instead of november 9 (i.e. 11/9 vs 9/11 format) what is your locale ? thanks, erez. Chaim On Mon, Nov 9, 2009 at 12:34 AM, Erez D erez0...@gmail.com wrote: # date -d 'Mon 9/11 2:25 AM' Fri Sep 11 02:25:00 IDT 2009 but i want it to return: Mon Nov 9 02:25:00 IDT 2009 i tried setting LC_TIME but this didn't help. any idea ? cheers. erez. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How to get new people use IRC?
Gabor Szabo wrote: I encounter several issues in how to get them to use IRC. One of them is that they don't find the IRC clients intuitive for them. The other one is that they seem to be afraid of talking on the main project channels. This is in general a good thing. People should lurk around and learn what's acceptable and what's not on any given channel before speaking up. At least at first, before they get used to the IRC culture. There is also one very good document by ESR, which will help newbies to avoid misstepping at first: http://catb.org/~esr/faqs/smart-questions.html I know it is difficult to wonder in a room full of people and start talking. It is difficult if the channel is silent and it is difficult if people are already talking. The newcommer can feel that s/he is making noise or interrupting the conversation. So I was wondering how to try to solve this? We have our own channel for the project where they started to talk a bit. That's a good step. I think that's a perfect first step. I was wondering if we should setup a #projectname_babytalk or #projectname_kindergarten or #projectname_newbies channel in the hope that people can start talking there first? If so what name would you suggest? Those are a bit derogatory. There is usually an option of setting up ##project, which, at least on FreeNode, implies non-official status. Or you could just prefix it with your group name (presuming you have one). Either way, once some relevant discussion is happening on your own channel, start gently directing people towards official channels (Oh, this is a good question. I think it's best asked on #project). What other strategies do you suggest? Gabor ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: FW: Linux job offering
emil h wrote: Experienced Linux C++ networking programmer Required Skills: · Minimum 4 years experience as a software engineer. · Minimum 2 years C++ programming experience · Linux internals knowledge is mandatory · Development object-oriented design on Linux OS. · Knowledge of server-client interaction. · BS Computer science degree preferred place : Herzliah And where are the replies supposed to be sent to? -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Drupal or Joomla for Heb-Eng Site?
Chaim Keren-Tzion wrote: Which is preferred for building a Hebrew-English site, Drupal or Joomla? The management interface can be in English. I will need content and menus in He and En though. Thanks in advance. I got Eng-Ru set up of drupal-5.x + localizer working fairly well, although it took some effort.. Menus, content, all translated properly. I added Hebrew just for fun in test set up, and it did work, although I didn't test it extensively. Never tried Joomla.. Can't say anything about it. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [Israel.pm] CPAN Mirror in Israel
I need an Israel-based CPAN mirror too. Shlomi Fish wrote: On Thursday 30 July 2009 20:11:47 Lior Kaplan wrote: Can you prove demand for this mirror? Well, it is needed by many Israeli Perl programmers who are often using CPAN. I need it, and if anyone on the CCed mailing list could make use of it, please let us know, too. Regards, Shlomi Fish On Thu, Jul 30, 2009 at 10:42 AM, Shlomi Fishshlo...@iglu.org.il wrote: Hi Lior! On Friday 24 July 2009 14:57:59 Lior Kaplan wrote: I don't see any need to have two mirrors of CPAN. Let me know if there are problems with the mirimar mirror in the future. It seems the mirimar mirror is still out-of-date: * http://mirror.mirimar.net/cpan/ * http://mirror.mirimar.net/cpan/modules/by-authors/id/S/SH/SHLOMIF/?C=M;O= D (Updated to 31-May). So I suggest your set up a new mirror unless or until the mirimar webmasters can get their act together. Regards, Shlomi Fish On Fri, Jul 24, 2009 at 12:59 PM, Shlomi Fishshlo...@iglu.org.il wrote: On Friday 24 July 2009 12:52:50 Issac Goldstand wrote: Hmm Looks like mirror.mirimar.net was using an out-of-date mirror source. It's been switched and should be syncing back up now. Thanks! After it is up-to-date, please re-register it. Regards, Shlomi Fish Shlomi Fish wrote: Hi Lior! Can you please set up a mirror for CPAN on mirror.isoc.org.il: http://www.cpan.org/SITES.html (see the Register header) The only active Israeli mirror I'm aware of it mirimar, but it's heavily out- of-date: * http://mirror.mirimar.net/ * http://mirror.mirimar.net/cpan/ At the moment, no Israeli mirror are registered for CPAN: http://mirrors.cpan.org/search.cgi?country=Israel Regards, Shlomi Fish ___ Perl mailing list p...@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl -- - Shlomi Fish http://www.shlomifish.org/ The Human Hacking Field Guide - http://xrl.us/bjn8q God gave us two eyes and ten fingers so we will type five times as much as we read. -- - Shlomi Fish http://www.shlomifish.org/ Optimizing Code for Speed - http://xrl.us/begfgk God gave us two eyes and ten fingers so we will type five times as much as we read. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Anti-spam recommendations
Geoff Shang wrote: Hello, I administer a server for a non-profit project. I need to implement an anti-spam solution to cut down on the spam. It is showing signs of getting out of hand and I'd like to put something in place before it does. I'd like something that doesn't take too much maintaining and hopefully doesn't hit too many false-positives. We're running Debian Lenny with Postfix as our MTA. Any suggestions welcome. Cheers, Geoff. SpamAssassin with all the signature matching (razor, pyzor, etc) and well-trained baesian filter should do just fine. Only real work you'll need to do is to set up a way for users to identify misjudged spam. I usually set up a per-user spam mailbox, where all the spam which got through is placed. From there it's picked up by a daily (for my volume of mail) cron job, processed by sa-learn, and then removed. You'll have to educate your users about spam/ham mailboxes, of course. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: SOLVED Why initramfs stops although root device is mountable and ready to use
Lev Olshvang wrote: BTW, is there any way to track next line from /proc/devices 8 sd which modules actually made possible access to devices 8,0 ??? Dig through /sys filesystem. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Why initramfs stops although root device is mountable and ready to use
Gilad Ben-Yossef wrote: Shachar Shemesh wrote: Gilad Ben-Yossef wrote: I do not understand this : root device is ready, but boot process is stuck ?? Simple: You either use an initramfs, and if so your initramfs should mount the real root file system itself using switch_root() or you don't use an initramfs and let the kernel mount it (but then you need the driver compiled into the kernel). Gilad As a nitpicking, if you are using initrd, there is a mode of operation where the initrd (linuxrc script) loads the kernel module, but the kernel does the actual mounting. I Yes, but initramfs does not support it AFAIK and I wouldn't recommend anyone to use initrd in favour of initramfs for any system with 2.6 kernel. I think it's the other way around - if you exit from your linuxrc when running from initramfs, it'll continue on with standard boot sequence, while ending linuxrc in initrd will panic the kernel with Trying to kill PID 1 error. -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Compiling glibc2.9 on ubuntu - stack-protector functions are undefined
Lev Olshvang wrote: Hi linuxers, I am trying to compile glibc2.9 on Ubuntu 7.10 and I am experiencing chicken and egg problem : Here the steps I do 1. ../glibc-2-.9/configure 2. make Result: dl-load.c:1796: more undefined references to `__stack_chk_fail_local' follow collect2: ld returned 1 exit status Google search reveals that this function belong to stack-protector feature and advised to turn it off So I removed buid directory to start again 1 . export CFLAGS=-fno-stack-protector export CXXFLAGS=-fno-stack-protector 2. ../glibc-2-.9/configure 3. make Result glibc-build/config.h:3:3: error: #error glibc cannot be compiled without optimization Isn't there a configure option to turn off the stack protector? -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: php cli is trying to resolve
ik wrote: What addresses? Machine local names, but when I changed the DNS addresses to faster addresses it takes no more then few MS to have a result. It's expected that your local machine name will be stored in /etc/hosts... -- Ilya A. Volynets-Evenbakh http://www.total-knowledge.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il