Followup on ACPI resume problems in STABLE

2006-09-15 Thread Norberto Meijome
[ followup to
http://lists.freebsd.org/pipermail/freebsd-mobile/2006-September/008993.html ]

Hi all,
 I went back to RELENG_6, updated, and rebuilt world and kernel, but this time
the GENERIC one. Similar (or possibly the same) lockup as with RELENG_6 and my
custom kernel.
I tried the suspend/ resume several times, each of them end up with a crash and
no info on log/messages or kernel dump.

 On resume, the screen would turn a soft white colour. I could press
Caps lock and the LED would respond. In some instances, going to the console
where X is running would work, but it'd lock up within seconds. In most cases,
everything would lock up within 10 seconds, with no change in what I'd see on
screen. Caps lock LED would stop  responding too.

I'm back to RELENG_6_1 now with my custom kernel...and rebuilding some
of my installed ports as some didnt like the regression.

I'd love to help, but i'm at loss wrt what to try next.

Cheers,
B
_
{Beto|Norberto|Numard} Meijome

Unix is user friendly. However, it isn't idiot friendly.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI resume problems in STABLE

2006-09-13 Thread Henrik Brix Andersen
On Wed, Sep 13, 2006 at 11:40:27AM +1000, Norberto Meijome wrote:
 $ uname -a
 FreeBSD ayiin.xxx.com 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #23:
 Tue Sep 12 14:52:32 EST 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AYIIN  i386
 
 The only thing I've noticed that in how my lappy works now is that if_iwi0 is
 loaded on startup, but iw_bss and firmware.ko are not. I can load them by 
 hand,
 but haven't been able to test to see if it actually works (i have a feeling it
 doesnt).
 
 I have installed
 iwi-firmware-kmod-3.0_1 Intel PRO/Wireless 2200 Firmware Kernel Module

You will need net/iwi-firmware (not net/iwi-firmware-kmod) for
6.1-RELEASE.

Regards,
Brix
-- 
Henrik Brix Andersen [EMAIL PROTECTED]


pgpcr0wTTdeIj.pgp
Description: PGP signature


Re: ACPI resume problems in STABLE

2006-09-13 Thread Norberto Meijome
On Wed, 13 Sep 2006 10:54:12 +0200
Henrik Brix Andersen [EMAIL PROTECTED] wrote:

  I have installed
  iwi-firmware-kmod-3.0_1 Intel PRO/Wireless 2200 Firmware Kernel Module
 
 You will need net/iwi-firmware (not net/iwi-firmware-kmod) for
 6.1-RELEASE.
 
 Regards,
 Brix

Hi Brix, yes, that's correct, i actually rebuilt my RELENG_6_1 kernel with
if_iwi and firmware built in, then installed net/iwi-firmware and it's working
just fine.

Resume still works great with RELENG_6_1 - i assume broken in STABLE for me...
will test 6_2 when out... or earlier if anyone could kindly point me to a date
where I should test between RELENG_6_1 and current to test.

thanks,
B

_
{Beto|Norberto|Numard} Meijome

With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. RFC 1925 (quoting an unnamed source)

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI resume problems in STABLE

2006-09-12 Thread Norberto Meijome
Hi all,
I have a Thinkpad z60m, with a custom kernel conf. I was trailing RELENG_6 (aka
STABLE)  on an almost daily basis (and world updates every week). ACPI enabled,
APIC disabled.

 I can't tell for sure when
trouble started, but roughly about 2 weeks ago I couldn't resume from suspend
anymore. It would come back and the screen would white out, or stay completelly
black (white out == a nice warm white colour... but dead otherwise). Caps lock
would not light up LED.  There was no kernel dump happening either (no HD
activity, i even let it sit for 10 minutes to see if it would help).
No info on dmesg or /var/log/messages.

I simplified my kernel conf (removed vesa, agp and graphic options for sc) - no
changes. I thought there was an improvement when I removed agp, but it was just
false hopes. 

I then decided to revert kernel + world to RELENG_6_1, without
otherwise changing my kernel or /etc configuration (other than the obvious
mergemaster  changes to /etc). and.. voila, everything back to normal. My
current uname is:

$ uname -a
FreeBSD ayiin.xxx.com 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #23:
Tue Sep 12 14:52:32 EST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/AYIIN  i386

The only thing I've noticed that in how my lappy works now is that if_iwi0 is
loaded on startup, but iw_bss and firmware.ko are not. I can load them by hand,
but haven't been able to test to see if it actually works (i have a feeling it
doesnt).

I have installed
iwi-firmware-kmod-3.0_1 Intel PRO/Wireless 2200 Firmware Kernel Module

I have kernel dump from my last RELENG_6 attempt when I removed agp - for once
it actually died with a dump. I have a copy of the RELENG_6 /boot/ as well. If
I can help debugging this problem, please let me know. 

I can try to move to STABLE from 2 or 3 weeks ago and see if that makes any
difference  - any significant date I should look at?

cheers!


My kernel config is:
-
# AYIIN - Beto's laptop - Kernel config
# IBM/Lenovo Thinkpad z60m
# BASED ON
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.5 2006/01/23 14:19:36 marius
Exp $

machine i386
#cpuI586_CPU
cpu I686_CPU
ident   AYIIN

options PERFMON

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look
for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug
symbols
options INCLUDE_CONFIG_FILE # Include this file in kernel


#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption

options INET# InterNETworking


## As as 2006/01/30, IPSEC is still under GIANT - Disabling until i actually
need it. 
#options IPSEC   #IP security
#options IPSEC_ESP   #IP security (crypto; define w/ IPSEC)
device crypto

# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
# carried in TCP option 19. This option is commonly used to protect
# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable.
# This is enabled on a per-socket basis using the TCP_MD5SIG socket option.
# This requires the use of 'device crypto', 'options FAST_IPSEC' or 'options
# IPSEC', and 'device cryptodev'.
#optionsTCP_SIGNATURE   #include support for RFC 2385
device cryptodev

options NETGRAPH# netgraph(4) system

# altq(9). Enable the base part of the hooks with the ALTQ option.
# Individual disciplines must be built into the base system and can not be
# loaded as modules at this point. 
options ALTQ
options ALTQ_CBQ# Class Bases Queueing
options ALTQ_RED# Random Early Detection
options ALTQ_RIO# RED In/Out
options ALTQ_HFSC   # Hierarchical Packet Scheduler
options ALTQ_CDNR   # Traffic conditioner
options ALTQ_PRIQ   # Priority Queueing



#options IPFIREWALL  #firewall
#options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
#options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
#options IPFIREWALL_FORWARD