LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2020, 01:23 PM   #151
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593

your looking in the wrong directory https://mirror.math.princeton.edu/pu...t/slackware/a/
 
Old 07-04-2020, 01:25 PM   #152
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,854

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
The MMC driver is not built in even in the -current huge kernel, so the initrd is needed.
 
1 members found this post helpful.
Old 07-04-2020, 01:27 PM   #153
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
And then why do I need the current huge kernel?

Last edited by stf92; 07-04-2020 at 01:28 PM.
 
Old 07-04-2020, 01:34 PM   #154
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
The MMC driver is not built in even in the -current huge kernel, so the initrd is needed.
This doesn't mean it isn't supported by the current kernel(should be better supported), just means you need an initrd to boot a mmc drive.

Last edited by colorpurple21859; 07-04-2020 at 01:36 PM.
 
Old 07-04-2020, 01:53 PM   #155
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Code:
root@darkstar:/backup_almacen/soft/slack_inst/kernels# v
total 164M
-rwxrwxrwx 1 root root  422 Jul  4 15:41 kernel-firmware-20200619_3890db3-noarch-1.txt
-rwxrwxrwx 1 root root 112M Jul  4 15:42 kernel-firmware-20200619_3890db3-noarch-1.txz
-rwxrwxrwx 1 root root  163 Jul  4 15:42 kernel-firmware-20200619_3890db3-noarch-1.txz.asc
-rwxrwxrwx 1 root root  672 Jul  4 15:45 kernel-generic-smp-5.4.49_smp-i686-1.txt
-rwxrwxrwx 1 root root 6.1M Jul  4 15:45 kernel-generic-smp-5.4.49_smp-i686-1.txz
-rwxrwxrwx 1 root root  163 Jul  4 15:46 kernel-generic-smp-5.4.49_smp-i686-1.txz.asc
-rwxrwxrwx 1 root root  688 Jul  4 15:48 kernel-huge-smp-5.4.49_smp-i686-1.txt
-rwxrwxrwx 1 root root 9.5M Jul  4 15:48 kernel-huge-smp-5.4.49_smp-i686-1.txz
-rwxrwxrwx 1 root root  163 Jul  4 15:48 kernel-huge-smp-5.4.49_smp-i686-1.txz.asc
-rwxrwxrwx 1 root root  615 Jul  4 15:49 kernel-modules-smp-5.4.49_smp-i686-1.txt
-rwxrwxrwx 1 root root  37M Jul  4 15:49 kernel-modules-smp-5.4.49_smp-i686-1.txz
-rwxrwxrwx 1 root root  163 Jul  4 15:49 kernel-modules-smp-5.4.49_smp-i686-1.txz.asc
root@darkstar:/backup_almacen/soft/slack_inst/kernels#
Now I have the four things. Should I use installpkg or upgradepkg?
 
Old 07-04-2020, 02:19 PM   #156
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
installpkg or pkgtool after cd-ing to the directory they are located in.
 
Old 07-04-2020, 02:22 PM   #157
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
They don't have the md5sums. How do I check for integrity? With google I found the checksums for 20200629 but mine are 20200619!

Last edited by stf92; 07-04-2020 at 02:31 PM.
 
Old 07-04-2020, 03:19 PM   #158
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I found them. They are in the parent directory. Sshould I do
Code:
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount -o bind /run /mnt/run
before I chroot and run installpkg?
 
Old 07-04-2020, 03:21 PM   #159
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Yes, after a reboot you should do that each time before chroot into slackware, that might be why your having problems.

Last edited by colorpurple21859; 07-04-2020 at 03:26 PM.
 
Old 07-04-2020, 03:59 PM   #160
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I already installed the four files, though kernel-firmware and kernel-modules were installed in a split second[?].
(a) What about the System.map and config files?
(b) I assume I should try with the huge? And what parameters to mkinitrd? Those in https://www.linuxquestions.org/quest...ml#post6141159?
(c) What parameter to mkinitrd -k?

Last edited by stf92; 07-04-2020 at 04:05 PM.
 
Old 07-04-2020, 04:27 PM   #161
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
try your original code first
Code:
mkinitrd -k 5.4.49-smp -f ext2 -r /dev/mmcblk0p2 -w 15 -m mmc_core:mmc_block:sdhci:sdhci_acpi:sdhci_pci:usb_storage:xhci_hcd:uas:xhci_pci:ext2 -u -o /boot/initrd-5.4.49-smp.gz
run update-grub in debian afterwards to see if boot menu gets generated for the new initrd and vmlinux-generic-5.4.49-smp
 
Old 07-04-2020, 04:46 PM   #162
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Well, grub.cfg is now
Code:
bill@darkstar:/boot/grub$ cat grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
  search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
  search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
insmod png
if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
	else
	  search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
	fi
	echo	'Loading Linux 4.19.0-8-amd64 ...'
	linux	/boot/vmlinuz-4.19.0-8-amd64 root=UUID=3b7be193-a2fd-4b48-8d07-bd2311b0f5ba ro edd=off noapic i8042.nopnp quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.19.0-8-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-8-amd64-advanced-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
		else
		  search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
		fi
		echo	'Loading Linux 4.19.0-8-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-8-amd64 root=UUID=3b7be193-a2fd-4b48-8d07-bd2311b0f5ba ro edd=off noapic i8042.nopnp quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-8-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 4.19.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-8-amd64-recovery-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
		else
		  search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
		fi
		echo	'Loading Linux 4.19.0-8-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-8-amd64 root=UUID=3b7be193-a2fd-4b48-8d07-bd2311b0f5ba ro single edd=off noapic i8042.nopnp
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-8-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  2d63e598-b1b4-4e32-a781-9fe9ceae2c11
	else
	  search --no-floppy --fs-uuid --set=root 2d63e598-b1b4-4e32-a781-9fe9ceae2c11
	fi
	linux /boot/vmlinuz-huge-smp-5.4.49-smp root=/dev/mmcblk0p2 noapic edd=off rootdelay=15
        initrd=/boot/initrd.gz
}
submenu 'Advanced options for Slackware 14.2 (on /dev/mmcblk0p2)' $menuentry_id_option 'osprober-gnulinux-advanced-2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
	menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-4.4.14--2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		else
		  search --no-floppy --fs-uuid --set=root 2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		fi
		linux /boot/vmlinuz-generic-4.4.14 root=/dev/mmcblk0p2
	}
	menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-smp-4.4.14-smp--2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		else
		  search --no-floppy --fs-uuid --set=root 2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		fi
		linux /boot/vmlinuz-generic-smp-4.4.14-smp root=/dev/mmcblk0p2
	}
	menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.14--2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		else
		  search --no-floppy --fs-uuid --set=root 2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		fi
		linux /boot/vmlinuz-huge-4.4.14 root=/dev/mmcblk0p2
	}
	menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-smp-4.4.14-smp--2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		else
		  search --no-floppy --fs-uuid --set=root 2d63e598-b1b4-4e32-a781-9fe9ceae2c11
		fi
		linux /boot/vmlinuz-huge-smp-4.4.14-smp root=/dev/mmcblk0p2
	}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
bill@darkstar:/boot/grub$
And the parameters to mkinitrd were
Code:
mkinitrd -k 5.4.49-smp -f ext2 -r /dev/mmcblk0p2 -w 15 -m mmc_core:mmc_block:sdhci:sdhci_acpi:sdhci_pci:usb_storage:xhci_hcd:uas:xhci_pci:ext2 -u -o /boot/initrd.gz
Now I booted. But still the same old kernel panic error.
 
Old 07-04-2020, 04:49 PM   #163
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Sorry, I missed your post. Honestly, I just edit grub.cfg.

Last edited by stf92; 07-04-2020 at 04:50 PM.
 
Old 07-04-2020, 05:37 PM   #164
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
can you post the last 10 lines before it panics or take a picture or screen shot, I've been assuming it has something to do with the emmc but it may be something else.

Last edited by colorpurple21859; 07-04-2020 at 05:39 PM.
 
Old 07-04-2020, 05:51 PM   #165
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Another thought, try it with the generic kernel /boot/vmlinuz-generic-smp-5.4.49-smp I've seen before when sometimes the generic works when the huge would not.

Last edited by colorpurple21859; 07-04-2020 at 05:57 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Linux boot loader entry in Windows boot loader abhikohokade Linux - Newbie 6 02-22-2013 06:12 AM
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration