On Sun, 29 Nov 1998, 123 wrote:

> > It's time for the monthly attempt to get Linux going
> > on my 4/330 - I[1] have convinced the kernel to boot
[snip]
> what version of the kernel are you using?

This is from the vger cvs tree (5 Nov), although I
see the same with Linus' 2.1 kernels, now that most
of the sparc merging is done.

I'm going to pull a more recent vger tree tomorrow,
but I don't except to see any difference.

> > down, and then sits there.  This is rather similar
> > to the behaviour of the 2.0 kernels on my intel boxes
> > with the new /dev/console at (5,1), so I've tried
> > pointing console at tty (5,0), ttyN (4,N) and ttyS0
> > (4,64).  With all of these, it's quite happy to print
> > kernel messages out, but won't print any output from
> > init (from the ultrapengiun installer, I think), or
> > ash (from the same), nor does any input (keyboard/
> > serial) seems to go anywhere.
> 
> so... your probably using the SUNOS boot blocks to boot
> from? or did you port SILO over to the sun4 arch?

Either dropping the elftoaout'ed vmlinux into / under
sunos and booting with "b /vmlinuz" or using tftp with
"b le()" (which is handy, as the disk which sunos is
on seems to have problems spinning up).

> > I don't have a full cross-compiling setup (enough
> > for a kernel, but not enough libraries, &c.) but I'll
> > try to build an alternate init somehow - I was just curious
> > as to whether there's an obvious solution to this?
> 
> no clue on this... when you booted did you pass the root=
> command? and does the kernel know about it?

OK, odd stuff.  It mounts its root fs over nfs from
an i386 linux box, (which is where the syslog messages
I posted came from).

I've played with the cross compiler I'm using and
can now build up a custom static init which gets
run and seems to work - it can read and write the
VTs and I can switch between them (although that's
rather painful when using promcon :)

Running the ash from the RedHat or ultrapenguin
installers, however, doesn't work.  L1-T shows
that the shell has exited and zombied.

I never properly understood the process group/
session thing, but it still happens with init
like this:

main()
{
close 0,1,2
if(!fork()) {
  open("/dev/tty1", O_RDWR);
  open("/dev/tty1", O_RDWR);
  open("/dev/tty1", O_RDWR);
  execve(ash);
}
for(;;) { wait(); }
}

> email me back...
> 
> i have 2 4/330's sitting here ready to rock...

-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to