Fresh installation from 3.2 OpenBSD CD to an empty and never used 80GB HD.
No other OS has touch it. I'm using this machine as a firewall/gateway to the
internet via ppp. I've installed a few ports dealing with internet apps.
There is only the one HD in this machine.
As far as I remember when using fdisk in the installation everything went
fine. I said 'no' to using the entire HD. I made only one partition 0. I
have done nothing to the BIOS ( I noted that the BIOS upon start says that the
HD is 65535MB).
Problem: fdisk output is incorrect.
% fdisk wd0
Disk: wd0 geometry: 9729/255/63 [156296385 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: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
The computer is bootable (4+ times) without any problems. I have
noticed no problems whatsoever with the machine.
% disklabel wd0c
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: WDC WD800JB-00C
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 156301488
rpm: 3600
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: 204624 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 202)
b: 1048320 204624 swap # (Cyl. 203 - 1242)
c: 156301488 0 unused 0 0 # (Cyl. 0 - 155060)
d: 102816 1252944 4.2BSD 1024 8192 16 # (Cyl. 1243 - 1344)
e: 2097648 1355760 4.2BSD 1024 8192 16 # (Cyl. 1345 - 3425)
f: 740896 3453408 4.2BSD 1024 8192 16 # (Cyl. 3426 - 4161*)
% dmesg
OpenBSD 3.2 (GENERIC) #25: Thu Oct 3 19:51:53 MDT 2002
***@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K6 ("AuthenticAMD" 586-class) 200 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem = 66629632 (65068K)
avail mem = 56250368 (54932K)
using 838 buffers containing 3432448 bytes (3352K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/15/95, BIOS32 rev. 0 @ 0xfdb80
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI BIOS has 5 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev
0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82439TX System" rev 0x01
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD800JB-00CRA1>
wd0: 16-sector PIO, LBA, 76319MB, 16383 cyl, 16 head, 63 sec, 156301488
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-ROM CDU76E-S, 1.0c> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 3
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x01 at pci0 dev 7 function 3 not configured
rl0 at pci0 dev 18 function 0 "Realtek 8139" rev 0x10: irq 9 address
00:50:ba:43:f5:8e
rlphy0 at rl0 phy 0: RTL internal phy
vga1 at pci0 dev 20 function 0 "3DFX Interactive Banshee" rev 0x03
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
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
pccom1 at isa0 port 0x2f8/8 irq 3: 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
isapnp0 at isa0 port 0x279: read port 0x203
pccom3 at isapnp0 "SupraExpress 56i Voice V.90, SUP2490, SUP2040, " port
0x3e8/8 irq 4: ns16550a, 16 byte fifo
biomask c840 netmask ca40 ttymask cac2
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
I booted an old DOS floppy I had laying around. The fdisk reported :
"Total disk 8032 Mbytes
No paritions defined."
Output when I booted the OpenBSD floppy disk: (fdisk wd0)
% cat fdisk.wd0
Disk: wd0 geometry: 9729/255/63 [156296385 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: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
The binary files were ftped last Oct. from the 3.2 tree (The files were
burned on Oct 5). I have not upgraded/patched the system.
Kurt
---
There is no good and evil; there is only power.