You are not logged in.

#1 2013-07-05 14:34:49

zezadas
Member
Registered: 2013-04-11
Posts: 35

[SOLVED] Self-compiled kernel can't find root partition when booting

I wanted to compile my own kernel from source but after i compiled it and booted on grub it isn't able to find the root partition.

I already compiled it and that includes: make clean, make headers_install, make all, make modules_install and cp bzImage to boot partition.

got the .config from /proc/config.gz and the kernel source from linus github. I created initram with arch defaults and created the grub menu entry.

My current problem when i boot it is i get a message something like : Waiting 10 seconds for device...

Hope you can help me, aditional information below!!!! THANKS!!

My laptop model is AsusN61J

lsmod:

Module                  Size  Used by
cpufreq_powersave       1246  8 
fuse                   70985  3 
xfs                   769386  1 
libcrc32c               1002  1 xfs
uvcvideo               72921  0 
videobuf2_vmalloc       3304  1 uvcvideo
videobuf2_memops        2367  1 videobuf2_vmalloc
videobuf2_core         27541  1 uvcvideo
videodev              105273  2 uvcvideo,videobuf2_core
reiserfs              241587  1 
media                  10309  2 uvcvideo,videodev
snd_hda_codec_hdmi     29298  1 
joydev                  9695  0 
coretemp                6102  0 
snd_hda_codec_realtek    30893  1 
kvm_intel             125437  0 
snd_hda_intel          35816  4 
arc4                    2000  2 
radeon                754506  3 
ath9k                  88740  0 
ath9k_common            2096  1 ath9k
ath9k_hw              373214  2 ath9k_common,ath9k
ath                    15489  3 ath9k_common,ath9k,ath9k_hw
ttm                    65164  1 radeon
drm_kms_helper         35086  1 radeon
drm                   230077  5 ttm,drm_kms_helper,radeon
mac80211              488494  1 ath9k
cfg80211              452332  3 ath,ath9k,mac80211
kvm                   390295  1 kvm_intel
snd_hda_codec         145920  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
crc32c_intel           14249  1 
snd_hwdep               6364  1 snd_hda_codec
snd_pcm                76860  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7330  2 snd_pcm,snd_hda_intel
snd_timer              18687  1 snd_pcm
snd                    58893  15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
atl1c                  36270  0 
i2c_algo_bit            5391  1 radeon
iTCO_wdt                5407  0 
iTCO_vendor_support     1929  1 iTCO_wdt
psmouse                84588  0 
i2c_i801               11269  0 
asus_laptop            18733  0 
i7core_edac            17765  0 
mei                    58142  0 
edac_core              42711  1 i7core_edac
lpc_ich                12849  0 
soundcore               5418  1 snd
ac                      2536  0 
pcspkr                  2027  0 
i2c_core               22479  6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon,videodev
microcode              13204  0 
acpi_cpufreq           10726  1 
serio_raw               5041  0 
evdev                   9912  13 
sparse_keymap           3114  1 asus_laptop
thermal                 8652  0 
rfkill                 15626  3 cfg80211,asus_laptop
input_polldev           2850  1 asus_laptop
battery                 6970  0 
button                  4669  0 
video                  11203  0 
mperf                   1267  1 acpi_cpufreq
processor              27555  1 acpi_cpufreq
ext4                  486052  1 
crc16                   1359  1 ext4
mbcache                 5930  1 ext4
jbd2                   85240  1 ext4
sr_mod                 14930  0 
sd_mod                 30858  5 
cdrom                  35104  1 sr_mod
hid_generic             1153  0 
usbhid                 40956  0 
hid                    87539  2 hid_generic,usbhid
ahci                   22696  4 
libahci                21201  1 ahci
libata                171414  2 ahci,libahci
scsi_mod              129660  3 libata,sd_mod,sr_mod
xhci_hcd               89743  0 
ehci_pci                4120  0 
ehci_hcd               47407  1 ehci_pci
usbcore               177123  5 uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common               954  1 usbcore

lspci:

00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5730 / 6570M]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series]
03:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
07:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
08:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
ff:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
ff:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
ff:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
ff:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
ff:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
ff:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
ff:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
ff:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
ff:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
ff:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
ff:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)

GrubMenuEntry:

menuentry 'Arch GNU/Linux, with Linux core repo kernelzarpas' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-4e7040e2-a1c6-4568-a171-990efbbfa375' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux-zarpalhadas root=/dev/sda6 verbose ro
        initrd  /boot/initramfs-zarpalhadas.img
}

Last edited by zezadas (2013-07-05 15:00:16)

Offline

#2 2013-07-05 14:44:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Self-compiled kernel can't find root partition when booting

When pasting code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2013-07-05 14:47:45

zezadas
Member
Registered: 2013-04-11
Posts: 35

Re: [SOLVED] Self-compiled kernel can't find root partition when booting

karol wrote:

When pasting code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Fixed

Offline

#4 2013-07-05 14:59:47

zezadas
Member
Registered: 2013-04-11
Posts: 35

Re: [SOLVED] Self-compiled kernel can't find root partition when booting

Ok guys, although i was trying for like a week i solved it right now when  i changed some configs using xconfig... changed some modules like HCI and ATA drivers from modules to included in kernel, this way i was sure this modules would be loaded and it worked.

[SOLVED]!

Offline

Board footer

Powered by FluxBB