User Tools

Site Tools


documentation:end-users_docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:end-users_docs [2020/01/11 00:38] – [Syslog] olivierdocumentation:end-users_docs [2021/02/23 12:01] (current) – [Installation] olivier
Line 58: Line 58:
 == Mac OS X users == == Mac OS X users ==
  
-Insert the USB key, and run mount in a terminal (or disk utility if you prefer graphical method) to see what device OSX has assigned to your USB key. You should see something like this:+Insert the USB key, and display list of external devices:
  
 <code> <code>
 +% diskutil list | grep external
 +/dev/disk3 (external, physical):
 +</code>
 +
 +Check if it is already mounted
 +
 +<code>
 +% mount | grep '/dev/disk3'
 /dev/disk0s2 on / (hfs, local, journaled) /dev/disk0s2 on / (hfs, local, journaled)
 devfs on /dev (devfs, local) devfs on /dev (devfs, local)
Line 68: Line 76:
 /dev/disk3s1 on /Volumes/UNTITLED (msdos, local, nodev, nosuid, noowners) /dev/disk3s1 on /Volumes/UNTITLED (msdos, local, nodev, nosuid, noowners)
 </code> </code>
-The last line is your USB device. Unmount it and write the BSDRP image to it with:+The last line is your USB device. Unmount it and write the BSDRP image to the device adding the 'r' letter:
 <code> <code>
 sudo umount -f /dev/disk3s1 sudo umount -f /dev/disk3s1
-xzcat BSDRP_full_amd64_vga.1.0.img.xz | dd of=/dev/disk3 bs=256k+xzcat BSDRP_full_amd64_vga.1.0.img.xz | sudo dd of=/dev/rdisk3 bs=1m
 </code> </code>
-If successful, OSX will pop up an error dialog telling you it doesn'recognize the disk. Click 'Eject', remove the USB key, and you're done.+If successful, OSX will pop up an error dialog telling you it doesn'recognise the disk. Click 'Eject', remove the USB key, and you're done.
  
 === To an hard drive === === To an hard drive ===
Line 482: Line 490:
  
 ==== Enabling crash dump ==== ==== Enabling crash dump ====
 +
 +=== Local swap dump device ===
  
 For saving and extracting a crash dump you need: For saving and extracting a crash dump you need:
Line 579: Line 589:
 </code> </code>
  
 +=== netdump ===
 +
 +In case where you didn't have enough disk space to localy store dump, you can use netdump(4).
 +
 +On the receiving FreeBSD server (not your router):
 +<code>
 +pkg install netdumpd
 +service netdumpd enable
 +service netdumpd start
 +</code>
 +
 +Then on your router, declare source interface to use, source IP address, gateway
 +<code>
 +sysrc dumpdev=igb1
 +sysrc dumpon_flags="-s 198.19.0.24 -c 192.168.1.10 -g 192.168.1.254
 +</code>
 +
 +and enable it:
 +
 +<code>
 +# service dumpon restart
 +kernel dumps on priority: device
 +0: /dev/null
 +server address: 198.19.0.24
 +client address: 192.168.1.10
 +gateway address: 192.168.1.254
 +</code>
 ==== Installing debug symbols ==== ==== Installing debug symbols ====
 Symbol files of kernel and binary are available in the separate DEBUG archive file. Symbol files of kernel and binary are available in the separate DEBUG archive file.
documentation/end-users_docs.1578699528.txt.gz · Last modified: 2020/01/11 00:38 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki