{"id":3767,"date":"2013-09-17T21:39:31","date_gmt":"2013-09-17T18:39:31","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3767"},"modified":"2014-07-28T13:43:15","modified_gmt":"2014-07-28T10:43:15","slug":"%d0%b4%d0%be%d0%b1%d0%b0%d0%b2%d0%bb%d1%8f%d0%b5%d0%bc-%d0%bf%d0%be%d0%b4%d0%b4%d0%b5%d1%80%d0%b6%d0%ba%d1%83-%d1%84%d0%bb%d0%b5%d1%88%d0%b5%d0%ba-%d0%b2-openwrt-%d1%87%d0%b5%d1%80%d0%b5%d0%b7-%d0%bc","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3767","title":{"rendered":"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0444\u043b\u0435\u0448\u0435\u043a \u0432 openwrt \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u044f\u0434\u0440\u0430"},"content":{"rendered":"<p><strong><span style=\"color: #ff0000;\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/span><\/strong><\/p>\n<p>\u0421\u0442\u0430\u0442\u044c\u044f \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u044f\u0434\u0435\u0440 <strong>2.6.\u0425.<\/strong> \u0414\u043b\u044f \u044f\u0434\u0435\u0440 <strong>3.\u0425<\/strong> \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0447\u0435\u0440\u0435\u0437 &#8211;force-depends \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 <strong>\/lib\/modules\/XXX<\/strong> \u0432\u00a0<strong>\/lib\/modules\/YYY.<\/strong> \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0432 \u044f\u0434\u0440\u0430\u0445 <strong>3.\u0425<\/strong> \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <strong>modprobe<\/strong>.<\/p>\n<p>\u0418 \u0442\u0430\u043a. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 <strong>USB-storage<\/strong> (\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0444\u043b\u0435\u0448\u043a\u0430) \u043d\u0443\u0436\u043d\u044b \u0442\u0430\u043a\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u044f\u0434\u0440\u0430:\u00a0<strong>kmod-usb-storage,\u00a0kmod-scsi-mod,\u00a0kmod-sd-mod<\/strong>. \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435<\/p>\n<p><code># opkg install kmod-usb-storage<br \/>\nInstalling\u00a0kmod-usb-storage (2.6.32.27-1) to root...<br \/>\nDownloading http:\/\/downloads.openwrt.org\/backfire\/10.03.1\/ar71xx\/packages\/kmod-usb-storage_2.6.32.27-1_ar71xx.ipk.<br \/>\nCollected errors:<br \/>\n* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:<br \/>\n* kernel (= 2.6.32.27-1) * kernel (= 2.6.32.27-1) *<br \/>\n* opkg_install_cmd: Cannot install package \u00a0kmod-usb-storage.<\/code><\/p>\n<p><!--more--><\/p>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0430\u043a\u0435\u0442 \u043d\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435.<\/p>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e: \u0432\u0435\u0440\u0441\u0438\u044f \u044f\u0434\u0440\u0430 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 &#8211; <strong>2.6.32.25<\/strong>, \u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 (<strong>10.03.1<\/strong>)\u00a0&#8211; <strong>2.6.32.27<\/strong>. \u0410 \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0442\u043a\u0443 <strong>10.03<\/strong> \u0442\u043e \u0442\u0430\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u00a0<strong>2.6.32.10<\/strong>. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0439.<\/p>\n<p>\u041b\u044e\u0431\u044b\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c <strong>upgrade<\/strong> \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0438\u0441\u044c \u0443\u0441\u043f\u0435\u0445\u043e\u043c (\u043f\u043e\u043b\u0443\u0447\u0430\u043b \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f):<\/p>\n<p><code>Not upgrading package which is marked hold (flags=0x102)<\/code><\/p>\n<p><code>Multiple packages providing same name marked HOLD or PREFER<\/code><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u0442\u0430\u043a:<\/p>\n<p><code># opkg --force-depends install\u00a0kmod-usb_storage<\/code><\/p>\n<p>\u041f\u0430\u043a\u0435\u0442 \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f, \u043d\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u043b\u0435\u0436\u0430\u0442 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043f\u0430\u043f\u043a\u0435 \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u044f\u0434\u0440\u0430:\u00a0<strong>\/lib\/modules\/2.6.32.27<\/strong>. \u0422\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u043d\u0430 \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u044c: \u0432\u0437\u044f\u0442\u044c \u0434\u0430 \u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432 \u043f\u0430\u043f\u043a\u0443\u00a0<strong>\/lib\/modules\/2.6.32.25<\/strong>, \u043d\u043e \u0438 \u0442\u0443\u0442 \u0436\u0434\u0451\u0442 \u0441\u044e\u0440\u043f\u0440\u0438\u0437 \u043f\u0440\u0438 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0435 \u043c\u043e\u0434\u0443\u043b\u044f:<\/p>\n<p><code>usb_storage: version magic '2.6.32.27 mod_unload MIPS32_R2 32BIT ' should be '2.6.32.25 mod_unload MIPS32_R2 32BIT '<\/code><\/p>\n<p>\u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f. \u0412\u044b\u0445\u043e\u0434 \u043e\u0434\u0438\u043d &#8211; \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u044f\u0434\u0440\u0430\u00a0<strong>usb_storage.ko<\/strong>. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 <strong>vi<\/strong> \u0438 \u0438\u0449\u0435\u043c \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<p><code>vermagic=2.6.32.27<\/code><\/p>\n<p>\u043c\u0435\u043d\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 <strong>2.6.32.25<\/strong>, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0438 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u043c. \u0422\u0430\u043a\u043e\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439\u00a0<strong>scsi_mod\u00a0sd_mod<\/strong>. \u041f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435:<\/p>\n<p><code># insmod\u00a0sd_mod<br \/>\n# insmod\u00a0scsi_mod<br \/>\n# insmod\u00a0usb_storage<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c, \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u043d\u044c, \u0447\u0442\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u044b.<\/p>\n<p>\u0423\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u0441\u0451 \u0442\u0435\u043c, \u0447\u0442\u043e \u0432 <strong>openwrt<\/strong> \u043d\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <strong>modprobe<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u044b\u0442\u0430\u0435\u0442 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0438\u0441\u043a\u0438 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043c\u043e\u0434\u0443\u043b\u044f. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f<strong> insmod<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0445 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u041e\u0421 \u043c\u043e\u0434\u0443\u043b\u044f\u0445. \u0418 \u0435\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0439\u0434\u0451\u0442 \u043d\u0435 \u0442\u0430\u043a &#8211; \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0431\u043e\u0439\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0442\u0430\u043a \u043b\u0435\u0433\u043a\u043e.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u044f, \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043b\u043e\u0433\u0430\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f<\/p>\n<p><code>sd 0:0:0:0: [sda] 7835648 512-byte logical blocks: (4.01 GB\/3.73 GiB)<br \/>\nsd 0:0:0:0: [sda] Write Protect is off<br \/>\nsd 0:0:0:0: [sda] Mode Sense: 03 41 00 00<br \/>\nsd 0:0:0:0: [sda] Assuming drive cache: write through<br \/>\nsd 0:0:0:0: [sda] Assuming drive cache: write through<br \/>\nsda: sda1<\/code><\/p>\n<p>\u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442, \u0447\u0442\u043e \u043d\u0430\u0448\u0430 \u0444\u043b\u0435\u0448\u043a\u0430 \u0443\u0432\u0438\u0434\u0435\u043b\u0430\u0441\u044c.<\/p>\n<p><em><strong><span style=\"color: #ff0000;\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/span><\/strong><\/em>: \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u0443\u0436\u043d\u043e\u0439 \u0424\u0421 (<strong>ext3<\/strong>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440), \u0438\u0431\u043e \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u0442\u0443\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e <strong>jffs2<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0421\u0442\u0430\u0442\u044c\u044f \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u044f\u0434\u0435\u0440 2.6.\u0425. \u0414\u043b\u044f \u044f\u0434\u0435\u0440 3.\u0425 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0447\u0435\u0440\u0435\u0437 &#8211;force-depends \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 \/lib\/modules\/XXX \u0432\u00a0\/lib\/modules\/YYY. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0432 \u044f\u0434\u0440\u0430\u0445 3.\u0425 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 modprobe. \u0418 \u0442\u0430\u043a. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 USB-storage (\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0444\u043b\u0435\u0448\u043a\u0430) \u043d\u0443\u0436\u043d\u044b \u0442\u0430\u043a\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u044f\u0434\u0440\u0430:\u00a0kmod-usb-storage,\u00a0kmod-scsi-mod,\u00a0kmod-sd-mod. \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 # opkg install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-3767","post","type-post","status-publish","format-standard","hentry","category-wrt"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3767"}],"version-history":[{"count":7,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3767\/revisions"}],"predecessor-version":[{"id":4330,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3767\/revisions\/4330"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}