Unable to start X11 with latest dports + kernel

kyuupichan kyuupichan at zoho.com
Wed Jun 11 21:16:20 PDT 2014


Yesterday I upgraded my packages (first installed about 1 month earlier) and I suspect that included various X11 packages.

After rebooting because the USB mouse froze (as it tended to do about once a week, usually when firefox was under heavy load scrolling a web page with images), I was unable to restart X11.

I've attached the full X11 log but these are the relevant parts:

[  8919.997] (--) RADEON(0): Chipset: "AMD Radeon HD 6310 Graphics" (ChipID = 0x9802)
[  8919.998] drmOpenDevice: node name is /dev/dri/card0
[  8919.998] Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
[  8919.998] drmOpenDevice: open result is -1, (No such file or directory)
[  8919.998] Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
[  8919.998] drmOpenDevice: open result is -1, (No such file or directory)
[  8919.998] drmOpenDevice: Open failed
[  8919.998] [drm] failed to load kernel module "radeon"
[  8919.998] (EE) RADEON(0): [drm] Failed to open DRM device for pci:0000:00:01.0: No such file or directory
[  8919.998] (EE) RADEON(0): Kernel modesetting setup failed
[  8919.998] (II) UnloadModule: "radeon"
[  8919.998] (EE) Screen(s) found, but none have a usable configuration.

Looking at dmesg (also attached) the above seems to be because the kernel DRI layer is struggling with the graphics card:

info: [drm] Initialized drm 1.1.0 20060810
drm0: <Wrestler [Radeon HD 6310]> on vgapci0
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (PALM 0x1002:0x9802 0x19DA:0xA182).
info: [drm] register mmio base: 0xFEB00000
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method...
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xb0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe121640000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xb0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe121640000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
error: [drm:pid880:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
drm0: error: Fatal error during GPU init
info: [drm] radeon: finishing device.

So I tried updating to the latest kernel, but the result is the same.  Here is my uname -a:

DragonFly zotac.akihabara.co.uk 3.9-DEVELOPMENT DragonFly v3.9.0.91.g186c80-DEVELOPMENT #1: Thu Jun 12 09:13:54 JST 2014     root at zotac.akihabara.co.uk:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

This hardware used to work with Dragonfly (although admittedly poorly : once in X returning to the console was impossible).
I can't really continue to use this without a windowing environment.  Any ideas on what is needed to fix it?

Neil.





-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: application/octet-stream
Size: 22281 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20140611/0f1469d3/attachment-0012.obj>
-------------- next part --------------
Copyright (c) 2003-2014 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
DragonFly v3.9.0.91.g186c80-DEVELOPMENT #1: Thu Jun 12 09:13:54 JST 2014
    root at zotac.akihabara.co.uk:/usr/obj/usr/src/sys/X86_64_GENERIC
TSC invariant clock: 1600123017 Hz, i8254 clock: 1193287 Hz
CPU: AMD E-350 Processor (1600.09-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x500f10  Stepping = 0
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WDT>
  MONITOR/MWAIT Features=0x3<CST,INTBRK>
real memory  = 8167320576 (7788 MB)
avail memory = 7622283264 (7269 MB)
LAPIC: AMD LINTEN on
lapic: divisor index 0, frequency 99999324 Hz
SMI Frequency (worst case): 728 Hz (1373 us)
Initialize MI interrupts
FQ scheduler policy version 1.1 loaded
wdog: In-kernel automatic watchdog reset enabled
kbd1 at kbdmux0
disk scheduler: set policy of md0 to noop
md0: Malloc disk
ACPI: RSDP 0x00000000000F0430 000024 (v02 ALASKA)
ACPI: XSDT 0x0000000097B26070 00005C (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: FACP 0x0000000097B2B300 0000F4 (v04 ALASKA A M I    01072009 AMI  00010013)
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20140424/tbfadt-678)
ACPI: DSDT 0x0000000097B26158 0051A3 (v02 ALASKA A M I    00000000 INTL 20051117)
ACPI: FACS 0x0000000097C16F80 000040
ACPI: APIC 0x0000000097B2B3F8 000062 (v03 ALASKA A M I    01072009 AMI  00010013)
ACPI: MCFG 0x0000000097B2B460 00003C (v01 ALASKA A M I    01072009 MSFT 00010013)
ACPI: SLIC 0x0000000097B2B4A0 000176 (v01 AMI    APTIO    01072009 AMI  00010013)
ACPI: HPET 0x0000000097B2B618 000038 (v01 ALASKA A M I    01072009 AMI  00000004)
ACPI: SSDT 0x0000000097B2B650 0003DE (v01 AMD    POWERNOW 00000001 AMD  00000001)
ACPI: SSDT 0x0000000097B2BA30 0012FA (v02 AMD    ALIB     00000001 MSFT 04000000)
cryptosoft0: <software crypto> on motherboard
aesni0: No AESNI support.
padlock0: No ACE support.
rdrand0: No RdRand support.
acpi0: <ALASKA A M I> on motherboard
ACPI: All ACPI Tables successfully acquired
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/low
ACPI: Executed 3 blocks of module-level executable AML code
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: frequency 14318180
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf000-0xf0ff mem 0xfeb00000-0xfeb3ffff,0xb0000000-0xbfffffff irq 18 at device 1.0 on pci0
pci0: <multimedia, HDA> (vendor 0x1002, dev 0x1314) at device 1.1 irq 19
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
pci1: <ACPI PCI bus> on pcib1
atapci0: <ATI ATA controller> port 0xf150-0xf15f,0xf160-0xf163,0xf170-0xf177,0xf180-0xf183,0xf190-0xf197 mem 0xfeb4f000-0xfeb4f3ff irq 19 at device 17.0 on pci0
ata2: <ATA channel 0> on atapci0
disk scheduler: set policy of acd0 to noop
acd0: DVDR <TSSTcorp CDDVDW SH-222BB/SB00> at ata2-master UDMA33
ata3: <ATA channel 1> on atapci0
disk scheduler: set policy of ad7 to noop
ad7: 244198MB <M4 CT256M4SSD2 040H> at ata3-slave UDMA33
ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb4e000-0xfeb4efff irq 18 at device 18.0 on pci0
usbus0: <AMD SB7x0/SB8x0/SB9x0 USB controller> on ohci0
ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb4d000-0xfeb4d0ff irq 17 at device 18.2 on pci0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: EHCI version 1.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
usbus1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> on ehci0
ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb4c000-0xfeb4cfff irq 18 at device 19.0 on pci0
usbus1: 480Mbps High Speed USB v2.0
ugen1.1: <ATI> at usbus1
uhub1: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
usbus2: <AMD SB7x0/SB8x0/SB9x0 USB controller> on ohci1
ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb4b000-0xfeb4b0ff irq 17 at device 19.2 on pci0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: EHCI version 1.0
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
usbus3: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> on ehci1
pci0: <serial bus, SMBus> (vendor 0x1002, dev 0x4385) at device 20.0
atapci1: <ATI ATA controller> port 0xf100-0xf10f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 17 at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
usbus3: 480Mbps High Speed USB v2.0
pci0: <multimedia, HDA> (vendor 0x1002, dev 0x4383) at device 20.2 irq 16
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb4a000-0xfeb4afff irq 18 at device 20.5 on pci0
ugen3.1: <ATI> at usbus3
uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
usbus4: <AMD SB7x0/SB8x0/SB9x0 USB controller> on ohci2
pcib3: <ACPI PCI-PCI bridge> at device 21.0 on pci0
pci3: <ACPI PCI bus> on pcib3
ath0: <Atheros 9285> mem 0xfdf00000-0xfdf0ffff irq 16 at device 0.0 on pci3
[ath] AR9285 Main LNA config: LNA2
[ath] AR9285 Alt LNA config: LNA1
[ath] LNA diversity enabled, Diversity enabled
[ath] Enabling diversity for Kite
usbus4: 12Mbps Full Speed USB v1.0
uhub0: 5 ports with 5 removable, self powered
uhub2: 5 ports with 5 removable, self powered
ath0: AR9285 mac 192.2 RF5133 phy 14.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
pcib4: <ACPI PCI-PCI bridge> at device 21.2 on pci0
pci6: <ACPI PCI bus> on pcib4
pci6: <serial bus, USB> (vendor 0x1106, dev 0x3432) at device 0.0 irq 18
pcib5: <ACPI PCI-PCI bridge> at device 21.3 on pci0
pci7: <ACPI PCI bus> on pcib5
re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xd0000000-0xd0003fff,0xfe900000-0xfe900fff irq 19 at device 0.0 on pci7
re0: Hardware rev. 0x2c000000; PCI-E 125MHz
miibus0: <MII bus> on re0
rgephy0: <8211B/RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
re0: MAC address: 00:01:2e:33:70:13
ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb49000-0xfeb49fff irq 18 at device 22.0 on pci0
usbus5: <AMD SB7x0/SB8x0/SB9x0 USB controller> on ohci3
ehci2: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb48000-0xfeb480ff irq 17 at device 22.2 on pci0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: EHCI version 1.0
ugen5.1: <ATI> at usbus5
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
usbus6: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> on ehci2
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
cpu0: <ACPI CPU> on acpi0
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu_pst0: <ACPI CPU P-State> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu_cst1: <ACPI CPU C-State> on cpu1
cpu_pst1: <ACPI CPU P-State> on cpu1
ACPI: Enabled 1 GPEs in block 00 to 1F
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
usbus6: 480Mbps High Speed USB v2.0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio2: can't drain, serial port might not exist, disabling
ppc0: cannot reserve I/O port range
ugen6.1: <ATI> at usbus6
uhub6: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
hpt27xx: no controller detected.
CAM: Configuring 4 busses
CAM: finished configuring all busses
disk scheduler: set policy of cd0 to noop
cd0 at ata0 bus 0 target 0 lun 0
cd0: <TSSTcorp CDDVDW SH-222BB SB00> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
uhub4: 2 ports with 2 removable, self powered
uhub5: 4 ports with 4 removable, self powered
uhub1: 5 ports with 5 removable, self powered
uhub3: 5 ports with 5 removable, self powered
uhub6: 4 ports with 4 removable, self powered
ugen0.2: <Microsoft> at usbus0
ums0: <Microsoft Microsoft Basic Optical Mouse v2.0, class 0/0, rev 1.10/1.99, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen5.2: <Logitech> at usbus5
ukbd0: <Logitech USB Receiver, class 0/0, rev 1.10/17.00, addr 2> on usbus5
kbd2 at ukbd0
ums1: <Logitech USB Receiver, class 0/0, rev 1.10/17.00, addr 2> on usbus5
ums1: 16 buttons and [XYZ] coordinates ID=1
ugen3.2: <JetFlash> at usbus3
umass0: <JetFlash Mass Storage Device, class 0/0, rev 2.10/10.75, addr 2> on usbus3
disk scheduler: set policy of da8 to noop
da8 at umass-sim0 bus 0 target 0 lun 0
da8: <JetFlash Transcend 16GB 1.00> Removable Direct Access SCSI-6 device 
da8: Serial Number 245221919
da8: 40.000MB/s transfers
da8: 15072MB (30867456 512 byte sectors: 255H 63S/T 1921C)
no B_DEVMAGIC (bootdev=0)
Mounting root from hammer:serno/000000001309092D867C.s1d
HAMMER(ROOT) recovery check seqno=03ac7be6
HAMMER(ROOT) recovery range 3000000008729888-3000000008729888
HAMMER(ROOT) recovery nexto 3000000008729888 endseqno=03ac7be7
HAMMER(ROOT) mounted clean, no recovery needed
DMA space used: 14208k, remaining available: 16384k
Mounting devfs
info: [drm] Initialized drm 1.1.0 20060810
drm0: <Wrestler [Radeon HD 6310]> on vgapci0
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (PALM 0x1002:0x9802 0x19DA:0xA182).
info: [drm] register mmio base: 0xFEB00000
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method...
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xb0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe121640000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xb0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe121640000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
error: [drm:pid880:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
drm0: error: Fatal error during GPU init
info: [drm] radeon: finishing device.
[TTM] Memory type 2 has not been initialized
device_probe_and_attach: drm0 attach returned 22


More information about the Users mailing list