Subject: loading kernel fails w/ 'read text: Input/output error'
To: None <port-i386@netbsd.org>
From: David Young <dyoung@pobox.com>
List: port-i386
Date: 11/01/2006 02:09:11
The i386 bootlaoder fails as it loads a 4442957-byte kernel, /netbsd, from
my FFS filesystem on /dev/wd0e, printing 'read text: Input/output error'.
The same bootloader loads the kernel just fine if I gzip it (/netbsd.gz,
2071303 bytes).
The bootloader can also load and boot a smallish (<3MB) *uncompressed*
kernel that I built for a Soekris board.
I am using NetBSD-current (4.99.1) sources. I last updated within the
last month or two. It doesn't look like there have been significant
changes to the i386 bootloader since.
The boot medium is a CompactFlash card. Here is the disklabel on
the card,
# disklabel wd0
# /dev/rwd0d:
type: SCSI
disk: sandisk64
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 8
sectors/cylinder: 256
cylinders: 490
total sectors: 125440
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 62704 32 4.2BSD 0 0 0 # (Cyl. 0*- 245*)
c: 62704 32 unused 0 0 # (Cyl. 0*- 245*)
d: 125440 0 unused 0 0 # (Cyl. 0 - 489)
e: 62704 62736 4.2BSD 512 4096 15680 # (Cyl. 245*- 489)
#
This used to work. Any ideas what could have changed?
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933