[pfSense Support] strange problem with /boot/loader.rc
I upgraded to 0.84 yesterday, it went apparently without problems. Today I rebooted the system and it wouldn't boot. After inspection of the files in /boot, it appeared that loader.rc was 14672 bytes of size and contained thousands of blank lines in addition to the few it should contain. I grepped the non-empty lines into a new loader.rc and now the system is up and running again. Is this a known issue or would it be a good idea to look into this a little more in detail? Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [pfSense Support] strange problem with /boot/loader.rc
I was upgrading from 82.4 (it think). It was the release just before the .84 Oliver -Original Message- From: Scott Ullrich [mailto:[EMAIL PROTECTED] Sent: September 11, 2005 2:49 PM To: support@pfsense.com Subject: Re: [pfSense Support] strange problem with /boot/loader.rc On 9/11/05, Oliver Stark <[EMAIL PROTECTED]> wrote: > I upgraded to 0.84 yesterday, it went apparently without problems. Today I > rebooted the system and it wouldn't boot. After inspection of the files in > /boot, it appeared that loader.rc was 14672 bytes of size and contained > thousands of blank lines in addition to the few it should contain. I grepped > the non-empty lines into a new loader.rc and now the system is up and > running again. > > Is this a known issue or would it be a good idea to look into this a little > more in detail? Can't say that I have seen this problem. What version where you upgrading from? We have made a number of changes to the upgrade procedure recently to try and prevent corruption/race issues after upgrade. Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [pfSense Support] Upgrade to 80.4 causes problems finding kernel
Hi, this is exactly the problem I expericed a few days ago. See my message http://www.mail-archive.com/support@pfsense.com/msg01022.html It could be that the /boot/loader.rc is corrupted. Please have a look at it and, if appropriate, grep out the non-empty lines into a new loader.rc in order to make it boot again. Oliver -Original Message- From: Xtian [mailto:[EMAIL PROTECTED] Sent: September 15, 2005 4:54 PM Cc: support@pfsense.com Subject: [pfSense Support] Upgrade to 80.4 causes problems finding kernel Howdy pfSensers, I've been running 0.70.8 just fine on a normal PC with 3Com NICs for months now. I did the 0.80.4 Upgrade and rebooted the box and I get: (bootloader loads fine, fives me the option of "F1 FreeBSD" and then duly loads): Can't work out which disk we are booting from. Guessed BIOS device 0x not found by probes, defaulting to disk0: can't load 'kernel' lsdev: disk devices: disk0: BIOS drive A: disk1: BIOS drive C: Hmm... booting from the Live CD (0.70.8) I am able to mount /dev/ad0s1a and everything looks fine in the filesystem. Kernel is there in /boot/kernel/kernel.gz and all that. So I don't know what happened. I am a Linux guy, so I don't enough to figure out what FreeBSD decided to magically not find my drive anymore. The Hardware must be okay, or else I wouldn't have been able to mount it from the Live CD. Any ideas? Many thanks, Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [pfSense Support] Upgrade to 80.4 causes problems finding kernel
There seems to be definitely a glitch in the upgrade procedure, at least on the older versions. Blank lines are inserted in the loader.rc making it grow above a size where the loader cannot handle it any more. I guess, with a file size of 784 bytes, you should be below this limit (Christian's loader.rc was over 7kb, mine was over 14kb). Anyway, stripping out the blank lines shouldn't cause you any harm. It might also be interesting that people with recent installs have a look at their loader.rc just after upgrades to make sure that the newer versions don't behave the same way. Oliver -Original Message- From: Paulus Edwin Prasetya [mailto:[EMAIL PROTECTED] Sent: September 16, 2005 1:07 AM To: support@pfsense.com Subject: Re: [pfSense Support] Upgrade to 80.4 causes problems finding kernel Just reporting, this problem happen to me too. At first I installed version 74 and upgrading to 80.x After 6 days, i try to reboot it, and reported kernel not found. Cause it is on production network, i do not have time to trace. So i just re-installed the iso i had (v 74) and reconfuguring it all manually. I tried the configuration.xml I downloaded 1 day before, it could not work. After all work properly, I upgraded it to 83.2 and now the /boot/loader.rc is in size 784 i just tried: # grep -v '^$' loader.rc > loader.rc.new and have loader.rc.new is in size 346 So I think it is dangerous to reboot the gateway right now, unless the problem is well known to be solved. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [pfSense Support] Upgrade to 80.4 causes problems finding kernel
Scott, My system was installed from scratch as 0.79.4 or 0.80. I don't remember the exact release but I installed it from CD by the very end of August. Than I upgraded to 0.82.4 and finally to 0.84. This is the 0.84 upgrade that broke my boot up. The .70< estimate doesn't seem to fit my case... Oliver -Original Message- From: Scott Ullrich [mailto:[EMAIL PROTECTED] Sent: September 16, 2005 10:40 AM To: support@pfsense.com Subject: Re: [pfSense Support] Upgrade to 80.4 causes problems finding kernel These problems should be fixed on newer versions. I think the danger still is present when you upgrade from 0.70<. Scott On 9/16/05, Oliver Stark <[EMAIL PROTECTED]> wrote: > There seems to be definitely a glitch in the upgrade procedure, at least on > the older versions. Blank lines are inserted in the loader.rc making it grow > above a size where the loader cannot handle it any more. I guess, with a > file size of 784 bytes, you should be below this limit (Christian's > loader.rc was over 7kb, mine was over 14kb). Anyway, stripping out the blank > lines shouldn't cause you any harm. > > It might also be interesting that people with recent installs have a look at > their loader.rc just after upgrades to make sure that the newer versions > don't behave the same way. > > Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]