Date: Sat, 24 Mar 2001 11:30:04 -0800 (PST) From: David Wolfskill <david@catwhisker.org> To: current@FreeBSD.ORG Subject: Re: Kernel panic: resource_list_alloc: resource entry is busy Message-ID: <200103241930.f2OJU4x05908@bunrab.catwhisker.org> In-Reply-To: <200103241715.f2OHFTs05518@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Sat, 24 Mar 2001 09:15:29 -0800 (PST) >From: David Wolfskill <david@catwhisker.org> >This from CVSup shortly before midnight (PST); I recall that I got >the update to sys/kern/kern_intr.c rev. 1.50 (to pin down the time a little >better). OK; I re-booted it under -STABLE, so I can report a bit more about the context. Yesterday, the thought occurred to me that it might be handy to record the start time for the CVSup (as well as the end time, so: CVSup ended at Wed Mar 21 23:53:49 PST 2001 CVSup ended at Thu Mar 22 23:51:54 PST 2001 CVSup started at Fri Mar 23 23:47:01 PST 2001 CVSup ended at Fri Mar 23 23:53:40 PST 2001 (and I had built & booted -CURRENT successfully yesterday; I append /var/log/messages from that boot after my .sig.) And the following shows the CVS activity from the working sources to the failing ones (I elided the "cvs update:" lines): Script started on Sat Mar 24 05:27:55 2001 dhcp-135[1] cd /C/usr/src dhcp-135[2] cvs update -d ? PATCHES U bin/getfacl/getfacl.1 U bin/setfacl/setfacl.1 U contrib/gcc.295/except.c U contrib/gcc.295/expr.c U contrib/gcc.295/expr.h U contrib/gcc.295/varasm.c U etc/Makefile U etc/primes U etc/mtree/BSD.x11-4.dist U games/fortune/datfiles/fortunes U gnu/usr.bin/tar/tar.c U include/arpa/inet.h U include/rpc/rpc.h U lib/libc/gen/Makefile.inc U lib/libc/gen/__xuname.c U lib/libc/gen/uname.c U lib/libc/net/inet.3 U lib/libc/net/inet_addr.c U lib/libc/net/inet_lnaof.c U lib/libc/net/inet_makeaddr.c U lib/libc/net/inet_neta.c U lib/libc/net/inet_netof.c U lib/libc/net/inet_network.c U lib/libc/rpc/key_call.c U lib/libc/rpc/rpc_soc.3 U lib/libc/rpc/rpc_soc.c U lib/libfetch/fetch.3 U lib/libfetch/ftp.c U lib/libposix1e/acl_add_perm.3 U lib/libposix1e/acl_clear_perms.3 U lib/libposix1e/acl_copy_entry.3 U lib/libposix1e/acl_create_entry.3 U lib/libposix1e/acl_delete_perm.3 U lib/libposix1e/acl_get_permset.3 U lib/libposix1e/acl_get_qualifier.3 U lib/libposix1e/acl_get_tag_type.3 U lib/libposix1e/acl_set_permset.3 U lib/libposix1e/acl_set_qualifier.3 U lib/libposix1e/acl_set_tag_type.3 U libexec/ypxfr/ypxfr_extern.h U release/Makefile U release/texts/HARDWARE.TXT U secure/lib/libtelnet/Makefile U share/man/man9/module.9 U sys/compat/linux/linux_misc.c RCS file: /cvs/freebsd/src/sys/dev/an/if_aironet_ieee.h,v retrieving revision 1.3 retrieving revision 1.4 Merging differences between 1.3 and 1.4 into if_aironet_ieee.h M sys/dev/an/if_aironet_ieee.h RCS file: /cvs/freebsd/src/sys/dev/an/if_an.c,v retrieving revision 1.15 retrieving revision 1.16 Merging differences between 1.15 and 1.16 into if_an.c M sys/dev/an/if_an.c RCS file: /cvs/freebsd/src/sys/dev/an/if_anreg.h,v retrieving revision 1.5 retrieving revision 1.6 Merging differences between 1.5 and 1.6 into if_anreg.h M sys/dev/an/if_anreg.h U sys/dev/ata/atapi-all.c U sys/dev/ata/atapi-all.h U sys/dev/ata/atapi-cd.c U sys/dev/cnw/if_cnw.c U sys/dev/sound/isa/mss.c U sys/dev/sound/isa/mss.h U sys/dev/sound/pcm/ac97.c ? sys/i386/conf/LAPTOP_30W U sys/ia64/ia64/interrupt.c U sys/ia64/ia64/mp_machdep.c U sys/ia64/include/clock.h U sys/ia64/include/param.h U sys/kern/kern_intr.c U sys/kern/kern_lockf.c U sys/kern/kern_prot.c U sys/kern/kern_xxx.c U sys/kern/vnode_if.pl U sys/net/if_spppsubr.c U sys/netinet/in.h U sys/pc98/i386/machdep.c U sys/pc98/pc98/npx.c U sys/sys/types.h U sys/sys/utsname.h U sys/ufs/ffs/ffs_alloc.c U usr.bin/fetch/fetch.1 U usr.bin/fetch/fetch.c U usr.sbin/mptable/Makefile U usr.sbin/pkg_install/info/info.h U usr.sbin/pkg_install/info/main.c U usr.sbin/pkg_install/info/perform.c U usr.sbin/pkg_install/info/pkg_info.1 U usr.sbin/pkg_install/info/show.c U usr.sbin/pkg_install/lib/deps.c U usr.sbin/pkg_install/lib/exec.c U usr.sbin/pkg_install/lib/lib.h U usr.sbin/pkg_install/lib/match.c U usr.sbin/pkg_install/lib/msg.c U usr.sbin/pkg_install/lib/pen.c U usr.sbin/pkg_install/lib/str.c U usr.sbin/ppp/Makefile U usr.sbin/ppp/defs.h U usr.sbin/ppp/main.c U usr.sbin/ppp/systems.c U usr.sbin/sysinstall/config.c U usr.sbin/sysinstall/index.c U usr.sbin/sysinstall/install.c U usr.sbin/sysinstall/installUpgrade.c U usr.sbin/sysinstall/label.c U usr.sbin/sysinstall/menus.c U usr.sbin/sysinstall/sysinstall.8 U usr.sbin/sysinstall/wizard.c U usr.sbin/sysinstall/help/html.hlp U usr.sbin/sysinstall/help/options.hlp U usr.sbin/sysinstall/help/shortcuts.hlp dhcp-135[3] ^Dexit I had a PCcard in it, as usual -- a Cisco/Aironet 340 (an driver; the "messiness" around sys/dev/an up there is because I had been testing (for some time) the code that Archie committed). Here's a uni-diff of GENERIC vs. my kernel config. (I cheated a little: in my real config, I commented stuff (like SCSI-related things) out; for this exercise, I deleted the lines, then made the diff, so the result would be shorter & clearer.) --- GENERIC Fri Mar 16 12:22:15 2001 +++ LAPTOP_30W Sat Mar 24 10:54:09 2001 @@ -15,21 +15,29 @@ # device lines is also present in the NOTES configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in NOTES. # -# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.305 2001/03/12 21:51:07 jlemon Exp $ +# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.20 2000/10/31 23:16:07 n_hibma Exp $ machine i386 -cpu I486_CPU -cpu I586_CPU cpu I686_CPU -ident GENERIC -maxusers 32 +ident "LAPTOP_30W-C" +maxusers 128 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. -#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +# +# Enable the kernel debugger. +# +options DDB + +# +# The DIAGNOSTIC option is used to enable extra debugging information +# from some parts of the kernel. As this makes everything more noisy, +# it is disabled by default. +# +options DIAGNOSTIC -options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem @@ -71,50 +79,18 @@ device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives -device atapist # ATAPI tape drives +# device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers -device ahb # EISA AHA1742 family -device ahc # AHA2940 and onboard AIC7xxx devices -device amd # AMD 53C974 (Tekram DC-390(T)) -device isp # Qlogic family -#device ncr # NCR/Symbios Logic -device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') - -device adv # Advansys SCSI adapters -device adw # Advansys wide SCSI adapters -device aha # Adaptec 154x SCSI adapters -device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. -device bt # Buslogic/Mylex MultiMaster SCSI adapters - -device ncv # NCR 53C500 -device nsp # Workbit Ninja SCSI-3 -device stg # TMC 18C30/18C50 - -# RAID controllers interfaced to the SCSI subsystem -device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID -device dpt # DPT Smartcache III, IV - See NOTES for options! -device mly # Mylex AcceleRAID/eXtremeRAID - -# SCSI peripherals -device scbus # SCSI bus (required) -device da # Direct Access (disks) -device sa # Sequential Access (tape etc) -device cd # CD -device pass # Passthrough device (direct SCSI access) - -# RAID controllers -device aac # Adaptec FSA RAID -device amr # AMI MegaRAID -device ida # Compaq Smart RAID -device mlx # Mylex DAC960 family -device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc 1 # At keyboard controller device atkbd # at keyboard device psm # psm mouse +options PSM_HOOKRESUME #hook the system resume event, useful + #for some laptops +options PSM_RESETAFTERSUSPEND #reset the device at the resume event device vga # VGA screen @@ -138,6 +114,8 @@ device apm # Add suspend/resume support for the i8254. device pmtimer +# device acpica +# options ACPI_DEBUG # Audio support device pcm @@ -145,6 +123,8 @@ # PCCARD (PCMCIA) support device card # pccard bus device pcic # PCMCIA bridge +# You may need to reset all pccards after resuming +options PCIC_RESUME_RESET # reset after resume # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports @@ -180,25 +160,15 @@ device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard nics included. -device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards -device ex # Intel EtherExpress Pro/10 and Pro/10+ -device ep # Etherlink III based cards -device fe # Fujitsu MB8696x based cards -device sn # SMC's 9000 series of ethernet chips -device xe # Xircom pccard ethernet # The probe order of these is presently determined by i386/isa/isa_compat.c. -#device ie -#device le -device lnc # Wireless NIC cards device an # Aironet 4500/4800 802.11 wireless NICs. device awi # BayStack 660 and others device wi # WaveLAN/IEEE 802.11 wireless NICs. -#device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device @@ -214,18 +184,16 @@ # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! -device bpf # Berkeley packet filter +device bpf 3 # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) -#device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer -device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners ---->%--- snip! ----- As noted in my previous message, the diagnostic options were not present for the kernel that generated the appended message log. Here's what -STABLE (4.3-RC as of yesterday) reports on the machine for devices: dhcp-135[13] vmstat -i interrupt total rate ata0 irq14 2662 2 ata1 irq15 4 0 mux irq7 1 0 fdc0 irq6 2 0 atkbd0 irq1 3674 3 psm0 irq12 2565 2 clk irq0 103260 99 an0 irq3 4063 3 Total 116231 112 dhcp-135[14] Thanks, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. Mar 24 05:49:48 localhost /boot/kernel/kernel: Copyright (c) 1992-2001 The FreeBSD Project. Mar 24 05:49:48 localhost /boot/kernel/kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Mar 24 05:49:48 localhost /boot/kernel/kernel: The Regents of the University of California. All rights reserved. Mar 24 05:49:48 localhost /boot/kernel/kernel: FreeBSD 5.0-CURRENT #0: Fri Mar 23 08:28:02 PST 2001 Mar 24 05:49:48 localhost /boot/kernel/kernel: root@localhost:/common/obj/C/usr/src/sys/LAPTOP_30W Mar 24 05:49:48 localhost /boot/kernel/kernel: Timecounter "i8254" frequency 1193182 Hz Mar 24 05:49:48 localhost /boot/kernel/kernel: Timecounter "TSC" frequency 746339323 Hz Mar 24 05:49:48 localhost /boot/kernel/kernel: CPU: Pentium III/Pentium III Xeon/Celeron (746.34-MHz 686-class CPU) Mar 24 05:49:48 localhost /boot/kernel/kernel: Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Mar 24 05:49:48 localhost /boot/kernel/kernel: Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> Mar 24 05:49:48 localhost /boot/kernel/kernel: real memory = 268369920 (262080K bytes) Mar 24 05:49:48 localhost /boot/kernel/kernel: avail memory = 256671744 (250656K bytes) Mar 24 05:49:48 localhost /boot/kernel/kernel: Preloaded elf kernel "kernel" at 0xc044e000. Mar 24 05:49:48 localhost /boot/kernel/kernel: Pentium Pro MTRR support enabled Mar 24 05:49:48 localhost /boot/kernel/kernel: Using $PIR table, 7 entries at 0xc00fdf50 Mar 24 05:49:48 localhost /boot/kernel/kernel: npx0: <math processor> on motherboard Mar 24 05:49:48 localhost /boot/kernel/kernel: npx0: INT 16 interface Mar 24 05:49:48 localhost /boot/kernel/kernel: pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard Mar 24 05:49:48 localhost /boot/kernel/kernel: pci0: <PCI bus> on pcib0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pcib1: <PCI-PCI bridge> at device 1.0 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pci1: <PCI bus> on pcib1 Mar 24 05:49:48 localhost /boot/kernel/kernel: pci1: <display, VGA> at 0.0 (no driver attached) Mar 24 05:49:48 localhost /boot/kernel/kernel: pcic-pci0: <TI PCI-1420 PCI-CardBus Bridge> at device 4.0 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Mar 24 05:49:48 localhost /boot/kernel/kernel: pcic-pci1: <TI PCI-1420 PCI-CardBus Bridge> at device 4.1 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Mar 24 05:49:48 localhost /boot/kernel/kernel: isab0: <PCI-ISA bridge> at device 7.0 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: isa0: <ISA bus> on isab0 Mar 24 05:49:48 localhost /boot/kernel/kernel: atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: ata0: at 0x1f0 irq 14 on atapci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: ata1: at 0x170 irq 15 on atapci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 7 at device 7.2 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: usb0: USB revision 1.0 Mar 24 05:49:48 localhost /boot/kernel/kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Mar 24 05:49:48 localhost /boot/kernel/kernel: uhub0: 2 ports with 2 removable, self powered Mar 24 05:49:48 localhost /boot/kernel/kernel: pci0: <bridge, PCI-unknown> at 7.3 (no driver attached) Mar 24 05:49:48 localhost /boot/kernel/kernel: pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 7 at device 8.0 on pci0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pci0: <simple comms> at 16.0 (no driver attached) Mar 24 05:49:48 localhost /boot/kernel/kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 Mar 24 05:49:48 localhost /boot/kernel/kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 Mar 24 05:49:48 localhost /boot/kernel/kernel: kbd0 at atkbd0 Mar 24 05:49:48 localhost /boot/kernel/kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0 Mar 24 05:49:48 localhost /boot/kernel/kernel: psm0: model Generic PS/2 mouse, device ID 0 Mar 24 05:49:48 localhost /boot/kernel/kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Mar 24 05:49:48 localhost /boot/kernel/kernel: fdc0: FIFO enabled, 8 bytes threshold Mar 24 05:49:48 localhost /boot/kernel/kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0 Mar 24 05:49:48 localhost /boot/kernel/kernel: pcic0: Polling mode Mar 24 05:49:49 localhost /boot/kernel/kernel: pccard0: <PC Card bus -- kludge version> on pcic0 Mar 24 05:49:49 localhost /boot/kernel/kernel: pccard1: <PC Card bus -- kludge version> on pcic0 Mar 24 05:49:49 localhost /boot/kernel/kernel: pmtimer0 on isa0 Mar 24 05:49:49 localhost /boot/kernel/kernel: ppc0: parallel port not found. Mar 24 05:49:49 localhost /boot/kernel/kernel: sc0: <System console> at flags 0x100 on isa0 Mar 24 05:49:49 localhost /boot/kernel/kernel: sc0: VGA <16 virtual consoles, flags=0x300> Mar 24 05:49:49 localhost /boot/kernel/kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Mar 24 05:49:49 localhost /boot/kernel/kernel: sio0: type 16550A Mar 24 05:49:49 localhost /boot/kernel/kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Mar 24 05:49:49 localhost /boot/kernel/kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Mar 24 05:49:49 localhost /boot/kernel/kernel: unknown: <PNP0303> can't assign resources Mar 24 05:49:49 localhost /boot/kernel/kernel: unknown: <PNP0501> can't assign resources Mar 24 05:49:49 localhost /boot/kernel/kernel: unknown: <PNP0700> can't assign resources Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master UDMA33 Mar 24 05:49:49 localhost /boot/kernel/kernel: acd0: CD-RW <UJDA310> at ata1-master PIO4 Mar 24 05:49:49 localhost /boot/kernel/kernel: Mounting root from ufs:/dev/ad0s3a Mar 24 05:49:49 localhost /boot/kernel/kernel: pccard: card inserted, slot 1 Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4: raw partition size != slice size Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4: start 4173120, end 5231519, size 1058400 Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4c: start 4173120, end 6259679, size 2086560 Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4: truncating raw partition Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4: rejecting partition in BSD label: it isn't entirely within the slice Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4: start 4173120, end 5231519, size 1058400 Mar 24 05:49:49 localhost /boot/kernel/kernel: ad0s4e: start 4369728, end 6259679, size 1889952 Mar 24 05:49:52 localhost pccardd[212]: Card "Cisco Systems"("340 Series Wireless LAN Adapter") [(null)] [(null)] matched "Cisco Systems" ("340 Series Wireless LAN Adapter") [(null)] [(null)] Mar 24 05:50:00 localhost /boot/kernel/kernel: an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 3 slot 1 on pccard1 Mar 24 05:50:00 localhost /boot/kernel/kernel: an0: Ethernet address: 00:40:96:32:19:a9 Mar 24 05:50:00 localhost pccardd[212]: an0: Cisco Systems (340 Series Wireless LAN Adapter) inserted. Mar 24 05:50:00 localhost pccard:an0: Cisco Aironet 340 inserted Mar 24 05:50:04 localhost pccard:an0: Interface an0 set up Mar 24 05:50:04 localhost dhclient: New IP Address(an0): 172.16.8.135 Mar 24 05:50:04 localhost dhclient: New Subnet Mask (an0): 255.255.255.0 Mar 24 05:50:04 localhost dhclient: New Broadcast Address(an0): 172.16.8.255 Mar 24 05:50:04 localhost dhclient: New Routers: 172.16.8.1 Mar 24 05:50:04 localhost dhclient: New Hostname: dhcp-135.catwhisker.org Mar 24 05:50:04 localhost pccardd[212]: pccardd started Mar 24 05:50:45 localhost sudo: david : TTY=ttyv1 ; PWD=/var/tmp ; USER=root ; COMMAND=/usr/bin/script -a current Mar 24 07:43:01 localhost reboot: rebooted by david Mar 24 07:43:02 localhost syslogd: exiting on signal 15 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103241930.f2OJU4x05908>