public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Robert Jones <rowjones@cs.indiana.edu>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: 2.6.13.4 aacraid: Partitioning array makes adapter go "dead"
Date: Sat, 7 Jan 2006 15:19:33 +0100	[thread overview]
Message-ID: <20060107141933.GJ3774@stusta.de> (raw)
In-Reply-To: <435BF66B.7040508@cs.indiana.edu>

On Sun, Oct 23, 2005 at 03:45:31PM -0500, Robert Jones wrote:

>...
> Here's some information regarding the machine I'm having the problem with:
> 2-Way Dual-Core AMD Opteron 275's
> 8GB Reg ECC
> Tyan 2882-D (K8SD-Pro) motherboard (AMD-8000 series chipset)
> 2 Seagate ST336754LC's, updated to latest firmware (0004)
> Adaptec 2230S (updated to latest firmware, 8205)
> 
> The machine boots wonderfully with any kernel I have tried (2.6.9,
> 2.6.12.9, 2.6.13.4, 2.6.14-rc5; all kernels are vanilla kernels) and
> binds the array to /dev/sda, so long as the array is unpartitioned.
> Here's what the kernel reports when booting:

Is this problem still present in kernel 2.6.15?

> SCSI device sda: 71619584 512-byte hdwr sectors (36669 MB)
> sda: Write Protect is off
> sda: Mode Sense: 03 00 00 00
> sda: got wrong page
> sda: assuming drive cache: write through
> SCSI device sda: 71619584 512-byte hdwr sectors (36669 MB)
> sda: Write Protect is off
> sda: Mode Sense: 03 00 00 00
> sda: got wrong page
> sda: assuming drive cache: write through
>   sda: unknown partition table
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
> 
> -----------
> 
> However, once I partition the array things begin to go wrong. While the
> partitioning succeeds, any point after this aacraid will state the
> controller is "dead". Here's what the kernel is telling me at this point:
> 
> -----------
> 
> SCSI device sda: 71619584 512-byte hdwr sectors (36669 MB)
> sda: Write Protect is off
> sda: Mode Sense: 03 00 00 00
> sda: got wrong page
> sda: assuming drive cache: write through
>   sda: sda1 sda2 sda3
> SCSI device sda: 71619584 512-byte hdwr sectors (36669 MB)
> sda: Write Protect is off
> sda: Mode Sense: 03 00 00 00
> sda: got wrong page
> sda: assuming drive cache: write through
>   sda: sda1 sda2 sda3
> 
> -----------
> 
> This looks fine too, however, when I reboot or try to access the array
> directly such as a mke2fs /dev/sda1, the kernel says this:
> 
> -----------
> 
> aacraid: Host adapter reset request. SCSI hang ?
> aacraid: Host adapter appears dead
> scsi: Device offlined - not ready after error recovery: host 0 channel 0
> id 0 lun 0
> sd 0:0:0:0: SCSI error: return code = 0x6000000
> end_request: I/O error, dev sda, sector 63
> Buffer I/O error on device sda1, logical block 0
> scsi0 (0:0): rejecting I/O to offline device
> Buffer I/O error on device sda1, logical block 0
> scsi0 (0:0): rejecting I/O to offline device
> Buffer I/O error on device sda1, logical block 64
> scsi0 (0:0): rejecting I/O to offline device
> Buffer I/O error on device sda1, logical block 64
> 
> -----------
> 
> The same machine will install Win2K w/ Adaptec's driver just fine, so I
> think the hardware is okay. I went ahead and pulled Adaptec's "official"
> aacraid implementation and replaced the "vanilla" implementation in
> 2.6.9 with it. Unfortunately, this did not seem to help.
> 
> Also, if I remove the partitions aacraid is happy again and will bind
> the array into /dev/sda as before. It's only after partitioning do
> things go bad.
>...
> Thanks,
> Robert

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2006-01-07 14:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-23 20:45 2.6.13.4 aacraid: Partitioning array makes adapter go "dead" Robert Jones
2006-01-07 14:19 ` Adrian Bunk [this message]
2006-01-07 15:44   ` Martin Drab
2006-01-07 16:30     ` Martin Drab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060107141933.GJ3774@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rowjones@cs.indiana.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox