[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Live Demo CD boots but then can't find CDROM?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Arp <moin.askthem@xxxxxxxxx>
  • Date: Thu, 17 Nov 2005 05:43:49 +0100
  • Delivery-date: Thu, 17 Nov 2005 04:43:52 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UwNcGER+MoulQjIeiNs8HFNwGz1Jd9mcV7dfr/zKD1/mWPGjrmogqR5elHgeVWc5EA9630H7Nh3mfT4qI8QPu9JiiSFSuoaCJ+1rZDBRhWJ5skkgdBdfoJutYQDgtlVrOObPPVG2j+wEO68jn314fxKZwYETrZqsVWFQb1oyX80=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks for the swift answer Tim!  => Demo is now running :o)

> > So, somehow at the controller level (aic7xxx) the drive is recognized ...
> > ... but alas, I still don't understand why the CD doesn't show up.
>
> It's possible that the demo CD doesn't understand SCSI CD-ROM drives. :(
> What does lsmod return?  Does 'modprobe cdrom' make the drive appear?

Short answer:
==========
'modprobe cdrom'  didn't do it but ....  'modprobe sr_mod'  _did_  :o)

> and then exit the shell, the boot should continue OK from there.
Nifty script that allows this sort of recovery (!)


Longer answer for those who care:
=========================

lsmod showed following:
--------------------------------------------------
Module                  Size  Used by
nls_cp437               5632  1
msdos                   9024  1
fat                    41628  1 msdos
isofs                  37016  0
sd_mod                 19152  2
ide_cd                 42500  0
cdrom                  41376  1 ide_cd
ide_generic             1120  0 [permanent]
ide_core              131276  2 ide_cd,ide_generic
tulip                  52960  0
aic7xxx               225080  1
scsi_mod              140328  2 sd_mod,aic7xxx
8139too                27904  0
unix                   28948  0
8139cp                 21024  0
mii                     4992  2 8139too,8139cp
--------------------------------------------------
Note that
- cdrom is loaded and connected to ide_cd
  (while there is no IDE interface in the machine all IDE stuff gets loaded ?!)
- sd_mod   _has_ been loaded (and all scsi hdds were properly set up)
- sr_mod   somehow was not loaded => causing the problem.

so I tried 'modprobe sr_mod' and was relieved to see something like:

sr0: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0

(this is actually taken from dmesg, but should be equivalent)

That was all, really. Now the drive properly shows up as
/dev/cdroms/cdrom0 (= link to /dev/scsi/host0/bus0/target5/lun0/cd)

and can be mounted...

So, to continue running the Demo after getting stuck on no SCSI CD-ROM:
======================================================
# /bin/bash         [as the standard sh/dash is clumsy and has no PATH]
# modprobe sr_mod
# mount -n -o ro -t iso9660 /dev/cdroms/cdrom0 /tmp/cdrom
# exit                 [exit bash]
# exit                 [exit sh to continue the boot process/script]

Thanks again Tim! I feel a bit stupid that I didn't find it myself now, my *nix
is getting rusty - must be getting old ;o(

Cheers
Arp

PS: If any "Live Demo CD maintainer" wants to fix this and needs more
info / testing
I'm available of course.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.