LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Urgent need of drivers (https://www.linuxquestions.org/questions/linux-general-1/urgent-need-of-drivers-371828/)

Gins 10-13-2005 07:41 AM

I put a CD in the BenQ and did exactly what you suggested.


[nissanka@c83-250-90-204 nissanka]$ su root
Password:
[root@c83-250-90-204 nissanka]# mount /dev/hdc /mnt/cdrom
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
[root@c83-250-90-204 nissanka]#
----------------------------------------------------------------------------------------------------------------------------

Here is the output of the other command

'[root@c83-250-90-204 nissanka]# ls -l /dev/cdrom
lr-xr-xr-x 1 root root 13 okt 13 13:15 /dev/cdrom -> cdroms/cdrom0
[root@c83-250-90-204 nissanka]# ls -l /dev/cdrom
-----------------------------------------------------------------------------------------------------------

I repeated the above without logging on as a root user. Please read the following:


[nissanka@c83-250-90-204 nissanka]$ ls -l /dev/cdrom
lr-xr-xr-x 1 root root 13 okt 13 13:15 /dev/cdrom -> cdroms/cdrom0
[nissanka@c83-250-90-204 nissanka]$

phil.d.g 10-13-2005 08:09 AM

post the contents of
Code:

cat /etc/fstab
please

Gins 10-13-2005 08:22 AM

Here it is.

[nissanka@c83-250-90-204 nissanka]$ cat /etc/fstab
/dev/hda9 / ext2 defaults 1 1
/dev/hda10 /boot ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdd /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda5 /mnt/win_d ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hda2 /mnt/win_h vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda11 /tmp ext2 defaults 1 2
[nissanka@c83-250-90-204 nissanka]$

Gins 10-13-2005 08:28 AM

By the way, those hda9, hda10 and hda11 belong to Linux.

Those hda2, hda5 are Windows XP partitions. Don't care about them. I am not interested in them.

Now I will leave for the gym and will be away for a few hours.

I deeply appreciate your help. Leave your messages. I will attend them as soon as possible.

I am in Europe. Are you based in the USA or in Europe?

Gins 10-13-2005 10:28 AM

What shall I do now? Please tell me.


I badly need your help.

ioerror 10-13-2005 11:20 AM

Quote:

They want to know my Linux architecture. Is it IA32 or IA64?

How do I find out this?
cat /proc/cpuinfo

Gins 10-13-2005 11:30 AM

Thanks IOerror

My urgent requirement is to fix the problem. I can't mount the CDs. Please tell me how to solve the problem.


The following is the outpput:

[nissanka@c83-250-90-204 nissanka]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 10
cpu MHz : 901.863
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1785.85

[nissanka@c83-250-90-204 nissanka]$

ioerror 10-13-2005 12:24 PM

A Celeron is IA32.

As for the CD, hmm, you say you can boot from it, so it obviously works?

What boot parameters are you using? If you're using ide-scsi (although that should be mentioned in dmesg I think), then /dev/cdrom should be pointing to a SCSI device such as /dev/sr0 (though it looks like you're using devfs, so it'll be something different).

Gins 10-13-2005 12:41 PM

Thanks Ioerror

I have already posted the message from 'dmesg' command. You could read it. I am clueless about the message from this 'dmseg' command.

phil.d.g 10-13-2005 01:01 PM

Ok, try this. Put your CD in the samsung and just issue a
Code:

mount /mnt/cdrom
Oh, and remember we are all volunteers, you don't have a right to recieve our help - it is a privalege. Most of us have lifes outside of LQ that need attending to every now and again, so bear that in mind when bumping your thread after only two hours

Gins 10-13-2005 01:31 PM

The Samsung gave the following:
[root@c83-250-90-204 nissanka]# mount /mnt/cdrom
mount: No medium found
[root@c83-250-90-204 nissanka]#

---------------------------------------------------------------------------------------
The BenQ gave the following:

[root@c83-250-90-204 nissanka]# mount /mnt/cdrom
/dev/hdd: Input/output error
mount: /dev/hdd: can't read superblock
[root@c83-250-90-204 nissanka]#

phil.d.g 10-13-2005 01:35 PM

Quote:

Originally posted by Gins
The Samsung gave the following:
[root@c83-250-90-204 nissanka]# mount /mnt/cdrom
mount: No medium found
[root@c83-250-90-204 nissanka]#

Oh, nevermind, I'm being silly.

Copy /etc/fstab to your home dir so you have a backup, then edit this line:
Code:

/dev/hdd /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
so that it reads
Code:

/dev/hdd    /mnt/cdrom    iso9660    user,noauto,ro,exec    0    0
save it, then put your CD in the benQ drive and try
Code:

mount /mnt/cdrom
/mnt/cdrom points to your BenQ drive, we'll worry about the samsung one later on

Gins 10-13-2005 01:53 PM

This is how it looks like.
---------------------------------------------------------------
/dev/hda9 / ext2 defaults 1 1
/dev/hda10 /boot ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdd /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda5 /mnt/win_d ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hda2 /mnt/win_h vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda11 /tmp ext2 defaults 1 2
~


------------------------------------------------------------------------------------------------------------
I will edit it as you have suggested.

Gins 10-13-2005 02:02 PM

I edit it. Now it is as follows:

[root@c83-250-90-204 etc]# vi fstab
[root@c83-250-90-204 etc]# cat fstab
/dev/hda9 / ext2 defaults 1 1
/dev/hda10 /boot ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdd /mnt/cdrom iso9660 user,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda5 /mnt/win_d ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hda2 /mnt/win_h vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda11 /tmp ext2 defaults 1 2

Gins 10-13-2005 02:10 PM

It seems the CD has gone to hell. The following is the output.

[nissanka@c83-250-90-204 nissanka]$ su root
Password:
[root@c83-250-90-204 nissanka]# mount /mnt/cdrom
mount: No medium found


All times are GMT -5. The time now is 09:37 AM.