Messages in this thread | | | Date | Sun, 22 Feb 1998 10:27:03 -0500 (EST) | From | Westley Weimer <> | Subject | 2.1.87 and 86: init and tasks half-freeze? |
| |
This is a uniprocesser 586-100 with a SuperMico P5MMS m/b and recently replaced (and working perfectly) memory.
Kernel 2.1.84 (and many previous development kernels) worked fine with the same configuration. I skipped 2.1.85. Now both 2.1.86 and 2.1.87 behave very strangely for me:
The kernel starts up fine, finds my sound blaster, printer, BusLogic controller, Vortex ethernet card, etc. Then there is a message about init 2.70 starting, and my /etc/init.d/boot script starts. It prints out "loading the default keymap from /etc/kbd/..." as normal and then stops. Shift-PageUp still scrolls the screen. Typing keys prints out their characters on the line, mostly (ie, a is 'a', backspace is ~^[H or whatever).
However, if I press ^C or SysRq it will kick into action and try to do the next task (adding swap). Within a second or two it stops again. Sometimes it will have succeeded in adding the swap, sometimes not. If I press ^C or SysRq again it will will try to fsck the disks. Sometimes it gets through that process, sometimes it stops in the middle. If I press ^C or SysRq it reports fsck failure and moves on. At the sulogin prompt it correctly recognizes the root password, prints out "hostname lookup failure" as expected but never presents a bash prompt. Now ^C and SysRq do nothing, but Shift-PgUp still works.
Interesting note: none of the SysRq keys (sysrq-r, -k, -p, -t) do anything visible. But just pressing SysRq by itself seems to kill (or otherwise fail) the current task and have it move on to the next one.
Did I miss a required init upgrade? The only applicable differences (to my untrained eye :-)) between the kernels that work and the new ones that do not seem to are the new BusLogic driver and the IO-APIC code. Disk accesses (when they are done) actually seem to work, so I'm loathe to doubt the BusLogic driver. I've made equivalent kernels with SMP=1 just to check. They print out interrupt mapping debugging messages (everything goes to 0, if I recall) but the behavior is exactly the same (strange stalls in the same place).
I'm using "gcc version pgcc-2.91.08 980214 (gcc-2.8.0 release)" (the results are the same with the previous pgcc snapshot). It (and its previous incarnations) have compiled all of my previous kernels flawlessly: is there something in the two newest kernels that pgcc is known to choke on strangely?
Nothing ever appears in the logs when I try to boot these kernels so I have nothing concrete to show you. Attached are the .config that works fine for 2.1.84 but not for 2.1.86/7, and also a syslog of an older kernel (2.1.80) booting correctly with the same init scripts.
Any ideas? Thanks!
-Wes Weimer wrw3@cornell.edu CONFIG_EXPERIMENTAL=y CONFIG_M586=y CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KERNELD=y CONFIG_NET=y CONFIG_PCI=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y # CONFIG_PCI_OPTIMIZE is not set (setting this changes nothing) CONFIG_PCI_OLD_PROC=y CONFIG_SYSVIPC=y CONFIG_SYSCTL=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PNP=y CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_MD=y CONFIG_MD_STRIPED=y CONFIG_PARIDE_PARPORT=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SCSI_BUSLOGIC=y CONFIG_SCSI_OMIT_FLASHPOINT=y CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_NET_ETHERNET=y CONFIG_NET_VENDOR_3COM=y CONFIG_VORTEX=y CONFIG_CDROM=m CONFIG_EXT2_FS=y CONFIG_ISO9660_FS=m CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_PROC_FS=y CONFIG_NFS_FS=y CONFIG_SUNRPC=y CONFIG_LOCKD=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=m CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y CONFIG_MOUSE=y CONFIG_PSMOUSE=y CONFIG_82C710_MOUSE=y CONFIG_SOUND=y CONFIG_SB=y CONFIG_SB_BASE=220 CONFIG_SB_IRQ=7 CONFIG_SB_DMA=1 CONFIG_SB_DMA2=5 CONFIG_SB_MPU_BASE=330 CONFIG_SB_MPU_IRQ=-1 CONFIG_MAGIC_SYSRQ=y CONFIG_VGA_CONSOLE=y Feb 22 09:55:13 wrw3 syslogd 1.3-0#15: restart. Feb 22 09:55:23 wrw3 kernel: klogd 1.3-0#15, log source = /proc/kmsg started. Feb 22 09:55:23 wrw3 kernel: Cannot find map file. Feb 22 09:55:23 wrw3 kernel: Linux version 2.1.80 (root@wrw3) (gcc version pgcc-2.90.23 980102 (egcs-1.0.1 release)) #11 Mon Jan 19 21:17:23 EST 1998 Feb 22 09:55:23 wrw3 kernel: Console: 16 point font, 400 scans Feb 22 09:55:23 wrw3 kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63) Feb 22 09:55:23 wrw3 kernel: PCI: BIOS32 Service Directory structure at 0xc00fdb70 Feb 22 09:55:23 wrw3 kernel: PCI: BIOS32 Service Directory entry at 0xfdb80 Feb 22 09:55:23 wrw3 kernel: PCI: PCI BIOS revision 2.10 entry at 0xfdba1 Feb 22 09:55:23 wrw3 kernel: Probing PCI hardware. Feb 22 09:55:23 wrw3 kernel: Calibrating delay loop... 39.94 BogoMIPS Feb 22 09:55:23 wrw3 kernel: Memory: 30916k/32768k available (836k kernel code, 392k reserved, 596k data, 28k init) Feb 22 09:55:23 wrw3 kernel: Swansea University Computer Society NET3.039 for Linux 2.1 Feb 22 09:55:23 wrw3 kernel: NET3: Unix domain sockets 0.16 for Linux NET3.038. Feb 22 09:55:23 wrw3 kernel: Swansea University Computer Society TCP/IP for NET3.037 Feb 22 09:55:23 wrw3 kernel: IP Protocols: ICMP, UDP, TCP Feb 22 09:55:23 wrw3 kernel: CPU: Intel Pentium 75+ stepping 04 Feb 22 09:55:23 wrw3 kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting. Feb 22 09:55:23 wrw3 kernel: Checking 'hlt' instruction... Ok. Feb 22 09:55:23 wrw3 kernel: Intel Pentium with F0 0F bug - workaround enabled. Feb 22 09:55:23 wrw3 kernel: POSIX conformance testing by UNIFIX Feb 22 09:55:23 wrw3 kernel: Starting kswapd v 1.23 Feb 22 09:55:23 wrw3 kernel: parport0: PC-style at 0x378, irq 5 [SPP,ECPEPP,ECPPS2] Feb 22 09:55:23 wrw3 kernel: Serial driver version 4.24 with no serial options enabled Feb 22 09:55:23 wrw3 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Feb 22 09:55:23 wrw3 kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Feb 22 09:55:23 wrw3 kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A Feb 22 09:55:23 wrw3 kernel: lp0: using parport0 (interrupt-driven). Feb 22 09:55:23 wrw3 kernel: Sound initialization started Feb 22 09:55:23 wrw3 kernel: <Sound Blaster 16 (4.13)> at 0x220 irq 7 dma 1,5 Feb 22 09:55:23 wrw3 kernel: Sound initialization complete Feb 22 09:55:23 wrw3 kernel: PIIX4: IDE controller on PCI bus 0 function 57 Feb 22 09:55:23 wrw3 kernel: PIIX4: not 100ative mode: will probe irqs later Feb 22 09:55:23 wrw3 kernel: ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio Feb 22 09:55:23 wrw3 kernel: ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio Feb 22 09:55:23 wrw3 kernel: hda: WDC AC31600H, ATA DISK drive Feb 22 09:55:23 wrw3 kernel: hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive Feb 22 09:55:23 wrw3 kernel: ide2: ports already in use, skipping probe Feb 22 09:55:23 wrw3 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Feb 22 09:55:23 wrw3 kernel: ide1 at 0x170-0x177,0x376 on irq 15 Feb 22 09:55:23 wrw3 kernel: hda: WDC AC31600H, 1549MB w/128kB Cache, CHS=787/64/63, DMA Feb 22 09:55:23 wrw3 kernel: md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8 Feb 22 09:55:23 wrw3 kernel: md: starting 4 kernel threads Feb 22 09:55:23 wrw3 kernel: raid0 personality registered Feb 22 09:55:23 wrw3 kernel: scsi: ***** BusLogic SCSI Driver Version 2.0.10 of 11 August 1997 ***** Feb 22 09:55:23 wrw3 kernel: scsi: Copyright 1995 by Leonard N. Zubkoff <lnz@dandelion.com> Feb 22 09:55:23 wrw3 kernel: scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter Feb 22 09:55:23 wrw3 kernel: scsi0: Firmware Version: 5.06J, I/O Address: 0xEFF4, IRQ Channel: 10/Level Feb 22 09:55:23 wrw3 kernel: scsi0: PCI Bus: 0, Device: 19, Address: 0xFFAFF000, Host Adapter SCSI ID: 7 Feb 22 09:55:23 wrw3 kernel: scsi0: Parity Checking: Enabled, Extended Translation: Enabled Feb 22 09:55:23 wrw3 kernel: scsi0: Synchronous Negotiation: SNNNNNS#NNNNNNNS, Wide Negotiation: NNNNNNN#NNNNNNNY Feb 22 09:55:23 wrw3 kernel: scsi0: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled Feb 22 09:55:23 wrw3 kernel: scsi0: Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 255 Feb 22 09:55:23 wrw3 kernel: scsi0: Driver Queue Depth: 255, Host Adapter Queue Depth: 192 Feb 22 09:55:23 wrw3 kernel: scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3 Feb 22 09:55:23 wrw3 kernel: scsi0: Error Recovery Strategy: Default, SCSI Bus Reset: Enabled Feb 22 09:55:23 wrw3 kernel: scsi0: SCSI Bus Termination: High Enabled, SCAM: Enabled, Level 1 Feb 22 09:55:23 wrw3 kernel: scsi0: *** BusLogic BT-958 Initialized Successfully *** Feb 22 09:55:23 wrw3 kernel: scsi0: Target 0: Synchronous at 20.0 mega-transfers/second, offset 15 Feb 22 09:55:23 wrw3 kernel: scsi0: Target 6: Synchronous at 20.0 mega-transfers/second, offset 15 Feb 22 09:55:23 wrw3 kernel: scsi0: Target 15: Synchronous at 20.0 mega-transfers/second, offset 15 Feb 22 09:55:23 wrw3 kernel: scsi0 : BusLogic BT-958 Feb 22 09:55:23 wrw3 kernel: scsi : 1 host. Feb 22 09:55:23 wrw3 kernel: Vendor: SEAGATE Model: ST32171N Rev: 0280 Feb 22 09:55:23 wrw3 kernel: Type: Direct-Access ANSI SCSI revision: 02 Feb 22 09:55:23 wrw3 kernel: Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 Feb 22 09:55:23 wrw3 kernel: Vendor: SEAGATE Model: ST32155N Rev: 0532 Feb 22 09:55:23 wrw3 kernel: Type: Direct-Access ANSI SCSI revision: 02 Feb 22 09:55:23 wrw3 kernel: Detected scsi disk sda at scsi0, channel 0, id 6, lun 0 Feb 22 09:55:23 wrw3 kernel: Vendor: SEAGATE Model: ST32171W Rev: 0338 Feb 22 09:55:23 wrw3 kernel: Type: Direct-Access ANSI SCSI revision: 02 Feb 22 09:55:23 wrw3 kernel: Detected scsi disk sda at scsi0, channel 0, id 15, lun 0 Feb 22 09:55:23 wrw3 kernel: scsi : detected 3 SCSI disks total. Feb 22 09:55:23 wrw3 kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 4222640 [2061 MB] [2.1 GB] Feb 22 09:55:23 wrw3 kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 4197405 [2049 MB] [2.0 GB] Feb 22 09:55:23 wrw3 kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 4222640 [2061 MB] [2.1 GB] Feb 22 09:55:23 wrw3 kernel: eth0: 3Com 3c590 Vortex 10Mbps at 0xef80, 00:a0:24:56:5f:18, IRQ 9 Feb 22 09:55:23 wrw3 kernel: 32K byte-wide RAM 1:1 Rx:Tx split, autoselect/10baseT interface. Feb 22 09:55:23 wrw3 kernel: eth0: Overriding PCI latency timer (CFLT) setting of 64, new value is 248. Feb 22 09:55:23 wrw3 kernel: 3c59x.c:v0.47H 12/4/97 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html Feb 22 09:55:23 wrw3 kernel: Partition check: Feb 22 09:55:23 wrw3 kernel: sda: sda1 sda2 Feb 22 09:55:23 wrw3 kernel: sdb: sdb1 Feb 22 09:55:23 wrw3 kernel: sdc: sdc1 sdc2 Feb 22 09:55:23 wrw3 kernel: hda: hda1 hda2 hda3 Feb 22 09:55:23 wrw3 kernel: VFS: Mounted root (ext2 filesystem) readonly. Feb 22 09:55:23 wrw3 kernel: Freeing unused kernel memory: 28k freed Feb 22 09:55:23 wrw3 kernel: scsi0: Tagged Queuing now active for Target 15 (bad things start happening somewhere around here in 2.1.87/8) Feb 22 09:55:23 wrw3 kernel: Adding Swap: 60228k swap-space (priority 1) Feb 22 09:55:23 wrw3 kernel: Adding Swap: 48188k swap-space (priority 1) Feb 22 09:55:23 wrw3 kernel: REGISTER_DEV sda1 to md0 done Feb 22 09:55:23 wrw3 kernel: REGISTER_DEV sdb1 to md0 done Feb 22 09:55:23 wrw3 kernel: raid0 : Allocating 832 bytes for hash. Feb 22 09:55:23 wrw3 kernel: scsi0: Tagged Queuing now active for Target 0 Feb 22 09:55:24 wrw3 syslogd 1.3-0#15: restart. Feb 22 09:55:59 wrw3 kernel: scsi0: Tagged Queuing now active for Target 6
| |