Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ZFS DKMS build fails on freshly installed system
@ 2022-09-30  9:36 drichline
  2022-09-30 13:14 ` Duncaen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: drichline @ 2022-09-30  9:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

New issue by drichline on void-packages repository

https://github.com/void-linux/void-packages/issues/39539

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.10_1 x86_64 GenuineIntel/VM uptodate rFF

### Package(s) Affected

zfs-2.1.5_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

I installed a fresh Void system, updated with xbps-install -Su, rebooted into kernel 5.19 (also tested with linux-lts, same result), and attempted to install ZFS. 

### Actual behaviour

On installing (and reinstalling) ZFS, this is the end of the xbps output:
```zfs-2.1.5_3: configuring ...
Added DKMS module 'zfs-2.1.5'.
Skipping kernel-5.13.19_1. kernel-headers package not installed...
Building DKMS module 'zfs-2.1.5' for kernel-5.19.10_1... Killed
```
Manually building with the DKMS module (sudo dkms build zfs/2.1.5) ended with a segmentation fault in gcc and the attached [make.log](https://github.com/void-linux/void-packages/files/9682842/make.log) file. 

### Steps to reproduce

(Please note, this is my first time using void. I reinstalled and tried again to make sure it wasn't a fluke)
1. Install a fresh void system (tried with both local and netinstall)
2. Sync/update system and reboot
3. xbps-install zfs
4. DKMS fails, even on kernels <5.18

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
@ 2022-09-30 13:14 ` Duncaen
  2022-09-30 13:14 ` Duncaen
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Duncaen @ 2022-09-30 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263560487

Comment:
Looks like you are missing the `linux5.19-headers` package, which should have been installed through the `linux` meta package.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
  2022-09-30 13:14 ` Duncaen
@ 2022-09-30 13:14 ` Duncaen
  2022-09-30 13:31 ` ahesford
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Duncaen @ 2022-09-30 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263560487

Comment:
Looks like you are missing the `linux5.19-headers` package, which should have been installed through the `linux` meta package.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
  2022-09-30 13:14 ` Duncaen
  2022-09-30 13:14 ` Duncaen
@ 2022-09-30 13:31 ` ahesford
  2022-09-30 14:02 ` drichline
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ahesford @ 2022-09-30 13:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263580109

Comment:
I can't reproduce this using the [ZFSBootMenu test environment](https://github.com/zbm-dev/zfsbootmenu/tree/master/testing) modified to install `linux5.19` and its headers.

I recommend you run `xbps-pkgdb -a` to confirm that everything on your system is as expected.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
                   ` (2 preceding siblings ...)
  2022-09-30 13:31 ` ahesford
@ 2022-09-30 14:02 ` drichline
  2022-09-30 14:02 ` drichline
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: drichline @ 2022-09-30 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

New comment by drichline on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263617453

Comment:
> Looks like you are missing the `linux5.19-headers` package, which should have been installed through the `linux` meta package.
Thanks, but it was already installed

> I recommend you run `xbps-pkgdb -a` to confirm that everything on your system is as expected.
Thanks! Even though it's a fresh install, it returned:
```
ERROR: linux5.19: /boot/config-5.19.10_1 mtime mismatch (current: 1664005020, stored 1664005021)
ERROR: linux5.19: /boot/vmlinuz-5.19.10_1 mtime mismatch (current: 1664005020, stored 1664005021)
ERROR: linux5.19: files check FAILED.

```
Reinstalling `linux` didn't change anything, and DKMS still fails with the same error; do you have any suggestions on how to proceed? I'm just confused because this error doesn't seem widespread, but I've encountered it on two brand-new Void installations. Thanks so much for the help 💜

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
                   ` (3 preceding siblings ...)
  2022-09-30 14:02 ` drichline
@ 2022-09-30 14:02 ` drichline
  2022-09-30 14:10 ` ahesford
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: drichline @ 2022-09-30 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

New comment by drichline on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263617453

Comment:
> Looks like you are missing the `linux5.19-headers` package, which should have been installed through the `linux` meta package.

Thanks, but it was already installed

> I recommend you run `xbps-pkgdb -a` to confirm that everything on your system is as expected.

Thanks! Even though it's a fresh install, it returned:

```
ERROR: linux5.19: /boot/config-5.19.10_1 mtime mismatch (current: 1664005020, stored 1664005021)
ERROR: linux5.19: /boot/vmlinuz-5.19.10_1 mtime mismatch (current: 1664005020, stored 1664005021)
ERROR: linux5.19: files check FAILED.

```
Reinstalling `linux` didn't change anything, and DKMS still fails with the same error; do you have any suggestions on how to proceed? I'm just confused because this error doesn't seem widespread, but I've encountered it on two brand-new Void installations. Thanks so much for the help 💜

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
                   ` (4 preceding siblings ...)
  2022-09-30 14:02 ` drichline
@ 2022-09-30 14:10 ` ahesford
  2022-09-30 15:33 ` [ISSUE] [CLOSED] " drichline
  2022-09-30 15:33 ` drichline
  7 siblings, 0 replies; 9+ messages in thread
From: ahesford @ 2022-09-30 14:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263627717

Comment:
The mtime mismatch would be expected if `/boot` is, *e.g.*, on a FAT file system. What is your CPU?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ISSUE] [CLOSED] ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
                   ` (5 preceding siblings ...)
  2022-09-30 14:10 ` ahesford
@ 2022-09-30 15:33 ` drichline
  2022-09-30 15:33 ` drichline
  7 siblings, 0 replies; 9+ messages in thread
From: drichline @ 2022-09-30 15:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

Closed issue by drichline on void-packages repository

https://github.com/void-linux/void-packages/issues/39539

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.10_1 x86_64 GenuineIntel/VM uptodate rFF

### Package(s) Affected

zfs-2.1.5_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

I installed a fresh Void system, updated with xbps-install -Su, rebooted into kernel 5.19 (also tested with linux-lts, same result), and attempted to install ZFS. 

### Actual behaviour

On installing (and reinstalling) ZFS, this is the end of the xbps output:
```zfs-2.1.5_3: configuring ...
Added DKMS module 'zfs-2.1.5'.
Skipping kernel-5.13.19_1. kernel-headers package not installed...
Building DKMS module 'zfs-2.1.5' for kernel-5.19.10_1... Killed
```
Manually building with the DKMS module (sudo dkms build zfs/2.1.5) ended with a segmentation fault in gcc and the attached [make.log](https://github.com/void-linux/void-packages/files/9682842/make.log) file. 

### Steps to reproduce

(Please note, this is my first time using void. I reinstalled and tried again to make sure it wasn't a fluke)
1. Install a fresh void system (tried with both local and netinstall)
2. Sync/update system and reboot
3. xbps-install zfs
4. DKMS fails, even on kernels <5.18

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ZFS DKMS build fails on freshly installed system
  2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
                   ` (6 preceding siblings ...)
  2022-09-30 15:33 ` [ISSUE] [CLOSED] " drichline
@ 2022-09-30 15:33 ` drichline
  7 siblings, 0 replies; 9+ messages in thread
From: drichline @ 2022-09-30 15:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

New comment by drichline on void-packages repository

https://github.com/void-linux/void-packages/issues/39539#issuecomment-1263724493

Comment:
I'm so sorry, all this troubleshooting was entirely self-inflicted: my VM had 512 MB of memory with no swap, which was not enough to compile the module. Thank you again for all the help 💜

> The mtime mismatch would be expected if `/boot` is, _e.g._, on a FAT file system. What is your CPU?

It was MBR/vfat so I wouldn't have to mess with EFI boot. The CPU is GenuineIntel Skylake (i5-10210U)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-30 15:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30  9:36 [ISSUE] ZFS DKMS build fails on freshly installed system drichline
2022-09-30 13:14 ` Duncaen
2022-09-30 13:14 ` Duncaen
2022-09-30 13:31 ` ahesford
2022-09-30 14:02 ` drichline
2022-09-30 14:02 ` drichline
2022-09-30 14:10 ` ahesford
2022-09-30 15:33 ` [ISSUE] [CLOSED] " drichline
2022-09-30 15:33 ` drichline

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).