Date: Mon, 26 Jun 2017 04:54:36 -0700 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: Unable to load kernel modules after r320324 -> r320353: "depends on kernel - not available or version mismatch" Message-ID: <20170626115436.GL1241@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--Xsbw7+pkldUUnFG3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is amd64: FreeBSD 12.0-CURRENT #386 r320324M/320326:1200035: Sun Jun 25 06:36:19 PDT= 2017 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC = amd64 After a src update to r320353, the last several lines on the serial console from the initial (verbose) reboot are: =2E.. random: harvesting attach, 8 bytes (4 bits) from ukbd0 KLD geom_eli.ko: depends on kernel - not available0010-89d5-003048 or versi= on mismatch linker_load_file: /boot/kernel/geom_eli.ko - unsupported file type 2d326a. SettingGEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) is not ali= gned on 4096 bytes GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes uhub3: 6 ports with 6 removable, self powered GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes random: harvesting attach, 8 bytes (4 bits) from uhub3 hostid: 0xc7455GEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) i= s not aligned on 4096 bytes 1dd. No suitablGEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not = aligned on 4096 bytes uhub4: 8 ports with 8 removable, self powered GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes random: harvesting attach, 8 bytes (4 bits) from uhub4 e dump device waGEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) i= s not aligned on 4096 bytes GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes ugen0.3: <Generic USB2.0-CRW> at usbus0 umass0 on uhub2 s found. Startiumass0: <Bulk-In, Bulk-Out, Interface> on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x4000 ng file system cumass0:6:0: Attached to scbus6 (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0? random: harvesting attach, 8 bytes (4 bits) from umass0 pass6 at umass-sim0 bus 0 scbus6 target 0 lun 0 hecks: /dev/adapass6: 0s4a: FILE SYSTE<Generic- Compact Flash 1.00> Removable Dire= ct AM CLEAN; SKIPPINcG CHECKS /dev/acess SCSI device pass6: Serial Number 20100818841300000 pass6: 40.000MB/s transfers GEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 da0: <Generic- Compact Flash 1.00> Removable Direct Access SCSI device da0: Serial Number 20100818841300000 da0: 40.000MB/s transfers da0: Attempt to qda0s4a: clean, 6uery device size failed: NOT READY, Medium= not present da0: quirks=3D0x2<NO_6_BYTE> (probe0:umass-sim0:0:0:1): Down reving Protocol Version from 2 to 0? da016774 free (3814: Delete methods: <NONE(*),ZERO> GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes pass7 at umass-sim0 bus 0 scbus6 target 0 lun 1 GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes ugen0.4: <Broadcom Corp BCM43142A0> at usbus0 pass7: <Generic- SM/xD-Picture 1.00> Removable Direct Access frags, 76620 b= l SCSI docks, 0.5% fragmevice pass7: Serial Number 20100818841300000 pass7: 40.000MB/s transfers entation) /dev/GEOM: new disk da0 (probe0:umass-sim0:0:0:2): Down reving Protocol Version from 2 to 0? da1 at umass-sim0 bus 0 scbus6 target 0 lun 1 da1: <Generic- SM/xD-Picture 1.00> Removable Direct Access SCSI device da1: Serial Number 2010081ada0s1a: FILE SY88413000STEM CLEAN; SKIP00PING CH= ECKS /de da1: 40.000MB/s transfers da1: Attempt to query device v/ada0s1a: cleansize failed: NOT RE, 607665 fr= ee (1ADY, Medium not present da1: quirks=3D0x2<NO_6_BYTE> GEOM: new disk da1 da1: Delete825 frags, 75730 methods: <NONE(*),ZERO> p blocks, 0.2% frass8 at umass-sim0 bus 0 scbus6 target 0 lun 2 pass8: <Generic- SD/MMC 1.00> Removable Direct Access SCSI device pass8: Serial Number 20100818841300000 pass8: agmentation) /d40.000MB/s transfers da2 at umass-sim0 bus 0 scbus6 target 0 lun 2 da2: <Generic- SD/MMC 1.00> Removable Direct Access SCSI device da2: Serial Number 20100818841300000 da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not presev/ada0= s1d: FILEent da2: quirks=3D0x2<NO_6_BYTE> da2: Delete methods: <NONE(*),ZE SYSTEM CLEAN; SRO> (da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL not supported. (probe0:umass-sim0:0:0:3): Down reving Protocol Version from 2 to 0? KIPPING CHECKS pass9 at umass-sim0 bus 0 scbus6 target 0 lun 3 pass9: <Generic- M.S./M.S.Pro/HG 1.00> Removable Direct Access SCSI device pass9: Serial Number 20100818841300000 pass9: 40.000MB/s transfers da3 at umass-sim0 bus 0 scbus6 target 0 lun 3 da3: <Generic- M.S./M.S.Pro/HG 1.00> Removable Direct Access SCSI device da3: Serial Numb/dev/ada0s1d: cler 20100818841300000 da3: 40.000MB/s transfers da3: Attempt toean, 594513 free (56257 frags, 6query device size failed: N= OT READY, Medium not present da3: quirks=3D0x2<NO_6_BYTE> da3: Dele7282 blocks, 2.5te methods: <NONE(*),ZERO> (da1:uma% fragmentation)ss-sim0:0:0:1): PREVENT ALLOW MEDIUM REMOVAL no /dev/ada0s2a: t supported. FILE SYSTEM CLEAGEOM: new disk da2 GEOM: new disk da3 (da2:umass-sim0:0:0:2): PREVENT ALLOW MEDIUM REMOVAL not supported. N; SKIPPING CHEC(da3:umass-sim0:0:0:3): PREVENT ALLOW MEDIUMKS /dev/ada0s2a REMOVAL not supported. : clean, 607665 GEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) i= s not aligned on 4096 bytes GEOM_PART: partitfree (233 frags,ion 2 on (diskid/DISK-1350095E5057, MBR) i= s not aligned on 4096 bytes GEOM_P 75929 blocks, 0ART: partition 3 on (diskid/DISK-1350095E5057, .0% fr= agmentatioMBR) is not aligned on 4096 bytes n) /dev/ada0s2d: FILE SYSTEM CLEAN; SKIPPING CHGEOM_PART: partition 1 on (disk= id/DISK-1350095E5057, MBR) is not aligned on 4096 bytes GEOM_PART: partECKS /dev/ada0sition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on 4096= bytes GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes 2d: clean, 594551 free (175 frags, 74297 blocks,G 0.0% fragmentatEOM_PART: = partition 1 on (diskid/DISion) /dev/ada0sK-1350095E5057, MBR) is not aligned on 4096 bytes GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned3a:= FILE SYSTEM on 4096 bytes GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 CLEAN; SKIPPING bytes CHECKS /dev/ada0s3a: clean, 607GEOM_PART: partition 1 on (diskid/DISK-1350095E5057= , MBR) is not aligned 682 free (986 fron 4096 bytes GEOM_PART: partition 2 on (diskid/DISK-1350095E50ags, 75837 block57, MBR) i= s not aligned on 4096 bytes GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes s, 0.1% fragmentation) /dev/adaGEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) is not al= igned on 4096 bytes GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes 0s3d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/aGEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) is not alig= ned on 4096 bytesda0s3d: clean, 6 GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes GEOM_PART: partition 3 01753 free (1513on (diskid/DISK-1350095E5057, MBR) i= s not aligned on 4096 bytes frags, 75030 blocks, 0.1% fragmGEOM_PART: partition 1 on (diskid/DISK-1350= 095E5057, MBR) is not aligned on 4096 bytes GEOM_PART: partition 2 on (diskientation) /dev/d/DISK-1350095E5057, MBR) is not aligned on 4096 bytes ada0s4d: FILE SYGEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) i= s not aligned on 4096 bytes STEM CLEAN; SKIPPING CHECKS /deGEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) is not aligned= on 4096 bytes GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on= 4096 bytes v/ada0s4d: clean, 1280743 free (22743 frags, 157KLD tmpfs.ko: depends on ke= rnel - not availabl250 blocks, 1.0%e or version mismatch lfragmentation) /dev/ada0s4e: Finker_load_file: /boot/kernel/tmpfs.ko - unsupported file t= ype ILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s4e:KLD tmpfs.ko: depends on kernel - not available or version mis= match clean, 6377334 linker_load_file: /boot/kernel/tmpfs.ko - unsupported file = type free (789254 frags, 698510 blocks, 4.9% fragmentation) /dev/ada0s4g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s4g: clean, 10065775 free (2359 frags, 1257927 blocks, 0.0% fragme= ntation) /dev/ada0s4f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s4f: clean, 853073 free (281 frags, 106599 blocks, 0.0% fragmentat= ion) /dev/ada0s4h: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0s4h: clean, 28275233 free (109769 frags, 3520683 blocks, 0.3% frag= mentation) Mounting local filesystems:mount: tmpfs: Operation not supported by device Mounting /etc/fstab filesystems failed, will retry after root mount hold re= lease mount: tmpfs: Operation not supported by device =2E Mounting /etc/fstab filesystems failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Jun 26 11:20:59 init: /bin/sh on /etc/rc terminated abnormally, going to si= ngle user mode Enter full pathname of shell or RETURN for /bin/sh:=20 I then hit Enter and tried to see what I could: # mount /dev/ada0s4a on / (ufs, local, soft-updates) devfs on /dev (devfs, local, multilabel) /dev/ada0s1a on /S1 (ufs, local, soft-updates) /dev/ada0s1d on /S1/usr (ufs, local, soft-updates) /dev/ada0s2a on /S2 (ufs, local, soft-updates) /dev/ada0s2d on /S2/usr (ufs, local, soft-updates) /dev/ada0s3a on /S3 (ufs, local, soft-updates) /dev/ada0s3d on /S3/usr (ufs, local, soft-updates) /dev/ada0s4d on /usr (ufs, local, soft-updates) /dev/ada0s4e on /common (ufs, local, soft-updates) /dev/ada0s4g on /local (ufs, local, soft-updates) /dev/ada0s4f on /var (ufs, local, soft-updates) /dev/ada0s4h on /repo (ufs, local, soft-updates) # swapinfo Device 512-blocks Used Avail Capacity # swapon -a KLD geom_eli.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/geom_eli.ko - unsupported file type swapon: /dev/ada0s4b.eli: Invalid parameters #=20 (I have been using encrypted swap for the last few months.) This appears to be an issue with kernel modules in general: # kldstat Id Refs Address Size Name 1 1 0xffffffff80200000 2081550 kernel #=20 This ("freebeast") is not a very "fancy" machine, but I would expect a few more modules than merely the kernel itself. (As noted elsewhere, I have been using filemon & WITH_META_MODE=3Dyes for quite some time.) For comparative information (as of yesterday's verbose boot of head @r320324), please see <http://www.catwhisker.org/~david/FreeBSD/history/>. Peace, david --=20 David H. Wolfskill david@catwhisker.org Trump (et al.): Hiding information doesn't prove its falsity. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Xsbw7+pkldUUnFG3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJZUPX8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XhpkH/i6BBLm3LMZsvEykeHQcwqNp f6MpvAy0txhZ7czwgwxfd9+8xFQa+JRDOIdqjCttQwlaHDAuz1TMLPohVyTq0vl6 LDfLvjTL8sd0dPW1evaW3Pedf7WhcGcSjJhcIhVO+q7WG7snB/NqwD7FJsriexUI nmqz7PyZ2r7HE4s9A0W+GOdex19qfkS4k4w+0f5Yy8Ep2YCaferymhWbljSI/VVu Ce9CPp5deEsKLPZdjqcydMXsAAYUkyb21UKJ0bcFlJiag0xbsoiUTuafqFESa5Tr W9DP2E+HXDfPfqMtgG8TGET6ccL71YTQ7vleEJajgj6pJH8wxj40nsth0Kf/2hQ= =RBli -----END PGP SIGNATURE----- --Xsbw7+pkldUUnFG3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170626115436.GL1241>