[Bug 680650] Re: fsck causes oops on xm because of no swap

2011-01-27 Thread Steve Langasek
The only fix I can see for this is to make sure linaro-media-create is
always creating a swapfile when installing to certain known low-memory
targets.  We can do that one of two ways; we can make a default swap
size part of the board config info (and have an override command-line
option to disable, perhaps --no-swap?), or we can just update the
documentation to mention how much memory is needed for a given image to
run and expect users to set appropriate swap themselves.  Reassigning to
linaro-image-tools for consideration of the first option.

(BTW, Tom, was there any particular evidence that fsck.ext3 was using
more memory than reasonable here?  Perhaps we should also be filing a
bug task against e2fsprogs.)

** Project changed: linaro = linaro-image-tools

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/680650

Title:
  fsck causes oops on xm because of no swap

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 680650] Re: fsck causes oops on xm because of no swap

2011-01-27 Thread Loïc Minier
In an ideal world, we could document the RAM requirements of an image
(like headless or ubuntu-netbook) and the size of RAM of the targeted
board in a hwpack, and use these information to decide the size of the
swap.  Adding swap might not sound complex, but it can either be a swap
file or a separate partition, we will have to align the partition
properly, mkswap it, lookup its UUID etc., things close to what we do.

In the mean time, I recommend that we document expected RAM requirements
for each image, and request people to decide whether they need to pass
--swap-size.

I've added the ram_size informational field to the hardware packs v2
spec.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/680650

Title:
  fsck causes oops on xm because of no swap

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 680650] Re: fsck causes oops on xm

2011-01-24 Thread John Rigby
Changing description to better describe the bug and moving to Linaro.

** Summary changed:

- fsck causes oops on xm
+ fsck causes oops on xm because of no swap

** Also affects: linaro
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/680650

Title:
  fsck causes oops on xm because of no swap

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 680650] Re: fsck causes oops on xm because of no swap

2011-01-24 Thread John Rigby
CONFIG_SWAP is on in kernel so not a kernel bug.

** Changed in: linux-linaro (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/680650

Title:
  fsck causes oops on xm because of no swap

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 680650] Re: fsck causes oops on xm because of no swap

2011-01-24 Thread Jamie Bennett
** Changed in: linaro
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/680650

Title:
  fsck causes oops on xm because of no swap

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs