Re: Mixer default values not restored

2008-01-06 Thread John Baldwin
On Wednesday 02 January 2008 08:35:40 am Jouke Witteveen wrote:
> Hello,
> 
> I'm running FreeBSD 7.0 RC1 with the following in my kernel configuration:
> ---
> device  sound
> device  snd_emu10kx
> ---
> My soundcard is a Soundblaster Live!
> 
> In trying to make the rear-channel volume default to "100" I added the
> following to my /boot/device.hints:
> ---
> hint.pcm.1.vol="100"
> hint.pcm.1.pcm="100"
> ---
> This method is suggested on page 164 (section 7.2.4) of the Handbook.
> 
> The problem is that these mixer levels do not apply:
> ---
> $ mixer -f /dev/mixer1
> Mixer vol  is currently set to  75:75
> Mixer pcm  is currently set to  75:75
> ---
> There is no problem however in manualy settig these values.
> 
> Any help is welcome. My machine can - may it be needed - be used as a 
> testbase.

Hmm, probably /etc/rc.d/mixer is overriding the tunables as it is restoring the 
settings
to those from the previous boot.  You can disable the mixer script perhaps.

-- 
John Baldwin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_7 jerky mouse and skipping sound (still a problem -BETA3)

2008-01-06 Thread David E. Thiel
On Tue, Jan 01, 2008 at 10:15:30PM +0100, Kris Kennaway wrote:
> OK, can you obtain a schedgraph trace when the problem is manifesting? See 
> /usr/src/tools/sched/ and previous discussion in this or related threads.

Ok, here's my ktr.out. It was taken right after booting and doing a
kernel build, approx. 25% memory utilization. Interactive performance in X 
was extremely laggy, taking several seconds just to change window focus.

http://redundancy.redundancy.org/ktr.out

I followed the instructions at:

http://monkey.org/freebsd/archive/freebsd-current/200709/msg00443.html

but used the KTR suggestions on rwatson's page, with the addition of
KTR_SCHED.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Alexandre "Sunny" Kovalenko

On Sun, 2008-01-06 at 20:22 -0500, Nathan Lay wrote:
> Alexandre "Sunny" Kovalenko wrote:
> > On Sun, 2008-01-06 at 23:58 +0100, Johannes Dieterich wrote:
> >   
> >> On 1/6/08, Henrik Brix Andersen <[EMAIL PROTECTED]> wrote:
> >> 
> >>> On Sun, Jan 06, 2008 at 10:26:48PM +0100, Johannes Dieterich wrote:
> >>>   
>  X and T series of the thinkpads are rather different, even the cores are
>  completely different (I have a dualcore low-voltage version, I assume
>  yours is running on a dual Pentium m, or?).
>  
> >>> FWIW, I haven't seen any temperature related issues on my ThinkPad
> >>> X60s, which has been tracking -CURRENT for the last year or so.
> >>>
> >>> It too has had the IPW3945 replaced by an Atheros wireless card, but
> >>> it is still using the original HDD.
> >>>
> >>>
> >>>   
> >> Can the HDD change already cause such a thing? Besides that: I have not
> >> configured anything myself concerning ACPI. Anyone any idea what/where/how
> >> to check? I DO think that the fan is working. I can hear it (and it does 
> >> not
> >> sound ill) and it also shows in
> >>
> >> $ sysctl dev.acpi_ibm
> >> dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
> >> dev.acpi_ibm.0.%driver: acpi_ibm
> >> dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
> >> dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
> >> dev.acpi_ibm.0.%parent: acpi0
> >> dev.acpi_ibm.0.initialmask: 2060
> >> dev.acpi_ibm.0.availmask: 16777215
> >> dev.acpi_ibm.0.events: 0
> >> dev.acpi_ibm.0.eventmask: 2060
> >> dev.acpi_ibm.0.hotkey: 1443
> >> dev.acpi_ibm.0.lcd_brightness: 0
> >> dev.acpi_ibm.0.volume: 9
> >> dev.acpi_ibm.0.mute: 0
> >> dev.acpi_ibm.0.thinklight: 0
> >> dev.acpi_ibm.0.bluetooth: 0
> >> dev.acpi_ibm.0.wlan: 1
> >> dev.acpi_ibm.0.fan_speed: 4071
> >> dev.acpi_ibm.0.fan_level: 0
> >> dev.acpi_ibm.0.fan: 1
> >> dev.acpi_ibm.0.thermal: 62 61 -1 58 43 -1 40 -1
> >>
> >> Now not being touched at all for an hour and just idling around. Besides it
> >> did work under 6.2 without problems, would be a crazy coincident if right
> >> with the update the fan broke.
> >>
> >> Any idea anyone? :S
> >> 
> >
> > First -- the disclaimer -- mine is X60 (not X60s), but with 1.83GHz
> > 32-bit CPU, so it should be somewhat similar to yours. At the moment it
> > has USB drivers loaded, which tends to bump CPU utilization and
> > temperature. It has UltraBase attached and is sitting on top of the
> > aluminum passive cooler pad.
> >
> > It was bought originally with the Atheros card and 100GB drive and 1GB
> > of memory was added later to the total of 2GB.
> >
> > System is -CURRENT as of January 5th 18:00 EST. This laptop was tracking
> > -CURRENT pretty close since I have acquired it 15 month ago. It does
> > buildwords with -j5 at least weekly.
> >
> > At the moment, I am writing this E-mail and playing some music, using
> > Amarok. It is on the wired network ATM, but I do not recall any thermal
> > problems while using wireless connection.
> >
> > dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
> > dev.acpi_ibm.0.%driver: acpi_ibm
> > dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
> > dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
> > dev.acpi_ibm.0.%parent: acpi0
> > dev.acpi_ibm.0.initialmask: 2060
> > dev.acpi_ibm.0.availmask: 16777215
> > dev.acpi_ibm.0.events: 0
> > dev.acpi_ibm.0.eventmask: 2060
> > dev.acpi_ibm.0.hotkey: 133
> > dev.acpi_ibm.0.lcd_brightness: 0
> > dev.acpi_ibm.0.volume: 7
> > dev.acpi_ibm.0.mute: 0
> > dev.acpi_ibm.0.thinklight: 0
> > dev.acpi_ibm.0.bluetooth: 1
> > dev.acpi_ibm.0.wlan: 1
> > dev.acpi_ibm.0.fan_speed: 2874
> > dev.acpi_ibm.0.fan_level: 0
> > dev.acpi_ibm.0.fan: 1
> > dev.acpi_ibm.0.thermal: 62 52 -1 61 39 -1 37 -1
> > RabbitsDen# sysctl -a | grep temperature
> > hw.acpi.thermal.tz0.temperature: 62.0C
> > hw.acpi.thermal.tz1.temperature: 62.0C
> > dev.cpu.0.temperature: 63 // You need coretemp.ko loaded 
> > dev.cpu.1.temperature: 63 // to get these values.
> > RabbitsDen# 
> >
> > I does look shade cooler then yours, and fan is running at the lower
> > speed.
> >
> > I will try to list things that I do/have done, and you can compare them
> > to your setup:
> > -- BIOS is updated to the latest level (I do keep XP partition for this
> > specific purpose).
> > -- I run powerd:
> > powerd_enable="YES"
> > powerd_flags="-a adaptive -b adaptive -i 75 -r 65"
> > -- I set hw.pci.do_power_nodriver="3" in /boot/loader.conf
> > -- I run GNOME (please, no religious wars here)
> > -- I set low CPU state to C2 in rc.conf
> > performance_cx_lowest="C2"# Online CPU idle state
> > economy_cx_lowest="C2"   # Offline CPU idle state
> >
> > I could not think of anything else related to the temperature, ATM.
> >   
> >> Thanks,
> >>
> >> Johannes
> >> ___
> >> freebsd-stable@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> >> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Nathan Lay

Alexandre "Sunny" Kovalenko wrote:

On Sun, 2008-01-06 at 23:58 +0100, Johannes Dieterich wrote:
  

On 1/6/08, Henrik Brix Andersen <[EMAIL PROTECTED]> wrote:


On Sun, Jan 06, 2008 at 10:26:48PM +0100, Johannes Dieterich wrote:
  

X and T series of the thinkpads are rather different, even the cores are
completely different (I have a dualcore low-voltage version, I assume
yours is running on a dual Pentium m, or?).


FWIW, I haven't seen any temperature related issues on my ThinkPad
X60s, which has been tracking -CURRENT for the last year or so.

It too has had the IPW3945 replaced by an Atheros wireless card, but
it is still using the original HDD.


  

Can the HDD change already cause such a thing? Besides that: I have not
configured anything myself concerning ACPI. Anyone any idea what/where/how
to check? I DO think that the fan is working. I can hear it (and it does not
sound ill) and it also shows in

$ sysctl dev.acpi_ibm
dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
dev.acpi_ibm.0.%driver: acpi_ibm
dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
dev.acpi_ibm.0.%parent: acpi0
dev.acpi_ibm.0.initialmask: 2060
dev.acpi_ibm.0.availmask: 16777215
dev.acpi_ibm.0.events: 0
dev.acpi_ibm.0.eventmask: 2060
dev.acpi_ibm.0.hotkey: 1443
dev.acpi_ibm.0.lcd_brightness: 0
dev.acpi_ibm.0.volume: 9
dev.acpi_ibm.0.mute: 0
dev.acpi_ibm.0.thinklight: 0
dev.acpi_ibm.0.bluetooth: 0
dev.acpi_ibm.0.wlan: 1
dev.acpi_ibm.0.fan_speed: 4071
dev.acpi_ibm.0.fan_level: 0
dev.acpi_ibm.0.fan: 1
dev.acpi_ibm.0.thermal: 62 61 -1 58 43 -1 40 -1

Now not being touched at all for an hour and just idling around. Besides it
did work under 6.2 without problems, would be a crazy coincident if right
with the update the fan broke.

Any idea anyone? :S



First -- the disclaimer -- mine is X60 (not X60s), but with 1.83GHz
32-bit CPU, so it should be somewhat similar to yours. At the moment it
has USB drivers loaded, which tends to bump CPU utilization and
temperature. It has UltraBase attached and is sitting on top of the
aluminum passive cooler pad.

It was bought originally with the Atheros card and 100GB drive and 1GB
of memory was added later to the total of 2GB.

System is -CURRENT as of January 5th 18:00 EST. This laptop was tracking
-CURRENT pretty close since I have acquired it 15 month ago. It does
buildwords with -j5 at least weekly.

At the moment, I am writing this E-mail and playing some music, using
Amarok. It is on the wired network ATM, but I do not recall any thermal
problems while using wireless connection.

dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
dev.acpi_ibm.0.%driver: acpi_ibm
dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
dev.acpi_ibm.0.%parent: acpi0
dev.acpi_ibm.0.initialmask: 2060
dev.acpi_ibm.0.availmask: 16777215
dev.acpi_ibm.0.events: 0
dev.acpi_ibm.0.eventmask: 2060
dev.acpi_ibm.0.hotkey: 133
dev.acpi_ibm.0.lcd_brightness: 0
dev.acpi_ibm.0.volume: 7
dev.acpi_ibm.0.mute: 0
dev.acpi_ibm.0.thinklight: 0
dev.acpi_ibm.0.bluetooth: 1
dev.acpi_ibm.0.wlan: 1
dev.acpi_ibm.0.fan_speed: 2874
dev.acpi_ibm.0.fan_level: 0
dev.acpi_ibm.0.fan: 1
dev.acpi_ibm.0.thermal: 62 52 -1 61 39 -1 37 -1
RabbitsDen# sysctl -a | grep temperature
hw.acpi.thermal.tz0.temperature: 62.0C
hw.acpi.thermal.tz1.temperature: 62.0C
dev.cpu.0.temperature: 63 // You need coretemp.ko loaded 
dev.cpu.1.temperature: 63 // to get these values.
RabbitsDen# 


I does look shade cooler then yours, and fan is running at the lower
speed.

I will try to list things that I do/have done, and you can compare them
to your setup:
-- BIOS is updated to the latest level (I do keep XP partition for this
specific purpose).
-- I run powerd:
powerd_enable="YES"
powerd_flags="-a adaptive -b adaptive -i 75 -r 65"
-- I set hw.pci.do_power_nodriver="3" in /boot/loader.conf
-- I run GNOME (please, no religious wars here)
-- I set low CPU state to C2 in rc.conf
performance_cx_lowest="C2"# Online CPU idle state
economy_cx_lowest="C2"   # Offline CPU idle state

I could not think of anything else related to the temperature, ATM.
  

Thanks,

Johannes
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



  
62C looks awfully high for playing music and writing emails.  I have a 
Thinkpad T43 (and T40) and it usually stays between 40-50C while doing 
those types of things.  When its building world, I get around 70C and 
usually no higher. 
I do notice, however, that FreeBSD seemed to never use the fan to its 
potential on any of the Thinkpads I've used (T40 for 3 years, T43 for 3 
years).  Comparably, Windows XP would rev the fan far higher than even 
setting 'dev.acpi_ibm.0.fan_level=7' when under load.  The fan can 
certainly work faster (even when booting FreeBSD, its audibly 
faste

Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Alexandre "Sunny" Kovalenko

On Sun, 2008-01-06 at 23:58 +0100, Johannes Dieterich wrote:
> On 1/6/08, Henrik Brix Andersen <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, Jan 06, 2008 at 10:26:48PM +0100, Johannes Dieterich wrote:
> > > X and T series of the thinkpads are rather different, even the cores are
> > > completely different (I have a dualcore low-voltage version, I assume
> > > yours is running on a dual Pentium m, or?).
> >
> > FWIW, I haven't seen any temperature related issues on my ThinkPad
> > X60s, which has been tracking -CURRENT for the last year or so.
> >
> > It too has had the IPW3945 replaced by an Atheros wireless card, but
> > it is still using the original HDD.
> >
> >
> Can the HDD change already cause such a thing? Besides that: I have not
> configured anything myself concerning ACPI. Anyone any idea what/where/how
> to check? I DO think that the fan is working. I can hear it (and it does not
> sound ill) and it also shows in
> 
> $ sysctl dev.acpi_ibm
> dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
> dev.acpi_ibm.0.%driver: acpi_ibm
> dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
> dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
> dev.acpi_ibm.0.%parent: acpi0
> dev.acpi_ibm.0.initialmask: 2060
> dev.acpi_ibm.0.availmask: 16777215
> dev.acpi_ibm.0.events: 0
> dev.acpi_ibm.0.eventmask: 2060
> dev.acpi_ibm.0.hotkey: 1443
> dev.acpi_ibm.0.lcd_brightness: 0
> dev.acpi_ibm.0.volume: 9
> dev.acpi_ibm.0.mute: 0
> dev.acpi_ibm.0.thinklight: 0
> dev.acpi_ibm.0.bluetooth: 0
> dev.acpi_ibm.0.wlan: 1
> dev.acpi_ibm.0.fan_speed: 4071
> dev.acpi_ibm.0.fan_level: 0
> dev.acpi_ibm.0.fan: 1
> dev.acpi_ibm.0.thermal: 62 61 -1 58 43 -1 40 -1
> 
> Now not being touched at all for an hour and just idling around. Besides it
> did work under 6.2 without problems, would be a crazy coincident if right
> with the update the fan broke.
> 
> Any idea anyone? :S

First -- the disclaimer -- mine is X60 (not X60s), but with 1.83GHz
32-bit CPU, so it should be somewhat similar to yours. At the moment it
has USB drivers loaded, which tends to bump CPU utilization and
temperature. It has UltraBase attached and is sitting on top of the
aluminum passive cooler pad.

It was bought originally with the Atheros card and 100GB drive and 1GB
of memory was added later to the total of 2GB.

System is -CURRENT as of January 5th 18:00 EST. This laptop was tracking
-CURRENT pretty close since I have acquired it 15 month ago. It does
buildwords with -j5 at least weekly.

At the moment, I am writing this E-mail and playing some music, using
Amarok. It is on the wired network ATM, but I do not recall any thermal
problems while using wireless connection.

dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
dev.acpi_ibm.0.%driver: acpi_ibm
dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
dev.acpi_ibm.0.%parent: acpi0
dev.acpi_ibm.0.initialmask: 2060
dev.acpi_ibm.0.availmask: 16777215
dev.acpi_ibm.0.events: 0
dev.acpi_ibm.0.eventmask: 2060
dev.acpi_ibm.0.hotkey: 133
dev.acpi_ibm.0.lcd_brightness: 0
dev.acpi_ibm.0.volume: 7
dev.acpi_ibm.0.mute: 0
dev.acpi_ibm.0.thinklight: 0
dev.acpi_ibm.0.bluetooth: 1
dev.acpi_ibm.0.wlan: 1
dev.acpi_ibm.0.fan_speed: 2874
dev.acpi_ibm.0.fan_level: 0
dev.acpi_ibm.0.fan: 1
dev.acpi_ibm.0.thermal: 62 52 -1 61 39 -1 37 -1
RabbitsDen# sysctl -a | grep temperature
hw.acpi.thermal.tz0.temperature: 62.0C
hw.acpi.thermal.tz1.temperature: 62.0C
dev.cpu.0.temperature: 63 // You need coretemp.ko loaded 
dev.cpu.1.temperature: 63 // to get these values.
RabbitsDen# 

I does look shade cooler then yours, and fan is running at the lower
speed.

I will try to list things that I do/have done, and you can compare them
to your setup:
-- BIOS is updated to the latest level (I do keep XP partition for this
specific purpose).
-- I run powerd:
powerd_enable="YES"
powerd_flags="-a adaptive -b adaptive -i 75 -r 65"
-- I set hw.pci.do_power_nodriver="3" in /boot/loader.conf
-- I run GNOME (please, no religious wars here)
-- I set low CPU state to C2 in rc.conf
performance_cx_lowest="C2"# Online CPU idle state
economy_cx_lowest="C2"   # Offline CPU idle state

I could not think of anything else related to the temperature, ATM.
> 
> Thanks,
> 
> Johannes
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Alexandre "Sunny" Kovalenko

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Johannes Dieterich
On 1/6/08, Jeremy Chadwick <[EMAIL PROTECTED]> wrote:
>
>
> All temperatures were compared when the systems were idling.
>
> The variance in temperatures was astounding.  In some cases, there was a
> almost a 20C difference between two machines, especially around the GPU
> area.  In other cases, batteries were reporting insane temperatures on
> one laptop (over 90C), while on another well within scope (~25-26C).

Sounds crazy...


My particular laptop is a problem child when it comes to noise -- that
> is to say, within literally seconds of the machine finishing POST, the
> fan kicks on, then 15-20 seconds later, increases speed.  My co-workers'
> laptops do not have this problem.  Cleaning out the heatsink area using
> a can of air made no difference.

It is rather clean, I'd say. Just recently I changed the keyboard from
German version to US and then tried to blow off all the dust.


I won't even bother mentioning what happens when I run something that's
> CPU or GPU intensive.  I haven't had any crashes, but in some cases,
> I've seen the GPU temperatures reach over 80C -- completely
> unacceptable, and bordering on insane.  It's gotten to the point where
> to use my T60p *quietly*, I'm forced to prop the rear corners up on
> little blocks or whatever, and then place a desk fan nearby, blowing
> cold air more or less underneathe the laptop.  This keeps the fan in low
> speed mode, which is semi-tolerable.

Unfortunately this is not an option for me since I am running it at home in
the docking station.


I *haven't* had any crashes or random system lockups, but many other
> co-workers of mine have, and it's safe to say heat is the cause.
>
> In my opinion, most of these laptops (the T60p series, and very likely
> related models!) are being assembled with improper amounts of thermal
> paste or TIM pads, without proper surface area contact.  Apple recently
> had a case of this happening as well with their Macbook Pros, where
> their assembly documentation stated they should use an *entire tube* of
> thermal paste between the CPU and the heatsink.

I don't know why it should then show right now. I mean: could it somehow?
Within those 1.5 years of having it, it ran Linux and FreeBSD. And
always without a problem. Until now. And I really haven't touched
anything in the ACPI configuration.



Lenovo should be ashamed at the lack of quality control used when these
> things are built.  Again, this is a laptop given to me by my workplace
> for work, so it's really not my choice (nor can I disassemble it to
> examine or fix what the problem might be) -- but if I ever am to buy a
> laptop for personal use, Lenovo would not be on my list of vendors.

I do agree with you that the quality has decreased dramatically since the
IBM/Lenovo deal, IMHO. Still they are the better ones on the market, IMHO.
Anyway...


I would urge those here to consider booting XP somehow (if possible) and
> running tp4xfancontrol to check actual temperatures, since FreeBSD's
> h/w monitoring capability is spotty at best (I think Linux wins out
> here, but at least there's room for growth...)

Sorry. XP is killed completely and I would need to fix myself a HDD from
somewhere and install it from scratch...

What remains for me, is that it has never been a problem. Until 7.0. And if
there is no hardware failure coincidence, it must be a mysterious (at least
for me... ;-)  ) software/configuration problem.

BTW: how certain can I be that the reported temperatures are REAL
temperatures?

Regards,

Johannes
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Johannes Dieterich
On 1/6/08, Henrik Brix Andersen <[EMAIL PROTECTED]> wrote:
>
> On Sun, Jan 06, 2008 at 10:26:48PM +0100, Johannes Dieterich wrote:
> > X and T series of the thinkpads are rather different, even the cores are
> > completely different (I have a dualcore low-voltage version, I assume
> > yours is running on a dual Pentium m, or?).
>
> FWIW, I haven't seen any temperature related issues on my ThinkPad
> X60s, which has been tracking -CURRENT for the last year or so.
>
> It too has had the IPW3945 replaced by an Atheros wireless card, but
> it is still using the original HDD.
>
>
Can the HDD change already cause such a thing? Besides that: I have not
configured anything myself concerning ACPI. Anyone any idea what/where/how
to check? I DO think that the fan is working. I can hear it (and it does not
sound ill) and it also shows in

$ sysctl dev.acpi_ibm
dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
dev.acpi_ibm.0.%driver: acpi_ibm
dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
dev.acpi_ibm.0.%parent: acpi0
dev.acpi_ibm.0.initialmask: 2060
dev.acpi_ibm.0.availmask: 16777215
dev.acpi_ibm.0.events: 0
dev.acpi_ibm.0.eventmask: 2060
dev.acpi_ibm.0.hotkey: 1443
dev.acpi_ibm.0.lcd_brightness: 0
dev.acpi_ibm.0.volume: 9
dev.acpi_ibm.0.mute: 0
dev.acpi_ibm.0.thinklight: 0
dev.acpi_ibm.0.bluetooth: 0
dev.acpi_ibm.0.wlan: 1
dev.acpi_ibm.0.fan_speed: 4071
dev.acpi_ibm.0.fan_level: 0
dev.acpi_ibm.0.fan: 1
dev.acpi_ibm.0.thermal: 62 61 -1 58 43 -1 40 -1

Now not being touched at all for an hour and just idling around. Besides it
did work under 6.2 without problems, would be a crazy coincident if right
with the update the fan broke.

Any idea anyone? :S

Thanks,

Johannes
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Jeremy Chadwick
On Sun, Jan 06, 2008 at 11:20:40PM +0100, Henrik Brix Andersen wrote:
> On Sun, Jan 06, 2008 at 10:26:48PM +0100, Johannes Dieterich wrote:
> > X and T series of the thinkpads are rather different, even the cores are
> > completely different (I have a dualcore low-voltage version, I assume
> > yours is running on a dual Pentium m, or?).
> 
> FWIW, I haven't seen any temperature related issues on my ThinkPad
> X60s, which has been tracking -CURRENT for the last year or so.

My below comment isn't FreeBSD-specific, but I thought I might chime in
with some semi-relevant information anyway.

My workplace recently gave us all T60p (widescreen) units which run
Windows (originally XP, now Vista (isn't my choice...)).  While we were
on XP, some of us had a chance to compare thermals using the
tp4xfancontrol program.  For those not familiar with it, it gives
thermal stats of 7 or 8 different regions on the board, ranging from CPU
(not on-die cores; those you can get elsewhere) to GPU to battery
temperatures to whatever else.  It also lets you control fan speed, in
case you disagree with one of the two methods being used for automated
control.

All temperatures were compared when the systems were idling.

The variance in temperatures was astounding.  In some cases, there was a
almost a 20C difference between two machines, especially around the GPU
area.  In other cases, batteries were reporting insane temperatures on
one laptop (over 90C), while on another well within scope (~25-26C).

My particular laptop is a problem child when it comes to noise -- that
is to say, within literally seconds of the machine finishing POST, the
fan kicks on, then 15-20 seconds later, increases speed.  My co-workers'
laptops do not have this problem.  Cleaning out the heatsink area using
a can of air made no difference.

I won't even bother mentioning what happens when I run something that's
CPU or GPU intensive.  I haven't had any crashes, but in some cases,
I've seen the GPU temperatures reach over 80C -- completely
unacceptable, and bordering on insane.  It's gotten to the point where
to use my T60p *quietly*, I'm forced to prop the rear corners up on
little blocks or whatever, and then place a desk fan nearby, blowing
cold air more or less underneathe the laptop.  This keeps the fan in low
speed mode, which is semi-tolerable.

I *haven't* had any crashes or random system lockups, but many other
co-workers of mine have, and it's safe to say heat is the cause.

In my opinion, most of these laptops (the T60p series, and very likely
related models!) are being assembled with improper amounts of thermal
paste or TIM pads, without proper surface area contact.  Apple recently
had a case of this happening as well with their Macbook Pros, where
their assembly documentation stated they should use an *entire tube* of
thermal paste between the CPU and the heatsink.

Lenovo should be ashamed at the lack of quality control used when these
things are built.  Again, this is a laptop given to me by my workplace
for work, so it's really not my choice (nor can I disassemble it to
examine or fix what the problem might be) -- but if I ever am to buy a
laptop for personal use, Lenovo would not be on my list of vendors.

I would urge those here to consider booting XP somehow (if possible) and
running tp4xfancontrol to check actual temperatures, since FreeBSD's
h/w monitoring capability is spotty at best (I think Linux wins out
here, but at least there's room for growth...)

http://sourceforge.net/project/showfiles.php?group_id=153962

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Henrik Brix Andersen
On Sun, Jan 06, 2008 at 10:26:48PM +0100, Johannes Dieterich wrote:
> X and T series of the thinkpads are rather different, even the cores are
> completely different (I have a dualcore low-voltage version, I assume
> yours is running on a dual Pentium m, or?).

FWIW, I haven't seen any temperature related issues on my ThinkPad
X60s, which has been tracking -CURRENT for the last year or so.

It too has had the IPW3945 replaced by an Atheros wireless card, but
it is still using the original HDD.

Brix
-- 
Henrik Brix Andersen <[EMAIL PROTECTED]>


pgpl8Yk0ql6Lg.pgp
Description: PGP signature


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Johannes Dieterich
Hello Tobias,

I have to admitt, that I never had special interest in any temperatures of
my notebook whilst it was still running 6.2. It just worked.. ;-)

X and T series of the thinkpads are rather different, even the cores are
completely different (I have a dualcore low-voltage version, I assume
yours is running on a dual Pentium m, or?).

But good to know that it works for some people/thinkpads! :-)

Bye,

Johannes

On 1/6/08, Tobias Roth <[EMAIL PROTECTED]> wrote:
>
> Johannes Dieterich wrote:
> > Hello everybody!
> >
> > Since the update from 6.2-STABLE to 7.0 I'm encountering problems with
> the
> > temperature of my Thinkpad X60s. Under heavy load, e.g., make builworld
> or
> > compile gcc or... I get the following output in /var/log/messages:
>
> Hum, for what it's worth, I found that the opposite is true for my
> Thinkpad T43p. After I updated to 7.0-BETA-something, I could turn off
> the cpu fan completely and have the notebook not go above 70 deg celsius
> when being idle. This did not work before 7.0.
>
> My maximum temperature under load (with fans running of course) was and
> still is around 75 deg celsius.
>
> Regards,
> Tobias
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overheating Thinkpad X60s with 7.0-RC1

2008-01-06 Thread Tobias Roth
Johannes Dieterich wrote:
> Hello everybody!
> 
> Since the update from 6.2-STABLE to 7.0 I'm encountering problems with the
> temperature of my Thinkpad X60s. Under heavy load, e.g., make builworld or
> compile gcc or... I get the following output in /var/log/messages:

Hum, for what it's worth, I found that the opposite is true for my
Thinkpad T43p. After I updated to 7.0-BETA-something, I could turn off
the cpu fan completely and have the notebook not go above 70 deg celsius
when being idle. This did not work before 7.0.

My maximum temperature under load (with fans running of course) was and
still is around 75 deg celsius.

Regards,
Tobias
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot mount a nfs share after doing a snapshot

2008-01-06 Thread Jose Garcia Juanino
Hi Greg

El domingo 06 de enero a las 15:41:21 CET, Greg Byshenk escribió:
> On Sat, Jan 05, 2008 at 11:28:31PM +0100, Jose Garcia Juanino wrote:
>  
> > I have a 7.0-PRERELEASE i386 system with a nfs server, with an unique export
> > line in /etc/exports file:
> > 
> > / -maproot=root -network 192.168.1.0 -mask 255.255.255.0
> > 
> > After a reboot, I have no problem mounting this nfs share from a nfs client.
> > But after issuing the following command on the server:
> > 
> > # mount -u -o snapshot /.snap/now /
> 
> Is the problem that you are trying to mount your snapshot on top of the /
> directory?  I use snapshots, but have never tried to do this, and can 
> imagine that there might be a problem, since the snapshot is itself a
> snapshot of a filesystem (different than the actual root filesystem).
> 
> That would explain the error:
> 
> > Jan  5 22:47:03 gauss mountd[542]: can't delete exports for /: Cross-device 
> > link

No, I am not trying to mount the snapshot. I am just taking (making) the
snapshot, as man mount says.

> What happens if you create a directory and mount your snapshot there:
> 
>   mkdir /snapshotmount
>   mount -u -o snapshot /.snap/now /snapshotmount
>
> If this works, then you may need a separate exports line for /snapshotmount.

# file /.snap/now
/.snap/now: Unix Fast File system [v2] (little-endian) last mounted on
/, last written at Sun Jan  6 16:24:19 2008, clean flag 1, readonly flag
1, number of blocks 130721, number of data blocks 126520, number of
cylinder groups 4, block size 16384, fragment size 2048, average file
size 16384, average number of files in dir 64, pending blocks to free 0,
pending inodes to free 0, system-wide uuid 0, minimum percentage of free
blocks 8, TIME optimization

# mkdir /snapshotmount
# mount -u -o snapshot /.snap/now /snapshotmount
mount: /.snap/now : Invalid argument


The commands crashes becuase /snapshotmount is not a file system.


> If this fails, does it work if you use the more roundabout mount?  That is
> 
>   mdconfig -a -t vnode -f /.snapn/now -u 4
>   mount -r /dev/md4 /snapshotmount


Take into account that /.snap/now snapshot did not exists before, thus
your first command fails:

# mdconfig -a -t vnode -f /.snap/now -u 4
mdconfig: could not open /.snap/now: No such file or directory


Thanks a lot for your reply.

Regards


pgpBVyyGPUdph.pgp
Description: PGP signature


Re: Cannot mount a nfs share after doing a snapshot

2008-01-06 Thread Greg Byshenk
On Sat, Jan 05, 2008 at 11:28:31PM +0100, Jose Garcia Juanino wrote:
 
> I have a 7.0-PRERELEASE i386 system with a nfs server, with an unique export
> line in /etc/exports file:
> 
> / -maproot=root -network 192.168.1.0 -mask 255.255.255.0
> 
> After a reboot, I have no problem mounting this nfs share from a nfs client.
> But after issuing the following command on the server:
> 
> # mount -u -o snapshot /.snap/now /

Is the problem that you are trying to mount your snapshot on top of the /
directory?  I use snapshots, but have never tried to do this, and can 
imagine that there might be a problem, since the snapshot is itself a
snapshot of a filesystem (different than the actual root filesystem).

That would explain the error:

> Jan  5 22:47:03 gauss mountd[542]: can't delete exports for /: Cross-device 
> link

What happens if you create a directory and mount your snapshot there:

mkdir /snapshotmount
mount -u -o snapshot /.snap/now /snapshotmount

If this works, then you may need a separate exports line for /snapshotmount.

If this fails, does it work if you use the more roundabout mount?  That is

mdconfig -a -t vnode -f /.snapn/now -u 4
mount -r /dev/md4 /snapshotmount


-greg

 
> the syslog shows:
> 
> Jan  5 22:47:03 gauss mountd[542]: can't delete exports for /: Cross-device 
> link
> Jan  5 22:47:03 gauss mountd[542]: can't export /
> Jan  5 22:47:03 gauss mountd[542]: bad exports list line / -maproot
> 
> and I cannot mount this nfs share from a client anymore. The client
> complains with a "[udp] gauss:/: Permission denied" error message.
> 
> Some tips about this weird problem:
> 
> 1) On a 6.2-RELEASE nfs server does not happen (or I am not been able to
>reproduce it)
> 
> 2) It looks like it is not platform dependent, as on a 7.0-PRERELEASE
>sparc64 nfs server I get exactly the same result.
> 
> 3) If I issue the mksnap_ffs command to make the snapshot, I get no error
>messages from syslog and I can mount the nfs share from any nfs client.
> 
> 4) If the nfs server is a sparc64 the response of the nfs client is
>"[udp] riemann:/: RPCPROG_MNT: RPC: Can't decode result" (after issuing
>the  mount -u -o snapshot /.snap/now / command on the server, of
>course).
> 
> I have a custom kernel on the i386 nfs server. The output of
> 
> # config -x /boot/kernel/kernel
> 
> is:
> 
> #
> options CONFIG_AUTOGENERATED
> ident   MK2007Nov01
> machine i386
> cpu I686_CPU
> options CONSPEED=115200
> options ATA_STATIC_ID
> options AUDIT
> options STOP_NMI
> options ADAPTIVE_GIANT
> options KBD_INSTALL_CDEV
> options _KPOSIX_PRIORITY_SCHEDULING
> options SYSVSEM
> options SYSVMSG
> options SYSVSHM
> options KTRACE
> options SCSI_DELAY=2000
> options COMPAT_FREEBSD6
> options COMPAT_FREEBSD5
> options COMPAT_FREEBSD4
> options COMPAT_43TTY
> options GEOM_LABEL
> options GEOM_PART_GPT
> options PSEUDOFS
> options PROCFS
> options CD9660
> options MSDOSFS
> options NFS_ROOT
> options NFSSERVER
> options NFSCLIENT
> options MD_ROOT
> options UFS_DIRHASH
> options UFS_GJOURNAL
> options UFS_ACL
> options SOFTUPDATES
> options FFS
> options INET6
> options SCTP
> options INET
> options PREEMPTION
> options SCHED_4BSD
> options INCLUDE_CONFIG_FILE
> options KSE
> options GEOM_MBR
> options GEOM_BSD
> options ISAPNP
> device  isa
> device  npx
> device  mem
> device  io
> device  uart_ns8250
> device  apic
> device  cpufreq
> device  pci
> device  fdc
> device  ata
> device  atadisk
> device  atapicd
> device  atapifd
> device  scbus
> device  ch
> device  da
> device  sa
> device  cd
> device  pass
> device  ses
> device  atapicam
> device  atkbdc
> device  atkbd
> device  kbdmux
> device  psm
> device  vga
> device  splash
> device  sc
> device  apm
> device  pmtimer
> device  uart
> device  sio
> device  miibus
> device  rl
> device  loop
> device  random
> device  ether
> device  ppp
> device  tun
> device  pty
> device  firmware
> device  md
> device  gif
> device  faith
> device  bpf
> device  uhci
> device  usb
> device  ugen
> device  uhid
> device  umass
> device  smbus
> device  viapm
> device  smb
> device  iicbus
> device  iicbb
> device  ic
> device  iic
> device  iicsmb
> #
> 
> The dmesg -a output is:
> 
> #
> 
> Copyright (c) 1992-2008 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.0-PRERELEASE #0: Sun Dec 30 20:10:53 CET 2007
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MK2007Nov01
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel Pentium III (1002.28-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
>   
> Features=0x383f9ff
> real memory  = 1342111744 (1279 MB)
> avail memory = 1304973312 (1244 MB)
> kbd1 at kbdmux0
> cpu0

can't start multi-xserver in freebsd7.0-rc1 with xorg7.3

2008-01-06 Thread lveax
hey all.

in an old computer with freebsd 6.2 with xorg7.2,i use

"startx" and "startx -- :1"

 to launch tow xserver for different application environment with tow
normal user.

but in freebsd7.0-rc1 with xorg7.3 i only can use root user to startx
use DISPLAY :1(startx -- :1),with a normal user it only output :

waiting for X server to begin accepting connections.

how can i fix this?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"