-
Junior Member
registered user
I/O errors when running "head", UNLESS CD is already spinning - how to unload cache?
Ok, this is a weird one.
I've burned at least five DVDs and/or CDs with 6.0.2, and every single one of them does the same thing.
If I try to run the program "head" (as in, "head -5 stuff.txt", to display the first five lines of the file), and if the DVD or CD isn't already spinning, I get the error, "bash: /usr/bin/head: Input/output error". Moreover, the error is permanent until I reboot -- the error is somehow cached, so that the system *knows* that the optical disk must be hosed, and doesn't bother to retry.
If, on the other hand, I type in a few other commands, doesn't really matter what they are as long as it gets the CD/DVD spinning, then trying to run "head" works just fine and dandy. How do I get the system to un-cache the "disk is hosed" error so that I can actually run the command without having to reboot?
Note that similar problems happen when I put the system into sleep mode and then re-wake it, but they happen on EVERY command, so finding out how to clear out this cache may help prevent more problems.
Last edited by FlameWeasel; 03-03-2011 at 07:37 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

Gigabyte GA-B85M-D3H Motherboard
$54.99

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99