Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305740 Details for
Bug 443053
cciss driver crash
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
simple reproducer
scsi_ioctl.c (text/plain), 915 bytes, created by
Doug Chapman
on 2008-05-16 20:03:39 UTC
(
hide
)
Description:
simple reproducer
Filename:
MIME Type:
Creator:
Doug Chapman
Created:
2008-05-16 20:03:39 UTC
Size:
915 bytes
patch
obsolete
>#include <stdio.h> >#include <sys/ioctl.h> >#include <scsi/scsi.h> >#include <scsi/scsi_ioctl.h> >#include <sys/types.h> >#include <fcntl.h> > >#define DEVICE_PATH "/dev/cciss/c0d0p2" > >main(){ > char *path; > int fd; > int rc; > typedef struct sdata_t { > u_int32_t inlen; > u_int32_t outlen; > unsigned char cmd[128]; > } sdata; > sdata inq; > > memset (&inq, 0, sizeof (sdata)); > > inq.inlen = 0; > inq.outlen = 96; > > inq.cmd[0] = 0x12; /* INQUIRY */ > inq.cmd[1] = 0x00; /* lun=0, evpd=0 */ > inq.cmd[2] = 0x00; /* page code = 0 */ > inq.cmd[3] = 0x00; /* (reserved) */ > inq.cmd[4] = 96; /* allocation length */ > inq.cmd[5] = 0x00; /* control */ > > fd = open (DEVICE_PATH, O_RDONLY); > if (fd == -1) { > perror ("open of cciss failed"); > exit(1); > } > > ioctl(fd, SCSI_IOCTL_SEND_COMMAND, &inq); > >} > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 443053
: 305740 |
306285