nixp.ru v3.0

23 апреля 2024,
вторник,
16:45:56 MSK

Dr. Evil написал 16 мая 2005 года в 11:02 (892 просмотра) Ведет себя как мужчина; открыл 578 тем в форуме, оставил 3008 комментариев на сайте.

DrEvil:~ # lsusb

Bus 003 Device 004: ID 4102:2002 iRiver, Ltd.

Bus 003 Device 001: ID 0000:0000

Bus 002 Device 002: ID 07ca:b800 AVerMedia Technologies, Inc.

Bus 002 Device 001: ID 0000:0000

Bus 001 Device 003: ID 0698:1786 Chuntex (CTX) 1300ex Monitor

Bus 001 Device 002: ID 0698:9999 Chuntex (CTX) VLxxxx Monitor+Hub

Bus 001 Device 001: ID 0000:0000

DrEvil:~ # lsusb -v

Bus 003 Device 004: ID 4102:2002 iRiver, Ltd.

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 2.00

bDeviceClass 0 (Defined at Interface level)

bDeviceSubClass 0

bDeviceProtocol 0

bMaxPacketSize0 64

idVendor 0×4102 iRiver, Ltd.

idProduct 0×2002

bcdDevice 30.10

iManufacturer 1 IRIVER

iProduct 2 IRIVER Mass Storage Device

iSerial 0

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 32

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xc0

Self Powered

DrEvil:~ # fdisk -l

Device Boot Start End Blocks Id System

/dev/sda1 * 1 608 4883728+ b W95 FAT32

DrEvil:/lib/modules/2.6.11.4-20a-default/kernel/fs/nls # ls

. .. nls_cp1250.ko nls_cp1251.ko nls_koi8-r.ko nls_koi8-ru.ko nls_koi8-u.ko nls_utf8.ko

DrEvil:/lib/modules/2.6.11.4-20a-default/kernel/fs/nls # lsmod | grep usb

usb_storage 68032 0

usbserial 27112 0

usbhid 43104 0

scsi_mod 118600 5 usb_storage,sg,st,sd_mod,sr_mod

usbcore 105176 6 usb_storage,usbserial,usbhid,ehci_hcd,ohci_hcd

ide_core 111784 4 usb_storage,ide_cd,ide_disk,sis5513

DrEvil:/lib/modules/2.6.11.4-20a-default/kernel/fs/nls # lsmod | grep fat

vfat 11648 0

fat 35996 1 vfat

DrEvil:/etc # more fstab

/dev/sda1 /media/FLASH vfat 0 0

DrEvil:/etc # mount /dev/sda1 /media/H10/

mount: wrong fs type, bad option, bad superblock on /dev/sda1,

missing codepage or other error

In some cases useful info is found in syslog — try

dmesg | tail or so

DrEvil:/etc # tail -f /var/log/messages

May 16 10:59:45 DrEvil kernel: Unable to load NLS charset cp437

May 16 10:59:45 DrEvil kernel: FAT: codepage cp437 not found

May 16 10:59:45 DrEvil hal.hotplug[8176]: DEVPATH is not set

May 16 10:59:45 DrEvil submountd: mount failure, No such device

May 16 10:59:45 DrEvil kernel: subfs: unsuccessful attempt to mount media (256)

May 16 11:00:10 DrEvil kernel: usb 3-4: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110

May 16 11:00:10 DrEvil kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 160 rq 6 len 7 ret -75

May 16 11:05:25 DrEvil kernel: Unable to load NLS charset cp437

May 16 11:05:25 DrEvil kernel: FAT: codepage cp437 not found

May 16 11:05:25 DrEvil hal.hotplug[8367]: DEVPATH is not set

вот такая фигня…. nls какие только не пробовал

Genie

видимо, такая кодовая страница у тебя в ядро не скомпилирована..

погляди в make menuconfig раздел «File systems«--»Native Language Support» и там Codepage 437 (United States, Canada)

либо монтируй с явным указанием кодовой страницы mount -t vfat -ocodepage=866,iocharset=koi8-r /dev/sda1 /mnt/flash

Dr. Evil

спасибо всем за ответы!

пересобрал ядро, включив в него все нужные nls и кодировки! все заработало!

еще раз благодарю!

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.