Hi,
Every time i burn something, this error always occurs.
i'm running ubuntu 9.04. the message below was generated by K3B, but Brasero also showed a related error message.
Both my DVD drives are connected to the secondary IDE. One is a DVD Burner, the other is a DVD-ROM.

System
-----------------------
K3b Version: 1.0.5

KDE Version: 3.5.10
QT Version: 3.3.8b
Kernel: 2.6.28-13-generic
Devices
-----------------------
ASUS DVD-E616P2 1.04 (/dev/sr1, ) [CD-ROM, DVD-ROM] [DVD-ROM, CD-ROM] [None]

TEAC DV-W516GB J4S1 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite]
Burned media
-----------------------
DVD-RW Sequential

K3bIsoImager
-----------------------
mkisofs print size result: 2291127 (4692228096 bytes)
Pipe throughput: 33677312 bytes read, 33656832 bytes written.

Used versions
-----------------------
mkisofs: 1.1.9
growisofs: 7.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'
/dev/sr0: "Current Write Speed" is 2.0x1352KBps.
:-[ WRITE@LBA=0h failed with SK=5h/ILLEGAL MODE FOR THIS TRACK]: Input/output error
attempt to re-run with -dvd-compat -dvd-compat to engage DAO or apply full blanking procedure
write failed: Input/output error

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:2291127 -dvd-compat -speed=2 -use-the-force-luke=bufsize:32m

mkisofs
-----------------------
2291127
I: -input-charset not specified, using utf-8 (detected in locale settings)
This size can only be represented in the UDF filesystem.
Make sure that your clients support and use it.
ISO9660, Joliet, RockRidge, HFS will display incorrect size.
0.02% done, estimate finish Wed Jul 8 09:57:52 2009
0.04% done, estimate finish Wed Jul 8 09:57:52 2009
0.07% done, estimate finish Wed Jul 8 09:57:52 2009
0.09% done, estimate finish Wed Jul 8 09:57:52 2009
0.11% done, estimate finish Wed Jul 8 09:57:52 2009
0.13% done, estimate finish Wed Jul 8 09:57:52 2009
0.15% done, estimate finish Wed Jul 8 09:57:52 2009
0.17% done, estimate finish Wed Jul 8 09:57:52 2009
0.20% done, estimate finish Wed Jul 8 09:57:52 2009
0.22% done, estimate finish Wed Jul 8 09:57:52 2009
0.24% done, estimate finish Wed Jul 8 09:57:52 2009
0.26% done, estimate finish Wed Jul 8 09:57:52 2009
0.28% done, estimate finish Wed Jul 8 09:57:52 2009
0.31% done, estimate finish Wed Jul 8 09:57:52 2009
0.33% done, estimate finish Wed Jul 8 09:57:52 2009
0.35% done, estimate finish Wed Jul 8 09:57:52 2009
0.37% done, estimate finish Wed Jul 8 09:57:52 2009
0.39% done, estimate finish Wed Jul 8 09:57:52 2009
0.41% done, estimate finish Wed Jul 8 09:57:52 2009
0.44% done, estimate finish Wed Jul 8 09:57:52 2009
0.46% done, estimate finish Wed Jul 8 09:57:52 2009
0.48% done, estimate finish Wed Jul 8 09:57:52 2009
0.50% done, estimate finish Wed Jul 8 09:57:52 2009
0.52% done, estimate finish Wed Jul 8 09:57:52 2009
0.55% done, estimate finish Wed Jul 8 09:57:52 2009
0.57% done, estimate finish Wed Jul 8 09:57:52 2009
0.59% done, estimate finish Wed Jul 8 09:57:52 2009
0.61% done, estimate finish Wed Jul 8 09:57:52 2009
0.63% done, estimate finish Wed Jul 8 09:57:52 2009
0.66% done, estimate finish Wed Jul 8 09:57:52 2009
0.68% done, estimate finish Wed Jul 8 09:57:52 2009
0.70% done, estimate finish Wed Jul 8 10:00:15 2009

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid Bourne Supremacy -volset -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-drevnerussky/k3b1Avgyb.tmp -rational-rock -hide-list /tmp/kde-drevnerussky/k3bgJw5ga.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-drevnerussky/k3b4UY3Eb.tmp -no-cache-inodes -allow-limited-size -udf -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-drevnerussky/k3bEXL69b.tmp

mkisofs command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -volid Bourne Supremacy -volset -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-drevnerussky/k3brmkEsb.tmp -rational-rock -hide-list /tmp/kde-drevnerussky/k3bitvEYa.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-drevnerussky/k3bJsHhWa.tmp -no-cache-inodes -allow-limited-size -udf -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-drevnerussky/k3b6LGOgc.tmp

then i ran a dmesg, i got this:

[ 500.264734] cdrom: This disc doesn't have any tracks I recognize!
[ 500.480504] end_request: I/O error, dev sr0, sector 0
[ 500.480513] Buffer I/O error on device sr0, logical block 0
[ 500.493529] end_request: I/O error, dev sr0, sector 0
[ 500.493538] Buffer I/O error on device sr0, logical block 0

Any solutions?
Thanks.