From owner-freebsd-ia64 Tue Dec 10 8:39:52 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23D4E37B401 for ; Tue, 10 Dec 2002 08:39:44 -0800 (PST) Received: from rm8.plala.or.jp (rm8.plala.or.jp [210.153.0.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE1243EA9 for ; Tue, 10 Dec 2002 08:39:42 -0800 (PST) (envelope-from yokase@lapis.mail.plala.or.jp) Received: from mpw1.tky.plala.or.jp (mpw1.tky.plala.or.jp [210.153.0.44]) by rm8.plala.or.jp (mst000105) with ESMTP id gBAGde314088; Wed, 11 Dec 2002 01:39:40 +0900 (JST) Received: by mpw1.tky.plala.or.jp (3.7W/tky-slv000531) with SMTP id BAA05513; Wed, 11 Dec 2002 01:39:40 +0900 (JST) From: yokase@lapis.plala.or.jp Subject: Re: Console log (Re: 5.0-DP2 panics on i2000) To: marcel@xcllnt.net Cc: freebsd-ia64@FreeBSD.ORG, yokase@lapis.plala.or.jp Date: Wed, 11 Dec 2002 01:39:03 +0900 Message-Id: <20021211013905475.yokase@lapis.mail.plala.or.jp> X-Sender: yokase@lapis.mail.plala.or.jp X-Mailer: Hitachi-MS GraceMail Version 2.0 Rev.3 X-Browser: MSIE 6.0 Windows NT 5.1 MSIE 6.0 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thank you for replying so quickly. From: Marcel Moolenaar Subject: Re: Console log (Re: 5.0-DP2 panics on i2000) Date: Mon, 9 Dec 2002 13:12:49 -0800 Message-ID: <20021209131249.C43839@kayak.xcllnt.net> > On Mon, Dec 09, 2002 at 11:49:21PM +0900, yokase@lapis.plala.or.jp wrote: > > > > Attachment to this mail > > is the records of console(redirection). > > Please check this. > > On the one hand the log is promising. The machine appears to be the same > as the prototypes we have been using. The bad thing about the log is that > it tells us that the trap happens way too early. Even before we can see > what the chipset is or if the box is a multi-processor machine. Then again, > it does rule out a lot and the most likely cause seems to be ACPI. > See below... > > > Entering /kernel at 0xe000000000512000... > > Copyright (c) 1992-2002 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD 5.0-DP2 #0: Wed Nov 20 00:39:41 GMT 2002 > > root@itanium.pn.xcllnt.net:/usr/obj/usr/src/sys/BOOTMFS > > Preloaded elf kernel "/kernel" at 0xe000000001464000. > > Preloaded mfs_root "/mfsroot" at 0xe0000000014640b0. > > CPU: Itanium (733.47-Mhz) > > Origin = "GenuineIntel" Model = 0 Revision = 6 > > Features = 0x0 > > real memory = 1056210944 (1007 MB) > > avail memory = 1010417664 (963 MB) > > FPSWA Revision = 0x10006, Entry = 0xe00000003f13a050 > > > > fatal kernel trap (cpu 0): > > > > trap vector = 0x4 (Alternate Data TLB) > > cr.iip = 0xe00000003fef00f0 > > cr.ipsr = 0x101008022010 (mfl,ic,dt,rt,cpl=0,it,ri=0,bn) > > cr.isr = 0x400000000 (code=0,vector=0,r,ei=0) > > cr.ifa = 0x0 > > cr.iim = 0x6 > > curthread = 0xe000000000bb7b68 > > pid = 0, comm = > > My guess is that ACPI is the problem. Normally after FPSWA we get > something like: > > Table 'FACP' at 0xe00000007ffd8070 > Table 'APIC' at 0xe00000007ffda000 > Local APIC entry > : > > It looks to me that we're expecting that certain pointers are valid > and end up dereferencing NULL pointers. > > There are a couple of things we can try (if you like, of course :-) > > 1. Download 5.0-RC1. We released it this weekend and it should gradually > appear on FreeBSD mirrors. It would be good to know if the problem > still exists in RC1 so that we can try to fix it before we official > release 5.0 (scheduled Januari 10). If I remember correctly, we have > a new ACPI code drop that may fix this... I am sorry. I did not know that 5.0-RC1 had released. So, I plan to try into several and to send it's result. > 2. Boot Red Hat or Windows XP and try to get as detailed a dump of > ACPI as possible. I'm not sure either Red Hat or Windows has any > tools to dump the ACPI tables, but it would definitely help. Red Hat that I installed is version 7.1 . In that, there is not exist /proc/sys/acpi. Some web pages show how to dump the ACPI tables, but it uses /proc/sys/acpi/XXX. The dmesg of Red Hat 7.1 is following, Does it become helpful? == begin of dmesg == Linux version 2.4.3-12smp (root@boris.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)) #1 SMP Fri Jun 8 13:06:07 EDT 2001 EFI v1.02 by INTEL: SALsystab=0x3ff23630 ACPI=0x3ffd9f80 ACPI 2.0=0xe2000 MPS=0x3ffd0000 SMBIOS=0xf0020 CPU 0: mapping PAL code [0x3ff40000-0x3ff7b000) into [0xe00000003c000000-0xe000000040000000) warning: skipping physical page 0 Initial ramdisk at: 0xe00000003efd3000 (696320 bytes) SAL v3.00: oem=INTEL MSL REF SAL , product= sal[0] - entry: pal_proc=0x3ff48010, sal_proc=0x3fe45c90 SAL: Platform features BusLock IRQ_Redirection CPU 0: 51 virtual and 44 physical address bits ACPI 2.0 Root System Description Ptr at 0xe0000000000e2000 ACPI 2.0 XSDT at 0xe00000003ffd8030 (p=0x3ffd8030) ACPI 2.0: Intel W460GXBS 0.1 Acpi cfg:bind to Boot time Acpi OSD ACPI: install SCI 9 handler pass :table FACP found :table APIC found Lapic address set to 0xc0000000fee00000 ACPI 2.0 MADT: LOCAL APIC entry ACPI 2.0 MADT: LOCAL APIC entry ACPI 2.0 MADT: IO APIC entry ACPI 2.0 MADT: LOCAL SAPIC CPU 0000:0000: available (BSP). ACPI 2.0 MADT: LOCAL SAPIC CPU 0000:0001: disabled. Acpi Cfg: get PRT pass IOSAPIC: version 2.1, address 0xfec00000, IRQs 0x00-0x3f ACPI 2.0 MADT: INT SOURCE Override 1 CPUs available, 2 CPUs total Acpi cfg:bind to Run time Acpi OSD ia64_mca_init : begin ia64_mca_init : registered mca rendezvous spinloop and wakeup mech. ia64_mca_init : correctable mca vector setup done ia64_mca_init : registered os mca handler with SAL ia64_mca_init : os init handler at 44c6500 ia64_mca_init : registered os init handler with SAL ia64_mca_init : platform-specific mca handling setup done Mca related initialization done On node 0 totalpages: 64657 zone(0): 64657 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: BOOT_IMAGE=vmlinuz-2.4.3-12smp root=/dev/sda4 ro fpswa interface at 3f146010 CPU 0: base freq=133.357MHz, ITC ratio=11/2, ITC freq=733.467MHz Console: colour VGA+ 80x25 Unexpected irq vector 0x0 on CPU 0! Calibrating delay loop... 730.88 BogoMIPS Placing software IO TLB between 0xe000000004a3c000 - 0xe000000008a3c000 Memory: 943520k/1034512k available (3912k code, 81808k reserved, 1248k data, 368k init) perfmon: version 0.2 (sampling format v1) perfmon: Interrupt vectored to 238 perfmon: 32 bits counters (max value 0xffffffff) perfmon: 4 PMC/PMD pairs, 18 PMCs, 14 PMDs Dentry-cache hash table entries: 65536 (order: 6, 1048576 bytes) Buffer-cache hash table entries: 65536 (order: 5, 524288 bytes) Page-cache hash table entries: 65536 (order: 6, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 6, 1048576 bytes) VFS: Diskquotas version dquot_6.5.0 initialized POSIX conformance testing by UNIFIX SMP: starting up secondaries. SMP: Bootstrap processor only. SMP: Total of 1 processors activated (729.80 BogoMIPS). PCI: Probing PCI hardware PCI->APIC IRQ transform: (B0,I3,P3) -> 0x3b PCI->APIC IRQ transform: (B0,I3,P1) -> 0x3a PCI->APIC IRQ transform: (B0,I4,P0) -> 0x30 PCI->APIC IRQ transform: (B0,I5,P0) -> 0x31 PCI->APIC IRQ transform: (B1,I0,P0) -> 0x3c PCI->APIC IRQ transform: (B1,I15,P0) -> 0x48 PCI->APIC IRQ transform: (B2,I15,P0) -> 0x51 PCI->APIC IRQ transform: (B3,I0,P0) -> 0x52 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket PAL Information Facility v0.4 EFI Variables Facility v0.03 2001-Apr-20 Starting kswapd v1.8 pty: 2048 Unix98 ptys configured block: queued sectors max/low 626496kB/495424kB, 1856 slots per queue RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev 19 PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1070-0x1077, BIOS settings: hda:pio, hdb:pio hda: HITACHI DVD-ROM GD-7500, ATAPI CD/DVD-ROM drive hdb: LS-120/240 00 UHD Floppy, ATAPI FLOPPY drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 34 hda: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 hdb: No disk in drive hdb: 234752kB, 262/32/56 CHS, 2995 kBps, 512 sector size, 1500 rpm RAMDISK: Compressed image found at block 0 Freeing initrd memory: 676kB freed loop: loaded (max 8 devices) Serial driver version 5.05a (2001-03-20) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 44) is a 16550A EFI Time Services Driver v0.3 Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 928M agpgart: Detected Intel 460GX chipset agpgart: AGP aperture is 1024M @ 0x40000000 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted request_module[scsi_hostadapter]: Root fs not mounted md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md.c: sizeof(mdp_super_t) = 4096 autodetecting RAID arrays autorun ... ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 16384 buckets, 256Kbytes TCP: Hash tables configured (established 131072 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem). qla1x160: Supported Device Found VID=1077 DID=1216 SSVID=1077 SSDID=7 scsi(0): Determining if RISC is loaded... scsi(0): Verifying chip... scsi(0): Setup chip... scsi(0): Configure NVRAM parameters... [[[ qla1x160: 64 Bit PCI Addressing Enabled ]]] scsi(0): Resetting SCSI BUS (0) scsi(0): Resetting SCSI BUS (1) scsi0 : QLogic QLA12160 PCI to SCSI Host Adapter: bus 1 device 0 irq 60 Firmware version: 10.04.08, Driver version 3.24 Beta Vendor: SEAGATE Model: ST318438LW Rev: 0003 Type: Direct-Access ANSI SCSI revision: 03 scsi(0:0:1:0): Enabled tagged queuing, queue depth 255. scsi(0:0:1:0): Synchronous tranfer at period 9, offset 24. scsi(0:0:1:0): Dual Transition enabled. Attached scsi disk sda at scsi0, channel 0, id 1, lun 0 SCSI device sda: 38914049 512-byte hdwr sectors (19924 MB) Partition check: sda: sda1 sda2 sda3 sda4 sda5 VFS: Mounted root (ext2 filesystem) readonly. change_root: old root has d_count=3 Trying to unmount old root ... okay Freeing unused kernel memory: 368kB freed Adding Swap: 2096448k swap-space (priority -1) usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.251 $ time 13:16:20 Jun 8 2001 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: USB UHCI at I/O 0x1040, IRQ 59 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 usb.c: kmalloc IF e000000001117040, numif 1 usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0 Product: USB UHCI Root Hub SerialNumber: 1040 hub.c: USB hub found hub.c: 2 ports detected hub.c: standalone hub hub.c: ganged power switching hub.c: global over-current protection hub.c: Port indicators are not supported hub.c: power on to power good time: 2ms hub.c: hub controller current requirement: 0mA hub.c: port removable status: RR hub.c: local power source is good hub.c: no over-current condition exists hub.c: enabling power on all ports usb.c: hub driver claimed interface e000000001117040 usb.c: kusbd: /sbin/hotplug add 1 hub.c: port 1 connection change hub.c: port 1, portstatus 101, change 1, 12 Mb/s hub.c: port 1, portstatus 103, change 0, 12 Mb/s hub.c: USB new device connect on bus1/1, assigned device number 2 usb.c: kmalloc IF e000000001116e80, numif 1 usb.c: skipping descriptor 0x29 usb.c: skipped 1 class/vendor specific endpoint descriptors usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0 hub.c: USB hub found hub.c: 4 ports detected hub.c: standalone hub hub.c: ganged power switching hub.c: global over-current protection hub.c: Port indicators are not supported hub.c: power on to power good time: 100ms hub.c: hub controller current requirement: 100mA hub.c: port removable status: RRRR hub.c: local power source is good hub.c: no over-current condition exists hub.c: enabling power on all ports usb.c: hub driver claimed interface e000000001116e80 usb.c: kusbd: /sbin/hotplug add 2 ip_conntrack (4036 buckets, 32288 max) 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 and others eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:00:00:00:00:00, I/O at 0x1000, IRQ 49. Receiver lock-up bug exists -- enabling work-around. Board assembly 731296-005, 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). Receiver lock-up workaround activated. == end of dmesg == > In the mean time, I'll try to get my hands on the i2000 specs. If all > else fails, I can install Red Hat on my machine and create an ACPI > dumping tool that you can then use under Red Hat. i2000 is probably Intel W460GXBS2 based. In the BIOS screen, version of BIOS is "W460GXBS2.86E.0103E.P05.200104201120". Respectfully yours. -- Yasuyuki Okase yokase@lapis.plala.or.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message