* VBEtool 0.5 adds support for amd64
@ 2005-11-30 2:29 Matthew Garrett
[not found] ` <20051130022920.GA19363-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Garrett @ 2005-11-30 2:29 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I've just uploaded vbetool 0.5 to
http://www.srcf.ucam.org/~mjg59/vbetool . This version should work with
newer kernels and also adds support for non-x86 architectures using the
Scitech x86emu code found in X.org. My nx6125 successfully resumes video
using vbestate saving/restoring, though attempting to re-POST it hangs
the machine. Knowing how well it works for others would be nice.
--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: VBEtool 0.5 adds support for amd64
[not found] ` <20051130022920.GA19363-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
@ 2005-11-30 21:12 ` Couriousous
0 siblings, 0 replies; 2+ messages in thread
From: Couriousous @ 2005-11-30 21:12 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Le Mercredi 30 Novembre 2005 03:29, Matthew Garrett a écrit :
> I've just uploaded vbetool 0.5 to
> http://www.srcf.ucam.org/~mjg59/vbetool . This version should work with
> newer kernels and also adds support for non-x86 architectures using the
> Scitech x86emu code found in X.org. My nx6125 successfully resumes video
> using vbestate saving/restoring, though attempting to re-POST it hangs
> the machine. Knowing how well it works for others would be nice.
Here is what a get on my x86_64 with a :
01:00.0 VGA compatible controller: nVidia Corporation GeForce 6200
TurboCache(TM) (rev a1)
[root@localhost couriousous]# vbetool vbestate save
Get video state buffer size failed
Allocated buffer at 0x20000 (base is 0x0)
ES: 0x2000 EBX: 0x0000
Erreur de segmentation
Running it with gdb say that is segfault at:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000425815 in rdw (addr=38088) at sys.c:269
269 val = *(u16*)(M.mem_base + addr);
(gdb) list
264 else
265 #endif
266 #if defined(__alpha__) || defined(__alpha)
267 val = ldw_u((u16*)(M.mem_base + addr));
268 #else
269 val = *(u16*)(M.mem_base + addr);
270 #endif
271 DB( if (DEBUG_MEM_TRACE())
272 printk("%#08x 2 -> %#x\n", addr, val);)
273 return val;
(gdb) print addr
$1 = 38088
Pmap on the process give:
[root@localhost couriousous]# pmap 5549
5549: /usr/sbin/vbetool vbestate save
0000000000000000 4K rwxs- /dev/mem
0000000000010000 256K rwxs- /dev/zero (deleted)
00000000000a0000 384K rw-s- /dev/mem
0000000000400000 200K r-x-- /usr/sbin/vbetool
0000000000532000 8K rw--- /usr/sbin/vbetool
0000000000534000 136K rw--- [ anon ]
00002aaaaaaab000 88K r-x-- /lib64/ld-2.3.5.so
00002aaaaaac1000 4K rw--- [ anon ]
00002aaaaabc0000 4K r---- /lib64/ld-2.3.5.so
00002aaaaabc1000 4K rw--- /lib64/ld-2.3.5.so
00002aaaaabc2000 1212K r-x-- /lib64/tls/libc-2.3.5.so
00002aaaaacf1000 1020K ----- /lib64/tls/libc-2.3.5.so
00002aaaaadf0000 12K r---- /lib64/tls/libc-2.3.5.so
00002aaaaadf3000 12K rw--- /lib64/tls/libc-2.3.5.so
00002aaaaadf6000 24K rw--- [ anon ]
00007fffff8ac000 84K rw--- [ stack ]
ffffffffff600000 8192K ----- [ anon ]
total 11644K
Regards,
Couriousous
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-30 21:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30 2:29 VBEtool 0.5 adds support for amd64 Matthew Garrett
[not found] ` <20051130022920.GA19363-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-11-30 21:12 ` Couriousous
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox