Project

General

Profile

Bug #62136

Can't find /boot/zfsloader | FreeNAS-11.2-RC2.iso

Added by Matt Kessler 6 months ago. Updated 3 months ago.

Status:
Closed
Priority:
No priority
Assignee:
-
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Cannot Reproduce
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Hi folks
Having issues to install 11.2-RC2 trying several usb sticks, I had a successful install ind the end — well that was before the reboot…

At reboot it is looking for the zfsloader on a data drive, as it can't find it on the boot usb stick…

Can't find /boot/zfsloader

FreeBSD/x86 boot
Default: Sea3:/boot/kernel/kernel
boot:

Can't find /boot/kernel/kernel

FreeBSD/x86 boot
Default: Sea3:/boot/kernel/kernel
boot:

System

Product Name    ProLiant MicroServer Gen8
System ROM        J06
System ROM Date    06/06/2014

History

#1 Updated by Dru Lavigne 6 months ago

  • Status changed from Unscreened to Blocked
  • Reason for Blocked set to Need additional information from Author

Matt: have you tried installing to a different boot media to see if it also fails? That helps to narrow down if the issue is with the boot device or another piece of hardware on the system.

Also, RELEASE is uploading now so you could try waiting a few hours to see if installing RELEASE makes a difference.

#2 Updated by Matt Kessler 6 months ago

Hi Dru
The install took ~50 min just to get to the first reboot!
So it's becoming a bit of a time issue — but sure I'll give RELEASE a go!

I have gone through 4 sticks for boot, 3 brand new, one from a pile

Is there a know issue with how usb sticks are recognized by the OS,
as in USB Flash, Generic Mass Storage or General UDisk?

This one worked

ugen0.6: <IT720829 USB Fash Disk> at usbus0
umass3 on uhub4
umass3: <IT720829 USB Fash Disk, class 0/0, rev 2.00/0.00, addr 6> on usbus0
umass3:  SCSI over Bulk-Only; quirks = 0xc100
umass3:10:3: Attached to scbus10
da3 at umass-sim3 bus 3 scbus10 target 0 lun 0
da3: <IT720829 USB Fash Disk 2.b0> Removable Direct Access SCSI-2 device
da3: Serial Number Z1YATH120360359F
da3: 40.000MB/s transfers
da3: 3841MB (7866368 512 byte sectors)
da3: quirks=0x2<NO_6_BYTE>

This one failed(new)

ugen0.5: <Generic Mass Storage> at usbus0
umass2 on uhub4
umass2: <Generic Mass Storage, class 0/0, rev 2.00/1.01, addr 5> on usbus0
umass2:  SCSI over Bulk-Only; quirks = 0x4101
umass2:9:2: Attached to scbus9
da2 at umass-sim2 bus 2 scbus9 target 0 lun 0
da2: <Generic Flash Disk 8.07> Removable Direct Access SPC-2 SCSI device
da2: Serial Number 0E031389
da2: 40.000MB/s transfers
da2: 3840MB (7864320 512 byte sectors)
da2: quirks=0x2<NO_6_BYTE>

Two of those failed(new)

ugen0.6: <General UDisk> at usbus0
umass3 on uhub4
umass3: <General UDisk, class 0/0, rev 2.00/1.00, addr 6> on usbus0
umass3:  SCSI over Bulk-Only; quirks = 0x4100
umass3:10:3: Attached to scbus10
da3 at umass-sim3 bus 3 scbus10 target 0 lun 0
da3: <General UDisk 5.00> Removable Direct Access SCSI-2 device
da3: 40.000MB/s transfers
da3: 3841MB (7866368 512 byte sectors)
da3: quirks=0x2<NO_6_BYTE>

Edit: Running this unit for~4 years; stick with 11.2-U6 is doing just fine

#3 Updated by Matt Kessler 6 months ago

43920

As a test I put FreeNAS-11.1-RELEASE.iso on the very same install usb stick and installed 11.1 on the very same boot stick.
This takes about 7 minutes and everything just works!!

I then took FreeNAS-11.2-RELEASE.iso — again using the very same usb sticks for install and boot.
Now this takes 1h49m59s!! And it fails as before!!

Those HP Gen8 are very popular and very good in many regards.
A Intel Celeron G1610T (2.3 Ghz) Ivy Bridge (22nm), L2 Cache: 2 × 256 KB. L3 Cache: 2 MB with 12GB RAM
has no performance issue with 11.1-U6 either. It would be a shame if 11.2 makes them EOL for freenas (we got 4)

#4 Updated by Matt Kessler 6 months ago

  • File deleted (FreeNAS-11.2-iso_install-done-in-1h49m59s.png)

#5 Updated by Matt Kessler 6 months ago

43935

replaced as image had 15MB

#6 Updated by Dru Lavigne 6 months ago

  • Private changed from No to Yes

Matt: while you're booted into the 11.1 installation, make a debug (System -> Advanced -> Save debug) and attach it to this ticket. This will give more details about the hardware to assist the dev in diagnosing the issue.

#7 Updated by Matt Kessler 6 months ago

44163
44169

I got a debug dump from FreeNAS-11.2-RELEASE

I tried one more stick and again super, super slow, so I canceled this attempt.
Instead of a stick I decided to test an external 3.5HDD in a usb case, on this usb port, just to rule out HW issues here.

And sure enough I got 11.2 up and running in about 9min!

What I do notice, this one is recognized as Fixed Direct Access SCSI-2 device

da0: <ST325031 0AS > Fixed Direct Access SCSI-2 device
da0: Serial Number 9301FFFFFFFF
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors)

which brings me back to:
Is there a know issue with how usb sticks are recognized by the OS,
as in USB Flash, Generic Mass Storage or General UDisk?

And do I simply have read/write speed problems with some type of usb stick?

#8 Updated by Dru Lavigne 6 months ago

  • Status changed from Blocked to Unscreened
  • Assignee changed from Release Council to Alexander Motin

#9 Updated by Matt Kessler 6 months ago

  • File debug-freenas-(stick_slow11.2--fast11.1)20181208125016.tgz added

11.1-RELEASE debug dump!

This is from the aforementioned stick, where 11.2-RELEASE install was super, super slow and I canceled out of it after 1h and about 50%.

I then quickly tested 11.1-RELEASE, which again installed in ~8m!
I did not really care to fully boot into the GUI at this stage, which I have done now in order to create the debug dump.

[root@freenas ~]# beadm list                                                                                                        
BE              Active Mountpoint  Space Created                 Nickname                                                           
default         NR     /          828.3M 2018-12-07 05:43        default                                                            
Initial-Install -      -            3.3M 2018-12-08 12:32        Initial-Install 

About two hours later I went on with my external 3.5 HDD and got 11.2-RELEASE installed — debug in above post!

Hope this may help.

Many thanks

#10 Updated by Alexander Motin 5 months ago

  • Status changed from Unscreened to Blocked

Matt Kessler wrote:

which brings me back to:
Is there a know issue with how usb sticks are recognized by the OS,
as in USB Flash, Generic Mass Storage or General UDisk?

All those strings are reported by the stick itself, and typically all those "Generic" words means it is some no-name low-grade chinesium. The facts of 4GB capacity and USB2 interface also speak toward it. Use of HDD in a USB cage just moved you into completely different league of quality (even though USB cases also not always perfect).

I would split this ticket into two different problems:
- loader problem, possibly caused by inability to properly identify boot device, ending up in failed attempt to boot from data disk;
- USB sticks performance problem, which beside being always ugly, somehow got worse in 11.2.

Both of those problems were already reported for 11.2, even though not yet diagnosed. So, if you have spare SATA port on your system, I would propose to plug there some smallest HDD or SSD (there are some very cheap even though crappy on market now) and see which of problems it solve.

I am skeptical about our abilities to fix USB performance issues, since I suppose the problem is on a layer of USB stack which is out of our expertise or available tools. May be reporting this part of the issue to FreeBSD upstream could be more efficient, since we haven't modified the USB stack in FreeNAS.

#11 Updated by Alexander Motin 3 months ago

  • Status changed from Blocked to Closed
  • Assignee deleted (Alexander Motin)
  • Target version changed from Backlog to N/A
  • Reason for Closing set to Cannot Reproduce
  • Reason for Blocked deleted (Need additional information from Author)

USB flash sticks are evil.

#12 Updated by Dru Lavigne 3 months ago

  • File deleted (debug-freenas-(usb-hdd-bootdev)20181207071935.tgz)

#13 Updated by Dru Lavigne 3 months ago

  • File deleted (debug-freenas-(stick_slow11.2--fast11.1)20181208125016.tgz)

#14 Updated by Dru Lavigne 3 months ago

  • Private changed from Yes to No

Also available in: Atom PDF