Pierre, Can you capture the complete panic message using serial console or netconsole? or at least use a smaller font on the console so that we can see the entire panic message, as some critical parts of it have scrolled off the top of the screen. ~Randy Begin forwarded message: Date: Sat, 09 Jul 2005 23:48:43 +0200 From: Pierre Ossman <drzeus-list@xxxxxxxxx> To: dc395x@xxxxxxxxxxx Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx> Subject: Kernel panic with dc395x in 2.6.12.2 I upgraded a machine from 2.6.11.7 to 2.6.12.2 today and the only thanks I got was a brand new kernel panic. From the backtrace it seems that the dc395x driver is the culprit. From what I can tell it hasn't undergone any changes between the two versions. Image of kernel panic: http://craffe.se/img_0041.jpg dmesg from 2.6.11.7 included. Rgds Pierre
Linux version 2.6.11.7 (root@xxxxxxxxxxxxxxx) (gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)) #1 SMP Sun Apr 17 02:15:56 CEST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fffc000 (usable) BIOS-e820: 000000003fffc000 - 000000003ffff000 (ACPI data) BIOS-e820: 000000003ffff000 - 0000000040000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 127MB HIGHMEM available. 896MB LOWMEM available. On node 0 totalpages: 262140 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 225280 pages, LIFO batch:16 HighMem zone: 32764 pages, LIFO batch:7 DMI 2.3 present. Using APIC driver default ACPI: RSDP (v000 ASUS ) @ 0x000f5850 ACPI: RSDT (v001 ASUS P4S800 0x42302e31 MSFT 0x31313031) @ 0x3fffc000 ACPI: FADT (v001 ASUS P4S800 0x42302e31 MSFT 0x31313031) @ 0x3fffc0c0 ACPI: BOOT (v001 ASUS P4S800 0x42302e31 MSFT 0x31313031) @ 0x3fffc030 ACPI: MADT (v001 ASUS P4S800 0x42302e31 MSFT 0x31313031) @ 0x3fffc058 ACPI: DSDT (v001 ASUS P4S800 0x00001000 MSFT 0x0100000b) @ 0x00000000 ACPI: PM-Timer IO Port: 0xe408 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:2 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:2 APIC version 20 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000) Built 1 zonelists Kernel command line: ro root=LABEL=/ rhgb quiet acpi=ht Found and enabled local APIC! mapped APIC to ffffd000 (fee00000) Initializing CPU#0 CPU 0 irqstacks, hard=c0449000 soft=c0429000 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 2400.368 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1033508k/1048560k available (2226k kernel code, 14332k reserved, 744k data, 240k init, 131056k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 4751.36 BogoMIPS (lpj=2375680) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (12) available CPU0: Thermal monitoring enabled Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. CPU0: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09 per-CPU timeslice cutoff: 1463.01 usecs. task migration cache decay timeout: 2 msecs. Booting processor 1/1 eip 3000 CPU 1 irqstacks, hard=c044a000 soft=c042a000 Initializing CPU#1 Calibrating delay loop... 4784.12 BogoMIPS (lpj=2392064) CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: Physical Processor ID: 0 CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel P4/Xeon Extended MCE MSRs (12) available CPU1: Thermal monitoring enabled CPU1: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09 Total of 2 processors activated (9535.48 BogoMIPS). checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs CPU0 attaching sched-domain: domain 0: span 00000003 groups: 00000001 00000002 domain 1: span 00000003 groups: 00000003 CPU1 attaching sched-domain: domain 0: span 00000003 groups: 00000002 00000001 domain 1: span 00000003 groups: 00000003 checking if image is initramfs... it is Freeing initrd memory: 393k freed NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xf1100, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20050211 ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Enabling SiS 96x SMBus. PCI: Ignoring BAR0-3 of IDE controller 0000:00:02.5 PCI: Using IRQ router default [1039/0963] at 0000:00:02.0 PCI: IRQ 0 for device 0000:00:02.1 doesn't match PIRQ mask - try pci=usepirqmask Simple Boot Flag at 0x3a set to 0x1 apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac) apm: disabled - APM is not SMP safe. audit: initializing netlink socket (disabled) audit(1120951112.463:0): initialized highmem bounce pool size: 64 pages Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API pci_hotplug: PCI Hot Plug PCI Core version: 0.5 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected SiS 648 chipset agpgart: Maximum main memory to use for agp memory: 941M agpgart: AGP aperture is 32M @ 0xdc000000 [drm] Initialized drm 1.0.0 20040925 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 0000:00:02.5 SIS5513: chipset revision 0 SIS5513: not 100% native mode: will probe irqs later SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... hda: Maxtor 6Y080L0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: CDU5211, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 Probing IDE interface ide2... Probing IDE interface ide3... Probing IDE interface ide4... Probing IDE interface ide5... hda: max request size: 128KiB hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133) hda: cache flushes supported hda: hda1 hda2 < hda5 hda6 hda7 hda8 > hdc: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 ide-floppy driver 0.99.newide usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard on isa0060/serio0 input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 64Kbytes TCP established hash table entries: 262144 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 262144 bind 65536) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 240k freed kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. SELinux: Disabled at runtime. SELinux: Unregistering netfilter hooks SCSI subsystem initialized dc395x: Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.05, 2004/03/08 dc395x: Used settings: AdapterID=07, Speed=0(20.0MHz), dev_mode=0x57 dc395x: AdaptMode=0x0f, Tags=4(16), DelayReset=1s dc395x: Connectors: int50 Termination: Auto Low High dc395x: Performing initial SCSI bus reset scsi0 : Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.05, 2004/03/08 Vendor: GENERIC Model: CRD-RW2 Rev: 1.28 Type: CD-ROM ANSI SCSI revision: 02 dc395x: Target 02: Sync: 48ns Offset 8 (20.8 MB/s) sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html 0000:00:0c.0: 3Com PCI 3c905C Tornado at 0x7400. Vers LK1.1.19 gameport: pci0000:00:0a.1 speed 1104 kHz i2c-sis96x version 1.0.0 sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0xe600 shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001 ehci_hcd 0000:00:03.3: EHCI Host Controller ehci_hcd 0000:00:03.3: irq 9, pci mem 0xd9800000 ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1 PCI: cache line size of 128 is not supported by device 0000:00:03.3 ehci_hcd 0000:00:03.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd 0000:00:03.0: OHCI Host Controller ohci_hcd 0000:00:03.0: irq 7, pci mem 0xda800000 ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected ohci_hcd 0000:00:03.1: OHCI Host Controller ohci_hcd 0000:00:03.1: irq 5, pci mem 0xda000000 ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3 usb 2-2: new low speed USB device using ohci_hcd and address 2 input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:03.0-2 hub 3-0:1.0: USB hub found hub 3-0:1.0: 3 ports detected usb 3-2: new full speed USB device using ohci_hcd and address 2 Initializing USB Mass Storage driver... scsi1 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning NET: Registered protocol family 10 Disabled Privacy Extensions on device c039f040(lo) IPv6 over IPv4 tunneling driver Vendor: Generic Model: STORAGE DEVICE Rev: 0.01 Type: Direct-Access ANSI SCSI revision: 00 usb-storage: device scan complete Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@xxxxxxxxxx eth0: no IPv6 routers present cdrom: open failed. EXT3 FS on hda8, internal journal kjournald starting. Commit interval 5 seconds EXT3 FS on hda6, internal journal EXT3-fs: mounted filesystem with ordered data mode. lp: driver loaded but no devices found SCSI device sda: 256513 512-byte hdwr sectors (131 MB) sda: test WP failed, assume Write Enabled sda: assuming drive cache: write through SCSI device sda: 256513 512-byte hdwr sectors (131 MB) sda: test WP failed, assume Write Enabled sda: assuming drive cache: write through sda: sda1