Removing extra locales
Hello, I was installing some software from ports on FreeBSD-7.2 machine and noticed that a lot of locales (languages) are being installed. But I definitely don't need all of them. Is there a generic way to tell the ports that I need only certain locales? Does it make sense to do so or it's better to keep all of them? Can I just delete extra locales for already installed software? I'm using portsnap, and portsnap.conf man page mentions REFUSE command but there is a warning there that operating with an incomplete ports tree is not supported Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: hald: kmem_malloc error
On Sat, Jul 18, 2009 at 2:02 AM, Mel Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Friday 17 July 2009 18:59:49 Andrey Shuvikov wrote: I'm trying to configure X and according to the manual enabled DBUS and HALD. But when hald is starting up I get kernel panic: kmem_malloc: entry not found or misaligned Does anyone know what could be wrong? I have memory dump if it can help but it's big (173M). If you have a file /var/crash/vmcore.0, you will want to run the following command: kgdb /boot/kernel/kernel /var/crash/vmcore.0 Then type bt at the prompt and paste output here. More info: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html uname -a and dmesg output also help in diagnosing this problem. -- Mel The uname output is: FreeBSD foxtrot.home 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 The kgdb output: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd... Unread portion of the kernel message buffer: panic: kmem_malloc: entry not found or misaligned cpuid = 0 Uptime: 52s Physical memory: 2034 MB Dumping 176 MB: 161 145 129 113 97 81 65 49 33 17 1 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07e25a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07e2879 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0a1cdc0 in kmem_malloc (map=0xc147108c, size=0, flags=2) at /usr/src/sys/vm/vm_kern.c:381 #4 0xc0a13357 in page_alloc (zone=0x0, bytes=0, pflag=0xe7b6497f \002, wait=2) at /usr/src/sys/vm/uma_core.c:952 #5 0xc0a15e20 in uma_large_malloc (size=0, wait=2) at /usr/src/sys/vm/uma_core.c:2706 #6 0xc07d16f8 in malloc (size=0, mtp=0xc0c46580, flags=2) at /usr/src/sys/kern/kern_malloc.c:393 #7 0xc0743044 in uhidopen (dev=0xc5713000, flag=1, mode=8192, p=0xc5c6a460) at /usr/src/sys/dev/usb/uhid.c:428 #8 0xc07a56a0 in giant_open (dev=0xc5713000, oflags=1, devtype=8192, td=0xc5c6a460) at /usr/src/sys/kern/kern_conf.c:332 #9 0xc076e1fc in devfs_open (ap=0xe7b64a88) at /usr/src/sys/fs/devfs/devfs_vnops.c:908 #10 0xc0af88d2 in VOP_OPEN_APV (vop=0xc0c47ee0, a=0xe7b64a88) at vnode_if.c:371 #11 0xc0870829 in vn_open_cred (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0, cred=0xc5470100, fp=0xc5b57da8) at vnode_if.h:199 #12 0xc0870973 in vn_open (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0, fp=0xc5b57da8) at /usr/src/sys/kern/vfs_vnops.c:94 #13 0xc086e0a3 in kern_open (td=0xc5c6a460, path=0xbfbfe90c Address 0xbfbfe90c out of bounds, pathseg=UIO_USERSPACE, flags=1, mode=0) at /usr/src/sys/kern/vfs_syscalls.c:1042 #14 0xc086e610 in open (td=0xc5c6a460, uap=0xe7b64cfc) at /usr/src/sys/kern/vfs_syscalls.c:1009 #15 0xc0ae4495 in syscall (frame=0xe7b64d38) at /usr/src/sys/i386/i386/trap.c:1090 #16 0xc0ac9260 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:255 #17 0x0033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) q The dmesg: Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (2999.67-MHz 686-class CPU) Origin = GenuineIntel Id = 0x10676 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x8e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 2146893824 (2047 MB) avail memory = 2091225088 (1994 MB) ACPI APIC Table: A_M_I_ OEMAPIC FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: A_M_I_ OEMRSDT on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 7ff0 (3) failed Timecounter ACPI-fast frequency 3579545 Hz
Re: Zero size allocation with Yealink VOIP USB Phone, 7.2-RELEASE (Was: Re: hald: kmem_malloc error)
On Sat, Jul 18, 2009 at 2:29 PM, Mel Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote: [ Adding usb@ and keeping long context for that purpose ] On Saturday 18 July 2009 08:29:32 Andrey Shuvikov wrote: On Sat, Jul 18, 2009 at 2:02 AM, Mel Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Friday 17 July 2009 18:59:49 Andrey Shuvikov wrote: I'm trying to configure X and according to the manual enabled DBUS and HALD. But when hald is starting up I get kernel panic: kmem_malloc: entry not found or misaligned Does anyone know what could be wrong? I have memory dump if it can help but it's big (173M). If you have a file /var/crash/vmcore.0, you will want to run the following command: kgdb /boot/kernel/kernel /var/crash/vmcore.0 Then type bt at the prompt and paste output here. More info: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ker neldebug.html uname -a and dmesg output also help in diagnosing this problem. -- Mel The uname output is: FreeBSD foxtrot.home 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 The kgdb output: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd... Unread portion of the kernel message buffer: panic: kmem_malloc: entry not found or misaligned cpuid = 0 Uptime: 52s Physical memory: 2034 MB Dumping 176 MB: 161 145 129 113 97 81 65 49 33 17 1 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07e25a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07e2879 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0a1cdc0 in kmem_malloc (map=0xc147108c, size=0, flags=2) at /usr/src/sys/vm/vm_kern.c:381 #4 0xc0a13357 in page_alloc (zone=0x0, bytes=0, pflag=0xe7b6497f \002, wait=2) at /usr/src/sys/vm/uma_core.c:952 #5 0xc0a15e20 in uma_large_malloc (size=0, wait=2) at /usr/src/sys/vm/uma_core.c:2706 #6 0xc07d16f8 in malloc (size=0, mtp=0xc0c46580, flags=2) ^^ at /usr/src/sys/kern/kern_malloc.c:393 #7 0xc0743044 in uhidopen (dev=0xc5713000, flag=1, mode=8192, p=0xc5c6a460) at /usr/src/sys/dev/usb/uhid.c:428 In kgdb can you print the entire softcell as follows: f 7 p *sc Hopefully that will provide sufficient information for the usb developers to fix this problem. #8 0xc07a56a0 in giant_open (dev=0xc5713000, oflags=1, devtype=8192, td=0xc5c6a460) at /usr/src/sys/kern/kern_conf.c:332 #9 0xc076e1fc in devfs_open (ap=0xe7b64a88) at /usr/src/sys/fs/devfs/devfs_vnops.c:908 #10 0xc0af88d2 in VOP_OPEN_APV (vop=0xc0c47ee0, a=0xe7b64a88) at vnode_if.c:371 #11 0xc0870829 in vn_open_cred (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0, cred=0xc5470100, fp=0xc5b57da8) at vnode_if.h:199 #12 0xc0870973 in vn_open (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0, fp=0xc5b57da8) at /usr/src/sys/kern/vfs_vnops.c:94 #13 0xc086e0a3 in kern_open (td=0xc5c6a460, path=0xbfbfe90c Address 0xbfbfe90c out of bounds, pathseg=UIO_USERSPACE, flags=1, mode=0) at /usr/src/sys/kern/vfs_syscalls.c:1042 #14 0xc086e610 in open (td=0xc5c6a460, uap=0xe7b64cfc) at /usr/src/sys/kern/vfs_syscalls.c:1009 #15 0xc0ae4495 in syscall (frame=0xe7b64d38) at /usr/src/sys/i386/i386/trap.c:1090 #16 0xc0ac9260 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:255 #17 0x0033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) q The dmesg: Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (2999.67-MHz 686-class CPU) Origin = GenuineIntel Id = 0x10676 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x8e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PD CM,SSE4.1 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores
hald: kmem_malloc error
Hello, I'm trying to configure X and according to the manual enabled DBUS and HALD. But when hald is starting up I get kernel panic: kmem_malloc: entry not found or misaligned Does anyone know what could be wrong? I have memory dump if it can help but it's big (173M). I noticed that hald start-up script requires usbd but didn't find any script supplying that. Could it be the problem? Thank you, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Port dependencies
Hello, I'm trying to figure out port dependencies on my (freshly installed) FreeBSD 7.0. For example, I have two automake ports: $ pkg_info | grep automake-1 automake-1.5_4,1GNU Standards-compliant Makefile generator (1.5) automake-1.6.3 GNU Standards-compliant Makefile generator (1.6) I didn't install them myself, so I tried to figure out how they were installed. But when I run $ pkg_info -R 'automake-1*' It doesn't show any dependencies (and I didn't delete any packages yet). Is there a way to figure out who (which port) installed them and do I need them both now? Thanks, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multi BSD boot loader
On 9/18/07, Joshua Isom [EMAIL PROTECTED] wrote: I've brought back to life a P3 I got at a school auction years back to use for testing software under various operating systems(presently all bsd) on i386. My main server is FreeBSD/amd64. The P3 has a 10 gig hard drive I'm not intending to upgrade(unless I buy an sata hard drive and find that the bootloader works for atapi sata hard drives in 7.0). I've currently partitioned it into four partitions, with FreeBSD, OpenBSD, and DragonFlyBSD. The fourth is unused at the moment, and I left it open for a fourth system to test on, but I partitioned it as FreeBSD. Here comes the problem. The boot menu currently looks like this. F1: FreeBSD F2: BSD F3: FreeBSD F4: FreeBSD Based on my experience FreeBSD loader (slice boot-sector) tries to load the system from the first FreeBSD (A5) slice it can find. So even is you press F3 you will load FreeBSD rather than DragonFlyBSD. I resolved this issue by installing GRUB and temporarily changing the slice type of the slices I didn't want to boot from. In addition you can edit menu.lst before rebooting to specify which entry should be booted next. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to change next boot from windows to freebsd?
On Wednesday 12 September 2007 14:30:32 Ivan Voras wrote: I have no idea how to enable the Windows boot loader after both Windows and FreeBSD are installed on the machine and FreeBSD's loader is installed. FreeBSD usually sets active partition (slice) to itself even if boot manager is not installed. fdisk can show which partition is active and allows to change it if necessary. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server setup questions
Thanks a lot for all your suggestions! I will probably still start from exim but at least I know now that the choice is not that critical, especially for a small home server. Thanks again, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server setup questions
Hi, I'm trying to set up a home mailserver with imap/web access. But I was going to use exim. Several people mentioned postfix here, but nobody named exim. Is it a matter of personal preference or is exim not suitable for this task? Thanks, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BDECFLAGS in make.conf
Hi, The example make.conf has a comment about BDECFLAGS variable, which is suggested for use in developing FreeBSD. But when I tried to use it make buildworld fails (inline is not defined). Is this variable really supposed to be in make.conf, or did I misunderstand something? Thanks a lot, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing from USB Flash Drive
On 8/1/07, Ross Penner [EMAIL PROTECTED] wrote: Hi everybody, I'm trying to install a system on a machine that doesn't have an optical drive. I plan on using a USB flash drive to do the job and found a messages from [EMAIL PROTECTED] (http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html) about just such a thing. The script provided converts the CD image into one suitable for a flashmemory stick. I used and coverted it without issue. The instructions say to use dd to prepare the flash drive so executed #dd if=flashbsd.iso of=/dev/da0 This will copy CD to USB sector-by-sector recreating CD filesystem (ISO-9660) on the stick. I don't think it's what system expects. I tried to do similar thing some time ago. I don't remember details but what I did was mounting CD-image and copying files from there to preformatted USB stick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual boot FreeBSD(6.2) / Current ?
On 7/13/07, CyberLeo Kitsana [EMAIL PROTECTED] wrote: Patrick Lamaiziere wrote: Hello, How to make a dual boot with Stable and Current ? The FreeBSD loader always uses the bsd partition 'a' to load the kernel. So i always boot 6.2. My main boot loader is Gag. Perhaps install the depeendant filesystems (/, /var, /usr) for the two versions each in their own slices, and share independant filesystems (/tmp, /home) from a third slice? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] When I tried to dual-boot FreeBSD and PC-BSD I noticed that FreeBSD loader always loads the first A5 slice it can find. I used GRUB to change the type of the slice I didn't need to something else (for example, A6, unless you have OpenBSD installed :-)). If Gag can do it too, it could help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GRUB / boot easy problems w / USB stick
On 6/2/07, Fred Davidson [EMAIL PROTECTED] wrote: I am looking for some help to enable booting from a USB stick. After weeks of reading, and attempting I am at a total loss. This all began while I was trying to follow the many excellent tutorials on encrypting whole laptop disks with GELI[1]. These tutorials were great except they didn't really cover how to make the sticks bootable. Here is some of the many things I have tried. Background: My laptop BIOS allows me to pick the boot order from 7 devices, I set them as follows: (1) USB Key (2) USB HDD (3) USB CDROM (4) USB FDC (5) IDE CD (6) IDE HDD (7) PCI BEV Attempt 1: FreeBSD Boot Manager # created a dedicated slice on my 512MB stick with a #UFS2 filesystem. (after fdisk) bsdlabel -Brw /dev/da0s1 newfs /dev/da0s1 # Copied over boot files to usb filesystem. mount /dev/da0s1 /usb mkdir /usb/boot cd /boot cp -Rpv * /usb/boot # Placed FreeBSD boot manager on MBR of USB stick. boot0cfg -B -s 1 -t -v 182 /dev/da0 Problem: When I reboot the laptop keyboard won't allow me to select a partition with the F keys. Attempt 2: GRUB # make install grub from the ports collection. copy #over the files from #/usr/local/share/grub/i386-freebsd/* to /boot/grub. #My understanding was that Grub can read write UFS2 #because of patches since version 0.94. So on my first #attempt I made a single UFS2 partition. mount /dev/da0s1 /usb mkdir -p /usb/boot/grub cd /boot cp -Rpv * /usb/boot cd /boot/grub cp -Rpv * /usb/boot/grub #I invoke the grub shell. There are two devices in my #device map: (hd0) /dev/ad0 (hd1) /dev/da0 # Now if I try to set root in the following ways I'll #get the following: grub root (hd0,0,a) Filesystem type is ufs2, partition type 0xa5 grub root (hd1,0) Filesystem type is unknown, partition type 0xa5 # now before you say it, I also tried (hd1,0,a) but #this is even worse in some situations. Basically I #can't get grub to read or write to the USB stick with #a UFS2 filesystem. Yet it will read write to the #UFS2 filesystem of the native disk. Does anyone know #why? I have tried grub-install which apparently is #successful, but once I attempt to reboot, it hangs #with the word, GRUB printed. Attempt 3: Chainloading GRUB #This time I though I had it. I created S1 FAT #partition and S2 UFS2 partition on the stick. I # was able to use setup from the grub shell to setup #the FAT slice as the location for stage2. On the #ufs2 partition I set up the proper /boot setup above. #I read on an old post and someone mentioned that #boot2 does something stupid, and won't work with a #chainload scenario. I tried it anyways, and it didn't #work. I had heard that it might work if you bounce #boot0 to the beginning of the slice instead of the #disk MBR so I did. boot0cfg -B -s 2 -t 182 -v /dev/da0s2 #seemed to go well. I rebooted, and got as far as #the F key menu, but again nothing worked, and I #couldn't boot. Just to add, I also tried the whole booting FreeBSD from a FAT partition but that just plain doesn't work [2]. Well that's where I am. I can't tell you how much you will rock my world if you can show me how to fix this. These are some ideas I have, but don't know enough to do anything about: (1) BIOS issues; from what I understand each computer manufacturer takes a base bios (phoenix in my case) and proprietories it up. I'm dreading that maybe my BIOS will prevent any of this from working. Doesn't seem to be documentation anywhere on my manufac's site. (2) Bootblocks; Maybe there's some easy modifications or config files for boot blocks I don't know about? Maybe there are some alternatives? (3) GRUB patches; I've been downloading ports from another PC (no network yet)burning to CD, then making. done it twice now. Is there some wonderful patch to GRUB that makes it work with FreeBSD I don't know about? Do any of you have it working? if so , can I copy how you built exactly? Alright, that's all. I'm sorry for the length of this post, it's my first one, and I have seriously dredged pretty hard on my own for a solution. Thanks again. Fred [1] http://www.proportion.ch/index.php?page=31 http://www.daimi.au.dk/~u063592/ http://www.bsdforums.org/forums/showthread.php?threadid=43796 [2] http://docs.FreeBSD.org/cgi/mid.cgi?2002003159.A46044 Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos more. http://mobile.yahoo.com/go?refer=1GNXIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Some thoughts: 1. bsdlabel -Brw /dev/da0s1 - What is the option r? - bsdlabel is supposed to create standard label which probably means creating da0s1a partition (can you call
Re: Computer hangs on reboot
On 5/28/07, Andrey Shuvikov [EMAIL PROTECTED] wrote: Hi, I posted this question originally to freebsd-acpi list but without much luck. Besides I'm not sure it's ACPI problem. I have a computer with SIS630E-based PCChips motherboard (M787CL+) and FreeBSD 6.2 (lately I upgraded to RELENG_6, but it didn't help). The problem is that when I try to reboot it just hangs. The last line I see on the screen is Rebooting..., then some vertical lines move across the screen (maybe video mode switch or something like that), and that's it. I tried to add some debug output to cpu_reset_real() code: printf(cpu_reset_real(): before keyboard reset\n); outb(IO_KBD + 4, 0xFE); printf(cpu_reset_real(): after keyboard reset\n); Then the last two lines I see on the screen when I try to reboot are: cpu_reset_real(): before keyboard reset c Also I tried to set BROKEN_KEYBOARD_RESET option but nothing changed (except I didn't see these debugging messages, obviously). The dmesg is at http://mysite.verizon.net/mr_hyro/acpi/dmesg.txt Booting with ACPI disabled doesn't help, neither does setting hw.acpi.disable_on_reboot and hw.acpi.handle_reboot to 1 (either one or both). Does anybody know how to fix this? Thank you, Andrey Tried to investigate further... Added code to print keyboard controller output port to make sure A20 is open. Got 0x0B. Does it mean that A20 is really open? If A20 is controlled by some kind of Fast A20 option, will keyboard controller still show the right status? And what else can I check? Thanks, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Computer hangs on reboot
Hi, I posted this question originally to freebsd-acpi list but without much luck. Besides I'm not sure it's ACPI problem. I have a computer with SIS630E-based PCChips motherboard (M787CL+) and FreeBSD 6.2 (lately I upgraded to RELENG_6, but it didn't help). The problem is that when I try to reboot it just hangs. The last line I see on the screen is Rebooting..., then some vertical lines move across the screen (maybe video mode switch or something like that), and that's it. I tried to add some debug output to cpu_reset_real() code: printf(cpu_reset_real(): before keyboard reset\n); outb(IO_KBD + 4, 0xFE); printf(cpu_reset_real(): after keyboard reset\n); Then the last two lines I see on the screen when I try to reboot are: cpu_reset_real(): before keyboard reset c Also I tried to set BROKEN_KEYBOARD_RESET option but nothing changed (except I didn't see these debugging messages, obviously). The dmesg is at http://mysite.verizon.net/mr_hyro/acpi/dmesg.txt Booting with ACPI disabled doesn't help, neither does setting hw.acpi.disable_on_reboot and hw.acpi.handle_reboot to 1 (either one or both). Does anybody know how to fix this? Thank you, Andrey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]