Re: Problems installing OpenBSD 5.8

2016-01-07 Thread Raf Czlonka
On Wed, Jan 06, 2016 at 11:15:39PM GMT, Roderich wrote:
> I thank again Raf and Peter, and now Kurt!
> 
> On Wed, 6 Jan 2016, Raf Czlonka wrote:
> 
> > That was Peter who mentioned it, not me - he's better at reading minds
> > that I am, so it seems ;^)
> >
> > BTW, this might be useful - https://marc.info/?t=14320053791
> 
> It seems, it is worse than that.
> 
> I attached my old external drive in the just installed OpenBSD,
> and it got panic. I got a "ddb{0}"?prompt. I should report
> the result of "trace" and "ps" given to that promp, but I do
> not know how to save that with OpenBSD in that panic state,
> and I dont want to get a panic again. :)

If it's not simply a faulty hardware, then it would be nice to get it
fixed. If you can't get the output on serial console, then just take
some photos[0].

> > The installer expects SHA256.sig as it uses signify to verify the sets -
> > simply download it from your local mirror[0].
> 
> O.K. with the sets in install58.iso, the file
> /pub/OpenBSD/5.8/i386/SHA256.sig in the mirror
> and index.txt (obtained with "ls -nT > index.txt" in the directory)
> it worked.
> 
> It would have been nice to have SHA256.sig and index.txt from
> the beginning in istall58.iso. Then downloading, doing vnconfig
> and mounting on htdocs would be enough.

Index.txt is only needed if you're installing sets using HTTP from your
own server - there's not need for it to be on any of the disk images.
If you're doing that, then install??.iso isn't at all necessary - simply
download the required files from the mirror and put them on your server.

> > I'm still not following. *Which* files exactly do you have in mind?
> 
> Forget it. Perhaps unpacking with something like "tar xzpf" is enough.

Again, installer does everything for you - no need to worry about file
permissions.

> In any case, to have a guide for manual installing would be nice.
> When I have troubles with the installer (or an insaller of a OS),
> then I have to begin from 0. I hate it. OpenBSD has a better installer,
> because one have less troubles, because it is not so fat than others,
> that is all.

If you really want it, each upgrade guide includes a manual process[1].

Regards,

Raf

[0] http://www.openbsd.org/ddb.html
[1] http://www.openbsd.org/faq/upgrade58.html#upgrade



Re: Problems installing OpenBSD 5.8

2016-01-06 Thread Roderich
I thank again Raf and Peter, and now Kurt!

On Wed, 6 Jan 2016, Raf Czlonka wrote:

> That was Peter who mentioned it, not me - he's better at reading minds
> that I am, so it seems ;^)
>
> BTW, this might be useful - https://marc.info/?t=14320053791

It seems, it is worse than that.

I attached my old external drive in the just installed OpenBSD,
and it got panic. I got a "ddb{0}" prompt. I should report
the result of "trace" and "ps" given to that promp, but I do
not know how to save that with OpenBSD in that panic state,
and I dont want to get a panic again. :)

> The installer expects SHA256.sig as it uses signify to verify the sets -
> simply download it from your local mirror[0].

O.K. with the sets in install58.iso, the file
/pub/OpenBSD/5.8/i386/SHA256.sig in the mirror
and index.txt (obtained with "ls -nT > index.txt" in the directory)
it worked.

It would have been nice to have SHA256.sig and index.txt from
the beginning in istall58.iso. Then downloading, doing vnconfig
and mounting on htdocs would be enough.

> I'm still not following. *Which* files exactly do you have in mind?

Forget it. Perhaps unpacking with something like "tar xzpf" is enough.

In any case, to have a guide for manual installing would be nice.
When I have troubles with the installer (or an insaller of a OS),
then I have to begin from 0. I hate it. OpenBSD has a better installer,
because one have less troubles, because it is not so fat than others,
that is all.

Rodrigo.



Re: Problems installing OpenBSD 5.8

2016-01-06 Thread Raf Czlonka
On Wed, Jan 06, 2016 at 03:36:19PM GMT, Roderich wrote:

> I thank Raf and Peter for their hints.

No worries.

> There is big progress.
> 
> A dmesg goes in the attachment, perhaps helps other people.
> 
> My remarks o rafs mail:
> 
> Indeed, it seems the esternal USB cdrom drive was not recognized.

That was Peter who mentioned it, not me - he's better at reading minds
that I am, so it seems ;^)

BTW, this might be useful - https://marc.info/?t=14320053791

> >You sure it wasn't cd58.iso by any chance?
> 
> Yes, sure, it is install58.iso
> 
> >You need index.txt in the directory which contains the sets on the http
> >server:
> >
> > cd $DIR && ls -nT > index.txt
> 
> With this it worked, I just installed openBSD with PXE and HTTP to
> a local system, but the signature check failed.
> 
> In install58.iso the file with signatures is called SHA256, but
> the installer wants SHA256.txt, I did "cp SHA256 SHA256.txt",
> but the installer complained because of comments in the file.

The installer expects SHA256.sig as it uses signify to verify the sets -
simply download it from your local mirror[0].

> Originally I did vnconfig with the install58.iso file and
> mounted it in the htdoc directory. Since I didnt want to
> modify install58.iso, I had now to copy the files in order to
> also have index.txt there. Well, I had this time the necessary
> megabytes.
> 
> >Installer works just fine for majority of people/use cases.
> 
> Yes! Fine for the mayority! Also fine for me in most cases. But there
> are other cases and conditions, in which the install program may be
> not adecuate.
> 
> >Why would you want to do the install manually?
> 
> Flexibility. In order to be able to react and fix problems. For
> installing OpenBSD in systems with few resources. But for that one
> needs a clear goal, one needs to know what exactly must be the
> result. That is why I though instructions for manually installing
> would be nice. Perhaps I must read the install script.
> 
> >Not sure what you mean by "permissions".
> 
> File permissions. Just an example of details to care when installing
> manually.

I'm still not following. *Which* files exactly do you have in mind?

Raf

[0] http://www.openbsd.org/ftp.html

> OpenBSD 5.8 (RAMDISK_CD) #1038: Sun Aug 16 02:43:32 MDT 2015
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
> cpu0: AMD E-350 Processor ("AuthenticAMD" 686-class, 512KB L2 cache) 1.65 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,PAGE1GB,LONG,SSE3,MWAIT,SSSE3,CX16,POPCNT,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,WDT,ITSC
> real mem  = 1725186048 (1645MB)
> avail mem = 1682780160 (1604MB)
> mainbus0 at root
> bios0 at mainbus0: date 06/16/10, SMBIOS rev. 2.6 @ 0xe9220 (60 entries)
> bios0:
> bios0: ASUSTeK COMPUTER INC. E35M1-M
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 206MHz
> cpu0: mwait min=64, max=64, IBE
> cpu at mainbus0: not configured
> ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins
> ioapic0: misconfigured as apic 3, remapped to apid 0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (BR15)
> acpiprt2 at acpi0: bus -1 (PCE6)
> acpiprt3 at acpi0: bus -1 (PCE7)
> acpiprt4 at acpi0: bus -1 (PCE8)
> acpiprt5 at acpi0: bus 1 (BR14)
> acpiprt6 at acpi0: bus 3 (PE20)
> acpiprt7 at acpi0: bus 4 (PE21)
> acpiprt8 at acpi0: bus 5 (PE22)
> acpiprt9 at acpi0: bus 6 (BR23)
> acpiprt10 at acpi0: bus -1 (PE23)
> bios0: ROM list: 0xc/0xe200
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00
> vga1 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> "ATI Radeon HD 6310 HD Audio" rev 0x00 at pci0 dev 1 function 1 not configured
> ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: apic 0 int 16
> pci1 at ppb0 bus 1
> ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, 
> AHCI 1.2
> ahci0: port 0: 1.5Gb/s
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0:  SCSI3 0/direct 
> fixed naa.5392c1e06dc0
> sd0: 238475MB, 512 bytes/sector, 488397168 sectors
> ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, 
> version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, 
> version 1.0, legacy support
> ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> "ATI SBx00 SMBus" rev 0x42 at pci0 dev 20 func

Re: Problems installing OpenBSD 5.8

2016-01-06 Thread Kurt Mosiejczuk
On Wed, Jan 06, 2016 at 12:44:00PM +, Roderich wrote:

> (2) I tried to install with PXE Boot, I booted bsd.rd from another
>  machine that also offered the sets with http to 10.0.0.1/5.8/i386,
>  but the installation program did not find the sets. I went to
>  shell and the sets could inded be fetched with "ftp" program from
>  that location. BTW ftp is also not offered, only disc and http.

You need an index.txt file that lists the available files in "ls -ln"
format.  Otherwise the installer doesn't know what files are there.
I ran into the same problem when trying to install using sets from a
local machine on my home network.

The installer would have to be much more complicated to parse the
automatically generated HTML that each web server generates.


--Kurt



Re: Problems installing OpenBSD 5.8

2016-01-06 Thread Peter N. M. Hansteen
On Wed, Jan 06, 2016 at 12:44:00PM +, Roderich wrote:
> I am having some problems with the (new?) installer. I want to install
> OpenBSD 5.8 off-line.
> 
> (1) I burned a CD Rom with install58.iso, it booted, but when it
>  asks for the location of installation sets, it does not offer
>  cdrom, only disk and http.

You're not offering a lot of info here, but let me venture a guess: for
some odd reason, your CD-ROM is identified as something else by the installer
kernel. I'd try the disk option and try any disks presented. Without a dmesg
(see eg http://www.openbsd.org/faq/faq4.html#getdmesg) it's not possible to
offer any other insights.

> (2) I tried to install with PXE Boot, I booted bsd.rd from another
>  machine that also offered the sets with http to 10.0.0.1/5.8/i386,
>  but the installation program did not find the sets. I went to
>  shell and the sets could inded be fetched with "ftp" program from
>  that location. BTW ftp is also not offered, only disc and http.

were those files also visible by pointing a browser at http://10.0.0.1/5.8/i386 
?

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Problems installing OpenBSD 5.8

2016-01-06 Thread Raf Czlonka
On Wed, Jan 06, 2016 at 12:44:00PM GMT, Roderich wrote:

> Dear Sirs!

Hi Rodrigo,

> I am having some problems with the (new?) installer. I want to install
> OpenBSD 5.8 off-line.
> 
> (1) I burned a CD Rom with install58.iso, it booted, but when it
>  asks for the location of installation sets, it does not offer
>  cdrom, only disk and http.

You sure it wasn't cd58.iso by any chance?

> (2) I tried to install with PXE Boot, I booted bsd.rd from another
>  machine that also offered the sets with http to 10.0.0.1/5.8/i386,
>  but the installation program did not find the sets. I went to
>  shell and the sets could inded be fetched with "ftp" program from
>  that location. BTW ftp is also not offered, only disc and http.

You need index.txt in the directory which contains the sets on the http
server:

cd $DIR && ls -nT > index.txt

Also, FTP has been removed as the source of sets in 5.7[0].

> (3) It is nice to have an installation program, but nicer for me
>  would be to have instructions for installing OpenBSD with the shell
>  offered. I am sure I can do it with some experimenting, but there
>  would remain doubts that all was well done, for example regarding
>  permissions.

Installer works just fine for majority of people/use cases. Why would
you want to do the install manually?

Not sure what you mean by "permissions".

Regards,

Raf

[0] 
http://cvsweb.openbsd.org/cgi-bin/cvsweb/www/faq/faq4.html.diff?r1=1.355&r2=1.356&f=h



Problems installing OpenBSD 5.8

2016-01-06 Thread Roderich

Dear Sirs!

I am having some problems with the (new?) installer. I want to install
OpenBSD 5.8 off-line.

(1) I burned a CD Rom with install58.iso, it booted, but when it
 asks for the location of installation sets, it does not offer
 cdrom, only disk and http.

(2) I tried to install with PXE Boot, I booted bsd.rd from another
 machine that also offered the sets with http to 10.0.0.1/5.8/i386,
 but the installation program did not find the sets. I went to
 shell and the sets could inded be fetched with "ftp" program from
 that location. BTW ftp is also not offered, only disc and http.

(3) It is nice to have an installation program, but nicer for me
 would be to have instructions for installing OpenBSD with the shell
 offered. I am sure I can do it with some experimenting, but there
 would remain doubts that all was well done, for example regarding
 permissions.

I thank you for hints
Rodrigo.