ALT Linux hardware support
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: hardware@altlinux.ru
Subject: Re: [Hardware] MP3 плеер NEXX NF-340
Date: Tue, 15 Nov 2005 13:17:33 +0300
Message-ID: <20051115101733.GC24496@master.mivlgu.local> (raw)
In-Reply-To: <43791E81.40507@micmedia.ru>

[-- 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 --]

      parent reply	other threads:[~2005-11-15 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-14 23:32 Alexei V. Mezin
2005-11-15  6:04 ` Eugene Ostapets
2005-11-15 10:17 ` Sergey Vlasov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051115101733.GC24496@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=hardware@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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