1 |
Hi Everyone: |
2 |
|
3 |
I use suspend2 and lvm at the same time. I use a lvm partition |
4 |
(/dev/vg/swap) as my suspend target by setting |
5 |
resume2=swap:/dev/vg/swap. |
6 |
|
7 |
I order to use make it work, I use initramfs. It works properly except |
8 |
that I get the following message when I shut down the computer: |
9 |
|
10 |
Unable to shutdown: /dev/vg/swap |
11 |
|
12 |
After some analyzing, I know it happens because the open count of |
13 |
/dev/vg/swap is 2 when the script /lib/rcscripts/addons/lvm-stop.sh is |
14 |
executed. |
15 |
|
16 |
Maybe this is the problem of baselayout or my initramfs. |
17 |
How can I resolve it? |
18 |
|
19 |
My initramfs is at |
20 |
http://lcs.ios.ac.cn/~scwang/docs/initramfs_data.cpio.gz |
21 |
|
22 |
The following is my some information of my system: |
23 |
$ uname -a |
24 |
$ Linux x31 2.6.16-suspend2-r8 #40 PREEMPT Fri Sep 29 14:25:38 |
25 |
CST 2006 i686 Intel(R) Pentium(R) M processor 1500MHz GNU/Linux |
26 |
|
27 |
$ lvdisplay /dev/vg/swap |
28 |
$ --- Logical volume --- |
29 |
LV Name /dev/vg/swap |
30 |
VG Name vg |
31 |
LV UUID E6oRRu-qkza-XIb5-TnGw-rGak-v7Kr-Jr5qZL |
32 |
LV Write Access read/write |
33 |
LV Status available |
34 |
# open 2 |
35 |
LV Size 1000.00 MB |
36 |
Current LE 250 |
37 |
Segments 1 |
38 |
Allocation inherit |
39 |
Read ahead sectors 0 |
40 |
Block device 254:4 |
41 |
|
42 |
|
43 |
-- |
44 |
Shaochun Wang <scwang@××××××.cn> |
45 |
|
46 |
GPG Fingerprint: 70C2 6945 0E46 E08B 419A 007C AC5C F21F 358A 0833 |
47 |
You can get my publickey from the following url: |
48 |
http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg |
49 |
-- |
50 |
gentoo-user@g.o mailing list |