Results 1 to 10 of 21
I've been using Red Hat on a dual boot machine and I decided to try Slackware 9. The install was fine, except for my CD-burner. I can't get it to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-09-2003 #1Just Joined!
- Join Date
- Sep 2003
- Posts
- 11
Slackware 9 CD-burner recognition (?) problem
I've been using Red Hat on a dual boot machine and I decided to try Slackware 9. The install was fine, except for my CD-burner. I can't get it to burn CDs. It's an LG, standard IDE cd-burner (if anyone needs the exact model number, I can dig it up.)
I have the hdc=ide-scsi in my lilo.conf and I'm using the pre-packaged scsi.i kernel that was on the ISO. I installed everything on the CD. When I run cdrecord -scanbus, this is the output I get:
"
root@slacker:~# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg 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'.
root@slacker:~#
"
So my questions, to anyone who could help:
1. What's /dev/pg*? I'm not familiar with pg
2. Did I select the right kernel, and if not which one should I use?
3. Slackware 9.0 supposedly installed the kernel source for 2.4.20, but for the life of me I can't find it. Does Slackware install the source in a non-standard location, or am I just an idiot who accidentally unchecked that box during install?
Thanks.
- 09-09-2003 #2Linux Engineer
- Join Date
- Dec 2002
- Location
- New Zealand
- Posts
- 766
pg???
try typingand see if it detects anything.Code:ll /dev/scd*
your sources should be in /usr/src/linux or /usr/src/linux-2.4.20
- 09-09-2003 #3Just Joined!
- Join Date
- Sep 2003
- Posts
- 11
Thanks. I'll check /dev/scd*
There's nothing in /usr/src/, period. I guess the easiest thing to do would be to just download it** directly and build my own. I'm not particularly linux savvy, but the instructions from linuxdoc.org for kernel building are user friendly enough. I've done it before.
** I mean, the kernel. Sorry, I didn't mean to be vague.
- 09-09-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
/dev/pg is a non-linux interface for the generic SCSI access layer. Linux uses /dev/sg*, and while cdrecord checks both /dev/sg* and /dev/pg*, it only reports /dev/pg* in the error message. It's just a cosmetic bug, though.
It could therefore be that you don't have the generic SCSI layer loaded. Try modprobing for sg.
- 01-14-2004 #5Just Joined!
- Join Date
- Aug 2002
- Location
- New Jersey
- Posts
- 28
I know this thread is kinda old, but it's my problem almost exactly. I'm running slack 9.0 and cant record CD's. I can read data & music cd's. I tried
and got the same error.Code:cdrecord -scanbus
When I try modprobing for sg I get
Code:root# modprobe sg Can't locate module sg # modprobe sg* /lib/modules/2.4.20/kernel/drivers/sound/sgalaxy.o: init_module: Invalid argument /lib/modules/2.4.20/kernel/drivers/sound/sgalaxy.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.20/kernel/drivers/sound/sgalaxy.o: insmod /lib/modules/2.4.20/kernel/drivers/sound/sgalaxy.o failed /lib/modules/2.4.20/kernel/drivers/sound/sgalaxy.o: insmod sg* failed #
- 01-15-2004 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Did you compile this kernel yourself, considering that you don't have the sg module? Check in /lib/modules/2.4.20/kernel/drivers/scsi for what drivers are in there.
- 01-15-2004 #7Linux Engineer
- Join Date
- Dec 2002
- Location
- New Zealand
- Posts
- 766
can u run modprobe ide-scsi
- 01-15-2004 #8Just Joined!
- Join Date
- Aug 2002
- Location
- New Jersey
- Posts
- 28
Originally Posted by Dolda2000 Code:root# cd /lib/modules/2.4.20/kernel/drivers/scsi/ /lib/modules/2.4.20/kernel/drivers/scsi# ls 3w-xxxx.o aic7xxx/ g_NCR5380.o pci2220i.o st.o 53c7,8xx.o aic7xxx_old.o gdth.o pcmcia/ sym53c416.o AM53C974.o atp870u.o imm.o ppa.o sym53c8xx.o BusLogic.o cpqfc.o in2000.o psi240i.o sym53c8xx_2/ NCR53c406a.o dmx3191d.o initio.o qla1280.o t128.o a100u2w.o dpt_i2o.o ips.o qlogicfas.o tmscsim.o aacraid/ dtc.o megaraid.o qlogicfc.o u14-34f.o advansys.o eata.o ncr53c8xx.o qlogicisp.o ultrastor.o aha152x.o eata_dma.o osst.o scsi_debug.o wd7000.o aha1542.o eata_pio.o pas16.o seagate.o aha1740.o fdomain.o pci2000.o sim710.o root#
Originally Posted by Hellmasker Code:root@daedalus:/lib/modules/2.4.20/kernel/drivers/scsi# modprobe ide-scsi modprobe: Can't locate module ide-scsi root@daedalus:/lib/modules/2.4.20/kernel/drivers/scsi# modprobe ide-scsi* modprobe: Can't locate module ide-scsi* root@daedalus:/lib/modules/2.4.20/kernel/drivers/scsi#
- 01-15-2004 #9Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You don't seem to have any of the user-space interface drivers, only the hardware interface drivers. Did you compile the kernel yourself?
- 01-15-2004 #10Just Joined!
- Join Date
- Aug 2002
- Location
- New Jersey
- Posts
- 28
yes, this was built myself. I went into my kernel config and noticed there was no generic scsi driver or ide-scsi emulation, so I added these as modules. I rebuilt the kernel and the modules. Now the sg module is present, but cdrecord -scanbus still throws the same error


Reply With Quote
