Thanks for your help, See additional comments below.
-Darrian On Mon, May 12, 2008 at 12:21 PM, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Mon, May 12, 2008 at 11:47:48AM -0700, Darrian Hale wrote: > > > Hello, > > > > First of all I want to thank anyone in advance for any help i receive. I am > > having problems upgrading from OpenBSD 4.1 to 4.2. > > > > After putting the GENERIC 4.2 kernel in place, i get the following errors > > for all partitions during boot, > > followed by a panic: > > > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0: transfer error, downgrading to Ultra-DMA mode 4 > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 4 > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0: transfer error, downgrading to Ultra-DMA mode 3 > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 3 > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0: transfer error, downgrading to Ultra-DMA mode 2 > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4) > > > > I've searched the archives and found this similar problem: > > http://archives.neohapsis.com/archives/openbsd/2008-01/0165.html > > > > The response was version mismatch and user error due to > > upgrading/downgrading etc. > > > > I however have followed some very simple steps with no downgrading or other > > tweaking of any kind and have the same results. In addition I've tried to > > boot from the 4.2 ramdisk > > kernel and manually mount the partitions that were previously defined in 4.1 > > and I get the same error. > > > > Its very simple to replicate my issue. > > > > 1. Install obsd 4.1 > > 2. boot from the GENERIC 4.2 kernel. > > 3. system wont boot due to disks not mounting. > > An upgrade should work just fine, unless you have alreayd written your > partition table with a 4.2 kernel. The partition table was not already written with a 4.2 kernel. Just to be very sure, i did the following: 1. Formatted the disk using windows. 2. Booted from 4.1 install CD re-partitioned and installed 4.1. 3. After reboot, copied 4.2 kernels to /bsd and /bsd.rd 4. Reboot again, same error occurs. > > > I can do a clean install of 4.2 by wiping the partition table and starting > > over and the install works fine. > > > > Is there a way to convert the old 4.1 label without losing data? Any help > > would be greatly appreciated. > > Just edit your disklabel, using the 'm' command. Thanks, this worked. After booting from 4.2 ramdisk kernel, i ran disklabel -E wd0 I then modified the a partition and the default offset was a very large number, i changed this to 63 and kept the size the same. For the remainder of the partitions i just added the previous size and offset for the new offset. My real upgrade however needs to be remote, so I cannot boot the ramdisk kernel and perform these steps. For completeness, I did the following to make a remote upgrade work. 1. login to 4.1 system 2. copy 4.2 kernels and disklabel from 4.2 to system. 3. run 4.2 disklabel while still running 4.1 kernel and fix disklabel as described above. 4. reboot, it works and i can still remotely login to system which is now running a 4.2 kernel with 4.1 userland. ** unexpectedly at this point, I can now boot either the 4.1 kernel or 4.2 kernel with the same 4.1 userland. It seems that after modifying the disk label with the 4.2 version of disklabel, that the 4.1 version still reads it properly. ** 5. finish upgrade as described in openbsd upgrade FAQ. > > -Otto > > > > > I also want to note that this only seems to happen when using a SATA disk as > > the other poster mentioned. > > I can upgrade a system with a PATA disk just fine. > > > > dmesg from the ramdisk kernel is below. The last part of the dmesg with the > > 'id not found reading fsbn' > > error was after I ran 'mount /dev/wd0a /mnt2'. > > > > Thank you, > > Darrian > > > > -------------------- > > > > OpenBSD 4.2 (RAMDISK_CD) #468: Tue Aug 28 11:02:17 MDT 2007 > > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD > > cpu0: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz ("GenuineIntel" 686-class) 2.67 > > GHz > > cpu0: > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR > > real mem = 2144825344 (2045MB) > > avail mem = 2067951616 (1972MB) > > mainbus0 at root > > bios0 at mainbus0: AT/286+ BIOS, date 03/07/07, BIOS32 rev. 0 @ 0xf93f0, > > SMBIOS rev. 2.3 @ 0xf0000 (39 entries) > > bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 03/07/2007 > > bios0: Intel i965-ITE8712 > > apm0 at bios0: Power Management spec V1.2 > > apm0: flags 70102 dobusy 1 doidle 1 > > pcibios0 at bios0: rev 3.0 @ 0xf0000/0xb934 > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfb7d0/304 (17 entries) > > pcibios0: bad IRQ table checksum > > pcibios0: PCI BIOS has 20 Interrupt Routing table entries > > pcibios0: PCI Exclusive IRQs: 5 10 11 14 15 > > pcibios0: no compatible PCI ICU found > > pcibios0: Warning, unable to fix up PCI interrupt routing > > pcibios0: PCI bus #10 is the last bus > > bios0: ROM list: 0xc0000/0xb000! 0xef000/0x1000! > > cpu0 at mainbus0 > > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > > pchb0 at pci0 dev 0 function 0 "Intel 82Q963 Host" rev 0x02 > > ppb0 at pci0 dev 1 function 0 "Intel 82Q963 PCIE" rev 0x02 > > pci1 at ppb0 bus 1 > > ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09 > > pci2 at ppb1 bus 2 > > ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09 > > pci3 at ppb2 bus 3 > > vga1 at pci0 dev 2 function 0 "Intel 82Q963 Graphics" rev 0x02 > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > ppb3 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02 > > pci4 at ppb3 bus 4 > > em0 at pci4 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 14, > > address 00:10:f3:0f:12:28 > > ppb4 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02 > > pci5 at ppb4 bus 5 > > em1 at pci5 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 10, > > address 00:10:f3:0f:12:29 > > ppb5 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02 > > pci6 at ppb5 bus 6 > > em2 at pci6 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 11, > > address 00:10:f3:0f:12:2a > > ppb6 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02 > > pci7 at ppb6 bus 7 > > em3 at pci7 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 15, > > address 00:10:f3:0f:12:2b > > ppb7 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02 > > pci8 at ppb7 bus 8 > > em4 at pci8 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 14, > > address 00:10:f3:0f:12:2c > > ppb8 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x02 > > pci9 at ppb8 bus 9 > > em5 at pci9 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 10, > > address 00:10:f3:0f:12:2d > > uhci0 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 5 > > uhci1 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 15 > > ehci0 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: irq 5 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 > > ppb9 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xf2 > > pci10 at ppb9 bus 10 > > em6 at pci10 dev 14 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq > > 11, address 00:10:f3:0f:12:2e > > em7 at pci10 dev 15 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq > > 10, address 00:10:f3:0f:12:2f > > ichpcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02: PM disabled > > pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel > > 0 configured to native-PCI, channel 1 configured to native-PCI > > pciide0: using irq 15 for native-PCI interrupt > > "Intel 82801H SMBus" rev 0x02 at pci0 dev 31 function 3 not configured > > pciide1 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA, channel > > 0 wired to native-PCI, channel 1 wired to native-PCI > > pciide1: using irq 15 for native-PCI interrupt > > wd0 at pciide1 channel 1 drive 0: <WDC WD740GD-00FLC0> > > wd0: 16-sector PIO, LBA48, 70911MB, 145226112 sectors > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 > > usb1 at uhci0: USB revision 1.0 > > uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1 > > usb2 at uhci1: USB revision 1.0 > > uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1 > > isa0 at ichpcib0 > > 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 > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > biomask b3ed netmask ffed ttymask ffef > > rd0: fixed, 3800 blocks > > uhidev0 at uhub2 port 2 configuration 1 interface 0 > > uhidev0: Innovace Kensington USB Keyboard, rev 1.10/1.22, addr 2, iclass 3/1 > > ukbd0 at uhidev0 > > wskbd1 at ukbd0 mux 1 > > wskbd1: connecting to wsdisplay0 > > uhidev1 at uhub2 port 2 configuration 1 interface 1 > > uhidev1: Innovace Kensington USB Keyboard, rev 1.10/1.22, addr 2, iclass 3/0 > > uhidev1: 3 report ids > > uhid at uhidev1 reportid 2 not configured > > uhid at uhidev1 reportid 3 not configured > > dkcsum: wd0 matches BIOS drive 0x80 > > root on rd0a swap on rd0b dump on rd0b > > umass0 at uhub0 port 1 configuration 1 interface 0 > > umass0: vendor 0x13fe USB DISK 2.0, rev 2.00/1.10, addr 2 > > umass0: using SCSI over Bulk-Only > > scsibus0 at umass0: 2 targets > > sd0 at scsibus0 targ 1 lun 0: <, USB DISK 2.0, PMAP> SCSI0 0/direct > > removable > > sd0: 984MB, 125 cyl, 255 head, 63 sec, 512 bytes/sec, 2015232 sec total > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0: transfer error, downgrading to Ultra-DMA mode 4 > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 4 > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0: transfer error, downgrading to Ultra-DMA mode 3 > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 3 > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0: transfer error, downgrading to Ultra-DMA mode 2 > > wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4), retrying > > wd0a: id not found reading fsbn 128 of 128-143 (wd0 bn 8796093022399; cn > > 547531467 tn 80 sn 4)