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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Live Demo CD boots but then can't find CDROM?
From: Arp <moin.askthem@xxxxxxxxx>
Date: Wed, 16 Nov 2005 08:55:48 +0100
Delivery-date: Wed, 16 Nov 2005 07:58:05 +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=DakXMfr+3tCJTVO3nHOYBqU6roVBihVssLWYDJs3xa54wBXORWbG+a46Vw43LOmf7R/V5XiITx86z4lYldqmV+wX06hWy5KfgQ43g9hXBKslq39at/Jm0QizVA5f4Ovh7qsyXWJYgetS2UtgA0G7UuVMpnG/4Fs8pXLbEJiOadY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4910b3df0511151628j340eb36fvf96685bd4b4881f7@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Update/Correction

I wrote:
> I'm pretty sure it's a (machine specific??) aic7xxx based problem...

Hmmm, not so sure anymore - had a closer look and it seems aic7xxx
initializes correctly and the CDROM drive is recognized at the
SCSI-level.

contents of /proc/scsi :
---------------------------------------------------------------------------------------
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: DEC      Model: RZ2DC-PA (C) DEC Rev: 5520
  Type:   Direct-Access                    ANSI SCSI revision: 02
<snip 2nd and 3rd hdd>
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: TOSHIBA  Model: CD-ROM XM-6201TA Rev: 1206
  Type:   CD-ROM                           ANSI SCSI revision: 02
---------------------------------------------------------------------------------------

Also, dmesg gives me:
---------------------------------------------------------------------------------------
<snip>
SCSI subsystem initialized
PCI: Obtained IRQ 11 for device 0000:00:0c.0
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec aic7880 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

(scsi0:A:0): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
  Vendor: DEC       Model: RZ2DC-PA (C) DEC  Rev: 5520
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
(scsi0:A:1): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
  Vendor: DEC       Model: RZ2DC-PA (C) DEC  Rev: 5520
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled.  Depth 8
(scsi0:A:2): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
  Vendor: DEC       Model: RZ2DC-PA (C) DEC  Rev: 5520
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:2:0: Tagged Queuing enabled.  Depth 8
(scsi0:A:5): 10.000MB/s transfers (10.000MHz, offset 15)
  Vendor: TOSHIBA   Model: CD-ROM XM-6201TA  Rev: 1206
  Type:   CD-ROM                             ANSI SCSI revision: 02
<snip>
---------------------------------------------------------------------------------------

Not sure if this is relevant but note that for the CD-ROM no
final line is generated such as:
"scsi0:A:#:0: Tagged Queuing enabled.  Depth #"
(but that maybe only means the drive doesn't do Tagged Queuing??)

The very last lines of dmesg are
---------------------------------------------------------------------------------------
<snip>
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sda: drive cache: write through
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sda: drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
<... snip same for hdd2&3 ...>
 /dev/scsi/host0/bus0/target2/lun0: unknown partition table
Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
---------------------------------------------------------------------------------------

( so nothing there for the CD at scsi0, channel 0, id 5, lun 0 )

After that the intallation breaks with:
"Mounting CD-ROM"
"mount: Mounting /dev/cdroms/cdrom0 on /tmp/cdrom failed: No such file
or directory"
" "
"Can't find the root FS on the CD-ROM, sorry. Looks like we're stuck."
....

from the shell I can then see that no  /dev/cdroms  has been created
( so obviously mount can't find /cdroms/cdrom0 )
Also,  /dev/scsi  only has:
/dev/scsi/host0/bus0
---------------------------------------------------------------------------------------
drwxr-xr-x    1 0        0               0 Jan  1  1970 .
drwxr-xr-x    1 0        0               0 Jan  1  1970 ..
drwxr-xr-x    1 0        0               0 Jan  1  1970 target0
drwxr-xr-x    1 0        0               0 Jan  1  1970 target1
drwxr-xr-x    1 0        0               0 Jan  1  1970 target2
---------------------------------------------------------------------------------------
So no entry for target5 (=CD-ROM) there either

The drive identifies as:              TOSHIBA  model CD-ROM XM-6201TA  Rev: 1206
/proc/device_info has a line for: 'TOSHIBA'  'CD-ROM'  0x100
so that's not the problem either
( and as stated in OP same happens for a TEAC CD-R55S )

Strangely, I can't seem to find a 'floppy'  device either in /dev
How is that supposed to show up anyway? As /dev/floppy or /dev/fd0 or what?
Or doesn't the demo bother to install a floppy?
Or is that an issue with the boot-CD taking over the BIOS floppy handle?

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.

I clearly haven't played with linux/unix enough in the past 10 years or so :o(

Any hints would be most welcome still... thanks!
--
Arp

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