Re: OpenBSD on Soekris net4801
> > I tried doing the virtual image thing with mine and couldn't get it to work. > I ended up doing the same. You can get cf to USB adapters fairly cheap. And > did the initial install with my laptop then logged in and fixed the > networking stuff. I later did a fresh install over pxe using the laptop as > the ftpd server. This also worked well. I don't remember what it is but I had > to disable something in the kernel for it to boot up after install. Don't > judge me but mine is still running 6.2 because I'm too lazy to find it so I > can upgrade. That "something" could be what I'm missing ;-)
Re: OpenBSD on Soekris net4801
On May 22, 2019 6:05 PM, Chris Zakelj wrote: > > When I set my 4801 up years and years ago, I did it by using an IDE>CF > adapter on an old Athlon system I had hanging around rather than messing > around with virtual images, PXE booting, or the like. The Geode processor > is roughly equivalent to a Pentium II, so use i386 images. Past that, from > my notes I have the console being set for 9600bps and vt220, and > \etc\boot.conf > set tty com0 > > On Wed, May 22, 2019 at 2:08 PM Alberto Mijares wrote: > > > Hi guys, > > > > I'm new on this list. Greetings everyone. > > > > Here is my case: > > > > I installed OpenBSD on a 4GB Flash Card by attaching the card to a > > Bhyve VM as a "ahci-hd" custom drive. Then, booted the VM and disabled > > a few of services. Also disabled kernel and libs randomization, since > > it's not needed and the Soekris couldn't handle it. At the end, only > > sshd, syslogd and ntpd are starting and and 73MB or RAM remain free. > > Finally, I created a /etc/hostname.sis1 file with proper network > > configuration, since the device name in the VM is not the same of the > > interface of the Soekris. > > > > Now I should say: the serial console is not working for me, for some > > reason I cannot get it working. I see garbage in the screen with all > > possible combinations of speeds and other terminal configs. > > > > When I plug the CF in the Soekris, it won't boot properly. I think the > > kernel is loaded and hangs at some point. Can't tell where, as > > explained before. I know the boot is not finishing because I created a > > /etc/rc.local in it doesn't do anything. > > > > I tried to edit /etc/fstab and change sd disk interface for wd. Not > > working either. > > > > I also tried the bsd.rd but I'm not sure if I get a prompt or it also > > hangs. > > > > Ideally, I would boot the Soekris and wait for network initialization > > for connecting via SSH. Any suggestion? > > > > The only thing I haven't tried is the bsd.mp kernel, now that I think. > > I'll give it a try and will be waiting for your feedback in the > > meantime. > > > > Thanks in advance. > > > > > > Alberto Mijares > > > I tried doing the virtual image thing with mine and couldn't get it to work. I ended up doing the same. You can get cf to USB adapters fairly cheap. And did the initial install with my laptop then logged in and fixed the networking stuff. I later did a fresh install over pxe using the laptop as the ftpd server. This also worked well. I don't remember what it is but I had to disable something in the kernel for it to boot up after install. Don't judge me but mine is still running 6.2 because I'm too lazy to find it so I can upgrade. Edgar
Re: OpenBSD on Soekris net4801
When I set my 4801 up years and years ago, I did it by using an IDE>CF adapter on an old Athlon system I had hanging around rather than messing around with virtual images, PXE booting, or the like. The Geode processor is roughly equivalent to a Pentium II, so use i386 images. Past that, from my notes I have the console being set for 9600bps and vt220, and \etc\boot.conf set tty com0 On Wed, May 22, 2019 at 2:08 PM Alberto Mijares wrote: > Hi guys, > > I'm new on this list. Greetings everyone. > > Here is my case: > > I installed OpenBSD on a 4GB Flash Card by attaching the card to a > Bhyve VM as a "ahci-hd" custom drive. Then, booted the VM and disabled > a few of services. Also disabled kernel and libs randomization, since > it's not needed and the Soekris couldn't handle it. At the end, only > sshd, syslogd and ntpd are starting and and 73MB or RAM remain free. > Finally, I created a /etc/hostname.sis1 file with proper network > configuration, since the device name in the VM is not the same of the > interface of the Soekris. > > Now I should say: the serial console is not working for me, for some > reason I cannot get it working. I see garbage in the screen with all > possible combinations of speeds and other terminal configs. > > When I plug the CF in the Soekris, it won't boot properly. I think the > kernel is loaded and hangs at some point. Can't tell where, as > explained before. I know the boot is not finishing because I created a > /etc/rc.local in it doesn't do anything. > > I tried to edit /etc/fstab and change sd disk interface for wd. Not > working either. > > I also tried the bsd.rd but I'm not sure if I get a prompt or it also > hangs. > > Ideally, I would boot the Soekris and wait for network initialization > for connecting via SSH. Any suggestion? > > The only thing I haven't tried is the bsd.mp kernel, now that I think. > I'll give it a try and will be waiting for your feedback in the > meantime. > > Thanks in advance. > > > Alberto Mijares > >
Re: OpenBSD on Soekris net4801
> What kernel did you install? I know I'm running i386 on mine, and I'm > also sure I'd be running amd64 if I could, so I'd say the 4801 can't > handle amd64 kernels. I installed i386, of course. Are you running 6.5 on yours? > > I never had any trouble booting from a serial console. The default > speed is 19200, BTW. > > If setting up PXE installation isn't too much trouble for you (see man > pxeboot), you can make the soekris boot from the sis0 interface by > hitting Ctrl+P after POST and typing "boot f0" (on a serial console, > obviously). A few years ago, when I got my Soekris, I changed the BIOS console settings in the Soekris board. Not sure why, and I lost the document where I wrote down the correct settings. I've tried all possible combinations in cu(1) and minicom(1); nothing works, I only see garbage in the terminal. At this point, not sure if my cable is good and don't have another handy. I guess I'll order a new one soon. Perhaps the BIOS tty console is damaged, I don't know. That's why I need to make it run properly and get SSH access. Any ideas on how to debug the kernel load and init process without the serial console? Or better, any kernel parameter I'm missing? Thanks in advance. Alberto Mijares
Re: OpenBSD on Soekris net4801
Have you tried boot> stty com0 38400 boot> set tty com0 On Wed, May 22, 2019 at 2:14 PM Alberto Mijares wrote: > Hi guys, > > I'm new on this list. Greetings everyone. > > Here is my case: > > I installed OpenBSD on a 4GB Flash Card by attaching the card to a > Bhyve VM as a "ahci-hd" custom drive. Then, booted the VM and disabled > a few of services. Also disabled kernel and libs randomization, since > it's not needed and the Soekris couldn't handle it. At the end, only > sshd, syslogd and ntpd are starting and and 73MB or RAM remain free. > Finally, I created a /etc/hostname.sis1 file with proper network > configuration, since the device name in the VM is not the same of the > interface of the Soekris. > > Now I should say: the serial console is not working for me, for some > reason I cannot get it working. I see garbage in the screen with all > possible combinations of speeds and other terminal configs. > > When I plug the CF in the Soekris, it won't boot properly. I think the > kernel is loaded and hangs at some point. Can't tell where, as > explained before. I know the boot is not finishing because I created a > /etc/rc.local in it doesn't do anything. > > I tried to edit /etc/fstab and change sd disk interface for wd. Not > working either. > > I also tried the bsd.rd but I'm not sure if I get a prompt or it also > hangs. > > Ideally, I would boot the Soekris and wait for network initialization > for connecting via SSH. Any suggestion? > > The only thing I haven't tried is the bsd.mp kernel, now that I think. > I'll give it a try and will be waiting for your feedback in the > meantime. > > Thanks in advance. > > > Alberto Mijares > >
OpenBSD on Soekris net4801
Hi guys, I'm new on this list. Greetings everyone. Here is my case: I installed OpenBSD on a 4GB Flash Card by attaching the card to a Bhyve VM as a "ahci-hd" custom drive. Then, booted the VM and disabled a few of services. Also disabled kernel and libs randomization, since it's not needed and the Soekris couldn't handle it. At the end, only sshd, syslogd and ntpd are starting and and 73MB or RAM remain free. Finally, I created a /etc/hostname.sis1 file with proper network configuration, since the device name in the VM is not the same of the interface of the Soekris. Now I should say: the serial console is not working for me, for some reason I cannot get it working. I see garbage in the screen with all possible combinations of speeds and other terminal configs. When I plug the CF in the Soekris, it won't boot properly. I think the kernel is loaded and hangs at some point. Can't tell where, as explained before. I know the boot is not finishing because I created a /etc/rc.local in it doesn't do anything. I tried to edit /etc/fstab and change sd disk interface for wd. Not working either. I also tried the bsd.rd but I'm not sure if I get a prompt or it also hangs. Ideally, I would boot the Soekris and wait for network initialization for connecting via SSH. Any suggestion? The only thing I haven't tried is the bsd.mp kernel, now that I think. I'll give it a try and will be waiting for your feedback in the meantime. Thanks in advance. Alberto Mijares
OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
With the release of 4.2 I thought I would check again to see if the vpn1411 still fails with 'Corrupted MAC on input' on a Soekris net4801. I am happy to say that I can no longer reproduce the error using the GENERIC kernel. In the past I could pop up the error within minutes using this simple script: --- #!/bin/sh while true do cat /var/log/messages done --- Last night after about 10 minutes my ssh window was still happily spitting out text, so I opened up four more windows and ran an instance of the script in each window. Eight hours later and there was not a single failure. I was curious if something was recently changed in the Hifn driver. CVS shows that there were two patches put in in the last six weeks, but neither of those are in 4.2. The latest release of OpenBSD appears to be using version 1.152 of the driver, which has been in use for 16 months as far back as OpenBSD 4.0. Does anyone know if this was intentionally fixed, or is this an unintentional byproduct of code being cleaned up somewhere else? Breeno
Re: OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
Hi, Breen Ouellette schrieb: With the release of 4.2 I thought I would check again to see if the vpn1411 still fails with 'Corrupted MAC on input' on a Soekris net4801. I am happy to say that I can no longer reproduce the error using the GENERIC kernel. Noticed that too, maybe it's this change: * New MAC algorithm available for data integrity in ssh(1), UMAC-64. About 20% faster than HMAC-MD5. See: http://openbsd.org/plus42.html Michael
Re: OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
Breen Ouellette [EMAIL PROTECTED] wrote: With the release of 4.2 I thought I would check again to see if the vpn1411 still fails with 'Corrupted MAC on input' on a Soekris net4801. I am happy to say that I can no longer reproduce the error using the GENERIC kernel. Does anyone know if this was intentionally fixed, or is this an unintentional byproduct of code being cleaned up somewhere else? There has been no fix for this, on account of nobody having diagnosed the problem in the first place. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Re: OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
Michael [EMAIL PROTECTED] wrote: Noticed that too, maybe it's this change: * New MAC algorithm available for data integrity in ssh(1), UMAC-64. About 20% faster than HMAC-MD5. ssh still defaults to hmac-md5. umac-64 isn't used unless you explicitly configure it. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Re: OpenBSD 3.8, Soekris net4801 - console boot hangs when keys pressed
On Tue, Oct 17, 2006 at 08:38:06AM +0200, marc wrote: same problem but chris tell me that and it works Your /etc/ttys file probably doesn't have anything in it for: tty00 /usr/libexec/getty std.19200 vt100 on secure the soekris always boots with 19200 by default. you can change that in the comBIOS or at the os. if you need more docu, go to http://www.soekris.com/downloads.htm and grep net4801_manual.pdf. -- gruesse joerg joerch buechner --
Re: OpenBSD 3.8, Soekris net4801 - console boot hangs when keys pressed
Stephen Bosch wrote: Hi: I have a Soekris net4801 which runs from a compact flash disk. It boots to the serial console. I've set everything to 9600 baud, 8 bit words, no parity, 1 stop bit. When left unattended, it boots normally. If I try to enter anything at the boot prompt, I see one character and then it hangs completely. Only a hard reset fixes it: A generous soul has pointed out that flow control causes this problem. I have disabled all flow control in the terminal client and this resolved the problem. Thanks! -Stephen-
FW: OpenBSD 3.8, Soekris net4801 - console boot hangs when keys pressed
For the archives, since searching this seems harder than it should be. -Mike -Original Message- From: Stephen Bosch [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 1:52 PM To: Michael Scheliga Subject: Re: OpenBSD 3.8, Soekris net4801 - console boot hangs when keys pressed Michael Scheliga wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Bosch Sent: Monday, October 16, 2006 12:59 PM To: OpenBSD-misc list Subject: OpenBSD 3.8, Soekris net4801 - console boot hangs when keys pressed Hi: I have a Soekris net4801 which runs from a compact flash disk. It boots to the serial console. I've set everything to 9600 baud, 8 bit words, no parity, 1 stop bit. When left unattended, it boots normally. If I try to enter anything at the boot prompt, I see one character and then it hangs completely. Only a hard reset fixes it: comBIOS ver. 1.28 20050529 Copyright (C) 2000-2005 Soekris Engineering. net4801 0256 Mbyte MemoryCPU Geode 266 Mhz Pri Mas SanDisk SDCFB-1024 LBA Xlt 993-32-63 1001 Mbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1Base2 Int --- 0:00:0 1078 0001 0600 0107 0280 00 00 00 0:06:0 100B 0020 0200 0107 0290 00 3F 00 E101 A000 10 0:07:0 100B 0020 0200 0107 0290 00 3F 00 E201 A0001000 10 0:08:0 100B 0020 0200 0107 0290 00 3F 00 E301 A0002000 10 0:18:2 100B 0502 01018001 0005 0280 00 00 00 0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 11 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. Using drive 0, partition 3. Loading. probing: pc0 com0 com1 pci mem[639K 255M a20=on] disk: hd0+ OpenBSD/i386 BOOT 2.10 switching console to com0 OpenBSD/i386 BOOT 2.10 com0: 9600 baud boot b Obviously, this is bad because it means I won't be able to pass any kernel parameters should that become necessary. If I do nothing or hit enter, the system boots normally -- no greek, no garbage -- which would suggest it's not a baud rate problem. Has anybody encountered this before? Thanks, -Stephen- Have you tried disabling all flow control? Variants of this have been asked and answered tons on both misc@ and Soekris lists. If this doesn't help you might try searching those archives. I did search those lists and found nothing -- most everything referred to baud rate, and I've checked that up and down, and it jibes. The flow control -- I haven't seen that mentioned. I've tried it and it has fixed the problem. Thanks, -Stephen-