Subject: Re: problem with new bootblock from CF on soekris
To: David Laight <david@l8s.co.uk>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: port-i386
Date: 11/01/2003 09:57:56
On Sat, Nov 01, 2003 at 06:01:16PM +0000, David Laight wrote:
> On Sat, Nov 01, 2003 at 09:41:46AM -0800, Jeff Rizzo wrote:
> > Hi-
> > 
> > I'm trying to use very recent bootblocks (from 3-4 days ago) to boot
> > a soekris 4521 from compact flash.  I *did* have this machine
> > booting successfully from flash circa 1.6P, but with the install I
> > did yesterday, I get:
> > 
> >  1 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
> > 
> > NetBSD/i386 ffsv1 Primary Bootstrap
> > Boot failed: Can't open /boot.
> > procedure.  Here's what I did:

[snip]
> 
> Well multi-sector reads must be working - they are used to pull in the
> code that tries to open /boot.

OK, that makes sense.
> 
> Is wd0a at the start of the netbsd bios partition?

Yep, plus it's the same disklabel that worked before (haven't changed
it, though I did newfs /dev/wd0a):

# /dev/rwd0d:
type: ESDI
disk: LEXAR ATA FLASH 
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 2
sectors/cylinder: 64
cylinders: 1004
total sectors: 64256
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

8 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:     60816        32     4.2BSD   1024  4096  7604  # (Cyl.      0*-    950*)
 c:     62816        32     unused      0     0        # (Cyl.      0*-    981)
 d:     64256         0     unused      0     0        # (Cyl.      0 -   1003)
 e:      2000     60848     4.2BSD   1024  8192    16  # (Cyl.    950*-    981)
# fdisk wd0
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 1004, heads: 2, sectors/track: 32 (64 sectors/cylinder)
total sectors: 64256

BIOS disk geometry:
cylinders: 502, heads: 4, sectors/track: 32 (128 sectors/cylinder)
total sectors: 64256

Partition table:
0: NetBSD (sysid 169)
    start 32, size 62816 (31 MB, Cyls 0-491), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>

(Thanks for your quick response!)

+j

-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz