You are not logged in.

#1 2009-12-09 10:49:08

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Archlinux on Samsung n130/n140

Hey gyus,

i am running Ubuntu  on my Samsung n130 and due to this kernel-issue: http://bugzilla.kernel.org/show_bug.cgi?id=14314

i get a system-freeze on every startup or after hibernation and because of that i am forced to use Windows XP (Samsung n140=same problems).

I tried several Distros and the only one that came out without Freezes was OpenSuse.

Unfortunately OpenSuse is way to blown up for this weak netbook. And on the other hand i lose about two hours of batterylife in Suse mad

However OpenSuse has implemented a kernel patch. You can see him on the bottom of this site: http://patchwork.kernel.org/patch/63209/


I am wondering if Archlinux has the same issues or has also implemented this patch.


I really want to use a simple lightweight linux-distribution. But i am unsure if arch can handle the ATA-Exeption issue  as well as i am able to handle this complex archlinux hmm


What do you guys say. Does anyone have experiences with this Samsung netbook

Offline

#2 2009-12-09 11:45:43

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

I am using Arch on the Samsung N130 and I haven't noticed any issues so far.
The Arch kernel (2.6.31.6 - last one I tried) works fine. Almost everything runs out-of-the-box.
Though I'm using now a self-compiled one (http://aur.archlinux.org/packages.php?ID=32042). If you want to get the Fn keys working you need 2.6.32 (read this http://wiki.archlinux.org/index.php/Sam … 0#Fn_Keys). That's why I use a customized kernel. You could also wait, 2.6.32 is in [testing] now.
However, the hdd stuff may be a bios thingy. When did you buy your N130? Has it a recent bios? I bought mine late october and I have no issues with hdd lockups etc.

Vlad

PS: The only issues I have is this one:
http://bbs.archlinux.org/viewtopic.php? … 44#p657544
Though I cannot remember if this happened again recently. I think this disappeared with the latest kernel release.

Last edited by DonVla (2009-12-09 11:48:09)

Offline

#3 2009-12-09 12:09:18

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

Hey Vlad,

so you had no problems with the standard-kernel?
Or is that black-screen-thing also present in Kernel 2.6.31?

I can confirm this black-screen by using the mainline-Kernel (2.6.32 final) for Ubuntu.
I uninstalled it instantly!

I want to have a system that runs without much of my help once installed. Because of that i am looking for the standard-kernel in core!


I bought the netbook with XP preinstalled in early november.
And i did a BIOS-Upgrade to 05CM.


The Fn-keys are not so important for me. So I think i'll give arch a try!


Hopefully it will work for me :-(

Offline

#4 2009-12-09 13:06:01

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Svlad Cjelli wrote:

Hey Vlad,

so you had no problems with the standard-kernel?
Or is that black-screen-thing also present in Kernel 2.6.31?

As I said, I haven't noticed this recently.
With 2.6.31 this happened randomly and quite seldom. But annoying anyway.

Svlad Cjelli wrote:

I can confirm this black-screen by using the mainline-Kernel (2.6.32 final) for Ubuntu.
I uninstalled it instantly!

I want to have a system that runs without much of my help once installed. Because of that i am looking for the standard-kernel in core!

Then wait until 2.6.32 moves to [core].
You don't have to compile a custom kernel very often. Just stick with a working version. The compilation of the monolithic kernel from the AUR takes about 30-40 mins.

Svlad Cjelli wrote:

I bought the netbook with XP preinstalled in early november.
And i did a BIOS-Upgrade to 05CM.

Ah, then this should be ok.

Svlad Cjelli wrote:

The Fn-keys are not so important for me. So I think i'll give arch a try!
Hopefully it will work for me :-(

Good luck smile

Vlad

Offline

#5 2009-12-10 11:14:37

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

Damn!

Installed yesterday and the system-freezes are persent in archlinux too...!

How did you install the AUR-Kernel?
Can i do that with yaourt?


Svlad

Offline

#6 2009-12-10 12:29:11

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

Tried it per yaourt: ERROR!


[philipp@winchester ~]$ yaourt -S kernel26-n130

==> Downloading kernel26-n130 PKGBUILD from AUR...

Comment by: donvla on Mon, 16 Nov 2009 15:09:55 +0000
Monolithic kernel for Samsung N130 without initramfs image.
So you cannot use persistent device naming for "root=" or "resume=" in your /boot/grub/menu.lst. Also remove/comment the initrd line.
If one wants a initramfs image with hooks (encrypt/uresume), edit /etc/mkinitcpio-N130.conf
and run "mkinitcpio -p kernel26-N130".
Note that there is no need for a resume hook for the standard kernel suspend.
Further CONFIG_HZ is set to 300.
Maybe the responsiveness is better with 1000Hz, but i noticed an increase in power/battery usage.

Comment by: donvla on Mon, 16 Nov 2009 15:29:02 +0000
The intel video driver with kms enabled by default is also compiled into the kernel.
My /etc/rc.conf MODULES array looks like:
"
MODULES=(acpi-cpufreq !uvcvideo !ath9k vboxdrv)
"
Note that the cpu frequency scaling, wlan and webcam drivers are not compiled in.

Comment by: donvla on Tue, 24 Nov 2009 16:55:09 +0000
Added the BF scheduler patch.
It is not used by default.
If you want to use it, set the _USE_BFS variable to 1.
No further changes are needed. The BF scheduler is used automatically if the patch is apllied.
Further informations can be found here: http://ck.kolivas.org/patches/bfs/

Comment by: markuman on Mon, 07 Dec 2009 19:49:34 +0000
::Loading Initramfs
Waiting 10 Seconds for device /dev/sda1
IP-Config: no devices to configure
Waiting 0 s before mounting root device
kinit: Unable to mount root fs on device(8,1)
kinit: init not found!
Kernel panic - not syncing: Attempted to kill init!
[drm:drm_fb_helper_panic] *ERROR* panic occurred, switching back to text console
_

Comment by: killajoe on Mon, 07 Dec 2009 21:50:04 +0000
markuman:
Maintainer wrote:
Monolithic kernel for Samsung N130 without initramfs image.
So you cannot use persistent device naming for "root=" or "resume=" in your /boot/grub/menu.lst. Also remove/comment the initrd line.
If one wants a initramfs image with hooks (encrypt/uresume), edit /etc/mkinitcpio-N130.conf
and run "mkinhttp://aur.archlinux.org/account.php?Action=AccountInfo&ID=1337itcpio -p kernel26-N130".
Note that there is no need for a resume hook for the standard kernel suspend.

    
      First Submitted: Mon, 16 Nov 2009 14:42:50 +0000    
kernel26-n130 2.6.32-2 : The Linux kernel and modules for SAMSUNG N130 - optionally with Con Kolivas' BF scheduler
( Unsupported package: Potentally dangerous ! )
==>  Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n


==> kernel26-n130 dependencies:
 - coreutils (already installed)
 - module-init-tools (already installed)
 - mkinitcpio (already installed)

==> WARNING: This PKGBUILD contains install file that can be dangerous.
kernel26-N130.install
==>  Edit kernel26-N130.install (highly recommended for security reasons) ? [Y/n] ("A" to abort)
==>   ----------------------------------------------
==>n

==>  Continue the building of kernel26-n130 ? [Y/n]
==>   ----------------------------------------------
==>y


==> Install or build missing dependencies for kernel26-n130:
==> Building and installing package

==> kernel26-n130 dependencies:
 - coreutils (already installed)
 - module-init-tools (already installed)
 - mkinitcpio (already installed)
==> Erstelle Paket: kernel26-n130 2.6.32-2 i686 (Do 10. Dez 13:23:44 CET 2009)
==> Prüfe Laufzeit-Abhängigkeiten... 
==> Prüfe Buildtime-Abhängigkeiten... 
==> Empfange Quellen...
  -> Lade linux-2.6.32.tar.bz2 herunter...
--2009-12-10 13:23:45--  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.bz2
Auflösen des Hostnamen »www.kernel.org«.... 130.239.17.4, 199.6.1.164
Verbindungsaufbau zu www.kernel.org|130.239.17.4|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 64424138 (61M) [application/x-bzip2]
In »»linux-2.6.32.tar.bz2.part«« speichern.

100%[======================================>] 64.424.138  1,09M/s   in 59s     

2009-12-10 13:24:44 (1,04 MB/s) - »»linux-2.6.32.tar.bz2.part«« gespeichert [64424138/64424138]

  -> Lade 2.6.32-sched-bfs-311.patch herunter...
--2009-12-10 13:24:44--  http://ck.kolivas.org/patches/bfs/2.6.32-sched-bfs-311.patch
Auflösen des Hostnamen »ck.kolivas.org«.... 65.98.13.211
Verbindungsaufbau zu ck.kolivas.org|65.98.13.211|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 229632 (224K) [text/plain]
In »»2.6.32-sched-bfs-311.patch.part«« speichern.

100%[======================================>] 229.632      343K/s   in 0,7s    

2009-12-10 13:24:45 (343 KB/s) - »»2.6.32-sched-bfs-311.patch.part«« gespeichert [229632/229632]

  -> config im Build-Verzeichnis gefunden
  -> mkinitcpio-N130.conf im Build-Verzeichnis gefunden
  -> kernel26-N130.preset im Build-Verzeichnis gefunden
  -> logo_linux_clut224.ppm im Build-Verzeichnis gefunden
  -> logo_linux_mono.pbm im Build-Verzeichnis gefunden
  -> logo_linux_vga16.ppm im Build-Verzeichnis gefunden
==> Überprüfe Gültigkeit der Quell-Dateien mit md5sums...
    linux-2.6.32.tar.bz2 ... Durchgelaufen
    2.6.32-sched-bfs-311.patch ... FEHLGESCHLAGEN
    config ... Durchgelaufen
    mkinitcpio-N130.conf ... Durchgelaufen
    kernel26-N130.preset ... Durchgelaufen
    logo_linux_clut224.ppm ... Durchgelaufen
    logo_linux_mono.pbm ... Durchgelaufen
    logo_linux_vga16.ppm ... Durchgelaufen
==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung!
Error: Makepkg was unable to build kernel26-n130 package.

What did i wrong Vla?
I see you are the maintainer of the Kernel :-)

great work :-)

Offline

#7 2009-12-10 14:22:40

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Hi Svlad,

Sry my fault. I updated the checksums. Should work now.

How did you install the AUR-Kernel?
Can i do that with yaourt?

You can do that with yaourt. But after building and installing you have to change some entries in your /boot/grub/menu.lst:
Before or after the stock kernel you have to add the new N130 kernel. Part of my menu.lst looks like:

default   0

# (0) Arch Linux N130
title  Arch Linux Custom N130 Kernel
root   (hd0,0)
kernel /vmlinuz26-N130 root=/dev/sda2 resume=/dev/sda3 ro rootfstype=ext4 quiet

# (1) Arch Linux
title  Arch Linux Stock Kernel
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-label/ROOT resume=/dev/disk/by-label/SWAP ro rootfstype=ext4 quiet
initrd /kernel26.img

# (2) Arch Linux Fallback
title  Arch Linux Stock Kernel (Fallback)
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-label/ROOT ro
initrd /kernel26-fallback.img

The "default 0" entry says which kernel should be booted by default. In this case set it to "0" if you want to use the N130 kernel or to "1" for the stock kernel.
You need no initramfs image, because all modules needed to boot are compiled into the kernel. So there is no "initrd" line - like for the stock kernel.
You also cannot use persistent naming (http://wiki.archlinux.org/index.php/Per … ice_naming), because there is no udev loaded _before_ the kernel, so you have to change the root and swap line ("root=/dev/sda2 resume=/dev/sda3") to

kernel /vmlinuz26-N130 root=/dev/<your-root-partition-here> resume=/dev/<your-swap-partition-here> ro quiet

Then you can reboot.
As I said compilation takes when idle about 30-40 minutes.
So give it a try.

Vlad

PS:
Read also the comments on the AUR site:
"The intel video driver with kms enabled by default is also compiled into the kernel.
My /etc/rc.conf MODULES array looks like:
"
MODULES=(acpi-cpufreq !uvcvideo !ath9k vboxdrv)
"
Note that the cpu frequency scaling, wlan and webcam drivers are not compiled in."
So you can disable frequency-scaling, webcam and wlan simply by unloading the modules.

Last edited by DonVla (2009-12-10 14:29:33)

Offline

#8 2009-12-10 14:41:13

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

hi Vla,

hmm... i understood the menu.lst entry, but i dont know why you disabled ath9k.
Dont you need wlan? Or do i misunerstand something here?

Sorry, i am kind of arch-newbie...


Svlad

Offline

#9 2009-12-10 17:35:04

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

Ok Vlad i "yaourted" your Kernel and get an Error while booting it:

Informations:

Platte /dev/sda: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x10a919b9

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *           1        1295    10402056    7  HPFS/NTFS
/dev/sda2            1296        5098    30547597+  83  Linux
/dev/sda3            5099        5489     3140707+  82  Linux Swap / Solaris
/dev/sda4            5490       19457   112197960    7  HPFS/NTFS
[philipp@winchester ~]$

menu.lst:


# (0) Arch Linux N130
title  Arch Linux Custom N130 Kernel
root   (hd0,1)
kernel /vmlinuz26-N130 root=/dev/sda2 resume=/dev/sda3 ro quiet

And the error-message:


Booting Arch Linux Custom n130 Kernel

root (hd0,1)

Filesystemtype is ext2fs, partition type 0x83
kernel /vmlinuz26-N130 root=/dev/sda2 resume=/dev/sda3 ro quiet

Error 15: File not found

What the heck?

Offline

#10 2009-12-10 18:04:15

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Hi Svlad,

Which filesystems do your partitions have?
I think the problem is that ext2 is build only as a module and your /boot partition maybe a ext2 fs.
OK, I'm uploading in few minutes a new package release with ext2 also compiled in.
Can you post your output of "$ mount"?

Vlad

PS: ath9k is compiled as a module only. So when I want to enable wlan i have a small script which loads the module and brings the iface up (with sudo):

#!/bin/bash

IFACE="wlan0"

case $1 in
    on)
        modprobe ath9k
        ifconfig ${IFACE} up
    ;;
    off)
        ifconfig ${IFACE} down
        rmmod ath9k
        rmmod ath
    ;;
    *)
    ;;
esac

Then I use wicd (https://www.archlinux.de/?page=PackageD … gname=wicd) to choose the wlan connections

Last edited by DonVla (2009-12-10 18:25:06)

Offline

#11 2009-12-10 18:26:17

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

That is strange...

During Installation i chose ext4 for my root-device...

/dev/sda2 ist mounted as ext4 in my etc/fstab


But cfdisk shoes me, that my dev/sda2 ist ext3!


I am pretty confused :-0

Offline

#12 2009-12-10 18:35:44

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Svlad Cjelli wrote:

That is strange...

During Installation i chose ext4 for my root-device...

/dev/sda2 ist mounted as ext4 in my etc/fstab


But cfdisk shoes me, that my dev/sda2 ist ext3!


I am pretty confused :-0

Yes, ext4 is somehow ext3... I think cfdisk does not make big differences there.
However, the question is: where is your /boot directory/partition? Where is grub installed.
The "root   (hd0,1)" entry states that the /boot dir ("grub's root" directory) is on the first drive, second partition (see here: http://wiki.archlinux.org/index.php/Gru … .27s_root).

Last edited by DonVla (2009-12-10 18:36:48)

Offline

#13 2009-12-10 18:44:20

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

My boot partition ist on /dev/sda1, where Xp is installed...


Is that a problem?  roll

In fact i messed up my System with a live-cd so that i cant boot arch anymore... I got to fix that first.
Holy crap, what a misery to get Linux to work on this sweet little netbook :-(

Edit: Ok everything fine again...


So when my fs is ext4, why cant i boot your custom kernel?
Is it required to have the root-partition on the boot-partition?

Svlad


EDIT2: Schöne Grüße nach Bonn im Übrigen ;-)

Last edited by Svlad Cjelli (2009-12-10 19:18:07)

Offline

#14 2009-12-10 20:13:53

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Svlad Cjelli wrote:

My boot partition ist on /dev/sda1, where Xp is installed...


Is that a problem?  roll

Ok then you have to set

root (hd0,0)

first drive, first partition.
Though it seems strange. You have two os' (linux boot directory and winxp) on one partition (/dev/sda1)?
Or do you have grub installed on /dev/sda1? That's smth else then.

Svlad Cjelli wrote:
In fact i messed up my System with a live-cd so that i cant boot arch anymore... I got to fix that first.
Holy crap, what a misery to get Linux to work on this sweet little netbook :-(

Yep, that's linux. *KIDDING*
I guess you have to read carefully the instructions on how to setup a dual boot system. I cannot help you here. I never had,used or setup a dual boot system.

So when my fs is ext4, why cant i boot your custom kernel?
Is it required to have the root-partition on the boot-partition?

No, it is not. First /boot is only a directory. It can be on an own partition and then mounted into the "/" dir hierarchy.
It also can be directly a subdriectory of "/" on the root partition. So it has no own partition.
In the menu.lst "root" has two meanings: first "root (hd0,0)" means the "root" of grub (where grub - the boot manager - itself is installed; that's mostly  on the partition where the /boot dir is); and then "root=/dev/sda2" where the actual system root partition is.
Hope this clears up things a little.

EDIT2: Schöne Grüße nach Bonn im Übrigen ;-)

Danke! Schöne Grüsse zurück smile

Last edited by DonVla (2009-12-10 20:14:52)

Offline

#15 2009-12-10 20:35:37

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

I installed grub on /dev/sda

Xp is installed in /dev/sda1 -  i think that is hd0,0 isnt it?

Archlinux lies on /dev/sda2 - which is hd0,1


As you can see here:

bildschirmfoto_BC7eTn.png

the custom kernel is in my boot-directory. or should there be another image called kernel26-n130.img ???


my menu.lst looks like this:

# (0) Arch Linux N130
title  Arch Linux Custom N130 Kernel
root   (hd0,1)
kernel /vmlinuz26-N130 root=/dev/sda2 resume=/dev/sda3 ro quiet

# (0) Arch Linux
title  Arch Linux Stock Kernel
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/30922418-2271-4171-8d73-5f15c32c4d43 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/30922418-2271-4171-8d73-5f15c32c4d43 ro
initrd /boot/kernel26-fallback.img

# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

I can boot arch stock-kernel but not the custom-kernel, see error-output above:

Booting Arch Linux Custom n130 Kernel

root (hd0,1)

Filesystemtype is ext2fs, partition type 0x83
kernel /vmlinuz26-N130 root=/dev/sda2 resume=/dev/sda3 ro quiet

Error 15: File not found

dazed and confused hmm

Last edited by Svlad Cjelli (2009-12-10 20:47:41)

Offline

#16 2009-12-10 21:49:21

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Archlinux on Samsung n130/n140

It appears that you have your whole filesystem on one partition (/, /boot, /home, etc...)

Therefore you telling grub to look at your arch partition which looks something like this

bin   dev  home  logs_backup  media  opt   root  srv  tmp  var
boot  etc  lib   lost+found   mnt    proc  sbin  sys  usr  swap

what is happening is that you are telling grub that the kernel is located in / (root) which it is not. The kernel is actually in /boot.

Therefore your configuration should look like

kernel /boot/vmlinuz26-N130 root=/dev/sda2 resume=/dev/sda3 ro quiet

Last edited by pyther (2009-12-10 21:49:49)


Website - Blog - arch-home
Arch User since March 2005

Offline

#17 2009-12-10 22:13:27

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

THE EGG OF COLUMBUS...


Thank you...


But let me tell you:


The freezes continue...
not enough my system is VEEERRY slow!

top says:

bildschirmfoto_lAvJYO.png


yikes



My Demons:

DAEMONS=(syslog-ng hal !network !uvcvideo !ath9k netfs crond alsa fam networkmanager laptop-mode)

Last edited by Svlad Cjelli (2009-12-10 22:16:52)

Offline

#18 2009-12-11 11:28:11

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Svlad Cjelli wrote:

THE EGG OF COLUMBUS...

Good that this is solved big_smile

But let me tell you:
The freezes continue...

D'oh. I have no idea what could cause this. Perhaps the drive is somehow faulty - just a guess, I don't know.

not enough my system is VEEERRY slow!
top says:

That's pretty strange.
Try making a new clean build. I mean, delete the whole build directory and then run "makepkg" again.
Or delete yaourt's temp directories and rebuild it with yaourt.
Make sure you use the config from the AUR tarball.
The rcu stuff shouldn't definitely not be there. And in the N130 config it is disabled.

My Demons:

DAEMONS=(syslog-ng hal !network !uvcvideo !ath9k netfs crond alsa fam networkmanager laptop-mode)

The drivers do not belong into the _DAEMONS array_, but into the _MODULES array_ (have you read the beginner's guide?):

MODULES=(acpi-cpufreq !uvcvideo !ath9k <your-other-modules-you want-to-use>)
DAEMONS=(syslog-ng hal !network netfs crond alsa fam networkmanager laptop-mode)

You don't have to blacklist them on boot, but I think this is quite straightforward, if you want to enable/disable things (and I hardly use the webcam).

However, if this is too much hassle for you just wait some days till the 2.6.32 kernel moves to [core].

Vlad

Offline

#19 2009-12-12 08:28:13

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

yeah, i'll try to reinstall the kernel contemporary.

However, if this is too much hassle for you just wait some days till the 2.6.32 kernel moves to [core].

???

but that kernel isnt patched with the n130-patch, isnt it?




EDIT:

ok i tried to reinstall kernel, but:


2009-12-12 10:08:50 (307 KB/s) - »»2.6.32-sched-bfs-311.patch.part«« gespeichert [227627/227627]

  -> config im Build-Verzeichnis gefunden
  -> mkinitcpio-N130.conf im Build-Verzeichnis gefunden
  -> kernel26-N130.preset im Build-Verzeichnis gefunden
  -> logo_linux_clut224.ppm im Build-Verzeichnis gefunden
  -> logo_linux_mono.pbm im Build-Verzeichnis gefunden
  -> logo_linux_vga16.ppm im Build-Verzeichnis gefunden
==> Überprüfe Gültigkeit der Quell-Dateien mit md5sums...
    linux-2.6.32.tar.bz2 ... Durchgelaufen
    2.6.32-sched-bfs-311.patch ... FEHLGESCHLAGEN
    config ... Durchgelaufen
    mkinitcpio-N130.conf ... Durchgelaufen
    kernel26-N130.preset ... Durchgelaufen
    logo_linux_clut224.ppm ... Durchgelaufen
    logo_linux_mono.pbm ... Durchgelaufen
    logo_linux_vga16.ppm ... Durchgelaufen
==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung!
Error: Makepkg was unable to build kernel26-n130 package.

Svlad

Last edited by Svlad Cjelli (2009-12-12 09:10:39)

Offline

#20 2009-12-12 13:16:10

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Svlad Cjelli wrote:

yeah, i'll try to reinstall the kernel contemporary.

However, if this is too much hassle for you just wait some days till the 2.6.32 kernel moves to [core].

???

but that kernel isnt patched with the n130-patch, isnt it?

There is no n130-patch! This is the standard kernel from kernel.org.
The file "2.6.32-sched-bfs-311.patch" is the BFS patch by kolivas which isn't applied by default anyway.
The only difference to the stock arch kernel is that some modules are compiled in, there is no initrd and some modules are omitted, because there is no need for them.

EDIT:

ok i tried to reinstall kernel, but:


2009-12-12 10:08:50 (307 KB/s) - »»2.6.32-sched-bfs-311.patch.part«« gespeichert [227627/227627]

  -> config im Build-Verzeichnis gefunden
  -> mkinitcpio-N130.conf im Build-Verzeichnis gefunden
  -> kernel26-N130.preset im Build-Verzeichnis gefunden
  -> logo_linux_clut224.ppm im Build-Verzeichnis gefunden
  -> logo_linux_mono.pbm im Build-Verzeichnis gefunden
  -> logo_linux_vga16.ppm im Build-Verzeichnis gefunden
==> Überprüfe Gültigkeit der Quell-Dateien mit md5sums...
    linux-2.6.32.tar.bz2 ... Durchgelaufen
    2.6.32-sched-bfs-311.patch ... FEHLGESCHLAGEN
    config ... Durchgelaufen
    mkinitcpio-N130.conf ... Durchgelaufen
    kernel26-N130.preset ... Durchgelaufen
    logo_linux_clut224.ppm ... Durchgelaufen
    logo_linux_mono.pbm ... Durchgelaufen
    logo_linux_vga16.ppm ... Durchgelaufen
==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung!
Error: Makepkg was unable to build kernel26-n130 package.

Svlad

AAHHH, he changed the file on his site again, though he has not changed the version number.
ok, uploading a new PKGBUILD.

Offline

#21 2009-12-12 17:44:05

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

There is no n130-patch! This is the standard kernel from kernel.org.

really? and you do not have these odd freezes? i cant
imagine since it is a Bios-Problem...

I just installed the kernel from testing. Same situation here.

freezes, freezes, freezes...:mad:

Offline

#22 2009-12-12 18:31:52

Aedit
Member
Registered: 2009-10-29
Posts: 138

Re: Archlinux on Samsung n130/n140

I updated the wiki: http://wiki.archlinux.org/index.php/Samsung_N140 .

I also see SATA freezes with the Samsung N140 with 2.6.31 and 2.6.32 compiled with basically the same config as Arch standard 2.6.31.

As I understand it DonVla should also see freezes.

Let's be clear what we're talking about: about 5 minutes after boot, the whole system freezes for about 30 seconds after which it behaves normally until the next boot or resume. After the freeze the following is visible in the kernel log:
<pre>
[<timestamp>] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[<timestamp>] ata1.00: cmd ca/00:58:87:c1:63/00:00:00:00:00/e9 tag 0 dma 45056 out
[<timestamp>]          res 40/00:fe:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
[<timestamp>] ata1: link is slow to respond, please be patent (ready=0)
[<timestamp>] ata1: device not ready (errno=-16), forcing hardreset
[<timestamp>] ata1: soft resetting link
</pre>

Offline

#23 2009-12-12 18:49:19

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: Archlinux on Samsung n130/n140

yeah i saw that, great work...


Let's be clear what we're talking about: about 5 minutes after boot, the whole system freezes for about 30 seconds after which it behaves normally until the next boot or resume. After the freeze the following is visible in the kernel log:
<pre>
[<timestamp>] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[<timestamp>] ata1.00: cmd ca/00:58:87:c1:63/00:00:00:00:00/e9 tag 0 dma 45056 out
[<timestamp>]          res 40/00:fe:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
[<timestamp>] ata1: link is slow to respond, please be patent (ready=0)
[<timestamp>] ata1: device not ready (errno=-16), forcing hardreset
[<timestamp>] ata1: soft resetting link

indeed... that exactly what happens in my case...
There is a patch around in the www. But i am unable to patch the kernel...

A patched Kernel in AUR would be nice, but thats to much expected from anybody...
Though Archlinux is a good Distribution to build and share those things...



Svlad

Offline

#24 2009-12-12 19:58:39

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux on Samsung n130/n140

Huch.. Stange
I really do not have these freezes, neither with the stock kernel nor with the self-compiled one.
I also didn't make a bios-upgrade. But I cannot find the revision of my bios.

Last edited by DonVla (2009-12-12 19:58:58)

Offline

#25 2009-12-12 20:45:18

Aedit
Member
Registered: 2009-10-29
Posts: 138

Re: Archlinux on Samsung n130/n140

DonVla wrote:

I also didn't make a bios-upgrade. But I cannot find the revision of my bios.

That's interesting. Not sure if you mean you can't find the bios file or the version number.
The latter is visible on the first page of the BIOS Setup isn't it?

How are your BIOS power saving options set?

Last edited by Aedit (2009-12-12 21:52:48)

Offline

Board footer

Powered by FluxBB