WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: Live Demo CD boots but then can't find CDROM?
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051116110632.GA15362@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4910b3df0511151628j340eb36fvf96685bd4b4881f7@xxxxxxxxxxxxxx> <4910b3df0511152355l42d68a4ckde5b3ae7baf43fae@xxxxxxxxxxxxxx> <20051116110632.GA15362@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>