Subject: Re: NetBSD on HP Pavillion dv6000t
To: Ricardo Restituyo <warchiefx@gmail.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-users
Date: 07/04/2007 23:21:25
On 04/07/07, Ricardo Restituyo <warchiefx@gmail.com> wrote:
> Chavdar Ivanov wrote:
> > On 04/07/07, Ricardo Restituyo <warchiefx@gmail.com> wrote:
> >> Anyone has had experience running NetBSD on a HP Pavillion dv6000t
> >> laptop?
> >>
> >> Last time i tried to run the 2007 livecd, it couldn't detect the sata
> >> device, so it couldn't access the harddrive.
> >
> > -current supports SATA -
> >
> > % dmesg | grep -i sata
> > ahcisata0 at pci0 dev 31 function 2: Intel 82801GBM AHCI SATA Controller
> > ahcisata0: interrupting at ioapic0 pin 17 (irq 10)
> > ahcisata0: AHCI revision 1.1, 4 ports, 32 command slots, features
> > 0xdf12e000
> > atabus1 at ahcisata0 channel 0
> > ahcisata0 port 0: device present, speed: 1.5Gb/s
> > wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
> > (Ultra/100) (using DMA)
> >
> >
> >> Also, how is support for
> >> intel core 2 duo processors?
> >
> > I don't expect any problems; my laptop is Core Duo, though.
> Mine too, but i was wondering about the support for SMP and throttling
> for power consumption.

On mine:

(power supply connected)
% sysctl -a | grep freq
machdep.est.frequency.target = 1667
machdep.est.frequency.current = 1667
machdep.est.frequency.available = 1667 1000
(disconnect the power supply)
% sysctl -a | grep freq
machdep.est.frequency.target = 1000
machdep.est.frequency.current = 1000
machdep.est.frequency.available = 1667 1000

Not much, but helps to a degree. I can work about two hours on battery
this way.
( /etc/powerd/scripts/acadapter slightly tweaked as per the advice of others)

ACPI works reasonably well - i.e.:

% for i in 0 1 2 3 4 ; envstat -d acpitz$i
acpitz0 temperature:     55.000 degC
acpitz1 temperature:     49.000 degC
acpitz2 temperature:     47.000 degC
acpitz3 temperature:     33.700 degC
acpitz4 temperature:     40.000 degC

looks reasonable etc.

> >
> >>
> >> I've been running NetBSD on all my desktops for a while, and i would
> >> love to run it on my laptop.
> >
> > I've been running NetBSD on my laptop (well, four different laptops,
> > all HP, the present one - nx6310) for the last three years without
> > much problems. I tend to follow -current fairly closely - weekly
> > updates on average - and it has been with very few problems, despite
> > being "cutting edge" and potentially "unstable". You can run amd64,
> > but probably is not worth it - you are unlikely to have that much
> > memory available to justify it, so stick with i386.
> >
> >>
> >> Here is the output of lspci (running linux):
> >>
> >> 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and
> >> 945GT Express Memory Controller Hub (rev 03)
> >> 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and
> >> 945GT Express PCI Express Root Port (rev 03)
> >> 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> >> Definition Audio Controller (rev 02)
> >> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> >> Port 1 (rev 02)
> >> 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> >> Port 2 (rev 02)
> >> 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> >> Port 3 (rev 02)
> >> 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
> >> #1 (rev 02)
> >> 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
> >> #2 (rev 02)
> >> 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
> >> #3 (rev 02)
> >> 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
> >> #4 (rev 02)
> >> 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
> >> Controller (rev 02)
> >> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
> >> 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
> >> Bridge (rev 02)
> >> 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
> >> Controller (rev 02)
> >> 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family)
> >> Serial ATA Storage Controller AHCI (rev 02)
> >> 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
> >> (rev 02)
> >> 01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7400
> >> (rev a1)
> >
> > You probably won't be able to get DRI on this - I don't know what is
> > the status of the Nouveau project at this time. My Intel 945GM works
> > just fine with it.
> >
> >> 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
> >> Network Connection (rev 02)
> >
> > % dmesg | grep wpi
> > wpi0 at pci1 dev 0 function 0: Intel PRO/Wireless LAN 3945ABG Mini-PCI
> > Adapter (rev. 0x02)
> > wpi0: interrupting at ioapic0 pin 16 (irq 11)
> > wpi0: 802.11 address 00:13:02:b5:74:0f
> > wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> > wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> > wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> > 24Mbps 36Mbps 48Mbps 54Mbps
> >
> >
> >> 05:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet
> >> Controller
> >
> > Not sure about this.
> >
> In linux it will only read SD cards, it refuses to read memory sticks.

It was something like this.

> >> 07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
> >
> > % dmesg | grep fw
> > fwohci0 at pci2 dev 6 function 1: Texas Instruments product 0x803a (rev.
> > 0x00)
> > fwohci0: interrupting at ioapic0 pin 19 (irq 10)
> > fwohci0: OHCI version 1.10 (ROM=0)
> > fwohci0: No. of Isochronous channels is 4.
> > fwohci0: EUI64 00:02:3f:99:29:ad:3c:0c
> > fwohci0: Phy 1394a available S400, 3 ports.
> > fwohci0: Link S400, max_rec 2048 bytes.
> > ieee1394if0 at fwohci0: IEEE1394 bus
> > fwip0 at ieee1394if0: IP over IEEE1394
> > fwohci0: Initiate bus reset
> > fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
> > fwohci0: phy int
> >
> > so I can't be sure if your will work.
> >
> >> 07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
> >> SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
> >> 07:05.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
> >> 07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
> >> Adapter (rev 0a)
> >> 07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller
> >> (rev 05)
> >
> > I remember vaguely someone having problem with this, but don't take my
> > word for it.
> >
> >>
> >> And here is the cpu info:
> >>
> >> warchiefx@TheForge:~$ dmesg | grep CPU
> >> [   14.770901] Initializing CPU#0
> >> [   14.877026] CPU: After generic identify, caps: bfebfbff 20100000
> >> 00000000 00000000 0000e3bd 00000000 00000001
> >> [   14.877038] CPU: L1 I cache: 32K, L1 D cache: 32K
> >> [   14.877040] CPU: L2 cache: 2048K
> >> [   14.877043] CPU: Physical Processor ID: 0
> >> [   14.877044] CPU: Processor Core ID: 0
> >> [   14.877046] CPU: After all inits, caps: bfebfbff 20100000 00000000
> >> 00003940 0000e3bd 00000000 00000001
> >> [   15.189875] CPU0: Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
> >> stepping 06
> >> [   15.200355] Initializing CPU#1
> >> [   15.280340] CPU: After generic identify, caps: bfebfbff 20100000
> >> 00000000 00000000 0000e3bd 00000000 00000001
> >> [   15.280347] CPU: L1 I cache: 32K, L1 D cache: 32K
> >> [   15.280349] CPU: L2 cache: 2048K
> >> [   15.280351] CPU: Physical Processor ID: 0
> >> [   15.280352] CPU: Processor Core ID: 1
> >> [   15.280353] CPU: After all inits, caps: bfebfbff 20100000 00000000
> >> 00003940 0000e3bd 00000000 00000001
> >> [   15.280839] CPU1: Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
> >> stepping 06
> >> [   15.428137] checking TSC synchronization across 2 CPUs: passed.
> >> [    0.003996] Brought up 2 CPUs
> >> [    2.497314] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
> >> [    2.497318] ACPI: Processor [CPU0] (supports 8 throttling states)
> >> [    2.498198] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
> >> [    2.498203] ACPI: Processor [CPU1] (supports 8 throttling states)
> >>
> >>
> >> --
> >> WaRCHieFX
> >> "Duct tape is like the force. It has a light side, a dark side, and it
> >> holds the universe together...." -- Carl Zwanzig
> >>
> >

Chavdar Ivanov

> >
> Thanks for the info, i'll get current and try a build in some spare
> partition. Let's see how it goes, i'm tired of ubuntu.
>
> --
> Ricardo Restituyo
> "Duct tape is like the force. It has a light side, a dark side, and it
> holds the universe together...." -- Carl Zwanzig
>