Re: Backup/Restore -panic: cannot open disk..., error 6
It looks like the problem is with the 3.8 install. In my first message I mentioned that I was able to install 3.6 successfully of the CD. The image I am trying to restore is from a 3.8 system... so I just tried installing 3.8 from a CD and the installation failed with the message "No disks found" confirming that the 3.8 kernel does not automatically support the Perc 3/Di driver (Adaptec AIC-7899F). A little further reading seems to hint that Adaptec RAID controller support is non-existent in 3.8 ... is this correct? http://www.openbsd.org/lyrics.html#38 Dede On Jan 11, 2006, at 12:18 PM, Tom Cosgrove wrote: Well, that's easy then. Your destination machine has no sd0 device, so the kernel can't find its root filesystem. Have you plugged the disk into the "Dell PERC 3/Di" which is "not configured" (i.e. no driver)? Good luck Tom Dede Dascalu 11-Jan-06 16:44 >>> 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,PSE 36, 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 @ 0xf/0x1 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: 0xc/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: 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: 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
Re: Backup/Restore -panic: cannot open disk..., error 6
om0: 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,1fff) at dk_mountroot+0x177 vfs_mountroot(1fff,a48007ff,d05e,0,0) at vfs_mountroot+0x51 main(0,0,0,0,0) at main+0x43b ddb> ps PID PPID PGRPUID S FLAGS WAIT COMMAND 5 0 0 0 30x100204 pftm pfpurge 4 0 0 0 30x100204 usbtsk usbtask 3 0 0 0 30x100204 usbevt usb0 2 0 0 0 30x100204 kmallockmthread 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: #: idC H S -C H S [ start: size ] 0: 000 0 0 -0 0 0 [ 0: 0 ] unused 1: 000 0 0 -0 0 0 [ 0: 0 ] unused 2: 000 0 0 -0 0 0 [ 0: 0 ] unused *3: A60 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: # sizeoffset fstype [fsize bsize cpg] a:30144963 4.2BSD 2048 16384 208 # Cyl 0*- 203 b:614848301512swap # 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: 20551590916360 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... >...
Backup/Restore -panic: cannot open disk..., error 6
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... > fdisk sd0 Disk: sd0 geometry: 4427/255/63 [71119755 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] 0: 000 0 0 -0 0 0 [ 0: 0 ] unused 1: 000 0 0 -0 0 0 [ 0: 0 ] unused 2: 000 0 0 -0 0 0 [ 0: 0 ] unused *3: A60 1 1 - 4426 254 63 [ 63:71119692 ] OpenBSD >disklabel sd0 # /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 offsetfstype [fsize bsize cpg] a: 301449 634.2BSD 2048 16384 208 # (Cyl. 0*- 203) b: 614848 301512 swap # (Cyl. 204 - 619) c: 711329590unused0 0 # (Cyl.0 - 48127*) d: 239436 9163604.2BSD 2048 16384 176 # (Cyl. 620 - 781) e: 4194564 11557964.2BSD 2048 16384 416 # (Cyl. 782 - 3619) f: 4194564 53503604.2BSD 2048 16384 416 # (Cyl. 3620 - 6457) g: 20551590 95449244.2BSD 2048 16384 416 # (Cyl. 6458 - 20362) Made the disk bootable wrote the MBR using the /usr/mdec utilities - went fine When rebooting into single user mode to restore the rest of the partitions I get to the ddb> with the following error: ... 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 ... I am unable to post capture more details at the moment but I will if they are needed I tried a couple of things: 1. New installation from CD 3.6 (just checking to see if this is a hardware problem) - works fine 2. Used the install script to partition and label the disk (in case I messed something up) - still same problem and after the recover procedure. 3. Tried using the boot file from the image without writing the new MBR - did not get to stage 1 as expected. I seem to be missing something in the process; help is appreciated. Thanks. Dede