Re: Custom Kernel for 4.2 upgrade

2007-11-04 Thread Tasmanian Devil
I have no idea what I did to have /dev/null changed. I also had this problem with /dev/null once. In my case I used mysql as root on the command line and had MYSQL_HISTFILE=/dev/null in .profile. That replaced /dev/null with the MySQL history file. If you also use MySQL, then more info is here:

Re: Custom Kernel for 4.2 upgrade

2007-11-04 Thread Tasmanian Devil
Well I do use mysql 5.0.24a. But I can't find any reference to HISTFILE in .profile or /etc/my.cnf. But I'll keep this in mind if it happens next time. If it happens again, don't forget to look what's in the file with cat /dev/null before you repair /dev/null. The content will probably tell

Re: Custom Kernel for 4.2 upgrade

2007-11-03 Thread Jason Murray
Thanks for the offer. If it comes to that I'll just do it in a VM. I'm just a bit surprised that no one can give me any clues as to what that error is. It's almost as if /dev/null is trying to execute, but how can that be? I'm stumped, hence my post here. On 2-Nov-07, at 7:27 PM, Brian A

Re: Custom Kernel for 4.2 upgrade

2007-11-03 Thread Philip Guenther
On 11/3/07, Jason Murray [EMAIL PROTECTED] wrote: I'm just a bit surprised that no one can give me any clues as to what that error is. It's almost as if /dev/null is trying to execute, but how can that be? I'm stumped, hence my post here. config is reporting that its parser saw invalid syntax

Re: Custom Kernel for 4.2 upgrade

2007-11-03 Thread Jason Murray
$ ls -l /dev/null -rw-rw-rw- 1 root wheel 274 Nov 3 18:10 /dev/null Hmm. # cd /dev # ./MAKEDEV std # ls -l /dev/null crw-rw-rw- 1 root wheel2, 2 Nov 3 18:12 /dev/null So now: # cd /usr/src/sys/arch/i386/conf/ # config GENERIC Don't forget to run make depend Kernel options have

Custom Kernel for 4.2 upgrade

2007-11-02 Thread Jason Murray
It seems like each upgrade there is one gotcha that I stumble on. Here is this one. I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but it has worked (minus the one gotcha) for me from 3.6 until 4.1 so I expect it

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Stuart Henderson
On 2007/11/02 14:45, Jason Murray wrote: I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but it has worked (minus the one gotcha) for me from 3.6 until 4.1 so I expect it will work for 4.2. And don't get on my

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Jason Murray
On the 4.1 box. As I've said I've done this since 3.6 with no problems. On 2-Nov-07, at 4:21 PM, Stuart Henderson wrote: On 2007/11/02 14:45, Jason Murray wrote: I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Stuart Henderson
On 2007/11/02 18:03, Jason Murray wrote: On the 4.1 box. As I've said I've done this since 3.6 with no problems. If you were able to take a shortcut for the last 3 years or so, take that as a bonus, but don't expect it to always work (-: You were lucky those times.

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Jason Murray
It's not a shortcut. It is documented, just not supported. On 2-Nov-07, at 6:23 PM, Stuart Henderson wrote: On 2007/11/02 18:03, Jason Murray wrote: On the 4.1 box. As I've said I've done this since 3.6 with no problems. If you were able to take a shortcut for the last 3 years or so, take

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread knitti
On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote: It's not a shortcut. It is documented, just not supported. On 2-Nov-07, at 6:23 PM, Stuart Henderson wrote: On 2007/11/02 18:03, Jason Murray wrote: On the 4.1 box. As I've said I've done this since 3.6 with no problems. If you were

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Ted Unangst
On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote: I downloaded and untarred a fresh 4.2 src and sys tree. Then: # cd /usr/src/sys/arch/i386/conf/ # config GENERIC /dev/null:1: syntax error *** Stop. i don't think this has anything to do with 4.1 or 4.2. you have a broken something

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Jason Murray
I've followed the upgrade portion of the FAQ each time. This time the relevant doc would be: http://www.openbsd.org/faq/upgrade42.html I'm not trying to do a recompilation of the entire source, just the kernel. Once I'm booted into the new RAIDFrame aware kernel I can mount my array and

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Jason Murray
I hope not. $ which config /usr/sbin/config $ file /usr/sbin/config /usr/sbin/config: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, dynamically linked (uses shared libs), stripped $ ls -l /usr/sbin/config -r-xr-xr-x 1 root bin 76836 Mar 10 2007 /usr/sbin/config March

Re: Custom Kernel for 4.2 upgrade

2007-11-02 Thread Brian A Seklecki (Mobile)
On Fri, 2007-11-02 at 20:21 +, Stuart Henderson wrote: On 2007/11/02 14:45, Jason Murray wrote: I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but it has worked (minus the one gotcha) for me from 3.6 until