[DragonFlyBSD - Bug #2917] da8: reading primary partition table: error accessing offset 000000000000 for 512

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Jun 2 09:40:16 PDT 2016


Issue #2917 has been updated by liweitianux.


Hello,

I just tried the latest DragonFly snapshot (20160531) on my ThinkPad X200 but without luck, and the above issue remains the same.  I checked the BIOS but found nothing special related to the USB.

On the other hand, I booted my new ThinkPad T450s with the same USB stick, and it worked and gave me the login.

The following information about my USB stick is extracted from the "dmesg.boot" with the working ThinkPad T450s:
------------------------------------------------------
da8: si_iosize_max:131072
da8 at umass-sim0 bus 0 target 0 lun 0
da8: <Netac OnlyDisk 1100> Removable Direct Access SCSI-4 device 
da8: Serial Number AATN6P9DAV56PURL
da8: 40.000MB/s transfers
da8: 15474MB (31690752 512 byte sectors: 255H 63S/T 1972C)
da8: type 0xa5, start 63, end = 3887729, size 3887667 : OK
Mounting root from ufs:da8s1a
------------------------------------------------------

Hope it helps this issue.


Regards!
Aly

----------------------------------------
Bug #2917: da8: reading primary partition table: error accessing offset 000000000000 for 512
http://bugs.dragonflybsd.org/issues/2917#change-12913

* Author: liweitianux
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: 
----------------------------------------
Hello,

Recently, I tried to install DragonFly BSD on my old ThinkPad X200 with both the 20160512-snapshot and 4.4.3-release USB image.  However, DragonFly failed to mount root from the USB device.

I enabled the verbose boot, and got the following error message:
----------------------------------------------------------------
(da8:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da8:umass-sim0:0:0:0): Retrying Command
...
(da8:umass-sim0:0:0:0): error 5
(da8:umass-sim0:0:0:0): Retries Exhausted
da8: reading primary partition table: error accessing offset 000000000000 for 512
Mounting root from ufs:da8s1a
no disk named 'da8s1a'
setrootbyname failed
ffs_mountroot: can't find rootvp
kthread 0xffffffe02050d700 syncer3 has exited
Root mount failed: 6
----------------------------------------------------------------

And there does not exist the 'da8s1a' device when listing:
----------------------------------------------------------------
mountroot> ?
Possibly valid devices for root FS:
 "vn0"  "vn1"  "vn2"  "vn3"  "md0"  "md0s0"  "sg8"  "sg0"  "da8"  "da0"  "da0s1"  "da0s2"  "da0s5"  "da0s6"  "da0s7"  "mapper/control"
----------------------------------------------------------------

I also tried to disable the "xhci" load, but the same issue remained.

On the other hand, I tried to install FreeBSD (11-current) on that laptop and succeeded.  And I can read the same USB device (with the DragonFly image dd'd into it) under FreeBSD (with the "geom_part_bsd64" module loaded).

P.S.:
I noticed there already existed a related bug report #2822 with this similar issue.  But I think this bug may not related with the USB3.0, but very likely due to the CAM, and that bug stalls for a long time.  Therefore I decide to open a new bug report.

It's my pleasure to provide any further information if necessary.


Best regards!
Aly



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list