* Mount system call hangs up the system
@ 2000-12-21 12:17 sswapnee
2000-12-21 13:06 ` Tigran Aivazian
2000-12-21 13:22 ` bert hubert
0 siblings, 2 replies; 3+ messages in thread
From: sswapnee @ 2000-12-21 12:17 UTC (permalink / raw)
To: linux-kernel
Hello Everybody
I am trying to mount a filesystem on Linux 2.4.0-test10 kernel using the
mount() function.
When I call this function the system just hangs up. I have to restart
linux by switching off and on.
Can somebody tell me why mount call just hangs? Is there anyway to take a
dump when
the call is being executed.
I tried looking for description about mount but couldnt find anything
helpful. I will really appreciate
if someone can share his/her experience regarding the same.
Thanks and Regards
Swapneel
P.S Please include my email id in the Cc list as I have not subscribed to
this list.
Swapneel D. Shah
IBM Global Services India Ltd,
email:sswapnee@in.ibm.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mount system call hangs up the system
2000-12-21 12:17 Mount system call hangs up the system sswapnee
@ 2000-12-21 13:06 ` Tigran Aivazian
2000-12-21 13:22 ` bert hubert
1 sibling, 0 replies; 3+ messages in thread
From: Tigran Aivazian @ 2000-12-21 13:06 UTC (permalink / raw)
To: sswapnee; +Cc: linux-kernel
On Thu, 21 Dec 2000 sswapnee@in.ibm.com wrote:
> Can somebody tell me why mount call just hangs? Is there anyway to take a
> dump when the call is being executed.
You don't need a dump. Just go to the source and start inserting
printk() statements all over the sys_mount/do_mount etc. and sooner or
later the reason for hang will become obvious. Either it is a bug in your
program or in the kernel (or both). In any case it can be fixed.
Regards,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mount system call hangs up the system
2000-12-21 12:17 Mount system call hangs up the system sswapnee
2000-12-21 13:06 ` Tigran Aivazian
@ 2000-12-21 13:22 ` bert hubert
1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2000-12-21 13:22 UTC (permalink / raw)
To: sswapnee; +Cc: linux-kernel
On Thu, Dec 21, 2000 at 05:47:10PM +0530, sswapnee@in.ibm.com wrote:
> Hello Everybody
>
> I am trying to mount a filesystem on Linux 2.4.0-test10 kernel using the
> mount() function.
> When I call this function the system just hangs up. I have to restart
> linux by switching off and on.
> Can somebody tell me why mount call just hangs? Is there anyway to take a
> dump when
> the call is being executed.
If you have a second computer available, I highly recommend using kgdbstub
which can be found on sourceforge. This gives you source level debugging in
the kernel. Just put a breakpoint in sys_mount(), or whatever it is called
and see what happens.
Linus is dead set against using a debugger in daily development but it is a
very valuable tool for quickly gaining insight.
Regards,
bert hubert
--
PowerDNS Versatile DNS Services
Trilab The Technology People
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-12-21 13:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-21 12:17 Mount system call hangs up the system sswapnee
2000-12-21 13:06 ` Tigran Aivazian
2000-12-21 13:22 ` bert hubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®