You are not logged in.

#1 2008-06-02 16:55:14

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Arch kernel is wrong or ubuntu kernel is great

I have ZXDSL 852 v2
lsusb show:
0483:0138 SGS Thomson Microelectronics
It require unicorn_usb_eth module
I compiled it and modprobed.
When I connecting modem i have this error on dmesg:

usb 4-3.3: new full speed USB device using ehci_hcd and address 6
usb 4-3.3: configuration #1 chosen from 1 choice
unicorn_usb: rapi init called
unicorn_usb: PROTOCOL=pppoatm,VPI=0,VCI=35,ENCAPS=vc-encaps
unicorn_usb: MAC=00:d4:65:72:2e:ad
BUG: unable to handle kernel NULL pointer dereference at 0000001c
IP: [<c0123137>] set_user_nice+0x17/0x1b0
*pde = 00000000 
Oops: 0000 [#1] PREEMPT SMP 
Modules linked in: unicorn_usb_eth(+) bluetooth usb_storage usblp parport_pc serio_raw ns558 psmouse ppdev nvidia(P) lp parport analog ppp_generic via_ircc irda crc_ccitt i2c_viapro i2c_core ehci_hcd uhci_hcd usbcore via_agp agpgart shpchp pci_hotplug sg evdev thermal processor fan button battery ac snd_via82xx gameport snd_ac97_codec snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus via_rhine slhc mii rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic pata_via libata scsi_mod dock

Pid: 4160, comm: UNICORN-SAIF Tainted: P         (2.6.25-ARCH #1)
EIP: 0060:[<c0123137>] EFLAGS: 00010296 CPU: 0
EIP is at set_user_nice+0x17/0x1b0
EAX: 00000000 EBX: f0d38e40 ECX: 00000000 EDX: fffffffb
ESI: 00000000 EDI: fffffffb EBP: 00000000 ESP: ef319fac
 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process UNICORN-SAIF (pid: 4160, ti=ef318000 task=ee7c3200 task.ti=ef318000)
Stack: ef319fcc ffffffff f0d38e40 ee6aaf80 ee6aaf90 00000000 f0d38fef f0d4fd2e 
       00000000 00000000 0000007b f0d38e40 00000000 00000000 c0105da3 ee6aaf80 
       00000000 00000000 00000000 04438b00 8970408b 
Call Trace:
 [<f0d38e40>] start_fn+0x0/0x260 [unicorn_usb_eth]
 [<f0d38fef>] start_fn+0x1af/0x260 [unicorn_usb_eth]
 [<f0d38e40>] start_fn+0x0/0x260 [unicorn_usb_eth]
 [<c0105da3>] kernel_thread_helper+0x7/0x14
 =======================
Code: 6c 24 0c 83 c4 10 c3 8b 55 00 89 d8 e8 d3 48 1e 00 eb 9c 90 83 ec 18 89 74 24 0c 89 c6 89 7c 24 10 89 d7 89 5c 24 08 89 6c 24 14 <8b> 40 1c 83 e8 78 39 d0 74 05 83 fa ec 7d 1a 8b 5c 24 08 8b 74 
EIP: [<c0123137>] set_user_nice+0x17/0x1b0 SS:ESP 0068:ef319fac
---[ end trace 4316122f1577e26c ]---
BUG: unable to handle kernel NULL pointer dereference at 0000001c
IP: [<c0123137>] set_user_nice+0x17/0x1b0
*pde = 00000000 
Oops: 0000 [#2] PREEMPT SMP 
Modules linked in: unicorn_usb_eth(+) bluetooth usb_storage usblp parport_pc serio_raw ns558 psmouse ppdev nvidia(P) lp parport analog ppp_generic via_ircc irda crc_ccitt i2c_viapro i2c_core ehci_hcd uhci_hcd usbcore via_agp agpgart shpchp pci_hotplug sg evdev thermal processor fan button battery ac snd_via82xx gameport snd_ac97_codec snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus via_rhine slhc mii rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic pata_via libata scsi_mod dock

Pid: 4162, comm: UNICORN-SM00 Tainted: P      D  (2.6.25-ARCH #1)
EIP: 0060:[<c0123137>] EFLAGS: 00010296 CPU: 0
EIP is at set_user_nice+0x17/0x1b0
EAX: 00000000 EBX: f0d38e40 ECX: 00000000 EDX: fffffff9
ESI: 00000000 EDI: fffffff9 EBP: 00000000 ESP: ee5e5fac
 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process UNICORN-SM00 (pid: 4162, ti=ee5e4000 task=ef0f6600 task.ti=ee5e4000)
Stack: ee5e5fcc ffffffff f0d38e40 ee5a6d80 ee5a6d90 00000000 f0d38fef f0d4fd2e 
       00000000 00000000 0000007b f0d38e40 00000000 00000000 c0105da3 ee5a6d80 
       00000000 00000000 00000000 011e7c80 8a6e7501 
Call Trace:
 [<f0d38e40>] start_fn+0x0/0x260 [unicorn_usb_eth]
 [<f0d38fef>] start_fn+0x1af/0x260 [unicorn_usb_eth]
 [<f0d38e40>] start_fn+0x0/0x260 [unicorn_usb_eth]
 [<c0105da3>] kernel_thread_helper+0x7/0x14
 =======================
Code: 6c 24 0c 83 c4 10 c3 8b 55 00 89 d8 e8 d3 48 1e 00 eb 9c 90 83 ec 18 89 74 24 0c 89 c6 89 7c 24 10 89 d7 89 5c 24 08 89 6c 24 14 <8b> 40 1c 83 e8 78 39 d0 74 05 83 fa ec 7d 1a 8b 5c 24 08 8b 74 
EIP: [<c0123137>] set_user_nice+0x17/0x1b0 SS:ESP 0068:ee5e5fac
---[ end trace 4316122f1577e26c ]---
BUG: unable to handle kernel NULL pointer dereference at 0000001c
IP: [<c0123137>] set_user_nice+0x17/0x1b0
*pde = 00000000 
Oops: 0000 [#3] PREEMPT SMP 
Modules linked in: unicorn_usb_eth(+) bluetooth usb_storage usblp parport_pc serio_raw ns558 psmouse ppdev nvidia(P) lp parport analog ppp_generic via_ircc irda crc_ccitt i2c_viapro i2c_core ehci_hcd uhci_hcd usbcore via_agp agpgart shpchp pci_hotplug sg evdev thermal processor fan button battery ac snd_via82xx gameport snd_ac97_codec snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus via_rhine slhc mii rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic pata_via libata scsi_mod dock

Pid: 4163, comm: UNICORN-INTR Tainted: P      D  (2.6.25-ARCH #1)
EIP: 0060:[<c0123137>] EFLAGS: 00010296 CPU: 0
EIP is at set_user_nice+0x17/0x1b0
EAX: 00000000 EBX: f0d38e40 ECX: 00000000 EDX: fffffff6
ESI: 00000000 EDI: fffffff6 EBP: 00000000 ESP: ee7f3fac
 DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process UNICORN-INTR (pid: 4163, ti=ee7f2000 task=ef37c600 task.ti=ee7f2000)
Stack: ee7f3fcc ffffffff f0d38e40 ee5a6d80 ee5a6d90 00000000 f0d38fef f0d4fd2e 
       00000000 00000000 0000007b f0d38e40 00000000 00000000 c0105da3 ee5a6d80 
       00000000 00000000 00000000 31257501 af3b66ed 
Call Trace:
 [<f0d38e40>] start_fn+0x0/0x260 [unicorn_usb_eth]
 [<f0d38fef>] start_fn+0x1af/0x260 [unicorn_usb_eth]
 [<f0d38e40>] start_fn+0x0/0x260 [unicorn_usb_eth]
 [<c0105da3>] kernel_thread_helper+0x7/0x14
 =======================
Code: 6c 24 0c 83 c4 10 c3 8b 55 00 89 d8 e8 d3 48 1e 00 eb 9c 90 83 ec 18 89 74 24 0c 89 c6 89 7c 24 10 89 d7 89 5c 24 08 89 6c 24 14 <8b> 40 1c 83 e8 78 39 d0 74 05 83 fa ec 7d 1a 8b 5c 24 08 8b 74 
EIP: [<c0123137>] set_user_nice+0x17/0x1b0 SS:ESP 0068:ee7f3fac
---[ end trace 4316122f1577e26c ]---
unicorn_msw: Error in AMSW_ANT_setModemConfiguration-1 (1)
unicorn_msw: Error in AMSW_ANT_setModemConfiguration-2 (1)
unicorn_msw: Error in AMSW_ANT_setModemConfiguration-3 (1)

I copied ubuntu kernel and on ubuntu kernel modem working great (same version 2.6.25)
I don't know where can I find help...

Offline

#2 2008-06-02 16:59:13

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Arch kernel is wrong or ubuntu kernel is great

well...
you could try to compile a new (vanilla) kernel with the ubuntu .config
if it still not work then probably the ubuntu devs applied some patch that fixed the problem...
IMHO..

Offline

#3 2008-06-02 17:00:25

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: Arch kernel is wrong or ubuntu kernel is great

Now i'm compiling my own kernel (vanilla) with my config... If it doesn't work i try build it with ubuntu .config
But...where I can find it?

Offline

#4 2008-06-02 17:06:00

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Arch kernel is wrong or ubuntu kernel is great

https://help.ubuntu.com/community/Kernel/Compile
says

Now you are in the top directory of a kernel source tree. Before building the kernel, you must configure it. If you wish to re-use the configuration of your currently-running kernel, start with

cp -vi /boot/config-`uname -r` .config

I never tried anyway...

Offline

#5 2008-06-02 17:36:00

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: Arch kernel is wrong or ubuntu kernel is great

Worked on vanilla with my .config
http://www.wklej.org/id/1a81b3b1dd
So is it a bug in arch kernel?

Offline

#6 2008-06-02 17:43:52

bender02
Member
From: Germany
Registered: 2007-02-04
Posts: 1,328

Re: Arch kernel is wrong or ubuntu kernel is great

Well, you can take a look at the patches that arch applies http://projects.archlinux.org/?p=linux- … 08;hb=HEAD and see which one interferes with your module.

"A bug" here can only mean that some of the patches that are applied breaks your module; or that some config option needed for your module is not enabled (compare them).

Last edited by bender02 (2008-06-02 17:44:42)

Offline

#7 2008-06-02 17:52:52

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: Arch kernel is wrong or ubuntu kernel is great

Hm, i don't think that some of this patches conflict with unicorn module... What it can be?

Offline

#8 2008-06-26 08:35:17

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Arch kernel is wrong or ubuntu kernel is great

Offline

#9 2008-06-26 10:48:09

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Arch kernel is wrong or ubuntu kernel is great

You may want to check if ubuntu uses the same version of the module as arch before you file a bugreport.
If they are not the same version, the difference between working/not working might be in the module and not in the kernel...

Might be good to post that in the bug-report as well...

Last edited by klixon (2008-06-26 10:48:50)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

Board footer

Powered by FluxBB