Hello:
Regarding Knoppix v 3.6-2004-08-16 Bug #4:
After searching for a while, I found a fix for the second part of this bug (obsolete bdflush system call) in the "Simply Linux" book, 3rd Edition, October, 2004 by jet_blackz@lycos.com. (recommended, real good reading.)4. After a knoppix-type HD install, we have the following boot message: "Running from HD, regenerate ld.so.cache and modules.dep... warning: process 'update' used the osbolete bdflush system call Fix your initscript?". (Fabio pt_BR)
Now I think I may have found a fix for the first part of this bug:Kernel 2.6.x starts the pdflush thread by itself. bdflush is the old one
used by 2.4.x kernels.
Comment out this line in checkroot.sh init script:
vi /etc/init.d/checkroot.sh
#[ -x /sbin/update ] && update <--- you add # at the start of this line.
In file /etc/init.d/knoppix-autoconfig (lines 489 --> 494) you can see the piece of script that runs ldconfig and depmod at each boot:
If I rem out all these lines (ie: add '#' to the beggining of each one) the script is not run, cutting down boot time considerably with no apparent ill effects.Code:if [ -n "$INSTALLED" ]; then echo -n "${BLUE}Running from HD, regenerate ld.so.cache and modules.dep...${NORMAL}" # Regenerate ld.so.cache and module dependencies on HD ldconfig ; depmod -a 2>/dev/null echo "" fi
As always, YMMV.
The question remains ...
Does anyone know if it is necessary to run this script at every boot in a HD installation?
Cheers,
CIV
ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$140.79
ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB
$115.59
Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller
$84.99
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99
ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working
$32.95
Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile
$17.99
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$54.66
WD TB My Book Duo Desktop RAID External Hard Drive 0TB NO DRIVES
$42.00
3.5" Dual HHD RAID Drive Enclosure - Capacity 36tb with "0" RAID- 2.5" w/Adapter
$37.15
CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations
$25.00