LINUX.ORG.RU

Сообщения burato

 

Gentoo, как увидеть ВСЕ юзы, втч и замаскированные?

Форум — General
equery u

не показывает замаскированные.

Как увидеть ВСЕ?

 ,

burato ()

ffmpeg не конвертирует в webm

Форум — Multimedia

Gentoo, конвертирую:

ffmpeg -i filein.mp4 -strict -2 fileout.webm

не идёт:

[vorbis @ 0xaaaaeeb0f600] Current FFmpeg Vorbis encoder only supports 2 channels.
Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

Что можно предпринять?

 ,

burato ()

Gentoo, hostapd, net.wlan0 перестал стартовать

Форум — General
# /etc/init.d/net.wlan0 start
 * Bringing up interface wlan0
 *   Configuring wireless network for wlan0
 *   Only managed and ad-hoc are supported
 *   Failed to configure wireless for wlan0
 * ERROR: net.wlan0 failed to start

При попытке стартануть стало такое. Обновлял Мир, до этого работало чётко, после ребута началось так.

 , ,

burato ()

Gentoo, Error: circular dependencies

Форум — General
emerge =dev-lang/python-3.6.10-r2                                                      
                                                                                                                          
These are the packages that would be merged, in order:                                                       
                                                                                                                          Calculating dependencies... done!                                                                  
                                                                                                                          
                                                                                                             
[nomerge       ] virtual/package-manager-1::gentoo                                                                        
[nomerge       ]  sys-apps/portage-2.3.79::gentoo  USE="(ipc) native-extensions rsync-verify xattr -build -doc (-epydoc) -
gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_6 (-python3_7) (-python3_8)"                                     
[nomerge       ]   dev-python/pyblake2-1.1.2::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild     U  ]    dev-lang/python-3.6.10-r2:3.6/3.6m::gentoo [3.6.9:3.6/3.6m::gentoo] USE="gdbm ipv6 ncurses readline ss
l (threads) xml -bluetooth -build -examples (-hardened) -libressl -sqlite -test -tk -wininst" 16 824 KiB
[ebuild  N     ]     virtual/libcrypt-1:0/1::gentoo  USE="static-libs" 0 KiB                                              
[ebuild     U  ]      sys-libs/glibc-2.30-r8:2.2::gentoo [2.29-r7:2.2::gentoo] USE="(crypt%*) multiarch ssp (static-libs%*
) (-audit) -caps (-cet) -compile-locales -custom-cflags% -doc -gd -headers-only (-multilib) -nscd -profile (-selinux) -sui
d -systemtap -test (-vanilla)" 16 260 KiB                                                                                 
                                                                                                                          
Total: 3 packages (2 upgrades, 1 new), Size of downloads: 33 084 KiB                                                      
                                                                                                             
 * Error: circular dependencies:                                                                   
                                                                                                                          
(virtual/libcrypt-1:0/1::gentoo, ebuild scheduled for merge) depends on                                                   
 (sys-libs/glibc-2.30-r8:2.2/2.2::gentoo, ebuild scheduled for merge) (runtime)                                           
  (dev-lang/python-3.6.10-r2:3.6/3.6m::gentoo, ebuild scheduled for merge) (buildtime)                                    
   (virtual/libcrypt-1:0/1::gentoo, ebuild scheduled for merge) (buildtime_slot_op)                
                                                                                                   
 * Note that circular dependencies can often be avoided by temporarily                                                    
 * disabling USE flags that trigger optional dependencies. 

Как это решается?

 

burato ()

На IntelAtomе не работает WiFi

Форум — Linux-hardware

Пытаюсь поднять:

ip link set wlan0 up
RTNETLINK answers: Operation not permitted
драйвер:
ethtool -i wlan0
driver: rtl8723bs
version: 
firmware-version: 
expansion-rom-version: 
bus-info: mmc1:0001:1
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
Как дальше действовать?

 ,

burato ()

Каст Кащу

Форум — Talks

K50 У тебя есть трафареты для emmc памяти и для 96FBGA чипов?

 

burato ()

mocp требует ALSAMixer, но у меня в HDMI нет ни одного уровня регулятора, как решить проблему?

Форум — Multimedia
Trying ALSA...
Mar 22 07:47:11.013975: alsa.c:477 alsa_init(): Initialising ALSA device: default
Mar 22 07:47:11.015027: alsa.c:365 alsa_init_mixer_channel(): ERROR: Can't find mixer NONE
Mar 22 07:47:11.015051: server.c:672 add_event_all(): No events have been added because there are no clients

Может создать виртуальные уровни громкости? Я пока не знаю, как это делается...

 ,

burato ()

Gentoo, arm, не собирается ffmpeg

Форум — General
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
armv7a-unknown-linux-gnueabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -O2 -pipe   -march=armv7-a -std=c11 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O2 -pipe -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/vf_crop.d -MT libavfilter/vf_crop.o -c -o libavfilter/vf_crop.o src/libavfilter/vf_crop.c
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/avassert.h:31,
                 from src/libavfilter/vf_cover_rect.c:25:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
armv7a-unknown-linux-gnueabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -O2 -pipe   -march=armv7-a -std=c11 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O2 -pipe -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/vf_cropdetect.d -MT libavfilter/vf_cropdetect.o -c -o libavfilter/vf_cropdetect.o src/libavfilter/vf_cropdetect.c
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavfilter/avfilter.h:41,
                 from src/libavfilter/vf_crop.c:28:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
armv7a-unknown-linux-gnueabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -O2 -pipe   -march=armv7-a -std=c11 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O2 -pipe -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/vf_curves.d -MT libavfilter/vf_curves.o -c -o libavfilter/vf_curves.o src/libavfilter/vf_curves.c
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/imgutils.h:30,
                 from src/libavfilter/vf_cropdetect.c:26:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/opt.h:31,
                 from src/libavfilter/vf_curves.c:21:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
armv7a-unknown-linux-gnueabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -O2 -pipe   -march=armv7-a -std=c11 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O2 -pipe -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/vf_datascope.d -MT libavfilter/vf_datascope.o -c -o libavfilter/vf_datascope.o src/libavfilter/vf_datascope.c
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/avassert.h:31,
                 from src/libavfilter/vf_datascope.c:21:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
In file included from src/libavutil/bswap.h:38,
                 from src/libavutil/intreadwrite.h:25,
                 from src/libavfilter/vf_curves.c:25:
src/libavfilter/vf_curves.c: In function 'parse_psfile':
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
   31 |     __asm__("rev16 %w0, %w0" : "+r"(x));
      |     ^~~~~~~
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
   31 |     __asm__("rev16 %w0, %w0" : "+r"(x));
      |     ^~~~~~~
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
   31 |     __asm__("rev16 %w0, %w0" : "+r"(x));
      |     ^~~~~~~
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
   31 |     __asm__("rev16 %w0, %w0" : "+r"(x));
      |     ^~~~~~~
src/libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for code 'w'
armv7a-unknown-linux-gnueabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -O2 -pipe   -march=armv7-a -std=c11 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O2 -pipe -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/vf_dctdnoiz.d -MT libavfilter/vf_dctdnoiz.o -c -o libavfilter/vf_dctdnoiz.o src/libavfilter/vf_dctdnoiz.c
armv7a-unknown-linux-gnueabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -O2 -pipe   -march=armv7-a -std=c11 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O2 -pipe -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/vf_deband.d -MT libavfilter/vf_deband.o -c -o libavfilter/vf_deband.o src/libavfilter/vf_deband.c
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/avassert.h:31,
                 from src/libavfilter/vf_dctdnoiz.c:31:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
{standard input}: Assembler messages:
{standard input}:349: Error: ARM register expected -- `rev16 ,'
{standard input}:377: Error: ARM register expected -- `rev16 ,'
{standard input}:396: Error: ARM register expected -- `rev16 ,'
{standard input}:406: Error: ARM register expected -- `rev16 ,'
make: *** [/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/work/ffmpeg-3.4.6/ffbuild/common.mak:60: libavfilter/vf_curves.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/libavutil/common.h:464,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/opt.h:31,
                 from src/libavfilter/vf_deband.c:24:
src/libavutil/mem.h:341:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  341 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
 * ERROR: media-video/ffmpeg-3.4.6-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-3.4.6-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-3.4.6-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/work/ffmpeg-3.4.6-.arm'
 * S: '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/work/ffmpeg-3.4.6'

 * Messages for package media-video/ffmpeg-3.4.6-r1:

 * ERROR: media-video/ffmpeg-3.4.6-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-3.4.6-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-3.4.6-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/work/ffmpeg-3.4.6-.arm'
 * S: '/var/tmp/portage/media-video/ffmpeg-3.4.6-r1/work/ffmpeg-3.4.6'

Что делать не знаю...

 , ,

burato ()

Arm64, apache2 на Gentoo, никак не могу запустить.

Форум — Admin

Уже долго не получается, прошёлся по всей рекурсии с модулями апача-всё ещё нет запуска. Теперь ему нужен конфиг, которого у меня нет:

[Tue Mar 17 03:44:33.850545 2020] [mime:error] [pid 5015] (2)No such file or directory: AH01597: could not open mime types config file /etc/apache2/mime.types.
AH00016: Configuration Failed
Гуглом не нашёл примеров.

 , ,

burato ()

При компиляции ядра во время сборки модуля вайфай получаю ошибку: «implicit declaration of function»

Форум — General

Оранж пай пк+, нашёл исходники, в которых работает вайфай на gentoo, но собрать не могу:

drivers/net/wireless/realtek/rtl8189fs/os_dep/linux/ioctl_cfg80211.c:353:2: error: implicit declaration of function 'get_monotonic_boottime' [-Werror=implicit-function-declaration]
  353 |  get_monotonic_boottime(&ts);
      |  ^~~~~~~~~~~~~~~~~~~~~~

Надесь кто расскажет, что это и как исправить, а то я пока имею недостаточно знаний.

 , ,

burato ()

Gentoo, Orange pi pc plus WiFi, устройство определилось, но сканирование не выдаёт ничего

Форум — Linux-hardware
 ip addr | grep wlan
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
5: wlan1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000

выдаёт аж два интерфейса, прохожусь iw wlan0 scan и 1 по каждому и на выходе ничего. Модули вообще все включал, что делать не знаю

 , ,

burato ()

orange pi 3 gentoo wi-fi, не определяется интерфейс wlan0

Форум — Linux-hardware

На армбиане работает, ядро одно и то же, модули оттуда же, на других моделях работает, а тут ни в какую, модпроб всем модулям делал. Нет интерфейса и всё, что хоть такое?

 , ,

burato ()

Orange pi 3 кто знает файлы dtb?

Форум — General

Доброго времени всем! Нет

/sys/class/gpio
там ничего про пины, сконвертил dtb в dts, а по gpio нет ничего, что бы можно было включить, не нахожу, надеюсь тут есть знающие.

 

burato ()

Gentoo, при загрузке инита не проверяется f2fs, как это починить?

Форум — General

При загрузке инита вот такой вывод:

* Checking local filesystems  ...
fsck.ext4: Bad magic number in super-block while trying to open /dev/mmcblk1p2
/dev/mmcblk1p2: 
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

/dev/mmcblk1p2 contains a f2fs file system
 * Operational error
Насколько я понял система пытается чекнуть раздел, что разумно, отказываться от проверок я не хочу, но
opipcplus ~ # file -s /dev/mmcblk1p2
/dev/mmcblk1p2: F2FS filesystem, UUID=631f24f9-d050-4c01-a7a9-07dbd063a1d7, volume name ""
Надо чекать не e2fsck, а fsck.f2fs, что и где исправить, чтоб проверка происходила корректно?

 , ,

burato ()

Gentoo, сборка ядра, как починить эту ошибку при сборке?

Форум — General
drivers/thermal/cpu_cooling.c: In function 'cpufreq_thermal_notifier':
drivers/thermal/cpu_cooling.c:140:15: error: 'CPUFREQ_ADJUST' undeclared (first use in this function)
  140 |  if (event != CPUFREQ_ADJUST)
      |               ^~~~~~~~~~~~~~
drivers/thermal/cpu_cooling.c:140:15: note: each undeclared identifier is reported only once for each function it appears in
drivers/thermal/cpu_cooling.c:166:33: error: passing argument 1 of 'cpufreq_verify_within_limits' from incompatible pointer type [-Werror=incompatible-pointer-types]
  166 |    cpufreq_verify_within_limits(policy, 0, clipped_freq);
      |                                 ^~~~~~
      |                                 |
      |                                 struct cpufreq_policy *
In file included from drivers/thermal/cpu_cooling.c:15:
./include/linux/cpufreq.h:430:77: note: expected 'struct cpufreq_policy_data *' but argument is of type 'struct cpufreq_policy *'
  430 | static inline void cpufreq_verify_within_limits(struct cpufreq_policy_data *policy,
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  CC      drivers/tty/serial/8250/8250_dma.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266: drivers/thermal/cpu_cooling.o] Error 1
make[1]: *** [scripts/Makefile.build:503: drivers/thermal] Error 2
make[1]: *** Waiting for unfinished jobs....

 ,

burato ()

Gentoo, не собирается sandbox, доска orange pi4

Форум — General

Не собирается пакедж, ошибка не выгугливается, вот ход сборки:

config.status: executing libtool commands
config.status: executing tests/atconfig commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13 ...
 * .arm64: running multilib-minimal_abi_src_compile
make -j6 
/bin/sh ./libtool  --tag=CC   --mode=compile aarch64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13  -DETCDIR="\"/etc\"" -DLIBSANDBOX_PATH="\"/usr/lib\"" -DSANDBOX_BASHRC_PATH="\"/usr/share/sandbox\"" -D_REENTRANT  -Wall -Winvalid-pch -fdata-sections -ffunction-sections -fno-builtin-calloc -fno-builtin-malloc -fno-builtin-realloc -c -o libsbutil/headers.h.gch.o /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h && ( src=`dirname libsbutil/headers.h.gch`/.libs/`basename libsbutil/headers.h.gch`.o; test -e "$src" || src=libsbutil/headers.h.gch.o; cp $src libsbutil/headers.h.gch )
/bin/sh ./libtool  --tag=CC   --mode=compile aarch64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13  -DETCDIR="\"/etc\"" -DLIBSANDBOX_PATH="\"/usr/lib\"" -DSANDBOX_BASHRC_PATH="\"/usr/share/sandbox\"" -D_REENTRANT  -Wall -Winvalid-pch -fdata-sections -ffunction-sections -fno-builtin-calloc -fno-builtin-malloc -fno-builtin-realloc -c -o libsandbox/headers.h.gch.o /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h -fexceptions && ( src=`dirname libsandbox/headers.h.gch`/.libs/`basename libsandbox/headers.h.gch`.o; test -e "$src" || src=libsandbox/headers.h.gch.o; cp $src libsandbox/headers.h.gch )
libtool: compile:  aarch64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13 -DETCDIR=\"/etc\" -DLIBSANDBOX_PATH=\"/usr/lib\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -D_REENTRANT -Wall -Winvalid-pch -fdata-sections -ffunction-sections -fno-builtin-calloc -fno-builtin-malloc -fno-builtin-realloc -c /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h -fexceptions  -fPIC -DPIC -o libsandbox/.libs/headers.h.gch.o
libtool: compile:  aarch64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13 -DETCDIR=\"/etc\" -DLIBSANDBOX_PATH=\"/usr/lib\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -D_REENTRANT -Wall -Winvalid-pch -fdata-sections -ffunction-sections -fno-builtin-calloc -fno-builtin-malloc -fno-builtin-realloc -c /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h  -fPIC -DPIC -o libsbutil/.libs/headers.h.gch.o
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:28:8: error: redefinition of ‘struct sigcontext’
   28 | struct sigcontext {
      |        ^~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:18:16: note: originally defined here
   18 | typedef struct sigcontext {
      |                ^~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:66:8: error: redefinition of ‘struct _aarch64_ctx’
   66 | struct _aarch64_ctx {
      |        ^~~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:29:8: note: originally defined here
   29 | struct _aarch64_ctx {
      |        ^~~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:73:8: error: redefinition of ‘struct fpsimd_context’
   73 | struct fpsimd_context {
      |        ^~~~~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:33:8: note: originally defined here
   33 | struct fpsimd_context {
      |        ^~~~~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:83:8: error: redefinition of ‘struct esr_context’
   83 | struct esr_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:39:8: note: originally defined here
   39 | struct esr_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:116:8: error: redefinition of ‘struct extra_context’
  116 | struct extra_context {
      |        ^~~~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:43:8: note: originally defined here
   43 | struct extra_context {
      |        ^~~~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:125:8: error: redefinition of ‘struct sve_context’
  125 | struct sve_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:49:8: note: originally defined here
   49 | struct sve_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:28:8: error: redefinition of ‘struct sigcontext’
   28 | struct sigcontext {
      |        ^~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:18:16: note: originally defined here
   18 | typedef struct sigcontext {
      |                ^~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:66:8: error: redefinition of ‘struct _aarch64_ctx’
   66 | struct _aarch64_ctx {
      |        ^~~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:29:8: note: originally defined here
   29 | struct _aarch64_ctx {
      |        ^~~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:73:8: error: redefinition of ‘struct fpsimd_context’
   73 | struct fpsimd_context {
      |        ^~~~~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:33:8: note: originally defined here
   33 | struct fpsimd_context {
      |        ^~~~~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:83:8: error: redefinition of ‘struct esr_context’
   83 | struct esr_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:39:8: note: originally defined here
   39 | struct esr_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:116:8: error: redefinition of ‘struct extra_context’
  116 | struct extra_context {
      |        ^~~~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:43:8: note: originally defined here
   43 | struct extra_context {
      |        ^~~~~~~~~~~~~
In file included from /usr/include/asm/ptrace.h:26,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:152:
/usr/include/asm/sigcontext.h:125:8: error: redefinition of ‘struct sve_context’
  125 | struct sve_context {
      |        ^~~~~~~~~~~
In file included from /usr/include/signal.h:48,
                 from /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/headers.h:63:
/usr/include/bits/signal.h:49:8: note: originally defined here
   49 | struct sve_context {
      |        ^~~~~~~~~~~
make: *** [Makefile:914: libsandbox/headers.h.gch] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:911: libsbutil/headers.h.gch] Error 1
 * ERROR: sys-apps/sandbox-2.13::gentoo failed (compile phase):
 *   emake failed

Может кто знает...

 ,

burato ()

U-boot, какую строку прописать/отредактировать, чтобы консоль уарт показывала ход загрузки инита?

Форум — General

Никак не могу найти в имеющейся информации.

 

burato ()

Как можно пропатчить исходники ядра?

Форум — General

Здравия! Есть на арм исходники ядра от sunxi, но в них в драйверах ввода-вывода проблема-если пишет на диск например видео с камер или с нета загрузка идёт, то система виснет, да так, что логгировать нереально, два года я с этой проблемой мучаюсь, но вот попробовал гентушные сорцы-там этого нет, не виснет. Но из гентушных сорцов собирается без рабочего eth0, потому подумал я, а можно пропатчить драйвер? По идее исходники же текстовые файлы? Только не знаю я, как это сделать, надеюсь подскажут здесь.

 ,

burato ()

Gentoo, Orange pi4, проблемы с загрузкой инита

Форум — Linux-install
(12:06) (.)(.): OpenRC 0.41.2 is starting up Gentoo Linux (aarch64)

[    1.837720] vendor storage:20190527 ret = 0
 * Mounting /proc ...
[    1.848569] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 240
[    1.851725] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    1.852272] mmc2: new ultra high speed SDR104 SDIO card at address 0001
 [ ok ]
 * Mounting /run ...
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
 * Caching service dependencies ...
[    2.360632] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    2.910044] scsi 0:0:0:0: Direct-Access     UFD 3.0  Silicon-Power16G PMAP PQ: 0 ANSI: 6
[    2.916328] sd 0:0:0:0: [sda] 30998528 512-byte logical blocks: (15.9 GB/14.8 GiB)
[    2.920779] sd 0:0:0:0: [sda] Write Protect is off
[    2.925148] sd 0:0:0:0: [sda] No Caching mode page found
[    2.925662] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    2.944576]  sda: sda1 sda2 sda3
[    2.955299] sd 0:0:0:0: [sda] Attached SCSI removable disk
Service `netmount' needs non existent service `net'
 [ ok ]
 * Clock skew detected with `(null)'
 * Adjusting mtime of `/run/openrc/deptree' to Sat Feb  1 09:03:33 2020
 * WARNING: clock skew detected!
 * Mounting /sys ...
 * Remounting devtmpfs on /dev ...
 [ ok ]
 [ ok ]
 * Mounting security filesystem ...
 * Mounting /dev/mqueue ...
 [ ok ]
 [ ok ]
 * Mounting debug filesystem ...
 [ ok ]
 * Mounting /dev/pts ...
 * Mounting config filesystem ...
 [ ok ]
 [ ok ]
 * Mounting fuse control filesystem ...
 [ ok ]
 * Mounting /dev/shm ...
 [ ok ]
 * Mounting persistent storage (pstore) filesystem ...
 [ ok ]
cgroups           | * Mounting cgroup filesystem ...
cgroups           | [ ok ]
kmod-static-nodes | * Creating list of required static device nodes for the current kernel ...
udev              | * Starting udev ...
kmod-static-nodes | [ ok ]
udev              | [ ok ]
opentmpfiles-dev  | * Setting up tmpfiles.d entries for /dev ...
opentmpfiles-dev  | [ ok ]
udev-trigger      | * Generating a rule to create a /dev/root symlink ...
udev-trigger      | [ ok ]
udev-trigger      | * Populating /dev with existing devices through uevents ...
udev-trigger      | [ ok ]
 * WARNING: clock skew detected!
termencoding      | * Setting terminal encoding [UTF-8] ...
termencoding      | [ ok ]
keymaps           | * Setting keyboard mode [UTF-8] ...
hwclock           | * Setting system clock using the hardware clock [UTC] ...
keymaps           | [ ok ]
keymaps           | * Loading key mappings [us] ...
keymaps           | [ ok ]
hwclock           | [ ok ]
loopback          | * Bringing up network interface lo ...
hostname          | * Setting hostname to localhost  ...
sysctl            | * Configuring kernel parameters ...
hostname          | [ ok ]
fsck              | * Checking local filesystems  ...
sysctl            | [ ok ]
loopback          | [ ok ]
fsck              | [ ok ]
binfmt            | * Loading custom binary format handlers ...
binfmt            | [ ok ]
root              | * Remounting filesystems ...
root              | [ ok ]
mtab              | * Updating /etc/mtab ...
swap              | * Activating swap devices ...
mtab              | * Creating mtab symbolic link
swap              | [ ok ]
mtab              | [ ok ]
localmount        | * Mounting local filesystems ...
localmount        | [ ok ]
opentmpfiles-setup| * Setting up tmpfiles.d entries ...
opentmpfiles-setup| [ ok ]
bootmisc          | * Creating user login records ...
bootmisc          | [ ok ]
bootmisc          | * Wiping /tmp directory ...
bootmisc          | [ ok ]
save-keymaps      | * Saving key mapping ...
save-termencoding | * Saving terminal encoding ...
save-termencoding | [ ok ]
save-keymaps      | [ ok ]
INIT: Entering runlevel: 3
 * WARNING: clock skew detected!
netmount          | * ERROR: netmount needs service(s) net
local             | * Starting local ...
local             | [ ok ]
INIT: Id "f0" respawning too fast: disabled for 5 minutes
INIT: Id "f0" respawning too fast: disabled for 5 minutes
INIT: Id "f0" respawning too fast: disabled for 5 minutes
INIT: Id "f0" respawning too fast: disabled for 5 minutes
INIT: Id "f0" respawning too fast: disabled for 5 minutes
INIT: Id "f0" respawning too fast: disabled for 5 minutes
INIT: Id "f0" respawning too fast: disabled for 5 minutes

И висит так бесконечно...

Понимаю, что проблема тут в ините и можно сконфигурять так, чтоб работало, но у меня нет мыслей... Кто может помочь?

 , ,

burato ()

Ночное компилирование на одноплатниках

Галерея — Скриншоты

Оранж пай пк+, плюс2е и пай 3. На пк+ сервак собираю, на остальных иксы, посмотрю, как оно.

>>> Просмотр (1920x1080, 751 Kb)

 ,

burato ()

RSS подписка на новые темы