lkcd
[Top] [All Lists]

Re: LKCD 3.1.3 available ...

To: Michael Walfish <mwalfish@xxxxxxxxxxxxxxxxxxx>
Subject: Re: LKCD 3.1.3 available ...
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Tue, 05 Jun 2001 15:04:37 -0700
Cc: lkcd@xxxxxxxxxxx, Yoel Inbar <yoel@xxxxxxxxxxxxx>
Organization: Alacritech, Inc.
References: <NDBBIAJJGJIJCJJIKLKMKEIFCMAA.mwalfish@xxxxxxxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
Michael Walfish wrote:
> 
> Matt D. Robinson wrote:
> > Let me know if you have any problems.
> 
> Hi Matt,
> 
> We're big fans of lkcd (so far it's been really easy to use and understand).
> Any help you can provide is greatly appreciated.
> 
> I applied the 2.4.2 patch this morning. Here are some observations:
> (dmesg and relevant parts of our .config at the end of this mail)
> 
> 1) no problems when I force a kernel crash inside a user process
> 2) when I force a crash inside an interrupt (for a device driver), I get the
> following, in order:
>    -->standard oops message
>    -->interesting message, below
>    -->another oops for the second CPU
>    -->system reset, presumably driven by the lkcd patch

Hmmm, I haven't seen this.  I can see from schedule() as to what
might be happening, though.  Can you send me the code that you're
running to generate the interrupt crash?

Basically what this means is, removing smp_send_stop() has messed
things up.

I might have something that can fix this, but first I need to know,
is this an SMP or non-SMP system?

... back to the drawing board.  I'll fix this quickly.

--Matt

> Thanks again,
> Mike Walfish
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++
> Dumping to device 0x831 [sd(8,49)] ...
> Writing dump header ...Scheduling in interrupt
> kernel BUG at sched.c:681!
> 
> wait_on_irq, CPU 1:
> irq:  1 [ 1 0 ]
> bh:   1 [ 0 1 ]
> Stack dumps:
> CPU 0: <unknown>
> CPU 1:e7ff7ebc c0204a93 00000001 00000020 00000000 c010a56d c0204aa8
> e7d2d9a0
>        00000003 00000001 c0179e7a 00000000 c0179e44 00000000 c02aac60
> c011ddb5
>        00000000 00000000 00000020 00000000 c02aac60 e7d2db1c c0179df2
> c025c84c
> Call Trace: [<c010a56d>] [<c0179e7a>] [<c0179e44>] [<c011ddb5>] [<c0179df2>]
> [<c
> 011afd1>] [<c011aeb7>]
>        [<c011ad5c>] [<c010a905>] [<c0107170>] [<c0107170>] [<c010900c>]
> [<c01071
> 70>] [<c0107170>] [<c0100018>]
>        [<c010719c>] [<c0107202>] [<c011ad5c>] [<c010a905>]
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++
> 
> ----------------------------------------------------------------------------
> -----
> 
> CONFIG_X86=y
> CONFIG_ISA=y
> CONFIG_UID16=y
> CONFIG_MODULES=y
> CONFIG_KMOD=y
> CONFIG_MPENTIUMIII=y
> CONFIG_X86_WP_WORKS_OK=y
> CONFIG_X86_INVLPG=y
> CONFIG_X86_CMPXCHG=y
> CONFIG_X86_BSWAP=y
> CONFIG_X86_POPAD_OK=y
> CONFIG_X86_TSC=y
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_PGE=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> CONFIG_X86_MSR=y
> CONFIG_X86_CPUID=y
> CONFIG_NOHIGHMEM=y
> CONFIG_MTRR=y
> CONFIG_SMP=y
> CONFIG_HAVE_DEC_LOCK=y
> CONFIG_NET=y
> CONFIG_X86_IO_APIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_PCI=y
> CONFIG_PCI_GOANY=y
> CONFIG_PCI_BIOS=y
> CONFIG_PCI_DIRECT=y
> CONFIG_PCI_NAMES=y
> CONFIG_HOTPLUG=y
> CONFIG_SYSVIPC=y
> CONFIG_SYSCTL=y
> CONFIG_KCORE_ELF=y
> CONFIG_BINFMT_AOUT=y
> CONFIG_BINFMT_ELF=y
> CONFIG_BINFMT_MISC=y
> CONFIG_PM=y
> CONFIG_PNP=y
> CONFIG_ISAPNP=y
> CONFIG_BLK_DEV_FD=y
> CONFIG_BLK_CPQ_DA=y
> CONFIG_BLK_DEV_LOOP=m
> CONFIG_MD=y
> CONFIG_BLK_DEV_MD=y
> CONFIG_MD_RAID0=y
> CONFIG_PACKET=y
> CONFIG_NETFILTER=y
> CONFIG_UNIX=y
> CONFIG_INET=y
> CONFIG_IP_MULTICAST=y
> CONFIG_IP_NF_CONNTRACK=m
> CONFIG_IP_NF_FTP=m
> CONFIG_IP_NF_IPTABLES=m
> CONFIG_IP_NF_MATCH_LIMIT=m
> CONFIG_IP_NF_MATCH_MAC=m
> CONFIG_IP_NF_MATCH_MARK=m
> CONFIG_IP_NF_MATCH_MULTIPORT=m
> CONFIG_IP_NF_MATCH_TOS=m
> CONFIG_IP_NF_MATCH_STATE=m
> CONFIG_IP_NF_FILTER=m
> CONFIG_IP_NF_TARGET_REJECT=m
> CONFIG_IP_NF_NAT=m
> CONFIG_IP_NF_NAT_NEEDED=y
> CONFIG_IP_NF_TARGET_MASQUERADE=m
> CONFIG_IP_NF_TARGET_REDIRECT=m
> CONFIG_IP_NF_NAT_FTP=m
> CONFIG_IP_NF_MANGLE=m
> CONFIG_IP_NF_TARGET_TOS=m
> CONFIG_IP_NF_TARGET_MARK=m
> CONFIG_IP_NF_TARGET_LOG=m
> CONFIG_IP_NF_COMPAT_IPCHAINS=m
> CONFIG_IP_NF_NAT_NEEDED=y
> CONFIG_IDE=y
> CONFIG_BLK_DEV_IDE=y
> CONFIG_BLK_DEV_IDEDISK=y
> CONFIG_BLK_DEV_IDECD=y
> CONFIG_BLK_DEV_CMD640=y
> CONFIG_BLK_DEV_RZ1000=y
> CONFIG_BLK_DEV_IDEPCI=y
> CONFIG_IDEPCI_SHARE_IRQ=y
> CONFIG_BLK_DEV_IDE_MODES=y
> CONFIG_SCSI=y
> CONFIG_BLK_DEV_SD=y
> CONFIG_SCSI_DEBUG_QUEUES=y
> CONFIG_SCSI_MULTI_LUN=y
> CONFIG_SCSI_CONSTANTS=y
> CONFIG_SCSI_AIC7XXX=y
> CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT=y
> CONFIG_SCSI_SYM53C8XX=y
> CONFIG_NETDEVICES=y
> CONFIG_DUMMY=m
> CONFIG_NET_ETHERNET=y
> CONFIG_NET_PCI=y
> CONFIG_EEPRO100=m
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> CONFIG_SERIAL=y
> CONFIG_SERIAL_CONSOLE=y
> CONFIG_UNIX98_PTYS=y
> CONFIG_MOUSE=y
> CONFIG_PSMOUSE=y
> CONFIG_AUTOFS_FS=m
> CONFIG_AUTOFS4_FS=m
> CONFIG_FAT_FS=m
> CONFIG_MSDOS_FS=m
> CONFIG_VFAT_FS=m
> CONFIG_ISO9660_FS=m
> CONFIG_JOLIET=y
> CONFIG_NTFS_FS=m
> CONFIG_PROC_FS=y
> CONFIG_DEVPTS_FS=y
> CONFIG_EXT2_FS=y
> CONFIG_NFS_FS=m
> CONFIG_NFS_V3=y
> CONFIG_NFSD=m
> CONFIG_NFSD_V3=y
> CONFIG_SUNRPC=m
> CONFIG_LOCKD=m
> CONFIG_LOCKD_V4=y
> CONFIG_SMB_FS=m
> CONFIG_MSDOS_PARTITION=y
> CONFIG_SMB_NLS=y
> CONFIG_NLS=y
> CONFIG_NLS_CODEPAGE_437=m
> CONFIG_NLS_ISO8859_1=m
> CONFIG_VGA_CONSOLE=y
> CONFIG_VMDUMP=y
> 
> ----------------------------------------------------------------------------
> -----
> 
> PCI: Probing PCI hardware
> PCI: Discovered peer bus 03
> PCI: Device 00:00 not found by BIOS
> PCI: Device 00:01 not found by BIOS
> PCI: Device 00:78 not found by BIOS
> isapnp: Scanning for Pnp cards...
> isapnp: No Plug & Play device found
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Starting kswapd v1.8
> pty: 256 Unix98 ptys configured
> block: queued sectors max/low 426005kB/294933kB, 1280 slots per queue
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ServerWorks OSB4: IDE controller on PCI bus 00 dev 79
> ServerWorks OSB4: chipset revision 0
> ServerWorks OSB4: not 100% native mode: will probe irqs later
> hda: Compaq CRN-8241B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: ATAPI 24X CD-ROM drive, 128kB Cache
> Uniform CD-ROM driver Revision: 3.12
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a National Semiconductor PC87306
> Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ
> SERIAL_PCI ISAPNP enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> SCSI subsystem driver Revision: 1.00
> sym53c8xx: at PCI bus 0, device 1, function 0
> sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
> sym53c8xx: 53c1510D detected
> sym53c8xx: at PCI bus 0, device 1, function 1
> sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
> sym53c8xx: 53c1510D detected
> sym53c1510D-0: rev 0x2 on pci bus 0 device 1 function 0 irq 11
> sym53c1510D-0: ID 7, Fast-40, Parity Checking
> sym53c1510D-0: on-chip RAM at 0xc3efe000
> sym53c1510D-0: restart (scsi reset).
> sym53c1510D-0: Downloading SCSI SCRIPTS.
> sym53c1510D-1: rev 0x2 on pci bus 0 device 1 function 1 irq 11
> sym53c1510D-1: ID 7, Fast-40, Parity Checking
> sym53c1510D-1: on-chip RAM at 0xc3efc000
> sym53c1510D-1: restart (scsi reset).
> sym53c1510D-1: Downloading SCSI SCRIPTS.
> scsi0 : sym53c8xx - version 1.6b
> scsi1 : sym53c8xx - version 1.6b
>     Vendor: COMPAQ    Model: BD0186398C        Rev: BC1P
>     Type:   Direct-Access                      ANSI SCSI revision: 02
>     Vendor: COMPAQ    Model: BD0186398C        Rev: BC1P
>     Type:   Direct-Access                      ANSI SCSI revision: 02
>     Vendor: COMPAQ    Model: BD0186398C        Rev: BC1P
>     Type:   Direct-Access                      ANSI SCSI revision: 02
>     Vendor: COMPAQ    Model: BD0186398C        Rev: BC1P
>     Type:   Direct-Access                      ANSI SCSI revision: 02
> sym53c1510D-1-<0,0>: tagged command queue depth set to 32
> sym53c1510D-1-<1,0>: tagged command queue depth set to 32
> sym53c1510D-1-<2,0>: tagged command queue depth set to 32
> sym53c1510D-1-<3,0>: tagged command queue depth set to 32
> Detected scsi disk sda at scsi1, channel 0, id 0, lun 0
> Detected scsi disk sdb at scsi1, channel 0, id 1, lun 0
> Detected scsi disk sdc at scsi1, channel 0, id 2, lun 0
> Detected scsi disk sdd at scsi1, channel 0, id 3, lun 0
> sym53c1510D-1-<0,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<0,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<0,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<0,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<0,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<0,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<0,0>: sync msgout: 1-3-1-a-1f.
> sym53c1510D-1-<0,0>: sync msg in: 1-3-1-a-1f.
> sym53c1510D-1-<0,0>: sync: per=10 scntl3=0x90 scntl4=0x0 ofs=31 fak=0 chg=0.
> sym53c1510D-1-<0,*>: FAST-40 WIDE SCSI 80.0 MB/s (25 ns, offset 31)
> SCSI device sda: 35565080 512-byte hdwr sectors (18209 MB)
> Partition check:
>    sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
> sym53c1510D-1-<1,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<1,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<1,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<1,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<1,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<1,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<1,0>: sync msgout: 1-3-1-a-1f.
> sym53c1510D-1-<1,0>: sync msg in: 1-3-1-a-1f.
> sym53c1510D-1-<1,0>: sync: per=10 scntl3=0x90 scntl4=0x0 ofs=31 fak=0 chg=0.
> sym53c1510D-1-<1,*>: FAST-40 WIDE SCSI 80.0 MB/s (25 ns, offset 31)
> SCSI device sdb: 35565080 512-byte hdwr sectors (18209 MB)
>    sdb: sdb1
> sym53c1510D-1-<2,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<2,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<2,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<2,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<2,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<2,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<2,0>: sync msgout: 1-3-1-a-1f.
> sym53c1510D-1-<2,0>: sync msg in: 1-3-1-a-1f.
> sym53c1510D-1-<2,0>: sync: per=10 scntl3=0x90 scntl4=0x0 ofs=31 fak=0 chg=0.
> sym53c1510D-1-<2,*>: FAST-40 WIDE SCSI 80.0 MB/s (25 ns, offset 31)
> SCSI device sdc: 35565080 512-byte hdwr sectors (18209 MB)
>    sdc: sdc1
> sym53c1510D-1-<3,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<3,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<3,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<3,0>: wide msgout: 1-2-3-1.
> sym53c1510D-1-<3,0>: wide msgin: 1-2-3-1.
> sym53c1510D-1-<3,0>: wide: wide=1 chg=0.
> sym53c1510D-1-<3,0>: sync msgout: 1-3-1-a-1f.
> sym53c1510D-1-<3,0>: sync msg in: 1-3-1-a-1f.
> sym53c1510D-1-<3,0>: sync: per=10 scntl3=0x90 scntl4=0x0 ofs=31 fak=0 chg=0.
> sym53c1510D-1-<3,*>: FAST-40 WIDE SCSI 80.0 MB/s (25 ns, offset 31)
> SCSI device sdd: 35565080 512-byte hdwr sectors (18209 MB)
>    sdd: sdd1
> raid0 personality registered
> md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md.c: sizeof(mdp_super_t) = 4096
> autodetecting RAID arrays
> (read) sdb1's sb offset: 17781632 [events: 00000001]
> (read) sdc1's sb offset: 17781632 [events: 00000001]
> autorun ...
> considering sdc1 ...
>     adding sdc1 ...
>     adding sdb1 ...
> created md0
> bind<sdb1,1>
> bind<sdc1,2>
> running: <sdc1><sdb1>
> now!
> sdc1's event counter: 00000001
> sdb1's event counter: 00000001
> md0: max total readahead window set to 4096k
> md0: 2 data-disks, max readahead per data-disk: 2048k
> raid0: looking at sdb1
> raid0:   comparing sdb1(17781248) with sdb1(17781248)
> raid0:   END
> raid0:   ==> UNIQUE
> raid0: 1 zones
> raid0: looking at sdc1
> raid0:   comparing sdc1(17781248) with sdb1(17781248)
> raid0:   EQUAL
> raid0: FINAL 1 zones
> zone 0
>    checking sdb1 ... contained as device 0
>     (17781248) is smallest!.
>    checking sdc1 ... contained as device 1
>    zone->nb_dev: 2, size: 35562496
> current zone offset: 17781248
> done.
> raid0 : md_size is 35562496 blocks.
> raid0 : conf->smallest->size is 35562496 blocks.
> raid0 : nb_zone is 1.
> raid0 : Allocating 8 bytes for hash.
> md: updating md0 RAID superblock on device
> sdc1 [events: 00000002](write) sdc1's sb offset: 17781632
> sdb1 [events: 00000002](write) sdb1's sb offset: 17781632
> .
> ... autorun DONE.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 8192 buckets, 64Kbytes
> TCP: Hash tables configured (established 65536 bind 65536)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 232k freed
> Adding Swap: 2097136k swap-space (priority -1)
> eepro100.c:v1.09j-t 9/29/99 Donald Becker
> http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
> eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
> <saw@xxxxxxxxxxxxx> and others
> eth0: OEM i82557/i82558 10/100 Ethernet, 00:02:A5:34:96:CF, IRQ 15.
>     Board assembly 010101-034, Physical connectors present: RJ45
>     Primary interface chip i82555 PHY #1.
>     General self-test: passed.
>     Serial sub-system self-test: passed.
>     Internal registers self-test: passed.
>     ROM checksum self-test: passed (0x04f4518b).
> vmdump: dump device opened: 0x831

<Prev in Thread] Current Thread [Next in Thread>