SCSI Error with Perc2/DC

Adam Williams awilliam at mdah.state.ms.us
Mon Mar 10 09:49:00 CST 2003


Hi, I got the megaraid.c and .h from
http://domsch.com/linux/megaraid/linux-2.4/v2.00-series/megaraid-2.00rc3.tar.gz
and copied them to /usr/src/linux/drivers/scsi.  And then I compiled the
kernel and got that error.  I emailed the author of the driver and he told
me a couple of changes to make to get it to compile, but it still didn't
compile and I emailed him back the error.  What did you have to do to get
it to compile?

			Adam

On Mon, 10 Mar 2003, Rechenberg, Andrew wrote:

>
> I've got megaraid version 2.00.2 patched against Red Hat kernel
> 2.4.18-19 and I'm running it production just fine.  From the compile
> line you provide it looks like it's having problems with the megaraid
> module not the megaraid2 module.  How did you patch your kernel?
>
>
>
> -----Original Message-----
> From: Adam Williams [mailto:awilliam at mdah.state.ms.us]
> Sent: Monday, March 10, 2003 9:23 AM
> To: linux-poweredge at dell.com
> Subject: SCSI Error with Perc2/DC
>
>
> Hi,
>
> I have a Dell Poweredge 2400 with dual P3 866 mhz processors and 2GB of
> ram running RedHat Linux with kernel 2.4.20.  It also has a 100G RAID 5
> on a Perc2/DC (AMI Megaraid) scsi card.  After running the server for a
> few hours, it will print a message on tty1 saying:
>
> Blocked Mailbox........!
>
> over and over about once a second, and at this time you can not access
> the server and it must be hard rebooted.  After doing some searching on
> Google it appears that this error is caused by the Perc2/DC card.  A
> searching of the megaraid source
> (/usr/src/linux-2.4.20/drivers/scsi/megaraid.c) shows:
>
> 2429)                printk ("Blocked mailbox......!!\n");
> 2528)                printk(KERN_ERR "Blocked mailbox on
> exit......!\n");
>
> with megaraid.c version 1.18f.  I want to use megaraid.c version 2.00.3
> but when I copy it to /usr/src/linux/drivers/scsi and then rebuild the
> kernel, I get the error:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer
> -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix
> include -DKBUILD_BASENAME=megaraid  -c -o megaraid.o megaraid.c
> megaraid.c: In function `mega_find_card':
> megaraid.c:374: structure has no member named `lock'
> megaraid.c:242: warning: unused variable `magic'
> megaraid.c: At top level:
> megaraid.c:5615: unknown field `can_do_varyio' specified in initializer
> megaraid.c:5615: warning: initialization makes pointer from integer
> without a cast
> make[3]: *** [megaraid.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
> make[1]: *** [_subdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
> make: *** [_dir_drivers] Error 2
> [root at zed2 linux-2.4.20]#
>
>
> I was wondering if anyone has had a similiar problem with the kernel
> printing "Blocked Mailbox.....!" and if anyone knows how to compile
> megaraid.c version 2.00.3 with kernel 2.4.20.
>
> 			Thanks!
> 			Adam Williams
>
>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list
> archives at http://lists.us.dell.com/htdig/
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/
>




More information about the Linux-PowerEdge mailing list