Hi,
I'm trying to modify whiteheat.c code to make it to work with kernel 2.6.11
and up.
Initially with Fedora core 4, there was a firmware download problem but
commenting the lines "goto no_firmware" it started working.
However as soon as I quit microcom (for example) the PC locks up.
Then I installed 2.6.12.3 kernel and the PC locks up problem was gone but
the devices connected to the Whiteheat hub stop responding.

Here is the messages log:

kernel: Debug: sleeping function called from invalid context at
mm/slab.c:2093

kernel: in_atomic():0, irqs_disabled():1

kernel:  [<c015f3d3>] __kmalloc+0x83/0x90

kernel:  [<de99f9f2>] ohci_urb_enqueue+0xa2/0x5a0 [ohci_hcd]

kernel:  [<de99eeea>] td_submit_urb+0x14a/0x390 [ohci_hcd]

kernel:  [<c021762f>] kobject_get+0xf/0x20

kernel:  [<c02e8e98>] hcd_submit_urb+0x288/0x3b0

kernel:  [<ded96fb0>] command_port_write_callback+0x0/0x70 [whiteheat]

kernel:  [<c02ea57b>] usb_submit_urb+0x1eb/0x250

kernel:  [<ded97d56>] firm_send_command+0xd6/0x4a0 [whiteheat]

kernel:  [<c0142a80>] autoremove_wake_function+0x0/0x50

kernel:  [<ded98177>] firm_close+0x27/0x30 [whiteheat]

kernel:  [<ded95d4c>] whiteheat_close+0x7c/0x2d0 [whiteheat]

kernel:  [<deab9527>] serial_close+0x87/0xe0 [usbserial]

kernel:  [<c026788c>] tty_fasync+0x5c/0x100

kernel:  [<c02668ba>] release_dev+0x15a/0xa30

kernel:  [<c019deca>] dput+0x16a/0x6b0

kernel:  [<c0180a15>] __fput+0xc5/0x140

kernel:  [<c016b915>] remove_vm_struct+0xe5/0x190

kernel:  [<c0166922>] free_pgtables+0x92/0xc0

kernel:  [<c016e2ea>] exit_mmap+0x19a/0x250

kernel:  [<c0267797>] tty_release+0x7/0x10

kernel:  [<c01809a9>] __fput+0x59/0x140

kernel:  [<c017ee58>] filp_close+0x58/0x90

kernel:  [<c0125597>] put_files_struct+0x67/0xe0

kernel:  [<c0126928>] do_exit+0x218/0x690

kernel:  [<c01518c7>] audit_syscall_entry+0x177/0x1b0

kernel:  [<c0268490>] tty_ioctl+0x0/0x640

kernel:  [<c0126e18>] do_group_exit+0x38/0x1e0

kernel:  [<c0108809>] do_syscall_trace+0x109/0x13d

kernel:  [<c0103b95>] syscall_call+0x7/0xb

kernel: drivers/usb/serial/whiteheat.c:1030:
spin_lock(drivers/usb/serial/whiteheat.c:c07fbc80) already locked by
drivers/usb/serial/whiteheat.c/679    
kernel: drivers/usb/serial/whiteheat.c:698:
spin_unlock(drivers/usb/serial/whiteheat.c:c07fbc80) not locked       



Any help?
Thank you.

Giorgio                                      


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to