Mytek Stereo192 Not Connecting
#11
(08-Nov-2021, 07:14 AM)bigmo Wrote: Power outage in my neighborhood yesterday, so no progress for me.  

Email received.  Thanks much, agent_kith!

Got the new kernel uploaded with no incident, but cannot get it to stay as the boot kernel for my system.  I know, I know: why on earth does this guy have so much trouble...

The Boot Kernel section does show two items in the dropdown: 5.4.0-89-generic or 4.4.9-rt17-amd64-ng-mytek.  I select mytek, of course, click Save and reboot but the 5.4.0-89-generic just keeps coming back.  I saw a segmentation fault after one reboot, but just once and have not had it again.  

I did notice that when I change the Boot Kernel and click save, the boot kernel changes back immediately before I can even reboot the OS.  Might be related.  

I am using version 1.2.0.  I suppose I could update to 1.2.1 but was just trying to keep my problems isolated before upgrading.  

As always, I'll keep chipping away at it.
Hmm. Seems the kernel changing code isn't working. Which is strange because it worked in my setup (negatively as I was running this in a virtual machine)....

There's also the possibility the mytec kernel will not boot properly on your setup if you installed Ubuntu in EFI mode (i.e. with CSM off).

How good are you at building your own kernel? Big Grin Big Grin
Snakeoil Operating System - Music, your way!
Reply

#12
(08-Nov-2021, 07:42 AM)agent_kith Wrote:
(08-Nov-2021, 07:14 AM)bigmo Wrote:  
Hmm. Seems the kernel changing code isn't working. Which is strange because it worked in my setup (negatively as I was running this in a virtual machine)....

There's also the possibility the mytec kernel will not boot properly on your setup if you installed Ubuntu in EFI mode (i.e. with CSM off).

How good are you at building your own kernel? Big Grin Big Grin

You're awesome.  I appreciate you sticking with me.  

Earlier tonight  I SSH'd into my server and successfully edited the grub bootloader base on this post:
https://www.snakeoil-os.net/forums/Threa...60#pid1560

Nice.  But still not loading the kernel we want.  At least it stopped booting into advanced options and blowing up.  lol.


My homework now:
1.  Check how Ubuntu was installed.  EFI mode?  I'll have to find out.  
2.  Building my own kernel?  Should I disclose that I was a software developer in a previous life?  I am willing to give that a try.  If you have any docs on the forums, that would be of great assistance as my Linux is a bit rusty.  

Thanks!
Reply

#13
(08-Nov-2021, 01:17 PM)bigmo Wrote: 2.  Building my own kernel?  Should I disclose that I was a software developer in a previous life?  I am willing to give that a try.  If you have any docs on the forums, that would be of great assistance as my Linux is a bit rusty.  
It's actually not that difficult, just time consuming to experiment with various kernels to get that magic one. Steps roughly are
Download kernel source:
  1. Download RT patch
  2. Extract everything on your Snakeoil computer (this is easiest, but can be offloaded to another faster computer in the future)
  3. Apply RT patch
  4. Install all the tools necessary to build a kernel (google for list)
  5. run "make oldmenuconfig"
  6. run "make config" and enable/disable things you like
  7. run "make modules && make bzImage"
  8. run "sudo make modules_install" to install modules
  9. copy bzImage as /boot/vmlinuz-give-this-a-name
  10. update /etc/default/grub to use the new kernel
  11. run "sudo update-grub"
  12. Reboot and pray.
This is just a quick walkthrough. Will have more details later, and this will be automated in the future. Submit your computer config, and wait for an email to download the ZIP file. The new system will hopefully make it easy for users to collaborate and find that magic kernel.

Edit: Also refer to the Linky link referred in the Wiki.
Snakeoil Operating System - Music, your way!
Reply

#14
Discovered my server is not in EFI mode by downloading and checking efibootmgr.  

EFI variables are not supported on this system.  

I'm thinking your statement of:
"...possibility the Mytek kernel will not boot properly on your setup if you installed Ubuntu in EFI mode (i.e. with CSM off)" means my system actually should boot properly with the Mytek kernel.  Now whether installing it in that mode is different than running it in that mode...I dunno, but I'll bet they are the same.

Ok.  Onward!
[-] The following 1 user Likes bigmo's post:
  • agent_kith
Reply

#15
(09-Nov-2021, 05:54 AM)bigmo Wrote: Discovered my server is not in EFI mode by downloading and checking efibootmgr.  

EFI variables are not supported on this system.  

I'm thinking your statement of:
"...possibility the Mytek kernel will not boot properly on your setup if you installed Ubuntu in EFI mode (i.e. with CSM off)" means my system actually should boot properly with the Mytek kernel.  Now whether installing it in that mode is different than running it in that mode...I dunno, but I'll bet they are the same.

Ok.  Onward!
You have to use the mytec kernel then. Although it's an older kernel, it should boot up fine. and that has the mytec kernel compiled in, so in theory should work. If boot up fails, recover manually by changing the default kernel from the grub boot loader.
Snakeoil Operating System - Music, your way!
Reply

#16
(08-Nov-2021, 01:17 PM)bigmo Wrote: Nice.  But still not loading the kernel we want.  At least it stopped booting into advanced options and blowing up.  lol.

So here was a problem right under my nose.  The mytek linuz file was causing an error with 20.04 server: 

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I chased that one down for a while, but this led me to try:

sudo update-initramfs -u -k version

which also didn't work.  I read in a post somewhere regarding Ubuntu 20.04 that others had trouble getting that version to compile  or run custom kernels, so I reinstalled 18.04.  I was able to get the 1.2.0 installer to run and added the vmlinuz mytek file, and that worked fine as well.  But when I added the mytekusb2-generic.fw file I suddenly lost my network connection.  Truly weird.  I'll have to try to repro that one, but it mimics what I saw last week.

So in the end the mytek kernel doesn't boot with a fresh install of 20.04, at least not on my system here.  

Will try to restart the networking some time tomorrow...or just start over again.  At least the 18.04 seems to be behaving better than the 20.04.  Go figure.
[-] The following 1 user Likes bigmo's post:
  • agent_kith
Reply

#17
(09-Nov-2021, 01:44 PM)bigmo Wrote: Will try to restart the networking some time tomorrow...or just start over again.  At least the 18.04 seems to be behaving better than the 20.04.  Go figure.
Things will go better once the kernel builder stuffs is done.. Unsure at this stage when I'll get to start on that, time will tell Confused Confused Confused .
Snakeoil Operating System - Music, your way!
Reply

#18
No worries.  I'm sure you have a very long list of things to solve.  

Been working with the networking issue that shuts off once the mytek kernel gets installed.  I mean, everything gets wiped out.  Stepping through very carefully as I may be able to start it back up, but Ubuntu 18.04 went to netplan and yaml files so setup bits (as far as internet searches) are all over the board.  At least I now have a handle on how the resolv.conf file works.  More as soon as I can get better answers!
Reply

#19
(08-Nov-2021, 05:38 PM)agent_kith Wrote:
(08-Nov-2021, 01:17 PM)bigmo Wrote: 2.  Building my own kernel?  Should I disclose that I was a software developer in a previous life?  I am willing to give that a try.  If you have any docs on the forums, that would be of great assistance as my Linux is a bit rusty.  
It's actually not that difficult, just time consuming to experiment with various kernels to get that magic one. Steps roughly are

I'm going to head down this kernel building road.  I was trying a solution today that would let me use ifup/ifdown and simplify my network setup, but the suggested commands ended up running into permission issues that just went nowhere.  

Off to kernel land.   Confused
Reply

#20
(14-Nov-2021, 06:42 AM)bigmo Wrote: I'm going to head down this kernel building road.  I was trying a solution today that would let me use ifup/ifdown and simplify my network setup, but the suggested commands ended up running into permission issues that just went nowhere.  

Off to kernel land.   Confused
If you hit permission errors, just precede your command line with 'sudo' (without quotes), usually works.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  snakeoil always refuse connecting from vnc viewer clark8888 2 769 15-Oct-2023, 10:37 AM
Last Post: clark8888
  Connecting DAC via HDMI traver02 2 2,037 21-Mar-2019, 08:12 AM
Last Post: traver02
  Issues while connecting to my DAC rockymystic 8 4,905 20-May-2018, 08:34 AM
Last Post: agent_kith



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 106
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.