radeon9200

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

radeon9200

carlos duarte
sorry if this is off-topic.. i'd like to know if i can get my radeon
9200 pci to run xorg and blender on openbsd for ppc.. i had an nvidia
card beforehand, where xorg worked quite well, but not glx, so i opted
for a radeon instead, which was not cheap.

this card is supposed to be supported by xorg, but suprisingly, it
hasn't worked for me yet

all i want to do (for now) is get X and blender running, so i can get back work

all help will be tremendously appreciated.

thanks,

-carlos






here's my Xorg.0.log


X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: OpenBSD 4.2 macppc
Current Operating System: OpenBSD foo.bar 4.2 GENERIC#1517 macppc
Build Date: 08 August 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 20 01:27:39 2007
(II) Loader magic: 0x19b3d30
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.3
        X.Org Video Driver: 1.1
        X.Org XInput driver : 0.7
        X.Org Server Extension : 0.3
        X.Org Font Renderer : 0.5
(II) Loader running on openbsd
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 1.1
(--) Using wscons driver
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,002d card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
List of video drivers:
        ati
        atimisc
        nv
        r128
        radeon
        wsfb
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers//ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 6.6.3
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.1
(II) LoadModule: "atimisc"
(II) Loading /usr/X11R6/lib/modules/drivers//atimisc_drv.so
(II) Module atimisc: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 6.6.3
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.1
(II) LoadModule: "nv"
(II) Loading /usr/X11R6/lib/modules/drivers//nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 2.0.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.1
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers//r128_drv.so
(II) Module r128: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 4.1.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.1
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6/lib/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 4.2.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.1
(II) LoadModule: "wsfb"
(II) Loading /usr/X11R6/lib/modules/drivers//wsfb_drv.so
(II) Module wsfb: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 0.2.1
        ABI class: X.Org Video Driver, version 1.1
(II) Addressable bus resource ranges are
        [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
        [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
No devices to configure.  Configuration failed.




and here's my dmesg

[ using 375776 bytes of bsd ELF symbol table ]
console out [ATY,Bugsy_A]console in [keyboard] USB found
using parent ATY,BugsyParent:: memaddr 90000000 size 10000000, :
consaddr 98008000, : ioaddr 800a0000, size 20000: memtag 9000, iotag
9000: width 1024 linebytes 1024 height 768 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.2 (GENERIC) #1517: Tue Aug 28 10:42:20 MDT 2007
    [hidden email]:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 805306368 (768MB)
avail mem = 769347584 (733MB)
mainbus0 at root: model PowerMac3,4
cpu0 at mainbus0: 7410 (Revision 0x1103): 533 MHz: 1MB backside cache
memc0 at mainbus0: uni-n
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Uni-N2 AGP" rev 0x00
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x6
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
vgafb0 at pci1 dev 18 function 0 "ATI Radeon 9200 PRO" rev 0x01, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
openpic0 at macobio0 offset 0x40000: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 irq 47
"programmer-switch" at macgpio0 not configured
"gpio5" at macgpio0 not configured
"gpio6" at macgpio0 not configured
"gpio11" at macgpio0 not configured
"extint-gpio15" at macgpio0 not configured
"extint-gpio16" at macgpio0 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
tumbler0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
apm0 at adb0: battery flags 0x9, 0% charged
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <Maxtor 6E030L0>
wd0: 16-sector PIO, LBA, 29325MB, 60058656 sectors
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wdc1 at macobio0 offset 0x20000 irq 20: DMA
atapiscsi0 at wdc1 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <DVDRW, IDE H16X, B02H> SCSI0 5/cdrom removable
cd0(wdc1:0:1): using BIOS timings, DMA mode 2
wdc2 at macobio0 offset 0x21000 irq 21: DMA
audio0 at tumbler0
ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0: Apple OHCI root hub, rev 1.00/1.00, addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1: Apple OHCI root hub, rev 1.00/1.00, addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x16
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
"AT&T/Lucent FW322 1394" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x01: irq 41,
address 00:30:65:f4:13:50
brgphy0 at gem0 phy 0: BCM5401 10/100/1000baseT PHY, rev. 3
uhub2 at uhub0 port 1umass0 at uhub1 port 1 configuration 1 interface
0: Mitsumi Electric Hub in Apple Extended USB Keyboard, rev 1.10/4.10,
addr 2

umass0: Transcend T.sonic 520, rev 2.00/0.02, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <T.sonic, 520, \\001> SCSI0 0/direct removable
sd0: 1994MB, 254 cyl, 255 head, 63 sec, 512 bytes/sec, 4084224 sec total
uhidev0 at uhub2 port 3 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10,
addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub2 port 3 configuration 1 interface 1
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10,
addr 3, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub2 port 1 configuration 1 interface 0
uhidev2: vendor 0x2222 Macally USB Mini Optical Mouse, rev 1.10/22.65,
addr 4, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

carlos duarte
some things i perhaps failed to mention:

when i type startx, it crashes like this:

xauth: creating new authority file /home/blah/blah/blah
X connection to :0.0 broken (explicit kill or server shutdown)

i know this card is supported by Xorg, but despite it having been
identified by the system (as shown by dmesg), Xorg.0.log still says
"No devices to configure.  Configuration failed." yes, it seems like
it tries out different drivers, but none work. i understand that this
newest release of xorg is very modular and that even the drivers are
so, but i also understand that xenocara comes with all of the
modularized drivers already included. am i comprehending this
correctly, or do i have to download and compile my "radeon" driver?

i am also not sure if i'll be able to run glx on it.. i have searched
google far and wide and have read arguments for both. ie: some people
say it will, while others say it won't. does glx depend on dri? if so,
is dri supported by openbsd? can i get glx without dri?

here's an example: a forum post that hints how i'm completely fucked,
but not really.
http://www.sudhian.com/index.php?/forums/viewthread/97688/#851028

i'm tired of having to piece toghether a solution from all of these
frustratingly half-true assumptions. mind you, i don't want fancy
superfluous xgl eyecandy, but rather glx, so i can use blender, to do
serious work.

so i'd like to hear some words of reassurance. ie: if it is possible,
and what i have to do to get it to run.

i know this list is for developers, but i figured i'd post here first
because you guys know what you're doing. if i have to take it
somewhere else, please tell me where.

much thanks in advance,

-carlos

On Dec 20, 2007 1:58 AM, carlos duarte <[hidden email]> wrote:

> sorry if this is off-topic.. i'd like to know if i can get my radeon
> 9200 pci to run xorg and blender on openbsd for ppc.. i had an nvidia
> card beforehand, where xorg worked quite well, but not glx, so i opted
> for a radeon instead, which was not cheap.
>
> this card is supposed to be supported by xorg, but suprisingly, it
> hasn't worked for me yet
>
> all i want to do (for now) is get X and blender running, so i can get back work
>
> all help will be tremendously appreciated.
>
> thanks,
>
> -carlos
>
>
>
>
>
>
> here's my Xorg.0.log
>
>
> X Window System Version 7.2.0
> Release Date: 22 January 2007
> X Protocol Version 11, Revision 0, Release 7.2
> Build Operating System: OpenBSD 4.2 macppc
> Current Operating System: OpenBSD foo.bar 4.2 GENERIC#1517 macppc
> Build Date: 08 August 2007
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 20 01:27:39 2007
> (II) Loader magic: 0x19b3d30
> (II) Module ABI versions:
>         X.Org ANSI C Emulation: 0.3
>         X.Org Video Driver: 1.1
>         X.Org XInput driver : 0.7
>         X.Org Server Extension : 0.3
>         X.Org Font Renderer : 0.5
> (II) Loader running on openbsd
> (II) LoadModule: "pcidata"
> (II) Loading /usr/X11R6/lib/modules//libpcidata.so
> (II) Module pcidata: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 1.0.0
>         ABI class: X.Org Video Driver, version 1.1
> (--) Using wscons driver
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:0b:0: chip 106b,002d card 0000,0000 rev 00 class 06,00,00 hdr 00
> (II) PCI: End of PCI scan
> (II) Host-to-PCI bridge:
> (II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
> (II) Bus 0 I/O range:
>         [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) Bus 0 non-prefetchable memory range:
>         [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
> (II) Bus 0 prefetchable memory range:
>         [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
> List of video drivers:
>         ati
>         atimisc
>         nv
>         r128
>         radeon
>         wsfb
> (II) LoadModule: "ati"
> (II) Loading /usr/X11R6/lib/modules/drivers//ati_drv.so
> (II) Module ati: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 6.6.3
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 1.1
> (II) LoadModule: "atimisc"
> (II) Loading /usr/X11R6/lib/modules/drivers//atimisc_drv.so
> (II) Module atimisc: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 6.6.3
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 1.1
> (II) LoadModule: "nv"
> (II) Loading /usr/X11R6/lib/modules/drivers//nv_drv.so
> (II) Module nv: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 2.0.2
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 1.1
> (II) LoadModule: "r128"
> (II) Loading /usr/X11R6/lib/modules/drivers//r128_drv.so
> (II) Module r128: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 4.1.0
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 1.1
> (II) LoadModule: "radeon"
> (II) Loading /usr/X11R6/lib/modules/drivers//radeon_drv.so
> (II) Module radeon: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 4.2.0
>         Module class: X.Org Video Driver
>         ABI class: X.Org Video Driver, version 1.1
> (II) LoadModule: "wsfb"
> (II) Loading /usr/X11R6/lib/modules/drivers//wsfb_drv.so
> (II) Module wsfb: vendor="X.Org Foundation"
>         compiled for 7.2.0, module version = 0.2.1
>         ABI class: X.Org Video Driver, version 1.1
> (II) Addressable bus resource ranges are
>         [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
>         [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) OS-reported resource ranges:
>         [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>         [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>         [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>         [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>         [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>         [5] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
> (II) OS-reported resource ranges after removing overlaps with PCI:
>         [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>         [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>         [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>         [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>         [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>         [5] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
> (II) All system resource ranges:
>         [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>         [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>         [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>         [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>         [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>         [5] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
> No devices to configure.  Configuration failed.
>
>
>
>
> and here's my dmesg
>
> [ using 375776 bytes of bsd ELF symbol table ]
> console out [ATY,Bugsy_A]console in [keyboard] USB found
> using parent ATY,BugsyParent:: memaddr 90000000 size 10000000, :
> consaddr 98008000, : ioaddr 800a0000, size 20000: memtag 9000, iotag
> 9000: width 1024 linebytes 1024 height 768 depth 8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org
>
> OpenBSD 4.2 (GENERIC) #1517: Tue Aug 28 10:42:20 MDT 2007
>     [hidden email]:/usr/src/sys/arch/macppc/compile/GENERIC
> real mem = 805306368 (768MB)
> avail mem = 769347584 (733MB)
> mainbus0 at root: model PowerMac3,4
> cpu0 at mainbus0: 7410 (Revision 0x1103): 533 MHz: 1MB backside cache
> memc0 at mainbus0: uni-n
> kiic0 at memc0 offset 0xf8001000
> iic0 at kiic0
> mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 11 function 0 "Apple Uni-N2 AGP" rev 0x00
> mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x6
> pci1 at mpcpcibr1 bus 0
> pchb1 at pci1 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
> vgafb0 at pci1 dev 18 function 0 "ATI Radeon 9200 PRO" rev 0x01, mmio
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
> openpic0 at macobio0 offset 0x40000: version 0x4614 little endian
> macgpio0 at macobio0 offset 0x50
> macgpio1 at macgpio0 irq 47
> "programmer-switch" at macgpio0 not configured
> "gpio5" at macgpio0 not configured
> "gpio6" at macgpio0 not configured
> "gpio11" at macgpio0 not configured
> "extint-gpio15" at macgpio0 not configured
> "extint-gpio16" at macgpio0 not configured
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 22,50
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> tumbler0 at macobio0 offset 0x10000: irq 30,1,2
> "timer" at macobio0 offset 0x15000 not configured
> adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
> apm0 at adb0: battery flags 0x9, 0% charged
> kiic1 at macobio0 offset 0x18000
> iic1 at kiic1
> wdc0 at macobio0 offset 0x1f000 irq 19: DMA
> wd0 at wdc0 channel 0 drive 0: <Maxtor 6E030L0>
> wd0: 16-sector PIO, LBA, 29325MB, 60058656 sectors
> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
> wdc1 at macobio0 offset 0x20000 irq 20: DMA
> atapiscsi0 at wdc1 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <DVDRW, IDE H16X, B02H> SCSI0 5/cdrom removable
> cd0(wdc1:0:1): using BIOS timings, DMA mode 2
> wdc2 at macobio0 offset 0x21000 irq 21: DMA
> audio0 at tumbler0
> ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
> ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0: Apple OHCI root hub, rev 1.00/1.00, addr 1
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1: Apple OHCI root hub, rev 1.00/1.00, addr 1
> mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x16
> pci2 at mpcpcibr2 bus 0
> pchb2 at pci2 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
> "AT&T/Lucent FW322 1394" rev 0x00 at pci2 dev 14 function 0 not configured
> gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x01: irq 41,
> address 00:30:65:f4:13:50
> brgphy0 at gem0 phy 0: BCM5401 10/100/1000baseT PHY, rev. 3
> uhub2 at uhub0 port 1umass0 at uhub1 port 1 configuration 1 interface
> 0: Mitsumi Electric Hub in Apple Extended USB Keyboard, rev 1.10/4.10,
> addr 2
>
> umass0: Transcend T.sonic 520, rev 2.00/0.02, addr 2
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets
> sd0 at scsibus1 targ 1 lun 0: <T.sonic, 520, \\001> SCSI0 0/direct removable
> sd0: 1994MB, 254 cyl, 255 head, 63 sec, 512 bytes/sec, 4084224 sec total
> uhidev0 at uhub2 port 3 configuration 1 interface 0
> uhidev0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10,
> addr 3, iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub2 port 3 configuration 1 interface 1
> uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.10,
> addr 3, iclass 3/0
> uhidev1: 3 report ids
> uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
> uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
> uhidev2 at uhub2 port 1 configuration 1 interface 0
> uhidev2: vendor 0x2222 Macally USB Mini Optical Mouse, rev 1.10/22.65,
> addr 4, iclass 3/1
> ums0 at uhidev2: 3 buttons and Z dir.
> wsmouse0 at ums0 mux 0
> bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:/bsd
> root on wd0a swap on wd0b dump on wd0b

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

Bill Karh
"carlos duarte" <[hidden email]> writes:

> some things i perhaps failed to mention:
>
> when i type startx, it crashes like this:
>
> xauth: creating new authority file /home/blah/blah/blah
> X connection to :0.0 broken (explicit kill or server shutdown)
>
> i know this card is supported by Xorg, but despite it having been
> identified by the system (as shown by dmesg), Xorg.0.log still says
> "No devices to configure.  Configuration failed."
[...]

Maybe you need an /etc/X11/xorg.conf?  To, you know, spell things out a
bit. Mine has the following:

  ...
  Section "Device"
      Identifier "Card0"
      VendorName "ATI Technologies Inc"
      BoardName  "ATI Radeon R480 X850 XT PE"
      Driver     "radeon"
      BusID      "PCI:1:0:0"
      Option     "BusType" "PCIE"
  EndSection
  ...

The thing that my help you is the "BusID" definition.  You will have a
different "BusType" and "BusID".  I don't know about mapppc, but on
i386/amd64 I used pcidump(8) to find its "address" (1:0:0).

Also radeon(4) is your friend.
--
======================================================================
William Karh                           "Now look what you made me do."
[hidden email]                                          -- Ike Turner

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

Matthieu Herrb
In reply to this post by carlos duarte
carlos duarte wrote:

> sorry if this is off-topic.. i'd like to know if i can get my radeon
> 9200 pci to run xorg and blender on openbsd for ppc.. i had an nvidia
> card beforehand, where xorg worked quite well, but not glx, so i opted
> for a radeon instead, which was not cheap.
>
> this card is supposed to be supported by xorg, but suprisingly, it
> hasn't worked for me yet
>
> all i want to do (for now) is get X and blender running, so i can get back work
>
> all help will be tremendously appreciated.
>

Please install the sysutils/pciutils port and run pcidump -v and send us
the result. Apparently your pci card is connected to a PCI domain that's
not seen by X by default.

You may get your card to be seen by X by linking /dev/pci to the correct
/dev/pci<n> device corresponding to the domain where your card lives.


--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

carlos duarte
> Please install the sysutils/pciutils port and run pcidump -v and send us
> the result.

i tried getting the ports with cvsup, but cvsup is not available for
ppc.. :-( ..yes, i'm a noob and it'll take my a while to learn how to
install ports.. not wanting to give up, i settled for downloading it
from ports, but

ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/powerpc/pciutils-2.2.4p0.tgz

doesn't contain pcidump, only other tools.. in any case, i typed
"whereis pcidump" or "man pcidump" and got nowhere...

so i'm stuck.. any ideas or suggestions?

> Apparently your pci card is connected to a PCI domain that's
> not seen by X by default.

pci domain? :-S

>
> You may get your card to be seen by X by linking /dev/pci to the correct
> /dev/pci<n> device corresponding to the domain where your card lives.

i'm sure you'll be able to teach me how to do that as soon as i send
in pcidump's result.

>
>
> --
> Matthieu Herrb
>

thanks!!

-carlos

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

carlos duarte
On Dec 27, 2007 12:00 AM, carlos duarte <[hidden email]> wrote:
> >
> > Please install the sysutils/pciutils port and run pcidump -v and send us
> > the result.
>
> i tried getting the ports with cvsup, but cvsup is not available for
> ppc.. :-( ..yes, i'm a noob and it'll take my a while to learn how to
> install ports.. not wanting to give up, i settled for downloading it
> from ports, but

from PACKAGES, i meant.. :-(

> ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/powerpc/pciutils-2.2.4p0.tgz
>
> doesn't contain pcidump, only other tools.. in any case, i typed
> "whereis pcidump" or "man pcidump" and got nowhere...
>
> so i'm stuck.. any ideas or suggestions?
>
> > Apparently your pci card is connected to a PCI domain that's
> > not seen by X by default.
>
> pci domain? :-S
>
> >
> > You may get your card to be seen by X by linking /dev/pci to the correct
> > /dev/pci<n> device corresponding to the domain where your card lives.
>
> i'm sure you'll be able to teach me how to do that as soon as i send
> in pcidump's result.
>
> >
> >
> > --
> > Matthieu Herrb
> >
>
> thanks!!
>
> -carlos

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

viq-2
In reply to this post by carlos duarte
On Thu, Dec 27, 2007 at 12:00:04AM -0600, carlos duarte wrote:
> > Please install the sysutils/pciutils port and run pcidump -v and send us
> > the result.
>
> i tried getting the ports with cvsup, but cvsup is not available for
> ppc.. :-(

This is not FreeBSD, here cvsup is not the preffered way to get sources,
CVS is. http://www.openbsd.org/anoncvs.html

> ..yes, i'm a noob and it'll take my a while to learn how to
> install ports.. not wanting to give up, i settled for downloading it
> from ports, but
>
> ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/powerpc/pciutils-2.2.4p0.tgz
>
> doesn't contain pcidump, only other tools.. in any case, i typed
> "whereis pcidump" or "man pcidump" and got nowhere...
>
> so i'm stuck.. any ideas or suggestions?

It's part of base, /usr/sbin/pcidump

> > Apparently your pci card is connected to a PCI domain that's
> > not seen by X by default.
>
> pci domain? :-S
>
> >
> > You may get your card to be seen by X by linking /dev/pci to the correct
> > /dev/pci<n> device corresponding to the domain where your card lives.
>
> i'm sure you'll be able to teach me how to do that as soon as i send
> in pcidump's result.
>
> >
> >
> > --
> > Matthieu Herrb
> >
>
> thanks!!
>
> -carlos

--
viq

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

Matt Stafford
On Dec 27, 2007 4:08 AM, viq <[hidden email]> wrote:

> On Thu, Dec 27, 2007 at 12:00:04AM -0600, carlos duarte wrote:
> > > Please install the sysutils/pciutils port and run pcidump -v and send us
> > > the result.
> >
> > i tried getting the ports with cvsup, but cvsup is not available for
> > ppc.. :-(
>
> This is not FreeBSD, here cvsup is not the preffered way to get sources,
> CVS is. http://www.openbsd.org/anoncvs.html
>

There's nothing wrong with using CVSup, though. They even have a link
to a page with instructions for using it on the front page...

> > ..yes, i'm a noob and it'll take my a while to learn how to
> > install ports.. not wanting to give up, i settled for downloading it
> > from ports, but
> >
> > ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/powerpc/pciutils-2.2.4p0.tgz
> >
> > doesn't contain pcidump, only other tools.. in any case, i typed
> > "whereis pcidump" or "man pcidump" and got nowhere...
> >
> > so i'm stuck.. any ideas or suggestions?
>
> It's part of base, /usr/sbin/pcidump
>

pcidump isn't part of the base in 4.2-release/stable.

> > > Apparently your pci card is connected to a PCI domain that's
> > > not seen by X by default.
> >
> > pci domain? :-S
> >
> > >
> > > You may get your card to be seen by X by linking /dev/pci to the correct
> > > /dev/pci<n> device corresponding to the domain where your card lives.
> >
> > i'm sure you'll be able to teach me how to do that as soon as i send
> > in pcidump's result.
> >
> > >
> > >
> > > --
> > > Matthieu Herrb
> > >
> >
> > thanks!!
> >
> > -carlos
>
> --
> viq

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

Peter Hessler
On 2007 Dec 27 (Thu) at 16:09:25 -0500 (-0500), Matt Stafford wrote:
:On Dec 27, 2007 4:08 AM, viq <[hidden email]> wrote:
:> On Thu, Dec 27, 2007 at 12:00:04AM -0600, carlos duarte wrote:
:> > > Please install the sysutils/pciutils port and run pcidump -v and send us
:> > > the result.
:> >
:> > i tried getting the ports with cvsup, but cvsup is not available for
:> > ppc.. :-(
:>
:> This is not FreeBSD, here cvsup is not the preffered way to get sources,
:> CVS is. http://www.openbsd.org/anoncvs.html
:>
:
:There's nothing wrong with using CVSup, though. They even have a link
:to a page with instructions for using it on the front page...

cvsup will not work on powerpc though.  its i386 only (thank you m4).

besides, 'cvs up' works in the base system.

--
One learns to itch where one can scratch.
                -- Ernest Bramah

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

Matthieu Herrb
In reply to this post by carlos duarte
carlos duarte wrote:

>> Please install the sysutils/pciutils port and run pcidump -v and send us
>> the result.
>
> i tried getting the ports with cvsup, but cvsup is not available for
> ppc.. :-( ..yes, i'm a noob and it'll take my a while to learn how to
> install ports.. not wanting to give up, i settled for downloading it
> from ports, but
>
> ftp://ftp.openbsd.org/pub/OpenBSD/4.2/packages/powerpc/pciutils-2.2.4p0.tgz
>
> doesn't contain pcidump, only other tools.. in any case, i typed
> "whereis pcidump" or "man pcidump" and got nowhere...

Sorry I meant 'lspci'. pcidump has been added recently to -current, but
iirc you're running 4.2, not -current.

>
> so i'm stuck.. any ideas or suggestions?
>
>> Apparently your pci card is connected to a PCI domain that's
>> not seen by X by default.
>
> pci domain? :-S
>
>> You may get your card to be seen by X by linking /dev/pci to the correct
>> /dev/pci<n> device corresponding to the domain where your card lives.
>
> i'm sure you'll be able to teach me how to do that as soon as i send
> in pcidump's result.
>
>>
>> --
>> Matthieu Herrb
>>
>
> thanks!!
>
> -carlos


--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

Matthieu Herrb
In reply to this post by carlos duarte
carlos duarte wrote:

>> Apparently your pci card is connected to a PCI domain that's
>> not seen by X by default.
>
> pci domain? :-S

A machine can have several PCI host bridges connected directly to the
main bus. This makes different PCI "domains". i386 generally has only
one domain (and uses PCI-PCI bridges to expand the PCI bus to more than
5 devices). On other architectures like macppc or alpha, multiple PCI
domains are more common.

>
>> You may get your card to be seen by X by linking /dev/pci to the correct
>> /dev/pci<n> device corresponding to the domain where your card lives.
>
> i'm sure you'll be able to teach me how to do that as soon as i send
> in pcidump's result.

Well you should be able to figure this out by yourself after reading the
ln(1) manual page. If not, I'm afraid I can't help you too much and you
should consider switching to hardware supported by the i386 or the amd64
  versions of OpenBSD, which are more likely to work out of the box for
beginners.

--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

carlos duarte
> Sorry I meant 'lspci'. pcidump has been added recently to -current, but
> iirc you're running 4.2, not -current.

yeah, i still haven't figured out how to upgrade to -current using
anon cvs.. yet..
i have been spoiled by "sudo freebsd-update fetch && sudo
freebsd-update install"

here's the verbose output from lspci:

00:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 AGP
        Flags: bus master, 66MHz, medium devsel, latency 16
        Capabilities: [80] AGP version 1.0

> > You may get your card to be seen by X by linking /dev/pci to the correct
> > /dev/pci<n> device corresponding to the domain where your card lives.
>
>  i'm sure you'll be able to teach me how to do that as soon as i send
>  in pcidump's result.

> Well you should be able to figure this out by yourself after reading the
> ln(1) manual page.

i'm already reading it.. problem is: i can't interpret the lspci
output well enough so that i can tell what domain my graphics card is
in :S ..is it the domain "b"? inside /dev i found several pci's: pci,
pci1, pci2, pci3 and pci4.

i tried doing this
     sudo ln /dev/pci /dev/pci1
but this came up
     ln: /dev/pci1: file exists

> If not, I'm afraid I can't help you too much

well, i'll keep trying.. i don't give up easily

> and you
> should consider switching to hardware supported by the i386 or the amd64
> versions of OpenBSD, which are more likely to work out of the box for
> beginners.

i really can't afford to buy another box now, and i'm sure i'm smart
enough to figure it out.. i'll try not to be too bothersome, though..
if you want, i can continue the conversation off-list..

>
> --
> Matthieu Herrb
>

thanks a lot, mat!!!..

Reply | Threaded
Open this post in threaded view
|

Re: radeon9200

carlos duarte
to mat and everyone else: ..i got it to work!!

took a long while because i was a little too methodical and i was also
figuring some other stuff out (plus holidays and life getting in the
way and all).

pci was originally linked to pci0

$ ls -la /dev/*pci*

lrwxr-xr-x  1 root  wheel         4 Aug 30 13:29 /dev/pci -> pci1
crw-------  1 root  wheel   71,   0 Aug 30 13:00 /dev/pci0
crw-------  1 root  wheel   71,   1 Aug 30 13:00 /dev/pci1
crw-------  1 root  wheel   71,   2 Aug 30 13:00 /dev/pci2
crw-------  1 root  wheel   71,   3 Aug 30 13:00 /dev/pci3

i got pci to point to pci1 by doing this:

sudo ln -f -s pci1 /dev/pci

again, thanks a whole bunch!!

-carlos

On Dec 29, 2007 1:34 AM, carlos duarte <[hidden email]> wrote:

> > Sorry I meant 'lspci'. pcidump has been added recently to -current, but
> > iirc you're running 4.2, not -current.
>
> yeah, i still haven't figured out how to upgrade to -current using
> anon cvs.. yet..
> i have been spoiled by "sudo freebsd-update fetch && sudo
> freebsd-update install"
>
> here's the verbose output from lspci:
>
> 00:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 AGP
>         Flags: bus master, 66MHz, medium devsel, latency 16
>         Capabilities: [80] AGP version 1.0
>
> > > You may get your card to be seen by X by linking /dev/pci to the correct
> > > /dev/pci<n> device corresponding to the domain where your card lives.
> >
> >  i'm sure you'll be able to teach me how to do that as soon as i send
> >  in pcidump's result.
>
> > Well you should be able to figure this out by yourself after reading the
> > ln(1) manual page.
>
> i'm already reading it.. problem is: i can't interpret the lspci
> output well enough so that i can tell what domain my graphics card is
> in :S ..is it the domain "b"? inside /dev i found several pci's: pci,
> pci1, pci2, pci3 and pci4.
>
> i tried doing this
>      sudo ln /dev/pci /dev/pci1
> but this came up
>      ln: /dev/pci1: file exists
>
> > If not, I'm afraid I can't help you too much
>
> well, i'll keep trying.. i don't give up easily
>
> > and you
> > should consider switching to hardware supported by the i386 or the amd64
> > versions of OpenBSD, which are more likely to work out of the box for
> > beginners.
>
> i really can't afford to buy another box now, and i'm sure i'm smart
> enough to figure it out.. i'll try not to be too bothersome, though..
> if you want, i can continue the conversation off-list..
>
> >
> > --
> > Matthieu Herrb
> >
>
> thanks a lot, mat!!!..