From: Per L. <pe...@al...> - 2001-12-01 17:23:41
|
Hello Giogio, On Saturday 01 December 2001 10.52, Giorgio Terzi wrote: > I have added a DSR timeout feature and other things. > One feature that may be useful for your tests is > the addition of a module's variable named "iob_ether" This time I'm using my own compiled 2.4.13 kernel. If it helps, I'll upgrade to 2.4.16. My /proc/interrupts without your new ioblix module: ami 0: 107631 console/cursor ami 1: 0 <NULL> ami 2: 0 <NULL> ami 3: 0 <NULL> ami 4: 0 <NULL> ami 5: 0 <NULL> ami 6: 0 <NULL> ami 7: 0 <NULL> ami 8: 0 floppy_dma ami 9: 0 F serial RX ami 10: 0 serial TX ami 11: 0 <NULL> ami 12: 21567 eth0 53c7xx cia 14: 0 <NULL> cia 15: 0 floppy_timer cia 16: 0 <NULL> cia 17: 267 keyboard cia 18: 0 <NULL> cia 19: 0 <NULL> cia 20: 0 <NULL> cia 21: 0 <NULL> cia 22: 0 <NULL> cia 23: 0 <NULL> My /proc/iomem without the module: 00000000-001fffff : Chip RAM 00000000-00007fff : Floppy 001ff000-001fffff : Beep 00200000-009fffff : Zorro II mem 00bfd000-00bfdfff : CIA B 00bfe000-00bfefff : CIA A 00bfeb00-00bfebff : amikeyb 00da0000-00da1fff : IDE 00dc0000-00dcffff : A2000 RTC 00dff000-00dfffff : Custom I/O 00dff00a-00dff00b : amigamouse [Denise] 00dff020-00dff027 : amiflop [Paula] 00dff030-00dff033 : amiserial [Paula] 00e80000-00efffff : Zorro II exp 00e90000-00e9ffff : RBM-Computertechnik IOBlix [Multi I/O] 00ea0000-00eaffff : Individual Computers X-Surf [Ethernet Card] 00ea007e-00ea0085 : IDE 00eab000-00eabfff : IDE 00ead000-00eadfff : IDE 00f00c38-00f20c37 : Phase 5 Blizzard 603e+ [Accelerator and SCSI Host Adapter] 00f40000-00f40fff : ncr53c710 00f80000-00ffffff : Kickstart ROM 54000000-59ffffff : 32-bit Fast RAM e0000000-fffc0000 : B/CVisionPPC PCI mem e0000000-e07fffff : Texas Instruments TVP4020 [Permedia 2] e0000000-e07fffff : pm2fb e1000000-e17fffff : Texas Instruments TVP4020 [Permedia 2] ef000000-ef01ffff : Texas Instruments TVP4020 [Permedia 2] ef010000-ef01ffff : pm2fb and finally, my /proc/tty/drivers without the module: amiserial /dev/cua 5 64 serial:callout amiserial /dev/ttyS 4 64 serial pty_slave /dev/pts 136 0-255 pty:slave pty_master /dev/ptm 128 0-255 pty:master pty_slave /dev/ttyp 3 0-255 pty:slave pty_master /dev/pty 2 0-255 pty:master /dev/vc/0 /dev/vc/0 4 0 system:vtmaster /dev/ptmx /dev/ptmx 5 2 system /dev/console /dev/console 5 1 system:console /dev/tty /dev/tty 5 0 system:/dev/tty unknown /dev/vc/%d 4 1-63 console > Now when you load the module two more strings will > print the ethernet irq enable bit status. > > if you load the module using > > insmod ioblix iob_ether=0 With the above line, I get the following: RBM IOBlix card (#0) at address 0x80e90000, size 0x10000. Ethernet bit status WAS OFF Ethernet bit status is OFF ttyS1 at 0x80e91000. ttyS2 at 0x80e91080. ttyS3 at 0x80e91100. ttyS4 at 0x80e91180. This is my /proc/interrupts with the module loaded as above: ami 0: 183587 console/cursor ami 1: 0 <NULL> ami 2: 0 <NULL> ami 3: 0 <NULL> ami 4: 0 <NULL> ami 5: 0 <NULL> ami 6: 0 <NULL> ami 7: 0 <NULL> ami 8: 0 floppy_dma ami 9: 0 F serial RX ami 10: 0 serial TX ami 11: 0 <NULL> ami 12: 23459 eth0 53c7xx cia 14: 0 <NULL> cia 15: 0 floppy_timer cia 16: 0 <NULL> cia 17: 1505 keyboard cia 18: 0 <NULL> cia 19: 0 <NULL> cia 20: 0 <NULL> cia 21: 0 <NULL> cia 22: 0 <NULL> cia 23: 0 <NULL> As you can see, there is no difference between this and the interrupt list without the module. This is my /proc/iomem with the module loaded: 00000000-001fffff : Chip RAM 00000000-00007fff : Floppy 001ff000-001fffff : Beep 00200000-009fffff : Zorro II mem 00bfd000-00bfdfff : CIA B 00bfe000-00bfefff : CIA A 00bfeb00-00bfebff : amikeyb 00da0000-00da1fff : IDE 00dc0000-00dcffff : A2000 RTC 00dff000-00dfffff : Custom I/O 00dff00a-00dff00b : amigamouse [Denise] 00dff020-00dff027 : amiflop [Paula] 00dff030-00dff033 : amiserial [Paula] 00e80000-00efffff : Zorro II exp 00e90000-00e9ffff : RBM-Computertechnik IOBlix [Multi I/O] 00e90000-00e9ffff : IOBlix driver 00ea0000-00eaffff : Individual Computers X-Surf [Ethernet Card] 00ea007e-00ea0085 : IDE 00eab000-00eabfff : IDE 00ead000-00eadfff : IDE 00f00c38-00f20c37 : Phase 5 Blizzard 603e+ [Accelerator and SCSI Host Adapter] 00f40000-00f40fff : ncr53c710 00f80000-00ffffff : Kickstart ROM 54000000-59ffffff : 32-bit Fast RAM e0000000-fffc0000 : B/CVisionPPC PCI mem e0000000-e07fffff : Texas Instruments TVP4020 [Permedia 2] e0000000-e07fffff : pm2fb e1000000-e17fffff : Texas Instruments TVP4020 [Permedia 2] ef000000-ef01ffff : Texas Instruments TVP4020 [Permedia 2] ef010000-ef01ffff : pm2fb As you can see, the driver is now listed just below the IOBlix entry. And this is my /proc/tty/drivers with the module loaded: RBM_IOBlix /dev/cua 5 65-68 serial:callout RBM_IOBlix /dev/ttyS 4 65-68 serial amiserial /dev/cua 5 64 serial:callout amiserial /dev/ttyS 4 64 serial pty_slave /dev/pts 136 0-255 pty:slave pty_master /dev/ptm 128 0-255 pty:master pty_slave /dev/ttyp 3 0-255 pty:slave pty_master /dev/pty 2 0-255 pty:master /dev/vc/0 /dev/vc/0 4 0 system:vtmaster /dev/ptmx /dev/ptmx 5 2 system /dev/console /dev/console 5 1 system:console /dev/tty /dev/tty 5 0 system:/dev/tty unknown /dev/vc/%d 4 1-63 console > insmod ioblix iob_ether=1 Now, with the above parameters, the ONLY difference is this message: RBM IOBlix card (#0) at address 0x80e90000, size 0x10000. Ethernet bit status WAS OFF Ethernet bit status is ON ttyS1 at 0x80e91000. ttyS2 at 0x80e91080. ttyS3 at 0x80e91100. ttyS4 at 0x80e91180. I did notice one other strange thing though, and that was when I rmmod'ed the module. I get the following every time I rmmod ioblix: amiga_delete_irq: tried to remove invalid irq My amiga still hangs when trying to access any of the serial ports of the IOBlix. Thank you for your help. /Per Larsson |