ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <taf@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: /dev/cdrom cries in pain
Date: Mon, 31 Jan 2005 00:22:14 +0800
Message-ID: <20050131002214.2d7719db.taf@altlinux.ru> (raw)
In-Reply-To: <20050130152826.GA6334@lks.home>

On Sun, 30 Jan 2005 18:28:26 +0300
"Konstantin A. Lepikhov" <lakostis@anti-leasure.ru> wrote:

> > > > А какой тогда кошерный метод записи? Пробовал записывать через
> > > > устройство dev=ATAPI:/dev/hdd (ATAPI:0,1,0), запись идет, ничего
> > > > не зависает, но потом таким образом записаный диск на этом же
> > > > приводе читается со скоростью 100-200 кбайт/сек. На соседнем
> > > > простом CD диск вообще не читается. Привод NEC-2510A.
> > > самый правильный - dev=/dev/hdd и никаких ATAPI :)
> > 
> > Пробовал. С тем же результатом - низкая скорость чтения на том же
> > приводе и полная нечитаемость на другом приводе.
> показывайте лог cdrecord и что в это время в messages пишется. Также
> интересно знать настройки DMA для этого привода.

Лог cdrecord:

=======================================================================
Cdrecord-Clone 2.01a37 (i586-alt-linux-gnu) Copyright (C) 1995-2004
JЖrg Schilling scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
cdrecord: Warning: Linux kernel version is 2.6.10
cdrecord: Enabling compatibility hack!
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : '_NEC    '
Identifikation : 'DVD_RW ND-2510A '
Revision       : '2.05'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support
code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for
cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal
use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Using generic
SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr). Driver flags   : MMC-3
SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Starting to write CD/DVD at speed 10 in real BLANK mode for single
session. Last chance to quit, starting real write    0 seconds.
Operation starts. cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent
defaults. cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a37 (i586-alt-linux-gnu) Copyright (C) 1995-2004 JЖrg
Schilling TOC Type: 3 = CD-ROM XA mode 2
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
cdrecord: Warning: Linux kernel version is 2.6.10
cdrecord: Enabling compatibility hack!
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : '_NEC    '
Identifikation : 'DVD_RW ND-2510A '
Revision       : '2.05'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A (current)
Profile: 0x0009
Profile: 0x0008 (current)
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support
code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for
cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal
use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Using generic
SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr). Driver flags   : MMC-3
SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 1343488 = 1312 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   327 MB
Total size:      375 MB (37:12.45) = 167434 sectors
Lout start:      375 MB (37:14/34) = 167434 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11635 (97:26/65)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 3
  A1 values: 24 1A BC
  A2 values: 26 B2 26
Disk type:    Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 192415
cdrecord: Warning: Linux kernel version is 2.6.10
cdrecord: Enabling compatibility hack!
cdrecord: Warning: Linux kernel version is 2.6.10
cdrecord: Enabling compatibility hack!
Starting to write CD/DVD at speed 10 in real TAO mode for multi session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01:  327 of  327 MB written (fifo 100%) [buf 100%]  10.5x.
Track 01: Total bytes read/written: 342900736/342900736 (167432
sectors). Writing  time:  230.300s
Average write speed   9.8x.
Min drive buffer fill was 100%
Fixating...
Fixating time:   37.382s
cdrecord: fifo had 5402 puts and 5402 gets.
cdrecord: fifo was 0 times empty and 5320 times full, min fill was 87%.
=====================================================================

То есть ничего особенного криминального  не вижу. Во время записи и
чтения в логи абсолюто ничего не сыплется.

Вот что говорит hdparm:

[root@metamorph log]# hdparm /dev/hdd

/dev/hdd:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument
[root@metamorph log]#


  reply	other threads:[~2005-01-30 16:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-30  8:52 [sisyphus] " Alexandre Prokoudine
2005-01-30  9:23 ` Alexei Takaseev
2005-01-30 10:48   ` Albert R. Valiev
2005-01-30 12:53     ` Alexei Takaseev
2005-01-30 13:42       ` Albert R. Valiev
2005-01-30 13:51       ` [sisyphus] " Konstantin A. Lepikhov
2005-01-30 14:03         ` Alexei Takaseev
2005-01-30 15:28           ` Konstantin A. Lepikhov
2005-01-30 16:22             ` Alexei Takaseev [this message]
2005-01-31 17:27           ` Konstantin A. Lepikhov
2005-02-01  6:12             ` Alexei Takaseev
2005-01-30 21:52         ` Vitaly Lipatov
2005-01-31 19:16           ` Konstantin A. Lepikhov
2005-01-31 20:04             ` Vitaly Lipatov
2005-01-31  7:41         ` Alexey I. Froloff
2005-01-31  8:09           ` Vitaly Lipatov
2005-01-31 16:09           ` Konstantin A. Lepikhov
2005-01-30 15:36     ` [sisyphus] " Alexandre Prokoudine
2005-01-30 21:53       ` Vitaly Lipatov
2005-01-31 10:11     ` Epiphanov Sergei
2005-01-31 13:42       ` Andrei Bulava
2005-01-30 10:59   ` [sisyphus] " Konstantin A. Lepikhov
2005-01-31  9:04   ` [sisyphus] " Anton Farygin

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=20050131002214.2d7719db.taf@altlinux.ru \
    --to=taf@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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