Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-28-2008, 10:16 AM   #1
LQ Newbie
Registered: Dec 2002
Posts: 11

Rep: Reputation: 0
CDROM found in /proc/scsi/scsi but no /dev entry. Trying to make livecd.

I am trying to debug the Mandriva 2009 mklivecd script. It's well known that it has been broken for some time so I am attempting to bring it up to date because I need it to work. I am using kernel

When I boot the ISO in VirtualBox it loads all the modules OK but can't find the cdrom. I suspect there is some module I have missed out but can't guess what it is.

The CDROM ISO is presented as an ide device by VirtualBox (i.e. I'm not doing anything unusual) and appears to be detected as a SCSI device.

I have also attached a virtual IDE disk but that also doesn't show up in /dev.

cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel:00 Id: 00 Lun: 00
  Vendor: VBOX  Model: CD-ROM  Rev: 1.0
  Type:   CD-ROM               ANSI SCSI
lsmod (only modules and used by listed since I have no copy/paste from terminal)
Module			Used by
3w_xxxx			Live
usb_storage		Live
ehci_hcd		Live
ohci_hcd		Live
uhci_hcd		Live
usbcore			usb_storage,ehci_hcd,ohci_hcd,uhci_hcd, Live
i2c_piix4		Live
i2c_core		i2c_piix4, Live
scsi_transport_sas	Live
ide_scsi		Live
ide_core		ide_scsi, Live
isofs			Live
mptbase			Live
sd_mod			Live
crc_t10dif		sd_mod, Live
sr_mod			Live
loop			Live
ata_piix		Live
ahci			Live
libata			ata_piix,ahci, Live
scsi_mod		3w_xxxx,usb_storeage,scsi_transport_sas,ide_scsi,sd_mod,sr_mod,libata, Live
dock			libata, Live
ls /dev
core	fd	null	pts	stderr	stdin	stdout

Last edited by simonb; 11-28-2008 at 10:21 AM.
Old 11-29-2008, 05:05 AM   #2
LQ Newbie
Registered: Dec 2002
Posts: 11

Original Poster
Rep: Reputation: 0
CDROM found in /proc/scsi/scsi but no /dev entry. Trying to make livecd. SOLVED

OK. I'm answering my own post here :-)

The problem turned out to be that udev has depreciated the udevstart command that the initrc script was using to generate the device nodes.

Getting it to work with Mandriva 2009 involves using the start_udev script. This in turn depends on /etc/rc.d/init.d/functions being present which doesn't work with busybox's ash so bash and it's libraries also need to be copied.

Once the new udev start script is happy then the CDROM is available as /dev/sr0 as expected.

I now have a working Live CD so I have posted the patches to this bug report.

Last edited by simonb; 11-29-2008 at 05:50 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fatal error - Data for LiveCd not found. Are you using SCSI? dr_zayus69 Linux - Distributions 2 06-07-2005 01:41 PM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 03:28 PM
Some info about '/proc/scsi/scsi' and '/dev' C.Loko Slackware 4 11-27-2003 01:30 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 12:36 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 09:36 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration