Re: Hibernate: not enough swap space

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

 



On 02/22/2012 07:09:13 AM, T.C. Hollingsworth wrote:
> On Wed, Feb 22, 2012 at 7:41 AM, Geoffrey Leach <geoff@xxxxxxxxxx>
> wrote:
> > On 02/22/2012 01:36:32 AM, T.C. Hollingsworth wrote:
> >> On Wed, Feb 22, 2012 at 2:22 AM, Tim 
> <ignored_mailbox@xxxxxxxxxxxx>
> >> wrote:
> >> > On Tue, 2012-02-21 at 21:33 -0800, Geoffrey Leach wrote:
> >> >> This is a fresh install of Fedora 16 on a new laptop with 8GB
> >> memory.
> >> >> When I attempt to hibernate from the Session Menu I get a popup
> >> with
> >> >> the message:
> >> >>
> >> >> 10      484GB   493GB   9437MB  logical   linux-swap(v1)
> >> >>
> >> >> As you can see, I've allocated 9GB for swap.
> >> >>
> >> >> Any suggestions?
> >> >
> >> > Not willing to do the math at the moment, but is it a rounding
> >> issue?
> >> > Are memory stick gigabytes the same as disk gigabytes?  Is your
> >> swap
> >> > space sufficiently large enough to avoid the difference?  (I
> recall
> >> > reading it needed to be at least as large as your RAM, but not
> how
> >> much
> >> > more would be a good idea.)
> >> --
> >> > Is your swap space active and is the kernel
> >> > set to use it?
> >>
> >> `cat /proc/swaps` to check this.  IIRC one of my boxes didn't
> enable
> >> swap till I fiddled with it a bit a few months ago (albeit w/F15).
> >> Maybe the same thing happened to you.
> >
> > Hmmmm ... this doesn't look good ....
> >
> > root@puget[2]->cat /proc/swaps
> > Filename                                Type            Size   
>  Used
> > Priority
> > root@puget[3]
> >
> > Do you recall the nature of the "fiddling" ?
> 
> `swapon /dev/sda10` will fix the problem immediately, but that won't
> survive a reboot.
> 
> Likely something is wrong with the fstab entry for it.  It should 
> look
> like:
> /dev/sda10    swap    swap    defaults    0 0
> 
> (The device might be different; can't remember if swap devices have
> UUIDs or not.  I've been using LVM2 for ages now.)
> 
> Failing that, what does `systemctl show swap.target` say?

root@puget[21]->swapon -U ad15f364-1e9b-493b-9351-d27e0f680c97
swapon: /dev/sda10: swapon failed: Cannot allocate memory
root@puget[22]->dmesg
[ 2422.985600] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 2425.029604] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 2427.073615] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 2429.117625] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 2431.161639] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 2433.205676] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 2434.742816] vmap allocation for size 2310144 failed: use 
vmalloc=<size> to increase size.
[ 2435.249643] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint

#systemctl show swap.target

Id=swap.target
Names=swap.target
Wants=dev-disk-by\x2duuid-ad15f364\x2d1e9b\x2d493b\x2d9351
\x2dd27e0f680c97.swap
WantedBy=sysinit.target
Conflicts=shutdown.target
Before=sysinit.target
After=dev-disk-by\x2duuid-ad15f364\x2d1e9b\x2d493b\x2d9351
\x2dd27e0f680c97.swap
Description=Swap
LoadState=loaded
ActiveState=active
SubState=active
FragmentPath=/lib/systemd/system/swap.target
UnitFileState=static
InactiveExitTimestamp=Wed, 22 Feb 2012 06:29:54 -0800
InactiveExitTimestampMonotonic=21346118
ActiveEnterTimestamp=Wed, 22 Feb 2012 06:29:54 -0800
ActiveEnterTimestampMonotonic=21346118
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestamp=Wed, 22 Feb 2012 06:29:54 -0800
ConditionTimestampMonotonic=21346117
ConditionResult=yes

There have been severall reports of similar problems, but with usb3 
devices, which this disk is not.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux