ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Запись дисков
@ 2008-05-13 17:58 Alexandr Petukhov
  2008-05-13 19:00 ` Motsyo Gennadi aka Drool
  2008-05-14  8:32 ` Евгений
  0 siblings, 2 replies; 7+ messages in thread
From: Alexandr Petukhov @ 2008-05-13 17:58 UTC (permalink / raw)
  To: ALT Linux Community general discussions

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

Подскажите, в чем может быть дело.
При запуске k3b выдаёт:


kdecore (KAction): WARNING: KActionCollection::operator+=(): function is 
severely deprecated.
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bCore) System problems:
k3b:  CRITICAL
k3b:  PROBLEM:  Нет доступа на запись к устройству /dev/hdc
k3b:  DETAILS:  K3b требуется доступ на запись ко всем устройствам для 
выполнения некоторых действий. Без этого вы можете столкнуться 
испытывать проблемы с Optiarc - DVD RW AD-5170A
k3b:  SOLUTION: Удостоверьтесь, что вы имеете право записи на /dev/hdc. 
Если вы не используете devfs или udev, воспользуйтесь Центром управления 
системы для того, чтобы стать членом группы пользователей «cdwriter».

Говорю: gpasswd -a *пользователь* cdwiter
Логинюсь заново- проблема остаётся. Впрочем иногда сеяошибка не вылазит, 
но запись вываливается:

System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.9
QT Version:  3.3.8b
Kernel:      2.6.24-std-def-alt8
Devices
-----------------------
AOPEN COM5232/AAH 1.03 (/dev/hdd, ) [CD-R, CD-RW, CD-ROM, DVD-ROM] [DVD-ROM, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R]

Optiarc DVD RW AD-5170A 1.11 (/dev/hdc, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96R, RAW/R96R, Ограниченная перезапись, Layer Jump]
Burned media
-----------------------
DVD-R Sequential

K3bIsoImager
-----------------------
mkisofs print size result: 2202102 (4509904896 bytes)
Pipe throughput: 34197504 bytes read, 34193152 bytes written.

Used versions
-----------------------
mkisofs: 2.1.1a03
growisofs: 7.0

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 16.4x1352KBps.
:-[ WRITE@LBA=110h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error
:-( write failed: Input/output error
/dev/hdc: flushing cache
/dev/hdc: updating RMA
/dev/hdc: closing disc

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:2202102 -use-the-force-luke=dummy -dvd-compat -speed=16 -use-the-force-luke=bufsize:32m 

mkisofs
-----------------------
2202102
INFO: UTF-8 character encoding detected by locale settings.
 Assuming UTF-8 encoded filenames on source filesystem,
 use -input-charset to override.
  0.02% done, estimate finish Tue May 13 00:49:03 2008
  0.05% done, estimate finish Tue May 13 00:49:03 2008
  0.07% done, estimate finish Tue May 13 00:49:03 2008
  0.09% done, estimate finish Tue May 13 00:49:03 2008
  0.11% done, estimate finish Tue May 13 00:49:03 2008
  0.14% done, estimate finish Tue May 13 01:01:13 2008
  0.16% done, estimate finish Tue May 13 00:59:30 2008
  0.18% done, estimate finish Tue May 13 00:58:12 2008
  0.20% done, estimate finish Tue May 13 00:57:12 2008
  0.23% done, estimate finish Tue May 13 00:56:22 2008
  0.25% done, estimate finish Tue May 13 00:55:42 2008
  0.27% done, estimate finish Tue May 13 00:55:09 2008
  0.30% done, estimate finish Tue May 13 00:54:41 2008
  0.32% done, estimate finish Tue May 13 00:54:16 2008
  0.34% done, estimate finish Tue May 13 00:53:56 2008
  0.36% done, estimate finish Tue May 13 00:53:38 2008
  0.39% done, estimate finish Tue May 13 00:53:22 2008
  0.41% done, estimate finish Tue May 13 00:53:07 2008
  0.43% done, estimate finish Tue May 13 00:52:54 2008
  0.45% done, estimate finish Tue May 13 00:52:43 2008
  0.48% done, estimate finish Tue May 13 00:52:32 2008
  0.50% done, estimate finish Tue May 13 00:52:22 2008
  0.52% done, estimate finish Tue May 13 00:52:14 2008
  0.55% done, estimate finish Tue May 13 00:52:06 2008
  0.57% done, estimate finish Tue May 13 00:51:59 2008
  0.59% done, estimate finish Tue May 13 00:51:52 2008
  0.61% done, estimate finish Tue May 13 00:51:45 2008
  0.64% done, estimate finish Tue May 13 00:51:40 2008
  0.66% done, estimate finish Tue May 13 00:51:34 2008
  0.68% done, estimate finish Tue May 13 00:51:29 2008
  0.70% done, estimate finish Tue May 13 00:51:24 2008
  0.73% done, estimate finish Tue May 13 00:51:20 2008
  0.75% done, estimate finish Tue May 13 01:00:10 2008

mkisofs calculate size command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -print-size -quiet -volid Том и Джери -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /home/shurik/tmp/kde-shurik/k3behQrAa.tmp -rational-rock -hide-list /home/shurik/tmp/kde-shurik/k3bRu7A4b.tmp -joliet -joliet-long -hide-joliet-list /home/shurik/tmp/kde-shurik/k3b3Fg8cb.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 2 -path-list /home/shurik/tmp/kde-shurik/k3bV0crma.tmp 

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid Том и Джери -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /home/shurik/tmp/kde-shurik/k3bWCRgob.tmp -rational-rock -hide-list /home/shurik/tmp/kde-shurik/k3bHqe57b.tmp -joliet -joliet-long -hide-joliet-list /home/shurik/tmp/kde-shurik/k3bbOiEfc.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 2 -path-list /home/shurik/tmp/kde-shurik/k3bTLfVla.tmp 



ЗЫ Проблема тянется ещё с 4.0, просто нужды в записи не было :)


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

* Re: [Comm] Запись дисков
  2008-05-13 17:58 [Comm] Запись дисков Alexandr Petukhov
@ 2008-05-13 19:00 ` Motsyo Gennadi aka Drool
  2008-05-13 19:01   ` Andrey Rahmatullin
  2008-05-14  8:32 ` Евгений
  1 sibling, 1 reply; 7+ messages in thread
From: Motsyo Gennadi aka Drool @ 2008-05-13 19:00 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Alexandr Petukhov пишет:
> k3b:  PROBLEM:  Нет доступа на запись к устройству /dev/hdc

	Может попробовать
control cdrdao public
control cdrecord-classic public


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

* Re: [Comm] Запись дисков
  2008-05-13 19:00 ` Motsyo Gennadi aka Drool
@ 2008-05-13 19:01   ` Andrey Rahmatullin
  2008-05-13 19:09     ` Motsyo Gennadi aka Drool
  0 siblings, 1 reply; 7+ messages in thread
From: Andrey Rahmatullin @ 2008-05-13 19:01 UTC (permalink / raw)
  To: community

On Tue, May 13, 2008 at 10:00:11PM +0300, Motsyo Gennadi aka Drool wrote:
>> k3b:  PROBLEM:  Нет доступа на запись к устройству /dev/hdc
> 	Может попробовать
> control cdrdao public
> control cdrecord-classic public
Это изменит права на устройство?


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

* Re: [Comm] Запись дисков
  2008-05-13 19:01   ` Andrey Rahmatullin
@ 2008-05-13 19:09     ` Motsyo Gennadi aka Drool
  2008-05-14 19:20       ` Alexandr Petukhov
  0 siblings, 1 reply; 7+ messages in thread
From: Motsyo Gennadi aka Drool @ 2008-05-13 19:09 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Andrey Rahmatullin пишет:
> On Tue, May 13, 2008 at 10:00:11PM +0300, Motsyo Gennadi aka Drool wrote:
>>> k3b:  PROBLEM:  Нет доступа на запись к устройству /dev/hdc
>> 	Может попробовать
>> control cdrdao public
>> control cdrecord-classic public
> Это изменит права на устройство?

	Нет, но мне при аналогичной проблеме такое решение помогло.


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

* Re: [Comm] Запись дисков
  2008-05-13 17:58 [Comm] Запись дисков Alexandr Petukhov
  2008-05-13 19:00 ` Motsyo Gennadi aka Drool
@ 2008-05-14  8:32 ` Евгений
  1 sibling, 0 replies; 7+ messages in thread
From: Евгений @ 2008-05-14  8:32 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Alexandr Petukhov пишет:
> Здравствуйте.
> 
> Подскажите, в чем может быть дело.
> При запуске k3b выдаёт:
> 
> 
> kdecore (KAction): WARNING: KActionCollection::operator+=(): function is 
> severely deprecated.
> k3b: (K3bFileTreeView::addCdDeviceBranches)
> k3b: (K3bFileTreeView::addCdDeviceBranches) done
> k3b: (K3bFileTreeView::addCdDeviceBranches)
> k3b: (K3bFileTreeView::addCdDeviceBranches) done
> k3b: (K3bCore) System problems:
> k3b:  CRITICAL
> k3b:  PROBLEM:  Нет доступа на запись к устройству /dev/hdc
> k3b:  DETAILS:  K3b требуется доступ на запись ко всем устройствам для 
> выполнения некоторых действий. Без этого вы можете столкнуться 
> испытывать проблемы с Optiarc - DVD RW AD-5170A
> k3b:  SOLUTION: Удостоверьтесь, что вы имеете право записи на /dev/hdc. 
> Если вы не используете devfs или udev, воспользуйтесь Центром управления 
> системы для того, чтобы стать членом группы пользователей «cdwriter».
<кусь>

Я сделал так:
В /etc/security/console.perms.d/51-local.perms

# file classes -- these are regular expressions
<cdrom>=/dev/hdb /dev/dvd* /dev/cdrom* /dev/cdroms/* /mnt/cdrom* /mnt/dvd*
<burner>=/dev/hda /dev/scd* /dev/sr[0-7]* /dev/pcd* /dev/pg* /dev/cdwriter*
<scanner>=/dev/scanner* /dev/usb/scanner*

# permission definitions
<console>  0644 <cdrom>      0640 root.cdrom
<console>  0666 <burner>     0660 root.cdwriter
<console>  0600 <scanner>    0600 root


И всё.


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

* Re: [Comm] Запись дисков
  2008-05-13 19:09     ` Motsyo Gennadi aka Drool
@ 2008-05-14 19:20       ` Alexandr Petukhov
  2008-05-14 19:33         ` Andrey Rahmatullin
  0 siblings, 1 reply; 7+ messages in thread
From: Alexandr Petukhov @ 2008-05-14 19:20 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

Motsyo Gennadi aka Drool пишет:
> Andrey Rahmatullin пишет:
>> On Tue, May 13, 2008 at 10:00:11PM +0300, Motsyo Gennadi aka Drool 
>> wrote:
>>>> k3b:  PROBLEM:  Нет доступа на запись к устройству /dev/hdc
>>>     Может попробовать
>>> control cdrdao public
>>> control cdrecord-classic public
>> Это изменит права на устройство?
Да-да, $ ls -l /dev/hdс говорит, что:
 brw-rw---- 1 root cdwriter 22, 0 Май 15  2008 /dev/hdc
    тогда я сделал:
chown -R shurik /dev/hdc
    и оно стало: 
brw-rw----- 1 shurik cdwriter 22, 0 Май 15  2008 /dev/hdc
    в системе есть ещё один привод, с ним было всё в порядке:

brw-rw----- 1 shurik cdrom 22, 64 Май 15  2008 /dev/hdd
(впрочем, это не помешало вывалиться K3b с ошибкой при попытке прожига 
болванки. см во вложении)

Однако при следующей загрузки системы владелец второго привода изменился:

brw-rw---- 1 root cdrom 22, 64 Май 15  2008 /dev/hdd
а первый привод изменил сам себе права доступа:
brw-r----- 1 shurik cdrom 22, 0 Май 15  2008 /dev/hdc

Есть предположения, что бы это значило?



[-- Attachment #2: k3b.txt --]
[-- Type: text/plain, Size: 4779 bytes --]

System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.9
QT Version:  3.3.8b
Kernel:      2.6.24-std-def-alt8
Devices
-----------------------
AOPEN COM5232/AAH 1.03 (/dev/hdd, ) [CD-R, CD-RW, CD-ROM, DVD-ROM] [DVD-ROM, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R]

Optiarc DVD RW AD-5170A 1.11 (/dev/hdc, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96R, RAW/R96R, Ограниченная перезапись, Layer Jump]
Burned media
-----------------------
DVD-R Sequential

K3bIsoImager
-----------------------
mkisofs print size result: 2222324 (4551319552 bytes)
Pipe throughput: 33899264 bytes read, 33894912 bytes written.

Used versions
-----------------------
mkisofs: 2.1.1a03
growisofs: 7.0

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 16.4x1352KBps.
:-[ WRITE@LBA=90h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error
:-( write failed: Input/output error
/dev/hdc: flushing cache
/dev/hdc: updating RMA
/dev/hdc: closing disc

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:2222324 -use-the-force-luke=dummy -dvd-compat -speed=16 -use-the-force-luke=bufsize:32m 

mkisofs
-----------------------
2222324
INFO: UTF-8 character encoding detected by locale settings.
 Assuming UTF-8 encoded filenames on source filesystem,
 use -input-charset to override.
  0.02% done, estimate finish Wed May 14 22:59:40 2008
  0.05% done, estimate finish Wed May 14 22:59:40 2008
  0.07% done, estimate finish Wed May 14 22:59:40 2008
  0.09% done, estimate finish Wed May 14 22:59:40 2008
  0.11% done, estimate finish Wed May 14 22:59:40 2008
  0.14% done, estimate finish Wed May 14 23:11:57 2008
  0.16% done, estimate finish Wed May 14 23:10:13 2008
  0.18% done, estimate finish Wed May 14 23:08:54 2008
  0.20% done, estimate finish Wed May 14 23:07:53 2008
  0.23% done, estimate finish Wed May 14 23:07:03 2008
  0.25% done, estimate finish Wed May 14 23:06:23 2008
  0.27% done, estimate finish Wed May 14 23:05:50 2008
  0.29% done, estimate finish Wed May 14 23:05:21 2008
  0.32% done, estimate finish Wed May 14 23:04:56 2008
  0.34% done, estimate finish Wed May 14 23:04:35 2008
  0.36% done, estimate finish Wed May 14 23:04:17 2008
  0.38% done, estimate finish Wed May 14 23:04:01 2008
  0.41% done, estimate finish Wed May 14 23:03:46 2008
  0.43% done, estimate finish Wed May 14 23:03:33 2008
  0.45% done, estimate finish Wed May 14 23:03:22 2008
  0.47% done, estimate finish Wed May 14 23:03:11 2008
  0.50% done, estimate finish Wed May 14 23:03:01 2008
  0.52% done, estimate finish Wed May 14 23:02:53 2008
  0.54% done, estimate finish Wed May 14 23:02:45 2008
  0.56% done, estimate finish Wed May 14 23:02:37 2008
  0.59% done, estimate finish Wed May 14 23:02:30 2008
  0.61% done, estimate finish Wed May 14 23:02:24 2008
  0.63% done, estimate finish Wed May 14 23:02:18 2008
  0.65% done, estimate finish Wed May 14 23:02:13 2008
  0.68% done, estimate finish Wed May 14 23:02:08 2008
  0.70% done, estimate finish Wed May 14 23:02:03 2008
  0.72% done, estimate finish Wed May 14 23:01:58 2008
  0.74% done, estimate finish Wed May 14 23:04:09 2008

mkisofs calculate size command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -print-size -quiet -volid Том и Джери -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /home/shurik/tmp/kde-shurik/k3b5muRpc.tmp -rational-rock -hide-list /home/shurik/tmp/kde-shurik/k3bCkSZJa.tmp -joliet -joliet-long -hide-joliet-list /home/shurik/tmp/kde-shurik/k3bpOrm9b.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 2 -path-list /home/shurik/tmp/kde-shurik/k3bv4Ehsc.tmp 

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid Том и Джери -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /home/shurik/tmp/kde-shurik/k3bx9PZIa.tmp -rational-rock -hide-list /home/shurik/tmp/kde-shurik/k3bcEfqsb.tmp -joliet -joliet-long -hide-joliet-list /home/shurik/tmp/kde-shurik/k3bfrrYIa.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 2 -path-list /home/shurik/tmp/kde-shurik/k3bWtLWjb.tmp 


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

* Re: [Comm] Запись дисков
  2008-05-14 19:20       ` Alexandr Petukhov
@ 2008-05-14 19:33         ` Andrey Rahmatullin
  0 siblings, 0 replies; 7+ messages in thread
From: Andrey Rahmatullin @ 2008-05-14 19:33 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

On Wed, May 14, 2008 at 11:20:56PM +0400, Alexandr Petukhov wrote:
> chown -R shurik /dev/hdc
Наивно enough.

> Однако при следующей загрузки системы владелец второго привода изменился:
> 
> brw-rw---- 1 root cdrom 22, 64 Май 15  2008 /dev/hdd
> а первый привод изменил сам себе права доступа:
> brw-r----- 1 shurik cdrom 22, 0 Май 15  2008 /dev/hdc
> 
> Есть предположения, что бы это значило?
console.perms(5)

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

<raorn> мантейнер cdrecord тут не присутствует случаем? у меня success
        story есть ;-)
<drF_ckoff> raorn: какой "success story"?
<raorn> болванки хайспидовые. cdrocord на них ругнулся про оранжевый
        эмбарго, однако зписал.
<drF_ckoff> а у меня success story про ls есть!
<raorn> drF_ckoff: делись
<drF_ckoff> raorn: я сказал ls -l / и он показал мне список каталогов!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2008-05-14 19:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 17:58 [Comm] Запись дисков Alexandr Petukhov
2008-05-13 19:00 ` Motsyo Gennadi aka Drool
2008-05-13 19:01   ` Andrey Rahmatullin
2008-05-13 19:09     ` Motsyo Gennadi aka Drool
2008-05-14 19:20       ` Alexandr Petukhov
2008-05-14 19:33         ` Andrey Rahmatullin
2008-05-14  8:32 ` Евгений

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