Just Sharing from GeekyBitS
DMA and Ubuntu
One of my readers is having a bit of a hard time with DVD playback, after reading my article:
Playing Encrypted DVD’s in Ubuntu 7.10, he has been unable to get dvd’s to playback smoothly.
One really common solution to slow, jerky, and unreliable playback is turning on DMA.
DMA stands for: Direct Memory Access. DMA allows a piece of hardware to talk directly with the RAM, reading and/or writing independent of the CPU (Central Processing Unit). In other words the hardware can use the system memory, bypassing the CPU, allowing the device to read and write much faster.
By default Ubuntu has DMA turned off (set to 0), this can be changed in the /etc/hdparm.conf file, like so:
1. First make a backup of your hdpram file:
# sudo cp /etc/hdparm.conf /etc/hdparm.conf.bak
2. Now edit the file using your favourite text editor, I’m using gedit, however you can use the editor of you choice just change the following command to suit your needs:
# sudo gedit /etc/hdparm.conf
3. Once the file is open you will need to add the following at the end of the file:
/dev/cdrom {
dma = on
}
4. Once you restart your computer you should have DMA turned on.
Troubleshooting
I have been reading about a number of problems with turning DMA on. Here are a couple of solutions if DMA still doesn’t work after trying the instructions above:
First try re-editing the hdpram.conf file to read /dev/dvd instead of /dev/cdrom, then restart the computer.
If you are getting the error:
`HDIO set dma failed: operation not permitted’
You may need to edit your /etc/modules.conf file, for more information please see this forum thread: #post93238.
Personally none of my systems have these issues so I can’t test this solution.
Sources List ubuntu (Local Indonesia)

Hanya mendokumentasikan sources List ubuntu yang saya dapatkan dari milis id-ubuntu , soalnya sering banget ada yang nanyain hal semacam ini :), mudah-mudahan ndak ada yang keberatan postingannya ane dokumentasikan di blog ini ![]()
Ini sources list lokal untuk ubuntu. Pada contoh ini untuk dapper. Kalau mau pake yg lain, breezy, feisty, edgy…tinggal ganti aja “dapper” dgn yg dimaksud
* SourcesListLokal
Daftar sources.list repositori Ubuntu yang ada di Indonesia (silakan tambah bila Anda memiliki informasi repositori lokal Ubuntu lainnya).
Contoh yang diberikan pada halaman ini merupakan sources.list untuk Ubuntu 6.06 (Dapper Drake). Jika Anda menggunakan Ubuntu versi yang lain, cukup ubah dapper menjadi kode nama Ubuntu yang Anda gunakan (misalnya feisty, edgy, dan sebagainya).
Repositori Kambing (UI — Telkom, Indosat)
Informasi situs: http://kambing.vlsm.org
### sources.list.kambing
### Repository dengan menggunakan server mirror kambing.vlsm.org
## REPOSITORY UTAMA
deb http://kambing.vlsm.org/ubuntu dapper main restricted universe multiverse
deb-src http://kambing.vlsm.org/ubuntu dapper main restricted universe multiverse## INI UNTUK MAJOR BUG FIX UPDATES
deb http://kambing.vlsm.org/ubuntu dapper-updates main restricted universe multiverse
deb-src http://kambing.vlsm.org/ubuntu dapper-updates main restricted universe multiverse## INI UNTUK UBUNTU SECURITY UPDATES
deb http://kambing.vlsm.org/ubuntu dapper-security main restricted universe multiverse
deb-src http://kambing.vlsm.org/ubuntu dapper-security main restricted universe multiverse
Cara penggunaan:
wget http://arsip.ubuntu-id.org/berkas/sources.list.kambing
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp sources.list.kambing /etc/apt/sources.list
sudo apt-get update
Repositori CBN Mirror (IIX)
Informasi situs: http://mirror.cbn.net.id
Note (160307): Repositori di CBN kelihatannya gak di-update lagi, pas
tadi ngeliat paket-paket nya masih sedikit dan tidak ada penambahan.
### sources.list.cbn
### Repository dengan menggunakan server mirror cbn## REPOSITORY UTAMA
deb http://ubuntu.cbn.net.id/Ubuntu dapper main restricted universe multiverse
deb-src http://ubuntu.cbn.net.id/Ubuntu dapper main restricted universe multiverse## INI UNTUK MAJOR BUG FIX UPDATES
deb http://ubuntu.cbn.net.id/Ubuntu dapper-updates main restricted universe multiverse
deb-src http://ubuntu.cbn.net.id/Ubuntu dapper-updates main restricted universe multiverse## INI UNTUK UBUNTU SECURITY UPDATES
deb http://ubuntu.cbn.net.id/Ubuntu dapper-security main restricted universe multiverse
deb-src http://ubuntu.cbn.net.id/Ubuntu dapper-security main restricted universe multiverse
Cara penggunaan:
wget http://arsip.ubuntu-id.org/berkas/sources.list.cbn
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp sources.list.cbn /etc/apt/sources.list
sudo apt-get update
Repositori Komo (IIX)
Informasi situs: http://komo.vlsm.org
### sources.list.komo
### Repository dengan menggunakan server mirror komo.vlsm.org## REPOSITORY UTAMA
deb http://komo.vlsm.org/ubuntu dapper main restricted universe multiverse
deb-src http://komo.vlsm.org/ubuntu dapper main restricted universe multiverse## INI UNTUK MAJOR BUG FIX UPDATES
deb http://komo.vlsm.org/ubuntu dapper-updates main restricted universe multiverse
deb-src http://komo.vlsm.org/ubuntu dapper-updates main restricted universe multiverse## INI UNTUK UBUNTU SECURITY UPDATES
deb http://komo.vlsm.org/ubuntu dapper-security main restricted universe multiverse
deb-src http://komo.vlsm.org/ubuntu dapper-security main restricted universe multiverse
Cara penggunaan:
wget http://arsip.ubuntu-id.org/berkas/sources.list.komo
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp sources.list.komo /etc/apt/sources.list
sudo apt-get update
Repositori Indika (IIX)
Informasi situs: http://indika.net.id
### sources.list.indika
### Repository dengan menggunakan server mirror ubuntu.indika.net.id## REPOSITORY UTAMA
deb http://ubuntu.indika.net.id dapper main restricted universe multiverse
deb-src http://ubuntu.indika.net.id dapper main restricted universe multiverse## INI UNTUK MAJOR BUG FIX UPDATES
deb http://ubuntu.indika.net.id dapper-updates main restricted universe multiverse
deb-src http://ubuntu.indika.net.id dapper-updates main restricted universe multiverse## INI UNTUK UBUNTU SECURITY UPDATES
deb http://ubuntu.indika.net.id dapper-security main restricted universe multiverse
deb-src http://ubuntu.indika.net.id dapper-security main restricted universe multiverse
Cara penggunaan:
wget http://arsip.ubuntu-id.org/berkas/sources.list.indika
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp sources.list.indika /etc/apt/sources.list
sudo apt-get update
Repositori Gamais ITB (ITB-Net & Inherent)
Informasi situs: http://mirror.gamais.itb.ac.id
### sources.list.gamaisitb
### Repository dengan menggunakan server mirror gamais.itb.ac.id## REPOSITORY UTAMA
deb http://mirror.gamais.itb.ac.id/ubuntu dapper main restricted universe multiverse
deb-src http://mirror.gamais.itb.ac.id/ubuntu dapper main restricted universe multiverse## INI UNTUK MAJOR BUG FIX UPDATES
deb http://mirror.gamais.itb.ac.id/ubuntu dapper-updates main restricted universe multiverse
deb-src http://mirror.gamais.itb.ac.id/ubuntu dapper-updates main restricted universe multiverse## INI UNTUK UBUNTU SECURITY UPDATES
deb http://mirror.gamais.itb.ac.id/ubuntu dapper-security main restricted universe multiverse
deb-src http://mirror.gamais.itb.ac.id/ubuntu dapper-security main restricted universe multiverse
Cara penggunaan:
wget http://arsip.ubuntu-id.org/berkas/sources.list.gamaisitb
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp sources.list.gamaisitb /etc/apt/sources.list
sudo apt-get update
Source : http://groups.google.com/group/id-ubuntu/browse_thread/thread/41ad59e84d433144
Dah lama ga main main sama UBUNTU, sekarang gw coba mengulang dengan install UBUNTU 7:10 ga tau deh apa itu fiesty atau apa .
Proses instalasi selesai…
Mau ngapain yaa kalo dah selesai?
Eh iya…mau chatting…hmm udah ada pidgin, tapi ga enak ga bisa liat cam atau pasang cam…
Otakatik ah…
lama ga ketemu juga akhirnya coba browsing ke mbah google
ngoprek lagi…ngoprek lagi…
ga tau kenapa berani edit source.list yang akhirnya malah ga bisa update…
2~3 hari trus trus cari sampai akhirnya gw coba yang dibawah ini dengan masuk ke terminal trus paste satu baris satu baris deh…alhasil sekarang bisa update.
Mudah mudahan ini buat langkah akhir kalo ga bisa atau lupa cara ngedit source.list
wget http://arsip.ubuntu-id.org/berkas/sources.list.kambing
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo cp sources.list.kambing /etc/apt/sources.list
sudo apt-get update