i am curious, do you also have a usb mouse or something similar?
Nope, the USB modem is the only USb device I have.


if not, how can u be sure its not something connected to ur usb? i.e not
that it is defective, but rather that linux have problem with your
chipset.
I'm not sure of that... Actually, I'm pretty sure it is something connected to USB.


also, if u remove the modules related to the usb modem, when it does
depmod, is it still getting stuck?
if still it freezes, see if it is possible to go further and remove usb
related modules, and see if it then freezes.
if still it freezes, i think u need to recompile the kernel from a
vanilla kernel. and try module/static compilations
and see if it helps.
See my last post... It doesn't seem like the problem is in the code that does "Finding module dependencies", but instead in /etc/init.d/usb


Alexander Maryanovsky.

At 18:09 25.10.2002 +0200, Tzahi Fadida wrote:
i am curious, do you also have a usb mouse or something similar?
if not, how can u be sure its not something connected to ur usb? i.e not
that it is defective, but rather that linux have problem with your
chipset.
also, if u remove the modules related to the usb modem, when it does
depmod, is it still getting stuck?
if still it freezes, see if it is possible to go further and remove usb
related modules, and see if it then freezes.
if still it freezes, i think u need to recompile the kernel from a
vanilla kernel. and try module/static compilations
and see if it helps.

* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
My Cool Site: HTTP://WWW.My2Nis.Com
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS:  see at
http://members.lycos.co.uk/my2nis/spamwarning.html

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:linux-il-bounce@;cs.huji.ac.il]On Behalf Of Alexander
> Maryanovsky
> Sent: Friday, October 25, 2002 4:36 PM
> To: Tzafrir Cohen
> Cc: Linux-IL mailing list
> Subject: Re: SUCCSESS: Rotal ADSL USB modem
>
>
>
> >>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
>
> I've added the following line before the lines that do
> "Finding Module
> Dependencies" to rc.sysinit:
> action "Sleeping for 5 seconds: " sleep 5
> The result is that it hangs while sleeping (right when it
> starts sleeping)
>
>
> >>To see exactly what is being run by a shell script, add
> somewhere in it
> >>the line:
> >>
> >>   set -x
>
> This results in the computer hanging during boot after
> displaying the line:
> + initlog -c 'depmod -A'
>
>
> Also, I've tried tailing both /var/log/kernel/info and
> /varlog/syslog and
> neither of them displays anything after I plug the modem in.
> The system
> hangs right away
>
>
> Puzzled as ever,
> Alexander Maryanovsky
>
> At 13:08 25.10.2002 +0200, Alexander Maryanovsky wrote:
>
> >> > 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
> >
> >I will try that, but it seems like while it is related to
> timing, it's
> >more complex than just hanging after 5 seconds. If I add
> "strace", it
> >obviously takes it *longer* to execute and it hangs later.
> So it doesn't
> >hang after a constant amount of time
> >
> >
> >Alexander Maryanovsky
> >
> >At 09:05 25.10.2002 +0200, Tzafrir Cohen wrote:
> >>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]
> >
> >
> >=================================================================
> >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]
>
>
> =================================================================
> 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]
>
>
>
>



=================================================================
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]

=================================================================
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]

Reply via email to