LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2003, 07:48 PM   #1
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Rep: Reputation: 32
Please assist with Mount Error.


These days, whenever I try to burn a CD with some backup DATA files and mount it, I am constantly getting this error below. What does this indicate ?

I also burned ISO images and those discs are booting fine. I am also ABLE to mount these CDs with the ISO images, list all the files in them and unmount them. Thanks.

Vijay

bash-2.05b$ mount /dev/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
 
Old 10-10-2003, 08:17 PM   #2
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
I had this problem and solved it 2 secs ago ... please post your fstab
and provide me with how you are mounting your media... eg: what devices and what are these devices linked to.
 
Old 10-10-2003, 09:00 PM   #3
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
# /etc/fstab: static file system information.
#
# The following is an example. Please see fstab(5) for further details.
# Please refer to mount(1) for a complete description of mount options.
#
# Format:
# <file system> <mount point> <type> <options> <dump> <pass>
#
# dump(8) uses the <dump> field to determine which file systems need
# to be dumped. fsck(8) uses the <pass> column to determine which file
# systems need to be checked--the root file system should have a 1 in
# this field, other file systems a 2, and any file systems that should
# not be checked (such as MS-initrd/mnt or NFS file systems) a 0.

# This is a root linux ext2 partition:
/dev/hdc6 / ext2 defaults,errors=remount-ro 0 1

# This is a linux ext2 partition:
#/dev/hda2 /mnt/linux ext2 defaults 0 2

# The 'noauto' option indicates that the file system should not be mounted
# with 'mount -a' 'user' indicates that normal users are allowed to mount
# the file system.
/dev/cdrom /mnt/cdrom iso9660 defaults,noauto,ro,user 0 0
/dev/cdwriter /mnt/cdwriter iso9660 defaults,noauto,ro,user 0 0
/dev/fd0 /mnt/floppy auto defaults,noauto,user 0 0
#/dev/fd1 /mnt/floppy auto defaults,noauto,user 0 0

# If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc.
#/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0

# NFS file systems:
#linux01.gwdg.de:/suse/6.3/i386.de /mnt/nfs nfs defaults 0 0

# proc file system:
proc /proc proc defaults 0 0

# Unix98 devpts filesystem:
none /dev/pts devpts gid=5,mode=666 0 0

# Shared memory filesystem:
#none /var/shm shm defaults 0 0
# Basic USB filesystem
none /proc/bus/usb usbdevfs defaults 0 0

# For dos partition use type 'msdos'.
# For win95/98 fat16 or FAT32 partition use type 'vfat'.

# The 'sw' option indicates that the swap partition is to be activated
# with 'swapon -a'.
/dev/hdc7 none swap sw 0 0

# Swap file:
#/swap none swap sw 0 0
 
Old 10-10-2003, 10:10 PM   #4
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
Okey now I'm going to presume that your CD-Writer is the Secondary Master (/DEV/HDC) and your CD-ROM is Secondary Slave (/DEV/HDD)

What is happening is your symbolic Links are not point to the right device or
there is no "cdwriter" or "cdrom" driectorys in /mnt, but its most likely to be a symbolic link .... is your cdwriter pointing to /dev/sr0 and cdrom pointing to "/dev/sr1" ? if they are not that is why because you have scsi emulation turned on .. so you can't use "/dev/hdc" in my case to mount cds anymore you need to use "/dev/sr0" to mount the cds or "/dev/sr1" after creating symbolic links that link these devices together eg:

your cdwriter needs to be linked to /dev/sr0
and your cdrom will also need to be linked to /dev/sr1
and that should fix it.
 
Old 10-10-2003, 10:56 PM   #5
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
My CDROM/CDWRITER are both just one device and secondary slave. The Secondary master is my HD. Please give me detailed steps as to how I can create the needed symbolic links. Thanks.

Vijay
 
Old 10-10-2003, 11:17 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
look in your /dev directory. If you have a /dev/sr0, then change the /dev/cdrom to /dev/sr0 in the fstab.

Alternatively, you can link /dev/cdrom to /dev/sr0:
ln -s /dev/sr0 /dev/cdrom
 
Old 10-11-2003, 12:46 AM   #7
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Yes, I do have sr0

i tried the command ln -s /dev/sr0 /dev/cdrom
it doesn't work. Please Assist.

Thanks.

Vijay
 
Old 10-11-2003, 12:46 AM   #8
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Here is the result

bash-2.05b$ ln -s /dev/scd0 /dev/cdrom
ln: `/dev/cdrom': File exists
 
Old 10-11-2003, 01:06 AM   #9
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
That only indicates that the file "cdrom" exists it doesn't mean it is nessarly linked to /dev/sr0
 
Old 10-11-2003, 01:07 AM   #10
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
log on as root and type this:

cdrecord -scanbus

then post what it says about your scsi devices.
 
Old 10-11-2003, 01:52 AM   #11
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
first remove /dev/cdrom:
rm /dev/cdrom
you'll be asked if you are sure. say yes.

then
ln -s /dev/sr0 /dev/cdrom

you have to root to do all this.
 
Old 10-11-2003, 02:08 AM   #12
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by quatsch
first remove /dev/cdrom:
rm /dev/cdrom
you'll be asked if you are sure. say yes.

then
ln -s /dev/sr0 /dev/cdrom

you have to root to do all this.
I did this. Here is the result. It appears that cdrom is now GONE !! Please assist

bash-2.05b# mount /dev/cdrom
mount: /dev/cdrom is not a valid block device
 
Old 10-11-2003, 02:13 AM   #13
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Here is the entire trial.

Now the directory /dev/cdrom is completely GONE !!!

bash-2.05b# rm /dev/cdrom
bash-2.05b# ln -s /dev/sr0 /dev/cdrom
bash-2.05b# mount /dev/cdrom
mount: /dev/cdrom is not a valid block device
bash-2.05b# exit
 
Old 10-11-2003, 02:18 AM   #14
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
can you do this for us ... delete your /var/log/messages
and reboot that file "messages" will comeback when you reboot when it does post it here I think I know what's going on.
 
Old 10-11-2003, 10:54 AM   #15
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Here it is, my /var/log/messages

Please assist. Thanks.

Vijay

Oct 11 10:46:45 vector syslogd 1.4.1: restart.
Oct 11 10:46:45 vector kernel: klogd 1.4.1, log source = /proc/kmsg started.
Oct 11 10:46:45 vector kernel: Inspecting /boot/System.map
Oct 11 10:46:47 vector kernel: Loaded 19450 symbols from /boot/System.map.
Oct 11 10:46:47 vector kernel: Symbols match kernel version 2.4.20.
Oct 11 10:46:47 vector kernel: Loaded 65 symbols from 2 modules.
Oct 11 10:46:47 vector kernel: BIOS-provided physical RAM map:
Oct 11 10:46:47 vector kernel: 155MB LOWMEM available.
Oct 11 10:46:47 vector portsentry[147]: adminalert: Psionic PortSentry 1.1 is starting.
Oct 11 10:46:47 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 1
Oct 11 10:46:47 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 11
Oct 11 10:46:47 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 15
Oct 11 10:46:47 vector kernel: IBM machine detected. Enabling interrupts during APM calls.
Oct 11 10:46:47 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 79
Oct 11 10:46:48 vector portsentry[148]: adminalert: ERROR: Socket 79 is in use and will not be monitored. Attempting to continue
Oct 11 10:46:48 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 111
Oct 11 10:46:48 vector kernel: Initializing CPU#0
Oct 11 10:46:48 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 119
Oct 11 10:46:48 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 143
Oct 11 10:46:48 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 540
Oct 11 10:46:48 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 635
Oct 11 10:46:48 vector kernel: Memory: 154896k/159680k available (1606k kernel code, 4396k reserved, 594k data, 136k init, 0k highmem)
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 1080
Oct 11 10:46:49 vector kernel: Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 1524
Oct 11 10:46:49 vector kernel: Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 2000
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 5742
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 6667
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 12345
Oct 11 10:46:49 vector sshd[151]: Server listening on 0.0.0.0 port 22.
Oct 11 10:46:49 vector kernel: CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
Oct 11 10:46:49 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 12346
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 20034
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 27665
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 31337
Oct 11 10:46:50 vector kernel: Checking 'hlt' instruction... OK.
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 32771
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 32772
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 32773
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 32774
Oct 11 10:46:50 vector kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb4c0, last bus=0
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 40421
Oct 11 10:46:50 vector kernel: PCI: Using configuration type 1
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 49724
Oct 11 10:46:50 vector kernel: PCI: Probing PCI hardware
Oct 11 10:46:50 vector portsentry[148]: adminalert: Going into stealth listen mode on TCP port: 54320
Oct 11 10:46:50 vector kernel: PCI: Using IRQ router SIS [1039/0008] at 00:01.0
Oct 11 10:46:50 vector portsentry[148]: adminalert: PortSentry is now active and listening.
Oct 11 10:46:50 vector kernel: Disabling direct PCI/PCI transfers.
Oct 11 10:46:51 vector kernel: isapnp: Scanning for PnP cards...
Oct 11 10:46:51 vector kernel: isapnp: No Plug & Play device found
Oct 11 10:46:51 vector kernel: Linux NET4.0 for Linux 2.4
Oct 11 10:46:51 vector kernel: Based upon Swansea University Computer Society NET3.039
Oct 11 10:46:51 vector kernel: Journalled Block Device driver loaded
Oct 11 10:46:51 vector kernel: Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Oct 11 10:46:51 vector kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Oct 11 10:46:51 vector kernel: PCI: Found IRQ 11 for device 00:12.0
Oct 11 10:46:51 vector kernel: Real Time Clock Driver v1.10e
Oct 11 10:46:51 vector kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Oct 11 10:46:51 vector kernel: PCI: Assigned IRQ 14 for device 00:01.1
Oct 11 10:46:51 vector kernel: IRQ routing conflict for 00:01.2, have irq 5, want irq 14
Oct 11 10:46:51 vector kernel: PCI: Sharing IRQ 14 with 00:14.0
Oct 11 10:46:52 vector kernel: hdc: 8421840 sectors (4312 MB) w/128KiB Cache, CHS=8912/15/63, UDMA(33)
Oct 11 10:46:52 vector kernel: Uniform CD-ROM driver Revision: 3.12
Oct 11 10:46:52 vector kernel: Partition check:
Oct 11 10:46:52 vector kernel: hdc: hdc1 hdc2 < hdc5 hdc6 hdc7 >
Oct 11 10:46:52 vector kernel: Floppy drive(s): fd0 is 1.44M
Oct 11 10:46:52 vector kernel: FDC 0 is a post-1991 82077
Oct 11 10:46:52 vector kernel: loop: loaded (max 8 devices)
Oct 11 10:46:52 vector kernel: Highpoint HPT370 Softwareraid driver for linux version 0.01
Oct 11 10:46:52 vector kernel: No raid array found
Oct 11 10:46:52 vector kernel: SCSI subsystem driver Revision: 1.00
Oct 11 10:46:52 vector kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Oct 11 10:46:52 vector kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Oct 11 10:46:52 vector kernel: md: Autodetecting RAID arrays.
Oct 11 10:46:52 vector kernel: md: autorun ...
Oct 11 10:46:52 vector kernel: md: ... autorun DONE.
Oct 11 10:46:52 vector kernel: LVM version 1.0.5+(22/07/2002)
Oct 11 10:46:52 vector kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Oct 11 10:46:53 vector kernel: IP Protocols: ICMP, UDP, TCP
Oct 11 10:46:53 vector kernel: IP: routing cache hash table of 1024 buckets, 8Kbytes
Oct 11 10:46:53 vector kernel: TCP: Hash tables configured (established 16384 bind 32768)
Oct 11 10:46:53 vector kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Oct 11 10:46:53 vector kernel: Freeing unused kernel memory: 136k freed
Oct 11 10:46:53 vector kernel: Adding Swap: 131312k swap-space (priority -1)
Oct 11 10:46:53 vector kernel: usb.c: registered new driver usbdevfs
Oct 11 10:46:53 vector kernel: usb.c: registered new driver hub
Oct 11 10:46:53 vector kernel: PCI: Found IRQ 14 for device 00:01.2
Oct 11 10:46:53 vector kernel: PCI: Sharing IRQ 14 with 00:01.1
Oct 11 10:46:53 vector kernel: IRQ routing conflict for 00:01.2, have irq 5, want irq 14
Oct 11 10:46:53 vector kernel: PCI: Sharing IRQ 14 with 00:14.0
Oct 11 10:46:53 vector kernel: usb-ohci.c: USB OHCI at membase 0xca835000, IRQ 5
Oct 11 10:46:53 vector kernel: usb-ohci.c: usb-00:01.2, Silicon Integrated Systems [SiS] 7001
Oct 11 10:46:53 vector kernel: usb.c: new USB bus registered, assigned bus number 1
Oct 11 10:46:53 vector kernel: hub.c: USB hub found
Oct 11 10:46:53 vector kernel: hub.c: 2 ports detected
Oct 11 10:46:53 vector kernel: usb-uhci.c: $Revision: 1.275 $ time 21:04:09 Nov 29 2002
Oct 11 10:46:53 vector kernel: usb-uhci.c: High bandwidth mode enabled
Oct 11 10:46:53 vector kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Oct 11 10:46:53 vector kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Oct 11 10:48:54 vector sudo: vijay : TTY=pts/0 ; PWD=/home/vijay ; USER=root ; COMMAND=/usr/sbin/ppp-go
Oct 11 10:48:55 vector kernel: CSLIP: code copyright 1989 Regents of the University of California
Oct 11 10:48:55 vector kernel: PPP generic driver version 2.4.2
Oct 11 10:48:55 vector pppd[983]: pppd 2.4.1 started by root, uid 0
Oct 11 10:48:56 vector chat[985]: timeout set to 60 seconds
Oct 11 10:48:56 vector chat[985]: abort on (ERROR)
Oct 11 10:48:56 vector chat[985]: abort on (BUSY)
Oct 11 10:48:56 vector chat[985]: abort on (NO CARRIER)
Oct 11 10:48:56 vector chat[985]: abort on (NO DIALTONE)
Oct 11 10:48:56 vector chat[985]: send (AT&FH0^M)
Oct 11 10:48:56 vector chat[985]: expect (OK)
Oct 11 10:48:56 vector chat[985]: AT&FH0^M^M
Oct 11 10:48:56 vector chat[985]: OK
Oct 11 10:48:56 vector chat[985]: -- got it
Oct 11 10:48:56 vector chat[985]: send (atdt9337556^M)
Oct 11 10:48:56 vector chat[985]: timeout set to 75 seconds
Oct 11 10:48:56 vector chat[985]: expect (CONNECT)
Oct 11 10:48:56 vector chat[985]: ^M
Oct 11 10:49:21 vector chat[985]: atdt9337556^M^M
Oct 11 10:49:21 vector chat[985]: CONNECT
Oct 11 10:49:21 vector chat[985]: -- got it
Oct 11 10:49:21 vector pppd[983]: Serial connection established.
Oct 11 10:49:21 vector pppd[983]: Using interface ppp0
Oct 11 10:49:21 vector pppd[983]: Connect: ppp0 <--> /dev/ttyS1
Oct 11 10:49:21 vector /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 11 10:49:23 vector kernel: PPP BSD Compression module registered
Oct 11 10:49:23 vector kernel: PPP Deflate Compression module registered
Oct 11 10:49:23 vector pppd[983]: local IP address 149.99.163.182
Oct 11 10:49:23 vector pppd[983]: remote IP address 209.5.166.200
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need assist with boot floppy creation explorer Mandriva 1 08-08-2005 01:48 AM
Please Assist: BashBurn rvijay Linux - Software 10 02-03-2005 02:58 PM
Buying new hardware, please assist me The_Nerd Linux - Hardware 3 01-30-2005 04:05 PM
Graphics problem, please assist. v4d3r Linux - Hardware 0 06-08-2004 01:02 PM
HELP! Error from mount: drive is write-protected... won't mount writeable. system Linux - General 2 12-27-2001 10:08 PM


All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration