From: "Mathieu Lonjaret" <lejatorn@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] new cdfs for DVDs and BDs
Date: Sun, 13 Apr 2008 16:15:58 +0200 [thread overview]
Message-ID: <16ff6b980804130715l1effa096lbc672b3be7f726b9@mail.gmail.com> (raw)
In-Reply-To: <5a346768689774bca8b2857b00db0cec@quanstro.net>
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]
Here it is.
On Sun, Apr 13, 2008 at 3:53 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> 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.
>
>
>
--
GPG key on subkeys.pgp.net:
KeyID: | Fingerprint:
683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3
[-- Attachment #2: pci_out.txt --]
[-- Type: text/plain, Size: 2209 bytes --]
0.0.0: brg 06.00.00 8086/2a00 0
Intel Corporation
0.2.0: vid 03.00.00 8086/2a02 10 0:f8100004 1048576 1:00000000 16 2:e000000c 268435456 3:00000000 16 4:00001801 16
Intel Corporation
0.2.1: vid 03.80.00 8086/2a03 0 0:f8200004 1048576 1:00000000 16
Intel Corporation
0.25.0: net 02.00.00 8086/1049 11 0:fe000000 131072 1:fe025000 4096 2:00001841 32
Intel Corporation
0.26.0: usb 0c.03.00 8086/2834 11 4:00001861 32
Intel Corporation
0.26.1: usb 0c.03.00 8086/2835 11 4:00001881 32
Intel Corporation
0.26.7: usb 0c.03.20 8086/283a 11 0:fe226400 1024
Intel Corporation
0.27.0: --- 04.03.00 8086/284b 11 0:fe020004 16384 1:00000000 16
Intel Corporation
0.28.0: brg 06.04.00 8086/283f 11
Intel Corporation
0.28.1: brg 06.04.00 8086/2841 11
Intel Corporation
0.28.2: brg 06.04.00 8086/2843 11
Intel Corporation
0.28.3: brg 06.04.00 8086/2845 11
Intel Corporation
0.28.4: brg 06.04.00 8086/2847 11
Intel Corporation
0.29.0: usb 0c.03.00 8086/2830 10 4:000018a1 32
Intel Corporation
0.29.1: usb 0c.03.00 8086/2831 11 4:000018c1 32
Intel Corporation
0.29.2: usb 0c.03.00 8086/2832 11 4:000018e1 32
Intel Corporation
0.29.7: usb 0c.03.20 8086/2836 11 0:fe226800 1024
Intel Corporation
0.30.0: brg 06.04.01 8086/2448 255
Intel Corporation 82801BAM/CAM/DBM Hub Interface to PCI Bridge
0.31.0: brg 06.01.00 8086/2811 0
Intel Corporation
0.31.2: disk 01.01.80 8086/2828 255 0:00000001 16 1:00000001 16 2:00000001 16 3:00000001 16 4:00001c31 16 5:00001c21 16
Intel Corporation
0.31.3: smb 0c.05.00 8086/283e 11 0:fe226c00 256 4:00001c41 32
Intel Corporation
21.0.0: brg 06.07.00 1180/0476 10
Ricoh Company, Ltd.
21.0.1: --- 0c.00.10 1180/0832 11 0:f8301000 2048
Ricoh Company, Ltd.
21.0.2: --- 08.05.00 1180/0822 11 0:f8301800 256
Ricoh Company, Ltd.
21.0.3: --- 08.80.00 1180/0843 11 0:f8301c00 256
Ricoh Company, Ltd. unknown Ricoh MMC Host Controller
21.0.4: --- 08.80.00 1180/0592 11 0:f8302000 256
Ricoh Company, Ltd. unknown Ricoh Memory Stick Host Controller
21.0.5: --- 08.80.00 1180/0852 11 0:f8302400 256
Ricoh Company, Ltd. unknown Ricoh xD-Picture Card Host Controller
3.0.0: net 02.80.00 8086/4227 11 0:df3ff000 4096
Intel Corporation
next prev parent reply other threads:[~2008-04-13 14:15 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
2008-04-13 14:15 ` Mathieu Lonjaret [this message]
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=16ff6b980804130715l1effa096lbc672b3be7f726b9@mail.gmail.com \
--to=lejatorn@gmail.com \
--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).