Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange reboot problem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 625
Location: Missouri

PostPosted: Sat Apr 02, 2022 11:28 am    Post subject: Strange reboot problem. Reply with quote

Hi, all, I'm having an interesting problem, when I reboot my new install of Gentoo, somehow the filesystem is not cleanly unmounted, not every time, but usually when I reboot normally. It causes me to have to boot with installation media, and perform:
Code:
fsck /dev/sdd3

sdd3 is the drive where my Gentoo partition lives, yes, it is ext4. This fixes the problem every time... The issue is that this only happens when I choose to reboot properly, and not every single time, another issue I've been having is that Gentoo becomes unresponsive after some time of being idle, causing me to have to reboot via the reset button on my machine. It's never done this when I have to reboot this way.

Does anyone have any idea what could be causing this? Here's a link to a video of the bootup process where this happens:

https://youtu.be/ipbKfF8ba28

Thanks,

Todd
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Apr 02, 2022 11:06 pm    Post subject: Reply with quote

It's not unusual that a volume is not cleanly unmounted during a shutdown or a reset. But there should be a fsck pass during startup that fixes this problem.

Please post your /etc/fstab.

Do you use OpenRC? Or Systemd?
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 625
Location: Missouri

PostPosted: Sun Apr 03, 2022 12:06 am    Post subject: Reply with quote

mike155 wrote:
It's not unusual that a volume is not cleanly unmounted during a shutdown or a reset. But there should be a fsck pass during startup that fixes this problem.

Please post your /etc/fstab.

Do you use OpenRC? Or Systemd?


I'm using OpenRC

Code:
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
#       filesystems.  This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
#       more reliable to use filesystem labels or UUIDs. See your filesystem
#       documentation for details on setting a label. To obtain the UUID, use
#       the blkid(8) command.

#LABEL=boot      /boot      ext4      noauto,noatime   1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494      /      ext4   noatime      0 1
#LABEL=swap      none      swap      sw      0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
/dev/sda2       /mnt/windows    ntfs-3g  users 0 0

/dev/sdb1      /mnt/ubuntu    vfat     users 0 0

/dev/sdc2       /mnt/oldwin     ntfs-3g  users 0 0

/dev/sdd1   /boot        vfat    defaults,noatime     0 2
/dev/sdd2   none         swap    sw                   0 0
/dev/sdd3   /            ext4    noatime              0 1


/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0


Thanks

Todd
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Sun Apr 03, 2022 3:59 am    Post subject: Reply with quote

You are right, something is wrong. Your fstab for /dev/sdd3 looks fine.

During a normal shutdown or reboot, OpenRC will cleanly unmount all mounted partitions on the way down before shutting down or restarting. In other words, the partitions should be marked clean and not require fsck during booting.

I think you should suspect the integrity of the hardware that that is /dev/sdd, its partitioniing, and/or formatting. I would be running extensive checks on the drive and especially the partition sdd3.

Do you have SMART monitoring installed and turned on? That's sys-apps/smartmontools. GSMARTControl can make using SMART easier because it's a GUI interface to smartmontools. That's sys-apps/gsmartcontrol.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum