Installling unRAID 5.0b6a to full Slackware v13.1 [emhttp segfault]


Recommended Posts

EDIT: This problem has been solved. Please refer to this problem.

 

I've been wanting to migrate my my unRAID 4.7 box to a full Slackware v12.2 environment. My goal is to consolidate several applications I have on various boxes onto a single box. I've been looking at sources from the wiki and forums. Overall, much of the process is documented but many of the guides are for older versions of unRAID or documenting attempts for the 5.0 betas.

 

For the most part, I have been following this guide (http://lime-technology.com/wiki/index.php?title=Installing_unRAID_on_a_full_Slackware_distro) from the wiki. I am somewhat of a noob when it comes to kernel hacking so bare with me. Following the guide, I substituted the 2.6.27.7 kernel for the version unRAID 4.7 uses (2.6.32.9).

 

After copying unRAID kernel modifications, configuring menuconfig, and compiling the kernel, I am stuck at the following kernel panic on reboot:

 

 

VFS: Cannot open root device "802" or unknown-block(8,2)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Cannot open root device "802" or unknown-block(8,2)
Pid: 1, comm: swapper Not tainted 2.6.32.9-unRAID #1
Call Trace:
(I can type this out if you need it)

 

From what I read, I think I am missing a driver in make menuconfig, but I am not sure. I've tried different options for my hardware, but I can't seem to get it.

 

Some diagnostic info:

 

- lsmod / lsdev / lspci / ethtool outputs are attached

- Build info:

 

AMD Sempron 140 Sargas 2.7GHz Socket AM3 45W Single-Core Processor SDX140HBGQBOX

Kingston ValueRAM 2GB (2 x 1GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10600) Dual Channel Kit Desktop Memory

2 x SAMSUNG EcoGreen F2 HD103SI 1TB 5400 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive

COOLER MASTER Centurion 590 RC-590-KKN1-GP Black SECC / ABS ATX Mid Tower Computer Case

ASUS M4A785T-M AM3 AMD 785G HDMI Micro ATX AMD Motherboard

CORSAIR Builder Series CX430 CMPSU-430CX 430W ATX12V Active PFC Power Supply

 

- The system boots fine on a vanilla 2.6.32.9 kernel. When I add the unRAID drivers to the kernel src, I get the kernel panic. I've tried various combinations of drivers in make menuconfig, but no luck

 

 

unraidsysinfo.txt

Link to comment

Finally got it to boot into the kernel. I decided to start from scratch. I also switched to Slackware 13.1 and unRAID 5.0b6. I think what fixed it though was including the AHCI drivers. But now I have a new problem. emhttp has a segmentation fault and wont run. But that's another problem.  :)

Link to comment

Yup. Followed the 5.0 wiki instructions but still got the emhttp segmentation fault.

 

It's because emhttp can't find /proc/mdcmd. It's probably my kernel configuration. But what I am missing that causes mdcmd to not start? I've tried several compiling kernel configurations, but can't seem to get it.

 

Full emhttp strace: http://pastie.org/1866804

Syslog: http://pastie.org/1866809

 

Edit:Looks like there may be a build error I have been overlooking...

 

  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
init/built-in.o: In function `md_setup_drive':
do_mounts_md.c:(.init.text+0xfc7): undefined reference to `mdp_major'
fs/built-in.o: In function `rescan_partitions':
(.text+0x3849e): undefined reference to `md_autodetect_dev'
make: *** [.tmp_vmlinux1] Error 1
root@tower:/usr/src/linux# 

 

Any ideas?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.