Re: kernel panic: vm_object_reference

2002-03-27 Thread Mark Santcroos

On Wed, Mar 27, 2002 at 08:28:50AM +, Ceri wrote:
> > > Forcibly unmounting a file system that is in use will panic your
> > > system.   It's not exactly a bug, it's just how it works.  :)
> > > 
> > I don't agree. I know this is a little "foolproof" programming
> > but I should return something like busy FS
> 
> How would that be different from not forcing it ?

That (or something similar) should be returned to the process accessing 
the unmounted fs, not the umount itself.

Mark

-- 
Mark Santcroos  RIPE Network Coordination Centre
http://www.ripe.net/home/mark/  New Projects Group/TTM

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel panic: vm_object_reference

2002-03-26 Thread Pierre-Luc Lespérance

Michael Lucas wrote:
> 
> Hello,
> 
> Forcibly unmounting a file system that is in use will panic your
> system.   It's not exactly a bug, it's just how it works.  :)
> 
I don't agree. I know this is a little "foolproof" programming
but I should return something like busy FS

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel panic: vm_object_reference

2002-03-26 Thread Terry Lambert

Michael Lucas wrote:
> Forcibly unmounting a file system that is in use will panic your
> system.   It's not exactly a bug, it's just how it works.  :)

"Forcibly trapping a butterfly with the provided butterfly net
 will destroy civilization.  It's not exactly a bug, it's just
 how it works."

Sheesh.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel panic: vm_object_reference

2002-03-26 Thread Kip Macy

No apologies neccessary :-). You may be right with respect to FreeBSD. 
In his BSD class Kirk describes a forcible unmount as a perfectly legitimate
thing to do (albeit a bit traumatic for the users). It may just be a regression
that crept in and, seeing as it is something that people seldom want to do, no
one saw a need to fix it.


-Kip


> OK.  That's not what I was told but back in 96 or so,but I suppose the
> code is allowed to change.  My apologies. :-)
> 
> Could you please prepare a dump of this?  See the developers' handbook
> for details, or follow the pointers from the FAQ.  Thanks!
> 
> On Tue, Mar 26, 2002 at 07:20:37AM -0800, Kip Macy wrote:
> > That is a bug. The system is supposed to iterate through all the vnodes hanging
> > off the mount point and vgone them. According to Kirk at least this used to
> > work.
> > 
> > -Kip
> > 
> > 
> > On Tue, 26 Mar 2002, Michael Lucas wrote:
> > 
> > > Hello,
> > > 
> > > Forcibly unmounting a file system that is in use will panic your
> > > system.   It's not exactly a bug, it's just how it works.  :)
> > > 
> > > On Tue, Mar 26, 2002 at 10:24:01AM +0200, Apache Man wrote:
> > > > Hi.
> > > > 
> > > > As i informed you earler the bug exists in freebsd 4.5.
> > > > Kernel panics with `vm_object_reference: delay in getting object'
> > > > when i copy files from a partition and at the same time dismount
> > > > this partition (umount -f /cdrom).
> > > > 
> > > > The sutuation is following.
> > > > I mount /cdrom. Then start too many `cp' processes that copy
> > > > some files from /cdrom. In other tty i umount -f /cdrom and
> > > > kernel panics.
> > > > 
> > > > Sorry if it's known bug.
> > > > 
> > > > -- 
> > > > email: [EMAIL PROTECTED]
> > > > 
> > > > 
> > > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > > with "unsubscribe freebsd-hackers" in the body of the message
> > > 
> > > -- 
> > > Michael Lucas [EMAIL PROTECTED], [EMAIL PROTECTED]
> > > my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons
> > > 
> > > http://www.blackhelicopters.org/~mwlucas/
> > > 
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-hackers" in the body of the message
> > > 
> 
> -- 
> Michael Lucas [EMAIL PROTECTED], [EMAIL PROTECTED]
> my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons
> 
> http://www.blackhelicopters.org/~mwlucas/
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel panic: vm_object_reference

2002-03-26 Thread Michael Lucas

OK.  That's not what I was told but back in 96 or so,but I suppose the
code is allowed to change.  My apologies. :-)

Could you please prepare a dump of this?  See the developers' handbook
for details, or follow the pointers from the FAQ.  Thanks!

On Tue, Mar 26, 2002 at 07:20:37AM -0800, Kip Macy wrote:
> That is a bug. The system is supposed to iterate through all the vnodes hanging
> off the mount point and vgone them. According to Kirk at least this used to
> work.
> 
>   -Kip
> 
> 
> On Tue, 26 Mar 2002, Michael Lucas wrote:
> 
> > Hello,
> > 
> > Forcibly unmounting a file system that is in use will panic your
> > system.   It's not exactly a bug, it's just how it works.  :)
> > 
> > On Tue, Mar 26, 2002 at 10:24:01AM +0200, Apache Man wrote:
> > > Hi.
> > > 
> > > As i informed you earler the bug exists in freebsd 4.5.
> > > Kernel panics with `vm_object_reference: delay in getting object'
> > > when i copy files from a partition and at the same time dismount
> > > this partition (umount -f /cdrom).
> > > 
> > > The sutuation is following.
> > > I mount /cdrom. Then start too many `cp' processes that copy
> > > some files from /cdrom. In other tty i umount -f /cdrom and
> > > kernel panics.
> > > 
> > > Sorry if it's known bug.
> > > 
> > > -- 
> > > email: [EMAIL PROTECTED]
> > > 
> > > 
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-hackers" in the body of the message
> > 
> > -- 
> > Michael Lucas   [EMAIL PROTECTED], [EMAIL PROTECTED]
> > my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons
> > 
> > http://www.blackhelicopters.org/~mwlucas/
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
> > 

-- 
Michael Lucas   [EMAIL PROTECTED], [EMAIL PROTECTED]
my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

http://www.blackhelicopters.org/~mwlucas/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel panic: vm_object_reference

2002-03-26 Thread Kip Macy

That is a bug. The system is supposed to iterate through all the vnodes hanging
off the mount point and vgone them. According to Kirk at least this used to
work.

-Kip


On Tue, 26 Mar 2002, Michael Lucas wrote:

> Hello,
> 
> Forcibly unmounting a file system that is in use will panic your
> system.   It's not exactly a bug, it's just how it works.  :)
> 
> On Tue, Mar 26, 2002 at 10:24:01AM +0200, Apache Man wrote:
> > Hi.
> > 
> > As i informed you earler the bug exists in freebsd 4.5.
> > Kernel panics with `vm_object_reference: delay in getting object'
> > when i copy files from a partition and at the same time dismount
> > this partition (umount -f /cdrom).
> > 
> > The sutuation is following.
> > I mount /cdrom. Then start too many `cp' processes that copy
> > some files from /cdrom. In other tty i umount -f /cdrom and
> > kernel panics.
> > 
> > Sorry if it's known bug.
> > 
> > -- 
> > email: [EMAIL PROTECTED]
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
> 
> -- 
> Michael Lucas [EMAIL PROTECTED], [EMAIL PROTECTED]
> my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons
> 
> http://www.blackhelicopters.org/~mwlucas/
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel panic: vm_object_reference

2002-03-26 Thread Michael Lucas

Hello,

Forcibly unmounting a file system that is in use will panic your
system.   It's not exactly a bug, it's just how it works.  :)

On Tue, Mar 26, 2002 at 10:24:01AM +0200, Apache Man wrote:
> Hi.
> 
> As i informed you earler the bug exists in freebsd 4.5.
> Kernel panics with `vm_object_reference: delay in getting object'
> when i copy files from a partition and at the same time dismount
> this partition (umount -f /cdrom).
> 
> The sutuation is following.
> I mount /cdrom. Then start too many `cp' processes that copy
> some files from /cdrom. In other tty i umount -f /cdrom and
> kernel panics.
> 
> Sorry if it's known bug.
> 
> -- 
> email: [EMAIL PROTECTED]
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
Michael Lucas   [EMAIL PROTECTED], [EMAIL PROTECTED]
my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

http://www.blackhelicopters.org/~mwlucas/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



kernel panic: vm_object_reference

2002-03-26 Thread Apache Man

Hi.

As i informed you earler the bug exists in freebsd 4.5.
Kernel panics with `vm_object_reference: delay in getting object'
when i copy files from a partition and at the same time dismount
this partition (umount -f /cdrom).

The sutuation is following.
I mount /cdrom. Then start too many `cp' processes that copy
some files from /cdrom. In other tty i umount -f /cdrom and
kernel panics.

Sorry if it's known bug.

-- 
email: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message