Hi,

> I've been playing with the patches from
> http://www.bennee.com/~alex/software/kernel/index.php as well, although
> nothing has been released by Arcom using it at this time it's likely
> this is what we will use for the next release.
That sounds interesting.
I downloaded them. I tried to compile it (using the Arcom cross compiler)

I merged them into the kernel, rather than building standalone, but from

Hm, but compiling this standalone gives a module file, doesn it?



your log messages you are using 'sh4-linux-gcc' instead of
'arm-linux-gcc', your changes seem to make it use just 'cc' which is
also wrong (that will be your native host system compiler).

oh, I should have said that I added soft links in the directory /opt/arcom/bin with the names cc, gcc... pointing to the 'arm-linux-' version. So I just need to do something like 'export PATH=/opt/arcom/bin:$PATH' (/opt/arcom/bin must be first PATH to search) and the 'cc' that is used is 'arm-linux-cc'.

I think that works fine. I cross-compiled bluez-pand this way.
(Litle off-topic but I wasn't able to do this 'export' by a script.
How can I do this? Just making a file executable with the above line
does not work, and also some other variants I tried)


I also needed the attached patch.

I tryed it...
applied your patch
then i did
'export KERNELDIR=export KERNELDIR=/opt/arcom/arm-linux/src/linux-headers-2.4.21-rmk1-pxa1-arcom1-2-viper/'
this was my failure the first time. I didn't set KERNELDIR.
it compiled correctly this time.
So I copied it to the Viper. Unloaded the module.
Exchanged the file with the original. Then I called 'depmod'.
But now I get the following error on boot:



Starting hotplug subsystem: usbusb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Can't read chip
usb.c: USB bus -1 deregistered
Unable to handle kernel paging request at virtual address e888d1ab
pgd = c38a0000
[e888d1ab] *pgd=00000000, *pmd = 00000000
Internal error: Oops: f5
CPU: 0
pc : [<c00ff4e4>] lr : [<c887fb34>] Not tainted
sp : c38a9e70 ip : 60000013 fp : c38a9e84
r10: c03d63c0 r9 : 0000000a r8 : 00000060
r7 : c8894b5c r6 : c012564c r5 : c888d198 r4 : c03ef3c0
r3 : 00000080 r2 : 00000093 r1 : c888d1ac r0 : ffffffff
Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment user
Control: 397F Table: A38A0000 DAC: 00000015
Process modprobe (pid: 62, stack limit = 0xc38a8368)
Stack: (0xc38a9e70 to 0xc38aa000)
9e60: c3e43f80 ffffffea c38a9e9c c38a9e88
9e80: c8893560 c887fad0 c3e43f80 c3e43c00 c38a9ee8 c38a9ea0 c88936e8 c8893488
9ea0: 00000000 000001f0 00000060 c0126a00 a1e00000 00000004 c889a000 c3e43f80
9ec0: c3e43c00 00000019 a1e00000 a3800002 a3800000 c888f000 ffffffea c38a9f00
9ee0: c38a9eec c8893984 c88935c4 00000000 c03d63c0 c38a9fa4 c38a9f04 c0024b58
9f00: c8893954 0007c958 0007b000 c38f9000 c8894a70 c38f9000 c38fa000 00000060
9f20: c887f000 c888f060 00005d10 00000000 00000000 00000000 00000000 00000000
9f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00076ee8
9f80: bffffe44 000092e8 00000080 c00178a4 c38a8000 401385d0 00000000 c38a9fa8
9fa0: c0017700 c0024580 00076ee8 c001d930 0003ef78 00076ee8 ffffffff fbad2884
9fc0: 00076ee8 bffffe44 000092e8 4000b928 00000003 0000edd4 401385d0 bfffc430
9fe0: 400ea1f0 bfffc418 00021ab0 400ea1fc 60000010 0003ef78 e1a00003 e5921010
Backtrace:
Function entered at [<c887fac4>] from [<c8893560>]
r5 = FFFFFFEA r4 = C3E43F80
Function entered at [<c889347c>] from [<c88936e8>]
Function entered at [<c88935b8>] from [<c8893984>]
r5 = FFFFFFEA r4 = C888F000
Function entered at [<c8893948>] from [<c0024b58>]
Function entered at [<c0024574>] from [<c0017700>]
Code: e1a03213 e10fc000 e3a02093 e121f002 (e7d121a0)
/etc/hotplug/usb.rc: line 378: 62 Segmentation fault modprobe -q hc_isp116x >/dev/null 2>&1



ups, I just realized I did only 'depmod' hm, i'll try it with 'depmod -a' tomorrow. stupid I forgot the '-a'

--
Best Regards,
Christoph Torens


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to