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
Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives
$24.99
832514-B21 HPE 1TB SAS 12Gb/s 7.2K SFF SC HDD 832984-001
$129.00
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$89.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...
$71.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Apple 1TB Solid State Drive for Apple MacBook Pro
$80.00