Gentoo Archives: gentoo-amd64

From: Drake Donahue <donahue95@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] early boot failure, not sure how to diagnose
Date: Fri, 09 Aug 2013 00:33:20
Message-Id: 1376008371.22960.6.camel@fx8150.donahues.us.
In Reply to: Re: [gentoo-amd64] early boot failure, not sure how to diagnose by Daiajo Tibdixious
1 On Fri, 2013-08-09 at 09:07 +1000, Daiajo Tibdixious wrote:
2 > Logged in after failed boot.
3 > /home & /boot are mounted, but nothing in them when I ls.
4 > ls of / shows all the normal things there.
5 >
6 > While logged in, I'm still getting boot messages, where USB devices,
7 > eg the mouse, disconnect and reconnect.
8 >
9 > There are a ridiculous number of sd devices in /dev. sda, sdb, sdc,
10 > sdd all go to 15. sda is the hard drive, sdb/sdc for USB devices.
11 > Never had sdd.
12 >
13 > Did see some errors, notably "cannot mount /run" bad superblock or
14 > something like that. Its hard to scroll back with USB messages
15 > constantly appearing, half a screenful each time.
16 >
17 > On Fri, Aug 9, 2013 at 6:40 AM, Volker Armin Hemmann
18 > <volkerarmin@××××××××××.com> wrote:
19 > > Am 08.08.2013 10:43, schrieb Daiajo Tibdixious:
20 > >> I got new hardware for a home desktop a few days ago.
21 > >> Downloaded install-amd64-minimal-20130801.iso and am still booting
22 > >> from that cd as hard drive boot fails.
23 > >>
24 > >> I turned on logging in /etc/rc.conf, but no /var/log/rc.log is produced.
25 > >> The disks are mounted but readonly. I guess from this the problem is
26 > >> occurring before the root partition is mounted.
27 > >>
28 > >> I only have 4 partitions: boot, swap, root, and home. Since everything
29 > >> important is on the root partition, I'm not using an initramfs.
30 > >>
31 > >> I have many times tried to catch the error by watching the screen, but
32 > >> it scrolls past way to fast.
33 > >>
34 > >> The last part of the boot messages before things go crazy is
35 > >> "Switching to clocksource TSC".
36 > >>
37 > >> I've been reading up on grub, but don't see anyway to get more info on
38 > >> what is going wrong.
39 > >>
40 > >> If I boot from the cd and chroot to the disk, everything seems to work
41 > >> fine. /boot is ext2 fs and this is my grug.conf:
42 > >> default 0
43 > >> timeout 20
44 > >> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
45 > >>
46 > >> title Gentoo Linux 3.8.13
47 > >> root (hd0,0)
48 > >> kernel /boot/3.8/13-0/bzImage root=/dev/sda3
49 > >>
50 > >
51 > >
52 > > and what is happening?
53 > >
54 >
55 Does kernel config have:
56 CONFIG_DEVTMPFS=y
57 CONFIG_DEVTMPFS_MOUNT=y
58 CONFIG_HOTPLUG=y
59 CONFIG_FSNOTIFY=y
60 CONFIG_DNOTIFY=y
61 CONFIG_INOTIFY_USER=y
62 CONFIG_NET=y
63 CONFIG_PROC_FS=y
64 CONFIG_SIGNALFD=y
65 CONFIG_SYSFS=y
66 CONFIG_SYSFS_DEPRECATED is not set
67 CONFIG_UEVENT_HELPER_PATH=""
68 CONFIG_BLK_DEV_BSG=y
69 CONFIG_TMPFS=y
70 CONFIG_TMPFS_POSIX_ACL=y
71 CONFIG_TMPFS_XATTR=y
72
73 also this problem frequently results from graphics support attempting to
74 invoke kms support with:
75 modules instead of builtins
76 with frame buffers enabled
77 with the radeon driver enabled without building in appropriate
78 firmware