WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Newbie] - TC freeze at boot  (Read 1080 times)

Offline micka

  • WikiUser
  • *
  • Posts: 11
[Newbie] - TC freeze at boot
« on: January 27, 2018, 12:13:46 AM »
Hi !

Want to give a try to TC on my ASUS X205TA.

After downloading "TinyCore-current.iso" and "burn it" on a usb stick (unetbootin), nothing happen at startup :o

I noticed that TC is not like other distrib, and also that ASUS X205TA need a "special" 32bits boot file :
https://openclassrooms.com/forum/sujet/guide-installer-linux-sur-asus-x205ta

So I create /efi/boot/bootia32.efi and now I have a grub> command line at boot :)

I type :
1. set root=(hd0,1) // My disk and partition file where TC is installed by unetbootin
2. linux /ubnkernel
3. initrd /ubninit
4. boot

TC boot and after few seconds, it freeze :


What I'm I doing wrong ?

Thx for your help.
 ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9758
Re: [Newbie] - TC freeze at boot
« Reply #1 on: January 27, 2018, 01:27:59 AM »
It does not look frozen, it looks like a normal text boot with verbose messages. Try pressing enter.
The only barriers that can stop you are the ones you create yourself.

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #2 on: January 27, 2018, 04:39:41 AM »
Nothing happen when pressing enter or typing something.

Just like if there is no keyboard.

Only thing that "doing something" is when I remove/insert the usb stick. It prints a dmesg like :

Code: [Select]
usb 1-2.2: USB disconnect, device number 4
Code: [Select]
usb 1-2.2: new high-speed USB device number 5 using xhci_hcd .....

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #3 on: January 27, 2018, 04:45:48 AM »
Just tried to connect an external usb keyboard.

It's recognise and when pressing enter, I got a prompt  (tc@box:~$) :)

Seems the problem is that TC don't recognise the ASUS X205TA keyboard...

Someone can help on this ?
« Last Edit: January 27, 2018, 04:47:25 AM by micka »

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #4 on: January 27, 2018, 10:04:52 AM »
Problem with ASUS X205TA keyboard driver.

https://patchwork.kernel.org/patch/8734321

How can I apply it in TC ?
« Last Edit: January 27, 2018, 10:06:40 AM by micka »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9962
Re: [Newbie] - TC freeze at boot
« Reply #5 on: January 27, 2018, 10:29:10 PM »
You could set up the tinycore kernel source, apply the patch, recompile the kernel and remaster to include the patched driver in rootfs.gz or core.gz

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9758
Re: [Newbie] - TC freeze at boot
« Reply #6 on: January 28, 2018, 01:11:50 AM »
That patch is so old, it's already included in both tc 8.x and 9.x kernels. Please check if hid_asus is listed in lsmod output; if not, run "sudo modprobe hid_asus".
The only barriers that can stop you are the ones you create yourself.

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #7 on: January 29, 2018, 09:36:22 AM »
hid_asus not listed in lsmod.

I tried sudo modprobe hid_asus :
Code: [Select]
modprobe: module hid_asus not found in modules.dep
How can I add it ?

Thx

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #8 on: January 29, 2018, 10:09:16 AM »
Tried that : https://github.com/vlasenko/hid-asus-dkms#asus-hid-fte100-dkms-driver
but :
Code: [Select]
dkms not found, aborting...

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #9 on: January 29, 2018, 10:19:25 AM »
Checking modules.dep return "nothing" :

Code: [Select]
cat /lib/modules/4.8.17-tinycore/modules.dep | grep hid_asus
and in kernel/drivers/hid,

Code: [Select]
ls | grep asus return "nothing"


Seems that patch has been included in Kernel version 4.10 or later... (https://github.com/vlasenko/hid-asus-dkms)
« Last Edit: January 29, 2018, 10:28:55 AM by micka »

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #10 on: January 29, 2018, 10:23:25 AM »
Juanito, how can I do that (tutorial) ?

Sounds fun  :D

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9962
Re: [Newbie] - TC freeze at boot
« Reply #11 on: January 30, 2018, 12:12:24 AM »
That's a "-" not an"_" - using corepure64 9.0alpha2:
Code: [Select]
$ cat /lib/modules/*/modules.dep | grep hid-a
kernel/drivers/hid/hid-aureal.ko.gz:
kernel/drivers/hid/hid-axff.ko.gz: kernel/drivers/input/ff-memless.ko.gz
kernel/drivers/hid/hid-a4tech.ko.gz:
kernel/drivers/hid/hid-appleir.ko.gz:
kernel/drivers/hid/hid-alps.ko.gz:
kernel/drivers/hid/hid-asus.ko.gz:
kernel/drivers/hid/hid-accutouch.ko.gz:
kernel/drivers/hid/hid-apple.ko.gz:

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #12 on: January 30, 2018, 04:34:51 AM »
First of all, thanks for your attention  ;)

On CorePlus and TinyCore 8.x, no hid-asus nor hid_asus.

Tried corepure64 9.0alpha2 and effectively hid-asus is present.

As suggested by curaga, at startup, no hid_asus in

Code: [Select]
lsmod | grep asus

So, I run

Code: [Select]
sudo modprobe hid_asusand
Code: [Select]
sudo modprobe hid-asus
Both command return nothing and my keyboard still not recognize.


When I check

Code: [Select]
dmesg | grep asus
No message on th fact that hid-asus or hid_asus was loaded.

What am I doing wrong ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9962
Re: [Newbie] - TC freeze at boot
« Reply #13 on: January 30, 2018, 04:40:23 AM »
'seems to work for me:
Code: [Select]
$ sudo modprobe hid-asus
$ lsmod | grep hid
hid_asus               12288  0

Offline micka

  • WikiUser
  • *
  • Posts: 11
Re: [Newbie] - TC freeze at boot
« Reply #14 on: January 30, 2018, 04:50:34 AM »
Sorry, YES Juanito, I got this too...

But my keyboard still not be recognized... and nothing in dmesg...