I had a closer look on optical_read_test script. I added some debug messages, as you can see in the attached patch.
I found that: - the empty space in /tmp is completely eaten up by cp command - the return value of cp command is not checked - compare_tree() fails because of the previous incomplete cp root@ubuntu:~# time ./optical_read_test /dev/sr0 Testing read on /dev/sr0 ... 1325744887.84: DEBUG: before umount 1325744887.85: DEBUG: before mount 1325744887.89: DEBUG: mount.returncode=0 1325744887.89: DEBUG: before cp 1325745076.41: DEBUG: cp.returncode=1 1325745076.42: DEBUG: before compare_tree() 1325745076.42: DEBUG: after compare_tree() 1325745076.42: DEBUG: before finally umount 1325745078.08: DEBUG: before cleanup 1325745078.24: DEBUG: after cleanup Failed 1325745078.24: DEBUG: returning from read_test() real 3m10.556s user 0m0.180s sys 0m3.292s root@ubuntu:~# echo $? 1 root@ubuntu:~# cat disk_usage1 Filesystem Size Used Avail Use% Mounted on /cow 470M 83M 387M 18% / udev 462M 4.0K 462M 1% /dev tmpfs 188M 820K 187M 1% /run /dev/sr0 696M 696M 0 100% /cdrom /dev/loop0 668M 668M 0 100% /rofs tmpfs 470M 156K 469M 1% /tmp none 5.0M 0 5.0M 0% /run/lock none 470M 164K 469M 1% /run/shm /dev/sda1 37G 34G 1.8G 96% /mnt/a root@ubuntu:~# cat disk_usage2 Filesystem Size Used Avail Use% Mounted on /cow 470M 83M 387M 18% / udev 462M 4.0K 462M 1% /dev tmpfs 188M 820K 187M 1% /run /dev/sr0 696M 696M 0 100% /cdrom /dev/loop0 668M 668M 0 100% /rofs tmpfs 470M 470M 0 100% /tmp none 5.0M 0 5.0M 0% /run/lock none 470M 164K 469M 1% /run/shm /dev/sda1 37G 34G 1.8G 96% /mnt/a /dev/sr0 696M 696M 0 100% /tmp/checkbox.optical/device root@ubuntu:~# ** Patch added: "debug patch for optical_read_test" https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/910504/+attachment/2658160/+files/optical_read_test_DEBUG.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910504 Title: Optical disk read crashes running from LiveCD To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/910504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs