PDA

View Full Version : Will a 9.2a THD kernel support V2 swap partitions?



ciper
03-04-2008, 04:22 PM
Most of my knowledge comes from S1 hacking so this may be a simple answer but I'd like to know if the stock THD can support version 2 swap partitions

If no one knows I don't mind to research using my hardware but I would rather not spend the time to find something that is already known.

Jamie
03-04-2008, 06:15 PM
Yes. All S2 and S3 kernels have built in support for -v1 swap.

ciper
03-04-2008, 07:25 PM
Awesome. That is exactly what I wanted to know :)

Is the swap partition specified in the fstab or through a swapon argument through the startup scripts?

ciper
03-05-2008, 02:43 AM
Edit: I found an old post on the DDB that speaks to this issue http://www.dealdatabase.com/forum/showpost.php?p=224876&postcount=23
Seems you have solved it once before! wow... i even replied to that damn thread. My memory is failing me these days.


Jamie are you sure? See reply 11 here http://dealdatabase.com/forum/showpost.php?p=294463 where I tried this on my THD and it gives an error of

Activating swap partitions
Unable to handle swap header version 16777216
swapon: /dev/hda8: invalid argument

I created the swap using the mkswap utility on the latest MFSLive cd.

jt1134
03-05-2008, 02:49 AM
I've had the same problem when using mkswap with mfslive. I ended up having to use tivopart and do it under ubuntu.

ciper
03-05-2008, 03:32 AM
So I used the mkswap binary linked in the thread I referenced. The -S option created a swap partition that generated this in my kernel log

Activation swap partitions
Adding Swap: 554992k swap-psace (priority -1)


A good way to verify its "working" is to try swapon /dev/sda8 while booted from the CD and it should give the same error as in my prior post! :)

I posted this in the bug report forum http://mfslive.org/forums/viewtopic.php?p=3418