[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #8 from Hans Petter Selasky hsela...@freebsd.org ---
Hi,

The MBR given size is invalid: dec2hex(15617985) = EE4FC1 which is above
EE1000.

That's most likely why the disk is not working. Try correcting that first.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

Hans Petter Selasky hsela...@freebsd.org changed:

   What|Removed |Added

   Assignee|freebsd-usb@FreeBSD.org |hsela...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #3 from Chris Baker cmbake...@gmail.com ---
on linux fdisk -l lists the following:
Disk /dev/sdb: 7988 MB, 7988051968 bytes, 15601664 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

cat /sys/class/block/sda/size also reports block size of 15601664

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

Hans Petter Selasky hsela...@freebsd.org changed:

   What|Removed |Added

 CC||hsela...@freebsd.org

--- Comment #2 from Hans Petter Selasky hsela...@freebsd.org ---
Hi,

The following series of digits indicate the location of the disk access 00 ee
4f ff. Assuming the block size is 512 bytes, this is location

0xee4fff*512 = 7.9964e+09

which is below 8GB. Can you extract information about how many 512-byte blocks
the disk has under Linux and what the block size is?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #7 from Chris Baker cmbake...@gmail.com ---
gpart seems to be showing more sectors then it actually has, the first line
from gpart: 6315617985 lists the sector size right?

gpart list shows the last sector as 15618047 and first sector as 63

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #6 from Chris Baker cmbake...@gmail.com ---
The results from gpart seems strange, the last section of free space seems to
start after the end of the disk if I am interpreting the results right.  

If i plug the drive into windows and use R-Studio it lists the following
partition info:

Disk 
Start: 0
Size: 15601664 Secorts

1st Partition:
Name: Partition2
Paritition Number: 0
Type: Unknown (0x8e) 
Offset: 1026048 Sectors
Size: 14575616 Sectors

2nd Partition:
Name: g:
Type: Ext2FS/XIAFS
Partition Number: 1
Offset: 2048 Sectors
Size: 1024000 Sectors

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #5 from Chris Baker cmbake...@gmail.com ---
from within linux parted -l shows
Model: MX MXUB3SES-8GB (scsi)
Disk /dev/sdb: 7988MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End SizeType File system  Flags
 1  1049kB  525MB   524MB   primary  xfs  boot
 2  525MB   7988MB  7463MB  primary   lvm


from FreeBSD installation shell gpart show gives the following
6315617985 da0 MBR (7.4G)
631985 - free - (993K)
2048  10240001 linux-data [active] (500M)
1026048   14575616   2 linux-lvm (7.0G)
15601664  16384- free - (8.0M)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #4 from Hans Petter Selasky hsela...@freebsd.org ---
Hi,

dec2hex(15601664) = EE1000

The LBA=0xee4fff is then invalid. Did you check that the partition table and
MBR is valid?

Maybe you can dump them:

gpart show /dev/daX

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

Bug ID: 198647
   Summary: MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST
asc:21,0 (Logical block address out of range)
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: usb
  Assignee: freebsd-usb@FreeBSD.org
  Reporter: cmbake...@gmail.com

I am trying to install FreeBSD 9.3, also tried 10.1 and 11.0, to an mx-ex 8gb
flash drive. Here is a link to the specifications:
http://mx-technology.com/h5/en/flash2.php?sid=38
It is a usb3 device, but plugged into usb2 ports.

If I go to the shell and unplug the device then plug it back in here are the
errors I get (partial, some scroll off screen):
[CODE](da0:umass-sim0:0:0:0): Error 22, Unretryable error
(da0:umass-sim0:0:0:0): Read(10). CDB: 28 00 00 ee 4f ff 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block
address out of range)
[/CODE]
and then it repeats the same error, I think I saw some flash by that said
Write() instead of Read(10) during one of my attempts.

I have tried reinitializing the disk using windows disk manager which seemed to
work fine. Drive behaves as expected in my windows machines and linux CentOS.
This has happened both on a Dell R610 and a HP touchsmart tx2 laptop.  The dell
R610 works with FreeBSD except for this memory stick.


If I drop to shell during installation I can get the following information:
[CODE]camcontrol inquiry da1:
pass3: MX MXUB3SES-8GB 1.00 Removable Direct Access SCSI-6 device
pass3: Serial Number 000133
pass3: 40.000MB/s transfers

dmesg | grep ^da1
da1: at umass-sim1 bus 1 scbus 4 target 0 lun 0
da1: MX MXUB3SES-8GB 1.00 Removable Direct Access SCSI-6 device
da1: Serial Number 000133
da1: 40.000MB/s transfers
da1: 7626MB (15618048 512 byte secotrs: 255H 63S/T 972C)
da1: quirks=0x2NO_6_BYTE
[/CODE]
Seems similar, but different to bug 194062

If from shell before trying to install I do a [CMD]sysctl
kern.cam.da.1.minimum_cmd_size=16[/CMD] then I am able to get farther showing
the please review the disk setup screen, and instead of giving read errors it
gives the following error after hitting commit:
[CODE]write(16). cdb: 8a 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
cam status: ccb request completed with an error
error 5, retries exhausted[/CODE]

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


[Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range)

2015-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647

--- Comment #1 from Chris Baker cmbake...@gmail.com ---
Initially I had posted to the forums:
https://forums.freebsd.org/threads/mx-es-usb-drive-by-mach-xtreme-error-22.50845/

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org