OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
MBR Support for EDD Reads (> 8 GB)

From: Sigfred Håversen (bsdlistmumak.com)
Date: Thu Jan 01 2004 - 16:09:45 CST


Over at deadly.org, there is an article telling that there is initial support
for booting with OpenBSD installed over 8GB, if one is using snapshots.
This is very nice news.

I installed a snapshot (i386, 31 december 2003) on a primary partition
above 8GB, and got a 'Bad magic'. I'm not sure if a bug report should
be filed or not, so I'll post here.

Upon booting I get the following on the console :

Using drive 0, parition 1.
reading partition....
Bad magic

According to http://www.arches-consulting.com/OpenBSD/i386.html, this
shows that the new MBR is installed, and that the bootloader tries to
read blocks by LBA.

The motherboard is an M7NCD Pro ver 1.1 from Biostar, featuring nForce2
Ultra 400/MCP chipset.

The dmesg from the PC :

cpu0: AMD Athlon(tm) XP 2100+ ("AuthenticAMD" 686-class) 1.74 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 536395776 (523824K)
avail mem = 492281856 (480744K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(4e) BIOS, date 10/07/03, BIOS32 rev. 0 0xfb4a0
apm0 at bios0: Power Management spec V1.2
pcibios0 at bios0: rev. 2.1 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev. 1.0 0xfde60/288 (16 entries)
pcibios0: PCI Exclusive IRQs: 5 11 12
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x4000! 0xd4000/0x1800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Nvidia nForce2 PCI" rev 0xc1
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 1 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 2 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 3 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 4 not configured
"Nvidia nForce2" rev 0xc1 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "Nvidia nForce2 ISA" rev 0xa4
"Nvidia nForce2 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "Nvidia nForce2 USB" rev 0xa4: irq 11, OHCI version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1 "Nvidia nForce2 USB" rev 0xa4: irq 5, OHCI version 1.0, legacy support
ohci1: SMM does not respond, resetting
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
"Nvidia nForce2 USB2" rev 0xa4 at pci0 dev 2 function 2 not configured
"Nvidia nForce2 LAN" rev 0xa1 at pci0 dev 4 function 0 not configured
"Nvidia nForce2 AC-97 Audio" rev 0xa1 at pci0 dev 6 function 0 not configured
ppb0 at pci0 dev 8 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
wi0 at pci1 dev 8 function 0 "Intersil PRISM2.5 Mini-PCI WLAN" rev 0x01: irq 5
wi0: PRISM2.5 ISL3874A(Mini-PCI), Firmware 1.0.7 (primary), 1.3.6 (station), address 00:09:5b:91:aa:a1
vr0 at pci1 dev 9 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 12 address 00:05:5d:60:07:3d
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x004063, model 0x0034, rev. 4
pciide0 at pci0 dev 9 function 0 "Nvidia nForce2 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured 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 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, DVD-ROM DDU1621, S2.9> SCSI0 5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <_NEC, DVD_RW ND-1300A, 1.08> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
ppb1 at pci0 dev 30 function 0 "Nvidia nForce2 AGP" rev 0xc1
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 vendor "ATI", unknown product 0x4e45 rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
vendor "ATI", unknown product 0x4e65 (class display subclass miscellaneous, rev 0x00) at pci2 dev 0 function 1 not configured
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
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
biomask c860 netmask d860 ttymask d862
rd0: fixed, 3560 blocks
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB Receiver, rev 1.10/16.00, addr 2, iclass 3/1
uhid at uhidev0 not configured