Here is some more info.
--------------------------------------
dmesg on SOURCE machine
--------------------------------------
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 2.40GHz ("GenuineIntel" 686-class) 2.39 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem = 536289280 (523720K)
avail mem = 482439168 (471132K)
using 4278 buffers containing 26918912 bytes (26288K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/02/03, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc4a0/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks CSB5
SouthBridge" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x4000
0xcd000/0x1800 0xec000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20-HE" rev 0x33
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20-HE" rev 0x00
pci1 at pchb1 bus 1
em0 at pci1 dev 4 function 0 "Intel PRO/1000MT (82546EB)" rev 0x01:
irq 7, address: 00:04:23:a9:85:50
em1 at pci1 dev 4 function 1 "Intel PRO/1000MT (82546EB)" rev 0x01:
irq 5, address: 00:04:23:a9:85:51
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20-HE" rev 0x00
pci2 at pchb2 bus 3
ppb0 at pci2 dev 6 function 0 "IBM PCIX-PCIX" rev 0x02
pci3 at ppb0 bus 4
em2 at pci3 dev 4 function 0 "Intel PRO/1000MT QP (82546EB)" rev
0x01: irq 7, address: 00:04:23:bc:4d:a0
em3 at pci3 dev 4 function 1 "Intel PRO/1000MT QP (82546EB)" rev
0x01: irq 5, address: 00:04:23:bc:4d:a1
em4 at pci3 dev 6 function 0 "Intel PRO/1000MT QP (82546EB)" rev
0x01: irq 7, address: 00:04:23:bc:4d:a2
em5 at pci3 dev 6 function 1 "Intel PRO/1000MT QP (82546EB)" rev
0x01: irq 5, address: 00:04:23:bc:4d:a3
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb3 at pci0 dev 15 function 0 "ServerWorks CSB5 SouthBridge" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, K.9A> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05:
irq 11, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 PCI" rev 0x00
pchb4 at pci0 dev 16 function 0 "ServerWorks CIOB-E" rev 0x12
pchb5 at pci0 dev 16 function 2 "ServerWorks CIOB-E" rev 0x12
pci4 at pchb5 bus 2
bge0 at pci4 dev 0 function 0 "Broadcom BCM5704C" rev 0x02, BCM5704
A2 (0x2002): irq 7 address 00:0d:56:fd:73:a0
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci4 dev 0 function 1 "Broadcom BCM5704C" rev 0x02, BCM5704
A2 (0x2002): irq 5 address 00:0d:56:fd:73:a1
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
pchb6 at pci0 dev 17 function 0 "ServerWorks CIOBX2" rev 0x05
pchb7 at pci0 dev 17 function 2 "ServerWorks CIOBX2" rev 0x05
pci5 at pchb7 bus 5
mpt0 at pci5 dev 5 function 0 "Symbios Logic 53c1030" rev 0x07: irq 7
mpt0: sending FW Upload request to IOC (size: 36, img size: 33280)
mpt0: IM support: 0
scsibus1 at mpt0: 16 targets
sd0 at scsibus1 targ 0 lun 0: <FUJITSU, MAP3367NC, 5608> SCSI3 0/
direct fixed
sd0: 34732MB, 48122 cyl, 2 head, 739 sec, 512 bytes/sec, 71132959 sec
total
safte0 at scsibus1 targ 6 lun 0: <PE/PV, 1x3 SCSI BP, 1.1> SCSI2 3/
processor fixed
mpt0: target 0 Synchronous at 160MHz width 16bit offset 127 QAS 1 DT
1 IU 1
mpt1 at pci5 dev 5 function 1 "Symbios Logic 53c1030" rev 0x07: irq 5
mpt1: sending FW Upload request to IOC (size: 36, img size: 33280)
mpt1: IM support: 0
scsibus2 at mpt1: 16 targets
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask efed netmask efed ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
WARNING: / was not properly unmounted
umass0 at uhub0 port 3 configuration 1 interface 0
umass0: SanDisk Corporation Cruzer Titanium, rev 2.00/20.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets
sd1 at scsibus3 targ 1 lun 0: <SanDisk, Cruzer Titanium, 2000> SCSI0
0/direct removable
sd1: 495MB, 495 cyl, 64 head, 32 sec, 512 bytes/sec, 1014784 sec total
umass0: at uhub0 port 3 (addr 2) disconnected
sd1 detached
scsibus3 detached
umass0 detached
umass0 at uhub0 port 3 configuration 1 interface 0
umass0: SanDisk Corporation Cruzer Titanium, rev 2.00/20.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets
sd1 at scsibus3 targ 1 lun 0: <SanDisk, Cruzer Titanium, 2000> SCSI0
0/direct removable
sd1: 495MB, 495 cyl, 64 head, 32 sec, 512 bytes/sec, 1014784 sec total
------------------------------------------------------------------------
---
dmesg+trace+ps until ddb is reached on DESTINATION machine
------------------------------------------------------------------------
---
[ using 476508 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved. http://
www.OpenBSD.org
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 993 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MM
X,FXSR,SSE
real mem = 536391680 (523820K)
avail mem = 482537472 (471228K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 03/26/03, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc230/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks ROSB4
SouthBridge" rev
0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000! 0xcc000/0x800
0xec000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
ppb0 at pci1 dev 2 function 0 "Intel i960 RM PCI-PCI" rev 0x01
pci2 at ppb0 bus 2
"Adaptec AIC-7899F" rev 0x01 at pci2 dev 4 function 0 not configured
ahc1 at pci2 dev 4 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 10
scsibus0 at ahc1: 16 targets
"Dell PERC 3/Di" rev 0x01 at pci1 dev 2 function 1 not configured
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks I/O Bridge" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks I/O Bridge" rev 0x01
pci3 at pchb3 bus 3
ahc2 at pci3 dev 6 function 0 "Adaptec AHA-3960D U160" rev 0x01:
scsibus1 at ahc2: 16 targets
ahc3 at pci3 dev 6 function 1 "Adaptec AHA-3960D U160" rev 0x01: irq 10
scsibus2 at ahc3: 16 targets
st0 at scsibus2 targ 6 lun 0: <ARCHIVE, Python 06408-XXX, 9050> SCSI3
1/sequenti
al removable
st0: drive empty or not ready
ahc4 at pci3 dev 8 function 0 "Adaptec AHA-3960D U160" rev 0x01: irq 11
scsibus3 at ahc4: 16 targets
ahc5 at pci3 dev 8 function 1 "Adaptec AHA-3960D U160" rev 0x01: irq 10
scsibus4 at ahc5: 16 targets
fxp0 at pci0 dev 4 function 0 "Intel 82557" rev 0x08, i82559:
:06:5b:8c:1e:ed
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
xl0 at pci0 dev 8 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq
10, address
00:04:75:8d:eb:46
exphy0 at xl0 phy 24: 3Com internal media interface
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0 "ServerWorks ROSB4 SouthBridge" rev 0x50
pciide0 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x
atapiscsi0 at pciide0 channel 0 drive 0
scsibus5 at atapiscsi0: 2 targets
cd0 at scsibus5 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> SCSI0 5/
cdrom remov
able
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x04:
irq 5, ver
sion 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
panic: cannot open disk, 0x400/0xd00, error 6
Stopped at Debugger+0x4: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d,d02,2,23c,d02) at Debugger+0x4
panic(d04f60e0,400,d00,6,d06f1d8c) at panic+0x63
dk_mountroot(0,0,d06f1fa0,d0208d77,1fff0000) at dk_mountroot+0x177
vfs_mountroot(1fff0000,a48007ff,d05e,0,0) at vfs_mountroot+0x51
main(0,0,0,0,0) at main+0x43b
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
5 0 0 0 3 0x100204 pftm pfpurge
4 0 0 0 3 0x100204 usbtsk usbtask
3 0 0 0 3 0x100204 usbevt usb0
2 0 0 0 3 0x100204 kmalloc kmthread
1 0 0 0 3 0x4 initexec swapper
* 0 -1 0 0 7 0x80204 swapper
-------------------------------------
fdisk on SOURCE machine
-------------------------------------
Disk: sd0 geometry: 4427/255/63 [71119755 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 1 - 4426 254 63 [ 63: 71119692 ] OpenBSD
--------------------------------------------
fdisk on DESTINATION machine
--------------------------------------------
... strangely identical to SOURCE machine ...hmmm
-------------------------------------
disklabel on SOURCE machine
-------------------------------------
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: MAP3367NC
flags:
bytes/sector: 512
sectors/track: 739
tracks/cylinder: 2
sectors/cylinder: 1478
cylinders: 48122
total sectors: 71132959
rpm: 10025
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 301449 63 4.2BSD 2048 16384 208 # Cyl
0*- 203
b: 614848 301512 swap # Cyl
204 - 619
c: 71132959 0 unused 0 0 # Cyl
0 - 48127*
d: 239436 21467950 4.2BSD 2048 16384 176 # Cyl
14525 - 14686
e: 4194564 25901950 4.2BSD 2048 16384 416 # Cyl
17525 - 20362
f: 4194564 21707386 4.2BSD 2048 16384 416 # Cyl
14687 - 17524
g: 20551590 916360 4.2BSD 2048 16384 416 # Cyl
620 - 14524
--------------------------------------------
disklabel on DESTINATION machine
--------------------------------------------
... strangely identical to SOURCE machine ...hmmm
I am going from a source machine with one scsi drive to a destination
machine with a raid5 on 3 disks. Should fdisk report different
information about the disk sizes? i seem to be missing something...
thanks.
On Jan 10, 2006, at 3:08 PM, Dede Dascalu wrote:
Hi,
I have been trying to follow the backup/restore procedures for
recovering the an OpenBSD installation to a different machine an
ran into some problems.
Used http://www.openbsd.org/faq/faq14.html#Backup to create a
backup using dump of my partitions - went fine
Went through the restore procedures on the second machine used the
entire disk for the installation and created the disklabels. See
below...
>...