* ide-cdrom / atapi burning bug - 2.6.1
@ 2004-01-31 1:05 Mans Matulewicz
2004-01-31 9:34 ` Jens Axboe
0 siblings, 1 reply; 13+ messages in thread
From: Mans Matulewicz @ 2004-01-31 1:05 UTC (permalink / raw)
To: linux-kernel
Hi,
After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
This totally fails. Most of the CD's are corrupt and my system totally
locks up when erasing an cdrw (reset button was the option I needed to
reboot my system) . k3b reports cd is completely burned but fails are
not identical or totally unreadable. I tried it both with an tainted
(nvidia) and an untainted (nv) kernel: same results. With ide-scsi
burning in 2.4.x I had no problems.
Software:
Distro: gentoo
Kernel: 2.6.1 stock
cdrtools: 2.01_alpha25
cdrdao: 1.1.7-r3
k3b: 0.10.3
Hardware
Cpu: Athlon XP 1700+ (palomino)
Mobo: ASUS A7V333 (kt333)
Ide interface: VIA Technologies, In VT82C586/B/686A/B PI (rev 6).
/dev/hda 40 gig ibm harddisc
/dev/hdb liteon LTR16102B (the troublemaker)
/dev/hdc 120 gig hitachi harddisc
/dev/hdd toshiba dvd player
Dma is on
(ver linux script:
Linux meanmachine 2.6.1 #1 SMP Fri Jan 30 21:54:39 CET 2004 i686 AMD
Athlon(TM) XP 1700+ AuthenticAMD GNU/Linux
Gnu C 3.2.3
Gnu make 3.80
util-linux 2.11z
mount 2.11z
module-init-tools 0.9.15-pre4
e2fsprogs 1.34
PPP 2.4.1
nfs-utils 1.0.6
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 3.1.12
Net-tools 1.60
Kbd 1.08
Sh-utils 5.0.91
Modules Loaded w83781d i2c_sensor i2c_viapro i2c_core
iptable_mangle ipt_state iptable_filter ipt_MASQUERADE iptable_nat
ip_conntrack ip_tables hci_usb bluetooth pwc videodev uhci_hcd ehci_hcd
snd_seq_midi snd_emu10k1_synth snd_emux_synth snd_seq_virmidi
snd_seq_midi_event snd_seq_midi_emul snd_seq snd_emu10k1 snd_rawmidi
snd_seq_device snd_ac97_codec snd_util_mem snd_hwdep snd_pcm_oss snd_pcm
snd_page_alloc snd_timer snd_mixer_oss snd soundcore sd_mod scsi_mod
)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 1:05 ide-cdrom / atapi burning bug - 2.6.1 Mans Matulewicz
@ 2004-01-31 9:34 ` Jens Axboe
2004-01-31 10:10 ` Mans Matulewicz
2004-01-31 18:17 ` David Ford
0 siblings, 2 replies; 13+ messages in thread
From: Jens Axboe @ 2004-01-31 9:34 UTC (permalink / raw)
To: Mans Matulewicz; +Cc: linux-kernel
On Sat, Jan 31 2004, Mans Matulewicz wrote:
> Hi,
> After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
> This totally fails. Most of the CD's are corrupt and my system totally
> locks up when erasing an cdrw (reset button was the option I needed to
> reboot my system) . k3b reports cd is completely burned but fails are
> not identical or totally unreadable. I tried it both with an tainted
> (nvidia) and an untainted (nv) kernel: same results. With ide-scsi
> burning in 2.4.x I had no problems.
Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
most likely an issue with your via adapter.
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 9:34 ` Jens Axboe
@ 2004-01-31 10:10 ` Mans Matulewicz
2004-01-31 10:20 ` Jens Axboe
2004-01-31 18:17 ` David Ford
1 sibling, 1 reply; 13+ messages in thread
From: Mans Matulewicz @ 2004-01-31 10:10 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
On Sat, 2004-01-31 at 10:34, Jens Axboe wrote:
> On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > Hi,
> > After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
> > This totally fails. Most of the CD's are corrupt and my system totally
> > locks up when erasing an cdrw (reset button was the option I needed to
> > reboot my system) . k3b reports cd is completely burned but fails are
> > not identical or totally unreadable. I tried it both with an tainted
> > (nvidia) and an untainted (nv) kernel: same results. With ide-scsi
> > burning in 2.4.x I had no problems.
>
> Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
> most likely an issue with your via adapter.
I used DMA in 2.4.
I tried without dma on but it still totally locks my system while
erasing an rw.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 10:10 ` Mans Matulewicz
@ 2004-01-31 10:20 ` Jens Axboe
2004-01-31 10:27 ` Mans Matulewicz
0 siblings, 1 reply; 13+ messages in thread
From: Jens Axboe @ 2004-01-31 10:20 UTC (permalink / raw)
To: Mans Matulewicz; +Cc: linux-kernel
On Sat, Jan 31 2004, Mans Matulewicz wrote:
> On Sat, 2004-01-31 at 10:34, Jens Axboe wrote:
> > On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > > Hi,
> > > After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
> > > This totally fails. Most of the CD's are corrupt and my system totally
> > > locks up when erasing an cdrw (reset button was the option I needed to
> > > reboot my system) . k3b reports cd is completely burned but fails are
> > > not identical or totally unreadable. I tried it both with an tainted
> > > (nvidia) and an untainted (nv) kernel: same results. With ide-scsi
> > > burning in 2.4.x I had no problems.
> >
> > Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
> > most likely an issue with your via adapter.
>
> I used DMA in 2.4.
>
> I tried without dma on but it still totally locks my system while
> erasing an rw.
Do you really have an SMP box, or are you just using an SMP kernel? If
you have SMP, it would be interesting to enable the nmi watchdog (if it
works on your system).
Are you using preempt?
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 10:20 ` Jens Axboe
@ 2004-01-31 10:27 ` Mans Matulewicz
2004-01-31 10:32 ` Jens Axboe
0 siblings, 1 reply; 13+ messages in thread
From: Mans Matulewicz @ 2004-01-31 10:27 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
On Sat, 2004-01-31 at 11:20, Jens Axboe wrote:
> On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > On Sat, 2004-01-31 at 10:34, Jens Axboe wrote:
> > > On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > > > Hi,
> > > > After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
> > > > This totally fails. Most of the CD's are corrupt and my system totally
> > > > locks up when erasing an cdrw (reset button was the option I needed to
> > > > reboot my system) . k3b reports cd is completely burned but fails are
> > > > not identical or totally unreadable. I tried it both with an tainted
> > > > (nvidia) and an untainted (nv) kernel: same results. With ide-scsi
> > > > burning in 2.4.x I had no problems.
> > >
> > > Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
> > > most likely an issue with your via adapter.
> >
> > I used DMA in 2.4.
> >
> > I tried without dma on but it still totally locks my system while
> > erasing an rw.
>
> Do you really have an SMP box, or are you just using an SMP kernel? If
> you have SMP, it would be interesting to enable the nmi watchdog (if it
> works on your system).
>
> Are you using preempt?
Its just an smp kernel. I only have one cpu.
Preempt is enabled in kernel
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 10:27 ` Mans Matulewicz
@ 2004-01-31 10:32 ` Jens Axboe
2004-01-31 16:45 ` Mans Matulewicz
0 siblings, 1 reply; 13+ messages in thread
From: Jens Axboe @ 2004-01-31 10:32 UTC (permalink / raw)
To: Mans Matulewicz; +Cc: linux-kernel
On Sat, Jan 31 2004, Mans Matulewicz wrote:
> On Sat, 2004-01-31 at 11:20, Jens Axboe wrote:
> > On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > > On Sat, 2004-01-31 at 10:34, Jens Axboe wrote:
> > > > On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > > > > Hi,
> > > > > After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
> > > > > This totally fails. Most of the CD's are corrupt and my system totally
> > > > > locks up when erasing an cdrw (reset button was the option I needed to
> > > > > reboot my system) . k3b reports cd is completely burned but fails are
> > > > > not identical or totally unreadable. I tried it both with an tainted
> > > > > (nvidia) and an untainted (nv) kernel: same results. With ide-scsi
> > > > > burning in 2.4.x I had no problems.
> > > >
> > > > Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
> > > > most likely an issue with your via adapter.
> > >
> > > I used DMA in 2.4.
> > >
> > > I tried without dma on but it still totally locks my system while
> > > erasing an rw.
> >
> > Do you really have an SMP box, or are you just using an SMP kernel? If
> > you have SMP, it would be interesting to enable the nmi watchdog (if it
> > works on your system).
> >
> > Are you using preempt?
>
> Its just an smp kernel. I only have one cpu.
>
> Preempt is enabled in kernel
Could you try disabling preempt?
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 10:32 ` Jens Axboe
@ 2004-01-31 16:45 ` Mans Matulewicz
0 siblings, 0 replies; 13+ messages in thread
From: Mans Matulewicz @ 2004-01-31 16:45 UTC (permalink / raw)
To: linux-kernel
On Sat, 2004-01-31 at 11:32, Jens Axboe wrote:
> On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > On Sat, 2004-01-31 at 11:20, Jens Axboe wrote:
> > > On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > > > On Sat, 2004-01-31 at 10:34, Jens Axboe wrote:
> > > > > On Sat, Jan 31 2004, Mans Matulewicz wrote:
> > > > > > Hi,
> > > > > > After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
> > > > > > This totally fails. Most of the CD's are corrupt and my system totally
> > > > > > locks up when erasing an cdrw (reset button was the option I needed to
> > > > > > reboot my system) . k3b reports cd is completely burned but fails are
> > > > > > not identical or totally unreadable. I tried it both with an tainted
> > > > > > (nvidia) and an untainted (nv) kernel: same results. With ide-scsi
> > > > > > burning in 2.4.x I had no problems.
> > > > >
> > > > > Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
> > > > > most likely an issue with your via adapter.
> > > >
> > > > I used DMA in 2.4.
> > > >
> > > > I tried without dma on but it still totally locks my system while
> > > > erasing an rw.
> > >
> > > Do you really have an SMP box, or are you just using an SMP kernel? If
> > > you have SMP, it would be interesting to enable the nmi watchdog (if it
> > > works on your system).
> > >
> > > Are you using preempt?
> >
> > Its just an smp kernel. I only have one cpu.
> >
> > Preempt is enabled in kernel
>
> Could you try disabling preempt?
That worked.
preempt= off
dma was on
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 9:34 ` Jens Axboe
2004-01-31 10:10 ` Mans Matulewicz
@ 2004-01-31 18:17 ` David Ford
2004-01-31 18:49 ` Jens Axboe
1 sibling, 1 reply; 13+ messages in thread
From: David Ford @ 2004-01-31 18:17 UTC (permalink / raw)
To: linux-kernel; +Cc: Jens Axboe, Mans Matulewicz
I don't have an RW, but when my cdrom fixates, it stalls everything
while it's fixating. I have an nForce chipset. (2.6.x)
Jens Axboe wrote:
>On Sat, Jan 31 2004, Mans Matulewicz wrote:
>
>
>>Hi,
>>After replacing my 2.4.22 with a 2.6.1 kernel I tried ATAPI cd burning.
>>This totally fails. Most of the CD's are corrupt and my system totally
>>locks up when erasing an cdrw (reset button was the option I needed to
>>reboot my system) . k3b reports cd is completely burned but fails are
>>not identical or totally unreadable. I tried it both with an tainted
>>(nvidia) and an untainted (nv) kernel: same results. With ide-scsi
>>burning in 2.4.x I had no problems.
>>
>>
>
>Did you use DMA in 2.4 as well? Does 2.6 work if you turn it off? It's
>most likely an issue with your via adapter.
>
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 18:17 ` David Ford
@ 2004-01-31 18:49 ` Jens Axboe
2004-02-01 0:00 ` Daniel Pittman
2004-02-01 8:24 ` Alan
0 siblings, 2 replies; 13+ messages in thread
From: Jens Axboe @ 2004-01-31 18:49 UTC (permalink / raw)
To: David Ford; +Cc: linux-kernel, Mans Matulewicz
On Sat, Jan 31 2004, David Ford wrote:
> I don't have an RW, but when my cdrom fixates, it stalls everything
> while it's fixating. I have an nForce chipset. (2.6.x)
Does "everything" mean everything on that ide channel? If so, then
that's a hardware limitation.
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 18:49 ` Jens Axboe
@ 2004-02-01 0:00 ` Daniel Pittman
2004-02-01 15:25 ` Jens Axboe
2004-02-01 8:24 ` Alan
1 sibling, 1 reply; 13+ messages in thread
From: Daniel Pittman @ 2004-02-01 0:00 UTC (permalink / raw)
To: Jens Axboe; +Cc: David Ford, linux-kernel, Mans Matulewicz
On Sat, 31 Jan 2004, Jens Axboe wrote:
> On Sat, Jan 31 2004, David Ford wrote:
>> I don't have an RW, but when my cdrom fixates, it stalls everything
>> while it's fixating. I have an nForce chipset. (2.6.x)
>
> Does "everything" mean everything on that ide channel? If so, then
> that's a hardware limitation.
My IBM A31p (Intel 845 chipset) had a similar problem with the CD
burner. Using the '-immed' flag resolved the issue for me.
Daniel
--
To-morrow, and to-morrow, and to-morrow,
Creeps in this petty pace from day to day,
To the last syllable of recorded time;
-- Macbeth; Act V, Scene VI
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-02-01 0:00 ` Daniel Pittman
@ 2004-02-01 15:25 ` Jens Axboe
0 siblings, 0 replies; 13+ messages in thread
From: Jens Axboe @ 2004-02-01 15:25 UTC (permalink / raw)
To: Daniel Pittman; +Cc: linux-kernel, Mans Matulewicz
On Sun, Feb 01 2004, Daniel Pittman wrote:
> On Sat, 31 Jan 2004, Jens Axboe wrote:
> > On Sat, Jan 31 2004, David Ford wrote:
> >> I don't have an RW, but when my cdrom fixates, it stalls everything
> >> while it's fixating. I have an nForce chipset. (2.6.x)
> >
> > Does "everything" mean everything on that ide channel? If so, then
> > that's a hardware limitation.
>
> My IBM A31p (Intel 845 chipset) had a similar problem with the CD
> burner. Using the '-immed' flag resolved the issue for me.
(Dave cut from cc, annoying auth process required to mail him)
immed will help, because it causes the command to 'release' in as close
a sense to the word as ide allows. I'm not sure if error handling works
correctly in that case?
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-01-31 18:49 ` Jens Axboe
2004-02-01 0:00 ` Daniel Pittman
@ 2004-02-01 8:24 ` Alan
2004-02-01 15:27 ` Jens Axboe
1 sibling, 1 reply; 13+ messages in thread
From: Alan @ 2004-02-01 8:24 UTC (permalink / raw)
To: Jens Axboe; +Cc: David Ford, linux-kernel, Mans Matulewicz
On Sat, 2004-01-31 at 10:49, Jens Axboe wrote:
> On Sat, Jan 31 2004, David Ford wrote:
> > I don't have an RW, but when my cdrom fixates, it stalls everything
> > while it's fixating. I have an nForce chipset. (2.6.x)
>
> Does "everything" mean everything on that ide channel? If so, then
> that's a hardware limitation.
I have seen the problem as well.
It is not just processes using the IDE. Everything will pause for a
second or two. (Which causes grief with streaming audio running at the
same time.)
Even more annoying is that it does not always occur. I have not tried
tracking down where the kernel is getting hung up at that moment since
it has been fairly intermittent for me.
--
"Push that big, big granite sphere way up there from way down here!
Gasp and sweat and pant and wheeze! Uh-oh! Feel momentum cease!
Watch it tumble down and then roll the boulder up again!"
- The story of Sisyphus by Dr. Zeus in Frazz 12/18/2003
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: ide-cdrom / atapi burning bug - 2.6.1
2004-02-01 8:24 ` Alan
@ 2004-02-01 15:27 ` Jens Axboe
0 siblings, 0 replies; 13+ messages in thread
From: Jens Axboe @ 2004-02-01 15:27 UTC (permalink / raw)
To: Alan; +Cc: linux-kernel, Mans Matulewicz
On Sun, Feb 01 2004, Alan wrote:
> On Sat, 2004-01-31 at 10:49, Jens Axboe wrote:
> > On Sat, Jan 31 2004, David Ford wrote:
> > > I don't have an RW, but when my cdrom fixates, it stalls everything
> > > while it's fixating. I have an nForce chipset. (2.6.x)
> >
> > Does "everything" mean everything on that ide channel? If so, then
> > that's a hardware limitation.
>
> I have seen the problem as well.
>
> It is not just processes using the IDE. Everything will pause for a
> second or two. (Which causes grief with streaming audio running at the
> same time.)
One process can easily stall the other, if they end up waiting on some
resource. Might not always happen, but easily can.
> Even more annoying is that it does not always occur. I have not tried
> tracking down where the kernel is getting hung up at that moment since
> it has been fairly intermittent for me.
There's not much you can do about it - you may want to try -immed as
mentioned earlier in this thread.
--
Jens Axboe
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-02-01 15:28 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-31 1:05 ide-cdrom / atapi burning bug - 2.6.1 Mans Matulewicz
2004-01-31 9:34 ` Jens Axboe
2004-01-31 10:10 ` Mans Matulewicz
2004-01-31 10:20 ` Jens Axboe
2004-01-31 10:27 ` Mans Matulewicz
2004-01-31 10:32 ` Jens Axboe
2004-01-31 16:45 ` Mans Matulewicz
2004-01-31 18:17 ` David Ford
2004-01-31 18:49 ` Jens Axboe
2004-02-01 0:00 ` Daniel Pittman
2004-02-01 15:25 ` Jens Axboe
2004-02-01 8:24 ` Alan
2004-02-01 15:27 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox