linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* aacraid 2.6.21+ partition table disappear
@ 2007-07-18  9:47 Chris Ruehl
  2007-07-18 12:10 ` Salyzyn, Mark
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Ruehl @ 2007-07-18  9:47 UTC (permalink / raw)
  To: Linux-scsi vger.kernel.org

Hi all,

I had been last 2 Day in China trying update a Linux (Debian Sarge)
running a 2.6.14.3 to 2.6.21.6 or 2.6.22.1

The boot stuck in a VFS Kernel Panic no root filesystem found.

1) aacraid compiled into kernel - failed
2) as module + initrd                  - failed

the initrd show that the sda with 200GB was found - driver sd
but no partition was found.

Sorry I could not get a serial cable to cover the boot log - and it's 
impossible
to get one if you can't speak Mandarin.

Do you have any hint what I could do?

Thank you
Chris

Controller is
0000:02:08.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
        Subsystem: Adaptec 2120S (Crusader)


kerneloutput   """  2.6.14.3  """

Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver (1.1-4 Jan 28 2006 18:35:59)
AAC0: kernel 4.2-0[8205]
AAC0: monitor 4.2-0[8205]
AAC0: bios 4.2-0[8205]
AAC0: serial c49a76
AAC0: Non-DASD support enabled.
scsi0 : aacraid
  Vendor: ADAPTEC   Model: XITArray1         Rev: V1.0
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: SEAGATE   Model: ST373207LC        Rev: D701
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST373207LC        Rev: D701
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST373207LC        Rev: D701
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST373207LC        Rev: D701
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST373207LC        Rev: D701
  Type:   Direct-Access                      ANSI SCSI revision: 03
3ware 9000 Storage Controller device driver for Linux v2.26.02.004.
SCSI device sda: 429920256 512-byte hdwr sectors (220119 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: 429920256 512-byte hdwr sectors (220119 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 < sda5 sda6 sda7 sda8 sda9 >


-- 
X-IT Management Ltd.
Office A, 14/F, Wing Sing Commercial Bldg.
12 Wing Lok Street, Sheung Wan
Hong Kong

3596 7575  PHONE
3585 5118  FAX


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: aacraid 2.6.21+ partition table disappear
  2007-07-18  9:47 aacraid 2.6.21+ partition table disappear Chris Ruehl
@ 2007-07-18 12:10 ` Salyzyn, Mark
  2007-07-19  5:34   ` Chris Ruehl
  0 siblings, 1 reply; 3+ messages in thread
From: Salyzyn, Mark @ 2007-07-18 12:10 UTC (permalink / raw)
  To: Chris Ruehl, Linux-scsi vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 3157 bytes --]

The problem description matches this patch (which showed up on
2007/04/13).

Sincerely -- Mark Salyzyn

> -----Original Message-----
> From: linux-scsi-owner@vger.kernel.org 
> [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Chris Ruehl
> Sent: Wednesday, July 18, 2007 5:48 AM
> To: Linux-scsi vger.kernel.org
> Subject: aacraid 2.6.21+ partition table disappear 
> 
> 
> Hi all,
> 
> I had been last 2 Day in China trying update a Linux (Debian Sarge)
> running a 2.6.14.3 to 2.6.21.6 or 2.6.22.1
> 
> The boot stuck in a VFS Kernel Panic no root filesystem found.
> 
> 1) aacraid compiled into kernel - failed
> 2) as module + initrd                  - failed
> 
> the initrd show that the sda with 200GB was found - driver sd
> but no partition was found.
> 
> Sorry I could not get a serial cable to cover the boot log - and it's 
> impossible
> to get one if you can't speak Mandarin.
> 
> Do you have any hint what I could do?
> 
> Thank you
> Chris
> 
> Controller is
> 0000:02:08.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
>         Subsystem: Adaptec 2120S (Crusader)
> 
> 
> kerneloutput   """  2.6.14.3  """
> 
> Loading Adaptec I2O RAID: Version 2.4 Build 5go
> Detecting Adaptec I2O RAID controllers...
> Adaptec aacraid driver (1.1-4 Jan 28 2006 18:35:59)
> AAC0: kernel 4.2-0[8205]
> AAC0: monitor 4.2-0[8205]
> AAC0: bios 4.2-0[8205]
> AAC0: serial c49a76
> AAC0: Non-DASD support enabled.
> scsi0 : aacraid
>   Vendor: ADAPTEC   Model: XITArray1         Rev: V1.0
>   Type:   Direct-Access                      ANSI SCSI revision: 02
>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>   Type:   Direct-Access                      ANSI SCSI revision: 03
>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>   Type:   Direct-Access                      ANSI SCSI revision: 03
>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>   Type:   Direct-Access                      ANSI SCSI revision: 03
>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>   Type:   Direct-Access                      ANSI SCSI revision: 03
>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>   Type:   Direct-Access                      ANSI SCSI revision: 03
> 3ware 9000 Storage Controller device driver for Linux v2.26.02.004.
> SCSI device sda: 429920256 512-byte hdwr sectors (220119 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: 429920256 512-byte hdwr sectors (220119 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 < sda5 sda6 sda7 sda8 sda9 >
> 
> 
> -- 
> X-IT Management Ltd.
> Office A, 14/F, Wing Sing Commercial Bldg.
> 12 Wing Lok Street, Sheung Wan
> Hong Kong
> 
> 3596 7575  PHONE
> 3585 5118  FAX
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

[-- Attachment #2: aacraid_logical_bugfix.patch --]
[-- Type: application/octet-stream, Size: 666 bytes --]

diff -ru a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
--- a/drivers/scsi/aacraid/aachba.c	2007-04-12 15:54:25.244399102 -0400
+++ b/drivers/scsi/aacraid/aachba.c	2007-04-12 15:57:03.806468297 -0400
@@ -503,8 +503,7 @@
 	dresp = (struct aac_mount *) fib_data(fibptr);
 	dresp->mnt[0].capacityhigh = 0;
 	if ((le32_to_cpu(dresp->status) != ST_OK) ||
-	    ((le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) &&
-	     (le32_to_cpu(dresp->mnt[0].state) == FSCS_HIDDEN)))
+	    (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE))
 		return _aac_probe_container2(context, fibptr);
 	scsicmd = (struct scsi_cmnd *) context;
 	scsicmd->SCp.phase = AAC_OWNER_MIDLEVEL;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aacraid 2.6.21+ partition table disappear
  2007-07-18 12:10 ` Salyzyn, Mark
@ 2007-07-19  5:34   ` Chris Ruehl
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Ruehl @ 2007-07-19  5:34 UTC (permalink / raw)
  To: Linux-scsi vger.kernel.org

Hi Mark,

the 2.6.22.1 already inherits your patch but still could not boot.
The patch you send remove the 'FSCS_HIDDEN' check.
I found one more check in line 480 of aachba.c (2.6.22.1) my this cause the
problem?

   461
   462 static int _aac_probe_container2(void * context, struct fib * 
fibptr)
   463 {
          ...
   478                 if ((le32_to_cpu(dresp->status) == ST_OK) &&
   479                     (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) &&
   480                     (le32_to_cpu(dresp->mnt[0].state) != 
FSCS_HIDDEN)) {
   481                         fsa_dev_ptr->valid = 1;


I search/read the thread from 2007/04/13 and the difference the
AACRAID in this thread is "rev 02"  ours "rev 01".


thank you
Chris






Salyzyn, Mark wrote:
> The problem description matches this patch (which showed up on
> 2007/04/13).
>
> Sincerely -- Mark Salyzyn
>
>   
>> -----Original Message-----
>> From: linux-scsi-owner@vger.kernel.org 
>> [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Chris Ruehl
>> Sent: Wednesday, July 18, 2007 5:48 AM
>> To: Linux-scsi vger.kernel.org
>> Subject: aacraid 2.6.21+ partition table disappear 
>>
>>
>> Hi all,
>>
>> I had been last 2 Day in China trying update a Linux (Debian Sarge)
>> running a 2.6.14.3 to 2.6.21.6 or 2.6.22.1
>>
>> The boot stuck in a VFS Kernel Panic no root filesystem found.
>>
>> 1) aacraid compiled into kernel - failed
>> 2) as module + initrd                  - failed
>>
>> the initrd show that the sda with 200GB was found - driver sd
>> but no partition was found.
>>
>> Sorry I could not get a serial cable to cover the boot log - and it's 
>> impossible
>> to get one if you can't speak Mandarin.
>>
>> Do you have any hint what I could do?
>>
>> Thank you
>> Chris
>>
>> Controller is
>> 0000:02:08.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
>>         Subsystem: Adaptec 2120S (Crusader)
>>
>>
>> kerneloutput   """  2.6.14.3  """
>>
>> Loading Adaptec I2O RAID: Version 2.4 Build 5go
>> Detecting Adaptec I2O RAID controllers...
>> Adaptec aacraid driver (1.1-4 Jan 28 2006 18:35:59)
>> AAC0: kernel 4.2-0[8205]
>> AAC0: monitor 4.2-0[8205]
>> AAC0: bios 4.2-0[8205]
>> AAC0: serial c49a76
>> AAC0: Non-DASD support enabled.
>> scsi0 : aacraid
>>   Vendor: ADAPTEC   Model: XITArray1         Rev: V1.0
>>   Type:   Direct-Access                      ANSI SCSI revision: 02
>>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>>   Type:   Direct-Access                      ANSI SCSI revision: 03
>>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>>   Type:   Direct-Access                      ANSI SCSI revision: 03
>>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>>   Type:   Direct-Access                      ANSI SCSI revision: 03
>>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>>   Type:   Direct-Access                      ANSI SCSI revision: 03
>>   Vendor: SEAGATE   Model: ST373207LC        Rev: D701
>>   Type:   Direct-Access                      ANSI SCSI revision: 03
>> 3ware 9000 Storage Controller device driver for Linux v2.26.02.004.
>> SCSI device sda: 429920256 512-byte hdwr sectors (220119 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: 429920256 512-byte hdwr sectors (220119 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 < sda5 sda6 sda7 sda8 sda9 >
>>
>>
>> -- 
>> X-IT Management Ltd.
>> Office A, 14/F, Wing Sing Commercial Bldg.
>> 12 Wing Lok Street, Sheung Wan
>> Hong Kong
>>
>> 3596 7575  PHONE
>> 3585 5118  FAX
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe 
>> linux-scsi" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>     


-- 
X-IT Management Ltd.
Office A, 14/F, Wing Sing Commercial Bldg.
12 Wing Lok Street, Sheung Wan
Hong Kong

3596 7575  PHONE
3585 5118  FAX


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-19  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18  9:47 aacraid 2.6.21+ partition table disappear Chris Ruehl
2007-07-18 12:10 ` Salyzyn, Mark
2007-07-19  5:34   ` Chris Ruehl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).