Hey guys, I'm having problem with ral0 running in hostap mode on my openbsd box (i386, running 3.8-stable).

At the moment, the ral0 device acts as an access point and only using mac address filtering to be able to go on the internet. So I don't use the WEP, or IPSec, or anything like that. This is already the second time I got the "integer divide fault trap" and then I got into the ddb> prompt (I attached the output as well as dmesg below). Is this an known issue? Can someone help me out with this, so that I can have my ral0 device runs in hostap mode flawlessly?

If there's anymore info needed, please let me know.

Thanks in advance,
Reza



ral0: device timeout
kernel: integer divide fault trap, code=0
Stopped at              ral_setup_tx_desc+0xae: idivl   %ebx,%eax
ddb> trace
ral_setup_tx_desc(d0c89000, e6c38000,200,5fc,0) at ral_setup_tx_desc +0xae
ral_tx_data(d0c89000,d6192e00,d0d662200,0) at ral_tx_data+0x552
ral_start(d0c89030,d6192ef6,6,5aa1274) at ral_start+0x16c
ether_output(d0c89030,d6380c00,d05d3be8,d62193d0,30) at ether_output +0x35b
ip_output(d6380c00,0,d05d3be4,1,0,0,0,0) at ip_output+0x930
ip_forward(d6380c00,1,0,50,d6138900) at ip_forward+0x159
ipv4_input(d6380c00,d0c8c140,0,d06f0000) at ipv4_input+0x25a
ipintr(d0c50058,10,d06f0010,14e90010,d06f0000) at ipintr+0x67
Bad frame pointer: 0xd06f1e44
ddb> ps
PID             PPID    PGRP    UID             S       FLAGS   WAIT    COMMAND
24709   9959    24709   1000    3       0x4086  pause   screen
20661   7903    20661   1001    3       0x4086  poll            irssi
7903    1               7903    1001    3       0x84    select  screen
9959    29511   9959    1000    3       0x4086  pause   ksh
29511   29827   29827   1000    3       0x184   select  sshd
29827   2813    29827   0               3       0x4084  netio   sshd    
30612   24484   30612   1000    3       0x4086  poll            irssi
24488   1               24484   1000    3       0x84    select  screen
20303   1               20303   0               3       0x4086  ttyin           
getty
13008   1               13008   0               3       0x84    select  rtadvd
1608    1               1608    0               3       0x4086  ttyin           
getty
15017   1               15017   0               3       0x4086  ttyin           
getty
31978   1               31978   0               3       0x4086  ttyin           
getty
9289    1               9289    0               3       0x4086  ttyin           
getty
14226   1               14226   0               3       0x84    select  cron
16627   1               16627   0               3       0x84    nanosleep       
tspc
2813    1               2813    0               3       0x84    select  sshd
24316   1               24316   0               3       0x184   select  inetd
7995    1               7995    77              3       0x184   poll            
dhcpd
28113   4646    4646    74              3       0x184   bfp             pflogd
4646    1               4646    0               3       0x84    netio   pflogd
20294   27009   27009   73              3       0x184   poll            syslogd
27009   1               27009   0               3       0x84    netio   syslogd
27208   1               27208   77              3       0x184   poll            
dhclient        
19447   1               21831   0               3       0x86    poll            
dhclient
11              0               0               0               3       0x10024 
crypto_wa       crypto
10              0               0               0               3       0x10024 
aiodoned        aiodoned
9               0               0               0               3       0x10024 
syncer  update
8               0               0               0               3       0x10024 
cleaner cleaner
7               0               0               0               3       0x10024 
reaper  reaper
6               0               0               0               3       0x10024 
pgdaemon        pgdaemon
5               0               0               0               3       0x10024 
pftm            pfpurge
4               0               0               0               3       0x10024 
usbtsk  usbtask
3               0               0               0               3       0x10024 
usbevt  usb0
2               0               0               0               3       0x10024 
kmalloc kmthread
1               0               1               0               3       0x4084  
        wait            init
0               -1              0               0               3       0x80204 
scheduler       swapper
ddb> show registers
ds              0xd0330010              in6_init_prefix_ltimes+0x80
es              0xd06f0010              end+0x759c0
fs              0xd0c50058              end+0x5d5a08
gs              0xd6190010              end+0x5b159c0
edi             0xd0c89030              end+0x60e9e0
esi             0xe6c38000      
ebp             0xd06f1a84              end+0x77434
ebx             0
edx             0
ecx             0x6000
eax             0x6000
eip             0xd01ad53e              ral_setup_tx_desc+0xae
cs              0x50
eflags  0x10216 
esp             0xd06f1a6c              end+0x7741c
ss              0xd06f0010              end+0x759c0
ral_setup_tx_desc+0xae: idixl   %ebx,%eax


# dmesg
OpenBSD 3.8-stable (GENERIC) #4: Sun Jan 15 09:30:23 WIT 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 930 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36, MMX,FXSR,SSE
real mem  = 333946880 (326120K)
avail mem = 297324544 (290356K)
using 4102 buffers containing 16801792 bytes (16408K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(eb) BIOS, date 04/05/01, BIOS32 rev. 0 @ 0xe7300
pcibios0 at bios0: rev 2.1 @ 0xe7300/0x8d00
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfae20/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xa000 0xca000/0x800 0xca800/0xd800! 0xe0000/0x10000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82815 Hub" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82815 Graphics" rev 0x04: aperture at 0x44000000, size 0x4000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x02
pci1 at ppb0 bus 1
xl0 at pci1 dev 4 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 5, address 00:01:03:69:63:01
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x01: irq 10, address 00:02:a5:8f:98:9d
inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0
ral0 at pci1 dev 9 function 0 "Ralink RT2560" rev 0x01: irq 11, address 00:12:17:68:28:c2
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 2B020H1>
wd0: 16-sector PIO, LBA, 19541MB, 40020624 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CD-ROM LTN403, DQ19> SCSI0 5/ cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x02: irq 5, ICH2 AC97
ac97: codec id 0x41445360 (Analog Devices AD1885)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e745 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted

Reply via email to