Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amd64 kernel upgrade 2.6.15-r7 -> 2.6.16-r1 : dmraid failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ztom
n00b
n00b


Joined: 30 Mar 2006
Posts: 16

PostPosted: Thu Mar 30, 2006 4:09 pm    Post subject: amd64 kernel upgrade 2.6.15-r7 -> 2.6.16-r1 : dmraid fail Reply with quote

Hi,

I have boot & root partitions on separate /dev/sda and sdb & sdc are nvidia stripe configutarion.

Until 2.6.15-r7, everything worked just fine. all 5 partitions there ( some ntfs, some reiserfs) came online.
With 2.6.16 I can only see /dev/mapper/nvidia_ebceiddc and no partitions appear.

dmraid -r shows nicely
Code:

/dev/sdb: nvidia, "nvidia_ebceiddc", stripe, ok, 390721966 sectors, data@ 0
/dev/sdc: nvidia, "nvidia_ebceiddc", stripe, ok, 390721966 sectors, data@ 0


but

Code:

dmsetup remove_all
dmraid -ay


doesn't make any difference, only /dev/mapper/nvidia_ebceiddc appears.

fdisk(s) give errors and tell other unfriendly things when I point them to /dev/mapper/nvidia_ebceiddc

I copy my kernel .config from previous kernels and I tripplechecked that LVM would have all needed checked


What has changed about kernel, that would cause this?


Thank you for any hints, I miss my /home

ZTom
Back to top
View user's profile Send private message
barbapapa
n00b
n00b


Joined: 27 Jul 2005
Posts: 16

PostPosted: Mon Apr 03, 2006 3:02 pm    Post subject: Reply with quote

i got this bug too, with google i found that : "https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=186842", seems that dmraid need a patch, they speack of one but i don't see the one. It probably this if you got a message like "device-mapper: dm-stripe: Target length not divisible
by chunk size. device-mapper: error adding target to table"
Back to top
View user's profile Send private message
kcbanner
n00b
n00b


Joined: 04 Apr 2006
Posts: 61

PostPosted: Sun Apr 09, 2006 6:33 pm    Post subject: Reply with quote

I have this problem too.

Code:

make oldconfig

(answer some questions, I guess new stuff)

make menuconfig (check LVM and RAID)

make && make modules_install


Does not find /dev/mapper/nvidia_ddcgdbjj6, there is only a control file in /dev/mapper

So I guess we wait?
Back to top
View user's profile Send private message
DualCpuUser
n00b
n00b


Joined: 03 Mar 2005
Posts: 71

PostPosted: Sun Apr 09, 2006 7:57 pm    Post subject: Reply with quote

I have this exact same problem. Yes I'm running ~amd64. So that implies I'm running on all latest ebuilds. Which I believe then includes the latest gentoo-sources.

I've bounced around versions of dmraid/device-mapper and even tried using rc8 in genkernel.conf but to no avail, I can't boot up. No root device found.

ls -l on /dev/mapper shows the control file and RAW RAID0 device, but no partitions and thus boot fails.

From up above in this post I'll down grade the kernel sources and give that a try.
_________________
-Ron
Back to top
View user's profile Send private message
kcbanner
n00b
n00b


Joined: 04 Apr 2006
Posts: 61

PostPosted: Sun Apr 09, 2006 8:05 pm    Post subject: Reply with quote

Downgraded to 2.6.14-r7, works fine. 2.6.15-r7 works fine tooo...arrg
_________________
Sign the ATI Petition!: Here
Back to top
View user's profile Send private message
DualCpuUser
n00b
n00b


Joined: 03 Mar 2005
Posts: 71

PostPosted: Mon Apr 10, 2006 5:55 am    Post subject: Reply with quote

DualCpuUser wrote:
I have this exact same problem. Yes I'm running ~amd64. So that implies I'm running on all latest ebuilds. Which I believe then includes the latest gentoo-sources.

I've bounced around versions of dmraid/device-mapper and even tried using rc8 in genkernel.conf but to no avail, I can't boot up. No root device found.

ls -l on /dev/mapper shows the control file and RAW RAID0 device, but no partitions and thus boot fails.

From up above in this post I'll down grade the kernel sources and give that a try.


Downgrading to 2.6.15-r8 worked! Finally, had the whole thing compiled for over a week!!!! ARG!! Just couldn't boot the damn thing.
_________________
-Ron
Back to top
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Mon Apr 10, 2006 7:55 pm    Post subject: Reply with quote

I have the same problem. Is there a solution? I want to use the newest gentoo-sources.
Back to top
View user's profile Send private message
DualCpuUser
n00b
n00b


Joined: 03 Mar 2005
Posts: 71

PostPosted: Mon Apr 10, 2006 10:02 pm    Post subject: Reply with quote

MorLipf wrote:
I have the same problem. Is there a solution? I want to use the newest gentoo-sources.


Hmm, I think the adage is: "We don't always get, what we want." or not run tilde sources. You can research the bug that I think was higher up in the postings and keep an eye on any fix.

I forget which, I think device-mapper is RC10 now. Can't rememeber if that is the kernel side or user side.

-R
_________________
-Ron
Back to top
View user's profile Send private message
garlicbread
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 182

PostPosted: Tue Apr 11, 2006 10:15 pm    Post subject: Reply with quote

a preliminary version of a rc11 binary was released on the bug link mentioned before - here

extract the rpm to a tar.gz file using rpm2targz
grab the /sbin/dmraid.static file
swap this with the dmraid binary in the initramfs image
I posted a script earlier that allows for easy changing of initramfs images - here

it seems to work for some but not others
the kernel devs added in a new restriction to the device-mapper library that only allows a stripe map to have a volume size which is a multiple of the chunk size for 2.6.16, so unless dmraid uses values within these ranges, the device-mapper library won't create the mapping which causes the problem
also a gentoo bug related - here

if editing initramfs boot images, remember to always make backups with backup grub menu entries just in case something messes up and you end up with an unbootable system
if unsure, just wait for dmraid rc11 to be released properly, with genkernel support before using 2.6.16
Back to top
View user's profile Send private message
Tyler_Durden
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 189
Location: Germany

PostPosted: Mon Apr 17, 2006 12:14 am    Post subject: Reply with quote

yeah, dmraid-1.0.0.rc11-pre1-1 is working again here!
_________________
Gentoo 17.1 x86_64
Intel Core i9-9900K
Asus MAXIMUS XI HERO
AMD Radeon 6800XT
64GB DDR4
Samsung SSD 970 EVO Plus 1TB
8x Seagate Archive (SATA-RAID 64TB)
Digital Devices Cine S2 V6.5 DVB Adapter
Back to top
View user's profile Send private message
Erlend
Guru
Guru


Joined: 26 Dec 2004
Posts: 493

PostPosted: Mon Apr 24, 2006 6:37 pm    Post subject: dmsetup Reply with quote

I'm running dmsetup (to do what dmraid does, but without rediscovering the drives every boot) and I get this problem. Any ideas?

Thanks,

Erlend
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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