Skip site navigation (1)Skip section navigation (2)
Date:      19 May 2002 01:56:55 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        weeguan@myrealbox.com
Cc:        stable@FreeBSD.ORG
Subject:   Re: Initial Load of snd_maestro3.ko Causes Page Fault
Message-ID:  <1021787815.288.8.camel@gyros.marcuscom.com>
In-Reply-To: <20020519132056.A60275@nexus>
References:  <20020519132056.A60275@nexus>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2002-05-19 at 01:20, weeguan@myrealbox.com wrote:
> Hi all,
> 
> I have a DELL Inspiron 4000 that is tracking STABLE. Since around the
> time when 4.6PR came out, it has been having this annoying problem of
> panicking with a page fault at first boot-up just as the
> snd_maestro3.ko module is loaded.
> 
> After the panic and a reboot, everything works fine and dandy. Reboots
> are working ok, but cold-boots cause the same thing to happen.
> 
> Attached is uname, dmesg as well as the crashdump.
> 
> Anyone has any ideas what caused this to break?

How are you loading the module?  I load mine out of loader.conf (the
preferred way), and I have no problems.  Do you see the same crash if
you add the following to /boot/loader.conf:

snd_maestro3_load="YES"

Joe

> 
> Regards,
> Wee Guan.
> 
> -- 
> Lim, Wee Guan	         |      PGP Fingerprint
> weeguan@myrealbox.com    |  430F EF64 2C43 A672 67B3
> ICQ:   46537067	         |  BFE5 6DAA B0C1 E9B1 6332
> 
> ----
> 

> FreeBSD localhost 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Sun May 12 10:44:54 SGT 2002     root@localhost:/usr/obj/usr/src/sys/localhost  i386
> ----
> 

> Copyright (c) 1992-2002 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD 4.6-RC #1: Sun May 19 09:59:57 SGT 2002
>     weeguan@localhost:/usr/obj/usr/src/sys/localhost
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium III/Pentium III Xeon/Celeron (651.48-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 201244672 (196528K bytes)
> avail memory = 192282624 (187776K bytes)
> Preloaded elf kernel "kernel" at 0xc035d000.
> Pentium Pro MTRR support enabled
> Using $PIR table, 9 entries at 0xc00fbd80
> apm0: <APM BIOS> on motherboard
> apm: found APM BIOS v1.2, connected at v1.2
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <ATI model 4c46 graphics accelerator> at 0.0 irq 11
> pcic0: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
> pcic0: PCI Memory allocated: 0x44000000
> pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
> pccard0: <PC Card bus (classic)> on pcic0
> pcic1: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
> pcic1: PCI Memory allocated: 0x44001000
> pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
> pccard1: <PC Card bus (classic)> on pcic1
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 at device 7.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> chip1: <Intel 82371AB Power management controller> port 0x840-0x84f at device 7.3 on pci0
> pci0: <unknown card> (vendor=0x125d, dev=0x1998) at 8.0 irq 5
> xl0: <3Com 3c556 Fast Etherlink XL> port 0xd400-0xd4ff mem 0xfbffd800-0xfbffd87f,0xfbffdc00-0xfbffdc7f irq 11 at device 16.0 on pci0
> xl0: Ethernet address: 00:01:03:84:8a:09
> miibus0: <MII bus> on xl0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci0: <unknown card> (vendor=0x10b7, dev=0x1007) at 16.1 irq 11
> orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd07ff,0xd0800-0xd0fff,0xd1000-0xd17ff,0xd1800-0xd1fff,0xd2000-0xd27ff,0xd2800-0xd2fff,0xd3000-0xd37ff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> IPsec: Initialized Security Association Processing.
> IP Filter: v3.4.27 initialized.  Default = block all, Logging = enabled
> ata1-slave: ATA identify retries exceeded
> ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master UDMA33
> acd0: DVD-ROM <LG DVD-ROM DRN-8080B> at ata1-master PIO4
> Mounting root from ufs:/dev/ad0s2a
> pcm0: <ESS Technology Maestro3> port 0xd800-0xd8ff mem 0xfbffe000-0xfbffffff irq 5 at device 8.0 on pci0
> 
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address	= 0x7c
> fault code		= supervisor read, page not present
> instruction pointer	= 0x8:0xc10da043
> stack pointer	        = 0x10:0xcb379d28
> frame pointer	        = 0x10:0xcb379d30
> code segment		= base 0x0, limit 0xfffff, type 0x1b
> 			= DPL 0, pres 1, def32 1, gran 1
> processor eflags	= interrupt enabled, resume, IOPL = 0
> current process		= 181 (kldload)
> interrupt mask		= tty 
> trap number		= 12
> panic: page fault
> 
> syncing disks... 83 83 30 28 26 24 22 20 19 17 16 14 12 10 8 6 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
> giving up on 1 buffers
> Uptime: 35s
> 
> dumping to dev #ad/0x30001, offset 1245344
> dump ata0: resetting devices .. done
> 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 succeeded
> Automatic reboot in 15 seconds - press a key on the console to abort
> Rebooting...
> Copyright (c) 1992-2002 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD 4.6-RC #1: Sun May 19 09:59:57 SGT 2002
>     root@localhost:/usr/obj/usr/src/sys/localhost
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium III/Pentium III Xeon/Celeron (651.48-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 201244672 (196528K bytes)
> avail memory = 192282624 (187776K bytes)
> Preloaded elf kernel "kernel" at 0xc035d000.
> Pentium Pro MTRR support enabled
> Using $PIR table, 9 entries at 0xc00fbd80
> apm0: <APM BIOS> on motherboard
> apm: found APM BIOS v1.2, connected at v1.2
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <ATI model 4c46 graphics accelerator> at 0.0 irq 11
> pcic0: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
> pcic0: PCI Memory allocated: 0x44000000
> pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
> pccard0: <PC Card bus (classic)> on pcic0
> pcic1: <TI PCI-1420 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
> pcic1: PCI Memory allocated: 0x44001000
> pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq]
> pccard1: <PC Card bus (classic)> on pcic1
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0x860-0x86f at device 7.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xdce0-0xdcff irq 11 at device 7.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> chip1: <Intel 82371AB Power management controller> port 0x840-0x84f at device 7.3 on pci0
> pci0: <unknown card> (vendor=0x125d, dev=0x1998) at 8.0 irq 5
> xl0: <3Com 3c556 Fast Etherlink XL> port 0xd400-0xd4ff mem 0xfbffd800-0xfbffd87f,0xfbffdc00-0xfbffdc7f irq 11 at device 16.0 on pci0
> xl0: Ethernet address: 00:01:03:84:8a:09
> miibus0: <MII bus> on xl0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci0: <unknown card> (vendor=0x10b7, dev=0x1007) at 16.1 irq 11
> orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd07ff,0xd0800-0xd0fff,0xd1000-0xd17ff,0xd1800-0xd1fff,0xd2000-0xd27ff,0xd2800-0xd2fff,0xd3000-0xd37ff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> IPsec: Initialized Security Association Processing.
> IP Filter: v3.4.27 initialized.  Default = block all, Logging = enabled
> ata1-slave: ATA identify retries exceeded
> ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master UDMA33
> acd0: DVD-ROM <LG DVD-ROM DRN-8080B> at ata1-master PIO4
> Mounting root from ufs:/dev/ad0s2a
> WARNING: / was not properly dismounted
> pcm0: <ESS Technology Maestro3> port 0xd800-0xd8ff mem 0xfbffe000-0xfbffffff irq 5 at device 8.0 on pci0
> 
> ----
> 

> Script started on Sun May 19 11:13:04 2002
> localhost# exitgdb -k kernel.debug.020519 vmcore.01
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-unknown-freebsd"...
> IdlePTD at phsyical address 0x0037c000
> initial pcb at physical address 0x002e2660
> panicstr: page fault
> panic messages:
> ---
> Fatal trap 12: page fault while in kernel mode
> fault virtual address	= 0x7c
> fault code		= supervisor read, page not present
> instruction pointer	= 0x8:0xc10da043
> stack pointer	        = 0x10:0xcb38bd28
> frame pointer	        = 0x10:0xcb38bd30
> code segment		= base 0x0, limit 0xfffff, type 0x1b
> 			= DPL 0, pres 1, def32 1, gran 1
> processor eflags	= interrupt enabled, resume, IOPL = 0
> current process		= 181 (kldload)
> interrupt mask		= tty 
> trap number		= 12
> panic: page fault
> 
> syncing disks... 84 84 27 26 24 22 20 18 16 14 12 10 8 7 5 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
> giving up on 1 buffers
> Uptime: 1m1s
> 
> dumping to dev #ad/0x30001, offset 1245344
> dump ata0: resetting devices .. done
> 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
> ---
> #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
> 
> warning: Source file is more recent than executable.
> 
> 487		if (dumping++) {
> (kgdb) whew re
> #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
> #1  0xc017c803 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
> #2  0xc017cc41 in panic (fmt=0xc02a31cc "%s")
>     at /usr/src/sys/kern/kern_shutdown.c:595
> #3  0xc0252c4b in trap_fatal (frame=0xcb38bce8, eva=124)
>     at /usr/src/sys/i386/i386/trap.c:966
> #4  0xc02528f9 in trap_pfault (frame=0xcb38bce8, usermode=0, eva=124)
>     at /usr/src/sys/i386/i386/trap.c:859
> #5  0xc025249f in trap (frame={tf_fs = 4194320, tf_es = 16, 
>       tf_ds = -1056767984, tf_edi = 3, tf_esi = -1056011264, 
>       tf_ebp = -885474000, tf_isp = -885474028, tf_ebx = 0, tf_edx = 1480, 
>       tf_ecx = 80, tf_eax = -1057902592, tf_trapno = 12, tf_err = 0, 
>       tf_eip = -1056071613, tf_cs = 8, tf_eflags = 66118, 
>       tf_esp = -1058237696, tf_ss = 68}) at /usr/src/sys/i386/i386/trap.c:458
> #6  0xc10da043 in ?? ()
> #7  0xc10c9da3 in ?? ()
> #8  0xc10cb040 in ?? ()
> #9  0xc10ca4c9 in ?? ()
> #10 0xc10ca746 in ?? ()
> #11 0xc0122b62 in DEVICE_ATTACH (dev=0xc0ec9300) at device_if.c:63
> #12 0xc01845df in device_probe_and_attach (dev=0xc0ec9300)
>     at /usr/src/sys/kern/subr_bus.c:1153
> #13 0xc0185504 in bus_generic_driver_added (dev=0xc0ec9c00, driver=0xc10cd950)
>     at /usr/src/sys/kern/subr_bus.c:1997
> ---Type <return> to continue, or q <return> to quit---
> #14 0xc0122d71 in BUS_DRIVER_ADDED (dev=0xc0ec9c00, driver=0xc10cd950)
>     at bus_if.c:91
> #15 0xc01838b2 in devclass_add_driver (dc=0xc08cfde0, driver=0xc10cd950)
>     at /usr/src/sys/kern/subr_bus.c:322
> #16 0xc0185907 in driver_module_handler (mod=0xc10c1040, what=0, 
>     arg=0xc10cd96c) at /usr/src/sys/kern/subr_bus.c:2282
> #17 0xc016c1db in module_register_init (arg=0xc10cd984)
>     at /usr/src/sys/kern/kern_module.c:109
> #18 0xc016c7a7 in linker_file_sysinit (lf=0xc100a780)
>     at /usr/src/sys/kern/kern_linker.c:153
> #19 0xc016c928 in linker_load_file (
>     filename=0xc10c4c00 "/modules/snd_maestro3.ko", result=0xcb38bf24)
>     at /usr/src/sys/kern/kern_linker.c:288
> #20 0xc016d172 in kldload (p=0xc9dee3c0, uap=0xcb38bf80)
>     at /usr/src/sys/kern/kern_linker.c:680
> #21 0xc0252f01 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
>       tf_edi = 0, tf_esi = 1, tf_ebp = -1077936784, tf_isp = -885473324, 
>       tf_ebx = -1077936696, tf_edx = 0, tf_ecx = -1077936550, tf_eax = 304, 
>       tf_trapno = 12, tf_err = 2, tf_eip = 134514028, tf_cs = 31, 
>       tf_eflags = 643, tf_esp = -1077936828, tf_ss = 47})
>     at /usr/src/sys/i386/i386/trap.c:1167
> #22 0xc0246945 in Xint0x80_syscall ()
> #23 0x8048135 in ?? ()
> (kgdb) quit
> localhost# exit
> exit
> 
> Script done on Sun May 19 11:13:27 2002
-- 
PGP Key: http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1021787815.288.8.camel>