LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-05-2002, 04:39 PM   #1
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Cool cdrom troubles with newly compiled kernel


One slight issue with my newly compiled kernel.
I have 2 cdrom drives one works with my new kernel and the other doesnt
/hdb - hp cd-writer 9100 (doesnt work with my new kernel)
/hdc - asus 16x dvd (does work with my new kernel)

both drives worked with the original Rh7.2 kernel 2.4.7-10, but with kernel 2.4.19 which i compiled the hp cd writer doesnt work (hdb)

when i try to mount the device:

Code:
 [root@xion root]# mount -t iso9660 /dev/hdb /mnt/cdrom1
mount: /dev/hdb is not a valid block device
[root@xion root]#
i get that error :P

hmmmmm anyone know the answer?

cheers
 
Old 12-05-2002, 04:50 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Do you have
append="hdb=ide-scsi"
in /etc/lilo.conf or any mention of hdb being ide-scsi in /boot/grub/grub.conf if you are using GRUB?
 
Old 12-05-2002, 04:51 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Also post
demsg|less
output, we are intersted in section where CD-ROM's are getting initialized so you can skip the rest.
 
Old 12-05-2002, 05:17 PM   #4
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
Yeah sorry i should have said i am using lilo
Code:
 image=/boot/bzImage
	label=2.4.19
	read-only
	root=/dev/hda8
	append="hdb=ide-scsi"
what are you talking about demsg|less ? sorry are you talking about the file /var/log/dmesg ?
 
Old 12-05-2002, 05:38 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
yep, there is a command dmesg that parses this log as well, so now as you drive is known as scsi, show me /sbin/lsmod
is ide-scsi there?
If yes, according to dmesg it will be /dev/scd* or /dev/sr*, decipher the log to get a clue, if you are inpatient try
mount /dev/scd0 -tiso9660 /mnt/cdrom1
Works? No substitute /dev/sdc0 to /dev/sr0 and try again, but dmesg will tell you what device it got assign to, later you might as well edit /etc/fstab to point to the right device, one more check to see if your CD-R/RW is ready is running as root
cdrecord -scanbus
If it shows up you are good to roll
 
Old 12-05-2002, 05:59 PM   #6
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
This is the output when i do /sbin/lsmod

Code:
 [root@xion sbin]# lsmod
Module                  Size  Used by
ppp_deflate            40368   0  (autoclean)
bsd_comp                4048   0  (autoclean)
ppp_async               6688   1  (autoclean)
NVdriver             1065776  10  (autoclean)
mousedev                4048   1 
hid                    12944   0  (unused)
usb-uhci               21984   0  (unused)
usb-ohci               18832   0  (unused)
usbcore                65248   1  [hid usb-uhci usb-ohci]
rtc                     6784   0  (autoclean)
is that what you meant? i cant see an "ide-scsi" there
hmmmm...
 
Old 12-05-2002, 06:27 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
You might've compiled it into kernel, so does cdrecord -scanbus reports anything about your CD-R/RW?
 
Old 12-08-2002, 05:40 PM   #8
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
Neo sorry about the delayed reply! (rough weekend :P )

here it is, and it doesnt look good! ha

Code:
 [root@xion root]# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
[root@xion root]#
cheers
 
Old 12-08-2002, 09:21 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
When you compiled kernel what did you set for SCSI support, SCSI CD-ROM support, SCSI general support and IDE CD-ROM support?
 
Old 12-09-2002, 04:14 AM   #10
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
From what i can remember i set all scsi to off! (naturally, coz i have no scsi devices), however support for ide drive i did include.
I didnt include support for old cdrom drives.

Im guessing the problem has something to do with the scsi support?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Newly Compiled Kernel binarybob0001 Linux - General 2 11-20-2005 04:06 AM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
PROBLEM with grub and my newly compiled kernel! maestro52 Linux - Newbie 8 02-02-2004 05:14 PM
Problem with newly compiled 2.4.22 kernel Xero720 Slackware 2 09-06-2003 12:23 PM
Newly compiled 2.4.7 kernel: It just hangs after login xhorder Linux - General 3 07-21-2001 11:12 PM


All times are GMT -5. The time now is 01:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration