-
Junior Member
registered user
Knoppix v 3.6-2004-08-16 Bug #4
Hello:
Regarding Knoppix v 3.6-2004-08-16 Bug #4:
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)
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 [email protected]. (recommended, real good reading.)
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.
Now I think I may have found a fix for the first part of this bug:
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:
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
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.
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
Similar Threads
-
By JeniSkunk in forum General Support
Replies: 2
Last Post: 05-08-2004, 12:50 AM
-
By MPenza in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 05-07-2004, 05:48 PM
-
By cortechs in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 03-04-2004, 10:57 AM
-
By lmd in forum General Support
Replies: 0
Last Post: 02-13-2004, 12:18 AM
-
By spydy in forum Hardware & Booting
Replies: 0
Last Post: 02-11-2004, 10:59 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

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338
$39.99

LOT OF 4 Intel Core i5-10505 6-Core 3.2GHz SRH38 CPU Processor
$349.95

INTEL CORE I5-11600 2.80GHZ PROCESSOR | SRKNW
$109.99

Intel Core i7-11700F SRKNR 2.5GHz 8-Core 16MB CPU Processor Socket LGA1200
$149.99

AMD RYZEN 5 3600 PROCESSOR | 3.60GHZ | 100-000000031
$59.99

AMD Ryzen 5 5600X 6-Core 3.7GHz Socket AM4 CPU Processor w/ AMD Cooler
$125.00

Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS
$67.99

INTEL CORE i7-7700K 4.20GHz CPU QUAD CORE Processor SR33A *km
$66.99

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

Intel Core i5-7500 Processor (3.4 GHz, 4 Cores, LGA 1151) - SR335
$11.89