Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8163 - Installation CD (1.4-rc1) doesn't detect pdcraid correctly
Summary: Installation CD (1.4-rc1) doesn't detect pdcraid correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-20 17:46 UTC by Michiel de Bruijne
Modified: 2005-03-25 11:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple #ifdef/#ifndef patch for pdcraid (pdcraid-fix.patch,1.24 KB, patch)
2002-09-25 21:47 UTC, James Hollenbeck
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel de Bruijne 2002-09-20 17:46:13 UTC
There is a problem with the detection of the pdcraid-hardware when using the 
1.4_rc1 release. 1.2 release works fine. Below I have posted a summary. If more 
testing or providing information is required please let me know. 
 
-involved hardware: 
pdcraid (pdc20276) 
 
-image with problem: 
livecd-ut2003-x86-1.4_rc1-r1.iso and livecd-basic-1.4_rc1-r2.iso (both MD5 
checked and correct) 
 
-image without problem: 
gentoo-i686-1.2.iso 
 
-result "insmod ataraid": 
using /lib/modules/2.4.19-xfs-r1/kernel/drivers/ide/ataraid.o 
 
-result "insmod pdcraid": 
using /lib/modules/2.4.19-xfs-r1/kernel/drivers/ide/pdcraid.o 
/lib/modules/2.4.19-xfs-r1/kernel/drivers/ide/pdcraid.o: init_module: No such 
device 
Hint: insmod errors can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters. 
You may find more information in syslog or at the output from dmesg 
 
-result "dmesg": 
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid arry found 
 
-scope: 
I saw on the forums that more people have problems when using the 1.4_rc1(-r2) 
release and not with the 1.2 release.
Comment 1 James Hollenbeck 2002-09-25 21:45:55 UTC
This is probably due to a really stupid bug. There's an #ifdef and an    
#ifndef that are backwards in ide-pci.c. If CONFIG_PDC202XX_FORCE is set, then   
everything works backwards and the raid controller is NOT initialized.   
Applying this fix let me use pdcraid for my root device again, so it may be   
the fix needed here. Lines 405 and 672 need to be switched to the opposite   
case. 
Comment 2 James Hollenbeck 2002-09-25 21:47:10 UTC
Created attachment 4194 [details, diff]
Simple #ifdef/#ifndef patch for pdcraid
Comment 3 Perzy Hannaman 2002-09-30 05:52:20 UTC
Adding Brandon to the CC-list, because this is related to the kernel. He might 
be interested in the patch.
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-12-22 00:38:59 UTC
Please try the latest 2002122100 livecd at 
http://www.gentoo.org/dyn/experimental/livecd/. We are using a 2.4.19-
derivative; if this hasn't been fixed in it then we really need to roll in this 
patch soon. Thanks for the bug report.
Comment 5 Michiel de Bruijne 2002-12-22 04:47:38 UTC
I have tested the 2002122100 LiveCD, I have the same problem, the problem 
should be fixed with kernel 2.4.20. There are a few (3-4) fixes for pdcraid in 
2.4.20. 
 
Please let me know if more testing is required. 
 
PS. I can't see the isolinux boot graphic, the screen is completely blue, do 
you want me to create a bug for this? 
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-12-22 23:02:55 UTC
Yes, please create a new bug for this.
Comment 7 Michiel de Bruijne 2002-12-24 11:48:43 UTC
I have tested the 2002122300 LiveCD and I can confirm that pdcraid works 
perfectly. 
Comment 8 Daniel Robbins (RETIRED) gentoo-dev 2002-12-24 15:31:11 UTC
Great :) I will now close this bug.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:25:16 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.