panic with acx in hostpa mode

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

panic with acx in hostpa mode

Maxim Bourmistrov-2
This acx card is picked up from DLink DSL-G604T and detected in -current as ACX111.
The card in question is Alpha WMP-G04 manufactured by Alpha Networks Inc. (http://www.alphanetworks.com/)
It is a b/g card.

acx0 at pci0 dev 16 function 0 "TI ACX111" rev 0x00: irq 10
acx0: ACX111, radio Radia (0x16), EEPROM ver 5, address 00:11:95:81:ac:e1

Machine is a NET4501 with -current (todays tree sync and kernel build)
Firmware added via pkg_add as described in man page.

While trying to setup this card in HostAP mode kernel panics with following(this is all I can get, as it goes to reboot almost directly):

acx0: watchdog timeout
fatal page fault (6) in supervisor mode
trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10282 cr2 bb7 cpl 50
panic: trap type 6, code=d05d0002, pc=d0210774
syncing disks... 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 giving up

AP setup is from man page too.

--
Best regards
Maxim Bourmistrov.

Unixconn.com
http://www.unixconn.com
Mailto: [hidden email]
tfn.: +46 (0) 31 78 04 472
mobile: +46 (0) 73 54 61 332  

Reply | Threaded
Open this post in threaded view
|

Re: panic with acx in hostpa mode

Maxim Bourmistrov-2
Tried to play with this card in my laptop.
HostAP mode works by manual setup in laptop.
Moved it again to net4501 and now net4501 boots and sets up everything correctly without any panic(strange).

Worth to mention that machine paniced directly after it recivied IP from ISP via dhcp(while panic it self has nothing with dhcp* to do).

On Sunday 27 August 2006 20:21, Maxim Bourmistrov wrote:

>
> This acx card is picked up from DLink DSL-G604T and detected in -current as ACX111.
> The card in question is Alpha WMP-G04 manufactured by Alpha Networks Inc. (http://www.alphanetworks.com/)
> It is a b/g card.
>
> acx0 at pci0 dev 16 function 0 "TI ACX111" rev 0x00: irq 10
> acx0: ACX111, radio Radia (0x16), EEPROM ver 5, address 00:11:95:81:ac:e1
>
> Machine is a NET4501 with -current (todays tree sync and kernel build)
> Firmware added via pkg_add as described in man page.
>
> While trying to setup this card in HostAP mode kernel panics with following(this is all I can get, as it goes to reboot almost directly):
>
> acx0: watchdog timeout
> fatal page fault (6) in supervisor mode
> trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10282 cr2 bb7 cpl 50
> panic: trap type 6, code=d05d0002, pc=d0210774
> syncing disks... 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 giving up
>
> AP setup is from man page too.
>

--
Best regards
Maxim Bourmistrov.

Unixconn.com
http://www.unixconn.com
Mailto: [hidden email]
tfn.: +46 (0) 31 78 04 472
mobile: +46 (0) 73 54 61 332  

Reply | Threaded
Open this post in threaded view
|

Re: panic with acx in hostpa mode

Maxim Bourmistrov-2
Well, box is not able to stay up.
Panics with:
Starting Network Daemons... syslogd sshd acx0: watchdog timeout
uvm_fault(0xd582c1b8, 0x0, 0, 3) -> e
fatal page fault (6) in supervisor mode
trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10292 cr2 bb7 cpl 50
panic: trap type 6, code=d05d0002, pc=d0210774
syncing disks... 42 42 40 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 giving up

I disabled acx for now.

On Sunday 27 August 2006 21:28, Maxim Bourmistrov wrote:

>
> Tried to play with this card in my laptop.
> HostAP mode works by manual setup in laptop.
> Moved it again to net4501 and now net4501 boots and sets up everything correctly without any panic(strange).
>
> Worth to mention that machine paniced directly after it recivied IP from ISP via dhcp(while panic it self has nothing with dhcp* to do).
>
> On Sunday 27 August 2006 20:21, Maxim Bourmistrov wrote:
> >
> > This acx card is picked up from DLink DSL-G604T and detected in -current as ACX111.
> > The card in question is Alpha WMP-G04 manufactured by Alpha Networks Inc. (http://www.alphanetworks.com/)
> > It is a b/g card.
> >
> > acx0 at pci0 dev 16 function 0 "TI ACX111" rev 0x00: irq 10
> > acx0: ACX111, radio Radia (0x16), EEPROM ver 5, address 00:11:95:81:ac:e1
> >
> > Machine is a NET4501 with -current (todays tree sync and kernel build)
> > Firmware added via pkg_add as described in man page.
> >
> > While trying to setup this card in HostAP mode kernel panics with following(this is all I can get, as it goes to reboot almost directly):
> >
> > acx0: watchdog timeout
> > fatal page fault (6) in supervisor mode
> > trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10282 cr2 bb7 cpl 50
> > panic: trap type 6, code=d05d0002, pc=d0210774
> > syncing disks... 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 giving up
> >
> > AP setup is from man page too.
> >
>

--
Best regards
Maxim Bourmistrov.

Unixconn.com
http://www.unixconn.com
Mailto: [hidden email]
tfn.: +46 (0) 31 78 04 472
mobile: +46 (0) 73 54 61 332  

Reply | Threaded
Open this post in threaded view
|

Re: panic with acx in hostpa mode

Theo de Raadt
> Well, box is not able to stay up.
> Panics with:
> Starting Network Daemons... syslogd sshd acx0: watchdog timeout
> uvm_fault(0xd582c1b8, 0x0, 0, 3) -> e
> fatal page fault (6) in supervisor mode
> trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10292 cr2 bb7 cpl 50
> panic: trap type 6, code=d05d0002, pc=d0210774
> syncing disks... 42 42 40 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 giving up
>
> I disabled acx for now.

If you tune your machine to reset the machine, instead of giving us a
traceback, then noone will help you.

You are running a custom system.  Therefore you get to fix whatever
bugs you run into.

And we are completely serious -- we will not debug people's bullshit.

Reply | Threaded
Open this post in threaded view
|

Re: panic with acx in hostpa mode

Maxim Bourmistrov
You absolutely right, I forgot how to write a correct bug report.
Sorry for that.
Let's make it right this time.
Relevant output:

 starting network
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from xx.xx.xx.xx
DHCPREQUEST on sis0 to 255.255.255.255 port 67
DHCPACK from xx.xx.xx.xx
bound to xx.xx.xx.yy -- renewal in 5357 seconds.
config error, multicasting disabled until rc.conf is fixed
Configuring and Enabling PF...
 acx0: watchdog timeout
uvm_fault(0xd2c3f1b8, 0x0, 0, 3) -> e
kernel: page fault trap, code=0
Stopped at      acx_stop+0x24:  movl    $0,0xbb4(%edi)
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
*31814  27207  27207      0  7      0x4006             pfctl
 29343      1  29343     77  3       0x184  poll       dhclient
 28929      1  27207      0  3        0x86  poll       dhclient
   289      1    289      0  3        0x84  mfsidl     mount_mfs
 16856      1  16856      0  3        0x84  mfsidl     mount_mfs
 27207      1  27207      0  3      0x4086  pause      sh
    10      0      0      0  3    0x100204  crypto_wa  crypto
     9      0      0      0  3    0x100204  aiodoned   aiodoned
     8      0      0      0  3    0x100204  syncer     update
     7      0      0      0  3    0x100204  cleaner    cleaner
     6      0      0      0  3    0x100204  reaper     reaper
     5      0      0      0  3    0x100204  pgdaemon   pagedaemon
     4      0      0      0  3    0x100204  pftm       pfpurge
     3      0      0      0  3    0x100204  wait       wskbd_hotkey
     2      0      0      0  3    0x100204  kmalloc    kmthread
     1      0      1      0  3      0x4084  wait       init
     0     -1      0      0  3     0x80204  scheduler  swapper
ddb> trace
acx_stop(3,0,ffffffff,0,d0712948) at acx_stop+0x24
acx_init(d0a0d000,d0a0d058,d0712948,cf7fa990,d02b7524) at acx_init+0x3e
acx_watchdog(d0a0d030,d0318f25,d0a09880,d681ef80) at acx_watchdog+0x5e
if_slowtimo(d073f824,0,d0a09840,3c015d18,0) at if_slowtimo+0x6a
softclock(27,3c010027,86db0027,cf7f0027,8125714f) at softclock+0x22c
Bad frame pointer: 0xd681efa0
ddb>

dmesg:
OpenBSD 4.0-beta (GENERIC) #0: Sun Aug 27 22:58:13 CEST 2006
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am5x86 W/B 133/160 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (65116K)
avail mem = 52588544 (51356K)
using 839 buffers containing 3436544 bytes (3356K) of memory
User Kernel Config
UKC> disable acx
168 acx* disabled
169 acx* disabled
UKC> ?
command   args                description
add       dev                 add a device
base      8|10|16             base on large numbers
change    devno|dev           change devices
ddb                           enter ddb
disable   attr val|devno|dev  disable devices
enable    attr val|devno|dev  enable devices
exit                          leave UKC
find      devno|dev           find devices
help                          this message
list                          list configuration
lines     [count]             number of lines before more
quit                          leave UKC
show      [attr [val]]        show attributes (or devices with an attribute)
timezone  [mins [dst]]        set timezone/dst
verbose                       toggle verbose booting
?                             this message
UKC> quit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/27, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 stepping 1.1, CPU clock 133MHz, reset 40<SCP>
gpio0 at elansc0: 32 pins
"TI ACX111" rev 0x00 at pci0 dev 16 function 0 not configured
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 11, address 00:00:24:c0:fd:30
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 5, address 00:00:24:c0:fd:31
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 9, address 00:00:24:c0:fd:32
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
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
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-64>
wd0: 1-sector PIO, LBA, 61MB, 125440 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f5c5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



On Sunday 27 August 2006 22:19, Theo de Raadt wrote:

> > Well, box is not able to stay up.
> > Panics with:
> > Starting Network Daemons... syslogd sshd acx0: watchdog timeout
> > uvm_fault(0xd582c1b8, 0x0, 0, 3) -> e
> > fatal page fault (6) in supervisor mode
> > trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10292 cr2 bb7 cpl 50
> > panic: trap type 6, code=d05d0002, pc=d0210774
> > syncing disks... 42 42 40 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 giving up
> >
> > I disabled acx for now.
>
> If you tune your machine to reset the machine, instead of giving us a
> traceback, then noone will help you.
>
> You are running a custom system.  Therefore you get to fix whatever
> bugs you run into.
>
> And we are completely serious -- we will not debug people's bullshit.

Reply | Threaded
Open this post in threaded view
|

Re: panic with acx in hostpa mode

Maxim Bourmistrov
Last rev. of acx.c fixes my kernel panic.

On Sunday 27 August 2006 23:13, Maxim Bourmistrov wrote:

> You absolutely right, I forgot how to write a correct bug report.
> Sorry for that.
> Let's make it right this time.
> Relevant output:
>
>  starting network
> DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 3
> DHCPOFFER from xx.xx.xx.xx
> DHCPREQUEST on sis0 to 255.255.255.255 port 67
> DHCPACK from xx.xx.xx.xx
> bound to xx.xx.xx.yy -- renewal in 5357 seconds.
> config error, multicasting disabled until rc.conf is fixed
> Configuring and Enabling PF...
>  acx0: watchdog timeout
> uvm_fault(0xd2c3f1b8, 0x0, 0, 3) -> e
> kernel: page fault trap, code=0
> Stopped at      acx_stop+0x24:  movl    $0,0xbb4(%edi)
> ddb> ps
>    PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
> *31814  27207  27207      0  7      0x4006             pfctl
>  29343      1  29343     77  3       0x184  poll       dhclient
>  28929      1  27207      0  3        0x86  poll       dhclient
>    289      1    289      0  3        0x84  mfsidl     mount_mfs
>  16856      1  16856      0  3        0x84  mfsidl     mount_mfs
>  27207      1  27207      0  3      0x4086  pause      sh
>     10      0      0      0  3    0x100204  crypto_wa  crypto
>      9      0      0      0  3    0x100204  aiodoned   aiodoned
>      8      0      0      0  3    0x100204  syncer     update
>      7      0      0      0  3    0x100204  cleaner    cleaner
>      6      0      0      0  3    0x100204  reaper     reaper
>      5      0      0      0  3    0x100204  pgdaemon   pagedaemon
>      4      0      0      0  3    0x100204  pftm       pfpurge
>      3      0      0      0  3    0x100204  wait       wskbd_hotkey
>      2      0      0      0  3    0x100204  kmalloc    kmthread
>      1      0      1      0  3      0x4084  wait       init
>      0     -1      0      0  3     0x80204  scheduler  swapper
> ddb> trace
> acx_stop(3,0,ffffffff,0,d0712948) at acx_stop+0x24
> acx_init(d0a0d000,d0a0d058,d0712948,cf7fa990,d02b7524) at acx_init+0x3e
> acx_watchdog(d0a0d030,d0318f25,d0a09880,d681ef80) at acx_watchdog+0x5e
> if_slowtimo(d073f824,0,d0a09840,3c015d18,0) at if_slowtimo+0x6a
> softclock(27,3c010027,86db0027,cf7f0027,8125714f) at softclock+0x22c
> Bad frame pointer: 0xd681efa0
> ddb>
>
> dmesg:
> OpenBSD 4.0-beta (GENERIC) #0: Sun Aug 27 22:58:13 CEST 2006
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Am5x86 W/B 133/160 ("AuthenticAMD" 486-class)
> cpu0: FPU
> real mem  = 66678784 (65116K)
> avail mem = 52588544 (51356K)
> using 839 buffers containing 3436544 bytes (3356K) of memory
> User Kernel Config
> UKC> disable acx
> 168 acx* disabled
> 169 acx* disabled
> UKC> ?
> command   args                description
> add       dev                 add a device
> base      8|10|16             base on large numbers
> change    devno|dev           change devices
> ddb                           enter ddb
> disable   attr val|devno|dev  disable devices
> enable    attr val|devno|dev  enable devices
> exit                          leave UKC
> find      devno|dev           find devices
> help                          this message
> list                          list configuration
> lines     [count]             number of lines before more
> quit                          leave UKC
> show      [attr [val]]        show attributes (or devices with an attribute)
> timezone  [mins [dst]]        set timezone/dst
> verbose                       toggle verbose booting
> ?                             this message
> UKC> quit
> Continuing...
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/27, BIOS32 rev. 0 @ 0xf7840
> pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc8000/0x9000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 stepping 1.1, CPU clock 133MHz, reset 40<SCP>
> gpio0 at elansc0: 32 pins
> "TI ACX111" rev 0x00 at pci0 dev 16 function 0 not configured
> sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 11, address 00:00:24:c0:fd:30
> nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
> sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 5, address 00:00:24:c0:fd:31
> nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
> sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 9, address 00:00:24:c0:fd:32
> nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
> isa0 at mainbus0
> 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
> wdc0 at isa0 port 0x1f0/8 irq 14
> wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-64>
> wd0: 1-sector PIO, LBA, 61MB, 125440 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask f5c5 netmask ffe5 ttymask ffe7
> pctr: no performance counters in CPU
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
>
>
>
> On Sunday 27 August 2006 22:19, Theo de Raadt wrote:
> > > Well, box is not able to stay up.
> > > Panics with:
> > > Starting Network Daemons... syslogd sshd acx0: watchdog timeout
> > > uvm_fault(0xd582c1b8, 0x0, 0, 3) -> e
> > > fatal page fault (6) in supervisor mode
> > > trap type 6 code d05d0002 eip d0210774 cs d02c0050 eflags 10292 cr2 bb7 cpl 50
> > > panic: trap type 6, code=d05d0002, pc=d0210774
> > > syncing disks... 42 42 40 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 giving up
> > >
> > > I disabled acx for now.
> >
> > If you tune your machine to reset the machine, instead of giving us a
> > traceback, then noone will help you.
> >
> > You are running a custom system.  Therefore you get to fix whatever
> > bugs you run into.
> >
> > And we are completely serious -- we will not debug people's bullshit.