Messages in this thread | | | Subject | PROBLEM: cdrecord fails with "Cannot send SCSI command via IOCTL" with Kernel 2.2.1 | Date | Mon, 22 Feb 1999 00:53:37 +0000 | From | Daniel SILVERSTONE <> |
| |
I am sorry if the format of this message is not ideal but it is being sent to both the linux-kernel mailing list, and to the author of cdrecord.
Here we go...
[2.]
Up until today I have been using kernel 2.0.35 from SuSE 6.0 and using cdrecord perfectly to write cd's to my yamaha cdrw drive.
When I boot with a kernel 2.2.1 I cannot write to the drive at all (not even in dummy mode) due to the error:
cdrecord: Cannot allocate memory. Cannot send SCSI cmd via ioctl
This only happens with kernel 2.2.1 and if I boot back in 2.0.35SuSE it's fine.
[3.] memory scsi ioctl [4.] Linux version 2.2.1 (root@lang-lgb6) (gcc version 2.7.2.3) #5 Mon Feb 22 00:04:27 GMT 1999 [5.] Not an OOPS [6.] The command I used was: mkisofs -J -r -v -V mooooo -o /otherdrive/mooo.image * to make the iso image. (from /root/) it made a 30mb image then I used cdrecord dev=0,3,0 -v fs=1024k -dummy speed=4 -eject mooo.image to write the file out (from /otherdrive/)
The output from cdrecord was:
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jvrg Schilling TOC Type: 1 = CD-ROM scsidev: '0,3,0' scsibus: 0 target: 3 lun: 0 atapi: -1 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : SYNC Vendor_info : 'YAMAHA ' Identifikation : 'CRW4416S ' Revision : '1.0b' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO Track 01: data 62 MB Total size: 71 MB (07:06.24) = 31968 sectors Lout start: 72 MB (07:08/18) = 31968 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 6 Is not unrestricted Is not erasable ATIP start of lead in: -11982 (97:22/18) ATIP start of lead out: 333225 (74:05/00) Disk type unknown Manufacturer unknown (not in table) Blocks total: 333225 Blocks current: 333225 Blocks remaining: 301257 Starting to write CD/DVD at speed 4 in dummy mode for single session. Last chance to quit, starting dummy write in 1 seconds. Waiting for reader process to fill input-buffer ... input-buffer ready. Starting new track at sector: 0 cdrecord: Cannot allocate memory. Cannot send SCSI cmd via ioctl
cdrecord leaves an extra process running which after a long while comes up with the message: cdrecord: faio_wait_on_buffer for writer timed out. and then closes the other process The drive remains locked and unmountable
[7] [7.1] Output of scripts/ver_linux is:
Linux lang-lgb6 2.2.1 #5 Mon Feb 22 00:04:27 GMT 1999 i586 unknown Kernel modules 2.1.85 Gnu C 2.7.2.3 Binutils 2.9.1.0.15 Linux C Library x 1 root root 2478585 Jan 14 21:29 /lib/libc.so.6 Dynamic linker ldd (GNU libc) 2.0.7 Procps 1.2.7 Mount 2.9 Net-tools (1998-06-29) Kbd 0.96 Sh-utils 1.12
[7.2] /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 8 model name : AMD-K6(tm) 3D processor stepping : 12 cpu MHz : 350.803447 fdiv_bug : no hlt_bug : no sep_bug : no f00f_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 sep pge mmx 3dnow bogomips : 699.60
[7.3] /proc/modules dummy0 720 1 (autoclean) [7.4] /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: TOSHIBA Model: CD-ROM XM-5701TA Rev: 1557 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: YAMAHA Model: CRW4416S Rev: 1.0b Type: CD-ROM ANSI SCSI revision: 02
/proc/scsi/ncr53c8xx/0 General information: Chip NCR53C875, device id 0xf, revision id 0x3 IO port address 0xec00, IRQ number 9 Using memory mapped IO at virtual address 0xc4800000 Synchronous period factor 12, max commands per lun 32
(Card is a DaWiControl PCI SCSI3 DC-2975
[7.5] /proc/meminfo total: used: free: shared: buffers: cached: Mem: 64704512 59924480 4780032 10809344 11870208 40464384 Swap: 131600384 0 131600384 MemTotal: 63188 kB MemFree: 4668 kB MemShared: 10556 kB Buffers: 11592 kB Cached: 39516 kB SwapTotal: 128516 kB SwapFree: 128516 kB /proc/apm (just in case it helps - the apm compilation has 2 warnings too) 1.9 1.2 0x07 0x01 0xff 0x80 -1% -1 ?
/proc/slabinfo (as it has something to do with memory) slabinfo - version: 1.0 kmem_cache 28 42 tcp_tw_bucket 0 0 tcp_bind_bucket 20 127 tcp_open_request 0 0 skbuff_head_cache 0 25 sock 53 66 dquot 0 0 filp 275 294 signal_queue 0 0 buffer_head 11612 13482 mm_struct 26 62 vm_area_struct 406 567 dentry_cache 749 775 files_cache 25 42 uid_cache 3 127 size-131072 0 0 size-65536 0 0 size-32768 0 0 size-16384 1 1 size-8192 7 7 size-4096 0 2 size-2048 32 40 size-1024 11 16 size-512 24 32 size-256 14 28 size-128 373 400 size-64 74 84 size-32 257 315 slab_cache 25 63
[X.]
I can't think of anything else which could help.
Please e-mail me when things have been sorted. It is a pain to reboot between kernels when I want to write CD's but there is no way of getting my sound card (PCI PnP one) to work happily with 2.0 and at the moment I can't write with 2.2
Daniel Silverstone
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |