documentation:end-users_docs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:end-users_docs [2019/06/04 15:23] – [Hardware Compatibility List] olivier | documentation:end-users_docs [2021/02/23 12:01] (current) – [Installation] olivier | ||
---|---|---|---|
Line 8: | Line 8: | ||
* a minimum of 512MB RAM. | * a minimum of 512MB RAM. | ||
- | [[http:// | + | [[https:// |
Wireless, PCMCIA cards, SCSI adapters, USB printer, fire wire, etc. drivers were removed from the FreeBSD kernel. | Wireless, PCMCIA cards, SCSI adapters, USB printer, fire wire, etc. drivers were removed from the FreeBSD kernel. | ||
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: |
< | < | ||
+ | % diskutil list | grep external | ||
+ | /dev/disk3 (external, physical): | ||
+ | </ | ||
+ | |||
+ | Check if it is already mounted | ||
+ | |||
+ | < | ||
+ | % mount | grep '/ | ||
/ | / | ||
devfs on /dev (devfs, local) | devfs on /dev (devfs, local) | ||
Line 68: | Line 76: | ||
/ | / | ||
</ | </ | ||
- | 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 ' |
< | < | ||
sudo umount -f / | sudo umount -f / | ||
- | 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 |
</ | </ | ||
- | If successful, OSX will pop up an error dialog telling you it doesn' | + | If successful, OSX will pop up an error dialog telling you it doesn' |
=== To an hard drive === | === To an hard drive === | ||
Line 187: | Line 195: | ||
< | < | ||
fetch ' | fetch ' | ||
+ | </ | ||
+ | |||
+ | Real example to upgrade to 1.96: | ||
+ | < | ||
+ | fetch ' | ||
</ | </ | ||
Line 405: | Line 418: | ||
BSDRP v1.4 and earlier have a default configuration that prevent remote syslog. This behavior can be changed by editing / | BSDRP v1.4 and earlier have a default configuration that prevent remote syslog. This behavior can be changed by editing / | ||
</ | </ | ||
+ | |||
+ | ==== Firmware Upgrade ==== | ||
+ | |||
+ | === Mellanox === | ||
+ | |||
+ | Stat by identifying your NIC ID: | ||
+ | < | ||
+ | # mstfwmanager | ||
+ | Querying Mellanox devices firmware ... | ||
+ | |||
+ | Device #1: | ||
+ | ---------- | ||
+ | |||
+ | Device Type: ConnectX4 | ||
+ | Part Number: | ||
+ | Description: | ||
+ | PSID: | ||
+ | PCI Device Name: pci0:2:0:0 | ||
+ | Base GUID: e41d2d0300fdbd90 | ||
+ | Base MAC: | ||
+ | Versions: | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Status: | ||
+ | </ | ||
+ | |||
+ | Then go to the [[https:// | ||
+ | |||
+ | < | ||
+ | # mount /data | ||
+ | # cd /data | ||
+ | # fetch http:// | ||
+ | # unzip fw-ConnectX4-rel-12_26_4012-MCX416A-CCA_Ax-UEFI-14.19.17-FlexBoot-3.5.805.bin.zip | ||
+ | # mstfwmanager -u -i fw-ConnectX4-rel-12_26_4012-MCX416A-CCA_Ax-UEFI-14.19.17-FlexBoot-3.5.805.bin | ||
+ | Querying Mellanox devices firmware ... | ||
+ | |||
+ | Device #1: | ||
+ | ---------- | ||
+ | |||
+ | Device Type: ConnectX4 | ||
+ | Part Number: | ||
+ | Description: | ||
+ | PSID: | ||
+ | PCI Device Name: pci0:2:0:0 | ||
+ | Base GUID: e41d2d0300fdbd90 | ||
+ | Base MAC: | ||
+ | Versions: | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Status: | ||
+ | |||
+ | --------- | ||
+ | Found 1 device(s) requiring firmware update... | ||
+ | |||
+ | Perform FW update? [y/N]: y | ||
+ | Device #1: Updating FW ... | ||
+ | Initializing image partition - OK | ||
+ | Writing Boot image component - OK | ||
+ | Done | ||
+ | |||
+ | Restart needed for updates to take effect. | ||
+ | </ | ||
+ | |||
+ | |||
===== Debugging ===== | ===== Debugging ===== | ||
==== 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 506: | Line 589: | ||
</ | </ | ||
+ | === 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): | ||
+ | < | ||
+ | pkg install netdumpd | ||
+ | service netdumpd enable | ||
+ | service netdumpd start | ||
+ | </ | ||
+ | |||
+ | Then on your router, declare source interface to use, source IP address, gateway | ||
+ | < | ||
+ | sysrc dumpdev=igb1 | ||
+ | sysrc dumpon_flags=" | ||
+ | </ | ||
+ | |||
+ | and enable it: | ||
+ | |||
+ | < | ||
+ | # 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 | ||
+ | </ | ||
==== 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.txt · Last modified: 2021/02/23 12:01 by olivier