The officially official Devuan Forum!

You are not logged in.

#26 Re: Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-10 14:24:23

I had meant to use the cli installer, but that isn't what I ended up using.

I don't remember seeing your use of gfxpayload to change efifb size.  I suspect that at least on some hardware, that a person might find that some sizes are accessible and some are not.  I'll see if I can find the time to play with this some more.  It is now spring moving into summer, and I've got plants to take care of, deer to chase away, fences to build and tree to plant.

I had tried looking into making X scrollable, but that didn't work either for me.  Most of the threads on the Internet mentioning this gamma size problem with xrandr, at some point talk about rebooting.  From a LiveCD, that doesn't help much.  :-)  Some of what I tried involved writing a xorg.conf file, and then doing

killall Xorg

to get a new xserver.

Thanks for taking the time to comment on this.  Have a great day!

#27 Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-10 02:50:24

ghaverla
Replies: 13

Greetings.

Quite a while ago, fsmithred built an experimental image for my benefit.  I've no idea if this image was ever  updated.

A few weeks/months ago, I put together another Ryzen computer, and I've been working away at it for a few different reasons as time permits.

A friend, has a computer which is getting cranky, and so I wanted to make a bootable SATA SSD that I could send him.  At one point, I got things to the point where it would boot a Debian and a Devuan OS.  In the last few days, the Debian (2 different kernels) versions stall in the boot process.  But I have not investigated why.

So, I booted this DVD refracta image which had NVMe support.  On a different computer than I had successfully used this to start a Linux install.  And I kept getting displays that were 680x480.  I tried playing games with xrandr, and it kept complainging about gamma size.  I had run across a few threads on the Internet about similar problems, and I have not yet run across a thread which explains the gamma size message.  And I have seen one thread, where the OP rementioned this gamma size error, and there was no response.

So why put up an error message, that nobody has an answer to?

I ran across lots of hints about how to get out of this 640x480 efifb, and nothing worked.  I got to the UEFI shell, and it said that there were 4 modes that it would support, and I will guess that 640x480 was the lowest resolution frame buffer it would support.  But as I know nothing about UEFI shell, I seen no way to try and boot the system after setting the  UEFI system to a higher resolution mode.  If a person does change things in the UEFI shell, it does not appear to be sticky.

But, in terms of installing Refracta (Devuan) onto this new computer, the problem is that the display would pop up windows, and parts of the window were out of range.  There could be a button to click on which would do what I wanted, but as it was not displayed there was no way to get to the button.

I am hoping I found a way around this, but I am not finished yet.

But your work was a good place to start from.

#28 Re: Other Issues » Becoming a Devuan Maintainer (cut) » 2017-12-18 01:26:03

I played with qbp a bit, and also with quilt.

Nothing I had seen, impressed me with the idea that I needed to have the patch in question, installed on top of the stack for quilt.  Fine, remove a bunch of directories of stuff.

I decided to try the d1h approach for the next try.  No guarantee it works.  The package I am playing with is not an established Debian package (it is a fork), and there are some big changes between the two.

The error messages one can get from some of these tools is simplistic.  Quilt is not looking for debian/series (I think that is the file), it is looking for something else.  Presumably something which will eventually write debian/series.

This fork has some big changes on what is in lm-sensors, and so the line number differences are not one or two, they are thousands or more.

But, I am learning things, which is all good.  I've got a day where I won't have much time to work on this coming up.

I am seeing what lots of newbies report to me about when they do things.  Instructions are not exact (but for me, I am not claiming there are instructions on how to import a fork of a supported package), but they are close.

Which goes back to how Perl can do testing (it assumes a scripting language, which isn't always possible when one has tom compile things in C or C++).

I've no idea how Perl is perceived here (Devuan).  There seems to be more preference for solutions outside of Perl even within Debian.

My argument for Perl, goes back to it being designed by a linguist, not a computer scientist.

Have a great day!

#29 Re: Installation » Is Devuan Ryzen? » 2017-12-18 01:10:09

No problem.

Have a great day!

#31 Other Issues » Becoming a Devuan Maintainer (cut) » 2017-12-17 02:05:58

ghaverla
Replies: 8

I had a better Subject, but taking to long lost it.

I got involved with Linux at 1.2.13.  At that time, I was already fed up with the M$ way of life.  And many years later, to run into Lennart and systemd  didn't impress me.

I am a number cruncher at heart.  Inverting matrices, differential equations, curve fitting, splines and similar are what really interests me.  But one often gets drug down into system and network things.  So, I've patched kernel sources to support and Arc-net (I think) NIC, set up a HUGE swap file, because some GIS file had 2 or 3 points thousands of kilometers outside of the bounds, and so on.

If a problem I am interested in, needa solving (for different data) many times, I will still go to FORTRAN.  Because that is what this language does.  If I only need to solve it once or twice, I went to Perl (and not Perl data language).  I don't think S or R were even a twinkle in those developer's eyes then (when I first went this way).

Having done so many things with Perl/CPAN, I started to learn a "preferred" way to develop Perl modules.  Which probably means the developers didn't do this, but they thought it would work best for people just learning to make modules.  I don't remember running across any Perl god (Larry Wall, ...) ever commenting on this.

But the idea was to develop from the beginning, by developing tests.

The only fault I've ever seen about this kind of process, is that it (with the modules Perl has) doesn't work with floating point.  It pretty much assumes that no matter what you do, the pattern of bits of the result is an EXACT recreation of the operations performed on the arguments.  And this is never true in floating point.  One chip has one error, another chip has another error, are you using all 80 bits in registers or shifting 64 bits out to allow something else to use the register, and so on.

----

I compiled the fork of lm-sensors, and it compiles.  But how do you test it?  The  system already has a libsensors4 library.  And the executables that need libsensors4 have an assumption as to what the library will do.

While a person can play games with environment variables (I am thinking there are 2 environment variables which could be involved, one has RPATH in the name), libsensors is something which talks to the hardware.  And do I want to screw up testing, and send some strange command which wipes all the data on my computer?

So what makes sense is to build a package based on this fork.  Remove the existing lm-sensors packages, install the new packages based on this fork, and see what happens.  Sure, I could toast my system, lm-sensors by design is meant to talk to hardware.

----

Debian (and Devuan) provide lm-sensors related packages (I think there are 4?).  So, to do this, I need to learn how to build more than 1 package, from a fork of an existing package.

I'm sorry, I've looked and I am not seeing examples of how to do this.  And in trying things, I am generating errors which prevent generating packages to install, just to try things.  Maybe I am taking the wrong approach, in that I might at some point provide packages to Devuan.

----

In Perl, there are apparently packages which will test all the code snippets in the man page.  And they will check for spelling mistakes and lots of other things.

I may learn more python, maybe it does more.  Somehow I doubt it.  I think that Perl was designed by a linguist is going to be a plus for a long time.

----

For years, I have had people I know (at one point I was the president of a LUG), complain to me about documentation.  And yes, the man pages are not intended to help someone learning about a package.  They are intended to refresh the memory of someone who is already familiar with the package.

And this is what I am running into.

You can find people writing about X, Y or Z packages.  And they give documentation on what to do.  And if you follow the documentation exactly (which is what newbies do), it doesn't work.  Oh, it is obviously this, or obviously that; when people complain.  It isn't obvious to a newbie.

And I don't think this will ever change.  Developers don't want to write documentation.

But could it change, if the development process followed the Perl module (suggested in the literature, often ignored by the better developers) approach?

Can a person do:
make
make test

and see that things work?

I have not spent enough time to find all approaches to packaging some arbitrary source tree for Debian/Devuan.  I know I am growing annoyed at error messages which I think means that better programming would mean the error message never comes up.

But I will try.  The computer I am using has had nothing installed yet, other than what is needed to try and get it working.  And I have 4GB of space to play with.

#32 Re: Off-topic » Getting to know you » 2017-12-17 00:10:22

Making a trivial change to sources.list, I couldn't download d1h, so I revisited the forum (on another computer, which is NOT on the switch everything else is), I had to make a slightly different entry, and d1h downloaded.

I think that d1h (and there are probably other packages which make similar assumptions) should use DEVUANEMAIL and DEVUANFULLNAME environment variables (if present), and if not then use DEBEMAIL and DEBFULLNAME.   Because a person might want a different email address for devuan related things, as compared to debian related.

But, as I haven't yet looked in the d1h documentation or ..., maybe this change has already been made?

#33 Re: Off-topic » Getting to know you » 2017-12-16 23:49:18

I suppose I have seen it, since I have a comment in that thread.  :-)  But, it looks like guayadeque (or however it is spelled) is being dropped by Debian, and I got busy and never finished things.

Having read a bunch of things in the Debian world about building packages, d1h makes a little more sense.  It still looks like there are a lot of fidlly little details to catch the newbie at.

But, what I am working with is not strictly speaking, lm-sensors.  It is a fork of lm-sensors (and it isn't my fork).  I have a source tree from the Devuan package of lm-sensors, and I have a source tree of the git fork.  So I could make a unified diff (or other variation on diff) between the two.

I am NOT an expert at git.

There seem to be many tools which will take an upstream tarball and start a git archive.  I guess you then want to start a branch (NAME-fork ?, where NAME, is the name of the person who forked lm-sensors).  You then apply the diff (using patch) to this new git controlled source tree, producing your modified source files.  The apt-get source command produces a Devuan source tree, which could be built.  It has a debian/ subdirectory with things like a rules file.

I don't believe it produces a dsc file (but if one visits the Debian package webpage, you can get the tarball, the diff and the dsc file).  I have a copy of the Debian (not Devuan) dsc file, and it is a signed ASCII file with key information in it.

I was just looking into whether there is a tool to produce this dsc file, as it appears to me that git-buildpackage needs the dsc file to do its magic (in a cow).  I can believe that if I was a Devuan developer/maintainer/person who makes the coffee, I probably already have an account at the Devuan git (I don't) and probably has set up keys with gpg (it was a couple of years ago I last made keys, and someone monitoring the MIT keyserver(?) noticed my key was about to expire a couple of weeks ago).

I am hoping that these tools will allow me to make an unsigned package for my own use.  I can then install it and see if it works.

If it works, then I think I could/should/might look into the get an account on the Devuan git.

Living in an agricultural area (I'm on 40 acres), cows are typically things like black or red angus.  I am personally looking at Dexter, should I get a few cows.  Cows don't build anything, they just leave these paddys all over the place.  I think the complexity in this could make someone chicken.  And once you start generating errors to really learn about packaging, you might duck when typing command lines, or go horse yelling at the computer for answers to why the errors?  Or is that rye the errors?  :-)

And yes, I will add experimental to my sources.list and install d1h.

Moooo!  (That's COW for have a great day!)

#34 Re: Off-topic » Getting to know you » 2017-12-15 23:37:06

I've used a PDP11, and some K11.  I never tried to lift it, so I don't know how heavy it is.  The K11 were small.

I was looking at packaging from what I knew of Debian and package webfiles.  So you can get a tarball, a patch and a description.

But to download a fork from github, you don't have a tarball.  Github does allow people to download a ZIP, and maybe I could write the magic in Perl to convert the ZIP to a tarball.

But surely someone has written tools to just turn a Git tree into a deb?  Yes, several of them.  I tried one (a bash script), it failed.  Debian has 3 (more?) tools I think.  So, I am trying things.

Lars Wizernius (apologies if I mangled your name) has been working on something called Baserock.  The writeup made sense, trying to download/install seems to have a whole pile of assumptions that aren't going to work for me.  The device holding most of my system is a NVMe M.2 "disk", and while I have sda, sdb, sdc, sdd SATA disks, they are largely bundled together as a RAID10 Btrfs device.

I've been using OpenWRT for a router, but I hate GUI to manage routers, so I went ImageBuilder.  I suspect for this Baserock.org thing, the best thing may just be to installed the source tree and build the various images after compiling the system.

Or maybe someone on Devuan has a better way?

I did install some of the Debian git stuff, and pbuilder wanted some URL.  So I just gave it the HTTP URL from my apt.sources.  I haven't tried any pbuilder related yet, so I've no idea if that worked.

This has to be the wrong place place to ask this stuff, but the end result is trying to get something vaguely lm-sensors running on this particular set of hardware.  If I can build on that to do other stuff for Devuan, that would be wonderful.

#35 Re: Off-topic » Getting to know you » 2017-12-15 03:53:44

That's wonderful to hear (well, read)!

I've spent too much time in gyms, rehabbing soccer injuries.  I got to be pretty good at weightlifting.  I ran across a "girl" a few years younger than me (I was probably 45 at the time, she might have been 35).  She was a farm girl (not surprising up here).  We talked about things, and picking rocks came up.  I think this girl could probably deadlift about as much as I could.  And she wasn't even on the East German weightlifting team.

Physical strength tends to be a place where this dumb hierarchy plays out, but it isn't even guaranteed there.  My Mom used to help me carry 5/8 inch fire rated drywall into the basement when we finished her basement.  She was mid 70's at that point.  She is an avid golfer, and can put the ball on the green of a par 3, from the men's tees (she is now 85).

Best of luck in whatever you do!

#36 Off-topic » Getting to know you » 2017-12-14 23:41:58

ghaverla
Replies: 24

I can't draw to save my life.  I guess I have aphantasia, which would lean that way (I have no "mind's eye").  My Mom has a photographic memory, all the reels are running a little slowly now.  I'm working on that.

I absolutely _HATE_ systemd!  I think Lennart should be drawn and quartered, and all his software projects burned.  But I am not running things, and that (either drawing and quartering, or getting rid of software he has authored) doesn't seem likely to happen.

I was born to be a nerd.  Other people have a life, I spend all my time studying and working.  Just one of the many joys of the high functioning autistic.

At one time, I was sort of a president of a LUG.  I've spent many hours answering questions on Linux since 1.2.13.  I sure hope nobody is giving you stick because you are female.  There is absolutely nothing about any of this that involves the Y chromosome.

Have a great day!

#37 Re: Installation » Is Devuan Ryzen? » 2017-12-14 01:55:55

I did use apt-get to get the lm-sensors source package, so it would have been a Devuan source package.

You didn't miss anything, I normally talk to people who are not pedantic enough, and stuff slipped.

What differences can be realised between a Debian package, and a Devuan package?

I can put this in context.  As I mentioned above, I am interested in helping with Perl.  One thing that has always bothered me about perl modules in Debian, is that the package pages seldom tell you what the CPAN name of the package is.  Another is that tests and examples (from CPAN) often go missing.  So if you are trying to figure out how to use a Perl package, none of this is there to help you.

I am not an expert at XS (or SWIG?).  I suppose I will have to develop that.  At heart, I am a FORTRAN person.  But, I have written something that was like RATFOR for FORTRAN-77, and I once ported most of Perl-4 to QNX-2.x (nothing related to networking).  Nothing ever published on the Internet, but the Perl port to QNX-2.x was used for production where I was working (at a research nuclear reactor).

#38 Re: Installation » Is Devuan Ryzen? » 2017-12-14 00:32:18

Well, I downloaded I believe the most current lm-sensors from Debian, and I have the git source tree of this fork which has support for a few other things, not just the chip on the motherboard I have.  The git source compiles, but I didn't test it.

I have now replaced all the original source with the stuff from git, and I am going to try and make a Debian package.  I'm following the Debian wiki on this, it looks like there are lots of finicky steps involved.

I will go along this route, is it will probably be easier to keep my system going  this way.  As far as making packages for other people, I suppose the place I would start is the person who forked lm-sensors.  I didn't look to see if he wanted people to package his archive (sorry, assuming "his" there).

I suspect this will be a good exercise, because I probably wouldn't mind being involved with Perl packages on Devuan.  And I am going to be doing some OpenCL stuff in the future.

Last weekend there was an interview on the CBC Radio with an American who was a buddhist.  And the interviewer asked him if there was anything that got him uptight.  And he said that it would probably be driving behind someone who was really slow on a narrow country road.  You seem to be cut from the same cloth as him.

#39 Re: Installation » Is Devuan Ryzen? » 2017-12-12 22:32:59

I cloned the git tree, and then downloaded (apt-get source) the Debian source tree (or more properly, the devuan source tree).  There are probably differences in some include files, but I did a diif -u of the Debian lib/ subtree and the git lib/ subtree.  Ignoring things only found in the git subtree (because I had compiled the package, and hence had all those files present), the diff -u file is 158 lines long.

A lot of differences are of the form
-ifdef BLAH
+ifdef BLAH_H
which are philosophical/cosmetic in nature.

There is a different kind of sensor which this git fork has in it, which is not present in the Debian code.  I don't (yet) know if this new sensor on AM4 motherboards is of this type or not.

I'm guessing what I do, is that I make the changes to the Debian source tree, and build a package with is incrementally greater in version number than what I have installed.  I install the new package to test it, and afterwards I revert things to what was there before.

How can this work be made available to others?

#40 Re: Installation » Is Devuan Ryzen? » 2017-12-12 17:18:08

The 4.13 kernel from Devuan boots and seems to work fine without nomodeset.  So I get the amdgpu driver.  Boinc has noticed the GPU that is present, and is currently doing an Einstein@Home GPU/CPU job involving it.

SETI@Home is currently down for maintenance, so I can't check anything from that end.

LinuxMint/Mate-18.3 boots fine, for those so inclined.  It takes a long time to boot in my opinion (UEFI DVD).

#41 Re: Installation » Is Devuan Ryzen? » 2017-12-12 15:49:32

libsensors4/lmsensors reads almost nothing.  Looking at development information on these packages, there have been no updates for months.

There is a fork by groeck at github, which among other things has tackled the new sensor (ITE8665E) which is in many AM4 motherboards.  Supposedly it is working for many people.

I can try this fork here.  What is the best way to handle this?  Download the source tree for libsensor4/lmsensors as well as this fork, and if it works make a diff of the 2 trees?  (Probably someone knows magic to get git to do that directly?)

I do see that I forgot to hook up one connector in this build.  The power supply is a Corsair RM750i, and so I need to connect the power supply to a USB2 header.  There is at least one open source package now that can read data from these Corsair digital power supplies.

I'm still looking into the nomodeset "problem".  I now have a 4.13 kernel also installed, which works well with RX460 and RX550 using amdgpu, so I'll try editing the grub boot line to remove it and see what happens.  Some people thought that Linux Mint might be a good test for screen resolution abilities, so I have that LiveCD here too.

#42 Re: Installation » Is Devuan Ryzen? » 2017-12-12 01:48:56

Thank you.  I don't mean to hurt anyone's feelings, but I have little ability to read people, so it makes it quite likely that I will say or write something that has effects I hadn't planned on.

#43 Re: Installation » Is Devuan Ryzen? » 2017-12-12 00:07:25

I hope I didn't offend fsmithred.  I said I was teasing about emacs.  I also reported a couple of things I noticed about the refracta CD (well for me it was a DVD, but ...).

It looks like nomodeset is not exactly the answer I am looking for, but I have an idea where to look.  With nomodeset, it appears that amdgpu is not loaded as a module, and what I end up with are VESA graphics.  Which is probably okay.  The problem is that without amdgpu loaded, the GPU won't work.  So finding an alternative to nomodeset to allow booting is needed.

I installed a bunch of mesa stuff (and llvm-5) to use the GPU at some point.  I also loaded a bunch of BOINC packages.  But, I forgot to add vsyscall=emulate to the bootline before, so the first job downloaded from SETI@Home died.  Eventually they are supposed to move away from needing vsyscall, and then a person can drop this from the boot line (it is supposed to be a security problem).  The kernel does report the 1600X as having 12 cores (it is 6 cores, but they are dual threaded).  So allowing BOINC to use 90% of the CPUs, means 10 jobs are running at the same time.

Hmm, I should load some sensors packages, to see what the temperature is doing.

Anyway, I am making headway with getting this machine going.  Thanks to fsmithred.

#44 Re: Installation » Is Devuan Ryzen? » 2017-12-10 21:51:46

The persistence would have been wasted, had fsmithred not been willing to help with that CD.

I still have lots of work to do before this machine will be set to number crunching.  And I need to get emacs on it soon.  :-)

But, if devuan wants stuff tested on a Ryzen 1600X, I think I can soon do some of that.  I suppose I might extend that to Refracta as well.

#45 Re: Installation » Is Devuan Ryzen? » 2017-12-10 21:26:25

I added nomodeset to /etc/default/grub  and update-grub

The name of the wired interface in /etc/wicd/manager-settings.conf was wrong.  DHCP now runs and gets an IP,and ping works.

Thanks for the help!

#46 Re: Installation » Is Devuan Ryzen? » 2017-12-10 21:03:14

I am not sure what the installer did, it the EFI partition was mounted at /boot/efi.  Because looking there (I think it was there), there was /boot/efi/EFI/*  There were 4 subdirectories in EFI, and from an earlier session they all contained a single file of the same name and size.

But when I tried to mount the EFI partition manually (/dev/nvme0n1p1) mount complained that there was no filesystem on that partition.  So I put a FAT filesystem on there.

But adding nomodeset to the grub linux line allows it to boot.

Now to figure out why networking still isn't working.

Oh.  In the install process it asked me for a root password.  Which I gave it.  When I finally got a login, and entered root, I had to use the password that the CD has.  The one I gave it was not used.  I've since changed the passwd manually.

#47 Re: Installation » Is Devuan Ryzen? » 2017-12-10 20:01:05

There is a virtualization option.  In the CPU configuration, it is called SVM mode.  It was disabled, so I enabled it.  Tried to reboot, picked the first option in the grub menu, and again the boot hangs about 8 seconds (or is it 8 milliseconds?) in.  Last line printed  has something like

sp5100_tco: I/O address 0x0cd6 already in use

#48 Re: Installation » Is Devuan Ryzen? » 2017-12-10 19:49:52

Not seeing anything that looks like KVM in the BIOS.  Time to go googleing.

#49 Re: Installation » Is Devuan Ryzen? » 2017-12-10 19:42:30

It seems to have been a UEFI issue again.  Now that device is presented with 2 options in the BIOS boot menu, by itself, and as a parenthesissed string after "devuan".  The second one causes a UEFI boot.

I see a grub menu, and choose the default (top) option.  The boot starts, and then ends with a message about kvm being disabled by bios (at about 8 seconds?).  And it just sits there.

So, go dig into BIOS and see if there is some kind of KVM setting.

#50 Re: Installation » Is Devuan Ryzen? » 2017-12-10 19:30:50

Researched a little.   I put a FAT filesystem on /dev/vnme0n1p1 (200M partition), and mounted it on /mnt.

I then reran grub-install with the /mnt directory in the option to install the EFI stuff.  It ran without error.  I then ran update-grub, which also went without error.

I rebooted the machine, stopping in the BIOS.  I picked to boot off the NVME, and it is just sitting there, with a big cursor blinking in the upper left corner.  I'll let it sit a bit, and then get back to the BIOS.  Maybe it is not treating the NVME as UEFI?  I will look.

Board footer

Forum Software