* growisofs / system load / dma setting
@ 2004-11-30 14:27 Thomas Fritzsche
2004-12-07 17:12 ` Bill Davidsen
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Fritzsche @ 2004-11-30 14:27 UTC (permalink / raw)
To: linux-kernel
Hi Linux-Hackers,
I posted this message first to the cdwriter mailing list (
http://www.mail-archive.com/cdwrite%40other.debian.org/msg07041.html )
but they told me this is a kernel problem, thus I post it here again.
Because I had this DVD-Device running without problem in 2.6.8 I can
exclude that it's a cabel/hw-problem.
Thanks and regards,
Thomas Fritzsche
---------------------------------------
Hi all,
I'm using growisofs -Z /dev/hdc=/link/to/iso.iso to burn DVD-Video's. This
works, BUT the system load is very high while burning. I'l checked DMA
setting but DMA is on (and 32 bit). I googled around but can not find a
solution. I tried again and found that after burning dma is off!? I
checked dmesg and found message:
--------------------------------------
hdc: irq timeout: status=0xd0 { Busy }
hdc: irq timeout: error=0xd0LastFailedSense 0x0d
hdc: DMA disabled
hdc: ATAPI reset complete
--------------------------------------
I tested a few times and sometimes only the system load is very high but
DMA is still set after the run, but often DMA setting is disabled and I
get the message above.
My system configuration is:
uname -a
Linux vdr.noto.de 2.4.27-ctvdr-1 #1 Fri Oct 15 18:38:29 UTC 2004 i686
GNU/Linux
hdparm -i /dev/hdc
/dev/hdc:
Model=_NEC DVD_RW ND-3500AG, FwRev=2.16, SerialNo=
Config={ 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
* signifies the current active mode
------------------------------
Is this a growisofs problem or a kernel problem? What causes this trouble?
What can I do to avoid this problems.
Thanks for any help and kind regards,
Thomas Fritzsche
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: growisofs / system load / dma setting
2004-11-30 14:27 growisofs / system load / dma setting Thomas Fritzsche
@ 2004-12-07 17:12 ` Bill Davidsen
2004-12-07 22:07 ` Thomas Fritzsche
0 siblings, 1 reply; 3+ messages in thread
From: Bill Davidsen @ 2004-12-07 17:12 UTC (permalink / raw)
To: linux-kernel, Thomas Fritzsche; +Cc: linux-kernel
Thomas Fritzsche wrote:
> Hi Linux-Hackers,
>
> I posted this message first to the cdwriter mailing list (
> http://www.mail-archive.com/cdwrite%40other.debian.org/msg07041.html )
> but they told me this is a kernel problem, thus I post it here again.
> Because I had this DVD-Device running without problem in 2.6.8 I can
> exclude that it's a cabel/hw-problem.
>
> Thanks and regards,
> Thomas Fritzsche
> ---------------------------------------
> Hi all,
>
> I'm using growisofs -Z /dev/hdc=/link/to/iso.iso to burn DVD-Video's. This
> works, BUT the system load is very high while burning. I'l checked DMA
> setting but DMA is on (and 32 bit). I googled around but can not find a
> solution. I tried again and found that after burning dma is off!? I
> checked dmesg and found message:
> --------------------------------------
> hdc: irq timeout: status=0xd0 { Busy }
> hdc: irq timeout: error=0xd0LastFailedSense 0x0d
> hdc: DMA disabled
> hdc: ATAPI reset complete
> --------------------------------------
> I tested a few times and sometimes only the system load is very high but
> DMA is still set after the run, but often DMA setting is disabled and I
> get the message above.
>
> My system configuration is:
>
> uname -a
> Linux vdr.noto.de 2.4.27-ctvdr-1 #1 Fri Oct 15 18:38:29 UTC 2004 i686
> GNU/Linux
>
> hdparm -i /dev/hdc
>
>
> /dev/hdc:
>
> Model=_NEC DVD_RW ND-3500AG, FwRev=2.16, SerialNo=
> Config={ 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
>
> * signifies the current active mode
>
> ------------------------------
>
> Is this a growisofs problem or a kernel problem? What causes this trouble?
> What can I do to avoid this problems.
Do you have any automounter daemon running? All the window managers are
really bad about this, even when told not to do that, they do (under
some conditions I haven't isolated).
Try it running with X down (console mode). If the problem goes away you
have a start, if not track the system with "vmstat 1" and post a screen
or two.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: growisofs / system load / dma setting
2004-12-07 17:12 ` Bill Davidsen
@ 2004-12-07 22:07 ` Thomas Fritzsche
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Fritzsche @ 2004-12-07 22:07 UTC (permalink / raw)
To: Bill Davidsen; +Cc: linux-kernel
Hi Bill,
I don't have X or an automounter running. I also tried to stop the running
vdr but nothing changed.
Here is the output of "vmstat 1":
procs -----------memory---------- ---swap-- -----io---- --system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy
id wa
1 1 288 5024 8720 405068 0 0 0 0 3708 1258 0 25
75 0
1 1 288 5024 8720 405068 0 0 0 0 3711 1074 0 20
80 0
1 1 288 5016 8728 405068 0 0 0 208 3746 1019 0 22
78 0
0 1 288 5016 8728 405068 0 0 0 0 3673 969 0 15
85 0
1 1 288 5016 8728 405068 0 0 0 0 3663 1049 0 24
76 0
1 1 288 5016 8728 405068 0 0 0 0 3719 1152 2 21
77 0
1 1 288 5016 8728 405068 0 0 0 0 3716 1114 0 18
82 0
1 1 288 5008 8736 405068 0 0 0 80 3711 1141 0 23
77 0
0 1 288 5008 8736 405068 0 0 0 0 3674 1033 0 19
81 0
1 1 288 5008 8736 405068 0 0 0 0 3682 1015 4 25
71 0
1 1 288 5008 8736 405068 0 0 0 0 3708 1012 0 21
79 0
1 1 288 5008 8736 405068 0 0 0 0 3713 1043 0 17
83 0
1 1 288 5000 8744 405068 0 0 0 80 3720 1011 0 29
71 0
1 1 288 5000 8744 405068 0 0 0 0 3610 1033 1 20
79 0
1 1 288 4680 8744 405388 0 0 320 0 2955 958 0 42
58 0
1 1 288 4680 8744 405388 0 0 0 0 2451 881 1 50
49 0
2 0 288 4464 8720 405656 0 0 2364 0 2562 843 0 50
50 0
2 0 288 4208 8560 406076 0 128 6016 220 930 632 0 96
4 0
3 0 288 5124 8452 405268 0 0 5632 0 1048 813 3 87
10 0
3 0 288 4276 8224 406344 0 0 5760 0 1075 818 1 91
8 0
3 0 288 4392 8040 406396 0 0 5640 0 1057 823 2 94
4 0
procs -----------memory---------- ---swap-- -----io---- --system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy
id wa
4 0 288 5180 7816 405852 0 0 5636 0 1072 835 2 84
14 0
3 0 288 4532 7760 406552 0 0 5640 144 1108 887 1 85
14 0
3 0 288 4672 7704 406476 0 0 5636 0 1103 872 1 86
13 0
3 0 288 4812 7676 406368 0 0 5636 0 1119 902 1 86
13 0
4 0 288 4876 7668 406248 0 0 5640 0 1131 889 2 92
6 0
3 0 288 4944 7656 406256 0 0 5636 0 1092 829 9 85
6 0
1 0 288 4956 7664 406244 0 0 5740 140 1123 905 1 90
9 0
3 0 288 4980 7652 406236 0 0 5664 0 1047 2231 9 89
2 0
3 0 288 5000 7640 406240 0 0 5636 0 1060 2351 9 91
0 0
4 0 288 4876 7612 406384 0 0 5640 0 1011 2196 11 89
0 0
3 0 288 4776 7600 406500 0 0 5636 0 1076 1591 8 92
0 0
4 0 288 4768 7604 406500 0 0 5636 112 1099 1883 8 92
0 0
3 0 288 4932 7596 406356 0 0 5512 0 1130 2497 8 92
0 0
3 0 288 4808 7580 406492 0 0 5764 0 1091 1816 6 94
0 0
4 0 288 4684 7572 406624 0 0 5768 0 1117 2155 10 90
0 0
6 0 288 4584 7544 406620 0 0 5636 0 1150 1837 10 90
0 0
4 0 288 4592 7548 406736 0 0 5636 100 1090 1262 12 88
0 0
4 0 288 4596 7540 406744 0 0 5640 0 1128 1598 11 89
0 0
4 0 288 4600 7528 406756 0 0 5636 0 1134 1454 8 92
0 0
This is the begin of a DVD recording as you can see the system load "si"
is going up to 80%-90%.
Thanks and regards,
Thomas Fritzsche
>> Is this a growisofs problem or a kernel problem? What causes this
>> trouble?
>> What can I do to avoid this problems.
>
> Do you have any automounter daemon running? All the window managers are
> really bad about this, even when told not to do that, they do (under
> some conditions I haven't isolated).
>
> Try it running with X down (console mode). If the problem goes away you
> have a start, if not track the system with "vmstat 1" and post a screen
> or two.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-08 0:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-30 14:27 growisofs / system load / dma setting Thomas Fritzsche
2004-12-07 17:12 ` Bill Davidsen
2004-12-07 22:07 ` Thomas Fritzsche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox