Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Emilio Perea
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"  vt220on 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
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Bob Keyes

If you are installing OpenBSD on a Soekris board, I suggest using one of 
the kits for doing this, such as Bowlfish.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Stuart Henderson
> > Looks like the system isn't using the serial console.

The installer asks near the end whether you'd like to use
a serial console. Answering this 'yes' saves a lot of trouble...

> Now I can see the booting message, but I can't see the login prompt, it
> stops here:

The serial console isn't turned on in /etc/ttys.

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Vincent Li
On 9/19/07, Maurice Janssen <[EMAIL PROTECTED]> wrote:
>
> On Wednesday, September 19, 2007 at 08:40:50 -0700, Vincent Li wrote:
> 
> >Then I typed reboot at prompt, it reboot and hangs here:
> >---
> >boot>
> >booting hd0a:/bsd:5567348+871228 [52+283664+263996]=0x6a9ba4
> >entry point at 0x200120
> >-
> >
> >does this mean that the bootloader boot OpenBSD from address 0x200120 and
> >could not find the boot partition? do I have a faulty CF because of
> >"pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20"?
>
> Looks like the system isn't using the serial console.  Please try to
> enter
> boot> set tty com0
> boot> set stty 19200
> at the boot prompt and see how it goes.
> If this works, put these lines in /etc/boot.conf.
>
> Mauriace



Thanks, that is it. I put following in /etc/boot.conf

set tty com0
stty com0 19200

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.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801-60 died

2007-09-19 Thread Magnus Hagdorn
On Wed, 2007-09-19 at 12:02 +0200, Bernd Walter wrote:
> On Wed, Sep 19, 2007 at 08:23:49AM +0100, magnus.hagdorn wrote:
> > 
> > Hi there,
> > I wonder if you have any suggestions of what I could try next. My 
> > net4801-60 based firewall (running IPCop) has suddenly died yesterday, 
> > after running for half a year without any problems. When I power up the 
> > unit the power LED comes on and the error LED keeps flashing. This suggests 
> > to me that the system doesn't even get to the BIOS?
> 
> Connect the console and see what happens.
> The most common problems are defective power supply and early panic in
> your operating system, which might be because of a corrupted CF.
> 
console was black as well. anyway, i plugged in a different PSU and
every thing is working again. pfff, i was quite worried. ah well, the
worst thing that has happened now is that it interrupted my ADSL link
which was up for more than 50days up until then. I am well impressed
with the net4801. I use it with a pulsar ADSL card and IPCOP. All great.
Cheers for the suggestions.
magnus

-- 
Magnus Hagdorn
7, Forbesfield Road
AB15 4NX
Aberdeen
phone: +44.1224.324171

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Maurice Janssen
On Wednesday, September 19, 2007 at 08:40:50 -0700, Vincent Li wrote:

>Then I typed reboot at prompt, it reboot and hangs here:
>---
>boot>
>booting hd0a:/bsd:5567348+871228 [52+283664+263996]=0x6a9ba4
>entry point at 0x200120
>-
>
>does this mean that the bootloader boot OpenBSD from address 0x200120 and
>could not find the boot partition? do I have a faulty CF because of
>"pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20"?

Looks like the system isn't using the serial console.  Please try to
enter
boot> set tty com0
boot> set stty 19200
at the boot prompt and see how it goes.
If this works, put these lines in /etc/boot.conf.

Mauriace
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Michael Scheliga
Sorry for top post, stuck on outlook right now.

 

Did you change the baud rate to either Soekris or OpenBSD?

 

Soekris defaults to 19.2k and OpenBSD defaults to 9600.

 

During install OpenBSD asks if you want to redirect console to com1, and
also

Lets you set the speed here.   You can change this is /etc/boot.conf

 

Mike

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vincent Li
Sent: Wednesday, September 19, 2007 8:41 AM
To: soekris-tech@lists.soekris.com
Subject: [Soekris] openbsd won't boot from net4801 after pxe
installation

 

Hello all,

This is my CF info from comBios:


Pri Mas SanDisk SDCFB-2048 LBA Xlt 992-64-63 2001 Mbyte
---

After I partitionize the CF, I got following message:
--
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20
wd0: transfer error, downgrading to PIO mode 4
wd0:(pciide0:0:0): using PIO mode 4
wd0a: device timeout writing fsbn 96 of 96-0 (wd0 bn 159; cn 0 tn 2 sn
33), retrying
wd0: soft error (corrected)
---

Then the installation continues and succeed:


Making all device nodes...done...
blah,blah...
CONTRATULATIONS!Your OpenBSD install has been successfully completed!
.
reset the machine and boot from the disk
-

Then I typed reboot at prompt, it reboot and hangs here:
---
boot>
booting hd0a:/bsd:5567348+871228 [52+283664+263996]=0x6a9ba4
entry point at 0x200120
-

does this mean that the bootloader boot OpenBSD from address 0x200120
and could not find the boot partition? do I have a faulty CF because of
"pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20"?

Thanks



___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Vincent Li
Hello all,

This is my CF info from comBios:


Pri Mas SanDisk SDCFB-2048 LBA Xlt 992-64-63 2001 Mbyte
---

After I partitionize the CF, I got following message:
--
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20
wd0: transfer error, downgrading to PIO mode 4
wd0:(pciide0:0:0): using PIO mode 4
wd0a: device timeout writing fsbn 96 of 96-0 (wd0 bn 159; cn 0 tn 2 sn 33),
retrying
wd0: soft error (corrected)
---

Then the installation continues and succeed:


Making all device nodes...done...
blah,blah...
CONTRATULATIONS!Your OpenBSD install has been successfully completed!
.
reset the machine and boot from the disk
-

Then I typed reboot at prompt, it reboot and hangs here:
---
boot>
booting hd0a:/bsd:5567348+871228 [52+283664+263996]=0x6a9ba4
entry point at 0x200120
-

does this mean that the bootloader boot OpenBSD from address 0x200120 and
could not find the boot partition? do I have a faulty CF because of
"pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20"?

Thanks
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] soekris net5501 + reboot problem

2007-09-19 Thread Marc Balmer
* Peter van Oord van der Vlies wrote:
> Hi,
> 
> I have recently bought a new net5501, it works fine except when i give 
> the device a reboot then he doesn't boots anymore from the hdd.
> 
> I have seen that many people have the same problem. Is there anyone that 
> have a workaround or solutions for this problem ?

same problem here, too ;)  I guess it's a bios problem and I heard
rumours that it is being worked on.

 - mb

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801-60 died

2007-09-19 Thread Bob Camp
Hi

I would pop out the CF and any other cards. That would at least  
narrow down the cause of the failure. Swapping the power supply is  
probably a good idea as well.

Bob


On Sep 19, 2007, at 3:23 AM, magnus.hagdorn wrote:

>
> Hi there,
> I wonder if you have any suggestions of what I could try next. My  
> net4801-60 based firewall (running IPCop) has suddenly died  
> yesterday, after running for half a year without any problems. When  
> I power up the unit the power LED comes on and the error LED keeps  
> flashing. This suggests to me that the system doesn't even get to  
> the BIOS?
> Any suggestions?
> Cheers
> magi
>
>
> ___
> Soekris-tech mailing list
> Soekris-tech@lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech
>

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] soekris net5501 + reboot problem

2007-09-19 Thread Peter van Oord van der Vlies
Hi,

I have recently bought a new net5501, it works fine except when i give 
the device a reboot then he doesn't boots anymore from the hdd.

I have seen that many people have the same problem. Is there anyone that 
have a workaround or solutions for this problem ?

Thanks

Peter
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net5501 SATA disk

2007-09-19 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, SeDoFa
 writes:

>I've connected a 2.5" SATA drive to the Net5501 but it's not detected in bios.
>
>It's a generic problem with any sata disk?

It's bug which has crept back into the bios, Søren is working on a fix.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] net5501 SATA disk

2007-09-19 Thread SeDoFa
Hi list,

I've connected a 2.5" SATA drive to the Net5501 but it's not detected in bios.

It's a generic problem with any sata disk?

How to Resolve Problems?


Thank you
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801-60 died

2007-09-19 Thread Bernd Walter
On Wed, Sep 19, 2007 at 08:23:49AM +0100, magnus.hagdorn wrote:
> 
> Hi there,
> I wonder if you have any suggestions of what I could try next. My net4801-60 
> based firewall (running IPCop) has suddenly died yesterday, after running for 
> half a year without any problems. When I power up the unit the power LED 
> comes on and the error LED keeps flashing. This suggests to me that the 
> system doesn't even get to the BIOS?

Connect the console and see what happens.
The most common problems are defective power supply and early panic in
your operating system, which might be because of a corrupted CF.

-- 
B.Walterhttp://www.bwct.de  http://www.fizon.de
[EMAIL PROTECTED]   [EMAIL PROTECTED][EMAIL PROTECTED]
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] net4801-60 died

2007-09-19 Thread magnus . hagdorn

Hi there,
I wonder if you have any suggestions of what I could try next. My net4801-60 
based firewall (running IPCop) has suddenly died yesterday, after running for 
half a year without any problems. When I power up the unit the power LED comes 
on and the error LED keeps flashing. This suggests to me that the system 
doesn't even get to the BIOS?
Any suggestions?
Cheers
magi


___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech