Hi Jean, hi IrDA experts, I managed to build a brand new 2.4.12 kernel but now I have some more problems. It seems always that I am near to the finish - but then there is again a new problem...
In short: My 2.2.18 kernel works very fine and I managed to bring all things to work that I need. Among others: - a very transparent Wireless LAN connection with realy no problems (after I worked a little bit in the source code...) and - IrDA connection with the problems I mentioned earlier (slow transfer). Now - after Jean told me to use a 2.4.x kernel - I downloaded a 2.4.9 kernel and patched him up to a 2.4.12. (2.4.9 had compile errors, 2.4.10 worked, 2.4.11 is a _dont_use_this_, 2.4.12 works fine). - 1. IrDA: The proc-tree and syslog-information looks good - but not even OBEX transfer works now. - 2. WaveLAN: I have no Wireless LAN connection now - this is in fact a second thread and, perhaps a little off topic for this list, but I think you are the right person, to help me there a little bit ;-) Details: Ad 1. IrDA: I don't understand the reason quite. With my new 2.4.12 kernel I have to load almost all modules by hand. My base system is SuSE-linux 6.4 and 7.0. The system worked with "kerneld" before. I have a usual "/etc/modules.conf": The snippet is not complete! ------------------------------ [ BEGIN snippet /etc/modules.conf ] ------------------------------ # IrDA alias char-major-161 ircomm-tty # USB alias char-major-166 acm #alias char-major-180 usbcore alias char-major-195 NVdriver alias char-major-240 usb-serial . . . alias iso9660 isofs alias tty-ldisc-1 slip alias tty-ldisc-3 ppp alias tty-ldisc-5 mkiss # alias tty-ldisc-7 6pack alias tty-ldisc-7 off # IrDA alias tty-ldisc-11 irtty # alias ax0 mkiss alias ax0 off # alias sp0 6pack alias sp0 off alias slip0 slip alias sl0 slip alias slip1 slip alias sl1 slip alias ppp0 ppp alias ppp1 ppp alias plip0 plip alias plip1 plip alias ppp-compress-21 bsd_comp alias ppp-compress-26 ppp_deflate alias net-pf-1 unix alias net-pf-3 ax25 # alias net-pf-3 off alias net-pf-4 ipx # alias net-pf-4 off alias net-pf-5 appletalk # alias net-pf-5 off alias net-pf-6 netrom # alias net-pf-6 off alias net-pf-10 ipv6 # alias net-pf-10 off alias net-pf-11 rose # alias net-pf-11 off alias net-pf-17 af_packet # M.B. 2001-08-17 # Suggestion from "http://homepage.mac.com/pauljlucas/personal/powerbook/irda.html" post-install irda /usr/sbin/irattach /dev/irda pre-remove irtty /usr/bin/killall -q irattach ------------------------------ [ END snippet /etc/modules.conf ] ------------------------------ With a little script now I load the irda modules "by hand": ------------------------------ [ BEGIN Load_IrDA_Modules ] ------------------------------ modprobe ircomm-tty #modprobe irport modprobe macserial #modprobe irlan ------------------------------ [ END Load_IrDA_Modules ] ------------------------------ This results in: $ /sbin/lsmod: ------------------------------ [ BEGIN lsmod result ] ------------------------------ Module Size Used by irtty 9600 2 (autoclean) macserial 38740 1 ircomm-tty 37576 0 (unused) ircomm 17488 0 [ircomm-tty] irda 181160 1 [irtty ircomm-tty ircomm] dmasound_awacs 24540 0 (unused) dmasound_core 11168 0 [dmasound_awacs] soundcore 4792 3 [dmasound_core] ipv6 161716 -1 (autoclean) pcmcia_core 41824 0 ------------------------------ [ END lsmod result ] ------------------------------ Well, with the 2.2.18 kernel the irda modules were loaded via an init-script that did a "startproc /usr/sbin/irattach ${IRDA_PORT} -s". Anyway, with "irobex_palm3" I try to recieve a file from my Palm V. Using the old configuration with the 2.2.18 kernel, the string "OBEX" appears in the dump of the discovery. This string is missing with the new configuration: ------------------------------ [ BEGIN snippet from irdadump ] ------------------------------ 20:27:49.340038 xid:cmd 8e94a670 > ffffffff S=6 s=* linuxpb hint=0400 [ Computer ] (23) 20:27:51.800046 xid:cmd 8e94a670 > ffffffff S=6 s=0 (14) 20:27:51.890027 xid:cmd 8e94a670 > ffffffff S=6 s=1 (14) 20:27:51.980033 xid:cmd 8e94a670 > ffffffff S=6 s=2 (14) 20:27:52.070037 xid:cmd 8e94a670 > ffffffff S=6 s=3 (14) 20:27:52.160025 xid:cmd 8e94a670 > ffffffff S=6 s=4 (14) 20:27:52.250034 xid:cmd 8e94a670 > ffffffff S=6 s=5 (14) 20:27:52.340032 xid:cmd 8e94a670 > ffffffff S=6 s=* linuxpb hint=0400 [ Computer ] (23) 20:27:54.800052 xid:cmd 8e94a670 > ffffffff S=6 s=0 (14) 20:27:54.890028 xid:cmd 8e94a670 > ffffffff S=6 s=1 (14) 20:27:54.980026 xid:cmd 8e94a670 > ffffffff S=6 s=2 (14) 20:27:55.070072 xid:cmd 8e94a670 > ffffffff S=6 s=3 (14) 20:27:55.160024 xid:cmd 8e94a670 > ffffffff S=6 s=4 (14) 20:27:55.250027 xid:cmd 8e94a670 > ffffffff S=6 s=5 (14) 20:27:55.340031 xid:cmd 8e94a670 > ffffffff S=6 s=* linuxpb hint=0400 [ Computer ] (23) 20:27:56.770012 xid:cmd ffffffff < 93763b56 S=6 s=2 (14) 20:27:56.860009 xid:cmd ffffffff < 93763b56 S=6 s=3 (14) 20:27:56.860066 xid:rsp 8e94a670 > 93763b56 S=6 s=3 linuxpb hint=0400 [ Computer ] (23) 20:27:56.950011 xid:cmd ffffffff < 93763b56 S=6 s=4 (14) 20:27:57.060008 xid:cmd ffffffff < 93763b56 S=6 s=5 (14) 20:27:57.150017 xid:cmd ffffffff < 93763b56 S=6 s=* Markus hint=8220 [ PDA/Palmtop IrOBEX ] (23) 20:27:57.800047 xid:cmd 8e94a670 > ffffffff S=6 s=0 (14) 20:27:57.890028 xid:cmd 8e94a670 > ffffffff S=6 s=1 (14) 20:27:57.990030 xid:cmd 8e94a670 > ffffffff S=6 s=2 (14) 20:27:57.990010 xid:cmd ffffffff < 93763b56 S=6 s=1 (14) 20:27:58.080025 xid:cmd 8e94a670 > ffffffff S=6 s=3 (14) 20:27:58.150010 xid:cmd ffffffff < 93763b56 S=6 s=2 (14) 20:27:58.170045 xid:cmd 8e94a670 > ffffffff S=6 s=4 (14) 20:27:58.260030 xid:cmd 8e94a670 > ffffffff S=6 s=5 (14) 20:27:58.350031 xid:cmd 8e94a670 > ffffffff S=6 s=* linuxpb hint=0400 [ Computer ] (23) 20:27:58.440013 xid:cmd ffffffff < 93763b56 S=6 s=4 (14) 20:27:58.530009 xid:cmd ffffffff < 93763b56 S=6 s=5 (14) 20:27:58.530059 xid:rsp 8e94a670 > 93763b56 S=6 s=5 linuxpb hint=0400 [ Computer ] (23) 20:27:58.630008 xid:cmd ffffffff < 93763b56 S=6 s=* Markus hint=8220 [ PDA/Palmtop IrOBEX ] (23) ------------------------------ [ END snippet from irdadump ] ------------------------------ So transfer doesn't work. I used "irobex_palm3" from "openobex-0.9.8" and "openobex-apps-0.9.8". Also i use "irda-utils-0.9.14" for "irattach" and "irdadump". The interesting thing is that the /proc info looks good (for me): ------------------------------ [ BEGIN ProcInfo_Irda_2.4.12_2001-10-30 ] ------------------------------ System: Linux linuxpb 2.4.12 #1 Mon Oct 29 17:54:53 CET 2001 ppc unknown Date: Die Okt 30 21:24:51 CET 2001 Tree: /proc/net/irda ------------------------------ [ BEGIN /proc/net/irda/discovery ] ------------------------------ IrLMP: Discovery log: ------------------------------ [ END /proc/net/irda/discovery ] ------------------------------ ------------------------------ [ BEGIN /proc/net/irda/ircomm ] ------------------------------ Instance 0: ------------------------------ [ END /proc/net/irda/ircomm ] ------------------------------ ------------------------------ [ BEGIN /proc/net/irda/irias ] ------------------------------ LM-IAS Objects: name: OBEX, id=297067 - Attribute name: "IrDA:TinyTP:LsapSel", value[IAS_INTEGER]: 21 name: Device, id=0 - Attribute name: "IrLMPSupport", value[IAS_OCT_SEQ]: octet sequence (3 bytes) - Attribute name: "DeviceName", value[IAS_STRING]: "linuxpb" ------------------------------ [ END /proc/net/irda/irias ] ------------------------------ ------------------------------ [ BEGIN /proc/net/irda/irlap ] ------------------------------ irlap0 state: LAP_NDM device name: irda0, hardware name: tts/%d1 caddr: 0xe2, saddr: 0x8e94a670, daddr: 0x000000 win size: 0, win: 0, line capacity: 0, bytes left: 0 tx queue len: 0 win queue len: 0 rbusy: FALSE mbusy: FALSE retrans: 0 vs: 0 vr: 0 va: 0 qos bps maxtt dsize winsize addbofs mintt ldisc comp tx 9600 0 64 1 12 0 0 rx 9600 0 64 1 12 0 0 ------------------------------ [ END /proc/net/irda/irlap ] ------------------------------ ------------------------------ [ BEGIN /proc/net/irda/irlmp ] ------------------------------ Unconnected LSAPs: lsap state: LSAP_DISCONNECTED, slsap_sel: 0x15, dlsap_sel: 0xff, (OBEX) lsap state: LSAP_DISCONNECTED, slsap_sel: 0x0, dlsap_sel: 0xff, (IrIAS srv) Registred Link Layers: lap state: LAP_STANDBY, saddr: 0x8e94a670, daddr: 0xffffffff, refcount: 0 Connected LSAPs: ------------------------------ [ END /proc/net/irda/irlmp ] ------------------------------ ------------------------------ [ BEGIN /proc/net/irda/irttp ] ------------------------------ TSAP 0, stsap_sel: 15, dtsap_sel: 00 connected: FALSE, avail credit: 0, remote credit: 0, send credit: 0 tx packets: 0, rx packets: 0, tx_queue len: 0 rx_queue len: 0 tx_sdu_busy: FALSE, rx_sdu_busy: FALSE max_seg_size: 0, tx_max_sdu_size: 0, rx_max_sdu_size: 0 Used by (OBEX) ------------------------------ [ END /proc/net/irda/irttp ] ------------------------------ Tree: /proc/sys/net/irda ------------------------------ [ BEGIN /proc/sys/net/irda/debug ] ------------------------------ 0 ------------------------------ [ END /proc/sys/net/irda/debug ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/devname ] ------------------------------ linuxpb ------------------------------ [ END /proc/sys/net/irda/devname ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/discovery ] ------------------------------ 1 ------------------------------ [ END /proc/sys/net/irda/discovery ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/discovery_slots ] ------------------------------ 6 ------------------------------ [ END /proc/sys/net/irda/discovery_slots ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/discovery_timeout ] ------------------------------ 3 ------------------------------ [ END /proc/sys/net/irda/discovery_timeout ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/fast_poll_increase ] ------------------------------ 50 ------------------------------ [ END /proc/sys/net/irda/fast_poll_increase ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/lap_keepalive_time ] ------------------------------ 2000 ------------------------------ [ END /proc/sys/net/irda/lap_keepalive_time ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/max_baud_rate ] ------------------------------ 9600 ------------------------------ [ END /proc/sys/net/irda/max_baud_rate ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/max_inactive_time ] ------------------------------ 12 ------------------------------ [ END /proc/sys/net/irda/max_inactive_time ] ------------------------------ ------------------------------ [ BEGIN /proc/sys/net/irda/slot_timeout ] ------------------------------ 90 ------------------------------ [ END /proc/sys/net/irda/slot_timeout ] ------------------------------ ./ProcInfo_Irda > ./ProcInfo_Irda_2.4.12_2001-10-30 ------------------------------ [ END ProcInfo_Irda_2.4.12_2001-10-30 ] ------------------------------ Note: "/proc/sys/net/irda/max_baud_rate" I set by hand to 9600... That's the IrDA part. After this works I would like to use my WaveLAN again... With my 2.2.18 kernel I used "pcmcia-cs-3.1.17". I changed the source code of "wvlan_cs.c v1.0.4 2000/02/26" a little bit to bring it to work on my PowerBook G3. So my syslog from my pretty good working WaveLAN looks like this: ------------------------------ [ BEGIN snippet from /var/log/messages ] ------------------------------ Oct 30 20:03:22 linuxpb cardmgr[145]: initializing socket 0 Oct 30 20:03:22 linuxpb cardmgr[145]: socket 0: Lucent Technologies WaveLAN/IEEE Adapter Oct 30 20:03:22 linuxpb cardmgr[145]: executing: 'modprobe wvlan_cs port_type=1' Oct 30 20:03:22 linuxpb kernel: wvlan_cs: WaveLAN/IEEE PCMCIA driver v1.0.4--M.B. 2001-01-24 Oct 30 20:03:22 linuxpb kernel: wvlan_cs: (c) Andreas Neuhaus <[EMAIL PROTECTED]> Oct 30 20:03:22 linuxpb kernel: wvlan_cs: CardServices release does not match! Oct 30 20:03:22 linuxpb kernel: wvlan_cs: M.B. 2001-01-10 +++ ignoring +++ Oct 30 20:03:22 linuxpb kernel: wvlan_cs: index 0x01: Vcc 5.0, irq 22, io 0x0100-0x013f Oct 30 20:03:22 linuxpb kernel: wvlan_cs: Registered netdevice wvlan0 Oct 30 20:03:22 linuxpb kernel: wvlan_cs: M.B. Error on setting CFG_FRAGMENTATION_THRH Oct 30 20:03:22 linuxpb kernel: wvlan_cs: M.B. 2001-01-23 +++ ignoring +++ Oct 30 20:03:22 linuxpb kernel: wvlan_cs: MAC address on wvlan0 is 00 02 2d 09 50 e7 Oct 30 20:03:22 linuxpb cardmgr[145]: executing: './network start wvlan0' Oct 30 20:03:23 linuxpb cardmgr[145]: + SIOCSIWFREQ: Operation not supported Oct 30 20:03:43 linuxpb kernel: wvlan0: no IPv6 routers present Oct 30 20:03:43 linuxpb kernel: wvlan0: no IPv6 routers present ------------------------------ [ END snippet from /var/log/messages ] ------------------------------ Now when I do ------------------------------ modprobe yenta_socket modprobe cb_enabler modprobe orinoco_cs modprobe wavelan ------------------------------ and ------------------------------ /sbin/cardctl insert /sbin/cardctl eject ------------------------------ I get: ------------------------------ [ BEGIN snippet from /var/log/messages ] ------------------------------ Oct 30 15:39:07 linuxpb kernel: PCI: Enabling device 00:13.0 (0000 -> 0002) Oct 30 15:39:07 linuxpb kernel: Yenta IRQ list 0000, PCI irq22 Oct 30 15:39:07 linuxpb kernel: Socket status: 30000410 Oct 30 15:40:49 linuxpb kernel: hermes.c: 3 Oct 2001 David Gibson <[EMAIL PROTECTED]> Oct 30 15:40:49 linuxpb kernel: orinoco.c 0.08a (David Gibson <[EMAIL PROTECTED]> and others) Oct 30 15:40:49 linuxpb kernel: orinoco_cs.c 0.08a (David Gibson <[EMAIL PROTECTED]> and others) Oct 30 15:40:59 linuxpb kernel: WaveLAN init_module(): doing device probing (bad !) Oct 30 15:40:59 linuxpb kernel: Specify base addresses while loading module to correct the problem Oct 30 15:40:59 linuxpb kernel: IN from bad port 39e at cd8a2114 Oct 30 15:40:59 linuxpb last message repeated 5 times Oct 30 15:40:59 linuxpb kernel: IN from bad port 3ee at cd8a2114 Oct 30 15:40:59 linuxpb last message repeated 5 times Oct 30 15:40:59 linuxpb kernel: WaveLAN init_module(): no device found Oct 30 15:42:43 linuxpb rcpcmcia: /sbin/insmod /lib/modules/2.4.12/kernel/drivers/pcmcia/i82365.o do_scan=0 irq_mode=0 Oct 30 15:42:43 linuxpb cardmgr[882]: starting, version is 3.1.22 Oct 30 15:42:43 linuxpb cardmgr[882]: watching 1 sockets Oct 30 15:42:43 linuxpb cardmgr[882]: initializing socket 0 Oct 30 15:42:43 linuxpb kernel: cs: memory probe 0x80000000-0x80800000: excluding 0x80000000-0x8087ffff Oct 30 15:42:43 linuxpb kernel: cs: unable to map card memory! Oct 30 15:42:43 linuxpb kernel: cs: unable to map card memory! Oct 30 15:42:43 linuxpb cardmgr[882]: socket 0: Anonymous Memory Oct 30 15:42:43 linuxpb cardmgr[882]: executing: 'modprobe memory_cs' Oct 30 15:42:43 linuxpb cardmgr[882]: + modprobe: Can't locate module memory_cs Oct 30 15:42:43 linuxpb cardmgr[882]: modprobe exited with status 255 Oct 30 15:42:43 linuxpb cardmgr[882]: module /lib/modules/2.4.12/pcmcia/memory_cs.o not available Oct 30 15:42:44 linuxpb cardmgr[882]: get dev info on socket 0 failed: Resource temporarily unavailable Oct 30 15:42:59 linuxpb cardmgr[882]: shutting down socket 0 Oct 30 15:42:59 linuxpb cardmgr[882]: executing: 'modprobe -r memory_cs' Oct 30 15:43:06 linuxpb cardmgr[882]: initializing socket 0 ------------------------------ [ END snippet from /var/log/messages ] ------------------------------ Excuse me, for the long data. But I worked very hard to come so far. As I am not an expert like you or others on the list, perhaps I can get some tips to bring the IrDA stuff to work (and after this the WaveLAN)... :-) Kind regards Markus Biermaier ---------------------------------------------------------------------- M. Biermaier Tel: +43-2233-55932 Wiesengasse 15 Fax: +43-2233-55932-4 3011 Untertullnerbach E-Mail: [EMAIL PROTECTED] Austria / Europe Web Site: http://www.mbier.co.at/mbier/ _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
