Hi Alexander,

I find the root cause is the cache of you mini-PCI card is zero, see the
output of "prtconf -v":
-----------
...
pci bus 0x0000 cardnum 0x05 function 0x00: vendor 0x1814 device 0x0201
RaLink RT2500 802.11G Cardbus/mini-PCI
CardVendor 0x1462 card 0x6833 (Micro-Star International Co., Ltd., Card
unknown)
STATUS 0x0410 COMMAND 0x0000
CLASS 0x02 0x80 0x00 REVISION 0x01
BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00
^^^^ this cause the BAD TRAP: type=0 (#de Divide error)

BASE0 0xffffe000 addr 0xffffe000 MEM
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x00
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x02 BYTE_3 0x00
------------

I will send you a fix verion of ral driver later.

--
Quaker

Alexander Wallace ???:

> Please forgive me for taking so long to reply... I only have access to
> the laptop in the evenings...
>
> Here is the output of the requested command... Thanks in advance for
> all the help!
>
> -bash-3.00# mdb 2 <<EOF
> > ::status
> > $<msgbuf
> > $C
> > $q
> > EOF
> mdb: warning: dump is from SunOS 5.11 snv_43; dcmds and macros may not
> match kernel implementation
> debugging crash dump vmcore.2 (64-bit) from tonatzin
> operating system: 5.11 snv_43 (i86pc)
> panic message:
> BAD TRAP: type=0 (#de Divide error) rp=fffffe8000b3c7e0
> addr=fffffd7fff17f758
> dump content: kernel pages only
> MESSAGE
> pseudo-device: dld0
> dld0 is /pseudo/dld at 0
> PCI-device: pci1106,b188 at 1, pci_pci0
> pci_pci0 is /pci at 0,0/pci1106,b188 at 1
> pcplusmp: i8042 (i8042) instance 0 vector 0x1 ioapic 0x1 intin 0x1 is
> bound to cpu 0
> pcplusmp: i8042 (i8042) instance #0 vector 0xc ioapic 0x1 intin 0xc is
> bound to
> cpu 0
> 8042 device: keyboard at 0, kb8042 # 0
> kb80420 is /isa/i8042 at 1,60/keyboard at 0
> 8042 device: mouse at 1, mouse8042 # 0
> mouse80420 is /isa/i8042 at 1,60/mouse at 1
> pcplusmp: pciclass,0c0320 (ehci) instance 0 vector 0x15 ioapic 0x1
> intin 0x15 is bound to cpu 0
> PCI-device: pci1558,4701 at 10,3, ehci0
> ehci0 is /pci at 0,0/pci1558,4701 at 10,3
> PCI-device: pci1558,4701 at 10, uhci0
> uhci0 is /pci at 0,0/pci1558,4701 at 10
> PCI-device: pci1558,4701 at 10,1, uhci1
> uhci1 is /pci at 0,0/pci1558,4701 at 10,1
> PCI-device: pci1558,4701 at 10,2, uhci2
> uhci2 is /pci at 0,0/pci1558,4701 at 10,2
> cpu0: x86 (AuthenticAMD family 15 model 4 step 10 clock 2400 MHz)
> cpu0: AMD Athlon(tm) 64 Processor 3700+
> USB 1.10 device (usbac8,301b) operating at full speed (USB 1.x) on USB
> 1.10 root hub: device at 1, usb_mid0 at bus address 2
> Z-Star Corp. PC Camera
> usb_mid0 is /pci at 0,0/pci1558,4701 at 10,2/device at 1
> /pci at 0,0/pci1558,4701 at 10,2/device at 1 (usb_mid0) online
> /pci at 0,0/pci1558,4701 at 10,2/device at 1 (usb_mid0): no driver found for
> interface 0
> (nodename: 'interface') of Z-Star Corp. PC Camera
> pcplusmp: pciclass,0c0010 (hci1394) instance 0 vector 0x11 ioapic 0x1
> intin 0x11 is bound to cpu 0
> PCI-device: pci1558,4701 at 6, hci13940
> hci13940 is /pci at 0,0/pci1558,4701 at 6
> NOTICE: cpqhpc: 64-bit driver module not found
> WARNING: tzmon: error evaluating _AL object
> pseudo-device: tzmon0
> tzmon0 is /pseudo/tzmon at 0
> pcplusmp: pciclass,060700 (pcic) instance 0 vector 0x10 ioapic 0x1
> intin 0x10 is bound to cpu 0
> PCI-device: pci1558,4701 at c, pcic0
> /pci at 0,0/pci1558,4701 at c/pcs at 0 (pcs0) online
> NOTICE: cpqhpc: 64-bit driver module not found
> UltraDMA mode 2 selected
> dump on /dev/dsk/c0d0s1 size 4102 MB
> pseudo-device: zfs0
> zfs0 is /pseudo/zfs at 0
> pseudo-device: pm0
> pm0 is /pseudo/pm at 0
> pseudo-device: power0
> power0 is /pseudo/power at 0
> pseudo-device: devinfo0
> devinfo0 is /pseudo/devinfo at 0
> pcplusmp: asy (asy) instance 0 vector 0x4 ioapic 0x1 intin 0x4 is
> bound to cpu 0ISA-device: asy0
> asy0 is /isa/asy at 1,3f8
> iscsi0 at root
> iscsi0 is /iscsi
> xsvc0 at root
> xsvc0 is /xsvc
> pseudo-device: vol0
> vol0 is /pseudo/vol at 0
> NOTICE: audiovia823x0: audiovia823x0: xid=0x05c7, vid1=0x414c,
> vid2=0x4720
> pcplusmp: pci1106,3059 (audiovia823x) instance 0 vector 0x16 ioapic
> 0x1 intin 0x16 is bound to cpu 0
> PCI-device: pci1558,4701 at 11,5, audiovia823x0
> audiovia823x0 is /pci at 0,0/pci1558,4701 at 11,5
> pcplusmp: ide (ata) instance #1 vector 0xf ioapic 0x1 intin 0xf is
> bound to cpu
> 0
> pcplusmp: ide (ata) instance #1 vector 0xf ioapic 0x1 intin 0xf is
> bound to cpu
> 0
> ATAPI device at targ 0, lun 0 lastlun 0xfffe
> model TOSHIBA CD/DVDW SDR6572M
> ATA/ATAPI-7 supported, majver 0xf8 minver 0x1a
> PCI-device: ide at 1, ata1
> ata1 is /pci at 0,0/pci-ide at 11,1/ide at 1
> UltraDMA mode 2 selected
> UltraDMA mode 2 selected
> UltraDMA mode 2 selected
> sd0 at ata1: target 0 lun 0
> sd0 is /pci at 0,0/pci-ide at 11,1/ide at 1/sd at 0,0
> device pciclass,030000 at 0(display#0) keeps up device sd at 0,0(sd#0), but
> the latter is not power managed
> pseudo-device: devinfo0
> devinfo0 is /pseudo/devinfo at 0
> NOTICE: audiovia823x0: audiovia823x0: xid=0x05c7, vid1=0x414c,
> vid2=0x4720
> pcplusmp: pci1106,3059 (audiovia823x) instance 0 vector 0x16 ioapic
> 0x1 intin 0x16 is bound to cpu 0
> PCI-device: pci1558,4701 at 11,5, audiovia823x0
> audiovia823x0 is /pci at 0,0/pci1558,4701 at 11,5
> pseudo-device: pool0
> pool0 is /pseudo/pool at 0
>
> panic[cpu0]/thread=fffffe8000b3cc80:
> BAD TRAP: type=0 (#de Divide error) rp=fffffe8000b3c7e0
> addr=fffffd7fff17f758
>
>
> sched:
> #de Divide error
> addr=0xfffffd7fff17f758
> pid=0, pc=0xfffffffff3c676ae, sp=0xfffffe8000b3c8d0, eflags=0x10246
> cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f0<xmme,fxsr,pge,mce,pae,pse>
> cr2: fffffd7fff17f758 cr3: a6cd000 cr8: c
> rdi: 4 rsi: fffffffff3c77ab8 rdx: 0
> rcx: 0 r8: ffffffff8048edd0 r9: 2ee0
> rax: 907 rbx: 0 rbp: fffffe8000b3c930
> r10: ffffffff82f820b8 r11: ffff r12: ffffffff82f82090
> r13: ffffffff82f81000 r14: fa r15: 0
> fsb: fffffd7fff082000 gsb: fffffffffbc27850 ds: 0
> es: 0 fs: 1bb gs: 0
> trp: 0 err: 0 rip: fffffffff3c676ae
> cs: 28 rfl: 10246 rsp: fffffe8000b3c8d0
> ss: 30
>
> fffffe8000b3c6d0 unix:die+b1 ()
> fffffe8000b3c7d0 unix:trap+1311 ()
> fffffe8000b3c7e0 unix:_cmntrap+140 ()
> fffffe8000b3c930 ral:rt2560_alloc_tx_ring+9e ()
> fffffe8000b3c9f0 ral:rt2560_attach+23f ()
> fffffe8000b3ca50 genunix:devi_attach+8c ()
> fffffe8000b3ca90 genunix:attach_node+a6 ()
> fffffe8000b3cae0 genunix:i_ndi_config_node+a9 ()
> fffffe8000b3cb10 genunix:i_ddi_attachchild+45 ()
> fffffe8000b3cb50 genunix:devi_attach_node+89 ()
> fffffe8000b3cbb0 genunix:config_immediate_children+120 ()
> fffffe8000b3cc00 genunix:devi_config_common+a8 ()
> fffffe8000b3cc60 genunix:mt_config_thread+5a ()
> fffffe8000b3cc70 unix:thread_start+8 ()
>
> syncing file systems...
> 1
> 1
> done
> dumping to /dev/dsk/c0d0s1, offset 860356608, content: kernel
>
>
> Quaker Fang wrote:
>
>> Hi,
>>
>> Alexander Wallace:
>>
>>> Thank you very much for the response.
>>>
>>> Since i don't know much of what you are doing with the mdb, i could
>>> not correct the command if it needed correction, so the output is as
>>> follows:
>>>
>>> debugging file 'vmcore.2' (object file)
>>> mdb: invalid command '::msgbuf': unknown dcmd name
>>
>>
>> You are using snv_38 or snv_43, right?
>>
>> # cd /var/crash/<hostname>/
>> # mdb 2 <<EOF
>>
>>> ::statusve $<msgbuf
>>> $C
>>> $q
>>> EOF
>>
>>
>> Then, please post the output here.
>>
>> -- 
>> Quaker
>>
>>> I'm attaching the output of the other two commands...
>>>
>>> Again, thank you very much for your help.
>>>
>>> Quaker Fang wrote:
>>>
>>>> Hi Alexander,
>>>>
>>>> What's the output of the following commands running under directory
>>>> /var/crash/<hostname>/
>>>>
>>>> mdb <number> <<EOF
>>>> ::status
>>>> $<msgbuf
>>>> $C
>>>> $q
>>>> EOF
>>>>
>>>> where <number> is the one of those suffix numbers of vmcore.* (your
>>>> latest core dump).
>>>> Please post the output here.
>>>>
>>>> Then, what's the output of "#/usr/X11/bin/scanpci -v" and "#prtconf
>>>> -v" ?
>>>> Please post these here, then I can help to figure out.
>>>>
>>>> -- 
>>>> Quaker
>>>>
>>>> Alexander Wallace:
>>>>
>>>>> Hi all!
>>>>>
>>>>> I have a laptop with an RT2500 card and was very excited to see a
>>>>> driver for it in open solaris... I'm running svn 38, and 43... I
>>>>> tried installing it on both and in both cases, the computer (amd 64
>>>>> / 2 gig laptop) does a memory (or so it seems) dump and gets
>>>>> rebooted when running the post install scripts....
>>>>>
>>>>> Any clues?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> _______________________________________________
>>>>> laptop-discuss mailing list
>>>>> laptop-discuss at opensolaris.org
>>>>
>>
>>
>>
>


Reply via email to