kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* SWAP gone when running mainline
@ 2013-01-27 12:14 Martin Kepplinger
  2013-01-27 12:30 ` Grzegorz Dwornicki
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Kepplinger @ 2013-01-27 12:14 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I run a recent re-kernel (using lubuntu 12.04) and when I boot into it,
"free" says I don't _have_ (and use) any SWAP. Of course on ubuntu's
kernel it works. When could I start looking around? .config? sysfs knob?
I have no idea.

thanks

-- 
Martin Kepplinger

^ permalink raw reply	[flat|nested] 6+ messages in thread

* SWAP gone when running mainline
  2013-01-27 12:14 SWAP gone when running mainline Martin Kepplinger
@ 2013-01-27 12:30 ` Grzegorz Dwornicki
  2013-01-27 13:11   ` Martin Kepplinger
  0 siblings, 1 reply; 6+ messages in thread
From: Grzegorz Dwornicki @ 2013-01-27 12:30 UTC (permalink / raw)
  To: kernelnewbies

Let me get this right: you have 2 distros? On one (ubuntu) you have swap
and on other (lubuntu) not? Looks like missing fstab entry too me

Greg.
27 sty 2013 13:24, "Martin Kepplinger" <martink@posteo.de> napisa?(a):

> Hi,
>
> I run a recent re-kernel (using lubuntu 12.04) and when I boot into it,
> "free" says I don't _have_ (and use) any SWAP. Of course on ubuntu's
> kernel it works. When could I start looking around? .config? sysfs knob?
> I have no idea.
>
> thanks
>
> --
> Martin Kepplinger
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130127/0da6ccea/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* SWAP gone when running mainline
  2013-01-27 12:30 ` Grzegorz Dwornicki
@ 2013-01-27 13:11   ` Martin Kepplinger
  2013-01-28  8:05     ` Mulyadi Santosa
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Kepplinger @ 2013-01-27 13:11 UTC (permalink / raw)
  To: kernelnewbies

Sorry, that wasn't clear. Nope, I just have one distro: Lubuntu. I
installed a rc-mainline-kernel and when I boot into it, there is no
swap. On the distro-kernel there of course is.

thanks

On 2013-01-27 13:30, Grzegorz Dwornicki wrote:
> Let me get this right: you have 2 distros? On one (ubuntu) you have swap
> and on other (lubuntu) not? Looks like missing fstab entry too me
> 
> Greg.
> 
> 27 sty 2013 13:24, "Martin Kepplinger" <martink@posteo.de
> <mailto:martink@posteo.de>> napisa?(a):
> 
>     Hi,
> 
>     I run a recent re-kernel (using lubuntu 12.04) and when I boot into it,
>     "free" says I don't _have_ (and use) any SWAP. Of course on ubuntu's
>     kernel it works. When could I start looking around? .config? sysfs knob?
>     I have no idea.
> 
>     thanks
> 
>     --
>     Martin Kepplinger
> 
>     _______________________________________________
>     Kernelnewbies mailing list
>     Kernelnewbies at kernelnewbies.org <mailto:Kernelnewbies@kernelnewbies.org>
>     http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* SWAP gone when running mainline
  2013-01-27 13:11   ` Martin Kepplinger
@ 2013-01-28  8:05     ` Mulyadi Santosa
  2013-01-28 10:21       ` Martin Kepplinger
  0 siblings, 1 reply; 6+ messages in thread
From: Mulyadi Santosa @ 2013-01-28  8:05 UTC (permalink / raw)
  To: kernelnewbies

On Sun, Jan 27, 2013 at 8:11 PM, Martin Kepplinger <martink@posteo.de> wrote:
> Sorry, that wasn't clear. Nope, I just have one distro: Lubuntu. I
> installed a rc-mainline-kernel and when I boot into it, there is no
> swap. On the distro-kernel there of course is.
>
> thanks

Please don't do top posting....

Which rc kernel version do you use? and can you show us the entries of
your /etc/fstab?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* SWAP gone when running mainline
  2013-01-28  8:05     ` Mulyadi Santosa
@ 2013-01-28 10:21       ` Martin Kepplinger
  2013-01-28 16:09         ` Mulyadi Santosa
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Kepplinger @ 2013-01-28 10:21 UTC (permalink / raw)
  To: kernelnewbies

On 2013-01-28 09:05, Mulyadi Santosa wrote:
> On Sun, Jan 27, 2013 at 8:11 PM, Martin Kepplinger <martink@posteo.de> wrote:
>> Sorry, that wasn't clear. Nope, I just have one distro: Lubuntu. I
>> installed a rc-mainline-kernel and when I boot into it, there is no
>> swap. On the distro-kernel there of course is.
>>
>> thanks
> 
> Please don't do top posting....
> 
> Which rc kernel version do you use? and can you show us the entries of
> your /etc/fstab?
> 
it was rc4, now it's 3.8.0-rc5. My fstab:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=187122e0-ad4a-4b27-8ec3-bb9217f162d0 /               ext4
errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
#UUID=d1313f27-8580-490e-bec3-55ac44d64f0e none            swap    sw
           0       0
/dev/mapper/cryptswap1 none swap sw 0 0

ecryptfs should be the problem. I use an encrypted home and swap. "free"
says Swap: 0 0 0.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* SWAP gone when running mainline
  2013-01-28 10:21       ` Martin Kepplinger
@ 2013-01-28 16:09         ` Mulyadi Santosa
  0 siblings, 0 replies; 6+ messages in thread
From: Mulyadi Santosa @ 2013-01-28 16:09 UTC (permalink / raw)
  To: kernelnewbies

Hi Martin...

On Mon, Jan 28, 2013 at 5:21 PM, Martin Kepplinger <martink@posteo.de> wrote:
> it was rc4, now it's 3.8.0-rc5. My fstab:
>
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    nodev,noexec,nosuid 0       0
> # / was on /dev/sda1 during installation
> UUID=187122e0-ad4a-4b27-8ec3-bb9217f162d0 /               ext4
> errors=remount-ro 0       1
> # swap was on /dev/sda5 during installation
> #UUID=d1313f27-8580-490e-bec3-55ac44d64f0e none            swap    sw
>            0       0
> /dev/mapper/cryptswap1 none swap sw 0 0
>
> ecryptfs should be the problem. I use an encrypted home and swap. "free"
> says Swap: 0 0 0.

I see.... ok my suggestion is...how about converting that swap
partition back to normal swap using mkswap? If it works (of course,
you need to adjust /etc/fstab accordingly), then ecryptfs is really
the culprit here.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-28 16:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-27 12:14 SWAP gone when running mainline Martin Kepplinger
2013-01-27 12:30 ` Grzegorz Dwornicki
2013-01-27 13:11   ` Martin Kepplinger
2013-01-28  8:05     ` Mulyadi Santosa
2013-01-28 10:21       ` Martin Kepplinger
2013-01-28 16:09         ` Mulyadi Santosa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).