Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 22:47:54 -0500
From:      "Dan Langille" <dan@langille.org>
To:        stable@freebsd.org
Cc:        sos@FreeBSD.org
Subject:   Re: 4.7 kernel does not find aha1
Message-ID:  <3DD4281A.6672.9CBA39AF@localhost>
In-Reply-To: <20021114163407.Y5562-100000@m20.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Nov 2002 at 16:43, Dan Langille wrote:

> I just did a build world to upgrade to 4.7 from 4.6.  The new kernel does
> not detect the aha1 which 4.6 still does.
> 
> Here is an extract from the 4.6 dmesg:
> 
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> aha1: <Adaptec 1542/aha-1535> at port 0x330-0x333 iomem 0xcc000-0xcffff
> irq 10 drq 5 on isa0
> aha1: AHA-1542CP FW Rev. F.0 (ID=46) SCSI Host Adapter, SCSI ID 7, 16 CCBs
> IPsec: Initialized Security Association Processing.
> ad0: 1221MB <Seagate Technology 1275MB - ST31276A> [2482/16/63] at
> ata0-master WDMA2
> Waiting 15 seconds for SCSI devices to settle
> Mounting root from ufs:/dev/ad0s1a
> da1 at aha1 bus 0 target 3 lun 0
> da1: <COMPAQ ST19171W 9A10> Fixed Direct Access SCSI-2 device
> da1: 10.000MB/s transfers (10.000MHz, offset 8)
> da1: 8678MB (17773500 512 byte sectors: 64H 32S/T 8678C)
> da0 at aha1 bus 0 target 0 lun 0
> da0: <SEAGATE ST32550N 0019> Fixed Direct Access SCSI-2 device
> da0: 10.000MB/s transfers (10.000MHz, offset 8)
> da0: 2047MB (4194058 512 byte sectors: 64H 32S/T 2047C)
> IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
> 
> And here is the same portion from the 4.7 boot:
> 
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> IPsec: Initialized Security Association Processing.
> ad0: 1221MB <Seagate Technology 1275MB - ST31276A> [2482/16/63] at
> ata0-master WDMA2
> Mounting root from ufs:/dev/ad0s1a
> swapon: adding /dev/ad0s1b as swap device
> Automatic boot in progress...
> /dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s1a: clean, 6417 free (113 frags, 788 blocks, 0.2% fragmentation)
> Can't open /dev/da1s1e: Device not configured
> /dev/da1s1e: CAN'T CHECK FILE SYSTEM.
> /dev/da1s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
> /dev/ad0s1f: FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s1f: clean, 647398 free (40422 frags, 75872 blocks, 3.6%
> fragmentation)
> /dev/ad0s1e: FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s1e: clean, 16961 free (257 frags, 2088 blocks, 1.3%
> fragmentation)
> THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
>         /dev/da1s1e (/home/ncvs)
> Automatic file system check failed . . . help!
> Enter full pathname of shell or RETURN for /bin/sh:
> 
> I have checked the kernel config file, aha is in there.  Did I miss
> something?  /usr/src/UPGRADING has no mention of ata.  Clues please?

I am quite sure I encountered this same problem on this machine 
during an earlier upgrade, some years ago.  I know it was discussed 
on the lists but I can't find it.

Checking the archives for this card, it looks like the pnpinfo may be 
useful to diagnose the problem:

$ sudo pnpinfo
Password:
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID ADP1542 (0x42159004), Serial Number 0x5a5afe45
PnP Version 1.0, Vendor Version 16
Device Description: Adaptec AHA-1542CP

Logical Device ID: ADP1542 0x42159004 #0
        Device powers up active
        Device supports I/O Range Check
        Vendor register funcs 00
Device Description: SCSI Host Adapter
Compatible Device ID: PNP00a0 (a000d041)
    IRQ: 10 11 12 14 15  - only one type (true/edge)
    DMA: channel(s) 5 6 7
        16-bit, bus master, count by byte, count by word, Type A
TAG Start DF
Good Configuration
    I/O Range 0x330 .. 0x330, alignment 0x4, len 0x4
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x334 .. 0x334, alignment 0x4, len 0x4
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x234 .. 0x234, alignment 0x4, len 0x4
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x230 .. 0x230, alignment 0x4, len 0x4
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x134 .. 0x134, alignment 0x4, len 0x4
        [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    I/O Range 0x130 .. 0x130, alignment 0x4, len 0x4
        [16-bit addr]
TAG End DF
Memory Range: Not writeable (ROM)
Memory Range: Read-cacheable, write-through
Memory Range: Decode supports range length
Memory Range: 8-bit memory only
Memory Range: Memory is shadowable
Memory Range: Memory is an expansion ROM
Memory range minimum address: 0xc8000
Memory range maximum address: 0xdc000
Memory range base alignment: 0x4000
Memory range length: 0x4000
End Tag

Successfully got 21 resources, 1 logical fdevs
-- card select # 0x0001

CSN ADP1542 (0x42159004), Serial Number 0x5a5afe45

Logical device #0
IO:  0x0330 0x0330 0x0330 0x0330 0x0330 0x0330 0x0330 0x0330
IRQ 10 0
DMA 5 4
IO range check 0x00 activate 0x01
-- 
Dan Langille : http://www.langille.org/


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




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