Date: Mon, 25 Feb 2002 22:39:30 -0700 From: "Kenneth D. Merry" <ken@kdm.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Glenn Gombert <ggombert@imatowns.com>, Andrew Kenneth Milton <akm@theinternet.com.au>, current@FreeBSD.ORG, joe@FreeBSD.ORG, n_hibma@FreeBSD.ORG Subject: Re: -current hangs with SMP enabled Message-ID: <20020225223929.A56577@panzer.kdm.org> In-Reply-To: <200202260529.g1Q5TiB56359@apollo.backplane.com>; from dillon@apollo.backplane.com on Mon, Feb 25, 2002 at 09:29:44PM -0800 References: <20020224175635.A47442@panzer.kdm.org> <20020224175635.A47442@panzer.kdm.org> <20020225111513.G40004@zeus.theinternet.com.au> <3.0.6.32.20020224210202.00da4f18@imatowns.com> <20020224193029.A48055@panzer.kdm.org> <200202250715.g1P7FYi46805@apollo.backplane.com> <20020225221648.A56396@panzer.kdm.org> <200202260529.g1Q5TiB56359@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 25, 2002 at 21:29:44 -0800, Matthew Dillon wrote: > > :> Just as a data point, I've been running -current on a 2xCPU SMP > :> system (DELL2550) for a few weeks and it's always booted fine. > :> > :> For the last few months I have noticed occassional freezes occuring > :> at odd times long after boot. I have no idea why it happens. > : > :Your config works! > : > :I've attached the dmesg. Now the question is, what is the difference > :between GENERIC and your config that is causing the problem? > : > :(I suppose it makes sense that your config would work, since I think that > :Dell is a Serverworks-based system too.) > : > :I'll see if I can figure it out... > : > :Ken > :-- > :Kenneth Merry > > Wow, I didn't actually expect my config would make things work > differenty on your box. I'm very interested in whatever you > turn up. The answer is...the USB code. [ Nick and Joe CCed ] If I comment out the following lines in my standard config for this machine, SMP works: # 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 # USB Ethernet, requires mii device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet The USB module is still loaded when usbd cranks up, but it doesn't hang the machine when it is loaded as a module. I've tried two kernels, with the only difference being whether the usb code (as listed above) is enabled or not. The kernel with the USB stuff hangs. I've attached dmesg output from the working boot. Ken -- Kenneth Merry ken@kdm.org --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.gondolin.nousb" Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #4: Mon Feb 25 22:23:37 MST 2002 ken@gondolin.kdm.org:/usr/home/ken/perforce/FreeBSD-ken/src/sys/i386/compile/gondolin Preloaded elf kernel "/boot/kernel.gondolin.smp/kernel" at 0xc04c7000. Preloaded elf module "/boot/kernel.gondolin.smp/acpi.ko" at 0xc04c70b8. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1266.07-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 2684289024 (2621376K bytes) avail memory = 2609504256 (2548344K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 Pentium Pro MTRR support enabled Using $PIR table, 10 entries at 0xc00f52e0 ACPI-0204: *** Error: AcpiLoadTables: Could not load namespace: AE_NOT_FOUND ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NOT_FOUND ACPI: table load failed: AE_NOT_FOUND npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <ServerWorks host to PCI bridge> at pcibus 0 on motherboard IOAPIC #1 intpin 10 -> irq 2 IOAPIC #1 intpin 11 -> irq 5 IOAPIC #1 intpin 15 -> irq 9 pci0: <PCI bus> on pcib0 pcib1: <PCI-PCI bridge> at device 0.1 on pci0 IOAPIC #1 intpin 14 -> irq 11 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd000-0xd0ff mem 0xfeafc000-0xfeafcfff irq 2 at device 5.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 5 at device 5.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd400-0xd43f mem 0xfe900000-0xfe9fffff,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on pci0 fxp0: Ethernet address 00:30:48:21:bb:74 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <ServerWorks ROSB4 ATA33 controller> port 0xffa0-0xffaf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <serial bus, USB> at device 15.2 (no driver attached) pcib2: <ServerWorks host to PCI bridge> at pcibus 2 on motherboard IOAPIC #1 intpin 8 -> irq 16 pci2: <PCI bus> on pcib2 ti0: <Netgear GA620 1000baseT Gigabit Ethernet> mem 0xfebfc000-0xfebfffff irq 16 at device 2.0 on pci2 ti0: Ethernet address: 00:02:e3:00:34:10 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it orm0: <Option ROMs> at iomem 0xd1800-0xd27ff,0xc0000-0xcbfff on isa0 fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> pmtimer0 on isa0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 Waiting 2 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST318406LW 0108> Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da1 at ahc0 bus 0 target 1 lun 0 da1: <SEAGATE ST318406LW 0108> Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da2 at ahc0 bus 0 target 2 lun 0 da2: <IBM DDYS-T36950N S93E> Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da3 at ahc0 bus 0 target 3 lun 0 da3: <IBM DDYS-T36950N S93E> Fixed Direct Access SCSI-3 device da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da3: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) Mounting root from ufs:/dev/da1s1a cd0 at ahc1 bus 0 target 6 lun 0 cd0: <PLEXTOR CD-ROM PX-6XCS 1.03> Removable CD-ROM SCSI-2 device cd0: 5.000MB/s transfers (5.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present SMP: AP CPU #1 Launched! ohci0: <OHCI (generic) USB controller> mem 0xfeafe000-0xfeafefff irq 10 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered --uAKRQypu60I7Lcqm-- 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?20020225223929.A56577>