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 > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-13-2006, 03:23 AM   #1
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Rep: Reputation: 30
Debian Etch (with kernel 2.4.27.2 doesnt recognise my cddrive


Hi List,

I hava a Dell Inspiron 6000, With NEC CD/DVD RW combo drive.

First, I tried to install Etch with default kernel (2.6.15) it refused to recognise my cddrive. After that I tried install24 (with kernel image 2.4.27.2-686 ), the installation process went smooth. I forgot to set root paassword wich I set using my knoppix live cd.

But after installation, when I try to mount cddrive, I get error message meaning mounting falied and in dmesg says falied to recognise hdc ide-scsi but there is also one message describing the correct type of my cddrive. And the entry in fstab is created automatically during installaion.

How is this possible that the installer can recognise the drive with the same kernel but the installed version cannot ?

And what should I do to get my cddrive recognised. I dont have internet connection, so I planned to install everything with cds and now I am stuck.

Knoppix recognises the cddrive as ATAPI and /dev/hdc.

It is a known problem that the driver for atapi is not precompiled in default 2.6.15 kernel which comes with Etch, but I have read posts where people have succeeded with 2.4.? kernel.


thanks,
Hardik
 
Old 04-13-2006, 08:46 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Check out subchapters 3.8.2 and 3.8.3 in Debian Reference: http://www.debian.org/doc/manuals/re...en.html#s3.8.2

First, try to load the necessary modules with "modprobe" and, if that seems to help, add the modules to /etc/modules.

Also check out the devfsd package.

I haven't used kernel 2.4.x for ages and I just noticed the recent addition of devfsd package to Etch (haven't tried it myself). Hope this helps, though.
 
Old 04-20-2006, 02:55 AM   #3
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
Hi,

thanks for the reply.

I tried this and still not working.

I added option libata atapi_enable=1 to modules.conf and tried the detect the cd-rom but all in vein. (with kernel 2.6)

While installation, kernel 2.4 detects the cd-rom but after booting doesnt detect. So I think if someone can help me detect it with kernel 2.4, it will work.

I tried the following link.

http://bugs.debian.org/cgi-bin/bugre...=345999;msg=75


Sarge installer comes also with 2.4 kernel, so I am not sure whether it will detect the cd-rom.

Does this mean, that I cannot install debian ?

thanks,

Hardik
 
Old 04-23-2006, 04:51 PM   #4
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi Rangalo. Will you post your line for the cdrom that's in /etc/fstab please. Mine on Sarge is.
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0

I had some problems with my Sony cdwriter on Debian, both Sarge, and Sarge/Etch. I've sort of done a workaround by changing permissions to my user name for /dev/cdrom which is a link to /dev/hdc, and also changing the permissions on /dev/hdc to my user name. This works, but perhaps is not the best way to do this.

If this is a permissions problem, I'd suggest logging in as root. This way if it is a permissions problem the cdrom drive should now be accessible.

If you're using GDM, the file to edit is /etc/gdm.
About a third down the file under [security] change
AllowRoot=false to true.

If your using KDM, the file to edit is /etc/kde/kdm/kdmrc . Again a bit less than halfway down the file you will find the line.
AllowRootLogin=false or perhaps already true. If false change it to true.

You should now be able to login to the desktop as root and see if the cdrom drive is accessible.

Just for folks viewing this thread.
I am in no way suggesting running your desktop as root. That is a real No No. But sometimes permissions problems can be easily identified by logging in as root.

If this is the problem, rather than changing permissions in /dev/cdrom, and /dev/hdc as I have done,it may be better to just add your user name to /etc/group/cdrom.

All the best. Nigel. aka farpoint.
 
Old 04-24-2006, 02:56 AM   #5
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
Hi Guys,

thanks to all for your help.

Actually the problem was a conflict between twoo drivers ide-scsi and atapi. I removed the ide-scsi module using rmmod and that worked !

Now, I want to know which is the best place to write this cmmand (rmmod ide-scsi). I dont want to issue the command manually everytime I login.

After booting, I got the blank screen ( another post http://www.linuxquestions.org/questi...d.php?t=437366 )after booting because the touchpad was not recognised properly. I had to delete the related lines from xorg.conf. And to get the usb mouse working, I had to install hotplug. This may help other people with similar h/w.

Now, I have a working system with Gnome. I would like to change to kde. How can I do this ?

Kernel 2.4 is not able to recognise some of my hardware e.g. touchpad (alps glidpoints), ipw 2200 wireless card etc. Also the harddisk is very slow. My next step is to compile latest kernel to enable better support to my h/w.

I will start with the sicky above and bug you guys if I have problem.


thanks,
Hardik
 
Old 04-24-2006, 07:14 AM   #6
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi Rangalo. Glad you got it working. As you now have hotplug installed, I'd just add ide-scsi to
/etc/hotplug/blacklist.d/alsa-base . When hotplug runs it should see it on the blacklist and not load it.

I presume you have not got KDE installed. You should be able to just run tasksel again as root, and select the KDE desktop from the dialog box. It will ask for the cdroms, and after the install finishes, hopefully will have been added to the options on the login screen. I havn't tried this with KDE, as I normally install both Gnome,and KDE when installing Debian.

All the best. Nigel. aka farpoint.
 
  


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
Debian Etch. Theoretic Debian 14 08-08-2006 06:00 PM
ISOLinux from Debian etch cannot find kernel image (but kernel is in its place)! Why? *Dark Dragon* Debian 4 11-07-2005 09:54 PM
Changing sources.list to Etch Doesnt seemed to have worked BuckRogers01 Debian 8 08-10-2005 02:28 PM
[Sarge] Debian does not recognise CD-ROM devices as burners under 2.6.8 Sslaxx Debian 2 11-23-2004 05:07 PM
Debian 3.01r2 does not recognise ethernet card Oh Cisco Linux - Hardware 1 07-24-2004 01:12 PM

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

All times are GMT -5. The time now is 10:00 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