Live CD Error on startup: "pktcdvd: ... sense 04.0f.00 (Hardware error)"
Hi,
Summary:
I installed Ubuntu 18.04 in a Virtual Box VM on a 10GB virtual machine (disk). Host: Win 10, 64 bit.
I run out of virtual memory so I decided to enlarge the disk to 20 GB.
After enlarged the disk to 20 GB, I run GParted Live to enlarge the Ubuntu partition to use up the newly allocated space.
Upon startup GParted reported errors:
pktcdvd: ... sense 04.0f.00 (Hardware error)
See attached screenshot.
After these errors, GParted could start, but could not detect the 10 GB un-allocated space.
Details:
Config:
- Host machine: Win 10 Enterprise 64bit Version 10.0.17763 Build 17763
- VirtualBox v5.2.26 r128414
- Ubuntu 18.04 LTS 64 bit ubuntu-18.04.2-desktop-amd64.iso
- GParted live CD ISO gparted-live-0.33.0-2-amd64.iso
Steps I did
- I installed the above mentioned Ubuntu in a VirtualBox VM on a 10 GB vm-disk.
- I did some operation to run out of virtual memory (message:
virtual memory exhausted: Cannot allocate memory
appeared)
What I did was to build zappcc, following instructions here. in the VM. - I created and added a new 1GB swap file, following Step 1-5 here.
- After restarting the Ubuntu VM, the system reported that it run out of disk space.
- I shutdown the VM.
- I enlarged the vm-disk size from 10 GB to 20GB, following these instructions.
- I attached GParted Live ISO as an optical disk to the VM.
- I started the VM, so that I can use GParted to add the new 10GB to the Ubuntu partition.
- After selecting the default GParted Live setup the following error messages appeared:
[ 9.844960] pktcdvd: pktcdvd1: bb 00 ff ff ff ff 00 00 00 00 00 00 - sense 04.0f.00 (Hardware error)
[ 10.040729] pktcdvd: pktcdvd1: bb 00 ff ff ff ff 00 00 00 00 00 00 - sense c3.47.7e (INVALID)
- After the GParted could start but was not able to detect the additional 10 GB free space.
I'm not sure if the additional swap file I created influenced the problem.
Additional Info
The error message comes from a Linux Kernel driver source file: pktcdvd.c, from this line.
Of course, I don't know which version of this file was used by the Live CD Debian...
The INVALID
error is especially problematic, since it suggests the driver encountered an error it was not prepared for...
Bests,
Leslie