Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 12:37:12 -0000
From:      "henry" <henry@jot.to>
To:        <freebsd-scsi@freebsd.org>
Subject:   5.3-Stable panics on boot after detecting mpt1
Message-ID:  <F95485DF26265D4DA8D25DABFE90E2408FD9FC@qed.netcraft.com>

next in thread | raw e-mail | index | archive | help
5.3-Stable as of 3rd Jan 2005.
Hardware known good previously.

2 Scsi controllers, one onboard Adaptec, one 64bit PCI card LSI Logic 1030
(correctly identified below)

No devices attached to the LSI card (there was but I am trying to make the
environment simpler for debugging).

Boot messages snipit:
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xe000-0xe0ff mem
0xfeb40000-0xfeb5ffff,0xfeb60000-0xfeb7ffff irq 24 at device 1.0 on pci1
mpt0: Reserved 0x20000 bytes for rid 0x14 type 3 at 0xfeb60000
mpt0: [GIANT-LOCKED]
mpt0: soft reset
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0xe400-0xe4ff mem
0xfeb80000-0xfeb9ffff,0xfeba0000-0xfebbffff irq 25 at device 1.1 on pci1
mpt1: linking with peer (mpt0)
mpt1: Reserved 0x20000 bytes for rid 0x14 type 3 at 0xfeba0000
panic: pmap_mapdev: Couldn't alloc kernel virtual memory

I can also provide backtrace from KDB but would like to know what is
"interesting" to people here first because I will be copying by hand (time
to setup a serial console?).

Any pointers?

Partial (but fuller than the above) verbose boot message captured from a
subsequent boot
        map[10]: type 1, range 32, base fe5fc000, size 12, enabled
        map[14]: type 4, range 32, base 0000c000, size  6, enabled
        map[18]: type 1, range 32, base fe200000, size 20, enabled
pcib0: slot 4 INTA routed to irq 22
found-> vendor=0x8086, dev=0x1229, revid=0x08
        bus=0, slot=4, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000
ns)
        intpin=a, irq=22
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type 1, range 32, base fe5fd000, size 12, enabled
        map[14]: type 4, range 32, base 0000c400, size  6, enabled
        map[18]: type 1, range 32, base fe400000, size 20, enabled
pcib0: slot 6 INTA routed to irq 31
found-> vendor=0x8086, dev=0x1229, revid=0x08
        bus=0, slot=6, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000
ns)
        intpin=a, irq=31
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[90]: type 4, range 32, base 00000580, size  4, enabled
found-> vendor=0x1166, dev=0x0200, revid=0x50
        bus=0, slot=15, func=0
        class=06-01-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0007, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[20]: type 4, range 32, base 0000ffa0, size  4, enabled
found-> vendor=0x1166, dev=0x0211, revid=0x00
        bus=0, slot=15, func=1
        class=01-01-8a, hdrtype=0x00, mfdev=1
        cmdreg=0x0005, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        map[10]: type 1, range 32, base fffff000, size 12, memory disabled
found-> vendor=0x1166, dev=0x0220, revid=0x04
        bus=0, slot=15, func=2
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
        intpin=a, irq=255
pci0: <display, VGA> at device 3.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xc000-0xc03f mem
0xfe200000-0xfe2fffff,0xfe5fc000-0xfe5fcfff irq 22 at device 4.0 on pci0
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe5fc000
fxp0: using memory space register mapping
fxp0: PCI IDs: 8086 1229 8086 100c 0008
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
fxp0: Ethernet address: 00:30:48:11:b6:ab
fxp0: [MPSAFE]
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xc400-0xc43f mem
0xfe400000-0xfe4fffff,0xfe5fd000-0xfe5fdfff irq 31 at device 6.0 on pci0
fxp1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfe5fd000
fxp1: using memory space register mapping
fxp1: PCI IDs: 8086 1229 8086 100c 0008
fxp1: Dynamic Standby mode is disabled
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: bpf attached
fxp1: Ethernet address: 00:30:48:11:b6:aa
fxp1: [MPSAFE]
isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 UDMA33 controller> port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0: channel #0 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=20 ostat1=30
ata0-master: stat=0x20 err=0x20 lsb=0x20 msb=0x20
ata0-slave:  stat=0x30 err=0x30 lsb=0x30 msb=0x30
ata0: reset tp2 stat0=20 stat1=30 devices=0x0
ata0: [MPSAFE]
ata1: channel #1 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1-master: stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1-slave:  stat=0x00 err=0x01 lsb=0x7f msb=0x7f
ata1: reset tp2 stat0=10 stat1=00 devices=0x4<ATAPI_MASTER>
ata1: [MPSAFE]
ohci0: <OHCI (generic) USB controller> mem 0xfffff000-0xffffffff at device
15.2 on pci0
ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfffff000
pcib0: unable to route slot 15 INTA
ohci0: Could not allocate irq
device_attach: ohci0 attach returned 6
pcib1: <MPTable Host-PCI bridge> pcibus 1 on motherboard
pci1: <PCI bus> on pcib1
pci1: physical bus=1
        map[10]: type 4, range 32, base 0000e000, size  8, enabled
        map[14]: type 1, range 64, base feb60000, size 17, enabled
        map[1c]: type 1, range 64, base feb40000, size 17, enabled
pcib1: slot 1 INTA routed to irq 24
found-> vendor=0x1000, dev=0x0030, revid=0x07
        bus=1, slot=1, func=0
        class=01-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0117, statreg=0x0230, cachelnsz=8 (dwords)
        lattimer=0x48 (2160 ns), mingnt=0x10 (4000 ns), maxlat=0x06 (1500
ns)
        intpin=a, irq=24
        powerspec 2  supports D0 D1 D2 D3  current D0
        MSI supports 1 message, 64 bit
        map[10]: type 4, range 32, base 0000e400, size  8, enabled
        map[14]: type 1, range 64, base feba0000, size 17, enabled
        map[1c]: type 1, range 64, base feb80000, size 17, enabled
pcib1: slot 1 INTB routed to irq 25
found-> vendor=0x1000, dev=0x0030, revid=0x07
        bus=1, slot=1, func=1
        class=01-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0117, statreg=0x0230, cachelnsz=8 (dwords)
        lattimer=0x48 (2160 ns), mingnt=0x10 (4000 ns), maxlat=0x06 (1500
ns)
        intpin=b, irq=25
        powerspec 2  supports D0 D1 D2 D3  current D0
        MSI supports 1 message, 64 bit
        map[10]: type 4, range 32, base 0000e800, size  8, enabled
        map[14]: type 1, range 64, base febff000, size 12, enabled
pcib1: slot 3 INTA routed to irq 28
found-> vendor=0x9005, dev=0x008f, revid=0x02
        bus=1, slot=3, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0117, statreg=0x02b0, cachelnsz=8 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x28 (10000 ns), maxlat=0x19 (6250
ns)
        intpin=a, irq=28
        powerspec 2  supports D0 D3  current D0
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xe000-0xe0ff mem
0xfeb40000-0xfeb5ffff,0xfeb60000-0xfeb7ffff irq 24 at device 1.0 on pci1
mpt0: Reserved 0x20000 bytes for rid 0x14 type 3 at 0xfeb60000
mpt0: [GIANT-LOCKED]
mpt0: soft reset
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0xe400-0xe4ff mem
0xfeb80000-0xfeb9ffff,0xfeba0000-0xfebbffff irq 25 at device 1.1 on pci1
mpt1: linking with peer (mpt0)
mpt1: Reserved 0x20000 bytes for rid 0x14 type 3 at 0xfeba0000
panic: pmap_mapdev: Couldn't alloc kernel virtual memory
cpuid = 0
KDB: enter: panic




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