HI! thanks a lot for the answer!! I am new to FreeBSD, but I am a computer Programmer.. not in C (yet.. I'll begin to refresh my Ansi C soon :p), so I have been able to use CVSUP to dowanload the new "RELENG_5_2" for src/sys, I copied GENERAL, configure, make depend, make, make install. on the KERNEL_5_2 (this is how I called the new kernel) I add: depend pcm and on loader.conf snd_ess_load="YES" I think now this could now: >uname -a FreeBSD 127.0.0.1 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Dec 29 17:48:06 GMT 2003 fabrizio_at_127.0.0.1:/usr/src/sys/i386/compile/KERNEL_5_2 i386 > sysctl -a hw.acpi hw.acpi.supported_sleep_state: S1 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 hw.acpi.cpu.cx_supported: C1/0 C2/10 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 988812/0 0/0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3392 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3632 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3732 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 99 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 >dmesg Copyright (c) 1992-2003 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.2-CURRENT #0: Mon Dec 29 17:48:06 GMT 2003 fabrizio_at_127.0.0.1:/usr/src/sys/i386/compile/KERNEL_5_2 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ae8000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ae81f4. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (796.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,PN,MMX,FXSR,SSE> real memory = 134152192 (127 MB) avail memory = 121618432 (115 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD RSDT > on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: <CPU> port 0x530-0x537 on acpi0 acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0 acpi_button0: <Sleep Button> on acpi0 acpi_button1: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib0: slot 7 INTD is routed to irq 11 pcib0: slot 9 INTA is routed to irq 3 pcib0: slot 10 INTA is routed to irq 11 pcib0: slot 17 INTA is routed to irq 5 pcib0: slot 18 INTA is routed to irq 11 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib1: slot 0 INTA is routed to irq 5 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0x14a0-0x14af at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1480-0x149f irq 11 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached) pci0: <simple comms> at device 9.0 (no driver attached) cbb0: <TI1410 PCI-CardBus Bridge> mem 0x88000000-0x88000fff irq 11 at device 10.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] pcm0: <ESS Solo-1 (unknown vendor)> port 0x14d8-0x14db,0x14dc-0x14df,0x14b0-0x14bf,0x14c0-0x14cf,0x1400-0x143f irq 5 at device 17.0 on pci0 fxp0: <Intel 82559 Pro/100 Ethernet> port 0x1440-0x147f mem 0xf0000000-0xf00fffff,0xf0100000-0xf0100fff irq 11 at device 18.0 on pci0 fxp0: Ethernet address 00:02:a5:14:aa:7a miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST acpi_cmbat0: <Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 acpi_ec0: <Embedded Controller: GPE 0x9, GLK> port 0x66,0x62 on acpi0 fdc0: cannot reserve control I/O port range (control port) fdc0: cannot reserve control I/O port range (control port) orm0: <Option ROM> at iomem 0xc0000-0xcefff on isa0 pmtimer0 on isa0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 796541094 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% system power profile changed to 'economy' system power profile changed to 'performance' GEOM: create disk ad0 dp=0xc201d660 ad0: 19077MB <HITACHI_DK23BA-20> [38760/16/63] at ata0-master UDMA33 acd0: DVDROM <TOSHIBA DVD-ROM SD-C2502> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s2a lock order reversal 1st 0xc2106948 vm object (vm object) _at_ vm/swap_pager.c:1313 2nd 0xc09a6ba0 swap_pager swhash (swap_pager swhash) _at_ vm/swap_pager.c:1822 3rd 0xc1038948 vm object (vm object) _at_ vm/uma_core.c:873 Stack backtrace: pid 10525 (netstat), uid 0: exited on signal 10 pid 17222 (tcsh), uid 1001 inumber 294928 on /usr: filesystem full system power profile changed to 'economy' system power profile changed to 'performance' as you can see I get more ACPI errors than before, the rest of the system works withour problems when it get to sleep (closing the lid or pressin the button) the monitor stay on, and on the wake event: pcib0: slot 7 INTD is routed to irq 11 pcib0: slot 9 INTD is routed to irq 3 pcib0: slot 10 INTD is routed to irq 11 pcib0: slot 17 INTD is routed to irq 5 pcib0: slot 18 INTD is routed to irq 11 pcib0: slot 0 INTD is routed to irq 5 ata0: resetting devices .. (here the system start to work again, but the screen is freeze) ad0: WARNING - WRITE_DMA recovered rom missing interrupt ad0: FAILURE - WRITE_MUL status=53<READY,DSC,INDEX,ERROR> error=84<ICRC,ABORTED> LBA=35755080 done ata1: resetting devices .. done Dec 30 09:52:30 127 kernel: wakeup from sleeping state (slept 00:00:17) and after this everything works fine also getting the failure message. Fabrizio Parrella Computer/Web Programmer Nightlight Design 975 South High St. Harrisonburg, Va 22801 USA fabrizio_at_nldesign.com IM: AIM: EffEPi77 http://www.nldesign.com ----- Original Message ----- From: "Dylan Wylie" <d.wylie_at_hccnet.nl> To: "Fabry" <fabrizio_at_nldesign.com> Sent: Tuesday, December 30, 2003 6:08 AM Subject: Re: Fw: ACPI / APM problems > Hi. > Yes, CVSUP. Example sup-files can be found in /usr/share/examples. > With the new sourcecode you first 'buildworld', which rebuilds the new system but > doesn't yet install it. It is then normal practice to build and install a new kernel by > doing a ' make buildkernel' followed by a 'make installkernel'. Then reboot and do a > 'make installworld'. All that remains than, is to use 'mergemaster' to mer ge your > modified config files in /etc with new ones. > The obove is just a quick extract of the FreeBSD manual, chapter 21. > > However,... > There were some major changes when they changed from 5.1 to 5.2 , and many > users ran into problems when updating at that moment. This was because the > changes made it impossible for an old(5.1) kernel to opperate in a new (5.2) world. > So depending on the order in which stuff was built, systems could become near- > unusable. These problems were mostly overcome, but mostly by more experienced > users. > You should probably get familiar with the cvsup procedure and the rebuilding of the > system, but there is a chance you may choose to reinstall because of the transition > from 5.1 to 5.2. This is rare however and only the result of the major changes that > were carried out with 5.2. > Also, ACPI in FreeBSD, though getting better with every release, still requirers > work. You may not get all your laptop buttons and suspend states working just yet. > > > Good luck, > > Dylan > > On 29 Dec 2003 at 14:20, Fabry wrote: > > > HI! thanks a lot for the answer.. > > I am new on all this.. > > how can I pass to the 5.2 without format everything? > > > > I should just CVSUP some new src in some way or what? > > thanks again > > > > Fabry > > > > Fabrizio Parrella Fabrizio Parrella Computer/Web Programmer Nightlight > > Design 975 South High St. Harrisonburg, Va 22801 USA fabrizio_at_nldesign.com > > IM: AIM: EffEPi77 http://www.nldesign.com tel: fax: 540-437-9833 > > 540-437-0574 Powered by Plaxo Want a signature like this? > > ----- Original Message ----- > > From: "Dylan Wylie" <d.wylie_at_hccnet.nl> > > To: "Fabry" <fabrizio_at_nldesign.com>; "FREEBSD" <current_at_freebsd.org> > > Sent: Monday, December 29, 2003 12:38 PM > > Subject: Re: Fw: ACPI / APM problems > > > > > > > More a FreeBSD Mobile list subject, since you are not using -current. > > > > > > Similar problems with a presario 1600 here were resolved when moved from > > 5.1 to > > > 5.2. Try -current. If you then still have this problem, it's a > > valid -current subject ;) > > > If you reply, consider not cc-ing the list. > > > > > > > > > On 29 Dec 2003 at 11:04, Fabry wrote: > > > > > > > HI! I don't know if this is the right place where to post this > > problem!!! > > > > > > > > The problem is that I cannot have the duration of the battery on my > > laptop > > > > COMPAQ PRESARIO 1800 with BIOS phoenix (I don't find any update for the > > > > BIOS) > > > > I Have tried with APM and ACPI. > > > > With APM I can have the charge of it only in percent, but I don't know > > how > > > > to > > > > configure the POWER button to shutdown the machine as in ACPI. > > > > with ACPI I got some errors at the boot, and the suspend doesn't really > > > > work, > > > > the monitor stay on and when it "wake up" I get some errors that I think > > are > > > > related with the initial errors. > > > > > > > > Sorry for my english, I know is not great at all!! > > > > > > > > thanks a lot. > > > > [...] > > > > > > > > > > > > > >Received on Tue Dec 30 2003 - 06:00:35 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC