LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-20-2004, 07:10 AM   #31
dnachtwey
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0

Bought my system from Dell. RH9 was preinstalled.
 
Old 01-20-2004, 02:51 PM   #32
dnachtwey
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Any more insights to my problem? Seem to be making progress but have yet to place a byte on a CD.
 
Old 01-20-2004, 09:12 PM   #33
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
try this post http://www.linuxquestions.org/questi...557#post711557
 
Old 01-24-2004, 09:42 PM   #34
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
Ok, I have read this post and a few others on the subject of enabling scsi emulation, after first reading and following the Tutorial at http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html I have still had no success, here is the output of cdrecord -scanbus ran as root

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg 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'.
My thoughts are that it is not loading the module in the kernel.
an out put of lsmod relative information is as follows.

[root@localhost home]# /sbin/lsmod
Module Size Used by Not tainted
cs4281 48168 1 (autoclean)
soundcore 6116 3 (autoclean) [cs4281]
agpgart 44544 0 (unused)
sg 34572 0 (autoclean) (unused)
scsi_mod 102616 1 (autoclean) [sg]
parport_pc 17508 1 (autoclean)
......

I think this shows that it has been installed where it says:
sg 34572 0 (autoclean) (unused)
scsi_mod 102616 1 (autoclean) [sg]

I installed RedHat 9.0 over the internet off a boot floppy via ftp and I chose to install lilo as my boot loader. So here are the changes that I have tried with the lilo.conf
[root@localhost home]# cat /etc/lilo.conf
prompt
timeout=50.....
-----Cut-----------
...
image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="root=LABEL=/" " hdd=ide-scsi"

I have also tried the following iterations ---No Quotes---:

append=root=root=LABEL=/ hdd=ide-scsi
append="root=LABEL=/" hdd=ide-scsi

originally it was

append="root=LABEL=/"

all of these to no avail the output from cdrecord is the same.

this led me to believe that the problem was that the device should have been something
other than ( hdd ) so I rechecked the output from my start up logs and they are as follows.

[root@localhost]# cat /var/log/dmesg

interesting info as follows:

zone(0): 4096 pages.
zone(1): 86000 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro BOOT_FILE=/boot/vmlinuz-2.4.20-8 root=LABEL=/
Initializing CPU#0
Detected 501.146 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 999.42 BogoMIPS
Memory: 350336k/360384k available (1221k kernel code, 7488k reserved, 993k data, 116k init, 0k highmem)
CPU: AMD-K6(tm) 3D processor stepping 0c
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdcio, hddMA
hda: WDC WD136AA, ATA DISK drive
blk: queue c03944a0, I/O limit 4095Mb (mask 0xffffffff)
hdd: R/RW 4x4x32, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=1653/255/63, UDMA(33)
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 >

the line that begins hdd: tells me that it has found my cdrom and that it is a R/W 4x4x32
ATAPI CD/DVD-ROM drive, so I think it should be installed with at least one of the lilo.conf changes that I made. I am a little confused about the syntax of the lilo.conf format regarding the use of quotes in the apend statemant. That is why I tried all of the combinations above. I also modified the following file as follows.

[root@localhost]# cat /etc/modules.conf

added the following line

alias scsi_hostadapter /dev/hdd


I am not sure what I could be missing, because I think that it should be working, the only thing I haven't done is edited the grub files in my /boot directory, I installed an rpm for grub to configure some network clients to boot grub when I couldn't get them to work pro perly withe my ethernet card and lilo... still not sure why. Is this going to be the case for my cdwriter, I hope not. It is an older model acer cdwriter 4x4x32, maybe it is the scsi emulation driver that is the problem, is there some other driver that I can use besides
ide-scsi, I really want to get this working so that I can burn an .iso image of Knoppix. I hope that someone reading this can see what I am missing or give me some ideas.

Last edited by rjwright; 01-24-2004 at 09:45 PM.
 
Old 01-25-2004, 12:57 AM   #35
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
[root@localhost ron]# insmod ide-scsi.o
bash: insmod: command not found
[root@localhost ron]# /sbin/insmod ide-scsi.o
insmod: ide-scsi.o: No such file or directory
[root@localhost ron]# /sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/scsi/ide-scsi.o
[root@localhost ron]# cdrecord -scanbus

Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'IDE-CD ' 'R/RW 4x4x32 ' '1.3B' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[root@localhost ron]#

I guess it is not finding the driver file because I can load it manually, How do I fix this do I need to put the full path in my append= statement? I am going to try changing the moduels . conf file It appears to be refering to the wrong file.

Last edited by rjwright; 01-25-2004 at 12:59 AM.
 
Old 01-25-2004, 10:48 AM   #36
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,198

Rep: Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966
rjwright
Just a BTW but are you runing /sbin/lilo after editing the lilo.conf file?
 
Old 01-25-2004, 12:10 PM   #37
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
no I am not does this make a difference, Iam still having to load the module manually with insmod after reboot.
also after I have loaded the module I get errors when trying to mout a data cd

# mount /dev/cdrom
mount: /dev/cdrom is not a block device

I have /dev/cdrom symlinked /dev/cdrom -> sg0
I think this is correct
/etc/fstab line is as follows
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
 
Old 01-25-2004, 12:23 PM   #38
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,198

Rep: Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966
Yes, you need to rewrite lilo to the MBR or where ever you load it to anytime you edit lilo.conf for changes to be effective. Then reboot the PC.

Your CDROM device should be /dev/scd0.
 
Old 01-25-2004, 12:55 PM   #39
cesine
LQ Newbie
 
Registered: Oct 2003
Location: montreal
Distribution: RedHat 9
Posts: 23

Rep: Reputation: 15

Last edited by cesine; 01-25-2004 at 01:03 PM.
 
Old 01-25-2004, 06:22 PM   #40
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
Thanks michaelk
i'll rerun /sbin/lilo
thanks it is scd0 I have no problems mounting a disk with this device.
# mount /dev/scd0 /mnt/cdrom
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
writing raw data to a tiff file James_dean Programming 4 10-25-2005 05:03 AM
writing encrypted data to disk rblampain Linux - Security 14 07-31-2005 11:38 PM
Error 5 in Kb3 writing Windows Data Chems Linux - Newbie 1 09-11-2004 10:34 AM
Writing encrytped data to a disk tyler_durden Programming 2 04-17-2002 11:18 PM
perl - writing a data structure to a file.. is it possible? paavaka Programming 4 07-14-2001 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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