-
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

Vintage Apple Macintosh IIsi Computer, Monitor, Keyboard & Mouse Complete Setup
$199.99

Apple cloth fabric banner iBook tangerine orange New Old Stock Vintage
$99.00

Vintage Apple Macintosh IIcx IIci Power Supply PSU FOR PARTS / REPAIR
$24.99

Vintage Apple Macintosh IIcx IIci Power Supply 699-0392 PSU FOR PARTS / REPAIR
$24.99

Vintage Apple IIe Platinum A2S2128 128K Computer Parts Repair Missing Keys
$100.00

Vintage Apple M1893 Power Supply PowerBook 500 520 540 550 AC Charger
$31.99

Vintage Apple Macintosh IIcx M5650 Case Shell Chassis w/ Internal Parts
$50.00

Vintage Apple Extended Keyboard II M3501 Mechanical ADB - Tested & Working
$54.99

Vintage Apple Multiple Scan 15av Display Monitor M4681
$299.99

Apple cloth fabric banner iBook bondi blue orange NOS Vintage
$99.00