On Thu, 5 Feb 2004, Poul-Henning Kamp wrote: > In message <20040205114149.I618_at_korben.in.tern>, Lukas Ertl writes: > >On Thu, 5 Feb 2004, Poul-Henning Kamp wrote: > > > >> This is a mostly mechanical and largely untested patch, so please test > >> carefully if you have the necessary hardware. > >> > >> Kernel patch: > >> http://phk.freebsd.dk/patch/disk.patch > >> [...] > >> This patch changes the disk_*(9) API so that ownership of the "struct > >> disk" is moved from the device drivers to GEOM. This removes a lot > >> of trouble from the disk_destroy(9) handling, which should be robust > >> with this patch. > > > >Will this be a solution for the deadlock we were discussing lately on > >geom_at_? > > I belive so, reports confirming or denying this are most welcome. OK, I now had time to actually try the patch, and removing disks now works correctly, no deadlock anymore. One thing I noticed, though, is that even after removal of the drive there's still a /dev/da1 and /dev/da1s1 entry. lg, le -- Lukas Ertl eMail: l.ertl_at_univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/Received on Sat Feb 07 2004 - 08:14:01 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC