View previous topic :: View next topic |
Author |
Message |
htower n00b
Joined: 06 May 2004 Posts: 19 Location: Irkutsk
|
Posted: Thu Mar 03, 2005 2:14 am Post subject: Запись дисков на ядрах 2.6 |
|
|
Привет всем. Решил тут проапдейтить систему - поставил ядро 2.6 и сразу столкнулся с тем, что cdrecord не видит мой резак в обычном режиме :
Code: | bash-2.05b# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-gentoo-r4htower
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
bash-2.05b# |
Это, в принципе понятно - SCSI эмуляцию я не включал - так что с этим вопросов нет. Поэтому переключаемся на ATAPI-драйвер :
Code: | bash-2.05b# cdrecord -dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-gentoo-r4htower
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'ATAPI ' 'CD-R/RW 32X10 ' 'T.JA' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
bash-2.05b# |
Меня сразу смутила строчка о том, что "никакого ДМА тут нет". Решил проверить - начал писать исошку на RW-шку через ATAPI-драйвер -- на 8 скоростях нагрузка на проц - почти 100 % То есть ДМА - действительно нету....
Посему возник вопрос - как вообще можно комфортно работать с резаком на ядрах серии 2.6 ?
Заранее благодарен на советы и чей-нибудь опыт в данной области. |
|
Back to top |
|
|
serg_sk Guru
Joined: 10 Jul 2004 Posts: 315 Location: Ukraine
|
Posted: Thu Mar 03, 2005 7:41 am Post subject: Re: Запись дисков на ядрах 2.6 |
|
|
htower wrote: | Привет всем. Решил тут проапдейтить систему - поставил ядро 2.6 и сразу столкнулся с тем, что cdrecord не видит мой резак в обычном режиме :
Code: | bash-2.05b# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-gentoo-r4htower
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
bash-2.05b# |
Это, в принципе понятно - SCSI эмуляцию я не включал - так что с этим вопросов нет. Поэтому переключаемся на ATAPI-драйвер :
Code: | bash-2.05b# cdrecord -dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-gentoo-r4htower
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'ATAPI ' 'CD-R/RW 32X10 ' 'T.JA' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
bash-2.05b# |
Меня сразу смутила строчка о том, что "никакого ДМА тут нет". Решил проверить - начал писать исошку на RW-шку через ATAPI-драйвер -- на 8 скоростях нагрузка на проц - почти 100 % То есть ДМА - действительно нету....
Посему возник вопрос - как вообще можно комфортно работать с резаком на ядрах серии 2.6 ?
Заранее благодарен на советы и чей-нибудь опыт в данной области. |
А может все таки включить ему DMA? Через hdparm. _________________ Sorry for my bad englilsh.
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel. |
|
Back to top |
|
|
htower n00b
Joined: 06 May 2004 Posts: 19 Location: Irkutsk
|
Posted: Thu Mar 03, 2005 9:40 am Post subject: Re: Запись дисков на ядрах 2.6 |
|
|
Quote: | А может все таки включить ему DMA? Через hdparm. |
Code: | bash-2.05b# hdparm /dev/hdc
/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
bash-2.05b#
|
Все включено, как видите - так что это всё-же cdrecord гонит |
|
Back to top |
|
|
Double Apprentice
Joined: 23 Apr 2004 Posts: 250
|
Posted: Thu Mar 03, 2005 3:20 pm Post subject: Re: Запись дисков на ядрах 2.6 |
|
|
double root # cdrecord -dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 JЖrg Schilling
cdrecord: Warning: Running on Linux-2.6.10-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'MATSHITA' 'DVD-RAM UJ-820S ' '1.00' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
double root # hdparm /dev/cdrom
/dev/cdrom:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
double root #
мда странная ситуация |
|
Back to top |
|
|
ba l33t
Joined: 25 May 2003 Posts: 804
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|