-
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

LENOVO THINKPAD T14s GEN 2a Ryzen 7 PRO 5850U 1.9GHz 16GB 256GB TOUCH - NO OS
$299.95

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black
$313.00

Lenovo ThinkPad L14 Gen 3 Laptop 14” FHD Core i5 12th 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad L14 Gen 1 i5-10210U 16GB 512GB SSD Win 11 Pro Very Good
$229.99

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1439.00

Lenovo ThinkPad T14 Gen 1 Core i5 1.70GHz, 16GB RAM , 256GB SSD
$239.99

Lenovo Thinkpad E15 15.6" Laptop i5/i3 8GB RAM Up to 1TB SSD HDD Tested Working
$136.55

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$242.00