Re: [Ac100] Anyone missing config options in Precise

2012-02-27 Thread Jani Monoses
Hi

On Sun, Feb 26, 2012 at 9:52 AM, Johan Ehnberg jo...@ehnberg.net wrote:
 Hi Jani,

 I would like to see dm_crypt to be able to mount luks encrypted drives.



I just tried again and remembered the reason why dm_crypt (and all of
dm) is turned off

I could not get it to build since switching to the 3.0 tree.
  Building modules, stage 2.
  MODPOST 885 modules
ERROR: block_class [drivers/md/dm-mod.ko] undefined!
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
make[1]: *** [sub-make] Error 2

Marc, any idea?

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] Anyone missing config options in Precise

2012-02-27 Thread Oliver Grawert
hi,
On Mon, 27 Feb 2012 12:10:40 +0200
Jani Monoses j...@ubuntu.com wrote:

 Hi
 
 On Sun, Feb 26, 2012 at 9:52 AM, Johan Ehnberg jo...@ehnberg.net
 wrote:
  Hi Jani,
 
  I would like to see dm_crypt to be able to mount luks encrypted
  drives.
 
 
 
 I just tried again and remembered the reason why dm_crypt (and all of
 dm) is turned off
 
 I could not get it to build since switching to the 3.0 tree.
   Building modules, stage 2.
   MODPOST 885 modules
 ERROR: block_class [drivers/md/dm-mod.ko] undefined!
 make[3]: *** [__modpost] Error 1
 make[2]: *** [modules] Error 2
 make[1]: *** [sub-make] Error 2
 
 Marc, any idea?
 
unless somone finds out why initrds are size limited (not sure if
u-boot might solve that, but the current port of u-boot still doesnt
seem mature enough to me to base images by default on it yet) you cant
really use dm-crypt in ubuntu installs due to the fact that cryptsetup
and friends get pulled into the initrd once you install the encrypttion
related userspace packages (happening through dependencies), which makes
it to big for the bootloader (and renders your system unbootable)...

ciao
oli


pgpy3X7OhVuO0.pgp
Description: PGP signature
___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] Anyone missing config options in Precise

2012-02-27 Thread Jani Monoses
Good to know. Let' see first why crypt is not built yet and then
whether the initrd size issue can be understood and addressed.

On Mon, Feb 27, 2012 at 12:44 PM, Oliver Grawert o...@ubuntu.com wrote:
 hi,
 On Mon, 27 Feb 2012 12:10:40 +0200
 Jani Monoses j...@ubuntu.com wrote:

 Hi

 On Sun, Feb 26, 2012 at 9:52 AM, Johan Ehnberg jo...@ehnberg.net
 wrote:
  Hi Jani,
 
  I would like to see dm_crypt to be able to mount luks encrypted
  drives.
 
 

 I just tried again and remembered the reason why dm_crypt (and all of
 dm) is turned off

 I could not get it to build since switching to the 3.0 tree.
   Building modules, stage 2.
   MODPOST 885 modules
 ERROR: block_class [drivers/md/dm-mod.ko] undefined!
 make[3]: *** [__modpost] Error 1
 make[2]: *** [modules] Error 2
 make[1]: *** [sub-make] Error 2

 Marc, any idea?

 unless somone finds out why initrds are size limited (not sure if
 u-boot might solve that, but the current port of u-boot still doesnt
 seem mature enough to me to base images by default on it yet) you cant
 really use dm-crypt in ubuntu installs due to the fact that cryptsetup
 and friends get pulled into the initrd once you install the encrypttion
 related userspace packages (happening through dependencies), which makes
 it to big for the bootloader (and renders your system unbootable)...

 ciao
        oli

 ___
 Mailing list: https://launchpad.net/~ac100
 Post to     : ac100@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~ac100
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] Anyone missing config options in Precise

2012-02-27 Thread Marc Dietrich
Am Montag, 27. Februar 2012, 15:10:09 schrieb Jani Monoses:
  well, we can either
 - revert 11b5fe26f (CHROMIUM: dm: Add support for devices by
  PARTUUID/PARTNROFF), - export the symbol in genhd.c
 
 thanks, exporting the symbol did it.
 either of these two solutions is fine I think.
 So we are missing patches related to this hack? How did it build for Chromeos?

I guess CHROMEOS uses it build-in, so they never ran into this error (their hw 
is 
very specific, so no need to modules I guess).

grep -r CONFIG_BLK_DEV_DM chromeos
chromeos/config/base.config:CONFIG_BLK_DEV_DM=y

I also added the export symbol patch to the chromeos-ac100-3.0 branch.

Marc


___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] Anyone missing config options in Precise

2012-02-27 Thread Jani Monoses
I have uploaded a new package to Precise containing the changes
suggested in this thread.

On Mon, Feb 27, 2012 at 3:24 PM, Marc Dietrich marvi...@gmx.de wrote:
 Am Montag, 27. Februar 2012, 15:10:09 schrieb Jani Monoses:
  well, we can either
         - revert 11b5fe26f (CHROMIUM: dm: Add support for devices by
  PARTUUID/PARTNROFF), - export the symbol in genhd.c

 thanks, exporting the symbol did it.
 either of these two solutions is fine I think.
 So we are missing patches related to this hack? How did it build for 
 Chromeos?

 I guess CHROMEOS uses it build-in, so they never ran into this error (their 
 hw is
 very specific, so no need to modules I guess).

 grep -r CONFIG_BLK_DEV_DM chromeos
 chromeos/config/base.config:CONFIG_BLK_DEV_DM=y

 I also added the export symbol patch to the chromeos-ac100-3.0 branch.

 Marc


___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] Anyone missing config options in Precise

2012-02-26 Thread Johan Ehnberg

On 02/24/2012 02:56 PM, Jani Monoses wrote:

Hi all,

please let me know (here) if there are any kernel config options that
you want enabled in
the ac100 kernel in precise to get your extra hardware working (sound,
usb dongles etc)
The kernel is now in the Precise archives so you can check whether it
works with all your stuff.

Jani




Hi Jani,

I would like to see dm_crypt to be able to mount luks encrypted drives.

Also, I am unable to use USB tethering from my android phone 
(rndis_host, rndis_wlan, cdc_ether, usbnet). This may not be a kernel 
config thing, however, as the modules seem to be available and loaded 
properly.


I am running the latest armhf kernel 3.0.19 from the repo today.

Best regards,
Johan

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] Anyone missing config options in Precise

2012-02-26 Thread Marc Dietrich
On Sunday 26 February 2012 10:52:51 Johan Ehnberg wrote:
 On 02/24/2012 02:56 PM, Jani Monoses wrote:
  Hi all,
  
  please let me know (here) if there are any kernel config options that
  you want enabled in
  the ac100 kernel in precise to get your extra hardware working (sound,
  usb dongles etc)
  The kernel is now in the Precise archives so you can check whether it
  works with all your stuff.
  
  Jani
 
 Hi Jani,
 
 I would like to see dm_crypt to be able to mount luks encrypted drives.
 
 Also, I am unable to use USB tethering from my android phone
 (rndis_host, rndis_wlan, cdc_ether, usbnet). This may not be a kernel
 config thing, however, as the modules seem to be available and loaded
 properly.

correct, the usb gadget function is not available in 3.0 kernels. If anyone 
wants to try to port it in more or less *sane* way, I'm happy to include it.

Marc

 
 I am running the latest armhf kernel 3.0.19 from the repo today.
 
 Best regards,
 Johan
 
 ___
 Mailing list: https://launchpad.net/~ac100
 Post to : ac100@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~ac100
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


[Ac100] Anyone missing config options in Precise

2012-02-24 Thread Jani Monoses
Hi all,

please let me know (here) if there are any kernel config options that
you want enabled in
the ac100 kernel in precise to get your extra hardware working (sound,
usb dongles etc)
The kernel is now in the Precise archives so you can check whether it
works with all your stuff.

Jani

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp