You are not logged in.

#51 2006-08-10 12:08:29

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Thanks you djpharoah !

Your kernel is such a great thing.
With undervolt, i won at least thirty minutes !
Great  tongue

Offline

#52 2006-08-10 12:46:08

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

cougar wrote:

Thanks you djpharoah !

Your kernel is such a great thing.
With undervolt, i won at least thirty minutes !
Great  tongue

I love it.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#53 2006-08-10 21:00:21

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

i just followed the INSTALL file in the .gz file smile one difference that might make a difference is that Arch puts the bonobo libraries in a different location than the default that's mentioned in the INSTALL.  use /opt/gnome/lib/bonobo/servers instead

djpharoah wrote:
karsten wrote:

awesome, this kernel is pretty slick- suspend/resume works great, and the hdaps applet too.  next up to try is the undervolting and fan control smile

How exactly did you get the hdaps_applet to work in gnome? It doesnt appear in my gnome-menu as an applet option.

Offline

#54 2006-08-11 01:37:45

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

karsten wrote:

i just followed the INSTALL file in the .gz file smile one difference that might make a difference is that Arch puts the bonobo libraries in a different location than the default that's mentioned in the INSTALL.  use /opt/gnome/lib/bonobo/servers instead

djpharoah wrote:
karsten wrote:

awesome, this kernel is pretty slick- suspend/resume works great, and the hdaps applet too.  next up to try is the undervolting and fan control smile

How exactly did you get the hdaps_applet to work in gnome? It doesnt appear in my gnome-menu as an applet option.

aaaaaahhhhhhhhhhhhhhhhhhh

Well - i couldnt get hdaps to get my harddrive to go into protect mode - apparently it has something to do with the firmware of the harddrive. I find that ridiculous since the harddrive works with the Thinkpad protection system in windows...

but whatever.. that feature is the least of my concern .


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#55 2006-08-11 03:12:56

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

i couldn't either.  was shaking it even smile gotta be a way somehow. how do you get video back after Fn-F4 sleep mode? my monitor doesnt come back

djpharoah wrote:
karsten wrote:

i just followed the INSTALL file in the .gz file smile one difference that might make a difference is that Arch puts the bonobo libraries in a different location than the default that's mentioned in the INSTALL.  use /opt/gnome/lib/bonobo/servers instead

djpharoah wrote:
karsten wrote:

awesome, this kernel is pretty slick- suspend/resume works great, and the hdaps applet too.  next up to try is the undervolting and fan control smile

How exactly did you get the hdaps_applet to work in gnome? It doesnt appear in my gnome-menu as an applet option.

aaaaaahhhhhhhhhhhhhhhhhhh

Well - i couldnt get hdaps to get my harddrive to go into protect mode - apparently it has something to do with the firmware of the harddrive. I find that ridiculous since the harddrive works with the Thinkpad protection system in windows...

but whatever.. that feature is the least of my concern .

Offline

#56 2006-08-11 10:42:12

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

karsten wrote:

i couldn't either.  was shaking it even smile gotta be a way somehow. how do you get video back after Fn-F4 sleep mode? my monitor doesnt come back

djpharoah wrote:
karsten wrote:

i just followed the INSTALL file in the .gz file smile one difference that might make a difference is that Arch puts the bonobo libraries in a different location than the default that's mentioned in the INSTALL.  use /opt/gnome/lib/bonobo/servers instead

djpharoah wrote:
karsten wrote:

awesome, this kernel is pretty slick- suspend/resume works great, and the hdaps applet too.  next up to try is the undervolting and fan control smile

How exactly did you get the hdaps_applet to work in gnome? It doesnt appear in my gnome-menu as an applet option.

aaaaaahhhhhhhhhhhhhhhhhhh

Well - i couldnt get hdaps to get my harddrive to go into protect mode - apparently it has something to do with the firmware of the harddrive. I find that ridiculous since the harddrive works with the Thinkpad protection system in windows...

but whatever.. that feature is the least of my concern .

Dont use Fn+F4 to sleep. Use the hibernate command to sleep/suspend.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#57 2006-08-11 13:05:53

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Mine woks with Fn+F4.

Offline

#58 2006-08-11 13:27:47

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

cougar wrote:

Mine woks with Fn+F4.

Suspend and resume?

hmm.. I havent tried that. Will try when I get home.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#59 2006-08-11 14:55:27

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Yep, and only with your kernel !

Offline

#60 2006-08-11 16:23:15

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

djpharoah wrote:

To get rid of the pageset error add this line to your /etc/hibernate/suspend2.conf

ProcSetting extra_pages_allowance 0

Thx, that helped. I'm now able to hibernate. Too bad my system starts normaly after that, in other words it doesn't resume.

My kernel line:

kernel /boot/vmlinuz26thinkpad root=/dev/sda7 resume2=swap:/dev/sda2 video=vesafb:ywrap,mtrr,1400x1050-32@50 splash=verbose,theme:darch quiet console=tty1 ro

fstab:

/dev/sda2 swap swap defaults 0 0

and dmesg:

Suspend2 Core.
Suspend2 Compression Driver loading.
Suspend2 Encryption Driver loading.
Suspend2 Swap Writer loading.
Suspend2 FileWriter loading.
ACPI wakeup devices: 
 LID SLPB UART EXP0 EXP1 EXP2 EXP3 PCI1 USB0 USB1 USB3 USB7 AC9M 
ACPI: (supports S0 S3 S4 S5)
Freeing unused kernel memory: 184k freed
libata version 2.00 loaded.
input: AT Translated Set 2 keyboard as /class/input/input0
ata_piix 0000:00:1f.2: version 2.00
ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x18C0 irq 14
scsi0 : ata_piix
ata1.00: ATA-6, max UDMA/100, 117210240 sectors: LBA 
ata1.00: ata1: dev 0 multi count 16
ata1.00: applying bridge limits
ata1.00: configured for UDMA/100
  Vendor: ATA       Model: HTS541060G9AT00   Rev: MB3I
  Type:   Direct-Access                      ANSI SCSI revision: 05
 0:0:0:0: Attached scsi generic sg0 type 0
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x18C8 irq 15
scsi1 : ata_piix
ata2.00: ATAPI, max UDMA/33
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2c6ab1, caps: 0x884793/0x0
serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ata2.00: configured for UDMA/33
  Vendor: MATSHITA  Model: DVD-RAM UJ-822S   Rev: 1.03
  Type:   CD-ROM                             ANSI SCSI revision: 05
 1:0:0:0: Attached scsi generic sg1 type 5
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda:sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
 sda1 sda2 sda3 <sda5>

Could need help. thx


Haven't been here in a while. Still rocking Arch. smile

Offline

#61 2006-08-11 17:37:58

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Sigi wrote:

My kernel line:

kernel /boot/vmlinuz26thinkpad root=/dev/sda7 resume2=swap:/dev/sda2 video=vesafb:ywrap,mtrr,1400x1050-32@50 splash=verbose,theme:darch quiet console=tty1 ro

Try hibernating with just this as your kernel line. I have a feeling that your vesafb-tng parameters might be causing an issue. Also noticed you dont have an initrd in your kernel boot config. It is neccessary to have that to resume from hibernation.

kernel /boot/vmlinuz26thinkpad root=/dev/sda7 resume2=swap:/dev/sda2
initrd /boot/kernel26thinkpad.img

IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#62 2006-08-11 18:30:24

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

The initrd-thing is in for sure. Next time I'll post the whole menu.lst... ;-)

I'll try your tip as soon as I find the time to, thanks.


Haven't been here in a while. Still rocking Arch. smile

Offline

#63 2006-08-11 19:23:06

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Sigi wrote:

The initrd-thing is in for sure. Next time I'll post the whole menu.lst... ;-)

I'll try your tip as soon as I find the time to, thanks.

My kernel hacking guru friends tell me that vesafb-tng is sometimes the cause of resuming issues. Thats why i was hesistant about putting in the pathset. However it worked out fine for me and many others.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#64 2006-08-11 20:37:43

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

djpharoah wrote:

Well - i couldnt get hdaps to get my harddrive to go into protect mode

Mine's working too; Gotta be lucky  smile

Offline

#65 2006-08-12 00:54:31

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

djpharoah wrote:
Sigi wrote:

The initrd-thing is in for sure. Next time I'll post the whole menu.lst... ;-)

I'll try your tip as soon as I find the time to, thanks.

My kernel hacking guru friends tell me that vesafb-tng is sometimes the cause of resuming issues. Thats why i was hesistant about putting in the pathset. However it worked out fine for me and many others.

Thanks a lot. It works!

But I don't think it was the vesafb thing. My kernel-line now looks like this:

kernel /boot/vmlinuz26thinkpad root=/dev/sda7 resume2=swap:/dev/sda2 video=vesafb:ywrap,mtrr,1400x1050-32@50 splash=verbose,theme:darch quiet console=tty1

As you see, the vesafb parameter is still there. The mistake I made was that in my last few tries, one line in /etc/hibernate/suspend2.conf was outcommented instead of looking like this:

SuspendDevice swap:/dev/sda2

:oops: Thank you for all for your help. The thinkpad-kernel really rocks!


Haven't been here in a while. Still rocking Arch. smile

Offline

#66 2006-08-12 02:09:31

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Hey - awesome!!

Glad its working for you.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#67 2006-08-12 02:10:12

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

djpharoah wrote:

If someone could build a package for AUR that would be awesome.

The kde hdaps applet is here

Done

hdaps works great on my T43.

Cheers Sigi aka S1G1


Haven't been here in a while. Still rocking Arch. smile

Offline

#68 2006-08-12 14:36:28

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

k how about getting one working for gnome? smile

Offline

#69 2006-08-12 20:03:28

allucid
Member
Registered: 2006-01-06
Posts: 259

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

skyray wrote:

Wow, I've just discovered this thread and I really like the idea of having a special kernel for IBM Thinkpads! Respect to the maintainer - that's great stuff!
Unfortunately, I own a Lenovo T60 (ipw3945 / Ati x1300 @ 1400x1050). My problem with nearly every kernel is that the framebuffer is not working (did anyone get this working on such a T60?). I tried

video=vesafb:ywrap,mtrr,1400x1050-32@50

but that leads to a smashed boot screen until X comes up. :'(

Will there be an ipw3945 package for this great thinkpad kernel?
Before damaging my new Laptop: Does undervolting work fine with dualcore cpus?

Thanks!

Did you try radeonfb?

Offline

#70 2006-08-13 02:58:53

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

skyray wrote:

Wow, I've just discovered this thread and I really like the idea of having a special kernel for IBM Thinkpads! Respect to the maintainer - that's great stuff!
Unfortunately, I own a Lenovo T60 (ipw3945 / Ati x1300 @ 1400x1050). My problem with nearly every kernel is that the framebuffer is not working (did anyone get this working on such a T60?). I tried

video=vesafb:ywrap,mtrr,1400x1050-32@50

but that leads to a smashed boot screen until X comes up. :'(

Will there be an ipw3945 package for this great thinkpad kernel?
Before damaging my new Laptop: Does undervolting work fine with dualcore cpus?

Thanks!

Hey thanks for the kind words.

Yes - there will be ipw3945 drivers soon. A word of advice is that if your having issues with suspension dont use vesafb or radeonfb boot paramters. They might be the cause of your issues.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#71 2006-08-13 06:25:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

So for the record, this kernel fails on the T60.  So does beyond.  I have a feeling it's the vesafb-tng.  It boots, takes maybe 1 second to show the logo and boot info, then blanks and never comes back.  I haven't had the time to diagnose, as I've just booted right back into the stock kernel (which works fine).

Offline

#72 2006-08-13 14:38:01

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

skyray wrote:

I've just created (adopted from the beyond kernel) my first package and uploaded it. It's the ipw3945 package for the stunning kernel26thinkpad kernel.
http://aur.archlinux.org/packages.php?d … =1&ID=6344

awesome thanks


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#73 2006-08-13 14:38:40

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

phrakture wrote:

So for the record, this kernel fails on the T60.  So does beyond.  I have a feeling it's the vesafb-tng.  It boots, takes maybe 1 second to show the logo and boot info, then blanks and never comes back.  I haven't had the time to diagnose, as I've just booted right back into the stock kernel (which works fine).

Can you try the kernel again with the lines that turn off vesa i nyour grub config?


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#74 2006-08-13 17:45:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

skyray wrote:
phrakture wrote:

So for the record, this kernel fails on the T60.  So does beyond.  I have a feeling it's the vesafb-tng.  It boots, takes maybe 1 second to show the logo and boot info, then blanks and never comes back.  I haven't had the time to diagnose, as I've just booted right back into the stock kernel (which works fine).

Thank god. I'm not the only person big_smile
Indeed, the beyond Kernel doesn't work out of the box. I got it working turning the vesafb off via

video=vesafb:off

that should work for djpharoah's Thinkpad kernel, too.

Oh, nice job, man!  BTW, did you report this to iphitus?  It might be worth noting to him that vesafb-tng isn't 100% stable.
Thanks for the tip, I didn't have the time to research that one.

Offline

#75 2006-08-14 19:56:53

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

ok i have any Problems...

1. I must have an video=vesafb:off at the kernel line, or I get a black screen when booting.

2. I load the speedstep-centrino an ondemand module at boot, but it fails, says no such device... why?


The Problems after these Line are solved


[solved]

!!I have forgot to add the "resume" Hook to mkinitcpio.conf, after generating new mkinitcpio.img it works

3. Suspend works, but resume notm it seems that i have a problem with my swap

Unable to find swap-space signature

edit: I have these Problem ony after hibernate, If I shutdown normally , no problem

Her is output of dmesg

sd 2:0:0:0: Attached scsi disk sdb
usb-storage: device scan complete
sr0: scsi3-mmc drive: 94x/94x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
EXT3 FS on sda2, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Unable to find swap-space signature
e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
e1000: eth0: e1000_watchdog_task: 10/100 speed: disabling TSO
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
mtrr: no more MTRRs available
eth0: no IPv6 routers present

her my fstab

/dev/sda1              none          swap      sw
/dev/sda2              /             ext3      defaults
/dev/sda3              /home         ext3      defaults

here fdisk -l /dev/sda


[root@thinkpad flo]# fdisk -l /dev/sda 
Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         389     2940808+  82  Linux swap / Solaris
/dev/sda2   *         390        1682     9775080   83  Linux
/dev/sda3            1683       10337    65431800   83  Linux

I have run mkswap and swapon, but no change .

swapon -v /dev/sda1 says

swapon -v /dev/sda1
swapon on /dev/sda1
swapon: /dev/sda1: Device or resource busy
[root@thinkpad flo]#

but bevore these kernel and hibernate I have no problem


[solved]
OK suspend to RAM works but at wakeup my Display was Black
edit: "acpi_sleep=s3_bios" in the kernel line help


Have you tried to turn it off and on again?

Offline

Board footer

Powered by FluxBB