01-25-2009
SCSI Bus Reset
hey guys i got this in my logs what does this mean:
Quote:
19 Jan 26 00:47:33 scsi: [ID 107833 kern.warning] WARNING: /pci@780/pci@0/pci@9/scsi@0/sd@0,0 (sd1):
20 Jan 26 00:47:33 vfaus373 Error for Command: write(10) Error Level: Retryable
21 Jan 26 00:47:33 scsi: [ID 107833 kern.notice] Requested Block: 143084813 Error Block: 143084813
22 Jan 26 00:47:33 scsi: [ID 107833 kern.notice] Vendor: SEAGATE Serial Number: 055210APTM
23 Jan 26 00:47:33 scsi: [ID 107833 kern.notice] Sense Key: Unit Attention
24 Jan 26 00:47:33 scsi: [ID 107833 kern.notice] ASC: 0x29 (scsi bus reset occurred), ASCQ: 0x2, FRU: 0x2
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This may belong in the C Programming forum, but here goes anyway...
What would cause a bus error? I searched google for a cause, but came up with some conflicting reports...
Could it be caused by disk space?
A lot of the pages I found mentioned linking with the incorrect versions of the... (4 Replies)
Discussion started by: LivinFree
4 Replies
2. UNIX for Dummies Questions & Answers
Anyone have any ideas what could be causing me to get the error "The SCSI bus is hung. Perhaps an external device is turned off"? This is occuring when I try to boot off of my external CDROM. I have tried this CDROM on 3 different systems, tried different SCSI cables, and different terminators... (2 Replies)
Discussion started by: saucierm
2 Replies
3. UNIX for Dummies Questions & Answers
aix 5.3 ML1
system was functioing well, when suddenly telnet session hung and then I got the following message "Bus error(coredump)"
would appreciate if anyone would assist as to what to do next. (3 Replies)
Discussion started by: Student37
3 Replies
4. Programming
Hi!
I've got a program which runs fine under Linux, but I have compiled it to run under SunOS 5.8 in a Sparc computer, and now it sometimes fails with "bus error".
Ussing gdb I surfed to the error line, which is
*pointer = some_vector;
where some_vector is a 16 byte struct (4 integers)... (1 Reply)
Discussion started by: shesatmine
1 Replies
5. SCO
My boss get a Proliant ML 330 G3 server with IDE ARRAY Bus, I try to isntall UNIX 5.0.7 on it but i't didn't detect as a hdd, I try to configure it as single logical drive and many combinations but UNIX always says taht there is no hdd, does anyone knows how to?? the boss of course won't say it... (0 Replies)
Discussion started by: jactroo
0 Replies
6. HP-UX
I am getting bus error when i include "#!/bin/ksh". If i remove interpreter then script is working. Can anyone explain this and how can i avoid this error?
Operating System is HP-UX B.11.23 U 9000/800 1091834454 (2 Replies)
Discussion started by: anbu23
2 Replies
7. Programming
Hi everyone,
I have a GUI project and when I run it and left in idle state for a long time(there is nothing done, just opened GUI, no more actions),I get bus error after trying to do anything with it.
I've tried to build it in debug mode and use gdb, but I don't get any error in debug mode.It... (3 Replies)
Discussion started by: sisi
3 Replies
8. BSD
Hello,
My question as title, I don't know the exact command,
anyone could tell me about it?
Kevin (0 Replies)
Discussion started by: guixingyi
0 Replies
9. Programming
Hi all,
I am writing a phonebook program to store names and number using a list. Here is the code for the function which allows the user to enter the name and number (where the error occurs).
//THIS FUNCTION ADDS A NEW ENTRY TO THE phonebook_list
void insert(void){
//variables
int... (5 Replies)
Discussion started by: kdejan
5 Replies
10. Red Hat
Hi,
I have presented a LUN to a VM (RHEL 5.8) and need to scan the scsi bus in order for the OS to pick it up.
On FC attached hosts I can:
echo "1" > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan
....but this does not work on my vm.
... (3 Replies)
Discussion started by: Duffs22
3 Replies
LEARN ABOUT OPENSOLARIS
scsi_errmsg
scsi_errmsg(9F) Kernel Functions for Drivers scsi_errmsg(9F)
NAME
scsi_errmsg - display a SCSI request sense message
SYNOPSIS
#include <sys/scsi/scsi.h>
void scsi_errmsg(struct scsi_device *devp, struct scsi_pkt *pktp,
char *drv_name, int severity, daddr_t blkno, daddr_t err_blkno,
struct scsi_key_strings *cmdlist, struct scsi_extended_sense *sensep);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
devp Pointer to the scsi_device(9S) structure.
pktp Pointer to a scsi_pkt(9S) structure.
drv_name String used by scsi_log(9F).
severity Error severity level, maps to severity strings below.
blkno Requested block number.
err_blkno Error block number.
cmdlist An array of SCSI command description strings.
sensep A pointer to a scsi_extended_sense(9S) structure.
DESCRIPTION
The scsi_errmsg() function interprets the request sense information in the sensep pointer and generates a standard message that is dis-
played using scsi_log(9F). The first line of the message is always a CE_WARN, with the continuation lines being CE_CONT. sensep may be
NULL, in which case no sense key or vendor information is displayed.
The driver should make the determination as to when to call this function based on the severity of the failure and the severity level that
the driver wants to report.
The scsi_device(9S) structure denoted by devp supplies the identification of the device that requested the display. severity selects which
string is used in the "Error Level:" reporting, according to the following table:
Severity Value: String:
SCSI_ERR_ALL All
SCSI_ERR_UNKNOWN Unknown
SCSI_ERR_INFO Informational
SCSI_ERR_RECOVERE Recovered
SCSI_ERR_RETRYABL Retryable
SCSI_ERR_FATAL Fatal
blkno is the block number of the original request that generated the error. err_blkno is the block number where the error occurred. cmdlist
is a mapping table for translating the SCSI command code in pktp to the actual command string.
The cmdlist is described in the structure below:
struct scsi_key_strings {
int key;
char *message;
};
For a basic SCSI disk, the following list is appropriate:
static struct scsi_key_strings scsi_cmds[] = {
0x00, "test unit ready",
0x01, "rezero/rewind",
0x03, "request sense",
0x04, "format",
0x07, "reassign",
0x08, "read",
0x0a, "write",
0x0b, "seek",
0x12, "inquiry",
0x15, "mode select",
0x16, "reserve",
0x17, "release",
0x18, "copy",
0x1a, "mode sense",
0x1b, "start/stop",
0x1e, "door lock",
0x28, "read(10)",
0x2a, "write(10)",
0x2f, "verify",
0x37, "read defect data",
0x3b, "write buffer",
-1, NULL
};
CONTEXT
The scsi_errmsg() function may be called from user, interrupt, or kernel context.
EXAMPLES
Example 1 Generating error information.
This entry:
scsi_errmsg(devp, pkt, "sd", SCSI_ERR_INFO, bp->b_blkno,
err_blkno, sd_cmds, rqsense);
Generates:
WARNING: /sbus@1,f8000000/esp@0,800000/sd@1,0 (sd1):
Error for Command: read Error Level: Informational
Requested Block: 23936 Error Block: 23936
Vendor: QUANTUM Serial Number: 123456
Sense Key: Unit Attention
ASC: 0x29 (reset), ASCQ: 0x0, FRU: 0x0
SEE ALSO
cmn_err(9F), scsi_log(9F), scsi_device(9S), scsi_extended_sense(9S), scsi_pkt(9S)
Writing Device Drivers
SunOS 5.11 16 Jan 2006 scsi_errmsg(9F)