Hi!

Some more info.
I've tried to compile kernel using config from Linux Mint. Compilation of
the kernel source that comes with distro failed because of some missing
files. However, I was able to compile kernel 3.18 using config from Mint.
Sadly, the problem was still there.

After that I've tried to inspect versions of brasero and libs used in
different distros. It seems that Mint uses brasero 3.10.0 and Debian Uses
brasero 3.11.4. I've decided not to revert back just now (something else
may break). However, Mint uses libburn4 version 1.3.4 instead of 1.3.2 in
Debian. So I've downloaded and compiled 1.3.4 versions of libburn,
libisoburn and libisofs. After that I've tried brasero again and it failed,
but with different error. Seems to me that libburn/libisoburn is the main
cause of problems.

2015-06-23 19:01 GMT+03:00 Дмитрий Нестеркин <undelb...@gmail.com>:

> Hello.
>
> Well, bad news.
> No kernel version I've tested worked. I've tried: 3.18.16, 3.19.8, 4.0.6.
> All kernels were compiled with .config file currently present in my system
> (default one that comes with distro).
> All kernel tests ended with "[5 21 02] Illegal request. Invalid address
> for write"
> Debian Live DVD does not work either.
>
> Kernel modules you requested:
> dmitry@D-NESTERKIN:~$ sudo lsmod |grep usb
> [sudo] password for dmitry:
> usbhid                 44460  0
> btusb                  29721  0
> bluetooth             374429  1 btusb
> hid                   102264  2 hid_generic,usbhid
> usb_storage            56215  0
> scsi_mod              191405  5 sg,usb_storage,libata,sd_mod,sr_mod
> usbcore               195340  7
> btusb,uvcvideo,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd
> usb_common             12440  1 usbcore
> dmitry@D-NESTERKIN:~$
>
> dmitry@D-NESTERKIN:~$ sudo lsmod |grep scsi
> scsi_mod              191405  5 sg,usb_storage,libata,sd_mod,sr_mod
> dmitry@D-NESTERKIN:~$
>
> dmitry@D-NESTERKIN:~$ sudo lsmod |grep ata
> libata                177457  2 ahci,libahci
> scsi_mod              191405  5 sg,usb_storage,libata,sd_mod,sr_mod
> dmitry@D-NESTERKIN:~$
>
> I've also tried to install firmware-linux-free and firmware-linux-nonfree
> packages with no luck.
>
>
> 2015-06-23 10:23 GMT+03:00 Дмитрий Нестеркин <undelb...@gmail.com>:
>
>> One more: when I first booted with new kernel, some resets were logged:
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    2.468462] usb 1-3.3: new
>> high-speed USB device number 4 using xhci_hcd
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    2.559042] usb 1-3.3: New USB
>> device found, idVendor=093b, idProduct=0023
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    2.559047] usb 1-3.3: New USB
>> device strings: Mfr=85, Product=57, SerialNumber=44
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    2.559050] usb 1-3.3: Product:
>> PLEXTOR USB Storage Adapter
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    2.559053] usb 1-3.3:
>> Manufacturer: PLEXTOR
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    2.559055] usb 1-3.3:
>> SerialNumber: ABC10CA1F554
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    5.422571] usb 1-3.3: reset
>> high-speed USB device number 4 using xhci_hcd
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    6.491309] usb 1-3.3: reset
>> high-speed USB device number 4 using xhci_hcd
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    7.559969] usb 1-3.3: reset
>> high-speed USB device number 4 using xhci_hcd
>> Jun 23 10:09:34 D-NESTERKIN kernel: [    8.628865] usb 1-3.3: reset
>> high-speed USB device number 4 using xhci_hcd
>>
>>
>> 2015-06-23 10:21 GMT+03:00 Дмитрий Нестеркин <undelb...@gmail.com>:
>>
>>> Kernel 3.18.16 gives me exactly the same error.
>>> At the moment, I need to do some work stuff, but I'll be doing more
>>> experiments ASAP.
>>>
>>> 2015-06-23 0:42 GMT+03:00 Дмитрий Нестеркин <undelb...@gmail.com>:
>>>
>>>> I've downloaded 3.18.16 longterm kernel and plan to compile it on my
>>>> system.
>>>> Linux Mint (which is OK) uses kernel 3.13 and fedora 22 uses kernel 4.0
>>>> (also ok).
>>>> In fact there is a lot of UAS/USB bugs reported for kernel 3.16 (and
>>>> some for 3.15 and 3.17).
>>>>
>>>> Controllers you mentioned are USB 3.0. My drive is definitely USB 2.0.
>>>> However, if it looks like a duck, swim like a duck and quacks like a
>>>> duck... I'll definitely need to try new kernel.
>>>>
>>>> 2015-06-22 21:34 GMT+03:00 Thomas Schmitt <scdbac...@gmx.net>:
>>>>
>>>>> Hi,
>>>>>
>>>>> > I have found some interesting discussion about UAS bugs in kernel
>>>>> 3.16:
>>>>> > https://lists.debian.org/debian-kernel/2014/07/msg00318.html
>>>>>
>>>>> UAS ... google ... wikipedia ...
>>>>> Well, it would be the natural way to perform SG_IO with a USB
>>>>> device. Burn programs issue SCSI commands and UAS is designed
>>>>> for transporting them. Wikipedia has:
>>>>> "Version 3.18-rc4 of the Linux kernel disables buggy UAS
>>>>>  implementation in xHCI host controllers Etron EJ168,
>>>>>  ASMedia ASM1042,[19] and VIA VL80x.[20]"
>>>>>
>>>>> But i understand that UAS is quite a new protocol.
>>>>> Is your drive's USB controller young enough ? (Actually
>>>>> i assume the drive is SATA or IDE and the box has a
>>>>> USB-SATA or USB-IDE bridge bridge.)
>>>>>
>>>>>
>>>>> > An here comes the output from my kern.log:
>>>>> > Jun 22 15:12:02 D-NESTERKIN kernel: [    1.508233] usb 3-2: Product:
>>>>> PLEXTOR
>>>>> > USB Storage Adapter
>>>>>
>>>>> They really give few clue about age and version of the
>>>>> drive-side USB controller.
>>>>> I googled for "PLEXTOR USB Storage Adapter" "UAS" and found
>>>>> nearly nothing. Descriptions of UAS refer to hard disks and
>>>>> SSDs, rather than optical drives. But - as stated - i expect
>>>>> it to depend on the USB-SATA or USB-IDE controller of the
>>>>> drive box.
>>>>>
>>>>>
>>>>> In any case, recent changes in USB are obvious suspects.
>>>>> Now i'm curious whether the working and non-working Linuxes
>>>>> show a pattern with kernel revisions.
>>>>>
>>>>>
>>>>> Have a nice day :)
>>>>>
>>>>> Thomas
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> С уважением,
>>>> Нестеркин Дмитрий
>>>>
>>>
>>>
>>>
>>> --
>>> С уважением,
>>> Нестеркин Дмитрий
>>>
>>
>>
>>
>> --
>> С уважением,
>> Нестеркин Дмитрий
>>
>
>
>
> --
> Best regards,
> Dmitry Nesterkin
>



-- 
С уважением,
Нестеркин Дмитрий
mint ~ # aptitude show brasero
Package: brasero                         
State: installed
Automatically installed: no
Version: 3.10.0-0ubuntu1
Priority: optional
Section: gnome
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 1,092 k
Depends: libbrasero-media3-1 (= 3.10.0-0ubuntu1), libc6 (>= 2.4), libcairo2 (>=
         1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3),
         libgstreamer-plugins-base1.0-0 (>= 1.0.0), libgstreamer1.0-0 (>=
         1.0.0), libgtk-3-0 (>= 3.0.0), libice6 (>= 1:1.0.0),
         libnautilus-extension1a (>= 1:2.91), libpango-1.0-0 (>= 1.14.0),
         libsm6, libtotem-plparser18 (>= 3.10.0), libxml2 (>= 2.7.4),
         gstreamer1.0-plugins-base (>= 0.11.92), gnome-icon-theme, gvfs,
         brasero-common (= 3.10.0-0ubuntu1)
Recommends: brasero-cdrkit, yelp
Suggests: vcdimager, libdvdcss2
Conflicts: nautilus-cd-burner, nautilus-cd-burner, brasero
Description: CD/DVD burning application for GNOME
 Brasero is a simple application to burn, copy and erase CD and DVD media:
 audio, video or data. It features among other things: 
 * On-the-fly burning 
 * Multisession support 
 * On-the-fly conversion of music playlists in all formats supported by
   GStreamer 
   
 This package contains the main binary, the burning plugins and the nautilus
 extension. 
 
 The following packages, if installed, will provide Brasero with added
 functionality: 
 * cdrdao to burn combined data/audio CDs and for byte-to-byte copy 
 * GStreamer backends to support more audio formats 
 * vcdimager to create VCDs or SVCDs 
 * libdvdcss2 to copy encrypted DVDs
Homepage: http://www.gnome.org/projects/brasero/



mint ~ # aptitude show growisofs
Package: growisofs                       
State: installed
Automatically installed: no
Version: 7.1-10build1
Priority: optional
Section: video
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 217 k
Depends: libc6 (>= 2.14), libstdc++6 (>= 4.1.1)
Conflicts: growisofs
Breaks: dvd+rw-tools (< 7.1-9), dvd+rw-tools (< 7.1-9)
Replaces: dvd+rw-tools (< 7.1-9), dvd+rw-tools (< 7.1-9)
Description: DVD+-RW/R recorder
 growisofs is a general purpose DVD recording program that supports: 
 
 * random-access media (DVD+RW, DVD-RAM, plain files, hard disk partitions) 
 * mastering multisession DVD media (DVD+R, DVD-R/-RW, and Blu-ray Disc) 
 * first-/single-session recording of arbitrary pre-mastered image (formatted as
   UDF, ISO9660 or any other file system, if formatted at all) to all supported
   DVD media types. 
   
 growisofs is able to either write pre-created ISO images or create them
 on-the-fly (by calling genisoimage). 
 
 This package also contains dvd+rw-format, a utility to format a DVD+RW media.
Homepage: http://fy.chalmers.se/~appro/linux/DVD+RW/


mint ~ # aptitude show libburn4
Package: libburn4                        
State: installed
Automatically installed: no
Version: 1.3.4-0ubuntu1
Priority: optional
Section: libs
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 344 k
Depends: libc6 (>= 2.14)
Conflicts: libburn4
Description: library to provide CD/DVD writing functions
 libburn is a library for reading, mastering and writing optical discs.
 Supported media are: CD-R, CD-RW, DVD-RAM, DVD+RW, DVD+R, DVD+R/DL, DVD-RW,
 DVD-R, DVD-R/DL, BD-R, BD-RE.
Homepage: http://libburnia-project.org




mint ~ # dpkg -l |grep brasero-cdrkit
ii  brasero-cdrkit                              3.10.0-0ubuntu1           amd64 
       cdrkit extensions for the Brasero burning application
mint ~ # dpkg -l |grep yelp
ii  libyelp0                                    3.10.2.1+rebecca          amd64 
       Library for the GNOME help browser
ii  yelp                                        3.10.2.1+rebecca          amd64 
       Help browser for GNOME
ii  yelp-xsl                                    3.10.1-1                  all   
       XSL stylesheets for the yelp help browser
mint ~ # dpkg -l |grep libdvdcss2
ii  libdvdcss2                                  1.2.13-0                   
amd64        library designed for accessing DVDs

mint ~ # dpkg -l |grep libburn
ii  libburn4                                    1.3.4-0ubuntu1                  
                    amd64        library to provide CD/DVD writing functions

mint ~ # dpkg -l |grep growisofs
ii  growisofs                                   7.1-10build1                    
                    amd64        DVD+-RW/R recorder


mint ~ # 
mint ~ # lsmod |grep scsi
scsi_dh                14882  1 dm_multipath
mint ~ # lsmod |grep ata
mint ~ # lsmod |grep usb
btusb                  32412  0 
bluetooth             391136  22 bnep,btusb,rfcomm
usbhid                 52659  0 
hid                   106148  2 hid_generic,usbhid
usb_storage            62209  1 
mint ~ # 


Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1739)
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_set_output_size_for_current_track
BraseroBurnURI stopping
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_session_output_size
BraseroBurnURI output set (IMAGE) image = /tmp/brasero_tmp_DCQU0X.bin toc = none
BraseroBurnURI called brasero_job_get_session_output_size
BraseroBurnURI called brasero_job_get_action
BraseroBurnURI called brasero_job_get_current_track
BraseroBurnURI no burn:// URI found
BraseroBurnURI stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_set_output_size_for_current_track
BraseroLocalTrack stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_session_output_size
BraseroLocalTrack output set (IMAGE) image = /tmp/brasero_tmp_KKQU0X.bin toc = none
BraseroLocalTrack called brasero_job_get_session_output_size
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_current_track
BraseroLocalTrack no remote URIs
BraseroLocalTrack stopping
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_flags
BraseroChecksumImage Dummy operation, skipping
BraseroChecksumImage called brasero_job_get_current_track
BraseroChecksumImage called brasero_job_get_action
BraseroChecksumImage called brasero_job_get_flags
BraseroChecksumImage Dummy operation, skipping
BraseroLibburn called brasero_job_get_action
BraseroLibburn called brasero_job_get_action
BraseroLibburn unsupported operation
BraseroLibburn deactivating
BraseroLibburn called brasero_job_get_action
BraseroLibburn called brasero_job_get_action
BraseroLibburn called brasero_job_get_device
BraseroLibburn Drive (/dev/sr0) init result = 1
BraseroLibburn called brasero_job_get_flags
BraseroLibburn called brasero_job_get_media
BraseroLibburn called brasero_job_get_fd_in
BraseroLibburn called brasero_job_get_tracks
BraseroLibburn Setting multi 0
BraseroLibburn Setting burnproof 1
BraseroLibburn Setting dummy 1
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn burn_drive_convert_fs_adr( /dev/sr0 )
BraseroLibburn Writing
BraseroLibburn called brasero_job_set_dangerous
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn burn_drive_is_enumerable_adr( /dev/sr0 ) is true
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn Async START UNIT succeeded after 0.1 seconds
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn mmc_set_streaming: end_lba=2298495 ,  r=5540000 ,  w=11080
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn Allocating buffer via mmap()
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn dvd/bd Profile= 11h , obs= 32768 , obs_pad= 1
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn DVD pre-track 01 : get_nwa(0), ret= 1 , d->nwa= 0
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn called brasero_job_get_session_output_size
BraseroLibburn called brasero_job_set_current_action
BraseroLibburn SCSI command 2Ah yielded host problem: 0x7 SG_ERR_DID_ERROR (Internal error detected in the host adapter)
BraseroLibburn Something went wrong
BraseroLibburn called brasero_job_error
BraseroLibburn finished with an error
BraseroLibburn asked to stop because of an error
	error		= 15
	message	= "Во время записи на диск произошла ошибка"
BraseroLibburn stopping
Session error : Во время записи на диск произошла ошибка (brasero_burn_record brasero-burn.c:2856)

Reply via email to