Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Timed out waiting for device dev-nvme0n1p2.device

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
austinramsay
n00b
n00b
Posts: 53
Joined: Mon Oct 25, 2010 11:20 pm

Timed out waiting for device dev-nvme0n1p2.device

  • Quote

Post by austinramsay » Mon Jun 25, 2018 12:09 am

Kernel version 4.9.95 with systemd. Dell XPS 13 9370 (UEFI)

On boot I am getting a
(1 of 2) A start job is running for dev-nvme0n1p2.device
Followed by a 1 minute and 30 second timer that leads to:
(2 of 2) Timed out waiting for device dev-nvme0n1p2.device
This is met with a couple "Depend" errors:
"Dependency failed for /boot."
"Dependency failed for Local File Systems."
And the same then happens for my swap partition after:
(2 of 2) Timed out waiting for device dev-nvme0n1p3.device
Dependency failed for /dev/nvme0n1p3
Dependency failed for Swap.
/dev/nvme0n1p2 is my /boot partition
/dev/nvme0n1p3 is my swap partition
/dev/nvme0n1p4 is my root partition

/etc/fstab:
/dev/nvme0n1p2 /boot vfat defaults,noatime 0 2
/dev/nvme0n1p3 none swap sw 0 0
/dev/nvme0n1p4 / ext4 noatime 0 1
I am able to use the maintenance shell after the errors are given with /boot not being mounted obviously..

What exactly do these errors mean and what can I look through to see what's happening?
Top
russK
l33t
l33t
User avatar
Posts: 665
Joined: Tue Jun 27, 2006 3:44 am

  • Quote

Post by russK » Mon Jun 25, 2018 1:55 am

Wondering, is the device driver in your kernel?

Code: Select all

CONFIG_BLK_DEV_NVME
https://wiki.gentoo.org/wiki/NVMe
Top
austinramsay
n00b
n00b
Posts: 53
Joined: Mon Oct 25, 2010 11:20 pm

  • Quote

Post by austinramsay » Mon Jun 25, 2018 4:42 am

Yes. Grep from .config returns:
CONFIG_BLK_DEV_NVME=y
# CONFIG_BLK_DEV_NVME_SCSI is not set
Top
olger901
l33t
l33t
Posts: 625
Joined: Thu Mar 17, 2005 7:15 pm

  • Quote

Post by olger901 » Mon Jun 25, 2018 12:08 pm

A few questions to get this issue clearer:

- Is support for swap and FAT filesystems compiled into your kernel?
- Are dosfstools installed?

What happens if you remove /boot and swap from the fstab? Does it still throw an error then?

Could you post the output of print from parted or output from cfdisk, so we can get a clearer view?
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Mon Jun 25, 2018 2:32 pm

I've seen systemd sometimes get confusled when it translates fstab to its internal representation.

Try changing the hardcoded /dev/nvm* to label/partuuid/uuid=XXX

use "blkid" to determine the partuuid/label/uuid identifiers.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
austinramsay
n00b
n00b
Posts: 53
Joined: Mon Oct 25, 2010 11:20 pm

  • Quote

Post by austinramsay » Mon Jun 25, 2018 4:51 pm

olger901 wrote:- Is support for swap and FAT filesystems compiled into your kernel?
- Are dosfstools installed?

What happens if you remove /boot and swap from the fstab? Does it still throw an error then?

Could you post the output of print from parted or output from cfdisk, so we can get a clearer view?
Yes support for swap and FAT is compiled into the kernel.

Just tried removing /boot and swap from fstab and it allowed me to boot without any problems, works fine! Then I was able to just manually mount them with no issues after logging in.

Output of parted print:
(parted) print
Model: NVMe Device (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB fat32 grub bios_grub
2 3146kB 137MB 134MB fat32 boot boot, esp
3 137MB 674MB 537MB linux-swap(v1) swap
4 674MB 256GB 255GB ext4 rootfs
eccerr0r wrote:I've seen systemd sometimes get confusled when it translates fstab to its internal representation.

Try changing the hardcoded /dev/nvm* to label/partuuid/uuid=XXX

use "blkid" to determine the partuuid/label/uuid identifiers.
I also did change to partuuid form to test it out, and no change unfortunately.[/quote]
Top
russK
l33t
l33t
User avatar
Posts: 665
Joined: Tue Jun 27, 2006 3:44 am

  • Quote

Post by russK » Wed Jun 27, 2018 4:33 am

Of course there is this little thing that, well, you know, may or may not have effected you ... https://github.com/systemd/systemd/issues/7291

8O
Top
austinramsay
n00b
n00b
Posts: 53
Joined: Mon Oct 25, 2010 11:20 pm

  • Quote

Post by austinramsay » Wed Jun 27, 2018 7:34 am

russK wrote:Of course there is this little thing that, well, you know, may or may not have effected you ... https://github.com/systemd/systemd/issues/7291

8O
Mind blown on how you found this...seriously. I havent tried it yet but thats obviously a potential fix. How did you know where to look for this, or at least realize this might be a solution? Since we’re on the topic now..When else is it necessary to issue a “systemctl daemom-reload”?
Top
russK
l33t
l33t
User avatar
Posts: 665
Joined: Tue Jun 27, 2006 3:44 am

  • Quote

Post by russK » Wed Jun 27, 2018 9:12 pm

After using systemd (begrudgingly) for a couple years, I knew of the necessity. So I googled for some kind of documentation to point you to, and experienced the all too familiar face meets palm moment, as I posted it.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic