HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error with SIOC_IO on an Itanium server
Operating System - HP-UX
1830895
Members
2671
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 06:14 AM
07-07-2008 06:14 AM
Error with SIOC_IO on an Itanium server
I'm trying to write some software that will probe an entry in /dev/rdsk and determine whether it is a CD/DVD drive and if so what sort of capabilities it has (e.g. is it a CD-ROM or a CD-Writer)
I have written a program that works OK on the limited amount of PA-RISC hardware I have available, but refuses to work on the (one) Itanium box I have access to.
I am using the SIOC_IO ioctl call on the /dev/rdsk/c0t0d0 device and passing a MODE SENSE (10) command with a Page Code of 0x2A (i.e. MM Capabilities and Mechanical Status Page).
When I run this on PA-RISC everything is fine. When I run it on Itanium I get a CDB status of SCTL_INVALID_REQUEST.
/dev/rdsk/c0t0d0 is a TEAC DV-28E-V on the Itanium server.
If I instead do an INQUIRY, that works fine. So it's something specific about the MODE SENSE (10) that is causing the issue, rather than a general SCSI issue.
Itanium is running 11.23
PA-RISC is running 11.11
I have written a program that works OK on the limited amount of PA-RISC hardware I have available, but refuses to work on the (one) Itanium box I have access to.
I am using the SIOC_IO ioctl call on the /dev/rdsk/c0t0d0 device and passing a MODE SENSE (10) command with a Page Code of 0x2A (i.e. MM Capabilities and Mechanical Status Page).
When I run this on PA-RISC everything is fine. When I run it on Itanium I get a CDB status of SCTL_INVALID_REQUEST.
/dev/rdsk/c0t0d0 is a TEAC DV-28E-V on the Itanium server.
If I instead do an INQUIRY, that works fine. So it's something specific about the MODE SENSE (10) that is causing the issue, rather than a general SCSI issue.
Itanium is running 11.23
PA-RISC is running 11.11
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP