NetBSD Problem Report #49290

From www@NetBSD.org  Thu Oct 16 14:32:24 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7EEECA66C9
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Oct 2014 14:32:24 +0000 (UTC)
Message-Id: <20141016143221.132DCA66CE@mollari.NetBSD.org>
Date: Thu, 16 Oct 2014 14:32:20 +0000 (UTC)
From: roy@netbsd.org
Reply-To: roy@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: DRMKMS fails to work with R300
X-Send-Pr-Version: www-1.0

>Number:         49290
>Category:       kern
>Synopsis:       DRMKMS fails to work with R300
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mrg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 16 14:35:00 +0000 2014
>Closed-Date:    Sat Mar 07 12:51:09 +0000 2015
>Last-Modified:  Mon Mar 09 09:10:02 +0000 2015
>Originator:     Roy Marples
>Release:        NetBSD-7.99.1
>Organization:
>Environment:
uberlaptop$ uname -a
NetBSD uberlaptop.marples.name 7.99.1 NetBSD 7.99.1 (DRMKMS) #3: Thu Oct 16 15:17:16 BST 2014  roy@uberlaptop.marples.name:/home/roy/obj/src/sys/arch/i386/compile/DRMKMS i386
>Description:
Boots normally with green text.
When rc system starts to load, the screen blacks out with a solid cursor like rectangle in the upper left corner. No further screen updates occur, system boots normally otherwise but screen remains un-useable in this state.

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) #3: Thu Oct 16 15:17:16 BST 2014
        roy@uberlaptop.marples.name:/home/roy/obj/src/sys/arch/i386/compile/DRMKMS
total memory = 2046 MB
avail memory = 1995 MB
kern.module.path=/stand/i386/7.99.1/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
IBM 2529FKG (ThinkPad Z60m)
mainbus0 (root)
ACPI: RSDP 0xf6a90 000024 (v02 IBM   )
ACPI: XSDT 0x7fee6784 00005C (v01 IBM    TP-77    00001140  LTP 00000000)
ACPI: FACP 0x7fee6800 0000F4 (v03 IBM    TP-77    00001140 IBM  00000001)
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 64/32 (20131218/tbfadt-632)
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 0/32 (20131218/tbfadt-632)
ACPI BIOS Warning (bug): Optional FADT field Gpe1Block has zero address or length: 0x000000000000102C/0x0 (20131218/tbfadt-661)
ACPI: DSDT 0x7fee69e7 00E376 (v01 IBM    TP-77    00001140 MSFT 0100000E)
ACPI: FACS 0x7fef6000 000040
ACPI: SSDT 0x7fee69b4 000033 (v01 IBM    TP-77    00001140 MSFT 0100000E)
ACPI: ECDT 0x7fef4d5d 000052 (v01 IBM    TP-77    00001140 IBM  00000001)
ACPI: TCPA 0x7fef4daf 000032 (v01 IBM    TP-77    00001140 PTL  00000001)
ACPI: APIC 0x7fef4de1 00005A (v01 IBM    TP-77    00001140 IBM  00000001)
ACPI: MCFG 0x7fef4e3b 00003E (v01 IBM    TP-77    00001140 IBM  00000001)
ACPI: BOOT 0x7fef4fd8 000028 (v01 IBM    TP-77    00001140  LTP 00000001)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0: Intel(R) Pentium(R) M processor 2.00GHz, id 0x6d8
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <IBM   ,TP-77   ,00001140>, AslId < LTP,00000000>
acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
MEM (PNP0C01) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
SIO (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
FPU (PNP0C04) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, IBM3780) (aux port): irq 12
TPM (ATM1100) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
acpibat0: failed to evaluate _BIF: AE_LIMIT
acpibat1 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
thinkpad0 at acpi0 (HKEY, IBM0068)
acpivga0 at acpi0 (VID): ACPI Display Adapter
acpiout0 at acpivga0 (LCD0, 0x0110): ACPI Display Output Device
acpiout1 at acpivga0 (CRT0, 0x0100): ACPI Display Output Device
acpiout2 at acpivga0 (TV0, 0x0200): ACPI Display Output Device
acpiout3 at acpivga0 (DVI0, 0x0210): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout1): Ext. Monitor, head 0
acpivga0:   0x0200 (acpiout2): TV, head 0
acpivga0:   0x0210 (acpiout3): Unknown Output Device, head 0
acpivga0:   0x0110 (acpiout0): LCD Panel, head 0
acpitz0 at acpi0 (THM0): cpu0
acpitz0: levels: critical 99.0 C, passive 94.5 C, passive cooling
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 1 GPEs in block 00 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-645)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-645)
WARNING: module error: vfs load failed for `acpiverbose', error 45
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 6.2
pms0: Passthrough, Palm detect, One button click pad, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2590 (rev. 0x03)
agp0 at pchb0: can't find internal VGA config space
ppb0 at pci0 dev 1 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2591 (rev. 0x03)
ppb0: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x16 @ 2.5GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
radeon0 at pci1 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 1002 product 3150 (rev. 0x00)
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 16
hdafg0 at hdaudio0WARNING: module error: vfs load failed for `hdaudioverbose', error 45
WARNING: module error: vfs load failed for `hdaudioverbose', error 45
: vendor 11d4 product 1981
hdafg0: DAC00 2ch: Speaker [Jack], HP Out [Jack]
hdafg0: DIG01 2ch: SPDIF Out [Jack]
hdafg0: ADC03 2ch: CD [Built-In], Line In [Jack], AUX [Built-In], Mic In [Jack]
hdafg0: 2ch/2ch 8000Hz 11025Hz 16000Hz 22050Hz 32000Hz 44100Hz 48000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
hdvsmfg at hdaudio0 not configured
ppb1 at pci0 dev 28 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2660 (rev. 0x03)
ppb1: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci2 dev 0 function 0: Broadcom BCM5751M Gigabit Ethernet
bge0: interrupting at ioapic0 pin 16
bge0: HW config 00080155, 00004015, 00000038, 00000000 00000000
bge0: ASIC BCM5750 B1 (0x4101), Ethernet address 00:16:36:21:f8:79
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 28 function 1WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2662 (rev. 0x03)
ppb2: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 28 function 2WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2664 (rev. 0x03)
ppb3: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci4 at ppb3 bus 11
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 3WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2666 (rev. 0x03)
ppb4: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci5 at ppb4 bus 19
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2658 (rev. 0x03)
uhci0: interrupting at ioapic0 pin 16
WARNING: module error: vfs load failed for `pciverbose', error 45
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2659 (rev. 0x03)
uhci1: interrupting at ioapic0 pin 17
WARNING: module error: vfs load failed for `pciverbose', error 45
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 265a (rev. 0x03)
uhci2: interrupting at ioapic0 pin 18
WARNING: module error: vfs load failed for `pciverbose', error 45
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 265b (rev. 0x03)
uhci3: interrupting at ioapic0 pin 19
WARNING: module error: vfs load failed for `pciverbose', error 45
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 265c (rev. 0x03)
ehci0: interrupting at ioapic0 pin 19
WARNING: module error: vfs load failed for `pciverbose', error 45
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb5 at pci0 dev 30 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2448 (rev. 0xd3)
pci6 at ppb5 bus 20
pci6: i/o space, memory space enabled
cbb0 at pci6 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 1180 product 0476 (rev. 0xb3)
fwohci0 at pci6 dev 0 function 1WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 1180 product 0552 (rev. 0x08)
fwohci0: interrupting at ioapic0 pin 17
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:06:1b:00:20:22:03:be
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
sdhc0 at pci6 dev 0 function 2WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 1180 product 0822 (rev. 0x17)
sdhc0: interrupting at ioapic0 pin 18
sdhc0: SD Host Specification 1.0, rev.2
sdhc0: using DMA transfer
sdmmc0 at sdhc0 slot 0
WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
vendor 1180 product 0592 (miscellaneous system, revision 0x08) at pci6 dev 0 function 3 not configured
iwi0 at pci6 dev 2 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 4224 (rev. 0x05)
iwi0: interrupting at ioapic0 pin 21
iwi0: 802.11 address 00:13:ce:fc:e1:c0
iwi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
cbb0: cacheline 0x0 lattimer 0x40
cbb0: bhlc 0x824000
cbb0: interrupting at ioapic0 pin 16
cardslot0 at cbb0
cardbus0 at cardslot0: bus 21
pcmcia0 at cardslot0
ichlpcib0 at pci0 dev 31 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 2641 (rev. 0x03)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpio0 at ichlpcib0: 64 pins
piixide0 at pci0 dev 31 function 2: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
: vendor 8086 product 266a (rev. 0x03)
ichsmb0: interrupting at ioapic0 pin 23
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   1 us, pow  1000 mW
acpicpu0: C2: I/O, lat   1 us, pow   500 mW
acpicpu0: C3: I/O, lat  85 us, pow   250 mW
acpicpu0: P0: FFH, lat 500 us, pow 27000 mW, 2000 MHz
acpicpu0: P1: FFH, lat 500 us, pow 22600 mW, 1600 MHz
acpicpu0: P2: FFH, lat 500 us, pow 19666 mW, 1333 MHz
acpicpu0: P3: FFH, lat 500 us, pow 16733 mW, 1066 MHz
acpicpu0: P4: FFH, lat 500 us, pow 13800 mW,  800 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
hdafg0: unsol: tag=0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
IPsec: Initialized Security Association Processing.
ugen0 at uhub4 port 2
ugen0: HTC Android Phone, rev 2.10/2.32, addr 2
ehci0: handing over full speed device on port 6 to uhci2
wd0 at atabus0 drive 0
wd0: <HTS541010G9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-RAM UJ-830Sx, , 1.00> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
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 (RV380 0x1002:0x3150 0x1014:0x058E).
drm: register mmio base: 0xb0100000
drm: register mmio size: 65536
drm: Generation 2 PCI interface, using max accessible memory
radeon0: info: VRAM: 128M 0x00000000C8000000 - 0x00000000CFFFFFFF (128M used)
radeon0: info: GTT: 512M 0x00000000A8000000 - 0x00000000C7FFFFFF
drm: Detected VRAM RAM=80M, BAR=128M
drm: RAM width 128bits DDR
Zone  kernel: Available graphics memory: 794828 kiB
drm: radeon: 128M of VRAM memory ready
drm: radeon: 512M of GTT memory ready.
drm: GART: num cpu pages 131072, num gpu pages 131072
drm: radeon: 1 quad pipes, 1 Z pipes initialized.
drm: PCIE GART of 512M enabled (table at 0x00000000C8040000).
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x00000000a8000000 and cpu addr 0x0xdbc56000
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 0x00000000A8001000
drm: ring test succeeded in 0 usecs
drm: ib test succeeded in 0 usecs
drm: Panel ID String: IBM
drm: Panel Size 1680x1050
drm: Radeon Display Connectors
drm: Connector 0:
drm:   VGA-1
drm:   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
drm:   Encoders:
drm:     CRT1: INTERNAL_DAC1
drm: Connector 1:
drm:   DVI-I-1
drm:   HPD1
drm:   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
drm:   Encoders:
drm:     CRT1: INTERNAL_DAC1
drm:     DFP1: INTERNAL_TMDS1
drm: Connector 2:
drm:   LVDS-1
drm:   DDC: 0x1a8 0x1a8 0x1ac 0x1ac 0x1b0 0x1b0 0x1b4 0x1b4
drm:   Encoders:
drm:     LCD1: INTERNAL_LVDS
drm: Connector 3:
drm:   SVIDEO-1
drm:   Encoders:
drm:     TV1: INTERNAL_DAC2
radeondrmkmsfb0 at radeon0
radeon0: info: registered panic notifier
radeondrmkmsfb0: framebuffer at 0xdbe80000, size 1680x1050, depth 32, stride 6720
wsdisplay1 at radeondrmkmsfb0 kbdmux 1
wsmux1: connecting to wsdisplay1
ugen1 at uhub2 port 2
ugen1: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: kern/49290: DRMKMS fails to work with R300
Date: Thu, 08 Jan 2015 17:43:29 +1100

 this problem has been diagnosed:

 	- i386 GENERIC has attachments for wsdisplay at both vga(4)
 	  and pcdisplay(4), and this attaches before drm
 	- this means that drm attaches wsdisplay1, and it is unable
 	  to deal with console input or output.

 the workaround is to add these lines to your config:

 	no pcdisplay
 	no vga0 at isa?

 which avoids wsdisplay0 not being owned by drm.

 the real solution is still unknown.  perhaps, simply removing the
 old setup by default?  i don't know what it is necessary for on
 older pc systems.  perhaps some changes to wsdisplay for it to
 recognise some devices are the same, or to force vga@isa or
 pcdisplay to not attach when drm will attach at the PCI location.


 .mrg.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/49290: DRMKMS fails to work with R300
Date: Thu, 8 Jan 2015 08:58:49 +0100

 The real fix IMHO is to make pcdisplay_match() return 0 in this configuration -
 which it tries to do, there must be a bug somewhere.


 Martin

From: Roy Marples <roy@marples.name>
To: gnats-bugs@NetBSD.org, netbsd-bugs@netbsd.org, roy@netbsd.org
Cc: 
Subject: Re: kern/49290: DRMKMS fails to work with R300
Date: Thu, 08 Jan 2015 08:43:16 +0000

 On 08/01/2015 06:45, matthew green wrote:
 >  this problem has been diagnosed:
 >  
 >  	- i386 GENERIC has attachments for wsdisplay at both vga(4)
 >  	  and pcdisplay(4), and this attaches before drm
 >  	- this means that drm attaches wsdisplay1, and it is unable
 >  	  to deal with console input or output.
 >  
 >  the workaround is to add these lines to your config:
 >  
 >  	no pcdisplay
 >  	no vga0 at isa?
 >  
 >  which avoids wsdisplay0 not being owned by drm.

 Workaround confirmed to work, thanks.

 >  the real solution is still unknown.  perhaps, simply removing the
 >  old setup by default?

 old setup? The old radeondrm stuff is already commented out, otherwise
 unless you refer to the pcdisplay and vga as old setup.

 Thanks

 Roy

From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49290: DRMKMS fails to work with R300
Date: Thu, 8 Jan 2015 08:57:25 +0000 (UTC)

 martin@duskware.de (Martin Husemann) writes:

 >The following reply was made to PR kern/49290; it has been noted by GNATS.

 >From: Martin Husemann <martin@duskware.de>
 >To: gnats-bugs@NetBSD.org
 >Cc: 
 >Subject: Re: kern/49290: DRMKMS fails to work with R300
 >Date: Thu, 8 Jan 2015 08:58:49 +0100

 > The real fix IMHO is to make pcdisplay_match() return 0 in this configuration -
 > which it tries to do, there must be a bug somewhere.


 The vga and also pcdisplay driver seem to use the card IO space
 as a lock to prevent multiple drivers from attaching to the same
 hardware.

 When vga attaches at PCI, then the probe function for both ISA devices
 fail because they cannot map the IO space again.

 But when the DRM radeon driver attaches (at PCI), it provides a better
 match than the VGA driver, but at least at that time, it doesn't map
 the IO space because all the initialization is deferred to after mountroot
 to load the card firmware (or maybe it's not mapped at all?)

 This allows either the vga driver or the pcdisplay driver to attach
 at ISA.

 The most simple solution is to make the DRM radeon driver map the IO
 space when it attaches (and maybe to release it before the real
 initialization happens later).

 In an ideal world the autoconf framework would provide a mechanism
 for such locking.

 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, roy@netbsd.org
Subject: re: kern/49290: DRMKMS fails to work with R300
Date: Sat, 07 Mar 2015 14:01:38 +1100

 turns out mlelstv's idea doesn't work.  in a normal case, vga@isa
 attaches as well, but is given wsdisplay1 and thus the problem
 does not occur.

 any attempts to map the VGA registers in the radeon@pci attach
 do not work for pc console setups (it does work for serial.)  this
 is because consinit() calls into vga and vga_init() before the
 copyright is printed, and the registers are mapped here.  (ie,
 attempting to map them in radeon@pci gives failure.)

 i attempted to create a "radeon@isa" to attach in preference, but
 even while i was able to do that eventually (relying on config
 "files*" files ordering to get radeon first, vga@isa would also
 attach.

 mlelstv and i played around with trying to get vga to properly
 detach but we were unable to get a working system yet.

 as such, we are going to, for now, remove vga@isa and
 pcdisplay@isa from GENERIC, and create a LEGACY kernel with those,
 for use by people with pre-PCI systems..


 there was an additional idea of moving vga@isa and pcdisplay@isa
 into modules, and having /boot load them only on systems that
 would require them.

 for the PRs, reference, also see:

 http://mail-index.netbsd.org/tech-kern/2015/02/28/msg018494.html

 and the subsequent thread.


 .mrg.

From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49290 CVS commit: src
Date: Sat, 7 Mar 2015 07:28:37 +0000

 Module Name:	src
 Committed By:	mrg
 Date:		Sat Mar  7 07:28:37 UTC 2015

 Modified Files:
 	src/distrib/notes/i386: contents
 	src/etc/etc.i386: Makefile.inc
 	src/sys/arch/i386/conf: GENERIC
 Added Files:
 	src/sys/arch/i386/conf: LEGACY

 Log Message:
 remove vga@isa and pcdisplay@isa from i386 GENERIC, and create a new
 LEGACY kernel that includes them instead.  now radeon@pci is able to
 properly claim wsdisplay0 on i386 systems, and radeondrmkms has a good
 chance of working.

 this "fixes" PR#49290.


 To generate a diff of this commit:
 cvs rdiff -u -r1.27 -r1.28 src/distrib/notes/i386/contents
 cvs rdiff -u -r1.67 -r1.68 src/etc/etc.i386/Makefile.inc
 cvs rdiff -u -r1.1119 -r1.1120 src/sys/arch/i386/conf/GENERIC
 cvs rdiff -u -r0 -r1.1 src/sys/arch/i386/conf/LEGACY

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Sat, 07 Mar 2015 07:31:59 +0000
Responsible-Changed-Why:
i "fixed" it.


State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 07 Mar 2015 07:31:59 +0000
State-Changed-Why:
i "fixed" it.  please try with basic GENERIC and latest -current.


State-Changed-From-To: feedback->closed
State-Changed-By: roy@NetBSD.org
State-Changed-When: Sat, 07 Mar 2015 12:51:09 +0000
State-Changed-Why:
It "works" for me. Thanks!


From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49290 CVS commit: [netbsd-7] src
Date: Mon, 9 Mar 2015 09:06:04 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Mon Mar  9 09:06:04 UTC 2015

 Modified Files:
 	src/distrib/notes/i386 [netbsd-7]: contents
 	src/etc/etc.i386 [netbsd-7]: Makefile.inc
 	src/sys/arch/i386/conf [netbsd-7]: GENERIC
 Added Files:
 	src/sys/arch/i386/conf [netbsd-7]: LEGACY

 Log Message:
 Pull up following revision(s) (requested by mrg in ticket #578):
 	distrib/notes/i386/contents: revision 1.28
 	etc/etc.i386/Makefile.inc: revision 1.68
 	sys/arch/i386/conf/GENERIC: revision 1.1120
 	sys/arch/i386/conf/LEGACY: revision 1.1
 remove vga@isa and pcdisplay@isa from i386 GENERIC, and create a new
 LEGACY kernel that includes them instead.  now radeon@pci is able to
 properly claim wsdisplay0 on i386 systems, and radeondrmkms has a good
 chance of working.
 this "fixes" PR#49290.


 To generate a diff of this commit:
 cvs rdiff -u -r1.27 -r1.27.12.1 src/distrib/notes/i386/contents
 cvs rdiff -u -r1.67.12.1 -r1.67.12.2 src/etc/etc.i386/Makefile.inc
 cvs rdiff -u -r1.1107.2.4 -r1.1107.2.5 src/sys/arch/i386/conf/GENERIC
 cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/i386/conf/LEGACY

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.