View previous topic :: View next topic |
Author |
Message |
Jrauch n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Mon Oct 14, 2013 6:35 pm Post subject: [SOLVED] x3550 kernel panic, vfs sync |
|
|
I'm having a terrible time building a working kernel for this IBM x3550. The kernel panics trying to mount the root file system (vfs sync). It sees 8,0, but can't see or mount 8,3.
So, the kernel sees sda, but not sda3.
I have the correct drivers for the raid controller (I can load and unload the module on the live cd, and see the disc being detected).
Code: | 01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03)
Subsystem: IBM ServeRAID M1015 SAS/SATA Controller
Kernel driver in use: megaraid_sas
Kernel modules: megaraid_sas |
The boot partition is ext2, root is ext4; those modules are built-in.
I've tried taking the config from the live cd and building that, with the same result. Building an initrd with the genkernel tools was also of no help. I even tried genkernel for the first time, but the result was the same.
I've tried lilo and grub out of desperation, but this doesn't really seem to be a boot loader issue to me. Here is the lilo config:
Code: | boot=/dev/sda # Install LILO in the MBR
#boot=/dev/rd/host0/target0/part1 # Install LILO in the MBR
prompt # Give the user the chance to select another section
timeout=50 # Wait 5 (five) seconds before booting the default section
default=gentoo # When the timeout has passed, boot the "gentoo" section
# Only if you use framebuffer. Otherwise remove the following line:
#vga=normal # Framebuffer setting. Adjust to your own will
vga=ask
image=/boot/vmlinuz
#initrd=/boot/initramfs-genkernel-x86_64-3.10.7-gentoo
label=gentoo
read-only
root=/dev/sda3
#append="" |
This isn't my first kernel build or Gentoo system, but I'm at a loss here. Any suggestions?
Last edited by Jrauch on Mon Oct 14, 2013 9:31 pm; edited 1 time in total |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Mon Oct 14, 2013 8:14 pm Post subject: |
|
|
Can you post your kernel .config? |
|
Back to top |
|
|
Jrauch n00b
Joined: 19 Dec 2005 Posts: 20
|
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Mon Oct 14, 2013 9:12 pm Post subject: |
|
|
You don't have any file system drivers enabled in your kernel, you'll need those!
[edit] Also, do you have a GPT partition table? If not, you'll need to enable msdos partition table too. |
|
Back to top |
|
|
Jrauch n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Mon Oct 14, 2013 9:17 pm Post subject: |
|
|
Code: | CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
|
I'm not sure what you mean, what exactly am I missing? |
|
Back to top |
|
|
Jrauch n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Mon Oct 14, 2013 9:19 pm Post subject: |
|
|
Code: | Disk /dev/sda: 146.0 GB, 145999527936 bytes, 285155328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001c506
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 526335 262144 83 Linux
/dev/sda2 526336 8914943 4194304 82 Linux swap / Solaris
/dev/sda3 8914944 285155327 138120192 83 Linux
|
Nope, no gpt. I'm not sure I was aware if it needing msdos though, so that's good to know. |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Mon Oct 14, 2013 9:20 pm Post subject: |
|
|
Sorry, I search for them in your post before you uploaded them in a link, I'll take another look |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Mon Oct 14, 2013 9:21 pm Post subject: |
|
|
Yeah, you'll need msdos partition tables then, UEFI partition tables are for GPT. |
|
Back to top |
|
|
Jrauch n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Mon Oct 14, 2013 9:27 pm Post subject: |
|
|
nemectic wrote: | Sorry, I search for them in your post before you uploaded them in a link, I'll take another look |
Not a problem. I didn't realize how cut off if it was in my initial attempt. I'm rebooting with msdos partition tables now... |
|
Back to top |
|
|
Jrauch n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Mon Oct 14, 2013 9:30 pm Post subject: |
|
|
You rock! It works. Thanks for the help, I was never going guess that was the missing module. |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Mon Oct 14, 2013 9:32 pm Post subject: |
|
|
No problem, glad to help. |
|
Back to top |
|
|
|