Portál AbcLinuxu, 10. května 2025 11:22
Dřív mi bez problémů fungovalo připojení flash disku ,ale od tý doby co jsem předělal Gentoo kompletně na UTF8 a přidal jsem ivman jako automounter, tak flash nemohu namoutovat:
# mount /dev/sda1 /mnt/flash/ 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
# dmesg mplete usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x186 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0x187 L 0 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete
tím to asi nebude,kdyz dam sdb nebo sdb1, vypisuje to zařízení nenalezeno
# lshal udi = '/org/freedesktop/Hal/devices/usb_device_930_651c_100_-1_0800F15032527B91' info.udi = '/org/freedesktop/Hal/devices/usb_device_930_651c_100_-1_0800F15032 527B91' (string) linux.kernel_devname = 'usb-0000:00:1f.2-1' (string) usb_device.version_bcd = 512 (0x200) (int) usb_device.speed_bcd = 4608 (0x1200) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.linux.parent_number = 3 (0x3) (int) usb_device.linux.device_number = 3 (0x3) (int) usb_device.level_number = 1 (0x1) (int) usb_device.port_number = 1 (0x1) (int) usb_device.bus_number = 1 (0x1) (int) info.product = 'USB Flash Memory' (string) usb_device.product = 'USB Flash Memory' (string) info.vendor = 'Toshiba Corp.' (string) usb_device.vendor = 'Toshiba Corp.' (string) usb_device.vendor_id = 2352 (0x930) (int) usb_device.product_id = 25884 (0x651c) (int) usb_device.serial = '0800F15032527B91' (string) usb_device.can_wake_up = false (bool) usb_device.is_self_powered = false (bool) usb_device.device_revision_bcd = 256 (0x100) (int) usb_device.num_interfaces = 1 (0x1) (int) usb_device.num_configurations = 1 (0x1) (int) usb_device.max_power = 200 (0xc8) (int) usb_device.device_subclass = 0 (0x0) (int) usb_device.device_protocol = 0 (0x0) (int) usb_device.device_class = 0 (0x0) (int) usb_device.configuration_value = 1 (0x1) (int) info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_206_-1_0000:00:1f.2 ' (string) usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1' (string) linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1' (st ring) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1' (string) info.bus = 'usb_device' (string)
pardon
udi = '/org/freedesktop/Hal/devices/block_6062-898A' volume.mount_point = '' (string) volume.policy.mount_option.utf8 = true (bool) volume.policy.mount_option.noatime = true (bool) volume.policy.mount_option.sync = true (bool) volume.policy.desired_mount_point = 'usbdisk' (string) volume.policy.mount_filesystem = 'vfat' (string) volume.policy.should_mount = true (bool) info.udi = '/org/freedesktop/Hal/devices/block_6062-898A' (string) volume.partition.msdos_part_table_type = 6 (0x6) (int) volume.size = 126083072 (0x783e000) (uint64) volume.block_size = 512 (0x200) (int) volume.num_blocks = 246256 (0x3c1f0) (int) volume.partition.number = 1 (0x1) (int) volume.is_partition = true (bool) volume.is_mounted = false (bool) volume.is_disc = false (bool) volume.uuid = '6062-898A' (string) volume.label = '' (string) volume.fsversion = 'FAT16' (string) volume.fsusage = 'filesystem' (string) volume.fstype = 'vfat' (string) info.product = 'Volume (vfat)' (string) block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string) block.minor = 1 (0x1) (int) block.major = 8 (0x8) (int) info.capabilities = 'block volume' (string) info.category = 'volume' (string) block.device = '/dev/sda1' (string) info.parent = '/org/freedesktop/Hal/devices/block_8_0' (string) block.is_volume = true (bool) block.have_scanned = false (bool) block.no_partitions = false (bool) linux.sysfs_path_device = '/sys/block/sda/sda1' (string) linux.sysfs_path = '/sys/block/sda/sda1' (string) info.bus = 'block' (string) udi = '/org/freedesktop/Hal/devices/block_8_0' volume.is_partition = false (bool) storage.policy.should_mount = true (bool) info.udi = '/org/freedesktop/Hal/devices/block_8_0' (string) storage.requires_eject = false (bool) storage.hotpluggable = true (bool) storage.removable = true (bool) info.product = 'USB Flash Memory' (string) info.vendor = ' ' (string) storage.drive_type = 'disk' (string) block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string) storage.physical_device = '/org/freedesktop/Hal/devices/usb_usb_device_930_651c_100_-1_0800F15032527B91_0' (string) storage.vendor = ' ' (string) storage.model = 'USB Flash Memory' (string) storage.automount_enabled_hint = true (bool) storage.no_partitions_hint = false (bool) storage.media_check_enabled = true (bool) storage.bus = 'usb' (string) block.minor = 0 (0x0) (int) block.major = 8 (0x8) (int) info.capabilities = 'block storage' (string) info.category = 'storage' (string) block.device = '/dev/sda' (string) info.parent = '/org/freedesktop/Hal/devices/scsi_0_0_0_0' (string) block.is_volume = false (bool) block.have_scanned = true (bool) block.no_partitions = false (bool) linux.sysfs_path_device = '/sys/block/sda' (string) linux.sysfs_path = '/sys/block/sda' (string) info.bus = 'block' (string) udi = '/org/freedesktop/Hal/devices/scsi_0_0_0_0' info.capabilities = 'scsi_generic' (string) scsi.generic_device = '/dev/sg0' (string) info.udi = '/org/freedesktop/Hal/devices/scsi_0_0_0_0' (string) info.product = 'SCSI Device' (string) scsi.lun = 0 (0x0) (int) scsi.target = 0 (0x0) (int) scsi.bus = 0 (0x0) (int) scsi.host = 0 (0x0) (int) info.parent = '/org/freedesktop/Hal/devices/scsi_host_0' (string) scsi.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0' (string) linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0' (string) info.bus = 'scsi' (string) udi = '/org/freedesktop/Hal/devices/scsi_host_0' info.udi = '/org/freedesktop/Hal/devices/scsi_host_0' (string) info.capabilities = 'scsi_host' (string) info.product = 'SCSI Host Interface' (string) scsi_host.host = 0 (0x0) (int) info.parent = '/org/freedesktop/Hal/devices/usb_usb_device_930_651c_100_-1_0800F15032527B91_0' (string) linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0/host0' (string) linux.sysfs_path = '/sys/class/scsi_host/host0' (string) info.bus = 'scsi_host' (string) udi = '/org/freedesktop/Hal/devices/usb_usb_device_930_651c_100_-1_0800F15032527B91_0' info.udi = '/org/freedesktop/Hal/devices/usb_usb_device_930_651c_100_-1_0800F15032527B91_0' (string) info.product = 'USB Mass Storage Interface' (string) usb.interface.subclass = 6 (0x6) (int) usb.interface.protocol = 80 (0x50) (int) usb.interface.number = 0 (0x0) (int) usb.interface.class = 8 (0x8) (int) usb.configuration_value = 1 (0x1) (int) usb.device_class = 0 (0x0) (int) usb.device_protocol = 0 (0x0) (int) usb.device_subclass = 0 (0x0) (int) usb.max_power = 200 (0xc8) (int) usb.num_configurations = 1 (0x1) (int) usb.num_interfaces = 1 (0x1) (int) usb.device_revision_bcd = 256 (0x100) (int) usb.is_self_powered = false (bool) usb.can_wake_up = false (bool) usb.serial = '0800F15032527B91' (string) usb.product_id = 25884 (0x651c) (int) usb.vendor_id = 2352 (0x930) (int) usb.vendor = 'Toshiba Corp.' (string) usb.product = 'USB Flash Memory' (string) usb.bus_number = 1 (0x1) (int) usb.port_number = 1 (0x1) (int) usb.level_number = 1 (0x1) (int) usb.linux.device_number = 3 (0x3) (int) usb.linux.parent_number = 3 (0x3) (int) usb.num_ports = 0 (0x0) (int) usb.speed_bcd = 4608 (0x1200) (int) usb.version_bcd = 512 (0x200) (int) info.parent = '/org/freedesktop/Hal/devices/usb_device_930_651c_100_-1_0800F15032527B91' (string) usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0' (string) linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0' (string) info.bus = 'usb' (string) udi = '/org/freedesktop/Hal/devices/usb_device_930_651c_100_-1_0800F15032527B91' info.udi = '/org/freedesktop/Hal/devices/usb_device_930_651c_100_-1_0800F15032527B91' (string) linux.kernel_devname = 'usb-0000:00:1f.2-1' (string) usb_device.version_bcd = 512 (0x200) (int) usb_device.speed_bcd = 4608 (0x1200) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.linux.parent_number = 3 (0x3) (int) usb_device.linux.device_number = 3 (0x3) (int) usb_device.level_number = 1 (0x1) (int) usb_device.port_number = 1 (0x1) (int) usb_device.bus_number = 1 (0x1) (int) info.product = 'USB Flash Memory' (string) usb_device.product = 'USB Flash Memory' (string) info.vendor = 'Toshiba Corp.' (string) usb_device.vendor = 'Toshiba Corp.' (string) usb_device.vendor_id = 2352 (0x930) (int) usb_device.product_id = 25884 (0x651c) (int) usb_device.serial = '0800F15032527B91' (string) usb_device.can_wake_up = false (bool) usb_device.is_self_powered = false (bool) usb_device.device_revision_bcd = 256 (0x100) (int) usb_device.num_interfaces = 1 (0x1) (int) usb_device.num_configurations = 1 (0x1) (int) usb_device.max_power = 200 (0xc8) (int) usb_device.device_subclass = 0 (0x0) (int) usb_device.device_protocol = 0 (0x0) (int) usb_device.device_class = 0 (0x0) (int) usb_device.configuration_value = 1 (0x1) (int) info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_206_-1_0000:00:1f.2' (string) usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1' (string) linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1' (string) info.bus = 'usb_device' (string)
to by melo byt asi vsechno co souvisi s flashdiskem
s sda ten sami vysledek
i pod rootem stejny problem
i pod rootem stejny problem
uz to funguje pomohlo:
# mount -t vfat -o iocharset=utf8,codepage=852 /dev/sda1 /mnt/flash/
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.