Re: [qubes-users] modifying Qubes ISO

2022-04-02 Thread haaber

On 3/30/22 8:05 PM, Demi Marie Obenour wrote:


Does using the modesetting driver instead of the intel driver help?  If
not, please report this as an i915 kernel driver bug.


it does not. The bug report is open & unresolved for > 1year

https://github.com/QubesOS/qubes-issues/issues/6397

Thank you, Bernhard

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/bf3dd1c2-382e-dbe8-b4fb-3c7e6aebb4be%40web.de.


Re: [qubes-users] modifying Qubes ISO

2022-03-30 Thread Demi Marie Obenour
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Wed, Mar 30, 2022 at 09:20:31AM +0100, Mike Keehan wrote:
> On 3/30/22 08:46, haaber wrote:
> > On 3/29/22 22:55, 'awokd' via qubes-users wrote:
> > > haaber:
> > > > I need help to modify the Q4.1 installer ISO file. I did learn how to
> > > > pack & unpack isos. That is fine. The idea is a new install on a larger
> > > > SSD of Q4.1 instead of risky "upgarde" tentatives that finish less
> > > > clean. (benefit: if it fails I can go back to running Q4.0)
> > > > 
> > > > 1) I naïvely placed a new kernel in /extrakernels but that does not seem
> > > > to impress the boot-loader. I find no way to select which kernel
> > > > to boot.
> > > 
> > > Not entirely sure what you are trying to accomplish here. A Qubes 4.1
> > > install ISO with a newer kernel? Can't you install 4.1 with a recent
> > > prebuilt ISO and update the kernel after? If it's due to hardware
> > > incompatibilities, I've seen some install and update on one system, then
> > > move the hard drive to the one with newer hardware.
> > 
> > Thanks for your reply! Badly enough, I rather need a "kernel downgrade":
> > any xen kernel 5.x will freeze my Q4.0 system between seconds and some
> > minutes (a curse on Intel and Dell at this point for selling shit at
> > high prices). So my qubes runs for one year now in a "disaster mode"
> > with a 4.19 kernel for xen, and normal 5.x kernels in guest VM's (mainly
> > debian).  The same happens when I try a fresh install with Q4.1: install
> > attempts with the std ISO fail 100% by system freeze before finishing
> > installand leave an unbootable SSD behind.
> > 
> Hi Haaber,
> 
> I used to have similar freezing problems with 4.0 on my Dell laptop.
> I found that it was due to an upgrade to the intel-i915 driver in X.
> Replacing the new version with an older version cured it for me.
> 
> However, I've had no trouble with Qubes 4.1.
> 
> A search for "linux xorg driver for i915" gives some idea of the
> problems, but it is all a bit confusing.
> 
> Mike

Does using the modesetting driver instead of the intel driver help?  If
not, please report this as an i915 kernel driver bug.

- -- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmJEm/wACgkQsoi1X/+c
IsG+Uw/+MqgJ7SfFVQDF8/TDQsdt/FJgP8Aiugoc76neJicqKrK+R94NtzkuhKDb
k+dTwnrIDKWqB38zLsfsglgmEt2/Skita5nXvLysqQvPVvur3wIyCTnaU3cHAFIB
MgyHT01+AvVJec89LeKXjmk4kX83Iux9sQ+TniKuQSuFHd3oKQJFugtxeiLj+pbu
88j0Jg2IEP8ICGnwx/EsZbCbKgAkQmYq31Pavu4zlUZYSao1waqK3NM+pKHGuxAP
to5Hj4nkbEEiOVNDdnPmvsCw32RJmboXU68iqo0bE5Au/9q70FiuNV9S4hS+/5QJ
z1wVwLX0iyoqNDNowBLxytC9IpZ3tQyyIIL2MQQvXi8fTmrNMbMs/2nXzzDpXGjC
RsDPfKyCgGEKnQW/RRuMsSVeIL77AeT0SwHG8c6evvf72WSaXAOf23keMewaLZzf
uGgH43K7FcandBySoWaQTRpvxiTFtpID4YS/p8kVitN13ZPN7QasocYXiPau5v6x
hu/2UEKkDu2249fJnIsgY9RexQRbyerukJ4fvSjNOz3aIp7kQnH9lNjl9NJUW3c+
vVo3aNsCiZdAw1jNu1XY5Hh1q69UneR1JOh37gACy/l6KHwvQebBu9HcsmEwqmXD
bxzTxAXbPIjHc/rDRR4mgI3BDcpV61JE2tTgOH9HBz4jv+SP8LE=
=Ii/V
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/YkSb%2B2fWM21xok9L%40itl-email.


Re: [qubes-users] modifying Qubes ISO

2022-03-30 Thread Mike Keehan

On 3/30/22 14:48, haaber wrote:

Hi Haaber,

I used to have similar freezing problems with 4.0 on my Dell laptop.
I found that it was due to an upgrade to the intel-i915 driver in X.
Replacing the new version with an older version cured it for me.

However, I've had no trouble with Qubes 4.1.

A search for "linux xorg driver for i915" gives some idea of the
problems, but it is all a bit confusing.


ah. I extracted

xorg-x11-drv-intel-2.99.917-26.20160929.fc25.x86_64.rpm  (year=2016)
xorg-x11-drv-intel-2.99.917-32.20171025.fc25.x86_64.rpm  (year=2017)

from old qubes ISO's. How did you install / exchange them in the running
qubes system?

alternatively, I could also place one of these inside the qubes-4.1 ISO,
where we find actually

/Packages/xorg-x11-drv-intel-2.99.917-49.20210126.fc32.x86_64.rpm

Replacing this file is certainly more easy than changing the kernel of
the ISO itself :) Bernhard




I think (my old memory is not what it was!!) I used dnf to uninstall
the version in fedora, then used dnf with the rpm file in the current
directory to install the older version.  And then you have to make dnf
ignore updates to that package.  You will have to do a search for that
option to dnf (or possibly, an entry in a file somewhere), as I can't
remember that bit, sorry.

Mike.

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f707f57e-261b-b571-0bfa-7225d1bc76be%40keehan.net.


Re: [qubes-users] modifying Qubes ISO

2022-03-30 Thread haaber

Hi Haaber,

I used to have similar freezing problems with 4.0 on my Dell laptop.
I found that it was due to an upgrade to the intel-i915 driver in X.
Replacing the new version with an older version cured it for me.

However, I've had no trouble with Qubes 4.1.

A search for "linux xorg driver for i915" gives some idea of the
problems, but it is all a bit confusing.


ah. I extracted

xorg-x11-drv-intel-2.99.917-26.20160929.fc25.x86_64.rpm  (year=2016)
xorg-x11-drv-intel-2.99.917-32.20171025.fc25.x86_64.rpm  (year=2017)

from old qubes ISO's. How did you install / exchange them in the running
qubes system?

alternatively, I could also place one of these inside the qubes-4.1 ISO,
where we find actually

/Packages/xorg-x11-drv-intel-2.99.917-49.20210126.fc32.x86_64.rpm

Replacing this file is certainly more easy than changing the kernel of
the ISO itself :) Bernhard

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/454b0e7a-9d65-8b8b-1414-8a5b4cb5a29a%40web.de.


Re: [qubes-users] modifying Qubes ISO

2022-03-30 Thread Mike Keehan

On 3/30/22 08:46, haaber wrote:

On 3/29/22 22:55, 'awokd' via qubes-users wrote:

haaber:

I need help to modify the Q4.1 installer ISO file. I did learn how to
pack & unpack isos. That is fine. The idea is a new install on a larger
SSD of Q4.1 instead of risky "upgarde" tentatives that finish less
clean. (benefit: if it fails I can go back to running Q4.0)

1) I naïvely placed a new kernel in /extrakernels but that does not seem
to impress the boot-loader. I find no way to select which kernel to 
boot.


Not entirely sure what you are trying to accomplish here. A Qubes 4.1
install ISO with a newer kernel? Can't you install 4.1 with a recent
prebuilt ISO and update the kernel after? If it's due to hardware
incompatibilities, I've seen some install and update on one system, then
move the hard drive to the one with newer hardware.


Thanks for your reply! Badly enough, I rather need a "kernel downgrade":
any xen kernel 5.x will freeze my Q4.0 system between seconds and some
minutes (a curse on Intel and Dell at this point for selling shit at
high prices). So my qubes runs for one year now in a "disaster mode"
with a 4.19 kernel for xen, and normal 5.x kernels in guest VM's (mainly
debian).  The same happens when I try a fresh install with Q4.1: install
attempts with the std ISO fail 100% by system freeze before finishing
installand leave an unbootable SSD behind.


Hi Haaber,

I used to have similar freezing problems with 4.0 on my Dell laptop.
I found that it was due to an upgrade to the intel-i915 driver in X.
Replacing the new version with an older version cured it for me.

However, I've had no trouble with Qubes 4.1.

A search for "linux xorg driver for i915" gives some idea of the
problems, but it is all a bit confusing.

Mike



--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/159a34f8-912f-2aa3-a95b-94128d5ee099%40keehan.net.


Re: [qubes-users] modifying Qubes ISO

2022-03-30 Thread haaber

On 3/29/22 22:55, 'awokd' via qubes-users wrote:

haaber:

I need help to modify the Q4.1 installer ISO file. I did learn how to
pack & unpack isos. That is fine. The idea is a new install on a larger
SSD of Q4.1 instead of risky "upgarde" tentatives that finish less
clean. (benefit: if it fails I can go back to running Q4.0)

1) I naïvely placed a new kernel in /extrakernels but that does not seem
to impress the boot-loader. I find no way to select which kernel to boot.


Not entirely sure what you are trying to accomplish here. A Qubes 4.1
install ISO with a newer kernel? Can't you install 4.1 with a recent
prebuilt ISO and update the kernel after? If it's due to hardware
incompatibilities, I've seen some install and update on one system, then
move the hard drive to the one with newer hardware.


Thanks for your reply! Badly enough, I rather need a "kernel downgrade":
any xen kernel 5.x will freeze my Q4.0 system between seconds and some
minutes (a curse on Intel and Dell at this point for selling shit at
high prices). So my qubes runs for one year now in a "disaster mode"
with a 4.19 kernel for xen, and normal 5.x kernels in guest VM's (mainly
debian).  The same happens when I try a fresh install with Q4.1: install
attempts with the std ISO fail 100% by system freeze before finishing
installand leave an unbootable SSD behind.

So, since Q4.0 works with this workaround, I'd like to do the same with
Q4.1 in an -otherwise- fresh install. It should it possible to replace
the kernel (which, after all, are just some executable files) by a
working one, right? Of course, the problem is that few people seem to
understand how exactly the boot-process works -- that has been
outsourced to 'savant scripts' long ago. At least I tried several dozens
of webpages on the subject, and I still don't see clear. Precise
documentation would be appreciable ...


If you're sure you need a custom ISO, I think you may need to build that
yourself. The 4.0 documentation is here
(https://www.qubes-os.org/doc/qubes-iso-building/), but 4.1 should be
similar. If you go this route, you'd have to figure out how the builder
determines which kernel to use and change it before completing the build.


I am afraid of that step. That would be the first time in my life that a
long build process actually finishes as planned ...

best, Bernhard


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/dc6a5c56-1aaf-f16d-e109-323ec9abeebc%40web.de.


Re: [qubes-users] modifying Qubes ISO

2022-03-29 Thread 'awokd' via qubes-users

haaber:

I need help to modify the Q4.1 installer ISO file. I did learn how to
pack & unpack isos. That is fine. The idea is a new install on a larger
SSD of Q4.1 instead of risky "upgarde" tentatives that finish less
clean. (benefit: if it fails I can go back to running Q4.0)

1) I naïvely placed a new kernel in /extrakernels but that does not seem
to impress the boot-loader. I find no way to select which kernel to boot.


Not entirely sure what you are trying to accomplish here. A Qubes 4.1 
install ISO with a newer kernel? Can't you install 4.1 with a recent 
prebuilt ISO and update the kernel after? If it's due to hardware 
incompatibilities, I've seen some install and update on one system, then 
move the hard drive to the one with newer hardware.


If you're sure you need a custom ISO, I think you may need to build that 
yourself. The 4.0 documentation is here 
(https://www.qubes-os.org/doc/qubes-iso-building/), but 4.1 should be 
similar. If you go this route, you'd have to figure out how the builder 
determines which kernel to use and change it before completing the build.


--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/02dc83af-275e-4ca4-cf7e-9707bd859054%40danwin1210.de.