swap-offset open(): Value too large for defined data type
Bug #309621 reported by
Lean Fuglsang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uswsusp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running these three commands, results in an error.
sudo dd if=/dev/zero of=/.hibernate.img bs=1024000 count=3000
3000+0 records in
3000+0 records out
3072000000 bytes (3,1 GB) copied, 111,554 s, 27,5 MB/s
sudo mkswap /.hibernate.img
Setting up swapspace version 1, size = 2999996 KiB
intet mærke, UUID=5c48a655-
sudo swap-offset /.hibernate.img
open(): Value too large for defined data type
To post a comment you must log in.
I can confirm this for version 0.6~cvs20070618 -1ubuntu2 of uswsusp in intrepid:
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=2097152
2097152+0 Datensätze ein
2097152+0 Datensätze aus
2147483648 Bytes (2,1 GB) kopiert, 87,8132 s, 24,5 MB/s
$ swap-offset /swapfile
open(): Value too large for defined data type