Bug#634117: Fails when console is not a virtual terminal

2012-03-05 Thread Rodolfo kix Garcia

Hi,

probably is solved in upstream:

http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-utils.git;a=commit;h=17789a01dda7a44da907680e35f498c85cb5c898

I will create a new package soon. I am waiting upstream to apply three 
new patches.


Best Regards,
kix
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#634117: Fails when console is not a virtual terminal

2011-07-16 Thread Wakko Warner
Package: uswsusp
Version: 1.0+20110509-1
Severity: wishlist

I have a VM running with no vga under KVM.  The only local terminal is the
serial console.  When trying to use s2disk, I see:
s2disk: No local tty. Remember to specify local console after the remote. 
Reason: Invalid argument

It would be nice if s2disk would work w/o needing a "local console"

strace shows this:

stat("/dev/snapshot", {st_mode=S_IFCHR|0600, st_rdev=makedev(10, 231), ...}) = 0
open("/dev/snapshot", O_RDONLY) = 4
ioctl(4, SNAPSHOT_SET_SWAP_AREA, 0x7fff45212de0) = 0
open("/dev/console", O_RDONLY)  = 5
ioctl(5, KDGKBTYPE, 0x7fff45212b5f) = -1 EINVAL (Invalid argument)
close(5)= 0
write(2, "s2disk: No local tty. Remember t"..., 99s2disk: No local tty. 
Remember to specify local console after the remote. Reason: Invalid argument
) = 99
close(4)= 0
close(3)= 0
chdir("/")  = 0
umount("/proc/7119", 0) = 0
munmap(0x7fd1b578e000, 425984)  = 0
exit_group(22)  = ?

-- System Information:
Removed, reportbug is not installed on system with problem.  I believe that
this information is irrelevent to the wishlist.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org