DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th March 2009
artix artix is offline
New User
 
Join Date: Mar 2009
Posts: 5
Default Remote OpenBSD ssh-based install problems

Hi,

I was trying to install OpenBSD 4.4 i386 remotely, with the help from this extremely usefull post:

http://daemonforums.org/showthread.php?t=526

My hd config: /dev/hd0 (with ubuntu) and /dev/hd1 (for openbsd)

I've succeeded in all steps since i have access to a remote recovery system:
- dd yaifo.fs to /dev/hd1 and changed grub menu.lst
- access openbsd boot image through ssh with success
- installed openbsd to /dev/hd1 with success

however, after rebooting, i can't access openbsd anymore. very strange since It should have the same config as the boot image.

Any ideas are welcome...

Of course I can have a remote console connected to the server but that costs money
Reply With Quote
  #2   (View Single Post)  
Old 12th March 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I can't speak to the howto, as it depends on GRUB and Yaifo.
Quote:
...Any ideas are welcome...
I'd do a standard installation of OpenBSD in a virtual machine under Ubuntu, attaching the second hard drive (/dev/hd1) to the VM.

Here's an example for Ubuntu, using qemu. Replace <whatever> with the raw device node for /dev/hd1. I don't use Linux often enough to know what that is:

# qemu -boot d -cdrom cd44.iso <whatever>

Let the standard install run, creating the MBR and installing the OS on the device. Then modify your GRUB configuration to allow a boot of the second hard drive. I can't guide you for that, as I don't speak Grubbish. If you let the install script "dedicate the drive to OpenBSD" the MBR will have a single active partition in the last slot (#3 if you use partitions 0-3, or #4 if you use partitions 1-4).
Reply With Quote
  #3   (View Single Post)  
Old 12th March 2009
artix artix is offline
New User
 
Join Date: Mar 2009
Posts: 5
Default

I've already did that before testing on the remote server... tested it on Vmware server, and it worked.

I'll try to get the dmesg from OpenBSD (it logs it to /var/log/messages right?) from the rescue system.

Last edited by artix; 12th March 2009 at 03:07 PM.
Reply With Quote
  #4   (View Single Post)  
Old 12th March 2009
artix artix is offline
New User
 
Join Date: Mar 2009
Posts: 5
Default

Here's the log, it seems it was stucked on the last line:



Mar 12 14:30:18 voodoo /bsd: OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
Mar 12 14:30:18 voodoo /bsd: deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
Mar 12 14:30:18 voodoo /bsd: cpu0: AMD Athlon(tm) 64 Processor 3800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.40 GHz
Mar 12 14:30:18 voodoo /bsd: cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE 3
Mar 12 14:30:18 voodoo /bsd: cpu0: AMD erratum 89 present, BIOS upgrade may be required
Mar 12 14:30:18 voodoo /bsd: real mem = 1072263168 (1022MB)
Mar 12 14:30:18 voodoo /bsd: avail mem = 1028403200 (980MB)
Mar 12 14:30:18 voodoo /bsd: mainbus0 at root
Mar 12 14:30:18 voodoo /bsd: bios0 at mainbus0: AT/286+ BIOS, date 05/10/06, BIOS32 rev. 0 @ 0xfb020, SMBIOS rev. 2.3 @ 0xf0000 (36 entries)
Mar 12 14:30:18 voodoo /bsd: bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 05/10/2006
Mar 12 14:30:18 voodoo /bsd: bios0: MICRO-STAR INTERNATIONAL CO., LTD MS-7094
Mar 12 14:30:18 voodoo /bsd: apm0 at bios0: Power Management spec V1.2 (slowidle)
Mar 12 14:30:18 voodoo /bsd: apm0: AC on, battery charge unknown
Mar 12 14:30:18 voodoo /bsd: acpi at bios0 function 0x0 not configured
Mar 12 14:30:18 voodoo /bsd: pcibios0 at bios0: rev 2.1 @ 0xf0000/0xd5d4
Mar 12 14:30:18 voodoo /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd500/192 (10 entries)
Mar 12 14:30:18 voodoo /bsd: pcibios0: PCI Exclusive IRQs: 10 11 12
Mar 12 14:30:18 voodoo /bsd: pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
Mar 12 14:30:18 voodoo /bsd: pcibios0: PCI bus #1 is the last bus
Mar 12 14:30:18 voodoo /bsd: bios0: ROM list: 0xc0000/0x9800 0xcc000/0x8000! 0xd4000/0x1000 0xd5000/0x4c00!
Mar 12 14:30:18 voodoo /bsd: cpu0 at mainbus0
Mar 12 14:30:18 voodoo /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
Mar 12 14:30:18 voodoo /bsd: pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb1 at pci0 dev 0 function 1 "VIA K8HTB Host" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb2 at pci0 dev 0 function 2 "VIA K8HTB Host" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb3 at pci0 dev 0 function 3 "VIA K8HTB Host" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb4 at pci0 dev 0 function 4 "VIA K8HTB Host" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb5 at pci0 dev 0 function 7 "VIA K8HTB Host" rev 0x00
Mar 12 14:30:18 voodoo /bsd: ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pci1 at ppb0 bus 1
Mar 12 14:30:18 voodoo /bsd: vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15
Mar 12 14:30:18 voodoo /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Mar 12 14:30:18 voodoo /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Mar 12 14:30:18 voodoo /bsd: agp0 at vga1: v3, aperture at 0xf0000000, size 0x10000000
Mar 12 14:30:18 voodoo /bsd: drm at vga1 unsupported
Mar 12 14:30:18 voodoo /bsd: re0 at pci0 dev 13 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB (0x1000), irq 10, address 00:16:17:99:d3:a9
Mar 12 14:30:18 voodoo /bsd: rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
Mar 12 14:30:18 voodoo /bsd: pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
Mar 12 14:30:18 voodoo /bsd: pciide0: using irq 11 for native-PCI interrupt
Mar 12 14:30:18 voodoo /bsd: wd0 at pciide0 channel 0 drive 0: <SAMSUNG HD160JJ>
Mar 12 14:30:18 voodoo /bsd: wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
Mar 12 14:30:18 voodoo /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
Mar 12 14:30:18 voodoo /bsd: wd1 at pciide0 channel 1 drive 0: <SAMSUNG HD160JJ>
Mar 12 14:30:18 voodoo /bsd: wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
Mar 12 14:30:18 voodoo /bsd: wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
Mar 12 14:30:18 voodoo /bsd: pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1
configured to compatibility
Mar 12 14:30:18 voodoo /bsd: pciide1: channel 0 disabled (no drives)
Mar 12 14:30:18 voodoo /bsd: pciide1: channel 1 disabled (no drives)
Mar 12 14:30:18 voodoo /bsd: uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 10
Mar 12 14:30:18 voodoo /bsd: uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 10
Mar 12 14:30:18 voodoo /bsd: uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11
Mar 12 14:30:18 voodoo /bsd: uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 11
Mar 12 14:30:18 voodoo /bsd: ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 12
Mar 12 14:30:18 voodoo /bsd: usb0 at ehci0: USB revision 2.0
Mar 12 14:30:18 voodoo /bsd: uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
Mar 12 14:30:18 voodoo /bsd: viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
Mar 12 14:30:18 voodoo /bsd: iic0 at viapm0
Mar 12 14:30:18 voodoo /bsd: iic0: addr 0x2f 00=02 01=0f 02=00 03=01 04=07 05=00 06=18 07=00 08=00 14=14 15=62 16=02 17=05 words 00=02ff 01=0fff 02=
00ff 03=01ff 04=07ff 05=00ff 06=18ff 07=00ff
Mar 12 14:30:18 voodoo /bsd: spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
Mar 12 14:30:18 voodoo /bsd: pchb6 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb7 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
Mar 12 14:30:18 voodoo /bsd: pchb8 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
Mar 12 14:30:18 voodoo /bsd: kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
Mar 12 14:30:18 voodoo /bsd: usb1 at uhci0: USB revision 1.0
Mar 12 14:30:18 voodoo /bsd: uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
Mar 12 14:30:18 voodoo /bsd: usb2 at uhci1: USB revision 1.0
Mar 12 14:30:18 voodoo /bsd: uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
Mar 12 14:30:18 voodoo /bsd: usb3 at uhci2: USB revision 1.0
Mar 12 14:30:18 voodoo /bsd: uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
Mar 12 14:30:18 voodoo /bsd: usb4 at uhci3: USB revision 1.0
Mar 12 14:30:18 voodoo /bsd: uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
Mar 12 14:30:18 voodoo /bsd: isa0 at mainbus0
Mar 12 14:30:18 voodoo /bsd: isadma0 at isa0
Mar 12 14:30:18 voodoo /bsd: com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
Mar 12 14:30:18 voodoo /bsd: com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
Mar 12 14:30:18 voodoo /bsd: pckbc0 at isa0 port 0x60/5
Mar 12 14:30:18 voodoo /bsd: pckbd0 at pckbc0 (kbd slot)
Mar 12 14:30:18 voodoo /bsd: pckbc0: using irq 1 for kbd slot
Mar 12 14:30:18 voodoo /bsd: wskbd0 at pckbd0: console keyboard, using wsdisplay0
Mar 12 14:30:18 voodoo /bsd: pcppi0 at isa0 port 0x61
Mar 12 14:30:18 voodoo /bsd: midi0 at pcppi0: <PC speaker>
Mar 12 14:30:18 voodoo /bsd: spkr0 at pcppi0
Mar 12 14:30:18 voodoo /bsd: lpt0 at isa0 port 0x378/4 irq 7
Mar 12 14:30:18 voodoo /bsd: wbsio0 at isa0 port 0x2e/2: W83627THF rev 0x83
Mar 12 14:30:18 voodoo /bsd: lm1 at wbsio0 port 0x290/8: W83627THF
Mar 12 14:30:18 voodoo /bsd: npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
Mar 12 14:30:18 voodoo /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
Mar 12 14:30:18 voodoo /bsd: biomask ff65 netmask ff65 ttymask ffff
Mar 12 14:30:18 voodoo /bsd: mtrr: Pentium Pro MTRR support
Mar 12 14:30:18 voodoo /bsd: softraid0 at root
Mar 12 14:30:18 voodoo /bsd: root on wd1a swap on wd1b dump on wd1b
Mar 12 14:30:18 voodoo /bsd: WARNING: / was not properly unmounted
Mar 12 14:30:18 voodoo ntpd[1445]: could not parse "pool.ntp.org": non-recoverable failure in name resolution
Mar 12 14:30:18 voodoo savecore: no core dump
Mar 12 14:35:18 voodoo ntpd[16853]: 0 out of 1 peers valid
Mar 12 14:35:18 voodoo ntpd[16853]: bad peer from pool pool.ntp.org (not resolved)
Reply With Quote
  #5   (View Single Post)  
Old 12th March 2009
artix artix is offline
New User
 
Join Date: Mar 2009
Posts: 5
Default

How could I mount openbsd partition read-write? I would try to disable ntpd to see if it was the problem...
Reply With Quote
  #6   (View Single Post)  
Old 12th March 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I can't tell anything about the reason for your hanging system. All I can tell is that appears to have entered multiuser mode, as you have messages that would come from rc(8), and that your network is misconfigured.

As I stated, I would install and configure a complete working system in a virtual machine.

More detailed information can be found in /var/run/dmesg.boot. See dmesg(8).

Last edited by jggimi; 12th March 2009 at 03:41 PM.
Reply With Quote
  #7   (View Single Post)  
Old 12th March 2009
artix artix is offline
New User
 
Join Date: Mar 2009
Posts: 5
Default

I've managed to got the server installed remotely. I think there was a problem with yaifo script... It didn't created the gateway.
I changed it and it worked! A nice clean install of openbsd 4.4.

Thanks for your help.
Reply With Quote
  #8   (View Single Post)  
Old 13th March 2009
marc's Avatar
marc marc is offline
Port Guard
 
Join Date: Jul 2008
Location: Poland
Posts: 25
Default

I personally prefer to use USB drive with bsd.rd and packages from the CD set.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD on qemu: opera install problems Mr-Biscuit OpenBSD Packages and Ports 6 7th September 2009 03:29 AM
New User - Ports Install and GNOME Pkg problems IronForge OpenBSD Packages and Ports 9 14th July 2009 08:34 PM
Adding apps to an obscure OpenBSD based distro insomniadmx OpenBSD Packages and Ports 4 14th April 2009 12:10 PM
OBSD 4.3 Customize site43 & install.site problems gamaliel OpenBSD Installation and Upgrading 7 3rd June 2008 03:25 PM
Remote OpenBSD install via ssh. Dazhelpwiz Guides 0 23rd May 2008 12:07 AM


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick