Re: Latest kernel won't boot

2000-08-03 Thread Donn Miller

On Thu, 3 Aug 2000, Michael Lucas wrote:

> Sorry for the last try, not enough caffiene yet...
> 
> Anyway, I had this problem as well.  The problem was that /boot/loader
> wasn't working properly.  Without it, the system runs, but you can't
> talk to the console.

It seems like the problem was with my device.hints file - I had deleted
all the kbd/sc/vga stuff out of there, assuming that they weren't needed
since they are on the pci bus.  It turns out that I can only boot when I
add the syscons stuff back in there.  And then, they want to attach to
the ISA bus instead of the PCI bus:

sc0:  on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
atkbdc0:  at port 0x60,0x64 irq 1 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0

Any particular reason these devices want to attach to the ISA instead of
the PCI bus?  Or, are they REALLY attaching to the PCI bus, and thinking
they're attaching to the ISA bus?  I have a Pentium MoBo (Asus SP 97-V),
so they really ought to be on pci0 instead of isa0.

So, the syscons/vga/atkbd stuff will not work without leaving them
un-modified in device.hints as they originally appear in
GENERIC.hints.  Attached is my device.hints and dmesg.out.

- Donn


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Thu Aug  3 08:44:46 EDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/CUSTOM
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 166449832 Hz
CPU: Pentium/P55C (166.45-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf
real memory  = 62914560 (61440K bytes)
avail memory = 57761792 (56408K bytes)
Preloaded elf kernel "kernel" at 0xc037a000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc037a09c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pci0:  at 0.0
isab0:  at device 1.0 on pci0
isa0:  on isab0
atapci0:  port 
0xd000-0xd00f,0xd400-0xd403,0xd800-0xd807,0xe000-0xe003,0xe400-0xe407 irq 11 at device 
1.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ed0:  port 0xb800-0xb81f irq 10 at device 10.0 on 
pci0
ed0: address 00:c0:df:ed:0b:17, type NE2000 (16 bit) 
pci0:  at 19.0 irq 11
sio2 at port 0x3e8-0x3ef irq 4 on isa0
sio2: type 16550A
mse0:  at port 0x23c-0x23f irq 3 on isa0
sc0:  on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sbc1:  at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
pcm0:  on sbc1
ppc0:  at port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
unknown:  can't assign resources
unknown:  can't assign resources
fdc0:  at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0:  at port 0x60,0x64 irq 1 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
ad0: 3093MB  [6704/15/63] at ata0-master using UDMA33
ad1: 1040MB  [2114/16/63] at ata0-slave using WDMA2
acd0: CDROM  at ata1-master using WDMA2


# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.3 2000/07/19 16:32:38 imp Exp $
hint.atkbdc.0.at="pci"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.atkbd.0.flags="0x1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.psm.0.disabled="1"
hint.vga.0.at="pci"
hint.sc.0.at="pci"
hint.sc.0.flags="0x100"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.apm.0.at="nexus"
hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.0.disabled="1"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.1.disabled="1"
hint.sio.2.at="isa"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="4"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"
hint.mse.0.at="isa"
hint.mse.0.port="0x23c"
hint.mse.0.irq="3"
hint.sbc.0.at="isa"
hint.sbc.0.port="0x220"
hint.sbc.0.irq="5"
hint.sbc.0.drq="1"
hint.sbc.0.flags="0x15"



Re: Latest kernel won't boot

2000-08-03 Thread Michael Lucas

Sorry for the last try, not enough caffiene yet...

Anyway, I had this problem as well.  The problem was that /boot/loader
wasn't working properly.  Without it, the system runs, but you can't
talk to the console.

You can either boot from fixit cdrom and install a new /boot/loader
or, as I did, use a serial console to connect to the machine.  (You
might be able to connect via TCP/IP as well; the system that had this
problem is a laptop, and gets configured via a shell script after
login.)

Good luck!

==ml

> Just recently build a kernel from cvsup, and the kernel won't boot.  It
> gets to the point where you see
> 
> booting [kernel]
> \
> 
> And it just hangs right there.  There's a lot of disk activity, and after
> about 2 minutes (and no boot messages), I see a login prompt, but the
> machine is froze.  Anyone else see this?
> 
> - 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: Latest kernel won't boot

2000-08-03 Thread Michael Lucas

> Just recently build a kernel from cvsup, and the kernel won't boot.  It
> gets to the point where you see
> 
> booting [kernel]
> \
> 
> And it just hangs right there.  There's a lot of disk activity, and after
> about 2 minutes (and no boot messages), I see a login prompt, but the
> machine is froze.  Anyone else see this?
> 
> - 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



Latest kernel won't boot

2000-08-02 Thread Donn Miller

Just recently build a kernel from cvsup, and the kernel won't boot.  It
gets to the point where you see

booting [kernel]
\

And it just hangs right there.  There's a lot of disk activity, and after
about 2 minutes (and no boot messages), I see a login prompt, but the
machine is froze.  Anyone else see this?

- Donn



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