LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-31-2007, 06:44 AM   #1
rugu
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
simple problem


Hello,
I have simple problem, but I don't know how to solve it.

I installed Slackware 12.0 without problems.

dmesg shows me that double layer CD/DVD burner is detected
when scanning ide0 bus and correctly attach ide0 to hda

Problem is that hda does not exists in /dev, so I don't have the usual symlink /dev/cdrom.

I think I am missing some obvious thing, but I can't see what.

Thanks in advance for the help

Guido

P.S.: I pass append="hda=ide-scsi" to lilo at boot
 
Old 08-31-2007, 06:58 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by rugu View Post
Hello,
I have simple problem, but I don't know how to solve it.

I installed Slackware 12.0 without problems.

dmesg shows me that double layer CD/DVD burner is detected
when scanning ide0 bus and correctly attach ide0 to hda

Problem is that hda does not exists in /dev, so I don't have the usual symlink /dev/cdrom.

I think I am missing some obvious thing, but I can't see what.

Thanks in advance for the help

Guido

P.S.: I pass append="hda=ide-scsi" to lilo at boot
Hi,

Welcome to the LQ forums!
I suggest that you edit /etc/group
Add your regular user to plugdev, cdrom, audio, video, wheel.
 
Old 08-31-2007, 07:02 AM   #3
Karimo
Member
 
Registered: Aug 2007
Location: Valencia
Distribution: slackware64-current
Posts: 67

Rep: Reputation: 15
You are running a 2.4 kernel with scsi emulation for the burner? Oo
 
Old 08-31-2007, 07:08 AM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by Karimo View Post
You are running a 2.4 kernel with scsi emulation for the burner? Oo
Interesting point.
Is this a clean install of Slackware 12 with the 2.6.21.5 kernel or is this an upgrade from Slackware 11?
 
Old 08-31-2007, 07:12 AM   #5
Karimo
Member
 
Registered: Aug 2007
Location: Valencia
Distribution: slackware64-current
Posts: 67

Rep: Reputation: 15
Quote:
Originally Posted by hitest View Post
Interesting point.
Is this a clean install of Slackware 12 with the 2.6.21.5 kernel or is this an upgrade from Slackware 11?
I asked that only because:
Quote:
Originally Posted by rugu
P.S.: I pass append="hda=ide-scsi" to lilo at boot
Is strange, you know, to pass such an option if u have a 2.6 kernel [no emulation] xD
 
Old 08-31-2007, 07:53 AM   #6
Mark Havel
Member
 
Registered: May 2004
Location: Lyon, France
Distribution: Slackware
Posts: 85

Rep: Reputation: 15
I possible that your kernel uses the new libata stack to handle your devices. Thus, it will no more link the devices to /dev/hdX but with some SCSI naming scheme such as sdX. My optical players/burners are for example linked to some strange device name who are sr0 and sr1.

The best think you can do to investigate about this to see what dmesg told during the boot. This is written in /var/log/dmesg or a file looking like 'dmesg' in /var/log. The messages are usually pretty explicit about what the kernel is doing and how the peripheral are linked in the file system; that's how I find out my DVD player was known as 'sr0'.
If you're not sure about what you will be reading or don't understand what it says, you can post it in this forum, someone should be able to figure it out and explain it.

Last edited by Mark Havel; 08-31-2007 at 07:55 AM.
 
Old 08-31-2007, 08:02 AM   #7
rugu
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the replies.

I run 2.6.x kernel. The installation is from scratch. I didn't know I no longer need the ide-scsi thing, I will correct lilo.conf.

I'll try the suggestion and let you all know. Thanks again

Guido
 
Old 08-31-2007, 08:31 AM   #8
rugu
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Solved

It was the hda=ide-scsi thing, good for kernel 2.4 but not for 2.6, that messed things up.

Once corrected lilo.conf, the problem was solved and device hda appeared.

Thanks for the help and the patience

Guido
 
Old 08-31-2007, 09:34 AM   #9
Karimo
Member
 
Registered: Aug 2007
Location: Valencia
Distribution: slackware64-current
Posts: 67

Rep: Reputation: 15
E' un piacere trovare un bell'italiano con una slackware da queste parti....belllaaaa

As you can see, the 2.6 branch of the kernel cut off the scsi4ide emulation needed by burners.
If u had ever configured a kernel your own, you can notice that in the ATA section of Device Drivers of a 2.6 under the help of that feature says:

--------
WARNING: ide-scsi is no longer needed for cd writing applications!
The 2.6 kernel supports direct writing to ide-cd, which eliminates
the need for ide-scsi + the entire scsi stack just for writing a cd. The new method is more efficient in every way.
--------

So you can even cut all the scsi stuff from the kernel if you don't need that
 
  


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
Yet another problem, but this one is simple! Taigrr Linux - Newbie 7 02-02-2006 07:04 PM
Simple problem Blitzkreig75 Slackware 7 11-21-2005 08:13 PM
simple C++ Problem :) indian Programming 2 02-28-2005 09:42 AM
SImple problem??? jlatzer Linux - Networking 5 06-27-2003 03:42 PM
Simple problem with .... FredrikN Linux - Networking 1 10-27-2002 05:57 AM

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

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration