From gabor at szabgab.com Tue Dec 2 06:46:55 2014 From: gabor at szabgab.com (Gabor Szabo) Date: Tue, 2 Dec 2014 05:46:55 +0100 Subject: BYOD in schools In-Reply-To: References: Message-ID: Thank all of you for the responses. Only about 60% of the parents have supported the project and for now it has been cancelled. regards Gabor -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Tue Dec 2 19:14:50 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 2 Dec 2014 19:14:50 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: Hi everyone! Thanks very much for the great willingness to help, a survey of the students revealed that there should be at least 30 students who would like to be helped with this, of course if it is published more widely (and maybe also outside of HUJI) other souls may be won ;) I intend to read what Orna wrote about this also :) As far as what to install, I honestly don't want to start distro holy wars and for all I care every person can install that distro s/he likes, as pointed out above the main issue will be that the toolchain (eclipse/gcc/etc) is similar to what is available @huji, I am trying to have the TA make a list of the tools they need. As far as installation media goes I'm checking with my boss, but I don't think it should be a problem. Date wise, I understand for most of you the easiest for most if it's Thursday late afternoon/evening, Friday morning or Sunday? I'll try to put up a poll later today when is best for everyone. Thats' it for now :), Eliyahu - ????? 2014-11-29 12:52 GMT+02:00 Guy Sheffer : > Hey Guys, > If you need any help I can do my best. I am busy as hell these days but > would love to come and help for old times sake :) > > Guy Sheffer > On Nov 24, 2014 9:58 PM, "E.S. Rosenberg" > wrote: > >> There is currently some low key talk of arranging a linux install party >> for new students (and others interested) at Givat Ram. >> >> Nothing specific as yet, the TA still needs to get back to us whether or >> not there is enough interest. >> >> But I want to ask already if there is is enough interest are there people >> on the list interested in helping out? >> >> Thanks, >> Eliyahu - ????? >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Tue Dec 2 19:26:38 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 2 Dec 2014 19:26:38 +0200 Subject: Recommended Router w/ADSL Modem In-Reply-To: References: Message-ID: I recently installed OpenWRT on a TP-Link WR-841ND (after I noticed tp-link hadn't provided that particular revision with an update in a few years) and it's running excellently (in a far past I bricked an 841 like that this time it all was excellent). Most TP-Link devices are well supported and have JTAG ports so you can recover from bad flashes etc. so the question is what features are important to you, if you want Gbit Ethernet then the 1043 is better, if you want 802.11ac then in Israel there's only the WDR-4600 iirc, which according to openwrt.org is also supported.... HTH, Eliyahu - ????? 2014-11-24 16:27 GMT+02:00 Amichai Rotman : > Can any of you recommend an off-the-shelf ADSL modem/router I can install > OpenWRT on? > > My current router is a Netgear DGN2200 by Bezezeq. > > Thanks! > > Amichai > > Sent from my Galaxy S3 > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladypine at gmail.com Tue Dec 2 21:11:01 2014 From: ladypine at gmail.com (Orna Agmon Ben-Yehuda) Date: Tue, 2 Dec 2014 21:11:01 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: On Tue, Dec 2, 2014 at 7:14 PM, E.S. Rosenberg wrote: > Hi everyone! > Thanks very much for the great willingness to help, a survey of the > students revealed that there should be at least 30 students who would like > to be helped with this, of course if it is published more widely (and maybe > also outside of HUJI) other souls may be won ;) > > I intend to read what Orna wrote about this also :) > > As far as what to install, I honestly don't want to start distro holy wars > and for all I care every person can install that distro s/he likes, as > pointed out above the main issue will be that the toolchain > (eclipse/gcc/etc) is similar to what is available @huji, I am trying to > have the TA make a list of the tools they need. > > As far as installation media goes I'm checking with my boss, but I don't > think it should be a problem. > > Date wise, I understand for most of you the easiest for most if it's > Thursday late afternoon/evening, Friday morning or Sunday? I'll try to put > up a poll later today when is best for everyone. > > If you want students to come, then you should consider that many of them go home on Thursday evening. Some might be willing to stay the night, but most will require Friday for their travels. So Sunday would be a better option. Thats' it for now :), > Eliyahu - ????? > > 2014-11-29 12:52 GMT+02:00 Guy Sheffer : > >> Hey Guys, >> If you need any help I can do my best. I am busy as hell these days but >> would love to come and help for old times sake :) >> >> Guy Sheffer >> On Nov 24, 2014 9:58 PM, "E.S. Rosenberg" >> wrote: >> >>> There is currently some low key talk of arranging a linux install party >>> for new students (and others interested) at Givat Ram. >>> >>> Nothing specific as yet, the TA still needs to get back to us whether or >>> not there is enough interest. >>> >>> But I want to ask already if there is is enough interest are there >>> people on the list interested in helping out? >>> >>> Thanks, >>> Eliyahu - ????? >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >>> >>> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Orna Agmon Ben-Yehuda. http://ladypine.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Tue Dec 2 21:39:41 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Tue, 2 Dec 2014 21:39:41 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: On Tue, Dec 2, 2014 at 9:11 PM, Orna Agmon Ben-Yehuda wrote: > > > On Tue, Dec 2, 2014 at 7:14 PM, E.S. Rosenberg > wrote: > >> Hi everyone! >> Thanks very much for the great willingness to help, a survey of the >> students revealed that there should be at least 30 students who would like >> to be helped with this, of course if it is published more widely (and maybe >> also outside of HUJI) other souls may be won ;) >> >> I intend to read what Orna wrote about this also :) >> >> As far as what to install, I honestly don't want to start distro holy >> wars and for all I care every person can install that distro s/he likes, as >> pointed out above the main issue will be that the toolchain >> (eclipse/gcc/etc) is similar to what is available @huji, I am trying to >> have the TA make a list of the tools they need. >> >> As far as installation media goes I'm checking with my boss, but I don't >> think it should be a problem. >> >> Date wise, I understand for most of you the easiest for most if it's >> Thursday late afternoon/evening, Friday morning or Sunday? I'll try to put >> up a poll later today when is best for everyone. >> >> > If you want students to come, then you should consider that many of them > go home on Thursday evening. Some might be willing to stay the night, but > most will require Friday for their travels. So Sunday would be a better > option. > On the other hand, students who don't have class early Sunday won't bother coming early. We'll probably need this to be an all day affair, and people will come when they can come. > > Thats' it for now :), >> Eliyahu - ????? >> >> 2014-11-29 12:52 GMT+02:00 Guy Sheffer : >> >>> Hey Guys, >>> If you need any help I can do my best. I am busy as hell these days but >>> would love to come and help for old times sake :) >>> >>> Guy Sheffer >>> On Nov 24, 2014 9:58 PM, "E.S. Rosenberg" >>> wrote: >>> >>>> There is currently some low key talk of arranging a linux install party >>>> for new students (and others interested) at Givat Ram. >>>> >>>> Nothing specific as yet, the TA still needs to get back to us whether >>>> or not there is enough interest. >>>> >>>> But I want to ask already if there is is enough interest are there >>>> people on the list interested in helping out? >>>> >>>> Thanks, >>>> Eliyahu - ????? >>>> >>>> _______________________________________________ >>>> Linux-il mailing list >>>> Linux-il at cs.huji.ac.il >>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >>>> >>>> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > > -- > Orna Agmon Ben-Yehuda. > http://ladypine.org > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Wed Dec 3 20:10:28 2014 From: vordoo at yahoo.com (vordoo) Date: Wed, 03 Dec 2014 20:10:28 +0200 Subject: Image (ddrescue / dd) windows phone 8X? Message-ID: <547F5214.40109@yahoo.com> An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Thu Dec 4 20:06:03 2014 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 4 Dec 2014 20:06:03 +0200 Subject: Mageia 4 - update delay Message-ID: <20141204200603.3900cec8@shlomo1.solomon> Since upgrading from Mageia 3 to Mageia 4, when I get a notification that updates are available, I click on it but Software Package Update starts only after exactly a 4 minute delay. Any ideas why? -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From linux-il at shimi.net Fri Dec 5 00:10:06 2014 From: linux-il at shimi.net (shimi) Date: Fri, 5 Dec 2014 00:10:06 +0200 Subject: Mageia 4 - update delay In-Reply-To: <20141204200603.3900cec8@shlomo1.solomon> References: <20141204200603.3900cec8@shlomo1.solomon> Message-ID: On Thu, Dec 4, 2014 at 8:06 PM, Shlomo Solomon wrote: > Since upgrading from Mageia 3 to Mageia 4, when I get a > notification that updates are available, I click on it but Software > Package Update starts only after exactly a 4 minute delay. > > Any ideas why? > > > Maybe it is waiting on some lock file? Package managers has this tendency... Does it really start after 4 minutes, or does it just start showing the UI after 4 minutes? See if new process has been created. If there's a new process, try to strace -f -p to see what it is waiting on (you probably want to suffix this command with [ >update.strace 2>&1 ] as the output will probably become quite large. Also you should run this as root if the process launched is not in your own UID) -- Shimi -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Fri Dec 5 09:02:05 2014 From: shachar at shemesh.biz (Shachar Shemesh) Date: Fri, 05 Dec 2014 09:02:05 +0200 Subject: Weka.io is looking for a part time system admin (freelance) Message-ID: <5481586D.5060605@shemesh.biz> Hi all, Weka.io is a small start-up in the storage field. We are located in Tel-Aviv, fairly close to the Azrieli mall. We are looking for someone to do IT work. Scope is around 1 day a week. The main technology of interest is Linux (mostly Ubuntu and RedHat) and VMWare ESX. You get extra points if you can also manage Macs. Due to scope of the work, free lance would probably be the most appropriate employment model, but if that's a problem, we can probably work around it. Please contact me directly. Thanks, Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Sat Dec 6 18:39:56 2014 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sat, 6 Dec 2014 18:39:56 +0200 Subject: Mageia 4 - update delay In-Reply-To: References: <20141204200603.3900cec8@shlomo1.solomon> Message-ID: <20141206183956.5d48c9ee@shlomo1.solomon> I tried running ps -A before clicking, a few times during the 4 minute wait and after the GUI started. I then used diff to compare. The only change I found during the wait was an additional kworker/2:0 (there were already over 20 kworker processes running). Could this be significant? I haven't yet run strace as you suggested. When the GUI started, I found a MageiaUpdate process and an additional drakrpm-update process (for a total of 2). I assume the first one is responsible for the periodic check if new updates are available. On Fri, 5 Dec 2014 00:10:06 +0200 shimi wrote: > On Thu, Dec 4, 2014 at 8:06 PM, Shlomo Solomon > wrote: > > > Since upgrading from Mageia 3 to Mageia 4, when I get a > > notification that updates are available, I click on it but Software > > Package Update starts only after exactly a 4 minute delay. > > > > Any ideas why? > > > > > > > Maybe it is waiting on some lock file? Package managers has this > tendency... > > Does it really start after 4 minutes, or does it just start showing > the UI after 4 minutes? See if new process has been created. If > there's a new process, try to strace -f -p to see what it is > waiting on (you probably want to suffix this command with > [ >update.strace 2>&1 ] as the output will probably become quite > large. Also you should run this as root if the process launched is > not in your own UID) > > -- Shimi -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From amos.shapira at gmail.com Sun Dec 7 06:02:13 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Sun, 7 Dec 2014 15:02:13 +1100 Subject: Mageia 4 - update delay In-Reply-To: <20141206183956.5d48c9ee@shlomo1.solomon> References: <20141204200603.3900cec8@shlomo1.solomon> <20141206183956.5d48c9ee@shlomo1.solomon> Message-ID: Use "strace -p -f -rT -o strace.out" to see what the process and its children spend time on. On 7 December 2014 at 03:39, Shlomo Solomon wrote: > I tried running ps -A before clicking, a few times during the 4 minute > wait and after the GUI started. I then used diff to compare. The only > change I found during the wait was an additional kworker/2:0 (there > were already over 20 kworker processes running). Could this be > significant? I haven't yet run strace as you suggested. > > When the GUI started, I found a MageiaUpdate process and an additional > drakrpm-update process (for a total of 2). I assume the first one is > responsible for the periodic check if new updates are available. > > On Fri, 5 Dec 2014 00:10:06 +0200 > shimi wrote: > > > On Thu, Dec 4, 2014 at 8:06 PM, Shlomo Solomon > > wrote: > > > > > Since upgrading from Mageia 3 to Mageia 4, when I get a > > > notification that updates are available, I click on it but Software > > > Package Update starts only after exactly a 4 minute delay. > > > > > > Any ideas why? > > > > > > > > > > > Maybe it is waiting on some lock file? Package managers has this > > tendency... > > > > Does it really start after 4 minutes, or does it just start showing > > the UI after 4 minutes? See if new process has been created. If > > there's a new process, try to strace -f -p to see what it is > > waiting on (you probably want to suffix this command with > > [ >update.strace 2>&1 ] as the output will probably become quite > > large. Also you should run this as root if the process launched is > > not in your own UID) > > > > -- Shimi > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From linux-il at shimi.net Sun Dec 7 09:29:56 2014 From: linux-il at shimi.net (shimi) Date: Sun, 7 Dec 2014 09:29:56 +0200 Subject: Mageia 4 - update delay In-Reply-To: <20141206183956.5d48c9ee@shlomo1.solomon> References: <20141204200603.3900cec8@shlomo1.solomon> <20141206183956.5d48c9ee@shlomo1.solomon> Message-ID: On Sat, Dec 6, 2014 at 6:39 PM, Shlomo Solomon wrote: > I tried running ps -A before clicking, a few times during the 4 minute > wait and after the GUI started. I then used diff to compare. The only > change I found during the wait was an additional kworker/2:0 (there > were already over 20 kworker processes running). Could this be > significant? I haven't yet run strace as you suggested. > > Highly doubt it. kworker are kernel threads... not userspace programs... > When the GUI started, I found a MageiaUpdate process and an additional > drakrpm-update process (for a total of 2). I assume the first one is > responsible for the periodic check if new updates are available. > > So it seems that the process is indeed not launched for the 4 minutes. My next suggestion would be to run 'ps auxf' (or pstree?) after the package manager has launched, and hopefully you'll see *which* process runs your update processes (the parent); At this point I would assume the issue is there. First, check which package it belongs to and verify you're running latest update for this package (you don't want to mess with already-fixed-bugs). Then, assuming you're up-to-date and the issue remains, strace -f this process, and only then click whatever you click there - to see which system calls it does between the time you click what you click, and the package manager going up. Perhaps this process waits on something before it starts the actual update manager... -- Shimi -------------- next part -------------- An HTML attachment was scrubbed... URL: From geoffreymendelson at gmail.com Sun Dec 7 09:34:20 2014 From: geoffreymendelson at gmail.com (geoffrey mendelson) Date: Sun, 07 Dec 2014 09:34:20 +0200 Subject: Mageia 4 - update delay In-Reply-To: References: <20141204200603.3900cec8@shlomo1.solomon> <20141206183956.5d48c9ee@shlomo1.solomon> Message-ID: <548402FC.3020103@gmail.com> On 12/7/2014 9:29 AM, shimi wrote: > > So it seems that the process is indeed not launched for the 4 minutes. > My next suggestion would be to run 'ps auxf' (or pstree?) after the > package manager has launched, and hopefully you'll see *which* process > runs your update processes (the parent); At this point I would assume > the issue is there. First, check which package it belongs to and > verify you're running latest update for this package (you don't want > to mess with already-fixed-bugs). Then, assuming you're up-to-date and > the issue remains, strace -f this process, and only then click > whatever you click there - to see which system calls it does between > the time you click what you click, and the package manager going up. > Perhaps this process waits on something before it starts the actual > update manager... DNS problems? Geoff. -- Geoffrey S. Mendelson 4X1GM/N3OWJ Jerusalem Israel. From amos.shapira at gmail.com Sun Dec 7 11:27:13 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Sun, 7 Dec 2014 20:27:13 +1100 Subject: Mageia 4 - update delay In-Reply-To: <20141206183956.5d48c9ee@shlomo1.solomon> References: <20141204200603.3900cec8@shlomo1.solomon> <20141206183956.5d48c9ee@shlomo1.solomon> Message-ID: Also - what do you see in the logs? On 7 December 2014 at 03:39, Shlomo Solomon wrote: > I tried running ps -A before clicking, a few times during the 4 minute > wait and after the GUI started. I then used diff to compare. The only > change I found during the wait was an additional kworker/2:0 (there > were already over 20 kworker processes running). Could this be > significant? I haven't yet run strace as you suggested. > > When the GUI started, I found a MageiaUpdate process and an additional > drakrpm-update process (for a total of 2). I assume the first one is > responsible for the periodic check if new updates are available. > > On Fri, 5 Dec 2014 00:10:06 +0200 > shimi wrote: > > > On Thu, Dec 4, 2014 at 8:06 PM, Shlomo Solomon > > wrote: > > > > > Since upgrading from Mageia 3 to Mageia 4, when I get a > > > notification that updates are available, I click on it but Software > > > Package Update starts only after exactly a 4 minute delay. > > > > > > Any ideas why? > > > > > > > > > > > Maybe it is waiting on some lock file? Package managers has this > > tendency... > > > > Does it really start after 4 minutes, or does it just start showing > > the UI after 4 minutes? See if new process has been created. If > > there's a new process, try to strace -f -p to see what it is > > waiting on (you probably want to suffix this command with > > [ >update.strace 2>&1 ] as the output will probably become quite > > large. Also you should run this as root if the process launched is > > not in your own UID) > > > > -- Shimi > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From erez0001 at gmail.com Wed Dec 10 12:30:44 2014 From: erez0001 at gmail.com (Erez D) Date: Wed, 10 Dec 2014 12:30:44 +0200 Subject: udev persistance promblems Message-ID: I have a strange problem when i insert my wlan usb dongle, I get wlan0. if i remove and reinsert, i get wlan1 next time - wlan2 etc.. if i look at /etc/udev/rules.d/*Persistance* i see multiple lines that are completely identical, except the wlan number any idea ? any idea of how to debug this ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From linux-il at shimi.net Wed Dec 10 12:34:11 2014 From: linux-il at shimi.net (shimi) Date: Wed, 10 Dec 2014 12:34:11 +0200 Subject: udev persistance promblems In-Reply-To: References: Message-ID: On Wed, Dec 10, 2014 at 12:30 PM, Erez D wrote: > I have a strange problem > > when i insert my wlan usb dongle, I get wlan0. > if i remove and reinsert, i get wlan1 > next time - wlan2 > etc.. > > if i look at /etc/udev/rules.d/*Persistance* > i see multiple lines that are completely identical, except the wlan number > > any idea ? > any idea of how to debug this ? > > But, do you have a specific rule that forces this specific dongle to be wlan0? i.e. by direct identification of it, like by MAC or Manufacturer ID? -------------- next part -------------- An HTML attachment was scrubbed... URL: From erez0001 at gmail.com Wed Dec 10 12:37:53 2014 From: erez0001 at gmail.com (Erez D) Date: Wed, 10 Dec 2014 12:37:53 +0200 Subject: udev persistance promblems In-Reply-To: References: Message-ID: On Wed, Dec 10, 2014 at 12:34 PM, shimi wrote: > On Wed, Dec 10, 2014 at 12:30 PM, Erez D wrote: > >> I have a strange problem >> >> when i insert my wlan usb dongle, I get wlan0. >> if i remove and reinsert, i get wlan1 >> next time - wlan2 >> etc.. >> >> if i look at /etc/udev/rules.d/*Persistance* >> i see multiple lines that are completely identical, except the wlan number >> >> any idea ? >> any idea of how to debug this ? >> >> > it auto generates a rule on first wlan insertion it doesn't honor the above rule on the second insertion, but generates a new identical one etc ... > But, do you have a specific rule that forces this specific dongle to be > wlan0? i.e. by direct identification of it, like by MAC or Manufacturer ID? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dotan at shavitos.com Wed Dec 10 15:55:16 2014 From: dotan at shavitos.com (Dotan Shavit) Date: Wed, 10 Dec 2014 15:55:16 +0200 Subject: [Job Offer] - Customer Support / PHP Programmer Message-ID: <548850C4.40206@shavitos.com> An HTML attachment was scrubbed... URL: From gilboad at gmail.com Thu Dec 11 09:08:09 2014 From: gilboad at gmail.com (Gilboa Davara) Date: Thu, 11 Dec 2014 09:08:09 +0200 Subject: udev persistance promblems In-Reply-To: References: Message-ID: On Wed, Dec 10, 2014 at 12:30 PM, Erez D wrote: > I have a strange problem > > when i insert my wlan usb dongle, I get wlan0. > if i remove and reinsert, i get wlan1 > next time - wlan2 > etc.. > > if i look at /etc/udev/rules.d/*Persistance* > i see multiple lines that are completely identical, except the wlan number > > any idea ? > any idea of how to debug this ? I'd suggest you write your own udev rules and give it a high number. It'll give your USB dongle a persistent name regardless of previous udev rules. - Gilboa From sara.fink at gmail.com Sat Dec 13 17:05:55 2014 From: sara.fink at gmail.com (sara fink) Date: Sat, 13 Dec 2014 17:05:55 +0200 Subject: libreoffice problems with fonts Message-ID: Hi All I'm facing a weird problem with libreoffice. I have a ppt file (converted from pptx into ppt on windows, so that I can view the ppt in libreoffice). The problem is that when I see the ppt file in full screen mode (slide show), some letters disappear. For instance the word int appears as i t. In normal mode the word appears ok. The same goes for the word double. The letter "o" disappears (not always). I can't use the pptx format with libreoffice because all the format is messed up, graphics, the text appears in left side instead of right. In the language settings I have selected hebrew as CTL and English (Canada) as western, locale setting Hebrew Anyone knows what could be the problem of the disappearance of the letters in slide show mode? -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Sat Dec 13 17:48:41 2014 From: shlomif at gmail.com (Shlomi Fish) Date: Sat, 13 Dec 2014 17:48:41 +0200 Subject: libreoffice problems with fonts In-Reply-To: References: Message-ID: Hi Sara, On Sat, Dec 13, 2014 at 5:05 PM, sara fink wrote: > > Hi All > > I'm facing a weird problem with libreoffice. I have a ppt file (converted > from pptx into ppt on windows, so that I can view the ppt in libreoffice). > > The problem is that when I see the ppt file in full screen mode (slide > show), some letters disappear. For instance the word int appears as i t. In > normal mode the word appears ok. The same goes for the word double. The > letter "o" disappears (not always). > > a few questions: 1. What is your distribution, its version, etc.? 2. What are your system's SPECs (CPU, graphics card, etc.)? 3. Did you try it in a new UNIX user account? Does it happen there? 4. Can you share an offending file somehow? 5. Which version of LibreOffice are you using? Did you try it with a version of LibreOffice or Apache OpenOffice from the upstream developers? Regards, Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at shlomifish.org Sat Dec 13 17:46:30 2014 From: shlomif at shlomifish.org (Shlomi Fish) Date: Sat, 13 Dec 2014 17:46:30 +0200 Subject: libreoffice problems with fonts In-Reply-To: References: Message-ID: <20141213174630.7b983ce1@telaviv1.shlomifish.org> Hi Sara, On Sat, 13 Dec 2014 17:05:55 +0200 sara fink wrote: > Hi All > > I'm facing a weird problem with libreoffice. I have a ppt file (converted > from pptx into ppt on windows, so that I can view the ppt in libreoffice). > > The problem is that when I see the ppt file in full screen mode (slide > show), some letters disappear. For instance the word int appears as i t. In > normal mode the word appears ok. The same goes for the word double. The > letter "o" disappears (not always). > a few questions: 1. What is your distribution, its version, etc.? 2. What are your system's SPECs (CPU, graphics card, etc.)? 3. Did you try it in a new UNIX user account? Does it happen there? 4. Can you share an offending file somehow? 5. Which version of LibreOffice are you using? Did you try it with a version of LibreOffice or Apache OpenOffice from the upstream developers? Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/New-versions-of-the-GPL/ You can never truly appreciate The Gilmore Girls until you?ve watched it in the original Klingon. Please reply to list if it's a mailing list post - http://shlom.in/reply . From gabor at szabgab.com Sun Dec 14 19:30:43 2014 From: gabor at szabgab.com (Gabor Szabo) Date: Sun, 14 Dec 2014 19:30:43 +0200 Subject: Adding external HDD to Raspberry Pi Message-ID: So finally I install the Raspberry Pi I bought a few weeks ago and wanted to add an external HDD. I plugged in the external hard drive and /var/log/syslog printed the following: Dec 14 17:02:55 pi kernel: [ 759.981949] usb 1-1.3: new high-speed USB device number 8 using dwc_otg Dec 14 17:02:55 pi kernel: [ 760.163364] usb 1-1.3: New USB device found, idVendor=1058, idProduct=0820 Dec 14 17:02:55 pi kernel: [ 760.163398] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=5 Dec 14 17:02:55 pi kernel: [ 760.163414] usb 1-1.3: Product: My Passport 0820 Dec 14 17:02:55 pi kernel: [ 760.163429] usb 1-1.3: Manufacturer: Western Digital Dec 14 17:02:55 pi kernel: [ 760.163444] usb 1-1.3: SerialNumber: 57583431413432454363833 Dec 14 17:02:55 pi kernel: [ 760.169522] usb-storage 1-1.3:1.0: USB Mass Storage device detected Dec 14 17:02:55 pi kernel: [ 760.181935] scsi0 : usb-storage 1-1.3:1.0 Dec 14 17:02:56 pi kernel: [ 761.183065] scsi 0:0:0:0: Direct-Access WD My Passport 0820 1012 PQ: 0 ANSI: 6 Dec 14 17:02:56 pi kernel: [ 761.187365] scsi 0:0:0:1: Enclosure WD SES Device 1012 PQ: 0 ANSI: 6 Dec 14 17:02:56 pi kernel: [ 761.189473] sd 0:0:0:0: [sda] Spinning up disk... Dec 14 17:02:56 pi kernel: [ 761.277106] sd 0:0:0:0: Attached scsi generic sg0 type 0 Dec 14 17:02:56 pi kernel: [ 761.278094] scsi 0:0:0:1: Attached scsi generic sg1 type 13 But then when I try to run $ sudo fdisk /dev/sda I get fdisk: unable to open /dev/sda: No such device or address $ ls -l /dev/sda brw-rw---T 1 root floppy 8, 0 Dec 14 17:21 /dev/sda $ sudo fdisk -l only lists the sdcard The external disk is brand new and it has NTFS on it. I have not handled disk in linux for a long time, but a I recall I am supposed to use fdisk to partition it and then use mkfs.ext4 to format. So what am I missing here? Gabor -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Sun Dec 14 19:45:34 2014 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sun, 14 Dec 2014 19:45:34 +0200 Subject: Mageia 4 - update delay In-Reply-To: References: <20141204200603.3900cec8@shlomo1.solomon> <20141206183956.5d48c9ee@shlomo1.solomon> Message-ID: <20141214194534.36709964@shlomo1.solomon> Aside from regularly installing updates I've made no changes - but the problem went away for no apparent reason. I guess I'll never know what was causing the delay. On Sun, 7 Dec 2014 09:29:56 +0200 shimi wrote: > On Sat, Dec 6, 2014 at 6:39 PM, Shlomo Solomon > wrote: > > > I tried running ps -A before clicking, a few times during the 4 > > minute wait and after the GUI started. I then used diff to compare. > > The only change I found during the wait was an additional > > kworker/2:0 (there were already over 20 kworker processes running). > > Could this be significant? I haven't yet run strace as you > > suggested. > > > > > Highly doubt it. kworker are kernel threads... not userspace > programs... > > > > When the GUI started, I found a MageiaUpdate process and an > > additional drakrpm-update process (for a total of 2). I assume the > > first one is responsible for the periodic check if new updates are > > available. > > > > > So it seems that the process is indeed not launched for the 4 > minutes. My next suggestion would be to run 'ps auxf' (or pstree?) > after the package manager has launched, and hopefully you'll see > *which* process runs your update processes (the parent); At this > point I would assume the issue is there. First, check which package > it belongs to and verify you're running latest update for this > package (you don't want to mess with already-fixed-bugs). Then, > assuming you're up-to-date and the issue remains, strace -f this > process, and only then click whatever you click there - to see which > system calls it does between the time you click what you click, and > the package manager going up. Perhaps this process waits on something > before it starts the actual update manager... > > -- Shimi -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From esr+linux-il at g.jct.ac.il Sun Dec 14 20:43:27 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 14 Dec 2014 20:43:27 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: Are you providing the external HDD with sufficient electricity? The Raspberry is most likely not capable of providing enough current... 2014-12-14 19:30 GMT+02:00 Gabor Szabo : > > So finally I install the Raspberry Pi I bought a few weeks ago and wanted > to add an external HDD. > I plugged in the external hard drive and /var/log/syslog printed the > following: > > > Dec 14 17:02:55 pi kernel: [ 759.981949] usb 1-1.3: new high-speed USB > device number 8 using dwc_otg > > Dec 14 17:02:55 pi kernel: [ 760.163364] usb 1-1.3: New USB device found, > idVendor=1058, idProduct=0820 > > Dec 14 17:02:55 pi kernel: [ 760.163398] usb 1-1.3: New USB device > strings: Mfr=1, Product=2, SerialNumber=5 > > Dec 14 17:02:55 pi kernel: [ 760.163414] usb 1-1.3: Product: My Passport > 0820 > > Dec 14 17:02:55 pi kernel: [ 760.163429] usb 1-1.3: Manufacturer: Western > Digital > > Dec 14 17:02:55 pi kernel: [ 760.163444] usb 1-1.3: SerialNumber: > 57583431413432454363833 > > Dec 14 17:02:55 pi kernel: [ 760.169522] usb-storage 1-1.3:1.0: USB Mass > Storage device detected > > Dec 14 17:02:55 pi kernel: [ 760.181935] scsi0 : usb-storage 1-1.3:1.0 > > Dec 14 17:02:56 pi kernel: [ 761.183065] scsi 0:0:0:0: Direct-Access > WD My Passport 0820 1012 PQ: 0 ANSI: 6 > > Dec 14 17:02:56 pi kernel: [ 761.187365] scsi 0:0:0:1: Enclosure > WD SES Device 1012 PQ: 0 ANSI: 6 > > Dec 14 17:02:56 pi kernel: [ 761.189473] sd 0:0:0:0: [sda] Spinning up > disk... > > Dec 14 17:02:56 pi kernel: [ 761.277106] sd 0:0:0:0: Attached scsi > generic sg0 type 0 > > Dec 14 17:02:56 pi kernel: [ 761.278094] scsi 0:0:0:1: Attached scsi > generic sg1 type 13 > > > But then when I try to run > > > $ sudo fdisk /dev/sda > > I get > > fdisk: unable to open /dev/sda: No such device or address > > $ ls -l /dev/sda > > brw-rw---T 1 root floppy 8, 0 Dec 14 17:21 /dev/sda > > $ sudo fdisk -l > > only lists the sdcard > > > The external disk is brand new and it has NTFS on it. I have not handled > disk in linux for a long time, but a I recall I am supposed to use fdisk to > partition it and then use mkfs.ext4 to format. > > > So what am I missing here? > > > Gabor > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabor at szabgab.com Sun Dec 14 21:07:04 2014 From: gabor at szabgab.com (Gabor Szabo) Date: Sun, 14 Dec 2014 21:07:04 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: Hmm, good question. The Raspberry does see the device when it is connected, so is it possible that it needs more power after later on? How can I check? If the problem is lack of current, how can I solve that? Can I put one of these usb hubs that also provide power between the two? Gabor On Sun, Dec 14, 2014 at 8:43 PM, E.S. Rosenberg wrote: > > Are you providing the external HDD with sufficient electricity? The > Raspberry is most likely not capable of providing enough current... > > 2014-12-14 19:30 GMT+02:00 Gabor Szabo : > >> So finally I install the Raspberry Pi I bought a few weeks ago and wanted >> to add an external HDD. >> I plugged in the external hard drive and /var/log/syslog printed the >> following: >> >> >> Dec 14 17:02:55 pi kernel: [ 759.981949] usb 1-1.3: new high-speed USB >> device number 8 using dwc_otg >> >> Dec 14 17:02:55 pi kernel: [ 760.163364] usb 1-1.3: New USB device >> found, idVendor=1058, idProduct=0820 >> >> Dec 14 17:02:55 pi kernel: [ 760.163398] usb 1-1.3: New USB device >> strings: Mfr=1, Product=2, SerialNumber=5 >> >> Dec 14 17:02:55 pi kernel: [ 760.163414] usb 1-1.3: Product: My Passport >> 0820 >> >> Dec 14 17:02:55 pi kernel: [ 760.163429] usb 1-1.3: Manufacturer: >> Western Digital >> >> Dec 14 17:02:55 pi kernel: [ 760.163444] usb 1-1.3: SerialNumber: >> 57583431413432454363833 >> >> Dec 14 17:02:55 pi kernel: [ 760.169522] usb-storage 1-1.3:1.0: USB Mass >> Storage device detected >> >> Dec 14 17:02:55 pi kernel: [ 760.181935] scsi0 : usb-storage 1-1.3:1.0 >> >> Dec 14 17:02:56 pi kernel: [ 761.183065] scsi 0:0:0:0: Direct-Access >> WD My Passport 0820 1012 PQ: 0 ANSI: 6 >> >> Dec 14 17:02:56 pi kernel: [ 761.187365] scsi 0:0:0:1: Enclosure >> WD SES Device 1012 PQ: 0 ANSI: 6 >> >> Dec 14 17:02:56 pi kernel: [ 761.189473] sd 0:0:0:0: [sda] Spinning up >> disk... >> >> Dec 14 17:02:56 pi kernel: [ 761.277106] sd 0:0:0:0: Attached scsi >> generic sg0 type 0 >> >> Dec 14 17:02:56 pi kernel: [ 761.278094] scsi 0:0:0:1: Attached scsi >> generic sg1 type 13 >> >> >> But then when I try to run >> >> >> $ sudo fdisk /dev/sda >> >> I get >> >> fdisk: unable to open /dev/sda: No such device or address >> >> $ ls -l /dev/sda >> >> brw-rw---T 1 root floppy 8, 0 Dec 14 17:21 /dev/sda >> >> $ sudo fdisk -l >> >> only lists the sdcard >> >> >> The external disk is brand new and it has NTFS on it. I have not handled >> disk in linux for a long time, but a I recall I am supposed to use fdisk to >> partition it and then use mkfs.ext4 to format. >> >> >> So what am I missing here? >> >> >> Gabor >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Sun Dec 14 22:41:37 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Mon, 15 Dec 2014 07:41:37 +1100 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: Get a powered USB hub (i.e. a usb hub which also connects to a wall power socket). I'm not familiar with RPi USB version but check for USB 3.0 vs. 2.0. On 15 December 2014 at 06:07, Gabor Szabo wrote: > > Hmm, good question. The Raspberry does see the device when it is > connected, so is it possible that it needs more > power after later on? > > How can I check? > > If the problem is lack of current, how can I solve that? Can I put one of > these usb hubs that also provide power between the two? > > Gabor > > On Sun, Dec 14, 2014 at 8:43 PM, E.S. Rosenberg > wrote: >> >> Are you providing the external HDD with sufficient electricity? The >> Raspberry is most likely not capable of providing enough current... >> >> 2014-12-14 19:30 GMT+02:00 Gabor Szabo : >> >>> So finally I install the Raspberry Pi I bought a few weeks ago and >>> wanted to add an external HDD. >>> I plugged in the external hard drive and /var/log/syslog printed the >>> following: >>> >>> >>> Dec 14 17:02:55 pi kernel: [ 759.981949] usb 1-1.3: new high-speed USB >>> device number 8 using dwc_otg >>> >>> Dec 14 17:02:55 pi kernel: [ 760.163364] usb 1-1.3: New USB device >>> found, idVendor=1058, idProduct=0820 >>> >>> Dec 14 17:02:55 pi kernel: [ 760.163398] usb 1-1.3: New USB device >>> strings: Mfr=1, Product=2, SerialNumber=5 >>> >>> Dec 14 17:02:55 pi kernel: [ 760.163414] usb 1-1.3: Product: My >>> Passport 0820 >>> >>> Dec 14 17:02:55 pi kernel: [ 760.163429] usb 1-1.3: Manufacturer: >>> Western Digital >>> >>> Dec 14 17:02:55 pi kernel: [ 760.163444] usb 1-1.3: SerialNumber: >>> 57583431413432454363833 >>> >>> Dec 14 17:02:55 pi kernel: [ 760.169522] usb-storage 1-1.3:1.0: USB >>> Mass Storage device detected >>> >>> Dec 14 17:02:55 pi kernel: [ 760.181935] scsi0 : usb-storage 1-1.3:1.0 >>> >>> Dec 14 17:02:56 pi kernel: [ 761.183065] scsi 0:0:0:0: Direct-Access >>> WD My Passport 0820 1012 PQ: 0 ANSI: 6 >>> >>> Dec 14 17:02:56 pi kernel: [ 761.187365] scsi 0:0:0:1: Enclosure >>> WD SES Device 1012 PQ: 0 ANSI: 6 >>> >>> Dec 14 17:02:56 pi kernel: [ 761.189473] sd 0:0:0:0: [sda] Spinning up >>> disk... >>> >>> Dec 14 17:02:56 pi kernel: [ 761.277106] sd 0:0:0:0: Attached scsi >>> generic sg0 type 0 >>> >>> Dec 14 17:02:56 pi kernel: [ 761.278094] scsi 0:0:0:1: Attached scsi >>> generic sg1 type 13 >>> >>> >>> But then when I try to run >>> >>> >>> $ sudo fdisk /dev/sda >>> >>> I get >>> >>> fdisk: unable to open /dev/sda: No such device or address >>> >>> $ ls -l /dev/sda >>> >>> brw-rw---T 1 root floppy 8, 0 Dec 14 17:21 /dev/sda >>> >>> $ sudo fdisk -l >>> >>> only lists the sdcard >>> >>> >>> The external disk is brand new and it has NTFS on it. I have not handled >>> disk in linux for a long time, but a I recall I am supposed to use fdisk to >>> partition it and then use mkfs.ext4 to format. >>> >>> >>> So what am I missing here? >>> >>> >>> Gabor >>> >>> >>> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Dec 15 01:36:57 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 15 Dec 2014 01:36:57 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: Raspberry Pi uses USB2.0, it can't provide enough current to big peripheral devices full stop. It's so bad that plugging in a disk-on-key while it's running can cause a sufficient voltage drop to reboot the system (after which the d-o-k will work). That's why you need to have a powered USB hub, USB3.0 allows more power to flow through the ports so it will be more efficient with ports (with USB2.0 external HDDs of the 3,5" variety tend to have a second USB connector to get extra current). HTH, Eliyahu - ????? 2014-12-14 22:41 GMT+02:00 Amos Shapira : > > Get a powered USB hub (i.e. a usb hub which also connects to a wall power > socket). I'm not familiar with RPi USB version but check for USB 3.0 vs. > 2.0. > > On 15 December 2014 at 06:07, Gabor Szabo wrote: > >> Hmm, good question. The Raspberry does see the device when it is >> connected, so is it possible that it needs more >> power after later on? >> >> How can I check? >> >> If the problem is lack of current, how can I solve that? Can I put one of >> these usb hubs that also provide power between the two? >> >> Gabor >> >> On Sun, Dec 14, 2014 at 8:43 PM, E.S. Rosenberg > > wrote: >>> >>> Are you providing the external HDD with sufficient electricity? The >>> Raspberry is most likely not capable of providing enough current... >>> >>> 2014-12-14 19:30 GMT+02:00 Gabor Szabo : >>> >>>> So finally I install the Raspberry Pi I bought a few weeks ago and >>>> wanted to add an external HDD. >>>> I plugged in the external hard drive and /var/log/syslog printed the >>>> following: >>>> >>>> >>>> Dec 14 17:02:55 pi kernel: [ 759.981949] usb 1-1.3: new high-speed USB >>>> device number 8 using dwc_otg >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.163364] usb 1-1.3: New USB device >>>> found, idVendor=1058, idProduct=0820 >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.163398] usb 1-1.3: New USB device >>>> strings: Mfr=1, Product=2, SerialNumber=5 >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.163414] usb 1-1.3: Product: My >>>> Passport 0820 >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.163429] usb 1-1.3: Manufacturer: >>>> Western Digital >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.163444] usb 1-1.3: SerialNumber: >>>> 57583431413432454363833 >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.169522] usb-storage 1-1.3:1.0: USB >>>> Mass Storage device detected >>>> >>>> Dec 14 17:02:55 pi kernel: [ 760.181935] scsi0 : usb-storage 1-1.3:1.0 >>>> >>>> Dec 14 17:02:56 pi kernel: [ 761.183065] scsi 0:0:0:0: Direct-Access >>>> WD My Passport 0820 1012 PQ: 0 ANSI: 6 >>>> >>>> Dec 14 17:02:56 pi kernel: [ 761.187365] scsi 0:0:0:1: Enclosure >>>> WD SES Device 1012 PQ: 0 ANSI: 6 >>>> >>>> Dec 14 17:02:56 pi kernel: [ 761.189473] sd 0:0:0:0: [sda] Spinning up >>>> disk... >>>> >>>> Dec 14 17:02:56 pi kernel: [ 761.277106] sd 0:0:0:0: Attached scsi >>>> generic sg0 type 0 >>>> >>>> Dec 14 17:02:56 pi kernel: [ 761.278094] scsi 0:0:0:1: Attached scsi >>>> generic sg1 type 13 >>>> >>>> >>>> But then when I try to run >>>> >>>> >>>> $ sudo fdisk /dev/sda >>>> >>>> I get >>>> >>>> fdisk: unable to open /dev/sda: No such device or address >>>> >>>> $ ls -l /dev/sda >>>> >>>> brw-rw---T 1 root floppy 8, 0 Dec 14 17:21 /dev/sda >>>> >>>> $ sudo fdisk -l >>>> >>>> only lists the sdcard >>>> >>>> >>>> The external disk is brand new and it has NTFS on it. I have not >>>> handled disk in linux for a long time, but a I recall I am supposed to use >>>> fdisk to partition it and then use mkfs.ext4 to format. >>>> >>>> >>>> So what am I missing here? >>>> >>>> >>>> Gabor >>>> >>>> >>>> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > -- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Dec 15 01:41:46 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 15 Dec 2014 01:41:46 +0200 Subject: Image (ddrescue / dd) windows phone 8X? In-Reply-To: <547F5214.40109@yahoo.com> References: <547F5214.40109@yahoo.com> Message-ID: I think you're on the wrong mailing list ;) XDA may be able to help you.... In general the phones try to protect their memory from direct access so that the whole 2 OS accessing the same FS at the same time and stepping on each other is avoided (back in the symbian days it used to unmount the memory card in the phone while it allowed the computer to access it, nowadays MTP is usually used to allow the storage to remain in complete control of the phone). If you aren't afraid of opening your phone and soldering you will probably find it has debug ports/jtag which would allow you to dump the contents of the memory, there may also be a recovery mode... Regards, Eliyahu - ????? 2014-12-03 20:10 GMT+02:00 vordoo : > > Hi, > > > Is there a way to get the internal phone storage as a block device so it > can be imaged (dd / ddrescued)? > > It's an HTC windows phone 8X, internal storage only (i.e.: without an > external sdcard). > > > Thanks! > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guysoft42 at gmail.com Mon Dec 15 11:38:43 2014 From: guysoft42 at gmail.com (Guy Sheffer) Date: Mon, 15 Dec 2014 11:38:43 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: I've got one of these. Among other things it lets me power an external hdd. http://www.cnx-software.com/2013/12/21/x100-raspberry-pi-expansion-board-adds-vga-output-rtc-and-more/ Alternatively make sure when you get a powered hub it does not backfeed in to the pi. You might need to disconnect pin +5V on the usb cable between the pi and the powered usb hub. Guy On Dec 15, 2014 1:37 AM, "E.S. Rosenberg" wrote: > Raspberry Pi uses USB2.0, it can't provide enough current to big > peripheral devices full stop. > It's so bad that plugging in a disk-on-key while it's running can cause a > sufficient voltage drop to reboot the system (after which the d-o-k will > work). > That's why you need to have a powered USB hub, USB3.0 allows more power to > flow through the ports so it will be more efficient with ports (with USB2.0 > external HDDs of the 3,5" variety tend to have a second USB connector to > get extra current). > > HTH, > Eliyahu - ????? > > 2014-12-14 22:41 GMT+02:00 Amos Shapira : >> >> Get a powered USB hub (i.e. a usb hub which also connects to a wall power >> socket). I'm not familiar with RPi USB version but check for USB 3.0 vs. >> 2.0. >> >> On 15 December 2014 at 06:07, Gabor Szabo wrote: >> >>> Hmm, good question. The Raspberry does see the device when it is >>> connected, so is it possible that it needs more >>> power after later on? >>> >>> How can I check? >>> >>> If the problem is lack of current, how can I solve that? Can I put one >>> of these usb hubs that also provide power between the two? >>> >>> Gabor >>> >>> On Sun, Dec 14, 2014 at 8:43 PM, E.S. Rosenberg < >>> esr+linux-il at g.jct.ac.il> wrote: >>>> >>>> Are you providing the external HDD with sufficient electricity? The >>>> Raspberry is most likely not capable of providing enough current... >>>> >>>> 2014-12-14 19:30 GMT+02:00 Gabor Szabo : >>>> >>>>> So finally I install the Raspberry Pi I bought a few weeks ago and >>>>> wanted to add an external HDD. >>>>> I plugged in the external hard drive and /var/log/syslog printed the >>>>> following: >>>>> >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 759.981949] usb 1-1.3: new high-speed >>>>> USB device number 8 using dwc_otg >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.163364] usb 1-1.3: New USB device >>>>> found, idVendor=1058, idProduct=0820 >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.163398] usb 1-1.3: New USB device >>>>> strings: Mfr=1, Product=2, SerialNumber=5 >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.163414] usb 1-1.3: Product: My >>>>> Passport 0820 >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.163429] usb 1-1.3: Manufacturer: >>>>> Western Digital >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.163444] usb 1-1.3: SerialNumber: >>>>> 57583431413432454363833 >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.169522] usb-storage 1-1.3:1.0: USB >>>>> Mass Storage device detected >>>>> >>>>> Dec 14 17:02:55 pi kernel: [ 760.181935] scsi0 : usb-storage 1-1.3:1.0 >>>>> >>>>> Dec 14 17:02:56 pi kernel: [ 761.183065] scsi 0:0:0:0: Direct-Access >>>>> WD My Passport 0820 1012 PQ: 0 ANSI: 6 >>>>> >>>>> Dec 14 17:02:56 pi kernel: [ 761.187365] scsi 0:0:0:1: Enclosure >>>>> WD SES Device 1012 PQ: 0 ANSI: 6 >>>>> >>>>> Dec 14 17:02:56 pi kernel: [ 761.189473] sd 0:0:0:0: [sda] Spinning >>>>> up disk... >>>>> >>>>> Dec 14 17:02:56 pi kernel: [ 761.277106] sd 0:0:0:0: Attached scsi >>>>> generic sg0 type 0 >>>>> >>>>> Dec 14 17:02:56 pi kernel: [ 761.278094] scsi 0:0:0:1: Attached scsi >>>>> generic sg1 type 13 >>>>> >>>>> >>>>> But then when I try to run >>>>> >>>>> >>>>> $ sudo fdisk /dev/sda >>>>> >>>>> I get >>>>> >>>>> fdisk: unable to open /dev/sda: No such device or address >>>>> >>>>> $ ls -l /dev/sda >>>>> >>>>> brw-rw---T 1 root floppy 8, 0 Dec 14 17:21 /dev/sda >>>>> >>>>> $ sudo fdisk -l >>>>> >>>>> only lists the sdcard >>>>> >>>>> >>>>> The external disk is brand new and it has NTFS on it. I have not >>>>> handled disk in linux for a long time, but a I recall I am supposed to use >>>>> fdisk to partition it and then use mkfs.ext4 to format. >>>>> >>>>> >>>>> So what am I missing here? >>>>> >>>>> >>>>> Gabor >>>>> >>>>> >>>>> >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >>> >>> >> >> -- >> >> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabor at szabgab.com Wed Dec 17 16:03:48 2014 From: gabor at szabgab.com (Gabor Szabo) Date: Wed, 17 Dec 2014 16:03:48 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: I've got this one: http://www.dynamode.com/english/pages/product/Datacom%20Products/USB%20Products/USB-H40-A2-0.html when I connected this device to the Raspberry I got these message Dec 17 13:59:48 pi kernel: [246075.608736] usb 1-1.4: new high-speed USB device number 112 using dwc_otg Dec 17 13:59:48 pi kernel: [246075.710412] usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0608 Dec 17 13:59:48 pi kernel: [246075.710447] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0 Dec 17 13:59:48 pi kernel: [246075.710462] usb 1-1.4: Product: USB2.0 Hub Dec 17 13:59:48 pi kernel: [246075.721467] hub 1-1.4:1.0: USB hub found Dec 17 13:59:48 pi kernel: [246075.721944] hub 1-1.4:1.0: 4 ports detected When I connected the HD to it the syslog was filled with this message: hub 1-1:1.0: over-current change on port 2 but I still could not see it using sudo fdisk -l Gabor -------------- next part -------------- An HTML attachment was scrubbed... URL: From geoffreymendelson at gmail.com Wed Dec 17 16:26:00 2014 From: geoffreymendelson at gmail.com (geoffrey mendelson) Date: Wed, 17 Dec 2014 16:26:00 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: <54919278.5070109@gmail.com> On 12/17/2014 4:03 PM, Gabor Szabo wrote: > I've got this one: > http://www.dynamode.com/english/pages/product/Datacom%20Products/USB%20Products/USB-H40-A2-0.html > Is it plugged into the wall? If you don't use an external power source, it is in passive mode, which means the overhead of the hub, and all of the devices plugged into it can not be more than what the port supplies. I don't know what the Pi supplies, but the official standard is 500ma for USB 1 and 2. If you plug it in, it will support the full 500ma (possibly more) to each device. Since it is a 4 port hub, you want a 2000ma (2 ampere) supply. Personally, I prefer the Apple 12 watt chargers as they really do supply slightly more than 2 amps without burning up. They are expensive, but IMHO worth it. Geoff. -- Geoffrey S. Mendelson 4X1GM/N3OWJ Jerusalem Israel. From moish at mln.co.il Wed Dec 17 16:12:56 2014 From: moish at mln.co.il (Moish) Date: Wed, 17 Dec 2014 16:12:56 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: Message-ID: <54918F68.80700@mln.co.il> On 17/12/2014 16:03, Gabor Szabo wrote: > I've got this one: > http://www.dynamode.com/english/pages/product/Datacom%20Products/USB%20Products/USB-H40-A2-0.html > > when I connected this device to the Raspberry I got these message > > Dec 17 13:59:48 pi kernel: [246075.608736] usb 1-1.4: new high-speed USB > device number 112 using dwc_otg > > Dec 17 13:59:48 pi kernel: [246075.710412] usb 1-1.4: New USB device > found, idVendor=05e3, idProduct=0608 > > Dec 17 13:59:48 pi kernel: [246075.710447] usb 1-1.4: New USB device > strings: Mfr=0, Product=1, SerialNumber=0 > > Dec 17 13:59:48 pi kernel: [246075.710462] usb 1-1.4: Product: USB2.0 Hub > > Dec 17 13:59:48 pi kernel: [246075.721467] hub 1-1.4:1.0: USB hub found > > Dec 17 13:59:48 pi kernel: [246075.721944] hub 1-1.4:1.0: 4 ports detected > > > When I connected the HD to it the syslog was filled with this message: > > hub 1-1:1.0: over-current change on port 2 > > but I still could not see it using sudo fdisk -l > > Gabor > > It will work only with low energy consumption devices. See previous messages regarding usb hubs with external power supply. Moish From vordoo at yahoo.com Wed Dec 17 17:59:48 2014 From: vordoo at yahoo.com (vordoo) Date: Wed, 17 Dec 2014 17:59:48 +0200 Subject: Image (ddrescue / dd) windows phone 8X? In-Reply-To: References: <547F5214.40109@yahoo.com> Message-ID: <5491A874.70203@yahoo.com> An HTML attachment was scrubbed... URL: From elazarl at gmail.com Fri Dec 19 16:19:07 2014 From: elazarl at gmail.com (Elazar Leibovich) Date: Fri, 19 Dec 2014 14:19:07 +0000 Subject: Copying kernel stack in a generic way Message-ID: I'm given a stopped virtual machine, with access to the CPU and the memory. It is now running a kernel function. I want to copy the entire kernel stack. How can I do that in a generic way, that would hopefully work across multiple kernels. For simplification, let's discuss x64. I know where the stack ends, but how can I know where it begins? I can check the memory mapping, and assume nothing would take the virtual address before the start of the kernel's stack, but I don't know if I can count on it for most mainstream OSes. Maybe there's a known method I'm missing, I'll be happy for any comments. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From slitt at troubleshooters.com Sun Dec 21 07:39:37 2014 From: slitt at troubleshooters.com (Steve Litt) Date: Sun, 21 Dec 2014 00:39:37 -0500 Subject: Experiments with alternative init systems Message-ID: <20141221003937.31034153@mydesq2.domain.cxm> Hi all, I've written a document detailing my experiments with alternative init systems. http://www.troubleshooters.com/linux/init/manjaro_experiments.htm Hope you like it. SteveT Steve Litt * http://www.troubleshooters.com/ Troubleshooting Training * Human Performance From mulix at mulix.org Sun Dec 21 09:27:57 2014 From: mulix at mulix.org (Muli Ben-Yehuda) Date: Sun, 21 Dec 2014 09:27:57 +0200 Subject: Copying kernel stack in a generic way In-Reply-To: References: Message-ID: <20141221072757.GA6973@needle> On Fri, Dec 19, 2014 at 02:19:07PM +0000, Elazar Leibovich wrote: > I know where the stack ends, but how can I know where it begins? What assumptions can you make? Can you run kernel code in the VM (e.g., by cloning and restarting it)? Can you assume it's running Linux and/or Windows? Can you assume the kernel was compiled with frame pointers? Or is it a completely black box VM and you can't make any assumptions about what's running inside? > I can check the memory mapping, and assume nothing would take the > virtual address before the start of the kernel's stack, but I don't > know if I can count on it for most mainstream OSes. That's a pretty good heuristic but see questions above. By the way, some OS's have separate interrupt stacks, so you may be on an interrupt stack or on a regular stack. > Maybe there's a known method I'm missing, I'll be happy for any > comments. Cheers, Muli From eli at billauer.co.il Sun Dec 21 09:42:36 2014 From: eli at billauer.co.il (Eli Billauer) Date: Sun, 21 Dec 2014 09:42:36 +0200 Subject: HaifaSec Lecture: Rise and Fall of Binaries -- Adir Abraham Message-ID: <549679EC.6090106@billauer.co.il> Hello all, Our fellow group, HaifaSec, will have a meeting about execution binaries on this *TUESDAY*, December 23rd. The Facebook event (requires no registration for viewing): https://www.facebook.com/events/402607379905506 *** Note that it's NOT on Haifux' regular time slot nor room. *** Abstract ====== We will discuss how binary files are born and created, loaded and executed, about the creation of object files, files linkage and the differences between Linux format (ELF) and Windows format (PE) of such files. These will be combined with both information security and attack methods and techniques: what a vicious compiler can do, how viruses and other malwares create problems and more. As the lecture will be technical, we will assume knowledge in C. Highly recommended (but not necessary) is some knowledge in OS and/or computer architecture. The lecture will be held in Hebrew, in Taub 7 (1st floor). -------------------------- Regards, Eli -- Web: http://www.billauer.co.il From elazarl at gmail.com Sun Dec 21 11:08:44 2014 From: elazarl at gmail.com (Elazar Leibovich) Date: Sun, 21 Dec 2014 11:08:44 +0200 Subject: Copying kernel stack in a generic way In-Reply-To: <20141221072757.GA6973@needle> References: <20141221072757.GA6973@needle> Message-ID: Thanks, On Sun, Dec 21, 2014 at 9:27 AM, Muli Ben-Yehuda wrote: > On Fri, Dec 19, 2014 at 02:19:07PM +0000, Elazar Leibovich wrote: > >> I know where the stack ends, but how can I know where it begins? > > What assumptions can you make? Can you run kernel code in the VM > (e.g., by cloning and restarting it)? Can you assume it's running > Linux and/or Windows? Can you assume the kernel was compiled with > frame pointers? Or is it a completely black box VM and you can't make > any assumptions about what's running inside? This is a very practical question. Yes, I can run a forth-based OS, which isn't even using C-like stack. But I need to solve a problem for most of the user, and I want to support any reasonable OS. So Windows and Linux is a must, freeBSD/Solaris is nice-to-have, and anything else is probably optional. I want to assume anything which would be reasonably portable across popular OSes. For example, you asked about frame pointers, assuming you meant I can follow ebps back, until I get invalid ebp address, assuming this is the head of the stack. I'm not sure if it's reasonable to assume most kernel would be compiled with frame pointers, so I'm not sure how valid would this heuristic be. I can run code in the guest context, and actually to fetch the stack I'll probably run code that would copy it from the host context, but I couldn't think of a way to fetch the stack, that wouldn't be too implementation-specific. > By the way, some OS's have separate interrupt stacks, so you may be on > an interrupt stack or on a regular stack. > Good point, but I think the heuristic should catch it as well. From w1 at zak.co.il Sun Dec 21 12:19:34 2014 From: w1 at zak.co.il (Omer Zak) Date: Sun, 21 Dec 2014 12:19:34 +0200 Subject: Copying kernel stack in a generic way In-Reply-To: References: <20141221072757.GA6973@needle> Message-ID: <1419157174.8108.147.camel@zak.co.il> I think that any serious approach would include code for identifying the OS and OS version in question, and using this information to find the kernel stack. Any generalized heuristic would risk missing pathological OS configurations and new versions. On the other hand, reliance upon OS identification would at least enable the user to call Support when he runs your code on an OS not identified as a supported OS. --- Omer On Sun, 2014-12-21 at 11:08 +0200, Elazar Leibovich wrote: > Thanks, > > On Sun, Dec 21, 2014 at 9:27 AM, Muli Ben-Yehuda wrote: > > On Fri, Dec 19, 2014 at 02:19:07PM +0000, Elazar Leibovich wrote: > > > >> I know where the stack ends, but how can I know where it begins? > > > > What assumptions can you make? Can you run kernel code in the VM > > (e.g., by cloning and restarting it)? Can you assume it's running > > Linux and/or Windows? Can you assume the kernel was compiled with > > frame pointers? Or is it a completely black box VM and you can't make > > any assumptions about what's running inside? > > This is a very practical question. > > Yes, I can run a forth-based OS, which isn't even using C-like stack. > But I need to solve a problem for most of the user, and I want to > support any reasonable OS. > > So Windows and Linux is a must, freeBSD/Solaris is nice-to-have, and > anything else is probably optional. > > I want to assume anything which would be reasonably portable across > popular OSes. > > For example, you asked about frame pointers, assuming you meant I can > follow ebps back, until I get invalid ebp address, assuming this is > the head of the stack. I'm not sure if it's reasonable to assume most > kernel would be compiled with frame pointers, so I'm not sure how > valid would this heuristic be. > > I can run code in the guest context, and actually to fetch the stack > I'll probably run code that would copy it from the host context, but I > couldn't think of a way to fetch the stack, that wouldn't be too > implementation-specific. > > > > By the way, some OS's have separate interrupt stacks, so you may be on > > an interrupt stack or on a regular stack. > > > > Good point, but I think the heuristic should catch it as well. -- If verbal consent is not obtained in triplicate, it is a date rape. Asking permission constitutes harassment. My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.htmlDelay is the deadliest form of denial. C. Northcote Parkinson My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html From elazarl at gmail.com Sun Dec 21 21:22:03 2014 From: elazarl at gmail.com (Elazar Leibovich) Date: Sun, 21 Dec 2014 21:22:03 +0200 Subject: Copying kernel stack in a generic way In-Reply-To: <1419157174.8108.147.camel@zak.co.il> References: <20141221072757.GA6973@needle> <1419157174.8108.147.camel@zak.co.il> Message-ID: It could very well be the case, I just want to clarify, the reason I need the stack, is for analyzing/debugging/profiling later by OS specific tools. So it is OK to err on some pathological cases. If you have a concrete idea that would fit many Linux versions - I'll be happy to hear about it. On Sun, Dec 21, 2014 at 12:19 PM, Omer Zak wrote: > I think that any serious approach would include code for identifying the > OS and OS version in question, and using this information to find the > kernel stack. > > Any generalized heuristic would risk missing pathological OS > configurations and new versions. > > On the other hand, reliance upon OS identification would at least enable > the user to call Support when he runs your code on an OS not identified > as a supported OS. > > --- Omer > > > On Sun, 2014-12-21 at 11:08 +0200, Elazar Leibovich wrote: >> Thanks, >> >> On Sun, Dec 21, 2014 at 9:27 AM, Muli Ben-Yehuda wrote: >> > On Fri, Dec 19, 2014 at 02:19:07PM +0000, Elazar Leibovich wrote: >> > >> >> I know where the stack ends, but how can I know where it begins? >> > >> > What assumptions can you make? Can you run kernel code in the VM >> > (e.g., by cloning and restarting it)? Can you assume it's running >> > Linux and/or Windows? Can you assume the kernel was compiled with >> > frame pointers? Or is it a completely black box VM and you can't make >> > any assumptions about what's running inside? >> >> This is a very practical question. >> >> Yes, I can run a forth-based OS, which isn't even using C-like stack. >> But I need to solve a problem for most of the user, and I want to >> support any reasonable OS. >> >> So Windows and Linux is a must, freeBSD/Solaris is nice-to-have, and >> anything else is probably optional. >> >> I want to assume anything which would be reasonably portable across >> popular OSes. >> >> For example, you asked about frame pointers, assuming you meant I can >> follow ebps back, until I get invalid ebp address, assuming this is >> the head of the stack. I'm not sure if it's reasonable to assume most >> kernel would be compiled with frame pointers, so I'm not sure how >> valid would this heuristic be. >> >> I can run code in the guest context, and actually to fetch the stack >> I'll probably run code that would copy it from the host context, but I >> couldn't think of a way to fetch the stack, that wouldn't be too >> implementation-specific. >> >> >> > By the way, some OS's have separate interrupt stacks, so you may be on >> > an interrupt stack or on a regular stack. >> > >> >> Good point, but I think the heuristic should catch it as well. > -- > If verbal consent is not obtained in triplicate, it is a date rape. > Asking permission constitutes harassment. > > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with which > I may be affiliated in any way. > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.htmlDelay is the deadliest form of denial. C. Northcote Parkinson > My own blog is at http://www.zak.co.il/tddpirate/ > > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with which > I may be affiliated in any way. > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > From geoff at QuiteLikely.com Sun Dec 21 23:46:09 2014 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sun, 21 Dec 2014 23:46:09 +0200 (IST) Subject: Recommendations for drive recovery Message-ID: Hi, We have a 500 GB external USB drive that's about 5 or so years old (can't remember exactly when we got it). It's now not spinning up propperly and we figure its days are numbered. Much of what is on it has not been backed up anywhere else (yes, I know). Is there somewhere I can take/send it to see if anything can be salvaged? Geoff. From alon at skylinesoft.com Mon Dec 22 07:15:09 2014 From: alon at skylinesoft.com (Alon Barzilai) Date: Mon, 22 Dec 2014 07:15:09 +0200 Subject: Recommendations for drive recovery In-Reply-To: References: Message-ID: <5497A8DD.8080208@skylinesoft.com> An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Mon Dec 22 12:26:36 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Mon, 22 Dec 2014 21:26:36 +1100 Subject: Recommendations for drive recovery In-Reply-To: <5497A8DD.8080208@skylinesoft.com> References: <5497A8DD.8080208@skylinesoft.com> Message-ID: I once helped a friend in a similar situation (family photos and documents on a dying disk without backups). I followed broadly the following procedure: 1. Put the disk in an airtight plastic bag (reason - to avoid humidity getting in during the following steps). 2. Put in the freezer for an hour. 3. Remove from freezer and leave inside the bag for a few minutes (again - to minimise risk of condensation). 4. remove from the bag, make sure no condensation builds up on it, wrap in a kitchen towel (it was Sydney summer, so high temps and humid, though not like Tel-Aviv summer). The idea was to keep any humidity away. 4. Put it on a block of icepack, and another icepack on top of it. 5. Connect it to a comp through an external USB box 6. GNU ddrescue (don't confuse with the non-GNU implementation). It can keep track of where it got to in a previous run so you can pick up from there. 7. Rinse, repeat. It took 2-3 weeks of repeating this process but I managed to save all his data (I think it was half a tera or so) except a tiny part (single-digit kilobytes, I think). The extra twist was that it was a Mac HFS file system and he wanted the data accessible to Windows - Only Linux could be used to support both filesystem formats :) On 22 December 2014 at 16:15, Alon Barzilai wrote: > > Hi, > > there is tic tac ( http://www.tictac.co.il ) > and recover (http://recover.co.il) > > I used them both in the past. and they both offered good service, but this > service is not cheap. > tic tac ares in this field for longer time, but as I recall their price is > higher than recover. > > Alon. > > > > On 12/21/2014 11:46 PM, Geoff Shang wrote: > > Hi, > > We have a 500 GB external USB drive that's about 5 or so years old (can't > remember exactly when we got it). It's now not spinning up propperly and > we figure its days are numbered. > > Much of what is on it has not been backed up anywhere else (yes, I know). > > Is there somewhere I can take/send it to see if anything can be salvaged? > > Geoff. > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Mon Dec 22 19:19:28 2014 From: shlomif at gmail.com (Shlomi Fish) Date: Mon, 22 Dec 2014 19:19:28 +0200 Subject: I am Looking for a Job in Tel Aviv and Vicinity Message-ID: Hi all, Happy Chanukah/etc. everyone! (Due to anti-spam measures, I am sending this E-mail from my GMail account. Please also reply to shlomif at shlomifish.org (CCed to this message) ). I am looking for a job in Tel Aviv and vicinity or alternatively telecommuting. You can find my r?sum?s here: http://www.shlomifish.org/me/resumes/ In the past, I've specialised in Perl 5, text, HTML and XML processing, authoring web sites, writing, algorithmic code, and other fields, but I'm a fast learner. Please let me know if you'd like to invite me to a job interview. Best regards, -- Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Dec 22 19:58:06 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 22 Dec 2014 19:58:06 +0200 Subject: Copying kernel stack in a generic way In-Reply-To: References: <20141221072757.GA6973@needle> <1419157174.8108.147.camel@zak.co.il> Message-ID: Don't new security features like memory location randomization etc. kind of get in the way of what you want to do on any modern OS? (The way I understand it you are trying to copy the stack from outside the running/frozen OS). Regards, Eliyahu - ????? 2014-12-21 21:22 GMT+02:00 Elazar Leibovich : > It could very well be the case, > I just want to clarify, the reason I need the stack, is for > analyzing/debugging/profiling later by OS specific tools. So it is OK > to err on some pathological cases. > > If you have a concrete idea that would fit many Linux versions - I'll > be happy to hear about it. > > On Sun, Dec 21, 2014 at 12:19 PM, Omer Zak wrote: > > I think that any serious approach would include code for identifying the > > OS and OS version in question, and using this information to find the > > kernel stack. > > > > Any generalized heuristic would risk missing pathological OS > > configurations and new versions. > > > > On the other hand, reliance upon OS identification would at least enable > > the user to call Support when he runs your code on an OS not identified > > as a supported OS. > > > > --- Omer > > > > > > On Sun, 2014-12-21 at 11:08 +0200, Elazar Leibovich wrote: > >> Thanks, > >> > >> On Sun, Dec 21, 2014 at 9:27 AM, Muli Ben-Yehuda > wrote: > >> > On Fri, Dec 19, 2014 at 02:19:07PM +0000, Elazar Leibovich wrote: > >> > > >> >> I know where the stack ends, but how can I know where it begins? > >> > > >> > What assumptions can you make? Can you run kernel code in the VM > >> > (e.g., by cloning and restarting it)? Can you assume it's running > >> > Linux and/or Windows? Can you assume the kernel was compiled with > >> > frame pointers? Or is it a completely black box VM and you can't make > >> > any assumptions about what's running inside? > >> > >> This is a very practical question. > >> > >> Yes, I can run a forth-based OS, which isn't even using C-like stack. > >> But I need to solve a problem for most of the user, and I want to > >> support any reasonable OS. > >> > >> So Windows and Linux is a must, freeBSD/Solaris is nice-to-have, and > >> anything else is probably optional. > >> > >> I want to assume anything which would be reasonably portable across > >> popular OSes. > >> > >> For example, you asked about frame pointers, assuming you meant I can > >> follow ebps back, until I get invalid ebp address, assuming this is > >> the head of the stack. I'm not sure if it's reasonable to assume most > >> kernel would be compiled with frame pointers, so I'm not sure how > >> valid would this heuristic be. > >> > >> I can run code in the guest context, and actually to fetch the stack > >> I'll probably run code that would copy it from the host context, but I > >> couldn't think of a way to fetch the stack, that wouldn't be too > >> implementation-specific. > >> > >> > >> > By the way, some OS's have separate interrupt stacks, so you may be on > >> > an interrupt stack or on a regular stack. > >> > > >> > >> Good point, but I think the heuristic should catch it as well. > > -- > > If verbal consent is not obtained in triplicate, it is a date rape. > > Asking permission constitutes harassment. > > > > My opinions, as expressed in this E-mail message, are mine alone. > > They do not represent the official policy of any organization with which > > I may be affiliated in any way. > > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.htmlDelay is > the deadliest form of denial. C. Northcote Parkinson > > My own blog is at http://www.zak.co.il/tddpirate/ > > > > My opinions, as expressed in this E-mail message, are mine alone. > > They do not represent the official policy of any organization with which > > I may be affiliated in any way. > > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexta69 at gmail.com Tue Dec 23 16:19:18 2014 From: alexta69 at gmail.com (Alex Shnitman) Date: Tue, 23 Dec 2014 16:19:18 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: <54918F68.80700@mln.co.il> References: <54918F68.80700@mln.co.il> Message-ID: Power on the Raspberry Pi is a tricky business. I think on the B+ they've made it easier to deal with but it still cannot pass through a lot of current. So a powered hub is necessary, as previous posters mentioned. It does indeed backfeed into the Pi. I used thin stripes of electrical tape to cover the outer two contacts within the USB connector of the cable that connects the Pi to the hub, and that took care of that problem. Also, I found out that my hub (a cheap piece bought from DX), even when externally powered, would draw some current from the Pi during load. So the electrical tape took care of that too. If you have a good power supply for the hub you can power your Pi from the hub itself with an additional cable (i.e. the hub will be connected to the Pi twice, once with a USB A-B cable like any hub, and once with a USB A - MicroUSB B, from one of the hub's ports into the Pi's power supply port). This removes the need for a second power supply. One problem that I faced, though, was that a wifi dongle connected to the hub was being disconnected and reconnected every few minutes. I plugged it directly into the Pi itself and it works flawlessly. I still don't know why that problem happened; after all, they both are on the same power supply (the hub's). Other devices on this hub (the Pi itself as well as other stuff) seem to work fine. Maybe the hub's power supply is noisy and the Pi filters it when it passes it through. No idea. Alex On Wed, Dec 17, 2014 at 4:12 PM, Moish wrote: > > > On 17/12/2014 16:03, Gabor Szabo wrote: > >> I've got this one: >> http://www.dynamode.com/english/pages/product/Datacom% >> 20Products/USB%20Products/USB-H40-A2-0.html >> >> when I connected this device to the Raspberry I got these message >> >> Dec 17 13:59:48 pi kernel: [246075.608736] usb 1-1.4: new high-speed USB >> device number 112 using dwc_otg >> >> Dec 17 13:59:48 pi kernel: [246075.710412] usb 1-1.4: New USB device >> found, idVendor=05e3, idProduct=0608 >> >> Dec 17 13:59:48 pi kernel: [246075.710447] usb 1-1.4: New USB device >> strings: Mfr=0, Product=1, SerialNumber=0 >> >> Dec 17 13:59:48 pi kernel: [246075.710462] usb 1-1.4: Product: USB2.0 Hub >> >> Dec 17 13:59:48 pi kernel: [246075.721467] hub 1-1.4:1.0: USB hub found >> >> Dec 17 13:59:48 pi kernel: [246075.721944] hub 1-1.4:1.0: 4 ports detected >> >> >> When I connected the HD to it the syslog was filled with this message: >> >> hub 1-1:1.0: over-current change on port 2 >> >> but I still could not see it using sudo fdisk -l >> >> Gabor >> >> >> It will work only with low energy consumption devices. > See previous messages regarding usb hubs with external power supply. > Moish > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Tue Dec 23 17:31:37 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 23 Dec 2014 17:31:37 +0200 Subject: Recommendations for drive recovery In-Reply-To: References: <5497A8DD.8080208@skylinesoft.com> Message-ID: I have used the same trick with success at least once, it working does depend on the type of failure but yours sounds like the type that would work, in my case I think I even mounted the partitions and just copied the data..... (rsync iirc) 2014-12-22 12:26 GMT+02:00 Amos Shapira : > I once helped a friend in a similar situation (family photos and documents > on a dying disk without backups). > > I followed broadly the following procedure: > 1. Put the disk in an airtight plastic bag (reason - to avoid humidity > getting in during the following steps). > 2. Put in the freezer for an hour. > 3. Remove from freezer and leave inside the bag for a few minutes (again - > to minimise risk of condensation). > 4. remove from the bag, make sure no condensation builds up on it, wrap in > a kitchen towel (it was Sydney summer, so high temps and humid, though not > like Tel-Aviv summer). The idea was to keep any humidity away. > 4. Put it on a block of icepack, and another icepack on top of it. > 5. Connect it to a comp through an external USB box > 6. GNU ddrescue (don't confuse with the non-GNU implementation). It can > keep track of where it got to in a previous run so you can pick up from > there. > 7. Rinse, repeat. > > It took 2-3 weeks of repeating this process but I managed to save all his > data (I think it was half a tera or so) except a tiny part (single-digit > kilobytes, I think). > > The extra twist was that it was a Mac HFS file system and he wanted the > data accessible to Windows - Only Linux could be used to support both > filesystem formats :) > > > On 22 December 2014 at 16:15, Alon Barzilai wrote: >> >> Hi, >> >> there is tic tac ( http://www.tictac.co.il ) >> and recover (http://recover.co.il) >> >> I used them both in the past. and they both offered good service, but >> this service is not cheap. >> tic tac ares in this field for longer time, but as I recall their price >> is higher than recover. >> >> Alon. >> >> >> >> On 12/21/2014 11:46 PM, Geoff Shang wrote: >> >> Hi, >> >> We have a 500 GB external USB drive that's about 5 or so years old (can't >> remember exactly when we got it). It's now not spinning up propperly and >> we figure its days are numbered. >> >> Much of what is on it has not been backed up anywhere else (yes, I know). >> >> Is there somewhere I can take/send it to see if anything can be salvaged? >> >> Geoff. >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > -- > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ori at helicontech.co.il Tue Dec 23 21:46:45 2014 From: ori at helicontech.co.il (Ori Idan) Date: Tue, 23 Dec 2014 21:46:45 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: <54918F68.80700@mln.co.il> Message-ID: On Tue, Dec 23, 2014 at 4:19 PM, Alex Shnitman wrote: > Power on the Raspberry Pi is a tricky business. I think on the B+ they've > made it easier to deal with but it still cannot pass through a lot of > current. So a powered hub is necessary, as previous posters mentioned. > > It does indeed backfeed into the Pi. I used thin stripes of electrical > tape to cover the outer two contacts within the USB connector of the cable > that connects the Pi to the hub, and that took care of that problem. Also, > I found out that my hub (a cheap piece bought from DX), even when > externally powered, would draw some current from the Pi during load. So the > electrical tape took care of that too. > I find it strange that it actually work since if you isolated both the power and the ground pins, the data pins are left floated. That might work but cause noise problems. So if you do want to isolate, isolate only the power pin. > If you have a good power supply for the hub you can power your Pi from the > hub itself with an additional cable (i.e. the hub will be connected to the > Pi twice, once with a USB A-B cable like any hub, and once with a USB A - > MicroUSB B, from one of the hub's ports into the Pi's power supply port). > This removes the need for a second power supply. > > One problem that I faced, though, was that a wifi dongle connected to the > hub was being disconnected and reconnected every few minutes. I plugged it > directly into the Pi itself and it works flawlessly. I still don't know why > that problem happened; after all, they both are on the same power supply > (the hub's). Other devices on this hub (the Pi itself as well as other > stuff) seem to work fine. Maybe the hub's power supply is noisy and the Pi > filters it when it passes it through. No idea. > > Alex > > Ori Idan -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Wed Dec 24 07:35:53 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Wed, 24 Dec 2014 16:35:53 +1100 Subject: Recommendations for drive recovery In-Reply-To: References: <5497A8DD.8080208@skylinesoft.com> Message-ID: Mounting the partition could add a lot of unnecessary disk access and could hang the system. It's true that scanning the whole partition accesses every block on it as opposed to the filesystem code knowing where the data really is, but the OP seemed to suggest that the partition is pretty full, so a read will require access to most blocks anyway. Also a full image of the filesystem makes it easier to test multiple ways to recover data, for instance - make a copy of the rescued partition image then try difference "fsck"'s and executions of PhotoRec ( http://www.cgsecurity.org/wiki/PhotoRec). On 24 December 2014 at 02:31, E.S. Rosenberg wrote: > I have used the same trick with success at least once, it working does > depend on the type of failure but yours sounds like the type that would > work, in my case I think I even mounted the partitions and just copied the > data..... (rsync iirc) > > 2014-12-22 12:26 GMT+02:00 Amos Shapira : > >> I once helped a friend in a similar situation (family photos and >> documents on a dying disk without backups). >> >> I followed broadly the following procedure: >> 1. Put the disk in an airtight plastic bag (reason - to avoid humidity >> getting in during the following steps). >> 2. Put in the freezer for an hour. >> 3. Remove from freezer and leave inside the bag for a few minutes (again >> - to minimise risk of condensation). >> 4. remove from the bag, make sure no condensation builds up on it, wrap >> in a kitchen towel (it was Sydney summer, so high temps and humid, though >> not like Tel-Aviv summer). The idea was to keep any humidity away. >> 4. Put it on a block of icepack, and another icepack on top of it. >> 5. Connect it to a comp through an external USB box >> 6. GNU ddrescue (don't confuse with the non-GNU implementation). It can >> keep track of where it got to in a previous run so you can pick up from >> there. >> 7. Rinse, repeat. >> >> It took 2-3 weeks of repeating this process but I managed to save all his >> data (I think it was half a tera or so) except a tiny part (single-digit >> kilobytes, I think). >> >> The extra twist was that it was a Mac HFS file system and he wanted the >> data accessible to Windows - Only Linux could be used to support both >> filesystem formats :) >> >> >> On 22 December 2014 at 16:15, Alon Barzilai wrote: >>> >>> Hi, >>> >>> there is tic tac ( http://www.tictac.co.il ) >>> and recover (http://recover.co.il) >>> >>> I used them both in the past. and they both offered good service, but >>> this service is not cheap. >>> tic tac ares in this field for longer time, but as I recall their price >>> is higher than recover. >>> >>> Alon. >>> >>> >>> >>> On 12/21/2014 11:46 PM, Geoff Shang wrote: >>> >>> Hi, >>> >>> We have a 500 GB external USB drive that's about 5 or so years old >>> (can't remember exactly when we got it). It's now not spinning up >>> propperly and we figure its days are numbered. >>> >>> Much of what is on it has not been backed up anywhere else (yes, I >>> know). >>> >>> Is there somewhere I can take/send it to see if anything can be >>> salvaged? >>> >>> Geoff. >>> >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >>> >>> >>> >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >>> >>> >> >> -- >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From yba at tkos.co.il Wed Dec 24 14:14:29 2014 From: yba at tkos.co.il (Jonathan Ben Avraham) Date: Wed, 24 Dec 2014 14:14:29 +0200 (IST) Subject: Xenserver project Message-ID: Dear colleagues, Someone appreached me regarding a Citrix Xenserver configuration project. If you have experience and are interested in doing a short project then contact me off-list. Thanks, - yba -- 9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open Systems =}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{= mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm From alexta69 at gmail.com Thu Dec 25 11:59:42 2014 From: alexta69 at gmail.com (Alex Shnitman) Date: Thu, 25 Dec 2014 11:59:42 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: <54918F68.80700@mln.co.il> Message-ID: Isn't the USB signal differential? I understand that this means that the signal is encoded by the difference between the two data pins (which are connected by a twisted cable pair) rather than by referencing to ground. If that's the case, the ground shouldn't matter for the signal transmission. On Tue, Dec 23, 2014 at 9:46 PM, Ori Idan wrote: > > > On Tue, Dec 23, 2014 at 4:19 PM, Alex Shnitman wrote: > >> Power on the Raspberry Pi is a tricky business. I think on the B+ they've >> made it easier to deal with but it still cannot pass through a lot of >> current. So a powered hub is necessary, as previous posters mentioned. >> >> It does indeed backfeed into the Pi. I used thin stripes of electrical >> tape to cover the outer two contacts within the USB connector of the cable >> that connects the Pi to the hub, and that took care of that problem. Also, >> I found out that my hub (a cheap piece bought from DX), even when >> externally powered, would draw some current from the Pi during load. So the >> electrical tape took care of that too. >> > > I find it strange that it actually work since if you isolated both the > power and the ground pins, the data pins are left floated. That might work > but cause noise problems. So if you do want to isolate, isolate only the > power pin. > > >> If you have a good power supply for the hub you can power your Pi from >> the hub itself with an additional cable (i.e. the hub will be connected to >> the Pi twice, once with a USB A-B cable like any hub, and once with a USB A >> - MicroUSB B, from one of the hub's ports into the Pi's power supply port). >> This removes the need for a second power supply. >> >> One problem that I faced, though, was that a wifi dongle connected to the >> hub was being disconnected and reconnected every few minutes. I plugged it >> directly into the Pi itself and it works flawlessly. I still don't know why >> that problem happened; after all, they both are on the same power supply >> (the hub's). Other devices on this hub (the Pi itself as well as other >> stuff) seem to work fine. Maybe the hub's power supply is noisy and the Pi >> filters it when it passes it through. No idea. >> >> Alex >> >> > Ori Idan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ori at helicontech.co.il Thu Dec 25 12:11:30 2014 From: ori at helicontech.co.il (Ori Idan) Date: Thu, 25 Dec 2014 12:11:30 +0200 Subject: Adding external HDD to Raspberry Pi In-Reply-To: References: <54918F68.80700@mln.co.il> Message-ID: The signal is supposed to be differential, however there are some devices that take each line with the ground as reference and only then subtract it. On Thu, Dec 25, 2014 at 11:59 AM, Alex Shnitman wrote: > Isn't the USB signal differential? I understand that this means that the > signal is encoded by the difference between the two data pins (which are > connected by a twisted cable pair) rather than by referencing to ground. If > that's the case, the ground shouldn't matter for the signal transmission. > > On Tue, Dec 23, 2014 at 9:46 PM, Ori Idan wrote: > >> >> >> On Tue, Dec 23, 2014 at 4:19 PM, Alex Shnitman >> wrote: >> >>> Power on the Raspberry Pi is a tricky business. I think on the B+ >>> they've made it easier to deal with but it still cannot pass through a lot >>> of current. So a powered hub is necessary, as previous posters mentioned. >>> >>> It does indeed backfeed into the Pi. I used thin stripes of electrical >>> tape to cover the outer two contacts within the USB connector of the cable >>> that connects the Pi to the hub, and that took care of that problem. Also, >>> I found out that my hub (a cheap piece bought from DX), even when >>> externally powered, would draw some current from the Pi during load. So the >>> electrical tape took care of that too. >>> >> >> I find it strange that it actually work since if you isolated both the >> power and the ground pins, the data pins are left floated. That might work >> but cause noise problems. So if you do want to isolate, isolate only the >> power pin. >> >> >>> If you have a good power supply for the hub you can power your Pi from >>> the hub itself with an additional cable (i.e. the hub will be connected to >>> the Pi twice, once with a USB A-B cable like any hub, and once with a USB A >>> - MicroUSB B, from one of the hub's ports into the Pi's power supply port). >>> This removes the need for a second power supply. >>> >>> One problem that I faced, though, was that a wifi dongle connected to >>> the hub was being disconnected and reconnected every few minutes. I plugged >>> it directly into the Pi itself and it works flawlessly. I still don't know >>> why that problem happened; after all, they both are on the same power >>> supply (the hub's). Other devices on this hub (the Pi itself as well as >>> other stuff) seem to work fine. Maybe the hub's power supply is noisy and >>> the Pi filters it when it passes it through. No idea. >>> >>> Alex >>> >>> >> Ori Idan >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaplanlior at gmail.com Thu Dec 25 17:24:01 2014 From: kaplanlior at gmail.com (Lior Kaplan) Date: Thu, 25 Dec 2014 17:24:01 +0200 Subject: Help needed with developing a network related kernel module for FreeBSD Message-ID: Hi, I know this list is for Linux, but this seems relevant enough. I'm sorry if that's off topic here. A friend from an integration company is looking for a FreeBSD kernel developer to help with creating a network related module. Please let me know if you have or know anyone who has relevant knowledge and I'll try to make the connection. Thanks, Kaplan -------------- next part -------------- An HTML attachment was scrubbed... URL: From hareldvd at gmail.com Fri Dec 26 15:54:12 2014 From: hareldvd at gmail.com (David Harel) Date: Fri, 26 Dec 2014 15:54:12 +0200 Subject: Linux on Android related question Message-ID: Greetings' I have an Android/Linux related question here. I hope I am not out of line in this request for help. My son purchased an Android phone in China (against my recommendation). It's a phone by Coolpad the module is 7620l Apparently the Android installation for Chinese is different than what we are used to get in "Western countries". No Google account, no Google play store and it seems that all network activities went through China (for inspection?, really slow on network activity). It took me a while to find English Rom for it and then some time to root it (temporarily - will explain later). Now I got Google account and other "Western" stuff but still: 1. Root is removed after reboot 2. Google play services crashes and so does the address book sync operation. Looking at the article: http://elinux.org/Android_Booting my questions: 1. Any idea where I can find strace for Android (based on Arm CPU) 2. Can I go into "Console mode" ? In case I fiddle with init*.rc scripts and break the OS (for manual recovery of those scripts). 3. The su command (and copies of it that had SUID bit set on it) were deleted during boot. Any idea what could have done that? 4. Any idea what cold make the google play services get killed every time? Thanks David Harel Amuka -------------- next part -------------- An HTML attachment was scrubbed... URL: From elcuco at kde.org Fri Dec 26 16:29:21 2014 From: elcuco at kde.org (Diego Iastrubni) Date: Fri, 26 Dec 2014 16:29:21 +0200 Subject: Linux on Android related question In-Reply-To: References: Message-ID: <1593056.7KM8odgHhf@pinky> Hi David, On ??? ????, 26 ?????? 2014 15:54:12 David Harel wrote: > My son purchased an Android phone in China (against my recommendation). > It's a phone by Coolpad the module is 7620l You should have a talk to your son ;-) > Apparently the Android installation for Chinese is different than what we > are used to get in "Western countries". No Google account, no Google play > store and it seems that all network activities went through China (for > inspection?, really slow on network activity). Actually... not. GApps is not officially part of AOSP (which in my book is the definition of "android"... but the world is moving and my definition is becoming less correct as the name of Android advances in the english alphabet). Nokia/MS did the same. Jolla are going this as well. The Android emulators usually do this as well. > It took me a while to find English Rom for it and then some time to root it > (temporarily - will explain later). > Now I got Google account and other "Western" stuff but still: > 1. Root is removed after reboot > 2. Google play services crashes and so does the address book sync operation. > > Looking at the article: http://elinux.org/Android_Booting > my questions: > 1. Any idea where I can find strace for Android (based on Arm CPU) Just compile it statically with your favorite ARM toolchain. Then push it into /data/local/tmp (adb push strace-static-ftw /data/local/tmp; adb shell chmod 777 /data/local/tmp/strace-static-ftw) BTW: in this page http://elinux.org/Android_Tools which point here for instructions on building: http://discuz-android.blogspot.co.il/2008/01/create-google-android-strace-tool.html and here for downloads: http://benno.id.au/blog/2007/11/18/android-runtime-strace http://benno.id.au/android/strace I still recommend compiling your own. > 2. Can I go into "Console mode" ? In case I fiddle with init*.rc scripts > and break the OS (for manual recovery of those scripts). You need a serial console for this, good luck with that. The "console" you get when you run over adb is running using a limited account... but it might be the way for you to "root" the device. Just for reference, here is how to get a serial console on nexus5: http://www.abclinuxu.cz/blog/Lorris/2013/12/serial-console-on-google-nexus-5 And this is on Galaxy S4: http://forum.xda-developers.com/showthread.php?t=1901376 Not trivial! > 3. The su command (and copies of it that had SUID bit set on it) were > deleted during boot. Any idea what could have done that? Do you put it on "/bin" or "/sbin"? Those directories are not mapped to a real device, but are part of the initrd. On reboot they are restored. Not a good place to save stuff. I wrote about something similar (Hebrew) a few days/weeks ago. Have a good reading: http://cucomania.mooo.com/he/posts/349 From amos.shapira at gmail.com Sat Dec 27 01:50:08 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Sat, 27 Dec 2014 10:50:08 +1100 Subject: Linux on Android related question In-Reply-To: References: Message-ID: Just a few weeks ago I read (I think on DarkReading) that there are many cheap phones which come with malware built in. I google'd for this when I found this link: http://researchcenter.paloaltonetworks.com/2014/12/coolreaper-revealed-backdoor-coolpad-android-devices/ Bottom line - avoid these devices, and if already got them then see whether you can wipe them out completely and replace with an open ROM like CyanogenMod (http://www.cyanogenmod.org/) or others (http://www.needrom.com/category/coolpad/) On 27 December 2014 at 00:54, David Harel wrote: > Greetings' > > I have an Android/Linux related question here. I hope I am not out of line > in this request for help. > > My son purchased an Android phone in China (against my recommendation). > It's a phone by Coolpad the module is 7620l > Apparently the Android installation for Chinese is different than what we > are used to get in "Western countries". No Google account, no Google play > store and it seems that all network activities went through China (for > inspection?, really slow on network activity). > It took me a while to find English Rom for it and then some time to root > it (temporarily - will explain later). > Now I got Google account and other "Western" stuff but still: > 1. Root is removed after reboot > 2. Google play services crashes and so does the address book sync > operation. > > Looking at the article: http://elinux.org/Android_Booting > my questions: > 1. Any idea where I can find strace for Android (based on Arm CPU) > 2. Can I go into "Console mode" ? In case I fiddle with init*.rc scripts > and break the OS (for manual recovery of those scripts). > 3. The su command (and copies of it that had SUID bit set on it) were > deleted during boot. Any idea what could have done that? > 4. Any idea what cold make the google play services get killed every time? > > Thanks > David Harel > Amuka > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From slitt at troubleshooters.com Tue Dec 30 22:20:42 2014 From: slitt at troubleshooters.com (Steve Litt) Date: Tue, 30 Dec 2014 15:20:42 -0500 Subject: Epoch Init System Howto Message-ID: <20141230152042.2353855d@mydesq2.domain.cxm> Hi all, Here's a new Epoch Init System howto, with which any reasonably knowledgeable Linux user can replace his or her current init system with Epoch: http://www.troubleshooters.com/linux/init/manjaro_experiments.htm#12232014_pure_runit_init_proof_of_concept Hope you like it. SteveT Steve Litt * http://www.troubleshooters.com/ Troubleshooting Training * Human Performance From slitt at troubleshooters.com Tue Dec 30 22:34:16 2014 From: slitt at troubleshooters.com (Steve Litt) Date: Tue, 30 Dec 2014 15:34:16 -0500 Subject: Epoch Init System Howto In-Reply-To: <20141230152042.2353855d@mydesq2.domain.cxm> References: <20141230152042.2353855d@mydesq2.domain.cxm> Message-ID: <20141230153416.7c4122fc@mydesq2.domain.cxm> On Tue, 30 Dec 2014 15:20:42 -0500 Steve Litt wrote: > Hi all, > > Here's a new Epoch Init System howto, with which any reasonably > knowledgeable Linux user can replace his or her current init system > with Epoch: > > http://www.troubleshooters.com/linux/init/manjaro_experiments.htm#12232014_pure_runit_init_proof_of_concept Sorry, wrong URL. The correct URL follows: http://www.troubleshooters.com/linux/init/manjaro_experiments.htm#pure_epoch_init_system SteveT Steve Litt * http://www.troubleshooters.com/ Troubleshooting Training * Human Performance From tzafrir at cohens.org.il Wed Dec 31 08:19:00 2014 From: tzafrir at cohens.org.il (Tzafrir Cohen) Date: Wed, 31 Dec 2014 07:19:00 +0100 Subject: Epoch Init System Howto In-Reply-To: <20141230153416.7c4122fc@mydesq2.domain.cxm> References: <20141230152042.2353855d@mydesq2.domain.cxm> <20141230153416.7c4122fc@mydesq2.domain.cxm> Message-ID: <20141231061859.GM2645@lemon.cohens.org.il> On Tue, Dec 30, 2014 at 03:34:16PM -0500, Steve Litt wrote: > On Tue, 30 Dec 2014 15:20:42 -0500 > Steve Litt wrote: > > > Hi all, > > > > Here's a new Epoch Init System howto, with which any reasonably > > knowledgeable Linux user can replace his or her current init system > > with Epoch: > > http://www.troubleshooters.com/linux/init/manjaro_experiments.htm#pure_epoch_init_system A few points to consider: * It doesn't start tasks in parallel. Sure it's lean. But does it boot a normal system fast enough? * It doesn't have proper service dependencies. You have to manage all of them on your own. * Systemd uses dbus to avoid creating its own IPC. Epoch chose to create its wn IPC. * For Debian an init system considered must be able to replace legacy init files. Or rather: allow partial conversion: you can't afford rewriting all service descriptions yourself. * On a system with package management, each package should provide its own service definition. Ideally the init system could parse them from a directory. If not, you probably need a program to pre-process them to a single configuration file (but then this is a generated configuration file - see grub2's configuration). * The word "Object" seems odd. It seems like it could have been chopped off configuration directives with better planning (consider also ssh_config). * ">!>" starts a multi-line comment and ">>-s left from unsuccessful merges. I intuitively consider them error characters. In short: a toy init system. At least for now. It's good enough for your own home system if you spend the time configuring it, or for a custom embedded system. It's not going to replace other systems soon. -- Tzafrir Cohen | tzafrir at jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzafrir at cohens.org.il | | best tzafrir at debian.org | | friend