linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.69-mm5: pccard oops while booting: resolved
@ 2003-05-15  2:03 Felipe Alfaro Solana
  2003-05-15  2:17 ` Andrew Morton
  0 siblings, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-15  2:03 UTC (permalink / raw)
  To: akpm; +Cc: LKML

Andrew,

I was having the following Oops when booting 2.5.69-mm5:

Unable to handle kernel paging request at virtual address febf0000
 printing eip:
c0192498
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c0192498>]    Not tainted VLI
EFLAGS: 00010286
EIP is at pci_bus_match+0x18/0xb0
eax: 00000000   ebx: c13c1000   ecx: febf0000   edx: 00000000
esi: c13c104c   edi: ffffffed   ebp: cff3944c   esp: cfde7ed0
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 10, threadinfo=cfde6000 task=c1390060)
Stack: cff46390 c01d044f c13c104c cff46390 cff463c0 c13c104c c03207dc
c01d04ef
       c13c104c cff46390 c13c104c c0320780 c13c1084 c01d06a4 c13c104c
c02c35e3
       c03270a0 c13c104c 00000000 c13c1084 c01cf874 c13c104c cffc3a40
c13c1000
Call Trace:
 [<c01d044f>] bus_match+0x2f/0x80
 [<c01d04ef>] device_attach+0x4f/0x90
 [<c01d06a4>] bus_add_device+0x64/0xb0
 [<c01cf874>] device_add+0xd4/0x110
 [<c018eb5e>] pci_bus_add_devices+0xae/0xe0
 [<c020339b>] cb_alloc+0xab/0xf0
 [<c02001d9>] socket_insert+0x69/0x80
 [<c01ff78a>] get_socket_status+0x1a/0x20
 [<c020041d>] pccardd+0x13d/0x1f0
 [<c0115e90>] default_wake_function+0x0/0x20
 [<c0109272>] ret_from_fork+0x6/0x14
 [<c0115e90>] default_wake_function+0x0/0x20
 [<c02002e0>] pccardd+0x0/0x1f0
 [<c010722d>] kernel_thread_helper+0x5/0x18

Code: 83 fa 06 7e f1 31 c0 c3 b8 e0 06 32 c0 c3 90 8d 74 26 00 53 8b 44
24 0c 8b 5c 24 08
83 e8 28 8b 48 0c 83 eb 4c 31 c0 85 c9 74 30 <8b> 11 85 d2 74 7a 89 f6
83 fa ff 74 2b 0f b
7 43 24 39 c2 74 23

This oops made me unable to use my 3Com CardBus NIC.

I've been able to pinpoint the culprit of this: it's the
"make-KOBJ_NAME-match-BUS_ID_SIZE.patch" patch that it's causing the
oops for me when booting 2.5.69.mm5.

Reverting this patch solves the oops for me.

I don't have the resources to investigate why this patch is causing the
oops for me, but I'm willing to help you, if you need it :-)

Thanks!



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15  2:03 2.5.69-mm5: pccard oops while booting: resolved Felipe Alfaro Solana
@ 2003-05-15  2:17 ` Andrew Morton
  2003-05-15 11:36   ` Felipe Alfaro Solana
  0 siblings, 1 reply; 34+ messages in thread
From: Andrew Morton @ 2003-05-15  2:17 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: linux-kernel

Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
>
> I've been able to pinpoint the culprit of this: it's the
>  "make-KOBJ_NAME-match-BUS_ID_SIZE.patch" patch that it's causing the
>  oops for me when booting 2.5.69.mm5.
> 
>  Reverting this patch solves the oops for me.

I might have screwed that patch up.

This is the second half of it.  When it crashed, did you have the below
change in place as well?

Index: include/linux/device.h
===================================================================
RCS file: /home/scm/linux-2.5/include/linux/device.h,v
retrieving revision 1.48
diff -u -u -r1.48 device.h
--- include/linux/device.h	29 Apr 2003 17:30:20 -0000	1.48
+++ include/linux/device.h	13 May 2003 07:47:39 -0000
@@ -35,7 +35,7 @@
 #define DEVICE_NAME_SIZE	50
 #define DEVICE_NAME_HALF	__stringify(20)	/* Less than half to accommodate slop */
 #define DEVICE_ID_SIZE		32
-#define BUS_ID_SIZE		20
+#define BUS_ID_SIZE		KOBJ_NAME_LEN
 
 
 enum {
-



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15  2:17 ` Andrew Morton
@ 2003-05-15 11:36   ` Felipe Alfaro Solana
  2003-05-15 12:00     ` Russell King
  2003-05-15 12:13     ` 2.5.69-mm5: pccard oops while booting: resolved Russell King
  0 siblings, 2 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-15 11:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

On Thu, 2003-05-15 at 04:17, Andrew Morton wrote:
> Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> >
> > I've been able to pinpoint the culprit of this: it's the
> >  "make-KOBJ_NAME-match-BUS_ID_SIZE.patch" patch that it's causing the
> >  oops for me when booting 2.5.69.mm5.
> > 
> >  Reverting this patch solves the oops for me.
> 
> I might have screwed that patch up.
> 
> This is the second half of it.  When it crashed, did you have the below
> change in place as well?
> 
> Index: include/linux/device.h
> ===================================================================
> RCS file: /home/scm/linux-2.5/include/linux/device.h,v
> retrieving revision 1.48
> diff -u -u -r1.48 device.h
> --- include/linux/device.h	29 Apr 2003 17:30:20 -0000	1.48
> +++ include/linux/device.h	13 May 2003 07:47:39 -0000
> @@ -35,7 +35,7 @@
>  #define DEVICE_NAME_SIZE	50
>  #define DEVICE_NAME_HALF	__stringify(20)	/* Less than half to accommodate slop */
>  #define DEVICE_ID_SIZE		32
> -#define BUS_ID_SIZE		20
> +#define BUS_ID_SIZE		KOBJ_NAME_LEN
>  
> 
>  enum {
> -

I applied the second half patch on top of 2.5.69-mm5 (the original
2.5.69-mm5 defined BUS_ID_SIZE as 20), but the "pccard" kernel task
keeps crashing as before.

Anything else for me to try? :-)

Thanks!


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 11:36   ` Felipe Alfaro Solana
@ 2003-05-15 12:00     ` Russell King
  2003-05-15 13:16       ` Felipe Alfaro Solana
  2003-05-15 12:13     ` 2.5.69-mm5: pccard oops while booting: resolved Russell King
  1 sibling, 1 reply; 34+ messages in thread
From: Russell King @ 2003-05-15 12:00 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, LKML

On Thu, May 15, 2003 at 01:36:41PM +0200, Felipe Alfaro Solana wrote:
> I applied the second half patch on top of 2.5.69-mm5 (the original
> 2.5.69-mm5 defined BUS_ID_SIZE as 20), but the "pccard" kernel task
> keeps crashing as before.
> 
> Anything else for me to try? :-)

I don't believe this problem is being caused by PCMCIA/Cardbus (until
someone proves me wrong.)

This came up a few weeks ago, and it looked like the device models
driver lists became corrupted somehow.  Unfortunately it wasn't proven
back then, and I haven't been able to reproduce this behaviour here.

We seem to be failing in pci_bus_match(), with pci_drv->id_table
containing an invalid address.  Could you apply this patch and see
what happens?  It'll be rather noisy during boot though.

The interesting one should be immediately prior to the oops.

--- orig/drivers/pci/pci-driver.c	Sun Nov 24 10:12:24 2002
+++ linux/drivers/pci/pci-driver.c	Thu May 15 12:58:56 2003
@@ -6,6 +6,7 @@
 #include <linux/pci.h>
 #include <linux/module.h>
 #include <linux/init.h>
+#include <linux/kallsyms.h>
 #include "pci.h"
 
 /*
@@ -183,7 +184,9 @@
 	struct pci_dev * pci_dev = to_pci_dev(dev);
 	struct pci_driver * pci_drv = to_pci_driver(drv);
 	const struct pci_device_id * ids = pci_drv->id_table;
-
+printk("pci_bus_match: pci_drv = %p", pci_drv);
+print_symbol(" (%s)", pci_drv);
+printk("\n");
 	if (!ids) 
 		return 0;
 


-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 11:36   ` Felipe Alfaro Solana
  2003-05-15 12:00     ` Russell King
@ 2003-05-15 12:13     ` Russell King
  1 sibling, 0 replies; 34+ messages in thread
From: Russell King @ 2003-05-15 12:13 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, LKML

When you send me the results of that patch, could you also include:

- /proc/modules (from before the crash)
- all kernel messages

please?

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 12:00     ` Russell King
@ 2003-05-15 13:16       ` Felipe Alfaro Solana
  2003-05-15 13:44         ` Russell King
  0 siblings, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-15 13:16 UTC (permalink / raw)
  To: Russell King; +Cc: Andrew Morton, LKML

[-- Attachment #1: Type: text/plain, Size: 1843 bytes --]

On Thu, 2003-05-15 at 14:00, Russell King wrote:
> On Thu, May 15, 2003 at 01:36:41PM +0200, Felipe Alfaro Solana wrote:
> > I applied the second half patch on top of 2.5.69-mm5 (the original
> > 2.5.69-mm5 defined BUS_ID_SIZE as 20), but the "pccard" kernel task
> > keeps crashing as before.
> > 
> > Anything else for me to try? :-)
> 
> I don't believe this problem is being caused by PCMCIA/Cardbus (until
> someone proves me wrong.)
> 
> This came up a few weeks ago, and it looked like the device models
> driver lists became corrupted somehow.  Unfortunately it wasn't proven
> back then, and I haven't been able to reproduce this behaviour here.
> 
> We seem to be failing in pci_bus_match(), with pci_drv->id_table
> containing an invalid address.  Could you apply this patch and see
> what happens?  It'll be rather noisy during boot though.
> 
> The interesting one should be immediately prior to the oops.
> 
> --- orig/drivers/pci/pci-driver.c	Sun Nov 24 10:12:24 2002
> +++ linux/drivers/pci/pci-driver.c	Thu May 15 12:58:56 2003
> @@ -6,6 +6,7 @@
>  #include <linux/pci.h>
>  #include <linux/module.h>
>  #include <linux/init.h>
> +#include <linux/kallsyms.h>
>  #include "pci.h"
>  
>  /*
> @@ -183,7 +184,9 @@
>  	struct pci_dev * pci_dev = to_pci_dev(dev);
>  	struct pci_driver * pci_drv = to_pci_driver(drv);
>  	const struct pci_device_id * ids = pci_drv->id_table;
> -
> +printk("pci_bus_match: pci_drv = %p", pci_drv);
> +print_symbol(" (%s)", pci_drv);
> +printk("\n");
>  	if (!ids) 
>  		return 0;
>  
> 

OK, attached to this message:

"dmesg" contains the kernel messages when booting up 2.5.69-mm5 at tun
level 1 with the patch applied.

"config" contains options used to configure the kernel. Mostly, the
cardbus stuff is built-in, so no modules were loaded when booting into
single-user mode.

Hope this helps!

[-- Attachment #2: dmesg --]
[-- Type: application/octet-stream, Size: 11434 bytes --]

Linux version 2.5.69-mm5b (root@glass.felipe-alfaro.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-4)) #2 Thu May 15 15:09:26 CEST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 NEC                        ) @ 0x000fb550
ACPI: RSDT (v001    NEC ND000020 00000.00001) @ 0x0fff0000
ACPI: FADT (v001    NEC ND000020 00000.00001) @ 0x0fff0030
ACPI: BOOT (v001    NEC ND000020 00000.00001) @ 0x0fff00b0
ACPI: DSDT (v001    NEC ND000020 00000.00001) @ 0x00000000
ACPI: BIOS passes blacklist
Building zonelist for node : 0
Kernel command line: ro root=/dev/hda3 1
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 697.029 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1376.25 BogoMIPS
Memory: 256048k/262080k available (1739k kernel code, 5304k reserved, 682k data, 104k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v2.0 (20020519)
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20030418
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [NRTH] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.NRTH._PRT]
ACPI: Embedded Controller [EC0] (gpe 9)
ACPI: Power Resource [PUSB] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 10, disabled)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 9, disabled)
block request queues:
 4/128 requests per read queue
 4/128 requests per write queue
 enter congestion at 15
 exit congestion at 17
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Initializing RT netlink socket
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Enabling SEP on CPU 0
Limiting direct PCI/PCI transfers.
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery absent)
ACPI: Power Button (CM) [PRB1]
ACPI: Lid Switch [LID0]
ACPI: Fan [FANC] (on)
ACPI: Processor [CPU0] (supports C1)
ACPI: Thermal Zone [THRM] (64 C)
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.11
Linux agpgart interface v0.100 (c) Dave Jones
pci_bus_match: pci_drv = c0327120 (0xc0327120)
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 256M @ 0xe0000000
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0327120 (0xc0327120)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23BA-20, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITADVD-ROM SR-8185, ATAPI CD/DVD-ROM drive
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
end_request: I/O error, dev hdc, sector 0
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
yenta 00:0c.0: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq10
Socket status: 30000068
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
yenta 00:0c.1: Preassigned resource 2 busy, reconfiguring...
yenta 00:0c.1: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq5
Socket status: 30000006
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
uhci-hcd 00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 
uhci-hcd 00:07.2: irq 9, io base 0000ef80
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.2 (Thu Mar 20 13:31:57 2003 UTC).
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
ALSA device list:
  #0: Yamaha DS-XG PCI (YMF754) at 0xd0851000, irq 5
NET4: Linux TCP/IP 1.0 for NET4.0
pci_bus_match: pci_drv = c0327120 (0xc0327120)
pci_bus_match: pci_drv = c0329460 (0xc0329460)
pci_bus_match: pci_drv = c032a4c0 (0xc032a4c0)
pci_bus_match: pci_drv = c032b140 (0xc032b140)
pci_bus_match: pci_drv = c032df60 (0xc032df60)
pci_bus_match: pci_drv = cff47c68 (0xcff47c68)
pci_bus_match: pci_drv = c02ddc74 (0xc02ddc74)
Unable to handle kernel paging request at virtual address 25007367
 printing eip:
c01924c9
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01924c9>]    Not tainted VLI
EFLAGS: 00010202
EIP is at pci_bus_match+0x49/0xe0
eax: 00000000   ebx: c02ddc74   ecx: c02f2910   edx: 00000282
esi: 25007367   edi: c13c1000   ebp: cff3944c   esp: cfde7ec0
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 10, threadinfo=cfde6000 task=c1390060)
Stack: c02ca1f0 c02ddc74 c02ddc9c c13c104c ffffffed c01d05bf c13c104c c02ddc9c 
       c02ddccc c13c104c c032093c c01d065f c13c104c c02ddc9c c13c104c c03208e0 
       c13c1084 c01d0814 c13c104c c02c3743 c0327200 c13c104c 00000000 c13c1084 
Call Trace:
 [<c01d05bf>] bus_match+0x2f/0x80
 [<c01d065f>] device_attach+0x4f/0x90
 [<c01d0814>] bus_add_device+0x64/0xb0
 [<c01cf9a4>] device_add+0xd4/0x110
 [<c018eb5e>] pci_bus_add_devices+0xae/0xe0
 [<c020350b>] cb_alloc+0xab/0xf0
 [<c0200349>] socket_insert+0x69/0x80
 [<c01ff8fa>] get_socket_status+0x1a/0x20
 [<c020058d>] pccardd+0x13d/0x1f0
 [<c0115e90>] default_wake_function+0x0/0x20
 [<c0109272>] ret_from_fork+0x6/0x14
 [<c0115e90>] default_wake_function+0x0/0x20
 [<c0200450>] pccardd+0x0/0x1f0
 [<c010722d>] kernel_thread_helper+0x5/0x18

Code: 16 6d 2c c0 e8 19 77 f8 ff 89 5c 24 04 c7 04 24 8e b4 2c c0 e8 59 ce f9 ff c7 04 24 f0 a1 2c c0 e8 fd 76 f8 ff 31 c0 85 f6 74 2f <8b> 16 85 d2 74 79 90 83 fa ff 74 2b 0f b7 47 24 39 c2 74 23 83 
 <6>hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x301
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
hub 1-0:0: new USB device on port 1, assigned address 2
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-00:07.2-1
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 1-0:0: new USB device on port 2, assigned address 3
hub 1-2:0: USB hub found
hub 1-2:0: 2 ports detected
Adding 257032k swap on /dev/hda2.  Priority:-1 extents:1
blk: queue c038d3dc, I/O limit 4095Mb (mask 0xffffffff)
end_request: I/O error, dev hdc, sector 0
end_request: I/O error, dev hdc, sector 0
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04Aborted Command 

[-- Attachment #3: config --]
[-- Type: text/plain, Size: 19182 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_FUTEX=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
# CONFIG_X86_MCE is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_025GB is not set
# CONFIG_05GB is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_KEXEC is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL device support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_BLK_DEV_IDE_MODES=y

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
# CONFIG_IP_NF_MATCH_AH_ESP is not set
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
# CONFIG_IP_NF_TARGET_REJECT is not set
# CONFIG_IP_NF_TARGET_MIRROR is not set
# CONFIG_IP_NF_NAT is not set
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not set
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IPV6 is not set
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
# CONFIG_TYPHOON is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_NET_PCI is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# PCMCIA network device support
#
# CONFIG_NET_PCMCIA is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Hardware Sensors Mainboard support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD_8151 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_DRM is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=m
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
# CONFIG_SUNRPC_GSS is not set
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
CONFIG_CIFS=m
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_YMFPCI=y
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

#
# SCSI support is needed for USB Storage
#

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=m

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#

#
# USB Serial Converter support
#
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
CONFIG_USB_SERIAL_IPAQ=m
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OMNINET is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_KALLSYMS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
CONFIG_DEBUG_INFO=y
# CONFIG_FRAME_POINTER is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=m
CONFIG_X86_BIOS_REBOOT=y

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 13:16       ` Felipe Alfaro Solana
@ 2003-05-15 13:44         ` Russell King
  2003-05-15 13:47           ` Dave Jones
  2003-05-15 22:31           ` Felipe Alfaro Solana
  0 siblings, 2 replies; 34+ messages in thread
From: Russell King @ 2003-05-15 13:44 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, LKML, David Jones

On Thu, May 15, 2003 at 03:16:55PM +0200, Felipe Alfaro Solana wrote:
> OK, attached to this message:
> 
> "dmesg" contains the kernel messages when booting up 2.5.69-mm5 at tun
> level 1 with the patch applied.
> 
> "config" contains options used to configure the kernel. Mostly, the
> cardbus stuff is built-in, so no modules were loaded when booting into
> single-user mode.
> 
> Hope this helps!

Indeed it does.  This patch should solve the problem.

--- orig/drivers/char/agp/intel-agp.c	Sun Apr 20 16:31:48 2003
+++ linux/drivers/char/agp/intel-agp.c	Thu May 15 14:41:45 2003
@@ -1635,7 +1635,7 @@
 
 MODULE_DEVICE_TABLE(pci, agp_intel_pci_table);
 
-static struct __initdata pci_driver agp_intel_pci_driver = {
+static struct pci_driver agp_intel_pci_driver = {
 	.name		= "agpgart-intel",
 	.id_table	= agp_intel_pci_table,
 	.probe		= agp_intel_probe,


-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 13:44         ` Russell King
@ 2003-05-15 13:47           ` Dave Jones
  2003-05-15 22:31           ` Felipe Alfaro Solana
  1 sibling, 0 replies; 34+ messages in thread
From: Dave Jones @ 2003-05-15 13:47 UTC (permalink / raw)
  To: Felipe Alfaro Solana, Andrew Morton, LKML

On Thu, May 15, 2003 at 02:44:39PM +0100, Russell King wrote:
 > Indeed it does.  This patch should solve the problem.
 > 
 > --- orig/drivers/char/agp/intel-agp.c	Sun Apr 20 16:31:48 2003
 > +++ linux/drivers/char/agp/intel-agp.c	Thu May 15 14:41:45 2003
 > @@ -1635,7 +1635,7 @@
 >  
 >  MODULE_DEVICE_TABLE(pci, agp_intel_pci_table);
 >  
 > -static struct __initdata pci_driver agp_intel_pci_driver = {
 > +static struct pci_driver agp_intel_pci_driver = {
 >  	.name		= "agpgart-intel",
 >  	.id_table	= agp_intel_pci_table,
 >  	.probe		= agp_intel_probe,

Yup. Same stupid bug in all the other AGP drivers too.
I'll fix them up and push that along in a few hours.

        Dave


-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 13:44         ` Russell King
  2003-05-15 13:47           ` Dave Jones
@ 2003-05-15 22:31           ` Felipe Alfaro Solana
  2003-05-15 23:00             ` Andrew Morton
  1 sibling, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-15 22:31 UTC (permalink / raw)
  To: Russell King; +Cc: Andrew Morton, LKML, David Jones

[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]

On Thu, 2003-05-15 at 15:44, Russell King wrote:
> On Thu, May 15, 2003 at 03:16:55PM +0200, Felipe Alfaro Solana wrote:
> > OK, attached to this message:
> > 
> > "dmesg" contains the kernel messages when booting up 2.5.69-mm5 at tun
> > level 1 with the patch applied.
> > 
> > "config" contains options used to configure the kernel. Mostly, the
> > cardbus stuff is built-in, so no modules were loaded when booting into
> > single-user mode.
> > 
> > Hope this helps!
> 
> Indeed it does.  This patch should solve the problem.
> 
> --- orig/drivers/char/agp/intel-agp.c	Sun Apr 20 16:31:48 2003
> +++ linux/drivers/char/agp/intel-agp.c	Thu May 15 14:41:45 2003
> @@ -1635,7 +1635,7 @@
>  
>  MODULE_DEVICE_TABLE(pci, agp_intel_pci_table);
>  
> -static struct __initdata pci_driver agp_intel_pci_driver = {
> +static struct pci_driver agp_intel_pci_driver = {
>  	.name		= "agpgart-intel",
>  	.id_table	= agp_intel_pci_table,
>  	.probe		= agp_intel_probe,
> 

I've applied this patch, but "pccard" keeps oopsing. The test kernel is
a 2.5.69-mm5 with the "i8259-shutdown.patch" reverted, plus the above
patch and your previous "verbose" patch. Attached to this message is the
new "dmesg" from this patched kernel.

As I told Andrew, reverting "make-KOBJ_NAME-match-BUS_ID_SIZE.patch"
solves the oops.

[-- Attachment #2: dmesg --]
[-- Type: application/octet-stream, Size: 11434 bytes --]

Linux version 2.5.69-mm5b (root@glass.felipe-alfaro.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-4)) #3 Fri May 16 00:25:57 CEST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 NEC                        ) @ 0x000fb550
ACPI: RSDT (v001    NEC ND000020 00000.00001) @ 0x0fff0000
ACPI: FADT (v001    NEC ND000020 00000.00001) @ 0x0fff0030
ACPI: BOOT (v001    NEC ND000020 00000.00001) @ 0x0fff00b0
ACPI: DSDT (v001    NEC ND000020 00000.00001) @ 0x00000000
ACPI: BIOS passes blacklist
Building zonelist for node : 0
Kernel command line: ro root=/dev/hda3 1
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 697.080 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1376.25 BogoMIPS
Memory: 256048k/262080k available (1739k kernel code, 5304k reserved, 682k data, 104k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v2.0 (20020519)
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20030418
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [NRTH] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.NRTH._PRT]
ACPI: Embedded Controller [EC0] (gpe 9)
ACPI: Power Resource [PUSB] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 10, disabled)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 9, disabled)
block request queues:
 4/128 requests per read queue
 4/128 requests per write queue
 enter congestion at 15
 exit congestion at 17
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Initializing RT netlink socket
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Enabling SEP on CPU 0
Limiting direct PCI/PCI transfers.
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery absent)
ACPI: Power Button (CM) [PRB1]
ACPI: Lid Switch [LID0]
ACPI: Fan [FANC] (on)
ACPI: Processor [CPU0] (supports C1)
ACPI: Thermal Zone [THRM] (64 C)
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.11
Linux agpgart interface v0.100 (c) Dave Jones
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 256M @ 0xe0000000
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23BA-20, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITADVD-ROM SR-8185, ATAPI CD/DVD-ROM drive
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
end_request: I/O error, dev hdc, sector 0
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
yenta 00:0c.0: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq10
Socket status: 30000068
pci_bus_match: pci_drv = c032a440 (0xc032a440)
yenta 00:0c.1: Preassigned resource 2 busy, reconfiguring...
yenta 00:0c.1: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq5
Socket status: 30000006
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
uhci-hcd 00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 
uhci-hcd 00:07.2: irq 9, io base 0000ef80
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.2 (Thu Mar 20 13:31:57 2003 UTC).
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
ALSA device list:
  #0: Yamaha DS-XG PCI (YMF754) at 0xd0851000, irq 5
NET4: Linux TCP/IP 1.0 for NET4.0
pci_bus_match: pci_drv = c03270a0 (0xc03270a0)
pci_bus_match: pci_drv = c03293e0 (0xc03293e0)
pci_bus_match: pci_drv = c032a440 (0xc032a440)
pci_bus_match: pci_drv = c032b0c0 (0xc032b0c0)
pci_bus_match: pci_drv = c032dee0 (0xc032dee0)
pci_bus_match: pci_drv = cff47c68 (0xcff47c68)
pci_bus_match: pci_drv = c02ddbf4 (0xc02ddbf4)
Unable to handle kernel paging request at virtual address 25007367
 printing eip:
c01924b9
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01924b9>]    Not tainted VLI
EFLAGS: 00010202
EIP is at pci_bus_match+0x49/0xe0
eax: 00000000   ebx: c02ddbf4   ecx: c02f2890   edx: 00000282
esi: 25007367   edi: c13c1000   ebp: cff3944c   esp: cfde7ec0
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 10, threadinfo=cfde6000 task=c1390060)
Stack: c02ca16b c02ddbf4 c02ddc1c c13c104c ffffffed c01d056f c13c104c c02ddc1c 
       c02ddc4c c13c104c c03208bc c01d060f c13c104c c02ddc1c c13c104c c0320860 
       c13c1084 c01d07c4 c13c104c c02c3703 c0327180 c13c104c 00000000 c13c1084 
Call Trace:
 [<c01d056f>] bus_match+0x2f/0x80
 [<c01d060f>] device_attach+0x4f/0x90
 [<c01d07c4>] bus_add_device+0x64/0xb0
 [<c01cf994>] device_add+0xd4/0x110
 [<c018eb4e>] pci_bus_add_devices+0xae/0xe0
 [<c02034bb>] cb_alloc+0xab/0xf0
 [<c02002f9>] socket_insert+0x69/0x80
 [<c01ff8aa>] get_socket_status+0x1a/0x20
 [<c020053d>] pccardd+0x13d/0x1f0
 [<c0115e80>] default_wake_function+0x0/0x20
 [<c0109272>] ret_from_fork+0x6/0x14
 [<c0115e80>] default_wake_function+0x0/0x20
 [<c0200400>] pccardd+0x0/0x1f0
 [<c010722d>] kernel_thread_helper+0x5/0x18

Code: d6 6c 2c c0 e8 19 77 f8 ff 89 5c 24 04 c7 04 24 09 b4 2c c0 e8 59 ce f9 ff c7 04 24 6b a1 2c c0 e8 fd 76 f8 ff 31 c0 85 f6 74 2f <8b> 16 85 d2 74 79 90 83 fa ff 74 2b 0f b7 47 24 39 c2 74 23 83 
 <6>hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x301
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
hub 1-0:0: new USB device on port 1, assigned address 2
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-00:07.2-1
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 1-0:0: new USB device on port 2, assigned address 3
hub 1-2:0: USB hub found
hub 1-2:0: 2 ports detected
Adding 257032k swap on /dev/hda2.  Priority:-1 extents:1
blk: queue c038d3dc, I/O limit 4095Mb (mask 0xffffffff)
end_request: I/O error, dev hdc, sector 0
end_request: I/O error, dev hdc, sector 0
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04Aborted Command 

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 22:31           ` Felipe Alfaro Solana
@ 2003-05-15 23:00             ` Andrew Morton
  2003-05-16 13:03               ` Felipe Alfaro Solana
  0 siblings, 1 reply; 34+ messages in thread
From: Andrew Morton @ 2003-05-15 23:00 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: rmk, linux-kernel, davej

Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
>
> The test kernel is
> a 2.5.69-mm5 with the "i8259-shutdown.patch" reverted, plus the above
> patch and your previous "verbose" patch. Attached to this message is the
> new "dmesg" from this patched kernel.
> 
> As I told Andrew, reverting "make-KOBJ_NAME-match-BUS_ID_SIZE.patch"
> solves the oops.

The weird thing is that this patch really doesn't do anything apart from
increasing KOBJ_NAME_LEN from 16 to 20.





From: Ben Collins <bcollins@debian.org>

This was causing me all sorts of problems with linux1394's 16-18 byte long
bus_id lengths.  The sysfs names were all broken.

This not only makes KOBJ_NAME_LEN match BUS_ID_SIZE, but fixes the
strncpy's in drivers/base/ so that it can't happen again (at least the
strings will be null terminated).



 drivers/base/bus.c      |    2 ++
 drivers/base/class.c    |    2 ++
 drivers/base/core.c     |    1 +
 include/linux/device.h  |    2 +-
 include/linux/kobject.h |    2 +-
 5 files changed, 7 insertions(+), 2 deletions(-)

diff -puN drivers/base/bus.c~make-KOBJ_NAME-match-BUS_ID_SIZE drivers/base/bus.c
--- 25/drivers/base/bus.c~make-KOBJ_NAME-match-BUS_ID_SIZE	2003-05-14 19:18:09.000000000 -0700
+++ 25-akpm/drivers/base/bus.c	2003-05-14 19:18:09.000000000 -0700
@@ -432,6 +432,7 @@ int bus_add_driver(struct device_driver 
 		pr_debug("bus %s: add driver %s\n",bus->name,drv->name);
 
 		strncpy(drv->kobj.name,drv->name,KOBJ_NAME_LEN);
+		drv->kobj.name[KOBJ_NAME_LEN-1] = '\0';
 		drv->kobj.kset = &bus->drivers;
 
 		if ((error = kobject_register(&drv->kobj))) {
@@ -541,6 +542,7 @@ struct bus_type * find_bus(char * name)
 int bus_register(struct bus_type * bus)
 {
 	strncpy(bus->subsys.kset.kobj.name,bus->name,KOBJ_NAME_LEN);
+	bus->subsys.kset.kobj.name[KOBJ_NAME_LEN-1] = '\0';
 	subsys_set_kset(bus,bus_subsys);
 	subsystem_register(&bus->subsys);
 
diff -puN drivers/base/class.c~make-KOBJ_NAME-match-BUS_ID_SIZE drivers/base/class.c
--- 25/drivers/base/class.c~make-KOBJ_NAME-match-BUS_ID_SIZE	2003-05-14 19:18:09.000000000 -0700
+++ 25-akpm/drivers/base/class.c	2003-05-14 19:18:09.000000000 -0700
@@ -89,6 +89,7 @@ int class_register(struct class * cls)
 	INIT_LIST_HEAD(&cls->interfaces);
 	
 	strncpy(cls->subsys.kset.kobj.name,cls->name,KOBJ_NAME_LEN);
+	cls->subsys.kset.kobj.name[KOBJ_NAME_LEN-1] = '\0';
 	subsys_set_kset(cls,class_subsys);
 	subsystem_register(&cls->subsys);
 
@@ -259,6 +260,7 @@ int class_device_add(struct class_device
 
 	/* first, register with generic layer. */
 	strncpy(class_dev->kobj.name, class_dev->class_id, KOBJ_NAME_LEN);
+	class_dev->kobj.name[KOBJ_NAME_LEN-1] = '\0';
 	kobj_set_kset_s(class_dev, class_obj_subsys);
 	if (parent)
 		class_dev->kobj.parent = &parent->subsys.kset.kobj;
diff -puN drivers/base/core.c~make-KOBJ_NAME-match-BUS_ID_SIZE drivers/base/core.c
--- 25/drivers/base/core.c~make-KOBJ_NAME-match-BUS_ID_SIZE	2003-05-14 19:18:09.000000000 -0700
+++ 25-akpm/drivers/base/core.c	2003-05-14 19:18:09.000000000 -0700
@@ -214,6 +214,7 @@ int device_add(struct device *dev)
 
 	/* first, register with generic layer. */
 	strncpy(dev->kobj.name,dev->bus_id,KOBJ_NAME_LEN);
+	dev->kobj.name[KOBJ_NAME_LEN-1] = '\0';
 	kobj_set_kset_s(dev,devices_subsys);
 	if (parent)
 		dev->kobj.parent = &parent->kobj;
diff -puN include/linux/kobject.h~make-KOBJ_NAME-match-BUS_ID_SIZE include/linux/kobject.h
--- 25/include/linux/kobject.h~make-KOBJ_NAME-match-BUS_ID_SIZE	2003-05-14 19:18:09.000000000 -0700
+++ 25-akpm/include/linux/kobject.h	2003-05-14 19:18:09.000000000 -0700
@@ -12,7 +12,7 @@
 #include <linux/rwsem.h>
 #include <asm/atomic.h>
 
-#define KOBJ_NAME_LEN	16
+#define KOBJ_NAME_LEN	20
 
 struct kobject {
 	char			name[KOBJ_NAME_LEN];
diff -puN include/linux/device.h~make-KOBJ_NAME-match-BUS_ID_SIZE include/linux/device.h
--- 25/include/linux/device.h~make-KOBJ_NAME-match-BUS_ID_SIZE	2003-05-14 19:18:09.000000000 -0700
+++ 25-akpm/include/linux/device.h	2003-05-14 19:18:16.000000000 -0700
@@ -35,7 +35,7 @@
 #define DEVICE_NAME_SIZE	50
 #define DEVICE_NAME_HALF	__stringify(20)	/* Less than half to accommodate slop */
 #define DEVICE_ID_SIZE		32
-#define BUS_ID_SIZE		20
+#define BUS_ID_SIZE		KOBJ_NAME_LEN
 
 
 enum {

_


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-15 23:00             ` Andrew Morton
@ 2003-05-16 13:03               ` Felipe Alfaro Solana
  2003-05-16 18:13                 ` Ben Collins
  2003-05-16 18:34                 ` 2.5.69-mm6: pccard oops while booting Felipe Alfaro Solana
  0 siblings, 2 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-16 13:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: rmk, LKML, davej

On Fri, 2003-05-16 at 01:00, Andrew Morton wrote: 
> Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> >
> > The test kernel is
> > a 2.5.69-mm5 with the "i8259-shutdown.patch" reverted, plus the above
> > patch and your previous "verbose" patch. Attached to this message is the
> > new "dmesg" from this patched kernel.
> > 
> > As I told Andrew, reverting "make-KOBJ_NAME-match-BUS_ID_SIZE.patch"
> > solves the oops.
> 
> The weird thing is that this patch really doesn't do anything apart from
> increasing KOBJ_NAME_LEN from 16 to 20.

OK, this is what I guessed by playing with 2.5.69-mm6:

1. Simply by changing KOBJ_NAME_LEN from 20 to 16 fixes the problem.
This leads me to think there are some parts of the kernel (a driver, to
be more exact) that are corrupting memory or doing something really
nasty that is affecting PCI ID's tables and pci_bus_match() function.

2. Disabling or enabling preemptible kernel does not help.

3. Now, changing KOBJ_NAME_LEN back to 20, and then disabling support
for the ALSA Yamaha PCI driver (YMFPCI) fixes the problem. I have tried
disabling other drivers, like USB-UHCI, AGPGART, but it doesn't help.
However, disabling YMFPCI solves the problem. So I guess, we've got a
problem at alsa_card_ymfpci_init() function. Note that the YMFPCI was
built-in into the kernel, and not as a module. However, building YMFPCI
as a module still produces an oops. I'll post more information when I
investigate a little more about this.

Any ideas on what's could be going on here? It's driving me nutts!

Thanks!


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-16 13:03               ` Felipe Alfaro Solana
@ 2003-05-16 18:13                 ` Ben Collins
  2003-05-16 19:03                   ` Felipe Alfaro Solana
  2003-05-16 18:34                 ` 2.5.69-mm6: pccard oops while booting Felipe Alfaro Solana
  1 sibling, 1 reply; 34+ messages in thread
From: Ben Collins @ 2003-05-16 18:13 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, rmk, LKML, davej

> 1. Simply by changing KOBJ_NAME_LEN from 20 to 16 fixes the problem.
> This leads me to think there are some parts of the kernel (a driver, to
> be more exact) that are corrupting memory or doing something really
> nasty that is affecting PCI ID's tables and pci_bus_match() function.

Are you sure you have a pristine source and everything is rebuilt
against the new header? It'd be very easy for one object file to have the
incorrect name len and cause this problem.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 13:03               ` Felipe Alfaro Solana
  2003-05-16 18:13                 ` Ben Collins
@ 2003-05-16 18:34                 ` Felipe Alfaro Solana
  2003-05-16 20:29                   ` Andrew Morton
  1 sibling, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-16 18:34 UTC (permalink / raw)
  To: Andrew Morton; +Cc: rmk, LKML, davej

On Fri, 2003-05-16 at 15:03, Felipe Alfaro Solana wrote:
> On Fri, 2003-05-16 at 01:00, Andrew Morton wrote: 
> > Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> > >
> > > The test kernel is
> > > a 2.5.69-mm5 with the "i8259-shutdown.patch" reverted, plus the above
> > > patch and your previous "verbose" patch. Attached to this message is the
> > > new "dmesg" from this patched kernel.
> > > 
> > > As I told Andrew, reverting "make-KOBJ_NAME-match-BUS_ID_SIZE.patch"
> > > solves the oops.
> > 
> > The weird thing is that this patch really doesn't do anything apart from
> > increasing KOBJ_NAME_LEN from 16 to 20.
> 
> OK, this is what I guessed by playing with 2.5.69-mm6:
> 
> 1. Simply by changing KOBJ_NAME_LEN from 20 to 16 fixes the problem.
> This leads me to think there are some parts of the kernel (a driver, to
> be more exact) that are corrupting memory or doing something really
> nasty that is affecting PCI ID's tables and pci_bus_match() function.
> 
> 2. Disabling or enabling preemptible kernel does not help.
> 
> 3. Now, changing KOBJ_NAME_LEN back to 20, and then disabling support
> for the ALSA Yamaha PCI driver (YMFPCI) fixes the problem. I have tried
> disabling other drivers, like USB-UHCI, AGPGART, but it doesn't help.
> However, disabling YMFPCI solves the problem. So I guess, we've got a
> problem at alsa_card_ymfpci_init() function. Note that the YMFPCI was
> built-in into the kernel, and not as a module. However, building YMFPCI
> as a module still produces an oops. I'll post more information when I
> investigate a little more about this.
> 
> Any ideas on what's could be going on here? It's driving me nutts!
> 
> Thanks!

OK, this is the oops caused when trying to modprobe snd-ymfpci on
2.5.69-mm6:

Linux version 2.5.69-mm6 (root@glass.felipe-alfaro.com) (gcc version
3.2.3 20030422 (Red Hat Linux 3.2.3-4)) #25 Fri May 16 15:04:26 CEST
2003
Unable to handle kernel paging request at virtual address 50464d59
 printing eip:
c01d07bf
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01d07bf>]    Not tainted VLI
EFLAGS: 00010202
EIP is at driver_attach+0x3f/0x60
eax: 50464d59   ebx: 50464d59   ecx: 59004943   edx: d08a821e
esi: cfdec780   edi: d08aaa48   ebp: c030d100   esp: cfa0bf40
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 152, threadinfo=cfa0a000 task=cfde2690)
Stack: cff3884c d08aaa48 c030d14c 00000000 d08aaa76 c01d0a98 d08aaa48
00000009 
       c02e1830 00000000 c02e1818 cfa0a000 c01d0f1f d08aaa48 00000015
00000017 
       d0894c4c cfdec8a0 c0192527 d08aaa48 d087f019 d08aaa20 c02e1830
d08b1200 
Call Trace:
 [<d08aaa48>] driver+0x28/0xa0 [snd_ymfpci]
 [<d08aaa76>] driver+0x56/0xa0 [snd_ymfpci]
 [<c01d0a98>] bus_add_driver+0xa8/0xc0
 [<d08aaa48>] driver+0x28/0xa0 [snd_ymfpci]
 [<c01d0f1f>] driver_register+0x2f/0x40
 [<d08aaa48>] driver+0x28/0xa0 [snd_ymfpci]
 [<c0192527>] pci_register_driver+0x47/0x60
 [<d08aaa48>] driver+0x28/0xa0 [snd_ymfpci]
 [<d087f019>] +0x19/0x5b [snd_ymfpci]
 [<d08aaa20>] driver+0x0/0xa0 [snd_ymfpci]
 [<d08b1200>] +0x0/0xe0 [snd_ymfpci]
 [<c012eb2c>] sys_init_module+0x12c/0x240
 [<d08b1200>] +0x0/0xe0 [snd_ymfpci]
 [<c0109349>] sysenter_past_esp+0x52/0x71

Code: db 74 32 8b 9a a8 00 00 00 8b 03 0f 18 00 90 8d b2 a8 00 00 00 39
f3 74 1c 8d 76 00 8d 53 f8 8b 8a a4 00 00 00 85 c9 74 13 89 c3 <8b> 00
0f 18 00 90 39 f3 75 e7 83 c4 08 5b 5e 5f c3 89 7c 24 04 
 


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm5: pccard oops while booting: resolved
  2003-05-16 18:13                 ` Ben Collins
@ 2003-05-16 19:03                   ` Felipe Alfaro Solana
  0 siblings, 0 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-16 19:03 UTC (permalink / raw)
  To: Ben Collins; +Cc: Andrew Morton, rmk, LKML, davej

On Fri, 2003-05-16 at 20:13, Ben Collins wrote:
> > 1. Simply by changing KOBJ_NAME_LEN from 20 to 16 fixes the problem.
> > This leads me to think there are some parts of the kernel (a driver, to
> > be more exact) that are corrupting memory or doing something really
> > nasty that is affecting PCI ID's tables and pci_bus_match() function.

> Are you sure you have a pristine source and everything is rebuilt
> against the new header? It'd be very easy for one object file to have the
> incorrect name len and cause this problem.

I'm 200% sure:

1. tar jxvf linux-2.5.69.tar.bz2
2. zcat 2.5.69-mm6.gz | patch  -p1
3. make menuconfig

There is something in the Yamaha DS-XG PCI driver (I think the problem
lies in alsa_card_ymfpci_init()) that is somewhat corrupting the PCI
ID's table, or something else, that's causing the pci_bus_match()
function to oops.

I'm no kernel expert, so I've been unable to guess much more than this.


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 18:34                 ` 2.5.69-mm6: pccard oops while booting Felipe Alfaro Solana
@ 2003-05-16 20:29                   ` Andrew Morton
  2003-05-16 21:42                     ` Felipe Alfaro Solana
  0 siblings, 1 reply; 34+ messages in thread
From: Andrew Morton @ 2003-05-16 20:29 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: rmk, linux-kernel, davej

Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
>
> Unable to handle kernel paging request at virtual address 50464d59

hm, that address is "YMFP".   Please try generating the oops
again with the below patch applied:

 ./sound/pci/ymfpci/ymfpci.c      |    8 ++++----
 ./sound/pci/ymfpci/ymfpci_main.c |   22 +++++++++++-----------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "1YMFPCI", device, 32, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_free;
@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI");
+	strcpy(pcm->name, "2YMFPCI");
 	chip->pcm = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "3YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm2_free;
@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - AC'97");
+	strcpy(pcm->name, "4YMFPCI - AC'97");
 	chip->pcm2 = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "5YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - IEC958");
+	strcpy(pcm->name, "6YMFPCI - IEC958");
 	chip->pcm_spdif = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "7YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - Rear PCM");
+	strcpy(pcm->name, "8YMFPCI - Rear PCM");
 	chip->pcm_4ch = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
 {
 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
 	
-	snd_iprintf(buffer, "YMFPCI\n\n");
+	snd_iprintf(buffer, "9YMFPCI\n\n");
 }
 
 static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
 	pci_set_master(pci);
 
-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AYMFPCI")) == NULL) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
 		return -EBUSY;
 	}
-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BYMFPCI", (void *) chip)) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab IRQ %d\n", pci->irq);
 		return -EBUSY;
diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
 			fm_port[dev] = addr;
 		}
 		if (fm_port[dev] >= 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "CYMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
 		}
@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
 			mpu_port[dev] = addr;
 		}
 		if (mpu_port[dev] >= 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DYMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
 		}
@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: fm_port[dev] = -1; break;
 		}
 		if (fm_port[dev] > 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "EYMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: mpu_port[dev] = -1; break;
 		}
 		if (mpu_port[dev] > 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FYMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;

_


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 20:29                   ` Andrew Morton
@ 2003-05-16 21:42                     ` Felipe Alfaro Solana
  2003-05-16 22:08                       ` Carl-Daniel Hailfinger
  0 siblings, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-16 21:42 UTC (permalink / raw)
  To: Andrew Morton; +Cc: rmk, LKML, davej

[-- Attachment #1: Type: text/plain, Size: 6776 bytes --]

On Fri, 2003-05-16 at 22:29, Andrew Morton wrote:
> Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> >
> > Unable to handle kernel paging request at virtual address 50464d59
> 
> hm, that address is "YMFP".   Please try generating the oops
> again with the below patch applied:
> 
>  ./sound/pci/ymfpci/ymfpci.c      |    8 ++++----
>  ./sound/pci/ymfpci/ymfpci_main.c |   22 +++++++++++-----------
>  2 files changed, 15 insertions(+), 15 deletions(-)
> 
> diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
> --- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
> +++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
> @@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
>  
>  	if (rpcm)
>  		*rpcm = NULL;
> -	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
> +	if ((err = snd_pcm_new(chip->card, "1YMFPCI", device, 32, 1, &pcm)) < 0)
>  		return err;
>  	pcm->private_data = chip;
>  	pcm->private_free = snd_ymfpci_pcm_free;
> @@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
>  
>  	/* global setup */
>  	pcm->info_flags = 0;
> -	strcpy(pcm->name, "YMFPCI");
> +	strcpy(pcm->name, "2YMFPCI");
>  	chip->pcm = pcm;
>  
>  	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> @@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
>  
>  	if (rpcm)
>  		*rpcm = NULL;
> -	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
> +	if ((err = snd_pcm_new(chip->card, "3YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
>  		return err;
>  	pcm->private_data = chip;
>  	pcm->private_free = snd_ymfpci_pcm2_free;
> @@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
>  
>  	/* global setup */
>  	pcm->info_flags = 0;
> -	strcpy(pcm->name, "YMFPCI - AC'97");
> +	strcpy(pcm->name, "4YMFPCI - AC'97");
>  	chip->pcm2 = pcm;
>  
>  	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> @@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
>  
>  	if (rpcm)
>  		*rpcm = NULL;
> -	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
> +	if ((err = snd_pcm_new(chip->card, "5YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
>  		return err;
>  	pcm->private_data = chip;
>  	pcm->private_free = snd_ymfpci_pcm_spdif_free;
> @@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
>  
>  	/* global setup */
>  	pcm->info_flags = 0;
> -	strcpy(pcm->name, "YMFPCI - IEC958");
> +	strcpy(pcm->name, "6YMFPCI - IEC958");
>  	chip->pcm_spdif = pcm;
>  
>  	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> @@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
>  
>  	if (rpcm)
>  		*rpcm = NULL;
> -	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
> +	if ((err = snd_pcm_new(chip->card, "7YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
>  		return err;
>  	pcm->private_data = chip;
>  	pcm->private_free = snd_ymfpci_pcm_4ch_free;
> @@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
>  
>  	/* global setup */
>  	pcm->info_flags = 0;
> -	strcpy(pcm->name, "YMFPCI - Rear PCM");
> +	strcpy(pcm->name, "8YMFPCI - Rear PCM");
>  	chip->pcm_4ch = pcm;
>  
>  	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> @@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
>  {
>  	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
>  	
> -	snd_iprintf(buffer, "YMFPCI\n\n");
> +	snd_iprintf(buffer, "9YMFPCI\n\n");
>  }
>  
>  static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
> @@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
>  	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
>  	pci_set_master(pci);
>  
> -	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
> +	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AYMFPCI")) == NULL) {
>  		snd_ymfpci_free(chip);
>  		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
>  		return -EBUSY;
>  	}
> -	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
> +	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BYMFPCI", (void *) chip)) {
>  		snd_ymfpci_free(chip);
>  		snd_printk("unable to grab IRQ %d\n", pci->irq);
>  		return -EBUSY;
> diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
> --- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
> +++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
> @@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
>  			fm_port[dev] = addr;
>  		}
>  		if (fm_port[dev] >= 0 &&
> -		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
> +		    (chip->fm_res = request_region(fm_port[dev], 4, "CYMFPCI OPL3")) != NULL) {
>  			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
>  			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
>  		}
> @@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
>  			mpu_port[dev] = addr;
>  		}
>  		if (mpu_port[dev] >= 0 &&
> -		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
> +		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DYMFPCI MPU401")) != NULL) {
>  			legacy_ctrl |= YMFPCI_LEGACY_MEN;
>  			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
>  		}
> @@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
>  		default: fm_port[dev] = -1; break;
>  		}
>  		if (fm_port[dev] > 0 &&
> -		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
> +		    (chip->fm_res = request_region(fm_port[dev], 4, "EYMFPCI OPL3")) != NULL) {
>  			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
>  		} else {
>  			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
> @@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
>  		default: mpu_port[dev] = -1; break;
>  		}
>  		if (mpu_port[dev] > 0 &&
> -		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
> +		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FYMFPCI MPU401")) != NULL) {
>  			legacy_ctrl |= YMFPCI_LEGACY_MEN;
>  		} else {
>  			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;
> 

I've applied the patch above to a pristine 2.5.69-mm6. Curiously, if I
build snd-ymfpci as a module, I can't reproduce the oops anymore.
However, if I build snd-ymfpci into the kernel, I can *still* reproduce
the oops.

Attached is the dmesg of a 2.5.69-mm6 plus the above patch with ymfpci
integrated into the kernel.

Thanks!


[-- Attachment #2: dmesg-kernel --]
[-- Type: application/octet-stream, Size: 8757 bytes --]

Linux version 2.5.69-mm6-test (root@glass.felipe-alfaro.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-4)) #1 Fri May 16 23:34:22 CEST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 NEC                        ) @ 0x000fb550
ACPI: RSDT (v001    NEC ND000020 00000.00001) @ 0x0fff0000
ACPI: FADT (v001    NEC ND000020 00000.00001) @ 0x0fff0030
ACPI: BOOT (v001    NEC ND000020 00000.00001) @ 0x0fff00b0
ACPI: DSDT (v001    NEC ND000020 00000.00001) @ 0x00000000
ACPI: BIOS passes blacklist
Building zonelist for node : 0
Kernel command line: ro root=/dev/hda3 1
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 696.996 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1376.25 BogoMIPS
Memory: 256048k/262080k available (1739k kernel code, 5304k reserved, 682k data, 104k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v2.0 (20020519)
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20030418
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [NRTH] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.NRTH._PRT]
ACPI: Embedded Controller [EC0] (gpe 9)
ACPI: Power Resource [PUSB] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 10, disabled)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 9, disabled)
block request queues:
 4/128 requests per read queue
 4/128 requests per write queue
 enter congestion at 15
 exit congestion at 17
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Enabling SEP on CPU 0
Limiting direct PCI/PCI transfers.
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery absent)
ACPI: Power Button (CM) [PRB1]
ACPI: Lid Switch [LID0]
ACPI: Fan [FANC] (on)
ACPI: Processor [CPU0] (supports C1)
ACPI: Thermal Zone [THRM] (64 C)
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.11
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 256M @ 0xe0000000
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23BA-20, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITADVD-ROM SR-8185, ATAPI CD/DVD-ROM drive
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
yenta 00:0c.0: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq10
Socket status: 30000068
yenta 00:0c.1: Preassigned resource 2 busy, reconfiguring...
yenta 00:0c.1: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq5
Socket status: 30000006
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
uhci-hcd 00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 
uhci-hcd 00:07.2: irq 9, io base 0000ef80
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.2 (Thu Mar 20 13:31:57 2003 UTC).
ALSA device list:
  #0: Yamaha DS-XG PCI (YMF754) at 0xd0851000, irq 5
NET4: Linux TCP/IP 1.0 for NET4.0
Unable to handle kernel paging request at virtual address 25007367
 printing eip:
c0192598
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c0192598>]    Not tainted VLI
EFLAGS: 00010202
EIP is at pci_bus_match+0x18/0xb0
eax: 00000000   ebx: c13c1000   ecx: 25007367   edx: 00000000
esi: c13c104c   edi: ffffffed   ebp: cff3844c   esp: cfde7ed0
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 10, threadinfo=cfde6000 task=c1390060)
Stack: c02ddc7c c01d065f c13c104c c02ddc7c c02ddcac c13c104c c03209fc c01d06ff 
       c13c104c c02ddc7c c13c104c c03209a0 c13c1084 c01d08b4 c13c104c c02c36c3 
       c03272c0 c13c104c 00000000 c13c1084 c01cfa84 c13c104c cffc3a40 c13c1000 
Call Trace:
 [<c01d065f>] bus_match+0x2f/0x80
 [<c01d06ff>] device_attach+0x4f/0x90
 [<c01d08b4>] bus_add_device+0x64/0xb0
 [<c01cfa84>] device_add+0xd4/0x110
 [<c018ec5e>] pci_bus_add_devices+0xae/0xe0
 [<c02038cb>] cb_alloc+0xab/0xf0
 [<c0200709>] socket_insert+0x69/0x80
 [<c01ffcba>] get_socket_status+0x1a/0x20
 [<c020094d>] pccardd+0x13d/0x1f0
 [<c0115ed0>] default_wake_function+0x0/0x20
 [<c0109272>] ret_from_fork+0x6/0x14
 [<c0115ed0>] default_wake_function+0x0/0x20
 [<c0200810>] pccardd+0x0/0x1f0
 [<c010722d>] kernel_thread_helper+0x5/0x18

Code: 83 fa 06 7e f1 31 c0 c3 b8 00 09 32 c0 c3 90 8d 74 26 00 53 8b 44 24 0c 8b 5c 24 08 83 e8 28 8b 48 0c 83 eb 4c 31 c0 85 c9 74 30 <8b> 11 85 d2 74 7a 89 f6 83 fa ff 74 2b 0f b7 43 24 39 c2 74 23 
 <6>hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x301
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
hub 1-0:0: new USB device on port 1, assigned address 2
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-00:07.2-1
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 1-0:0: new USB device on port 2, assigned address 3
hub 1-2:0: USB hub found
hub 1-2:0: 2 ports detected
Adding 257032k swap on /dev/hda2.  Priority:-1 extents:1
blk: queue c038d3dc, I/O limit 4095Mb (mask 0xffffffff)
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04Aborted Command 

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 21:42                     ` Felipe Alfaro Solana
@ 2003-05-16 22:08                       ` Carl-Daniel Hailfinger
  2003-05-16 23:40                         ` Felipe Alfaro Solana
  2003-05-17 10:11                         ` 2.5.69-mm6: pccard oops while booting: round 2 Felipe Alfaro Solana
  0 siblings, 2 replies; 34+ messages in thread
From: Carl-Daniel Hailfinger @ 2003-05-16 22:08 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, rmk, LKML, davej

Felipe Alfaro Solana wrote:
> On Fri, 2003-05-16 at 22:29, Andrew Morton wrote:
> 
>>Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
>>
>>>Unable to handle kernel paging request at virtual address 50464d59
>>
>>hm, that address is "YMFP".   Please try generating the oops
>>again with the below patch applied:
>>
>> ./sound/pci/ymfpci/ymfpci.c      |    8 ++++----
>> ./sound/pci/ymfpci/ymfpci_main.c |   22 +++++++++++-----------
>> 2 files changed, 15 insertions(+), 15 deletions(-)
>>
>>diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
>>--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
>>+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
>>@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
>> 
>> 	if (rpcm)
>> 		*rpcm = NULL;
>>-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
>>+	if ((err = snd_pcm_new(chip->card, "1YMFPCI", device, 32, 1, &pcm)) < 0)
>> 		return err;
>> 	pcm->private_data = chip;
>> 	pcm->private_free = snd_ymfpci_pcm_free;
>>@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
>> 
>> 	/* global setup */
>> 	pcm->info_flags = 0;
>>-	strcpy(pcm->name, "YMFPCI");
>>+	strcpy(pcm->name, "2YMFPCI");
>> 	chip->pcm = pcm;
>> 
>> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
>>@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
>> 
>> 	if (rpcm)
>> 		*rpcm = NULL;
>>-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
>>+	if ((err = snd_pcm_new(chip->card, "3YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
>> 		return err;
>> 	pcm->private_data = chip;
>> 	pcm->private_free = snd_ymfpci_pcm2_free;
>>@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
>> 
>> 	/* global setup */
>> 	pcm->info_flags = 0;
>>-	strcpy(pcm->name, "YMFPCI - AC'97");
>>+	strcpy(pcm->name, "4YMFPCI - AC'97");
>> 	chip->pcm2 = pcm;
>> 
>> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
>>@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
>> 
>> 	if (rpcm)
>> 		*rpcm = NULL;
>>-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
>>+	if ((err = snd_pcm_new(chip->card, "5YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
>> 		return err;
>> 	pcm->private_data = chip;
>> 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
>>@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
>> 
>> 	/* global setup */
>> 	pcm->info_flags = 0;
>>-	strcpy(pcm->name, "YMFPCI - IEC958");
>>+	strcpy(pcm->name, "6YMFPCI - IEC958");
>> 	chip->pcm_spdif = pcm;
>> 
>> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
>>@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
>> 
>> 	if (rpcm)
>> 		*rpcm = NULL;
>>-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
>>+	if ((err = snd_pcm_new(chip->card, "7YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
>> 		return err;
>> 	pcm->private_data = chip;
>> 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
>>@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
>> 
>> 	/* global setup */
>> 	pcm->info_flags = 0;
>>-	strcpy(pcm->name, "YMFPCI - Rear PCM");
>>+	strcpy(pcm->name, "8YMFPCI - Rear PCM");
>> 	chip->pcm_4ch = pcm;
>> 
>> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
>>@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
>> {
>> 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
>> 	
>>-	snd_iprintf(buffer, "YMFPCI\n\n");
>>+	snd_iprintf(buffer, "9YMFPCI\n\n");
>> }
>> 
>> static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
>>@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
>> 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
>> 	pci_set_master(pci);
>> 
>>-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
>>+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AYMFPCI")) == NULL) {
>> 		snd_ymfpci_free(chip);
>> 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
>> 		return -EBUSY;
>> 	}
>>-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
>>+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BYMFPCI", (void *) chip)) {
>> 		snd_ymfpci_free(chip);
>> 		snd_printk("unable to grab IRQ %d\n", pci->irq);
>> 		return -EBUSY;
>>diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
>>--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
>>+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
>>@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
>> 			fm_port[dev] = addr;
>> 		}
>> 		if (fm_port[dev] >= 0 &&
>>-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
>>+		    (chip->fm_res = request_region(fm_port[dev], 4, "CYMFPCI OPL3")) != NULL) {
>> 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
>> 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
>> 		}
>>@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
>> 			mpu_port[dev] = addr;
>> 		}
>> 		if (mpu_port[dev] >= 0 &&
>>-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
>>+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DYMFPCI MPU401")) != NULL) {
>> 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
>> 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
>> 		}
>>@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
>> 		default: fm_port[dev] = -1; break;
>> 		}
>> 		if (fm_port[dev] > 0 &&
>>-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
>>+		    (chip->fm_res = request_region(fm_port[dev], 4, "EYMFPCI OPL3")) != NULL) {
>> 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
>> 		} else {
>> 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
>>@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
>> 		default: mpu_port[dev] = -1; break;
>> 		}
>> 		if (mpu_port[dev] > 0 &&
>>-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
>>+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FYMFPCI MPU401")) != NULL) {
>> 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
>> 		} else {
>> 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;
>>
> 
> 
> I've applied the patch above to a pristine 2.5.69-mm6. Curiously, if I
> build snd-ymfpci as a module, I can't reproduce the oops anymore.
> However, if I build snd-ymfpci into the kernel, I can *still* reproduce
> the oops.
> 
> Attached is the dmesg of a 2.5.69-mm6 plus the above patch with ymfpci
> integrated into the kernel.
> 
> Thanks!
> 
> Unable to handle kernel paging request at virtual address 25007367

Unfortunately, now the address is gs\0%
This does not help that much. Could you please backout above patch, hand
edit it so that each YMFPCI -> 1YMFPCI, YMFPCI -> 2YMFPCI etc. change
looks instead like
YMFPCI -> 1MFPCI, YMFPCI -> 2MFPCI so that the string length and the
first 3 bytes of the address stay constant and apply it again? That may
give us better results.

Thanks,
Carl-Daniel
-- 
http://www.hailfinger.org/


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 22:08                       ` Carl-Daniel Hailfinger
@ 2003-05-16 23:40                         ` Felipe Alfaro Solana
  2003-05-16 23:55                           ` Russell King
  2003-05-17 10:11                         ` 2.5.69-mm6: pccard oops while booting: round 2 Felipe Alfaro Solana
  1 sibling, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-16 23:40 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger; +Cc: Andrew Morton, rmk, LKML, davej

[-- Attachment #1: Type: text/plain, Size: 7846 bytes --]

On Sat, 2003-05-17 at 00:08, Carl-Daniel Hailfinger wrote:
> Felipe Alfaro Solana wrote:
> > On Fri, 2003-05-16 at 22:29, Andrew Morton wrote:
> > 
> >>Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> >>
> >>>Unable to handle kernel paging request at virtual address 50464d59
> >>
> >>hm, that address is "YMFP".   Please try generating the oops
> >>again with the below patch applied:
> >>
> >> ./sound/pci/ymfpci/ymfpci.c      |    8 ++++----
> >> ./sound/pci/ymfpci/ymfpci_main.c |   22 +++++++++++-----------
> >> 2 files changed, 15 insertions(+), 15 deletions(-)
> >>
> >>diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
> >>--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
> >>+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
> >>@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
> >> 
> >> 	if (rpcm)
> >> 		*rpcm = NULL;
> >>-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
> >>+	if ((err = snd_pcm_new(chip->card, "1YMFPCI", device, 32, 1, &pcm)) < 0)
> >> 		return err;
> >> 	pcm->private_data = chip;
> >> 	pcm->private_free = snd_ymfpci_pcm_free;
> >>@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
> >> 
> >> 	/* global setup */
> >> 	pcm->info_flags = 0;
> >>-	strcpy(pcm->name, "YMFPCI");
> >>+	strcpy(pcm->name, "2YMFPCI");
> >> 	chip->pcm = pcm;
> >> 
> >> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> >>@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
> >> 
> >> 	if (rpcm)
> >> 		*rpcm = NULL;
> >>-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
> >>+	if ((err = snd_pcm_new(chip->card, "3YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
> >> 		return err;
> >> 	pcm->private_data = chip;
> >> 	pcm->private_free = snd_ymfpci_pcm2_free;
> >>@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
> >> 
> >> 	/* global setup */
> >> 	pcm->info_flags = 0;
> >>-	strcpy(pcm->name, "YMFPCI - AC'97");
> >>+	strcpy(pcm->name, "4YMFPCI - AC'97");
> >> 	chip->pcm2 = pcm;
> >> 
> >> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> >>@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
> >> 
> >> 	if (rpcm)
> >> 		*rpcm = NULL;
> >>-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
> >>+	if ((err = snd_pcm_new(chip->card, "5YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
> >> 		return err;
> >> 	pcm->private_data = chip;
> >> 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
> >>@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
> >> 
> >> 	/* global setup */
> >> 	pcm->info_flags = 0;
> >>-	strcpy(pcm->name, "YMFPCI - IEC958");
> >>+	strcpy(pcm->name, "6YMFPCI - IEC958");
> >> 	chip->pcm_spdif = pcm;
> >> 
> >> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> >>@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
> >> 
> >> 	if (rpcm)
> >> 		*rpcm = NULL;
> >>-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
> >>+	if ((err = snd_pcm_new(chip->card, "7YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
> >> 		return err;
> >> 	pcm->private_data = chip;
> >> 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
> >>@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
> >> 
> >> 	/* global setup */
> >> 	pcm->info_flags = 0;
> >>-	strcpy(pcm->name, "YMFPCI - Rear PCM");
> >>+	strcpy(pcm->name, "8YMFPCI - Rear PCM");
> >> 	chip->pcm_4ch = pcm;
> >> 
> >> 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
> >>@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
> >> {
> >> 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
> >> 	
> >>-	snd_iprintf(buffer, "YMFPCI\n\n");
> >>+	snd_iprintf(buffer, "9YMFPCI\n\n");
> >> }
> >> 
> >> static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
> >>@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
> >> 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
> >> 	pci_set_master(pci);
> >> 
> >>-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
> >>+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AYMFPCI")) == NULL) {
> >> 		snd_ymfpci_free(chip);
> >> 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
> >> 		return -EBUSY;
> >> 	}
> >>-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
> >>+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BYMFPCI", (void *) chip)) {
> >> 		snd_ymfpci_free(chip);
> >> 		snd_printk("unable to grab IRQ %d\n", pci->irq);
> >> 		return -EBUSY;
> >>diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
> >>--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
> >>+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
> >>@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
> >> 			fm_port[dev] = addr;
> >> 		}
> >> 		if (fm_port[dev] >= 0 &&
> >>-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
> >>+		    (chip->fm_res = request_region(fm_port[dev], 4, "CYMFPCI OPL3")) != NULL) {
> >> 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
> >> 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
> >> 		}
> >>@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
> >> 			mpu_port[dev] = addr;
> >> 		}
> >> 		if (mpu_port[dev] >= 0 &&
> >>-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
> >>+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DYMFPCI MPU401")) != NULL) {
> >> 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
> >> 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
> >> 		}
> >>@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
> >> 		default: fm_port[dev] = -1; break;
> >> 		}
> >> 		if (fm_port[dev] > 0 &&
> >>-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
> >>+		    (chip->fm_res = request_region(fm_port[dev], 4, "EYMFPCI OPL3")) != NULL) {
> >> 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
> >> 		} else {
> >> 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
> >>@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
> >> 		default: mpu_port[dev] = -1; break;
> >> 		}
> >> 		if (mpu_port[dev] > 0 &&
> >>-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
> >>+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FYMFPCI MPU401")) != NULL) {
> >> 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
> >> 		} else {
> >> 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;
> >>
> > 
> > 
> > I've applied the patch above to a pristine 2.5.69-mm6. Curiously, if I
> > build snd-ymfpci as a module, I can't reproduce the oops anymore.
> > However, if I build snd-ymfpci into the kernel, I can *still* reproduce
> > the oops.
> > 
> > Attached is the dmesg of a 2.5.69-mm6 plus the above patch with ymfpci
> > integrated into the kernel.
> > 
> > Thanks!
> > 
> > Unable to handle kernel paging request at virtual address 25007367
> 
> Unfortunately, now the address is gs\0%
> This does not help that much. Could you please backout above patch, hand
> edit it so that each YMFPCI -> 1YMFPCI, YMFPCI -> 2YMFPCI etc. change
> looks instead like
> YMFPCI -> 1MFPCI, YMFPCI -> 2MFPCI so that the string length and the
> first 3 bytes of the address stay constant and apply it again? That may
> give us better results.

This is getting tricky. How about this one?
Attached is "ymfpci2.patch" with your suggested changes, and "dmesg"
with the new oops info.

Hope this helps. Thanks again!

[-- Attachment #2: ymfpci2.patch --]
[-- Type: text/x-patch, Size: 5686 bytes --]

diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "1MFPCI", device, 32, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_free;
@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI");
+	strcpy(pcm->name, "2MFPCI");
 	chip->pcm = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "3MFPCI - AC'97", device, 0, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm2_free;
@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - AC'97");
+	strcpy(pcm->name, "4MFPCI - AC'97");
 	chip->pcm2 = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "5MFPCI - IEC958", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - IEC958");
+	strcpy(pcm->name, "6MFPCI - IEC958");
 	chip->pcm_spdif = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "7MFPCI - Rear", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - Rear PCM");
+	strcpy(pcm->name, "8MFPCI - Rear PCM");
 	chip->pcm_4ch = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
 {
 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
 	
-	snd_iprintf(buffer, "YMFPCI\n\n");
+	snd_iprintf(buffer, "9MFPCI\n\n");
 }
 
 static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
 	pci_set_master(pci);
 
-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AMFPCI")) == NULL) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
 		return -EBUSY;
 	}
-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BMFPCI", (void *) chip)) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab IRQ %d\n", pci->irq);
 		return -EBUSY;
diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
 			fm_port[dev] = addr;
 		}
 		if (fm_port[dev] >= 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "CMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
 		}
@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
 			mpu_port[dev] = addr;
 		}
 		if (mpu_port[dev] >= 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
 		}
@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: fm_port[dev] = -1; break;
 		}
 		if (fm_port[dev] > 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "EMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: mpu_port[dev] = -1; break;
 		}
 		if (mpu_port[dev] > 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;


[-- Attachment #3: dmesg --]
[-- Type: application/octet-stream, Size: 8757 bytes --]

Linux version 2.5.69-mm6-test (root@glass.felipe-alfaro.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-4)) #3 Sat May 17 01:35:06 CEST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 NEC                        ) @ 0x000fb550
ACPI: RSDT (v001    NEC ND000020 00000.00001) @ 0x0fff0000
ACPI: FADT (v001    NEC ND000020 00000.00001) @ 0x0fff0030
ACPI: BOOT (v001    NEC ND000020 00000.00001) @ 0x0fff00b0
ACPI: DSDT (v001    NEC ND000020 00000.00001) @ 0x00000000
ACPI: BIOS passes blacklist
Building zonelist for node : 0
Kernel command line: ro root=/dev/hda3 1
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 697.101 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1376.25 BogoMIPS
Memory: 256048k/262080k available (1739k kernel code, 5304k reserved, 682k data, 104k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v2.0 (20020519)
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20030418
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [NRTH] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.NRTH._PRT]
ACPI: Embedded Controller [EC0] (gpe 9)
ACPI: Power Resource [PUSB] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 10, disabled)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 9, disabled)
block request queues:
 4/128 requests per read queue
 4/128 requests per write queue
 enter congestion at 15
 exit congestion at 17
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Enabling SEP on CPU 0
Limiting direct PCI/PCI transfers.
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery absent)
ACPI: Power Button (CM) [PRB1]
ACPI: Lid Switch [LID0]
ACPI: Fan [FANC] (on)
ACPI: Processor [CPU0] (supports C1)
ACPI: Thermal Zone [THRM] (64 C)
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.11
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 256M @ 0xe0000000
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23BA-20, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITADVD-ROM SR-8185, ATAPI CD/DVD-ROM drive
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
yenta 00:0c.0: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq10
Socket status: 30000068
yenta 00:0c.1: Preassigned resource 2 busy, reconfiguring...
yenta 00:0c.1: Preassigned resource 3 busy, reconfiguring...
Yenta IRQ list 08d8, PCI irq5
Socket status: 30000006
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
uhci-hcd 00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 
uhci-hcd 00:07.2: irq 9, io base 0000ef80
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.2 (Thu Mar 20 13:31:57 2003 UTC).
ALSA device list:
  #0: Yamaha DS-XG PCI (YMF754) at 0xd0851000, irq 5
NET4: Linux TCP/IP 1.0 for NET4.0
Unable to handle kernel paging request at virtual address 25007367
 printing eip:
c0192598
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c0192598>]    Not tainted VLI
EFLAGS: 00010202
EIP is at pci_bus_match+0x18/0xb0
eax: 00000000   ebx: c13c1000   ecx: 25007367   edx: 00000000
esi: c13c104c   edi: ffffffed   ebp: cff3844c   esp: cfde7ed0
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 10, threadinfo=cfde6000 task=c1390060)
Stack: c02ddc7c c01d065f c13c104c c02ddc7c c02ddcac c13c104c c03209fc c01d06ff 
       c13c104c c02ddc7c c13c104c c03209a0 c13c1084 c01d08b4 c13c104c c02c36c3 
       c03272c0 c13c104c 00000000 c13c1084 c01cfa84 c13c104c cffc3a40 c13c1000 
Call Trace:
 [<c01d065f>] bus_match+0x2f/0x80
 [<c01d06ff>] device_attach+0x4f/0x90
 [<c01d08b4>] bus_add_device+0x64/0xb0
 [<c01cfa84>] device_add+0xd4/0x110
 [<c018ec5e>] pci_bus_add_devices+0xae/0xe0
 [<c02038cb>] cb_alloc+0xab/0xf0
 [<c0200709>] socket_insert+0x69/0x80
 [<c01ffcba>] get_socket_status+0x1a/0x20
 [<c020094d>] pccardd+0x13d/0x1f0
 [<c0115ed0>] default_wake_function+0x0/0x20
 [<c0109272>] ret_from_fork+0x6/0x14
 [<c0115ed0>] default_wake_function+0x0/0x20
 [<c0200810>] pccardd+0x0/0x1f0
 [<c010722d>] kernel_thread_helper+0x5/0x18

Code: 83 fa 06 7e f1 31 c0 c3 b8 00 09 32 c0 c3 90 8d 74 26 00 53 8b 44 24 0c 8b 5c 24 08 83 e8 28 8b 48 0c 83 eb 4c 31 c0 85 c9 74 30 <8b> 11 85 d2 74 7a 89 f6 83 fa ff 74 2b 0f b7 43 24 39 c2 74 23 
 <6>hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x301
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
hub 1-0:0: new USB device on port 1, assigned address 2
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-00:07.2-1
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 1-0:0: new USB device on port 2, assigned address 3
hub 1-2:0: USB hub found
hub 1-2:0: 2 ports detected
Adding 257032k swap on /dev/hda2.  Priority:-1 extents:1
blk: queue c038d3dc, I/O limit 4095Mb (mask 0xffffffff)
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04Aborted Command 

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 23:40                         ` Felipe Alfaro Solana
@ 2003-05-16 23:55                           ` Russell King
  2003-05-17  0:03                             ` Felipe Alfaro Solana
  2003-05-17  0:27                             ` Carl-Daniel Hailfinger
  0 siblings, 2 replies; 34+ messages in thread
From: Russell King @ 2003-05-16 23:55 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Carl-Daniel Hailfinger, Andrew Morton, LKML, davej

On Sat, May 17, 2003 at 01:40:26AM +0200, Felipe Alfaro Solana wrote:
> This is getting tricky. How about this one?
> Attached is "ymfpci2.patch" with your suggested changes, and "dmesg"
> with the new oops info.

You need to reproduce the oops you get when you modprobe the module.
The oops with this driver built in is different, and akpm's changes
won't tell us which one causes the problem.

Instead of adding a character to each of those strings, could you
remove the 'Y' character so the strings remain the same length as
the original - that may cause the oops to reappear.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 23:55                           ` Russell King
@ 2003-05-17  0:03                             ` Felipe Alfaro Solana
  2003-05-17  0:27                             ` Carl-Daniel Hailfinger
  1 sibling, 0 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-17  0:03 UTC (permalink / raw)
  To: Russell King; +Cc: Carl-Daniel Hailfinger, Andrew Morton, LKML, davej

On Sat, 2003-05-17 at 01:55, Russell King wrote:
> On Sat, May 17, 2003 at 01:40:26AM +0200, Felipe Alfaro Solana wrote:
> > This is getting tricky. How about this one?
> > Attached is "ymfpci2.patch" with your suggested changes, and "dmesg"
> > with the new oops info.
> 
> You need to reproduce the oops you get when you modprobe the module.
> The oops with this driver built in is different, and akpm's changes
> won't tell us which one causes the problem.
> 
> Instead of adding a character to each of those strings, could you
> remove the 'Y' character so the strings remain the same length as
> the original - that may cause the oops to reappear.

Yeah! That's exactly what Carl proposed in a previous message. So, I
did, but now I can't reproduce the oops with ymfpci compiled as a
module. I can only reproduce the oops if ymfpci is built-into the
kernel.

Wops! I'm lost. I'm tired and it's too late, so I'd better get some
sleep and try to guess a little bit more tomorrow.

Thanks!


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting
  2003-05-16 23:55                           ` Russell King
  2003-05-17  0:03                             ` Felipe Alfaro Solana
@ 2003-05-17  0:27                             ` Carl-Daniel Hailfinger
  1 sibling, 0 replies; 34+ messages in thread
From: Carl-Daniel Hailfinger @ 2003-05-17  0:27 UTC (permalink / raw)
  To: Russell King; +Cc: Felipe Alfaro Solana, Andrew Morton, LKML, davej

Russell King wrote:
> On Sat, May 17, 2003 at 01:40:26AM +0200, Felipe Alfaro Solana wrote:
> 
>>This is getting tricky. How about this one?
>>Attached is "ymfpci2.patch" with your suggested changes, and "dmesg"
>>with the new oops info.
> 
> 
> You need to reproduce the oops you get when you modprobe the module.
> The oops with this driver built in is different, and akpm's changes
> won't tell us which one causes the problem.

True. Just a stab in the dark - leaving KOBJ_NAME_LEN == 20 and
initializing the first four and last four bytes of the KOBJ_NAME_LEN
sized buffer with a counter starting at 0 might also prove very
interesting and could help resolve the Oops with the driver built in.
Motivation: Somehow, the disaster smells like somebody uses a hardcoded
offset designed to work only if KOBJ_NAME_LEN == 16.

I would provide a patch, but I don't have the source handy right now due
to disk space constraints.


Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 2
  2003-05-16 22:08                       ` Carl-Daniel Hailfinger
  2003-05-16 23:40                         ` Felipe Alfaro Solana
@ 2003-05-17 10:11                         ` Felipe Alfaro Solana
  2003-05-17 10:18                           ` Andrew Morton
  1 sibling, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-17 10:11 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger, Andrew Morton; +Cc: rmk, LKML, davej

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

I've been working on this a little this morning and these are the new
conclusions I've drawn:

1. Definitively, the oops is being caused by the YMFPCI driver. I have
built a mini-kernel by squashing the config to a minimum (disabled
modules, preemptive, removed USB, IDE, AGP, Networking, CardBus, and
nearly everything possible) and the kernel still faults.

2. Compiling the kernel with frame pointers causes a panic during boot
instead of an oops. Thus, I've changed my config to use frame pointers.
I don't know if this will make debugging a little harder or not, but I
think it's interesting to use them as the call trace is a little
different this time.

Attached to this message are the following files:

"ymfpci2.patch" which replaces the "YMPFCI" string with "1MFPCI",
"2MFPCI" and so on. This patch should be applied against a pristine,
clean 2.5.69-mm6 kernel tree.

"config" contains the configuration I used to build the kernel. Nearly
everything has been left off: no swapping, no modules, no preemptive, no
ACPI, no APM, no power management, no IDE, no USB, no AGP, no
networking, etc. I made this to keep the number of additional drivers to
a minimum and being able to concentrate on the faulting driver.

"oops" contains the kernel oops when booting 2.5.69-mm6 + ymfpci2.patch
using the above config file.

Hope this can make things easier for you, guys, cause this thing is
getting greater than me.

Thanks and have a nice weekend!

[-- Attachment #2: config --]
[-- Type: text/plain, Size: 8098 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# General setup
#
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14

#
# Loadable module support
#
# CONFIG_MODULES is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
# CONFIG_X86_MCE is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_025GB is not set
# CONFIG_05GB is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_NAMES is not set
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL device support
#
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
# CONFIG_NET is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# ISDN subsystem
#

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#

#
# Non-8250 serial port support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Hardware Sensors Mainboard support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_OSSEMUL is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_YMFPCI=y
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
# CONFIG_USB is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_KALLSYMS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y

[-- Attachment #3: oops --]
[-- Type: text/plain, Size: 1098 bytes --]

ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 1, threadinfo=c12ea000 task=c12e9880)
Stack: cff5e470 cffedae0 00000021 c01e8600 c13d0000 cffedae0 00000021 fceec0cf
       c01e8630 cff5e44c 00000000 c12ebf28 c0193932 c01e8600 cff5e470 cff5e470
       c01e85e8 c12ebf44 c01939ba cff5e44c c01e85e8 cff5e454 c01e1f80 c01e85e8
Class Trace:
 [<c0193932>] device_bind_driver+0x42/0x50
 [<c01939ba>] bus_match+0x7a/0x80
 [<c0193aad>] driver_attach+0x5d/0x70
 [<c0193d56>] bus_add_driver+0xa6/0xc0
 [<c01941b1>] driver_register+0x31/0x40
 [<c01a74ca>] snd_ctl_register_ioctl+0x1a/0x70
 [<c017be45>] pci_register_driver+0x45/0x60
 [<c0214f45>] alsa_card_ymfpci_init+0x15/0x50
 [<c020679b>] do_initcalls+0x2b/0xa0
 [<c01231b2>] init_workqueues+0x12/0x30
 [<c0105088>] init+0x28/0x150
 [<c0105060>] init+0x0/0x150
 [<c01073dd>] kernel_thread_helper+0x5/0x18

Code: ac aa 84 c0 75 fa 4b 83 c1 03 83 fb ff 75 ed 8b 45 ec 8b 55 e8 8b 7d 0c 89
 44 24 08 89 54 24 04 89 3c 24 e8 d4 fe ff ff 8b 55 f0 <8b> 42 08 8d 48 6c ff 48
 6c 78 68 8b 45 10 89 14 24 89 44 24 04
 <0>Kernel panic: Attempted to kill init!


[-- Attachment #4: ymfpci2.patch --]
[-- Type: text/x-patch, Size: 5686 bytes --]

diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "1MFPCI", device, 32, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_free;
@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI");
+	strcpy(pcm->name, "2MFPCI");
 	chip->pcm = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "3MFPCI - AC'97", device, 0, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm2_free;
@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - AC'97");
+	strcpy(pcm->name, "4MFPCI - AC'97");
 	chip->pcm2 = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "5MFPCI - IEC958", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - IEC958");
+	strcpy(pcm->name, "6MFPCI - IEC958");
 	chip->pcm_spdif = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "7MFPCI - Rear", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - Rear PCM");
+	strcpy(pcm->name, "8MFPCI - Rear PCM");
 	chip->pcm_4ch = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
 {
 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
 	
-	snd_iprintf(buffer, "YMFPCI\n\n");
+	snd_iprintf(buffer, "9MFPCI\n\n");
 }
 
 static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
 	pci_set_master(pci);
 
-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AMFPCI")) == NULL) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
 		return -EBUSY;
 	}
-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BMFPCI", (void *) chip)) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab IRQ %d\n", pci->irq);
 		return -EBUSY;
diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
 			fm_port[dev] = addr;
 		}
 		if (fm_port[dev] >= 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "CMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
 		}
@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
 			mpu_port[dev] = addr;
 		}
 		if (mpu_port[dev] >= 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
 		}
@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: fm_port[dev] = -1; break;
 		}
 		if (fm_port[dev] > 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "EMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: mpu_port[dev] = -1; break;
 		}
 		if (mpu_port[dev] > 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 2
  2003-05-17 10:11                         ` 2.5.69-mm6: pccard oops while booting: round 2 Felipe Alfaro Solana
@ 2003-05-17 10:18                           ` Andrew Morton
  2003-05-17 11:05                             ` Felipe Alfaro Solana
  0 siblings, 1 reply; 34+ messages in thread
From: Andrew Morton @ 2003-05-17 10:18 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: c-d.hailfinger.kernel.2003, rmk, linux-kernel, davej

Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
>
> "oops" contains the kernel oops when booting 2.5.69-mm6 + ymfpci2.patch
>  using the above config file.

Bummer.  Vital info is chopped off the top of the oops output.

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 2
  2003-05-17 10:18                           ` Andrew Morton
@ 2003-05-17 11:05                             ` Felipe Alfaro Solana
  2003-05-17 11:22                               ` Carl-Daniel Hailfinger
  2003-05-17 11:39                               ` 2.5.69-mm6: pccard oops while booting: round 2 Andrew Morton
  0 siblings, 2 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-17 11:05 UTC (permalink / raw)
  To: Andrew Morton; +Cc: c-d.hailfinger.kernel.2003, rmk, LKML, davej

[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]

On Sat, 2003-05-17 at 12:18, Andrew Morton wrote:
> Bummer.  Vital info is chopped off the top of the oops output.

Well, I'm idiot. Please, disregard my previos mail. This contains the
full oops, config and patch:

---
I've been working on this a little this morning and these are the new
conclusions I've drawn:

1. Definitively, the oops is being caused by the YMFPCI driver. I have
built a mini-kernel by squashing the config to a minimum (disabled
modules, preemptive, removed USB, IDE, AGP, Networking, CardBus, and
nearly everything possible) and the kernel still faults.

2. Compiling the kernel with frame pointers causes a panic during boot
instead of an oops. Thus, I've changed my config to use frame pointers.
I don't know if this will make debugging a little harder or not, but I
think it's interesting to use them as the call trace is a little
different this time.

Attached to this message are the following files:

"ymfpci2.patch" which replaces the "YMPFCI" string with "1MFPCI",
"2MFPCI" and so on. This patch should be applied against a pristine,
clean 2.5.69-mm6 kernel tree.

"config" contains the configuration I used to build the kernel. Nearly
everything has been left off: no swapping, no modules, no preemptive, no
ACPI, no APM, no power management, no IDE, no USB, no AGP, no
networking, etc. I made this to keep the number of additional drivers to
a minimum and being able to concentrate on the faulting driver.

"oops" contains the kernel oops when booting 2.5.69-mm6 + ymfpci2.patch
using the above config file.

Hope this can make things easier for you, guys, cause this thing is
getting greater than me.
---


[-- Attachment #2: config --]
[-- Type: text/plain, Size: 8098 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# General setup
#
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14

#
# Loadable module support
#
# CONFIG_MODULES is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
# CONFIG_X86_MCE is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_025GB is not set
# CONFIG_05GB is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_NAMES is not set
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL device support
#
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
# CONFIG_NET is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# ISDN subsystem
#

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#

#
# Non-8250 serial port support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Hardware Sensors Mainboard support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_OSSEMUL is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_YMFPCI=y
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
# CONFIG_USB is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_KALLSYMS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y

[-- Attachment #3: oops --]
[-- Type: text/plain, Size: 1454 bytes --]

Unable to handle kernel paging request at virtual address fceec0d7
 printing eip:
c016954f
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c016954f>]     Not tainted VLI
EFLAGS: 00010246
EIP is at sys_create_link+0xcf/0x130
eax: cffedae0   ebx: ffffffff   ecx: ffffffff   edx: fceec0cf
esi: c01d128d   edi: cff5e470   ebp: c12ebf10   esp: c12ebee4
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 1, threadinfo=c12ea000 task=c12e9880)
Stack: cff5e470 cffedae0 00000021 c01e8600 c13d0000 cffedae0 00000021 fceec0cf
       c01e8630 cff5e44c 00000000 c12ebf28 c0193932 c01e8600 cff5e470 cff5e470
       c01e85e8 c12ebf44 c01939ba cff5e44c c01e85e8 cff5e454 c01e1f80 c01e85e8
Call Trace:
 [<c0193932>] device_bind_driver+0x42/0x50
 [<c01939ba>] bus_match+0x7a/0x80
 [<c0193aad>] driver_attach+0x5d/0x70
 [<c0193d56>] bus_add_driver+0xa6/0xc0
 [<c01941b1>] driver_register+0x31/0x40
 [<c01a74ca>] snd_ctl_register_ioctl+0x1a/0x70
 [<c017be45>] pci_register_driver+0x45/0x60
 [<c0214f45>] alsa_card_ymfpci_init+0x15/0x50
 [<c020679b>] do_initcalls+0x2b/0xa0
 [<c01231b2>] init_workqueues+0x12/0x30
 [<c0105088>] init+0x28/0x150
 [<c0105060>] init+0x0/0x150
 [<c01073dd>] kernel_thread_helper+0x5/0x18

Code: ac aa 84 c0 75 fa 4b 83 c1 03 83 fb ff 75 ed 8b 45 ec 8b 55 e8 8b 7d 0c 89
 44 24 08 89 54 24 04 89 3c 24 e8 d4 fe ff ff 8b 55 f0 <8b> 42 08 8d 48 6c ff 48
 6c 78 68 8b 45 10 89 14 24 89 44 24 04
 <0>Kernel panic: Attempted to kill init!


[-- Attachment #4: ymfpci2.patch --]
[-- Type: text/x-patch, Size: 5686 bytes --]

diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "1MFPCI", device, 32, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_free;
@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI");
+	strcpy(pcm->name, "2MFPCI");
 	chip->pcm = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "3MFPCI - AC'97", device, 0, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm2_free;
@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - AC'97");
+	strcpy(pcm->name, "4MFPCI - AC'97");
 	chip->pcm2 = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "5MFPCI - IEC958", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - IEC958");
+	strcpy(pcm->name, "6MFPCI - IEC958");
 	chip->pcm_spdif = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "7MFPCI - Rear", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - Rear PCM");
+	strcpy(pcm->name, "8MFPCI - Rear PCM");
 	chip->pcm_4ch = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
 {
 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
 	
-	snd_iprintf(buffer, "YMFPCI\n\n");
+	snd_iprintf(buffer, "9MFPCI\n\n");
 }
 
 static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
 	pci_set_master(pci);
 
-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AMFPCI")) == NULL) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
 		return -EBUSY;
 	}
-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BMFPCI", (void *) chip)) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab IRQ %d\n", pci->irq);
 		return -EBUSY;
diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
 			fm_port[dev] = addr;
 		}
 		if (fm_port[dev] >= 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "CMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
 		}
@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
 			mpu_port[dev] = addr;
 		}
 		if (mpu_port[dev] >= 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
 		}
@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: fm_port[dev] = -1; break;
 		}
 		if (fm_port[dev] > 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "EMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: mpu_port[dev] = -1; break;
 		}
 		if (mpu_port[dev] > 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 2
  2003-05-17 11:05                             ` Felipe Alfaro Solana
@ 2003-05-17 11:22                               ` Carl-Daniel Hailfinger
  2003-05-17 12:51                                 ` 2.5.69-mm6: pccard oops while booting: round 3 Felipe Alfaro Solana
  2003-05-17 11:39                               ` 2.5.69-mm6: pccard oops while booting: round 2 Andrew Morton
  1 sibling, 1 reply; 34+ messages in thread
From: Carl-Daniel Hailfinger @ 2003-05-17 11:22 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, rmk, LKML, davej

Felipe Alfaro Solana wrote:
> On Sat, 2003-05-17 at 12:18, Andrew Morton wrote:
> 
>>Bummer.  Vital info is chopped off the top of the oops output.
> 
> I've been working on this a little this morning and these are the new
> conclusions I've drawn:
> 
> 1. Definitively, the oops is being caused by the YMFPCI driver. I have
> built a mini-kernel by squashing the config to a minimum (disabled
> modules, preemptive, removed USB, IDE, AGP, Networking, CardBus, and

Could you please enable modules again and load ymfpci as module? This is
supposed to give the best results with ymfpci2.patch. For ymfpci built
in, the patch unfortunately does not help much.

> nearly everything possible) and the kernel still faults.

Thanks for your patience,
Carl-Daniel


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 2
  2003-05-17 11:05                             ` Felipe Alfaro Solana
  2003-05-17 11:22                               ` Carl-Daniel Hailfinger
@ 2003-05-17 11:39                               ` Andrew Morton
  2003-05-17 12:36                                 ` Felipe Alfaro Solana
  1 sibling, 1 reply; 34+ messages in thread
From: Andrew Morton @ 2003-05-17 11:39 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: c-d.hailfinger.kernel.2003, rmk, linux-kernel, davej

Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
>
> Unable to handle kernel paging request at virtual address fceec0d7
>  printing eip:
> c016954f
> *pde = 00000000
> Oops: 0000 [#1]
> CPU:    0
> EIP:    0060:[<c016954f>]     Not tainted VLI
> EFLAGS: 00010246
> EIP is at sys_create_link+0xcf/0x130

bah.   That's totally different :(

But there seems to be a bug in there.

--- 25/fs/sysfs/symlink.c~sysfs_create_link-fix	2003-05-17 04:34:50.000000000 -0700
+++ 25-akpm/fs/sysfs/symlink.c	2003-05-17 04:34:56.000000000 -0700
@@ -80,7 +80,7 @@ int sysfs_create_link(struct kobject * k
 	char * s;
 
 	depth = object_depth(kobj);
-	size = object_path_length(target) + depth * 3 - 1;
+	size = object_path_length(target) + depth * 3 + 1;
 	if (size > PATH_MAX)
 		return -ENAMETOOLONG;
 	pr_debug("%s: depth = %d, size = %d\n",__FUNCTION__,depth,size);




That probably won't fix it though.


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 2
  2003-05-17 11:39                               ` 2.5.69-mm6: pccard oops while booting: round 2 Andrew Morton
@ 2003-05-17 12:36                                 ` Felipe Alfaro Solana
  0 siblings, 0 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-17 12:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: c-d.hailfinger.kernel.2003, rmk, LKML, davej

On Sat, 2003-05-17 at 13:39, Andrew Morton wrote:
> Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> >
> > Unable to handle kernel paging request at virtual address fceec0d7
> >  printing eip:
> > c016954f
> > *pde = 00000000
> > Oops: 0000 [#1]
> > CPU:    0
> > EIP:    0060:[<c016954f>]     Not tainted VLI
> > EFLAGS: 00010246
> > EIP is at sys_create_link+0xcf/0x130
> 
> bah.   That's totally different :(
> 
> But there seems to be a bug in there.
> 
> --- 25/fs/sysfs/symlink.c~sysfs_create_link-fix	2003-05-17 04:34:50.000000000 -0700
> +++ 25-akpm/fs/sysfs/symlink.c	2003-05-17 04:34:56.000000000 -0700
> @@ -80,7 +80,7 @@ int sysfs_create_link(struct kobject * k
>  	char * s;
>  
>  	depth = object_depth(kobj);
> -	size = object_path_length(target) + depth * 3 - 1;
> +	size = object_path_length(target) + depth * 3 + 1;
>  	if (size > PATH_MAX)
>  		return -ENAMETOOLONG;
>  	pr_debug("%s: depth = %d, size = %d\n",__FUNCTION__,depth,size);
> 
> That probably won't fix it though.

I'm sorry to say the above patch doesn't fix the problem :-(



^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: round 3
  2003-05-17 11:22                               ` Carl-Daniel Hailfinger
@ 2003-05-17 12:51                                 ` Felipe Alfaro Solana
  2003-05-18 19:38                                   ` 2.5.69-mm6: pccard oops while booting: gcc bug? Felipe Alfaro Solana
  0 siblings, 1 reply; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-17 12:51 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger, Andrew Morton; +Cc: rmk, LKML, davej

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

On Sat, 2003-05-17 at 13:22, Carl-Daniel Hailfinger wrote:

> Could you please enable modules again and load ymfpci as module? This is
> supposed to give the best results with ymfpci2.patch. For ymfpci built
> in, the patch unfortunately does not help much.

OK, We're getting closer, I think :-)

Attached to the message are: (a) "dmesg" with the oops caused by
modprobing snd-ymfpci, (b) the new "config" file used to build the
kernel, (c) "ymfpci2.patch" and (d) "sysfs.patch" with Andrew's latest
patch to sysfs_create_link function.

As always, from a pristine 2.5.69-mm6 kernel, apply "ymfpci2.patch",
then "sysfs.patch" and then use the supplied "config" to build. Boot
this test kernel into runlevel 1 and then "modprobe snd-ymfpci" causes
the oops described in the "dmesg" file.

Man, this is hard-chasing. Thank you guys for all your hard work!
Thanks^2!

[-- Attachment #2: config --]
[-- Type: text/plain, Size: 9667 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# General setup
#
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODULE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_KMOD is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
# CONFIG_X86_MCE is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_025GB is not set
# CONFIG_05GB is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_NAMES is not set
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL device support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
# CONFIG_IDEDMA_PCI_AUTO is not set
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDEDMA_IVB is not set
CONFIG_BLK_DEV_IDE_MODES=y

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
# CONFIG_NET is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# ISDN subsystem
#

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#

#
# Non-8250 serial port support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Hardware Sensors Mainboard support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_OSSEMUL is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_YMFPCI=m
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
# CONFIG_USB is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_KALLSYMS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y

[-- Attachment #3: dmesg --]
[-- Type: text/plain, Size: 6025 bytes --]

Linux version 2.5.69-mm6-test (root@glass.felipe-alfaro.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-4)) #11 Sat May 17 14:40:15 CEST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: ro root=/dev/hda3 1
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 697.151 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1376.25 BogoMIPS
Memory: 257504k/262080k available (767k kernel code, 3848k reserved, 246k data, 96k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
Linux NoNET1.0 for Linux 2.6
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
block request queues:
 4/128 requests per read queue
 4/128 requests per write queue
 enter congestion at 15
 exit congestion at 17
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
PCI: IRQ 0 for device 00:0c.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 10 for device 00:0c.0
PCI: IRQ 0 for device 00:0c.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 5 for device 00:0c.1
PCI: Sharing IRQ 5 with 00:09.0
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Enabling SEP on CPU 0
Limiting direct PCI/PCI transfers.
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23BA-20, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITADVD-ROM SR-8185, ATAPI CD/DVD-ROM drive
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/2048KiB Cache, CHS=38760/16/63
 hda: hda1 hda2 hda3 hda4
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.2 (Thu Mar 20 13:31:57 2003 UTC).
ALSA device list:
  No soundcards found.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 96k freed
PCI: Found IRQ 5 for device 00:09.0
PCI: Sharing IRQ 5 with 00:0c.1
Unable to handle kernel paging request at virtual address b46c20d7
 printing eip:
c016b62f
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c016b62f>]    Not tainted VLI
EFLAGS: 00010246
EIP is at sysfs_create_link+0xcf/0x130
eax: cf643f60   ebx: ffffffff   ecx: ffffffff   edx: b46c20cf
esi: c01c99bb   edi: cff5e470   ebp: cf765ef0   esp: cf765ec4
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 150, threadinfo=cf764000 task=cfc8f8c0)
Stack: cff5e470 cf643f60 00000023 d0825d60 cfb73000 cf643f60 00000023 b46c20cf 
       d0825d90 cff5e44c 00000000 cf765f08 c0195cc2 d0825d60 cff5e470 cff5e470 
       d0825d48 cf765f24 c0195d4a cff5e44c d0825d48 cff5e454 c01e25a0 d0825d48 
Call Trace:
 [<d0825d60>] driver+0x40/0xa0 [snd_ymfpci]
 [<d0825d90>] driver+0x70/0xa0 [snd_ymfpci]
 [<c0195cc2>] device_bind_driver+0x42/0x50
 [<d0825d60>] driver+0x40/0xa0 [snd_ymfpci]
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<c0195d4a>] bus_match+0x7a/0x80
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<c0195e3d>] driver_attach+0x5d/0x70
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<c01960e6>] bus_add_driver+0xa6/0xc0
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<d082c080>] +0x0/0xa0 [snd_ymfpci]
 [<c0196541>] driver_register+0x31/0x40
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<c017e145>] pci_register_driver+0x45/0x60
 [<d0825d48>] driver+0x28/0xa0 [snd_ymfpci]
 [<d080c7a8>] alsa_card_ymfpci_init+0x18/0x60 [snd_ymfpci]
 [<d0825d20>] driver+0x0/0xa0 [snd_ymfpci]
 [<c0128d32>] sys_init_module+0x102/0x1b0
 [<d082c080>] +0x0/0xa0 [snd_ymfpci]
 [<c010932d>] sysenter_past_esp+0x52/0x71

Code: ac aa 84 c0 75 fa 4b 83 c1 03 83 fb ff 75 ed 8b 45 ec 8b 55 e8 8b 7d 0c 89 44 24 08 89 54 24 04 89 3c 24 e8 d4 fe ff ff 8b 55 f0 <8b> 42 08 8d 48 6c ff 48 6c 78 68 8b 45 10 89 14 24 89 44 24 04 
 

[-- Attachment #4: sysfs.patch --]
[-- Type: text/plain, Size: 475 bytes --]

--- 25/fs/sysfs/symlink.c~sysfs_create_link-fix	2003-05-17 04:34:50.000000000 -0700
+++ 25-akpm/fs/sysfs/symlink.c	2003-05-17 04:34:56.000000000 -0700
@@ -80,7 +80,7 @@ int sysfs_create_link(struct kobject * k
 	char * s;
 
 	depth = object_depth(kobj);
-	size = object_path_length(target) + depth * 3 - 1;
+	size = object_path_length(target) + depth * 3 + 1;
 	if (size > PATH_MAX)
 		return -ENAMETOOLONG;
 	pr_debug("%s: depth = %d, size = %d\n",__FUNCTION__,depth,size);

[-- Attachment #5: ymfpci2.patch --]
[-- Type: text/x-patch, Size: 5686 bytes --]

diff -puN ./sound/pci/ymfpci/ymfpci_main.c~a ./sound/pci/ymfpci/ymfpci_main.c
--- 25/./sound/pci/ymfpci/ymfpci_main.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci_main.c	2003-05-16 13:27:27.000000000 -0700
@@ -1093,7 +1093,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "1MFPCI", device, 32, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_free;
@@ -1103,7 +1103,7 @@ int __devinit snd_ymfpci_pcm(ymfpci_t *c
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI");
+	strcpy(pcm->name, "2MFPCI");
 	chip->pcm = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1138,7 +1138,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - AC'97", device, 0, 1, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "3MFPCI - AC'97", device, 0, 1, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm2_free;
@@ -1147,7 +1147,7 @@ int __devinit snd_ymfpci_pcm2(ymfpci_t *
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - AC'97");
+	strcpy(pcm->name, "4MFPCI - AC'97");
 	chip->pcm2 = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1182,7 +1182,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "5MFPCI - IEC958", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_spdif_free;
@@ -1191,7 +1191,7 @@ int __devinit snd_ymfpci_pcm_spdif(ymfpc
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - IEC958");
+	strcpy(pcm->name, "6MFPCI - IEC958");
 	chip->pcm_spdif = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1226,7 +1226,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	if (rpcm)
 		*rpcm = NULL;
-	if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0)
+	if ((err = snd_pcm_new(chip->card, "7MFPCI - Rear", device, 1, 0, &pcm)) < 0)
 		return err;
 	pcm->private_data = chip;
 	pcm->private_free = snd_ymfpci_pcm_4ch_free;
@@ -1235,7 +1235,7 @@ int __devinit snd_ymfpci_pcm_4ch(ymfpci_
 
 	/* global setup */
 	pcm->info_flags = 0;
-	strcpy(pcm->name, "YMFPCI - Rear PCM");
+	strcpy(pcm->name, "8MFPCI - Rear PCM");
 	chip->pcm_4ch = pcm;
 
 	snd_pcm_lib_preallocate_pci_pages_for_all(chip->pci, pcm, 64*1024, 256*1024);
@@ -1831,7 +1831,7 @@ static void snd_ymfpci_proc_read(snd_inf
 {
 	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
 	
-	snd_iprintf(buffer, "YMFPCI\n\n");
+	snd_iprintf(buffer, "9MFPCI\n\n");
 }
 
 static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)
@@ -2226,12 +2226,12 @@ int __devinit snd_ymfpci_create(snd_card
 	chip->reg_area_virt = (unsigned long)ioremap_nocache(chip->reg_area_phys, 0x8000);
 	pci_set_master(pci);
 
-	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "YMFPCI")) == NULL) {
+	if ((chip->res_reg_area = request_mem_region(chip->reg_area_phys, 0x8000, "AMFPCI")) == NULL) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab memory region 0x%lx-0x%lx\n", chip->reg_area_phys, chip->reg_area_phys + 0x8000 - 1);
 		return -EBUSY;
 	}
-	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "YMFPCI", (void *) chip)) {
+	if (request_irq(pci->irq, snd_ymfpci_interrupt, SA_INTERRUPT|SA_SHIRQ, "BMFPCI", (void *) chip)) {
 		snd_ymfpci_free(chip);
 		snd_printk("unable to grab IRQ %d\n", pci->irq);
 		return -EBUSY;
diff -puN ./sound/pci/ymfpci/ymfpci.c~a ./sound/pci/ymfpci/ymfpci.c
--- 25/./sound/pci/ymfpci/ymfpci.c~a	2003-05-16 13:26:26.000000000 -0700
+++ 25-akpm/./sound/pci/ymfpci/ymfpci.c	2003-05-16 13:27:49.000000000 -0700
@@ -122,7 +122,7 @@ static int __devinit snd_card_ymfpci_pro
 			fm_port[dev] = addr;
 		}
 		if (fm_port[dev] >= 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "CMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 			pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]);
 		}
@@ -133,7 +133,7 @@ static int __devinit snd_card_ymfpci_pro
 			mpu_port[dev] = addr;
 		}
 		if (mpu_port[dev] >= 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "DMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 			pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]);
 		}
@@ -146,7 +146,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: fm_port[dev] = -1; break;
 		}
 		if (fm_port[dev] > 0 &&
-		    (chip->fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) {
+		    (chip->fm_res = request_region(fm_port[dev], 4, "EMFPCI OPL3")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_FMEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
@@ -160,7 +160,7 @@ static int __devinit snd_card_ymfpci_pro
 		default: mpu_port[dev] = -1; break;
 		}
 		if (mpu_port[dev] > 0 &&
-		    (chip->mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) {
+		    (chip->mpu_res = request_region(mpu_port[dev], 2, "FMFPCI MPU401")) != NULL) {
 			legacy_ctrl |= YMFPCI_LEGACY_MEN;
 		} else {
 			legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: gcc bug?
  2003-05-17 12:51                                 ` 2.5.69-mm6: pccard oops while booting: round 3 Felipe Alfaro Solana
@ 2003-05-18 19:38                                   ` Felipe Alfaro Solana
  2003-05-22 13:24                                     ` [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:) Carl-Daniel Hailfinger
  2003-05-22 14:26                                     ` 2.5.69-mm6: pccard oops while booting: gcc bug? Russell King
  0 siblings, 2 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-18 19:38 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger; +Cc: Andrew Morton, rmk, LKML, davej

I've read the announcement of gcc 3.3 and saw that gcc 3.2 is not yet
supported for linux kernel compilations (I've been using Red Hat's
gcc-3.2.3-4 to compile 2.5.69-mm6). So I thought, what would happen if I
use gcc 2.96 to compile the kernel instead?

And voilà... I've compiled 2.5.69-mm6 with Red Hat's 2.96.118 and now,
I'm unable to reproduce the pccard oops you've been trying to chase
down. Does this mean the pccard oops was caused by a compiler bug?

RFC is welcome.
Thanks!


^ permalink raw reply	[flat|nested] 34+ messages in thread

* [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:)
  2003-05-18 19:38                                   ` 2.5.69-mm6: pccard oops while booting: gcc bug? Felipe Alfaro Solana
@ 2003-05-22 13:24                                     ` Carl-Daniel Hailfinger
  2003-05-22 14:05                                       ` Valdis.Kletnieks
                                                         ` (2 more replies)
  2003-05-22 14:26                                     ` 2.5.69-mm6: pccard oops while booting: gcc bug? Russell King
  1 sibling, 3 replies; 34+ messages in thread
From: Carl-Daniel Hailfinger @ 2003-05-22 13:24 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Andrew Morton, rmk, LKML, davej

Felipe Alfaro Solana wrote:
> I've read the announcement of gcc 3.3 and saw that gcc 3.2 is not yet
> supported for linux kernel compilations (I've been using Red Hat's
> gcc-3.2.3-4 to compile 2.5.69-mm6). So I thought, what would happen if I
> use gcc 2.96 to compile the kernel instead?
> 
> And voilà... I've compiled 2.5.69-mm6 with Red Hat's 2.96.118 and now,
> I'm unable to reproduce the pccard oops you've been trying to chase
> down. Does this mean the pccard oops was caused by a compiler bug?

Nobody has found an error in the code we talked about, so a compiler bug
in gcc 3.2.3 seems to be the only explanation.

Thoughts?


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:)
  2003-05-22 13:24                                     ` [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:) Carl-Daniel Hailfinger
@ 2003-05-22 14:05                                       ` Valdis.Kletnieks
  2003-05-22 18:34                                       ` Felipe Alfaro Solana
  2003-05-22 19:24                                       ` Andrew Morton
  2 siblings, 0 replies; 34+ messages in thread
From: Valdis.Kletnieks @ 2003-05-22 14:05 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger; +Cc: LKML

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

On Thu, 22 May 2003 15:24:06 +0200, Carl-Daniel Hailfinger said:

> Nobody has found an error in the code we talked about, so a compiler bug
> in gcc 3.2.3 seems to be the only explanation.

In the last 20 years, I've come across lots of cases where optimizers did
foolish things that broke code.  I've also come across the odd case or three
where the optimizer merely exposed a bug.  Favorite cases here are where
the optimizer removes what it thinks is a dead/redundant load/store, and
exposes a race condition on a variable that should have been 'volatile' but
wasn't, odd corner cases where sequence points actually matter (one of these was
just posted here the other day, in fact)... stuff like that.

So yes.  It's probably something borked in gcc 3.2.3 - but we probably won't
know for sure till somebody goes over the assembler output with a fine tooth
comb...

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: 2.5.69-mm6: pccard oops while booting: gcc bug?
  2003-05-18 19:38                                   ` 2.5.69-mm6: pccard oops while booting: gcc bug? Felipe Alfaro Solana
  2003-05-22 13:24                                     ` [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:) Carl-Daniel Hailfinger
@ 2003-05-22 14:26                                     ` Russell King
  1 sibling, 0 replies; 34+ messages in thread
From: Russell King @ 2003-05-22 14:26 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Carl-Daniel Hailfinger, Andrew Morton, LKML, davej

On Sun, May 18, 2003 at 09:38:53PM +0200, Felipe Alfaro Solana wrote:
> I've read the announcement of gcc 3.3 and saw that gcc 3.2 is not yet
> supported for linux kernel compilations (I've been using Red Hat's
> gcc-3.2.3-4 to compile 2.5.69-mm6). So I thought, what would happen if I
> use gcc 2.96 to compile the kernel instead?
> 
> And voilà... I've compiled 2.5.69-mm6 with Red Hat's 2.96.118 and now,
> I'm unable to reproduce the pccard oops you've been trying to chase
> down. Does this mean the pccard oops was caused by a compiler bug?

Interesting.  We know GCC 3.2.x produces wrong code on ARM without
the patch in PR8896 (http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=8896)
being applied.  GCC people aren't happy about applying this patch
because it touches the generic reload code, which apparantly is
sacred voodoo.

I'm wondering if this problem isn't only ARM, but affects others as
well.  (The result is that gcc pokes '4' instead of '3' into the ELF
AUX entries as the value of AT_PHDR.)

Obviously, if x86 is affected and this patch fixes the problem, there's
more motivation for the GCC people to include this fix.  Someone needs
to track down what's going wrong, and then gcc people need to comment.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:)
  2003-05-22 13:24                                     ` [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:) Carl-Daniel Hailfinger
  2003-05-22 14:05                                       ` Valdis.Kletnieks
@ 2003-05-22 18:34                                       ` Felipe Alfaro Solana
  2003-05-22 19:24                                       ` Andrew Morton
  2 siblings, 0 replies; 34+ messages in thread
From: Felipe Alfaro Solana @ 2003-05-22 18:34 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger; +Cc: Andrew Morton, rmk, LKML, davej

On Thu, 2003-05-22 at 15:24, Carl-Daniel Hailfinger wrote:
> Felipe Alfaro Solana wrote:
> > I've read the announcement of gcc 3.3 and saw that gcc 3.2 is not yet
> > supported for linux kernel compilations (I've been using Red Hat's
> > gcc-3.2.3-4 to compile 2.5.69-mm6). So I thought, what would happen if I
> > use gcc 2.96 to compile the kernel instead?
> > 
> > And voilà... I've compiled 2.5.69-mm6 with Red Hat's 2.96.118 and now,
> > I'm unable to reproduce the pccard oops you've been trying to chase
> > down. Does this mean the pccard oops was caused by a compiler bug?
> 
> Nobody has found an error in the code we talked about, so a compiler bug
> in gcc 3.2.3 seems to be the only explanation.

I would say it's indeed a bug with gcc 3.2.3. I'm now compiling using
2.96 and the problem has disappeared completely. Maybe I'll give a try
with gcc 3.3 to see how it works.


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:)
  2003-05-22 13:24                                     ` [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:) Carl-Daniel Hailfinger
  2003-05-22 14:05                                       ` Valdis.Kletnieks
  2003-05-22 18:34                                       ` Felipe Alfaro Solana
@ 2003-05-22 19:24                                       ` Andrew Morton
  2 siblings, 0 replies; 34+ messages in thread
From: Andrew Morton @ 2003-05-22 19:24 UTC (permalink / raw)
  To: Carl-Daniel Hailfinger; +Cc: felipe_alfaro, rmk, linux-kernel, davej

Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2003@gmx.net> wrote:
>
> Felipe Alfaro Solana wrote:
> > I've read the announcement of gcc 3.3 and saw that gcc 3.2 is not yet
> > supported for linux kernel compilations (I've been using Red Hat's
> > gcc-3.2.3-4 to compile 2.5.69-mm6). So I thought, what would happen if I
> > use gcc 2.96 to compile the kernel instead?
> > 
> > And voilà... I've compiled 2.5.69-mm6 with Red Hat's 2.96.118 and now,
> > I'm unable to reproduce the pccard oops you've been trying to chase
> > down. Does this mean the pccard oops was caused by a compiler bug?
> 
> Nobody has found an error in the code we talked about, so a compiler bug
> in gcc 3.2.3 seems to be the only explanation.
> 

It could be due to some incorrect code in the kernel, but we got away with
it when using earlier compilers.  We need to work out precisely where and
why it went wrong.


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2003-05-22 19:08 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-15  2:03 2.5.69-mm5: pccard oops while booting: resolved Felipe Alfaro Solana
2003-05-15  2:17 ` Andrew Morton
2003-05-15 11:36   ` Felipe Alfaro Solana
2003-05-15 12:00     ` Russell King
2003-05-15 13:16       ` Felipe Alfaro Solana
2003-05-15 13:44         ` Russell King
2003-05-15 13:47           ` Dave Jones
2003-05-15 22:31           ` Felipe Alfaro Solana
2003-05-15 23:00             ` Andrew Morton
2003-05-16 13:03               ` Felipe Alfaro Solana
2003-05-16 18:13                 ` Ben Collins
2003-05-16 19:03                   ` Felipe Alfaro Solana
2003-05-16 18:34                 ` 2.5.69-mm6: pccard oops while booting Felipe Alfaro Solana
2003-05-16 20:29                   ` Andrew Morton
2003-05-16 21:42                     ` Felipe Alfaro Solana
2003-05-16 22:08                       ` Carl-Daniel Hailfinger
2003-05-16 23:40                         ` Felipe Alfaro Solana
2003-05-16 23:55                           ` Russell King
2003-05-17  0:03                             ` Felipe Alfaro Solana
2003-05-17  0:27                             ` Carl-Daniel Hailfinger
2003-05-17 10:11                         ` 2.5.69-mm6: pccard oops while booting: round 2 Felipe Alfaro Solana
2003-05-17 10:18                           ` Andrew Morton
2003-05-17 11:05                             ` Felipe Alfaro Solana
2003-05-17 11:22                               ` Carl-Daniel Hailfinger
2003-05-17 12:51                                 ` 2.5.69-mm6: pccard oops while booting: round 3 Felipe Alfaro Solana
2003-05-18 19:38                                   ` 2.5.69-mm6: pccard oops while booting: gcc bug? Felipe Alfaro Solana
2003-05-22 13:24                                     ` [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:) Carl-Daniel Hailfinger
2003-05-22 14:05                                       ` Valdis.Kletnieks
2003-05-22 18:34                                       ` Felipe Alfaro Solana
2003-05-22 19:24                                       ` Andrew Morton
2003-05-22 14:26                                     ` 2.5.69-mm6: pccard oops while booting: gcc bug? Russell King
2003-05-17 11:39                               ` 2.5.69-mm6: pccard oops while booting: round 2 Andrew Morton
2003-05-17 12:36                                 ` Felipe Alfaro Solana
2003-05-15 12:13     ` 2.5.69-mm5: pccard oops while booting: resolved Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).