Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Запись дисков на ядрах 2.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
htower
n00b
n00b


Joined: 06 May 2004
Posts: 19
Location: Irkutsk

PostPosted: Thu Mar 03, 2005 2:14 am    Post subject: Запись дисков на ядрах 2.6 Reply with quote

Привет всем. Решил тут проапдейтить систему - поставил ядро 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
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Thu Mar 03, 2005 7:41 am    Post subject: Re: Запись дисков на ядрах 2.6 Reply with quote

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
View user's profile Send private message
htower
n00b
n00b


Joined: 06 May 2004
Posts: 19
Location: Irkutsk

PostPosted: Thu Mar 03, 2005 9:40 am    Post subject: Re: Запись дисков на ядрах 2.6 Reply with quote

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
View user's profile Send private message
Double
Apprentice
Apprentice


Joined: 23 Apr 2004
Posts: 250

PostPosted: Thu Mar 03, 2005 3:20 pm    Post subject: Re: Запись дисков на ядрах 2.6 Reply with quote

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
View user's profile Send private message
ba
l33t
l33t


Joined: 25 May 2003
Posts: 804

PostPosted: Thu Mar 03, 2005 3:39 pm    Post subject: Reply with quote

А теперь тоже самое и с dev=ATA: и вообще почитай тред https://forums.gentoo.org/viewtopic-p-1903431-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
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