From owner-freebsd-current Sun Jun 6 7: 5:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id A1153150DB for ; Sun, 6 Jun 1999 07:05:14 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely7.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.8.6/8.8.6) with ESMTP id PAA15530 for ; Sun, 6 Jun 1999 15:58:20 +0200 (MET DST) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by cicely7.cicely.de (8.9.0/8.9.0) with ESMTP id QAA25205 for ; Sun, 6 Jun 1999 16:04:29 +0200 (CEST) Received: (from ticso@localhost) by cicely8.cicely.de (8.9.3/8.9.2) id QAA46788 for freebsd-current@freebsd.org; Sun, 6 Jun 1999 16:05:15 +0200 (CEST) (envelope-from ticso) Date: Sun, 6 Jun 1999 16:05:13 +0200 From: Bernd Walter To: freebsd-current@freebsd.org Subject: panic: bus_dmamem_free: Invalid map freed - with recent current Message-ID: <19990606160512.A46721@cicely8.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS drive D: is disk2 FreeBSD/i386 bootstrap loader, Revision 0.7 636/65472kB (ticso@cicely5.cicely.de, Sun Jun 6 11:28:23 CEST 1999) Loading /boot/defaults/loader.conf /kernel text=0x15111d data=0x1b70c+0x240e0 syms=[0x4+0x1eec0+0x4+0x2205a] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel]... Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Sun Jun 6 14:50:48 CEST 1999 root@cicely5.cicely.de:/var/d3/src-1999-06-06/src/sys/compile/CICELY5 Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233029415 Hz CPU: AMD-K6tm w/ multimedia extensions (233.03-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x562 Stepping=2 Features=0x8001bf real memory = 134217728 (131072K bytes) sio0: system console avail memory = 126808064 (123836K bytes) Preloaded elf kernel "kernel" at 0xc02d4000. ccd0-3: Concatenated disk drivers npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 chip0: at device 0.0 on pci0 isab0: at device 7.0 on pci0 chip1: at device 7.1 on pci0 pcib1: at device 9.0 on pci0 pci1: on pcib1 ahc0: irq 5 at device 4.0 on pci1 ahc0: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs ahc1: irq 11 at device 5.0 on pci1 RAID functionality unsupported device_probe_and_attach: ahc1 attach returned 6 ahc2: irq 5 at device 8.0 on pci1 ahc2: aic7870 Single Channel B, SCSI Id=7, 16/255 SCBs ahc3: irq 5 at device 12.0 on pci1 ahc3: aic7870 Single Channel C, SCSI Id=7, 16/255 SCBs pcib2: at device 10.0 on pci0 pci2: on pcib2 ahc4: irq 12 at device 4.0 on pci2 ahc4: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs ahc5: irq 5 at device 5.0 on pci2 ahc5: aic7880 Single Channel B, SCSI Id=7, 16/255 SCBs de0: irq 10 at device 11.0 on pci0 de0: Cogent 21140A [10-100Mb/s] pass 2.0 de0: address 00:00:92:9b:20:e7 pcib3: at device 12.0 on pci0 pci3: on pcib3 ahc6: irq 11 at device 4.0 on pci3 ahc6: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs ahc7: irq 10 at device 5.0 on pci3 RAID functionality unsupported device_probe_and_attach: ahc7 attach returned 6 ahc8: irq 11 at device 8.0 on pci3 panic: bus_dmamem_free: Invalid map freed Debugger("panic") Stopped at Debugger+0x37: movl $0,in_Debugger db> trace Debugger(c02372db) at Debugger+0x37 panic(c0246f60,c02e6db0,c01380b7,0,0) at panic+0x74 bus_dmamem_free(0,0,0,c09dde00,380) at bus_dmamem_free+0x19 ahcfiniscbdata(c09dde00) at ahcfiniscbdata+0x87 ahc_free(c09dde00,9,0,c09d1600,c02e6e04) at ahc_free+0xd ahc_pci_attach(c09d1500,c09d1500,c02e6e30,c015e5ab,c09d1500) at ahc_pci_attach+0x641 DEVICE_ATTACH(c09d1500,c09d1500,0,c09c5ac0,c02e6e40) at DEVICE_ATTACH+0x33 device_probe_and_attach(c09d1500) at device_probe_and_attach+0x4b bus_generic_attach(c09d1600,c09d1600,c02e6e68,c015e5ab,c09d1600) at bus_generic_attach+0x16 DEVICE_ATTACH(c09d1600,c09d1600,c09c4904,c09c5cc0,c02e6e78) at DEVICE_ATTACH+0x33 device_probe_and_attach(c09d1600) at device_probe_and_attach+0x4b bus_generic_attach(c09c5ac0,c09c5ac0,c02419bd,3,0) at bus_generic_attach+0x16 pcib_attach(c09c5ac0,c09c5ac0,c02e6ec4,c015e5ab,c09c5ac0) at pcib_attach+0x44 DEVICE_ATTACH(c09c5ac0,c09c5ac0,0,c09c5dc0,c02e6ed4) at DEVICE_ATTACH+0x33 device_probe_and_attach(c09c5ac0) at device_probe_and_attach+0x4b bus_generic_attach(c09c5cc0,c09c5cc0,c02e6efc,c015e5ab,c09c5cc0) at bus_generic_attach+0x16 DEVICE_ATTACH(c09c5cc0,c09c5cc0,0,c09c3000,c02e6f0c) at DEVICE_ATTACH+0x33 device_probe_and_attach(c09c5cc0) at device_probe_and_attach+0x4b bus_generic_attach(c09c5dc0,c09c5dc0,c02e6f34,c015e5ab,c09c5dc0) at bus_generic_attach+0x16 DEVICE_ATTACH(c09c5dc0,c09c5dc0,0,c07331c0,c02e6f44) at DEVICE_ATTACH+0x33 device_probe_and_attach(c09c5dc0) at device_probe_and_attach+0x4b bus_generic_attach(c09c3000,c09c3000,c02e6f6c,c015e5ab,c09c3000) at bus_generic_attach+0x16 DEVICE_ATTACH(c09c3000,c09c3000,c026bc9c,2eb000,c02e6f7c) at DEVICE_ATTACH+0x33 device_probe_and_attach(c09c3000) at device_probe_and_attach+0x4b root_bus_configure(c07331c0,c0246a3f,0,0) at root_bus_configure+0x16 configure(0) at configure+0x39 mi_startup(c02e6fb4,0,2eb000,c0162435,c0403000) at mi_startup+0x92 begin() at begin+0x4b I used the following config: machine "i386" #cpu "I386_CPU" #cpu "I486_CPU" cpu "I586_CPU" #cpu "I686_CPU" ident "CICELY5" maxusers 32 #options "MAXMEM=(64*1024)" options "NO_F00F_HACK" #options PQ_LARGECACHE # color for 512k/16k cache options CAM_MAX_HIGHPOWER=1 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options MFS #Memory File System options NFS #Network Filesystem #options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem #options "CD9660_ROOT" #CD-ROM usable as root device options FFS_ROOT #FFS usable as root device [keep this!] #options NFS_ROOT #NFS usable as root device options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options MROUTING # Multicast routing options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor #options VISUAL_USERCONFIG #visual boot -c editor #options SOFTUPDATES options "ICMP_BANDLIM" options CODA #CODA filesystem. pseudo-device vcoda 4 #coda minicache <-> venus comm. options DDB #options DDB_UNATTENDED options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to #DDB, if available. controller isa0 #controller eisa0 controller pci0 controller fdc0 at isa? port IO_FD1 irq 6 drq 2 disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 # Unless you know very well what you're doing, leave ft0 at drive 2, or # remove the line entirely if you don't need it. Trying to configure # it on another unit might cause surprises, see PR kern/7176. #tape ft0 at fdc0 drive 2 #options "CMD640" # work around CMD640 chip deficiency #controller wdc0 at isa? port "IO_WD1" bio irq 14 #disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" irq 15 #disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 # ATAPI devices on wdc? device wcd0 #IDE CD-ROM #device wfd0 #IDE Floppy (e.g. LS-120) #device wst0 #IDE Tape (e.g. Travan) # A single entry for any of these controllers (ncr, ahb, ahc, amd) is # sufficient for any number of installed devices. #controller ncr0 #controller amd0 #controller ahb0 #options AHC_ALLOW_MEMIO controller ahc0 controller ahc1 controller ahc2 controller ahc3 controller ahc4 controller ahc5 controller ahc6 controller ahc7 controller ahc8 controller ahc9 #controller isp0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. The options # line following dpt0 here is also currently a *required* option for it. # controller dpt0 # options DPT_MEASURE_PERFORMANCE #controller adv0 at isa? port ? cam irq ? #controller bt0 at isa? port ? cam irq ? #controller aha0 at isa? port ? cam irq ? #controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr #controller aic0 at isa? port 0x340 bio irq 11 vector aicintr #controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr #controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr #controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr controller scbus0 at ahc0 # Single bus device controller scbus1 at ahc2 # Single bus device controller scbus2 at ahc3 # Single bus device controller scbus3 at ahc4 # Single bus device controller scbus4 at ahc5 # Single bus device controller scbus5 at ahc6 # Single bus device controller scbus6 at ahc8 # Single bus device controller scbus7 at ahc9 # Single bus device disk da0 at scbus0 target 2 unit 0 disk da1 at scbus1 target 1 unit 0 disk da2 at scbus1 target 2 unit 0 disk da3 at scbus1 target 3 unit 0 disk da4 at scbus2 target 1 unit 0 disk da5 at scbus2 target 2 unit 0 disk da6 at scbus2 target 3 unit 0 disk da7 at scbus4 target 2 unit 0 disk da8 at scbus4 target 3 unit 0 disk da9 at scbus4 target 4 unit 0 #disk da10 at scbus5 target 2 unit 0 #disk da11 at scbus5 target 3 unit 0 #disk da12 at scbus5 target 4 unit 0 disk da13 at scbus3 target 4 unit 0 disk da14 at scbus3 target 0 unit 0 disk da15 at scbus3 target 3 unit 0 disk da16 at scbus3 target 5 unit 0 disk da17 at scbus3 target 6 unit 0 disk da18 at scbus4 target 0 unit 0 disk da19 at scbus4 target 1 unit 0 disk da20 at scbus4 target 5 unit 0 disk da21 at scbus4 target 6 unit 0 disk da22 at scbus5 target 1 unit 0 disk da23 at scbus3 target 1 unit 0 disk da24 at scbus3 target 2 unit 0 disk da25 at scbus5 target 6 unit 0 disk da26 at scbus6 target 1 unit 0 disk da27 at scbus6 target 2 unit 0 tape sa0 at scbus0 target 1 unit 0 tape sa1 at scbus0 target 6 unit 0 tape sa2 at scbus2 target 0 unit 0 tape sa3 at scbus5 target 0 unit 0 tape sa4 at scbus6 target 3 unit 0 device cd0 at scbus0 target 3 unit 0 device cd1 at scbus0 target 4 unit 0 device cd2 at scbus5 target 2 unit 0 device cd3 at scbus5 target 3 unit 0 device cd4 at scbus5 target 4 unit 0 device cd5 at scbus5 target 5 unit 0 device cd6 at scbus6 target 4 unit 0 device ch0 at scbus3 target 0 unit 0 device pt0 at scbus? # SCSI processor type #device sa0 device pass0 #device cd0 #Only need one of these, the code dynamically grows #device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr #device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr #controller matcd0 at isa? port 0x230 bio #device scd0 at isa? port 0x230 bio # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at isa? irq 1 device psm0 at isa? irq 12 device vga0 at isa? port ? conflicts # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" conflicts irq 1 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port "IO_NPX" irq 13 # # Laptop support (see LINT for more options) # #device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? device sio0 at isa? port "IO_COM1" flags 0x10 irq 4 device sio1 at isa? port "IO_COM2" irq 3 #device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr #device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr #device lpt0 at isa? port? tty irq 7 vector lptintr ##device lpt1 at isa? port? tty #device mse0 at isa? port 0x23c tty irq 5 vector mseintr #device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device de0 #device fxp0 #device tl0 #device tx0 #device vx0 #device xl0 #device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr #device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr #device ep0 at isa? port 0x300 net irq 10 vector epintr #device ex0 at isa? port? net irq? vector exintr #device fe0 at isa? port 0x300 net irq ? vector feintr #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr #device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr #device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr #device cs0 at isa? port 0x300 net irq ? vector csintr pseudo-device loop pseudo-device ether #pseudo-device sl 1 #pseudo-device ppp 1 #pseudo-device tun 1 pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device pty 64 pseudo-device gzip # Exec gzipped a.out's pseudo-device ccd 4 #Concatenated disk driver pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device vn #Vnode driver (turns a file into a device) # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory. # options SYSVSHM options SYSVSEM options SYSVMSG I removed the FDC_YE and FDC_DEBUG from options.i386 to get config work. It complained that they where already anywhere else. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message