lkml.org 
[lkml]   [2003]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ide-scsi -O3 runtime problem
Michael Buesch wrote:
> Hi.
>
> I have recently played a little bit with some optimiziation-flags on
> linux-2.4.20, linux-2.4.21-pre4 and linux-2.4.21-pre5 (I'm currently running
> pre5).
> Finally I could bring it to compile, but when I tried to mount a CD-ROM on the
> shiny new system with the optimized kernel, mount simply said:
> mount: /dev/scd0 is not a valid block device
>
> Then I tried to mount it via /dev/hdb (which is physically the same device,
> but without ide-scsi) and it worked fine.
>
> Is it a known problem, that ide-scsi fails if the kernel is compiled with -O3
> ?
> If you have any questions about my hardware and/or configuration, just ask. :)

It's not an -O3 problem, it's one with your .config... ;)

> CONFIG_BLK_DEV_IDECD=y

When you have that set, ide-scsi never gets a chance to see the CD-ROM
drive as the native IDE driver grabs it first. Everything else relevant
in the IDE and SCSI sections seem fine to my untrained eye... ;) So
either change that to N, or at boot time you can pass "hdb=scsi" as one
of the parameters and avoid recompiling.


Brian Davids

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:4.004 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site