• Bug#265747: Same problem with CW078D

    From Alan Chandler@1:229/2 to All on Sat Aug 21 12:40:08 2004
    From: [email protected]

    I am running the debian unstable 2.6.8-k7 kernel - but I had similar problems with 2.6.7-k7. Udev is managing the devices - but as I have this and a dvd reader on /dev/hdd I have had to put my own udev rules in, thus:

    BUS="ide", KERNEL="hdc", NAME="hdc" SYMLINK="cdrw" MODE="660" GROUP="cdrom" BUS="ide", KERNEL="hdd", NAME="hdd" SYMLINK="dvd" MODE="660" GROUP="cdrom"

    I thought at first it might be a hardware problem, but I have dual booted into windows xp and used it without any problems

    It hangs at this point as i try to do anything. I am trying to blank a cdrw disk for the first time here and this also hangs, normally I am just trying
    to write an ISO to the disk. It does not matter whether its cdrw or cdr. ---------------------->
    kanger:/home/alan/nobak/debcd# cdrecord blank=fast dev=/dev/hdc
    Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg 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 <[email protected]>.
    The original author should not be bothered with problems of this version.

    scsidev: '/dev/hdc'
    devname: '/dev/hdc'
    scsibus: -2 target: -2 lun: -2
    Warning: Open by 'devname' is unintentional and not supported.
    -------------------->

    A kill -9 does not kill the process cdrecord.mmap which seems to be running

    some output from /proc whilst in this hung state.

    kanger:/proc/ide/hdc# more media
    cdrom
    kanger:/proc/ide/hdc# more model
    CW078D ATAPI CD-R/RW
    kanger:/proc/ide/hdc# more driver
    ide-cdrom version 4.61
    kanger:/proc/ide/hdc# more capacity
    4
    kanger:/proc/ide/hdc# more settings
    name value min max mode ---- ----- --- --- ---- current_speed 66 0 70 rw dsc_overlap 1 0 1 rw ide-scsi 0 0 1 rw init_speed 66 0 70 rw io_32bit 0 0 3 rw keepsettings 0 0 1 rw nice1 1 0 1 rw number 2 0 3 rw pio_mode write-only 0 255 w unmaskirq 0 0 1 rw using_dma 0 0 1 rw



    --
    Alan Chandler
    [email protected]
    First they ignore you, then they laugh at you,
    then they fight you, then you win. --Gandhi

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Eduard Bloch@1:229/2 to All on Sat Aug 21 13:10:07 2004
    From: [email protected]

    #include <hallo.h>
    * Alan Chandler [Sat, Aug 21 2004, 11:28:03AM]:

    I thought at first it might be a hardware problem, but I have dual booted into
    windows xp and used it without any problems

    It hangs at this point as i try to do anything. I am trying to blank a cdrw disk for the first time here and this also hangs, normally I am just trying to write an ISO to the disk. It does not matter whether its cdrw or cdr.

    Run it trough strace (as root) to look where it hangs, and why.

    scsidev: '/dev/hdc'
    devname: '/dev/hdc'
    scsibus: -2 target: -2 lun: -2
    Warning: Open by 'devname' is unintentional and not supported.

    Better care about it. Use dev=ATA:0,0 or such, see
    "cdrecord dev=ATA: -scanbus" output.

    Regards,
    Eduard.
    --
    Die Hoffnung aufgeben bedeutet, nach der Gegenwart auch die Zukunft
    preisgeben.
    -- Pearl Sydenstricker Buck (Pseudonym: Sedges, John)


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Alan Chandler@1:229/2 to Eduard Bloch on Sat Aug 21 22:10:13 2004
    From: [email protected]

    On Saturday 21 August 2004 11:47, Eduard Bloch wrote:


    Run it trough strace (as root) to look where it hangs, and why.

    scsidev: '/dev/hdc'
    devname: '/dev/hdc'
    scsibus: -2 target: -2 lun: -2
    Warning: Open by 'devname' is unintentional and not supported.

    Better care about it. Use dev=ATA:0,0 or such, see
    "cdrecord dev=ATA: -scanbus" output.
    Here's scanbus output followed by strace output. Note the hang was in the middle of printing the last ioctl command.

    .alan@kanger ~ $ cdrecord dev=ATA: -scanbus

    Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg 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 <[email protected]>.
    The original author should not be bothered with problems of this version.

    scsidev: 'ATA:'
    devname: 'ATA'
    scsibus: -1 target: -1 lun: -1
    Warning: Using badly designed ATAPI via /dev/hd* interface.
    Linux sg driver version: 3.5.27
    Using libscg version 'schily-0.8'.
    scsibus1:
    1,0,0 100) 'CD-R/RW ' 'CW078D CD-R/RW ' '14SD' Removable CD-ROM
    1,1,0 101) 'PIONEER ' 'DVD-ROM DVD-104 ' '2.06' Removable CD-ROM
    1,2,0 102) *
    1,3,0 103) *
    1,4,0 104) *
    1,5,0 105) *
    1,6,0 106) *
    1,7,0 107) *

    kanger:/home/alan# strace cdrecord blank=fast dev=ATA:1,0,0

    execve("/usr/bin/cdrecord", ["cdrecord", "blank=fast", "dev=ATA:1,0,0"], [/* 30 vars */]) = 0
    uname({sys="Linux", node="kanger", ...}) = 0
    brk(0) = 0x80f0000
    old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=70038, ...}) = 0
    old_mmap(NULL, 70038, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/libncurses.so.5", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\342"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0644, st_size=252592, ...}) = 0
    old_mmap(NULL, 257868, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002a000 old_mmap(0x40060000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x35000) = 0x40060000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/tls/libdl.so.2", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\32"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0644, st_size=9432, ...}) = 0
    old_mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40069000 old_mmap(0x4006b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x4006b000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/tls/libc.so.6", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340X\1"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0644, st_size=1279076, ...}) = 0
    old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4006c000
    old_mmap(NULL, 1289388, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4006d000 old_mmap(0x4019d000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12f000) = 0x4019d000
    old_mmap(0x401a6000, 7340, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED| MAP_ANONYMOUS, -1, 0) = 0x401a6000
    close(3) = 0
    set_thread_area({entry_number:-1 -> 6, base_addr:0x4006c900, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
    munmap(0x40018000, 70038) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
    close(3) = 0
    brk(0) = 0x80f0000
    brk(0) = 0x80f0000
    brk(0x80f1000) = 0x80f1000
    brk(0) = 0x80f1000
    brk(0x80f2000) = 0x80f2000
    getuid32() = 0
    getgid32() = 0
    geteuid32() = 0
    getegid32() = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    time(NULL) = 1093117381
    brk(0) = 0x80f2000
    brk(0x80f3000) = 0x80f3000
    brk(0) = 0x80f3000
    brk(0x80f4000) = 0x80f4000
    open("/etc/mtab", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=928, ...}) = 0
    mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a8000
    read(3, "/dev/hda3 / reiserfs rw,noatime "..., 131072) = 928
    close(3) = 0
    munmap(0x401a8000, 131072) = 0
    open("/proc/meminfo", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a8000
    read(3, "MemTotal: 516432 kB\nMemFre"..., 1024) = 572
    close(3) = 0
    munmap(0x401a8000, 4096) = 0
    brk(0) = 0x80f4000
    brk(0x80f5000) = 0x80f5000
    rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
    rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
    uname({sys="Linux", node="kanger", ...}) = 0

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)