How to set up ide-scsi for 2.6.x.x Kernels in Ubuntu?

ZIYAD A. M. AL-BATLY zamb at spymac.com
Sat Apr 30 17:45:43 UTC 2005


On Sat, 2005-04-30 at 17:06 +0200, Gerhard Gaußling wrote:
> If I use cdrecord -scanbus I got this error:
> cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open 
> SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'.
> 
> But I got the modules loaded:
> $ lsmod |grep scsi
> ide_scsi               17284  0
> ide_core              147396  5 
> amd74xx,ide_generic,ide_disk,ide_cd,ide_scsi
> scsi_mod              153488  5 sbp2,ide_scsi,sr_mod,sd_mod,libata
> 
> But udev didn't created the devices.
> 
No.  For "/dev/pg*" to work you need to load the module "sg".

        zamb ~ $
        modinfo /lib/modules/2.6.10-5-k7/kernel/drivers/scsi/sg.ko
        filename:    /lib/modules/2.6.10-5-k7/kernel/drivers/scsi/sg.ko
        author:      Douglas Gilbert
        description: SCSI generic (sg) driver
        license:     GPL
        version:     3.5.31
        parm:        def_reserved_size:size of buffer reserved for each
        fd
        parm:        allow_dio:allow direct I/O (default: 0 (disallow))
        alias:       char-major-21-*
        vermagic:    2.6.10-5-k7 preempt K7 gcc-3.3
        depends:     scsi_mod
        srcversion:  C3DAD4F1D03A39D9244DD33

As for your original problem: try placing "ide-scsi" and "sd" before
"ide-cd" in /etc/modules and see what happens.

Ziyad.





More information about the ubuntu-users mailing list