ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] flash usb-drive
  2004-05-07  7:42 [Comm] flash usb-drive Alexey Morsov
@ 2004-05-07  7:38 ` Nizamov Shavkat
  2004-05-07  8:34 ` Alexander Kuprin
  1 sibling, 0 replies; 7+ messages in thread
From: Nizamov Shavkat @ 2004-05-07  7:38 UTC (permalink / raw)
  To: community

>
> В fstab за ним числиться vfat... чаво ему может быть надо?
>
vfat - это фат32
тогда как флешки чаще всего просто fat (msdos)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Comm] flash usb-drive
@ 2004-05-07  7:42 Alexey Morsov
  2004-05-07  7:38 ` Nizamov Shavkat
  2004-05-07  8:34 ` Alexander Kuprin
  0 siblings, 2 replies; 7+ messages in thread
From: Alexey Morsov @ 2004-05-07  7:42 UTC (permalink / raw)
  To: community

Привет,

Есть flashdrive Apacer,
вставлен в USB, отдетектился и прописался в /etc/fstab тока 
монтироваться он не хочет - пишет

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
        or too many mounted file systems

В fstab за ним числиться vfat... чаво ему может быть надо?

-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
http://www.ricom.ru
http://www.fondmarket.ru


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] flash usb-drive
  2004-05-07  7:42 [Comm] flash usb-drive Alexey Morsov
  2004-05-07  7:38 ` Nizamov Shavkat
@ 2004-05-07  8:34 ` Alexander Kuprin
  2004-05-07  9:43   ` Alexey Morsov
  1 sibling, 1 reply; 7+ messages in thread
From: Alexander Kuprin @ 2004-05-07  8:34 UTC (permalink / raw)
  To: community

On Friday 07 May 2004 10:42, Alexey Morsov wrote:
> Есть flashdrive Apacer,
> вставлен в USB, отдетектился и прописался в /etc/fstab тока
> монтироваться он не хочет - пишет
>
> mount: wrong fs type, bad option, bad superblock on /dev/sda1,
>         or too many mounted file systems
>
> В fstab за ним числиться vfat... чаво ему может быть надо?

Там ошибка есть -- в /etc/fstab в опциях прописывается kudzu. А опции kudzu 
mount не понимает -- о чём и сообщает в логах при попытке монтирования. 
Удалите kudzu -- должно заработать.

--
WBR, Alexander Kuprin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] flash usb-drive
  2004-05-07  8:34 ` Alexander Kuprin
@ 2004-05-07  9:43   ` Alexey Morsov
  2004-05-07 10:50     ` Alexander Kuprin
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Morsov @ 2004-05-07  9:43 UTC (permalink / raw)
  To: community


Alexander Kuprin wrote:

> On Friday 07 May 2004 10:42, Alexey Morsov wrote:
> 
>>Есть flashdrive Apacer,
>>вставлен в USB, отдетектился и прописался в /etc/fstab тока
>>монтироваться он не хочет - пишет
>>
>>mount: wrong fs type, bad option, bad superblock on /dev/sda1,
>>        or too many mounted file systems
>>
>>В fstab за ним числиться vfat... чаво ему может быть надо?
> 
> 
> Там ошибка есть -- в /etc/fstab в опциях прописывается kudzu. А опции kudzu 
> mount не понимает -- о чём и сообщает в логах при попытке монтирования. 
> Удалите kudzu -- должно заработать.
удалял, прописывал root, user, alex - тоже самое...
sda тоже перебирал...
А вообще я счас пытаюсь его руками замаунтить - для чистоты - 
тоже не прокатывает
> 
> --
> WBR, Alexander Kuprin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://lists.altlinux.ru/mailman/listinfo/community

-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
http://www.ricom.ru
http://www.fondmarket.ru


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] flash usb-drive
  2004-05-07  9:43   ` Alexey Morsov
@ 2004-05-07 10:50     ` Alexander Kuprin
  2004-05-07 12:14       ` Alexey Morsov
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kuprin @ 2004-05-07 10:50 UTC (permalink / raw)
  To: community

On Friday 07 May 2004 12:43, Alexey Morsov wrote:

> удалял, прописывал root, user, alex - тоже самое...
> sda тоже перебирал...
> А вообще я счас пытаюсь его руками замаунтить - для чистоты -
> тоже не прокатывает

Тогда проверьте следующее -- сервис usb запущен?

service usb status

Кстати, один из способов проверить обнаружено ли (и подсоединено) 
SCSI-устройство -- это запустить утилиту cdrecord с ключом -scanbus (возможно 
существует другая утилита, более правильная для этих целей :) Вот, что 
показывает cdrecord на моей машине:

[root@p4 init.d]# cdrecord -scanbus
Cdrecord 2.0 (i586-alt-linux-gnu) Copyright (C) 1995-2002 JЖrg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'SONY    ' 'DVD-ROM DDU1621 ' 'S2.9' Removable CD-ROM
        0,1,0     1) 'LITE-ON ' 'LTR-52246S      ' '6S0D' Removable CD-ROM
scsibus1:
        1,0,0   100) 'Memorex ' 'ThumbDrive      ' '1.11' Removable Disk

И если Вы обнаружили флешку и знаете имя устройства, то чтобы выяснить список 
разделов, воспользуйтесь утилитой fdisk:

[root@p4 init.d]# fdisk -l /dev/sda

Disk /dev/sda: 132 MB, 132120576 bytes
16 heads, 32 sectors/track, 504 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         504      129008   83  Linux

Хм.. Правда свою флешку я переразметил -- вместо раздела FAT создал Linux 
Native.

--
WBR, Alexander Kuprin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] flash usb-drive
  2004-05-07 10:50     ` Alexander Kuprin
@ 2004-05-07 12:14       ` Alexey Morsov
  2004-05-07 12:59         ` Alexander Kuprin
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Morsov @ 2004-05-07 12:14 UTC (permalink / raw)
  To: community

Alexander Kuprin wrote:

> 
> Тогда проверьте следующее -- сервис usb запущен?
> 
> service usb status
Есть иной вариант проверки?
потому что в dmesg

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:07.2-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
   Vendor: USB       Model: Flash Drive       Rev: 1.12
   Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 253949 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
  sda: sda1 sda2 sda3 sda4
inserting floppy driver for 2.4.22-1.2115.nptl
Floppy drive(s): fd0 is 1.44M

было когда я сделал modprobe usb-storage

> 
> Кстати, один из способов проверить обнаружено ли (и подсоединено) 
> SCSI-устройство -- это запустить утилиту cdrecord с ключом -scanbus (возможно 
> существует другая утилита, более правильная для этих целей :) Вот, что 
> показывает cdrecord на моей машине:
> 
> [root@p4 init.d]# cdrecord -scanbus
> Cdrecord 2.0 (i586-alt-linux-gnu) Copyright (C) 1995-2002 JЖrg Schilling
> Linux sg driver version: 3.1.25
> Using libscg version 'schily-0.7'
> scsibus0:
>         0,0,0     0) 'SONY    ' 'DVD-ROM DDU1621 ' 'S2.9' Removable CD-ROM
>         0,1,0     1) 'LITE-ON ' 'LTR-52246S      ' '6S0D' Removable CD-ROM
> scsibus1:
>         1,0,0   100) 'Memorex ' 'ThumbDrive      ' '1.11' Removable Disk
> 
> И если Вы обнаружили флешку и знаете имя устройства, то чтобы выяснить список 
> разделов, воспользуйтесь утилитой fdisk:
> 
> [root@p4 init.d]# fdisk -l /dev/sda
> 
> Disk /dev/sda: 132 MB, 132120576 bytes
> 16 heads, 32 sectors/track, 504 cylinders
> Units = cylinders of 512 * 512 = 262144 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1         504      129008   83  Linux
> 

А вот мой
Disk /dev/sda: 130 MB, 130021888 bytes
4 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 248 * 512 = 126976 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/sda1   ?    911530    911530         5   6e  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
      phys=(357, 119, 40) logical=(911529, 2, 46)
Partition 1 has different physical/logical endings:
      phys=(357, 32, 50) logical=(911529, 2, 55)
Partition 1 does not end on cylinder boundary.
/dev/sda2       5363646   7536938 269488144    0  Empty
Partition 2 has different physical/logical beginnings (non-Linux?):
      phys=(0, 0, 0) logical=(5363645, 3, 47)
Partition 2 has different physical/logical endings:
      phys=(0, 0, 0) logical=(7536937, 1, 42)
Partition 2 does not end on cylinder boundary.
/dev/sda3   ?   2173345   7811905 699181456   53  OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
      phys=(345, 32, 19) logical=(2173344, 1, 18)
Partition 3 has different physical/logical endings:
      phys=(324, 77, 19) logical=(7811904, 1, 49)
Partition 3 does not end on cylinder boundary.
/dev/sda4             1   8679028 1076199424    0  Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
      phys=(0, 0, 0) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
      phys=(0, 0, 0) logical=(8679027, 2, 28)
Partition 4 does not end on cylinder boundary.

> Хм.. Правда свою флешку я переразметил -- вместо раздела FAT создал Linux 
> Native.
> 
> --
> WBR, Alexander Kuprin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://lists.altlinux.ru/mailman/listinfo/community

-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
http://www.ricom.ru
http://www.fondmarket.ru


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] flash usb-drive
  2004-05-07 12:14       ` Alexey Morsov
@ 2004-05-07 12:59         ` Alexander Kuprin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Kuprin @ 2004-05-07 12:59 UTC (permalink / raw)
  To: community

On Friday 07 May 2004 15:14, Alexey Morsov wrote:

> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> hub.c: new USB device 00:07.2-1, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
>    Vendor: USB       Model: Flash Drive       Rev: 1.12
>    Type:   Direct-Access                      ANSI SCSI revision: 02
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 253949 512-byte hdwr sectors (130 MB)
> sda: Write Protect is off
>   sda: sda1 sda2 sda3 sda4

..skip..

> А вот мой
> Disk /dev/sda: 130 MB, 130021888 bytes
> 4 heads, 62 sectors/track, 1023 cylinders
> Units = cylinders of 248 * 512 = 126976 bytes
>
>     Device Boot    Start       End    Blocks   Id  System
> /dev/sda1   ?    911530    911530         5   6e  Unknown
> Partition 1 has different physical/logical beginnings (non-Linux?):
>       phys=(357, 119, 40) logical=(911529, 2, 46)
> Partition 1 has different physical/logical endings:
>       phys=(357, 32, 50) logical=(911529, 2, 55)
> Partition 1 does not end on cylinder boundary.
> /dev/sda2       5363646   7536938 269488144    0  Empty
...skip...

Хм... Интересно. К сожалению, мне не приходилось держать в руках большое 
количество "флешек" от разных производителей. Единственное, что могу 
посоветовать, это пересоздать под Linux'ом требуемый раздел. Но меня смущает 
вот это:

> Disk /dev/sda: 130 MB, 130021888 bytes
> 4 heads, 62 sectors/track, 1023 cylinders
> Units = cylinders of 248 * 512 = 126976 bytes

В то время, как на моей флеш-карте

> Disk /dev/sda: 132 MB, 132120576 bytes
> 16 heads, 32 sectors/track, 504 cylinders
> Units = cylinders of 512 * 512 = 262144 bytes

Даже не знаю. Единственное, что в голову приходит, как я уже сказал, -- 
переразметить под Linux'ом. Но вот поможет ли? :-\

--
WBR, Alexander Kurpin

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-07 12:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-07  7:42 [Comm] flash usb-drive Alexey Morsov
2004-05-07  7:38 ` Nizamov Shavkat
2004-05-07  8:34 ` Alexander Kuprin
2004-05-07  9:43   ` Alexey Morsov
2004-05-07 10:50     ` Alexander Kuprin
2004-05-07 12:14       ` Alexey Morsov
2004-05-07 12:59         ` Alexander Kuprin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git