I would like to install the src.tar.gz in /usr/src
cp /cdrom/src.tar.gz /tmp/ &&
tar -C / -zxvpf /tmp/src.tar.gz
After this, I saw a kernel panic and
the partition was full.
I would 'cd' to /usr/src:
So i reset the PC.
boot -s and return.
exec /sbin/init: error 21
init: not found
panic: no init
stopped at Debugger+0x4:leave
RUN AT LEAS 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN
REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING
Debugger(d057fa84,8,e7d2af1c,cfbfdfee,0) at Debugger+0x4
panic(d04f3e88,e7d2af64,e7d2af44,0,0) at panic+0x63
start_init(d6a2e000) at start_init 0x16d
Bad frame pointer: 0xd06f1ef8
On Thu, Nov 17, 2005 at 09:19:09PM +0100, AON Mailbox wrote:
>I think I dicovered a new bug in OpenBSD-3.8 release,
>but I am not sure!
>Will you please check it up!
No you haven't. You've discovered a usage error.
>I would like to install the src.tar.gz in /usr/src
>cp /cdrom/src.tar.gz /tmp/ &&
>tar -C / -zxvpf /tmp/src.tar.gz
That was the error. It should've been
tar -C /usr/src -zxvpf .../src.tar.gz
You've replaced /sbin/init (the init binary) with sbin/init/... from
the source tree, i.e. /sbin/init has mutated into a directory, so you
got error code 21:
21 EISDIR Is a directory. An attempt was made to open a directory with
write mode specified.
when the kernel wanted to exec /sbin/init in the process no. 1.
Your best bet is reinstalling and looking at tar contents a bit more
before unpacking them in future.