Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live USB not working on Dell E4300 #107

Closed
schusz opened this issue Jan 25, 2021 · 34 comments
Closed

Live USB not working on Dell E4300 #107

schusz opened this issue Jan 25, 2021 · 34 comments

Comments

@schusz
Copy link

schusz commented Jan 25, 2021

After loading kernel the boot logo shows and then nothing happens. Is there a solution for this?

@probonopd
Copy link
Member

probonopd commented Jan 25, 2021

Hello @schusz
Which version are you using? hello-0.3.0_0C164-FreeBSD-12.1-amd64.iso ?

https://github.com/helloSystem/ISO/releases/tag/r0.3.0

If not, please retry with this version. The FreeBSD logo can take up to three minutes on the Live system. The installed system will be much faster.

@schusz
Copy link
Author

schusz commented Jan 26, 2021

Hi @probonopd , hello-0.3.0_0C164-FreeBSD-12.1-amd64.iso is the version I am using.

I used 'unset boot_mute' and 'boot -v' to boot in verbose mode.

Booting did not succeed. It kept displaying:

ahcich4: CONNECT requested
ahcich4: AHCI reset...
ahcich4: SATA connect time-out time=10000us status=00000000
ahcich4: reset: device not found

I turned the machine off after 2 hours

@probonopd
Copy link
Member

Thanks @schusz.
Seemingly some issue wih the SATA controller.
Can you try again with disabling all SATA drives in BIOS?

@schusz
Copy link
Author

schusz commented Jan 27, 2021

Goodmorning @probonopd , If I disable all SATA it repeatedly shows this:

g_vfs_done():iso9660/LIVE[READ(offset=640415744, length=14336)]error = 5
(dao:umass-sim0:0:0:)0): READ(10). CDB: 28 00 00 10 77 94 00 00
(dao:umass-sim0:0:0:)0): CAM status:CCB request completed with an error
(dao:umass-sim0:0:0:)0): Retrying command, 3 more tries remain

This repeats itself 2 times until 0 more times remain.
Then it says:
(dao:umass-sim0:0:0:)0): Error 5, Retries exhausted

And then it repeats endlessly.

If you want I can send a video of the boot proces.

@probonopd
Copy link
Member

Could be something that has to do with this USB device.
Can you try another (model of) USB stick?

@schusz
Copy link
Author

schusz commented Jan 28, 2021

@probonopd I tried 3 different USB drives.
Booting failed from all 3. Booting from the same sticks works flawlessly on my MacBook Pro8,1. See uploaded photo:
![Uploading 106179819...]

But there Wi-Fi is not working. But I think that is already a known issue.

@schusz
Copy link
Author

schusz commented Jan 28, 2021

@probonopd Got Wi-Fi working from USB dongle.
Works great!
A pity that I can't install it on the Mac's hard drive. And that it doesn't boot on the Dell E4300.

@probonopd
Copy link
Member

A pity that I can't install it on the Mac's hard drive.

Why not?

@grahamperrin
Copy link
Contributor

grahamperrin commented Jan 31, 2021

#107 (comment)

… failed from all 3. … ![Uploading 106179819...] …

(GitHub didn't get the complete upload.)

… kernel: … Error 5, Retries exhausted

#107 (comment)

Do you get this consistently – with every failed boot – for all three USB drives – with the Dell E4300?

If you're willing to share a link to the public result of a hardware probe:

  1. boot from an alternative FreeBSD-based system (NomadBSD, maybe)
  2. have all three drives connected
  3. sudo pkg install sysutils/usbutils sysutils/hw-probe && sudo hw-probe -all -upload

– then we can think about external hubs (if any), and so on.

Defocusing from helloSystem

For comparison:

Multiple errors with USB devices : freebsd (2021-01-25, not resolved) with reference to:

– in very simple terms, one side of this notebook is better than the other.

Generally, you might find that FreeBSD-based systems are more persnickety about quality of USB hardware (including connectors) than, say, Microsoft Windows.

See also

helloSystem/ISO#25 (comment)

@schusz
Copy link
Author

schusz commented Jan 31, 2021

A pity that I can't install it on the Mac's hard drive.

Why not?

Sorry, I forgot to mention the reason. I don't want to remove macOS from it.
I'll try and find out how to install helloSystem on the Dell E4300.
First I'll try @grahamperrin 's suggestion.

@schusz
Copy link
Author

schusz commented Feb 1, 2021

@grahamperrin Yes, on the De E4300 boot failed consistently on every USB drive.
I'll try to probe the hardware and give you the public link tonight.

@schusz
Copy link
Author

schusz commented Feb 1, 2021

Hi @grahamperrin I probed my Dell Latitude E4300. I had one USB hub connected, and had 5 USB flash drives inserted in the hub.
This is the public link to the result of the hardware probe:
https://bsd-hardware.info/?probe=84925c014a

@schusz
Copy link
Author

schusz commented Feb 2, 2021

I found a thread in the FreeBsd forum that discribes a similar issue with a Lenovo Thinkpad E485 and that was solved:

https://forums.freebsd.org/threads/installer-fails-to-boot-hangs-on-at-a-line-ahcich0-ahci-reset.71726/

But I don't know how to try the solution. I hope you can advise.

@schusz
Copy link
Author

schusz commented Feb 2, 2021

I changed the SATA setting in the BIOS from AHCI to ATA, and then the 'ahcich4: reset: device not found' message did not appear anymore, but now the message 'md1.unzip: UZIP(zlib) inflate() failed' message appears 10 times and then the booting freezes.

@grahamperrin
Copy link
Contributor

Thanks.

A minor typo (uzip without the letter n):

md1.uzip: UZIP(zlib) inflate() failed

helloSystem/ISO#102

@grahamperrin
Copy link
Contributor

grahamperrin commented Feb 2, 2021

Re: #107 (comment)

https://bsd-hardware.info/?probe=84925c014a&log=lsusb is interesting 👍 now also, please let us have a condensed view:

lsusb

@schusz
Copy link
Author

schusz commented Feb 2, 2021

I'm not sure what you mean by 'let us have condensed view: lsusb'.
What exactly should I do?

@grahamperrin
Copy link
Contributor

Sorry! Just run the one-word command at the command line, whilst booted from the NomadBSD drive, with the same (or a similar) set of USB devices connected:

lsusb

@grahamperrin
Copy link
Contributor

(There's the wish to perform a safe boot, however helloSystem/ISO#103 this is not yet implemented.)

@schusz
Copy link
Author

schusz commented Feb 3, 2021

Here's the result of the lsusb command:

@nomadbsd ~> lsusb
Bus /dev/usb Device /dev/ugen5.2: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus /dev/usb Device /dev/ugen0.4: ID 413c:8162 Dell Computer Corp. Integrated Touchpad [Synaptics]
Bus /dev/usb Device /dev/ugen0.3: ID 413c:8161 Dell Computer Corp. Integrated Keyboard
Bus /dev/usb Device /dev/ugen2.2: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus /dev/usb Device /dev/ugen0.2: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus /dev/usb Device /dev/ugen7.2: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus /dev/usb Device /dev/ugen6.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen5.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen0.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen1.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen2.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen3.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen7.1: ID 0000:0000
Bus /dev/usb Device /dev/ugen4.1: ID 0000:0000

I had 6 USB drives connected via a powered USB hub.

I disconnected the hub and inserted the USB drives one at a time:

Bus /dev/usb Device /dev/ugen7.2: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus /dev/usb Device /dev/ugen7.2: ID 0951:162b Kingston Technology DataTraveler HyperX 3.0
Bus /dev/usb Device /dev/ugen7.2: ID 1307:0165 Transcend Information, Inc. 2GB/4GB/8GB Flash Drive
Bus /dev/usb Device /dev/ugen7.2: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus /dev/usb Device /dev/ugen7.2: ID 18a5:0243 Verbatim, Ltd Flash Drive (Store'n'Go)
Bus /dev/usb Device /dev/ugen7.2: ID 18a5:0243 Verbatim, Ltd Flash Drive (Store'n'Go)

Is that what you are looking for?

@probonopd
Copy link
Member

Hi ·@schusz, do you have a chance to run this on an entirely different set of hardware - different USB stick, different computer?

@schusz
Copy link
Author

schusz commented Feb 11, 2021

Hi @probonopd, yes, I have a late 2010 iMac, a 2020 MacBook Pro, the infamous Dell Latitude E4300 (2x), a Dell Latitude E6400, and a Del Latitude E7280. Which helloSystem version do you suggest I use? I have loads of USB 2 and USB 3 flash drives.

@hcarrega
Copy link

I'm getting some issues to not booting on a acer aspire desktop and on a dell poweredge t110 maybe I burn it wrong

@probonopd
Copy link
Member

Live boot can take up to 5 minutes and needs at least 4 GB of RAM due to helloSystem/ISO#4.

@probonopd
Copy link
Member

probonopd commented Feb 11, 2021

@schusz if you have some time, why not make 2 bootable sticks (one USB2 and one USB3) and then test on all of them... as long as they have at least 4 GB of RAM. (Maybe except the 2020 MacBook Pro because that is probably too recent.)

And if you don't mind, then running the Hardware Probe utility and uploading probes would be great.

@grahamperrin
Copy link
Contributor

#107 (comment)

@hcarrega not necessarily. On each computer: boot in verbose mode.

@schusz
Copy link
Author

schusz commented Feb 15, 2021

@probonopd I used a different USB-2 and USB-3 drive with r0.3.

I now turned out that where I was not able to boot into helloSystem on the Dell E4300 before, it now worked.
It took a really long time though before it finished.
It even worked on some of the flash drives I tried before.
And r.0.3, r0.4 and r.055 now also worked on the Dell. E4300.
One peculiarity:
The Global Menu did not work as on the other devices. On the E4300 there were 3 right arrows in the menu, and then when you click that, a pull-down menu appears, as can be seen in the photo I took. I'll send it via a Twitter DM.

I did a Hardware Probe for all 4 devices that I booted with these drives.
Used a MacBook Pro 15", Late 2011, an iMac, Late 2010, Dell latitude E4300.

Hardware Probe Dell Latitude E7280 SanDisk (USB3) en Cruzer (USB 2):
https://bsd-hardware.info/?probe=1e243253d1
Hardware Probe 2 Dell Latitude E7280 Booted from Cruzer:
https://bsd-hardware.info/?probe=defaee0e5c

Hardware Probe iMac11,3, late 2010:
SanDisk USB3 and SanDisk 2.0https://bsd-hardware.info/?probe=d7cca96f72

Hardwate Probe 1 MacBook Pro 15" Late 2011, SanDisk USB3:
https://bsd-hardware.info/?probe=e74d76ecb3
https://bsd-hardware.info/?probe=8f93b4146d

I already gave the HW Probe url for the 4300 earlier.

So this issue seems to be resolved. It actually never existed, if only I waited long enough for the boot to be completed ;-).

@probonopd
Copy link
Member

Thank you @schusz, really helpful.

It took a really long time though before it finished.

Can you define "long"? The live system can take up to 5 minutes to boot, typically under 2. The installed system will be much faster.
helloSystem/ISO#4

The Global Menu did not work as on the other devices. On the E4300 there were 3 right arrows in the menu, and then when you click that, a pull-down menu appears

I suspect this has to do something with the DPI of the screen, and that the fonts are too large as a result and don't fit into the space in the menubar. Please open a separate ticket for this, ideally with details about the screen and/or hardware probe of the device in question.

@latenightly
Copy link

@schusz how long did it take? I just bought an iMac 2010 today to test out hello. Booted in verbose mode. There were a few Warnings, but it keeps going until it gets to play the intro music. The music finishes but even 10-15 minutes later, still only a black screen.

@schusz
Copy link
Author

schusz commented Aug 5, 2021

Hi @latenightly I just booted my late 2010 iMac 27" from a USB2 flash drive and it took 3 minutes for the desktop to appear. helloSystem build 0E223 for commit b6811af (hello-0.5.0_0E223-FreeBSD-12.2-amd64.iso).

@latenightly
Copy link

Hi @schusz, thanks for the response. I used the the same build and it did not work. I am using an iMac 21" of mid 2010. I wonder what the issue might be. I tried to find if it is an issue with the GPU unit but I did not get quite far.

I just tried again: when the music starts playing, I only see a black screen. Still after minutes nothing happens.
Any idea on how to tackle this another way?

@schusz
Copy link
Author

schusz commented Aug 6, 2021

Hi @latenightly I had this a long time ago and can't remember what steps to try from the top of my head, but I've had the same issue back then. You may find a solution in this issue: helloSystem/ISO#203

@probonopd
Copy link
Member

@schusz how long did it take? I just bought an iMac 2010 today to test out hello. Booted in verbose mode. There were a few Warnings, but it keeps going until it gets to play the intro music. The music finishes but even 10-15 minutes later, still only a black screen.

Does your iMac have a Radeon GPU? Then you might possibly be running into helloSystem/ISO#147.

@grahamperrin
Copy link
Contributor

grahamperrin commented Sep 2, 2021

Possible cross-reference:

Freeze boot FreeBSD 13.0 | The FreeBSD Forumsyesterday's update from the opening poster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants