[Voyage-linux] Kernel with RAID Enabled?

Matt Signorello (spam-protected)
Tue May 3 20:27:33 HKT 2011


Punky,

You should also include the package "mdadm" which is the kernel raid utilities.

Other than that, everything looks like it works just fine. :-)

---
root at filestore:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdd1[4] sdc1[2] sdb1[1] sda1[0]
      1465147392 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
      [==>..................]  recovery = 10.6% (51999488/488382464)
finish=98.0min speed=74148K/sec
---

Also - In case anyone is interested I am using this mobo, it has 6
SATA ports, and an internal USB. I am booting from a usb stick.

http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H

Thanks for your assistance!

-Matt

On Tue, May 3, 2011 at 5:07 AM, Matt Signorello <msignorello at gmail.com> wrote:
> Punky,
>
> Never worked with grub before - was always a lilo guy. But I got it
> resolved by setting the default.
>
> That said, the stock debian kernel does have the modules. I am going
> to attempt to build my raid 5 array now.
>
> This is my lsmod which is nearly the same as previously posted by another user:
>
> ---
> Module                  Size  Used by
> md_mod                 67377  0
> hostap_pci             34628  0
> hostap                 76764  1 hostap_pci
> lib80211                2870  2 hostap_pci,hostap
> natsemi                19391  0
> snd_pcm                47226  0
> i915                  223024  0
> snd_timer              12258  1 snd_pcm
> drm_kms_helper         18309  1 i915
> snd                    34375  2 snd_pcm,snd_timer
> drm                   112088  2 i915,drm_kms_helper
> soundcore               3450  1 snd
> i2c_algo_bit            3497  1 i915
> snd_page_alloc          5045  1 snd_pcm
> i2c_i801                6462  0
> video                  14605  1 i915
> pcspkr                  1207  0
> output                  1204  1 video
> i2c_core               12787  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
> evdev                   5609  0
> psmouse                44809  0
> serio_raw               2916  0
> button                  3598  1 i915
> processor              26327  0
> ext2                   46245  1
> mbcache                 3762  1 ext2
> sd_mod                 26005  2
> crc_t10dif              1012  1 sd_mod
> usbhid                 28008  0
> hid                    50909  1 usbhid
> usb_storage            30833  1
> ahci                   27270  0
> libata                115753  1 ahci
> uhci_hcd               16057  0
> scsi_mod              101429  3 sd_mod,usb_storage,libata
> e1000e                 97733  0
> ehci_hcd               28681  0
> thermal                 9206  0
> thermal_sys             9378  3 video,processor,thermal
> usbcore                98733  5 usbhid,usb_storage,uhci_hcd,ehci_hcd
> nls_base                4541  1 usbcore
> ----
>
>
> On Mon, May 2, 2011 at 8:52 PM, Kim-man 'Punky' TSE
> <punkytse at punknix.com> wrote:
>> run "update-grub" first and try again.
>>
>>
>> On 5/3/2011 11:31 AM, Matt Signorello wrote:
>>>
>>> hi punky,
>>>
>>> got an error on trying that:
>>>
>>> -------
>>> Searching for default file ... Generating /boot/grub/default file and
>>> setting the default boot entry to 0
>>> entry not specified.
>>> run-parts: vi  exited with return code 1
>>> Failed to process /etc/kernel/postinst.d at
>>> /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 799.
>>> dpkg: error processing linux-image-2.6.32-5-686 (--configure):
>>>  subprocess installed post-installation script returned error exit status
>>> 9
>>> dpkg: dependency problems prevent configuration of linux-image-686:
>>>  linux-image-686 depends on linux-image-2.6.32-5-686; however:
>>>   Package linux-image-2.6.32-5-686 is not configured yet.
>>> dpkg: error processing linux-image-686 (--configure):
>>>  dependency problems - leaving unconfigured
>>> configured to not write apport reports
>>>                                       configured to not write apport
>>> reports
>>>
>>>      Errors were encountered while processing:
>>>  linux-image-2.6.32-5-686
>>>  linux-image-686
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>> --------------
>>>
>>> any ideas?
>>>
>>> i have not seen this before.
>>>
>>> thanks!
>>>
>>> matt
>>>
>>> On Mon, May 2, 2011 at 10:54 PM, Kim-man 'Punky' TSE
>>> <punkytse at punknix.com>  wrote:
>>>>
>>>> Hi Matt,
>>>>
>>>> Try,
>>>> apt-get install  linux-image-686
>>>> or
>>>> apt-get install  linux-image-486
>>>>
>>>>
>>>> On 5/3/2011 10:46 AM, Matt Signorello wrote:
>>>>>
>>>>> Hi Punky,
>>>>>
>>>>> Thanks. Can you tell me how I would install the stock kernel?
>>>>>
>>>>> Also, what would be the best location to find a guide for the
>>>>> compilation of my own kernel? There seems to be a lot of information,
>>>>> just spread out.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Matt
>>>>>
>>>>> On Mon, May 2, 2011 at 10:43 PM, Kim-man 'Punky' TSE
>>>>> <punkytse at punknix.com>    wrote:
>>>>>>
>>>>>> Hi Matt,
>>>>>>
>>>>>> You can try stock debian kernel.  If this makes raid work, could you
>>>>>> also
>>>>>> show us the related modules (by providing output of "lsmod") so that I
>>>>>> will
>>>>>> add them in the next kernel release.
>>>>>>
>>>>>> Regards,
>>>>>> Punky
>>>>>>
>>>>>>
>>>>>> On 5/3/2011 9:23 AM, Matt Signorello wrote:
>>>>>>>
>>>>>>> Hey Guys,
>>>>>>>
>>>>>>> I saw the posts from February about this same topic.. is there a
>>>>>>> kernel available that has linux raid enabled?
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> Matt
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Voyage-linux mailing list
>>>>>>> Voyage-linux at list.voyage.hk
>>>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Kim-man "Punky" Tse
>>>>>>
>>>>>> * Open Source Embedded Solutions and Systems
>>>>>>  - Voyage Linux (http://linux.voyage.hk)
>>>>>>  - Voyage ONE   (http://linux.voyage.hk/voyage-one)
>>>>>>  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>>>>>> * Voyage Store   (http://store.voyage.hk)
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Kim-man "Punky" Tse
>>>>
>>>> * Open Source Embedded Solutions and Systems
>>>>  - Voyage Linux (http://linux.voyage.hk)
>>>>  - Voyage ONE   (http://linux.voyage.hk/voyage-one)
>>>>  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>>>> * Voyage Store   (http://store.voyage.hk)
>>>>
>>>>
>>>>
>>
>>
>> --
>> Regards,
>> Kim-man "Punky" Tse
>>
>> * Open Source Embedded Solutions and Systems
>>  - Voyage Linux (http://linux.voyage.hk)
>>  - Voyage ONE   (http://linux.voyage.hk/voyage-one)
>>  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>> * Voyage Store   (http://store.voyage.hk)
>>
>>
>>
>




More information about the Voyage-linux mailing list