View previous topic :: View next topic |
Author |
Message |
nosenseofhumor1 Tux's lil' helper
Joined: 04 May 2005 Posts: 146
|
Posted: Mon Apr 14, 2014 6:32 pm Post subject: [SOLVED] new build-> KERNEL PANIC VFS cant mount root |
|
|
Hey all,
Ive been trying to spin up a new system for a few weeks now and im at the end of my rope. Ive tried so many different times to generate a kernel that would boot my system and i havent had any success yet. My latest try was to load off the end of the world dvd, chroot in, and make localmodconfig because i heard that it essentially pipes lsmod into your kernel config, but i still get a panic. Can somebody take a sec to help me?
here is the error:
Code: |
[ 0.822888] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
|
here are as many details about what ive configured as i can think you might be interested in:
Uname -a
Code: | Linux Gentoo-20121221 3.6.8-gentoo-r1 #1 SMP Thu Dec 20 04:20:10 UTC 2012 x86_64 Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz GenuineIntel GNU/Linux
|
/etc/portage/make.conf
Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
#USE="bindist mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" |
Parted /dev/sda -> print
Code: | GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: LSI MR9271-8i (scsi)
Disk /dev/sda: 12.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1000MB 999MB grub bios_grub
2 1000MB 2000MB 999MB ext2 boot
3 2000MB 3000MB 1000MB linux-swap(v1) swap
4 3000MB 12.0TB 12.0TB ext4 rootfs
|
/boot/grub/grub.cfg
Code: | #
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
terminal_input console
terminal_output console
if sleep --interruptible 0 ; then
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-967ebb63-65f3-4fe5-8f61-fb10a54fec47' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' e91c2c20-09a0-4d84-bd1f-e0e49bc7126e
else
search --no-floppy --fs-uuid --set=root e91c2c20-09a0-4d84-bd1f-e0e49bc7126e
fi
echo 'Loading Linux 20140410_v01-gentoo ...'
linux /kernel-20140410_v01-gentoo root=/dev/sda4 ro
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-967ebb63-65f3-4fe5-8f61-fb10a54fec47' {
menuentry 'Gentoo GNU/Linux, with Linux 20140410_v01-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-20140410_v01-gentoo-advanced-967ebb63-65f3-4fe5-8f61-fb10a54fec47' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' e91c2c20-09a0-4d84-bd1f-e0e49bc7126e
else
search --no-floppy --fs-uuid --set=root e91c2c20-09a0-4d84-bd1f-e0e49bc7126e
fi
echo 'Loading Linux 20140410_v01-gentoo ...'
linux /kernel-20140410_v01-gentoo root=/dev/sda4 ro
}
menuentry 'Gentoo GNU/Linux, with Linux 20140410_v01-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-20140410_v01-gentoo-recovery-967ebb63-65f3-4fe5-8f61-fb10a54fec47' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' e91c2c20-09a0-4d84-bd1f-e0e49bc7126e
else
search --no-floppy --fs-uuid --set=root e91c2c20-09a0-4d84-bd1f-e0e49bc7126e
fi
echo 'Loading Linux 20140410_v01-gentoo ...'
linux /kernel-20140410_v01-gentoo root=/dev/sda4 ro single
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
|
fstab
Code: | # /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.
/dev/sda2 /boot ext2 noauto,noatime 1 2
/dev/sda4 / ext4 noatime 0 1
/dev/sda3 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
|
Lspci
Code: | 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
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.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 06)
00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (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 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller (rev b2)
06:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Expres
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller (rev b2)
06:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:05.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:07.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:09.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
09:00.0 IDE interface: Marvell Technology Group Ltd. Device 914d (rev 10)
0c:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0c:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0c:02.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
0c:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) |
Lsmod
Code: | Module Size Used by
ipv6 221184 56
shpchp 21306 0
pci_hotplug 19093 1 shpchp
r8169 44138 0
ata_generic 3139 0
i915 348862 1
mii 3332 1 r8169
pata_acpi 2996 0
snd_bt87x 8030 0
joydev 8424 0
snd_hda_codec_hdmi 20937 1
snd_hda_codec_realtek 47881 1
video 10582 1 i915
thermal_sys 12180 1 video
snd_hda_intel 19240 0
mxm_wmi 1348 0
coretemp 5519 0
wmi 7012 1 mxm_wmi
snd_hda_codec 58218 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 4967 1 snd_hda_codec
kvm_intel 111130 0
button 4164 1 i915
snd_pcm 53874 4 snd_bt87x,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
i2c_i801 8085 0
snd_page_alloc 5834 3 snd_bt87x,snd_pcm,snd_hda_intel
snd_timer 15200 1 snd_pcm
snd 47094 8 snd_hda_codec_realtek,snd_bt87x,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
kvm 201231 1 kvm_intel
pcspkr 1732 0
crc32c_intel 1660 0
ghash_clmulni_intel 3374 0
microcode 9258 0
aufs 124693 27
xts 2664 0
gf128mul 5163 1 xts
aesni_intel 40122 0
ablk_helper 1565 1 aesni_intel
cryptd 6430 3 ghash_clmulni_intel,aesni_intel,ablk_helper
aes_x86_64 7356 1 aesni_intel
iscsi_tcp 7469 0
libiscsi_tcp 10427 1 iscsi_tcp
libiscsi 29117 2 libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi 32732 2 iscsi_tcp,libiscsi
tg3 115726 0
libphy 15630 1 tg3
e1000 84745 0
fuse 55118 0
zfs 776195 0
zcommon 27778 1 zfs
znvpair 21832 2 zfs,zcommon
zavl 3926 1 zfs
zunicode 315753 1 zfs
spl 101824 5 zfs,zavl,zunicode,zcommon,znvpair
nfs 96214 0
lockd 51450 1 nfs
sunrpc 140360 2 nfs,lockd
btrfs 529580 0
zlib_deflate 17532 2 spl,btrfs
libcrc32c 915 1 btrfs
multipath 5185 0
linear 3008 0
raid0 6172 0
dm_raid 12229 0
raid10 32144 1 dm_raid
raid1 22621 1 dm_raid
raid456 44873 1 dm_raid
async_pq 2959 1 raid456
async_xor 2130 2 async_pq,raid456
xor 7090 1 async_xor
async_memcpy 1151 1 raid456
async_raid6_recov 1226 1 raid456
raid6_pq 86215 2 async_pq,async_raid6_recov
async_tx 1655 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
dm_snapshot 23108 0
dm_crypt 12665 0
dm_mirror 11168 0
dm_region_hash 6056 1 dm_mirror
dm_log 7244 2 dm_region_hash,dm_mirror
dm_mod 56815 5 dm_raid,dm_log,dm_mirror,dm_crypt,dm_snapshot
hid_pl 2040 0
hid_monterey 1426 0
hid_microsoft 2676 0
hid_logitech 13296 0
ff_memless 3676 2 hid_pl,hid_logitech
hid_ezkey 1307 0
hid_cypress 1747 0
hid_chicony 2074 0
hid_cherry 1410 0
hid_belkin 1527 0
hid_apple 4851 0
hid_a4tech 1805 0
sl811_hcd 8454 0
usbhid 20942 2 hid_pl,hid_logitech
xhci_hcd 63655 0
ohci_hcd 16549 0
uhci_hcd 17153 0
usb_storage 41910 0
ehci_hcd 32151 0
mpt2sas 114414 0
raid_class 3125 1 mpt2sas
aic94xx 63171 0
libsas 50937 1 aic94xx
lpfc 442315 0
qla2xxx 362849 0
megaraid_sas 62312 3
megaraid_mbox 23255 0
megaraid_mm 6729 1 megaraid_mbox
megaraid 34873 0
aacraid 67483 0
sx8 10742 0
DAC960 60679 0
hpsa 41615 0
cciss 43043 0
3w_9xxx 27487 0
3w_xxxx 20464 0
mptsas 32823 0
scsi_transport_sas 21015 4 mpt2sas,libsas,mptsas,aic94xx
mptfc 10189 0
scsi_transport_fc 38472 3 lpfc,qla2xxx,mptfc
scsi_tgt 8041 1 scsi_transport_fc
mptspi 10922 0
mptscsih 16105 3 mptfc,mptsas,mptspi
mptbase 52435 4 mptfc,mptsas,mptspi,mptscsih
atp870u 22544 0
dc395x 26661 0
qla1280 19167 0
dmx3191d 8898 0
sym53c8xx 61132 0
gdth 71937 0
advansys 48291 0
initio 14717 0
BusLogic 19165 0
arcmsr 23186 0
aic7xxx 102452 0
aic79xx 107059 0
scsi_transport_spi 17020 5 mptspi,sym53c8xx,aic79xx,aic7xxx,dmx3191d
sg 20973 0
pdc_adma 5086 0
sata_inic162x 5967 0
sata_mv 22434 0
ata_piix 14953 1
ahci 19799 0
libahci 16221 1 ahci
sata_qstor 4885 0
sata_vsc 3850 0
sata_uli 2917 0
sata_sis 3566 0
sata_sx4 7825 0
sata_nv 17138 0
sata_via 7460 0
sata_svw 4026 0
sata_sil24 9616 0
sata_sil 6870 0
sata_promise 9480 0
pata_sl82c105 3355 0
pata_cs5530 3958 0
pata_cs5520 3283 0
pata_via 8036 0
pata_jmicron 2308 0
pata_marvell 2804 0
pata_sis 9879 1 sata_sis
pata_netcell 2122 0
pata_sc1200 2883 0
pata_pdc202xx_old 4303 0
pata_triflex 2929 0
pata_atiixp 4372 0
pata_amd 9762 0
pata_ali 8758 0
pata_it8213 3339 0
pata_pcmcia 9622 0
pcmcia 28660 1 pata_pcmcia
pcmcia_core 9513 1 pcmcia
pata_ns87415 2964 0
pata_ns87410 2681 0
pata_serverworks 4852 0
sata_nv 17138 0
sata_via 7460 0
sata_svw 4026 0
sata_sil24 9616 0
sata_sil 6870 0
sata_promise 9480 0
pata_sl82c105 3355 0
pata_cs5530 3958 0
pata_cs5520 3283 0
pata_via 8036 0
pata_jmicron 2308 0
pata_marvell 2804 0
pata_sis 9879 1 sata_sis
pata_netcell 2122 0
pata_sc1200 2883 0
pata_pdc202xx_old 4303 0
pata_triflex 2929 0
pata_atiixp 4372 0
pata_amd 9762 0
pata_ali 8758 0
pata_it8213 3339 0
pata_pcmcia 9622 0
pcmcia 28660 1 pata_pcmcia
pcmcia_core 9513 1 pcmcia
pata_ns87415 2964 0
pata_ns87410 2681 0
pata_serverworks 4852 0
pata_artop 4600 0
pata_it821x 7985 0
pata_hpt3x2n 5325 0
pata_hpt3x3 2747 0
pata_hpt37x 10746 0
pata_hpt366 4763 0
pata_cmd64x 6564 0
pata_efar 3455 0
pata_rz1000 2424 0
pata_sil680 3935 0
pata_radisys 2835 0
pata_pdc2027x 5758 0
pata_mpiix 2775 0
libata 132867 52 ahci,pata_pdc202xx_old,sata_inic162x,pata_acpi,pata_efar,sata_sil,sata_sis,sata_sx4,sata_svw,sata_uli,sata_via,sata_vsc, \ pata_marvell,sata_promise,sata_mv,sata_nv,libahci,sata_qstor,sata_sil24,pata_netcell,pata_ali,pata_amd,pata_sis,pata_via,pata_sl82c105,pata_triflex, \
pata_ns87410,pata_ns87415,ata_generic,libsas,pdc_adma,pata_artop,pata_atiixp,pata_mpiix,pata_cmd64x,pata_cs5520,pata_cs5530,pata_hpt3x2n, \ pata_hpt366,pata_hpt37x,pata_hpt3x3,pata_it8213,pata_it821x,pata_serverworks,pata_pcmcia,pata_sc1200,pata_sil680,pata_rz1000,ata_piix, \
pata_jmicron,pata_radisys,pata_pdc2027x
|
.config
[MOVED TO PASTEBIN]
line breaks added by NeddySeagoon
Last edited by nosenseofhumor1 on Tue Apr 15, 2014 6:05 pm; edited 2 times in total |
|
Back to top |
|
|
nosenseofhumor1 Tux's lil' helper
Joined: 04 May 2005 Posts: 146
|
Posted: Mon Apr 14, 2014 6:48 pm Post subject: |
|
|
[MOVED TO PASTEBIN]
Last edited by nosenseofhumor1 on Mon Apr 14, 2014 8:25 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Apr 14, 2014 6:56 pm Post subject: |
|
|
nosenseofhumor1,
How did you configure and build your kernel ?
Do you expect to use an initrd ?
Your unknown-block(0,0) error means that the kernel cannot see your HDD.
wgetpaste is your friend for long posts lixe your .config that won't fit into a forums post. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nosenseofhumor1 Tux's lil' helper
Joined: 04 May 2005 Posts: 146
|
Posted: Mon Apr 14, 2014 6:58 pm Post subject: |
|
|
[MOVED TO PASTEBIN]
Last edited by nosenseofhumor1 on Mon Apr 14, 2014 8:24 pm; edited 1 time in total |
|
Back to top |
|
|
nosenseofhumor1 Tux's lil' helper
Joined: 04 May 2005 Posts: 146
|
Posted: Mon Apr 14, 2014 7:17 pm Post subject: |
|
|
hey neddy
sorry ill use wgetpaste in the future.
I used make localmodconfig then make && make modules_install
i copied bzimage to boot and ran grub2-makeconfig
yeah i think i wanted to use initrd... i didnt want to use systemd if thats the other option. (i did try this first and it crashed and burned about 12 times before i gave up on it completely) |
|
Back to top |
|
|
nosenseofhumor1 Tux's lil' helper
Joined: 04 May 2005 Posts: 146
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Apr 14, 2014 8:31 pm Post subject: |
|
|
nosenseofhumor1,
An initrd is a temporary root filesystem that is loaded by the boot loader.
Its not related to your choice of init system.
The alternative to using an initrd is to build everything needed to mount the root filesystem into the kernel.
You have done neither of those things.
Your root partition is otn a HDD attached to one of the following devices but we don't know which one
Code: | 00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller (rev b2)
09:00.0 IDE interface: Marvell Technology Group Ltd. Device 914d (rev 10) | os best enable them all.
Your kernel has
Code: |
#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
# SCSI device support
#
CONFIG_SCSI_MOD=y
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_TGT=m
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
CONFIG_SCSI_LOWLEVEL=y |
So far so good but
Code: | CONFIG_MEGARAID_SAS=m | that looks like the driver for your 01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05).
If so, its a module, so its located in /lib/modules/ which cannot be read until root is mounted. Thats a problem if you need it to read the root filesystem, where /lib/modules is stored.
so all your SATA and PATA drivers are also modules. Thats game over. your kernel has no way to read any hard drives.
If you want to use modules like this you must provide a initrd that has the modules so that they can be loaded before the HDD con be read.
The alternative is to use to change these options and a few others to <*>
Code: | CONFIG_SATA_AHCI=m
CONFIG_SATA_AHCI_PLATFORM=m
CONFIG_ATA_PIIX=m
CONFIG_PATA_MARVELL=m |
Would be good.
You will also need to set <*> on your root filesystem driver.
Code: | CONFIG_EXT2_FS=y
CONFIG_EXT4_FS=y | looks good already
Rebuild and reinstall your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nosenseofhumor1 Tux's lil' helper
Joined: 04 May 2005 Posts: 146
|
Posted: Tue Apr 15, 2014 6:05 pm Post subject: |
|
|
nice.
thank you. |
|
Back to top |
|
|
|
|
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
|
|