Re: Kernel fails to boot after update

2015-05-25 Thread Brandon Wandersee
On 05/25, Trevor Roydhouse wrote:
 
 https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html
 
 Cheers,
 TREV.
 

Thanks for the link, Trevor. I enabled DDB in the kernel (options DDB) in
order to prevent the reboot and learned that the VirtualBox kernel module was
causing the hold-up (I use VirtualBox very often, so I load the module at
start-up). I'd forgotten to *rebuild the module after updating the kernel.* I
feel foolish for having forgotten that---I've been using VirtualBox for
years---but all is well now. Thanks for the pointers, and sorry for cluttering
the list with such an inane issue. The quote in my signature seems fitting in
this case.  Anyway, take care, all.

- Brandon

-- 
===
:: Brandon Wandersee ::
:: brandon.wander...@zoho.com ::
===
A common mistake that people make when
trying to design something completely
foolproof is to underestimate the ingenuity
of complete fools.
- Douglas Adams
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Kernel fails to boot after update

2015-05-25 Thread Kevin Oberman
On Mon, May 25, 2015 at 10:40 AM, Brandon Wandersee 
brandon.wander...@zoho.com wrote:

 On 05/25, Trevor Roydhouse wrote:
 
 
 https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html
 
  Cheers,
  TREV.
 

 Thanks for the link, Trevor. I enabled DDB in the kernel (options DDB) in
 order to prevent the reboot and learned that the VirtualBox kernel module
 was
 causing the hold-up (I use VirtualBox very often, so I load the module at
 start-up). I'd forgotten to *rebuild the module after updating the
 kernel.* I
 feel foolish for having forgotten that---I've been using VirtualBox for
 years---but all is well now. Thanks for the pointers, and sorry for
 cluttering
 the list with such an inane issue. The quote in my signature seems fitting
 in
 this case.  Anyway, take care, all.

 - Brandon


Put  PORTS_MODULES=emulators/virtualbox-ose-kmod into /etc/src.conf and
it will be rebuilt when the kernel is built. Add others ports that install
kernel modules as well. Space delimit multiple modules. (The documentation
is not too clear about multiple modules.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Kernel fails to boot after update

2015-05-25 Thread David Wolfskill
On Mon, May 25, 2015 at 11:42:34AM -0700, Kevin Oberman wrote:
 ...
 Put  PORTS_MODULES=emulators/virtualbox-ose-kmod into /etc/src.conf and
 it will be rebuilt when the kernel is built. Add others ports that install
 kernel modules as well. Space delimit multiple modules. (The documentation
 is not too clear about multiple modules.
 

For documentation, see the VARIABLE ASSIGNMENTS section of make(1).

For an example, here's what I do:

g1-254(10.1-S)[1] cat /etc/src.conf 
KERNCONF=CANARY
PORTS_MODULES=x11/nvidia-driver
PORTS_MODULES+=multimedia/cuse4bsd-kmod
PORTS_MODULES+=emulators/virtualbox-ose-kmod
g1-254(10.1-S)[2] 

(I find that placing each module on a separate line makes it easier to
read  update.)

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgp3wEtkbwW5s.pgp
Description: PGP signature


Re: Kernel fails to boot after update

2015-05-25 Thread Henry Hu
On Mon, May 25, 2015 at 2:42 PM Kevin Oberman rkober...@gmail.com wrote:

 On Mon, May 25, 2015 at 10:40 AM, Brandon Wandersee 
 brandon.wander...@zoho.com wrote:

  On 05/25, Trevor Roydhouse wrote:
  
  
 
 https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html
  
   Cheers,
   TREV.
  
 
  Thanks for the link, Trevor. I enabled DDB in the kernel (options DDB)
 in
  order to prevent the reboot and learned that the VirtualBox kernel module
  was
  causing the hold-up (I use VirtualBox very often, so I load the module at
  start-up). I'd forgotten to *rebuild the module after updating the
  kernel.* I
  feel foolish for having forgotten that---I've been using VirtualBox for
  years---but all is well now. Thanks for the pointers, and sorry for
  cluttering
  the list with such an inane issue. The quote in my signature seems
 fitting
  in
  this case.  Anyway, take care, all.
 
  - Brandon
 

 Put  PORTS_MODULES=emulators/virtualbox-ose-kmod into /etc/src.conf and
 it will be rebuilt when the kernel is built. Add others ports that install
 kernel modules as well. Space delimit multiple modules. (The documentation
 is not too clear about multiple modules.


Unfortunately, this does not work for locked ports.
However, the kmod ports must be locked, or else they would be upgraded by
'pkg upgrade' to some unusable version.
Maybe PORTS_MODULES should handle locked ports.

--
 Kevin Oberman, Network Engineer, Retired
 E-mail: rkober...@gmail.com
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org