← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 574814] Re: virtual console broken

 

It turns out that this is related to kms.

Each of the following 3 actions "fixes" it:

1. Add nomodeset to kernel boot options, or
2. Add radeon.modeset=0 to kernel boot options, or
3. Add "options radeon modeset=0" to a modprobe.d config file

Using workaround #3 allowed me to get debug output of the problem. I
stopped X, removed the radeon module, and then inserted it using
modprobe radeon modeset=1. This instantly blanked the virtual console
that I was typing in, and logged the messages below:

Jul 20 19:27:28 hitchhiker kernel: [  148.952280] [drm] radeon kernel modesetting enabled.
Jul 20 19:27:28 hitchhiker kernel: [  148.958996] [drm] radeon: Initializing kernel modesetting.
Jul 20 19:27:28 hitchhiker kernel: [  148.959353] [drm] register mmio base: 0xFDCF0000
Jul 20 19:27:28 hitchhiker kernel: [  148.959358] [drm] register mmio size: 65536
Jul 20 19:27:28 hitchhiker kernel: [  148.960690] ATOM BIOS: ATI
Jul 20 19:27:28 hitchhiker kernel: [  148.960947] [drm] GPU reset succeed (RBBM_STATUS=0x10000140)
Jul 20 19:27:28 hitchhiker kernel: [  148.960976] [drm] radeon: VRAM 128M
Jul 20 19:27:28 hitchhiker kernel: [  148.960980] [drm] radeon: VRAM from 0xD8000000 to 0xDFFFFFFF
Jul 20 19:27:28 hitchhiker kernel: [  148.960984] [drm] radeon: GTT 512M
Jul 20 19:27:28 hitchhiker kernel: [  148.960987] [drm] radeon: GTT from 0x00000000 to 0x1FFFFFFF
Jul 20 19:27:28 hitchhiker kernel: [  148.961097] [drm] radeon: using MSI.
Jul 20 19:27:28 hitchhiker kernel: [  148.961143] [drm] radeon: irq initialized.
Jul 20 19:27:28 hitchhiker kernel: [  148.962198] [drm] Detected VRAM RAM=128M, BAR=128M
Jul 20 19:27:28 hitchhiker kernel: [  148.962209] [drm] RAM width 128bits DDR
Jul 20 19:27:28 hitchhiker kernel: [  148.962457] [TTM] Zone  kernel: Available graphics memory: 1964360 kiB.
Jul 20 19:27:28 hitchhiker kernel: [  148.962504] [drm] radeon: 128M of VRAM memory ready
Jul 20 19:27:28 hitchhiker kernel: [  148.962508] [drm] radeon: 512M of GTT memory ready.
Jul 20 19:27:28 hitchhiker kernel: [  148.962561] [drm] GART: num cpu pages 131072, num gpu pages 131072
Jul 20 19:27:28 hitchhiker kernel: [  148.970961] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
Jul 20 19:27:28 hitchhiker kernel: [  148.973123] [drm] radeon: cp idle (0x10000000)
Jul 20 19:27:28 hitchhiker kernel: [  148.973243] [drm] Loading RS690/RS740 Microcode
Jul 20 19:27:28 hitchhiker kernel: [  148.973423] platform radeon_cp.0: firmware: requesting radeon/RS690_cp.bin
Jul 20 19:27:28 hitchhiker kernel: [  148.978247] [drm] radeon: ring at 0x0000000000000000
Jul 20 19:27:28 hitchhiker kernel: [  148.978278] [drm] ring test succeeded in 1 usecs
Jul 20 19:27:28 hitchhiker kernel: [  148.978666] [drm] radeon: ib pool ready.
Jul 20 19:27:28 hitchhiker kernel: [  148.978848] [drm] ib test succeeded in 0 usecs
Jul 20 19:27:28 hitchhiker kernel: [  148.979089] [drm] Default TV standard: NTSC
Jul 20 19:27:28 hitchhiker kernel: [  148.979333] [drm] Radeon Display Connectors
Jul 20 19:27:28 hitchhiker kernel: [  148.979337] [drm] Connector 0:
Jul 20 19:27:28 hitchhiker kernel: [  148.979340] [drm]   VGA
Jul 20 19:27:28 hitchhiker kernel: [  148.979346] [drm]   DDC: 0x7e50 0x7e40 0x7e54 0x7e44 0x7e58 0x7e48 0x7e5c 0x7e4c
Jul 20 19:27:28 hitchhiker kernel: [  148.979349] [drm]   Encoders:
Jul 20 19:27:28 hitchhiker kernel: [  148.979352] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
Jul 20 19:27:28 hitchhiker kernel: [  148.979356] [drm] Connector 1:
Jul 20 19:27:28 hitchhiker kernel: [  148.979359] [drm]   S-video
Jul 20 19:27:28 hitchhiker kernel: [  148.979361] [drm]   Encoders:
Jul 20 19:27:28 hitchhiker kernel: [  148.979364] [drm]     TV1: INTERNAL_KLDSCP_DAC1
Jul 20 19:27:28 hitchhiker kernel: [  148.979367] [drm] Connector 2:
Jul 20 19:27:28 hitchhiker kernel: [  148.979370] [drm]   HDMI-A
Jul 20 19:27:28 hitchhiker kernel: [  148.979373] [drm]   HPD2
Jul 20 19:27:28 hitchhiker kernel: [  148.979377] [drm]   DDC: 0x7e40 0x7e60 0x7e44 0x7e64 0x7e48 0x7e68 0x7e4c 0x7e6c
Jul 20 19:27:28 hitchhiker kernel: [  148.979381] [drm]   Encoders:
Jul 20 19:27:28 hitchhiker kernel: [  148.979384] [drm]     DFP2: INTERNAL_DDI
Jul 20 19:27:28 hitchhiker kernel: [  148.979387] [drm] Connector 3:
Jul 20 19:27:28 hitchhiker kernel: [  148.979390] [drm]   DVI-D
Jul 20 19:27:28 hitchhiker kernel: [  148.979394] [drm]   DDC: 0x7e40 0x7e50 0x7e44 0x7e54 0x7e48 0x7e58 0x7e4c 0x7e5c
Jul 20 19:27:28 hitchhiker kernel: [  148.979398] [drm]   Encoders:
Jul 20 19:27:28 hitchhiker kernel: [  148.979401] [drm]     DFP3: INTERNAL_LVTM1
Jul 20 19:27:28 hitchhiker kernel: [  149.044036] 
Jul 20 19:27:28 hitchhiker kernel: [  149.100499] 
Jul 20 19:27:28 hitchhiker kernel: [  149.156769] 
Jul 20 19:27:28 hitchhiker kernel: [  149.215148] 
Jul 20 19:27:28 hitchhiker kernel: [  149.215150] radeon 0000:01:05.0: HDMI Type A-1: EDID invalid.
Jul 20 19:27:29 hitchhiker kernel: [  149.508155] 
Jul 20 19:27:29 hitchhiker kernel: [  149.564389] 
Jul 20 19:27:29 hitchhiker kernel: [  149.620638] 
Jul 20 19:27:29 hitchhiker kernel: [  149.678867] 
Jul 20 19:27:29 hitchhiker kernel: [  149.678868] radeon 0000:01:05.0: HDMI Type A-1: EDID invalid.
Jul 20 19:27:29 hitchhiker kernel: [  149.751509] [drm] fb mappable at 0xF0040000
Jul 20 19:27:29 hitchhiker kernel: [  149.751510] [drm] vram apper at 0xF0000000
Jul 20 19:27:29 hitchhiker kernel: [  149.751511] [drm] size 7257600
Jul 20 19:27:29 hitchhiker kernel: [  149.751513] [drm] fb depth is 24
Jul 20 19:27:29 hitchhiker kernel: [  149.751514] [drm]    pitch is 6912
Jul 20 19:27:29 hitchhiker kernel: [  149.751604] fb1: radeondrmfb frame buffer device
Jul 20 19:27:29 hitchhiker kernel: [  149.751606] registered panic notifier
Jul 20 19:27:29 hitchhiker kernel: [  149.751611] [drm] Initialized radeon 2.0.0 20080528 for 0000:01:05.0 on minor 0

Much less is logged when inserting the module with modeset=0 :

Jul 20 19:29:14 hitchhiker kernel: [   21.997011] [drm] Initialized drm 1.1.0 20060810
Jul 20 19:29:14 hitchhiker kernel: [   22.232362] [drm] Initialized radeon 1.32.0 20080528 for 0000:01:05.0 on minor 0
Jul 20 19:29:15 hitchhiker kernel: [   23.107216] [drm] Setting GART location based on new memory map
Jul 20 19:29:15 hitchhiker kernel: [   23.107621] [drm] Loading RS690/RS740 Microcode
Jul 20 19:29:15 hitchhiker kernel: [   23.107625] platform radeon_cp.0: firmware: requesting radeon/RS690_cp.bin
Jul 20 19:29:15 hitchhiker kernel: [   23.165467] [drm] Num pipes: 1
Jul 20 19:29:15 hitchhiker kernel: [   23.165475] [drm] writeback test succeeded in 1 usecs

-- 
virtual console broken
https://bugs.launchpad.net/bugs/574814
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-r128 in ubuntu.



References