LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-16-2022, 05:51 PM   #1
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Rep: Reputation: 12
Question Trouble booting from SD card with latest kernels


I have an eeepc (dual atom cpu running in 32-bit) that I am booting from an SD card with slackware current on it. When booting with one of the 5.17 kernels, the boot hangs for a few minutes before continuing to the prompt. The 5.15 and older kernels do not show this behaviour at all. I'm using the huge kernels and initrd images to boot from. I wasn't able to upload the dmesg file from the computer, so I'm including a URL to the file here: http://komary.net/dmesg. The problem appears to be with udevd timing out while handling devices.

The system seems to be working normally when it gets to the end of the boot. So, this is more of an annoyance than a serious problem. However, I would like to get it booting normally again rather than waiting five minutes for it to become usable. Does anyone have any idea of what may be wrong? I can provide more info if desired.

Edit: I am attaching the dmesg file to this post for those who do not wish to follow the URL to the external server.
Attached Files
File Type: txt dmesg.txt (50.5 KB, 3 views)

Last edited by rkomar; 05-17-2022 at 03:38 PM.
 
Old 05-17-2022, 11:04 AM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,751

Rep: Reputation: Disabled
Quote:
Originally Posted by rkomar View Post
I wasn't able to upload the dmesg file from the computer
Yes, yes, very common excuse.. unable to upload attachment or use code tags, but perfectly able to self host a file.
Where "file" could be anything ... or anywhere..
 
1 members found this post helpful.
Old 05-17-2022, 01:23 PM   #3
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: 12
If it is a very common excuse, then maybe the site should improve its uploading code. I tried to upload multiple times, but no useful information is returned when the upload fails to help one succeed on the next attempt. The dmesg file is 740 lines long, which I thought was too long to paste into a post here. Do you have any actual advice on how this should have been done rather than making snide comments?
 
Old 05-17-2022, 01:42 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
SDCards are error prone. I would download the kernel to disk and diff them, or check md5sums.
 
Old 05-17-2022, 01:42 PM   #5
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,751

Rep: Reputation: Disabled
Quote:
Originally Posted by rkomar View Post
Do you have any actual advice on how this should have been done rather than making snide comments?
It's actually very simple. Regading the URL:
If you use your own host, there's nothing stopping you from:

1.1 harvesting peoples IP addresses.
1.2 changing the content to something malicious once the mods have checked the file.
1.3 serving ads, which is against the rules on LQ.
1.4 posting whatever content that is agains the LQ rules.

Regarding attachment and code:

2.1 If you're unable to attach, then ask why you're unable to attach.
2.2 If you're unable to use code tags because of length, use multiple code tags.

Yet, you ignore all this and opt to serve us a link which may be OK now and may not be OK 24H from now.
So excuse me for making a remark, but you ask for a lot of trust here man.
Like you deliver a package, and inside there's a note saying "your package is buried 5 blocks away"..
 
1 members found this post helpful.
Old 05-17-2022, 02:50 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Maybe a built-in driver in the huge kernel in use is not the best for your ETPS/2 Elantech Touchpad, or something like that. To make sure I would try a generic kernel + initrd instead.
 
Old 05-17-2022, 02:55 PM   #7
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by business_kid View Post
SDCards are error prone. I would download the kernel to disk and diff them, or check md5sums.
I keep up to date with current, so I have updated the kernel numerous times to the various 5.17.x versions. Booting showed the same problem with each version, so I think it is unlikely to be because of a bad SD card (each kernel was stored in a different place on the card because I kept the old ones around). However, I've just checked the md5sum of /boot/vmlinuz-huge-smp-5.17.7-smp on the SD card and it appears to be correct.

I suspect that this is due to a change in what is required in the initrd tree compared to previous versions of the kernel, but I don't know that for sure. Maybe I need to include modules for the problematic hardware in the initrd, perhaps because the huge kernel no longer includes the drivers? It's hard to know if this is because kernel 5.17 changed somehow, or if kernel-huge-smp is configured differently.
 
Old 05-17-2022, 03:00 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Quote:
Originally Posted by rkomar View Post
I suspect that this is due to a change in what is required in the initrd tree compared to previous versions of the kernel, but I don't know that for sure. Maybe I need to include modules for the problematic hardware in the initrd, perhaps because the huge kernel no longer includes the drivers? It's hard to know if this is because kernel 5.17 changed somehow, or if kernel-huge-smp is configured differently.
dmesg does not show any hint about the initrd, which doesn't seem to come into play at all. Further, there is no point using a initrd with a huge kernel: this could just lead to (harmless) warnings like "exec format error). Really, try a generic kernel + initrd.
 
Old 05-17-2022, 03:03 PM   #9
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: 12
When I try to upload the dmesg file, I get the following error message: "dmesg: Invalid file". Previously, I tried gzipping it and uploading that, but that also failed in the same way. I'm running the firefox browser that comes with slackware-current. Any suggestions as to why I cannot upload the file successfully?
 
Old 05-17-2022, 03:05 PM   #10
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by Didier Spaier View Post
dmesg does not show any hint about the initrd, which doesn't seem to come into play at all. Further, there is no point using a initrd with a huge kernel: this could just lead to (harmless) warnings like "exec format error). Really, try a generic kernel + initrd.
I know that the initrd is being used because I get USB/SD card errors if I don't include it, and the root filesystem cannot be mounted then. However, I'll try installing the generic kernel and report the results.
 
Old 05-17-2022, 03:08 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
No issue here. Anyway you can get it just typing: wget http://komary.net/dmesg Forget it, I misunderstood your message #9

Last edited by Didier Spaier; 05-17-2022 at 03:14 PM.
 
Old 05-17-2022, 03:18 PM   #12
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,751

Rep: Reputation: Disabled
Quote:
Originally Posted by rkomar View Post
When I try to upload the dmesg file, I get the following error message: "dmesg: Invalid file". Previously, I tried gzipping it and uploading that, but that also failed in the same way. I'm running the firefox browser that comes with slackware-current. Any suggestions as to why I cannot upload the file successfully?
Code:
dmesg >/tmp/dmesg.txt
Code:
cp /var/log/messages /tmp/messages.txt
Forum expects a file extension, it does not use the file header to decide the file type.
 
Old 05-17-2022, 03:24 PM   #13
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by elcore View Post
Forum expects a file extension, it does not use the file header to decide the file type.
Okay, that explains it. Thanks.
 
Old 05-17-2022, 03:31 PM   #14
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 33

Original Poster
Rep: Reputation: 12
I installed the generic kernel and still got the udevd hangs during boot. Now that I know about the extension, I've successfully attached the dmesg file for this latest boot to this post.
Attached Files
File Type: txt dmesg-generic.txt (46.1 KB, 9 views)
 
Old 05-17-2022, 03:59 PM   #15
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
It seems that the SD card be in a Alcor Micro Corp 636 Multi Flash Reader (hint: idVendor=058f, idProduct=6366). This is confirmed as an USB device is seen (/deb/sdb) instead of as SD card (/dev/mmcblk).

I would try to insert it directly in a SD port (if available and the PC can boot off an SD card directly), or use another USB adapter. I suggest that because an internet search with the argument "058f 6366 boot hangs" leads to several threads saying that this thingy works with some kernels but not others.
 
  


Reply

Tags
mmc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to upgrade kernels & its assundary other packages WITHOUT removing the old kernels ? babydr Slackware 14 03-16-2022 01:33 AM
Getting Assertion `kernels [x] == kernels [x]' failed with emulator in Slackware 14 Holering Slackware 1 05-10-2013 03:43 PM
RaLink Wifi PCMCIA card rt2500 and latest Fedora kernels Gozer404 Fedora 1 08-09-2007 06:05 AM
backward compatibility in kernels + custom kernels + more queries mmp_3341 Linux - Kernel 1 04-12-2007 07:28 AM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 10:46 PM

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

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