Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New installation with genkernel will not load kernel on boot
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Sep 20, 2012 4:08 am    Post subject: Reply with quote

are you in fact using uefi? or just a gpt disk with the "protective" MBR? if uefi, do both sdc and sde have uefi partitions? Could you post a jpeg of the death screen?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Thu Sep 20, 2012 4:17 am    Post subject: Reply with quote

In this context I'm referring to UEFI in the sense of "these are my BIOS settings." When I installed Gentoo on this box way back when, I could never get EFI booting to work. There were so many different instruction sets laying around, and no matter which one I followed I could never get it to work. Ultimately, I found the Funtoo GUID booting guide and followed that instruction set which worked, although, as I understand it, does not represent true EFI booting. I used the same process when installing this time around.

Sorry, I know that terminology is awful, I really don't understand how EFI booting is supposed to work. However, I can explain what I've done. The disk that I'm trying to load the system off of is /dev/sde, which is first in boot priority. It's partitioned with a GUID table via gdisk. sde1 is a EF02 type partition without a filesystem. sde2 is a 200MB ext2 boot partition, sde3 represents swap space and sde4 is an ext4 partition that contains the root partition. I install grub2 to the target /dev/sde. In the past, this process has worked for booting a Gentoo system on this computer.

I don't really care about boot speed. This board needs to flash about a billion SATA controller cards on the screen before trying to boot, so no matter what I do it'll always take forever anyways ><
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Thu Sep 20, 2012 5:22 pm    Post subject: Reply with quote

Hey, sorry, my eyes must have been roasting over last night because I missed your request for a jpeg. This is a camera shot: http://i49.tinypic.com/29eqjih.jpg

I started to make a drive map/partition list via parted /dev/sd* print for you, and stumbled on something interesting/deeply depressing.

How this set-up is supposed to work is that there are nine (possibly ten -- my setup has been working for me for so long that I might have lost count...I'm going to have to open this thing up and count them when this is all over) hard drives. /dev/sde is a SSD that the system is meant to be installed on, the rest of the hard drives are supposed to be split into two lvm volumes, with the exception of /dev/sdc which does have a partition that fits into one of these lvms but also has some additional partitions.

Unfortunately, a hard drive appears to be either missing or rewritten. I'm not sure what's going on, I'm trying to figure it out myself atm. pvscan is returning a missing device (referenced by UUID), which is, to say the least, an upsetting discovery. Fortunately, lvm #2, which is where the missing hard drive is, is the backup lvm so nothing completely terrible has happened so far.

This is where it gets stranger. As I was putting together the aforementioned partition list, I noticed that /dev/sdf has a partition layout that doesn't represent an lvm but rather a Gentoo installation. I can't imagine I made that mistake -- frankly, everytime I type "/dev/sd-anything" into bash I become paralyzed with fear of overwriting my lvm and end up staring at it for what seems to be an eternity before I press enter. But there's definitely a Gentoo installation there, and one of the recent ones too because the scripts that I wrote for this installation are in the root directory. So maybe I did make that mistake...

However, I am certain that /dev/sde is the SSD that I want to install Gentoo on. There's only one SSD in the box and it's 220 GB -- I know this because buying a 220GB SSD is not something my wallet will forget and there are no other 220 GB drives :)

The questions I'm asking myself are as follows:
-How many hard drives are in this computer -- is a hard drive offline? I would have sworn that I remembered this computer having ten drives in it, but I count nine in parted. Nine and ten are two numbers easily mixed up though.
-Otherwise, if there are nine hard drives, does sdf constitute the missing drive in pvscan because it was written over? I did not think that's how it worked; I would presume that since pvscan refers to these drives by UUID that would therefore necessitate a hard drive being offline, but, then on the other hand, I'm not entirely sure how UUIDs are generated.

^However, none of these questions relate to Gentoo and the excellent support that you've been giving me in this thread. I am far more devoted to having a running operating system on this computer than figuring out where the backup lvm is, so that's going to be my first priority. That being the case, one question seems to be far more important than the others:
-Is the computer trying to boot off of /dev/sdf?

Magic Eight Ball says "Most likely."

This is what I'm going to do: I'm going to zero /dev/sdf so I know that's impossible.

A couple of times in the past this mobo has, how to put this, "dropped" hard drives out of the available boot order even though they can still be accessed by the OS. Clearing CMOS via this board's CLRCMOS button or via the UEFI screen options fails to fix this, but removing the CMOS battery for a period of time has fixed this. Knowing that there is a mystery Gentoo install on /dev/sdf opens the possibility that the mobo has ran into this hard drive "dropping" problem again, changed the boot order and is now trying to boot off of /dev/sdf. Unfortunately, going into my UEFI settings rarely shines light on these problems, because with so many hard drives, some having unique names, some having names identical to each other and virtually all having names that completely fail to actually identify which physical drives they actually are, boot order has traditionally been a more trial and error process for me.

Anyways, my sincere apologies if this turns out to be a frustrating hardware problem/my stunning incompetence that has little to do with Gentoo. I'm going to start zeroing sdf now, so we'll find out in a few hours :oops:
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Thu Sep 20, 2012 10:19 pm    Post subject: Reply with quote

An update --

Zero'd out /dev/sdf just to be 100% positive that the computer couldn't boot off of the mystery installation. Rebooted and went into UEFI, as I thought the motherboard was unable to recognize the drive that correlates to /dev/sde, where the actual installation is stored. After resetting the CMOS this problem was resolved and I moved that drive to the front of the boot order.

Now the kernel can start to boot. Unfortunately, somewhere in the sequence where the text is flying way too fast to read the screen abruptly turns black. The disk activity LED flashes briefly following this before turning off. SSH requests time out, and after booting the liveCD again I find that there is still no dmesg in /var/log :(

But, hey, forward progess! :) At least there's a little more to go on.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Sep 20, 2012 11:16 pm    Post subject: Reply with quote

did you get any red green yellow on screen before it went black?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Thu Sep 20, 2012 11:25 pm    Post subject: Reply with quote

Hey DONAHUE,

No, I didn't. I think I'm pretty close to marking this solved; I think the problem was that the Graphics Support in the seed .config wasn't feasible. I changed the .config to mirror the changes you initially suggested in the beginning of the thread, rebooted and hit a kernel panic for the classic VFS sync, please append root= problem.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Sep 20, 2012 11:34 pm    Post subject: Reply with quote

that will be in the drive section

Quote:
cd /usr/src/linux
make clean
make mrproper
wget -O /usr/src/linux/arch/.config http://bpaste.net/raw/46518/
ls -al
was intended to provide a seed modified for your devices
should see
Quote:
--- Serial ATA and Parallel ATA drivers
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
*** SFF controllers with custom DMA interface ***
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARASAN CompactFlash PATA Controller Support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support
< > CS5536 PATA support
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > SC1200 PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
<*> VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)
in menuconfig
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Thu Sep 20, 2012 11:54 pm    Post subject: Reply with quote

That is exactly what my .config shows. Usually when I compile kernels my strategy is to just tick everything that says Intel sans things that say "old." Are you saying that you think Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support alone is inadequate and I'm running into VFS sync because it's missing SATA drivers?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Sep 20, 2012 11:58 pm    Post subject: Reply with quote

should be just as I showed
your primary should be ahci

jpeg of the panic could be helpful

you also need the
Quote:
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support


depending on bios choices and which adapter supports which drive ahci, mpxII, or via_sata may be needed
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 12:07 am    Post subject: Reply with quote

Alrighty! I'm just recompiling; added ath9k while I was in there. I'll reboot and do a photo shoot, should be up in 20-30. Thanks
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 12:31 am    Post subject: Reply with quote

Hopefully this is readable,
http://tinypic.com/r/28usq9x/6

that's on block (8,68 )
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Sep 21, 2012 12:58 am    Post subject: Reply with quote

8,68 is block device speak for /dev/sde4
the kernel can see /dev/sde4
drivers should be right

if a file system problem we should see more on the screen about file systems however try
Quote:
< > Second extended fs support
< > Ext3 journalling file system support
<*> The Extended 4 (ext4) filesystem
[*] Use ext4 for ext2/ext3 file systems (NEW)
[*] Ext4 extended attributes
[*] Ext4 POSIX Access Control Lists
[*] Ext4 Security Labels
[ ] EXT4 debugging support


and edit /boot/grub2/grub.cfg to add
Quote:
rootfstype=ext4
to the kernel/vmlinuz line
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 1:23 am    Post subject: Reply with quote

I already added the GRUB line at one point, checked the file and it reads
Code:
linux   /kernel-3.4.9-gentoo ro rootfstype=ext4


Kernel is already configured to:
Code:
 <*> The Extended 4 (ext4) filesystem                                                        │ │ 
  │ │                      [*]   Use ext4 for ext2/ext3 file systems                                                   │ │ 
  │ │                      [*]   Ext4 extended attributes                                                              │ │ 
  │ │                      [*]     Ext4 POSIX Access Control Lists                                                     │ │ 
  │ │                      [*]     Ext4 Security Labels 


And printout of /dev/sde is:
Code:


ubuntu@ubuntu:~$ sudo parted /dev/sde print
Model: ATA MKNSSDCR240GB (scsi)
Disk /dev/sde: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name                 Flags
 1      1049kB  2097kB  1049kB                  BIOS boot partition  bios_grub
 2      2097kB  212MB   210MB   ext2            Linux/Windows data
 3      212MB   17.4GB  17.2GB  linux-swap(v1)  Linux swap
 4      17.4GB  240GB   223GB   ext4            Linux/Windows data


Unless you think it might be something else off the top of your head, I might just recompile here and reinstall just to be on the safe side and make sure I'm not crazy. If it doesn't work I'll come back with the exact config of the SATA drivers just to make sure, but I'm 99% that it's just as your example shows.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Sep 21, 2012 1:32 am    Post subject: Reply with quote

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
might be worth repeating with a disk shuffle having happened

Code:
blkid
to see uuids
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 1:41 am    Post subject: Reply with quote

Yeah, actually haven't reset yet...it occurred to me that I checked the grubline before reinstalling the newly compiled kernel and I want to be 100% on this. I ran grub2-mkconfig again as well,

The top entry in /boot/grub2/grub.cfg now reads
Code:
        linux   /vmlinuz-3.4.9-gentoo root=/dev/sde4 ro  rootfstype=ext4


rootfstype=ext4 is actually defined in my /etc/default/grub:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="rootfstype=ext4"


Not sure where root= came from; I know I experimented with it earlier today, but I didn't define it in /etc/default/grub. But I guess since grub2 configured it, it must be right?

Anyways, rebooting now.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 2:07 am    Post subject: Reply with quote

Woooow, I dunno what happened there. These GRUB entries got seriously messed up somehow.

GRUB loaded and I was expecting more than two entries, but two entries was what I had. Selected the first one and it stalled on
Code:
Loading Linux 3.4.9-gentoo ...


There is a kernel in /boot called that, but that is not the first entry in grub.cfg and not the kernel I just compiled. In fact, I used make && make modules_install && make install for the kernel I just installed so it should have been a kernel titled vmlinuz...as the entry I posted above says. And then, following that, I ran grub2-mkconfig.

Code:
ls /mnt/gentoo/boot/
config-3.4.9-gentoo      kernel-3.4.9-gentoo      System.map-3.4.9-gentoo.old
config-3.4.9-gentoo.old  lost+found               vmlinuz-3.4.9-gentoo
grub2                    System.map-3.4.9-gentoo  vmlinuz-3.4.9-gentoo.old

shows that the kernel is actually in /boot.

Code:
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3c$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd4,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd4,gpt2 --hint-efi=hd4,gpt2 --hint-baremetal=ahci4,gpt2  76e30$
        else
          search --no-floppy --fs-uuid --set=root 76e300ec-871b-4ea1-838b-83823fd71795
        fi
        echo    'Loading Linux 3.4.9-gentoo ...'
        linux   /vmlinuz-3.4.9-gentoo root=/dev/sde4 ro  rootfstype=ext4

shows the entire first entry in grub.cfg.

So, yeah, I don't know that happened. I must have made a dumb typo somewhere or something -- maybe I should clear out the kernels from /boot, cp /usr/src/linux/arch/x86_64/bzImage /boot/vmlinuz-3.4.9-gentoo and re-grub2-mkconfig? Clearly I'm stumbling over myself here, and grub2 is pretty off target. So tired of things loading or trying to load that are things that I'm not currently working on! :)

EDIT
Adding grub2-mkconfig line from within chroot to show that it's properly detecting them.
Code:

chroot) ubuntu / # grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.4.9-gentoo
Found linux image: /boot/kernel-3.4.9-gentoo
Found linux image: /boot/vmlinuz-3.4.9-gentoo.old
done


I'm gonna reboot one more time, can't believe my eyes (and I promise I checked every hard drive map, no more ghost installs..)


Last edited by Jickler on Fri Sep 21, 2012 2:15 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Sep 21, 2012 2:14 am    Post subject: Reply with quote

cleaning up /boot and grub.cfg sounds right
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 2:18 am    Post subject: Reply with quote

Alrighty, cleaned up via
Code:
(chroot) ubuntu / # rm /boot/vmlinuz-3.4.9-gentoo && rm /boot/kernel-3.4.9-gentoo && rm /boot/vmlinuz-3.4.9-gentoo.old && cp /usr/src/linux/arch/x86_64/boot/bzImage /boot/vmlinuz-3.4.9-gentoo && grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.4.9-gentoo
done
(chroot) ubuntu / #


Rebooting now.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 2:33 am    Post subject: Reply with quote

It's the same thing!

Now all three entries in grub.cfg are literally for vmlinuz, but it still stuck on Linux 3.4.9-gentoo... screen. (Entire grub.cfg http://pastebin.com/S8gZ2LxA).

And there's only one kernel in /boot. :?:

EDIT:
That was frustrating. But my computer is probably not doing magic, and this probably makes sense. I'm going to reboot and go into the GRUB boot arguments option...should be able to see file name of kernel it is trying to boot there. I will probably find the correct filename there. Then I can presume that I must have fat fingered the kernel config and dropped something essential and I will fix it. If I can't find it I will backup my .config, and start over from the kernel seed .config.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Sep 21, 2012 2:57 am    Post subject: Reply with quote

Linux 3.4.9-gentoo is just part of 3 conventional titles one each for simple, advanced, and recovery for the single kernel.
the simple appears first line in grub boot menu
the second line says advanced, advanced is a submenu that contains advanced and recovery

assuming the uuid of your root partition is 3c161f01-0c84-4472-a564-7b7b89f2cfca , I suggest edit at least one section of grub.cfg to
Quote:
linux /vmlinuz-3.4.9-gentoo root=UUID=3c161f01-0c84-4472-a564-7b7b89f2cfca ro rootfstype=ext4

and booting that choice
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 3:11 am    Post subject: Reply with quote

Okay, I checked that against blkid (correct) and switched root= to root=UUID=3c161f01-0c84-4472-a564-7b7b89f2cfca ; also added it to /etc/default/grub so that should I grub2-mkconfig again it works. Rebooting now.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 4:36 am    Post subject: Reply with quote

Phew! I'm back to my kernel panic :) Which is a good thing. Basically, I did as I said I would and started from the kernel seed again, tried to reproduce all the examples given to me in the thread and the comments that I made about what I did and grub2-mkconfig'd. Looks like I must have fat-fingered something to break my kernel before when it wouldn't start loading the kernel. It looks like it's panicing at the same point as it used to.

One strange incident that occurred was before the grub menu appeared a grub error flashed very quickly. I couldn't read it, but the jist of it was that grub was missing a file. However, the menu did load and the kernel did begin to boot, so I guess it wasn't much of a problem.

I'm just posting this stuff to give myself as much accountability as possible:

This is what I did in bash:
Code:
# cp .config /backupconfig
# make clean && make mrproper && wget -O /usr/src/linux/arch/.config http://bpaste.net/raw/46518/ && make menuconfig
# cp /boot/vmlinuz-3.4.9-gentoo /kernel-old-stallsatbootinggentoo && rm /boot/vmlinuz-3.4.9-gentoo
# make && make modules_install && make install
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.4.9-gentoo
done


This is my current .config: http://pastebin.com/Ny6RMvH5
And this is my current /boot/grub2/grub.cfg: http://pastebin.com/tmkdWnqZ
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Sep 21, 2012 4:21 pm    Post subject: Reply with quote

confession time
Quote:
wget -O /usr/src/linux/arch/.config http://bpaste.net/raw/46518/
was sending the modified kernel seed to the wrong place. I gave you my "testing the download without changing the working .config" command. Correct would have been:
Code:
wget -O /usr/src/linux/.config http://bpaste.net/raw/46518/
I've made a couple of changes to the .config; so :
Code:
make clean && make mrproper && wget -O /usr/src/linux/.config http://bpaste.net/raw/46670/ && make menuconfig
cp /boot/vmlinuz-3.4.9-gentoo /kernel-old-stallsatbootinggentoo && rm /boot/vmlinuz-3.4.9-gentoo
make && make modules_install && make install
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
you did very well rolling your own kernel; I did not see a precise reason for the panic, however there were differences. My humble apology.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jickler
n00b
n00b


Joined: 09 Sep 2011
Posts: 72

PostPosted: Fri Sep 21, 2012 5:02 pm    Post subject: Reply with quote

Good morning!

Haha, don't worry about it. That explains a lot though, I dropped by the Debian driver check website referenced at kernelseeds while I was working on the kernel this morning, and I was wondering why so little of the drivers it was suggesting was in the kernel.

I actually just made some significant progress. I made a few minor changes this morning and rebooted (nothing that I anticipated would fix my problem, just fixing up the kernel a bit), expecting the same failure. And that's what I found, except I noticed that this time the kernel panic was referencing block 0,0. I'm not sure if that was what it was booting to last night, I was really tired, but regardless it meant a likely specific problem that I could fix so this was good. According to one of the old Gentoo wiki pages, that usually means that the disk controller drivers are missing. So I popped back into the SATA driver area, and, well basically ticked some more of the options that said Intel. Upon reboot, the kernel stalled...at 3.11 instead of 2.whatever!
Now there's no mention of panic on the screen (shift+page-up is broken) and, ladies and gents, I have dmesg.
JPG -- http://tinypic.com/r/25iu7gy/6
dmesg -- http://pastebin.com/JkuR3miR

So are you saying I've been dropping the seed-based config in an inappropriate directory and I've basically been configuring a clean config since the start? I should then backup this config and give the seed-based config a shot?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Sep 21, 2012 5:04 pm    Post subject: Reply with quote

yes
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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