ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] format dvd-ram
@ 2006-10-13 13:49 Maxim Tyurin
  2006-10-13 14:15 ` Konstantin A. Lepikhov
  2006-10-13 20:17 ` Aleksey Korotkov
  0 siblings, 2 replies; 5+ messages in thread
From: Maxim Tyurin @ 2006-10-13 13:49 UTC (permalink / raw)
  To: hardware

Hi!
Есть привод
hdparm -i /dev/hdc

/dev/hdc:

 Model=DVDR PX-750A, FwRev=1.03, SerialNo=
 Config={ Fixed 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=on/off, 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 
 UDMA modes: udma0 udma1 udma2 udma3 *udma4 
 AdvancedPM=no
 Drive conforms to: Unspecified:  ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

 * signifies the current active mode


умеет писать все

cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:             hdd     hdc
drive speed:            39      40
drive # of slots:       1       1
Can close tray:         1       1
Can open tray:          1       1
Can lock tray:          1       1
Can change speed:       1       1
Can select disk:        0       0
Can read multisession:  1       1
Can read MCN:           1       1
Reports media changed:  1       1
Can play audio:         1       1
Can write CD-R:         0       1
Can write CD-RW:        0       1
Can read DVD:           1       1
Can write DVD-R:        0       1
Can write DVD-RAM:      0       1
Can read MRW:           1       1
Can write MRW:          1       1
Can write RAM:          0       1

Пытаюсь его отформатировать
dvd+rw-format -force=full -ssa=max /dev/hdc
* DVD╠RW/-RAM format utility by <appro@fy.chalmers.se>, version 6.1.
* 4.5GB DVD-RAM media detected.
* formatting 0.0\:-( unable to FORMAT UNIT: Input/output error

и после этого даже диск не хочет определять (надо достать диск и
сунуть его назад) и пишет
dvd+rw-format -force=full -ssa=max /dev/hdc
* DVD╠RW/-RAM format utility by <appro@fy.chalmers.se>, version 6.1.
:-( mounted media doesn't appear to be DVD╠RW or DVD-RAM

при первой попытке отформатировать пишет в лог
Oct 13 16:33:30 mrkooll kernel: hdc: irq timeout: status=0xd0 { Busy }
Oct 13 16:33:30 mrkooll kernel: ide: failed opcode was: unknown
Oct 13 16:33:30 mrkooll kernel: hdc: DMA disabled
Oct 13 16:33:31 mrkooll kernel: hdc: ATAPI reset complete

при второй (когда диска не видит)
Oct 13 16:35:10 mrkooll kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
Oct 13 16:35:10 mrkooll kernel: hdc: packet command error: error=0x34 { AbortedCommand LastFailedSense=0x03 }
Oct 13 16:35:10 mrkooll kernel: ide: failed opcode was: unknown
Oct 13 16:35:10 mrkooll kernel: ATAPI device hdc:
Oct 13 16:35:10 mrkooll kernel:   Error: Medium error -- (Sense key=0x03)
Oct 13 16:35:10 mrkooll kernel:   (reserved error code) -- (asc=0x57, ascq=0x00)
Oct 13 16:35:11 mrkooll kernel:   The failed "Read Cd/Dvd Capacity" packet command was:
Oct 13 16:35:11 mrkooll kernel:   "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "

Причем вообще считает что устройство только для чтения
dd if=/dev/zero of=/dev/hdc count=10
dd: открытие `/dev/hdc': Read-only file system

при этом пишет в лог
Oct 13 16:43:12 mrkooll kernel: cdrom: hdc: mrw address space DMA selected
Oct 13 16:43:12 mrkooll kernel: cdrom open: mrw_status 'not mrw'

P.S. Если диск отформатировать на другой машине то можно будет его
смонтировать и работать с диском но только через packet device
P.P.S. Раньше работало но немного странно (форматировал его как
/dev/hdc, потом с ним работал как с /dev/pktcdvd/cdwriter

Хоть подскажите куда копать plz. google совсем не помог.
Система - Сизиф от 2006-10-03, ядро 2.6.16-std26-up-alt2

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  


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

end of thread, other threads:[~2006-10-16  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-13 13:49 [Hardware] format dvd-ram Maxim Tyurin
2006-10-13 14:15 ` Konstantin A. Lepikhov
2006-10-13 14:24   ` Maxim Tyurin
2006-10-13 20:17 ` Aleksey Korotkov
2006-10-16  9:09   ` Maxim Tyurin

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