| 
      
      
      From:  <jo...@so...> - 2001-06-14 10:52:21
      
     | 
| After getting ADSL I tried 2.4.x again (it wasn't usable before because serial i/o doesn't considerably work (at least up to 2.4.2)). The kernel hangs after detecting a PCMCIA card. The problem seems to be interrupt related; it never reaches the printk line I inserted in apne.c right after the "ethernet PCMCIA card inserted" printk, which probably means it dies somewhere in an interrupt handler right after detecting the card. I tried vmapus-2.4.4 from sourceforge and a self compiled 2.4.5 kernel with similar results. I usually didn't get a kernel panic message, and the heartbeat went on and i could switch virtual consoles and type in them, but otherwise the machine was unresponsive. Once i got this kind of kernel panic: >>>>>>>>> Total memory = 63MB; using 0kB for hash table (at 00000000) Linux version 2.4.4 (michdaen@pismo) (gcc version 2.95.4 20010319 (Debian prerelease)) #75 Wed May 9 19:42:16 CEST 2001 Amiga hardware found: [A1200] VIDEO BLITTER AUDIO FLOPPY A1200_IDE KEYBOARD MOUSE SERIAL PARALLEL A2000_CLK CHIP_RAM PAULA LISA ALICE_PAL PCMCIA ZORRO On node 0 totalpages: 16128 zone(0): 16128 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/hda6 debug=mem video=pm2fb:640x480-75,font:SUN8x16 init=/bin/bash amiga_enable_irq: Trying to enable auto-vector IRQ 1 amiga_enable_irq: Trying to enable auto-vector IRQ 3 amiga_enable_irq: Trying to enable auto-vector IRQ 4 amiga_enable_irq: Trying to enable auto-vector IRQ 5 amiga_enable_irq: Trying to enable auto-vector IRQ 7 amiga_enable_irq: Trying to enable auto-vector IRQ 2 amiga_enable_irq: Trying to enable auto-vector IRQ 6 APUS: BATs=1, BUS=67MHz, RAM=70ns, PCI bridge=1 time_init: decrementer frequency = 16.671142 MHz Console: colour dummy device 80x25 Calibrating delay loop... 111.00 BogoMIPS Memory: 60572k available (1708k kernel code, 808k data, 264k init, 0k highmem) Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware apus_pcibios_fixup: PCI mem resource requested PCI:0:1:0: Resource ef000000-ef01ffff (f=200) PCI:0:1:0: Resource e0000000-e07fffff (f=200) PCI:0:1:0: Resource e1000000-e17fffff (f=200) PCI: Switching off ROM of 00:01.0 Zorro: Probing AutoConfig expansion devices: 1 device Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd v1.8 Console: switching to colour frame buffer device 80x30 fb0: CVisionPPC/BVisionPPC (Permedia2), using 8192K of video memory. fb1: Amiga AGA frame buffer device, using 1280K of video memory clgen: Driver for Cirrus Logic based graphic boards, v1.9.8 Couldn't find PCI device pty: 256 Unix98 ptys configured Generic RTC Driver v1.02 block: queued sectors max/low 40112kB/13370kB, 128 slots per queue RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide0: Gayle IDE interface (A1200 style) hda: FUJITSU MPC3043AT, ATA DISK drive ide0 at 80da0000 on irq 0x0000000c hda: 8448300 sectors (4326 MB), CHS=8940/15/63 Partition check: hda: RDSK hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8 hda9 hda10 hda11 FD: probing units found <5>fd: drive 0 didn't identify, setting default ffffffff fd0 Looking for PCMCIA ethernet card : ethernet PCMCIA card inserted NIP: C001678C XER: 20000000 LR: C0016788 SP: C3EF7D50 REGS: c3ef7ca0 TRAP: 0500 MSR: 00009072 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 TASK = c3ef6000[1] 'swapper' Last syscall: 120 last math 00000000 last altivec 00000000 GPR00: 00000000 C3EF7D50 C3EF6000 00009072 00000009 00000001 0000001B 00000008 GPR08: 00000050 C02A0000 80DA9000 C029FCE0 24882029 76267C20 760C2138 3C8A4A00 GPR16: 10101010 11111111 12121212 13131313 00001072 79EF7D70 00000000 C0003E5C GPR24: C0004CB8 19191919 1A1A1A1A 00000000 C01606E4 FFFFFFFE 00000008 00000001 <<<<<<<<< The apne driver works fine under 2.2 kernels. I tried three ethernet cards: a 3Com Etherlink III, a TARGET 10/100mbs card, and a Pretec 10mbs card which was the only one I got working. For 3Com it is natural as it's not NE2k compatible, but the TARGET card claims to be 100% NE compatible. It didn't work under AmigaOS with cnet.device either. Jouko |