On Wed, Jul 01, 2009 at 11:03:20AM +0600, Sergey Yudin wrote:
> Please can someone tell why disk geometry changed after install
>
> in installation time on empty sd0:
>
> Disk: sd0 geometry: 78753/2/911 [143638992 Sectors]
> Offset: 0 Signature: 0x0
> 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: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
This is a garbage MBR. Look at the signature and the crazy geometry.
-Otto
>
> after install geometry shown as:
>
> Disk: sd0 geometry: 8941/255/63 [143638992 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 14 30 - 8931 181 48 [ 911: 143487055 ] OpenBSD
>
> thanks a lot
>
>
>
>
> OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 350 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
> real mem = 268005376 (255MB)
> avail mem = 250855424 (239MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/30/98, BIOS32 rev. 0 @ 0xfd760
> mpbios0 at bios0: Intel MP Specification 1.4
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 99MHz
> mpbios0: bus 0 is type PCI mpbios0: bus 1 is type PCI mpbios0: bus 2 is
> type PCI mpbios0: bus 3 is type ISA ioapic0 at mainbus0: apid 1 pa
> 0xfec00000, version 11, 24 pins
> pcibios0 at bios0: rev 2.1 @ 0xfd760/0x8a0
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/240 (13 entries)
> pcibios0: PCI Interrupt Router at 000:02:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #2 is the last bus
> WARNING: can't reserve area for I/O APIC.
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x5000 0xcd000/0x800
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x02
> intelagp0 at pchb0
> agp0 at intelagp0: aperture at 0x10000000, size 0x4000000
> ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x02
> pci1 at ppb0 bus 1
> piixpcib0 at pci0 dev 2 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
> pciide0 at pci0 dev 2 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> pciide0: channel 0 ignored (disabled)
> pciide0: channel 1 ignored (disabled)
> uhci0 at pci0 dev 2 function 2 "Intel 82371AB USB" rev 0x01: apic 1 int
> 19 (irq 11)
> piixpm0 at pci0 dev 2 function 3 "Intel 82371AB Power" rev 0x02: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x50: 128MB SDRAM ECC PC100CL3
> spdmem1 at iic0 addr 0x51: 128MB SDRAM ECC PC100CL3
> fxp0 at pci0 dev 3 function 0 "Intel 8255x" rev 0x05, i82558: apic 1 int
> 16 (irq 9), address 00:c0:0d:00:94:4f
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
> vga1 at pci0 dev 4 function 0 "Cirrus Logic CL-GD5430" rev 0x22
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ppb1 at pci0 dev 5 function 0 "DEC 21150 PCI-PCI" rev 0x04
> pci_intr_map: bus 0 dev 5 func 0 pin 1; line 9
> pci_intr_map: no MP mapping found
> pci_intr_map: bus 0 dev 5 func 0 pin 2; line 10
> pci_intr_map: no MP mapping found
> pci_intr_map: bus 0 dev 5 func 0 pin 3; line 9
> pci_intr_map: no MP mapping found
> pci_intr_map: bus 0 dev 5 func 0 pin 4; line 11
> pci_intr_map: no MP mapping found
> pci2 at ppb1 bus 2
> ahc0 at pci2 dev 1 function 0 "Adaptec AIC-7890/1 U2" rev 0x00: apic 1
> int 17 (irq 10)
> scsibus0 at ahc0: 16 targets, initiator 7
> sd0 at scsibus0 targ 0 lun 0: <FUJITSU, MAW3073NC, 0104> SCSI3 0/direct
> fixed
> sd0: 70136MB, 512 bytes/sec, 143638992 sec total
> ahc1 at pci2 dev 9 function 0 "Adaptec AIC-7890/1 U2" rev 0x00: apic 1
> int 17 (irq 10)
> scsibus1 at ahc1: 16 targets, initiator 7
> cd0 at scsibus1 targ 5 lun 0: <PLEXTOR, CD-ROM PX-32TS, 1.03> SCSI2
> 5/cdrom removable
> eap0 at pci0 dev 20 function 0 "Ensoniq AudioPCI97" rev 0x06: apic 1 int
> 16 (irq 9)
> ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
> ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
> audio0 at eap0
> midi0 at eap0: <AudioPCI MIDI UART>
> isa0 at piixpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> 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
> pcppi0 at isa0 port 0x61
> midi1 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> ahc0: target 0 using 16bit transfers
> ahc0: target 0 synchronous at 40.0MHz, offset = 0x7f
> root on sd0a swap on sd0b dump on sd0b