On Sat, Mar 26, 2011 at 11:59:17PM +0530, Amarendra Godbole wrote:
> Okay, seems like I sent a hasty reply earlier.
> 
> Got this fixed, by booting off a 4.8 CD, and "upgrading" - fsck all
> filesystems, say no to bsd, bsd.mp and base, it created device nodes,
> and congratulated me for completion of the upgrade. Rebooted, and the
> system came up nicely.

And now has 4.8 or 4.9 installed?

> 
> Noticed two things:
> (a) the * after hd0+ is gone during boot>

The '*' reports a failure to find an OpenBSD disklabel.
The '+' reports the BIOS claiming support of EDD, a.k.a. BIOS LBA, access.

> (b) the disklabel now shows proper values for "boundstart" and
> "boundend" - earlier both were 0.

Because earlier the OpenBSD partition was not found, and thus unable to
provide the bound information.

> 
> Thanks to all those who replied. Now I am off to reading more about
> boot, and friends (though I am not sure if things are well at this
> point!).
> 
> -Amarendra
> 
> On Sat, Mar 26, 2011 at 7:01 PM, Kenneth R Westerback
> <kwesterb...@rogers.com> wrote:
> > On Sat, Mar 26, 2011 at 05:26:06PM +0530, Amarendra Godbole wrote:
> >> Hi,
> >>
> >> I have run into a deadend trying to understand, and troubleshoot this
> >> problem. Hence, I would like some pointers. Following is what I did to
> >> get my OpenBSD system running, and then subsequently messing it up (in
> >> sequence):
> >>
> >> (1) Installed OpenBSD/i386 on my Thinkpad X201, and built -current.
> >> Did reserve ~140G for Windows, and then installed OpenBSD as described
> >
> > ? ? ? ? ? ? ? ^^^^ OpenBSD will reliably boot only if located <128GB. A
> > ? ? ? ? ? ? ? recent change has made this explicit until a more reliable
> > ? ? ? ? ? ? ? way of booting from >128GB can be found.
> >
> >> in FAQ. Things were fine for a couple of months.
> >>
> >> (2) Installed Windows XP ghost image to the first partition. Sadly,
> >> ntldr was not installed so machine still booted directly into OpenBSD
> >>
> >> (3) Installed grub. Here is what /grub/menu.lst looks like:
> >> default 0 timeout 5
> >> title Windows XP
> >> root (hd0,0)
> >> chainloader +1
> >>
> >> title OpenBSD
> >> root (hd0,1)
> >> chainloader +1
> >>
> >> (4) grub started fine, and Windows XP boots fine, but when I try to
> >> boot OpenBSD, I get something like this:
> >> Loading...
> >> probing: <<additional details>>
> >> disk: fd0 hd0+*
> >> >> OpenBSD/i386 BOOT 2.13
> >> open(hd0a:/etc/boot.conf): Invalid argument
> >> boot>
> >> booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
> >> ?failed(22). will try ...
> >>
> >> And OpenBSD never boots. I don't recall changing anything else. From
> >> what I know (very little), biosboot was able to load the 2nd stage
> >> bootloader, but it now failed loading the kernel image.
> >>
> >> I can boot successfully into OpenBSD using a 4.8 boot CD though. I
> >> tried running installboot again (mindlessly!), and get this error:
> >> --------------------------
> >> OpenBSD_49$ sudo /usr/mdec/installboot -n -v /boot /usr/mdec/biosboot sd0
> >> Password:
> >> boot: /boot proto: /usr/mdec/biosboot device: /dev/rsd0c
> >> /boot is 3 blocks x 16384 bytes
> >> fs block shift 2; part offset 293603940; inode block 32, offset 10792
> >> master boot record (MBR) at sector 0
> >> ? ? ? ? partition 0: type 0x07 offset 63 size 293603877
> >> ? ? ? ? partition 1: type 0xA6 offset 293603940 size 377487360
> >> installboot: invalid location: all of /boot must be < sector 268435455.
> >
> > And here is the error now being generated. If you have a BIOS/Hardware
> > combo that can actually boot from >128GB, you can recompile installboot
> > and friends after changing the value of BIOSBOOT_MAXSEC in 
> > sys/sys/disklabel.h.
> >
> > If you have any knowledge on how to reliably detect that the BIOS/Hardware
> > will correctly support EDD access beyond 128GB, we are very interested.
> >
> > .... Ken
> >
> >> --------------------------
> >>
> >> disklabel reads:
> >> --------------------------
> >> OpenBSD_49$ disklabel sd0
> >> # /dev/rsd0c:
> >> type: SCSI
> >> disk: SCSI disk
> >> label: ST9320423AS
> >> duid: 93cf9b951f02f209
> >> flags:
> >> bytes/sector: 512
> >> sectors/track: 63
> >> tracks/cylinder: 255
> >> sectors/cylinder: 16065
> >> cylinders: 38913
> >> total sectors: 625142448
> >> boundstart: 0
> >> boundend: 0
> >> drivedata: 0
> >>
> >> 16 partitions:
> >> # ? ? ? ? ? ? ? ?size ? ? ? ? ? offset ?fstype [fsize bsize ?cpg]
> >> ? a: ? ? ? ? ?2104508 ? ? ? ?293603940 ?4.2BSD ? 2048 16384 ? ?1 # /
> >> ? b: ? ? ? ? ?8385937 ? ? ? ?295708448 ? ?swap
> >> ? c: ? ? ? ?625142448 ? ? ? ? ? ? ? ?0 ?unused
> >> ? d: ? ? ? ? 41945696 ? ? ? ?304094400 ?4.2BSD ? 2048 16384 ? ?1 # /usr
> >> ? e: ? ? ? ? ?4192960 ? ? ? ?346040096 ?4.2BSD ? 2048 16384 ? ?1 # /tmp
> >> ? f: ? ? ? ? 20964832 ? ? ? ?350233056 ?4.2BSD ? 2048 16384 ? ?1 # 
> >> /usr/local
> >> ? g: ? ? ? ? ?4192960 ? ? ? ?371197888 ?4.2BSD ? 2048 16384 ? ?1 # 
> >> /usr/X11R6
> >> ? h: ? ? ? ?125821056 ? ? ? ?375390848 ?4.2BSD ? 2048 16384 ? ?1 # /home
> >> ? j: ? ? ? ? ?8385952 ? ? ? ?501211904 ?4.2BSD ? 2048 16384 ? ?1 # /var
> >> ? k: ? ? ? ? ?8385920 ? ? ? ?509597856 ?4.2BSD ? 2048 16384 ? ?1 # /usr/src
> >> ? l: ? ? ? ? 12578912 ? ? ? ?517983776 ?4.2BSD ? 2048 16384 ? ?1 # /usr/obj
> >> OpenBSD_49$
> >> --------------------------
> >>
> >> dmesg is
> >> -------------------------
> >> OpenBSD 4.9-current (kernel) #5: Wed Mar 23 23:58:17 IST 2011
> >> ? ? r...@zimbu.vxindia.veritas.com:/home/amar/site-specific/builds/kernel
> >> cpu0: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz ("GenuineIntel"
> >> 686-class) 2.40 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
> >> ,AES
> >> real mem ?= 1998659584 (1906MB)
> >> avail mem = 1955794944 (1865MB)
> >> mainbus0 at root
> >> bios0 at mainbus0: AT/286+ BIOS, date 10/26/10, BIOS32 rev. 0 @
> >> 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
> >> bios0: vendor LENOVO version "6QET61WW (1.31 )" date 10/26/2010
> >> bios0: LENOVO 3680LA2
> >> acpi0 at bios0: rev 2
> >> acpi0: sleep states S0 S3 S4 S5
> >> acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT
> >> TCPA SSDT SSDT SSDT
> >> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4)
> >> EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4)
> >> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> >> acpiec0 at acpi0
> >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> >> cpu0 at mainbus0: apid 0 (boot processor)
> >> cpu0: apic clock running at 132MHz
> >> cpu1 at mainbus0: apid 1 (application processor)
> >> cpu1: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz ("GenuineIntel"
> >> 686-class) 2.40 GHz
> >> cpu1: 
> >> 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
> >> ,AES
> >> cpu2 at mainbus0: apid 4 (application processor)
> >> cpu2: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz ("GenuineIntel"
> >> 686-class) 2.40 GHz
> >> cpu2: 
> >> 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
> >> ,AES
> >> cpu3 at mainbus0: apid 5 (application processor)
> >> cpu3: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz ("GenuineIntel"
> >> 686-class) 2.40 GHz
> >> cpu3: 
> >> 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
> >> ,AES
> >> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> >> ioapic0: misconfigured as apic 2, remapped to apid 1
> >> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> >> acpihpet0 at acpi0: 14318179 Hz
> >> acpiprt0 at acpi0: bus 0 (PCI0)
> >> acpiprt1 at acpi0: bus -1 (PEG_)
> >> acpiprt2 at acpi0: bus 13 (EXP1)
> >> acpiprt3 at acpi0: bus -1 (EXP2)
> >> acpiprt4 at acpi0: bus -1 (EXP3)
> >> acpiprt5 at acpi0: bus 5 (EXP4)
> >> acpiprt6 at acpi0: bus 2 (EXP5)
> >> acpicpu0 at acpi0: C3, C1, PSS
> >> acpicpu1 at acpi0: C3, C1, PSS
> >> acpicpu2 at acpi0: C3, C1, PSS
> >> acpicpu3 at acpi0: C3, C1, PSS
> >> acpipwrres0 at acpi0: PUBS
> >> acpitz0 at acpi0: critical temperature 100 degC
> >> acpibtn0 at acpi0: LID_
> >> acpibtn1 at acpi0: SLPB
> >> acpibat0 at acpi0: BAT0 model "42T4835" serial ? 120 type LION oem "SANYO"
> >> acpibat1 at acpi0: BAT1 not present
> >> acpiac0 at acpi0: AC unit offline
> >> acpithinkpad0 at acpi0
> >> acpidock0 at acpi0: GDCK not docked (0)
> >> bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000
> >> 0xdd000/0x3000! 0xe0000/0x10000
> >> cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2400, 2399, 2266, 2133,
> >> 1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz
> >> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> >> pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02
> >> vga1 at pci0 dev 2 function 0 "Intel Mobile HD graphics" rev 0x02
> >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> >> intagp0 at vga1
> >> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> >> inteldrm0 at vga1: apic 1 int 16 (irq 11)
> >> drm0 at inteldrm0
> >> "Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
> >> "Intel 3400 KT" rev 0x06 at pci0 dev 22 function 3 not configured
> >> em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x06: apic 1 int 20
> >> (irq 11), address f0:de:f1:37:cc:84
> >> ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 1 int
> >> 23 (irq 11)
> >> usb0 at ehci0: USB revision 2.0
> >> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> >> azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: apic
> >> 1 int 17 (irq 11)
> >> azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
> >> audio0 at azalia0
> >> ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: apic 1 int
> >> 20 (irq 11)
> >> pci1 at ppb0 bus 13
> >> ppb1 at pci0 dev 28 function 3 "Intel 3400 PCIE" rev 0x06: apic 1 int
> >> 23 (irq 11)
> >> pci2 at ppb1 bus 5
> >> ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: apic 1 int
> >> 20 (irq 11)
> >> pci3 at ppb2 bus 2
> >> iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev
> >> 0x35: apic 1 int 16 (irq 11), MIMO 2T2R, MoW, address
> >> 58:94:6b:91:87:38
> >> ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 1 int
> >> 19 (irq 11)
> >> usb1 at ehci1: USB revision 2.0
> >> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> >> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6
> >> pci4 at ppb3 bus 14
> >> pcib0 at pci0 dev 31 function 0 "Intel QM57 LPC" rev 0x06
> >> ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: apic 1 int
> >> 16 (irq 11), AHCI 1.3
> >> scsibus0 at ahci0: 32 targets
> >> sd0 at scsibus0 targ 0 lun 0: <ATA, ST9320423AS, 0003> SCSI3 0/direct fixed
> >> sd0: 305245MB, 512 bytes/sec, 625142448 sec total
> >> ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 1
> >> int 23 (irq 11)
> >> iic0 at ichiic0
> >> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> >> itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x06
> >> 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
> >> pms0 at pckbc0 (aux slot)
> >> pckbc0: using irq 12 for aux slot
> >> wsmouse0 at pms0 mux 0
> >> pcppi0 at isa0 port 0x61
> >> spkr0 at pcppi0
> >> aps0 at isa0 port 0x1600/31
> >> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> >> mtrr: Pentium Pro MTRR support
> >> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> >> umass0 at uhub2 port 2 configuration 1 interface 0 "Lenovo
> >> USB_MultiBurner3" rev 2.00/2.40 addr 3
> >> umass0: using SCSI over Bulk-Only
> >> scsibus1 at umass0: 2 targets, initiator 0
> >> cd0 at scsibus1 targ 1 lun 0: <LENOVO, USB_MultiBurner3, NL31> SCSI0
> >> 5/cdrom removable
> >> ugen0 at uhub2 port 3 "UPEK Biometric Coprocessor" rev 1.01/0.02 addr 4
> >> ugen1 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev
> >> 2.00/3.60 addr 5
> >> uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony
> >> Electronics Co., Ltd. Integrated Camera" rev 2.00/23.45 addr 6
> >> video0 at uvideo0
> >> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> >> vscsi0 at root
> >> scsibus2 at vscsi0: 256 targets
> >> softraid0 at root
> >> root on sd0a swap on sd0b dump on sd0b
> >> cd0 detached
> >> scsibus1 detached
> >> umass0 detached
> >> --------------------------
> >>
> >> Appreciate pointers/help to fix this problem. Thanks.
> >>
> >> -Amarendra

Reply via email to