Skip site navigation (1)Skip section navigation (2)
Date:      07 Nov 2000 22:23:32 +0200
From:      Jussi Reissell <reissell@cc.helsinki.fi>
To:        mobile@FreeBSD.ORG
Subject:   hangs with the APA-1460
Message-ID:  <8766lzh6pn.fsf@mursu.pesa.fi>

next in thread | raw e-mail | index | archive | help
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: <Adaptec 6260/6360 SCSI controller> 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: <Cirrus Logic PD6729/6730 PC-Card Controller> port \
0x3e0-0x3e3 at device 4.0 on pci0
...
pcic0: <Cirrus Logic PD672X> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8766lzh6pn.fsf>