SCSI Error with Perc2/DC

Rechenberg, Andrew ARechenberg at
Mon Mar 10 08:56:01 CST 2003

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] 
Sent: Monday, March 10, 2003 9:23 AM
To: linux-poweredge at
Subject: SCSI Error with Perc2/DC


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

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
-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.

			Adam Williams

Linux-PowerEdge mailing list
Linux-PowerEdge at
Please read the FAQ at or search the list
archives at

More information about the Linux-PowerEdge mailing list