[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

swap partition crashed



I managed to crash my swap partition[kernel error attached if you care], is there any way to get it back[without rebooting]. The only thing I can think of is to re-run mkswap on the partition, but that instinctively seems dangerous. swapoff -a or swapoff /dev/hda7[the partition in question] does nothing. swapon /dev/hda7 errors out saying that the resource/device is busy. cat /proc/swaps gives:

Filename                        Type            Size    Used    Priority
/dev/hda7                       partition       683384  20200   -1
/scratch/swap                   file            531992  4396    -2

where /scratch/swap is just a temporary solution[that should 'work' indefinitely], and free gives:

           total       used       free    shared    buffers     cached
Mem:      904540     895620       8920         0      52212     397228
-/+ buffers/cache:   446180     458360
Swap:     552192      24596     527596

so the busted swap partition is definitely not being used[though as you can also see the machine does have plenty of RAM].

Any ideas? Is it a problem that my working swap file has a lower priority than the busted partition? Or should I just wait until I reboot anyway and not worry about it.
Jun 15 01:50:18 localhost kernel: kernel BUG at page_alloc.c:109!
Jun 15 01:50:18 localhost kernel: invalid operand: 0000
Jun 15 01:50:18 localhost kernel: CPU:    0
Jun 15 01:50:18 localhost kernel: EIP:    0010:[__free_pages_ok+114/656]    Tainted: P 
Jun 15 01:50:18 localhost kernel: EFLAGS: 00013202
Jun 15 01:50:18 localhost kernel: eax: 01000009   ebx: c188ff40   ecx: 00000000   edx: 00000000
Jun 15 01:50:18 localhost kernel: esi: 00747900   edi: 00000000   ebp: 000000a3   esp: f67cfec8
Jun 15 01:50:18 localhost kernel: ds: 0018   es: 0018   ss: 0018
Jun 15 01:50:18 localhost kernel: Process XFree86 (pid: 12353, stackpage=f67cf000)
Jun 15 01:50:18 localhost kernel: Stack: c02bcd20 c01370cc c02bcd20 00007479 00747900 c188ff40 c0136d1d c02bcd20 
Jun 15 01:50:18 localhost kernel:        df8858c0 00747900 c188ff40 000000a3 c013734b c188ff40 00747900 001b1000 
Jun 15 01:50:18 localhost kernel:        ecc01e90 0020d000 c012bc4d 00747900 000000b0 00000001 f67ce000 08400000 
Jun 15 01:50:18 localhost kernel: Call Trace:    [swap_free+44/80] [delete_from_swap_cache+77/112] [free_swap_and_cache+139/192] [zap_pte_range+253/261] [zap_page_range+139/240]
Jun 15 01:50:18 localhost kernel:   [exit_mmap+175/304] [mmput+71/176] [do_exit+127/624] [sys_exit+19/32] [system_call+51/56]
Jun 15 01:50:18 localhost kernel: 
Jun 15 01:50:18 localhost kernel: Code: 0f 0b 6d 00 ca 25 23 c0 8b 43 18 a9 80 00 00 00 74 08 0f 0b 

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: