ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilia Menchikh <ilia@vitamin-e.ru>
To: community@altlinux.ru
Subject: [Comm] Test IDE-controller was: Странности с cdrecord
Date: Mon, 31 Mar 2003 13:17:13 +0400
Message-ID: <20030331131713.65327fec.ilia@vitamin-e.ru> (raw)
In-Reply-To: <E18zugF-0005Ny-00@host.orbita.udm.net>

On Mon, 31 Mar 2003 13:10:09 +0500
Rinat Bikatov <BiRin@orbita.udm.ru> wrote:

> у меня такое было при записи на записанную или испорченную (точно не
> помню) болванку. при записи на другую болванку - всё ок.

Нет, тут другое.

Как протестировать глюки IDE контроллера? 
Симптомы такие:
При копировании/записи на диски больших файлов (от 100М) подскакивает
количество отъедаемой процессом памяти (>50%), заодно вылезает в топе
наверх bdflush. Воспроизводимо как локально, так и по самбе.

Железо:
Chaintech 6vjd2-100

  Bus  0, device  17, function  1:
    IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE
(rev 6).      Master Capable.  Latency=32.  
      I/O at 0xd000 [0xd00f].

В логах:
SCSI host 2 abort (pid 3094271) timed out - resetting
SCSI bus is being reset for host 2 channel 0.
scsi : aborting command due to timeout : pid 3094271, scsi2, channel 0,
id 0, lun 0 UNKNOWN(0x54) 01 00 00 00 00 00 00 00 00 
SCSI host 2 abort (pid 3094271) timed out - resetting 
SCSI bus is being reset for host 2
channel 0. scsi : aborting command due to timeout : pid 3094271, scsi2,
channel 0, id 0, lun 0 UNKNOWN(0x54) 01 00 00 00 00 00 00 00 00 
<кусь то же самое>
SCSI host 2 abort (pid 3094271) timed out - resetting
SCSI bus is being reset for host 2 channel 0.
ide1: reset timed-out, status=0xd0

$ cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.35
South Bridge:                       VIA vt8233
Revision:                           ISA 0x0 IDE 0x6
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xd000
PCI clock:                          33.3MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:               no                  no
Post Write Buffer:             no                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 80w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:        PIO      UDMA       PIO       PIO
Address Setup:      120ns      30ns      30ns      30ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:        330ns      90ns      90ns      90ns
Data Recovery:      270ns      30ns      30ns      30ns
Cycle Time:         600ns      20ns     120ns     120ns
Transfer Rate:    3.3MB/s  99.9MB/s  16.6MB/s  16.6MB/s

Hdparm показывает другое:
СD-RW:
$ sudo hdparm -i /dev/hdc 

/dev/hdc:

 Model=_NEC NR-7500A, FwRev=1.20, SerialNo=
 Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
 AdvancedPM=no

Винт:
$ sudo hdparm -i /dev/hdd

/dev/hdd:

 Model=ST340016A, FwRev=7.73, SerialNo=3HR2HX28
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78165360
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4 5


Короче, что полетело - резак или контроллер? И как это точнее
определить.

PS. Машина под нагрузкой - самбовая файлопомойка, без серьезных
нареканий несколько месяцев.
Как говорится - Help need!

-- 
Regards
Ilia Menchikh
JID ililina@jabber.vitamin-e.ru


      reply	other threads:[~2003-03-31  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-31  6:41 [Comm] " Ilia Menchikh
2003-03-31  8:10 ` Rinat Bikatov
2003-03-31  9:17   ` Ilia Menchikh [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=20030331131713.65327fec.ilia@vitamin-e.ru \
    --to=ilia@vitamin-e.ru \
    --cc=community@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 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