From owner-freebsd-mobile Tue Nov 7 12:23:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from post.it.helsinki.fi (post.it.helsinki.fi [128.214.205.24]) by hub.freebsd.org (Postfix) with ESMTP id 0FF7D37B479 for ; Tue, 7 Nov 2000 12:23:44 -0800 (PST) Received: from mursu.pesa.fi (root@sirppi.helsinki.fi [128.214.205.27]) by post.it.helsinki.fi (8.11.1/8.11.0-SPAMmers-sod-off) with ESMTP id eA7KNfG22046 for ; Tue, 7 Nov 2000 22:23:41 +0200 (EET) Received: (from poku@localhost) by mursu.pesa.fi (8.11.1/8.11.1) id eA7KNX318295; Tue, 7 Nov 2000 22:23:33 +0200 (EET) (envelope-from poku@mursu.pesa.fi) To: mobile@FreeBSD.ORG Subject: hangs with the APA-1460 From: Jussi Reissell Date: 07 Nov 2000 22:23:32 +0200 Message-ID: <8766lzh6pn.fsf@mursu.pesa.fi> Lines: 70 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After an upgrade from 3.4 to 4.1.1 I started to see hangs with my Adaptec SCSI pccard. So, I cvsup'ed to 4.2-BETA to see what would happen. So far, no luck. Here's what happens. I insert the card (with a Zip drive attached) and get the kernel messages: pccard: card inserted, slot 1 aic1: at port 0x340-0x35f irq 11 \ slot 1 on pccard1 aic1: aic6360, dma, disconnection, parity check At this point, nothing happens. The machine looks to be hung, but apparently it isn't quite yet since it comes to life when I pull the card out only to say: (probe6:-1065184176:-1010556672:6:0): ccb 0xc084ec00 - timed \ out, phase 0xff, state 4 and then it promptly drops into the debugger: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x62642e8a fault code = supervisor read, page not present instruction pointer = 0x8:0xc0125de1 stack pointer = 0x10:0xc02cfd88 frame pointer = 0x10:0xc02cfd88 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrrupt mask = cam kernel: type 12 trap, code=0 Stopped at xpt_freeze_simq+0x9: movl 0x24(%edx),%eax Trace shows: xpt_feeze_simq(0c81afc0,1,c084910c,c0134318,400000) at \ xpt_freeze_simq+0x9 aic_timeout(c084910c,400000,0,0,ffffffff) at aic_timeout+0xc1 softclock(0,10,10,10,ffffffff) at softclock+0xd1 doreti_swi() at doreti_swi+0xf The pccard relevant dmesg output is: pcic-pci0: port \ 0x3e0-0x3e3 at device 4.0 on pci0 ... pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 The kernel config is: ... device scbus # SCSI bus (required) device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) # CAM options options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device ... device aic0 at isa? ... device card device pcic0 at isa? port 0x3e0 iomem 0xd0000 # polling The pccard.conf only contains an irq line, otherwise it's /etc/defaults all the way. jussi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message