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

[help wanted] hdd i/o error. #920

Closed
bencejuhaasz opened this issue Dec 7, 2020 · 11 comments
Closed

[help wanted] hdd i/o error. #920

bencejuhaasz opened this issue Dec 7, 2020 · 11 comments

Comments

@bencejuhaasz
Copy link

I followed the instructions on the wiki, used the master branch on ubuntu 18, got a .rom that starts&can boot things from usb, but can't read /dev/sda. How should I try to build this ? Are the releases outdated ?

@Thrilleratplay
Copy link
Contributor

@bencejuhaasz It would be helpful to know what device you are trying to set heads up on. Is there a hard drive installed in the device?

@bencejuhaasz
Copy link
Author

Sorry, I forgot it, it's an x230, and it has a hdd installed.

@Thrilleratplay
Copy link
Contributor

Thrilleratplay commented Dec 7, 2020

@bencejuhaasz Unfortunately, "followed the instructions on the wiki" does not help explain what you have done thus far. Describe the steps you took to install Heads and be as descriptive as you can be. Did you build it? Which board did you build for? Externally flash? What does Ubuntu 18 has to do with your Heads installation? Yes these releases are out of date, did you use a release build? What is on the hard drive? What else does it say other than /dev/sda?

Is the error saying /dev/sda or /dev/sda1?

@bencejuhaasz
Copy link
Author

I followed this guide: http://osresearch.net/Building/ and used x230 as the BOARD variable, then I flashed the 12MB image with this (https://github.com/gch1p/thinkpad-bios-software-flashing-guide) exploit. I used an Ubuntu 18.04 install to build the .rom, and an other one as a live cd to flash. There's a Qubes install on /dev/sda. The problem is, that Heads can't read a single bit out of /dev/sda, doesn't even see the partition table. If I do cat /dev/sda, no random data fills the screen, I just get more kernel log errors about some kind of i/o error. I'll try to paste these errors here.

@bencejuhaasz
Copy link
Author

What would be an ideal, known to work build environment ? Are there succesfull builds for the x230 with the current version?

@Thrilleratplay
Copy link
Contributor

Thrilleratplay commented Dec 7, 2020

You executed cat /dev/sda in the Heads rescue shell? If so, try dmesg | less and scroll through to see if there are any errors or mentions of ata, sd or something that would refer to a hard disk. The hard drive is internally and connected via sata?

@bencejuhaasz
Copy link
Author

Yes, internally and with sata.

@bencejuhaasz
Copy link
Author

@bencejuhaasz
Copy link
Author

Looks like my hard drive was (or got?) physically damaged at flashing. Replaced it, Heads works fine. Thanks for your great work! (And fast response).

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 8, 2020

What would be an ideal, known to work build environment ? Are there succesfull builds for the x230 with the current version?

@bencejuhaasz ROMs are built for most of the most used platforms where blobs are not present (faked IFD, no ME redistribution without permission, or ME downloaded directly from manufacturer, extracted and put in place under blobs directory) here for each pushed in master, where contributors are invited to register themselves over CircleCI and make their branch followed there so that their PR are already built and testable by the community prior of merging. You can click on the green checkmark under Heads.

For example, at the time of writing this:

Note that ROMs differentiate x230 board definitions per boards modules inclusion and size restrictions (internally flashed per 1vyrain or other exploits not neutering ME nor taking advantage of the total available space, which requires external flashing): x230, x230-hotp-verification, x230-hotp-maximized, x230-maximized)

To take advantage and use the maximized boards (taking advantage of the 11.5mb maximized BIOS space available vs 7mb for not maximized boards x230 boards), initial external reprogramming is required.

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 8, 2020

@bencejuhaasz would you consent to be added to board owners #692 ?

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

3 participants