Hi,
I recently purchased an external USB CD-RW to use with my Sony Vaio 505TR.
The drive seems to be recognized and I can read data from it. I can also
pretend to write on a cd-r using the dummy mode of cdrecord. But when I
try without the dummy mode option the drive and laptop crash when cdrecord
goes into "Performing OPC" function.
I have since updated to the latest kernel (2.4.14) and tried also the
latest version of cdrTools (1.11) with the same outcome.

Here is some debugging info. Any help is appreciated.

This is the output from cdrecord, first in dummy (OK) then in real
(crash). This is with cdrecord 1.10, but it is the same with 1.11:

[root@localhost root]# cdrecord -dummy -dao dev=0,0,0 -audio
~greg/temp/1.wav ~greg/temp/2.wav
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.19
Using libscg version 'schily-0.5'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 1
Vendor_info    : 'MITSUMI '
Identifikation : 'CR-4802TE       '
Revision       : '2145'
Device seems to be: Philips CDD-522.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Starting to write CD/DVD at speed 4 in dummy mode for single session.
Last chance to quit, starting dummy write in 0 seconds. Operation starts.
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Track 01: Total bytes read/written: 35044800/35044800 (14900 sectors).
Track 02: Total bytes read/written: 32015424/32015424 (13612 sectors).


[root@localhost root]# cdrecord -v speed=2 -dao dev=0,0 -audio
~greg/temp/1.wav
~greg/temp/2.wav
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.19
Using libscg version 'schily-0.5'
atapi: 1
Device type    : Removable CD-ROM
Version        : 2
Response Format: 1
Vendor_info    : 'MITSUMI '
Identifikation : 'CR-4802TE       '
Revision       : '2145'
Device seems to be: Philips CDD-522.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1638400 = 1600 KB
FIFO size      : 4194304 = 4096 KB
Track 01: audio  33 MB (03:18.66) no preemp
Track 02: audio  30 MB (03:01.49) no preemp
Total size:      63 MB (06:20.16) = 28512 sectors
Lout start:      64 MB (06:22/12) = 28512 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -12900 (97:10/00)
  ATIP start of lead out: 359849 (79:59/74)
  speed low: 0 speed high: 4
  power mult factor: 4 5
  recommended erase/write power: 3
  A2 values: 00 00 00
Disk type:    unknown
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 331337
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
cdrecord: faio_wait_on_buffer for writer timed out.

***********************************************************************
This is some kernel debugging stuff:

ksymoops 2.4.1 on i586 2.4.14.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.14/ (default)
     -m /boot/System.map-2.4.14 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (regular_file): read_system_map stat /boot/System.map-2.4.14 failed
Warning (compare_maps): mismatch on symbol sb_be_quiet  , sb_lib says
c88547c4, /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o says c8852e64.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o entry
Warning (compare_maps): mismatch on symbol smw_free  , sb_lib says
c88547d0, /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o says c8852e70.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o entry
Warning (compare_maps): mismatch on symbol audio_devs  , sound says
c8847020, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469a0.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol midi_devs  , sound says
c8847090, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c8846a10.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol mixer_devs  , sound says
c8847038, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469b8.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_audiodevs  , sound says
c8847034, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469b4.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_midis  , sound says
c88470a8, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c8846a28.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_mixers  , sound says
c884704c, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469cc.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_synths  , sound says
c884708c, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c8846a0c.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol synth_devs  , sound says
c8847060, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469e0.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol usb_devfs_handle  , usbcore
says c8830454, /lib/modules/2.4.14/kernel/drivers/usb/usbcore.o says
c882ff74.  Ignoring /lib/modules/2.4.14/kernel/drivers/usb/usbcore.o entry
Unable to handle kernel paging request at virtual address 756e6970
c8825259
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c8825259>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: c629da00   ebx: c7db8200   ecx: 00000000   edx: c629da00
esi: 00000000   edi: 0000000a   ebp: 756e696c   esp: c7c13f48
ds: 0018   es: 0018   ss: 0018
Process khubd (pid: 78, stackpage=c7c13000)
Stack: c7f997e0 c7f997e0 c7db8200 c7f997e0 0000000a c51a9400 c88278da
c629da00
       c51a9800 00000000 c629da00 00000286 00000001 c020dbe4 c0259083
00030103
       00000001 c7db8200 c7c10003 c8827c0b c7db8200 00000000 c7c13fbc
c882e5e0
Call Trace: [<c88278da>] [<c8827c0b>] [<c882e5e0>] [<c883000c>]
[<c8827d87>]
   [<c8827d60>] [<c0105516>] [<c8827d60>]
Code: 8b 45 04 8d 5d 08 89 44 24 04 c1 f8 05 8b 4c 24 04 83 e1 1f

>>EIP; c8825259 <[usbcore]usb_connect+19/150>   <=====
Trace; c88278da <[usbcore]usb_hub_port_connect_change+16a/330>
Trace; c8827c0b <[usbcore]usb_hub_events+16b/2c0>
Trace; c882e5e0 <[usbcore].LC62+38/40>
Trace; c883000c <[usbcore]khubd_wait+4/c>
Trace; c8827d87 <[usbcore]usb_hub_thread+27/60>
Trace; c8827d60 <[usbcore]usb_hub_thread+0/60>
Trace; c0105516 <kernel_thread+26/1c0>
Trace; c8827d60 <[usbcore]usb_hub_thread+0/60>
Code;  c8825259 <[usbcore]usb_connect+19/150>
00000000 <_EIP>:
Code;  c8825259 <[usbcore]usb_connect+19/150>   <=====
   0:   8b 45 04                  mov    0x4(%ebp),%eax   <=====
Code;  c882525c <[usbcore]usb_connect+1c/150>
   3:   8d 5d 08                  lea    0x8(%ebp),%ebx
Code;  c882525f <[usbcore]usb_connect+1f/150>
   6:   89 44 24 04               mov    %eax,0x4(%esp,1)
Code;  c8825263 <[usbcore]usb_connect+23/150>
   a:   c1 f8 05                  sar    $0x5,%eax
Code;  c8825266 <[usbcore]usb_connect+26/150>
   d:   8b 4c 24 04               mov    0x4(%esp,1),%ecx
Code;  c882526a <[usbcore]usb_connect+2a/150>
  11:   83 e1 1f                  and    $0x1f,%ecx


12 warnings and 1 error issued.  Results may not be reliable.
***************************************
Also:

ksymoops 2.4.1 on i586 2.4.14.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.14/ (default)
     -m /boot/System.map-2.4.14 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (regular_file): read_system_map stat /boot/System.map-2.4.14 failed
Warning (compare_maps): mismatch on symbol sb_be_quiet  , sb_lib says
c88547c4, /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o says c8852e64.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o entry
Warning (compare_maps): mismatch on symbol smw_free  , sb_lib says
c88547d0, /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o says c8852e70.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sb_lib.o entry
Warning (compare_maps): mismatch on symbol audio_devs  , sound says
c8847020, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469a0.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol midi_devs  , sound says
c8847090, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c8846a10.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol mixer_devs  , sound says
c8847038, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469b8.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_audiodevs  , sound says
c8847034, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469b4.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_midis  , sound says
c88470a8, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c8846a28.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_mixers  , sound says
c884704c, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469cc.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol num_synths  , sound says
c884708c, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c8846a0c.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol synth_devs  , sound says
c8847060, /lib/modules/2.4.14/kernel/drivers/sound/sound.o says c88469e0.
Ignoring /lib/modules/2.4.14/kernel/drivers/sound/sound.o entry
Warning (compare_maps): mismatch on symbol usb_devfs_handle  , usbcore
says c8830454, /lib/modules/2.4.14/kernel/drivers/usb/usbcore.o says
c882ff74.  Ignoring /lib/modules/2.4.14/kernel/drivers/usb/usbcore.o entry
 <1>Unable to handle kernel paging request at virtual address 00040338
c01a54ca
*pde = 05952067
Oops: 0000
CPU:    0
EIP:    0010:[<c01a54ca>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
eax: c629db20   ebx: 00040338   ecx: 00000000   edx: 00040338
esi: c2cf6ae0   edi: c2cf6ae0   ebp: c2cf6ae0   esp: c63e1e4c
Warning (Oops_read): Code line not seen, dumping what data is available

>>EIP; c01a54ca <alloc_skb+1ca/2f0>   <=====


13 warnings and 1 error issued.  Results may not be reliable.

*************************************
                                            *Greg


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to