Jump to content

how to compile kernel so to get /dev/scd0?


Recommended Posts

Hello, here's probably my last question for quite a long time.

 

I've got a CD-writer, /dev/hdc. Usually with Mandrake, by adding hdc=ide-scsi to the kernel append line, this becomes /dev/scd0.

I compiled my kernel yesterday to try software-suspend, and all I get is an unusable /dev/sg0 (which "is not a block device" and cannot be mounted...). I don't understand. Here's the append-line in lilo.conf:

append="quiet devfs=mount hdc=ide-scsi resume2=swap:/dev/hda6:0x70424@4096 noresume2"

 

And here are some more info:

# grep -i scsi /usr/src/linux/.config | grep -v "^#"
CONFIG_BLK_DEV_IDESCSI=y
CONFIG_SCSI=y
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y

# grep -i scsi /etc/modules*
/etc/modules:scsi_hostadapter
/etc/modules.conf:probeall scsi_hostadapter ide-scsi
/etc/modules.devfs:#probeall    scsi_hostadapter        sym53c8xx
/etc/modules.devfs:probeall  /dev/discs         scsi_hostadapter sd_mod ide-probe-mod ide-disk ide-floppy DAC960
/etc/modules.devfs:probeall  /dev/cdroms                scsi_hostadapter sr_mod ide-probe-mod ide-cd cdrom
/etc/modules.devfs:probeall  /dev/tapes         scsi_hostadapter st ide-probe-mod ide-tape
/etc/modules.devfs:# All SCSI devices
/etc/modules.devfs:probeall  /dev/scsi          scsi_hostadapter sd_mod sr_mod st sg
/etc/modules.devfs:# SCSI HDDs
/etc/modules.devfs:probeall  /dev/sd            scsi_hostadapter sd_mod
/etc/modules.devfs:# SCSI CD-ROMs
/etc/modules.devfs:probeall  /dev/sr            scsi_hostadapter sr_mod
/etc/modules.devfs:probeall  /dev/scd           scsi_hostadapter sr_mod
/etc/modules.devfs:alias     /dev/scsi/*/cd     /dev/scd
/etc/modules.devfs:# SCSI tapes
/etc/modules.devfs:probeall  /dev/st            scsi_hostadapter st
/etc/modules.devfs:# SCSI generic
/etc/modules.devfs:probeall  /dev/sg            scsi_hostadapter sg
/etc/modules.devfs:alias     /dev/scsi/*/generic        /dev/sg

# cat /proc/ide/hdc/driver 
ide-scsi version 0.93

 

Has someone an idea?

 

Yves.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...