From owner-freebsd-amd64@FreeBSD.ORG Wed Oct 27 01:53:28 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 741C016A4CE for ; Wed, 27 Oct 2004 01:53:28 +0000 (GMT) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 196A243D49 for ; Wed, 27 Oct 2004 01:53:21 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.43 (FreeBSD)) id 1CMd2Y-000HHc-6L for freebsd-amd64@freebsd.org; Wed, 27 Oct 2004 09:55:55 +0800 Message-Id: <6.1.2.0.2.20041027095212.02b38560@202.179.0.80> X-Sender: ganbold@micom.mng.net@202.179.0.80 X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Wed, 27 Oct 2004 09:52:58 +0900 To: freebsd-amd64@freebsd.org From: Ganbold Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: FreeBSD 5.3 problem on Dual AMD64 2.2GHz with 8GB RAM X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 01:53:28 -0000 Hi, I still have problem running FreeBSD 5.3 with 8GB RAM on Dual amd64 2.2GHz (IBM @server 325, ServeRAID 6M) with 8GB RAM. I did cvsup and updated (made world, kernel) to latest using RELENG_5_3 tag. It was working ok with 4 GB RAM. Afterwards I added another 4GB RAM and=20 tried to boot FreeBSD with 8GB RAM. However it showed various errors and login didn't work. You=20 can see serial console messages at the end of my email. What should I do? I really want to run this machine with 8GB RAM. Any ideas? Errors were something like: --------------------------------------------------------------------- Starting sshd /libexec/ld.elf.so.1: Cannot fstat "/usr/lib/libssh.so.2" Starting inetd /libexec/ld.elf.so.1: Cannot fstat "/usr/lib/libwrap.so.3" login: root Oct 14:31:25 amd getty[428]: /usr/bin/login: Permission denied --------------------------------------------------------------------- I built and installed latest kernel of RELENG_5_3 tag with following=20 debugging options in kernel config file. ----------------------------------------------------------------------------= ---------------------------------- makeoptions DEBUG=3D-g #Build kernel with gdb(1) debug= symbols options WITNESS options WITNESS_KDB options WITNESS_SKIPSPIN options KDB options KDB_TRACE options DDB options DDB_NUMSYM options INVARIANTS options INVARIANT_SUPPORT options DIAGNOSTIC ----------------------------------------------------------------------------= ------------------------------------------ Following is the messages I got from serial console, first part is with 4GB= =20 RAM, second part is with 8GB RAM: ############################################################################= ################# Console: serial port BIOS drive C: is disk0 BIOS 614kB/4127168kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (tsgan@amd.micom.mng.net, Mon Oct 25 18:56:14 ULAT 2004) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=3D0x30e580 -data=3D0x7ec58+0x77db8=20 -syms=3D[0x8+0x5c538+0x8+0x4e56d-] KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2004 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.3-RELEASE #4: Tue Oct 26 13:39:47 ULAT 2004 tsgan@amd.micom.mng.net:/usr/obj/usr/src/sys/AMD WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 248 (2193.18-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0xf58 Stepping =3D 8 = Features=3D0x78bfbff AMD Features=3D0xe0500800 real memory =3D 4227268608 (4031 MB) avail memory =3D 4082835456 (3893 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff= =20 iomem 0xd8000-0xdbfff on acpi0 pcib0: could not get PCI interrupt routing table for \_SB_.PCI0 -= AE_NOT_FOUND pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 ohci0: mem 0xfc100000-0xfc100fff irq 19 at= =20 device 0.0 on pci1 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfc101000-0xfc101fff irq 19 at= =20 device 0.1 on pci1 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ukbd0: Silitek IBM USB Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 kbd1 at ukbd0 uhid0: Silitek IBM USB Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port=20 0x1020-0x102f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem=20 0xfe000000-0xfe00ffff,0xfe010000-0xfe01ffff irq 24 at device 1.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,=20 1000baseTX-FDX, auto bge0: Ethernet address: 00:0d:60:14:cc:9e bge1: mem=20 0xfe020000-0xfe02ffff,0xfe030000-0xfe03ffff irq 25 at device 1.1 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,=20 1000baseTX-FDX, auto bge1: Ethernet address: 00:0d:60:14:cc:9f pci2: at device 2.0 (no driver attached) pci0: at device 10.1 (no driver=20 attached) pcib3: at device 11.0 on pci0 pci3: on pcib3 pcib4: at device 3.0 on pci3 pci4: on pcib4 ips0: mem 0xfe100000-0xfe100fff irq 28 at=20 device 8.0 on pci4 ips0: [GIANT-LOCKED] pci0: at device 11.1 (no driver=20 attached) sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on= acpi0 sio0: type 16550A, console orm0: at iomem=20 0xcb000-0xcb7ff,0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 device_attach: atkbd0 attach returned 6 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x100> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 0.976 msec acd0: CDROM at ata1-master UDMA33 ips0: adapter type: ServeRAID 6M (marco) ips0: logical drives: 1 ips0: Logical Drive 0: RAID5 sectors: 355481600, state OK ipsd0: on ips0 ipsd0: Logical Drive (173575MB) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ipsd0s1a Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ipsd0s1b as swap device Starting file system checks: /dev/ipsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1a: clean, 479984 free (704 frags, 59910 blocks, 0.1%= fragmentation) /dev/ipsd0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1f: clean, 1003939 free (59 frags, 125485 blocks, 0.0%=20 fragmentation) /dev/ipsd0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1d: clean, 8989787 free (49579 frags, 1117526 blocks, 0.5%=20 fragmentation) /dev/ipsd0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1e: clean, 4997667 free (275 frags, 624674 blocks, 0.0%=20 fragmentation) /dev/ipsd0s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1g: clean, 65656968 free (392 frags, 8207072 blocks, 0.0%=20 fragmentation) Setting hostname: amd.micom.mng.net. bge0: flags=3D8843 mtu 1500 options=3D1a inet 192.168.0.50 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:0d:60:14:cc:9e media: Ethernet 100baseTX status: no carrier lo0: flags=3D8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 192.168.0.1 Additional routing options:. Starting devd. kbdcontrol: cannot open /dev/kbd1: Device busy Mounting NFS file systems:. Starting syslogd. Oct 26 14:15:10 amd syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib= /usr/local/lib Starting usbd. Starting local daemons:. Updating motd. Configuring syscons: font8x16 font8x8 blanktime=20 screensavermodule_register_init: MOD_LOAD (logo_saver, 0xffffffffb63c1430,= =20 0) error 19 . Starting sshd. Oct 26 14:15:11 amd kernel: logo_saver: the console does not support=20 M_VGA_CG320 Initial amd64 initialization:. Additional ABI support:. Starting cron. Local package initialization:Expensive timeout(9) function:=20 0xffffffff801a91e0(0xffffffff80825000) 0.002224584 s mysqld. Additional TCP options:. Starting inetd. Starting background file system checks in 60 seconds. Tue Oct 26 14:15:12 ULAT 2004 =E0Stopping inetd. Shutting down daemon processes: mysqld. Stopping cron. Shutting down local daemons:. Writing entropy file:. . Oct 26 14:16:52 amd syslogd: exiting on signal 15 boot() called on cpu#0 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...2 2 2 2 0 0 done No buffers busy after final sync Uptime: 1m56s ips0: flushing cache Shutting down ACPI The operating system has halted. Please press any key to reboot. ############################################################################= ################# Console: serial port BIOS drive C: is disk0 BIOS 614kB/4127168kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (tsgan@amd.micom.mng.net, Mon Oct 25 18:56:14 ULAT 2004) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=3D0x30e580 -data=3D0x7ec58+0x77db8=20 --=08syms=3D[0x8+0x5c538+0x8+0x4e56d-] KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2004 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.3-RELEASE #4: Tue Oct 26 13:39:47 ULAT 2004 tsgan@amd.micom.mng.net:/usr/obj/usr/src/sys/AMD WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 248 (2193.18-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0xf58 Stepping =3D 8 = Features=3D0x78bfbff AMD Features=3D0xe0500800 real memory =3D 8589934592 (8192 MB) avail memory =3D 8249974784 (7867 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff= =20 iomem 0xd8000-0xdbfff on acpi0 pcib0: could not get PCI interrupt routing table for \_SB_.PCI0 -= AE_NOT_FOUND pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 ohci0: mem 0xfc100000-0xfc100fff irq 19 at= =20 device 0.0 on pci1 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfc101000-0xfc101fff irq 19 at= =20 device 0.1 on pci1 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ukbd0: Silitek IBM USB Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 kbd1 at ukbd0 uhid0: Silitek IBM USB Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port=20 0x1020-0x102f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem=20 0xfe000000-0xfe00ffff,0xfe010000-0xfe01ffff irq 24 at device 1.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,=20 1000baseTX-FDX, auto bge0: Ethernet address: 00:0d:60:14:cc:9e bge1: mem=20 0xfe020000-0xfe02ffff,0xfe030000-0xfe03ffff irq 25 at device 1.1 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,=20 1000baseTX-FDX, auto bge1: Ethernet address: 00:0d:60:14:cc:9f pci2: at device 2.0 (no driver attached) pci0: at device 10.1 (no driver=20 attached) pcib3: at device 11.0 on pci0 pci3: on pcib3 pcib4: at device 3.0 on pci3 pci4: on pcib4 ips0: mem 0xfe100000-0xfe100fff irq 28 at=20 device 8.0 on pci4 ips0: [GIANT-LOCKED] pci0: at device 11.1 (no driver=20 attached) sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on= acpi0 sio0: type 16550A, console orm0: at iomem=20 0xcb000-0xcb7ff,0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 device_attach: atkbd0 attach returned 6 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x100> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 0.976 msec acd0: CDROM at ata1-master UDMA33 ips0: adapter type: ServeRAID 6M (marco) ips0: logical drives: 1 ips0: Logical Drive 0: RAID5 sectors: 355481600, state OK ipsd0: on ips0 ipsd0: Logical Drive (173575MB) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ipsd0s1a Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ipsd0s1b as swap device Starting file system checks: /dev/ipsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1a: clean, 479984 free (704 frags, 59910 blocks, 0.1%= fragmentation) /dev/ipsd0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1f: clean, 1003939 free (59 frags, 125485 blocks, 0.0%=20 fragmentation) /dev/ipsd0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1d: clean, 8989787 free (49579 frags, 1117526 blocks, 0.5%=20 fragmentation) /dev/ipsd0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1e: clean, 4997667 free (275 frags, 624674 blocks, 0.0%=20 fragmentation) /dev/ipsd0s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ipsd0s1g: clean, 65656963 free (395 frags, 8207071 blocks, 0.0%=20 fragmentation) Setting hostname: amd.micom.mng.net. bge0: flags=3D8843 mtu 1500 options=3D1a inet 192.168.0.50 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:0d:60:14:cc:9e media: Ethernet 100baseTX status: no carrier lo0: flags=3D8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 192.168.0.1 Additional routing options:. Starting devd. kbdcontrol: cannot open /dev/kbd1: Device busy Mounting NFS file systems:. Starting syslogd. Oct 26 14:23:26 amd syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib= /usr/local/lib Starting usbd. Starting local daemons:. Updating motd. Configuring syscons: font8x16 font8x8 blanktime=20 screensavermodule_register_init: MOD_LOAD (logo_saver, 0xffffffffb9e3e430,= =20 0) error 19 . Starting sshd. Oct 26 14:23:27 amd kernel: logo_saver: the console does not support=20 M_VGA_CG320 /libexec/ld-elf.so.1: /usr/lib/libasn1.so.7: invalid file format Initial amd64 initialization:. Additional ABI support:. Starting cron. Local package initialization: mysqld. Additional TCP options:. Expensive timeout(9) function:=20 0xffffffff801a91e0(0xfff/libexec/ld-elf.fso.1: f/usr/lib/libpthrfead.so.1:= =20 Sharedf object has no rfun-time symbol t8able082500 0) 0.002212571 s /libexec/ld-elf.so.1: /usr/lib/libpthread.so.1: Shared object has no=20 run-time symbol table Starting background file system checks in 60 seconds. Tue Oct 26 14:23:28 ULAT 2004 logger: 1: Syntax error: word unexpected (expectpaing ")") ntouch: 1: Syntaxic: ff error: "(" unexspected _write: type 0xffffff018d1405a0 0 (0,32) cpuid =3D 0 KDB: stack backtrace: panic() at 0xffffffff80254ac3 =3D panic+0x253 ffs_write() at 0xffffffff8033edd2 =3D ffs_write+0xb2 vn_write() at 0xffffffff802bdc00 =3D vn_write+0x1d0 dofilewrite() at 0xffffffff8027c800 =3D dofilewrite+0xb0 write() at 0xffffffff8027ca38 =3D write+0x68 syscall() at 0xffffffff8038249b =3D syscall+0x4bb Xfast_syscall() at 0xffffffff80370198 =3D Xfast_syscall+0xa8 --- syscall (4, FreeBSD ELF64, write), rip =3D 0x200917540, rsp =3D=20 0x7fffffffea78, rbp =3D 0x528000 --- KDB: enter: panic [thread 100073] Stopped at 0xffffffff8026ef6f =3D kdb_enter+0x2f: nop db> bt No such command db> help print p examine x search set = write w delete d break dwatch watch = dhwatch hwatch step s continue c until next match trace where call show ps gdb reset kill watchdog thread panic db> w Nothing written. db> continue boot() called on cpu#0 Uptime: 12s Cannot dump. No dump device defined. Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset called on cpu#0 cpu_reset: Stopping o ############################################################################= ###### thanks in advance, Ganbold