Can't use CD-ROM driver after switching to 2.6.11

From: Emre Sevinc (emres_at_bilgi.edu.tr)
Date: 07/30/05

  • Next message: David A. Cobb: "Problems with apt"
    Date: Sat, 30 Jul 2005 23:47:05 +0300
    To: <debian-user@lists.debian.org>
    
    

    Dear Debian experts,

    I was happily using my CD and DVD drives with kernel 2.4.18
    but last week I had to upgrade to 2.6.11. I did not
    compile my kernel, just used apt-get install and grabbed
    the latest kernel image, now my system is:

    fz@debian:~$ uname -a
    Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux

    however it looks like I simply cannot communicate with
    my CD-ROM device, let alone mounting it, writing CDs using CD writer, etc.

    I tried to mount it (testing a good CD which easily mounted
    under kernel 2.4) and it just stuck, hanging, not returning
    to commandline. kill -9 simply didn't work, even reboot command
    was not able to boot the system, I had to do a hard reset.

    I tried a simple test, using the eject command which yielded:

    $ eject -v
    eject: using default device `cdrom'
    eject: device name is `cdrom'
    eject: expanded name is `/cdrom'
    eject: `/cdrom' is not mounted
    eject: `/dev/cdrom' can be mounted at `/cdrom'
    eject: `/dev/cdrom' is not a multipartition device
    eject: trying to eject `/dev/cdrom' using CD-ROM eject command
    eject: CD-ROM eject command failed
    eject: trying to eject `/dev/cdrom' using SCSI commands
    eject: SCSI eject failed
    eject: trying to eject `/dev/cdrom' using floppy eject command
    eject: floppy eject command failed
    eject: trying to eject `/dev/cdrom' using tape offline command
    eject: tape offline command failed
    eject: unable to eject, last error: Invalid argument

    at the same time dmesg was saying:

    ide-scsi: unsup command: dev hdb: flags = REQ_RW REQ_NOMERGE REQ_STARTED REQ_BLOCK_PC
    sector 34596377, nr/cnr 8/8
    bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
    cdb: 1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00
    ide-scsi: unsup command: dev hdb: flags = REQ_RW REQ_NOMERGE REQ_STARTED REQ_BLOCK_PC
    sector 39839881, nr/cnr 8/8
    bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
    cdb: 1b 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00

    I don't know if there is something wrong with kernel modules,
    etc. I didn't touch them, I just installed nvidia module but
    didn't touch any other module (consciously).

    Here's my current lsmod output:

    Module Size Used by
    nvidia 3923452 12
    ipv6 254720 12
    binfmt_misc 11496 1
    af_packet 21704 4
    8139too 25952 0
    8139cp 20160 0
    mii 4992 2 8139too,8139cp
    snd_via82xx 27872 0
    snd_ac97_codec 78360 1 snd_via82xx
    snd_pcm 92712 2 snd_via82xx,snd_ac97_codec
    snd_timer 24644 1 snd_pcm
    snd_page_alloc 10020 2 snd_via82xx,snd_pcm
    gameport 4480 1 snd_via82xx
    snd_mpu401_uart 7488 1 snd_via82xx
    snd_rawmidi 24032 1 snd_mpu401_uart
    snd_seq_device 8652 1 snd_rawmidi
    snd 55300 7 snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
    via686a 20184 0
    i2c_sensor 3520 1 via686a
    i2c_viapro 7888 0
    i2c_core 22320 3 via686a,i2c_sensor,i2c_viapro
    uhci_hcd 32400 0
    pci_hotplug 33136 0
    via_agp 9568 1
    agpgart 34792 2 nvidia,via_agp
    tsdev 7776 0
    mousedev 11640 2
    psmouse 29320 0
    parport_pc 35972 0
    parport 36936 1 parport_pc
    floppy 60176 0
    pcspkr 3364 0
    evdev 9568 0
    nls_cp437 5632 1
    ntfs 111760 1
    dm_mod 61948 0
    sr_mod 17540 0
    cdrom 41216 1 sr_mod
    capability 4712 0
    commoncap 6880 1 capability
    ide_scsi 16132 0
    sg 38944 0
    usb_storage 70720 0
    usbcore 120312 3 uhci_hcd,usb_storage
    via82cxxx_audio 30216 1
    uart401 11588 1 via82cxxx_audio
    sound 79884 2 via82cxxx_audio,uart401
    soundcore 9664 4 snd,via82cxxx_audio,sound
    ac97_codec 19916 1 via82cxxx_audio
    ac97 5152 0
    genrtc 8936 0
    ext2 68712 1
    ext3 143368 1
    jbd 58200 1 ext3
    mbcache 9444 2 ext2,ext3
    ide_disk 18048 5
    ide_generic 1216 0 [permanent]
    via82cxxx 13820 0 [permanent]
    trm290 4260 0 [permanent]
    triflex 3712 0 [permanent]
    slc90e66 5792 0 [permanent]
    sis5513 16424 0 [permanent]
    siimage 12576 0 [permanent]
    serverworks 9192 0 [permanent]
    sc1200 7296 0 [permanent]
    rz1000 2496 0 [permanent]
    piix 10308 0 [permanent]
    pdc202xx_old 11296 0 [permanent]
    opti621 4452 0 [permanent]
    ns87415 4264 0 [permanent]
    hpt366 20064 0 [permanent]
    hpt34x 5216 0 [permanent]
    generic 3904 0 [permanent]
    cy82c693 4708 0 [permanent]
    cs5530 5248 0 [permanent]
    cs5520 4640 0 [permanent]
    cmd64x 12028 0 [permanent]
    atiixp 5840 0 [permanent]
    amd74xx 14332 0 [permanent]
    alim15x3 12140 0 [permanent]
    aec62xx 7168 0 [permanent]
    pdc202xx_new 9024 0 [permanent]
    ide_core 130384 29 ide_scsi,usb_storage,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,server
    works,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,a
    ec62xx,pdc202xx_new
    sd_mod 19024 0
    ata_piix 9572 0
    libata 48452 1 ata_piix
    scsi_mod 137064 6 sr_mod,ide_scsi,sg,usb_storage,sd_mod,libata
    unix 27476 68
    fbcon 38656 0
    font 8192 1 fbcon
    bitblit 5664 1 fbcon
    vesafb 8088 0
    cfbcopyarea 4000 1 vesafb
    cfbimgblt 2944 1 vesafb
    cfbfillrect 3648 1 vesafb

    and

    debian:/home/fz# cdrecord -checkdrive
    Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
    NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
          and thus may have bugs that are not present in the original version.
          Please send bug reports and support requests to <cdrtools@packages.debian.org>.
          The original author should not be bothered with problems of this version.

    cdrecord: Warning: Running on Linux-2.6.11-1-686
    cdrecord: There are unsettled issues with Linux-2.5 and newer.
    cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
    scsidev: '1,5,0'
    scsibus: 1 target: 5 lun: 0
    Linux sg driver version: 3.5.32
    cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open SCSI driver.
    cdrecord: For possible targets try 'cdrecord -scanbus'.
    cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
    cdrecord:
    cdrecord: For more information, install the cdrtools-doc
    cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .

    ve ardindan

    Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
    NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
          and thus may have bugs that are not present in the original version.
          Please send bug reports and support requests to <cdrtools@packages.debian.org>.
          The original author should not be bothered with problems of this version.

    cdrecord: Warning: Running on Linux-2.6.11-1-686
    cdrecord: There are unsettled issues with Linux-2.5 and newer.
    cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
    Linux sg driver version: 3.5.32
    Using libscg version 'ubuntu-0.8ubuntu1'.
    cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
    scsibus0:
            0,0,0 0) 'DVD-16X ' 'OEM316B ' '1.00' 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) *
    scsibus1:
            1,0,0 100) 'HL-DT-ST' 'CD-RW GCE-8525B ' '1.03' Removable CD-ROM
            1,1,0 101) *
            1,2,0 102) *
            1,3,0 103) *
            1,4,0 104) *
            1,5,0 105) *
            1,6,0 106) *
            1,7,0 107) *

    I'm stuck at the current situation.

    Maybe some Debian expert can tell me to get back my
    CD-ROM drivers, mount them, cdplay them, etc.

    Thanks in advance.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: David A. Cobb: "Problems with apt"

    Relevant Pages

    • My CDROM/CDRW not fully working in Debian
      ... I've noticed long time before that my eject command is not working ... I've found out that my "cdrecord -msinfo" is not working. ... Drive needs to reload the media to return to proper status. ... Driver flags: MMC-3 SWABAUDIO BURNFREE FORCESPEED ...
      (Debian-User)
    • Re: OT] Joerg Schilling flames Linux on his Blog
      ... > and for this reason not supported by a portable program like cdrecord. ... posted and it is apparent that you want all OSes to use the scsi scheme. ... I looked at the eject program one day. ...
      (Linux-Kernel)
    • cdrecord & cdwriter
      ... when i do cdrecord -scanbus it gives as:- ... Warning: The related libscg interface code is in pre alpha. ... dmesg | grep ATAPI ... Wiht all these when i do eject i get the following as root and normal ...
      (Debian-User)
    • Re: My CDROM/CDRW not fully working in Debian
      ... Tong wrote: ... > I've noticed long time before that my eject command is not working ... > cdrecord: Drive needs to reload the media to return to proper status. ...
      (Debian-User)
    • Re: Turbo Linux and CD Changers
      ... Checking the eject command seems to comfirm the thoughts of an extra ... > does support SCSI-CD Rom changers, although it is not turned on by ... I'm using a distributed kernel. ... that the CD-Rom changers are better supported in 2.6.x kernels than in 2.2.x ...
      (alt.linux)