I CVSup'ed 5.0 sources yesterday, and built my kernel this afternoon.
The kernel built find, and I booted with the new kernel.  The uname
output is:

    FreeBSD hades.hell.gr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Mar 22
    17:04:49 EET 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/HADES i386

When I tried to 'make buildworld' though, the kernel froze while
compiling openssl.  I thought it might be openssl triggering a bug in
gcc, for a while, and tried building world a couple of times, but the
system froze in different places; the kgdb information is shown below.

The kernel apparently stopped in atkbd_isa_intr().  I don't know if it
has any relation to the processing of interrupts, but after the system
freezes, and I boot, the hard disk seems to do some form of hard reset,
as if it was stopped for power-saving or something...

I'll try CVSup'ing once more today, and see if the new kernel stops
frozen too, but since this does not happen with the kernel I've kept as
my /kernel.safe (compiled from sources cvsup'ed on march 16), uhm,
I don't know.. is there something strange going on with atkbd?

I've seen commits on March 18th from Kazukata Yokota for the files:

    sys/isa              atkbd_isa.c atkbdc_isa.c
    sys/dev/kbd          atkbd.c atkbdc.c atkbdcreg.h atkbdreg.h
    sys/i386/isa/pcvt    pcvt_hdr.h

but has anyone else been having problems with these?

Attachments are:

    #0  dmesg output of first boot after crash
    #1  kgdb output for `where' and `list'

- Giorgos Keramidas
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Wed Mar 22 17:04:49 EET 2000
    [EMAIL PROTECTED]:/usr/src/sys/compile/HADES
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
config> q
avail memory = 29831168 (29132K bytes)
Preloaded elf kernel "kernel" at 0xc02bf000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02bf09c.
Intel Pentium detected, installing workaround for F00F bug
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c1bfa (c0001bfa)
VESA: S3 Incorporated. 86C325
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 ViRGE graphics accelerator> at 11.0 irq 11
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> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
sbc0: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 
on isa0
sbc0: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.13> on sbc0
unknown0: <Generic ESDI/IDE/ATA controller> at port 0x168-0x16f,0x36e-0x36f irq 10 on 
isa0
unknown1: <StereoEnhance> at port 0x100 on isa0
unknown2: <Game> at port 0x200-0x207 on isa0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, 
default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (000106)
ad0: 6149MB <WDC AC26400B> [13328/15/63] at ata0-master using WDMA2
acd0: CDROM <FX4820T> at ata1-master using WDMA2
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
hades# cd /sys/compile/HADES
/usr/src/sys/compile/HADES
hades# gdb -k kernel.debug /var/crash/vmcore.0
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 2953216
initial pcb at 25ea80
panicstr: from debugger
panic messages:
---
panic: from debugger

syncing disks... 
done
Uptime: 57m27s

dumping to dev #ad/0x20001, offset 65536
dump ata0: resetting devices .. done
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:304
304                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:304
#1  0xc0136195 in panic (fmt=0xc02004b4 "from debugger")
    at ../../kern/kern_shutdown.c:554
#2  0xc011b489 in db_panic (addr=-1071777419, have_addr=0, count=-1, 
    modif=0xc02262d4 "") at ../../ddb/db_command.c:433
#3  0xc011b429 in db_command (last_cmdp=0xc0227538, cmd_table=0xc0227398, 
    aux_cmd_tablep=0xc025b214) at ../../ddb/db_command.c:333
#4  0xc011b4ee in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc011d5ff in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xc01df715 in kdb_trap (type=3, code=0, regs=0xc02263dc)
    at ../../i386/i386/db_interface.c:158
#7  0xc01eb5d0 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, 
      tf_edi = -1071176096, tf_esi = -1071199872, tf_ebp = -1071487964, 
      tf_isp = -1071487992, tf_ebx = 134, tf_edx = 1073741824, 
      tf_ecx = -1071206912, tf_eax = 38, tf_trapno = 3, tf_err = 0, 
      tf_eip = -1071777419, tf_cs = 8, tf_eflags = 582, tf_esp = -1071528961, 
      tf_ss = -1071542615}) at ../../i386/i386/trap.c:549
#8  0xc01df975 in Debugger (msg=0xc0218ea9 "manual escape to debugger")
    at machine/cpufunc.h:64
#9  0xc01db626 in scgetc (sc=0xc0272660, flags=2)
    at ../../dev/syscons/syscons.c:3134
#10 0xc01d80a9 in sckbdevent (thiskbd=0xc026b140, event=0, arg=0xc0272660)
    at ../../dev/syscons/syscons.c:634
#11 0xc01cf166 in atkbd_intr (kbd=0xc026b140, arg=0x0)
    at ../../dev/kbd/atkbd.c:462
#12 0xc01f8024 in atkbd_isa_intr (arg=0xc026b140) at ../../isa/atkbd_isa.c:125
(kgdb) up 12
#12 0xc01f8024 in atkbd_isa_intr (arg=0xc026b140) at ../../isa/atkbd_isa.c:125
125             (*kbdsw[kbd->kb_index]->intr)(kbd, NULL);
(kgdb) list
120     atkbd_isa_intr(void *arg)
121     {
122             keyboard_t *kbd;
123     
124             kbd = (keyboard_t *)arg;
125             (*kbdsw[kbd->kb_index]->intr)(kbd, NULL);
126     }
127     
128     DRIVER_MODULE(atkbd, atkbdc, atkbd_driver, atkbd_devclass, 0, 0);
(kgdb) quit

Reply via email to