Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More amd64 drmkms radeon



Mine is also much better now - DRMKMS kernel boots into multiuser,
switches the mode and works fine in multiuser. Xorg doesn't start; it
blanks the screen and I presume panics, but I can't see anything; I
will have to switch to serial console to see what is going on (I also
had a panic from a KASSERT in igmp.c, which did panic on every
shutdown/reboot/halt, but I commented it out and now it reboots
cleanly).

The dmesg follows:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.1 (DRMKMS) #0: Fri Aug 15 13:50:02 BST 2014
root@support6.delcam.local:/root/a64/compile/DRMKMS
total memory = 3071 MB
avail memory = 2963 MB
kern.module.path=/stand/amd64/7.99.1/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
AMD Rhapsody (Rev 4)
mainbus0 (root)
ACPI: RSDP 0xf6fc0 000024 (v02 PTLTD )
ACPI: XSDT 0xbff7b450 00003C (v01 PTLTD  ? XSDT   06040000  LTP 00000000)
ACPI: FACP 0xbff7ee46 0000F4 (v03 AMD    HAMMER   06040000 PTEC 000F4240)
ACPI: DSDT 0xbff7b48c 003946 (v01 AMD-K8  AMDACPI 06040000 MSFT 0100000E)
ACPI: FACS 0xbff7ffc0 000040
ACPI: APIC 0xbff7ef3a 000076 (v01 PTLTD  ? APIC   06040000  LTP 00000000)
ACPI: SPCR 0xbff7efb0 000050 (v01 PTLTD  $UCRTBL$ 06040000 PTL  00000001)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0: AMD Opteron(tm) Processor 246, id 0xf5a
cpu0: erratum 86 present
cpu0: erratum 104 present
cpu0: erratum 101 present
cpu0: WARNING: errata present, BIOS upgrade may be
cpu0: WARNING: necessary to ensure reliable operation
cpu1 at mainbus0 apid 1: AMD Opteron(tm) Processor 246, id 0xf5a
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x11, 24 pins
ioapic1 at mainbus0 apid 3: pa 0xf0000000, version 0x11, 4 pins
ioapic2 at mainbus0 apid 4: pa 0xf0001000, version 0x11, 4 pins
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <PTLTD , XSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
SYSR (PNP0C02) WARNING: module error: vfs load failed for
`acpiverbose', error 45
at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
FDC0 (PNP0700) WARNING: module error: vfs load failed for
`acpiverbose', error 45
at acpi0 not configured
UAR1 (PNP0501) WARNING: module error: vfs load failed for
`acpiverbose', error 45
at acpi0 not configured
UAR2 (PNP0501) WARNING: module error: vfs load failed for
`acpiverbose', error 45
at acpi0 not configured
LPT (PNP0400) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
ACPI: Enabled 1 GPEs in block 00 to 0F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_]
(20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_]
(20131218/hwxface-646)
WARNING: module error: vfs load failed for `acpiverbose', error 45
attimer1: attached to pcppi1
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: AMD AMD8151 AGP Device (rev. 0x13)
agp0 at pchb0: 2 Miscellaneous Control unit(s) found.
agp0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: AMD AMD8151 AGP Bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
radeon0 at pci1 dev 0 function 0: ATI Technologies FireGL T2 AT (rev. 0x80)
ppb1 at pci0 dev 6 function 0: AMD AMD8111 I/O Hub (rev. 0x07)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ohci0 at pci2 dev 0 function 0: AMD AMD8111 USB Host Controller (rev. 0x0b)
csr: 02800017
ohci0: interrupting at ioapic0 pin 19
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci2 dev 0 function 1: AMD AMD8111 USB Host Controller (rev. 0x0b)
csr: 02800017
ohci1: interrupting at ioapic0 pin 19
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ohci2 at pci2 dev 4 function 0: NEC USB Host Controller (rev. 0x41)
csr: 02100016
ohci2: interrupting at ioapic0 pin 17
ohci2: OHCI version 1.0
usb2 at ohci2: USB revision 1.0
ohci3 at pci2 dev 4 function 1: NEC USB Host Controller (rev. 0x41)
csr: 02100016
ohci3: interrupting at ioapic0 pin 18
ohci3: OHCI version 1.0
usb3 at ohci3: USB revision 1.0
ehci0 at pci2 dev 4 function 2: NEC USB2 Host Controller (rev. 0x02)
ehci0: interrupting at ioapic0 pin 19
ehci0: EHCI version 0.95
ehci0: companion controllers, 3 ports each: ohci2 ohci3
usb4 at ehci0: USB revision 2.0
bge0 at pci2 dev 5 function 0: Broadcom BCM5705 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 19
bge0: HW config 00000155, 00000015, 00000000, 00000000 00000000
bge0: ASIC BCM5705 A3 (0x3003), Ethernet address 00:0f:ea:5d:15:a1
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
satalink0 at pci2 dev 6 function 0: Silicon Image SATALink 3114 (rev. 0x02)
satalink0: 33MHz PCI bus
satalink0: bus-master DMA support present
satalink0: using ioapic0 pin 18 for native-PCI interrupt
atabus0 at satalink0 channel 0
atabus1 at satalink0 channel 1
atabus2 at satalink0 channel 2
atabus3 at satalink0 channel 3
pcib0 at pci0 dev 7 function 0: AMD AMD8111 LPC Controller (rev. 0x05)
viaide0 at pci0 dev 7 function 1: AMD AMD8111 IDE Controller (rev. 0x03)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14
atabus4 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15
atabus5 at viaide0 channel 1
amdpm0 at pci0 dev 7 function 3: AMD AMD8111 ACPI Controller (rev. 0x05)
timecounter: Timecounter "amdpm0" frequency 3579545 Hz quality 1000
amdpm0: 24-bit timer
iic at amdpm0 not configured
amdpm0: random number generator enabled (apprx. 57ms)
pchb1 at pci0 dev 24 function 0: AMD K8 AMD64 HyperTransport
Configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1: AMD K8 AMD64 Address Map
Configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2: AMD K8 AMD64 DRAM Configuration (rev. 0x00)
amdnb_misc0 at pci0 dev 24 function 3: AMD NB Misc Configuration
pchb4 at pci0 dev 25 function 0: AMD K8 AMD64 HyperTransport
Configuration (rev. 0x00)
pchb5 at pci0 dev 25 function 1: AMD K8 AMD64 Address Map
Configuration (rev. 0x00)
pchb6 at pci0 dev 25 function 2: AMD K8 AMD64 DRAM Configuration (rev. 0x00)
amdnb_misc1 at pci0 dev 25 function 3: AMD NB Misc Configuration
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pci3 at mainbus0 bus 8
pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb2 at pci3 dev 3 function 0: AMD AMD8131 PCI-X Tunnel (rev. 0x12)
pci4 at ppb2 bus 9
pci4: i/o space, memory space enabled
rtk0 at pci4 dev 1 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at ioapic1 pin 1
rtk0: Ethernet address 00:c0:df:13:2a:be
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aapic0 at pci3 dev 3 function 1: AMD AMD8131 IO Apic (rev. 0x01)
ppb3 at pci3 dev 4 function 0: AMD AMD8131 PCI-X Tunnel (rev. 0x12)
pci5 at ppb3 bus 14
pci5: i/o space, memory space enabled
pdcsata0 at pci5 dev 2 function 0: Promise PDC20375 SATA150 controller
(rev. 0x02)
pdcsata0: interrupting at ioapic2 pin 2
pdcsata0: bus-master DMA support present
atabus6 at pdcsata0 channel 0
atabus7 at pdcsata0 channel 1
atabus8 at pdcsata0 channel 2
aapic1 at pci3 dev 4 function 1: AMD AMD8131 IO Apic (rev. 0x01)
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
satalink0: port 0: device present, speed: 1.5Gb/s
satalink0: port 1: device present, speed: 1.5Gb/s
satalink0: port 2: device present, speed: 1.5Gb/s
satalink0: port 3: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <WDC WD360GD-00FNA0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 35304 MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
IPsec: Initialized Security Association Processing.
uhub0 at usb0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2 at usb2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
uhub3 at usb3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 5 ports with 5 removable, self powered
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus1 drive 0
wd1: <ST3120827AS>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd1: GPT GUID: ef1257a1-6735-11e3-b719-000fea5d15a1
dk0 at wd1: ef1257d9-6735-11e3-b719-000fea5d15a1
dk0: 234441581 blocks at 34, type: ffs
pdcsata0 port 0: device present, speed: 1.5Gb/s
pdcsata0 port 1: device present, speed: 1.5Gb/s
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd2 at atabus2 drive 0
wd2: <WDC WD360ADFD-00NLR4>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 35304 MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(satalink0:2:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd3 at atabus3 drive 0
wd3: <WDC WD360ADFD-00NLR5>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 35304 MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd3(satalink0:3:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd4 at atabus6 drive 0
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: HP HP USB Laser Mouse, rev 2.00/31.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
pdcsata0:0:0: lost interrupt
type: ata tc_bcount: 512 tc_skip: 0
wd4: <ST3120827AS>
wd4: drive supports 16-sector PIO transfers, LBA48 addressing
wd4: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd4(pdcsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd5 at atabus7 drive 0
pdcsata0:1:0: lost interrupt
type: ata tc_bcount: 512 tc_skip: 0
wd5: <ST3120827AS>
wd5: drive supports 16-sector PIO transfers, LBA48 addressing
wd5: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd5(pdcsata0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
Component on: wd0a: 72303777
   Row: 0 Column: 0 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 2013090401 Mod Counter: 3709
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 5  blocksize: 512 numBlocks: 72303680
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid1
Component on: wd2a: 72303777
   Row: 0 Column: 1 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 2013090401 Mod Counter: 3709
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 5  blocksize: 512 numBlocks: 72303680
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid1
Component on: wd3a: 72303777
   Row: 0 Column: 2 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 2013090401 Mod Counter: 3709
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 5  blocksize: 512 numBlocks: 72303680
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid1
Component on: wd4a: 234441585
   Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
   Version: 2 Serial Number: 2013083001 Mod Counter: 2077
   Clean: No Status: 0
   sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 1  blocksize: 512 numBlocks: 234441472
   Autoconfig: Yes
   Root partition: Force
   Last configured as: raid0
Component on: wd5a: 234441585
   Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
   Version: 2 Serial Number: 2013083001 Mod Counter: 2077
   Clean: No Status: 0
   sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 1  blocksize: 512 numBlocks: 234441472
   Autoconfig: Yes
   Root partition: Force
   Last configured as: raid0
Found: wd0a at 0
Found: wd2a at 1
Found: wd3a at 2
RAID autoconfigure
Configuring raid1:
Starting autoconfiguration of RAID set...
Looking for 0 in autoconfig
Found: wd0a at 0
Looking for 1 in autoconfig
Found: wd2a at 1
Looking for 2 in autoconfig
Found: wd3a at 2
raid1: allocating 30 buffers of 32768 bytes.
raid1: RAID Level 5
raid1: Components: /dev/wd0a /dev/wd2a /dev/wd3a
raid1: Total Sectors: 144607360 (70609 MB)
raid1: GPT GUID: 5b5a0aae-1568-11e3-8834-000fea5d15a1
dk1 at raid1: 5b5a0ae5-1568-11e3-8834-000fea5d15a1
dk1: 144607293 blocks at 34, type: ffs
Found: wd5a at 0
Found: wd4a at 1
RAID autoconfigure
Configuring raid0:
Starting autoconfiguration of RAID set...
Looking for 0 in autoconfig
Found: wd5a at 0
Looking for 1 in autoconfig
Found: wd4a at 1
raid0: allocating 20 buffers of 65536 bytes.
raid0: RAID Level 1
raid0: Components: /dev/wd5a /dev/wd4a
raid0: Total Sectors: 234441472 (114473 MB)
boot device: raid0
root on raid0a dumps on raid0b
dump_misc_init: max_paddr = 0xbff70000
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
drm: initializing kernel modesetting (RV350 0x1002:0x4154 0x1002:0x0002).
drm: register mmio base: 0xd0000000
drm: register mmio size: 65536
DRM error in radeon_get_bios: Unable to locate a BIOS ROM
drm: Using generic clock info
radeon0: info: GTT: 256M 0xE0000000 - 0xEFFFFFFF
drm: Generation 2 PCI interface, using max accessible memory
radeon0: info: VRAM: 128M 0x00000000D8000000 - 0x00000000DFFFFFFF (128M used)
drm: Detected VRAM RAM=80M, BAR=128M
drm: RAM width 128bits DDR
Zone  kernel: Available graphics memory: 1065624 kiB
drm: radeon: 128M of VRAM memory ready
drm: radeon: 256M of GTT memory ready.
drm: radeon: 1 quad pipes, 1 Z pipes initialized.
radeon0: info: WB disabled
radeon0: info: fence driver on ring 0 use gpu addr 0x00000000e0000000
and cpu addr 0x0xffff8000373bc000
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
radeon0: interrupting at ioapic0 pin 16 (radeon)
drm: radeon: irq initialized.
drm: Loading R300 Microcode
init: copying out path `/sbin/init' 11
drm: radeon: ring at 0x00000000E0001000
drm: ring test succeeded in 0 usecs
drm: ib test succeeded in 0 usecs
drm: Connector Table: 1 (generic)
drm: No TMDS info found in BIOS
drm: No TV DAC info found in BIOS
drm: Radeon Display Connectors
drm: Connector 0:
drm:   DVI-I-1
drm:   HPD1
drm:   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
drm:   Encoders:
drm:     DFP1: INTERNAL_TMDS1
drm:     CRT2: INTERNAL_DAC2
drm: Connector 1:
drm:   VGA-1
drm:   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
drm:   Encoders:
drm:     CRT1: INTERNAL_DAC1
drm: Connector 2:
drm:   SVIDEO-1
drm:   Encoders:
drm:     TV1: INTERNAL_DAC2
radeondrmkmsfb0 at radeon0
radeon0: info: registered panic notifier
radeondrmkmsfb0: framebuffer at 0xffff8000375f0000, size 1280x1024,
depth 32, stride 5120
wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100
emulation), using wskbd0
wsmux1: connecting to wsdisplay0
bge0: link state DOWN (was UNKNOWN)
rtk0: link state UP (was UNKNOWN)
bge0: link state UP (was DOWN)
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)
/spare: replaying log to disk
/data: replaying log to disk
---

/var/log/Xorg.0.log is blank.

Chavdar

On 15 August 2014 00:27, matthew green <mrg%eterna.com.au@localhost> wrote:
>
>>    Adding some printfs to the kernel it doesn't look to be calling into
>>    the drm code from the mmap() syscall.
>>
>> Probably needs to be changed to use drmMap instead of mmap,
>> un{til,less} we sort out getting proper mmap for non-vnode files.
>
> i commited the fix for this i've been using.
>
>
> .mrg.



-- 
----


Home | Main Index | Thread Index | Old Index