LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-27-2016, 08:07 PM   #16
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592

I have another problem, now. The installer prompted me to skip the LILO installation and proceed to ELILO configuration, but when I selected the option, it went directly to mouse configuration. What am I supposed to do now? Configure ELILO manually? Please advise.

EDIT: I went ahead and installed LILO, seeing as I have UEFI booting in legacy boot mode, and LILO worked just fine. However, I cannot get Linux to recognize /dev/mmcblk0p3 (my Linux root partition) as a valid root filesystem; I get a kernel panic, complaining that it cannot mount a root-fs. Is there a module I need to have the kernel load before booting?

Last edited by 1337_powerslacker; 03-27-2016 at 09:17 PM.
 
Old 03-27-2016, 10:09 PM   #17
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
After fiddling around with the laptop a bit, I've come to the conclusion that the kernel is not loading the MMC modules, and therefore does not load the drivers for the eMMC drive, and that's when the kernel panics, because it can't find /dev/mmcblk0, and can't mount the root partition. Is there a solution to this problem? I am stumped; I've tried everything I could think of, and no joy.

Regards,

Matt
 
Old 03-28-2016, 06:40 AM   #18
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If you're using the generic kernel, there is probably a module you need to load. You could look at lsmod when you boot off the install media to see what modules are listed so you can add them to an initrd. If you're running the huge kernel, then I am at a loss.
 
Old 03-28-2016, 02:25 PM   #19
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,514

Rep: Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481
Quote:
Originally Posted by 1337_powerslacker View Post
After fiddling around with the laptop a bit, I've come to the conclusion that the kernel is not loading the MMC modules, and therefore does not load the drivers for the eMMC drive, and that's when the kernel panics, because it can't find /dev/mmcblk0, and can't mount the root partition. Is there a solution to this problem? I am stumped; I've tried everything I could think of, and no joy.
It's always been traditional to build into the huge kernel any modules for storage controllers that might be found in common computer systems, especially laptops. What modules do you find loaded from the installer? Unless doing so creates conflicts elsewhere, these could be candidates for changing from =m to =y on the huge kernel.
 
Old 03-28-2016, 04:07 PM   #20
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by volkerdi View Post
It's always been traditional to build into the huge kernel any modules for storage controllers that might be found in common computer systems, especially laptops. What modules do you find loaded from the installer? Unless doing so creates conflicts elsewhere, these could be candidates for changing from =m to =y on the huge kernel.
Here is the lsmod output from the installer:

Code:
Module                  Size  Used by
uas                    13929  0
usb_storage            55462  2 uas
mmc_block              28311  0
efi_pstore              4965  0
drm                   322472  0
efivars                 8413  1 efi_pstore
bcma                   38879  0
i2c_i801               16204  0
xhci_pci                4873  0
xhci_hcd              116606  1 xhci_pci
pinctrl_cherryview     23187  0
agpgart                31796  1 drm
i2c_algo_bit            5962  0
i2c_core               47925  3 drm,i2c_i801,i2c_algo_bit
wmi                     9259  0
sdhci_acpi              6321  0
sdhci                  28748  1 sdhci_acpi
fjes                   21479  0
video                  27709  0
mmc_core              106528  3 mmc_block,sdhci,sdhci_acpi
dwc3                   40324  0
button                  5722  0
processor              26834  0
loop                   21270  0
 
Old 03-28-2016, 04:50 PM   #21
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
When the installation routine was over, but before rebooting, did you chroot into /mnt and switch to the generic kernel? If so, did you generate an initrd for it, with your root filesystem included?
 
Old 03-28-2016, 05:40 PM   #22
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by gezley View Post
When the installation routine was over, but before rebooting, did you chroot into /mnt and switch to the generic kernel? If so, did you generate an initrd for it, with your root filesystem included?
I didn't know I could do that. That sounds like a workable solution. I'll try it and post here what happens. Thanks!
 
Old 03-28-2016, 05:41 PM   #23
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I'd try to create an initrd and add these modules to it (possibly overkill on the modules, but better safe than sorry).

mmc_core,mmc_block,sdhci,sdhci_acpi,usb_storage,uas,xhci_hcd,xhci_pci

(My guess is you'll definitely need the mmc_* and sdhci* modules, as those are used for "mmc" memory, possibly usb storage and uas (USB attached scsi) depending on how your memory is attached to the system, and xhci* if it is using a USB3 interface.)

If it works after that, you could keep that initrd as a fallback and then create additional initrd with modules selectively removed to ultimately see which modules are required to boot your system.

You could then either keep the initrd or recompile your kernel to include those (and, obviously, post your findings here so Pat can decide if he wants to make adjustments to the kernel config).

EDIT: You could also, after doing a chroot, run /usr/share/mkinitrd/mkinitrd_command_generator.sh and it'll hopefully tell you what modules are being used in the installer and the exact modules your initrd would need to contain.

That'd probably be much easier than my previously suggested method.

Last edited by bassmadrigal; 03-28-2016 at 05:45 PM.
 
Old 03-28-2016, 06:16 PM   #24
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by 1337_powerslacker View Post
I didn't know I could do that. That sounds like a workable solution. I'll try it and post here what happens. Thanks!
Well it might be a solution if indeed you did chroot into /mnt and replace the huge with the generic kernel. Did you?

Another question you might answer is this: did you format your root filesystem as xfs and try to install elilo there? I'm not sure about elilo but I do know you can't install lilo to a root filesystem formatted as xfs.
 
Old 03-28-2016, 07:19 PM   #25
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by bassmadrigal View Post
I'd try to create an initrd and add these modules to it (possibly overkill on the modules, but better safe than sorry).

mmc_core,mmc_block,sdhci,sdhci_acpi,usb_storage,uas,xhci_hcd,xhci_pci

(My guess is you'll definitely need the mmc_* and sdhci* modules, as those are used for "mmc" memory, possibly usb storage and uas (USB attached scsi) depending on how your memory is attached to the system, and xhci* if it is using a USB3 interface.)

If it works after that, you could keep that initrd as a fallback and then create additional initrd with modules selectively removed to ultimately see which modules are required to boot your system.

You could then either keep the initrd or recompile your kernel to include those (and, obviously, post your findings here so Pat can decide if he wants to make adjustments to the kernel config).

EDIT: You could also, after doing a chroot, run /usr/share/mkinitrd/mkinitrd_command_generator.sh and it'll hopefully tell you what modules are being used in the installer and the exact modules your initrd would need to contain.

That'd probably be much easier than my previously suggested method.
Well, I did as gezley suggested with the -generic kernel, and the initrd.gz file. Unfortunately, I now have another issue: When I hit <Enter> at the LILO prompt after rebooting, it gets stuck at "Loading Slacker.." (Slacker being the name of my boot image). It, for all intents and purposes, has hung. Any ideas?

NOTE: I should add that the BIOS is set up for UEFI with Legacy Boot, if that makes a difference.

Last edited by 1337_powerslacker; 03-28-2016 at 07:28 PM. Reason: BIOS setup
 
Old 03-28-2016, 08:29 PM   #26
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Post your /etc/lilo.conf and your output of ls -la /boot
 
Old 03-28-2016, 11:17 PM   #27
ppencho
Member
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Quote:
Originally Posted by 1337_powerslacker View Post
Well, I did as gezley suggested with the -generic kernel, and the initrd.gz file. Unfortunately, I now have another issue: When I hit <Enter> at the LILO prompt after rebooting, it gets stuck at "Loading Slacker.." (Slacker being the name of my boot image). It, for all intents and purposes, has hung. Any ideas?

NOTE: I should add that the BIOS is set up for UEFI with Legacy Boot, if that makes a difference.
I have the same issue, my thread here:
LILO + initrd leads to kernel freeze immediately after the LILO menu

I switched to UEFI mode with elilo. I will follow your thread to see if the problem could be found.
 
Old 03-28-2016, 11:37 PM   #28
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Rep: Reputation: 99
Did you run lilo after making the initrd .. (Something I forget to do every now and then)
 
Old 03-29-2016, 04:48 AM   #29
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
I truly appreciate the input of everyone here (especially Pat!). However, the installation of Slackware was just enough of a trial, and I am suffering from just enough of the flu, for my patience to come to an end, and for me to explore using other distros for installation. I picked Mint 17.3 Xfce. Installation went painlessly, and no problems rebooting, either. I did have to run a script I found online that compiles and inserts a kernel module for the Broadcom 43142 wifi/bluetooth hybrid chipset, but once that was done, everything was running top-notch. I think I'll stick with this setup for now: Slackware for the desktop, and Mint for the notebook.

Thanks again, everyone!

Regards,

Matt
 
Old 04-02-2016, 06:22 PM   #30
DarkVision
Member
 
Registered: Jul 2007
Posts: 199

Original Poster
Rep: Reputation: Disabled
First of all thanks to everyone who sent in feedback and hints and tipps... i will mark this thread as "SOLVED" because i have decided not to go for the HP Spectre but for the Lenovo ThinkPad Yoga12. Finally the non-glare Display, the extra Pen and the Lenove-design did make the decision. Slackware is running fine on it (after disable the SecureBoot/UEFI-stuff... i prefer pure MBR ). After upgrading to Plasma5.6 the Yoga12 runs fine (Note: Original 14.2rc/KDE4.14 does work also but i prefer the look of Plasma5). I have added OpenCL for the Intel HD5500 for darktable. With OpenCL the Pen works very well, easy to draw masks when edit RAW photos That's more then i had expected Could be faster but when traveling the performance is OK.

Thanks again for all the feedback

P.S. For automatic screen rotation i am using the rotate.py script suggested by ArchLinux, works well but screen redraw is a bit slow. Anyway... TabletMode with Pen works for me.

Last edited by DarkVision; 04-02-2016 at 06:32 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
PCH Sound Card not detected on elementary OS 0.3.2 with HP Spectre x360 CWezo10 Linux - Newbie 7 12-25-2015 04:12 AM
Installing Slackware on HP Pavillion x360 abilolado Slackware - Installation 2 10-13-2015 11:52 AM
setting correct screen resolution - OpenSuse.org and HP Pavilion 13 x360 CharlieBucket Linux - Hardware 6 10-29-2014 02:09 AM
How can i remove (x360) hdd so i can mount it in vmware xp on ubuntu 9.04 host. SysOvErLoAd Linux - Newbie 7 10-13-2009 10:17 AM
Kubuntu Feisty Fawn ICS, X360 gets no DNS, laptop gets no internet drache777 Linux - Networking 0 05-12-2007 07:16 PM

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

All times are GMT -5. The time now is 07:48 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