Gentoo Archives: gentoo-user

From: Andreas Burghardt <a-burghardt@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: DMA for /dev/cdrom ?
Date: Mon, 10 Jul 2006 11:17:53
Message-Id: 20060710111047.GA4856@tapa
In Reply to: [gentoo-user] Re: DMA for /dev/cdrom ? by "Anno v. Heimburg"
1 On Mon, Jul 10, 2006 at 12:38:47PM +0200, Anno v. Heimburg wrote:
2 > Hi Andreas!
3 >
4 > > I really like to use DMA for my cdrom/burner but I cant figure out how to
5 > > make it working!
6 >
7 > > tapa ~ # hdparm -d1 /dev/cdrom
8 > > /dev/cdrom:
9 > > setting using_dma to 1 (on)
10 > > HDIO_SET_DMA failed: Operation not permitted
11 > > using_dma = 0 (off)
12 >
13 > Two hints, perhaps they help
14 > - "hdparm -i $DEVICE" will display what the device can support
15 > - I would run hdparm on the physical device file, that is /dev/hdc, not on
16 > the cdrom-link.
17
18 tapa ~ # hdparm -i /dev/hdc
19
20 /dev/hdc:
21
22 Model=HL-DT-ST DVD-RW GWA-4082N, FwRev=CB03, SerialNo=4CA07617AFA8
23 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
24 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
25 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
26 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
27 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
28 PIO modes: pio0 pio1 pio2 pio3 pio4
29 DMA modes: mdma0 mdma1 mdma2
30 UDMA modes: udma0 udma1 *udma2
31 AdvancedPM=no
32 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3: ATA/ATAPI-2
33 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5
34
35 * signifies the current active mode
36
37 Hmm, I see AdvancedPM=no ...? Before I changed to Gentoo-Linux I was using
38 Ubuntu. If I copied files from the cdrom it was _very_ FAASST ... but now ...
39
40 Thx for your help!
41
42 >
43 > > Does anyone of you know if there is DMA support for this cdrom-drive
44 >
45 > It sounds like a plain old ATAPI drive, so should work with the generic
46 > stuff. No specific knowledge about your drive, though.
47 >
48 > Anno
49 >
50 > --
51 > gentoo-user@g.o mailing list
52 >
53
54 --
55
56 "Dan ketika Guru Isa mendengar derap sepatu datang
57 ke pintu kamar mereka, dia merasa damai dengan rasa
58 takutnya yang timbul. Dia tahu teror mereka tidak
59 akan bisa menyentuhnya lagi. Dia telah bebas."
60 (Mochtar Lubis, "Jalan Tak Ada Ujung", 1952)
61
62 --
63 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: DMA for /dev/cdrom ? Mick <michaelkintzios@×××××.com>