Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrdao, dma timeout unknown scsi ? Wah!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ScarKS
n00b
n00b


Joined: 29 Jan 2005
Posts: 34

PostPosted: Sat Nov 19, 2005 6:43 pm    Post subject: cdrdao, dma timeout unknown scsi ? Wah! Reply with quote

Hi, i don't know what is happening.
I burned a disk with the same kernel config two days ago, and remerged my burning programs(update).
Well now i can't burn anymore.

dmesg shows the following error message:
Code:

scsi: unknown opcode 0x01
hdd: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: DMA disabled
hdd: ATAPI reset complete
hdd: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: ATAPI reset complete
hdd: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: ATAPI reset complete


cdrdao:

Code:

Starting write at speed 12...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
WARNING: No super user permission to setup real time scheduling.
Turning BURN-Proof on
Executing power calibration...

ERROR: Power calibration failed.
ERROR: Use option --force to ignore this error.



So, what can i do now?
Does anyone have an idea?
Thank you for your help.
Scar
Back to top
View user's profile Send private message
HankHill
n00b
n00b


Joined: 19 Nov 2005
Posts: 11

PostPosted: Sat Nov 19, 2005 8:20 pm    Post subject: Reply with quote

you can try to
Code:
su
hdparm -d1 /dev/hdd

that should turn your dma back on
could you post
Code:
hdparm -vi /dev/hdd
Back to top
View user's profile Send private message
ScarKS
n00b
n00b


Joined: 29 Jan 2005
Posts: 34

PostPosted: Sun Nov 20, 2005 11:34 am    Post subject: Reply with quote

My hdparm -vi /dev/hdd:
Code:
/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

 Model=ATAPI CD-RW 48/16/48X, FwRev=V150C, 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=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no
 Drive conforms to: device does not report version:  4

 * signifies the current active mode

Thank you for your great help :D
The command #hdparm -d1 /dev/hdd
Helped me.
Could you please tell me what it does and why I have to run it?
Scar
Back to top
View user's profile Send private message
HankHill
n00b
n00b


Joined: 19 Nov 2005
Posts: 11

PostPosted: Sun Nov 20, 2005 6:53 pm    Post subject: Reply with quote

for a full explenation go to http://gentoo-wiki.com/HOWTO_Use_hdparm_to_improve_IDE_device_performance
but hdparm modifies your hd and cd/dvdrom drives
-d1 option turns dma on -d0 turns it off
if you are asking what dma is it basically bypasses the processor when writing to memory from hd or cdrom or vice versa
if everytime you reboot the computer the computer turns off dma you can add
Code:
all_args="-d1 "
to the bottom of /etc/conf.d/hdparm then do
Code:
rc-update add hdparm boot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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