Menu

Can't install on Fedora Core 6

Help
2007-10-28
2013-06-13
  • Michael Hodgins

    Michael Hodgins - 2007-10-28

    Hi

    I'm using Fedora Core 6 and I'm trying to install the line6usb driver but I can't get it to work. Running make install gives me the following output.

    make -C /lib/modules/2.6.22.9-61.fc6/build SUBDIRS=/home/michael/Desktop/line6usb-0.7.2 modules
    make[1]: Entering directory `/usr/src/kernels/2.6.22.9-61.fc6-i686'
      CC [M]  /home/michael/Desktop/line6usb-0.7.2/pcm.o
    /home/michael/Desktop/line6usb-0.7.2/pcm.c: In function ‘snd_pod_trigger’:
    /home/michael/Desktop/line6usb-0.7.2/pcm.c:39: warning: implicit declaration of function ‘snd_pcm_group_for_each’
    /home/michael/Desktop/line6usb-0.7.2/pcm.c:39: error: expected ‘;’ before ‘{’ token
    /home/michael/Desktop/line6usb-0.7.2/pcm.c:33: warning: unused variable ‘err’
    /home/michael/Desktop/line6usb-0.7.2/pcm.c:32: warning: unused variable ‘s’
    /home/michael/Desktop/line6usb-0.7.2/pcm.c: At top level:
    /home/michael/Desktop/line6usb-0.7.2/pcm.c:235: fatal error: opening dependency file /home/michael/Desktop/line6usb-0.7.2/.pcm.o.d: Permission denied
    compilation terminated.
    make[2]: *** [/home/michael/Desktop/line6usb-0.7.2/pcm.o] Error 1
    make[1]: *** [_module_/home/michael/Desktop/line6usb-0.7.2] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.22.9-61.fc6-i686'
    make: *** [default] Error 2

    I'd really like to get this to work.

    Michael

     
    • Douglas Borg

      Douglas Borg - 2007-10-28

      1. Make sure you have the correct kernel headers installed. (not sure how to do this on fedora)
      2. Pull down the latest source from the svn repository. The 0.7.2 tarball on the website did not compile for me either (failed on pcm.c as well). To do that, make sure you have subversion (also known as svn) installed. Then make a new directory and from that directory run:
      svn co https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk

      then

      cd trunk

      3. Run your make install. Running "sudo make install" instead of just "make install" could also help if you are getting permissions errors.

      Hope this helps!

       
      • Michael Hodgins

        Michael Hodgins - 2007-10-29

        Hi

        Thanks for the help. I'll try this when I get home. I have the kernel headers installed already (sudo yum install kernel-headers I think) because I needed them for something else. I also have svn installed because I use it for my own programs (but I don't code in c).

        Many thanks

        Michael

         
        • Michael Hodgins

          Michael Hodgins - 2007-10-29

          Hi

          Well, that worked, kind of.

          I was able to compile, though I had to do it as root. Unfortunately, Plugging my Bass POD xt Live into my PC (or switching it on while plugged in) causes my PC to freeze after 4 or 5 seconds and I have to hit the reset button. Booting Linux while the pod it plugged in doesn't work either; it stops loading at the point it would normally bring up the x server (I normally get a flash of the nVidia logo but this doesn't happen).

          Michael

           
          • Markus Grabner

            Markus Grabner - 2007-10-29

            Are there any log messages related to the line6linux driver in the system log file (usually /var/log/messages)?

            Kind regards,
            Markus

             
    • Michael Hodgins

      Michael Hodgins - 2007-10-29

      I've found the following in my log files. The first entry seems to correspond with when I ran 'sudo make install' and thereafter with then I plugged the pod in for the first time. I should probably also point out that my Variax Bass was attached to the pod via a variax cable at the time, though I think the PC still crashes when this isn't the case (I need to check this).

      Oct 29 18:30:38 localhost kernel: usbcore: registered new interface driver line6usb
      Oct 29 18:32:20 localhost kernel: usb 4-1: new full speed USB device using uhci_hcd and address 2
      Oct 29 18:32:21 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
      Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live found
      Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live now attached
      Oct 29 18:32:21 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 29 18:32:21 localhost kernel: Line6 device 1: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 2: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 3: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 4: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 5: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 6: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 7: (not used)
      Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live found
      Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live now attached
      Oct 29 18:32:21 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 29 18:32:21 localhost kernel: Line6 device 1: BassPODxt Live:1
      Oct 29 18:32:21 localhost kernel: Line6 device 2: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 3: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 4: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 5: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 6: (not used)
      Oct 29 18:32:21 localhost kernel: Line6 device 7: (not used)
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: S0000: F0 7E 7F 06 01 F7       .~....
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0010: F7                      .
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: S0000: F0 7E 7F 06 01 F7       .~....
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
      Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0010: F7                      .
      Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.0: S0000: F0 00 01 0C 03 75 F7    .....u.
      Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.0: R0000: F2 00 01 0C 03 74 0B    .....t.
      Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.1: S0000: F0 00 01 0C 03 75 F7    .....u.

       
    • Markus Grabner

      Markus Grabner - 2007-10-29

      That was kind of telepathy :-)

      Do the line6usb entries stop at Oct 29 18:32:25, or do they continue? The lines containing "S0000" are polling messages sent to the device to check if it is available (according to a Line6 engineer there is no other way to do this). Once the device responded, no more polling messages are sent to it. Please check without Variax bass since this configuration has never been tried before with this driver as far as I know.

      Kind regards,
      Markus

       
    • Michael Hodgins

      Michael Hodgins - 2007-10-29

      Hi Markus

      I've unplugged the bass and then plugged the pod into my PC, and I'm sorry to say, it froze up again. Here is my log.

      Oct 29 21:01:28 localhost kernel: usb 4-1: new full speed USB device using uhci_hcd and address 2
      Oct 29 21:01:28 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
      Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live found
      Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live now attached
      Oct 29 21:01:29 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 29 21:01:29 localhost kernel: Line6 device 1: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 2: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 3: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 4: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 5: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 6: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 7: (not used)
      Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live found
      Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live now attached
      Oct 29 21:01:29 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 29 21:01:29 localhost kernel: Line6 device 1: BassPODxt Live:1
      Oct 29 21:01:29 localhost kernel: Line6 device 2: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 3: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 4: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 5: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 6: (not used)
      Oct 29 21:01:29 localhost kernel: Line6 device 7: (not used)
      Oct 29 21:01:29 localhost kernel: usbcore: registered new interface driver line6usb
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: S0000: F0 7E 7F 06 01 F7       .~....
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: R0010: F7                      .
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: S0000: F0 7E 7F 06 01 F7       .~....
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
      Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: R0010: F7                      .
      Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: S0000: F0 00 01 0C 03 75 F7    .....u.
      Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.1: S0000: F0 00 01 0C 03 75 F7    .....u.
      Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0000: F2 00 01 0C 03 74 0B 42 .....t.B
      Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0008: 61 73 73 69 63 73 20 20 assics 
      Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0010: 20 20 20 20 20 20 20 00        .
      Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0018: 00 00 00 00 00 00 00 00 ........
      Oct 29 21:04:26 localhost syslogd 1.4.1: restart.

       
      • Markus Grabner

        Markus Grabner - 2007-10-29

        Hm, that's weird. The last "sign of life" of the driver is the output of data received from the device, which I guess comes from line 333 in driver.c ("line6_dump_urb(urb);"). We need to track this down further to find the exact location in the code up to which the driver runs normally. Please try the following:
        *) set DO_DUMP_MIDI_SEND and DO_DUMP_MIDI_RECEIVE to 1 in config.h
        *) place several "CHECKPOINT;" macros in the code (preferably into empty lines so that the line numbers are not messed up and I can follow the log messages). The most interesting functions are pod.c:pod_startup_timeout, pod.c:pod_process_message, and driver.c:line6_data_received), in particular close to code which communicates with the device (I tried to use descriptive names for functions and variables - good luck :-)

        This will further increase the size of your log file, but might provide useful information to locate the problem.

        It would also be very interesting to know if the problem already exists with kernel version earlier than 2.6.22. Do you have some older machine to check this?

        Kind regards,
        Markus

         
    • Michael Hodgins

      Michael Hodgins - 2007-10-29

      Hi Markus

      I'll try these tomorrow evening and let you know what happens. Unfortunately, I only have the one Linux PC. I also have a Windows Laptop and I'll make such that the pod works on that - its been a few months since I last connected it to the laptop.

      Cheers

      Michael

       
    • Michael Hodgins

      Michael Hodgins - 2007-10-30

      Okay, so I've added the debug code and here are the log file entries. I haven't targeted any code in particular, I've just tried to find blank lines in the three methods that you mentioned. If you need further output, you can always direct me to add the macro to specific lines.

      Oct 30 20:34:17 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 2
      Oct 30 20:34:17 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
      Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live found
      Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live now attached
      Oct 30 20:34:17 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 30 20:34:17 localhost kernel: Line6 device 1: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 2: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 3: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 4: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 5: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 6: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 7: (not used)
      Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live found
      Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live now attached
      Oct 30 20:34:17 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 30 20:34:17 localhost kernel: Line6 device 1: BassPODxt Live:1
      Oct 30 20:34:17 localhost kernel: Line6 device 2: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 3: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 4: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 5: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 6: (not used)
      Oct 30 20:34:17 localhost kernel: Line6 device 7: (not used)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: S0000: F0 7E 7F 06 01 F7       .~....
      Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0010: F7                      .
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:335)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:337)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:342)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0008: 03 00 0B 00 00 01 00 04 ........
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:298)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:313)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0000: F7                      .
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: S0000: F0 7E 7F 06 01 F7       .~....
      Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0010: F7                      .
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:335)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:337)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:342)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0000: F2 7E 7F 06 02 00 01 0C .~......
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0008: 03 00 0B 00 00 01 00 04 ........
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:298)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:313)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
      Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0000: F7                      .
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
      Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
      Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
      Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
      Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.0: S0000: F0 00 01 0C 03 75 F7    .....u.
      Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
      Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
      Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
      Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.1: S0000: F0 00 01 0C 03 75 F7    .....u.
      Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
      Oct 30 20:34:21 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
      Oct 30 20:34:21 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
      Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.0: R0000: F2 00 01 0C 03 74 0B 42 .....t.B

      I really hope this helps.

      Michael

       
    • Michael Hodgins

      Michael Hodgins - 2007-10-30

      A further observation. Towards the end, we get output from lines 328 and 331 but I also copied the macro to lines 335, 337 and 342 (and more) which would suggest that lines 332 to 334 are the lines that cause the crash. I'll reproduce them here.

      #if DO_DUMP_URB_RECEIVE
          line6_dump_urb(urb);
      #endif

      I guess the obvious next step is to add the CHECKPOINT macro to the line6_dump_urb method (or is a function?). I'll post again after I've done this.

      Michael

       
      • Markus Grabner

        Markus Grabner - 2007-10-30

        It would be great if the error occurred in "line6_dump_urb(urb);" since this is just debugging stuff and can be easily removed. Just try to set DO_DEBUG_MESSAGES to 0 in config.h, then this code will not be compiled at all. Nevertheless, besides this "symptomatic approach" it would be helpful to know what causes this problem since it might also appear in code which can not be removed, so I would very much appreciate if you could track this down further.

        Kind regards,
        Markus

         
    • Michael Hodgins

      Michael Hodgins - 2007-10-30

      Hi Markus

      I've done what I said I would in my last post and add the macro to line6_dump_urb(). There are too many log entries to copy here but there is the last section:

      Oct 30 21:01:12 localhost kernel: line6usb 4-2:1.1: r0000: F7                      .
      Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
      Oct 30 21:01:12 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
      Oct 30 21:01:12 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
      Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
      Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
      Oct 30 21:01:13 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
      Oct 30 21:01:13 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:132)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:138)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
      Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)

      I also copied the macro to lines 152 and 156, so this gives us the following code:

      if(bytes > hexdumpsize)
        break;  /* buffer overflow */

      I'm going to try your last suggestion now, and I'll let you know what happens.

      Michael

       
    • Michael Hodgins

      Michael Hodgins - 2007-10-30

      Hi

      Okay, so to compile with debugging switched off I also had to remove the two occurrences of CHECKPOINT in playback.c (lines 297 and 299). Unfortunately, my PC still crashed when I switched the pod on. Obviously, I have no log entries to give other than the usual:

      Oct 30 21:43:57 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 2
      Oct 30 21:43:58 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
      Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live found
      Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live now attached
      Oct 30 21:43:58 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 30 21:43:58 localhost kernel: Line6 device 1: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 2: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 3: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 4: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 5: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 6: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 7: (not used)
      Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live found
      Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live now attached
      Oct 30 21:43:58 localhost kernel: Line6 device 0: BassPODxt Live:0
      Oct 30 21:43:58 localhost kernel: Line6 device 1: BassPODxt Live:1
      Oct 30 21:43:58 localhost kernel: Line6 device 2: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 3: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 4: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 5: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 6: (not used)
      Oct 30 21:43:58 localhost kernel: Line6 device 7: (not used)

      Not sure what to try next.

      Michael

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.