SCIENTIFIC-LINUX-USERS Archives

May 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jon Peatfield <[log in to unmask]>
Reply To:
Jon Peatfield <[log in to unmask]>
Date:
Sat, 29 May 2010 00:32:45 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (114 lines)
On Fri, 28 May 2010, Pom Sailasuta wrote:

> May I ask: why there are two entries each for my dvd and cd rom drives
> here is the output

Not that this is related to _booting_ the GX620 from CD/DVD...

> //////////////////
> [root@PomLinux /dev]# dmesg | grep "hd"
>    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
> hda: LITE-ON CD-ROM LTN-4891S, ATAPI CD/DVD-ROM drive
> hdb: PHILIPS DVD+/-RW DVD8801, ATAPI CD/DVD-ROM drive

These are from when the IDE probing happens...

> hda: ATAPI 48X CD-ROM drive, 96kB Cache, UDMA(33)
> hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)

these are from when the CD-ROM driver is loaded and discovers devices it 
can handle.  This is perfectly normal.

> SCSI device sda: 488281250 512-byte hdwr sectors (250000 MB)
> SCSI device sda: 488281250 512-byte hdwr sectors (250000 MB)
> SCSI device sdb: 1562824368 512-byte hdwr sectors (800166 MB)
> SCSI device sdb: 1562824368 512-byte hdwr sectors (800166 MB)
> SCSI device sdc: 3907711 512-byte hdwr sectors (2001 MB)
> SCSI device sdc: 3907711 512-byte hdwr sectors (2001 MB)

The multiple lines for the SATA devices again seem to be caused by the 
sata driver scanning the devices and then the sd driver doing it's own 
inquiry.

e.g. in one of our Dell GX620 boxes I see messages such as:

...
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xfe00 ctl 0xfe10 bmdma 0xfea0 irq 58
ata2: SATA max UDMA/133 cmd 0xfe20 ctl 0xfe30 bmdma 0xfea8 irq 58
ata1.00: ATA-8: WDC WD5000AADS-00S9B0, 01.00A01, max UDMA/133
ata1.00: 976773168 sectors, multi 8: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
   Vendor: ATA       Model: WDC WD5000AADS-0  Rev: 01.0
   Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
  sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
...

> I have /cdrom directory
> but "mount -t /dev/hda /cdrom" or "mount -t /dev/cdrom /cdrom"
> both failed.

mount's "-t" option specifies a filesystem type, but without specifying 
one it will probably work out the right one.

> this is what I added to fstab
> /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
>
> Can anyone suggest how I can mount the cdrom.

In general with sl5 don't add these things into fstab.  The hald and gnome 
volume manager should be handling this if there is a console user.

> thanks
>
>
>
> On Fri, May 28, 2010 at 8:42 AM, Jon Peatfield <
> [log in to unmask]> wrote:
>
>> On Mon, 24 May 2010, Pom Sailasuta wrote:
>>
>> ...
>>
>>  I can not removed the old drive and just simply use this 800GB drive
>>> because
>>> my Dell Optiplex GX620 does not have option for boot from CD or DVD,
>>> I have only two options either hard drive or USB CD ROM.
>>>
>> ...
>>
>> I've seen many Dell Optiplex GX620 machines and none which can't be set to
>> boot from:
>>
>>  PXE network-boot
>>  USB flash/disk
>>  internal-harddisk
>>  internal CD/DVD
>>  internal floppy
>>  USB CD/DVD
>>
>> are you sure it won't boot from the internal CD/DVD?  ie is the drive
>> missing or dead?  If you have a working internal CD/DVD drive then booting
>> from it probably just needs to be enabled in the BIOS...
>>
>>  -- Jon

-- 
/--------------------------------------------------------------------\
| "Computers are different from telephones.  Computers do not ring." |
|       -- A. Tanenbaum, "Computer Networks", p. 32                  |
---------------------------------------------------------------------|
| Jon Peatfield, _Computer_ Officer, DAMTP,  University of Cambridge |
| Mail:  [log in to unmask]     Web:  http://www.damtp.cam.ac.uk/ |
\--------------------------------------------------------------------/

ATOM RSS1 RSS2