Gentoo Archives: gentoo-amd64

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