Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

config LG 8080B on Redhat 6.2?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi Guys,

Here is a post I sent to some newsgroup seeking help to
configure our CD-WR. I include it here and hope some of you
may help me to find the anwser.

LM
-------------------
Hi there,

I got a new PIII 800 with LG CED-8080B. The OS is Redhat 6.2
with kernel upgraded to 2.2.16-3. The problem is that I
couldn't
make the LG CD-RW work with cdrecord 1.9.

This is what I did:

1. Kernel config

CONFIG_BLK_DEV_IDECD is not set
CONFIG_BLK_DEV_IDSCSI=m

CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

2. Load moduls at boot time

Added

options ide-cd ignore=hdb
options ide-cd ignore=hdc
alias scd0 sr_mod
alias scd1 sr_mod
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

in /etc/conf.module.

Added

append="hdb=ide-scsi hdc=ide-scsi"

in /etc/lilo.conf.

3. After boot, I checked all modules scsi_mod, sg,
sr_mod, loop, iso9660, and ide-scsi are loaded.
Also all devices /dev/loop0-7 and /dev/sg0-7 are
created by following script provided in CD writing HOWTO

umask -S u=rwx,g=rwx,o-rwx
[ -f loop0 ]
|| ./MAKEDEV loop
|| for i in 0 1 2 3 4 5 6 7; do mknod loop$i b 7 $i;
done
[ -f sg0 -o -f sga ]
|| ./MAKEDEV sg
|| for i in 0 1 2 3 4 5 6 7; do mknod sg$i c 21 $i;
done

4. Then run "cdrecord -scanbus" by root always gives me

Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000
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.

5. Check with dmesg, it seems the cd-rw is alway configured
as hdc,
even if I disabled parameter ide-cd in the kernel.

Here is what I saw from dmesg:

hda: SAMSUNG SV2044D, ATA DISK drive
hdb: CD-ROM 50X L, ATAPI CDROM drive
hdc: LG CD-RW CED-8080B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: SAMSUNG SV2044D, 19464MB w/472kB Cache, CHS=2481/255/63
hdb: ATAPI 50X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.10
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
pII_mmx : 1773.555 MB/sec
p5_mmx : 1863.090 MB/sec
8regs : 1369.695 MB/sec
32regs : 778.383 MB/sec
using fastest function: p5_mmx (1863.090 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096

......

CSLIP: code copyright 1989 Regents of the University of
California
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
registered device ppp0
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.

I have searched for helpful information on Internet all
along, it seems
nothing gives me more than the CD writing HOWTO. Has anyone
configured the LG CD-RW successfully? Please help me. Any
input
will be greatly appreciated.

Thanks in advance.

Liang
net_ma@hotmail.com
 
I don't know much about CD-RW's or the particular one you're using, but I have had good luck with

kudzu

For installing new hardware. I know it comes with 7.0, but I don't know about 6.2, you may want to give that a stab and see if it helps. It is a program taht configures new hardware for you.

MWB.
 
Thanks MWB.

What kind of CD-RW did you use? Is it a IDE drive?

RH 6.2 comes with kudzu, too.

Liang
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top