[FYI] Unaligned memory access in DVB-X code causes immediate kernel panic on arm 32-bit

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

 



Hi,

Plugging the "TeVii S660" on ARM v7 (32-bit) causes an immediate kernel panic, because of unaligned memory access.

For more information see the following thread:

https://forums.freebsd.org/threads/tevii-s660-usb-dvb-s2-working.75977/

The backtrace goes like this (Linux 5.7, Torvald's)

#0 0x002dafbc in ts2020_read_tuner_gain (fe=<optimized out>, v_agc=0, _gain=0x207b31de)
    at media_tree/drivers/media/dvb-frontends/ts2020.c:380
380         *_gain = -((__s64)gain1 * 2650 +
[Current thread is 1 (LWP 100158)]
(gdb) bt
#0 0x002dafbc in ts2020_read_tuner_gain (fe=<optimized out>, v_agc=0, _gain=0x207b31de)
    at media_tree/drivers/media/dvb-frontends/ts2020.c:380
#1  ts2020_get_tuner_gain (fe=<optimized out>, _gain=0x207b31de)
    at media_tree/drivers/media/dvb-frontends/ts2020.c:421
#2 ts2020_stat_work (work=<optimized out>) at media_tree/drivers/media/dvb-frontends/ts2020.c:437 #3 0x002db21c in ts2020_init (fe=<optimized out>) at media_tree/drivers/media/dvb-frontends/ts2020.c:148 #4 0x00350cc4 in dvb_frontend_init (fe=0x207b2f08) at media_tree/drivers/media/dvb-core/dvb_frontend.c:336 #5 dvb_frontend_thread (data=0x207b2f08) at media_tree/drivers/media/dvb-core/dvb_frontend.c:664 #6 0x00113d98 in kthread_wrapper (arg=0x20c56000) at kernel/linux_thread.c:531 #7 0x2058cd84 in thread_start (curthread=0x20c57000) at /usr/src/lib/libthr/thread/thr_create.c:292 #8 0x2058c830 in _pthread_create (thread=<error reading variable: Cannot access memory at address 0xbdae500c>, attr=<optimized out>, start_routine=<optimized out>, arg=<optimized out>)
    at /usr/src/lib/libthr/thread/thr_create.c:188

--HPS



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux