From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] new cdfs for DVDs and BDs
Date: Sun, 13 Apr 2008 09:53:39 -0400 [thread overview]
Message-ID: <5a346768689774bca8b2857b00db0cec@quanstro.net> (raw)
In-Reply-To: <20080413120646.GA4521@gluon>
that error occurs when you try to do dma on a controller that says it
doesn't do dma. this bit is found in pci space & loaded into
pcidev->ccrp — pci programming interface class code. for ide-styled
devices, this register is defined as
busmaster | 1<<channel*2
or
0x80 | 4 | 1 == 0x85
the most likely cause of the problem is that this register is
misprogrammed, but the dma area is actually there. so as always, the
output of pci would be very helpful.
the linux "ide" code that linux ignores this bit for intel
controllers. i think the linux "ata" code ignores it too, but i could
have missed something in 60k lines.
- erik
> Ok, I've just pulled (I now have a /bin/cdfs from 26th of March) however
> I still get the same errors.
>
> I have tried with a CD-RW and a DVD+RW.
>
> cat /dev/sdC0/ctl gives me this:
> inquiry HL-DT-STDVDRAM GSA-U10N 1.05
> config 85C0 capabilities 0F00 dma 00550004 dmactl 00000000
> part data 0 2141
>
> ah and 'dmaon' had this displayed:
> "disabling dma: not on a busmastering controller"
> (I guess dmactl at 00000000 is in accordance with that?)
>
> Thanks,
> Mathieu.
next prev parent reply other threads:[~2008-04-13 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-18 1:13 geoff
2008-03-18 3:57 ` erik quanstrom
2008-04-12 23:30 ` lejatorn
2008-04-13 0:02 ` geoff
2008-04-13 12:06 ` lejatorn
2008-04-13 13:53 ` erik quanstrom [this message]
2008-04-13 14:15 ` Mathieu Lonjaret
2008-04-18 9:10 ` Mathieu Lonjaret
2008-04-13 0:25 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5a346768689774bca8b2857b00db0cec@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).