LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-21-2004, 04:54 AM   #1
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Rep: Reputation: 15
cd writer problems


I have edited /etc/fstab by typing: mount /dev/hdd /mnt/cdrw
Now when i check inside the /mnt/ catalog I see "cdrw" so that works but then I try
to mount by typing: mount /dev/hdd it says:

mount: wrong fs type, bad option, bad superblock on /dev/hdd,
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?)


I dont know so much about hardware but I think my cd writer is a normal IDE drive.
When I type dmesg | grep ATA it says:

WDC WD200EB-00CSF0, ATA DISK drive
hdc: SONY CD-ROM CDU5221, ATAPI CD/DVD-ROM drive
hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
hdd: ATAPI 24X CD-ROM CD-R/RW drive, 1024kB Cache, DMA
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

really need help on this one, btw it was deefaz that helped me this far so thnx anyways.
 
Old 06-21-2004, 06:37 AM   #2
kaplah
LQ Newbie
 
Registered: Feb 2004
Location: NJ
Distribution: RedHat / Slackware
Posts: 4

Rep: Reputation: 0
First things first- let's see if your CDRW is recognized:

As root, type cdrecord --scanbus

If your Rom is found, it will show the make and model. If it's not there, you need to change your Lilo settings to declare it's presence.n Can I assume that you added this drive after you installed Slackware? Perhaps you didn't add the /dev/hd??=ide-scsi when you installed Slack?
 
Old 06-21-2004, 06:41 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
post your /etc/fstab
there the problem lies.
 
Old 06-21-2004, 12:18 PM   #4
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
me again..

Ok heres what it says when i type cdrecord --scanbus :

Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

And heres what it says in the /ect/fstab file:

/dev/hda1 / ext2 defaults 1 1
/dev/hda2 /swap ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdd /mnt/cdrw udf,iso9660 noauto,user,ro 0 0


plz give me some advices
 
Old 06-21-2004, 01:15 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
try add to your Lilo conf :
hdd=ide-cd
and run /sbin/lilo then reboot
 
Old 06-22-2004, 05:38 AM   #6
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
how?

How do I add that to the LILO config?
 
Old 06-22-2004, 06:52 AM   #7
Nigel_Tufnel
Member
 
Registered: Jul 2002
Location: Easton, PA
Distribution: Debian, Kubuntu, Arch
Posts: 116

Rep: Reputation: 15
Re: how?

Quote:
Originally posted by roAder
How do I add that to the LILO config?
You need to edit the file using your favorite editor:

nano /etc/lilo.conf

make changes and save the file

Rerun lilo by typing:

/sbin/lilo

The next you reboot you should be ok.
 
Old 06-22-2004, 12:18 PM   #8
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
doesnt work

After I've added the text in /etc/lilo.conf and typed /sbin/lilo all I get is a error message that say:
Unrecognized token "hdd" at or above line 42 in file '/etc/lilo.conf

dunno what that means but I guess that lilo doesnt find "hdd"
:S
 
Old 06-22-2004, 12:38 PM   #9
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Can you post your lilo.conf file?
 
Old 06-23-2004, 06:00 AM   #10
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
my lilo.conf

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends

hdd=ide-cd
 
Old 06-23-2004, 06:38 AM   #11
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
try making the line :

append='hdd=ide-scsi'

and put it after the timeout=1200 line.
rerun lilo and reboot.

Then do dmesg | grep A and look for a line like:

Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0

if you have that then edit fstab to change the line:
/dev/hdd /mnt/cdrw udf,iso9660 noauto,user,ro 0 0

to read:
/dev/sr0 /mnt/cdrw iso9660 noauto,users,ro 0 0

(I am not sure if the "udf" should be there or not)


After that try cdrecord -scanbus and see if the result is OK
HTH,

mark

ps the above is what worked for me, YMMV

Last edited by slackist; 06-23-2004 at 06:41 AM.
 
Old 06-23-2004, 06:52 AM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
be sure to remove that hdd line you put at the bottom
 
Old 06-24-2004, 06:38 AM   #13
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
.

bash-2.05b# /sbin/lilo
Syntax error at or above line 9 in file '/etc/lilo.conf'

this is what the terminal says when i type /sbin/lilo after I removed the hdd thing at the bottom and after I added the other append thing under the timeout.

btw the line I added is on line nr 9
 
Old 06-24-2004, 06:57 AM   #14
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
append='hdd=ide-scsi'

that should be

append="hdd=ide-scsi"

with the double quotes.
 
Old 06-24-2004, 07:13 AM   #15
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
whansard is right,

very sorry about that roAder


mark
 
  


Reply



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
CD writer DMA problems twinkers Debian 4 07-08-2005 01:19 AM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
still CD writer problems! roAder Slackware 5 06-17-2004 03:04 PM
Knoppix cd-writer problems johntramp Linux - Newbie 1 04-13-2004 12:27 AM
external hp cd-writer problems kasperhans Linux - Hardware 1 11-13-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 PM.

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
Open Source Consulting | Domain Registration