Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 14:53:54 -0800 (PST)
From:      satz@iranger.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/25215: RELENG_4 kernel crashes starting SCSI disks with ahc Adaptec 274X
Message-ID:  <200102192253.f1JMrsb04662@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25215
>Category:       kern
>Synopsis:       RELENG_4 kernel crashes starting SCSI disks with ahc Adaptec 274X
>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 Feb 19 15:00:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Greg Satz
>Release:        4.X Stable
>Organization:
>Environment:
FreeBSD fnu.iranger.com 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Tue Sep 26 00:46:59 GMT 2000     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386
>Description:
This is a repeat of a similar problem that I reported earilier. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22762

When kernel with Adaptexc 274X (EISA) boots, it crashes soon after initializing the SCSI Disks. The generic kernel works as did the kernel from the previous fix.
>How-To-Repeat:

ok ?
Available commands:
  reboot           reboot the system
  heap             show heap usage
  bcachestat       get disk block cache stats
  boot             boot a file or loaded kernel
  autoboot         boot automatically after a delay
  help             detailed help
  ?                list commands
  show             show variable(s)
  set              set a variable
  unset            unset a variable
  more             show contents of a file
  lsdev            list all devices
  include          read commands from a file
  ls               list files
  load             load a kernel or module
  unload           unload all modules
  lsmod            list loaded modules
  pnpscan          scan for PnP devices
ok boot
SMAP type=01 base=00000000 00000000 len=00000000 0009fc00
SMAP type=01 base=00000000 0009fc00 len=00000000 00000400
SMAP type=02 base=00000000 000f0000 len=00000000 00010000
SMAP type=01 base=00000000 00100000 len=00000000 04700000
SMAP type=02 base=00000000 fee00000 len=00000000 00001000
SMAP type=02 base=00000000 ffff0000 len=00000000 00010000
Copyright (c) 1992-2001 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 4.2-STABLE #1: Mon Feb 19 08:33:49 MST 2001
    root@fnu.iranger.com:/usr/src/sys/compile/IRANGER
Calibrating clock(s) ... TSC clock: 166455199 Hz, i8254 clock: 1193228 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 166449658 Hz
CPU: Pentium/P54C (166.45-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 75497472 (73728K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00317000 - 0x047f7fff, 72224768 bytes (17633 pages)
avail memory = 70467584 (68816K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fa570
bios32: Entry = 0xfa8a0 (c00fa8a0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xa8d0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc02f1000.
Intel Pentium detected, installing workaround for F00F bug
Math emulator present
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x00000000 (0x80000000)
pci_open(1b):   mode1res=0x80000000 (0xff000001)
pci_cfgcheck:   device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2
2 23 24 25 26 27 28 29 30 31 -- nothing found
pci_open(2):    mode 2 enable port (0x0cf8) is 0x00
pci_open(2a):   mode2res=0x0e (0x0e)
pci_open(2a):   now trying mechanism 2
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=04a38086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 74476800 bytes/sec
bzero() bandwidth = 37280047 bytes/sec
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x00000000 (0x80000000)
pci_open(1b):   mode1res=0x80000000 (0xff000001)
pci_cfgcheck:   device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2
2 23 24 25 26 27 28 29 30 31 -- nothing found
pci_open(2):    mode 2 enable port (0x0cf8) is 0x00
pci_open(2a):   mode2res=0x0e (0x0e)
pci_open(2a):   now trying mechanism 2
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=04a38086)
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x04a3, revid=0x11
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
found-> vendor=0x8086, dev=0x0482, revid=0x05
        class=00-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
found-> vendor=0x9004, dev=0x7478, revid=0x03
        class=01-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=5
        map[10]: type 1, range 32, base 00006000, size  8
        map[14]: type 1, range 32, base f4001000, size 12
found-> vendor=0x1106, dev=0x3043, revid=0x06
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[10]: type 1, range 32, base 00006100, size  7
        map[14]: type 1, range 32, base f4000000, size  7
found-> vendor=0x5333, dev=0x5631, revid=0x06
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[10]: type 1, range 32, base f0000000, size 26
pci0: <PCI bus> on pcib0
        CPU: Pentium, 100MHz, CPU->Memory posting ON
        Warning: Cache parity disabled!
        Warning: DRAM parity mask!
        Cache: 512KB writeback, cache clocks=3-2-2-2/4-2-2-2
        Cache flags:  byte-control
        DRAM: page mode memory clocks=X-4-4-4 (70ns)
        CPU->PCI: posting ON, burst mode OFF, PCI clocks=2-1-1-1
        PCI->Memory: posting OFF
        Refresh: RAS#Only
isab0: <Intel 82375EB PCI-EISA bridge> at device 2.0 on pci0
eisa0: <EISA bus> on isab0
mainboard0: <TYN0003 (System Board)> on eisa0 slot 0
ahc0: <Adaptec 274X SCSI adapter> at 0x4c00-0x4cff, irq 11 (level)
ahc0: on eisa0 slot 4
ahc0: Downloading Sequencer Program... 411 instructions downloaded
aic7770: Twin Channel, A SCSI Id=7, B SCSI Id=7, primary A, 4/255 SCBs
isa0: <ISA bus> on isab0
ahc1: <Adaptec 2944 SCSI adapter> port 0x6000-0x60ff mem 0xf4001000-0xf4001fff i
rq 5 at device 13.0 on pci0
ahc1: Reading SEEPROM...done.
ahc1: Low byte termination Enabled
ahc1: High byte termination Enabled
ahc1: Downloading Sequencer Program... 409 instructions downloaded
aic7870: Wide Channel A, SCSI Id=7, 16/255 SCBs
vr0: <VIA VT3043 Rhine I 10/100BaseTX> port 0x6100-0x617f mem 0xf4000000-0xf4000
07f irq 9 at device 14.0 on pci0
vr0: Ethernet address: 00:80:c8:e1:1d:85
miibus0: <MII bus> on vr0
amphy0: <DM9101 10/100 media interface> on miibus0
amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: vr0 attached
pci0: <S3 ViRGE graphics accelerator> (vendor=0x5333, dev=0x5631) at 15.0 irq 10

Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=00 status0=ff status1=ff
ata0: probe allocation failed
ata0 failed to probe at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
ata1 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16450, console
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16450
sio2: irq maps: 0x41 0x1041 0x41 0x41
sio2 at port 0x100-0x107 flags 0x905 on isa0
sio2: type 16550A (multiport)
sio3: irq maps: 0x41 0x1041 0x41 0x41
sio3 at port 0x108-0x10f flags 0x905 on isa0
sio3: type 16550A (multiport)
sio4: irq maps: 0x41 0x1041 0x41 0x41
sio4 at port 0x110-0x117 flags 0x905 on isa0
sio4: type 16550A (multiport)
sio5: irq maps: 0x41 0x1041 0x41 0x41
sio5 at port 0x118-0x11f flags 0x905 on isa0
sio5: type 16550A (multiport)
sio6: irq maps: 0x41 0x1041 0x41 0x41
sio6 at port 0x120-0x127 flags 0x905 on isa0
sio6: type 16550A (multiport)
sio7: irq maps: 0x41 0x1041 0x41 0x41
sio7 at port 0x128-0x12f flags 0x905 on isa0
sio7: type 16550A (multiport)
sio8: irq maps: 0x41 0x1041 0x41 0x41
sio8 at port 0x130-0x137 flags 0x905 on isa0
sio8: type 16550A (multiport)
sio9: irq maps: 0x41 0x1041 0x41 0x41
sio9 at port 0x138-0x13f irq 12 flags 0x905 on isa0
sio9: type 16550A (multiport master)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
Waiting 5 seconds for SCSI devices to settle
(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
(noperiph:ahc0:1:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
(noperiph:ahc1:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
ahc0: No free or disconnected SCBs
ahc0: Dumping Card State at SEQADDR 0x19a
SCB count = 20
Kernel NEXTQSCB = 16
Card NEXTQSCB = 3
QINFIFO entries: 3 2 1 0 19 18 17
Waiting Queue entries:
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List:
Pending list: 6 15 17 18 19 0 1 2 3
Kernel Free SCB list: 4 5 7 8 9 14 13 12 11 10
Untagged Q(0): 2
Untagged Q(1): 1
Untagged Q(2): 0
Untagged Q(3): 19 6
Untagged Q(4): 18
Untagged Q(5): 17
Untagged Q(6): 3 15
panic: for safety

syncing disks...
done
Uptime: 7s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot <--
Rebooting...

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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