Email:
|
Latest update September 05 2010 13:23:54
|
|
|
|
Nexoc Osiris E619 15,4" WSXGA+
2,2 GHz Intel Core 2 Duo (Santa Rosa) T7500
This is to share my experiences installing Debian Etch on the above mentioned notebook
Right after a standard net install of amd64 branch of Debian Etch base system i updated
the PCI ID list to get the most recent device informations in lspci:
nexoc:~# update-pciids
--13:08:10-- http://pciids.sourceforge.net/v2.2/pci.ids.bz2
=> `/usr/share/misc/pci.ids.new'
Resolving pciids.sourceforge.net... 66.35.250.209
Connecting to pciids.sourceforge.net|66.35.250.209|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 128,535 (126K) [text/plain]
100%[====================================>] 128,535 110.58K/s
13:08:12 (110.14 KB/s) - `/usr/share/misc/pci.ids.new' saved [128535/128535]
Done.
nexoc:~# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express
(rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection
(rev 61)
0e:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0e:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0e:06.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
0e:06.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
Sound
nexoc:/etc/modprobe.d# lspci -v
::
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: COMPAL Electronics Inc Unknown device 0025
Flags: bus master, fast devsel, latency 0, IRQ 98
Memory at f8400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
::
The sound card needs a fix that is implemented in the current alsa driver:
nexoc:# wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15rc3.tar
nexoc:# tar zxf alsa-driver-1.0.15rc3.tar
::
nexoc:# cd alsa-driver-1.0.15rc3
::
nexoc:# configure
::
nexoc:# make
::
nexoc:# make install
::
Now i had to make a new entry at the end of the config file /etc/modprobe.d/alsa-base:
nexoc:# vi /etc/modprobe.d/alsa-base
::
options snd-hda-intel model=toshiba position_fix=2
After a forced reload of the alsa system sound worked:
/etc/init.d/alsa force-reload
|
|
X11 Display
nexoc:~# lspci -v
::
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)
(prog-if 00 [VGA controller])
Subsystem: COMPAL Electronics Inc Unknown device 0025
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at c6000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at c4000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at 2000 [size=128]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0
The standard XOrg driver did not wok for me (no screens found) so i installed the NVidia
binary kernel driver to get a working X11:
nexoc:~# wget http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86_64-100.14.23-pkg2.run
nexoc:~# sh NVIDIA-Linux-x86-100.14.11-pkg1.run
I've got a working X11 now.
Unfortunately the Nvidia module fails to unload and thus prevents my machine using hibernate so far.
I have no sulotion for that at the moment,
SD Card Reader
nexoc:~# lspci -v
::
0e:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
Subsystem: COMPAL Electronics Inc Unknown device 0025
Flags: bus master, medium devsel, latency 64, IRQ 23
Memory at f8100800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
::
Following hint at http://intr.overt.org/blog/?p=59
i issued the following as root:
nexoc:~# setpci -s 0e:06.1 ca=0x57
nexoc:~# setpci -s 0e:06.1 cb=0x02
nexoc:~# setpci -s 0e:06.1 ca=0x00
which resuts in some entries in /var/log/messages
Nov 5 18:11:45 nexoc kernel: mmcblk0: mmc0:fdb5 SD256 249088KiB
Nov 5 18:11:45 nexoc kernel: mmcblk0: p1
A check of available file systems:
nexoc:~# fdisk -l
::
::
Disk /dev/mmcblk0: 255 MB, 255066112 bytes
16 heads, 32 sectors/track, 973 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1
After that i can format...
nexoc:~# mkdosfs /dev/mmcblk0p1
mkdosfs 2.11 (12 Mar 2005)
...and mount the sd-card:
nexoc:~# mount /dev/mmcblk0p1 /mnt/root-old
Now i had to make it permanent after reboot by adding the setpci commands in /etc/rc.local
vi /etc/rc.local
|
|
WLAN
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection
(rev 61)
Subsystem: Intel Corporation Unknown device 1101
Flags: bus master, fast devsel, latency 0, IRQ 1272
Memory at f8000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [e0] Express Endpoint IRQ 0
Two pieces of software are needed to get it to work
mac80211
iwlwifi
Because Kernel 2.6.22 does already include mac80211 i did an kernel upgrade.
I had to use the Backport because at this moment 2.6.18 is the official one in Etch
nexoc:~# vi /etc/atp/sources.list
::
deb http://www.backports.org/debian etch-backports main contrib non-free
Kernel upgrade and reboot:
nexoc:/etc/apt# apt-get update
:::
nexoc:/etc/apt# apt-cache search linux-image-2.6.22
linux-headers-2.6.22-2-amd64 - Header files for Linux 2.6.22 on AMD64
linux-headers-2.6.22-2-vserver-amd64 - Header files for Linux 2.6.22 on AMD64
linux-image-2.6.22-2-amd64 - Linux 2.6.22 image on AMD64
linux-image-2.6.22-2-vserver-amd64 - Linux 2.6.22 image on AMD64
nexoc:/etc/apt# apt-get install linux-image-2.6.22-2-amd64 linux-headers-2.6.22-2-amd64
:::
shutdown -r now
Now installing iwlwifi (following this tutorial http://nanonanonano.net/linux/debian/iwlwifi):
nexoc:~/# KVER=$(uname -r | sed 's,-.*,,g')
nexoc:~/# echo $KVER
2.6.22
nexoc:~/# aptitude install linux-headers-$(uname -r) linux-source-$KVER firmware-iwlwifi build-essential wireless-tools
nexoc:~/# cd /usr/src
nexoc:/usr/src# tar jxf linux-source-$KVER.tar.bz2
nexoc:/usr/src# ln -s /usr/src/linux-source-$KVER /lib/modules/$(uname -r)/source
nexoc:/usr/src# wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.1.19.tgz
--14:31:03-- http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.1.19.tgz
=> `iwlwifi-1.1.19.tgz'
Resolving intellinuxwireless.org... 204.253.143.234
Connecting to intellinuxwireless.org|204.253.143.234|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 290,859 (284K) [application/x-gzip]
100%[==================================================================>] 290,859 217.87K/s
14:31:05 (217.32 KB/s) - `iwlwifi-1.1.19.tgz' saved [290859/290859]
nexoc:/usr/src# tar zxf iwlwifi-1.1.19.tgz
nexoc:/usr/src# cd iwlwifi-1.1.19
nexoc:/usr/src/iwlwifi-1.1.19# make
Checking kernel compatibility in:
/lib/modules/2.6.22-2-amd64/source
* Kernel requires compatibility version:
- Requires IEEE80211_CONF_CHANNEL_SWITCH compat.
- Remove CONFIG_IWLWIFI_HT option if defined
- Remove CONFIG_IWLWIFI_HT_AGG option if defined
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
+ Applying: patches/06-csa.patch
Add IEEE80211_CONF_CHANNEL_SWITCH define into iwlwifi.h
Makefile has been modified by generate_compatible, please run `make' again
make: *** [compatible/kversion] Error 1
A second call to make was neccessary:
nexoc:/usr/src/iwlwifi-1.1.19# make
make -C /lib/modules/2.6.22-2-amd64/source O=/lib/modules/2.6.22-2-amd64/build
M=/usr/src/iwlwifi-1.1.19/compatible/
EXTRA_CFLAGS="-DCONFIG_IWLWIFI_DEBUG=y -DCONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
-DCONFIG_IWLWIFI_SENSITIVITY=y -DCONFIG_IWLWIFI_QOS=y" modules
make[1]: Entering directory `/usr/src/linux-source-2.6.22'
CC [M] /usr/src/iwlwifi-1.1.19/compatible/iwl3945-base.o
CC [M] /usr/src/iwlwifi-1.1.19/compatible/iwl-3945.o
CC [M] /usr/src/iwlwifi-1.1.19/compatible/iwl-3945-rs.o
CC [M] /usr/src/iwlwifi-1.1.19/compatible/iwl4965-base.o
CC [M] /usr/src/iwlwifi-1.1.19/compatible/iwl-4965.o
CC [M] /usr/src/iwlwifi-1.1.19/compatible/iwl-4965-rs.o
LD [M] /usr/src/iwlwifi-1.1.19/compatible/iwl3945.o
LD [M] /usr/src/iwlwifi-1.1.19/compatible/iwl4965.o
Building modules, stage 2.
MODPOST 2 modules
CC /usr/src/iwlwifi-1.1.19/compatible/iwl3945.mod.o
LD [M] /usr/src/iwlwifi-1.1.19/compatible/iwl3945.ko
CC /usr/src/iwlwifi-1.1.19/compatible/iwl4965.mod.o
LD [M] /usr/src/iwlwifi-1.1.19/compatible/iwl4965.ko
make[1]: Leaving directory `/usr/src/linux-source-2.6.22'
nexoc:/usr/src/iwlwifi-1.1.19# make install
Module compatible/iwl4965.ko compatible/iwl3945.ko (s) installed into:
/lib/modules/2.6.22-2-amd64/kernel/drivers/net/wireless
Don't forget to copy firmware to your hotplug's firmware directory
and have the hotplug tools in place.
See INSTALL for more information.
nexoc:/usr/src/iwlwifi-1.1.19# depmod -a
nexoc:/usr/src/iwlwifi-1.1.19# dmesg
:::
:::
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.1.19ds
iwl4965: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0c:00.0 to 64
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
wmaster0: Selected rate control algorithm 'iwl-4965-rs'
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Wlan0 is now available
nexoc:/usr/src/iwlwifi-1.1.19# ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:1B:38:2B:A8:DF
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21b:38ff:fe2b:a8df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32903 errors:0 dropped:0 overruns:0 frame:0
TX packets:17170 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:48785148 (46.5 MiB) TX bytes:1320500 (1.2 MiB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
wlan0 Link encap:Ethernet HWaddr 00:13:E8:81:C5:39
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wmaster0 Link encap:UNSPEC HWaddr 00-13-E8-81-C5-39-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Joerg Schrammel - - Duisburg Germany
|
|