LINUX.ORG.RU

Flyrouter не видит usb flash

 


0

1

железка: http://flyrouter.net/doku.php

uname -a:

Linux flyrouter 2.4.32 mips unknown

lsmod:

Module                  Size  Used by    Not tainted
adm5120sw              11920   0
softdog                 1856   2
sch_teql                4800   0 (unused)
sch_gred                5784   0 (unused)
sch_red                 3120   0 (unused)
sch_esfq                5080   0 (unused)
sch_sfq                 3912   0 (unused)
sch_tbf                 3592   0 (unused)
sch_prio                3224   0 (unused)
sch_ingress             1744   0 (unused)
sch_htb                22824   0 (unused)
sch_dsmark              4640   0 (unused)
sch_cbq                14576   0 (unused)
cls_route               4792   0 (unused)
cls_u32                 5736   0 (unused)
cls_fw                  2888   0 (unused)
ipt_REDIRECT             664   0 (unused)
ipt_MIRROR              1296   0 (unused)
ipt_MASQUERADE          1304   0 (unused)
ipt_TTL                  944   0 (unused)
ipt_ttl                  496   0 (unused)
ipt_TOS                  976   0 (unused)
ipt_time                1544   0 (unused)
ipt_tos                  304   0 (unused)
ipt_TCPMSS              2304   0 (unused)
ipt_ECN                 1616   0 (unused)
ipt_ecn                  656   0 (unused)
ipt_DSCP                 960   0 (unused)
ipt_dscp                 304   0 (unused)
ipt_unclean             6832   0 (unused)
ipt_tcpmss               656   0 (unused)
ipt_MARK                 592   0 (unused)
ipt_mark                 304   0 (unused)
ipt_mac                  544   0 (unused)
ipt_length               336   0 (unused)
ipt_layer7             10764   0 (unused)
ipt_ipp2p               7320   0 (unused)
ipt_recent              8208   0 (unused)
ipt_quota                528   0 (unused)
ipt_pkttype              288   0 (unused)
ipt_owner               1280   0 (unused)
ipt_multiport            736   0 (unused)
ipt_LOG                 3888   0 (unused)
ipt_limit                880   0 (unused)
ipt_connbytes           1180   0 (unused)
ipt_condition           1360   0 (unused)
usb-storage            50784   0
sd_mod                 12500   0
scsi_mod               95672   3 [usb-storage sd_mod]
hid                    18596   0 (unused)
usb-shci               11556   0 (unused)
ip_gre                  8960   0 (unused)
ipip                    7584   0 (unused)
usbcore                74312   0 [usb-storage hid usb-shci]
ip_nat_ftp              2984   0 (unused)
ip_nat_pptp             2420   0 (unused)
ip_nat_proto_gre        1564   0 (unused)
ip_conntrack_ftp        4332   1
ip_conntrack_pptp       2984   1
ip_conntrack_proto_gre    2484   0 [ip_nat_pptp ip_conntrack_pptp]
ipt_state                396   0 (unused)
iptable_nat            22204   3 [ipt_REDIRECT ipt_MASQUERADE ip_nat_ftp ip_nat_pptp ip_nat_proto_gre]
ip_conntrack           25136   3 [ipt_REDIRECT ipt_MASQUERADE ipt_layer7 ipt_connbytes ip_nat_ftp ip_nat_pptp ip_conntrack_ftp ip_conntrack_pptp ip_conntrack_proto_gre ipt_state iptable_nat]
ext2                   41496   0
tun                     4344   0 (unused)

не осилил подключить юсб флеш

dmesg:

usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
neo ep_add_ed() failed!!
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08 
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.  
sda: test WP failed, assume Write Enabled
 /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table
usb_control/bulk_msg: timeout
scsi: device set offline - not ready or command retry failed after bus reset: host 1 channel 0 id 0 lun 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
VFS: Disk change detected on device 08:00
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08 
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.  
sda: test WP failed, assume Write Enabled
 /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
VFS: Disk change detected on device 08:00
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08 
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.  
sda: test WP failed, assume Write Enabled
 /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0

все остальные девайсы эту флешку одобрили.

не может sector 0 прочитать, хрен знает почему.

dimon555 ★★★★★ ()
Ответ на: комментарий от dimon555

Есть подозрение на:

usb-shci               11556   0 (unused)

кстати нашел читабельную флешку:

usb-shci.c:  Start Init AHCI_INIT

usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
SCSI subsystem driver Revision: 1.00
hub.c: new USB device HUB-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x1687/0x6211) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Kingmax   Model: USB2.0 FlashDisk  Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 3870720 512-byte hdwr sectors (1982 MB)
sda: Write Protect is off
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

хотелось бы увидеть все флешки (

Tasman ()
Ответ на: комментарий от Tasman

usb-shci это что-то странное.

ohci, ehci, uhci, xhci это нормально

возможно, что другая флешка она не removable и драйвер глючит.

хотя судя по bulk: timeout он глючит где-то ещё.

поищи новую прошивку.

dimon555 ★★★★★ ()

From FlyRouter developer

Приветствую.

На данном процессоре используется USB на шине AMBA. Очень сильно лагает на ядрах 2.4.х Когда-то на сайте я составлял список проверенных флешек. Чем старее флешка, тем больше шансов ее запустить, т.к. на роутере используется USB 1.1.

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.