From owner-freebsd-smp Thu Jan 28 21:06:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20927 for freebsd-smp-outgoing; Thu, 28 Jan 1999 21:06:15 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20919 for ; Thu, 28 Jan 1999 21:06:12 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id WAA00505; Thu, 28 Jan 1999 22:06:04 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199901290506.WAA00505@panzer.plutotech.com> Subject: Re: interesting panic, probably PCI code In-Reply-To: <199901282219.XAA09140@midten.fast.no> from "Tor.Egge@fast.no" at "Jan 28, 99 11:19:28 pm" To: Tor.Egge@fast.no Date: Thu, 28 Jan 1999 22:06:04 -0700 (MST) Cc: smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM917586364-462-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --ELM917586364-462-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Tor.Egge@fast.no wrote... > > > > I got this panic tonight while trying to add USB support to my kernel. The > > code I'm running is from just before the -current/-stable split, probably > > about January 19th. > > The mp table does not have an entry for the USB host controller, and is > thus broken. > > By applying the following (untested) patch, the panic might be avoided, > but interrupt delivery will probably not work for that device until > the mp table is corrected or a workaround is found. Thanks! That did avoid the panic, and I was able to boot just fine. I also updated the BIOS, and was able to boot with an unpatched kernel. FWIW, I have an ASUS P/I-P65UP5 with a C-P6ND CPU card. The mptable looks different now, I suppose updating the BIOS did the trick. The new mptable and dmesg are attached. Thanks again, Ken -- Kenneth Merry ken@plutotech.com --ELM917586364-462-0_ Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=panzer.mptable.012899 Content-Description: panzer.mptable.012899 Content-Transfer-Encoding: 7bit =============================================================================== MPTable, version 2.0.15 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00 searching CMOS 'top of mem' @ 0x0009f800 (638K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f6730 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f6730 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x00 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f632e signature: 'PCMP' base table length: 300 version: 1.4 checksum: 0x7e OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 29 local APIC address: 0xfee00000 extended table length: 124 extended table checksum: 29 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 1 0x11 BSP, usable 6 1 7 0xfbff 0 0x11 AP, usable 6 1 7 0xfbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 2 0 2 0 INT conforms conforms 2 1 2 1 INT conforms conforms 2 0 2 2 INT conforms conforms 2 3 2 3 INT conforms conforms 2 4 2 4 INT conforms conforms 2 5 2 5 INT conforms conforms 2 6 2 6 INT conforms conforms 2 7 2 7 INT conforms conforms 2 8 2 8 INT conforms conforms 2 9 2 9 INT conforms conforms 2 10 2 10 INT conforms conforms 2 11 2 11 INT conforms conforms 2 12 2 12 INT conforms conforms 2 15 2 15 INT active-lo level 0 1:D 2 19 INT active-lo level 1 4:A 2 19 INT active-lo level 1 5:A 2 16 INT active-lo level 0 10:A 2 18 INT active-lo level 0 11:A 2 17 INT active-lo level 0 12:A 2 16 INT active-lo level 0 13:A 2 19 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 255 0 NMI active-hi edge 2 0 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: -- bus ID: 0 address type: I/O address address base: 0x0 address range: 0x10000 -- bus ID: 0 address type: memory address address base: 0xc000000 address range: 0xda7f0000 -- bus ID: 0 address type: prefetch address address base: 0xe67f0000 address range: 0x1810000 -- bus ID: 0 address type: memory address address base: 0xe8000000 address range: 0x18000000 -- bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x20000 -- bus ID: 2 bus info: 0x01 parent bus ID: 0-- bus ID: 0 address modifier: add predefined range: 0x00000000-- bus ID: 0 address modifier: add predefined range: 0x00000001 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=3 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Wed Jan 27 21:02:51 MST 1999 ken@panzer.plutotech.com:/usr/home/ken/perforce/cam/sys/compile/panzer Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping=7 Features=0xfbff real memory = 201326592 (196608K bytes) avail memory = 192417792 (187908K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel.new" at 0xf0309000. Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 uhci0: rev 0x01 int d irq 19 on pci0.1.2 chip2: rev 0x02 on pci0.9.0 de0: rev 0x11 int a irq 18 on pci0.10.0 de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.1 de0: address 00:00:c0:5c:d2:be de0: enabling 10baseT port bktr0: rev 0x11 int a irq 17 on pci0.11.0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 iic0: on iicbus0 smbus1: on bti2c0 smb1: on smbus1 Hauppauge WinCast/TV, Philips NTSC tuner, dbx stereo. de1: rev 0x12 int a irq 16 on pci0.12.0 de1: SMC 9332DST 21140 [10-100Mb/s] pass 1.2 de1: address 00:00:c0:53:3d:e7 de1: enabling 10baseT port vga0: rev 0x01 int a irq 19 on pci0.13.0 Probing for devices on PCI bus 1: ahc0: rev 0x00 int a irq 19 on pci1.4.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x00 int a irq 16 on pci1.5.0 ahc1: aic7880 Wide Channel B, SCSI Id=7, 16/255 SCBs Probing for PnP devices: CSN 1 Vendor ID: GRV0001 [0x0100561e] Serial 0x00000001 Comp ID: PNPb02f [0x2fb0d041] mss_attach 1 at 0x328 irq 11 dma 6:5 flags 0x15 pcm1 (GusPnP sn 0x00000001) at 0x328-0x32f irq 11 drq 6 flags 0x15 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x30 on isa sio0: type 16550A, console sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in pcm0 not found vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface usb0: uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging limited to 100 packets/entry Waiting 2 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) da1 at ahc1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 8705MB (17829870 512 byte sectors: 255H 63S/T 1109C) changing root device to da0s2a ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates cd0 at ahc1 bus 0 target 4 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.0MB/s transfers (10.0MHz, offset 15) cd0: cd present [248388 x 2048 byte records] (da0:ahc0:0:0:0): tagged openings now 31 (da0:ahc0:0:0:0): tagged openings now 30 =============================================================================== --ELM917586364-462-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message