Upgrade to pfSense 2.3.2-p1 went totally wrong
-
Hey,
just upgraded my Alix box with the new 2.3.2-p1 maintenance release. There were no errors during the upgrade process and i
thought everything went fine. Then it rebootet and never came back online. I had to look for my USB-Seriell-Adapter to see why it isn't booting up, because my Alix has no VGA.This is what it showed:
Booting... KDB: debugger backends: ddb KDB: current backend: ddb + Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 + The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.3-RELEASE-p9 #1 5fc1b19(RELENG_2_3_2): Tue Sep 27 12:26:54 CDT 2016 root@ce23-i386-builder:/builder/pfsense-232/tmp/obj/builder/pfsense-232/tmp/FreeBSD-src/sys/pfSense i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Geode(TM) Integrated Processor by AMD PCS (498.06-MHz 586-class CPU) Origin="AuthenticAMD" Id=0x5a2 Family=0x5 Model=0xa Stepping=2 Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory = 268435456 (256 MB) avail memory = 226537472 (216 MB) pnpbios: Bad PnP BIOS data checksum random: <software, yarrow="">initialized wlan: mac acl policy registered ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_bss_fw, 0xc081ebf0, 0) error 1 ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc081eca0, 0) error 1 ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc081ed50, 0) error 1 iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/. iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_bss_fw, 0xc0846740, 0) error 1 iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/. iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_ibss_fw, 0xc08467f0, 0) error 1 iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/. iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_monitor_fw, 0xc08468a0, 0) error 1 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xc1246d90, 0) error 19 kbd0 at kbdmux0 K6-family MTRR support enabled (2 registers) ACPI BIOS Error (bug): A valid RSDP was not found (20150515/tbxfroot-258) ACPI: Table initialisation failed: AE_NOT_FOUND ACPI: Try disabling either ACPI or apic support. cryptosoft0: <software crypto="">on motherboard padlock0: No ACE support. pcib0 pcibus 0 on motherboard pci0: <pci bus="">on pcib0 pci0: <encrypt decrypt,="" entertainment="" crypto="">at device 1.2 (no driver attached) vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0 vr0: Quirks: 0x2 vr0: Revision: 0x96 miibus0: <mii bus="">on vr0 ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow vr0: Ethernet address: 00:0d:b9:17:c6:ac vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0 vr1: Quirks: 0x2 vr1: Revision: 0x96 miibus1: <mii bus="">on vr1 ukphy1: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus1 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow vr1: Ethernet address: 00:0d:b9:17:c6:ad vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1800-0x18ff mem 0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0 vr2: Quirks: 0x2 vr2: Revision: 0x96 miibus2: <mii bus="">on vr2 ukphy2: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus2 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow vr2: Ethernet address: 00:0d:b9:17:c6:ae isab0: <pci-isa bridge="">port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0 isa0: <isa bus="">on isab0 atapci0: <amd cs5536="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0 ata0: <ata channel="">at channel 0 on atapci0 ata1: <ata channel="">at channel 1 on atapci0 ohci0: <ohci (generic)="" usb="" controller="">mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0 usbus0 on ohci0 ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 cpu0 on motherboard pmtimer0 on isa0 orm0: <isa option="" rom="">at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0 atrtc0: <at realtime="" clock="">at port 0x70 irq 8 on isa0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <at timer="">at port 0x40 on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 ppc0: parallel port not found. uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: <amd>at usbus0 uhub0: <amd 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0 ugen1.1: <amd>at usbus1 uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus1 ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: <sandisk sdcfhsnjc-008g="" hdx="" 7.08="">CFA device ada0: Serial Number BKZ092114092902 ada0: 100.000MB/s transfers (UDMA5, PIO 512bytes) ada0: 7629MB (15625216 512 byte sectors) ada0: Previously was known as ad0 random: unblocking device. Timecounter "TSC" frequency 498061502 Hz quality 800 Root mount waiting for: usbus1 usbus0 uhub0: 4 ports with 4 removable, self powered Root mount waiting for: usbus1 uhub1: 4 ports with 4 removable, self powered Trying to mount root from ufs:/dev/ufsid/57bb1fee88bdb039 [rw]... WARNING: / was not properly dismounted Configuring crash dumps... Using /dev/label/swap0 for dump device. ** SU+J Recovering /dev/ufsid/57bb1fee88bdb039 ** Reading 33554432 byte journal from inode 4. ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. ** 3276 journal records in 146432 bytes for 71.59% utilization ** Freed 1 inodes (0 dirs) 29 blocks, and 0 frags. ***** FILE SYSTEM MARKED CLEAN ***** Filesystems are clean, continuing... Mounting filesystems... Setting up memory disks... done. Disabling APM on /dev/ad0 (pass0:ata0:0:0:0): SETFEATURES. ACB: ef 85 00 00 00 40 00 00 00 00 00 00 (pass0:ata0:0:0:0): CAM status: ATA Status Error (pass0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (pass0:ata0:0:0:0): RES: 51 04 00 00 00 00 00 00 00 00 00 Failed to configure APM: No such file or directory ___ ___/ f \ / p \___/ Sense \___/ \ \___/ Welcome to pfSense 2.3.2-RELEASE (Patch 1) on the 'pfSense' platform... Dump directory does not exist. Savecore not run. Creating symlinks......ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/freeradius-2.2.9 /usr/local/lib/ipsec /usr/local/lib/mysqlE a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout done. >>> Under 512 megabytes of ram detected. Not enabling opcache Failed to write core file for process php-cgi (error 14) pid 304 (php-cgi), uid 0: exited on signal 11 Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 204 Jan 1 01:01:05 php-fpm[414]: /ecl.php: PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create() PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create()Launching the init system... Warning: Cannot load module 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on line 0 ... Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 204 PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create()Starting CRON... done. Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 204 Jan 1 01:01:06 php-fpm[414]: /rc.start_packages: PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_cre) PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create() Warning: Cannot load module 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on line 0 Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 204 PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create() Warning: Cannot load module 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on line 0 Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 204 PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create()pfSense (pfSense) 2.3.2-RELEASE (Patch 1) i386 Bootup complete FreeBSD/i386 (Amnesiac) (ttyu0) Jan 1 01:01:12 getty[484]: open /dev/ttyv0: No such file or directory Warning: Cannot load module 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on line 0 Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 204 PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 204, Message: Call to undefined function xml_parser_create() 0) Logout (SSH only) 9) pfTop 1) Assign Interfaces 10) Filter Logs 2) Set interface(s) IP address 11) Restart webConfigurator 3) Reset webConfigurator password 12) PHP shell + Warning: Cannot load module 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on line 0 pfSense tools 4) Reset to factory defaults 13) Update from console 5) Reboot system 14) Enable Secure Shell (sshd) 6) Halt system 15) Restore recent configuration 7) Ping host 16) Restart PHP-FPM 8) Shell Enter an option:</sandisk></amd></amd></amd></amd></at></at></isa></amd></ohci></ata></ata></amd></isa></pci-isa></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></software></software,></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>
I can get to the shell, but no netwrok cards are configured. Any tip on how to recover?
-
Rather than start a new post just posting here.
I tried the update 5 times via the GUI. It did not work.
I then tried to update my plugins and that didn't work.
Both updates download just fine. Then there is some mishap about checking the files and then the update quits.
So I gave up.
Last update didn't work via the GUI either so I went to the command line update and that worked.
For now waiting as I do not want to deal with a broken PFSense build at this time.
If you can get to the command line try to restore your last build is the only suggestion that I can provide as I typically leave PFSense alone as it works great for me (except the last two updates).
-
Solved it now by doing a reinstall. Apparently there is now way to recover on this sort of errors.
This time i did the upgrade not on the Alix but in a Virtualbox machine where i connected the cf-card to and it went ok.
I have noticed that on the next reboot packages get installed while booting up. Maybe this took very long on the Alix as it is not a very powerfull machine and cut the power while it was still booting/upgrading. Dont know.Next time i will be more catious about it and attach the seriell console on the next boot up after an upgrade to see whats going on. 8)
-
Good news OlliC!
I have not tried again to update.
I have historically upchucked my PFSense build, started from scratch and recovered via a backup.
This time though built a duplicate machine on standby.