[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF card install



Check out man pages for installboot, disklabel, fdisk, and newfs 

Setup a host machine with a complete OpenBSD install on it.  Attach a CF
reader and card to the USB port.  Mount the drive and tar or dump the OS

-Todd

-----Original Message-----
From: owner-misc_(_at_)_openbsd_(_dot_)_org [mailto:owner-misc_(_at_)_openbsd_(_dot_)_org] On Behalf
Of Tom Geman
Sent: Friday, April 30, 2004 6:11 PM
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: CF card install


I am trying to install OpenBSD 3.5 on a 1GB CF card directly.

The problem I am having is that when I get to the partioning stage of
the install, my CF card only allows me yo user about 40-50 mb, and I
don't know why.  Do I have to do something to prepare the card for
installation?  Can I not install directly to the CF card like you can
for a hard drive?

The card is recognized as a 1GB card in the dmesg.

I have attached a hard drive and installed openbsd 3.5 on it just so I
could get the dmesg and disklabel of the card.  I have attached the
dmesg of the system running with a 120GB hard disk at wd0 and the CF
card at wd1. Please note the system I am aiming for will not have the
hard drive 
attached,
and the CF card will be wd0.  Also note that the disklabel of the CF
card shows partitions from my unsucessful attempt to install to the CF
card.

The motherboard is a Via Epia MII, the CF card is a SanDisk 1GB Extreme.

I have looked at all the Soekris CF card installation projects that
exist, 
but
I am using this for more then a firewall and I would like a complete
OpenBSD installation.

I appreciate any advice. Thanks.

# disklabel wd1

# using MBR partition 3: type A6 off 17 (0x11) size 139247 (0x21fef) #
/dev/rwd1c:
type: ST506
disk: ST506/MFM/RLL
label: ST506
flags:
bytes/sector: 512
sectors/track: 17
tracks/cylinder: 8
sectors/cylinder: 136
cylinders: 1024
total sectors: 2001888
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:    61455       17    4.2BSD     2048 16384   452   # (Cyl.    0*-
451)
  b:    77792    61472      swap                        # (Cyl.  452 -
1023)
  c:  2001888        0    unused        0     0         # (Cyl.    0 - 
14719*)

# dmesg

OpenBSD 3.5 (GENERIC) #34: Mon Mar 29 12:24:55 MST 2004
    deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Samuel 2 ("CentaurHauls" 686-class) 600 MHz
cpu0: FPU,DE,TSC,MSR,MTRR,PGE,MMX
real mem  = 234401792 (228908K)
avail mem = 210989056 (206044K)
using 2886 buffers containing 11821056 bytes (11544K) of memory mainbus0
(root) bios0 at mainbus0: AT/286+(1e) BIOS, date 11/25/03, BIOS32 rev. 0
@ 0xfb280 apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf44
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfded0/112 (5 entries)
pcibios0: PCI Exclusive IRQs: 5 9
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev
0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xe000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03: aperture at
0xd8000000, 
size 0x10000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 10 function 0 "Ricoh 5C476 CardBus" rev 0x80: irq 5
cbb1 at pci0 dev 10 function 1 "Ricoh 5C476 CardBus" rev 0x80: irq 9
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 5 usb0
at uhci0: USB revision 1.0 uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 9 usb1
at uhci1: USB revision 1.0 uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5 usb2
at uhci2: USB revision 1.0 uhub2 at usb2
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
"VIA VT6202 USB 2.0" rev 0x82 at pci0 dev 16 function 3 not configured
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 pciide0 at
pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, 
channel 0 configured to compatibility, channel 1 configured to
compatibility wd0 at pciide0 channel 0 drive 0: <ST3120026A>
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors atapiscsi0 at
pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at
scsibus0 targ 0 lun 0: <SONY, CD-RW CRX220E1, 6YS1> SCSI0 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 5 address 
00:40:63:d4:cc:ac
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x004063, model 0x0032, rev. 8
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at
cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia1 at
cardslot1 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
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 biomask 4260 netmask 4260 ttymask 52e2
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wi0 at pcmcia0 function 0 "Instant Wireless ,  Network PC CARD, Version 
01.02" port 0xa000/64
wi0: PRISM2 HWB3163 rev.A, Firmware 0.3.0 (primary), 0.8.0 (station), 
address 00:03:2f:01:d0:2c
wdc2 at pcmcia1 function 0 "SanDisk, SDP, 5/3 0.6" port 0xa400/16 wd1 at
wdc2 channel 0 drive 0: <SanDisk SDCFX-1024>
wd1: 1-sector PIO, LBA, 977MB, 2001888 sectors
wd1(wdc2:0:0): using BIOS timings

_________________________________________________________________
Express yourself with the new version of MSN Messenger! Download today -

it's FREE! http://messenger.msn.com/go/onm00200471ave/direct/01/



Visit your host, monkey.org