You are not logged in.

#226 2011-07-02 00:44:25

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: [Project] kernel-netbook

lsmod from both kernels I suppose. smile

Offline

#227 2011-07-02 06:09:38

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [Project] kernel-netbook

Yes, i know....it's the same with my optimus 2x hmm
I should search something, but till monday i'm off, still have exams...


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#228 2011-07-02 14:23:55

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: [Project] kernel-netbook

Zom wrote:

lsmod from both kernels I suppose. smile

Here you are.
dmesg from stock 2.6.39 kernel:

[45251.533730] usb 1-1: USB disconnect, device number 13
[45276.948987] usb 1-1: new high speed USB device number 14 using ehci_hcd
[45277.075267] cdc_acm 1-1:1.0: This device cannot do calls on its own. It is not a modem.
[45277.075817] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[45277.081292] scsi4 : usb-storage 1-1:1.2
[45278.080163] scsi 4:0:0:0: Direct-Access     Android  UMS Composite    0001 PQ: 0 ANSI: 2
[45278.081768] sd 4:0:0:0: Attached scsi generic sg1 type 0
[45278.086539] scsi 4:0:0:1: Direct-Access     Android  UMS Composite    0001 PQ: 0 ANSI: 2
[45278.087672] sd 4:0:0:1: Attached scsi generic sg2 type 0
[45278.087952] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[45278.095071] sd 4:0:0:1: [sdc] Attached SCSI removable disk
[45292.008762] sd 4:0:0:1: [sdc] 7739392 512-byte logical blocks: (3.96 GB/3.69 GiB)
[45292.009373] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[45292.011113] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[45292.014024]  sdc:
[45295.007885] sd 4:0:0:0: [sdb] 12124096 512-byte logical blocks: (6.20 GB/5.78 GiB)
[45295.008365] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[45295.017241] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[45295.024419]  sdb:

dmesg from kernel-netbook:

[ 5884.354138] usb 1-1: new high speed USB device number 6 using ehci_hcd
[ 5884.468957] usb 1-1: New USB device found, idVendor=04e8, idProduct=681c
[ 5884.468974] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5884.468987] usb 1-1: Product: SAMSUNG_Android
[ 5884.468997] usb 1-1: Manufacturer: SAMSUNG
[ 5884.469039] usb 1-1: SerialNumber: 313298E9C5F000EC
[ 5884.473433] scsi2 : usb-storage 1-1:1.2
[ 5884.661251] cdc_acm 1-1:1.0: This device cannot do calls on its own. It is not a modem.
[ 5884.661571] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[ 5884.665134] usbcore: registered new interface driver cdc_acm
[ 5884.665142] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
[ 5885.474084] scsi 2:0:0:0: Direct-Access     Android  UMS Composite    0001 PQ: 0 ANSI: 2
[ 5885.479208] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 5885.481596] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 5900.007158] sd 2:0:0:0: [sdb] 12124096 512-byte logical blocks: (6.20 GB/5.78 GiB)
[ 5900.007672] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5900.009375] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5900.012338]  sdb:

Offline

#229 2011-07-02 14:47:12

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: [Project] kernel-netbook

Sorry, that's dmesg, but we'd need the output of lsmod.

Offline

#230 2011-07-02 15:51:45

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: [Project] kernel-netbook

My fault :-)

lsmod (kernel-notebook):

Module                  Size  Used by
bluetooth              50839  0 
af_packet              14781  2 
ath5k                 110537  0 
usblp                   7544  0 
usbhid                 13167  0 
hid                    51830  1 usbhid
cdc_acm                11932  0 
i2c_i801                5596  0 
sky2                   32485  0 
uvcvideo               45614  0 
videodev               50800  1 uvcvideo
fuse                   48534  3

lsmod (stock):

Module                  Size  Used by
uas                     6480  0 
usb_storage            35215  0 
cdc_acm                13777  0 
cryptd                  6901  0 
aes_i586                6948  1 
aes_generic            25678  1 aes_i586
bluetooth             115465  0 
cpufreq_ondemand        5064  2 
ath5k                 129572  0 
ath                    11679  1 ath5k
mac80211              189758  1 ath5k
cfg80211              126930  3 ath5k,ath,mac80211
rfkill                 12510  2 bluetooth,cfg80211
ext2                   55475  1 
usblp                   9311  0 
usbhid                 31211  0 
hid                    63007  1 usbhid
snd_hda_codec_realtek   225687  1 
snd_hda_intel          19261  3 
snd_hda_codec          66793  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4919  1 snd_hda_codec
snd_pcm                60311  2 snd_hda_intel,snd_hda_codec
snd_timer              15542  1 snd_pcm
uhci_hcd               19344  0 
joydev                  7535  0 
sg                     21022  0 
ehci_hcd               34847  0 
sky2                   41127  0 
uvcvideo               55020  0 
snd                    43527  12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
videodev               70734  1 uvcvideo
media                   8513  1 videodev
fuse                   58669  3 
iTCO_wdt               10333  0 
iTCO_vendor_support     1553  1 iTCO_wdt
acpi_cpufreq            5053  1 
freq_table              2055  2 cpufreq_ondemand,acpi_cpufreq
soundcore               5018  1 snd
i2c_i801                7039  0 
battery                 8905  0 
serio_raw               3430  0 
usbcore               119004  9 uas,usb_storage,cdc_acm,usblp,usbhid,uhci_hcd,ehci_hcd,uvcvideo
snd_page_alloc          5909  2 snd_hda_intel,snd_pcm
mperf                   1035  1 acpi_cpufreq
psmouse                55927  0 
arc4                    1094  2 
evdev                   7310  16 
thermal                 6603  0 
fan                     1910  0 
ecb                     1645  2 
processor              21884  1 acpi_cpufreq
ac                      2545  0 
ext4                  334626  2 
mbcache                 4321  2 ext2,ext4
jbd2                   59098  1 ext4
crc16                   1077  2 bluetooth,ext4
sd_mod                 25515  5 
pata_acpi               2396  0 
ata_piix               18569  4 
libata                154349  2 pata_acpi,ata_piix
scsi_mod              110702  5 uas,usb_storage,sg,sd_mod,libata
i915                  557614  2 
drm_kms_helper         24245  1 i915
drm                   147653  3 i915,drm_kms_helper
i2c_algo_bit            4431  1 i915
button                  3654  1 i915
i2c_core               16665  6 videodev,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video                   9852  1 i915
intel_agp               8664  1 i915
intel_gtt              11417  3 i915,intel_agp
agpgart                22160  3 drm,intel_agp,intel_gtt

Last edited by knedlyk (2011-07-02 16:02:27)

Offline

#231 2011-07-13 06:20:56

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: [Project] kernel-netbook

I'm missing the precompiled 2.6.39-3 on the Google code page. But I'll get it from the Dropbox repo instead:
[dieghen89]
Server = http://dl.dropbox.com/u/794061/arch/

I'm a long time user by now, and very happy about this kernel! Thanks for keeping up the good work big_smile

Offline

#232 2011-07-13 09:44:24

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

Dieghen - can I make a request please? I've recently bought a USB wireless N adaptor (because, the wireless adaptor in my Acer Aspire One is a pile of crap, or the drivers are, I don't know, but it disables itself all the time). The driver isn't in your kernel, and I've looked through the config but I can't see it (I'm not pro kernel hacker though!). HOWEVER - it does work using the stock Arch kernel (I think I'm on 2.6.38 - can't remember right now, and I'm at work). Could you possibly find the differences, and include it in your kernel please?

It's a Realtek RTL8188SU chipset, I can post lsusb later if that'll help....

Last edited by chemicalfan (2011-07-13 12:15:57)

Offline

#233 2011-07-13 09:51:21

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: [Project] kernel-netbook

You could rather plug it in while you use the regular kernel and post "lsmod", that'll let us see what modules are loaded and go from there. smile

Offline

#234 2011-07-13 12:15:33

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

Cool, I'll do that when I get in tonight smile

Offline

#235 2011-07-14 01:41:29

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

Ok, that's weird, it doesn't work now! On first boot with the stock kernel (2.6.37), the lights flashed on the device, which has never happened before. I was trying to debug X at the time, so didn't look at connectivity.

Maybe it was doing some kind of hardware poll, as it was the first time I'd booted into the stock kernel since plugging the USB wireless device in?

Offline

#236 2011-07-18 14:01:59

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [Project] kernel-netbook

Next release i've done an heavy diet for the kernel smile

@knedlyk
I've also fixed the android internal memory problem

@chemicalfan
have you managed to get the usb wiki working?


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#237 2011-07-19 09:16:51

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

Nice one on the trim smile

I didn't get the wifi working sad I don't know what the flashes were when I booted the stock kernel, but it hasn't done it since. I don't know how to proceed, as I can't get hold of the driver from Realtek's website, and neither stock nor netbook kernel plays ball out of the box...

Offline

#238 2011-07-19 10:20:20

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: [Project] kernel-netbook

What kind of trim is it? I'd be interested in reading a changelog when you release the new version. smile

Offline

#239 2011-07-19 18:42:25

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [Project] kernel-netbook

Guys, i have wrote heavy but i want say the opposite...What does came in my mind that let me think that heavy means slight? Excuse me, my fault tongue What a sorry figure....

The numbers of modules are a lot but the result is about 200kB less in the xz smile

@chemicalfan
mmh i haven't understood your full situation...Have you already tryed to open a new discussion?


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#240 2011-07-20 08:31:13

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

I haven't I'll admit - I thought it was a problem with this custom kernel, but as it also appears in the stock kernel, I think I'll raise a new post in that forum (even though they'll probably just send me upstream...)

Offline

#241 2011-07-20 23:53:21

ngsa
Member
Registered: 2011-05-05
Posts: 6

Re: [Project] kernel-netbook

First, thanks for such a great kernel package.  I have been a happy customer for a few months.  I had not updated the package in a while.  Today when I did, I was unable to rebuild an initrd image properly.  I am using a LUKS setup (LVM on an encrypted partition).  This requires a few modules to be available during boot. 

When I rebuild a new initrd, I get the following output.  I made sure LVM and encrypted partitions where enabled when kconfig came up.  Is there anything else I could try?  I am sure it is an oversight on my part.  The current 2.6.39 stock kernel works fine.  Thanks for any help.

sudo mkinitcpio -p kernel-netbook
==> Building image from preset: 'default'
  -> -k 2.6.39-netbook -c /etc/mkinitcpio.conf -g /boot/kernel-netbook.img
==> Starting build: 2.6.39-netbook
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [autodetect]
  -> Parsing hook: [pata]
==> ERROR: module not found: `sd_mod'
  -> Parsing hook: [scsi]
==> ERROR: module not found: `sd_mod'
  -> Parsing hook: [sata]
==> ERROR: module not found: `sd_mod'
  -> Parsing hook: [usbinput]
  -> Parsing hook: [keymap]
  -> Parsing hook: [encrypt]
==> ERROR: module not found: `dm-crypt'
  -> Parsing hook: [lvm2]
==> ERROR: module not found: `dm-mod'
==> ERROR: module not found: `dm-snapshot'
==> ERROR: module not found: `dm-mirror'
  -> Parsing hook: [resume]
  -> Parsing hook: [filesystems]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/kernel-netbook.img
11135 blocks
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Image generation successful

Offline

#242 2011-07-21 12:49:11

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [Project] kernel-netbook

@ngsa
The sd_mod error i think it is caused by the BLK_DEV_SD (scsi support) is =y and not =m...If you don't use initrd you must have =y, and so it is useless add it into the initrd image when is already present in the kernel...So i suppose is a harmless error tongue

Fot the others, could you try this?


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#243 2011-07-21 14:29:03

ngsa
Member
Registered: 2011-05-05
Posts: 6

Re: [Project] kernel-netbook

@dieghen89 thanks for your help.  While running the stock kernel and downloading your new build, I issued the following commands which resulted in the same output as before (in previous post).  Perhaps I am missing a step?

sudo pacman -U kernel-netbook-2.6.39.3-5-i686.pkg.tar.xz
sudo rm /boot/kernel-netbook.img
sudo depmod 2.6.39-netbook
sudo mkinitcpio -p kernel-netbook

Offline

#244 2011-07-21 21:24:12

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

Sorry to interrupt, but my issue has evolved slightly. I've obtained the driver from the Realtek website, but it won't compile because "smp_lock.h" is missing from the headers of the netbook kernel source. Now, is this because I'm using the BFS patch? Could I just copy in the file from my stock kernel (2.6.37 though)

Edit: I've discovered that this driver is actually in the kernel under staging - it just isn't enabled under the default config for kernel-netbook... I'm going to recompile tonight once I've enabled it in the config - any chance you can make this permenant please? smile

Last edited by chemicalfan (2011-07-22 11:14:20)

Offline

#245 2011-07-28 20:57:19

escaped
Member
Registered: 2011-07-28
Posts: 2

Re: [Project] kernel-netbook

Hey,

i need some help with your great kernel-netbook. I have trouble getting my soundcard to work (HP Mini 110).

lspci -v:
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 148a
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at 94200000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: HDA Intel
alex@tiny-escaped ~$ dmesg | grep HDA
[    1.529108] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.531776] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    1.553358]   #0: HDA Intel at 0x94200000 irq 16
[ 2672.233420] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 2672.660632] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 2672.662787] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2672.662801] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 2694.052109] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 2694.573635] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 2694.575506] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2694.575522] HDA Intel 0000:00:1b.0: setting latency timer to 64
alex@tiny-escaped ~$ lsmod
Module                  Size  Used by
ipv6                  175771  14 
michael_mic             1394  8 
af_packet              14632  2 
uvcvideo               45257  0 
videodev               48878  1 uvcvideo
b43                   132167  0 
brcmsmac              478883  0 
ssb                    27226  1 b43
lib80211_crypt_tkip     6213  0 
wl                   2599923  0 
i2c_i801                5595  0 
r8169                  27387  0 
lib80211                2663  2 lib80211_crypt_tkip,wl
wmi                     5912  0 

I can use my Soundcard with default kernel using:

alex@tiny-escaped ~$ cat /etc/modprobe.d/alsa-base.conf 
options snd-hda-intel model=ref

Since the hda-intel module is build-in i tried the following after some research without success:

alex@tiny-escaped ~$ cat /boot/grub/menu.lst 
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# (0) Arch Linux (kernel-netbook)
title  Arch Linux (kernel-netbook)
root   (hd0,0)
kernel /vmlinuz-netbook root=/dev/mapper/main-root cryptdevice=/dev/sda2:crypt ro snd-hda-intel.model=ref
initrd /kernel-netbook.img

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/mapper/main-root cryptdevice=/dev/sda2:crypt ro
initrd /kernel26.img

Any suggestions?
Thanks in advanced.

Last edited by escaped (2011-07-28 20:57:56)

Offline

#246 2011-07-28 21:03:56

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

I can't see anything odd there, are you sure ALSA is working correctly?

Offline

#247 2011-07-28 21:39:38

escaped
Member
Registered: 2011-07-28
Posts: 2

Re: [Project] kernel-netbook

chemicalfan wrote:

I can't see anything odd there, are you sure ALSA is working correctly?

I think so, since the default kernel works flawless.

As i can see that i get different models even if i added snd-hda-intel.model=ref to the kernel line:
default kernel (working)

cat /proc/asound/card0/codec#0 | grep Codec
Codec: IDT 92HD88B1

netbook kernel

cat /proc/asound/card0/codec#0 | grep Codec
Codec: IDT ID 7667

EDIT:
oh.. i guess the driver is missing. lets see... recompiling now...

EDIT2:
yep. needed to add: CONFIG_SND_HDA_CODEC_SIGMATEL=y

Last edited by escaped (2011-07-28 23:09:55)

Offline

#248 2011-07-28 23:22:07

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [Project] kernel-netbook

As wrote in the AUR, next time that i build the kernel i'll add that module smile

@all
i'll be away till 6 August (well lets do 7th august to recover all my brain after the holiday) tongue


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

#249 2011-08-10 10:32:45

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: [Project] kernel-netbook

Is there any news on the BFS patch for kernel-v3? I guess that's the main stumbling block for this project?

Offline

#250 2011-08-10 10:38:42

dieghen89
Member
From: Italy
Registered: 2009-06-24
Posts: 134

Re: [Project] kernel-netbook

We are all waiting Con...Just now i'm preparing a kernel-netbook release without BFS smile


XPS 13 DE 2015 + K*5
"Machines are so stupid that if you tell them to do something perfect, they'll do it"

Offline

Board footer

Powered by FluxBB