linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.64-mm6: kernel BUG at kernel/timer.c:155!
@ 2003-03-13 17:22 Jeremy Fitzhardinge
  2003-03-13 17:45 ` Jeremy Fitzhardinge
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-13 17:22 UTC (permalink / raw)
  To: Linux Kernel List

I was reading back a freshly burned CD from my shiny new Plexwriter
48/24/48A.  I'm using ide-scsi, so this is an iso9660 filesystem mounted
from /dev/scd0.  After reading for a while, apparently successfully, it
started failing with the messages below:

spurious 8259A interrupt: IRQ7.
hdc: lost interrupt
ide-scsi: CoD != 0 in idescsi_pc_intr
ide-scsi: abort called for 9677
ide-scsi: abort called for 9674
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: status timeout: status=0x80 { Busy }
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: status timeout: status=0x80 { Busy }
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: status timeout: status=0x80 { Busy }
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: ATAPI reset complete
hdc: irq timeout: status=0x80 { Busy }
hdc: status timeout: status=0x80 { Busy }
hdc: drive not ready for command
hdc: ATAPI reset complete
ide-scsi: abort called for 9674
ide-scsi: abort called for 9675
ide-scsi: abort called for 9676
ide-scsi: reset called for 9677
------------[ cut here ]------------
kernel BUG at kernel/timer.c:155!
invalid operand: 0000 [#1]
CPU:    0
EIP:    0060:[<c011fc41>]    Tainted: PF
EFLAGS: 00010002
EIP is at add_timer+0xdb/0xe8
eax: 00000001   ebx: c1b3b5e4   ecx: c0322820   edx: c03d33fc
esi: 00000096   edi: c020b506   ebp: f7d8feac   esp: f7d8fea4
ds: 007b   es: 007b   ss: 0068
Process scsi_eh_0 (pid: 9, threadinfo=f7d8e000 task=c1b7cd00)
Stack: 00000001 c1b3b5c0 f7d8fed0 c020b44c c1b3b5e4 00000000 00000082 00000000
       00000000 c03d33fc c03d33fc f7d8ff00 c020baf4 c03d33fc c020b506 00000032
       00000000 c1b3b5c0 c03d3350 00000096 00000000 c03d33fc c03d340c f7d8ff18
Call Trace:
 [<c020b44c>] ide_set_handler+0x48/0x74
 [<c020baf4>] do_reset1+0x214/0x232
 [<c020b506>] atapi_reset_pollfunc+0x0/0x11a
 [<c020bb40>] ide_do_reset+0x2e/0x62
 [<c02267b4>] idescsi_reset+0xc0/0xf6
 [<c0220a36>] scsi_try_bus_device_reset+0x46/0x66
 [<c0220abb>] scsi_eh_bus_device_reset+0x65/0x108
 [<c0221224>] scsi_eh_ready_devs+0x28/0x74
 [<c022137f>] scsi_unjam_host+0xa1/0xa4
 [<c022142f>] scsi_error_handler+0xad/0xdc
 [<c0221382>] scsi_error_handler+0x0/0xdc
 [<c0107209>] kernel_thread_helper+0x5/0xc

Code: 0f 0b 9b 00 62 11 2e c0 e9 41 ff ff ff 55 31 c0 89 e5 83 ec




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: kernel BUG at kernel/timer.c:155!
  2003-03-13 17:22 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Jeremy Fitzhardinge
@ 2003-03-13 17:45 ` Jeremy Fitzhardinge
  2003-03-13 17:54 ` Jens Axboe
  2003-03-13 20:52 ` 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Aravind
  2 siblings, 0 replies; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-13 17:45 UTC (permalink / raw)
  To: Linux Kernel List

On Thu, 2003-03-13 at 09:22, Jeremy Fitzhardinge wrote:
> I was reading back a freshly burned CD from my shiny new Plexwriter
> 48/24/48A.  I'm using ide-scsi, so this is an iso9660 filesystem mounted
> from /dev/scd0.  After reading for a while, apparently successfully, it
> started failing with the messages below:

.config:

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_PREFETCH=y
CONFIG_X86_SSE2=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_NUMA is not set
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
# CONFIG_EDD is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
# CONFIG_05GB is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
CONFIG_HIGHMEM=y
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_SCx200 is not set
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_PC_SUPERIO=y
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL device support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_BLK_DEV_IDE_MODES=y

#
# SCSI device support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_SYM53C8XX is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_ISP_NEW is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
# CONFIG_IP_ROUTE_TOS is not set
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_ROUTE_LARGE_TABLES is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_XFRM_USER is not set
# CONFIG_IPV6 is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
CONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
CONFIG_TULIP=y
# CONFIG_TULIP_MWI is not set
# CONFIG_TULIP_MMIO is not set
# CONFIG_DE4X5 is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_DM9102 is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
CONFIG_NET_ISA=y
# CONFIG_E2100 is not set
# CONFIG_EWRK3 is not set
# CONFIG_EEXPRESS is not set
# CONFIG_EEXPRESS_PRO is not set
# CONFIG_HPLAN_PLUS is not set
# CONFIG_HPLAN is not set
# CONFIG_LP486E is not set
# CONFIG_ETH16I is not set
# CONFIG_NE2000 is not set
# CONFIG_ZNET is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
CONFIG_PPDEV=m
# CONFIG_TIPAR is not set

#
# I2C support
#
CONFIG_I2C=m
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_PROC=m

#
# I2C Hardware Sensors Mainboard support
#
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set

#
# I2C Hardware Sensors Chip support
#
CONFIG_SENSORS_ADM1021=m
CONFIG_SENSORS_LM75=m

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_AMD_RNG is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=m
# CONFIG_AGP3 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_AMD_8151 is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
# CONFIG_REISERFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_XFS_FS is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
# CONFIG_CIFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_FS_MBCACHE=y

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
CONFIG_SND_CMIPCI=m
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
CONFIG_USB_STORAGE_DPCM=y
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET=m

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# Profiling support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_SLAB=y
# CONFIG_X86_REMOTE_DEBUG is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_SPINLINE is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_KALLSYMS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_FRAME_POINTER=y
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
CONFIG_CRC32=m
CONFIG_X86_BIOS_REBOOT=y




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: kernel BUG at kernel/timer.c:155!
  2003-03-13 17:22 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Jeremy Fitzhardinge
  2003-03-13 17:45 ` Jeremy Fitzhardinge
@ 2003-03-13 17:54 ` Jens Axboe
  2003-03-13 18:04   ` Jeremy Fitzhardinge
  2003-03-13 20:52 ` 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Aravind
  2 siblings, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-13 17:54 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List

On Thu, Mar 13 2003, Jeremy Fitzhardinge wrote:
> I was reading back a freshly burned CD from my shiny new Plexwriter
> 48/24/48A.  I'm using ide-scsi, so this is an iso9660 filesystem mounted

out of curiousity, why? ide-cd should work much better than ide-scsi in
2.5, if it doesn't I'd like to know.

yes, the ide-scsi bug should be fixed too, of course... but I cannot
care too much about that in 2.5, should mainly be a non-cd/dvd atapi
host.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: kernel BUG at kernel/timer.c:155!
  2003-03-13 17:54 ` Jens Axboe
@ 2003-03-13 18:04   ` Jeremy Fitzhardinge
  2003-03-13 19:02     ` Jens Axboe
  0 siblings, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-13 18:04 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List

On Thu, 2003-03-13 at 09:54, Jens Axboe wrote:
> On Thu, Mar 13 2003, Jeremy Fitzhardinge wrote:
> > I was reading back a freshly burned CD from my shiny new Plexwriter
> > 48/24/48A.  I'm using ide-scsi, so this is an iso9660 filesystem mounted
> 
> out of curiousity, why? ide-cd should work much better than ide-scsi in
> 2.5, if it doesn't I'd like to know.

Mostly because I couldn't make cdrecord work properly with ide-cd - it
kept claiming I had an adaptec disk connected rather than the plextor
cdrom:

: root@ixodes:pts/2; cdrecord -scanbus 'dev=ATAPI:'
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: 'ATAPI:'
devname: 'ATAPI'
scsibus: -1 target: -1 lun: -1
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'ADAPTEC ' 'ACB-5500        ' 'FAKE' NON CCS Disk
        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) *


Maybe I just need to spend more effort on the user-space tools.  Is
there something other than cdrecord I should be using?

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: kernel BUG at kernel/timer.c:155!
  2003-03-13 18:04   ` Jeremy Fitzhardinge
@ 2003-03-13 19:02     ` Jens Axboe
  2003-03-14  9:24       ` 2.5.64-mm6: oops in elv_remove_request Jeremy Fitzhardinge
  0 siblings, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-13 19:02 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List

On Thu, Mar 13 2003, Jeremy Fitzhardinge wrote:
> On Thu, 2003-03-13 at 09:54, Jens Axboe wrote:
> > On Thu, Mar 13 2003, Jeremy Fitzhardinge wrote:
> > > I was reading back a freshly burned CD from my shiny new Plexwriter
> > > 48/24/48A.  I'm using ide-scsi, so this is an iso9660 filesystem mounted
> > 
> > out of curiousity, why? ide-cd should work much better than ide-scsi in
> > 2.5, if it doesn't I'd like to know.
> 
> Mostly because I couldn't make cdrecord work properly with ide-cd - it
> kept claiming I had an adaptec disk connected rather than the plextor
> cdrom:
> 
> : root@ixodes:pts/2; cdrecord -scanbus 'dev=ATAPI:'
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: 'ATAPI:'
> devname: 'ATAPI'
> scsibus: -1 target: -1 lun: -1
> Warning: Using ATA Packet interface.
> Warning: The related libscg interface code is in pre alpha.
> Warning: There may be fatal problems.
> Using libscg version 'schily-0.7'
> scsibus0:
>         0,0,0     0) 'ADAPTEC ' 'ACB-5500        ' 'FAKE' NON CCS Disk
>         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) *
> 
> 
> Maybe I just need to spend more effort on the user-space tools.  Is
> there something other than cdrecord I should be using?

Nope cdrecord is fine, but I think only open by device name works
currently. So you'd need to do

# cdrecord -dev=/dev/hdX -inq

to print inquiry data, for instance.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: kernel BUG at kernel/timer.c:155!
  2003-03-13 17:22 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Jeremy Fitzhardinge
  2003-03-13 17:45 ` Jeremy Fitzhardinge
  2003-03-13 17:54 ` Jens Axboe
@ 2003-03-13 20:52 ` Aravind
  2 siblings, 0 replies; 22+ messages in thread
From: Aravind @ 2003-03-13 20:52 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List

[-- Attachment #1: Type: text/plain, Size: 3706 bytes --]

Jeremy Fitzhardinge wrote:
> I was reading back a freshly burned CD from my shiny new Plexwriter
> 48/24/48A.  I'm using ide-scsi, so this is an iso9660 filesystem mounted
> from /dev/scd0.  After reading for a while, apparently successfully, it
> started failing with the messages below:
> 
> spurious 8259A interrupt: IRQ7.
> hdc: lost interrupt
> ide-scsi: CoD != 0 in idescsi_pc_intr
> ide-scsi: abort called for 9677
> ide-scsi: abort called for 9674
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: status timeout: status=0x80 { Busy }
> hdc: drive not ready for command
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: status timeout: status=0x80 { Busy }
> hdc: drive not ready for command
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: status timeout: status=0x80 { Busy }
> hdc: drive not ready for command
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0x80 { Busy }
> hdc: status timeout: status=0x80 { Busy }
> hdc: drive not ready for command
> hdc: ATAPI reset complete

If I assume /dev/hdc is your CDROM drive then my machine also reports 
these errors. This happens on 2.4.x as well as 2.5.x. This is most 
probably due to loose connection in the CDROM drive. Mine is a HP
removable CDROM drive. If I re-insert it or "push" the drive module
in the slot the problem disappears. Sometimes the CDROM drive is 
identified as a removable floppy drive. Push the CDROM drive and reboot 
the kernel it is identified as proper CDROM drive. But never got a
kernel BUG.

Hope this information is useful.

Regards

Aravind



> ide-scsi: abort called for 9674
> ide-scsi: abort called for 9675
> ide-scsi: abort called for 9676
> ide-scsi: reset called for 9677
> ------------[ cut here ]------------
> kernel BUG at kernel/timer.c:155!
> invalid operand: 0000 [#1]
> CPU:    0
> EIP:    0060:[<c011fc41>]    Tainted: PF
> EFLAGS: 00010002
> EIP is at add_timer+0xdb/0xe8
> eax: 00000001   ebx: c1b3b5e4   ecx: c0322820   edx: c03d33fc
> esi: 00000096   edi: c020b506   ebp: f7d8feac   esp: f7d8fea4
> ds: 007b   es: 007b   ss: 0068
> Process scsi_eh_0 (pid: 9, threadinfo=f7d8e000 task=c1b7cd00)
> Stack: 00000001 c1b3b5c0 f7d8fed0 c020b44c c1b3b5e4 00000000 00000082 00000000
>        00000000 c03d33fc c03d33fc f7d8ff00 c020baf4 c03d33fc c020b506 00000032
>        00000000 c1b3b5c0 c03d3350 00000096 00000000 c03d33fc c03d340c f7d8ff18
> Call Trace:
>  [<c020b44c>] ide_set_handler+0x48/0x74
>  [<c020baf4>] do_reset1+0x214/0x232
>  [<c020b506>] atapi_reset_pollfunc+0x0/0x11a
>  [<c020bb40>] ide_do_reset+0x2e/0x62
>  [<c02267b4>] idescsi_reset+0xc0/0xf6
>  [<c0220a36>] scsi_try_bus_device_reset+0x46/0x66
>  [<c0220abb>] scsi_eh_bus_device_reset+0x65/0x108
>  [<c0221224>] scsi_eh_ready_devs+0x28/0x74
>  [<c022137f>] scsi_unjam_host+0xa1/0xa4
>  [<c022142f>] scsi_error_handler+0xad/0xdc
>  [<c0221382>] scsi_error_handler+0x0/0xdc
>  [<c0107209>] kernel_thread_helper+0x5/0xc
> 
> Code: 0f 0b 9b 00 62 11 2e c0 e9 41 ff ff ff 55 31 c0 89 e5 83 ec
> 
> 
> 
> -
> 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/
> 


-- 
PGP Key: 0x52C72E39 at pgp.mit.edu


[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* 2.5.64-mm6: oops in elv_remove_request
  2003-03-13 19:02     ` Jens Axboe
@ 2003-03-14  9:24       ` Jeremy Fitzhardinge
  2003-03-14 10:42         ` Jens Axboe
  2003-03-14 20:33         ` Jens Axboe
  0 siblings, 2 replies; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-14  9:24 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Thu, 2003-03-13 at 11:02, Jens Axboe wrote: 
> Nope cdrecord is fine, but I think only open by device name works
> currently. So you'd need to do
> 
> # cdrecord -dev=/dev/hdX -inq
> 
> to print inquiry data, for instance.

I get this with some random cdrecord rpm:

# cdrecord dev=/dev/hdc -inq
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg
Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl

strace shows this:

open("/dev/hdc", O_RDWR|O_NONBLOCK)     = 3
fcntl64(3, F_GETFL)                     = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)
fcntl64(3, F_SETFL, O_RDWR|O_LARGEFILE) = 0
ioctl(3, 0x5382, 0xbfffc490)            = 0
ioctl(3, 0x5386, 0xbfffc48c)            = 0
ioctl(3, 0x2282, 0xbfffc494)            = 0
write(2, "Linux sg driver version: 3.5.27\n", 32) = 32
ioctl(3, 0x5382, 0xbfffc430)            = 0
ioctl(3, 0x5386, 0xbfffc42c)            = 0
ioctl(3, 0x2201, 0xbfffc344)            = 0
fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 0), ...}) = 0
write(1, "Using libscg version \'schily-0.7"..., 34) = 34
ioctl(3, 0x2272, 0xbfffc674)            = 0
ioctl(3, 0x2272, 0xbfffc670)            = 0
ioctl(3, 0x2272, 0xbfffc644)            = 0
ioctl(3, 0x2272, 0xbfffc640)            = 0
brk(0x80a4000)                          = 0x80a4000
gettimeofday({1047632019, 859019}, NULL) = 0
write(3, "*\0\0\0$\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 42) = -1 EPERM (Operation not permitted)
ioctl(3, 0x2201, 0xbfff45f4)            = 0
gettimeofday({1047632019, 859188}, NULL) = 0
write(2, "cdrecord: Operation not permitte"..., 66) = 66
munmap(0x40013000, 4096)                = 0

With the version or cdrtools I compiled, I get an instant oops+lockup
with the above command when running with anticipatory scheduler in
2.5.64-mm6 (hand written):

elv_remove_request
ide_end_request
cdrom_end_request
cdrom_decode_status
cdrom_newpc_intr
ide_do_request
ide_intr
cdrom_newpc_intr
handle_IRQ_event
do_IRQ
default_idle
     "
common_interrupt
...

I'll try it with deadline and see what happens... seems to work OK:

# ./cdrecord dev=/dev/hdc -inq
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.

though I don't seem to be able to set up a default device in
/etc/cdrecord.conf.

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 10:42         ` Jens Axboe
@ 2003-03-14 10:06           ` Jeremy Fitzhardinge
  2003-03-14 10:31           ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-14 10:06 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Fri, 2003-03-14 at 02:42, Jens Axboe wrote:
> Looks much better. Somehow the 'random' rpm you had didn't do SG_IO,
> odd.

It was the PLD cdrtools-2.01a05-1.i386.rpm; it is the same source I
built from, though it was looking in /usr/include/linux for headers, and
I changed my build to go to /lib/modules/`uname -r`/build/include.

> > though I don't seem to be able to set up a default device in
> > /etc/cdrecord.conf.
> 
> I have no idea how that works. What do you typicall do?

I worked it out.  The source out of the box looks in
/etc/default/cdrecord; most distros change that to /etc/cdrecord.conf.

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 10:42         ` Jens Axboe
  2003-03-14 10:06           ` Jeremy Fitzhardinge
@ 2003-03-14 10:31           ` Jeremy Fitzhardinge
  2003-03-14 11:37             ` Jens Axboe
  1 sibling, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-14 10:31 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Fri, 2003-03-14 at 02:42, Jens Axboe wrote:
> Looks much better. Somehow the 'random' rpm you had didn't do SG_IO,
> odd.

Hm, not better enough.  When I test a burn, I get this:

# cdrecord -dummy -data -isosize perforce.iso
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
Supported modes:
cdrecord: Drive does not support TAO recording.
cdrecord: Illegal write mode for this drive.
exit status 255

I'm guessing the "Supported modes:" line should have something on it
(TAO, at least).  With ide-scsi it does print many modes.

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14  9:24       ` 2.5.64-mm6: oops in elv_remove_request Jeremy Fitzhardinge
@ 2003-03-14 10:42         ` Jens Axboe
  2003-03-14 10:06           ` Jeremy Fitzhardinge
  2003-03-14 10:31           ` Jeremy Fitzhardinge
  2003-03-14 20:33         ` Jens Axboe
  1 sibling, 2 replies; 22+ messages in thread
From: Jens Axboe @ 2003-03-14 10:42 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> On Thu, 2003-03-13 at 11:02, Jens Axboe wrote: 
> > Nope cdrecord is fine, but I think only open by device name works
> > currently. So you'd need to do
> > 
> > # cdrecord -dev=/dev/hdX -inq
> > 
> > to print inquiry data, for instance.
> 
> I get this with some random cdrecord rpm:
> 
> # cdrecord dev=/dev/hdc -inq
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg
> Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
> 
> strace shows this:
> 
> open("/dev/hdc", O_RDWR|O_NONBLOCK)     = 3
> fcntl64(3, F_GETFL)                     = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)
> fcntl64(3, F_SETFL, O_RDWR|O_LARGEFILE) = 0
> ioctl(3, 0x5382, 0xbfffc490)            = 0
> ioctl(3, 0x5386, 0xbfffc48c)            = 0
> ioctl(3, 0x2282, 0xbfffc494)            = 0
> write(2, "Linux sg driver version: 3.5.27\n", 32) = 32

this matches the block/scsi_ioctl.c transport

> ioctl(3, 0x5382, 0xbfffc430)            = 0
> ioctl(3, 0x5386, 0xbfffc42c)            = 0
> ioctl(3, 0x2201, 0xbfffc344)            = 0
> fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 0), ...}) = 0
> write(1, "Using libscg version \'schily-0.7"..., 34) = 34
> ioctl(3, 0x2272, 0xbfffc674)            = 0
> ioctl(3, 0x2272, 0xbfffc670)            = 0
> ioctl(3, 0x2272, 0xbfffc644)            = 0
> ioctl(3, 0x2272, 0xbfffc640)            = 0
> brk(0x80a4000)                          = 0x80a4000
> gettimeofday({1047632019, 859019}, NULL) = 0
> write(3, "*\0\0\0$\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 42) = -1 EPERM (Operation not permitted)

it's trying to write a SCSI command to the device, assuming it's a
character scsi generic device. bad!

> ioctl(3, 0x2201, 0xbfff45f4)            = 0
> gettimeofday({1047632019, 859188}, NULL) = 0
> write(2, "cdrecord: Operation not permitte"..., 66) = 66
> munmap(0x40013000, 4096)                = 0
> 
> With the version or cdrtools I compiled, I get an instant oops+lockup
> with the above command when running with anticipatory scheduler in
> 2.5.64-mm6 (hand written):

Bug in that io scheduler...

> I'll try it with deadline and see what happens... seems to work OK:
> 
> # ./cdrecord dev=/dev/hdc -inq
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.

Looks much better. Somehow the 'random' rpm you had didn't do SG_IO,
odd.

> though I don't seem to be able to set up a default device in
> /etc/cdrecord.conf.

I have no idea how that works. What do you typicall do?

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 10:31           ` Jeremy Fitzhardinge
@ 2003-03-14 11:37             ` Jens Axboe
  2003-03-14 17:59               ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-14 11:37 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> On Fri, 2003-03-14 at 02:42, Jens Axboe wrote:
> > Looks much better. Somehow the 'random' rpm you had didn't do SG_IO,
> > odd.
> 
> Hm, not better enough.  When I test a burn, I get this:
> 
> # cdrecord -dummy -data -isosize perforce.iso
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 0
> Response Format: 1
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
> Supported modes:
> cdrecord: Drive does not support TAO recording.
> cdrecord: Illegal write mode for this drive.
> exit status 255
> 
> I'm guessing the "Supported modes:" line should have something on it
> (TAO, at least).  With ide-scsi it does print many modes.

I've seen this bug reported before. But that's interesting, will try it
on my test box. Linus reported some problem with single byte commands
months ago, maybe this is related.

Can you send me the output of -prcap?

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 11:37             ` Jens Axboe
@ 2003-03-14 17:59               ` Jeremy Fitzhardinge
  2003-03-14 18:07                 ` Jens Axboe
  0 siblings, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-14 17:59 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Fri, 2003-03-14 at 03:37, Jens Axboe wrote:
> Can you send me the output of -prcap?

# cdrecord -prcap
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.

Drive capabilities, per MMC-3 page 2A:

  Does read CD-R media
  Does write CD-R media
  Does read CD-RW media
  Does write CD-RW media
  Does not read DVD-ROM media
  Does not read DVD-R media
  Does not write DVD-R media
  Does not read DVD-RAM media
  Does not write DVD-RAM media
  Does support test writing

  Does read Mode 2 Form 1 blocks
  Does read Mode 2 Form 2 blocks
  Does read digital audio blocks
  Does restart non-streamed digital audio reads accurately
  Does support Buffer-Underrun-Free recording
  Does read multi-session CDs
  Does read fixed-packet CD media using Method 2
  Does not read CD bar code
  Does read R-W subcode information
  Does return R-W subcode de-interleaved and error-corrected
  Does read raw P-W subcode data from lead in
  Does return CD media catalog number
  Does return CD ISRC information
  Does support C2 error pointers
  Does deliver composite A/V data

  Does play audio CDs
  Number of volume control levels: 256
  Does support individual volume control setting for each channel
  Does support independent mute setting for each channel
  Does not support digital output on port 1
  Does not support digital output on port 2

  Loading mechanism type: tray
  Does support ejection of CD via START/STOP command
  Does not lock media on power up via prevent jumper
  Does allow media to be locked in the drive via PREVENT/ALLOW command
  Is not currently in a media-locked state
  Does not support changing side of disk
  Does not have load-empty-slot-in-changer feature
  Does not support Individual Disk Present feature

  Maximum read  speed:  7056 kB/s (CD  40x, DVD  5x)
  Current read  speed:  7056 kB/s (CD  40x, DVD  5x)
  Maximum write speed:  8467 kB/s (CD  48x, DVD  6x)
  Current write speed:  8467 kB/s (CD  48x, DVD  6x)
  Rotational control selected: CLV/PCAV
  Buffer size in KB: 4096
  Copy management revision supported: 0
  Number of supported write speeds: 8
  Write speed # 0:  8467 kB/s CLV/PCAV (CD  48x, DVD  6x)
  Write speed # 1:  7056 kB/s CLV/PCAV (CD  40x, DVD  5x)
  Write speed # 2:  5645 kB/s CLV/PCAV (CD  32x, DVD  4x)
  Write speed # 3:  4234 kB/s CLV/PCAV (CD  24x, DVD  3x)
  Write speed # 4:  3528 kB/s CLV/PCAV (CD  20x, DVD  2x)
  Write speed # 5:  2822 kB/s CLV/PCAV (CD  16x, DVD  2x)
  Write speed # 6:  1411 kB/s CLV/PCAV (CD   8x, DVD  1x)
  Write speed # 7:   706 kB/s CLV/PCAV (CD   4x, DVD  0x)


But... When I first ran -checkdrive this morning, it gave me good
results:

# cdrecord -checkdrive
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

But immediately afterwards:

# cdrecord -checkdrive
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
Supported modes:

Ejecting and reinserting the disc seems to restore things:

# cdrecord -checkdrive
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

Once:

# cdrecord -checkdrive
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4824A'
Revision       : '1.04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
Supported modes:

Notice the "version" and "response format" fields have changed.

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 17:59               ` Jeremy Fitzhardinge
@ 2003-03-14 18:07                 ` Jens Axboe
  2003-03-14 22:19                   ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-14 18:07 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> On Fri, 2003-03-14 at 03:37, Jens Axboe wrote:
> > Can you send me the output of -prcap?
> 
> # cdrecord -prcap
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> 
> Drive capabilities, per MMC-3 page 2A:
> 
>   Does read CD-R media
>   Does write CD-R media
>   Does read CD-RW media
>   Does write CD-RW media
>   Does not read DVD-ROM media
>   Does not read DVD-R media
>   Does not write DVD-R media
>   Does not read DVD-RAM media
>   Does not write DVD-RAM media
>   Does support test writing
> 
>   Does read Mode 2 Form 1 blocks
>   Does read Mode 2 Form 2 blocks
>   Does read digital audio blocks
>   Does restart non-streamed digital audio reads accurately
>   Does support Buffer-Underrun-Free recording
>   Does read multi-session CDs
>   Does read fixed-packet CD media using Method 2
>   Does not read CD bar code
>   Does read R-W subcode information
>   Does return R-W subcode de-interleaved and error-corrected
>   Does read raw P-W subcode data from lead in
>   Does return CD media catalog number
>   Does return CD ISRC information
>   Does support C2 error pointers
>   Does deliver composite A/V data
> 
>   Does play audio CDs
>   Number of volume control levels: 256
>   Does support individual volume control setting for each channel
>   Does support independent mute setting for each channel
>   Does not support digital output on port 1
>   Does not support digital output on port 2
> 
>   Loading mechanism type: tray
>   Does support ejection of CD via START/STOP command
>   Does not lock media on power up via prevent jumper
>   Does allow media to be locked in the drive via PREVENT/ALLOW command
>   Is not currently in a media-locked state
>   Does not support changing side of disk
>   Does not have load-empty-slot-in-changer feature
>   Does not support Individual Disk Present feature
> 
>   Maximum read  speed:  7056 kB/s (CD  40x, DVD  5x)
>   Current read  speed:  7056 kB/s (CD  40x, DVD  5x)
>   Maximum write speed:  8467 kB/s (CD  48x, DVD  6x)
>   Current write speed:  8467 kB/s (CD  48x, DVD  6x)
>   Rotational control selected: CLV/PCAV
>   Buffer size in KB: 4096
>   Copy management revision supported: 0
>   Number of supported write speeds: 8
>   Write speed # 0:  8467 kB/s CLV/PCAV (CD  48x, DVD  6x)
>   Write speed # 1:  7056 kB/s CLV/PCAV (CD  40x, DVD  5x)
>   Write speed # 2:  5645 kB/s CLV/PCAV (CD  32x, DVD  4x)
>   Write speed # 3:  4234 kB/s CLV/PCAV (CD  24x, DVD  3x)
>   Write speed # 4:  3528 kB/s CLV/PCAV (CD  20x, DVD  2x)
>   Write speed # 5:  2822 kB/s CLV/PCAV (CD  16x, DVD  2x)
>   Write speed # 6:  1411 kB/s CLV/PCAV (CD   8x, DVD  1x)
>   Write speed # 7:   706 kB/s CLV/PCAV (CD   4x, DVD  0x)
> 
> 
> But... When I first ran -checkdrive this morning, it gave me good
> results:
> 
> # cdrecord -checkdrive
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> 
> But immediately afterwards:
> 
> # cdrecord -checkdrive
> Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.7'
> Device type    : Removable CD-ROM
> Version        : 0
> Response Format: 1
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W4824A'
> Revision       : '1.04'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE VARIREC
> Supported modes:
> 
> Ejecting and reinserting the disc seems to restore things:

Really weird, I can't reproduce here at all. My drive gives the correct
result no matter if it's empty or loaded. Results are repeatable, too.
DMA or PIO, didn't matter.

> Notice the "version" and "response format" fields have changed.

Yeah, something is really screwed. Hmmm, let spend a bit of time with
this problem...

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14  9:24       ` 2.5.64-mm6: oops in elv_remove_request Jeremy Fitzhardinge
  2003-03-14 10:42         ` Jens Axboe
@ 2003-03-14 20:33         ` Jens Axboe
  2003-03-14 22:15           ` Jeremy Fitzhardinge
  1 sibling, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-14 20:33 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> With the version or cdrtools I compiled, I get an instant oops+lockup
> with the above command when running with anticipatory scheduler in
> 2.5.64-mm6 (hand written):
> 
> elv_remove_request
> ide_end_request
> cdrom_end_request
> cdrom_decode_status
> cdrom_newpc_intr


--- drivers/block/as-iosched.c~	2003-03-14 21:32:14.000000000 +0100
+++ drivers/block/as-iosched.c	2003-03-14 21:32:38.000000000 +0100
@@ -1341,6 +1341,8 @@
 			insert_here = ad->dispatch->prev;
 
 		list_add(&rq->queuelist, insert_here);
+		if (arq)
+			RB_CLEAR(&arq->rb_node);
 		
 		if (!list_empty(ad->dispatch) && rq_data_dir(rq) == READ
 			&& (ad->antic_status == ANTIC_WAIT_REQ

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 20:33         ` Jens Axboe
@ 2003-03-14 22:15           ` Jeremy Fitzhardinge
  2003-03-15  8:15             ` Jens Axboe
  0 siblings, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-14 22:15 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Fri, 2003-03-14 at 12:33, Jens Axboe wrote:
> On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> > With the version or cdrtools I compiled, I get an instant oops+lockup
> > with the above command when running with anticipatory scheduler in
> > 2.5.64-mm6 (hand written):
> > 
> > elv_remove_request
> > ide_end_request
> > cdrom_end_request
> > cdrom_decode_status
> > cdrom_newpc_intr
> 
> 
> --- drivers/block/as-iosched.c~	2003-03-14 21:32:14.000000000 +0100
> +++ drivers/block/as-iosched.c	2003-03-14 21:32:38.000000000 +0100
> @@ -1341,6 +1341,8 @@
>  			insert_here = ad->dispatch->prev;
>  
>  		list_add(&rq->queuelist, insert_here);
> +		if (arq)
> +			RB_CLEAR(&arq->rb_node);
>  		
>  		if (!list_empty(ad->dispatch) && rq_data_dir(rq) == READ
>  			&& (ad->antic_status == ANTIC_WAIT_REQ

No joy, I'm afraid.  Same crash.

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 18:07                 ` Jens Axboe
@ 2003-03-14 22:19                   ` Jeremy Fitzhardinge
  2003-03-15  8:15                     ` Jens Axboe
  0 siblings, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-14 22:19 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Fri, 2003-03-14 at 10:07, Jens Axboe wrote:
> > Ejecting and reinserting the disc seems to restore things:
> 
> Really weird, I can't reproduce here at all. My drive gives the correct
> result no matter if it's empty or loaded. Results are repeatable, too.
> DMA or PIO, didn't matter.
> 
> > Notice the "version" and "response format" fields have changed.
> 
> Yeah, something is really screwed. Hmmm, let spend a bit of time with
> this problem...

I just double-checked, and everything behaves as expected with ide-scsi.

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 22:15           ` Jeremy Fitzhardinge
@ 2003-03-15  8:15             ` Jens Axboe
  0 siblings, 0 replies; 22+ messages in thread
From: Jens Axboe @ 2003-03-15  8:15 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> On Fri, 2003-03-14 at 12:33, Jens Axboe wrote:
> > On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> > > With the version or cdrtools I compiled, I get an instant oops+lockup
> > > with the above command when running with anticipatory scheduler in
> > > 2.5.64-mm6 (hand written):
> > > 
> > > elv_remove_request
> > > ide_end_request
> > > cdrom_end_request
> > > cdrom_decode_status
> > > cdrom_newpc_intr
> > 
> > 
> > --- drivers/block/as-iosched.c~	2003-03-14 21:32:14.000000000 +0100
> > +++ drivers/block/as-iosched.c	2003-03-14 21:32:38.000000000 +0100
> > @@ -1341,6 +1341,8 @@
> >  			insert_here = ad->dispatch->prev;
> >  
> >  		list_add(&rq->queuelist, insert_here);
> > +		if (arq)
> > +			RB_CLEAR(&arq->rb_node);
> >  		
> >  		if (!list_empty(ad->dispatch) && rq_data_dir(rq) == READ
> >  			&& (ad->antic_status == ANTIC_WAIT_REQ
> 
> No joy, I'm afraid.  Same crash.

Too bad, then there are two bugs in there :/

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-14 22:19                   ` Jeremy Fitzhardinge
@ 2003-03-15  8:15                     ` Jens Axboe
  2003-03-16  2:54                       ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-15  8:15 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Fri, Mar 14 2003, Jeremy Fitzhardinge wrote:
> On Fri, 2003-03-14 at 10:07, Jens Axboe wrote:
> > > Ejecting and reinserting the disc seems to restore things:
> > 
> > Really weird, I can't reproduce here at all. My drive gives the correct
> > result no matter if it's empty or loaded. Results are repeatable, too.
> > DMA or PIO, didn't matter.
> > 
> > > Notice the "version" and "response format" fields have changed.
> > 
> > Yeah, something is really screwed. Hmmm, let spend a bit of time with
> > this problem...
> 
> I just double-checked, and everything behaves as expected with ide-scsi.

I can reliably crash the box with SG_IO -> ide-cd here, so I'm hoping
there's a connection. Need to move it to a box where nmi watchdog
actually works...

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-15  8:15                     ` Jens Axboe
@ 2003-03-16  2:54                       ` Jeremy Fitzhardinge
  2003-03-17  8:05                         ` Jens Axboe
  0 siblings, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-16  2:54 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Sat, 2003-03-15 at 00:15, Jens Axboe wrote:
> I can reliably crash the box with SG_IO -> ide-cd here, so I'm hoping
> there's a connection. Need to move it to a box where nmi watchdog
> actually works...

And wouldn't you know it - with -mm7 it seems to be working fine...

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-16  2:54                       ` Jeremy Fitzhardinge
@ 2003-03-17  8:05                         ` Jens Axboe
  2003-03-17 16:56                           ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 22+ messages in thread
From: Jens Axboe @ 2003-03-17  8:05 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton

On Sat, Mar 15 2003, Jeremy Fitzhardinge wrote:
> On Sat, 2003-03-15 at 00:15, Jens Axboe wrote:
> > I can reliably crash the box with SG_IO -> ide-cd here, so I'm hoping
> > there's a connection. Need to move it to a box where nmi watchdog
> > actually works...
> 
> And wouldn't you know it - with -mm7 it seems to be working fine...
                                       ^^
What is 'it'?

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-17  8:05                         ` Jens Axboe
@ 2003-03-17 16:56                           ` Jeremy Fitzhardinge
  2003-03-24 13:14                             ` Jens Axboe
  0 siblings, 1 reply; 22+ messages in thread
From: Jeremy Fitzhardinge @ 2003-03-17 16:56 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel List, Andrew Morton

On Mon, 2003-03-17 at 00:05, Jens Axboe wrote:
> On Sat, Mar 15 2003, Jeremy Fitzhardinge wrote:
> > On Sat, 2003-03-15 at 00:15, Jens Axboe wrote:
> > > I can reliably crash the box with SG_IO -> ide-cd here, so I'm hoping
> > > there's a connection. Need to move it to a box where nmi watchdog
> > > actually works...
> > 
> > And wouldn't you know it - with -mm7 it seems to be working fine...
>                                        ^^
> What is 'it'?

Sorry: I meant "cdrecord dev=/dev/hdc -checkdrive" returns correct
"supported modes".

I was wrong, however: it is still broken.  Sometimes it will return
version 2/format 2 results time after time (with supported modes), but
then I leave it for a while and it reverts to returning 0/1 results with
no supported modes.  There doesn't seem to be any rhyme or reason about
it: the "put a disc in and it works" trick doesn't work any more.

This is with 2.5.64-mm8.  What other details would help?  strace output
of cdrecord?

	J


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: 2.5.64-mm6: oops in elv_remove_request
  2003-03-17 16:56                           ` Jeremy Fitzhardinge
@ 2003-03-24 13:14                             ` Jens Axboe
  0 siblings, 0 replies; 22+ messages in thread
From: Jens Axboe @ 2003-03-24 13:14 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Linux Kernel List, Andrew Morton, Linus Torvalds

On Mon, Mar 17 2003, Jeremy Fitzhardinge wrote:
> On Mon, 2003-03-17 at 00:05, Jens Axboe wrote:
> > On Sat, Mar 15 2003, Jeremy Fitzhardinge wrote:
> > > On Sat, 2003-03-15 at 00:15, Jens Axboe wrote:
> > > > I can reliably crash the box with SG_IO -> ide-cd here, so I'm hoping
> > > > there's a connection. Need to move it to a box where nmi watchdog
> > > > actually works...
> > > 
> > > And wouldn't you know it - with -mm7 it seems to be working fine...
> >                                        ^^
> > What is 'it'?
> 
> Sorry: I meant "cdrecord dev=/dev/hdc -checkdrive" returns correct
> "supported modes".
> 
> I was wrong, however: it is still broken.  Sometimes it will return
> version 2/format 2 results time after time (with supported modes), but
> then I leave it for a while and it reverts to returning 0/1 results with
> no supported modes.  There doesn't seem to be any rhyme or reason about
> it: the "put a disc in and it works" trick doesn't work any more.
> 
> This is with 2.5.64-mm8.  What other details would help?  strace output
> of cdrecord?

Does this patch help at all? At least it solves the hard hangs (machine
double faults) in some circumstances. Linus, please apply. It may not be
this bug, but it's at least one bug.

===== drivers/ide/ide-cd.c 1.40 vs edited =====
--- 1.40/drivers/ide/ide-cd.c	Fri Mar 14 01:49:24 2003
+++ edited/drivers/ide/ide-cd.c	Mon Mar 24 14:08:15 2003
@@ -1749,8 +1749,8 @@
 	/*
 	 * pad, if necessary
 	 */
-	if (len) {
-		while (len) {
+	if (len > 0) {
+		while (len > 0) {
 			int pad = 0;
 
 			xferfunc(drive, &pad, sizeof(pad));

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2003-03-24 13:04 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-13 17:22 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Jeremy Fitzhardinge
2003-03-13 17:45 ` Jeremy Fitzhardinge
2003-03-13 17:54 ` Jens Axboe
2003-03-13 18:04   ` Jeremy Fitzhardinge
2003-03-13 19:02     ` Jens Axboe
2003-03-14  9:24       ` 2.5.64-mm6: oops in elv_remove_request Jeremy Fitzhardinge
2003-03-14 10:42         ` Jens Axboe
2003-03-14 10:06           ` Jeremy Fitzhardinge
2003-03-14 10:31           ` Jeremy Fitzhardinge
2003-03-14 11:37             ` Jens Axboe
2003-03-14 17:59               ` Jeremy Fitzhardinge
2003-03-14 18:07                 ` Jens Axboe
2003-03-14 22:19                   ` Jeremy Fitzhardinge
2003-03-15  8:15                     ` Jens Axboe
2003-03-16  2:54                       ` Jeremy Fitzhardinge
2003-03-17  8:05                         ` Jens Axboe
2003-03-17 16:56                           ` Jeremy Fitzhardinge
2003-03-24 13:14                             ` Jens Axboe
2003-03-14 20:33         ` Jens Axboe
2003-03-14 22:15           ` Jeremy Fitzhardinge
2003-03-15  8:15             ` Jens Axboe
2003-03-13 20:52 ` 2.5.64-mm6: kernel BUG at kernel/timer.c:155! Aravind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).