ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Странности с cdrecord
@ 2003-03-31  6:41 Ilia Menchikh
  2003-03-31  8:10 ` Rinat Bikatov
  0 siblings, 1 reply; 3+ messages in thread
From: Ilia Menchikh @ 2003-03-31  6:41 UTC (permalink / raw)
  To: community

Здравствуйте!

Такое впечатление, что cdrecord запорол прошивку CD-RW.
Делал следующее:

$cdrecord -v -eject speed=4 dev=2,0,0 -data maket.iso 
Cdrecord 2.0 (i586-alt-linux-gnu) Copyright (C) 1995-2002 JЖrg Schilling
TOC Type: 1 = CD-ROM
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : '_NEC    '
Identifikation : 'NR-7500A        '
Revision       : '1.20'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO 
Supported modes: TAO PACKET SAO SAO/R96R
Drive buf size : 1234944 = 1206 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   697 MB        
Total size:      800 MB (79:20.13) = 357010 sectors
Lout start:      801 MB (79:22/10) = 357010 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -11768 (97:25/07)
  ATIP start of lead out: 359775 (79:59/00)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 64
Manufacturer: MPO
Blocks total: 359775 Blocks current: 359775 Blocks remaining: 2765
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...

Здесь минуты две думал. ))
После выдал:

Writing  time:  187.022s
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

И вот итог:

$ sudo cdrecord --scanbus
Cdrecord 2.0 (i586-alt-linux-gnu) Copyright (C) 1995-2002 JЖrg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:

<кусь>

scsibus2:
шб'Пн' unsupported unknown device type 0x19
До этого определял нормально:
NEC    NR-7500A 

Как лечить?
-- 
Regards
Ilia Menchikh
JID ililina@jabber.vitamin-e.ru


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

* Re: [Comm] Странности с cdrecord
  2003-03-31  6:41 [Comm] Странности с cdrecord Ilia Menchikh
@ 2003-03-31  8:10 ` Rinat Bikatov
  2003-03-31  9:17   ` [Comm] Test IDE-controller was: " Ilia Menchikh
  0 siblings, 1 reply; 3+ messages in thread
From: Rinat Bikatov @ 2003-03-31  8:10 UTC (permalink / raw)
  To: community

31 Март 2003 11:41, Вы написали:
> Такое впечатление, что cdrecord запорол прошивку CD-RW.
> Делал следующее:
....
> Blocks total: 359775 Blocks current: 359775 Blocks remaining: 2765
> Starting to write CD/DVD at speed 4 in real TAO mode for single session.
> Last chance to quit, starting real write    0 seconds. Operation starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> Performing OPC...
>
> Здесь минуты две думал. ))
> После выдал:
>
> Writing  time:  187.022s
> cdrecord: fifo had 64 puts and 0 gets.
> cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
....
> Как лечить?
у меня такое было при записи на записанную или испорченную (точно не помню) 
болванку. при записи на другую болванку - всё ок.

-- 
Ринат				писать: BiRin@orbita.udm.ru


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

* [Comm] Test IDE-controller was: Странности с cdrecord
  2003-03-31  8:10 ` Rinat Bikatov
@ 2003-03-31  9:17   ` Ilia Menchikh
  0 siblings, 0 replies; 3+ messages in thread
From: Ilia Menchikh @ 2003-03-31  9:17 UTC (permalink / raw)
  To: community

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


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

end of thread, other threads:[~2003-03-31  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-31  6:41 [Comm] Странности с cdrecord Ilia Menchikh
2003-03-31  8:10 ` Rinat Bikatov
2003-03-31  9:17   ` [Comm] Test IDE-controller was: " Ilia Menchikh

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