Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-30 Thread Edwin Culp

John Baldwin wrote:

 On 27-Jun-00 Edwin Culp wrote:
  Donn Miller wrote:
 
  Did you compile your kernel with any optimizations, such as -Os?  If so,
  try it recompiling it without optimizations.
 
  Unfortunately, no.  I wish that I had, because I'm fresh out of things to
  try.

 It's fixed.  It wasn't a kernel problem but a stupid bogon on my part
 in btx.s.  Make sure you have rev 1.19 of /sys/boot/i386/btx/btx/btx.s
 and rebuild your loader.

  Thanks,
 
  ed

 --

John,

Everything is fine.  Thanks a lot.

ed



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-29 Thread John Baldwin


On 27-Jun-00 John Baldwin wrote:
 
 On 27-Jun-00 Edwin Culp wrote:
 I have 5 machines running current.  All are booting fine with the
 changes made on June 12, with the exception of a k-6 laptop.  I have
 been booting the kernel.works since the changes and can't seem to get
 something right.  I have tried with my original kernel configuration and
 now have been trying with the GENERIC configuration and GENERIC.hints.
 When I try to boot with my new kernel I get:
 
 BTX loader 1.0 BTX version is 1.01
 Console: internal video/keyboard
 BIOS drive A: is disk0
 BIOS drive B: is disk1
 BIOS 639kB/97280kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 0.8
 [EMAIL PROTECTED] Mon June 26 12:37:44 PDT 2000
 
 int=000d err= eft=00010046 eip=92eb
 eax=00fb ebx= ecx=0152 edx=03f6
 esi=000fbc92 edi=000f ebp=17b4 esp=17b4
 cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
 
 RDMSR instruction.  It's trying to read an MSR (Model
 Specific Register) from the CPU.  In this case, one that
 is not documented in Intel's manuals.  Thus, it is either
 an undocmented MSR or a K6-only MSR.
 
 ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
 System halted
 
 I copied this manually since I don't have a console on the laptop.
 
 Any suggestions will be appreciated.
 
 Rev 1.18 of sys/boot/i386/btx/btx/btx.s should fix this.  Try
 doing an ftp install of a really recent snap from
 current.FreeBSD.org.

Augh!  I found out that actually rev 1.18 contained a bug
causing this problem.  Rev 1.19 of btx.s should actually fix
this.  Sorry.

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread Warner Losh

In message [EMAIL PROTECTED] Edwin Culp writes:
: int=000d err= eft=00010046 eip=92eb
: eax=00fb ebx= ecx=0152 edx=03f6
: esi=000fbc92 edi=000f ebp=17b4 esp=17b4
: cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
: ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
: System halted
: 
: I copied this manually since I don't have a console on the laptop.

I'd try booting the old kernel and seeing if doing a completely clean
build fixes this.  I'd also try to reboot after power off.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread Donn Miller

On Wed, 28 Jun 2000, Warner Losh wrote:

 In message [EMAIL PROTECTED] Edwin Culp writes:
 : int=000d err= eft=00010046 eip=92eb
 : eax=00fb ebx= ecx=0152 edx=03f6
 : esi=000fbc92 edi=000f ebp=17b4 esp=17b4
 : cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
 : ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
 : System halted
 : 
 : I copied this manually since I don't have a console on the laptop.
 
 I'd try booting the old kernel and seeing if doing a completely clean
 build fixes this.  I'd also try to reboot after power off.

It looks like the optimization bug that's been biting kernel builds
lately.  When Peter Wemm made the overhaul to the kernel config, strange
things started happening when optimization higher than -O was used to
build the kernel.  For example, I got a Fatal Trap 12 immediately after
the probe for available memory.  I was using -Os to compile my kernel at
the time.  Backing down to -O for kernel builds solved this, and boots
proceeded normally.

- Donn



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread Edwin Culp

Thanks, Warner and Donn.  I have been successfully building a new world and
kernel every day, except with the latest perl problems the last two days.
Today's world is in process and looks like it is going to be successful.
This means that everything is up to date.   I haven't been able to boot any
of the kernels since the configuration changes.  My old kernel.works, as
suggested in the changes email, is keeping me going. I'm beginning to think
about and look for conflicts from very old current stuff that may be
obsolete.  (I've been running current on this machine for two years with a
daily cvsup and make world.)  I am also thinking that this may be processor
specific.  The machine is an older K6-2 at 300 Mhz.

I haven't optimized the compilation.  As I mentioned before, I wish that
were the problem.

Thanks very much for the suggestions and help.

Donn Miller wrote:

 On Wed, 28 Jun 2000, Warner Losh wrote:

  In message [EMAIL PROTECTED] Edwin Culp writes:
  : int=000d err= eft=00010046 eip=92eb
  : eax=00fb ebx= ecx=0152 edx=03f6
  : esi=000fbc92 edi=000f ebp=17b4 esp=17b4
  : cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
  : ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
  : System halted
  :
  : I copied this manually since I don't have a console on the laptop.
 
  I'd try booting the old kernel and seeing if doing a completely clean
  build fixes this.  I'd also try to reboot after power off.

 It looks like the optimization bug that's been biting kernel builds
 lately.  When Peter Wemm made the overhaul to the kernel config, strange
 things started happening when optimization higher than -O was used to
 build the kernel.  For example, I got a Fatal Trap 12 immediately after
 the probe for available memory.  I was using -Os to compile my kernel at
 the time.  Backing down to -O for kernel builds solved this, and boots
 proceeded normally.

 - Donn

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread John Baldwin


On 27-Jun-00 Edwin Culp wrote:
 I have 5 machines running current.  All are booting fine with the
 changes made on June 12, with the exception of a k-6 laptop.  I have
 been booting the kernel.works since the changes and can't seem to get
 something right.  I have tried with my original kernel configuration and
 now have been trying with the GENERIC configuration and GENERIC.hints.
 When I try to boot with my new kernel I get:
 
 BTX loader 1.0 BTX version is 1.01
 Console: internal video/keyboard
 BIOS drive A: is disk0
 BIOS drive B: is disk1
 BIOS 639kB/97280kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 0.8
 [EMAIL PROTECTED] Mon June 26 12:37:44 PDT 2000
 
 int=000d err= eft=00010046 eip=92eb
 eax=00fb ebx= ecx=0152 edx=03f6
 esi=000fbc92 edi=000f ebp=17b4 esp=17b4
 cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb

RDMSR instruction.  It's trying to read an MSR (Model
Specific Register) from the CPU.  In this case, one that
is not documented in Intel's manuals.  Thus, it is either
an undocmented MSR or a K6-only MSR.

 ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
 System halted
 
 I copied this manually since I don't have a console on the laptop.
 
 Any suggestions will be appreciated.

Rev 1.18 of sys/boot/i386/btx/btx/btx.s should fix this.  Try
doing an ftp install of a really recent snap from
current.FreeBSD.org.

 Thanks,
 
 ed

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread John Baldwin


On 28-Jun-00 Donn Miller wrote:
 On Wed, 28 Jun 2000, Warner Losh wrote:
 
 In message [EMAIL PROTECTED] Edwin Culp writes:
 : int=000d err= eft=00010046 eip=92eb
 : eax=00fb ebx= ecx=0152 edx=03f6
 : esi=000fbc92 edi=000f ebp=17b4 esp=17b4
 : cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
 : ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
 : System halted
 : 
 : I copied this manually since I don't have a console on the laptop.
 
 I'd try booting the old kernel and seeing if doing a completely clean
 build fixes this.  I'd also try to reboot after power off.
 
 It looks like the optimization bug that's been biting kernel builds
 lately.  When Peter Wemm made the overhaul to the kernel config, strange
 things started happening when optimization higher than -O was used to
 build the kernel.  For example, I got a Fatal Trap 12 immediately after
 the probe for available memory.  I was using -Os to compile my kernel at
 the time.  Backing down to -O for kernel builds solved this, and boots
 proceeded normally.

Ok, not directed at you personally, but for future reference:

This is a BTX fault.  Kernel traps do not look like this.  If
you see this, you haven't even loaded the kernel yet and thus
your problem does not come from the kernel.  Since we got into
the loader, that means that the loader is b0rked.

As per this problem, it was due to a stupid error on my part
and is fixed in rev 1.19 of /sys/boot/i386/btx/btx.s.  Please
update your sources and recompile all of /sys/boot/i386.

Thank you.

 - Donn

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread John Baldwin


On 27-Jun-00 Edwin Culp wrote:
 Donn Miller wrote:
 
 Did you compile your kernel with any optimizations, such as -Os?  If so,
 try it recompiling it without optimizations.
 
 Unfortunately, no.  I wish that I had, because I'm fresh out of things to
 try.

It's fixed.  It wasn't a kernel problem but a stupid bogon on my part
in btx.s.  Make sure you have rev 1.19 of /sys/boot/i386/btx/btx/btx.s
and rebuild your loader.

 Thanks,

 ed

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-28 Thread Andrey A. Chernov

On Wed, Jun 28, 2000 at 10:14:27PM -0700, John Baldwin wrote:
 It's fixed.  It wasn't a kernel problem but a stupid bogon on my part
 in btx.s.  Make sure you have rev 1.19 of /sys/boot/i386/btx/btx/btx.s
 and rebuild your loader.
 

It seems there is a different problem.  Fresh -current kernel with fresh 
-current bootblock loaded ok but hangs in boot (no diagnostics even 
printed).  Kernel from Jun14 with fresh -current bootblocks booted Ok.

-- 
Andrey A. Chernov
[EMAIL PROTECTED]
http://ache.pp.ru/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-27 Thread Edwin Culp

I have 5 machines running current.  All are booting fine with the
changes made on June 12, with the exception of a k-6 laptop.  I have
been booting the kernel.works since the changes and can't seem to get
something right.  I have tried with my original kernel configuration and
now have been trying with the GENERIC configuration and GENERIC.hints.
When I try to boot with my new kernel I get:

BTX loader 1.0 BTX version is 1.01
Console: internal video/keyboard
BIOS drive A: is disk0
BIOS drive B: is disk1
BIOS 639kB/97280kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
[EMAIL PROTECTED] Mon June 26 12:37:44 PDT 2000

int=000d err= eft=00010046 eip=92eb
eax=00fb ebx= ecx=0152 edx=03f6
esi=000fbc92 edi=000f ebp=17b4 esp=17b4
cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
System halted

I copied this manually since I don't have a console on the laptop.

Any suggestions will be appreciated.

Thanks,

ed



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-27 Thread Edwin Culp

Donn Miller wrote:

 Did you compile your kernel with any optimizations, such as -Os?  If so,
 try it recompiling it without optimizations.

Unfortunately, no.  I wish that I had, because I'm fresh out of things to
try.

Thanks,

ed



 - Donn

 On Tue, 27 Jun 2000, Edwin Culp wrote:

  I have 5 machines running current.  All are booting fine with the
  changes made on June 12, with the exception of a k-6 laptop.  I have
  been booting the kernel.works since the changes and can't seem to get
  something right.  I have tried with my original kernel configuration and
  now have been trying with the GENERIC configuration and GENERIC.hints.
  When I try to boot with my new kernel I get:
 
  BTX loader 1.0 BTX version is 1.01
  Console: internal video/keyboard
  BIOS drive A: is disk0
  BIOS drive B: is disk1
  BIOS 639kB/97280kB available memory
 
  FreeBSD/i386 bootstrap loader, Revision 0.8
  [EMAIL PROTECTED] Mon June 26 12:37:44 PDT 2000
 
  int=000d err= eft=00010046 eip=92eb
  eax=00fb ebx= ecx=0152 edx=03f6
  esi=000fbc92 edi=000f ebp=17b4 esp=17b4
  cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
  ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
  System halted



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Laptop boot problem in current with GENERIC GENERIC.hints

2000-06-27 Thread Donn Miller

Did you compile your kernel with any optimizations, such as -Os?  If so,
try it recompiling it without optimizations.

- Donn

On Tue, 27 Jun 2000, Edwin Culp wrote:

 I have 5 machines running current.  All are booting fine with the
 changes made on June 12, with the exception of a k-6 laptop.  I have
 been booting the kernel.works since the changes and can't seem to get
 something right.  I have tried with my original kernel configuration and
 now have been trying with the GENERIC configuration and GENERIC.hints.
 When I try to boot with my new kernel I get:
 
 BTX loader 1.0 BTX version is 1.01
 Console: internal video/keyboard
 BIOS drive A: is disk0
 BIOS drive B: is disk1
 BIOS 639kB/97280kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 0.8
 [EMAIL PROTECTED] Mon June 26 12:37:44 PDT 2000
 
 int=000d err= eft=00010046 eip=92eb
 eax=00fb ebx= ecx=0152 edx=03f6
 esi=000fbc92 edi=000f ebp=17b4 esp=17b4
 cs:eip=0f 32 89 45 1c 89 55 14-46 eb cf 80 65 31 fd eb
 ss:esp=08 00 00 00 1c 9c 00 00-fe 0e 00 00 d4 17 00 00
 System halted



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message