Bug#345725: via ide dma not enabled

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

zzz haha
Package: linux-image-2.6.14-2-686
Version: 2.6.14-7
Severity: normal

i have a (lspci)

0000:00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)

its dma is not enabled and i can not use hdparm to enable it. if i use
hdparm, then it tells me i don't have enough permission.

i then recompiled the kernel with the attached config. and the dma is
enabled now.

config-2.6.14 (59K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

Sven Luther
On Tue, Jan 03, 2006 at 12:58:11PM +0800, zzz haha wrote:

> Package: linux-image-2.6.14-2-686
> Version: 2.6.14-7
> Severity: normal
>
> i have a (lspci)
>
> 0000:00:0f.1 IDE interface: VIA Technologies, Inc.
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
>
> its dma is not enabled and i can not use hdparm to enable it. if i use
> hdparm, then it tells me i don't have enough permission.
>
> i then recompiled the kernel with the attached config. and the dma is
> enabled now.

This is probably the now infamous ide-generic bug. what version of yaird or
initramfs-tools did you try ?

Please try the upcoming 2.6.15 kernels which will be uploaded hopefully today.

Friendly,

Sven Luther



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

zzz haha
> This is probably the now infamous ide-generic bug. what version of yaird or
> initramfs-tools did you try ?

yaird ver. 0.0.12-3. but my self-compiled kernel does not use initrd.

> Please try the upcoming 2.6.15 kernels which will be uploaded hopefully today.

i will when it's available thru apt-get.

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

Sven Luther
On Tue, Jan 03, 2006 at 08:23:32PM +0800, zzz haha wrote:
> > This is probably the now infamous ide-generic bug. what version of yaird or
> > initramfs-tools did you try ?
>
> yaird ver. 0.0.12-3. but my self-compiled kernel does not use initrd.

ah, so the bug is your own fault :)

> > Please try the upcoming 2.6.15 kernels which will be uploaded hopefully today.
>
> i will when it's available thru apt-get.

Tomorrow hoepfully.

Friendly,

Sven Luther



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

zzz haha
> > yaird ver. 0.0.12-3. but my self-compiled kernel does not use initrd.
>
> ah, so the bug is your own fault :)

?

my own kernel (no initrd) has dma enabled. the debian default one
cannot let me enable dma.

you mean that this version of yaird has error?

to be safer, i compiled the relevant ide driver directly into the
kernel. and i notice that the debian default kernel compiled the
driver as module. but as viewed from lsmod, i think i've the relevant
driver loaded.

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

Sven Luther
On Tue, Jan 03, 2006 at 08:53:40PM +0800, zzz haha wrote:
> > > yaird ver. 0.0.12-3. but my self-compiled kernel does not use initrd.
> >
> > ah, so the bug is your own fault :)
>
> ?
>
> my own kernel (no initrd) has dma enabled. the debian default one
> cannot let me enable dma.

The debian default one is an initrd kernel, and this seems to be a bug in the
interaction of the via ide driver and ide-generic.

> you mean that this version of yaird has error?

Not sure, it should fix this issue, but if you still see it, then the fix is
bogus. can you check if ide-generic is loaded before or after via-ide.

And indeed, please file a bug against yaird about this, jonas and erik would
like to know about this.

> to be safer, i compiled the relevant ide driver directly into the
> kernel. and i notice that the debian default kernel compiled the
> driver as module. but as viewed from lsmod, i think i've the relevant
> driver loaded.

Indeed. The problem is ide-generic.

Friendly,

Sven Luther



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

Maximilian Attems-3
In reply to this post by zzz haha
On Tue, Jan 03, 2006 at 08:53:40PM +0800, zzz haha wrote:

> > > yaird ver. 0.0.12-3. but my self-compiled kernel does not use initrd.
> >
> > ah, so the bug is your own fault :)
>
> ?
>
> my own kernel (no initrd) has dma enabled. the debian default one
> cannot let me enable dma.
>
> you mean that this version of yaird has error?
>
> to be safer, i compiled the relevant ide driver directly into the
> kernel. and i notice that the debian default kernel compiled the
> driver as module. but as viewed from lsmod, i think i've the relevant
> driver loaded.

try initramfs-tools - curious if there your dma is on?


--
maks



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

Sven Luther
On Tue, Jan 03, 2006 at 02:29:29PM +0100, Maximilian Attems wrote:

> On Tue, Jan 03, 2006 at 08:53:40PM +0800, zzz haha wrote:
> > > > yaird ver. 0.0.12-3. but my self-compiled kernel does not use initrd.
> > >
> > > ah, so the bug is your own fault :)
> >
> > ?
> >
> > my own kernel (no initrd) has dma enabled. the debian default one
> > cannot let me enable dma.
> >
> > you mean that this version of yaird has error?
> >
> > to be safer, i compiled the relevant ide driver directly into the
> > kernel. and i notice that the debian default kernel compiled the
> > driver as module. but as viewed from lsmod, i think i've the relevant
> > driver loaded.
>
> try initramfs-tools - curious if there your dma is on?

It should have been fixed both way. Still i believe this is a kernel bug.

Normally, you should be able to drive that controller with only the via-dide
driver, and not even try to load ide-generic as it seems to be done here.

What does initramfs-tools try to do about this ?

Friendly,

Sven Luther



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#345725: via ide dma not enabled

zzz haha
i tried debian's 2.6.15 kernel and it works now.

thanks