View Single Post
  #8   (View Single Post)  
Old 9th January 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

EverydayDiesel, obtaining alternate hardware would of course circumvent the problem. Solving the problem, however, means going beyond 5.2-release, which is static and will never change. Please take ocicat's recommendation and review FAQ 5.1 -- it will help you to get a clearer picture of the tests and then the solutions outlined below.

Recovery

  • Boot in single user mode ("-s" as described above).
  • Mount filesystems (e.g.: # mount -a)
  • Set $TERM for editing (e.g.: # export TERM=vt220)
  • Edit /etc/hostname.athn0 as desired (e.g.: # vi /etc/hostname.athn0)

Solution Testing

  • Confirm that Host AP mode causes the panic, so that the failure is repeatable. (e.g.: # ifconfig athn0 mediaopt hostap)
  • Download a -current bsd or bsd.mp kernel from the most recent snapshot at your nearby mirror. (e.g.: /pub/OpenBSD/snapshots/i386/bsd.mp) Store it in your root directory with a memorable filename, such as test.
  • Boot the test kernel in single-user mode (e.g.: "test -s" or "boot test -s" at the "boot>" prompt).
  • Confirm that Host AP mode does not panic (e.g: use the same ifconfig(8) command as shown above, if that is the command that caused a panic with 5.2-release.)
Solution Implementation choices
  • Move from 5.2-release to -current. Upgrade to the most recent snapshot by downloading the snapshot's RAMDISK kernel bsd.rd, copying it to your root directory, reboot and select it at the boot> prompt, then choosing Upgrade at the "Install, Upgrade, or Shell" prompt.
  • Retrofit the -current driver patch to -release, build a custom kernel, and use it in place of the 5.2-release GENERIC or GENERIC.MP kernel on your existing system. This patch is for -current only, it is not available in -stable or in the Errata list for 5.2-release. This option requires knowledge of and understanding of OpenBSD's source maintenance procedures described in detail in FAQ 5, as well as a basic understanding of IC driver implementation in BSD and the BSD kernel source code tree structure.
  • Wait for 5.3-release, on or about 1 May 2013.

Last edited by jggimi; 9th January 2013 at 11:30 PM. Reason: clarity, typo
Reply With Quote