Hi again,

Corresponding results for 1.5-5:

Jonathan Nieder wrote:

> $ radeontool --debug light off
> Found card 1002:4c46 (30000)
> Radeon found. Base control address is b35a1000; base framebuffer address is 
> b35a1000.
> reading RADEON_LVDS_GEN_CNTL (2d0) is 00ff0000
> writing RADEON_LVDS_GEN_CNTL (2d0) -> 00ff0000

$ radeontool --debug light off
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
M3 AGP 2x (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 00b0
        Flags: bus master, stepping, 66MHz, medium devsel, latency 32, IRQ 11
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        I/O ports at ec00 [size=256]
        Memory at fdffc000 (32-bit, non-prefetchable) [size=16K]
Radeon found. Base control address is fdffc000.
reading RADEON_LVDS_GEN_CNTL (2d0) is 083dffa1
writing RADEON_LVDS_GEN_CNTL (2d0) -> 083dffa0

> Running 1.6.0 under strace yields a normal startup, then
  [... does an open-coded lspci then an anonymous mmap ...]

1.5-5 does normal startup, then:

pipe([3, 4])                            = 0
clone(Process 30867 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb76b3728) = 30867
[pid 30866] close(4)                    = 0
[pid 30866] fcntl64(3, F_GETFL)         = 0 (flags O_RDONLY)
[pid 30866] brk(0)                      = 0x9824000
[pid 30866] brk(0x9845000)              = 0x9845000
[pid 30866] fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 30866] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7807000
[pid 30866] _llseek(3, 0, 0xbfc07278, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 30867] close(3 <unfinished ...>
[pid 30866] read(3,  <unfinished ...>
[pid 30867] <... close resumed> )       = 0
[pid 30867] dup2(4, 1)                  = 1
[pid 30867] brk(0)                      = 0x9824000
[pid 30867] brk(0x9845000)              = 0x9845000
[pid 30867] execve("/sbin/lspci", ["lspci", "-v"], [/* 16 vars */]) = -1 ENOENT 
(No such file or directory)
[...]
[pid 30867] execve("/usr/bin/lspci", ["lspci", "-v"], [/* 16 vars */]) = 0
[...]
[pid 30867] exit_group(0)               = ?
Process 30867 detached
<... read resumed> "00:00.0 Host bridge: Intel Corpo"..., 4096) = 4096
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/dev/mem", O_RDWR)                = 4
mmap2(0x9825000, 8192, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, 4, 0xfdffc) 
= 0x9825000
exit_group(0)                           = ?

That is, it actually forks an "lspci -v" to do work for it.  Then it
mmaps the address 0x9825000 and presumably writes to it.

> Running under ltrace yields
 [device probing culminating in pci_device_map_region(0x901899c, ...)]

1.5-5 does normal startup, talks to lspci, then:

open("/dev/mem", 2, 027764227350)                  = 4
sysconf(30, 2, 0xbfd12ee8, 0xb7742e44, 0xb7739d90) = 4096
malloc(12287)                                      = 0x0941a170
mmap(0x941b000, 8192, 3, 17, 4)                    = 0x941b000
+++ exited (status 0) +++

> My card is indeed a 1002:4c46, which is to say an ATI Technologies Inc
> Rage Mobility M3 AGP 2x (r128).

Hope that helps,
Jonathan



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

Reply via email to