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 05-17-2022, 04:14 PM   #16
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled

From the docs, there's rootwait and rootdelay which helps in some cases.
Code:
rootwait	[KNL] Wait (indefinitely) for root device to show up.
Code:
rootdelay=	[KNL] Delay (in seconds)
It's useful when the device needs more time to initialize properly.
Large mechanical drives and that sort of thing.
For sdcards I'm not sure how much it helps, but I do know they are unreliable in production.
 
Old 05-17-2022, 04:19 PM   #17
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 12
This device (eeepc 1025C) is pretty crappy overall, and it does not have a built-in SD connection to /dev/mmcblk. There is a slot for an SD card, but it connects via USB as you have seen. I removed the card from there and put it into a SD card reader which I plugged into a USB port, but it shows the same delays when booting. The card reader shows up as idVendor=0781 and idProduct=a7a8, so at least that is different. Too bad, that sounded like a promising place to look.
 
Old 05-17-2022, 04:27 PM   #18
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 12
I use "-w 10" with mkinitrd, which adds a 10 second wait for drives to get ready. That sounds like it should be enough for initialization (at least it is for the 5.15 and older kernels). The problems do seem to crop up about the time the SD card is probed, so I wouldn't be surprised if it does have something to do with that.
 
Old 05-18-2022, 05:10 AM   #19
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by rkomar View Post
I use "-w 10" with mkinitrd, which adds a 10 second wait for drives to get ready. That sounds like it should be enough for initialization (at least it is for the 5.15 and older kernels). The problems do seem to crop up about the time the SD card is probed, so I wouldn't be surprised if it does have something to do with that.
I'm not using kernels with initrd support, but I do know initrd can't wait for rootfs if your initrd image is on rootfs.
If your bootloader is on another drive, then you could add rootdelay there, and it'd wait for rootfs.
Anyway, what is suspicious is that @0.122498 it's decided not to use MMCONFIG but @0.168431 it somehow changed its mind.
Code:
[    0.122498] PCI: not using MMCONFIG
[    0.168431] PCI: Using MMCONFIG for extended config space
And regardless, your real timeout's @190.867299
Code:
[  190.867299] udevd[190]: worker [198] /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0/host4/target4:0:0/4:0:0:0/block/sdb timeout
Which may point at eudev binary, eudev hwdb, or eudev rules as a cause of the delay.
May also point at faulty card reader, faulty card, or faulty kernel module.
 
Old 05-31-2022, 02:05 PM   #20
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 12
I updated the system on the weekend and it boots normally now. I don't see any updates to mkinitrd or eudev, so I have to assume that the new kernel fixed things. I would have liked to have seen the difference between the old and new kernel config files, but the old one was removed when the package was updated. Oh well. Anyway, the problem appears to be solved.

Last edited by rkomar; 05-31-2022 at 02:06 PM.
 
  


Reply

Tags
mmc



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 12:01 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