From owner-freebsd-current Fri Mar 10 15: 2:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.iae.nl (mail.iae.nl [194.151.64.19]) by hub.freebsd.org (Postfix) with ESMTP id AD8AD37BBC2 for ; Fri, 10 Mar 2000 15:02:34 -0800 (PST) (envelope-from hansot@iae.nl) Received: from iae.nl (pm17d180.iae.nl [212.61.3.180]) by mail.iae.nl (Postfix) with ESMTP id AC6E420F19; Sat, 11 Mar 2000 00:02:28 +0100 (CET) Message-ID: <38C97F03.733B1AA0@iae.nl> Date: Sat, 11 Mar 2000 00:02:27 +0100 From: Hans Ottevanger X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Soren Schmidt Cc: current@FreeBSD.ORG Subject: Re: RC3 install floppies: panic: resource_list_alloc: resource entry is busy References: <200003100804.JAA99578@freebsd.dk> Content-Type: multipart/mixed; boundary="------------660E6D1FF97F825A67EFD117" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------660E6D1FF97F825A67EFD117 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Soren Schmidt wrote: > [...] > Hmm, seems to be a resource conflict problem, question is what is > causing this. Could you do a verbose boot both with the old > working kernel, and the new failing one ? > Attached are two files. Both kernels used are built from the same config file, which is mostly GENERIC with devices removed that I do not have. The file "new" results from booting a kernel built completely from sources cvsupped yesterday. For "old" I replaced the contents of /sys/dev/ata by the files of February 17, i.e. before the major changes. I must remark that this is one of the machines that reports its IDE IRQ as 0 when asked for it. About two months ago there were problems when the ata driver took the timer interrupt. This was fixed by a special clause in ata-all.c, at least up to February 17. Maybe the current problem is related. > > This machine has an Intel motherboard with a Mercury chipset, 64 Mbyte > > RAM, Matrox Millenium II, two Western Digital disks, and it ran all > > previous FreeBSD releases perfectly for almost five years. > > Yeah I notice the RZ 1000 chips in there, BE CAREFULL, I wouldn't > use this for anything I cared about... For serious work I now have two BP6 based machines, this became just a testmachine. I know about the possible data corruption problems with RZ1000 chips, but I have never seen them with FreeBSD, despite the fact that I did a "make world" every other week for more than two years. However, if you run Linux or Solaris on this machine, and forget to switch off the EIDE prefetch buffers, the results can be quite dramatic... Kind regards, Hans --------------660E6D1FF97F825A67EFD117 Content-Type: text/plain; charset=us-ascii; name="new" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="new" SMAP type=01 base=00000000 00000000 len=00000000 0009fc00 SMAP type=01 base=00000000 00100000 len=00000000 03f00000 SMAP type=02 base=00000000 fffc0000 len=00000000 00040000 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 Mar 10 21:43:07 CET 2000 root@myhost.my.domain:/usr/src/sys/compile/CUSTOM Calibrating clock(s) ... TSC clock: 66643091 Hz, i8254 clock: 1300543 Hz 1300543 Hz differs from default of 1193182 Hz by more than 1% Timecounter "i8254" frequency 1193182 Hz TSC clock: 48650664 Hz (Method B) Timecounter "TSC" frequency 48650664 Hz CPU: Pentium/P5 (48.65-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x517 Stepping = 7 Features=0x1bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x002d1000 - 0x03ff7fff, 64122880 bytes (15655 pages) avail memory = 62267392 (60808K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f0120 bios32: Entry = 0xf145c (c00f145c) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x1440 pnpbios: Found PnP BIOS data at 0xc00f0130 pnpbios: Entry = f0000:1245 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc02b8000. Intel Pentium detected, installing workaround for F00F bug pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x00000000 (0x80000000) pci_open(1b): mode1res=0x00000000 (0xff000001) pci_open(2): mode 2 enable port (0x0cf8) is 0x00 pci_open(2a): mode2res=0x0e (0x0e) pci_open(2a): now trying mechanism 2 pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=04a38086) npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 54761513 bytes/sec bzero() bandwidth = 27416038 bytes/sec pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x00000000 (0x80000000) pci_open(1b): mode1res=0x00000000 (0xff000001) pci_open(2): mode 2 enable port (0x0cf8) is 0x00 pci_open(2a): mode2res=0x0e (0x0e) pci_open(2a): now trying mechanism 2 pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=04a38086) pcib0: on motherboard found-> vendor=0x8086, dev=0x04a3, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x1042, dev=0x1000, revid=0x01 class=01-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 000001f0, size 3 map[14]: type 1, range 32, base 000003f4, size 2 found-> vendor=0x8086, dev=0x0484, revid=0x03 class=00-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x102b, dev=0x051b, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base a0000000, size 24 map[14]: type 1, range 32, base a1000000, size 14 map[18]: type 1, range 32, base a1800000, size 23 found-> vendor=0x10b7, dev=0x9200, revid=0x74 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000fc80, size 7 map[14]: type 1, range 32, base ffbffc00, size 7 pci0: on pcib0 CPU: Pentium, 66MHz, CPU->Memory posting ON, read around write Warning: Cache parity disabled! Warning: DRAM parity mask! Cache: 256KB writeback, cache clocks=3-2-2-2/4-2-2-2 Cache flags: cache-all byte-control DRAM: page mode memory clocks=X-4-4-4 (70ns) CPU->PCI: posting ON, burst mode ON, PCI clocks=2-1-1-1 PCI->Memory: posting ON Refresh: RAS#Only BurstOf4 atapci0: port 0x3f4-0x3f7,0x1f0-0x1f7 at device 1.0 on pci0 atapci0: Busmastering DMA not supported panic: resource_list_alloc: resource entry is busy Debugger("panic") Stopped at Debugger+0x35: movb $0,in_Debugger.372 db> --------------660E6D1FF97F825A67EFD117 Content-Type: text/plain; charset=us-ascii; name="old" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="old" SMAP type=01 base=00000000 00000000 len=00000000 0009fc00 SMAP type=01 base=00000000 00100000 len=00000000 03f00000 SMAP type=02 base=00000000 fffc0000 len=00000000 00040000 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 Mar 10 22:57:58 CET 2000 root@myhost.my.domain:/home/src/sys/compile/CUSTOM Calibrating clock(s) ... TSC clock: 66643293 Hz, i8254 clock: 1193159 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 66643293 Hz CPU: Pentium/P5 (66.64-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x517 Stepping = 7 Features=0x1bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x002cf000 - 0x03ff7fff, 64131072 bytes (15657 pages) avail memory = 62275584 (60816K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f0120 bios32: Entry = 0xf145c (c00f145c) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x1440 pnpbios: Found PnP BIOS data at 0xc00f0130 pnpbios: Entry = f0000:1245 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Intel Pentium detected, installing workaround for F00F bug pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x00000000 (0x80000000) pci_open(1b): mode1res=0x00000000 (0xff000001) pci_open(2): mode 2 enable port (0x0cf8) is 0x00 pci_open(2a): mode2res=0x0e (0x0e) pci_open(2a): now trying mechanism 2 pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=04a38086) npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 75058170 bytes/sec bzero() bandwidth = 37572797 bytes/sec pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x00000000 (0x80000000) pci_open(1b): mode1res=0x00000000 (0xff000001) pci_open(2): mode 2 enable port (0x0cf8) is 0x00 pci_open(2a): mode2res=0x0e (0x0e) pci_open(2a): now trying mechanism 2 pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=04a38086) pcib0: on motherboard found-> vendor=0x8086, dev=0x04a3, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x1042, dev=0x1000, revid=0x01 class=01-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 000001f0, size 3 map[14]: type 1, range 32, base 000003f4, size 2 found-> vendor=0x8086, dev=0x0484, revid=0x03 class=00-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x102b, dev=0x051b, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base a0000000, size 24 map[14]: type 1, range 32, base a1000000, size 14 map[18]: type 1, range 32, base a1800000, size 23 found-> vendor=0x10b7, dev=0x9200, revid=0x74 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000fc80, size 7 map[14]: type 1, range 32, base ffbffc00, size 7 pci0: on pcib0 CPU: Pentium, 66MHz, CPU->Memory posting ON, read around write Warning: Cache parity disabled! Warning: DRAM parity mask! Cache: 256KB writeback, cache clocks=3-2-2-2/4-2-2-2 Cache flags: cache-all byte-control DRAM: page mode memory clocks=X-4-4-4 (70ns) CPU->PCI: posting ON, burst mode ON, PCI clocks=2-1-1-1 PCI->Memory: posting ON Refresh: RAS#Only BurstOf4 ata-pci0: port 0x3f4-0x3f7,0x1f0-0x1f7 at device 1.0 on pci0 ata-pci0: Busmastering DMA not supported ata0: iobase=0x01f0 altiobase=0x03f4 bmaddr=0x0000 ata0: mask=03 status0=50 status1=50 ata0: mask=03 status0=50 status1=50 ata0: devices = 0x3 ata0 at 0x01f0 irq 14 on ata-pci0 isab0: at device 2.0 on pci0 Bus Modes: Bus Park, Resource Lock, Coprocessor errors enabled Keyboard controller: 60h,62h,64h,66h RTC: 70h-77h Port 92: enabled isa0: on isab0 pci0: (vendor=0x102b, dev=0x051b) at 12.0 irq 11 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfc80-0xfcff mem 0xffbffc00-0xffbffc7f irq 10 at device 14.0 on pci0 xl0: Ethernet address: 00:50:04:d8:b3:c4 xl0: media options word: a xl0: found MII/AUTO miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: xl0 attached Trying Read_Port at 203 Trying Read_Port at 243 CTL0001: start dependant CTL0001: adding irq mask 0x20 CTL0001: adding dma mask 0x2 CTL0001: adding dma mask 0x20 CTL0001: adding io range 0x220-0x22f, size=0x10, align=0x1 CTL0001: adding io range 0x330-0x331, size=0x2, align=0x1 CTL0001: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0001: start dependant CTL0001: adding irq mask 0x6a0 CTL0001: adding dma mask 0xa CTL0001: adding dma mask 0xa0 CTL0001: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0001: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0001: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0001: start dependant CTL0001: adding irq mask 0x6a0 CTL0001: adding dma mask 0xa CTL0001: adding dma mask 0xa0 CTL0001: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0001: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0001: start dependant CTL0001: adding irq mask 0x6a0 CTL0001: adding dma mask 0xa CTL0001: adding dma mask 0xa0 CTL0001: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0001: start dependant CTL0001: adding irq mask 0x6a0 CTL0001: adding dma mask 0xa CTL0001: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0001: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0001: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0001: start dependant CTL0001: adding irq mask 0x6a0 CTL0001: adding dma mask 0xa CTL0001: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0001: end dependant CTL7001: adding io range 0x200-0x207, size=0x8, align=0x1 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: 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 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata1: mask=01 status0=00 status1=ff ata1: mask=01 status0=00 status1=ffffffff ata1: devices = 0x4 ata1 at port 0x170 irq 15 on isa0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x1d0000 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 60 4f 50 83 55 81 bf 1f 00 4f 0d 0e 00 00 05 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x61 0x71 0x61 0x61 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1: irq maps: 0x61 0x69 0x61 0x61 sio1 at port 0x2f8-0x2ff irq 3 flags 0x30 on isa0 sio1: type 16550A, console ppc0: parallel port found at 0x378 ppc0: ECP SPP ECP+EPP SPP ppc_detect_fifo: PWord not supported ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port isa_probe_children: probing PnP devices unknown0: