Date: Tue, 11 Nov 2003 10:39:42 +0000 (GMT) From: Nicol Morozov <nicol@aokp.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/59166: System hangs when detecting hand drives on Adaptec AIC7902 if SMP is enabled Message-ID: <20031111103942.4ECE11144B@srv.douglas.ru> Resent-Message-ID: <200311110750.hAB7oN75057393@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59166 >Category: kern >Synopsis: System hangs when detecting hand drives on Adaptec AIC7902 if SMP is enabled >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 10 23:50:22 PST 2003 >Closed-Date: >Last-Modified: >Originator: Nicol Morozov >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: Auric Vision >Environment: FreeBSD 5.1-RELEASE-p10 #3: Mon Nov 10 20:12:00 GMT 2003 root@douglas.ru:/usr/src/sys/i386/compile/DOUGLAS Preloaded elf kernel "/boot/kernel/kernel" at 0xc0446000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04461f4. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1993576224 Hz CPU: Intel(R) Xeon(TM) CPU 2.00GHz (1993.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs real memory = 2147418112 (2047 MB) avail memory = 2085629952 (1989 MB) Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <IntelR AWRDACPI> on motherboard pcibios: BIOS version 2.10 Using $PIR table, 18 entries at 0xc00fde30 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_cpu1: <CPU> on acpi0 acpi_cpu2: <CPU> on acpi0 acpi_cpu3: <CPU> on acpi0 acpi_tz0: <thermal zone> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <unknown> at device 0.1 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P64A - AE_NOT_FOUND pci1: <ACPI PCI bus> on pcib1 pci1: <base peripheral, interrupt controller> at device 28.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci1 pci2: <ACPI PCI bus> on pcib2 em0: <Intel(R) PRO/1000 Network Connection, Version - 1.5.31> port 0xa000-0xa03f mem 0xfa000000-0xfa01ffff irq 15 at device 9.0 on pci2 em0: Speed:N/A Duplex:N/A em1: <Intel(R) PRO/1000 Network Connection, Version - 1.5.31> port 0xa400-0xa43f mem 0xfa020000-0xfa03ffff irq 15 at device 9.1 on pci2 em1: Speed:10 Mbps Duplex:Half pci1: <base peripheral, interrupt controller> at device 30.0 (no driver attached) pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci1 pci3: <ACPI PCI bus> on pcib3 ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0xb400-0xb4ff,0xb000-0xb0ff mem 0xf9000000-0xf9001fff irq 15 at device 7.0 on pci3 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0xbc00-0xbcff,0xb800-0xb8ff mem 0xf9002000-0xf9003fff irq 15 at device 7.1 on pci3 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs pci0: <unknown> at device 2.1 (no driver attached) pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pci4: <display, VGA> at device 5.0 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 UDMA100 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 orm0: <Option ROMs> at iomem 0xd3000-0xd47ff,0xd1000-0xd27ff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0% ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA100 acd0: CDROM <QSI CD-ROM SCR-242> at ata0-slave PIO4 Waiting 15 seconds for SCSI devices to settle da0 at ahd1 bus 0 target 0 lun 0 da0: <SEAGATE ST336607LC 0006> Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) da1 at ahd1 bus 0 target 1 lun 0 da1: <SEAGATE ST336607LC 0006> Fixed Direct Access SCSI-3 device da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) Mounting root from ufs:/dev/da0s1a >Description: This is a Dual Xeon 2000Mhz with 2GB Memory. Integrated dual chanel Adaptec AIC7902 Ultra320 SCSI adapter. If I build SMP Kernel options SMP options APIC_IO System hangs after line Waiting 15 seconds for SCSI devices to settle If I comment this lines in kernel configuration build install kernel system works normaly Kernel Configuration : machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident DOUGLAS options SCHED_4BSD options INET options FFS options SOFTUPDATES options UFS_ACL options UFS_DIRHASH options MSDOSFS options CD9660 options PROCFS options PSEUDOFS options COMPAT_43 options COMPAT_FREEBSD4 options SCSI_DELAY=15000 options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options AHD_REG_PRETTY_PRINT options INVARIANT_SUPPORT #options SMP #options APIC_IO device isa device pci device fdc device ata device atadisk device atapicd device atapifd device atapist options ATA_STATIC_ID device ahd device scbus device ch device da device sa device cd device pass device ses device atkbdc device atkbd device psm device vga device splash device sc device agp device npx device apm device pmtimer device sio device ppc device ppbus device lpt device plip device ppi device em device random device loop device ether device tun device pty device bpf options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_FORWARD options IPDIVERT >How-To-Repeat: Uncomment SMP and APIC_IO options in above kernel configurastion. Compile, install and reboot with new kernel. Ps. Starnge thing : First time when i reboot with this kernel system boots normaly >Fix: >Release-Note: >Audit-Trail: >Unformatted: >How-To-Fix: Don't know
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111103942.4ECE11144B>