On Wed, Sep 19, 2007 at 02:11:57PM -0700, Vincent Li wrote:
> Now I can see the booting message, but I can't see the login prompt, it
> stops here:
> ----
> starting local daemons:.
> standard daemons: cron.
> Sun Mar 11 22:28:18 PDT 2007
> ------
> 
> I can ssh from another computer to net4801, and all works fine. But I can't
> login from serial console because it does not give me login prompt.

Change the tty00 line on /etc/ttys:

 tty00   "/usr/libexec/getty std.19200"  vt220    on secure

If you continue to get the wd0 errors you may have one of the earlier
versions which were not wired to support DMA.  Mine is similar.  The
workaround (thanks to Stuart Henderson):

*----------------------------------------------------------------------*
In OpenBSD, you do this with flags to the wd(4) driver.

You can edit a kernel which is already built using the -e option
to config(8);

$ config -e -o newkernel bsd
OpenBSD 4.1-current (GENERIC) #126: Mon May  7 12:43:41 MDT 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
Enter 'help' for information
ukc> change wd
 42 wd* at wdc*|pciide* channel -1 flags 0x0
change [n] y
channel [-1] ? 
flags [0] ? 0x0ff0
 42 wd* changed
 42 wd* at wdc*|pciide* channel -1 flags 0xff0
ukc> quit

If you build your own custom kernel, you can change this in the
configuration file.

The flags value I show here, 0x0ff0, disables DMA and UltraDMA
and uses whichever PIO mode the device claims to support.
*----------------------------------------------------------------------*
$ sudo mv newkernel /bsd
$ sudo reboot
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to