[PATCH] new radeon memory map fixes

Jesse Barnes jbarnes at virtuousgeek.org
Sat Feb 4 21:23:51 PST 2006


On Saturday, February 04, 2006 2:58 pm, Benjamin Herrenschmidt wrote:
> Hrm.. it works on mine which happens to be the same model... Can you
> send me your xorg.conf and your dmesg log ? Also, do you have DRI
> enabled, and if yes, do you have the matching DRI patch ?

[jbarnes at blake ~]$ lspci|grep VGA
00:10.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 
9600 M10]

The dmesg and X log are attached.  I'm not running with the DRM patch, and I 
have the Load "dri" line commented out in xorg.conf (also attached).  Let me 
know if you need anything else.

The kernel is really recent since Dave pulls in git snapshots pretty regularly 
for Rawhide...

Jesse
-------------- next part --------------
Total memory = 768MB; using 2048kB for hash table (at cfe00000)
Linux version 2.6.15-1.1898_FC5 (bhcompile at js20-bc2-10.build.redhat.com) (gcc version 4.1.0 20060131 (Red Hat 4.1.0-0.20)) #1 Thu Feb 2 18:55:06 EST 2006
Found initrd at 0xc1a00000:0xc1add000
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0xd2
Mapped at 0xfdfc0000
Found a Intrepid mac-io controller, rev: 0, mapped at 0xfdf40000
Processor NAP mode on idle enabled.
PowerMac motherboard: PowerBook G4 15"
Using native/NAP idle loop
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->1
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->1
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->1
nvram: Checking bank 0...
nvram: gen0=178, gen1=179
nvram: Active bank is: 1
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Top of RAM: 0x30000000, Total RAM: 0x30000000
Memory hole size: 0MB
On node 0 totalpages: 196608
  DMA zone: 196608 pages, LIFO batch:31
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line: ro root=LABEL=/ quiet selinux=0 
mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 4096 (order: 12, 65536 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 18.432000 MHz
time_init: processor frequency   = 1333.333328 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
High memory: 0k
Memory: 771456k/786432k available (3236k kernel code, 14472k reserved, 364k data, 323k bss, 192k init)
Calibrating delay loop... 36.73 BogoMIPS (lpj=73472)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
device-tree: property "l2-cache" name conflicts with node in /cpus/PowerPC,G4 at 0
checking if image is initramfs... it is
Freeing initrd memory: 884k freed
NET: Registered protocol family 16
KeyWest i2c @0xf8001003 irq 42 /uni-n at f8000000/i2c at f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci at f2000000/mac-io at 17/i2c at 18000
 channel 0 bus <multibus>
PMU i2c /pci at f2000000/mac-io at 17/via-pmu at 16000/pmu-i2c
 channel 1 bus <multibus>
 channel 2 bus <multibus>
Installing base platform functions...
Installing MMIO functions for macio /pci at f2000000/mac-io at 17
pmf: registering driver for node /pci at f2000000/mac-io at 17
pmf: no functions, disposing.. 
Installing GPIO functions for macio /pci at f2000000/mac-io at 17
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/modem-reset at 1d
pmf: Adding functions for platform-do-modem-reset
pmf: idx 1: flags=08000000, phandle=ff96a4a8  12 bytes remaining, parsing...
pmf: Added 1 functions
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/modem-power at 1c
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/extint-gpio1 at 9
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/programmer-switch at 11
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/cpu-vcore-select at 6b
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/gpio4 at 1e
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/gpio5 at 6f
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/gpio6 at 70
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/extint-gpio4 at 5c
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/gpio11 at 75
pmf: no functions, disposing.. 
pmf: registering driver for node /pci at f2000000/mac-io at 17/gpio at 50/extint-gpio15 at 67
pmf: no functions, disposing.. 
Calling initial GPIO functions for macio /pci at f2000000/mac-io at 17
Installing functions for UniN /uni-n at f8000000
pmf: registering driver for node /uni-n at f8000000
pmf: Adding functions for platform-do-fw-linkon-enable
pmf: idx 1: flags=08000000, phandle=ff9b2590  16 bytes remaining, parsing...
pmf: Added 1 functions
pmf: Adding functions for platform-do-fw-linkon-disable
pmf: idx 1: flags=08000000, phandle=ff9b2590  16 bytes remaining, parsing...
pmf: Added 1 functions
Installing functions for UniN clock /uni-n at f8000000/hw-clock
pmf: registering driver for node /uni-n at f8000000/hw-clock
pmf: Adding functions for platform-do-clockspreading
pmf: idx 1: flags=20000000, phandle=00000000  56 bytes remaining, parsing...
pmf: idx 2: flags=10000000, phandle=00000000  16 bytes remaining, parsing...
pmf: Added 2 functions
All base functions installed
PCI: Probing PCI hardware
Can't get bus-range for /pci at f2000000/cardbus at 13, assuming it starts at 0
PCI: Cannot allocate resource region 0 of device 0001:10:18.0
PCI: Cannot allocate resource region 0 of device 0001:10:19.0
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Registering PowerMac CPU frequency driver
Low: 666 Mhz, High: 1333 Mhz, Boot: 666 Mhz
Thermal assist unit not available
audit: initializing netlink socket (disabled)
audit(1139116194.428:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 30D64DB24BC1DF22
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Enabling device 0000:00:10.0 (0006 -> 0007)
radeonfb (0000:00:10.0): Invalid ROM signature 303 should be 0xaa55
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=203.00 Mhz, System=392.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type LCD found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x0002008e from PPLL 0
radeonfb: Dynamic Clock Power Management enabled
Console: switching to colour frame buffer device 160x53
Registered "mnca" backlight controller,level: 15/15
radeonfb (0000:00:10.0): ATI Radeon NP 
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected Apple UniNorth 2 chipset
agpgart: configuring for size idx: 4
agpgart: AGP aperture is 16M @ 0x0
i8042.c: No controller found.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
MacIO PCI driver attached to Intrepid chipset
input: Macintosh mouse button emulation as /class/input/input0
apm_emu: APM Emulation 0.5 initialized.
adb: starting probe task...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PCI: Enabling device 0002:24:0d.0 (0000 -> 0002)
adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
input: ADB Powerbook buttons as /class/input/input2
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse as /class/input/input3
adb: finished probe task...
ide0: Found Apple UniNorth ATA-6 controller, bus ID 3, irq 39
Probing IDE interface ide0...
hda: TOSHIBA MK6025GAS, ATA DISK drive
hda: Enabling Ultra DMA 5
ide0 at 0xf1022000-0xf1022007,0xf1022160 on irq 39
ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 24
Probing IDE interface ide1...
hdc: MATSHITACD-RW CW-8123, ATAPI CD/DVD-ROM drive
hdc: Enabling MultiWord DMA 2
ide1 at 0xf101e000-0xf101e007,0xf101e160 on irq 24
hda: max request size: 512KiB
hda: 117210240 sectors (60011 MB), CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Yenta: CardBus bridge found at 0001:10:13.0 [0000:0000]
PCI: Bus 17, cardbus bridge: 0001:10:13.0
  IO window: 00001000-000011ff
  IO window: 00001400-000015ff
  PREFETCH window: 90000000-9fffffff
  MEM window: f3000000-f33fffff
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0001:10:13.0, mfunc 0x00001002, devctl 0x60
Yenta: ISA IRQ mask 0x0000, PCI irq 53
Socket status: 30000087
pcmcia: parent PCI bridge I/O window: 0x0 - 0x7fffff
cs: IO port probe 0x0-0x7fffff: clean.
pcmcia: parent PCI bridge Memory window: 0xf3000000 - 0xf3ffffff
pcmcia: parent PCI bridge Memory window: 0x80000000 - 0xafffffff
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus uni-n 1 registered
PowerMac i2c bus uni-n 0 registered
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 192k init
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh at kernel.crashing.org>)
pmac_zilog: Error registering serial device, disabling pmac_zilog.
pmac_zilog: Did another serial driver already claim the minors?
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno at linux.intel.com>
sungem.c:v0.98 8/24/03 David S. Miller (davem at redhat.com)
PHY ID: 1410cc1, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0d:93:ae:00:ea 
eth0: Found Marvell 88E1101 PHY
"bcm43xx" driver 0.0.1
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
"bcm43xx": Chip ID 0x4306, rev 0x3
"bcm43xx": Number of cores: 5
"bcm43xx": Core 0: ID 0x800, rev 0x4, vendor 0x4243, enabled
"bcm43xx": Core 1: ID 0x812, rev 0x5, vendor 0x4243, disabled
"bcm43xx": Core 2: ID 0x80d, rev 0x2, vendor 0x4243, enabled
"bcm43xx": Core 3: ID 0x807, rev 0x2, vendor 0x4243, disabled
"bcm43xx": Core 4: ID 0x804, rev 0x9, vendor 0x4243, enabled
"bcm43xx": PHY connected
"bcm43xx": Detected PHY: Version: 2, Type 2, Revision 2
"bcm43xx": Detected Radio:  ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
"bcm43xx": Radio turned off
"bcm43xx": Radio turned off
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
PCI: Enabling device 0001:10:1a.0 (0000 -> 0002)
ohci_hcd 0001:10:1a.0: OHCI Host Controller
ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:10:1a.0: irq 29, io mem 0xa0003000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
ohci_hcd 0001:10:1b.0: OHCI Host Controller
ohci_hcd 0001:10:1b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:10:1b.0: irq 63, io mem 0xa0002000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usb 1-1: new full speed USB device using ohci_hcd and address 2
PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
ohci_hcd 0001:10:1b.1: OHCI Host Controller
ohci_hcd 0001:10:1b.1: new USB bus registered, assigned bus number 3
ohci_hcd 0001:10:1b.1: irq 63, io mem 0xa0001000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
input: HID 05ac:1000 as /class/input/input4
input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0001:10:1a.0-1
input: HID 05ac:1000 as /class/input/input5
input: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0001:10:1a.0-1
ieee1394: Initialized config rom entry `ip1394'
PCI: Enabling device 0002:24:0e.0 (0000 -> 0002)
ohci1394: fw-host0: Unexpected PCI resource length of 1000!
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max Packet=[4096]  IR/IT contexts=[8/8]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[000d93fffeae00ea]
PCI: Enabling device 0001:10:1b.2 (0004 -> 0006)
ehci_hcd 0001:10:1b.2: EHCI Host Controller
ehci_hcd 0001:10:1b.2: new USB bus registered, assigned bus number 4
ehci_hcd 0001:10:1b.2: irq 63, io mem 0xa0000000
ehci_hcd 0001:10:1b.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 5 ports detected
lp: driver loaded but no devices found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel at redhat.com
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
EXT3 FS on hda4, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hfs: write access to a jounaled filesystem is not supported, use the force option at your own risk, mounting read-only.
Adding 524280k swap on /dev/hda3.  Priority:-1 extents:1 across:524280k
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd hid2hci rqt 64 rq 0 len 0 ret -110
usb 1-1: USB disconnect, address 2
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.6
usb 1-1: new full speed USB device using ohci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 34826 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060204/f60df745/attachment.bin>
-------------- next part --------------
Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	FontPath     "/usr/share/X11/fonts/misc"
	FontPath     "/usr/share/X11/fonts/misc:unscaled"
	FontPath     "/usr/share/X11/fonts/75dpi:unscaled"
	FontPath     "/usr/share/X11/fonts/100dpi:unscaled"
	FontPath     "/usr/share/X11/fonts/Type1"
	FontPath     "/usr/share/X11/fonts/TTF"
	FontPath     "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
#	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
#	Load  "dri"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Color LCD"
#	DisplaySize  320	220
	HorizSync    30.0 - 100.0
	VertRefresh  50.0 - 60.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
#	Driver      "fbdev"
	VendorName  "Videocard vendor"
	BoardName   "ATI Radeon Mobility 9600 M10"
#	Option "UseFBDev" "false"
	Option "MergedFB" "false"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x854" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection



More information about the xorg mailing list