Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263084AbTFPAJN (ORCPT ); Sun, 15 Jun 2003 20:09:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263103AbTFPAJN (ORCPT ); Sun, 15 Jun 2003 20:09:13 -0400 Received: from netmagic.net ([206.14.125.10]:61637 "EHLO mail.netmagic.net") by vger.kernel.org with ESMTP id S263084AbTFPAJC (ORCPT ); Sun, 15 Jun 2003 20:09:02 -0400 Subject: PROBLEM: 2.4.21 crashes hard running cdrecord in X. From: Per Nystrom To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Organization: Message-Id: <1055722972.1502.39.camel@spike.sunnydale> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 15 Jun 2003 17:22:53 -0700 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8400 Lines: 214 2.4.21 crashes hard running cdrecord in X. I just compiled installed 2.4.21, and when I try to burn a cd in X, everything locks up hard. I've enabled kernel debugging and set up a serial console to try to capture anything I can, but I don't even get a panic or an oops message. The following line is the last dying gasp from syslogd: Jun 15 16:21:54 spike kernel: scsi : aborting command due to timeout : pid 569, scsi0, channel 0, id 0, lun 0 Test Unit Ready 00 00 00 00 00 After that, everything is locked up hard. Even the SysRq keys won't work. The command I was running that particular time was cdrecord dev=0,0,0 blank=fast This only seems to happen when I'm running in X. I can use cdrecord to burn cds all day when X is not running. I haven't gotten any finer-grained with it than that; I don't know if it's X itself, the window manager, the desktop, nvidia's drivers, or any other bits that are interacting badly with cdrecord. My system is mostly Red Hat 8. I updated the cdrecord rpm to the very latest I could get when this started happening, cdrecord-2.0-10, but that made no difference. Here is the output from /usr/src/linux/scripts/ver_linux: If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux spike.sunnydale 2.4.21 #6 Sun Jun 15 15:35:26 PDT 2003 i686 i686 i386 GNU/Linux Gnu C 3.2 Gnu make 3.79.1 util-linux 2.11r mount 2.11r modutils 2.4.18 e2fsprogs 1.27 PPP 2.4.1 isdn4k-utils 3.1pre4 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 2.0.7 Net-tools 1.60 Kbd 1.06 Sh-utils 2.0.12 Modules Loaded sr_mod awe_wave sb sb_lib uart401 sound nvidia parport_pc lp parport nfsd lockd sunrpc autofs4 tulip iptable_filter ip_tables ide-scsi scsi_mod vfat fat mousedev keybdev hid input usb-uhci usbcore By the way, cdrecord --scanbus works fine whether in text or X mode, here's the output from it: Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling Linux sg driver version: 3.1.25 Using libscg version 'schily-0.7' cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling'). scsibus0: 0,0,0 0) 'SONY ' 'CD-RW CRX160E ' '1.0e' 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) * More stuff about this box follows. Any help would be greatly appreciated!!! lspci -vvv 00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B+ 00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- 00:12.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11) Subsystem: Linksys: Unknown device 0574 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 01:00.0 VGA compatible controller: nVidia Corporation NV5 [Riva TnT2 Ultra] (rev 11) (prog-if 00 [VGA]) Subsystem: Creative Labs 3D Blaster RIVA TNT2 Ultra Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: SONY Model: CD-RW CRX160E Rev: 1.0e Type: CD-ROM ANSI SCSI revision: 02 cat /proc/scsi/sg/* 0 dev_max(currently)=7 max_active_device=1 (origin 1) scsi_dma_free_sectors=96 sg_pool_secs_aval=320 def_reserved_size=32768 32768 host chan id lun type opens qdepth busy online 0 0 0 0 5 0 5 0 1 SONY CD-RW CRX160E 1.0e uid busy cpl scatg isa emul 0 0 5 256 0 1 SCSI host adapter emulation for IDE ATAPI devices 30125 Version: 3.1.25 (20030529) cat /proc/scsi/ide-scsi/* SCSI host adapter emulation for IDE ATAPI devices -- Per Nystrom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/