Never call kfree() in a device driver again

2014-05-15 Thread Eli Billauer

Hi all,

Ah, I just wanted to tell you that I'll hold a talk about managed 
resource allocation in the Linux kernel, in Haifux on May 26th.


Abstract: http://www.haifux.org/lectures/323

Besides, there's currently no talk scheduled after that. So it's a good 
opportunity to get a slot as close as June 9th!


See you all,

   Eli

--
Web: http://www.billauer.co.il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Upgrading Ubuntu from 12.04 to 14.04

2014-05-15 Thread Uri Even-Chen
Hi people,

I work at my job with Ubuntu 12.04 and we run Django 1.4.12 locally with
Python 2.7.3 and PostgreSQL. We want to upgrade Django from 1.4 to 1.6 and
I also thought it would be a good idea to upgrade Python to 2.7.6 and maybe
even 3, so I tried to upgrade Ubuntu to 14.04. But after I completed the
upgrade, Django didn't work and I couldn't even run migrations (with
South). I had to reinstall Ubuntu 12.04 and I lost all the files I had in
my home directory (because I chose not to keep Ubuntu 14.04) except some
files that I backed up. My questions are:

1. What do we need to do in order for Django to work with Ubuntu 14.04?
2. Why isn't it possible to reinstall Ubuntu 12.04 after upgrading to 14.04
and still keep all the files in my home directory, while not keeping all
the other files (the operating system files)?

Thanks,
Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Speedy Net: http://www.speedy.net/
Speedy Composer: http://www.speedycomposer.com/
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Upgrading Ubuntu from 12.04 to 14.04

2014-05-15 Thread Ori Idan
On Thu, May 15, 2014 at 3:20 PM, Uri Even-Chen u...@speedy.net wrote:

 Hi people,

 I work at my job with Ubuntu 12.04 and we run Django 1.4.12 locally with
 Python 2.7.3 and PostgreSQL. We want to upgrade Django from 1.4 to 1.6 and
 I also thought it would be a good idea to upgrade Python to 2.7.6 and maybe
 even 3, so I tried to upgrade Ubuntu to 14.04. But after I completed the
 upgrade, Django didn't work and I couldn't even run migrations (with
 South). I had to reinstall Ubuntu 12.04 and I lost all the files I had in
 my home directory (because I chose not to keep Ubuntu 14.04) except some
 files that I backed up. My questions are:

 1. What do we need to do in order for Django to work with Ubuntu 14.04?
 2. Why isn't it possible to reinstall Ubuntu 12.04 after upgrading to
 14.04 and still keep all the files in my home directory, while not keeping
 all the other files (the operating system files)?

Why do you think it is not possible?  I do it all the time.
I  keep my home directory in a separate partition so when I upgrade (or
downgrade) the OS the home directory stays the same.

-- 
Ori Idan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Upgrading Ubuntu from 12.04 to 14.04

2014-05-15 Thread Uri Even-Chen
Thank you, it's a good idea. At work my home directory is not in a separate
partition so it's not kept if I reinstall Ubuntu. Do you know how I can
create a partition and move it to a separate partition?

Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Speedy Net: http://www.speedy.net/
Speedy Composer: http://www.speedycomposer.com/



On Thu, May 15, 2014 at 3:46 PM, Ori Idan o...@helicontech.co.il wrote:


 On Thu, May 15, 2014 at 3:20 PM, Uri Even-Chen u...@speedy.net wrote:

 Hi people,

 I work at my job with Ubuntu 12.04 and we run Django 1.4.12 locally with
 Python 2.7.3 and PostgreSQL. We want to upgrade Django from 1.4 to 1.6 and
 I also thought it would be a good idea to upgrade Python to 2.7.6 and maybe
 even 3, so I tried to upgrade Ubuntu to 14.04. But after I completed the
 upgrade, Django didn't work and I couldn't even run migrations (with
 South). I had to reinstall Ubuntu 12.04 and I lost all the files I had in
 my home directory (because I chose not to keep Ubuntu 14.04) except some
 files that I backed up. My questions are:

 1. What do we need to do in order for Django to work with Ubuntu 14.04?
 2. Why isn't it possible to reinstall Ubuntu 12.04 after upgrading to
 14.04 and still keep all the files in my home directory, while not keeping
 all the other files (the operating system files)?

 Why do you think it is not possible?  I do it all the time.
 I  keep my home directory in a separate partition so when I upgrade (or
 downgrade) the OS the home directory stays the same.

 --
 Ori Idan


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Upgrading Ubuntu from 12.04 to 14.04

2014-05-15 Thread Efraim Flashner
I don't believe it is possible for a user to create a partition.  Of
course that is more of a brain-fart on my part, because it's not so
useful to your situation.  Gparted should be able to resize unmounted
ext3/4 partitions, and from there you can create a new partition, copy
your /home directory there and edit /etc/fstab to point to the new
partition.

I found these release notes: https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes, 
but it looks rather short, and doesn't mention django.  Fortunately django has 
its own release notes here: https://docs.djangoproject.com/en/1.6/releases/ 
which should help with the upgrade.

Sorry I couldn't be more helpful, I've never used django.

-Efraim


On Thu, 15 May 2014 16:00:00 +0300
Uri Even-Chen u...@speedy.net wrote:

 Thank you, it's a good idea. At work my home directory is not in a
 separate partition so it's not kept if I reinstall Ubuntu. Do you
 know how I can create a partition and move it to a separate partition?
 
 Uri Even-Chen
 Mobile Phone: +972-50-9007559
 E-mail: u...@speedy.net
 Speedy Net: http://www.speedy.net/
 Speedy Composer: http://www.speedycomposer.com/
 
 
 
 On Thu, May 15, 2014 at 3:46 PM, Ori Idan o...@helicontech.co.il
 wrote:
 
 
  On Thu, May 15, 2014 at 3:20 PM, Uri Even-Chen u...@speedy.net
  wrote:
 
  Hi people,
 
  I work at my job with Ubuntu 12.04 and we run Django 1.4.12
  locally with Python 2.7.3 and PostgreSQL. We want to upgrade
  Django from 1.4 to 1.6 and I also thought it would be a good idea
  to upgrade Python to 2.7.6 and maybe even 3, so I tried to upgrade
  Ubuntu to 14.04. But after I completed the upgrade, Django didn't
  work and I couldn't even run migrations (with South). I had to
  reinstall Ubuntu 12.04 and I lost all the files I had in my home
  directory (because I chose not to keep Ubuntu 14.04) except some
  files that I backed up. My questions are:
 
  1. What do we need to do in order for Django to work with Ubuntu
  14.04? 2. Why isn't it possible to reinstall Ubuntu 12.04 after
  upgrading to 14.04 and still keep all the files in my home
  directory, while not keeping all the other files (the operating
  system files)?
 
  Why do you think it is not possible?  I do it all the time.
  I  keep my home directory in a separate partition so when I upgrade
  (or downgrade) the OS the home directory stays the same.
 
  --
  Ori Idan
 
 



-- 
Efraim Flashner
efraim.flash...@gmail.com 4096R/CA3D8351 created: 2013-10-08
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351


signature.asc
Description: PGP signature
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Never call kfree() in a device driver again

2014-05-15 Thread Shlomi Fish
Hi Eli,


On Thu, May 15, 2014 at 1:25 PM, Eli Billauer e...@billauer.co.il wrote:

 Hi all,

 Ah, I just wanted to tell you that I'll hold a talk about managed resource
 allocation in the Linux kernel, in Haifux on May 26th.

 Abstract: http://www.haifux.org/lectures/323


Sounds interesting. Would you be interested in giving a rerun of this talk
in one of the clubs in Central Israel? It may not be exactly up to the Tel
Aviv Perl Mongers' alley, but maybe Qt Israel (also meeting in Shenkar
College in Ramat Gan) will like it.

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 .
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Never call kfree() in a device driver again

2014-05-15 Thread Eli Billauer




Hi,

Thanks for the invitation. However I think I'll stick to only Haifux
this time. I like it when it's 10 minutes from home. ;)

Regards,
    Eli

On 15/05/14 19:19, Shlomi Fish wrote:

  Hi Eli,
  
  
  On Thu, May 15, 2014 at 1:25 PM, Eli
Billauer e...@billauer.co.il
wrote:
  Hi
all,

Ah, I just wanted to tell you that I'll hold a talk about managed
resource allocation in the Linux kernel, in Haifux on May 26th.

Abstract: http://www.haifux.org/lectures/323

  
  
  
  Sounds interesting. Would you be interested in giving a rerun of
this talk in one of the clubs in Central Israel? It may not be exactly
up to the Tel Aviv Perl Mongers' alley, but maybe Qt Israel (also
meeting in Shenkar College in Ramat Gan) will like it.
  
  
  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
.
  
  
  




-- 
Web: http://www.billauer.co.il




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il