public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Couriousous <couriousous-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: VBEtool 0.5 adds support for amd64
Date: Wed, 30 Nov 2005 22:12:08 +0100	[thread overview]
Message-ID: <200511302212.08494.couriousous@gmail.com> (raw)
In-Reply-To: <20051130022920.GA19363-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>

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

      parent reply	other threads:[~2005-11-30 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511302212.08494.couriousous@gmail.com \
    --to=couriousous-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox