On Mon, 3 Sep 2001, Kazutaka YOKOTA wrote:

> >Until yesterday, I was running -CURRENT from around July 4th on my
> >notebook, given that I was travelling and unwilling to break my means of
> >giving presentations on my trip :-).  Yesterday, I decided to upgrade, and
> >built kernel/world.  The userland stuff appears to work fine, but
> >interestingly, my kernel seems not to probe the console, and instead, use
> >the serial console.  The boot loader does not have this problem, and sees
> >the console fine.  The symptoms are that as the kernel loads (spin spin) 
> >after the boot loader, it ceases spinning, the cursor changes to a block,
> 
> This means that the video card is initialized Ok...

Although eventually the display will turn itself off due to lack of
keyboard activity.

> >and after a delay for hardware probes (&tc), the login prompt comes up but
> 
> syscons is working and providing /dev/ttyv%d...

Now that I'm back in my office, I can actually log into the machine
remotely fine, and cat to /dev/ttyv0 to generate output on the display.
/dev/console does not generate output on the display, however.

> >without the ability to type.  
> 
> Umm, the keyboard is not available...

dmesg on the box over the network demonstrates that while sc0 is probed
with a vga display, the keyboard is not probed:

sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0b00> can't assign resources

I've attached a diff between the dmesg's.  The old ones were pre-ACPI and
a number of other changes, so the diff may or may not be all that useful.

> >Unfortunately, I don't have a box with me I
> >can use as a serial console, so I can't attempt to see what it did or
> >didn't probe successfully, just that things got that far.  When I get home
> >tomorrow, I'll attempt to debug it, but was wondering if anyone else had
> >experienced this, or could point me at any commits that might potentially
> >impact this. 
> 
> Can you login to your notebook via network? As the loader seems working,
> you can boot the machine with bootverbose set, and can get dmesg output
> if you are able to login via network.

Ok, diff attached.  I'm going on travel again, so am backing out to the
previous kernel again.  Interestingly, when I did the following:

  unload kernel
  load /boot/kernel.bad/kernel
  boot -s

it booted to multi-user mode.

I tried this with both my old device.hints from a while back, and a new
empty device.hints.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED]      NAI Labs, Safeport Network Services

--- /tmp/boot.1 Sun Sep  9 11:11:48 2001
+++ /tmp/boot.2 Sun Sep  9 11:12:04 2001
@@ -1,15 +1,15 @@
 Copyright (c) 1992-2001 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: Wed Jul  4 22:17:32 EDT 2001
-    rwatson@paprika:/mnt/obj/usr/src/sys/GENERIC
+FreeBSD 5.0-CURRENT #0: Sun Sep  2 10:52:50 EDT 2001
+    rwatson@paprika:/usr/obj/usr/src/sys/GENERIC
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (701.60-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
   
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>

 real memory  = 536788992 (524208K bytes)
-avail memory = 517382144 (505256K bytes)
-Preloaded elf kernel "kernel" at 0xc0510000.
+avail memory = 517279744 (505156K bytes)
+Preloaded elf kernel "kernel" at 0xc052e000.
 Pentium Pro MTRR support enabled
 WARNING: Driver mistake: destroy_dev on 154/0
 Using $PIR table, 9 entries at 0xc00fbd80
@@ -23,12 +23,10 @@
 pci1: <PCI bus> on pcib1
 pci1: <display, VGA> at 0.0 (no driver attached)
 pcic0: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
-pcic0: Memory mapped device, will work.
 pcic0: PCI Memory allocated: 0x44000000
 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pci only]
 pccard0: <PC Card bus (classic)> on pcic0
 pcic1: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
-pcic1: Memory mapped device, will work.
 pcic1: PCI Memory allocated: 0x44001000
 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pci only]
 pccard1: <PC Card bus (classic)> on pcic1
@@ -51,48 +49,20 @@
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pci0: <simple comms> at 16.1 (no driver attached)
 orm0: <Option ROMs> at iomem 
0xc0000-0xcffff,0xd0000-0xd07ff,0xd0800-0xd0fff,0xd1000-0xd17ff,0xd1800-0xd1fff,0xd2000-0xd27ff,0xd2800-0xd2fff,0xd3000-0xd37ff,0xd3800-0xd3fff
 on isa0
-fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
-fdc0: FIFO enabled, 8 bytes threshold
-fd0: <1440-KB 3.5" drive> on fdc0 drive 0
-atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
-atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
-kbd0 at atkbd0
-psm0: <PS/2 Mouse> irq 12 on atkbdc0
-psm0: model Generic PS/2 mouse, device ID 0
+sc0: <System console> on isa0
+sc0: VGA <16 virtual consoles, flags=0x0>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
-sc0: <System console> at flags 0x100 on isa0
-sc0: VGA <16 virtual consoles, flags=0x300>
-pmtimer0 on isa0
-sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
+unknown: <PNP0b00> can't assign resources
+sio0: <16550A-compatible COM port> at port 0x3f8-0x407 irq 4 on isa0
 sio0: type 16550A
-sio1: configured irq 3 not in bitmap of probed irqs 0
-ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
+ppc0: <ECP parallel printer port> at port 0x378-0x387,0x778-0x77b irq 7 drq 3 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/8 bytes threshold
 plip0: <PLIP network interface> on ppbus0
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
-sn0: ioaddr is 0x300
-sn0: test1 failed
-unknown: <PNP0c01> can't assign resources
-unknown: <PNP0303> can't assign resources
-unknown: <PNP0f13> can't assign resources
-unknown: <PNP0b00> can't assign resources
-unknown: <PNP0501> can't assign resources
-unknown: <PNP0401> can't assign resources
-unknown: <PNP0700> can't assign resources
+fdc0: <NEC 72065B or clone> at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0
 ad0: 19077MB <HITACHI_DK23BA-20> [38760/16/63] at ata0-master UDMA33
 Mounting root from ufs:/dev/ad0s1a
 linprocfs registered
-/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
-/dev/vmmon: Module vmmon: initialized
-xl0: promiscuous mode enabled
-vmnet1: promiscuous mode enabled
-Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
-Waiting (max 60 seconds) for system process `syncer' to stop...stopped
-
-syncing disks... 6 6 6 3 3 
-done
-Uptime: 1m27s
-Rebooting...
Copyright (c) 1992-2001 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: Sun Sep  2 10:52:50 EDT 2001
    rwatson@paprika:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (701.60-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>

real memory  = 536788992 (524208K bytes)
avail memory = 517279744 (505156K bytes)
Preloaded elf kernel "kernel" at 0xc052e000.
Pentium Pro MTRR support enabled
WARNING: Driver mistake: destroy_dev on 154/0
Using $PIR table, 9 entries at 0xc00fbd80
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
pcic0: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pci only]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pci only]
pccard1: <PC Card bus (classic)> on pcic1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 at device 
7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at 7.3 (no driver attached)
pci0: <multimedia, audio> at 8.0 (no driver attached)
xl0: <3Com 3c556 Fast Etherlink XL> port 0xd400-0xd4ff mem 
0xf3ffd800-0xf3ffd87f,0xf3ffdc00-0xf3ffdc7f irq 11 at device 16.0 on pci0
xl0: Ethernet address: 00:04:76:42:89:7b
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <simple comms> at 16.1 (no driver attached)
orm0: <Option ROMs> at iomem 
0xc0000-0xcffff,0xd0000-0xd07ff,0xd0800-0xd0fff,0xd1000-0xd17ff,0xd1800-0xd1fff,0xd2000-0xd27ff,0xd2800-0xd2fff,0xd3000-0xd37ff,0xd3800-0xd3fff
 on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0b00> can't assign resources
sio0: <16550A-compatible COM port> at port 0x3f8-0x407 irq 4 on isa0
sio0: type 16550A
ppc0: <ECP parallel printer port> at port 0x378-0x387,0x778-0x77b irq 7 drq 3 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: <NEC 72065B or clone> at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0
ad0: 19077MB <HITACHI_DK23BA-20> [38760/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
linprocfs registered

Reply via email to