Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > OpenWRT/LEDE

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.08.2019, 18:27   #19
sakatgg
Senior Member
 
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990
sakatgg is just really nicesakatgg is just really nicesakatgg is just really nicesakatgg is just really nicesakatgg is just really nice
По умолчанию

Dioptimize Ок, большое спасибо собралось на AA с этим патчем нормально.

P.S.
Цитата:
ПОПРАВИЛ ПАТЧ!
Поледний вариант - вылетает. Первый (в папке 1) был рабочий.

Log (2 вариант из папки 2)

Код:
make -C /home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8 SCST_INC_DIR=/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/../scst/include M=/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel	\
	PRE_CFLAGS="-DBAD_WR_MODIFIER= -DCM_HANDLER_EVENT_MODIFIER=               -DRDMA_CREATE_ID_TAKES_NET_ARG=0  -DSOCK_RECVMSG_HAS_FOUR_ARGS=0" modules
make[5]: Entering directory '/home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8'
  CC [M]  /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.o
In file included from include/linux/kernel.h:17:0,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:17:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:55:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from include/linux/tcp.h:209:0,
                 from include/net/tcp.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:
include/linux/skbuff.h: In function '__skb_cow':
include/linux/skbuff.h:1850:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/linux/skbuff.h: In function 'skb_can_coalesce':
include/linux/skbuff.h:1941:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/sock.h:50:0,
                 from include/linux/tcp.h:211,
                 from include/net/tcp.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:
include/linux/netdevice.h: In function 'netif_msg_init':
include/linux/netdevice.h:2342:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/rtnetlink.h:5:0,
                 from include/net/neighbour.h:28,
                 from include/net/dst.h:16,
                 from include/net/sock.h:65,
                 from include/linux/tcp.h:211,
                 from include/net/tcp.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:
include/net/netlink.h: In function 'nlmsg_ok':
include/net/netlink.h:347:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/net/netlink.h: In function 'nlmsg_parse':
include/net/netlink.h:382:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/net/netlink.h: In function 'nlmsg_validate':
include/net/netlink.h:415:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/neighbour.h:28:0,
                 from include/net/dst.h:16,
                 from include/net/sock.h:65,
                 from include/linux/tcp.h:211,
                 from include/net/tcp.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:
include/net/rtnetlink.h: In function 'rtnl_msg_family':
include/net/rtnetlink.h:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/linux/tcp.h:211:0,
                 from include/net/tcp.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:
include/net/sock.h: In function 'sk_rcvqueues_full':
include/net/sock.h:674:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/inet_hashtables.h:32:0,
                 from include/net/tcp.h:36,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:
include/net/route.h: In function 'ip_route_output':
include/net/route.h:135:3: warning: initialized field overwritten [-Woverride-init]
include/net/route.h:135:3: warning: (near initialization for 'fl4') [-Woverride-init]
In file included from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.c:22:0:
include/net/tcp.h: In function 'keepalive_intvl_when':
include/net/tcp.h:1044:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
include/net/tcp.h: In function 'keepalive_time_when':
include/net/tcp.h:1049:30: warning: signed and unsigned type in conditional expression [-Wsign-compare]
include/net/tcp.h: In function 'tcp_paws_check':
include/net/tcp.h:1081:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/net/tcp.h: In function 'tcp_paws_reject':
include/net/tcp.h:1111:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.o
In file included from include/linux/kernel.h:17:0,
                 from include/linux/sched.h:55,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:18:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:55:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from include/linux/netlink.h:155:0,
                 from include/scsi/scsi_netlink.h:25,
                 from include/scsi/scsi_transport_fc.h:32,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/../scst/include/backport.h:45,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/../scst/include/scst.h:69,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/../include/iscsit_transport.h:11,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:26:
include/linux/skbuff.h: In function '__skb_cow':
include/linux/skbuff.h:1850:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/linux/skbuff.h: In function 'skb_can_coalesce':
include/linux/skbuff.h:1941:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/sock.h:50:0,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29:
include/linux/netdevice.h: In function 'netif_msg_init':
include/linux/netdevice.h:2342:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/rtnetlink.h:5:0,
                 from include/net/neighbour.h:28,
                 from include/net/dst.h:16,
                 from include/net/sock.h:65,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29:
include/net/netlink.h: In function 'nlmsg_ok':
include/net/netlink.h:347:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/net/netlink.h: In function 'nlmsg_parse':
include/net/netlink.h:382:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
include/net/netlink.h: In function 'nlmsg_validate':
include/net/netlink.h:415:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from include/net/neighbour.h:28:0,
                 from include/net/dst.h:16,
                 from include/net/sock.h:65,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29:
include/net/rtnetlink.h: In function 'rtnl_msg_family':
include/net/rtnetlink.h:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/iscsi.h:24:0,
                 from /home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:29:
include/net/sock.h: In function 'sk_rcvqueues_full':
include/net/sock.h:674:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'trace_conn_close':
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:271:3: warning: signed and unsigned type in conditional expression [-Wsign-compare]
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'do_recv':
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:736:7: error: too few arguments to function 'sock_recvmsg'
include/linux/net.h:245:17: note: declared here
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'write_data':
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1373:4: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1461:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'init_tx_hdigest':
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1675:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c: In function 'tx_padding':
/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c:1694:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scripts/Makefile.build:305: recipe for target '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.o' failed
make[6]: *** [/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.o] Error 1
Makefile:1368: recipe for target '_module_/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel' failed
make[5]: *** [_module_/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel] Error 2
make[5]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/linux-ar71xx_generic/linux-3.3.8'
Makefile:135: recipe for target 'mods' failed
make[4]: *** [mods] Error 2
make[4]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst'
Makefile:290: recipe for target 'iscsi' failed
make[3]: *** [iscsi] Error 2
make[3]: Leaving directory '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497'
Makefile:138: recipe for target '/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/.built' failed
make[2]: *** [/home/user/Openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/.built] Error 2
make[2]: Leaving directory '/home/user/Openwrt/attitude_adjustment/package/scst'
package/Makefile:105: recipe for target 'package/scst/compile' failed
make[1]: *** [package/scst/compile] Error 2
make[1]: Leaving directory '/home/user/Openwrt/attitude_adjustment'
/home/user/Openwrt/attitude_adjustment/include/toplevel.mk:144: ошибка выполнения рецепта для цели «package/scst/compile»
make: *** [package/scst/compile] Ошибка 2
user@debian:~/Openwrt/attitude_adjustment$
[свернуть]


На всякий случай приложил оба варианта, мож что не так скопировалось.

P.S.2 Еще проблема на АА с luci-app-scst, скинул в /package, но в make menuconfig не появилось. На Openwrt 18.06.4 появляется нормально.

Вопрос: при включении на АА DIRECT_IO + патч 900-scst-exec-req-fifo-3.3.patch - достаточно сделать make clean? Или по новой с make distclean пересобирать?

Вопрос2 Сейчас лежит исходник /dl/scst-3.3.x-r8498.tar.bz2. Можно как-то в makefile отключить проверку новых ревизий, а то при каждом разе лезет проверять обновление. Инет не всегда есть.
Вложения
Тип файла: zip 000-fix-for-old-kernel.zip (1.1 Кб, 18 просмотров)

Последний раз редактировалось sakatgg; 07.08.2019 в 19:59.
sakatgg вне форума   Ответить с цитированием
 

Метки
iscsi, scst


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 22:36. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика