keep crashing on 386

AST 386sx ast386
Mon Sep 22 23:52:56 PDT 2003


Ok.
I believe the hostap support 386.   I have the hostap/kernel all tested and
worked great on a 486 test box.  Then I moved it to my production server.

However, it keep crashing.  I am using SMC 2632W with ISA/PCMCIA swap box.
Maybe the 386 is too slow of this :-(

If I insert the card after the box bootup I got the following error.

Sep 19 21:19:14 gw kernel: cs: memory probe 0x0d0000-0x0dffff: excluding
0xd0000-0xdffff
Sep 19 21:19:14 gw kernel: cs: memory probe 0x0c0000-0x0cffff: excluding
0xc0000-0xc7fff
Sep 19 21:19:21 gw kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io
0x0140-0x017f
Sep 19 21:19:21 gw kernel: hostap_cs: Registered netdevice wlan0
Sep 19 21:19:22 gw kernel: general protection fault: 1c24
Sep 19 21:19:22 gw kernel: CPU:    0
Sep 19 21:19:22 gw kernel: EIP:
0010:[hostap_cs:__insmod_hostap_cs_S.text_L26416+20672/26432]    Not tainted
Sep 19 21:19:22 gw kernel: EFLAGS: 00010006
Sep 19 21:19:22 gw kernel: eax: c0d57bff   ebx: 00001388   ecx: 00000140
edx: 00000140
Sep 19 21:19:22 gw kernel: esi: c0d55e00   edi: c0d55e00   ebp: 00000286
esp: c06bf7b0
Sep 19 21:19:22 gw kernel: ds: 0018   es: 0018   ss: 0018
Sep 19 21:19:22 gw kernel: Process cardmgr (pid: 105, stackpage=c06bf000)
Sep 19 21:19:22 gw kernel: Stack: c0b2d000 c0d55e00 c09e0000 c0d55e00
c183d46c c0d55e00 00000001 c09e0000
Sep 19 21:19:22 gw kernel:        c0d55e00 c09e0000 c0d55e00 00000000
007f0000 003f0000 00390000 c1839574
Sep 19 21:19:22 gw kernel:        c0d55e00 00000011 c0d55e00 c09e0000
c06bfbd0 c09e0000 c18397f8 c0d55e00
Sep 19 21:19:23 gw kernel: Call Trace:
[hostap_cs:__insmod_hostap_cs_S.text_L26416+21516/26432]
[hostap_cs:__insmod_hostap_cs_S.text_L26416+5396/26432]
[hostap_cs:__insmod_hostap_cs_S.text_L26416+6040/26432]
[hostap_cs:__insmod_hostap_cs_S.text_L26416+25253/26432]
[pcmcia_get_next_tuple+163/544]
Sep 19 21:19:23 gw kernel:   [pcmcia_get_first_tuple+209/216]
[read_tuple+54/128] [follow_link+279/352] [pcmcia_get_next_tuple+163/544]
[pcmcia_validate_cis+296/372] [call_console_drivers+217/224]
Sep 19 21:19:23 gw kernel:   [timer_bh+36/916] [do_softirq+90/164]
[pcmcia_get_next_tuple+163/544]
[pcmcia_get_first_tuple+209/216][read_tuple+54/128] [follow_link+279/352]
Sep 19 21:19:24 gw kernel:   [pcmcia_get_next_tuple+163/544]
[pcmcia_validate_cis+296/372] [call_console_drivers+217/224]
[hostap_cs:__insmod_hostap_cs_S.text_L26416+25616/26432]
[pcmcia_register_client+509/532] [i365_set_mem_map+382/396]
Sep 19 21:19:24 gw kernel:   [CardServices+422/856]
[hostap_cs:__insmod_hostap_cs_S.text_L26416+23371/26432]
[hostap_cs:__insmod_hostap_cs_S.data_L384+32/384]
[hostap_cs:__insmod_hostap_cs_S.text_L26416+25492/26432]
[bind_request+364/472] [bind_request+433/472]
Sep 19 21:19:24 gw kernel:   [ds_ioctl+1236/1520] [update_wall_time+11/52]
[timer_bh+36/916] [bh_action+26/64] [tasklet_hi_action+73/112]
[do_softirq+90/164]
Sep 19 21:19:24 gw kernel:   [do_IRQ+150/168] [__alloc_pages+63/332]
[proc_lookup+148/160] [_alloc_pages+22/24] [do_anonymous_page+186/212]
[vsnprintf+927/992]
Sep 19 21:19:25 gw kernel:   [lru_cache_del+5/12] [__free_pages+27/28]
[free_page_and_swap_cache+51/56] [__free_pte+71/76] [unmap_fixup+98/312]
[do_munmap+551/564]
Sep 19 21:19:25 gw kernel:   [sys_ioctl+362/388] [system_call+51/56]
Sep 19 21:19:25 gw kernel:
Sep 19 21:19:25 gw kernel: Code: 9a 8e fe 8b 54 24 1c ff b2 d0 03 00 00 e8
92 9a 8e fe 8b 44
Sep 19 21:20:06 gw kernel:  no vm86_info: BAD


If I have the card in the while booting up, I got the following.

Sep 19 22:28:48 gw kernel: Loaded 20110 symbols from
/boot/System.map-2.4.21.
Sep 19 22:28:48 gw kernel: Symbols match kernel version 2.4.21.
Sep 19 22:28:49 gw kernel: Loaded 55 symbols from 3 modules.
Sep 19 22:28:49 gw kernel: Linux version 2.4.21 (root at gw) (gcc version
2.95.4 20011002 (Debian prerelease)) #13 Tue Sep 2 22:10:21 MDT 2003
Sep 19 22:28:49 gw kernel: BIOS-provided physical RAM map:
Sep 19 22:28:49 gw kernel:  BIOS-88: 0000000000000000 - 000000000009f000
(usable)
Sep 19 22:28:49 gw kernel:  BIOS-88: 0000000000100000 - 0000000000fe0000
(usable)
Sep 19 22:28:49 gw kernel: 15MB LOWMEM available.
Sep 19 22:28:49 gw kernel: On node 0 totalpages: 4064
Sep 19 22:28:49 gw kernel: zone(0): 4064 pages.
Sep 19 22:28:49 gw kernel: zone(1): 0 pages.
Sep 19 22:28:49 gw kernel: zone(2): 0 pages.
Sep 19 22:28:49 gw kernel: Kernel command line: auto BOOT_IMAGE=Linux ro
root=303 hd=12605,16,63
Sep 19 22:28:49 gw kernel: Initializing CPU#0
Sep 19 22:28:49 gw kernel: Console: colour VGA+ 80x50
Sep 19 22:28:49 gw kernel: Calibrating delay loop... 2.07 BogoMIPS
Sep 19 22:28:49 gw kernel: Memory: 13056k/16256k available (1659k kernel
code, 2812k reserved, 635k data, 100k init, 0k highmem)
Sep 19 22:28:49 gw kernel: Checking if this processor honours the WP bit
even in supervisor mode... No.
Sep 19 22:28:49 gw kernel: Dentry cache hash table entries: 2048 (order: 2,
16384 bytes)
Sep 19 22:28:49 gw kernel: Inode cache hash table entries: 1024 (order: 1,
8192 bytes)
Sep 19 22:28:49 gw kernel: Mount cache hash table entries: 512 (order: 0,
4096 bytes)
Sep 19 22:28:49 gw kernel: Buffer-cache hash table entries: 1024 (order: 0,
4096 bytes)
Sep 19 22:28:49 gw kernel: Page-cache hash table entries: 4096 (order: 2,
16384 bytes)
Sep 19 22:28:49 gw kernel: CPU: 386
Sep 19 22:28:49 gw kernel: Checking 'hlt' instruction... OK.
Sep 19 22:28:49 gw kernel: Checking for popad bug... OK.
Sep 19 22:28:49 gw kernel: POSIX conformance testing by UNIFIX
Sep 19 22:28:50 gw kernel: PCI: System does not support PCI
Sep 19 22:28:50 gw kernel: isapnp: Scanning for PnP cards...
Sep 19 22:28:50 gw kernel: isapnp: Card 'SCM SwapBox Plug and Play'
Sep 19 22:28:50 gw kernel: isapnp: 1 Plug & Play card detected total
Sep 19 22:28:50 gw kernel: Linux NET4.0 for Linux 2.4
Sep 19 22:28:50 gw kernel: Based upon Swansea University Computer Society
NET3.039
Sep 19 22:28:50 gw kernel: Initializing RT netlink socket
Sep 19 22:28:50 gw kernel: Starting kswapd
Sep 19 22:28:50 gw kernel: Journalled Block Device driver loaded
Sep 19 22:28:50 gw kernel: parport0: PC-style at 0x378 [PCSPP(,...)]
Sep 19 22:28:50 gw kernel: pty: 256 Unix98 ptys configured
Sep 19 22:28:50 gw kernel: Serial driver version 5.05c (2001-07-08) with
MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
Sep 19 22:28:50 gw kernel: ttyS00 at 0x03f8 (irq = 4) is a 16450
Sep 19 22:28:50 gw kernel: FDC 0 is an 8272A
Sep 19 22:28:50 gw kernel: eth0: DE204-AB at 0x120, h/w address
08:00:2b:93:fd:c8,
Sep 19 22:28:50 gw kernel:       has a 64k RAM window at 0xd0000 and uses
IRQ10.
Sep 19 22:28:50 gw kernel: PPP generic driver version 2.4.2
Sep 19 22:28:50 gw kernel: PPP Deflate Compression module registered
Sep 19 22:28:50 gw kernel: PPP BSD Compression module registered
Sep 19 22:28:50 gw kernel: Uniform Multi-Platform E-IDE driver Revision:
7.00beta4-2.4
Sep 19 22:28:50 gw kernel: ide: Assuming 50MHz system bus speed for PIO
modes; override with idebus=xx
Sep 19 22:28:50 gw kernel: hda: QUANTUM BIGFOOT_CY6480A, ATA DISK drive
Sep 19 22:28:50 gw kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Sep 19 22:28:50 gw kernel: hda: attached ide-disk driver.
Sep 19 22:28:50 gw kernel: hda: task_no_data_intr: status=0x51 { DriveReady
SeekComplete Error }
Sep 19 22:28:50 gw kernel: hda: task_no_data_intr: error=0x04 {
DriveStatusError }
Sep 19 22:28:50 gw kernel: hda: 12706470 sectors (6506 MB) w/67KiB Cache,
CHS=12605/16/63
Sep 19 22:28:50 gw kernel: ide-floppy driver 0.99.newide
Sep 19 22:28:50 gw kernel: Partition check:
Sep 19 22:28:50 gw kernel:  hda: hda1 hda2 hda3 hda4
Sep 19 22:28:51 gw kernel: ide-floppy driver 0.99.newide
Sep 19 22:28:51 gw kernel: SCSI subsystem driver Revision: 1.00
Sep 19 22:28:51 gw kernel: Linux Kernel Card Services 3.1.22
Sep 19 22:28:51 gw kernel:   options:  [pci]
Sep 19 22:28:51 gw kernel: Intel PCIC probe:
Sep 19 22:28:51 gw kernel:   Vadem VG-469 ISA-to-PCMCIA at port 0x3e0 ofs
0x00, 2 sockets
Sep 19 22:28:51 gw kernel:     host opts [0]: [ext mode] [isa buf]
Sep 19 22:28:51 gw kernel:     host opts [1]: [ext mode] [isa buf]
Sep 19 22:28:51 gw kernel:     ISA irqs (scanned) = 3,4,5,7,9,11,12,15
status change on irq 15
Sep 19 22:28:51 gw kernel: Databook TCIC-2 PCMCIA probe: not found.
Sep 19 22:28:51 gw kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Sep 19 22:28:51 gw kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Sep 19 22:28:51 gw kernel: IP: routing cache hash table of 512 buckets,
4Kbytes
Sep 19 22:28:51 gw kernel: TCP: Hash tables configured (established 512 bind
512)
Sep 19 22:28:51 gw kernel: IPv4 over IPv4 tunneling driver
Sep 19 22:28:51 gw kernel: GRE over IPv4 tunneling driver
Sep 19 22:28:51 gw kernel: Linux IP multicast router 0.06 plus PIM-SM
Sep 19 22:28:51 gw kernel: ip_conntrack version 2.1 (127 buckets, 1016
max) - 292 bytes per conntrack
Sep 19 22:28:51 gw kernel: ip_tables: (C) 2000-2002 Netfilter core team
Sep 19 22:28:51 gw kernel: arp_tables: (C) 2002 David S. Miller
Sep 19 22:28:51 gw kernel: NET4: Unix domain sockets 1.0/SMP for Linux
NET4.0.
Sep 19 22:28:51 gw kernel: IPv6 v0.8 for NET4.0
Sep 19 22:28:51 gw kernel: IPv6 over IPv4 tunneling driver
Sep 19 22:28:51 gw kernel: ip6_tables: (C) 2000-2002 Netfilter core team
Sep 19 22:28:51 gw kernel: NET4: Ethernet Bridge 008 for NET4.0
Sep 19 22:28:52 gw kernel: VFS: Mounted root (ext2 filesystem) readonly.
Sep 19 22:28:52 gw kernel: Freeing unused kernel memory: 100k freed
Sep 19 22:28:52 gw kernel: Adding Swap: 29192k swap-space (priority -1)
Sep 19 22:28:52 gw kernel: hostap_cs: 0.0.4 - 2003-07-27 (Jouni Malinen
<jkmaline at cc.hut.fi>)
Sep 19 22:28:52 gw kernel: cs: IO port probe 0x0c00-0x0cff: excluding
0xc08-0xc0f 0xc18-0xc87 0xc90-0xc97 0xca0-0xcc7 0xcd0-0xcff
Sep 19 22:28:52 gw kernel: cs: IO port probe 0x0800-0x08ff: excluding
0x808-0x80f 0x818-0x887 0x890-0x897 0x8a0-0x8c7 0x8d0-0x8ff
Sep 19 22:28:52 gw kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x400-0x4df
Sep 19 22:28:52 gw kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Sep 19 22:42:01 gw kernel: cs: memory probe 0x0d0000-0x0dffff: excluding
0xd0000-0xdffff
Sep 19 22:42:01 gw kernel: cs: memory probe 0x0c0000-0x0cffff: excluding
0xc0000-0xc7fff
Sep 19 22:42:09 gw kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io
0x0140-0x017f
Sep 19 22:42:09 gw kernel: hostap_cs: Registered netdevice wlan0
Sep 19 22:42:09 gw kernel: hostap_cs: card initialization timed out
Sep 19 22:43:38 gw kernel: general protection fault: 0000
Sep 19 22:43:39 gw kernel: CPU:    0
Sep 19 22:43:39 gw kernel: EIP:
0010:[hostap_cs:__insmod_hostap_cs_S.text_L26416+1006/26432]    Not tainted
Sep 19 22:43:39 gw kernel: EFLAGS: 00010006
Sep 19 22:43:39 gw kernel: eax: 0000fdc6   ebx: c0e44760   ecx: 00000000
edx: 00000142
Sep 19 22:43:39 gw kernel: esi: 00000206   edi: c0660e00   ebp: c0bf9e5c
esp: c0bf9e1c
Sep 19 22:43:39 gw kernel: ds: 0018   es: 0018   ss: 0018
Sep 19 22:43:39 gw kernel: Process iwconfig (pid: 261, stackpage=c0bf9000)
Sep 19 22:43:39 gw kernel: Stack: 0000fdc6 00000000 c091f020 c0660e00
c0e44760 c0e44768 c0bf9e5c c0bf8000
Sep 19 22:43:39 gw kernel:        00000000 00000000 c091f000 0021aa6b
00000000 c0bf8000 00000000 00000000
Sep 19 22:43:39 gw kernel:        00000000 c0bf8000 c0e4476c c0e4476c
c1838b96 c0660e00 00000021 0000fdc6
Sep 19 22:43:40 gw kernel: Call Trace:
[hostap_cs:__insmod_hostap_cs_S.text_L26416+2870/26432]
[hostap_cs:__insmod_hostap_cs_O/lib/modules/2.4.21/pcmcia/hostap_cs.o_+-5876
6/96] [do_con_write+1524/1620]
[hostap_cs:__insmod_hostap_cs_O/lib/modules/2.4.21/pcmcia/hostap_cs.o_+-5867
3/96] [wireless_process_ioctl+661/1748]
Sep 19 22:43:40 gw kernel:
[hostap_cs:__insmod_hostap_cs_O/lib/modules/2.4.21/pcmcia/hostap_cs.o_+-5870
0/96] [dev_ioctl+1170/1384] [inet_ioctl+585/592] [sock_ioctl+30/36]
[sys_ioctl+362/388] [system_call+51/56]
Sep 19 22:43:40 gw kernel:
Sep 19 22:43:40 gw kernel: Code: 0f b7 57 20 83 c2 04 89 c8 66 ef 0f b7 4b
20 0f b7 57 20 89
Sep 19 22:43:47 gw kernel:  <7>hostap_cs: CS_EVENT_CARD_REMOVAL

Kin-Kwok





More information about the Hostap mailing list