WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] TC3.8_4 Real Time Upgrade  (Read 68227 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #45 on: April 23, 2021, 12:04:57 PM »
Hi MTCAT
Oh, right, sorry about that, ...
Not a problem.

Quote
... I do recall now that "sudo touch" command but I didn't realize that's what we were doing (making an empty backup file). ...
That's on me. I didn't mention it in that post, but will add that information to it.

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #46 on: April 23, 2021, 01:00:25 PM »
Hi Rich,

No problem, good to know what's going on there is all.

So I tried to boot up the real time kernel and now get a different modprobe error;

modprobe: can't open 'modules.dep': No such file or directory
Failed to open /dev/ramzswap0: No such file or directory
swapon: can't stat '/dev/ramzswap0': No such file or directory

And then when it gets to loading extensions, it hangs up there again. I thought we dealt with modules.dep and modules.alias already ??

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #47 on: April 23, 2021, 01:05:21 PM »
Hi MTCAT
Does it boot to a prompt? You may have to hit the carriage return a couple of times to see it.

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #48 on: April 23, 2021, 01:27:57 PM »
Hi Rich,

I do see a "boot:" prompt initially but I don't seem to have a choice as to what to boot, there's no "LILO like" list to choose from or anything ?

But I just wait a few moments and then it proceeds to boot the kernel indicated as default in extlinux.conf.

Thanks,

David


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #49 on: April 23, 2021, 01:37:31 PM »
Hi MTCAT
Sorry, I meant command prompt.

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #50 on: April 23, 2021, 01:41:31 PM »
Hi Rich,

No, unfortunately it's getting stuck again at the "Loading Extensions" step, the boot process never gets past that when trying to boot the real time kernel, I did copy all the *-rt19-tinycore.tgz files into /mnt/sdb1/tce/optional though, unless some are still missing somehow ?

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #51 on: April 23, 2021, 01:56:56 PM »
Hi MTCAT
... But I just wait a few moments and then it proceeds to boot the kernel indicated as default in extlinux.conf.
So DEFAULT points to realtime, right?
And realtime looks like this:
Code: [Select]
LABEL realtime
KERNEL /boot/vmlinuzRT1
APPEND initrd=/boot/tinycoreRT1.gz quiet home=UUID= .....

If that all looks correct, add the word  text  like this:
Code: [Select]
APPEND initrd=/boot/tinycoreRT1.gz quiet text home=UUID= ..... This will skip loading extensions. See if you get to a command prompt then.

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #52 on: April 23, 2021, 03:28:09 PM »
Hi Rich,

Sorry for all these problems, the extlinux.conf is setup properly for realtime, I added the "text" entry to the APPEND line as you indicated but the boot process still tried to load extensions, and get's stuck there. I attached the extlinux.conf file here.

Thanks,

David


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #53 on: April 23, 2021, 03:41:57 PM »
Hi MTCAT
Try  base  instead of  text.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #54 on: April 23, 2021, 03:52:37 PM »
Hi MTCAT
One more thing, on both entries, change this:
Code: [Select]
waitusb=5 waitusb=5:UUID="622fa3dd-62bb-43fc-a837-43021b9b3c7f"to this:
Code: [Select]
waitusb=10:UUID="622fa3dd-62bb-43fc-a837-43021b9b3c7f"

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #55 on: April 23, 2021, 04:02:43 PM »
Hi Rich,

Using "base" worked !, I was able to boot into X now, and "uname -r" returns "2.6.33.3-rt19-tinycore", so we skipped loading extensions with the "base" modification ?

What now, add one extension at a time to see when booting fails maybe ?

Thanks,

David

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #56 on: April 23, 2021, 04:04:09 PM »
Hi Rich,

Forgot to add, I'll change the waitusb to 10 as you instructed as well, I also forgot to do the sudo touch modification, will do both of those now.

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #57 on: April 23, 2021, 04:13:26 PM »
Hi MTCAT
Using "base" worked !, I was able to boot into X now, and "uname -r" returns "2.6.33.3-rt19-tinycore", so we skipped loading extensions with the "base" modification ? ...
Actually, what you booted into is called the console. X is a graphical environment.
Yes, the  base  boot code instructs Tinycore not to load any extensions.
The  text  boot code instructs Tinycore not to start  X  after loading extensions.

Quote
... What now, add one extension at a time to see when booting fails maybe ?
Attach a copy of your  onboot.lst  file and we will proceed from there.

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: TC3.8_4 Real Time Upgrade
« Reply #58 on: April 23, 2021, 04:46:59 PM »
Hi Rich,

Thanks for all the help, I had problems mounting a second pen drive, so here is onboot.lst typed out for you !

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: TC3.8_4 Real Time Upgrade
« Reply #59 on: April 23, 2021, 05:03:37 PM »
Hi MTCAT
So you are not running a GUI. Lets start with a simple one:
Code: [Select]
tce-load -i zsync