Re: Failed to load linux.ko during boot

2001-04-09 Thread Szilveszter Adam
On Tue, Apr 10, 2001 at 10:05:27AM +0300, Sakari Jalovaara wrote: > I was wondering about this too. /etc/rc does this: > > if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then > kldload linux > /dev/null 2>&1 > fi <...> I believe this has been fixed yesterday.

Re: Failed to load linux.ko during boot

2001-04-09 Thread Sakari Jalovaara
I wrote: > Hmm, "man sh" promises that [ if ! ... ] should work, but ... Shell bug?! > > (Apr 6 vintage current). This was already fixed by Brian yesterday. To make linux.ko loading (and quite likely other stuff as well) work: re-sup and recompile, /bin/sh in particular. ++sakari To Unsubscr

Re: Failed to load linux.ko during boot

2001-04-09 Thread Sakari Jalovaara
I was wondering about this too. /etc/rc does this: if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then kldload linux > /dev/null 2>&1 fi Works better for me if I add parens to the "if ! ..." bit: if ! ( kldstat -v | grep -E 'linux(aout|elf)' >

Re: Failed to load linux.ko during boot

2001-04-05 Thread Morten Skriver
On Thu, Apr 05, 2001 at 02:41:54PM -0700, David O'Brien wrote: > On Thu, Apr 05, 2001 at 11:30:21PM +0200, Morten Skriver wrote: > > [morten@mosk-pc]:/usr/home/morten$ linux > > kldload: can't load linux: Operation not permitted > > ELF binary type "3" not known. > > Abort trap > > You did not

Re: Failed to load linux.ko during boot

2001-04-05 Thread David O'Brien
On Thu, Apr 05, 2001 at 11:30:21PM +0200, Morten Skriver wrote: > [morten@mosk-pc]:/usr/home/morten$ linux > kldload: can't load linux: Operation not permitted > ELF binary type "3" not known. > Abort trap You did not `brandelf' your /compat/linux/sbin/ldconfig. Did you install this from /usr/

Re: Failed to load linux.ko during boot

2001-04-05 Thread Doug White
On Thu, 5 Apr 2001, Morten Skriver wrote: > On Thu, Apr 05, 2001 at 11:16:48PM +0200, Morten Skriver wrote: > > > > I upgraded my -Current today and after doing this, it has stopped to load > > linux.ko into the kernel even though I have linux_enable="YES" in my > > rc.conf > > > > I forgot to te

Re: Failed to load linux.ko during boot

2001-04-05 Thread Morten Skriver
On Thu, Apr 05, 2001 at 11:16:48PM +0200, Morten Skriver wrote: > > I upgraded my -Current today and after doing this, it has stopped to load > linux.ko into the kernel even though I have linux_enable="YES" in my > rc.conf > I forgot to tell, that I recive the following error message if I use t