unRAID Server 5.0-beta6a on full slackware segmentation fault


Recommended Posts

I've tried this a number of times for both 4.7 and the latest 5.0 beta with no success.

 

I've very meticulously followed the wiki, and emhttp always segfaults when I get to that step in either 4.7 or 5.0 b6a. I read a post here with the same errors, but didn't find anything that applied to my situation that I could tell.

emhttp: unRAID System Management Utility version 5.0-beta6a
emhttp: Copyright (C) 2005-2011, Lime Technology, LLC
emhttp: Pro key detected, GUID: 0781-5406-4857-411DC342805E
emhttp: shcmd (1): udevadm settle
emhttp: Device inventory:
emhttp: Maxtor_6L300R0_L60MMHPH (sda) 293057320
emhttp: shcmd (2): modprobe md-mod super=/boot/config/super.dat slots=21 2>&1 |logger
logger: FATAL: Error inserting md_mod (/lib/modules/2.6.36.2-unRAID/kernel/drivers/md/md-mod.ko): Unknown symbol in module, or unknown parameter (see dmesg)
emhttp: diskId.0 not found
kernel: emhttp[32449]: segfault at 0 ip 08050579 sp bf863f60 error 4 in emhttp[8048000+15000]

 

strace snippet: (entire strace.txt attached)

stat64("/proc/mdcmd", 0xbf928970)       = -1 ENOENT (No such file or directory)
time(NULL)                              = 1305312299
send(4, "<14>May 13 11:44:59 emhttp: diskI"..., 46, MSG_NOSIGNAL) = 46
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

 

I've reviewed the make compile log and no errors there.

 

FWIW dmesg says:

md_mod: Unknown parameter `super'
md_mod: Unknown parameter `super'

 

What should I look at next? I must be close, but I'm stuck.

 

Thanks!

 

Tony

 

strace.txt

Link to comment

nothing came back in either /var/log/syslog or /var/log/dmesg or /var/log/messages

after running

#modprobe md-mod

 

At the moment all my drives and the flash are installed.

/var/log/messages shows the following when I try to run emhttp -p 88

emhttp: unRAID System Management Utility version 5.0-beta6a
emhttp: Copyright (C) 2005-2011, Lime Technology, LLC
emhttp: Pro key detected, GUID: 0781-5406-4857-41<******>
emhttp: shcmd (1): udevadm settle
emhttp: Device inventory:
emhttp: Maxtor_6L300R0_L60MMHPH (sda) 293057320
emhttp: WDC_WD2001FASS-00U0B0_WD-WMAUR0194407 (sdc) 1953514552
emhttp: WDC_WD6400AAKS-00A7B0_WD-WCASY0013739 (sdf) 625131832
emhttp: WDC_WD1001FALS-00K1B0_WD-WMATV0782348 (sdd) 976762552
emhttp: WDC_WD2001FASS-00W2B0_WD-WMAY00649474 (sde) 1953514552
emhttp: SAMSUNG_HD753LJ_S13UJ1CQ600821 (sdh) 732574552
emhttp: WDC_WD2001FASS-00U0B0_WD-WMAUR0193889 (sdg) 1953514552
emhttp: MD01200-BJDW_MW0WCANM1163371 (sdj) 120627328
emhttp: WDC_WD6400AAKS-00A7B0_WD-WCASY0015595 (sdi) 625131832
emhttp: shcmd (2): modprobe md-mod super=/boot/config/super.dat slots=21 2>&1 |logger
emhttp: diskId.0 not found
kernel: emhttp[1539]: segfault at 0 ip 08050579 sp bfb56890 error 4 in emhttp[8048000+15000]

 

Booting off the flash works.

 

Thanks again so much for your help on this!!  :)

 

Tony

Link to comment

Do you see a /proc/mdcmd ? If not, that means your kernel was not properly built and unRAID didnt get implemented into it. In the 5.06a guide, I had to add the following in my make menuconfig:

 

Device Drivers -> Multiple Device Support ->  (*) Multiple devices driver support (unRAID)  and <M> RAID support

 

Watch your build and make sure unRAID gets implemented. You should see something like this compile:

 

drivers/md.c

 

And something about unRAID later...

Link to comment

Wow. That was the clue I was looking for!

 

My menuconfig did not have:

Device Drivers -> Multiple Device Support ->  (*) Multiple devices driver support (unRAID)

 

On further investigation I found that inexplicably, WinSCP put the drivers folder inside the drivers folder (/usr/src/linux/drivers/drivers/md)  :-[

 

I'm really puzzling over that. I'm not sure what its reason for rewriting the paths like that was--how or why it did that.  :o (It's generally well-behaved for me).

 

Anyway, after making sure the md folder went where I actually told it to go, I now have the unRaid MD listed in menuconfig.

Recompiled the kernel. Rebooted.

 

And... emHTTP starts!

 

Wow thanks again! I sooooo appreciate your help!

 

Ran mkmbr on my drives to get my files back and we're in business! I am sooo happy.

 

Thank you again so much for helping me out on this.  :)

 

Tony

Link to comment

Glad I was of help. I had the exact same problem and it took a few days (and a few forum posts) for me to get it right. I am not sure if this is something that affects everyone or not. If it does, adding Device Drivers -> Multiple Device Support ->  (*) Multiple devices driver support (unRAID)  and <M> RAID support should definitely be added to the Wiki. Can anyone more versed on the subject comment?

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.