In article <pine.bsf.4.03.9904291137380.1166-100...@resnet.uoregon.edu>,
Doug White  <dwh...@resnet.uoregon.edu> wrote:

> Yes, we know that audio is broken; it's been broken since April 20th.

Well, it's worse than broken.  Merely including pcm0 in the kernel
config file causes instant panic on boot-up with my machine (new
kernel built last night from fresh sources):

  BIOS basemem (639K) != RTC basemem (640K), setting to BIOS value
  Copyright (c) 1992-1999 The FreeBSD Project.
  Copyright (c) 1982, 1986, 1989, 1991, 1993
          The Regents of the University of California. All rights reserved.
  kernel trap 12 with interrupts disabled


  Fatal trap 12: page fault while in kernel mode
  fault virtual address   = 0x0
  fault code              = supervisor read, page not present
  instruction pointer     = 0x8:0xc015983c
  stack pointer           = 0x10:0xc0303f68
  frame pointer           = 0x10:0xc0303f70
  code segment            = base 0x0, limit 0xfffff, type 0x1b
                          = DPL 0, pres 1, def32 1, gran 1
  processor eflags        = resume, IOPL = 0
  current process         = 0 ()
  interrupt mask          = net tty bio cam 
  kernel: type 12 trap, code=0
  Stopped at      0xc015983c:     movl    0(%ecx),%ebx

KGDB says there's a NULL item in sysctl_set:

  (kgdb) where
  #0  sysctl_register_oid (oidp=0x0) at ../../kern/kern_sysctl.c:79
  #1  0xc01598f1 in sysctl_register_set (lsp=0xc02885b8)
      at ../../kern/kern_sysctl.c:127
  #2  0xc0159941 in sysctl_register_all (arg=0x0) at 
../../kern/kern_sysctl.c:145
  #3  0xc014954a in main (framep=0xc0303fb4) at ../../kern/init_main.c:231
  (kgdb) up
  #1  0xc01598f1 in sysctl_register_set (lsp=0xc02885b8)
      at ../../kern/kern_sysctl.c:127
  127                     sysctl_register_oid((struct sysctl_oid *) 
lsp->ls_items[i]);
  (kgdb) p *lsp
  $1 = {ls_length = 414, ls_items = {0xc026e3e0}}
  (kgdb) p i
  $2 = 412
  (kgdb) p lsp->ls_items[411]
  $4 = (void *) 0xc0285bc0
  (kgdb) p lsp->ls_items[412]
  $5 = (void *) 0x0
  (kgdb) p lsp->ls_items[413]
  $6 = (void *) 0x4
  (kgdb) up
  #2  0xc0159941 in sysctl_register_all (arg=0x0) at 
../../kern/kern_sysctl.c:145
  145             sysctl_register_set(&sysctl_set);
  (kgdb) up
  #3  0xc014954a in main (framep=0xc0303fb4) at ../../kern/init_main.c:231
  231                             (*((*sipp)->func))((*sipp)->udata);

I can gather more information if anybody wants it.  The kernel works
fine if I take pcm0 out of the config file.

John
-- 
  John Polstra                                               j...@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to