![]() |
![]() |
#31 | |||
Senior Member
Регистрация: 17.02.2013
Адрес: Харьков
Сообщений: 235
Вес репутации: 690 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Цитата:
Цитата:
Например строки: Код:
--- old/block/blk-map.c 2012-03-19 23:46:01 +0000 +++ new/block/blk-map.c 2012-03-20 00:10:37 +0000 Код:
--- a/block/blk-map.c +++ b/block/blk-map.c DIRECT_IO уже писать не нужно, его нету в конфигурации ядра, достаточно применить вышеупомянутый патч. Посмотреть применился ли патч, можно зайдя по пути: openwrt\build_dir\target-<платформа>_musl\linux-<платформа>\linux-<версия ядра>\block\blk-map.c И сравнить со строками в патче, где "+" это должны были добавится эти строки в blk-map.c файл, а "-" удалится. Цитата:
Было: Код:
SVN_REVISION=r$(shell svn info $(PKG_SOURCE_URL)|grep Revision|cut -f2 -d\ ) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(SVN_REVISION) Код:
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) Последний раз редактировалось Dioptimizer; 07.08.2019 в 22:58. |
|||
![]() |
![]() |
![]() |
#32 | |
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990 ![]() ![]() ![]() ![]() ![]() |
![]() Цитата:
Патч отработал нормально Прошил полностью прошивку с scst, пакеты на месте, конфиг автоматом не появился, создал сам (приложил) Винт в ext4, скинул файл Win7ND25_5.vhd, но чет в логе ничего не появляется. Код:
root@OpenWrt:~# /etc/init.d/scst start root@OpenWrt:~# /etc/init.d/scst restart root@OpenWrt:~# free total used free shared buffers Mem: 126560 36908 89652 0 4312 -/+ buffers: 32596 93964 Swap: 0 0 0 root@OpenWrt:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 5.8M 492.0K 5.3M 8% / /dev/root 9.3M 9.3M 0 100% /rom tmpfs 61.8M 684.0K 61.1M 1% /tmp tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock3 5.8M 492.0K 5.3M 8% /overlay overlayfs:/overlay 5.8M 492.0K 5.3M 8% / /dev/sda1 930.6G 17.1G 866.9G 2% /mnt/sda root@OpenWrt:~# Последний раз редактировалось sakatgg; 07.08.2019 в 23:21. |
|
![]() |
![]() |
![]() |
#33 |
Senior Member
Регистрация: 17.02.2013
Адрес: Харьков
Сообщений: 235
Вес репутации: 690 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
sakatgg
Что там с логом dmesg(в консоли команда)? |
![]() |
![]() |
![]() |
#34 |
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990 ![]() ![]() ![]() ![]() ![]() |
![]()
Делаю
Код:
/etc/init.d/scst start И через веб делал рестарт с кнопки, нет реакции. Конфиг же должен автоматом генериться? logКод:
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 126344k/131072k available (2329k kernel code, 4728k reserved, 421k data, 216k init, 0k highmem) [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.080000] NET: Registered protocol family 16 [ 0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79 [ 0.090000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310 [ 0.090000] registering PCI controller with io_map_base unset [ 0.310000] bio: create slab <bio-0> at 0 [ 0.310000] PCI host bridge to bus 0000:00 [ 0.320000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.320000] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.330000] pci 0000:00:00.0: [168c:0033] type 0 class 0x000280 [ 0.330000] pci 0000:00:00.0: invalid calibration data [ 0.330000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x1001ffff 64bit] [ 0.330000] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref] [ 0.330000] pci 0000:00:00.0: supports D1 [ 0.330000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] [ 0.340000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] [ 0.340000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.350000] Switching to clocksource MIPS [ 0.350000] NET: Registered protocol family 2 [ 0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.360000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.370000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.370000] TCP: Hash tables configured (established 4096 bind 4096) [ 0.380000] TCP reno registered [ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.400000] PCI: CLS 0 bytes, default 32 [ 0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.430000] msgmni has been set to 246 [ 0.430000] io scheduler noop registered [ 0.440000] io scheduler deadline registered (default) [ 0.440000] io scheduler cfq registered [ 0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.470000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.480000] console [ttyS0] enabled, bootconsole disabled [ 0.500000] m25p80 spi0.0: found mx25l12805d, expected m25p80 [ 0.500000] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 0.510000] 5 tp-link partitions found on MTD device spi0.0 [ 0.510000] Creating 5 MTD partitions on "spi0.0": [ 0.520000] 0x000000000000-0x000000020000 : "u-boot" [ 0.520000] 0x000000020000-0x00000011be14 : "kernel" [ 0.530000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.540000] 0x00000011be14-0x000000ff0000 : "rootfs" [ 0.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.560000] mtd: partition "rootfs" set to be root filesystem [ 0.570000] mtd: partition "rootfs_data" created automatically, ofs=A30000, len=5C0000 [ 0.580000] 0x000000a30000-0x000000ff0000 : "rootfs_data" [ 0.580000] 0x000000ff0000-0x000001000000 : "art" [ 0.590000] 0x000000020000-0x000000ff0000 : "firmware" [ 0.730000] ag71xx_mdio: probed [ 0.730000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 1.310000] eth0: Atheros AR8327 switch driver attached. [ 1.330000] Registered led device: tp-link:blue:wan [ 1.330000] Registered led device: tp-link:blue:lan1 [ 1.330000] Registered led device: tp-link:blue:lan2 [ 1.330000] Registered led device: tp-link:blue:lan3 [ 1.340000] Registered led device: tp-link:blue:lan4 [ 2.560000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316] [ 2.570000] TCP cubic registered [ 2.570000] TCP westwood registered [ 2.580000] TCP highspeed registered [ 2.580000] TCP hybla registered [ 2.580000] TCP htcp registered [ 2.590000] TCP vegas registered [ 2.590000] TCP veno registered [ 2.590000] TCP scalable registered [ 2.600000] TCP lp registered [ 2.600000] TCP yeah registered [ 2.600000] TCP illinois registered [ 2.610000] NET: Registered protocol family 17 [ 2.610000] Bridge firewalling registered [ 2.610000] 8021q: 802.1Q VLAN Support v1.8 [ 2.620000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 2.630000] Freeing unused kernel memory: 216k freed [ 4.590000] Registered led device: tp-link:blue:qss [ 4.590000] Registered led device: tp-link:blue:system [ 4.590000] Registered led device: tp-link:green:usb1 [ 4.590000] Registered led device: tp-link:green:usb2 [ 4.590000] Registered led device: tp-link:blue:wlan2g [ 5.580000] eth0: link up (1000Mbps/Full duplex) [ 7.860000] JFFS2 notice: (474) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 18 of xref (0 dead, 3 orphan) found. [ 8.490000] SCSI subsystem initialized [ 8.670000] usbcore: registered new interface driver usbfs [ 8.670000] usbcore: registered new interface driver hub [ 8.680000] usbcore: registered new device driver usb [ 9.140000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.140000] ehci-platform ehci-platform: Generic Platform EHCI Controller [ 9.150000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 9.190000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 9.210000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 9.210000] hub 1-0:1.0: USB hub found [ 9.220000] hub 1-0:1.0: 1 port detected [ 9.320000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 9.450000] uhci_hcd: USB Universal Host Controller Interface driver [ 9.510000] Initializing USB Mass Storage driver... [ 9.510000] usbcore: registered new interface driver usb-storage [ 9.520000] USB Mass Storage support registered. [ 9.560000] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 9.710000] hub 1-1:1.0: USB hub found [ 9.710000] hub 1-1:1.0: 4 ports detected [ 10.000000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform [ 10.150000] scsi0 : usb-storage 1-1.1:1.0 [ 11.150000] scsi 0:0:0:0: Direct-Access Seagate Backup+ BK 0409 PQ: 0 ANSI: 6 [ 11.160000] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/931 GiB) [ 11.170000] sd 0:0:0:0: [sda] Write Protect is off [ 11.170000] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00 [ 11.170000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 11.210000] sda: sda1 [ 11.220000] sd 0:0:0:0: [sda] Attached SCSI disk [ 29.800000] eth0: link down [ 31.580000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 31.590000] Backport based on wireless-testing.git master-2012-09-07 [ 31.590000] compat.git: wireless-testing.git [ 31.820000] cfg80211: Calling CRDA to update world regulatory domain [ 31.820000] cfg80211: World regulatory domain updated: [ 31.830000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 31.840000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 31.840000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 31.850000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 31.860000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 31.870000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 32.740000] ath: EEPROM regdomain: 0x0 [ 32.740000] ath: EEPROM indicates default country code should be used [ 32.740000] ath: doing EEPROM country->regdmn map search [ 32.740000] ath: country maps to regdmn code: 0x3a [ 32.740000] ath: Country alpha2 being used: US [ 32.740000] ath: Regpair used: 0x3a [ 32.740000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 32.740000] Registered led device: ath9k-phy0 [ 32.740000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47 [ 32.760000] ath: EEPROM regdomain: 0x0 [ 32.760000] ath: EEPROM indicates default country code should be used [ 32.760000] ath: doing EEPROM country->regdmn map search [ 32.760000] ath: country maps to regdmn code: 0x3a [ 32.760000] ath: Country alpha2 being used: US [ 32.760000] ath: Regpair used: 0x3a [ 32.760000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 32.760000] Registered led device: ath9k-phy1 [ 32.760000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40 [ 32.770000] cfg80211: Calling CRDA for country: US [ 32.770000] cfg80211: Regulatory domain changed to country: US [ 32.780000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 32.790000] cfg80211: (2402000 KHz - 2494000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 32.800000] cfg80211: (4910000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 32.990000] RPC: Registered named UNIX socket transport module. [ 33.000000] RPC: Registered udp transport module. [ 33.000000] RPC: Registered tcp transport module. [ 33.010000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 33.190000] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 33.500000] loop: module loaded [ 33.700000] PPP generic driver version 2.4.2 [ 33.930000] PPP MPPE Compression module registered [ 34.020000] L2TP core driver, V2.0 [ 34.030000] L2TP netlink interface [ 34.130000] GRE over IPv4 demultiplexor driver [ 34.150000] ip_gre: Unknown symbol icmpv6_send (err 0) [ 34.340000] Installing knfsd (copyright (C) 1996 [email protected]). [ 34.510000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 34.710000] NET: Registered protocol family 24 [ 34.860000] nf_conntrack version 0.5.0 (1977 buckets, 7908 max) [ 35.250000] PPPoL2TP kernel driver, V2.0 [ 35.270000] PPTP driver version 0.8.5 [ 35.710000] xt_time: kernel timezone is -0000 [ 36.150000] Netfilter messages via NETLINK v0.30. [ 36.190000] ctnetlink v0.93: registering with nfnetlink. [ 36.400000] Driver for 1-wire Dallas network protocol. [ 36.550000] i2c /dev entries driver [ 36.630000] usbcore: registered new interface driver cdc_acm [ 36.630000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 36.720000] usbcore: registered new interface driver usblp [ 36.750000] usbcore: registered new interface driver usbserial [ 36.760000] USB Serial support registered for generic [ 36.760000] usbcore: registered new interface driver usbserial_generic [ 36.770000] usbserial: USB Serial Driver core [ 36.890000] usbcore: registered new interface driver ums-alauda [ 36.950000] usbcore: registered new interface driver ums-cypress [ 36.980000] usbcore: registered new interface driver ums-datafab [ 37.000000] usbcore: registered new interface driver ums-freecom [ 37.020000] usbcore: registered new interface driver ums-isd200 [ 37.040000] usbcore: registered new interface driver ums-jumpshot [ 37.070000] usbcore: registered new interface driver ums-karma [ 37.090000] usbcore: registered new interface driver ums-sddr09 [ 37.110000] usbcore: registered new interface driver ums-sddr55 [ 37.130000] usbcore: registered new interface driver ums-usbat [ 37.240000] Linux video capture interface: v2.00 [ 37.390000] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 37.490000] USB Serial support registered for ch341-uart [ 37.490000] usbcore: registered new interface driver ch341 [ 37.580000] USB Serial support registered for cp210x [ 37.590000] usbcore: registered new interface driver cp210x [ 37.590000] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver [ 37.620000] USB Serial support registered for FTDI USB Serial Device [ 37.630000] usbcore: registered new interface driver ftdi_sio [ 37.630000] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver [ 37.720000] USB Serial support registered for GSM modem (1-port) [ 37.730000] usbcore: registered new interface driver option [ 37.730000] option: v0.7.2:USB Driver for GSM modems [ 37.760000] USB Serial support registered for pl2303 [ 37.760000] usbcore: registered new interface driver pl2303 [ 37.770000] pl2303: Prolific PL2303 USB to serial adaptor driver [ 37.990000] fuse init (API version 7.18) [ 38.020000] usbcore: registered new interface driver uvcvideo [ 38.030000] USB Video Class driver (1.1.1) [ 40.970000] EXT4-fs (sda1): barriers disabled [ 41.590000] EXT4-fs (sda1): mounted filesystem with writeback data mode. Opts: errors=remount-ro,nouser_xattr,commit=100,barrier=0,data=writeback [ 43.990000] eth0: link up (1000Mbps/Full duplex) [ 44.800000] eth0: link down [ 44.820000] device eth0.1 entered promiscuous mode [ 44.820000] device eth0 entered promiscuous mode [ 46.000000] eth0: link up (1000Mbps/Full duplex) [ 46.020000] br-lan: port 1(eth0.1) entered forwarding state [ 46.020000] br-lan: port 1(eth0.1) entered forwarding state [ 48.020000] br-lan: port 1(eth0.1) entered forwarding state [ 52.700000] wlan0: authenticate with c4:e9:84:bb:e0:93 [ 52.710000] wlan0: send auth to c4:e9:84:bb:e0:93 (try 1/3) [ 52.750000] wlan0: authenticated [ 52.750000] wlan0: associating with AP with corrupt beacon [ 52.760000] wlan0: associate with c4:e9:84:bb:e0:93 (try 1/3) [ 52.770000] wlan0: RX AssocResp from c4:e9:84:bb:e0:93 (capab=0x411 status=0 aid=3) [ 52.770000] wlan0: associated root@OpenWrt:~# [свернуть] Последний раз редактировалось sakatgg; 07.08.2019 в 23:35. |
![]() |
![]() |
![]() |
#35 |
Senior Member
Регистрация: 17.02.2013
Адрес: Харьков
Сообщений: 235
Вес репутации: 690 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
sakatgg
Судя по логу, модули не загрузились. И то что Вы сказали ранее, что не создался конфиг - вы как подключали в menuconfig? Там ставили звёздочку или букву "m"? Посмотрите на первой странице как я подключал модули и какое их должно быть имя. |
![]() |
![]() |
![]() |
#36 |
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990 ![]() ![]() ![]() ![]() ![]() |
![]()
Модули все стоят, всегда интегрирую в прошивку всё нужное сразу и прошиваюсь
scst_3.3.x-1_ar71xx kmod-iscsi-scst_3.3.8+3.3.x-1_ar71xx kmod-scsi-core_3.3.8-1_ar71xx kmod-scst_3.3.8+3.3.x-1_ar71xx kmod-scst-vdisk_3.3.8+3.3.x-1_ar71xx P.S. Удалил через remove все пакеты и поставил как в 1 посте, /etc/config/scst не создался LogКод:
BusyBox v1.19.4 (2019-08-07 05:48:08 BST) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- ATTITUDE ADJUSTMENT (Attitude Adjustment, r36088) ----------------------------------------------------- * 1/4 oz Vodka Pour all ingredients into mixing * 1/4 oz Gin tin with ice, strain into glass. * 1/4 oz Amaretto * 1/4 oz Triple sec * 1/4 oz Peach schnapps * 1/4 oz Sour mix * 1 splash Cranberry juice ----------------------------------------------------- root@OpenWrt:~# opkg install /tmp/*.ipk Installing kmod-iscsi-scst (3.3.8+3.3.x-1) to root... Installing kmod-scst (3.3.8+3.3.x-1) to root... Installing kmod-scsi-core (3.3.8-1) to root... Package kmod-scsi-core (3.3.8-1) installed in root is up to date. Installing kmod-scsi-generic (3.3.8-1) to root... Installing kmod-scst-vdisk (3.3.8+3.3.x-1) to root... Package kmod-scst (3.3.8+3.3.x-1) installed in root is up to date. Installing kmod-usb-storage-extras (3.3.8-1) to root... Installing kmod-usb-storage (3.3.8-1) to root... Package kmod-usb-storage (3.3.8-1) installed in root is up to date. Installing scst (3.3.x-1) to root... Configuring kmod-scsi-core. Configuring kmod-usb-storage. Configuring kmod-scst. Configuring kmod-iscsi-scst. Configuring kmod-scst-vdisk. Configuring kmod-scsi-generic. Configuring scst. Configuring kmod-usb-storage-extras. root@OpenWrt:~# /etc/init.d/scst start sh: bad number root@OpenWrt:~# [свернуть] Последний раз редактировалось sakatgg; 08.08.2019 в 00:35. |
![]() |
![]() |
![]() |
#37 |
Senior Member
Регистрация: 17.02.2013
Адрес: Харьков
Сообщений: 235
Вес репутации: 690 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
При запуске scst и корректной загрузке модулей, оно хоть что-то должно писать в dmesg от имени scst модуля.
Вы проверяли на Openwrt trunk или другой более свежей версии работоспособность scst? Оно вообще работает? Может я что-то упустил, и разработчики что-то поменяли. Я же давно не использовал scst сам, на своем роутере... |
![]() |
![]() |
![]() |
#38 |
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990 ![]() ![]() ![]() ![]() ![]() |
![]()
Проверял на Openwrt Attitude Adjustment, r36088.
Пакет scst-3.3.x-r8498 Попробую на Openwrt 18.06.4. P.S. На Openwrt 18.06.4. собрал прошивку (версия scst-3.3.x.tar.bz2), залил, но так и не заработало, только что /etc/config/scst сам создался (с одной строкой) и при старте роутера в логе есть только одна строка с scst Код:
Thu Aug 8 13:44:59 2019 user.notice ucitrack: Setting up /etc/config/scst reload trigger for non-procd /etc/init.d/scst opkg list-installedКод:
BusyBox v1.28.4 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt 18.06.4, r7808-ef686b7292 ----------------------------------------------------- root@OpenWrt:~# opkg list-installed adblock - 3.5.5-3 base-files - 194.2-r7808-ef686b7292 block-mount - 2019-03-28-ff1ded63-5 busybox - 1.28.4-3 dnsmasq - 2.80-1.4 dropbear - 2017.75-7.1 etherwake - 1.09-4 firewall - 2018-08-13-1c4d5bcd-1 fstools - 2019-03-28-ff1ded63-5 fwtool - 1 hostapd-common - 2018-05-21-62566bc2-6 ip6tables - 1.6.2-1 iperf - 2.0.12-2 iptables - 1.6.2-1 iw - 4.14-1 iwinfo - 2018-07-31-65b8333f-1 jshn - 2018-07-25-c83a84af-2 jsonfilter - 2018-02-04-c7e938d6-1 kernel - 4.9.184-1-ed037a114828af5f3bef989077dfaa92 kmod-ath - 4.9.184+2017-11-01-10 kmod-ath9k - 4.9.184+2017-11-01-10 kmod-ath9k-common - 4.9.184+2017-11-01-10 kmod-cfg80211 - 4.9.184+2017-11-01-10 kmod-crypto-aead - 4.9.184-1 kmod-crypto-cbc - 4.9.184-1 kmod-crypto-crc32c - 4.9.184-1 kmod-crypto-cts - 4.9.184-1 kmod-crypto-des - 4.9.184-1 kmod-crypto-ecb - 4.9.184-1 kmod-crypto-hash - 4.9.184-1 kmod-crypto-hmac - 4.9.184-1 kmod-crypto-manager - 4.9.184-1 kmod-crypto-md5 - 4.9.184-1 kmod-crypto-null - 4.9.184-1 kmod-crypto-pcompress - 4.9.184-1 kmod-crypto-sha1 - 4.9.184-1 kmod-dnsresolver - 4.9.184-1 kmod-fs-exportfs - 4.9.184-1 kmod-fs-ext4 - 4.9.184-1 kmod-fs-nfs - 4.9.184-1 kmod-fs-nfs-common - 4.9.184-1 kmod-fs-nfs-common-rpcsec - 4.9.184-1 kmod-fs-nfsd - 4.9.184-1 kmod-gpio-button-hotplug - 4.9.184-2 kmod-ip6tables - 4.9.184-1 kmod-ipt-conntrack - 4.9.184-1 kmod-ipt-core - 4.9.184-1 kmod-ipt-nat - 4.9.184-1 kmod-iscsi-scst - 4.9.184+3.3.x-1 kmod-lib-crc-ccitt - 4.9.184-1 kmod-lib-crc16 - 4.9.184-1 kmod-mac80211 - 4.9.184+2017-11-01-10 kmod-nf-conntrack - 4.9.184-1 kmod-nf-conntrack6 - 4.9.184-1 kmod-nf-ipt - 4.9.184-1 kmod-nf-ipt6 - 4.9.184-1 kmod-nf-nat - 4.9.184-1 kmod-nf-reject - 4.9.184-1 kmod-nf-reject6 - 4.9.184-1 kmod-nls-base - 4.9.184-1 kmod-ppp - 4.9.184-1 kmod-pppoe - 4.9.184-1 kmod-pppox - 4.9.184-1 kmod-scsi-core - 4.9.184-1 kmod-scst - 4.9.184+3.3.x-1 kmod-scst-vdisk - 4.9.184+3.3.x-1 kmod-slhc - 4.9.184-1 kmod-usb-core - 4.9.184-1 kmod-usb-ehci - 4.9.184-1 kmod-usb-ledtrig-usbport - 4.9.184-1 kmod-usb-ohci - 4.9.184-1 kmod-usb-storage - 4.9.184-1 kmod-usb-storage-extras - 4.9.184-1 kmod-usb-uhci - 4.9.184-1 kmod-usb2 - 4.9.184-1 libblobmsg-json - 2018-07-25-c83a84af-2 libc - 1.1.19-1 libgcc - 7.3.0-1 libip4tc - 1.6.2-1 libip6tc - 1.6.2-1 libiwinfo - 2018-07-31-65b8333f-1 libiwinfo-lua - 2018-07-31-65b8333f-1 libjson-c - 0.12.1-2 libjson-script - 2018-07-25-c83a84af-2 liblua - 5.1.5-1 liblucihttp - 2019-07-05-a34a17d5-1 liblucihttp-lua - 2019-07-05-a34a17d5-1 libncurses - 6.1-1 libnl-tiny - 0.1-5 libpthread - 1.1.19-1 libubox - 2018-07-25-c83a84af-2 libubus - 2018-10-06-221ce7e7-1 libubus-lua - 2018-10-06-221ce7e7-1 libuci - 2019-05-17-f199b961-1 libuclient - 2018-11-24-3ba74ebc-1 libxtables - 1.6.2-1 logd - 2018-02-14-128bc35f-2 lua - 5.1.5-1 luci - git-19.213.49492-89e029c-1 luci-app-adblock - git-19.213.49492-89e029c-1 luci-app-commands - git-19.213.49492-89e029c-1 luci-app-firewall - git-19.213.49492-89e029c-1 luci-app-scst - git-19.181.37000-f642957-1 luci-app-wol - git-19.213.49492-89e029c-1 luci-base - git-19.213.49492-89e029c-1 luci-i18n-adblock-ru - git-19.213.49492-89e029c-1 luci-i18n-base-en - git-19.213.49492-89e029c-1 luci-i18n-base-ru - git-19.213.49492-89e029c-1 luci-i18n-commands-en - git-19.213.49492-89e029c-1 luci-i18n-commands-ru - git-19.213.49492-89e029c-1 luci-i18n-firewall-en - git-19.213.49492-89e029c-1 luci-i18n-firewall-ru - git-19.213.49492-89e029c-1 luci-i18n-scst-ru - git-19.181.37000-f642957-1 luci-i18n-wol-en - git-19.213.49492-89e029c-1 luci-i18n-wol-ru - git-19.213.49492-89e029c-1 luci-lib-ip - git-19.213.49492-89e029c-1 luci-lib-jsonc - git-19.213.49492-89e029c-1 luci-lib-nixio - git-19.213.49492-89e029c-1 luci-mod-admin-full - git-19.213.49492-89e029c-1 luci-proto-ipv6 - git-19.213.49492-89e029c-1 luci-proto-ppp - git-19.213.49492-89e029c-1 luci-theme-bootstrap - git-19.213.49492-89e029c-1 luci-theme-openwrt - git-19.213.49492-89e029c-1 mtd - 23 nano - 4.3-1 netifd - 2019-01-31-a2aba5c7-2.1 odhcp6c - 2018-07-14-67ae6a71-15 odhcpd-ipv6only - 1.15-3 openwrt-keyring - 2018-05-18-103a32e9-1 opkg - 2019-01-18-7708a01a-1 ppp - 2.4.7-12 ppp-mod-pppoe - 2.4.7-12 procd - 2018-03-28-dfb68f85-1 rpcd - 2018-11-28-3aa81d0d-2 rpcd-mod-rrdns - 20170710 scst - 3.3.x-1 swconfig - 11 terminfo - 6.1-1 uboot-envtools - 2018.03-1 ubox - 2018-02-14-128bc35f-2 ubus - 2018-10-06-221ce7e7-1 ubusd - 2018-10-06-221ce7e7-1 uci - 2019-05-17-f199b961-1 uclibcxx - 0.2.4-3 uclient-fetch - 2018-11-24-3ba74ebc-1 uhttpd - 2018-11-28-cdfc902a-3 usign - 2015-07-04-ef641914-1 wireless-regdb - 2017-10-20-4343d359 wpad-mini - 2018-05-21-62566bc2-6 zoneinfo-core - 2018e-1 zoneinfo-europe - 2018e-1 root@OpenWrt:~# [свернуть] В запущенных модулях тоже ничего нет lsmodBusyBox v1.28.4 () built-in shell (ash)
_______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt 18.06.4, r7808-ef686b7292 ----------------------------------------------------- root@OpenWrt:~# lsmod aead 3585 0 ath 17523 3 ath9k,ath9k_common,ath9k_hw ath9k 94427 0 ath9k_common 11789 1 ath9k ath9k_hw 337868 2 ath9k,ath9k_common auth_rpcgss 34677 2 nfsd,rpcsec_gss_krb5 cbc 1904 0 cfg80211 211194 4 ath9k,ath9k_common,ath,mac80211 compat 5208 4 ath9k,ath9k_common,mac80211,cfg80211 crc_ccitt 1035 1 ppp_async crc16 1031 1 ext4 crypto_null 2466 1 aead cryptomgr 1945 0 cts 3280 0 des_generic 18379 0 ecb 1360 0 ehci_hcd 33271 1 ehci_platform ehci_platform 3888 0 exportfs 3104 1 nfsd ext4 335579 1 gpio_button_hotplug 4592 0 grace 1313 2 nfsd,lockd hmac 2480 0 ip_tables 9581 4 iptable_nat,iptable_mangle,iptable_filter ip6_tables 9473 24 ip6table_mangle,ip6table_filter ip6t_REJECT 976 2 ip6table_filter 688 1 ip6table_mangle 1200 1 ipt_MASQUERADE 688 1 ipt_REJECT 944 2 iptable_filter 752 1 iptable_mangle 976 1 iptable_nat 784 1 jbd2 49698 1 ext4 ledtrig_usbport 2240 0 lockd 48543 2 nfsd,nfs mac80211 415052 1 ath9k mbcache 3188 2 ext4 md5 1808 0 nf_conntrack 50215 8 nf_conntrack_ipv6,xt_state,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_rtcache nf_conntrack_ipv4 4752 11 nf_conntrack_ipv6 5104 6 nf_conntrack_rtcache 2480 0 nf_defrag_ipv4 822 1 nf_conntrack_ipv4 nf_defrag_ipv6 4430 1 nf_conntrack_ipv6 nf_log_common 2351 2 nf_log_ipv4,nf_log_ipv6 nf_log_ipv4 3184 0 nf_log_ipv6 3344 0 nf_nat 8971 4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4 nf_nat_ipv4 3409 1 iptable_nat nf_nat_masquerade_ipv4 1468 1 ipt_MASQUERADE nf_nat_redirect 1019 1 xt_REDIRECT nf_reject_ipv4 2179 1 ipt_REJECT nf_reject_ipv6 2344 1 ip6t_REJECT nfs 105436 0 nfsd 198958 0 nls_base 5056 1 usbcore ohci_hcd 22559 1 ohci_platform ohci_platform 3184 0 oid_registry 1987 1 auth_rpcgss ppp_async 6256 0 ppp_generic 21474 3 pppoe,ppp_async,pppox pppoe 7888 0 pppox 1386 1 pppoe rpcsec_gss_krb5 19429 0 scsi_mod 92539 3 ums_cypress,usb_storage,sd_mod sd_mod 25504 2 sha1_generic 2133 0 slhc 4379 1 ppp_generic sunrpc 156072 5 nfsd,nfs,rpcsec_gss_krb5,auth_rpcgss,lockd uhci_hcd 18752 0 ums_alauda 8336 0 ums_cypress 2512 0 ums_datafab 4656 0 ums_freecom 2160 0 ums_isd200 5280 0 ums_jumpshot 3728 0 ums_karma 1744 0 ums_sddr09 8752 0 ums_sddr55 4976 0 ums_usbat 7280 0 usb_common 1534 1 usbcore usb_storage 39307 11 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda usbcore 124875 17 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,ledtrig_usbport,usb_storage,uhci_hcd,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd x_tables 12554 22 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables xt_LOG 784 0 xt_REDIRECT 688 0 xt_TCPMSS 2704 4 xt_comment 528143 xt_conntrack 2224 16 xt_limit 1040 20 xt_mac 656 0 xt_mark 688 0 xt_multiport 1232 0 xt_nat 1168 0 xt_state 720 0 xt_tcpudp 1744 12 xt_time 1648 0 root@OpenWrt:~# [свернуть] По /etc/init.d/scst start, в логе никакой реакции P.S.2 У Вас какая версия scst работала, может исходник сохранился? Попробую с ним собрать. Последний раз редактировалось sakatgg; 08.08.2019 в 21:23. |
![]() |
![]() |
![]() |
#39 |
Senior Member
Регистрация: 17.02.2013
Адрес: Харьков
Сообщений: 235
Вес репутации: 690 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
sakatgg
Конфигурационный файл и так создается полупустой, его естественно нужно редактировать вручную, либо его генерирует luci-app-scst веб-интерфейс. В общем разобрался. Во первых, в trunk уже версия 3.4.x. Они ее немного переделали, также переделал Makefile, потому как нужно компилировать с файлом scst_debug.o, но отключить дебугер пришлось по другому, иначе он влияет на производительность. Чтобы не плодить Makefile'ы, я отредактировал это сообщение - Makefile пока только для trunk. Сначала я пробовал проверить работу на scst-trunk - вот видео. Сразу скажу, там сломан luci-app-scst, он уже толком не запускает модули scst-trunk, зато запускает как должен /etc/init.d/scst start Единственное, что в веб интерфейсе удобно делать конфиг для scst. Как он работает с 3.3.x я еще не проверял, протестирую, потом попробую объединить или сделать раздельно. P.S. Заморачиваться с "no-incompatible-pointer-types" больше не нужно, я сделал чтобы оно проверяло версию компилятора и просто не использовало эту команду... ОБНОВИЛ ССЫЛКУ НА ВИДЕО! Последний раз редактировалось Dioptimizer; 09.08.2019 в 08:49. |
![]() |
![]() |
![]() |
#40 | |
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 990 ![]() ![]() ![]() ![]() ![]() |
![]()
Dioptimizer, Спасибо, попозже буду пробовать.
Цитата:
Последний раз редактировалось sakatgg; 10.08.2019 в 11:55. |
|
![]() |
![]() |
![]() |
Метки |
iscsi, scst |
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|