uboot and kernel entry point

2024-04-12 Thread Lev Olshvang
Hi list, FIT image format of uboot requires to specify kernel entry point and  load address. I thought this info Should be sowewhere in System.map  or in vmlinux  but can not figure  it ourCan u help me how to find kernel entry point  ? Much appreciate,Lev___

How user space applications can take advantage of CPU features

2021-08-20 Thread Lev Olshvang
Morning people of the Linux ! Recently I came to a question I do not know the answer to although I am with Linux for >20 years, I am talking about the CPU architecture features likes SIMD, SSE, AES, ...  and related gcc CPU architecture switches-maes, -msse3, -msse4 -mrdrand are examples of such gc

Systemtap problem

2021-04-09 Thread Lev Olshvang
Hello all linuxers , I am stuck with the following problem on a CentOS 7.6  :- I have stap script working well on development host and probing function in user space application.When I move compiled stap module to the production host (same kernel version) ,no single probe is matched (except for end

__STDC_VERSION__ : What C dialect c89, c99,gnu90 kernel compiies ?

2020-05-20 Thread Lev Olshvang
Hi All,I am building out of tree kernel module.I am trying to include user-space lib into the kernel moduleI reference include file of this lib to use the API.  I  got the following warning  during make"__STDC_VERSION__" is not defined, evaluates to 0But continues and resulted module works,I see fr

OT - looking for a job

2020-05-20 Thread Lev Olshvang
Hi all Sorry to be off-topic, but need to find a job I worked at Argus cyber,  developed kernel LSM and stuff like thisLooking for kernel +- embedded20 years of Linux experience user space programming, sysadmin, devops, kernel  development, cyber I would be glad to be part of the Linux development

__STDC_VERSION__ is not know in Linux kernel module, why ?

2020-05-17 Thread Lev Olshvang
I am trying to include  ELF object file into kernel module It gives me a warning of undefined __STDC_VERSION__  symbol"__STDC_VERSION__" is not defined, evaluates to 0  But continues and resulted module works, I see from https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html that _STDC_

Access host from QEMU guest

2020-05-17 Thread Lev Olshvang
I read once that  QEMU linux guest has reserved IP of the host. I did not bookmarked it, can anyone help? Thanks Just share referencehttps://www.cnx-software.com/2011/10/02/how-to-transfer-files-between-host-and-qemu-via-ssh-and-nfs/  ___ Linux-il mailin

Solved:: Help:get_user_pages_remote - succeed on QEMU, Oops on Android 9 board

2019-04-16 Thread Lev Olshvang
 The problem was how I convert received page address to kernel address. I need to do it with kmap()Now all works again  16.04.2019, 17:17, "Lev Olshvang" :Hello all, I need to remap 1 page from user space to kernel and I use get_user_pages_remote for this purpose ret = get_user_pages_

Help:get_user_pages_remote - succeed on QEMU, Oops on Android 9 board

2019-04-16 Thread Lev Olshvang
Hello all, I need to remap 1 page from user space to kernel and I use get_user_pages_remote for this purpose ret = get_user_pages_remote(tsk, tsk->mm, offset, 1,                                    0,                                    &pinned_page, NULL); Kernel is 4.9.88I compiled module for Arm V

Which Ubuntu toolchains is better compiling andeoid ARM kernel

2019-03-25 Thread Lev Olshvang
There are 2 toolchain available in Ubuntu 16 : gcc-arm-linux-androideabi and gcc-arm-linux-gnueabihf I confess I do not understand which is correct one for ARMv7.1 level 10 when compiling kernel Clearly gcc-arm-linux-androideabi is built with Bionic libc so it must be used to compile ap

Re: What will happen if 2 processes map same physical page

2019-03-22 Thread Lev Olshvang
the same physical page. What do you think? 21.03.2019, 13:45, "Okash Khawaja" : > On Thu, 21 Mar 2019 12:56:17 +0300 > Lev Olshvang wrote: > >>  Hi Vaaldis, >> >>  Thanks for answer, >>  I still wondering whether the kernel will allow write to a re

Re: What will happen if 2 processes map same physical page

2019-03-21 Thread Lev Olshvang
when is sees that access is made from foreign process? https://elixir.bootlin.com/linux/latest/ident/arch_vma_access_permitted I am totally confused. What do you think ? Regards, Lev 20.03.2019, 20:08, "Valdis Klētnieks" : > On Wed, 20 Mar 2019 16:42:39 +0300, Lev Olshvang said: &g

What will happen if 2 processes map same physical page

2019-03-20 Thread Lev Olshvang
Hi all, The question is it ipossiblle in Linux/MMU/TLB that 2 processes map to the same physical address? Will CPU or TLB discover that second process tries to reach occupied physical page? What if first process set page permission to read and second whats to write to this page ? Perhaps dur

What will happen on attempt to write to read-only page when CONFIG_MEM_SOFT_DIRTY is off ?

2019-03-11 Thread Lev Olshvang
Hello all, Please help me to clarify what will page fault handler do (if any) File arch/x86/include/asm/pgtable_types.h have following comment for 2 PAGE_DIRTY_BITs #define _PAGE_BIT_DIRTY 6 /* was written to (raised by CPU) */ _PAGE_BIT_SOFT_DIRTY_PAGE_BIT_SOFTW3 /* software

Whicl linux technology existd to protect file's data at run at file granularity?

2019-02-24 Thread Lev Olshvang
 I know at least several  technologies that protect "data at rest" , such as dm-crypt, tomb, eCryptfs. The problem with dm-crypt or eCrypts that since file system is mounted, all logged users, including attackers can read files. But I did not find anything that protects data at run, i.e decrypts  o

which tools exist for configuring SELinux /AppArmor in development cycle automatically iterations? ?

2019-02-20 Thread Lev Olshvang
 Lets Say I develop several applications and during the test of version almost all code paths are executed. So  I can take logs and build a policy and load it to the target.But then  I change code and now it calls another utility, Are there any tools that automate such  iterations ? Thx,Lev __

Re: writes to /dev/kmsg

2019-02-20 Thread Lev Olshvang
Can you please elaborate, what you are trying to synchronize, I suppose messages from your driver are uniquely identified?19.02.2019, 19:42, "Constantine Shulyupin" :I write to /dev/kmsg when it is need to synchronize UM and driver's logs. On Tue, Feb 19, 2019 at 3:34 PM Lev

writes to /dev/kmsg

2019-02-19 Thread Lev Olshvang
Kernel documentation describes interfacehttps://www.kernel.org/doc/Documentation/ABI/testing/dev-kmsg I wonder what kind of applications use it?Why somebody need to use kmsg instead of syslog? Can anybody give example of such application? Regards,Lev   _

SELinux, LSM and ima_policy rules

2019-02-04 Thread Lev Olshvang
Hello everybody. I learned recently that IMA kernel security subsystem can be integrated with LSMs, such as SELinux, Smack, ... https://sourceforge.net/p/linux-ima/wiki/Home/ https://www.kernel.org/doc/Documentation/ABI/testing/ima_policy It was present in kernel since v3.8 but not google does

Why read only memory segment is dirty?

2019-01-17 Thread Lev Olshvang
I am trying to understand the output of pmap command, why read-only memory  is in fact dirty?Why it shows 2 line of output with a same address (2 latst lines) but completely diferent content? sudo pmap  -x 84708470:  /usr/lib/snapd/snapdAddress          Kbytes    RSS  Dirty Mode  Mapping 561a9b

Security-What can be done in kernel to disable forever executable memory modificaton

2019-01-12 Thread Lev Olshvang
Hi All, The fact that the text segment could be modified is bad news from the security standpoint. For example, in order to set a breakpoint GDB should map a text segment with MAP_PRIVATE flag which allows kernel to ignore the dirty bit that MMU sets on this page. Somewhere in the middle of

Solved systemtap on Amazon kernel v4.4.160 failes to recognizaze @avg, @max aggregate

2019-01-08 Thread Lev Olshvang
I found that it is advised to check first @count(Statist) ans if it positve applut to @max operator There is also interesting @entry operator. My script still produces warning but produces result Herfe is the script: # script arguments :# $1 - total test duration in sec# ex: stap -v  

Re: How to signal kernel that shared library is not in use by any process anymore ?

2019-01-08 Thread Lev Olshvang
) so it will use it whenever  get free page request is received. And the second option is to look  mapped memory for this loib /proc/pid/mapsand issue munmap () call. simple and easy. Thanks to given it a thought.Lev   08.01.2019, 05:52, "Lior Okman" :  On Fri, Dec 21, 2018 at 4:21 PM Le

systemtap on Amazon kernel v4.4.160 failes to recognizaze @avg, @max aggregate

2019-01-06 Thread Lev Olshvang
Hi, I debugged systemtap scripts which monitor __kmalloc() which are coming from my my 2 module MOD1.KO, MOD2.ko and they are working perfectly on my Ubuntu 16.10 kernel 4.8.17 VM with gcc 6.2.0 and systemtap package v3.0-7 amd64 . This is a custom kernel and I compiled it with debuginfo

is it possible to mount /proc as read-only on embedded system

2019-01-05 Thread Lev Olshvang
Hello all, I am trying to harden the embedded system. Is it possible and safe to mount /proc file system in a read-only mode and how to do this? I have embedded system with systemd where /proc is mounted rw. I suspect that systemd mounts it when it bebins to bootsrtap user space. On my very si

How to forbid user space and kernel executable pages from becoming writable?

2019-01-05 Thread Lev Olshvang
I am researching this issue and I am confused with the finding Some articles, ex https://shanetully.com/2013/12/writing-a-self-mutating-x86_64-c-program/ state that mprotect() can change protection of executable section. As I understanf pte entry has page protection bits set to RO so mprotect

Re: How to signal kernel that shared library is not in use by any process anymore ?

2019-01-05 Thread Lev Olshvang
Shachar , you are 100%/ right ! Since I knew that mmap needs file descriptor I assumed ( and did not checked man page)  that munmap need file descriptor. Great !!Thanks, Thanks,  Thanks!  04.01.2019, 22:30, "Shachar Shemesh" : On 27/12/2018 15:34, Lev Olshvang wrote:Can you elaborate why

Re: How to signal kernel that shared library is not in use by any process anymore ?

2018-12-27 Thread Lev Olshvang
who helped me on this issue. Lev   21.12.2018, 20:18, "Shachar Shemesh" : On 21/12/2018 16:20, Lev Olshvang wrote: Hi All, I have an executable (C++) which is the exclusive user of the some shared library that it uses only during the init

Re: How to signal kernel that shared library is not in use by any process anymore ?

2018-12-26 Thread Lev Olshvang
faulted back ? I am afraid that since this is C++ lib, some pages are modified and will not be considered clean ? Thanks again for your precious time. Perhaps somebody from the list can respond too. Thank you all Lev 21.12.2018, 18:31, "Greg KH" : > On Fri, Dec 21, 2018 at 05:20:36

Re: How to signal kernel that shared library is not in use by any process anymore ?

2018-12-22 Thread Lev Olshvang
aid, way to ask kernel to unmap this lib I wish we have __init attribute in a user land ! Many Many Thanks again, Lev.  21.12.2018, 20:18, "Shachar Shemesh" : On 21/12/2018 16:20, Lev Olshvang wrote: Hi All, I have an executable (C++)

What to do if kernel_read() returns -EINTR?

2018-12-21 Thread Lev Olshvang
Hi All, I need to do some calculation of file contents inside LSM hook. This LSM hook is in a process context, so I hope I can do I/O. ( I put might_sleep() inside hook to confirm I can sleep) I use kernel_read() to read file in chunks of 4K size. On several files, like libc, libm, I got -EINT

How to signal kernel that shared library is not in use by any process anymore ?

2018-12-21 Thread Lev Olshvang
Hi All, I have an executable (C++) which is the exclusive user of the some shared library that it uses only during the initialization phase. I would like to free memory used by this shared library, because I am running on embedded system. How can I achieve this? I know that dlopen() will

How CONFIG_DEFAULT_SECURITY affects non-staked LSM ? does it take precedence other DAC?

2018-11-24 Thread Lev Olshvang
One of the  choices of security options proposes to select default securityCONFIG_DEFAULT_SECURITYUser can select  traditional Unix DAC or one of LSMs.Suppose CONFIG_DEFAULT_SECURITY_DAC=y  selected.I wonder how it affects LSM policy decisions? Lets take file permissionsfile fs/namei.c, kernel 4.8 

Kernel default security configuration - how it affects LSM policy?

2018-11-21 Thread Lev Olshvang
One of the  choices of security options proposes to select default securityCONFIG_DEFAULT_SECURITYUser can select  traditional Unix DAC or one of LSMs.Suppose CONFIG_DEFAULT_SECURITY_DAC=y  selected.I wonder how it affects LSM policy decisions? Lets take file permissionsfile fs/namei.c, kernel 4.8 

How much kernel stack can be used in non-terminal function inside module ?

2018-08-16 Thread Lev Olshvang
Having the kernel stack is limited to 4K, how can I know how many of this 4K was used before mu function X() is called ? I need to extract 512 bytes of some data from storage using vfs_getxattr(). I can call for kmalloc or just use buffer on stack. But how can assess whether I can safely do t

How to unwind kernel stack to seek for specific caller?

2018-08-15 Thread Lev Olshvang
Hello all linuxers, I am writing a LSM kernel module which had register hook to mmap() I need to know whether this call came from elf loader or other code path. I know that I can print stack of function using dump_stack(), in this case I should seek within kmsg buffer. I see that kmsg_dump_

OT: Job offers

2018-03-27 Thread Lev Olshvang
 Hi everybody,We are dealing with Cyber of cars. Argus was sold and now is growing and looking for hackers, linux programmers and automation programmers, QA and backend. Location : Tel Aviv , Igal AlonPlease see a list of vacancies at https://argus-sec.com/careers/Send me a smiley when decided to g

RE: HOW to prevent DNS resolver from going into revert lookup (record of PTR type)?

2015-03-23 Thread Lev Olshvang
: Monday, March 23, 2015 12:50 PM To: Lev Olshvang Cc: linux-il Subject: Re: HOW to prevent DNS resolver from going into revert lookup (record of PTR type)? OK, I think I understand you now. Let's take a step back for a moment - you say that the client fails to resolve IP address back to host

RE: HOW to prevent DNS resolver from going into revert lookup (record of PTR type)?

2015-03-23 Thread Lev Olshvang
thoroughly. L. From: Amos Shapira [mailto:amos.shap...@gmail.com] Sent: Sunday, March 22, 2015 10:08 PM To: Lev Olshvang Cc: linux-il Subject: Re: HOW to prevent DNS resolver from going into revert lookup (record of PTR type)? I'm not sure what you are trying to achieve here - PTR records

RE: Server stopped DNS name resolution

2015-03-22 Thread Lev Olshvang
Try wireshark/tcpdump to see which DNS queries goes to which server and wheter DNS server replies back . You can also try dig, nslookup and couple of other cmoomd line tools form: http://serverfault.com/questions/7056/whats-the-reverse-dns-command-line-utility/7088#7088 From: Linux-il [mailt

HOW to prevent DNS resolver from going into revert lookup (record of PTR type)?

2015-03-22 Thread Lev Olshvang
Hi Linuxers, I am jumping on today's DNS thread, My Linux Debian uses DNS service some Windows server. Linux resolver gets back IP address ( type A and AAA records), but fail to get back PTR record. ( I am observing DNS queries and failures with Wireshark) This cause ldap to use address in

Re: Help: OpenLdap bindRequest with NTLM authentication makes mailformed message.

2015-03-04 Thread Lev Olshvang
ndows can use it? Perhaps NTLM plugin of openldap library is usable only on LDAP server to authenticate windows clients? L. On 04/03/2015 00:12, shimi wrote: On Tue, Mar 3, 2015 at 10:20 PM, Lev Olshvang <mailto:lols...@012.net.il>> wrote: Hello Alll, Does anybody h

Help: OpenLdap bindRequest with NTLM authentication makes mailformed message.

2015-03-03 Thread Lev Olshvang
Hello Alll, Does anybody have example or can advice how to perform NTLM authentication of Linux client toward Microsoft AD service? I calledd ldap_ntlm_bind() to do the Job, but Wireshark can not fully recognize these message and prints "mailformed" And following ldap_parse_ntlm_bind_resul

Headers for network applications : include netinet/* or linux/*

2012-02-05 Thread Lev Olshvang
Morning Dear Listers, I am looking for the "right" solution for following problem. I came recently across some of multicast setsockopt() calls that have their structures defined in /usr/include/linux/ directory. But you cannot leave without arpa/net functions such as htons() and alike. Bu

Re: Looking for implementation of IPv6 options(RFC3542) on embedded

2012-01-11 Thread Lev Olshvang
Shalom Rami, Hello Dear Linuxes, Does anybody get this mail and maybe had a though about the subject ? On 01/11/2012 07:49 AM, Lev Olshvang wrote: Hi list , I am working on embedded 2.6.39 platform with a uclibc 0.9.32. It turns out that neither uclibc, nor newlib implements IPv6

Looking for implementation of IPv6 option management (RFC3542) on embedded

2012-01-10 Thread Lev Olshvang
Hi list , I am working on embedded 2.6.39 platform with a uclibc 0.9.32. It turns out that neither uclibc, nor newlib implements IPv6 option management (RFC3542) , such as inet6_opt_init(), inet6_opt_append() functions. The newlib for example just provide include reference newlib-1.20.0/

Job offer : Linux developer for network platform, Petah-Tikva

2011-06-28 Thread Lev Olshvang
Evening all, We have open position for Linux programmer (outsourcing). Development for embedded networking platform. Required skills - C, Linux, networking, routing, etc. Experience >2 years. Send me a CV, I will forward. Thx, Lev ___ Linux-

Re: Linux Bridging of Tagged-VLAN (802.1q) Ethernet Traffic

2011-01-25 Thread Lev Olshvang
Hi, just 2 cents: The vconfig man says that many ethernet controllers will remove vlan tags in hardware, so I woulk check with a sniffer for a presence of the vlan tag in ethernet header first. ( And see the vconfig set_flag 1 effect on a vlan interface. ) On 01/24/2011 11:31 PM, shimi w

Re: cgi-script shell script wrapping question

2010-12-28 Thread Lev Olshvang
Hi, I would go to the javascript wrapper solution : I would wrap cgi-script to send javascript code to browser and then redirect original script output to the html file In a javascript I would loop (and sleep) until load of html file will succeed. On 12/27/2010 08:26 PM, Dov Grobgeld wrot

Re: Sound problem with P7H55 MoBo Intel IbexPeak HDMI aplay versus alsamixer -ALC892

2010-12-17 Thread Lev Olshvang
snd_hda_intel fiailed, and the delegating to bios did not help. So I do not have sound in 2.6.36 and even in 2.6.37-rc6 - no sound at ALL ! On 12/16/2010 03:56 PM, Oleg Goldshmidt wrote: On Thu, Dec 16, 2010 at 11:01 AM, Lev Olshvang wrote: Hi, My system Asus P7HP55M Pro board +i3 530 processor

Surprise : /proc/keys file depends on who is looking, super user can not see data of other users

2010-12-16 Thread Lev Olshvang
I have just noticed that result of the cat /proc/keys command displays different output for root and regular user, and the output for the root user does not include keys of other users (I see implementation for this in kernel tree security/keys/proc.c - proc_key_users_show() Is it some k

Re: HW compatibility research: are intel i5 graphics and realtek net/audio hassle-free?

2010-12-16 Thread Lev Olshvang
On 12/15/2010 07:25 PM, Oleg Goldshmidt wrote: On Wed, Dec 15, 2010 at 6:06 PM, geoffrey mendelson mailto:geoffreymendel...@gmail.com>> wrote: There are plenty of them around. No one wants them because you can buy a new computer with 1g of DDR2 or DDR3 RAM for less money than 1g

Sound problem with P7H55 MoBo Intel IbexPeak HDMI aplay versus alsamixer

2010-12-16 Thread Lev Olshvang
Hi, My system Asus P7HP55M Pro board +i3 530 processor running Ubuntu 10.04, 10.10 Board had HDMI port to output video and audio. Video is OK, cabel is ok because it is HDMI 1.4 (suppors audio ) I have issues with sound : alsamixer under the kernel 2.6.32.26 shows only line in, mic and SP

Kernel Oopsed, but where ?

2009-11-30 Thread Lev Olshvang
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 thre

QEMU snapshot : loadvm error

2009-10-29 Thread Lev Olshvang
Hi all, I am getting the following error on my Ubuntu 9.04 , kernel 2.6.28-15, qemu versi 0.10.0 snapshot list (from ide0-hd0): IDTAG VM SIZEDATE VM CLOCK 2 bri 14M 2009-10-28 11:11:21 19:25:21.601 (qemu) loadvm bri

Re: attaching lots of disks to PowerEdge 860?

2009-09-30 Thread Lev Olshvang
You can buy Coraid  and fill it with sata disks  www.coraid.com, isn't this an option ? Amos Shapira wrote: 2009/9/29 Michael Ben-Nes : Hi, I would consider buying used server and fill it up with hard drives. Then using Linux or OpenSolaris to manage them. We have some

Re: [!! SPAM] RE: Virtualization recommendation

2009-09-17 Thread Lev Olshvang
Hi Gilad, Have you heard of KVM-lite  ? (KVM that doesn't require virtualization features from processor) In what sense  "KVM rocks", do we have any benchmark of KVM versus VirtualBox  ? I saw a post from Ingo Molnar stating that context number of context switches in KVM reduced dramatically

Re: Thunderbird problem

2009-09-04 Thread Lev Olshvang
Hi David, Try first to use View pane and switch to the classic view. L. david wrote: This is not a Linux question but it is a FOSS related question. I am running Thunderbird 2.0.0.23 under Windows XP. Everything was working fine until I installed some extensions today and when I restarted

Re: Alsa Underrun problems with Skype and Skype ALSA problem on Ubuntu jauntu

2009-09-04 Thread Lev Olshvang
Hi Geoff, Perhaps you know what is going wrong with Ununtu jaunty Skype - recently I upgraded from ububtu 8.10 to 9.04 and although sound work well with all non-skype applications the Skype complains that it have problem with audio playback and capture device. Strace shows the problem is :

Re: Automated GUI testing with JS and AJAX

2009-09-04 Thread Lev Olshvang
Just my 2 cents: I think that combination of iMacros +GreaseMonkey plugins can be used for regression tests, perhaps the  iMacros alone  is just sufficient for your purposes. Danny Lieberman wrote: Leonid, I'm pretty sure there are two possible non-DIY alternatives 1)  maybe  ratprox

Re: Trying to understand multicast packet IP routing - why src IP address affects reception ??//

2009-08-04 Thread Lev Olshvang
Shahar , Thanks see below : Shachar Shemesh wrote: I'll just point out that my Multicast understanding is a bit tenuous. Lev Olshvang wrote: Evening all, But if I change the interface IP address to other network, these packets are ignored at IP layer (data link layer got it sin

Trying to understand multicast packet IP routing - why src IP address affects reception ??//

2009-08-04 Thread Lev Olshvang
Evening all, I made some investigation in my Ubuntu Linux , kernel 2.6.30 Here the case : I have computer with 2 interfaces. It runs Ubuntu, kernel 2.6.30 and application that opens multicast socket and bind it to one of the interfaces, 192.168.123.1 There are only multicast packets in this

Re: DTT

2009-08-02 Thread Lev Olshvang
Hello all, Here is my 2 cents It started , Frequence is 514000, channel number 26 Symbol Rate is not appilcable for DVB-T I have DVBT card and watched translation already, although quality was bad ( I do not shure about the reason) Hetz Ben Hamo wrote: It's not started yet. Some company alr

Re: SOLVED Why initramfs stops although root device is mountable and ready to use

2009-07-08 Thread Lev Olshvang
Shachar Shemesh wrote: Ilya A. Volynets-Evenbakh wrote: 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. An in

Why initramfs stops although root device is mountable and ready to use

2009-07-07 Thread Lev Olshvang
Boker Everybody, I recently experienced a strange problem: The system is based on Ubuntu kernel 2.6.28 which I compiled and built initramfs for it provided with a driver for ide disk (pata_via.ko) grub should boot this system from the root=/dev/sda1 The boot process stops on a famous messag

Compiling glibc2.9 on ubuntu - stack-protector functions are undefined

2009-07-02 Thread Lev Olshvang
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

Re: PE apps on linux, alternative solutions when win4lin breaks

2009-06-08 Thread Lev Olshvang
Try http://ubuntumanual.org/posts/171/install-internet-explorer-in-ubuntu-the-easiest-way I did not tried it yet, So ifpossible inform us if it works Dotan Cohen wrote: No, it's not High Learn. It's an in house software that seems to be developed by openu. Anyway, the website it self i

Re: Changing Xserver driver from vesa to openchrome gives ICE I/O error

2009-06-02 Thread Lev Olshvang
( I am not using window manager) is not capable to fulfill geometry requests,     i.e running xterm -g +0,-0 from .xinitc does not place it in a bottom ? Hope you can point me to some directions Oleg Goldshmidt wrote: Lev Olshvang writes: So the question - how to set up

Re: Changing Xserver driver from vesa to openchrome gives ICE I/O error

2009-05-24 Thread Lev Olshvang
es with via motherboard. https://launchpad.net/~ubuntu-x-swat/+archive/x-updates - Original Message - Subject: Changing Xserver driver from vesa to openchrome gives ICE I/O error From: Lev Olshvang To: "linux-il" ,"Hetz Ben Hamo" Date: 24-05-2

Changing Xserver driver from vesa to openchrome gives ICE I/O error

2009-05-24 Thread Lev Olshvang
Hi List, and Hetz I have Ubuntu 8.04 system on VIA motherboard that I installed with debootstrap and addes XFCE afterwards. The X windows works only with vesa driver, I have a similar system where Ubuntu 8.04 is functioning with GNOME on the same hardware. So I copied xorg.conf from t

SOLVED Re: Help setting up xfce4 on ubuntu 8.04 - does not connect with Dbus --> Blank screen

2009-05-21 Thread Lev Olshvang
I solved dbus connection problem by installing dbus-x11 package Still have a problem with ICE : libxfcegui4-WARNING **: ICE I/O Error Lev Olshvang wrote: Hi All, I have stripped down ubuntu 8.04no X windows (installed with debootstrap) Now I am adding XFCE desktop XServer

Help setting up xfce4 on ubuntu 8.04 - does not connect with Dbus --> Blank screen

2009-05-21 Thread Lev Olshvang
Hi All, I have stripped down ubuntu 8.04no X windows (installed with debootstrap) Now I am adding XFCE desktop XServer starts up normally (ps + Xorg.log) , but xfce gives strange errors and screen remains blank : more .xsession-errors Xsession: X session started for vbox at Thu M

How to change compact flash geometry ( cfdisk, sfdisk, parted, fdisk failed)

2009-05-21 Thread Lev Olshvang
Hi , I have Compact flash whi gave wrong number of cyl/heads during install. I tried all listed utilities ( cfdisk ,sfdiskm parted ) to change geometry, but after reinserting it retaims to the invalid geometry. Help ?? ___ Linux-il mailing list

SOLVED: why ubuntu increases interface name of network card eth

2009-05-11 Thread Lev Olshvang
CA0:01C9D238] I did not knw that udev writes new rules on every boot: The problem was in file /etc/udev/rules.d/70-persistent-net.rules I cleaned this file and rebooted. ThanX Lev Olshvang wrote: > Shalom List, > > Please advice me on the following issue : > > I have Com

why ubuntu increases interface name of network card eth ( ASAP !!!0

2009-05-11 Thread Lev Olshvang
Shalom List, Please advice me on the following issue : I have Compact flash with Ubuntu 8.04 installation and several mini ATX boxes When I booted up first box, I had eth0 interface up The second box received eth1 name The third one got eth2 /etc/udev/rules.d/z25_persistent-net.rules I d

Re: SOLVED : Xserver resolution problem - NEW : gdm refuses to show up

2009-05-05 Thread Lev Olshvang
). It only should let you have minimum memory to show something, cursor and some more basic operations, a very basic VGA display. It's reserved for times when you have a shiny new card and there are no Linux (or any other OS) drivers for it. Thanks, Hetz On Tue, May 5, 2009 at 3:59 PM,

SOLVED : Xserver question - why VESA considers monitor Virtual size is 800x600 ???

2009-05-05 Thread Lev Olshvang
do you use (I understand it's VIA, but which VIA?), nor distribution that you use... You can download a driver + docs if you know what chipset in your board (lspci -v) at this site: http://linux.via.com.tw/support/downloadFiles.action You can use the forum here (http://www.tkarena.c

Re: Xserver question - why VESA considers monitor Virtual size is 800x600 ???

2009-05-05 Thread Lev Olshvang
thats what you can get unless you fiddle with many parameters in xorg.conf file. Your monitor can supports multiple resolutions as shown by your log, but VESA is too dumb. Use the correct driver (which chip do you have? if you can tell me, I'll be happy to tell you which driver to use) and i

Xserver question - why VESA considers monitor Virtual size is 800x600 ???

2009-05-05 Thread Lev Olshvang
Hi, I have only two resolutions displayed by gnome-display-properties while my Monitor connected to other systems definetly have more than 2 resolutions available. From the Xserver Log I got the following: (II) VESA(0): Total Memory: 1024 64KB banks (65536kB) (II) VESA(0): Configured M

where are now ubuntu gutsy repositories ?

2009-04-26 Thread Lev Olshvang
Shalom, I need to install kernel headres for Ubuntu gutsy, but gutsy is no more on Canonical servers. Where it goes ? I found the required package on net and tryed to install it, but it requires some linux-headers-2.6.22-14 package, but this pakage does not exist. This way I put itsel

Re: SOLVED Failed to pass parameter to module in initramfs stage - "watiting for root file system" problem

2009-04-19 Thread Lev Olshvang
With no help from community I solved the main problem ( ide disk device created) by setting CONFIG_HOTPLUG in kernel configuration. Why IDE need HOTPLUG - Gd knows. ??? Lev Olshvang wrote: Hi All, I am trying to use vanilla kernel on Ubuntu host. The problem that althogb my IDE disk is

Failed to pass parameter to module in initramfs stage - "watiting for root file system" problem

2009-04-19 Thread Lev Olshvang
Hi All, I am trying to use vanilla kernel on Ubuntu host. The problem that althogb my IDE disk is recognized during boot process ( I see messages hda disk, partitions hda1, hda2, hda5 -- as it should be) the system comes finally to BusyBox prompt and I do not see any /dev/hda created The boot

"no medium found error " on USB Sandisk ImageMatte 12 in 1 , 2.6.22

2009-03-22 Thread Lev Olshvang
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-Path: l...@vboxcomm.com X-OriginalArrivalTime: 22 Mar 2009 07:49:43.0875 (UTC) FILETIME=[C3994930:01C9AAC2] Boker tov all, My simple card reader broke down , and I took more advanced Sandisk card

kchmviewer problem - correct contents page , but any other page are inaccessible

2009-03-11 Thread Lev Olshvang
Hi all, I am trying to open .chm book and kchmviewer correctly displays contents page but then produces the following error: /An error occurred while loading ms-its:/tmp/kde-ttt/arklouxQz/Learning JavaScript, 2nd Edition.chm::/Cover.html: The file or folder ms-its:/tmp/kde-tt/arklouxQz/Le

kgdb usage errors on strictly following kgdb authorss guide

2009-02-05 Thread Lev Olshvang
Hello all, I am looking for explanation of the kgdb errors and usage advice. I am running Linux 2.6.15.5 system with a kgdb patches from the kgfb.linsyssoft.com. I built a kernel with ethernet driver included (not module) and KGDB remote debug enable over Ethernet. I am trying to strictl

Re: ptrace in production systems

2009-02-03 Thread Lev Olshvang
Valery Reznic wrote: The second point is that I don't need advice about how it can be done. I can think of three or four ways not mentioned here at all. They have disadvantages in relation to what I implemented, mostly in how long it takes to figure out that the daemon has, indeed, fini

Ubuntu kernel build - ignores .config ??

2008-12-24 Thread Lev Olshvang
Evening all, I need to rebuild kernel for my Ubuntu 7.10 box . So I had installed linux-source package and made menuconfig. ( I do not need make-dpkg since I used to do things manually) And I see that .config file indeed is build according to my request and only my hardware devices are pres

Re: Looking for IGMP (multicast) server-client solution

2008-09-22 Thread Lev Olshvang
Hi Baruch, Thanks for response, I will put my comments close to your statements, please see below Thaks, Baruch Even wrote: On Mon, Sep 22, 2008 at 11:38 AM, Lev Olshvang <[EMAIL PROTECTED]> wrote: Hi, I have following issue to solve: The network have one

Looking for IGMP (multicast) server-client solution

2008-09-22 Thread Lev Olshvang
Hi, I have following issue to solve: The network have one server which sends multicast streams to several multicast groups. I would like it to stop streaming if no client is listening, and start streaming again when client is joining multicast group. I see from sniffing, that clients i

Re: Monitor activation of a process (by process name) - is it possible ?

2008-06-18 Thread Lev Olshvang
Very simple : 1. Rename your original process 2 . Write a wrapper script with a same name which perform your custom actions and then calls to original process CHEERS. lev Dan Shimshoni wrote: Hello, Is there a way to write an application/a kernel module which will notice when a process na

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread Lev Olshvang
wrote: You can try to use valgrind. Valery --- On Sun, 5/18/08, Lev Olshvang <[EMAIL PROTECTED]> wrote: From: Lev Olshvang <[EMAIL PROTECTED]> Subject: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ? To: "linux-il" Date: Sunday, Ma

Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread Lev Olshvang
Hi people, I am fighting with stack corruption problem in my appilcation I wanted to use libsafe , but debian/ubuntu packages are not accessible, so I built libsafe manually from source tar distribution And now, I see from trace ouput that altough my calls are indeed intercepted in preloaded

Need advice LFS or buildroot - the maturity of tools ?

2008-04-28 Thread Lev Olshvang
Hi friends, I need to make customized and small linux installation for i686 processor but with only 64M disk available. I tried some automated tools from LFS site ( Linux from scratch) then buildroot and was stuck with errors I had not time to dig in. Please share you experience with su

POSIX QUEUE : mq_receive fails, but works fine after reboot , why ??

2008-04-24 Thread Lev Olshvang
Hello friends, During program debug I made sometimes errors on queue attributes. Somehow my working test program started to complain on invalid msg size. I was beating my head agains a wall because on a program which send and receives messages from POSIX queue ( I create new queue on every pro

Re: Posix/NTPL : Is particular thread alive ? (pthread_timedjoin_np ??)

2008-04-24 Thread Lev Olshvang
wrote: Lev Olshvang wrote: I am looking for generic way to ask about thread existence. You mean like calling pthread_kill() with a signal number of zero? :-) Gilad -- Gilad Ben-Yossef Chief Coffee Drinker Codefidence Ltd. The code is free, your time isn't.(TM) Web:

Re: AOE and iSCSI (software only)

2008-04-24 Thread Lev Olshvang
ronys wrote: Hi, For a LAN, AOE seems to have less overhead, so performance *might* be better (assuming the network is the bottleneck). iSCSI is much more popular in the industry, though. My experience is with iSCSI - feel free to ask me if you need more info on setting up iSCSI initiators & t

Re: Posix/NTPL : Is particular thread alive ? (pthread_timedjoin_np ??)

2008-04-22 Thread Lev Olshvang
Gilad Ben-Yossef wrote: Lev Olshvang wrote: I am looking for generic way to ask about  thread existence. You mean like calling pthread_kill() with a signal number of zero? :-) Gilad -- Gilad Ben-Yossef Chief Coffee Drinker Codefidence Ltd. The code is free, your time

Re: Posix/NTPL : Is particular thread alive ? (pthread_timedjoin_np ??)

2008-04-17 Thread Lev Olshvang
guy keren wrote: Lev Olshvang wrote: Hi friends, I seems that i have buggy implementation of pthread_timedjoin_np. Although linux does not documented this function yet ( see http://www.kernel.org/doc/man-pages/missing_pages.html ), I suspect that on my installation this function does not

Re: Posix/NTPL : Is particular thread alive ? (pthread_timedjoin_np ??) - Solved

2008-04-16 Thread Lev Olshvang
Just solved - evidently the timeout should be specified as absolute time -- Lev Olshvang wrote: Hi friends, I seems that i have buggy implementation of

Posix/NTPL : Is particular thread alive ? (pthread_timedjoin_np ??)

2008-04-16 Thread Lev Olshvang
Hi friends, I seems that i have buggy implementation of pthread_timedjoin_np. Although linux does not documented this function yet ( see http://www.kernel.org/doc/man-pages/missing_pages.html ), I suspect that on my installation this function does not work properly because it returns sometime

  1   2   >