Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
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.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Posts
    17

    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.

  2. #2
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    pg???
    try typing
    Code:
    ll /dev/scd*
    and see if it detects anything.

    your sources should be in /usr/src/linux or /usr/src/linux-2.4.20

  3. #3
    Just Joined!
    Join Date
    Sep 2003
    Posts
    17
    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.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux 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.

  6. #5
    Just 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
    Code:
    cdrecord -scanbus
    and got the same error.
    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
    #

  7. #6
    Linux 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.

  8. #7
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    can u run modprobe ide-scsi

  9. #8
    Just Joined!
    Join Date
    Aug 2002
    Location
    New Jersey
    Posts
    28
    Quote Originally Posted by Dolda2000
    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.
    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#
    Quote Originally Posted by Hellmasker
    can u run modprobe ide-scsi
    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#

  10. #9
    Linux 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?

  11. #10
    Just 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

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •