On Fri, 25 Oct 2002, Alexander Maryanovsky wrote:
> Ok, here are the (mighty weird) results:
>
> 1. When booting with "linux init=/bin/bash", typing "lspci | grep USB"
> gives the following:
> pcilib: Cannot open /proc/bus/pci
The proc filesystem is not mounted. proc is an interface of the kernel to
user programs, in the appearance of a file systems.
Furthermore, any file system, except / , is not mounted.
To mount the, run:
mount -a
> 00:02.0 USB Controller: nVidia Corporation: Unknown device 01c1 (rev c3)
> 00:03.0 USB Controller: nVidia Corporation: Unknown device 01c1 (rev c3)
>
> 2. When booting with the modem unplugged, typing "lspci | grep USB" gives
> the following:
> 00:02.0 USB Controller: nVidia Corporation: Unknown device 01c1 (rev c3)
> 00:03.0 USB Controller: nVidia Corporation: Unknown device 01c1 (rev c3)
>
> 3. When commenting out the following lines from my rc.sysinit file:
> if [ -L /lib/modules/default ]; then
> INITLOG_ARGS= action "Finding module dependencies: " depmod -A default
> else
> INITLOG_ARGS= action "Finding module dependencies: " depmod -A
> fi
> booting gets hung at "Starting up APM daemon".
To see exactly what is being run by a shell script, add somewhere in it
the line:
set -x
This is disabled by:
set +x
if you want to make just one part of the script verbose.
Note that if the whole script will run in verbose mode, it will run
slower.
>
> 4. (The weirdest part) When, in the forementioned lines I added "strace"
> before "depmod" (after uncommenting of course), the "Finding module
> dependencies" operation finished (with a lot of text flying by) and then
> booting got hung at "Enabling swap space".
>
Is this related to timeing somehow?
If the above 'set -x' trick won't help, try adding a 'sleep 5' ("sleep for
5 seconds"). Maybe this is related to something that blows up after x
seconds. Either software-related or hardware related.
--
Tzafrir Cohen
mailto:tzafrir@;technion.ac.il
http://www.technion.ac.il/~tzafrir
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]