This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wifi-Display and WB-Pipeline Problem

Other Parts Discussed in Thread: 4430

Hi there,

im playing around with the WiFi-Display tool which streams the display of a device to another device and ran into a problem. My hardware platform is a TI OMAP5 5432 uEVM ES2.0 (Panda5) board. My software platform is a Omappedia release http://omapedia.org/wiki/Panda5AJ.1.5_Release_Notes (Android 4.2 with a 3.4 Kernel).

I have two EVM boards and connect them via Ethernet. I start the wfd tools via "wfd -l ip:port" and one with "wfd -c ip:port". Both connect to each other and exchange some RTSP meta data. When it comes to streaming, the server's kernel panics and the whole device reboots. I think it has something to do with the writeback pipeline. I tried the same with OMAP4 hardware (same OS, android 4.2 with kernel 3.4) and had the same results. So i dont think its a hardware issue.

My question is: Has anyone here used the wfd tools successfully? Which software release did you use. Which hardware plattform did you use?6303.wfd_receiver.txt4745.wfd_sender.txt4137.wfd_sender_kernelpanic.txt I'll attach my logcat and kernel messages to this posting.

Thanx in advance and kind regards,

Christian

  • It seems there was a problem adding my logs. Therefore ill attach them here.

    WFD Receivers's logcat:

    V/wfd     ( 1030): WFD is started with -c flag
    V/wfd     ( 1030): Preparing to create a sink with host and port
    V/WifiDisplaySink( 1030): Invoked WifiDisplaySink::start with host and port
    V/WifiDisplaySink( 1030): Invoked WifiDisplaySink::postStartMessage
    V/WifiDisplaySink( 1030): Received a kWhatStart message
    V/RtspConfig( 1030): device name=""
    E/RtspConfig( 1030): Failed to determine device name
    D/WifiDisplaySink( 1030): The sink uses hardcoded video capabilities
    V/VideoParameters( 1030): Native mode 640x480p60
    D/WifiDisplaySink( 1030): The sink uses hardcoded audio capabilities
    I/NetworkSession( 1030): connecting socket 14 to 192.168.0.1:20000
    I/WifiDisplaySink( 1030): We're now connected.
    V/WifiDisplaySink( 1030): session 1 received 'OPTIONS * RTSP/1.0
    V/WifiDisplaySink( 1030): cseq: 1
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:16 +0000
    V/WifiDisplaySink( 1030): require: org.wfa.wfd1.0
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): '
    V/WifiDisplaySink( 1030): session 1 received 'RTSP/1.0 200 OK
    V/WifiDisplaySink( 1030): cseq: 1
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:16 +0000
    V/WifiDisplaySink( 1030): public: org.wfa.wfd1.0, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): '
    V/WifiDisplaySink( 1030): session 1 received 'GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0
    V/WifiDisplaySink( 1030): content-length: 83
    V/WifiDisplaySink( 1030): content-type: text/parameters
    V/WifiDisplaySink( 1030): cseq: 2
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:16 +0000
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): wfd_content_protection
    V/WifiDisplaySink( 1030): wfd_video_formats
    V/WifiDisplaySink( 1030): wfd_audio_codecs
    V/WifiDisplaySink( 1030): wfd_client_rtp_ports
    V/WifiDisplaySink( 1030): '
    V/WifiDisplaySink( 1030): session 1 received 'SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0
    V/WifiDisplaySink( 1030): content-length: 246
    V/WifiDisplaySink( 1030): content-type: text/parameters
    V/WifiDisplaySink( 1030): cseq: 3
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:16 +0000
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): wfd_video_formats: 00 00 01 01 00000040 00000000 00000000 00 0000 0000 00 none none
    V/WifiDisplaySink( 1030): wfd_audio_codecs: AAC 00000001 00
    V/WifiDisplaySink( 1030): wfd_presentation_URL: rtsp://192.168.0.1/wfd1.0/streamid=0 none
    V/WifiDisplaySink( 1030): wfd_client_rtp_ports: RTP/AVP/UDP;unicast 15550 0 mode=play
    V/WifiDisplaySink( 1030): '
    V/VideoParameters( 1030): Native mode 640x480p60
    D/WifiDisplaySink( 1030): SETUP CBP 3.1 1280x720p60 AAC 48000Hz 16bits 2ch
    V/WifiDisplaySink( 1030): session 1 received 'SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0
    V/WifiDisplaySink( 1030): content-length: 27
    V/WifiDisplaySink( 1030): content-type: text/parameters
    V/WifiDisplaySink( 1030): cseq: 4
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:16 +0000
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): wfd_trigger_method: SETUP
    V/WifiDisplaySink( 1030): '
    V/WifiDisplaySink( 1030): request = 'SETUP rtsp://192.168.0.1/wfd1.0/streamid=0 RTSP/1.0
    V/WifiDisplaySink( 1030): Date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySink( 1030): User-Agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySink( 1030): CSeq: 2
    V/WifiDisplaySink( 1030): Transport: RTP/AVP/UDP;unicast;client_port=15550-15551
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): '
    V/WifiDisplaySink( 1030): session 1 received 'RTSP/1.0 200 OK
    V/WifiDisplaySink( 1030): cseq: 2
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:17 +0000
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030): session: 2034167084;timeout=30
    V/WifiDisplaySink( 1030): transport: RTP/AVP/UDP;unicast;client_port=15550-15551;server_port=15550-15551
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): '
    I/RTPSink ( 1030): connecting RTP/RTCP sockets to 192.168.0.1:{15550,15551}
    V/WifiDisplaySink( 1030): session 1 received 'RTSP/1.0 200 OK
    V/WifiDisplaySink( 1030): cseq: 3
    V/WifiDisplaySink( 1030): date: Sat, 01 Jan 2000 00:11:17 +0000
    V/WifiDisplaySink( 1030): range: npt=now-
    V/WifiDisplaySink( 1030): server: Mine/1.0
    V/WifiDisplaySink( 1030): session: 2034167084;timeout=30
    V/WifiDisplaySink( 1030):
    V/WifiDisplaySink( 1030): '

    WFD Receiver's Logcat:

    V/wfd     ( 1022): WFD is started with -l flag
    W/AudioPolicyManagerBase(  108): setDeviceConnectionState() device already connected: -2147483392
    V/RtspConfig(  108): device name=""
    E/RtspConfig(  108): Failed to determine device name
    D/WifiDisplaySource(  108): The source uses hardcoded video capabilities
    V/VideoParameters(  108): Native mode 1280x720p60
    D/WifiDisplaySource(  108): The source uses hardcoded audio capabilities
    I/NetworkSession(  108): incoming connection from 192.168.0.2:57003 (socket 29)
    I/NetworkSession(  108): added clientSession 2
    I/WifiDisplaySource(  108): We now have a client (2) connected.
    V/WifiDisplaySource(  108): session 2 received 'RTSP/1.0 200 OK
    V/WifiDisplaySource(  108): cseq: 1
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): public: org.wfa.wfd1.0, GET_PARAMETER, SET_PARAMETER
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): '
    V/WifiDisplaySource(  108): session 2 received 'OPTIONS * RTSP/1.0
    V/WifiDisplaySource(  108): cseq: 1
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): require: org.wfa.wfd1.0
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): '
    V/WifiDisplaySource(  108): session 2 received 'RTSP/1.0 200 OK
    V/WifiDisplaySource(  108): content-length: 199
    V/WifiDisplaySource(  108): content-type: text/parameters
    V/WifiDisplaySource(  108): cseq: 2
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): wfd_video_formats: 00 00 01 01 0001ffff 3fffffff 00000fff 00 0000 0000 00 none none
    V/WifiDisplaySource(  108): wfd_audio_codecs: LPCM 00000003 00, AAC 00000001 00
    V/WifiDisplaySource(  108): wfd_client_rtp_ports: RTP/AVP/UDP;unicast 15550 0 mode=play
    V/WifiDisplaySource(  108): '
    V/VideoParameters(  108): Native mode 640x480p60
    I/VideoParameters(  108): The best video mode based on source native resolution CBP 3.1 1280x720p60
    D/WifiDisplaySource(  108): Source choice of video mode is CBP 3.1 1280x720p60
    V/AudioParameters(  108): Do choice of best audio mode
    V/AudioParameters(  108): AAC 48000Hz 16bits 2ch
    V/AudioParameters(  108): Best audio mode AAC 48000Hz 16bits 2ch
    D/WifiDisplaySource(  108): Source choice of audio mode is AAC 48000Hz 16bits 2ch
    I/WifiDisplaySource(  108): Sink doesn't appear to support content protection.
    V/WifiDisplaySource(  108): session 2 received 'RTSP/1.0 200 OK
    V/WifiDisplaySource(  108): cseq: 3
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): '
    V/WifiDisplaySource(  108): session 2 received 'RTSP/1.0 200 OK
    V/WifiDisplaySource(  108): cseq: 4
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): '
    V/WifiDisplaySource(  108): session 2 received 'SETUP rtsp://192.168.0.1/wfd1.0/streamid=0 RTSP/1.0
    V/WifiDisplaySource(  108): cseq: 2
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): transport: RTP/AVP/UDP;unicast;client_port=15550-15551
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): '
    I/Converter(  108): Using video bitrate of 5000000 bps
    V/Converter(  108): output format is 'AMessage(what = 0x00000000) = {
    V/Converter(  108):   string mime = "video/avc"
    V/Converter(  108):   int32_t width = 1280
    V/Converter(  108):   int32_t height = 720
    V/Converter(  108):   int32_t store-metadata-in-buffers = 1
    V/Converter(  108):   int32_t color-format = 2130708361
    V/Converter(  108):   int32_t frame-rate = 60
    V/Converter(  108):   int32_t bitrate = 5000000
    V/Converter(  108):   int32_t bitrate-mode = 2
    V/Converter(  108):   int32_t i-frame-interval = 15
    V/Converter(  108):   int32_t intra-refresh-CIR-mbs = 360
    V/Converter(  108):   int32_t wfd-enabled = 1
    V/Converter(  108): }'
    W/ACodec  (  108): Use baseline profile instead of 8 for AVC recording
    I/ACodec  (  108): setupVideoEncoder succeeded
    W/AudioPolicyManagerBase(  108): getInput() could not find profile for device 80000100, samplingRate 48000, format 1,channelMask 000c
    E/AudioRecord(  108): Could not get audio input for record source 8
    W/PlaybackSession(  108): Unable to instantiate audio source
    I/Sender  (  108): rtpSessionID = 3, rtcpSessionID = 4
    V/WifiDisplaySource(  108): session 2 received 'PLAY rtsp://192.168.0.1/wfd1.0/streamid=0 RTSP/1.0
    V/WifiDisplaySource(  108): cseq: 3
    V/WifiDisplaySource(  108): date: Tue, 04 Jan 2000 23:47:24 +0000
    V/WifiDisplaySource(  108): session: 2034167084
    V/WifiDisplaySource(  108): user-agent: stagefright/1.1 (Linux;Android 4.1)
    V/WifiDisplaySource(  108):
    V/WifiDisplaySource(  108): '
    I/WifiDisplaySource(  108): Received PLAY request.
    V/PlaybackSession(  108): Track::start isAudio=0
    V/CaptureDevice(  108): DSSWB binder available
    V/CaptureDevice(  108): WB config: screen = 1920x1080, capture = 1280x720
    I/wfd     ( 1022): onDisplayConnected width=1280, height=720, flags = 0x00000000
    E/SurfaceFlinger(  105): received event for an invalid display (id=2)
    I/ti_hwc  (  105): Virtual display 2 has been connected

    Sender's kernel panic:

    [  700.303009] Unable to handle kernel paging request at virtual address da128f50
    [  700.310668] pgd = d2bec000
    [  700.313537] [da128f50] *pgd=00000000
    [  700.317352] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
    [  700.322967] Modules linked in: pvrsrvkm_sgx544_116(O)
    [  700.328338] CPU: 0    Tainted: G        W  O  (3.4.34-01535-g499e8d5 #1)
    [  700.335449] PC is at dsscomp_gralloc_queue+0x458/0x1138
    [  700.341003] LR is at dsscomp_set_mgr+0x68/0x78
    [  700.345703] pc : [<c02a73cc>]    lr : [<c02a4430>]    psr: 20000013
    [  700.345703] sp : d404dcc8  ip : 00000000  fp : d404dddc
    [  700.357849] r10: c1836c90  r9 : d404dd10  r8 : d22d13c0
    [  700.363372] r7 : d404dd2c  r6 : c0a5e318  r5 : 00000002  r4 : d182e000
    [  700.370269] r3 : da128ff0  r2 : 00000001  r1 : d182e038  r0 : d404ddb0
    [  700.377166] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [  700.384918] Control: 10c5387d  Table: 92bec06a  DAC: 00000015
    [  700.390991]
    [  700.390991] PC: 0xc02a734c:
    [  700.395507] 734c  3affffe6 e2855001 e2877028 e1510005 8afffff4 e1a0c008 e1a0800a e3a05000
    [  700.404296] 736c  e50b80e8 e1a0a005 e3a07001 e1a0800c e50b50d8 e0181a17 1a000166 e28aa001
    [  700.413055] 738c  e2855004 e35a0003 1afffff9 e1d410ba e51b80e8 e3510000 0a000010 e24b70b8
    [  700.421813] 73ac  e3a05000 e5b7a004 e0851105 e24b002c e2855001 e0841181 e080310a e2811010
    [  700.430572] 73cc  e51300a0 ebfff3fc e250c000 1a000148 e1d410ba e1510005 8afffff1 e50bc0d8
    [  700.439331] 73ec  e1d430b8 e3530000 03e0c000 050bc0dc 0a000092 e3a0c000 e3a0506c e1a0700c
    [  700.448089] 740c  e51b30dc e0254795 e3510000 e50b90fc e1a0900a e50bc0e8 e1a0a003 e50bc0ec
    [  700.456878] 742c  e2855088 e50bc0dc e50b80f8 0a00006e e5943010 e5d5005c e1530000 11a03004
    [  700.465637]
    [  700.465637] LR: 0xc02a43b0:
    [  700.470153] 43b0  e59f000c eb0f83af e3a00000 e89da830 e7f001f2 c09c3630 e1a0c00d e92dd830
    [  700.478942] 43d0  e24cb004 e1a04000 e59f005c e1a05001 eb0f8420 e5942000 e301356e e34a3c54
    [  700.487701] 43f0  e1520003 1a00000f e5952000 e5943030 e1520003 1a00000b e1a0e005 e284c030
    [  700.496459] 4410  e8be000f e8ac000f e8be000f e8ac000f e89e0003 e88c0003 e59f000c eb0f8391
    [  700.505218] 4430  e3a00000 e89da830 e7f001f2 c09c3630 e1a0c00d e92dd8f0 e24cb004 e1a05000
    [  700.513977] 4450  e59f00e4 e1a06002 e1a07001 eb0f8401 e3560000 0a000033 e5952000 e301356e
    [  700.522735] 4470  e34a3c54 e1520003 1a00002e e59f30bc e2574004 13a04001 e5933000 e593302c
    [  700.531524] 4490  e1530007 83a04000 e3540000 1a000023 e5953008 e3a02001 e0133712 0a00001d
    [  700.540283]
    [  700.540283] SP: 0xd404dc48:
    [  700.544799] dc48  c004c620 c02480f0 00c42396 118e15b3 4d28dfb3 d404dc98 c02a73cc 20000013
    [  700.553558] dc68  ffffffff d404dcb4 d404dddc d404dc80 c0687e98 c0008370 d404ddb0 d182e038
    [  700.562316] dc88  00000001 da128ff0 d182e000 00000002 c0a5e318 d404dd2c d22d13c0 d404dd10
    [  700.571105] dca8  c1836c90 d404dddc 00000000 d404dcc8 c02a4430 c02a73cc 20000013 ffffffff
    [  700.579864] dcc8  00000000 00000000 c007c324 d42bfc84 c00548b4 00000000 d404ddf8 00000002
    [  700.588623] dce8  00000000 d404dd1c 00000000 d22d13c0 d22d13d0 000aaf86 d404de18 00000000
    [  700.597381] dd08  0cce33d8 000000a3 00000000 d271d800 00000000 00000000 00000000 00000000
    [  700.606170] dd28  00000001 c1836c90 d404dd7c 00000000 00000000 00000000 00000000 000002bc
    [  700.614929]
    [  700.614929] FP: 0xd404dd5c:
    [  700.619476] dd5c  bf01f36c d2929200 d403d540 00000006 d404de08 d404dd94 d404dda4 d404dd94
    [  700.628234] dd7c  d404dd88 bf000f48 bf007728 d404dddc d404dd98 bf00d718 bf000f3c 00000000
    [  700.636993] dd9c  00438000 d404ddc4 00000000 002d0000 c007aa40 00000000 d24dbe00 d182e144
    [  700.645751] ddbc  00000003 d404de24 00000000 00000002 d182e000 d404de94 d404dde0 c02a9764
    [  700.654510] dddc  c02a6f80 d2400400 c0078b5c d2400400 d22d1600 00000000 00000002 00000002
    [  700.663299] ddfc  d404de40 00000000 c1836c90 00000002 c1836c90 60000000 68001000 00000000
    [  700.672058] de1c  00000000 00000000 c00797bc fffffffe 94400000 00000000 00000000 60000000
    [  700.680816] de3c  68001000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.689575]
    [  700.689605] R0: 0xd404dd30:
    [  700.694122] dd30  d404dd7c 00000000 00000000 00000000 00000000 000002bc 00047e6d c1836c90
    [  700.702880] dd50  d404dd84 d404dd60 bf007780 bf01f36c d2929200 d403d540 00000006 d404de08
    [  700.711639] dd70  d404dd94 d404dda4 d404dd94 d404dd88 bf000f48 bf007728 d404dddc d404dd98
    [  700.720397] dd90  bf00d718 bf000f3c 00000000 00438000 d404ddc4 00000000 002d0000 c007aa40
    [  700.729156] ddb0  00000000 d24dbe00 d182e144 00000003 d404de24 00000000 00000002 d182e000
    [  700.737945] ddd0  d404de94 d404dde0 c02a9764 c02a6f80 d2400400 c0078b5c d2400400 d22d1600
    [  700.746704] ddf0  00000000 00000002 00000002 d404de40 00000000 c1836c90 00000002 c1836c90
    [  700.755462] de10  60000000 68001000 00000000 00000000 00000000 c00797bc fffffffe 94400000
    [  700.764221]
    [  700.764251] R1: 0xd182dfb8:
    [  700.768768] dfb8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.777526] dfd8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.786285] dff8  00000000 00000000 00000a93 00000003 00020003 00000000 00000000 00000000
    [  700.795043] e018  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
    [  700.803802] e038  00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.812561] e058  00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.821319] e078  00000000 00000000 00000000 00000000 04380780 00001e00 00000800 0000ff01
    [  700.830108] e098  00000000 00000000 00000000 00000780 00000438 00000000 00000000 00000780
    [  700.838867]
    [  700.838867] R3: 0xda128f70:
    [  700.843383] 8f70  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.852172] 8f90  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.860961] 8fb0  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.869720] 8fd0  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.878509] 8ff0  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.887298] 9010  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.896057] 9030  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.904846] 9050  ******** ******** ******** ******** ******** ******** ******** ********
    [  700.913635]
    [  700.913635] R4: 0xd182df80:
    [  700.918151] df80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.926910] dfa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.935668] dfc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.944427] dfe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.953216] e000  00000a93 00000003 00020003 00000000 00000000 00000000 00000000 00000000
    [  700.961975] e020  00000000 00000000 00000000 00000000 00000000 00000001 00000001 00000000
    [  700.970733] e040  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
    [  700.979492] e060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  700.988250]
    [  700.988250] R6: 0xc0a5e298:
    [  700.992797] e298  d271d800 c08386d8 000a79ce 00000000 c0859da8 00000000 d25d1340 c085a02c
    [  701.001556] e2b8  000a79ce c02a9094 d29e9000 00000000 d25d1340 c085a054 000a79ce c02a4d9c
    [  701.010314] e2d8  c0859da8 00000028 d25fb000 c0859d60 000a79ce c02a4d9c c0859d54 00000028
    [  701.019073] e2f8  d271d800 c0859d60 000a8899 c02a6f74 00000000 00000000 d1532d40 c085a18c
    [  701.027832] e318  00000000 00000001 c0a5e32c c0a5e348 d43ef140 c0a5e348 c0a5e320 d42c8b40
    [  701.036621] e338  7f000000 00001000 e0906000 00000000 c0a5e320 c0a5e32c d42c8ac0 7e000000
    [  701.045379] e358  00001000 e090b000 00000001 00000000 00000000 00000000 00000000 00000000
    [  701.054138] e378  00000000 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.062896]
    [  701.062896] R7: 0xd404dcac:
    [  701.067443] dcac  d404dddc 00000000 d404dcc8 c02a4430 c02a73cc 20000013 ffffffff 00000000
    [  701.076202] dccc  00000000 c007c324 d42bfc84 c00548b4 00000000 d404ddf8 00000002 00000000
    [  701.084960] dcec  d404dd1c 00000000 d22d13c0 d22d13d0 000aaf86 d404de18 00000000 0cce33d8
    [  701.093719] dd0c  000000a3 00000000 d271d800 00000000 00000000 00000000 00000000 00000001
    [  701.102478] dd2c  c1836c90 d404dd7c 00000000 00000000 00000000 00000000 000002bc 00047e6d
    [  701.111236] dd4c  c1836c90 d404dd84 d404dd60 bf007780 bf01f36c d2929200 d403d540 00000006
    [  701.120025] dd6c  d404de08 d404dd94 d404dda4 d404dd94 d404dd88 bf000f48 bf007728 d404dddc
    [  701.128784] dd8c  d404dd98 bf00d718 bf000f3c 00000000 00438000 d404ddc4 00000000 002d0000
    [  701.137542]
    [  701.137542] R8: 0xd22d1340:
    [  701.142089] 1340  d25206c0 000000e5 d231f940 00000005 00000000 d22d8c40 cb517c00 d24dce40
    [  701.150848] 1360  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.159606] 1380  00000000 d22f1ac0 f4006fe0 d19b79c0 d22d1340 d1995dc0 00000000 d24dc0c0
    [  701.168365] 13a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.177124] 13c0  c02a9094 d2400400 c09c36dc d1532d48 d22d13d0 d22d13d0 00000001 00000000
    [  701.185913] 13e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.194671] 1400  00000001 f243e180 00000e80 d258e780 d1a36280 d258b380 00000000 d2a797c0
    [  701.203430] 1420  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.212188]
    [  701.212188] R9: 0xd404dc90:
    [  701.216735] dc90  d182e000 00000002 c0a5e318 d404dd2c d22d13c0 d404dd10 c1836c90 d404dddc
    [  701.225494] dcb0  00000000 d404dcc8 c02a4430 c02a73cc 20000013 ffffffff 00000000 00000000
    [  701.234252] dcd0  c007c324 d42bfc84 c00548b4 00000000 d404ddf8 00000002 00000000 d404dd1c
    [  701.243011] dcf0  00000000 d22d13c0 d22d13d0 000aaf86 d404de18 00000000 0cce33d8 000000a3
    [  701.251800] dd10  00000000 d271d800 00000000 00000000 00000000 00000000 00000001 c1836c90
    [  701.260559] dd30  d404dd7c 00000000 00000000 00000000 00000000 000002bc 00047e6d c1836c90
    [  701.269317] dd50  d404dd84 d404dd60 bf007780 bf01f36c d2929200 d403d540 00000006 d404de08
    [  701.278076] dd70  d404dd94 d404dda4 d404dd94 d404dd88 bf000f48 bf007728 d404dddc d404dd98
    [  701.286865]
    [  701.286865] R10: 0xc1836c10:
    [  701.291473] 6c10  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.300231] 6c30  00000000 00000000 00000000 00000000 00000000 00000000 00000002 00000000
    [  701.309020] 6c50  0000005a 0000004c 00000035 00000024 0000c825 00000000 00000000 00000000
    [  701.317779] 6c70  00000004 00000000 0000060e 00000000 00004288 00000000 0002c59b 00000000
    [  701.326538] 6c90  0000060e 00000000 00000002 00000002 4504a0a4 00000006 f93c2406 0000000e
    [  701.335296] 6cb0  f93c2406 0000000e d2929208 d2929208 d403d578 00000000 00000000 00000000
    [  701.344085] 6cd0  000000bc c1836c40 00000001 c1837090 d2a26e8c c0a07138 00000073 00000000
    [  701.352844] 6cf0  00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000
    [  701.361602] Process kworker/u:0 (pid: 5, stack limit = 0xd404c2f8)
    [  701.368133] Stack: (0xd404dcc8 to 0xd404e000)
    [  701.372772] dcc0:                   00000000 00000000 c007c324 d42bfc84 c00548b4 00000000
    [  701.381408] dce0: d404ddf8 00000002 00000000 d404dd1c 00000000 d22d13c0 d22d13d0 000aaf86
    [  701.390075] dd00: d404de18 00000000 0cce33d8 000000a3 00000000 d271d800 00000000 00000000
    [  701.398712] dd20: 00000000 00000000 00000001 c1836c90 d404dd7c 00000000 00000000 00000000
    [  701.407379] dd40: 00000000 000002bc 00047e6d c1836c90 d404dd84 d404dd60 bf007780 bf01f36c
    [  701.416015] dd60: d2929200 d403d540 00000006 d404de08 d404dd94 d404dda4 d404dd94 d404dd88
    [  701.424682] dd80: bf000f48 bf007728 d404dddc d404dd98 bf00d718 bf000f3c 00000000 00438000
    [  701.433349] dda0: d404ddc4 00000000 002d0000 c007aa40 00000000 d24dbe00 d182e144 00000003
    [  701.441986] ddc0: d404de24 00000000 00000002 d182e000 d404de94 d404dde0 c02a9764 c02a6f80
    [  701.450622] dde0: d2400400 c0078b5c d2400400 d22d1600 00000000 00000002 00000002 d404de40
    [  701.459289] de00: 00000000 c1836c90 00000002 c1836c90 60000000 68001000 00000000 00000000
    [  701.467926] de20: 00000000 c00797bc fffffffe 94400000 00000000 00000000 60000000 68001000
    [  701.476593] de40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  701.485229] de60: 00000000 00000000 00000000 00000000 d245bb50 d2400400 d24de7c0 00000000
    [  701.493896] de80: bf043488 c0974d78 d404deac d404de98 c02a9a94 c02a92f4 d182e000 000002a8
    [  701.502563] dea0: d404df04 d404deb0 bf01734c c02a9a34 c0a06840 d2b64000 bf04346c bf0433c4
    [  701.511199] dec0: 00000001 d245b800 00000350 00000000 d245bba0 d2522e00 bf014070 bf0433c4
    [  701.519836] dee0: d404c000 c0a06840 d2b64000 d24cfb5c c094cc00 c0974d78 d404df1c d404df08
    [  701.528503] df00: bf0154d0 bf017000 bf000a68 d4015600 d404df2c d404df20 bf000a7c bf0154b4
    [  701.537139] df20: d404df6c d404df30 c0061a10 bf000a74 c0a06848 d2b64005 bf000a68 00000000
    [  701.545776] df40: d404df5c d4015600 c0a06840 c0a06848 d4015610 d404c000 c094cc00 c0974d78
    [  701.554443] df60: d404dfb4 d404df70 c0061f14 c00618e8 d404df8c d404df80 c06873b8 c094cc00
    [  701.563110] df80: c094cc00 c094cc00 00000013 d402deac d4015600 c0061d88 00000013 00000000
    [  701.571746] dfa0: 00000000 00000000 d404dff4 d404dfb8 c0066990 c0061d94 00000000 00000000
    [  701.580383] dfc0: d4015600 00000000 00000000 00000000 d404dfd0 d404dfd0 00000000 d402deac
    [  701.589050] dfe0: c0066900 c004a968 00000000 d404dff8 c004a968 c006690c bdfd8eb8 f78cb2b5
    [  701.597686] Backtrace:
    [  701.600311] [<c02a6f74>] (dsscomp_gralloc_queue+0x0/0x1138) from [<c02a9764>] (ProcessFlipV2+0x47c/0)
    [  701.610443] [<c02a92e8>] (ProcessFlipV2+0x0/0x4f4) from [<c02a9a94>] (ProcessFlip+0x6c/0x70)
    [  701.619476] [<c02a9a28>] (ProcessFlip+0x0/0x70) from [<bf01734c>] (PVRSRVProcessQueues+0x358/0x498 [)
    [  701.631256] [<bf016ff4>] (PVRSRVProcessQueues+0x0/0x498 [pvrsrvkm_sgx544_116]) from [<bf0154d0>] (PV)
    [  701.644805] [<bf0154a8>] (PVRSRVMISR+0x0/0x8c [pvrsrvkm_sgx544_116]) from [<bf000a7c>] (MISRWrapper+)
    [  701.657409]  r4:d4015600 r3:bf000a68
    [  701.661285] [<bf000a68>] (MISRWrapper+0x0/0x18 [pvrsrvkm_sgx544_116]) from [<c0061a10>] (process_one)
    [  701.672607] [<c00618dc>] (process_one_work+0x0/0x4ac) from [<c0061f14>] (worker_thread+0x18c/0x3d8)
    [  701.682189] [<c0061d88>] (worker_thread+0x0/0x3d8) from [<c0066990>] (kthread+0x90/0x9c)
    [  701.690765] [<c0066900>] (kthread+0x0/0x9c) from [<c004a968>] (do_exit+0x0/0x804)
    [  701.698669]  r6:c004a968 r5:c0066900 r4:d402deac
    [  701.703613] Code: e2855001 e0841181 e080310a e2811010 (e51300a0)
    [  701.712402] Board Information:
    [  701.712402]  Revision : 0000
    [  701.712432]  Serial  : 0000000000000000
    [  701.712432] SoC Information:
    [  701.712432]  CPU     : OMAP5432
    [  701.712463]  Rev     : ES2.0
    [  701.712463]  Type    : GP
    [  701.712463]  Production ID: D0110451-2E6604F0
    [  701.712463]  Die ID  : 607C0121-00000503-015D475F-0800D010
    [  701.712493]
    [  701.745697] ---[ end trace fdf825fbf63009b0 ]---
    [  701.750549] Kernel panic - not syncing: Fatal exception
    [  701.756072] CPU0: stopping
    [  701.758911] Backtrace:
    [  701.761474] [<c0017c14>] (dump_backtrace+0x0/0x10c) from [<c067cfc4>] (dump_stack+0x18/0x1c)
    [  701.770355]  r6:c094c538 r5:d24ee000 r4:c0974d78 r3:c09b0d90
    [  701.776306] [<c067cfac>] (dump_stack+0x0/0x1c) from [<c0019764>] (handle_IPI+0x1dc/0x210)
    [  701.784912] [<c0019588>] (handle_IPI+0x0/0x210) from [<c00084fc>] (gic_handle_irq+0x58/0x60)
    [  701.793792] [<c00084a4>] (gic_handle_irq+0x0/0x60) from [<c0687f00>] (__irq_svc+0x40/0x70)
    [  701.802459] Exception stack(0xd24efc28 to 0xd24efc70)
    [  701.807769] fc20:                   c1836c40 d2436140 d280be50 00000000 d2b6b900 c1836c40
    [  701.816375] fc40: d24ee000 cf98e9c0 00000001 c0974d78 d2b6b900 d24efc7c d24efc80 d24efc70
    [  701.824981] fc60: c00722d4 c06873e0 60000113 ffffffff
    [  701.830261]  r6:ffffffff r5:60000113 r4:c06873e0 r3:c00722d4
    [  701.836242] [<c06873bc>] (_raw_spin_unlock_irq+0x0/0x50) from [<c00722d4>] (finish_task_switch+0x58/)
    [  701.846405] [<c007227c>] (finish_task_switch+0x0/0x12c) from [<c0686280>] (__schedule+0x41c/0x838)
    [  701.855804]  r8:d403d540 r7:d24ee000 r6:00000000 r5:c1836c40 r4:d2436140
    [  701.862701] r3:00000000
    [  701.865447] [<c0685e64>] (__schedule+0x0/0x838) from [<c0686780>] (preempt_schedule+0x40/0x5c)
    [  701.874511] [<c0686740>] (preempt_schedule+0x0/0x5c) from [<c0060578>] (queue_work+0x64/0x6c)
    [  701.883453]  r4:d24ee000 r3:00000002
    [  701.887268] [<c0060514>] (queue_work+0x0/0x6c) from [<bf0017d4>] (OSScheduleMISR+0x28/0x30 [pvrsrvkm)
    [  701.898040]  r4:bf0433c4
    [  701.900726] [<bf0017ac>] (OSScheduleMISR+0x0/0x30 [pvrsrvkm_sgx544_116]) from [<bf00ef08>] (PVRSRVSw)
    [  701.914978] [<bf00ec84>] (PVRSRVSwapToDCBuffer2KM+0x0/0x31c [pvrsrvkm_sgx544_116]) from [<bf01b074>])
    [  701.930114] [<bf01ae78>] (PVRSRVSwapToDCBuffer2BW+0x0/0x2e0 [pvrsrvkm_sgx544_116]) from [<bf01e7b4>])
    [  701.944610] [<bf01e728>] (BridgedDispatchKM+0x0/0x24c [pvrsrvkm_sgx544_116]) from [<bf005840>] (PVRS)
    [  701.959045]  r8:00000000 r7:00000069 r6:00000000 r5:d2a66240 r4:c01c673c
    [  701.966125] [<bf005758>] (PVRSRV_BridgeDispatchKM+0x0/0x44c [pvrsrvkm_sgx544_116]) from [<c0123e6c>])
    [  701.978118]  r9:d24ee000 r8:00000000 r7:00000010 r6:405219d4 r5:d2a66240
    [  701.984985] r4:d2aa71f8
    [  701.987762] [<c0123de0>] (do_vfs_ioctl+0x0/0x5dc) from [<c0124434>] (sys_ioctl+0x78/0x80)
    [  701.996337]  r9:d24ee000 r8:00000000 r7:00000010 r6:c01c673c r5:405219d4
    [  702.003234] r4:d2a66240
    [  702.005981] [<c01243bc>] (sys_ioctl+0x0/0x80) from [<c0013680>] (ret_fast_syscall+0x0/0x30)
    [  702.014770]  r8:c0013848 r7:00000036 r6:411c6958 r5:42f90878 r4:00000002
    [  702.021820] Rebooting in 5 seconds..
    [  706.022552] Restarting Linux version 3.4.34-01535-g499e8d5 (amn@ux1278) (gcc version 4.6.x-google 203
    [  706.022583]



  • I am having the exact same problem with uevm5432. I have a kernel panic at the same location. I'm attempting to connect to a Netgear Push2TV PTV3000. It works with my Nexus 7 tablet but I get the kernel panic with the EVM:

    [ 847.589569] wlcore: is_sta: 1 old:3 new:4
    [ 847.594482] wlcore: Association completed.
    [ 851.148742] omap-iommu omap-iommu.1: ipu: version 2.1
    [ 851.198669] PVR_K:(Error): PVRSRVOpenDCDeviceKM: no devnode matching index 1075354748 [0, ]
    [ 851.259338] sr_classp5_calib_work: smartreflex_mm: Calibration complete: Voltage Nominal=1025000 Calib=1030000 Dyn=1025000 OPP_margin=0 total_margin=0
    [ 861.474700] Unable to handle kernel paging request at virtual address 15a311f0
    [ 861.484863] pgd = c0004000
    [ 861.489562] [15a311f0] *pgd=00000000
    [ 861.493347] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
    [ 861.498931] Modules linked in: wlcore_sdio(O) wl18xx(O) wl12xx(O) wlcore(O) mac80211(O) cfg80211(O) pvrsrvkm_sgx544_116(O) compat(O)
    [ 861.511535] CPU: 0 Tainted: G W O (3.4.34-01535-g499e8d5-dirty #3)
    [ 861.519165] PC is at dsscomp_gralloc_queue+0x458/0x1138
    [ 861.524627] LR is at dsscomp_set_mgr+0x68/0x78
    [ 861.529296] pc : [<c02a7454>] lr : [<c02a44b8>] psr: 20000013
    [ 861.529296] sp : d1209cc8 ip : 00000000 fp : d1209ddc
    [ 861.541351] r10: d1209d38 r9 : d1209d10 r8 : cbc2a1c0
    [ 861.546844] r7 : d1209d2c r6 : c0a5e318 r5 : 00000002 r4 : d12b7800
    [ 861.553680] r3 : 15a31290 r2 : 00000001 r1 : d12b7838 r0 : d1209db0
    [ 861.560546] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
    [ 861.568206] Control: 10c5387d Table: 9217806a DAC: 00000015
    [ 861.574249]
    [ 861.574249] PC: 0xc02a73d4:
    [ 861.578704] 73d4 3affffe6 e2855001 e2877028 e1510005 8afffff4 e1a0c008 e1a0800a e3a05000
    [ 861.587341] 73f4 e50b80e8 e1a0a005 e3a07001 e1a0800c e50b50d8 e0181a17 1a000166 e28aa001

  • Hey babs76er,

    im working on this problem but dont have a solution atm. Ill post here as soon as i know something new.

    Kind regards,

    Christian

  • Christian,

    Sounds good. I've started debugging this today as well. It appears to be an indexing issue / pointer in drivers/video/omap2/dsscomp/gralloc.c. I've added some debug code. During normal display operation (HDMI) the number of managers is always 1. Once you've authenticated on wifi, num_mgrs = 2 and the second call to dsscomp_set_mgr() fails because comp[ch] = NULL. That's as far as I've got. 

    Output of console:

    [ 64.942321] wlcore: Association completed.
    [ 69.660003] omap-iommu omap-iommu.1: ipu: version 2.1
    [ 69.708801] PVR_K:(Error): PVRSRVOpenDCDeviceKM: no devnode matching index 0 [0, ]
    [ 69.763793] sr_classp5_calib_work: smartreflex_mm: Calibration complete: Voltage Nominal=1025000 Calib=1030000 Dyn=1025000 OPP_margin=0 total_margin=0
    [ 70.802215] II=0
    [ 70.802337] DOING 500 WB ATTEMPTS....
    [ 70.808258] CH=1
    [ 70.810150] comp[ch]=d259a800
    [ 70.818939] d->mgrs + i=d0c8cc10
    [ 70.822357] II=1
    [ 70.824188] CH=0
    [ 70.826263] comp[ch]=0
    [ 70.828826] d->mgrs + i=d0c8cc38
    [ 70.832427] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [ 70.846954] pgd = c0004000
    [ 70.849914] [00000000] *pgd=00000000

    Code in gralloc.c:

    /* configure manager data from gralloc composition */
    for (i = 0; i < d->num_mgrs; i++) {
    ch = channels[i];

    printk(KERN_INFO "II=%x ", i);
    printk(KERN_INFO "CH=%x ", ch);
    printk(KERN_INFO "comp[ch]=%x ", comp[ch]);
    printk(KERN_INFO "d->mgrs + i=%x\n", d->mgrs + i);
    r = dsscomp_set_mgr(comp[ch], d->mgrs + i);
    if (r)
    dev_err(DEV(cdev), "failed to set mgr%d (%d)\n", ch, r);
    }

  • Christian & Babs,

    Can you try the latest release 5AJ.1.5.1 and see whether the issue which you're seeing is still reproducible.

  • Rakesh,

    I've flashed the 5AJ.1.5.1 binaries and I have the same crash issue on the uevm5432.  Here is an output from the console:

    [ 129.477874] wlcore: Association completed.
    [ 132.435668] omap-iommu omap-iommu.1: ipu: version 2.1
    [ 132.488647] PVR_K:(Error): PVRSRVOpenDCDeviceKM: no devnode matching index 544502625 [0, ]
    [ 132.563934] sr_classp5_calib_work: smartreflex_mm: Calibration complete: Voltage Nominal=1025000 Calib=1030000 Dyn=1025000 OPP_margin=0 total_margin=0
    [ 142.920684] Unable to handle kernel paging request at virtual address 1b5851f0
    [ 142.930633] pgd = c0004000
    [ 142.933532] [1b5851f0] *pgd=00000000
    [ 142.937316] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
    [ 142.942901] Modules linked in: wlcore_sdio(O) wl18xx(O) wl12xx(O) wlcore(O) mac80211(O) pvrsrvkm_sgx544_116(O) cfg80211(O) compat(O)
    [ 142.955505] CPU: 0 Tainted: G W O (3.4.48 #1)
    [ 142.961212] PC is at dsscomp_gralloc_queue+0x460/0x11d0
    [ 142.966674] LR is at 0xd244ddb0
    [ 142.969970] pc : [<c02a67dc>] lr : [<d244ddb0>] psr: 20000013
    [ 142.969970] sp : d244dcc0 ip : 00000000 fp : d244dddc
    [ 142.982055] r10: d244dd38 r9 : d244dd10 r8 : d18daac0
    [ 142.987518] r7 : d244dd2c r6 : c0a5ee3c r5 : 00000002 r4 : d0ba5800
    [ 142.994384] r3 : 1b585290 r2 : 00000001 r1 : d0ba5838 r0 : 00000000
    [ 143.001220] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
    [ 143.008911] Control: 10c5387d Table: 90c5c06a DAC: 00000015
    [ 143.014923]
    [ 143.014923] PC: 0xc02a675c:

  • Rakesh,

    Basically, in gralloc.c, function dsscomp_gralloc_queue(), the number of cdev displays is 1 because the board file only defines one display, the HDMI. Therefore the following code will ultimately cause the NULL pointer:

    /* mark managers we are using */
    for (i = 0; i < d->num_mgrs; i++) {
    /* verify display is valid & connected, ignore if not */
    if (d->mgrs[i].ix >= cdev->num_displays)
    {
    printk(KERN_INFO "%s: WARNING: d->mgrs[%d].ix(%d) >= cdev->num_displays(%d)\n",
    __func__, i, d->mgrs[i].ix, cdev->num_displays);
    continue;
    }


    Since cdev->num_displays is 1, the code checks out of the for loop and does not provide a "channel" for wifi display. Therefore the call to dsscomp_set_mgr() will cause the kernel panic because comp[ch] argument is bad.  

    I don't totally understand the interactions between DSS COMP and the Wifi Display, but its looking for a second display that does not exist in the cdev definition. Should there be a Wifi Display defined in the board file (via omap_dss_device)?

  • Have you solved such problems? I met the same issue on Blaze tablet.

  • I have not been able to solve this issue. I'm waiting for some help from TI, hopefully. 

  • I suppost this issue is in hwc module in Android. As far as I know, some phones of which using OMAP solutions work fine with Wifi display. BTW, have you compiled the HDMI DSS interface in your kernel?