Opened 9 years ago

Closed 18 months ago

Last modified 5 months ago

#117 closed defect (fixed)

IDENTIFY of USB devices may not work on bigendian NetBSD platforms

Reported by: Christian Franke Owned by: Alex Samorukov
Priority: minor Milestone: Release 7.0
Component: all Version: 5.40
Keywords: netbsd bigendian Cc:

Description

NetBSD ATAIOCCOMMAND delivers IDENTIFY data always in host byte order. This is not the case for data delivered by SCIOCCOMMAND through SAT or other USB bridge specific SCSI commands. The NetBSD special case is handled in atacmds.cpp without taking this into account, it should be handled in os_netbsd.cpp instead.

Change History (6)

comment:1 Changed 4 years ago by Christian Franke

Milestone: unscheduled

comment:2 Changed 4 years ago by Alex Samorukov

comment:3 Changed 18 months ago by Alex Samorukov

  1. No way to reproduce (NetBSD/sparc is not working with USB)
  2. I will move endian-related BSD code to the os_openbsd.cpp from atacmds.cpp
  3. Possible to use https://github.com/IIJ-NetBSD/netbsd-src/blob/master/sbin/atactl/atactl.c as a reference and qemu-sparc64 as a test for the non-usb devices
  4. Related to the #943
Last edited 18 months ago by Alex Samorukov (previous) (diff)

comment:4 Changed 18 months ago by Alex Samorukov

Owner: changed from somebody to Alex Samorukov
Status: newassigned

comment:5 Changed 18 months ago by Alex Samorukov

Milestone: unscheduledRelease 6.7
Resolution: fixed
Status: assignedclosed

Fixed in r4629.

comment:6 Changed 5 months ago by Christian Franke

Milestone: Release 6.7Release 7.0

Milestone renamed

Note: See TracTickets for help on using tickets.