Subject: Re: NetBSD(i386)1.3_BETA boot.fs can't boot in IBM TP755CX
To: None <perry@piermont.com>
From: Deng Hongwei <dhongwei@sz.cei.go.cn>
List: port-i386
Date: 01/04/1998 23:20:40
Deng Hongwei wrote:
>
> > Deng Hongwei writes:
> > > When install NetBSD 1.3 BETA(Final) from floppy(dd from boot.fs) in IBM
> > > ThinkPad 755CX Laptop, It can't boot at all, the machine only reboot
> > > again and again whih nothing prints on the screen except:
> > > 16000 kb ok
> >
>
> I've debuged the bootsect and boot file of NetBSD 1.3(i386) in my IBM TP
> 755CX, The following is the result:
>
> 1.The installation floppy's bootsect goes correctly, and success loads
> the
> 'boot' file;
> 2.Then the procedure jumps to boot's code and goes to 0100:0400 (the
> entry
> of function 'real_to_prot') and failed at 0100:0411
>
> 0100:0400 FA CLI
> 0100:0401 67660F011500010000 LGDT FWORD PTR [00000100]
> 0100:040A 0F20C0 MOV EAX, CR0
> 0100:040D 6683C801 OR EAX, +01
> 0100:0411 0F22C0 MOV CR0, EAX ---> break here.
>
>
> Then I tracked the FreeBSD and OpenBSD's boot code, and found the
> procedure is almost the same, except they define 'BOOTSEC = 0x1000'
> ( which NetBSD define 'BOOTSEC = 0x0100), So I wonder if the IBM
> TP755CX doesn't support using 0x0100 segment when booting?
>
> I want to do some test about this( let BOOTSEC = 0x1000 in NetBSD ),
> but I don't know how many codes relative to it, how to make a boot
> floppy, and where should I be in to build the install floppy(
> 'sys/arch/i386/boot/biosboot' or 'sys/arch/i386/stand')?
Before I try to make a installation floppy, I've found a solution to
boot my IBM TP 755CX. First I unzip the netbsd.gz from floppy to DOS
partition c:\, and copy the dosboot.com from a nother machine running
NetBSD 1.3(i386) to c:\ too. Then I boot my machine to DOS, and type:
dosboot c:\netbsd
the kernel 'netbsd' load successfully now, and lead me to the sysinst!
I'm so happy because now I've had 4 machine running NetBSD 1.3 from
IBM TP laptop, TOSHIBA Tecra510 CDT laptop to HP vector 586 machine..
But I still want to solve the problem which cause the bootsect + boot
failed on my IBM TP 755CX, so I'm waiting for all of you help.