Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18870 - gentoo-sources-2.4.20-r2 kernel ignores kernel command line
Summary: gentoo-sources-2.4.20-r2 kernel ignores kernel command line
Status: RESOLVED DUPLICATE of bug 17762
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-06 16:01 UTC by Sebastian Fleer
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Fleer 2003-04-06 16:01:34 UTC
I added  
append = "ide2=ata66 hdc=ide-scsi" 
to my lilo.conf. SCSI emulation for my CD-Writer and UDMA for my Promise Ultra 100.  
With vanilla-souces-2.4.20 everything works the way it should.  
dmesg output: 
  
 Kernel command line: BOOT_IMAGE=Linux_old ro root=2105 ide2=ata66 hdc=ide-scsi  
 ide_setup: ide2=ata66  
 ide_setup: hdc=ide-scsi  
 Initializing CPU#0  
 <snip>  
 PDC20268: chipset revision 2  
 PDC20268: not 100% native mode: will probe irqs later  
 PDC20268: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode.  
 PDC20268: ATA-66/100 forced bit set (WARNING)!!  
     ide2: BM-DMA at 0x6400-0x6407, BIOS settings: hde:pio, hdf:pio  
     ide3: BM-DMA at 0x6408-0x640f, BIOS settings: hdg:pio, hdh:pio  
 
SCSI emulation is also setup properly.  
  
Now with gentoo-sources:  
 
 Kernel command line: BOOT_IMAGE=Linux ro root=2105 ide2=ata66 hdc=ide-scsi  
 Initializing CPU#0  
 <snip>  
 PDC20268: chipset revision 2  
 PDC20268: not 100% native mode: will probe irqs later  
 PDC20268: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode.  
     ide2: BM-DMA at 0x6400-0x6407, BIOS settings: hde:pio, hdf:pio  
     ide3: BM-DMA at 0x6408-0x640f, BIOS settings: hdg:pio, hdh:pio  
  
Note that the lines  
 
 ide_setup: ide2=ata66  
 ide_setup: hdc=ide-scsi 
 
are missing here.  
  
The two kernels are configured in the exact same way regarding SCSI emulation and Promise 
chip support.  

Reproducible: Always
Steps to Reproduce:
1. Compile IDE CD-ROM support into the kernel 
2. add hdx=ide-scsi to the kernel command line (where hdx is your cd-writer) 
Actual Results:  
The cd-writer hdx uses the IDE CD-ROM driver 

Expected Results:  
The cd-writer should be ignored by the IDE CD-ROM driver
Comment 1 James Bowlin 2003-04-06 18:04:25 UTC
I am using the same Gentoo sources and I know that hdb=ide-scsi works 
for me via grub.  The cdrom comes up as scsi.  When I remove that 
option then the cdrom comes up as ide.  Also, a single number allows me to 
set the run level.  When I first upgraded my kernel I *think* the 
cdrom native ide support was compiled into the kernel even though I 
did a "make oldconfig".  Do a "make menuconfig" and make sure that 
cdrom native ide support is not compiled into your kernel. 
 
Comment 2 Sebastian Fleer 2003-04-07 10:21:49 UTC
The hdb=ide-scsi command is for the native ide cd-rom support if it's compiled 
into the kernel and shouldn't be ignored. 
With vanilla-sources and ck-sources the native ide cd-rom support skips hde, 
with gentoo-sources it doesn't. All three kernels have ide cd-rom support 
compiled into the kernel, not as a module. 
 
And  with gentoo-sources the option ide2=ata66 doesn't work either. With the 
other two it works. 
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-15 19:56:16 UTC

*** This bug has been marked as a duplicate of 17762 ***