clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
524 stars 29 forks source link

Live cd doesn't boot without acpi=off on chromebook #1098

Open danielstuart14 opened 5 years ago

danielstuart14 commented 5 years ago

When trying to boot the latest desktop live cd (30670) on my Acer R11 (Braswell), system hangs on boot. I can only boot if acpi=off is added to the cmdline, but then trackpad and keyboard don't work.

Any other distro boots flawlessly (fedora 30 & rawhide, ubuntu 18.04 & 19.04, etc). My guess is that clear kernel is missing some chrome-specific kernel configs.

Fedora 30 kernel config enables: CONFIG_CHARGER_CROS_USBPD=m CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_LAPTOP=m CONFIG_CHROMEOS_PSTORE=m CONFIG_CROS_EC_I2C=m CONFIG_CROS_EC_PROTO=y CONFIG_CROS_EC_SPI=m

lebensterben commented 5 years ago

When trying to boot the latest desktop live cd (30670) on my Acer R11 (Braswell), system hangs on boot. ...

@danielstuart14 When boot up, press and hold space until the boot menu of sysmted-boot appears, press e and append those kernel parameters. Then press enter to see whether it works.

BTW, I also see the acpi error but it doesn't stop me from booting up.

Sent with GitHawk

danielstuart14 commented 5 years ago

@lebensterben these aren't kernel parameters, but rather kernel configs that can only be set when compiling the kernel.

amygilliam1 commented 5 years ago

@miguelinux , do we have these configs set in the native kernel?

lebensterben commented 5 years ago

@lebensterben these aren't kernel parameters, but rather kernel configs that can only be set when compiling the kernel.

Yes you're right. There're more chromebook related kernel configurations here, which contains *_CHROMEOS_, *_CHROME_*, or *_CROS_*.

danielstuart14 commented 5 years ago

@lebensterben yes, these are related to chrome-ec sensors, nice to have, but can be added later. (Afaik, fedora doesn't even ship these enabled, ubuntu does)

miguelinux commented 5 years ago

we enabled Chrome hardware at linux-5.2.9-825

miguelinux commented 5 years ago

@danielstuart14 @lebensterben the kernel with Chrome hardware is out

Can you confirm this issue is solved?

danielstuart14 commented 5 years ago

Still not booting without acpi=off, maybe a coreboot acpi issue?

miguelinux commented 5 years ago

@danielstuart14 what kernel version is using your CL installer?

miguelinux commented 5 years ago

@danielstuart14 can you post the output of lsmod on fedora or ubuntu when booting in your platform.

danielstuart14 commented 5 years ago

@danielstuart14 what kernel version is using your CL installer?

I'll check once I get home, but I tested the latest iso build from that day.

Here is the lsmod output on ubuntu 18.04: https://pastebin.com/xXKGeBHs

danielstuart14 commented 5 years ago

Just checked, kernel version 5.2.10-828