Subject: Re: Input/output error after I built a new kernel
To: John Refling <refling@stanfordalumni.org>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 02/06/2003 14:16:52
John Refling <refling@stanfordalumni.org> writes:
> After I rebuilt a NetBSD kernel (1.6 i386) and copied it to /netbsd,
> upon booting it complains:
> 
> booting hd0a:netbsd
> open netbsd: Input/output error
> boot: hd0a:netbsd: Input/output error
> 
> Have I removed too many devices from the kernel, or what ?

What sort of machine is this exactly? Very old boxes don't have lba
extensions and thus cannot read things past a certain point on very
large disks from the BIOS.

Perry

> The permissions are the same as the original kernel.  There
> are no bad sectors on the disk.
> 
> dev gives:
> hd0a:
> 
> ls gives for netbsd:
> 158051: netbsd (REG)
> 
> 
> I HAVE NOW MADE IT BOOT OK THUSLY......
> 
> I copied the netbsd kernel over an unneeded file in / with
> a lower inode number, then renamed that file to netbsd. ls
> for netbsd now gives:
> 
> 2704: netbsd (REG)
> 
> The system now boots.  Is this a bug, or the fact that
> netbsd was too far from the start of the disk, or what ???
> 
> Thanks.
> 
> 
> 
> ____________________________________________________________________
>    
> 

-- 
Perry E. Metzger		perry@piermont.com