[I had sent this mail to -current before, but no one replied. I'm
trying again.]
I havne't been able to get my machine to boot with pcm enabled since
Feb 5. The last working kernel I have is from Jan 18.
Here's the panic (I have a debug kernel lying around from this panic):
Here's the panic:
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x28
fault code = supervisor read, page not present
isntruction pointer = 0x8:0xc01fe4e7
stack pointer = 0x10:0xce22dcd8
frame pointer = 0x10:0xce22dcdc
code segment = base 0x0, limit 0xfffff, type 0x1b
DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 51 (ifconfig)
interrupt mask = tty
kernel: type 12 trap, code = 0
Stopped at csa_readio+0x17: movl 0x28(%eax), %edx
db> trace
csa_readio(c10b4904, 0) at csa_readio+0x17
csa_intr(c10b4900, 4003103a, 101, c117ed00, ce22dd88) at csa_intr+0x13
intr_mux(c0a65b40, 40020000, 40060010, c1170010, ce220010) at
intr_mux+0x1d
Xresume3() at Xresume3+0x2b
--- interrupt, eip= 0xc018381f, esp=0xce22dd54, ebp =0xce22dd88 ---
rtrequest(1, c117ed48, c117ed48, c117ed68, 101) at rtrequest+0x1b7
rtinit(c117ed00, 1, 1, c117ed00, 1) at rtinit+0xe7
in_ifinit(c10b9000, c117ed00, ce22decc, 0, cce8f440) at in_ifinit+0x189
in_control(cca1af00, 8040691a, ce22debc, c10b9000, cce8f440) at in_control+0x597
ifioctl
soo_ioctl
ioctl
syscall (2f,2f,2f,0, bfbffdb0) at syscall+0x176
Xint0x80_syscall()
Here's the config file that doesn't work (has pcm and xl0):
===================================================================
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.213 1999/12/10 10:44:45 phk Exp $
machine i386
cpu I586_CPU
cpu I686_CPU
ident TEN
maxusers 128
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=8000 #Be pessimistic about Joe SCSI device
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options KTRACE #ktrace(1) syscall trace support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options NFS
options PROCFS
device isa0
device pci0
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata2
device atadisk0 # ATA disk drives
device atapicd0 # ATAPI CDROM drives
options ATA_STATIC_ID #Static device numbering
options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
options IDE_DELAY=8000 # Be optimistic about Joe IDE device
device ahc0 # AHA2940 and onboard AIC7xxx devices
# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
device scbus0 # SCSI bus (required)
device da0 # Direct Access (disks)
device pass0 # Passthrough device (direct SCSI access)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
device vga0 at isa? port ?
# splash screen/screen saver
#pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device pty # Pseudo-ttys (telnet etc)
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
options SOFTUPDATES
options PNPBIOS
device pcm
device miibus0 # MII bus support
device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
options DDB
#pseudo-device streams
===================================================================
Here's the dmesg from that kernel:
===================================================================
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 4.0-CURRENT #0: Sat Feb 5 16:01:20 EST 2000
vshah@jabberwock:/home/ncvs/FreeBSD/current-src/src/sys/compile/TEN
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 398270303 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x651 Stepping = 1
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 268435456 (262144K bytes)
avail memory = 257134592 (251108K bytes)
Preloaded elf kernel "kernel" at 0xc0305000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <NVidia/SGS-Thomson Riva128 graphics accelerator> mem
0xfc000000-0xfcffffff,0xf5000000-0xf5ffffff irq 11 at device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 ATA-33 controller> port 0x14a0-0x14af at device 7.1 on pci0
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 9
chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 7.3 on
pci0
csa0: <Crystal Semiconductor CS4610/4611 Audio accelerator> mem
0xf4000000-0xf40fffff,0xf4100000-0xf4100fff irq 3 at device 11.0 on pci0
device_probe_and_attach: csa0 attach returned 6
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1400-0x147f mem 0xf4102000-0xf410207f
irq 3 at device 15.0 on pci0
xl0: Ethernet address: 00:10:4b:94:a3:41
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x1000-0x10ff mem 0xf4101000-0xf4101fff
irq 9 at device 16.0 on pci0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
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
ata-isa0: already registered as ata0
ata-isa1: already registered as ata1
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
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
unknown0: <PNP0c02> at iomem 0xe0000-0xe3fff on isa0
unknown1: <PNP0c02> at port 0x370-0x371,0xea-0xeb iomem 0xfffc0000-0xffffffff on isa0
unknown2: <PNP0c01> at iomem
0-0x9ffff,0xe4000-0xfffff,0x100000-0xfffffff,0xfff80000-0xfffbffff on isa0
unknown3: <PNP0200> at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0
unknown4: <PNP0000> at port 0x20-0x21,0xa0-0xa1 irq 2 on isa0
unknown5: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown6: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown7: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
unknown: <PNP0800> can't assign resources
unknown8: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown9: <PNP0c02> at port 0x4d0-0x4d1,0x8000-0x803f,0x7000-0x700f on isa0
unknown10: <PNP0c02> on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown11: <PNP0400> at port 0x378-0x37f irq 7 on isa0
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
unknown12: <Game> at port 0x200-0x207 on isa0
unknown13: <Ctrl> at port 0x120-0x127 on isa0
unknown14: <MPU> at port 0x330-0x331 irq 10 on isa0
Waiting 8 seconds for SCSI devices to settle
ad0: 8063MB <IBM-DHEA-38451> [16383/16/63] at ata0-master using UDMA33
ad3: 9641MB <Maxtor 91010D6> [19590/16/63] at ata1-slave using UDMA33
acd0: CDROM <NEC CD-ROM DRIVE:28B> at ata1-master using WDMA2
Mounting root from ufs:/dev/ad0s3a
da0 at ahc0 bus 0 target 1 lun 0
da0: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 1030MB (2110812 512 byte sectors: 255H 63S/T 131C)
===================================================================
Here's a dmesg from a currently booting kernel (without pcm):
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 4.0-CURRENT #0: Fri Feb 11 09:15:56 EST 2000
vshah@jabberwock:/home/ncvs/FreeBSD/current-src/src/sys/compile/TEN
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 398270505 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x651 Stepping = 1
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 268435456 (262144K bytes)
avail memory = 257134592 (251108K bytes)
Preloaded elf kernel "kernel" at 0xc0305000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vga-pci0: <NVidia/SGS-Thomson Riva128 graphics accelerator> mem
0xfc000000-0xfcffffff,0xf5000000-0xf5ffffff irq 11 at device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 ATA-33 controller> port 0x14a0-0x14af at device 7.1 on pci0
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 9
chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 7.3 on
pci0
csa0: <Crystal Semiconductor CS4610/4611 Audio accelerator> mem
0xf4000000-0xf40fffff,0xf4100000-0xf4100fff irq 3 at device 11.0 on pci0
device_probe_and_attach: csa0 attach returned 6
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1400-0x147f mem 0xf4102000-0xf410207f
irq 3 at device 15.0 on pci0
xl0: Ethernet address: 00:10:4b:94:a3:41
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x1000-0x10ff mem 0xf4101000-0xf4101fff
irq 9 at device 16.0 on pci0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
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
ata-isa0: already registered as ata0
ata-isa1: already registered as ata1
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
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
unknown0: <PNP0c02> at iomem 0xe0000-0xe3fff on isa0
unknown1: <PNP0c02> at port 0x370-0x371,0xea-0xeb iomem 0xfffc0000-0xffffffff on isa0
unknown2: <PNP0c01> at iomem
0-0x9ffff,0xe4000-0xfffff,0x100000-0xfffffff,0xfff80000-0xfffbffff on isa0
unknown3: <PNP0200> at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0
unknown4: <PNP0000> at port 0x20-0x21,0xa0-0xa1 irq 2 on isa0
unknown5: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown6: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown7: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
unknown: <PNP0800> can't assign resources
unknown8: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown9: <PNP0c02> at port 0x4d0-0x4d1,0x8000-0x803f,0x7000-0x700f on isa0
unknown10: <PNP0c02> on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown11: <PNP0400> at port 0x378-0x37f irq 7 on isa0
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
unknown12: <Game> at port 0x200-0x207 on isa0
unknown13: <Ctrl> at port 0x120-0x127 on isa0
unknown14: <MPU> at port 0x330-0x331 irq 10 on isa0
Waiting 8 seconds for SCSI devices to settle
ad0: 8063MB <IBM-DHEA-38451> [16383/16/63] at ata0-master using UDMA33
ad3: 9641MB <Maxtor 91010D6> [19590/16/63] at ata1-slave using UDMA33
acd0: CDROM <NEC CD-ROM DRIVE:28B> at ata1-master using WDMA2
Mounting root from ufs:/dev/ad0s3a
da0 at ahc0 bus 0 target 1 lun 0
da0: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 1030MB (2110812 512 byte sectors: 255H 63S/T 131C)
===================================================================
Thanks
Viren
--
Viren R. Shah
FreeBSD: 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