[Bug 366397] Re: swapon hangs when using file on kernels 2.6.28-13 and 2.6.28-11 but works perfect on kernel 2.6.27.11

Luis Lumbreras Picazo Luis.Lumbreras.Picazo at gmail.com
Wed Apr 7 12:21:47 UTC 2010


Sorry me, since a lot of time i do not use anymore SWAP on files,... since i
detected the error.

Now i do not have such FAT32 partition with "pagefile.sys", now i use a
dedicated SWAP partition, so i am afraid i can not check it on new kernels,
sorry.

If i have time i will try to see if i can re-check it on my old PC... with
last kernel from Ubuntu... but i can not know when i will have time to do
it, since i must re-format... and reinstall all from scratch.

Now i have all my Linux using full HDDs in Linux Raid 0 configurations... so
it will be very diffucult to me to make a hole for a FAT32 parttiion... one
PC with Two HDDs, the other with Three HDDs, all in Raid 0... as follows:

-Each start part of each HDD for / (Raid0)
-Little part of each HDD for SWAP (No Raid0, instead same priority)
-Rest of each HDD for /media/MyDATA (Raid0)

Speed is much greater,... too much better speed...

So i am afraid if i want to use a full 4GB FAT32 partition with a
"pagefile.sys" file been used as SWAP i must destroy Raid 0 configuration...
and i do not want to need to reinstall my whole Linux and applications... so
i am afraid i can not re-check it anymore, sorry.

But anyone can do such re-check... anyone who has a non Raid0 system...

The steps:
-Create a 4GB primary parttition
-Format it as FAT32
-Boot Windows and let it create a "pagefile.sys" as greater as it lets, nar
4GB but not 4GB -> if i do not remember bad between 4050MiB and 4090MiB, of
course size is not a power of 2
-Restart
-Run Linux and configure it to use such file as the only SWAP to be used
-At next boot it hangs... or better said swapon is what hangs

I could see such error on some kernels 2.6.28-11 and up till i decided to
use dedicated partitions, and Raid0 fo / and /media/MyDATA...

Sorry, now i can not check it again if i do not re-format my HDDs loosing
all Linux configuration and applications installed... but if i have time i
will try to see if i can try with old external USB HDD i have... it has one
FAT32 partition with more than 4GB free space on it, so maybe... but will
not be the exact same test... so not sure if can be considered a valid test.

Now i am trying to solve other problems, like poweroff on Ubuntu Karmic
64bits on a HP Pavilion tx2620es (32bit version power off correctly, while
64bit version does all except final power cut, so still remain on and must
be pressed near 4sec the power button to power off it completly) and some
other problems... so i do not have much time left to test something i will
not use anymore: SWAP on a file.

Sorry for any inconvenience... but why not someone else do such tests? For
me now it will imply to throught out all my Linux installation system,
configuration and applications... since now i use Linux Raid0 by software
for / ... etc.

-- 
swapon hangs when using file on kernels 2.6.28-13 and 2.6.28-11 but works perfect on kernel 2.6.27.11
https://bugs.launchpad.net/bugs/366397
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list