Discussion:
Jornada 690 and bt3c(4)
Andreas Bartelt
2008-03-09 17:58:57 UTC
Permalink
Hi,

I was testing a 3com Bluetooth 3CRWB6096 (version 2.0) PCMCIA card with
my Jornada 690.

Unfortunately, the card doesn't work with "netbsd-4". I've tried to
enable the corresponding option, but the kernel doesn't build then.

I've also tried to crosscompile current for hpcsh. I've successfully
build the kernel, but "build.sh -m hpcsh release" did fail at some
point. The current kernel also doesn't work with the netbsd-4 userland...

Has anybody successfully used this Bluetooth card with a Jornada 690 yet?

regards,
Andreas
Valeriy E. Ushakov
2008-03-09 18:51:42 UTC
Permalink
Post by Andreas Bartelt
I was testing a 3com Bluetooth 3CRWB6096 (version 2.0) PCMCIA card with
my Jornada 690.
Unfortunately, the card doesn't work with "netbsd-4". I've tried to
enable the corresponding option, but the kernel doesn't build then.
Try attached patch to hpcsh/include/intr.h. It makes GENERIC
buildable with BT support enabled.

I guess splraiseipl fell through proverbial cracks on netbsd-4 b/c no
drivers except bluetooth use it directly and hpcsh doesn't used MI
spl.h that defines spl* in terms of splraiseipl.
Post by Andreas Bartelt
I've also tried to crosscompile current for hpcsh. I've successfully
build the kernel, but "build.sh -m hpcsh release" did fail at some
point.
I haven't done a build.sh release in a while. And unfortunately
releng doesn't currently build sh3 releases b/c a bug in gcc breaks
sh3 gcc when hosted on 64-bit host (and releng build cluster is now
all 64-bit due to combination of circumstances).

What was the error message.
Post by Andreas Bartelt
The current kernel also doesn't work with the netbsd-4 userland...
What's the failure mode?


SY, Uwe
--
***@stderr.spb.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Valeriy E. Ushakov
2008-03-09 19:07:52 UTC
Permalink
Post by Valeriy E. Ushakov
I haven't done a build.sh release in a while. And unfortunately
releng doesn't currently build sh3 releases b/c a bug in gcc breaks
sh3 gcc when hosted on 64-bit host (and releng build cluster is now
all 64-bit due to combination of circumstances).
What was the error message.
PS: I mostly do "builsh.sh ... distribution sets" instead of release
to save time on building kernels that I don't need. If the error was
in the release stage the above will give you all the userland sets to
install.

SY, Uwe
--
***@stderr.spb.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
Andreas Bartelt
2008-03-09 21:56:12 UTC
Permalink
Hi Uwe,
Post by Valeriy E. Ushakov
Post by Andreas Bartelt
I was testing a 3com Bluetooth 3CRWB6096 (version 2.0) PCMCIA card with
my Jornada 690.
Unfortunately, the card doesn't work with "netbsd-4". I've tried to
enable the corresponding option, but the kernel doesn't build then.
Try attached patch to hpcsh/include/intr.h. It makes GENERIC
buildable with BT support enabled.
thanks, after applying these patches, I was able to build the kernel.

However, attaching bt3c results in an error (dmesg is attached) and
btconfig gives no output. When I remove the Bluetooth card, the system
crashes.
Post by Valeriy E. Ushakov
Post by Andreas Bartelt
I've also tried to crosscompile current for hpcsh. I've successfully
build the kernel, but "build.sh -m hpcsh release" did fail at some
point.
I haven't done a build.sh release in a while. And unfortunately
releng doesn't currently build sh3 releases b/c a bug in gcc breaks
sh3 gcc when hosted on 64-bit host (and releng build cluster is now
all 64-bit due to combination of circumstances).
What was the error message.
it had something to do with /usr/src/rescue -- sorry, I don't remember
the exact error message...
Post by Valeriy E. Ushakov
Post by Andreas Bartelt
The current kernel also doesn't work with the netbsd-4 userland...
What's the failure mode?
I suppose there was a problem with swap. The system froze at the point
of enabling swap while booting.

regards,
Andreas

Loading...