Wiki source for InstallLaptopDellD630


Show raw source

InstallLaptop > As my previous professional laptop dell E6400 was stolen, it was replaced with a wonderful Dell D630 o_O by our onsite support (yeah [[InstallLaptopLenovoThinkpadT510 I would have preferred the Lenovo Thinkpad T510]] I used for a project :/

===Installing Mageia2 on a Dell D630===
I was given this D630 with a locked bios disabling boot on usb key :/ so I had two options
~- PXE boot, well if it does not work I'll use it (I've already done it, needs some infrastructure)
~- CD boot, well I try with a DVD+RW as I could not find 700 MB CD-RW, only 650 MB :/

As usual, check [[https://wiki.mageia.org/en/Mageia_2_Release_Notes Release Notes]] and [[https://wiki.mageia.org/en/Mageia_2_Errata Errata]]

== burning a DVD+RW under Linux ==
As I was not sure of appropriate tools under windows XP (yeah, got this old fashioned OS, not even sure that W7 would work on the D630 anyway...) I used another PC with Linux and a DVD writer (yeah, only CDRW on D630, well...).

I used http://www.cyberciti.biz/tips/howto-linux-write-burn-data-to-dvd-or-dvdrw.html
~- verify that dvd+rw-tools is installed, for me it's dvd+rw-tools-7.1-4.mga1 (given by ##rpm -qa|grep dvd##) otherwise I would have used ##urpmi dvd+rw-tools## to install it
~- my DVD writer is named /dev/dvdrw1 and not simply /dev/dvd, so the command I entered is : (otherwise I got :-( "/dev/dvd=Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD.iso": unexpected errno:No such file or directory)
~- [root@laphpy Téléchargements]# ##growisofs -Z /dev/dvdrw1=/home/baud/Téléchargements/Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD.iso##
%%Executing 'builtin_dd if=/home/baud/Téléchargements/Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD.iso of=/dev/dvdrw1 obs=32k seek=0'
/dev/dvdrw1: pre-formatting blank DVD+RW...
/dev/dvdrw1: "Current Write Speed" is 4.1x1352KBps.
14647296/702545920 ( 2.1%) @3.0x, remaining 3:07 RBU 99.9% UBU 4.0%
28508160/702545920 ( 4.1%) @3.0x, remaining 2:45 RBU 100.0% UBU 99.5%
42401792/702545920 ( 6.0%) @3.0x, remaining 2:35 RBU 100.0% UBU 99.5%
56295424/702545920 ( 8.0%) @3.0x, remaining 2:40 RBU 100.0% UBU 99.5%
70221824/702545920 (10.0%) @3.0x, remaining 2:33 RBU 99.9% UBU 99.5%
84115456/702545920 (12.0%) @3.0x, remaining 2:27 RBU 99.9% UBU 99.5%
98009088/702545920 (14.0%) @3.0x, remaining 2:28 RBU 100.0% UBU 99.5%
111902720/702545920 (15.9%) @3.0x, remaining 2:22 RBU 100.0% UBU 99.5%
125796352/702545920 (17.9%) @3.0x, remaining 2:17 RBU 100.0% UBU 99.5%
139689984/702545920 (19.9%) @3.0x, remaining 2:16 RBU 100.0% UBU 99.5%
153583616/702545920 (21.9%) @3.0x, remaining 2:12 RBU 100.0% UBU 99.0%
167477248/702545920 (23.8%) @3.0x, remaining 2:07 RBU 100.0% UBU 99.5%
181370880/702545920 (25.8%) @3.0x, remaining 2:06 RBU 100.0% UBU 99.5%
195264512/702545920 (27.8%) @3.0x, remaining 2:02 RBU 100.0% UBU 99.5%
209158144/702545920 (29.8%) @3.0x, remaining 1:57 RBU 100.0% UBU 99.5%
223051776/702545920 (31.7%) @3.0x, remaining 1:56 RBU 100.0% UBU 99.5%
236945408/702545920 (33.7%) @3.0x, remaining 1:52 RBU 100.0% UBU 99.5%
250839040/702545920 (35.7%) @3.0x, remaining 1:48 RBU 100.0% UBU 99.5%
264732672/702545920 (37.7%) @3.0x, remaining 1:45 RBU 100.0% UBU 99.5%
270041088/702545920 (38.4%) @1.1x, remaining 1:47 RBU 100.0% UBU 99.5%
284753920/702545920 (40.5%) @3.2x, remaining 1:42 RBU 100.0% UBU 99.5%
303235072/702545920 (43.2%) @4.0x, remaining 1:37 RBU 100.0% UBU 99.5%
321748992/702545920 (45.8%) @4.0x, remaining 1:31 RBU 100.0% UBU 99.5%
340230144/702545920 (48.4%) @4.0x, remaining 1:25 RBU 100.0% UBU 99.5%
358711296/702545920 (51.1%) @4.0x, remaining 1:20 RBU 100.0% UBU 99.5%
377225216/702545920 (53.7%) @4.0x, remaining 1:15 RBU 99.9% UBU 99.5%
395706368/702545920 (56.3%) @4.0x, remaining 1:09 RBU 100.0% UBU 99.5%
414187520/702545920 (59.0%) @4.0x, remaining 1:05 RBU 100.0% UBU 99.2%
432701440/702545920 (61.6%) @4.0x, remaining 1:00 RBU 100.0% UBU 99.5%
451182592/702545920 (64.2%) @4.0x, remaining 0:55 RBU 100.0% UBU 99.5%
469663744/702545920 (66.9%) @4.0x, remaining 0:51 RBU 100.0% UBU 99.5%
488177664/702545920 (69.5%) @4.0x, remaining 0:46 RBU 100.0% UBU 99.5%
506658816/702545920 (72.1%) @4.0x, remaining 0:42 RBU 100.0% UBU 99.5%
525139968/702545920 (74.7%) @4.0x, remaining 0:38 RBU 100.0% UBU 99.2%
543621120/702545920 (77.4%) @4.0x, remaining 0:34 RBU 100.0% UBU 99.5%
562135040/702545920 (80.0%) @4.0x, remaining 0:29 RBU 100.0% UBU 99.5%
580616192/702545920 (82.6%) @4.0x, remaining 0:26 RBU 100.0% UBU 99.5%
599097344/702545920 (85.3%) @4.0x, remaining 0:21 RBU 100.0% UBU 99.5%
617611264/702545920 (87.9%) @4.0x, remaining 0:17 RBU 100.0% UBU 99.5%
636092416/702545920 (90.5%) @4.0x, remaining 0:13 RBU 100.0% UBU 99.2%
654573568/702545920 (93.2%) @4.0x, remaining 0:10 RBU 99.9% UBU 99.5%
673087488/702545920 (95.8%) @4.0x, remaining 0:06 RBU 87.8% UBU 99.5%
691568640/702545920 (98.4%) @4.0x, remaining 0:02 RBU 32.7% UBU 99.5%
builtin_dd: 343040*2KB out @ average 3.5x1352KBps
/dev/dvdrw1: flushing cache
/dev/dvdrw1: stopping de-icing
/dev/dvdrw1: writing lead-out
/dev/dvdrw1: reloading tray
%%
It took approximately 3 min to burn 670 MB on the DVD-RW, I have to try to boot on the D630

== first boots on DVD+RW ==
Just hold the F12 key to select alternate boot on the D630 (USB is unfortunately not available for me :/thanks to the admins).

hmmm booting on the DVD+RW seems to work at first, then I get a black screen (either for LiveCD or install Mageia2 :/).
I see the cauldron and the nice bluish curve, I get 2 or 3 bowls, then the screen goes black :/ maybe I do not wait suficiently long for DVD to be read (waiting for CD light to stop blinking... well I does stop and the screen remains black :/)

== text install ==
Trying text install', otherwise I'll have to rely on boot.iso (and put it on a CD-RW). I would prefer to get the LiveCD to boot first in order to have some information about the PC (and partition it beforehand).

hmmm the screen seems to get black once wifi is loaded :/ perhaps waiting for connection...

== using the boot.iso ==

Well, I had hoped to boot the LiveCD to get some information before installing and then partitionning before doing the actual install, did not go that well.
So I'm now using the boot.iso : with network install (will take 4 hours to install, instead of 20 minutes...). At least it seems to boot (yeah in text mode).

I'm using a CD-RW, which may make a difference : only 50 MB, burnt with brasero (which verifies that burning went well).

== partitioning Mageia2 ==

well, 120 GB, initial : 15 GB / 95 GB
next : 15 GB for windows, 20 GB for D: , 25 GB for / and 2 GB for swap (same as RAM) and 50 GB for /data (can be resized)

beginning at 23h45, will end up by 4 o'clock...

initial estimation : 2 hours...
waiting... 1:34
missing data throughput 500 kB/s ou 1 MB/s (which I would expect with my connection), changing mirror is it possible at this step ? (I do not think...)
waiting, eh 1:14 ! :)
eh 46 min, just 3 min later! fine...
now 5 min later, seems it's 27 min o_O
just 3 min later, remains 16 min...
now 20 seconds, 7 min later


== 1er redémarrage après install' ==

il est 0h18
Je suis sous gnome.

0h27 looking for touchpad configuration: tap for click, perhaps sliding with two fingers though I doubt it....


install' really finished at 1h27, well took nearly two hours...
hey now remains to reboot windows and then virtualize it to run under a trusted environment, add visio to convert files...

remains to be checked:
~- play a video
~- play a game
~- download a pdf
~- play ogg/vorbis music

===Some things to tweak after installation===
~- 1280x800 :/ console is huge, all windows in fact... maybe 96 dpi can be changed to 110 dpi ?
~~- change theme
~~- reduce fonts from size 11 to 8
~- ok found touchpad config for click with tap and a bit more reactivity...
~- xrandr is not installed by default, neither openssh-clients o_O
~~- I added task-gnome (only task-gnome-minimal was installed)
~~- I added chromium-browser and firefox-ext-adblock-plus
~~- I added usbutils to have lsusb
~- gnome-power-statistics is still available, not from the applet though
~~- gnome-power-statistics is available for battery graphics
~~- should be easily available on battery icon, I used it as it is more precise than a number only in real time
~- as unfortunately I've got a broadcom wifi (BCM4311 802.11a/b/g 14e4:4312) when I launched harddrake2 (from mageia control center aka mcc)
~~- it installed kernel-desktop-devel-3.3.6-2.mga2-1-1.mga2.i586 dkms-2.0.19-29.mga2.noarch broadcom-wl-kernel-3.3.6-desktop-2.mga2-5.100.82.112-27.mga2.nonfree.i586 broadcom-wl-kernel-desktop-latest-5.100.82.112-27.mga2.nonfree.i586 dkms-broadcom-wl-5.100.82.112-4.mga2.nonfree.i586 kernel-desktop-devel-latest-3.3.6-2.mga2.i586
~~- I had enabled "nonfree" repository beforehand (and tainted as software patent still remain illegal in Europe)

=== Remaining to do ===
~- mcc does not launch ? ok found: I should not have put a î in my name in /etc/passwd (got an error "wrong password" when trying to launch mcc after identifying as root...)
~- remove icon for universal access as I do not use it
~- add firmware for wifi
~- hide the status bar of gnome3 by default (I suppose there's an extension for this ?)

===Some bugs to report===
~- do not have special characters in your name (in /etc/passwd), otherwise drakconf does not launch (nor mcc nor drakxnet...)
~- check directory /var/cache/urpmi : seems there are files like ##<noscript><font p> ## with clean install from netinstall boot.iso (files dating back to 23 feb 2010)

===Some technical information===
~- lspcidrake -vv
%%firewire_ohci : O2 Micro, Inc.|Firewire (IEEE 1394) [SERIAL_FIREWIRE] (vendor:1217 device:00f7 subv:1028 subd:01f9) (rev: 02)
yenta_socket : O2 Micro, Inc.|Cardbus bridge [BRIDGE_CARDBUS] (vendor:1217 device:7135 subv:2401 subd:0000) (rev: 21)
tg3 : Broadcom Corporation|NetXtreme BCM5755M Gigabit Ethernet PCI Express [NETWORK_ETHERNET] (vendor:14e4 device:1673 subv:1028 subd:01f9) (rev: 02)
wl : Broadcom Corporation|BCM4311 802.11a/b/g [NETWORK_OTHER] (vendor:14e4 device:4312 subv:1028 subd:0007) (rev: 01)
i2c_i801 : Intel Corporation|82801H (ICH8 Family) SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:283e subv:1028 subd:01f9) (rev: 02)
ata_piix : Intel Corporation|82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] [STORAGE_IDE] (vendor:8086 device:2828 subv:1028 subd:01f9) (rev: 02)
ata_piix : Intel Corporation|82801HM/HEM (ICH8M/ICH8M-E) IDE Controller [STORAGE_IDE] (vendor:8086 device:2850 subv:1028 subd:01f9) (rev: 02)
iTCO_wdt : Intel Corporation|82801HM (ICH8M) LPC Interface Controller [BRIDGE_ISA] (vendor:8086 device:2815 subv:1028 subd:01f9) (rev: 02)
unknown : Intel Corporation|82801 Mobile PCI Bridge [BRIDGE_PCI] (vendor:8086 device:2448) (rev: f2)
ehci_hcd : Intel Corporation|82801H (ICH8 Family) USB2 EHCI Controller #1 [SERIAL_USB] (vendor:8086 device:2836 subv:1028 subd:01f9) (rev: 02)
uhci_hcd : Intel Corporation|82801H (ICH8 Family) USB UHCI Controller #3 [SERIAL_USB] (vendor:8086 device:2832 subv:1028 subd:01f9) (rev: 02)
uhci_hcd : Intel Corporation|82801H (ICH8 Family) USB UHCI Controller #2 [SERIAL_USB] (vendor:8086 device:2831 subv:1028 subd:01f9) (rev: 02)
uhci_hcd : Intel Corporation|82801H (ICH8 Family) USB UHCI Controller #1 [SERIAL_USB] (vendor:8086 device:2830 subv:1028 subd:01f9) (rev: 02)
shpchp : Intel Corporation|82801H (ICH8 Family) PCI Express Port 6 [BRIDGE_PCI] (vendor:8086 device:2849) (rev: 02)
shpchp : Intel Corporation|82801H (ICH8 Family) PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:2841) (rev: 02)
shpchp : Intel Corporation|82801H (ICH8 Family) PCI Express Port 1 [BRIDGE_PCI] (vendor:8086 device:283f) (rev: 02)
snd_hda_intel : Intel Corporation|82801H (ICH8 Family) HD Audio Controller (vendor:8086 device:284b subv:1028 subd:01f9) (rev: 02)
ehci_hcd : Intel Corporation|82801H (ICH8 Family) USB2 EHCI Controller #2 [SERIAL_USB] (vendor:8086 device:283a subv:1028 subd:01f9) (rev: 02)
uhci_hcd : Intel Corporation|82801H (ICH8 Family) USB UHCI Controller #5 [SERIAL_USB] (vendor:8086 device:2835 subv:1028 subd:01f9) (rev: 02)
uhci_hcd : Intel Corporation|82801H (ICH8 Family) USB UHCI Controller #4 [SERIAL_USB] (vendor:8086 device:2834 subv:1028 subd:01f9) (rev: 02)
unknown : Intel Corporation|Mobile GM965/GL960 Integrated Graphics Controller (secondary) [DISPLAY_OTHER] (vendor:8086 device:2a03 subv:1028 subd:01f9) (rev: 0c)
Card:Intel 810 and later: Intel Corporation|Mobile GM965/GL960 Integrated Graphics Controller (primary) [DISPLAY_VGA] (vendor:8086 device:2a02 subv:1028 subd:01f9) (rev: 0c)
unknown : Intel Corporation|Mobile PM965/GM965/GL960 Memory Controller Hub [BRIDGE_HOST] (vendor:8086 device:2a00 subv:1028 subd:01f9) (rev: 0c)
hub : Linux 3.3.6-desktop-2.mga2 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub : Linux 3.3.6-desktop-2.mga2 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub : Linux 3.3.6-desktop-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub : O2 Micro, Inc.|Oz776 1.1 Hub [Hub|Unused|Full speed (or root) hub] (vendor:0b97 device:7761)
unknown : O2|O2Micro CCID SC Reader [Chip/SmartCard] (vendor:0b97 device:7772)
hub : Linux 3.3.6-desktop-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub : Linux 3.3.6-desktop-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub : Linux 3.3.6-desktop-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub : Linux 3.3.6-desktop-2.mga2 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
%%

=== debugging broadcom wifi driver===
http://elrepo.org/bugs/view.php?id=193
http://forum.porteus.org/viewtopic.php?f=39&t=1099 some info
https://forums.mageia.org/en/viewtopic.php?f=25&t=2890 not the same problem (the user seems to get associated)
https://bugs.mageia.org/show_bug.cgi?id=6875 missing information, seems a bug related to mine
https://bugs.mageia.org/show_bug.cgi?id=6914 perhaps give a try to new kernel 3.3.8 packaged by tmb
https://bugs.mageia.org/show_bug.cgi?id=5015 tracker about all wifi problems

In my case, ##dmesg|less## shows
%%[ 14.519372] wl: module license 'unspecified' taints kernel.
[ 14.519376] Disabling lock debugging due to kernel taint
[ 14.530722] eth%d: 5.100.82.112 driver failed with code 21%%

##dkms status## # shows :
broadcom-wl, 5.100.82.112-4.mga2.nonfree, 3.3.6-desktop-2.mga2, i586: installed
broadcom-wl, 5.100.82.112-4.mga2.nonfree, 3.3.8-desktop-2.mga2, i586: installed
broadcom-wl, 5.100.82.112-4.mga2.nonfree, 3.3.6-desktop-2.mga2, i586: installed-binary from 3.3.6-desktop-2.mga2

dkms remove -m broadcom-wl -v 5.100.82.112-4.mga2.nonfree -k 3.3.8-desktop-2.mga2
%%
-------- Uninstall Beginning --------
Module: broadcom-wl
Version: 5.100.82.112-4.mga2.nonfree
Kernel: 3.3.8-desktop-2.mga2 (i586)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko.xz:
- Uninstallation
- Deleting from: /lib/modules/3.3.8-desktop-2.mga2/dkms/3rdparty/broadcom-wl/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...................

DKMS: uninstall Completed.
%%


ok worked by uninstalling DKMS for broadcom-wl : b43 is used and seems to work now (no longer asking for a missing firmware)
~- http://wireless.kernel.org/en/users/Drivers/b43
~- http://www.mageialinux-online.org/forum/topic-15410+probmeme-avec-broadcom-corporation-bcm4311.php#m148982 packages broadcom-ssb-config b43-openfwwf
~- the wifi kill switch is indeed on the left and enables/disables wifi

config for ""WinUP"" : WPA2 / enterprise / peap : missing the certificate authority


===repairing rpm===
I installed repository "updates Testing" which changed some rpm related packages, which seem partially broken (this happens with testing, to be used at your own risks...)

%%[RPM] librpm2-1:4.9.1.3-2.1.mga2.i586 installed
[RPM] rpm-1:4.9.1.3-2.1.mga2.i586 installed
[RPM] python-rpm-1:4.9.1.3-2.1.mga2.i586 installed
[RPM] kernel-desktop-3.3.8-2.mga2-1-1.mga2.i586 installed
[RPM] kernel-desktop-devel-3.3.8-2.mga2-1-1.mga2.i586 installed
[RPM] python-rpm-1:4.9.1.3-2.mga2.i586 removed
[RPM] rpm-1:4.9.1.3-2.mga2.i586 removed
[RPM] librpm2-1:4.9.1.3-2.mga2.i586 removed
%%
Afterwards, I began to have errors like:
%%kernel: [11465.823288] urpmi-dispatche[9845]: segfault at 3a87a178 ip b7122e48 sp bff77010 error 4 in librpm.so.2.0.3[b710d000+5e000]%%

%% rpm -qa|grep -E "rpm-4|librpm|python-rpm"
librpmsign2-4.9.1.3-2.mga2
python-rpm-4.9.1.3-2.1.mga2
librpmbuild2-4.9.1.3-2.mga2
librpm2-4.9.1.3-2.1.mga2
rpm-4.9.1.3-2.1.mga2
erreur: rpmdbNextIterator: on saute h# 1655 blob size(1274456): BAD, 8 + 16 * il(64) + dl(6196)
[root@localhost tmp]# ls -1
librpm2-4.9.1.3-2.mga2.i586.rpm
python-rpm-4.9.1.3-2.mga2.i586.rpm
rpm-4.9.1.3-2.mga2.i586.rpm
%%

%%
rpm -Uvh librpm2-4.9.1.3-2.mga2.i586.rpm python-rpm-4.9.1.3-2.mga2.i586.rpm rpm-4.9.1.3-2.mga2.i586.rpm
find . -type f | while read fichier ; do dest=`echo $fichier|sed "s/^\.//g"`; echo "cp $fichier $dest" ; done > ../remplace_rpm.sh
%%


%%urpmi --auto-update
le média « Core Release » est à jour
le média « Core Updates » est à jour
le média « Nonfree Release » est à jour
le média « Nonfree Updates » est à jour
le média « Tainted Release » est à jour
le média « Tainted Updates » est à jour
Freeing read locks for locker 0x9f: 1253/3070408400
Freeing read locks for locker 0xa1: 1253/3070408400
Freeing read locks for locker 0xa2: 1253/3070408400
Freeing read locks for locker 0xa3: 1253/3070408400
Freeing read locks for locker 0xa4: 1253/3070408400
Freeing read locks for locker 0xa5: 1253/3070408400
erreur: rpmdbNextIterator: on saute h# 1655 blob size(1274456): BAD, 8 + 16 * il(64) + dl(6196)
Erreur de segmentation
%%

%%rm /var/lib/__db* # remove rpm db
rpm --rebuilddb # repairs it
%%
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki