ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] MP3 плеер NEXX NF-340
@ 2005-11-14 23:32 Alexei V. Mezin
  2005-11-15  6:04 ` Eugene Ostapets
  2005-11-15 10:17 ` Sergey Vlasov
  0 siblings, 2 replies; 3+ messages in thread
From: Alexei V. Mezin @ 2005-11-14 23:32 UTC (permalink / raw)
  To: hardware


Попался в руки MP3 плеер NEXX NF-340, 512Мб, поддержка mp3/wma, радио и 
прочий стандартный набор. Подключил я его к Сизифу и получил вот что:

Nov 13 15:08:14 threebears kernel: usb 1-4: new high speed USB device 
using ehci_hcd and address 2
Nov 13 15:08:16 threebears kernel: SCSI subsystem initialized
Nov 13 15:08:16 threebears kernel: Initializing USB Mass Storage driver...
Nov 13 15:08:16 threebears kernel: scsi0 : SCSI emulation for USB Mass 
Storage devices
Nov 13 15:08:16 threebears kernel: usbcore: registered new driver 
usb-storage
Nov 13 15:08:16 threebears kernel: USB Mass Storage support registered.
Nov 13 15:08:21 threebears kernel:   Vendor:           Model: MP3 Player 
        Rev: 1.00
Nov 13 15:08:21 threebears kernel:   Type:   Direct-Access 
         ANSI SCSI revision: 00
Nov 13 15:08:21 threebears kernel: SCSI device sda: 995328 512-byte hdwr 
sectors (510 MB)
Nov 13 15:08:21 threebears kernel: sda: Write Protect is off
Nov 13 15:08:21 threebears kernel: sda: assuming drive cache: write through
Nov 13 15:08:21 threebears kernel: SCSI device sda: 995328 512-byte hdwr 
sectors (510 MB)
Nov 13 15:08:21 threebears kernel: sda: Write Protect is off
Nov 13 15:08:21 threebears kernel: sda: assuming drive cache: write through
Nov 13 15:08:21 threebears kernel:  sda: sda1
Nov 13 15:08:21 threebears kernel: Attached scsi removable disk sda at 
scsi0, channel 0, id 0, lun 0
Nov 13 15:08:21 threebears scsi.agent[9402]: disk at 
/devices/pci0000:00/0000:00:0e.2/usb1/1-4/1-4:1.0/host0/target0:0:0/0:0:0:0
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001216
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001217
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001218
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001219
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001220
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001221
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001222
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001223
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001216
Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
logical block 1001217


В итоге плеер не замонтировался, связка hal+ivman подавилась :(. Но 
руками mount /dev/sda1 bla-bla-bla проходит отлично, файлы копируются, 
плеером потом воспринимаются нормально. Где проблема?

На всякий случай вывод fdisk и hal-device:

Disk /dev/sda: 509 MB, 509607936 bytes
16 heads, 32 sectors/track, 1944 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1956      500720+   6  FAT16


1: udi = '/org/freedesktop/Hal/devices/storage_model_MP3_Player'
   info.addons = { 'hald-addon-storage' } (string list)
   storage.policy.should_mount = true  (bool)
   block.storage_device = 
'/org/freedesktop/Hal/devices/storage_model_MP3_Player'  (string)
   info.udi = '/org/freedesktop/Hal/devices/storage_model_MP3_Player' 
(string)
   storage.requires_eject = false  (bool)
   storage.hotpluggable = true  (bool)
   info.capabilities = { 'storage', 'block' } (string list)
   info.category = 'storage'  (string)
   info.product = 'MP3 Player'  (string)
   info.vendor = ''  (string)
   storage.removable = true  (bool)
   storage.physical_device = 
'/org/freedesktop/Hal/devices/usb_device_e56_6015_0000A2580D0B1D15_if0' 
  (string)
   storage.lun = 0  (0x0)  (int)
   storage.drive_type = 'disk'  (string)
   storage.vendor = ''  (string)
   storage.model = 'MP3 Player'  (string)
   storage.automount_enabled_hint = true  (bool)
   storage.media_check_enabled = true  (bool)
   storage.no_partitions_hint = false  (bool)
   storage.bus = 'usb'  (string)
   block.is_volume = false  (bool)
   block.minor = 0  (0x0)  (int)
   block.major = 8  (0x8)  (int)
   block.device = '/dev/sda'  (string)
   linux.hotplug_type = 3  (0x3)  (int)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_e56_6015_0000A2580D0B1D15_if0_scsi_host_scsi_device_lun0' 
  (string)
   linux.sysfs_path_device = '/sys/block/sda'  (string)
   linux.sysfs_path = '/sys/block/sda'  (string)




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

* Re: [Hardware] MP3 плеер NEXX NF-340
  2005-11-14 23:32 [Hardware] MP3 плеер NEXX NF-340 Alexei V. Mezin
@ 2005-11-15  6:04 ` Eugene Ostapets
  2005-11-15 10:17 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Eugene Ostapets @ 2005-11-15  6:04 UTC (permalink / raw)
  To: hardware

15.11.05, Alexei V. Mezin<alexei_vm micmedia.ru> написал(а):
>
> Попался в руки MP3 плеер NEXX NF-340, 512Мб, поддержка mp3/wma, радио и
> прочий стандартный набор. Подключил я его к Сизифу и получил вот что:
> Nov 13 15:08:21 threebears kernel:  sda: sda1
> Nov 13 15:08:21 threebears kernel: Attached scsi removable disk sda at
> scsi0, channel 0, id 0, lun 0
> Nov 13 15:08:21 threebears scsi.agent[9402]: disk at
> /devices/pci0000:00/0000:00:0e.2/usb1/1-4/1-4:1.0/host0/target0:0:0/0:0:0:0
> Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1,
> logical block 1001217
>
>
> В итоге плеер не замонтировался, связка hal+ivman подавилась :(. Но
> руками mount /dev/sda1 bla-bla-bla проходит отлично, файлы копируются,
> плеером потом воспринимаются нормально. Где проблема?
У меня меня была проблема подобная с MEDIATECH - он медленно переходит
в режим storage, т.е. любое автомонтирование давится, а вот руками
монтируется... Пришлось на основании метки диска сделать специальную
команду монтирования, включающую в себя: sleep 5 :)

--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru

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

* Re: [Hardware] MP3 плеер NEXX NF-340
  2005-11-14 23:32 [Hardware] MP3 плеер NEXX NF-340 Alexei V. Mezin
  2005-11-15  6:04 ` Eugene Ostapets
@ 2005-11-15 10:17 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2005-11-15 10:17 UTC (permalink / raw)
  To: hardware

[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]

On Tue, Nov 15, 2005 at 02:32:17AM +0300, Alexei V. Mezin wrote:
> 
> Попался в руки MP3 плеер NEXX NF-340, 512Мб, поддержка mp3/wma, радио и 
> прочий стандартный набор. Подключил я его к Сизифу и получил вот что:
> 
[...]
> Nov 13 15:08:21 threebears kernel: SCSI device sda: 995328 512-byte hdwr 
                                                      ^^^^^^
> sectors (510 MB)
> Nov 13 15:08:21 threebears kernel: sda: Write Protect is off
> Nov 13 15:08:21 threebears kernel: sda: assuming drive cache: write through
> Nov 13 15:08:21 threebears kernel:  sda: sda1
> Nov 13 15:08:21 threebears kernel: Attached scsi removable disk sda at 
> scsi0, channel 0, id 0, lun 0
> Nov 13 15:08:21 threebears scsi.agent[9402]: disk at 
> /devices/pci0000:00/0000:00:0e.2/usb1/1-4/1-4:1.0/host0/target0:0:0/0:0:0:0
> Nov 13 15:08:21 threebears kernel: Buffer I/O error on device sda1, 
> logical block 1001216
                ^^^^^^^
[...]
> Disk /dev/sda: 509 MB, 509607936 bytes

509607936 / 512 = 995328 секторов.

> 16 heads, 32 sectors/track, 1944 cylinders
> Units = cylinders of 512 * 512 = 262144 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        1956      500720+   6  FAT16

А в таблице разделов заявлено (500720*2 + 1) = 1001441 сектор даже просто
в разделе, а полный размер диска так вообще 1956*512 = 1001472 сектора.
Т.е., таблица разделов содержит явные ошибки.

При этом ручное монтирование вполне может и проходить нормально, пока
файловая система не будет забита настолько, что начнутся обращения к
несуществующим секторам (хотя возможно, что в самой файловой системе
указан размер меньше, чем этот неправильный размер раздела - тогда ошибок
не будет, если только не переформатировать этот раздел).  А вот при
автоопределении типа файловой системы hal смотрит и в конец раздела (там
может находиться, например, суперблок от md), но получает ошибку из-за
неверного размера раздела.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-11-15 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-14 23:32 [Hardware] MP3 плеер NEXX NF-340 Alexei V. Mezin
2005-11-15  6:04 ` Eugene Ostapets
2005-11-15 10:17 ` Sergey Vlasov

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

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


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