Date: Fri, 17 Aug 2007 15:36:54 -0400 From: "Bob Johnson" <fbsdlists@gmail.com> To: "Svein Halvor Halvorsen" <svein.h@lvor.halvorsen.cc> Cc: freebsd-stable@freebsd.org Subject: Re: panic after removing usb flash disk Message-ID: <54db43990708171236x4366f78av6fb76eca1fee6688@mail.gmail.com> In-Reply-To: <46C552C7.70101@lvor.halvorsen.cc> References: <200708161437.l7GEb2KV006533@lurza.secnetix.de> <46C552C7.70101@lvor.halvorsen.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/17/07, Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc> wrote: > Oliver Fromme wrote: > > Roman Bogorodskiy wrote: > > > Artem Kuchin wrote: > > > > [FreeBSD crashes when a mounted device disappears] > > > > > > It's not a bug, it's a feature. > > > > I certainly wouldn't call it a feature. As others have > > noted, it is a known shortcoming in FreeBSD, and fixing > > it is non-trivial. > > Could someone point me in some general direction, as to where I > could learn more about the path a read/write request will take > through all the different kernel layers? I doubt I will be able to > fix anything, but it would be interesting to learn. Aside from the general "RTFS", there are probably two (or three) good places to look: "The Design and Implementation of the FreeBSD Operating System" by McKusick and Neville-Neil, or its predecessor which may be much more affordable, "The Design and Implementation of the 4.4 BSD Operating System" by McKusick, Bostic, Karels, and Quarterman. Chapter 2 of the latter is available at http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/book.html . It will give you some hints, but probably not as much detail as you want. And, of course, reading the archived threads on the topic, already referenced by others, will provide a quick education in the issues involved. I think that would be the best place to start. - Bob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54db43990708171236x4366f78av6fb76eca1fee6688>