kernel panics with latest x86-pci-only drivers for solaris

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, kodachi, cesium

kernel panics with latest x86-pci-only drivers for solaris

Postby devsk » Fri Jul 08, 2005 2:33 am

being very eager to get the sound working on solaris box, I installed OSS from opensound. invoking soundon produces a panic:
----------------------------------------------------------------
Jun 28 00:53:39 unknown pci_pci: [ID 370704 kern.info] PCI-device: pci5053,3357@9, oss0
Jun 28 00:53:39 unknown genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci5053,3357@9
Jun 28 00:53:44 unknown unix: [ID 836849 kern.notice]
Jun 28 00:53:44 unknown ^Mpanic[cpu0]/thread=c8682aa0:
Jun 28 00:53:44 unknown genunix: [ID 403854 kern.notice] assertion failed: ibc < (void *)KERNELBASE, file: ../../common/os/mutex.c, line: 515
Jun 28 00:53:44 unknown unix: [ID 100000 kern.notice]
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cce8 genunix:assfail+5c (fe899144, fe89912c,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cd0c unix:mutex_init+72 (d64d2c9c, d6512528,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdb0 oss:probe_cs4280+283 (d64473ac)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdcc oss:start_cards+c5 (c7d6cdf8, f9d421de,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdd4 oss:do_activate+1a (0)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdf8 oss:sound_private_ioctl+29e (0, d6513e80, 400463)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6ce18 oss:oss_ioctl_sw+230 (0, d6513e80, 400463)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6ce50 oss:sound_ioctl+145 (0, 40046306, 804798)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6ce7c genunix:cdev_ioctl+2e (2f80000, 40046306, )
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cea0 specfs:spec_ioctl+65 (d21d1b80, 40046306,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cec4 genunix:fop_ioctl+21 (d21d1b80, 40046306,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cf7c genunix:ioctl+151 (3, 40046306, 804798)
Jun 28 00:53:44 unknown unix: [ID 100000 kern.notice]
Jun 28 00:53:44 unknown genunix: [ID 672855 kern.notice] syncing file systems...Jun 28 00:53:44 unknown genunix: [ID 904073 kern.notice] done
-----------------

the sun engineer feels this about the issue:
------------------------------
>Jun 28 00:53:44 unknown genunix: [ID 403854 kern.notice] assertion failed: ibc < (void *)KERNELBAS
E, file: ../../common/os/mutex.c, line: 515


This appaers to be an error in the oss driver; they are passing the
incorrect value as fourth argument to mutex_init().

Try setting "aok = 1" in the kernel (which causes the debug kernel
to ignore assertion failures) and then dtrace the call to mutex_init,
printing the fourth argumnt).

The fourth argument should be a small integer, as a result of code
similar to:

ddi_get_iblock_cookie(dip, 0, &iblock);
mutex_init(&un->un_lock, NULL, MUTEX_DRIVER,
(void *)iblock);


However, sometimes the code is written like this:


ddi_get_iblock_cookie(dip, 0, &iblock);
mutex_init(&un->un_lock, NULL, MUTEX_DRIVER,
(void *)&iblock);


which is incorrect and which is what the assertion tries to catch.

This shows that developing on non-debug kernels doesn't work quite
as well as developing on debug kernels.
-------------------

setting aok=1 helps me get the sound and it works for a while. And then it just panics my machine again with this:

-------------------
Jul 5 03:40:40 unknown ^Mpanic[cpu0]/thread=cb035800:
Jul 5 03:40:40 unknown genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=cad7eda8 addr=726f70b7 occurred in module "oss" due to an illegal access to a user address
Jul 5 03:40:40 unknown unix: [ID 100000 kern.notice]
Jul 5 03:40:40 unknown unix: [ID 839527 kern.notice] xmms:
Jul 5 03:40:40 unknown unix: [ID 753105 kern.notice] #pf Page fault
Jul 5 03:40:40 unknown unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x726f70b7
Jul 5 03:40:40 unknown unix: [ID 243837 kern.notice] pid=100601, pc=0xf9f6b3b4, sp=0x3, eflags=0x10246
Jul 5 03:40:40 unknown unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
Jul 5 03:40:40 unknown unix: [ID 936844 kern.notice] cr2: 726f70b7 cr3: 25248000
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] gs: cb2601b0 fs: 40000 es: fe910160 ds: ce030160
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] edi: 4 esi: 0 ebp: cad7edf8 esp: cad7ede0
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] ebx: 0 edx: cc4b7008 ecx: 20044dfe eax: 726f702f
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] trp: e err: 0 eip: f9f6b3b4 cs: 158
Jul 5 03:40:40 unknown unix: [ID 717149 kern.notice] efl: 10246 usp: 3 ss: cad7ee18
Jul 5 03:40:40 unknown unix: [ID 100000 kern.notice]
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ecec unix:die+a6 (e, cad7eda8, 726f70)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ed94 unix:trap+12e1 (cad7eda8, 726f70b7,)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7eda8 unix:_cmntrap+10b (cb2601b0, 40000, fe)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7edf8 oss:sound_mixer_ioctl+44 (0, ffffffff, 20044d)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ee18 oss:oss_ioctl_sw+1c1 (0, cb503e80, 20044d)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ee50 oss:sound_ioctl+145 (0, 20044dfe, 804728)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ee7c genunix:cdev_ioctl+2e (2f80000, 20044dfe, ) Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7eea0 specfs:spec_ioctl+65 (cb26f000, 20044dfe,)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7eec4 genunix:fop_ioctl+21 (cb26f000, 20044dfe,)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ef7c genunix:ioctl+151 (9, 20044dfe, 804728)

--------------------

any ideas?
devsk
 

Re: kernel panics with latest x86-pci-only drivers for solar

Postby dev » Fri Jul 08, 2005 5:52 am

devsk wrote:being very eager to get the sound working on solaris box, I installed OSS from opensound. invoking soundon produces a panic:
----------------------------------------------------------------
Jun 28 00:53:39 unknown pci_pci: [ID 370704 kern.info] PCI-device: pci5053,3357@9, oss0
Jun 28 00:53:39 unknown genunix: [ID 936769 kern.info] oss0 is /pci@0,0/pci8086,244e@1e/pci5053,3357@9
Jun 28 00:53:44 unknown unix: [ID 836849 kern.notice]
Jun 28 00:53:44 unknown ^Mpanic[cpu0]/thread=c8682aa0:
Jun 28 00:53:44 unknown genunix: [ID 403854 kern.notice] assertion failed: ibc < (void *)KERNELBASE, file: ../../common/os/mutex.c, line: 515
Jun 28 00:53:44 unknown unix: [ID 100000 kern.notice]
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cce8 genunix:assfail+5c (fe899144, fe89912c,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cd0c unix:mutex_init+72 (d64d2c9c, d6512528,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdb0 oss:probe_cs4280+283 (d64473ac)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdcc oss:start_cards+c5 (c7d6cdf8, f9d421de,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdd4 oss:do_activate+1a (0)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cdf8 oss:sound_private_ioctl+29e (0, d6513e80, 400463)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6ce18 oss:oss_ioctl_sw+230 (0, d6513e80, 400463)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6ce50 oss:sound_ioctl+145 (0, 40046306, 804798)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6ce7c genunix:cdev_ioctl+2e (2f80000, 40046306, )
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cea0 specfs:spec_ioctl+65 (d21d1b80, 40046306,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cec4 genunix:fop_ioctl+21 (d21d1b80, 40046306,)
Jun 28 00:53:44 unknown genunix: [ID 353471 kern.notice] c7d6cf7c genunix:ioctl+151 (3, 40046306, 804798)
Jun 28 00:53:44 unknown unix: [ID 100000 kern.notice]
Jun 28 00:53:44 unknown genunix: [ID 672855 kern.notice] syncing file systems...Jun 28 00:53:44 unknown genunix: [ID 904073 kern.notice] done
-----------------

the sun engineer feels this about the issue:
------------------------------
>Jun 28 00:53:44 unknown genunix: [ID 403854 kern.notice] assertion failed: ibc < (void *)KERNELBAS
E, file: ../../common/os/mutex.c, line: 515


This appaers to be an error in the oss driver; they are passing the
incorrect value as fourth argument to mutex_init().

Try setting "aok = 1" in the kernel (which causes the debug kernel
to ignore assertion failures) and then dtrace the call to mutex_init,
printing the fourth argumnt).

The fourth argument should be a small integer, as a result of code
similar to:

ddi_get_iblock_cookie(dip, 0, &iblock);
mutex_init(&un->un_lock, NULL, MUTEX_DRIVER,
(void *)iblock);


However, sometimes the code is written like this:


ddi_get_iblock_cookie(dip, 0, &iblock);
mutex_init(&un->un_lock, NULL, MUTEX_DRIVER,
(void *)&iblock);


which is incorrect and which is what the assertion tries to catch.

This shows that developing on non-debug kernels doesn't work quite
as well as developing on debug kernels.
-------------------

setting aok=1 helps me get the sound and it works for a while. And then it just panics my machine again with this:

-------------------
Jul 5 03:40:40 unknown ^Mpanic[cpu0]/thread=cb035800:
Jul 5 03:40:40 unknown genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=cad7eda8 addr=726f70b7 occurred in module "oss" due to an illegal access to a user address
Jul 5 03:40:40 unknown unix: [ID 100000 kern.notice]
Jul 5 03:40:40 unknown unix: [ID 839527 kern.notice] xmms:
Jul 5 03:40:40 unknown unix: [ID 753105 kern.notice] #pf Page fault
Jul 5 03:40:40 unknown unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x726f70b7
Jul 5 03:40:40 unknown unix: [ID 243837 kern.notice] pid=100601, pc=0xf9f6b3b4, sp=0x3, eflags=0x10246
Jul 5 03:40:40 unknown unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
Jul 5 03:40:40 unknown unix: [ID 936844 kern.notice] cr2: 726f70b7 cr3: 25248000
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] gs: cb2601b0 fs: 40000 es: fe910160 ds: ce030160
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] edi: 4 esi: 0 ebp: cad7edf8 esp: cad7ede0
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] ebx: 0 edx: cc4b7008 ecx: 20044dfe eax: 726f702f
Jul 5 03:40:40 unknown unix: [ID 537610 kern.notice] trp: e err: 0 eip: f9f6b3b4 cs: 158
Jul 5 03:40:40 unknown unix: [ID 717149 kern.notice] efl: 10246 usp: 3 ss: cad7ee18
Jul 5 03:40:40 unknown unix: [ID 100000 kern.notice]
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ecec unix:die+a6 (e, cad7eda8, 726f70)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ed94 unix:trap+12e1 (cad7eda8, 726f70b7,)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7eda8 unix:_cmntrap+10b (cb2601b0, 40000, fe)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7edf8 oss:sound_mixer_ioctl+44 (0, ffffffff, 20044d)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ee18 oss:oss_ioctl_sw+1c1 (0, cb503e80, 20044d)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ee50 oss:sound_ioctl+145 (0, 20044dfe, 804728)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ee7c genunix:cdev_ioctl+2e (2f80000, 20044dfe, ) Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7eea0 specfs:spec_ioctl+65 (cb26f000, 20044dfe,)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7eec4 genunix:fop_ioctl+21 (cb26f000, 20044dfe,)
Jul 5 03:40:40 unknown genunix: [ID 353471 kern.notice] cad7ef7c genunix:ioctl+151 (9, 20044dfe, 804728)

--------------------

any ideas?


Hi,

Run ossupdate or download the OSS 3.99.3b version of OSS for Solaris. We have fixed some bug up with this problem.


best regards
Dev Mazumdar
dev
 
Posts: 576
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby devsk » Tue Jul 12, 2005 2:47 am

I updated to 3b and now I get this TRAP when I stop a song in xmms:
Jul 10 11:17:45 unknown ^Mpanic[cpu0]/thread=cd75ee00:
Jul 10 11:17:45 unknown genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=cc142da8 addr=88 occurred in module "oss" due to a NULL pointer dereference
Jul 10 11:17:45 unknown unix: [ID 100000 kern.notice]
Jul 10 11:17:45 unknown unix: [ID 839527 kern.notice] xmms:
Jul 10 11:17:45 unknown unix: [ID 753105 kern.notice] #pf Page fault
Jul 10 11:17:45 unknown unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x88
Jul 10 11:17:45 unknown unix: [ID 243837 kern.notice] pid=129063, pc=0xfa19f3b4, sp=0x3, eflags=0x10246
Jul 10 11:17:45 unknown unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
Jul 10 11:17:45 unknown unix: [ID 936844 kern.notice] cr2: 88 cr3: 10928000
Jul 10 11:17:45 unknown unix: [ID 537610 kern.notice] gs: cede01b0 fs: 2f80000 es: fe910160 ds: ce030160
Jul 10 11:17:45 unknown unix: [ID 537610 kern.notice] edi: 4 esi: 0 ebp: cc142df8 esp: cc142de0
Jul 10 11:17:45 unknown unix: [ID 537610 kern.notice] ebx: 0 edx: d1783008 ecx: 20044dfe eax: 0
Jul 10 11:17:45 unknown unix: [ID 537610 kern.notice] trp: e err: 0 eip: fa19f3b4 cs: 158
Jul 10 11:17:45 unknown unix: [ID 717149 kern.notice] efl: 10246 usp: 3 ss: cc142e18 Jul 10 11:17:45 unknown unix: [ID 100000 kern.notice]
Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142cec unix:die+a6 (e, cc142da8, 88, 0)
Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142d94 unix:trap+12e1 (cc142da8, 88, 0)
Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142da8 unix:_cmntrap+10b (cede01b0, 2f80000, ) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142df8 oss:sound_mixer_ioctl+44 (0, ffffffff, 20044d) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142e18 oss:oss_ioctl_sw+1c1 (0, cddf1e80, 20044d) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142e50 oss:sound_ioctl+145 (0, 20044dfe, 804727) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142e7c genunix:cdev_ioctl+2e (2f80000, 20044dfe, ) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142ea0 specfs:spec_ioctl+65 (cede43c0, 20044dfe,) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142ec4 genunix:fop_ioctl+21 (cede43c0, 20044dfe,) Jul 10 11:17:45 unknown genunix: [ID 353471 kern.notice] cc142f7c genunix:ioctl+151 (9, 20044dfe, 804727) Jul 10 11:17:45 unknown unix: [ID 100000 kern.notice]
devsk
 

panic after panic

Postby devsk » Wed Jul 13, 2005 9:52 pm

I invoked ossmixer and got panic:

Jul 13 14:33:45 unknown ^Mpanic[cpu0]/thread=cbe6d200:
Jul 13 14:33:45 unknown genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=cc3a7d9c addr=88 occurred in module "oss" due to a NULL pointer dereference
Jul 13 14:33:45 unknown unix: [ID 100000 kern.notice]
Jul 13 14:33:45 unknown unix: [ID 839527 kern.notice] ossmix:
Jul 13 14:33:45 unknown unix: [ID 753105 kern.notice] #pf Page fault
Jul 13 14:33:45 unknown unix: [ID 532287 kern.notice] Bad kernel fault at addr=0x88
Jul 13 14:33:45 unknown unix: [ID 243837 kern.notice] pid=108320, pc=0xfa1a0b3c, sp=0x4, eflags=0x10293
Jul 13 14:33:45 unknown unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
Jul 13 14:33:45 unknown unix: [ID 936844 kern.notice] cr2: 88 cr3: 14bb0000
Jul 13 14:33:45 unknown unix: [ID 537610 kern.notice] gs: c9b701b0 fs: 0 es: cc3a0160 ds: cdaf0160
Jul 13 14:33:45 unknown unix: [ID 537610 kern.notice] edi: 4 esi: 0 ebp: cc3a7dfc esp: cc3a7dd4
Jul 13 14:33:45 unknown unix: [ID 537610 kern.notice] ebx: cc505008 edx: 60045803 ecx: 0 eax: 0
Jul 13 14:33:45 unknown unix: [ID 537610 kern.notice] trp: e err: 0 eip: fa1a0b3c cs: 158
Jul 13 14:33:45 unknown unix: [ID 717149 kern.notice] efl: 10293 usp: 4 ss: cc505008
Jul 13 14:33:45 unknown unix: [ID 100000 kern.notice]
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7cdc unix:die+a6 (e, cc3a7d9c, 88, 0)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7d88 unix:trap+12e1 (cc3a7d9c, 88, 0)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7d9c unix:_cmntrap+10b (c9b701b0, 0, cc3a01)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7dfc oss:oss_mixer_ext+6e5 (0, 60045803, cc5050)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7e18 oss:oss_ioctl_sw+510 (0, cbc6be80, 600458)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7e50 oss:sound_ioctl+145 (0, 60045803, 80474f)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7e7c genunix:cdev_ioctl+2e (2f80000, 60045803, )
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7ea0 specfs:spec_ioctl+65 (cdafe480, 60045803,)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7ec4 genunix:fop_ioctl+21 (cdafe480, 60045803,)
Jul 13 14:33:45 unknown genunix: [ID 353471 kern.notice] cc3a7f7c genunix:ioctl+151 (3, 60045803, 80474f)

Any ideas Dev?
devsk
 

got another panic

Postby devsk » Thu Jul 14, 2005 4:35 am

This one I got when I tried to start xmms:

Jul 13 09:18:07 sunil-hpc ^Mpanic[cpu0]/thread=cc7c7a00:
Jul 13 09:18:07 sunil-hpc genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=cb2a7cc4 addr=a4 occurred in module "oss" due to a NULL pointer dereference
Jul 13 09:18:07 sunil-hpc unix: [ID 100000 kern.notice]
Jul 13 09:18:07 sunil-hpc unix: [ID 839527 kern.notice] cat:
Jul 13 09:18:07 sunil-hpc unix: [ID 753105 kern.notice] #pf Page fault
Jul 13 09:18:07 sunil-hpc unix: [ID 532287 kern.notice] Bad kernel fault at addr=0xa4
Jul 13 09:18:07 sunil-hpc unix: [ID 243837 kern.notice] pid=979543, pc=0xf9f8547f, sp=0x6, eflags=0x10202
Jul 13 09:18:07 sunil-hpc unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
Jul 13 09:18:07 sunil-hpc unix: [ID 936844 kern.notice] cr2: a4 cr3: 236a8000
Jul 13 09:18:07 sunil-hpc unix: [ID 537610 kern.notice] gs: 1b0 fs: 0 es: f9f80160 ds: d0f60160
Jul 13 09:18:07 sunil-hpc unix: [ID 537610 kern.notice] edi: 0 esi: 30 ebp: cb2a7d24 esp: cb2a7cfc
Jul 13 09:18:07 sunil-hpc unix: [ID 537610 kern.notice] ebx: 0 edx: 0 ecx: 0 eax: 0
Jul 13 09:18:07 sunil-hpc unix: [ID 537610 kern.notice] trp: e err: 0 eip: f9f8547f cs: 158
Jul 13 09:18:07 sunil-hpc unix: [ID 717149 kern.notice] efl: 10202 usp: 6 ss: cb2a7dcc
Jul 13 09:18:07 sunil-hpc unix: [ID 100000 kern.notice]
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7c0c unix:die+a6 (e, cb2a7cc4, a4, 0)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7cb0 unix:trap+12e1 (cb2a7cc4, a4, 0)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7cc4 unix:_cmntrap+10b (1b0, 0, f9f80160, d)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7d24 oss:init_status+32d (cb2a7d58, f9f81cce,)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7d2c oss:oss_open_sw+29b (6, d0e9e0f0, 0)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7d58 oss:sound_open+ae (cb2a7dcc, 2001, 2, )
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7d78 genunix:dev_open+27 (cb2a7dcc, 2001, 2, )
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7dd0 specfs:spec_open+422 (cb2a7ee0, 2001, cbf)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7e0c genunix:fop_open+6e (cb2a7ee0, 2001, cbf)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7eec genunix:vn_openat+42a (80476a8, 0, 2001, 9)
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7f58 genunix:copen+287 (ffd19553, 80476a8, )
Jul 13 09:18:07 sunil-hpc genunix: [ID 353471 kern.notice] cb2a7f7c genunix:open64+20 (80476a8, 0, c5ffd91)
Jul 13 09:18:07 sunil-hpc unix: [ID 100000 kern.notice]

Why is it so reliably unstable? Is there anything else do you need to look into this issue?
devsk
 

Postby devsk » Thu Jul 14, 2005 4:38 am

sorry, I posted the wrong stack. This is the real stack I got when I tried to start xmms:

Jul 13 20:32:49 sunil-hpc ^Mpanic[cpu0]/thread=cee33e00:
Jul 13 20:32:49 sunil-hpc genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf Page fault) rp=cca74d84 addr=d0121 occurred in module "oss" due to an illegal access to a user address
Jul 13 20:32:49 sunil-hpc unix: [ID 100000 kern.notice]
Jul 13 20:32:49 sunil-hpc unix: [ID 839527 kern.notice] xmms:
Jul 13 20:32:49 sunil-hpc unix: [ID 753105 kern.notice] #pf Page fault
Jul 13 20:32:49 sunil-hpc unix: [ID 532287 kern.notice] Bad kernel fault at addr=0xd0121
Jul 13 20:32:49 sunil-hpc unix: [ID 243837 kern.notice] pid=432222, pc=0xfa1c603f, sp=0xc9334008, eflags=0x10296
Jul 13 20:32:49 sunil-hpc unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
Jul 13 20:32:49 sunil-hpc unix: [ID 936844 kern.notice] cr2: d0121 cr3: 2d70000
Jul 13 20:32:49 sunil-hpc unix: [ID 537610 kern.notice] gs: cc4801b0 fs: cca70000 es: cc700160 ds: 160
Jul 13 20:32:49 sunil-hpc unix: [ID 537610 kern.notice] edi: 84 esi: 0 ebp: cca74df8 esp: cca74dbc
Jul 13 20:32:49 sunil-hpc unix: [ID 537610 kern.notice] ebx: c9334008 edx: c9334008 ecx: 84 eax: d000d
Jul 13 20:32:49 sunil-hpc unix: [ID 537610 kern.notice] trp: e err: 0 eip: fa1c603f cs: 158
Jul 13 20:32:49 sunil-hpc unix: [ID 717149 kern.notice] efl: 10296 usp: c9334008 ss: 1
Jul 13 20:32:49 sunil-hpc unix: [ID 100000 kern.notice]
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74ccc unix:die+a6 (e, cca74d84, d0121,)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74d70 unix:trap+12e1 (cca74d84, d0121, 0)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74d84 unix:_cmntrap+10b (cc4801b0, cca70000,)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74df8 oss:sparcaudio_ctl_ioctl+25f (0, cf5e7088, 408441)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74e18 oss:oss_ioctl_sw+4fb (d, cf5e7088, 408441)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74e50 oss:sound_ioctl+145 (d, 40844101, 804723)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74e7c genunix:cdev_ioctl+2e (2f8000d, 40844101, )
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74ea0 specfs:spec_ioctl+65 (cc70a000, 40844101,)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74ec4 genunix:fop_ioctl+21 (cc70a000, 40844101,)
Jul 13 20:32:49 sunil-hpc genunix: [ID 353471 kern.notice] cca74f7c genunix:ioctl+151 (9, 40844101, 804723)
devsk
 

Postby devsk » Fri Jul 15, 2005 7:29 pm

although I updated the driver to 3b, modinfo|grep oss still shows 3a. Is that a mistake?
devsk
 


Return to Solaris

Who is online

Users browsing this forum: Google [Bot] and 2 guests