Hi All, I''m totally new to Xen and really only wanted to ''quickly'' emulate (at home) the setup that my hosting provider is giving me for a virtual dedicated server, based on Xen with debian running the virtual server(s) on their machine. So I downloaded the live demo 2.06 (as it promises debian on Xen) and popped it in an surplus Digital Server 3000 sitting in a corner... The CD boots without a problem, but after a while it comes back with some "sorry we''re stuck" (or such), based on the fact that it can''t find the CD it just booted from :-? The server is dual CPU PII/300 with 512MB RAM and some three 9.1GB SCSI hdd''s and a Toshiba MX6201 SCSI CDROM drive all on an integrated Adaptec AIC-7880. The hdd''s are ID0-ID3 and sit in a hot-swap bay on a UW-cable, and the CDROM has ID5 and is the only device connected to the standard 50-pin SCSI flatcable. All is terminated properly and connecting a different CD ROM drive (TEAC 55S) results in the same problem. I''m pretty sure it''s a (machine specific??) aic7xxx based problem... I googled and searched the list archive for some two hours or so now but came up empty - yet I can hardly imagine no one else or no other machines wouldn''t have experienced the same/similar hick up.. So, if this is a known problem, any quick pointers for boot-parameters or manual commands to work around this would be appreciated. Thanks in advance! -- Arp _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
Tim Deegan
2005-Nov-16 11:06 UTC
Re: [Xen-users] Re: Live Demo CD boots but then can''t find CDROM?
On Wed, Nov 16, 2005 at 08:55:48AM +0100, Arp wrote:> (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 > > 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? If so, if you can successfully mount -n -o ro -t iso9660 /dev/cdroms/cdrom0 /tmp/cdrom and then exit the shell, the boot should continue OK from there. Tim. -- Tim Deegan (My opinions, not the University''s) Systems Research Group University of Cambridge Computer Laboratory _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Arp
2005-Nov-17 04:43 UTC
Re: [Xen-users] Re: Live Demo CD boots but then can''t find CDROM?
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@lists.xensource.com http://lists.xensource.com/xen-users