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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2002, 04:39 PM
|
#1
|
Member
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300
Rep:
|
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
|
|
|
12-05-2002, 04:50 PM
|
#2
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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?
|
|
|
12-05-2002, 04:51 PM
|
#3
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
Also post
demsg|less
output, we are intersted in section where CD-ROM's are getting initialized so you can skip the rest.
|
|
|
12-05-2002, 05:17 PM
|
#4
|
Member
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300
Original Poster
Rep:
|
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 ?
|
|
|
12-05-2002, 05:38 PM
|
#5
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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
|
|
|
12-05-2002, 05:59 PM
|
#6
|
Member
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300
Original Poster
Rep:
|
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...
|
|
|
12-05-2002, 06:27 PM
|
#7
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
You might've compiled it into kernel, so does cdrecord -scanbus reports anything about your CD-R/RW?
|
|
|
12-08-2002, 05:40 PM
|
#8
|
Member
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300
Original Poster
Rep:
|
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
|
|
|
12-08-2002, 09:21 PM
|
#9
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
When you compiled kernel what did you set for SCSI support, SCSI CD-ROM support, SCSI general support and IDE CD-ROM support?
|
|
|
12-09-2002, 04:14 AM
|
#10
|
Member
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 02:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|