General protection fault: 0000 [#1] SMP

2016-10-31 Thread Daniel Guillermo Bareiro
Hi all!

A few minutes ago I just experienced a horrible crash on one of my
computers with Debian Jessie:

---
Oct 31 17:17:32 ss01 kernel: [694807.832919] general protection fault:  
[#1] SMP
Oct 31 17:17:32 ss01 kernel: [694807.832946] Modules linked in: vhost_net vhost 
macvtap macvlan tun binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd 
fscache sunrpc bridge stp llc snd_hda_codec_analog snd_hda_codec_generic arc4 
rtl8187 nouveau kvm_amd ppdev eeprom_93cx6 kvm mac80211 pcspkr cfg80211 
snd_hda_intel serio_raw mxm_wmi wmi video ttm snd_hda_controller edac_mce_amd 
edac_core drm_kms_helper rfkill snd_hda_codec k8temp drm joydev nv_tco 
i2c_algo_bit evdev snd_hwdep snd_pcm shpchp parport_pc snd_timer i2c_nforce2 
snd parport soundcore processor asus_atk0110 button adt7475 hwmon_vid i2c_core 
firewire_sbp2 loop autofs4 ext4 crc16 mbcache jbd2 dm_mod raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 
md_mod sr_mod cdrom hid_generic usbhid hid sg sd_mod crc_t10dif 
crct10dif_generic crct10dif_common psmouse ohci_pci sata_sil24 forcedeth 
firewire_ohci firewire_core ata_generic crc_itu_t floppy ohci_hcd ehci_pci 
ehci_hcd pata_amd sata_nv 8139too 8139cp mii libata fan scsi_mod thermal 
thermal_sys usbcore usb_common
Oct 31 17:17:32 ss01 kernel: [694807.833197] CPU: 1 PID: 22 Comm: khugepaged 
Not tainted 3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u2
Oct 31 17:17:32 ss01 kernel: [694807.833209] Hardware name: System manufacturer 
System Product Name/M2N32-SLI DELUXE, BIOS ASUS M2N32-SLI DELUXE ACPI BIOS 
Revision 2205 03/02/2009
Oct 31 17:17:32 ss01 kernel: [694807.833223] task: 8801b8b38b60 ti: 
8801b8b44000 task.ti: 8801b8b44000
Oct 31 17:17:32 ss01 kernel: [694807.833234] RIP: 0010:[]  
[] down_read+0x11/0x20
Oct 31 17:17:32 ss01 kernel: [694807.833248] RSP: 0018:8801b8b478e0  
EFLAGS: 00010246
Oct 31 17:17:32 ss01 kernel: [694807.833256] RAX: 3553423839545239 RBX: 
3553423839545239 RCX: 
Oct 31 17:17:32 ss01 kernel: [694807.833264] RDX: 0001 RSI: 
 RDI: 3553423839545239
Oct 31 17:17:32 ss01 kernel: [694807.833273] RBP: 8801b8b47950 R08: 
8800ba69c200 R09: 
Oct 31 17:17:32 ss01 kernel: [694807.833281] R10: 8800ba69c000 R11: 
0001 R12: 
Oct 31 17:17:32 ss01 kernel: [694807.833289] R13:  R14: 
8801 R15: 0001
Oct 31 17:17:32 ss01 kernel: [694807.833299] FS:  7f92ef5f5700() 
GS:8801bfc8() knlGS:
Oct 31 17:17:32 ss01 kernel: [694807.833308] CS:  0010 DS:  ES:  CR0: 
8005003b
Oct 31 17:17:32 ss01 kernel: [694807.833315] CR2: 7f51b75d4000 CR3: 
01813000 CR4: 07e0
Oct 31 17:17:32 ss01 kernel: [694807.833324] Stack:
Oct 31 17:17:32 ss01 kernel: [694807.833328]  88005c5e8b80 8118ec20 
ea0001ce4088 880199f9f538
Oct 31 17:17:32 ss01 kernel: [694807.833341]  ea0001ce4088 8801b8b479e0 
0001 
Oct 31 17:17:32 ss01 kernel: [694807.833354]  ea0001ce40a8 ea0001ce4088 
811773ef 00010001
Oct 31 17:17:32 ss01 kernel: [694807.833366] Call Trace:
Oct 31 17:17:32 ss01 kernel: [694807.833375]  [] ? 
rmap_walk_ksm+0x80/0x180
Oct 31 17:17:32 ss01 kernel: [694807.833385]  [] ? 
page_referenced+0x9f/0x110
Oct 31 17:17:32 ss01 kernel: [694807.833394]  [] ? 
__page_check_address+0x1c0/0x1c0
Oct 31 17:17:32 ss01 kernel: [694807.833403]  [] ? 
page_get_anon_vma+0x70/0x70
Oct 31 17:17:32 ss01 kernel: [694807.833414]  [] ? 
shrink_active_list+0x1dd/0x380
Oct 31 17:17:32 ss01 kernel: [694807.833423]  [] ? 
shrink_lruvec+0x619/0x6a0
Oct 31 17:17:32 ss01 kernel: [694807.833432]  [] ? 
try_to_wake_up+0x1cb/0x2f0
Oct 31 17:17:32 ss01 kernel: [694807.833441]  [] ? 
try_to_wake_up+0x1cb/0x2f0
Oct 31 17:17:32 ss01 kernel: [694807.833450]  [] ? 
shrink_zone+0x74/0x1b0
Oct 31 17:17:32 ss01 kernel: [694807.833459]  [] ? 
do_try_to_free_pages+0x12d/0x520
Oct 31 17:17:32 ss01 kernel: [694807.833469]  [] ? 
try_to_free_pages+0xc5/0x190
Oct 31 17:17:32 ss01 kernel: [694807.833478]  [] ? 
__alloc_pages_nodemask+0x726/0xb50
Oct 31 17:17:32 ss01 kernel: [694807.833488]  [] ? 
khugepaged+0x59f/0x11d0
Oct 31 17:17:32 ss01 kernel: [694807.833497]  [] ? 
prepare_to_wait_event+0xf0/0xf0
Oct 31 17:17:32 ss01 kernel: [694807.833507]  [] ? 
maybe_pmd_mkwrite+0x20/0x20
Oct 31 17:17:32 ss01 kernel: [694807.833516]  [] ? 
kthread+0xbd/0xe0
Oct 31 17:17:32 ss01 kernel: [694807.833524]  [] ? 
kthread_create_on_node+0x180/0x180
Oct 31 17:17:32 ss01 kernel: [694807.833534]  [] ? 
ret_from_fork+0x58/0x90
Oct 31 17:17:32 ss01 kernel: [694807.833543]  [] ? 
kthread_create_on_node+0x180/0x180
Oct 31 17:17:32 ss01 kernel: [694807.833550] Code: de 48 89 07 66 b8 00 02 c6 
47 18 01 48 89 47 08 48 8b 7f 10 e9 e1 13 b8 ff 90 66 66 66 66 90 53 48 89 fb

Re: Bad pagetable: 000d [#2] SMP. Is this a kernel problem?

2012-07-20 Thread Morning Star
Thanks, Camaleón.
I would try to do both of them and make a comparison later.

Regard,

Marco


On Fri, Jul 20, 2012 at 8:47 AM, Camaleón  wrote:

> On Fri, 20 Jul 2012 04:27:59 -0700, Morning Star wrote:
>
> > I have some frequently problem when run some applications using Debian
> > 6.0.5-amd64. I did the fresh install today. Install some application,
> > started use them and get this error on `dmesg`. At this time i noticed
> > an application named firefox got freeze, not responding.
> >
> > [quote]
> > $ dmesg
> >
> > [10756.194057] firefox: Corrupted page table at address 7f0fc100d3b8
> > [10756.194061] PGD 4d55f067 PUD 4d551067 PMD 5e346067 PTE
> 807b43e44067
> > [10756.194064] Bad pagetable: 000d [#2] SMP
>
> (...)
>
> > I use xfce as the windows manager and gdm as the display manager. my
> > kernel: Linux hostname 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012
> > x86_64 GNU/Linux
> > What happen? Is this a kernel problem? What should I do?
>
> I would report at Debian BTS.
>
> Meanwhile, for testing purposes, you can get a new kernel (from the
> backports or by self-compiling sources in kernel.org), install in
> paralell and check if the problem persists.
>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/jubuhl$10r$1...@dough.gmane.org
>
>


Re: Bad pagetable: 000d [#2] SMP. Is this a kernel problem?

2012-07-20 Thread Camaleón
On Fri, 20 Jul 2012 04:27:59 -0700, Morning Star wrote:

> I have some frequently problem when run some applications using Debian
> 6.0.5-amd64. I did the fresh install today. Install some application,
> started use them and get this error on `dmesg`. At this time i noticed
> an application named firefox got freeze, not responding.
> 
> [quote]
> $ dmesg
> 
> [10756.194057] firefox: Corrupted page table at address 7f0fc100d3b8
> [10756.194061] PGD 4d55f067 PUD 4d551067 PMD 5e346067 PTE 807b43e44067 
> [10756.194064] Bad pagetable: 000d [#2] SMP

(...)

> I use xfce as the windows manager and gdm as the display manager. my
> kernel: Linux hostname 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012
> x86_64 GNU/Linux
> What happen? Is this a kernel problem? What should I do?

I would report at Debian BTS.

Meanwhile, for testing purposes, you can get a new kernel (from the 
backports or by self-compiling sources in kernel.org), install in 
paralell and check if the problem persists.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jubuhl$10r$1...@dough.gmane.org



Bad pagetable: 000d [#2] SMP. Is this a kernel problem?

2012-07-20 Thread Morning Star
Hi guys,
I have some frequently problem when run some applications using Debian
6.0.5-amd64. I did the fresh install today. Install some application,
started use them and get this error on `dmesg`. At this time i noticed an
application named firefox got freeze, not responding.

[quote]
$ dmesg

[10756.194057] firefox: Corrupted page table at address 7f0fc100d3b8
[10756.194061] PGD 4d55f067 PUD 4d551067 PMD 5e346067 PTE 807b43e44067
[10756.194064] Bad pagetable: 000d [#2] SMP
[10756.194066] last sysfs file:
/sys/devices/pci:00/:00:04.0/:02:00.0/class
[10756.194069] CPU 0
[10756.194070] Modules linked in: snd_pcm_oss snd_mixer_oss aes_x86_64
aes_generic xts gf128mul dm_crypt dm_mod fuse loop snd_hda_codec_realtek
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer radeon
snd_seq_device ttm drm_kms_helper drm snd i2c_algo_bit i2c_piix4 soundcore
parport_pc pcspkr wmi psmouse serio_raw evdev button processor joydev
i2c_core asus_atk0110 snd_page_alloc parport shpchp pci_hotplug ext4
mbcache jbd2 crc16 usbhid hid sd_mod crc_t10dif ata_generic ohci_hcd
pata_atiixp ahci ehci_hcd libata usbcore r8169 nls_base thermal mii
scsi_mod thermal_sys [last unloaded: scsi_wait_scan]
[10756.194108] Pid: 22833, comm: firefox Tainted: G  D
 2.6.32-5-amd64 #1 System Product Name
[10756.194110] RIP: 0033:[<7f0fcf2f3e42>]  [<7f0fcf2f3e42>]
0x7f0fcf2f3e42
[10756.194116] RSP: 002b:7fff09a76958  EFLAGS: 00010287
[10756.194119] RAX: 7f0fb4e16d30 RBX: 7fff09a769f0 RCX:
7fff09a76a50
[10756.194121] RDX: 7f0fb4e16d30 RSI: 7f0fb4e16d30 RDI:
7f0fc100d350
[10756.194122] RBP: 7f0fbdf62240 R08: 0018 R09:
0018
[10756.194124] R10: 7fff09a76920 R11: 7f0fc6338000 R12:
7fff09a76a50
[10756.194125] R13: 7f0fb4e16d30 R14: 7f0fd2164301 R15:
7f0fd21e5820
[10756.194128] FS:  7f0fd3414720() GS:88000500()
knlGS:f756c6d0
[10756.194129] CS:  0010 DS:  ES:  CR0: 80050033
[10756.194131] CR2: 7f0fc100d3b8 CR3: 4d4da000 CR4:
000406f0
[10756.194132] DR0:  DR1:  DR2:

[10756.194134] DR3:  DR6: 0ff0 DR7:
0400
[10756.194136] Process firefox (pid: 22833, threadinfo 88004d41a000,
task 88011b4a3880)
[10756.194137]
[10756.194138] RIP  [<7f0fcf2f3e42>] 0x7f0fcf2f3e42
[10756.194141]  RSP <7fff09a76958>
[10756.194143] ---[ end trace ea1318a9dac02a4b ]---

[/quote]

I use xfce as the windows manager and gdm as the display manager.
my kernel: Linux hostname 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012
x86_64 GNU/Linux
What happen? Is this a kernel problem? What should I do?

Regard,

Marco


Re: Strange USB issue on 6.0.4 : kernel:[1202001.893158] Oops: 0010 [#5] SMP

2012-03-28 Thread Dennis Clarke

> On Tue, 27 Mar 2012 18:00:10 -0400, Dennis Clarke wrote:
>
>> I have a HP external USB attached disk plugged into a USB port on my
>> system.
>>
>> Periodically, every eight or twelve hours or so, and without any real
>> pattern or trigger cause, I see the following message :
>>
>> root@aster:~#
>> Message from syslogd@aster at Mar 26 15:23:02 ...
>>  kernel:[1202001.893158] Oops: 0010 [#5] SMP
>
> (...)
>
> Being a kernel oops, I would report it in Debian BTS.

okay, will do. thanks

-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-+---+
| Dennis Clarke   | Solaris and Linux and Open Source |
| dcla...@blastwave.org   | Respect for open standards.   |
+-+---+


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/35869.10.0.66.17.1332949773.squir...@interact.purplecow.org



Re: Strange USB issue on 6.0.4 : kernel:[1202001.893158] Oops: 0010 [#5] SMP

2012-03-28 Thread Camaleón
On Tue, 27 Mar 2012 18:00:10 -0400, Dennis Clarke wrote:

> I have a HP external USB attached disk plugged into a USB port on my
> system.
> 
> Periodically, every eight or twelve hours or so, and without any real
> pattern or trigger cause, I see the following message :
> 
> root@aster:~#
> Message from syslogd@aster at Mar 26 15:23:02 ...
>  kernel:[1202001.893158] Oops: 0010 [#5] SMP

(...)

Being a kernel oops, I would report it in Debian BTS.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jkvbj3$hqr$1...@dough.gmane.org



Strange USB issue on 6.0.4 : kernel:[1202001.893158] Oops: 0010 [#5] SMP

2012-03-27 Thread Dennis Clarke

I have a HP external USB attached disk plugged into a USB port on my system.

Periodically, every eight or twelve hours or so, and without any real pattern
or trigger cause, I see the following message :

root@aster:~#
Message from syslogd@aster at Mar 26 15:23:02 ...
 kernel:[1202001.893158] Oops: 0010 [#5] SMP

Message from syslogd@aster at Mar 26 15:23:02 ...
 kernel:[1202001.893165] last sysfs file:
/sys/devices/pci:00/:00:02.0/usb3/3-1/3-1.3/3-1.3:1.0/host8/target8:0:0/8:0:0:0/block/sdc/uevent

Message from syslogd@aster at Mar 26 15:23:02 ...
 kernel:[1202001.893435] Stack:

Message from syslogd@aster at Mar 26 15:23:02 ...
 kernel:[1202001.893469] Call Trace:

Message from syslogd@aster at Mar 26 15:23:02 ...
 kernel:[1202001.893735] Code:  Bad RIP value.

Message from syslogd@aster at Mar 26 15:23:02 ...
 kernel:[1202001.893754] CR2: 00fd0019

The external USB disk is no longer mounted and any attemp to read it ( with a
simple ls ) results in IO errors.

I unplug it.

Wait 30 secs or so.

Plug it back in and then I see in /dev/sd? thus :

root@aster:~# ls -laptr /dev/sd*
brw-rw 1 root disk   8, 16 Mar 12 17:29 /dev/sdb
brw-rw 1 root disk   8,  0 Mar 12 17:29 /dev/sda
brw-rw 1 root disk   8, 17 Mar 12 17:29 /dev/sdb1
brw-rw 1 root disk   8,  3 Mar 12 17:29 /dev/sda3
brw-rw 1 root disk   8,  2 Mar 12 17:29 /dev/sda2
brw-rw 1 root disk   8,  1 Mar 12 17:29 /dev/sda1
brw-rw 1 root disk   8,  4 Mar 12 17:29 /dev/sda4
brw-rw 1 root floppy 8, 33 Mar 12 17:29 /dev/sdc1
brw-rw 1 root floppy 8, 32 Mar 12 17:29 /dev/sdc
brw-rw 1 root floppy 8, 96 Mar 27 21:53 /dev/sdg
brw-rw 1 root floppy 8, 97 Mar 27 21:53 /dev/sdg1

The last entry there /dev/sdg1 would be my external HP disk which I can now
mount :

root@aster:~# /bin/mount -v -t ext4 -o rw /dev/sdg1 /hp

Now the filesystem is usable with no real issues.

I have to repeat this process daily, once or twice, and the message on the
console are generally the same. More or less.

How would I go about debugging this issue if it is caused by the USB driver ?

Thank you in advance for any insights.

Dennis



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-+---+
| Dennis Clarke   | Solaris and Linux and Open Source |
| dcla...@blastwave.org   | Respect for open standards.   |
+-+---+


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/37271.10.0.66.17.1332885610.squir...@interact.purplecow.org



Re: aacraid and smp kernel: SCSI hang

2012-03-23 Thread Joey L
did you have any issues with the video on the ibm 3650 ?
I am having a wierd problem where i disabled the gdm3 from loading -
now i can not get the text console on the server.
You know the login screen in text mode on the server is not visiable -
but can login to server from other workstations.
I thought i sent you this email before...but do not knwo if you got it.
thanks
mjh

On Wed, Mar 14, 2012 at 9:58 AM, Joey L  wrote:
> thanks a bunch!
>
> On Wed, Mar 14, 2012 at 9:46 AM, Kostas Magkos  wrote:
>> If you are running squeeze you shouldn't be searching for the module.
>>
>> What you see on this webpage is the Adaptec Storage Manager (ASM) which
>> is the software to manage the controller. The aacraid module (which is
>> needed for the kernel to access the controller and thus the raid
>> containers) should be included in the stock squeeze kernel. At least
>> this is the case for our 2410sa. I believe both controllers (2820sa and
>> 2410sa) are accessed through the same module, but I'm not sure. You
>> should check.
>>
>> A good place for getting help and searching for solutions is the Adaptec
>> Support Knowledgebase at:
>> http://ask.adaptec.com
>>
>> As a matter of fact, I did use ASK quite recently (last summer) and
>> while our controller is really old they, worked with me and helped me
>> figure out what was messing up our setup. The support guy even gave me a
>> link to download a version of ASM that wasn't in the download page of
>> the 2410sa, compatible with debian.
>>
>> Regards,
>> Kostas
>>
>> Joey L wrote:
>>> thanks for the quick reply back - do you know where i can get the
>>> latest module for debian squeeze x86 ?
>>> There are so many on the site and that i have found and do not know
>>> which is which..
>>> http://www.adaptec.com/en-us/downloads/storage_manager/sm/productid=aar-2820sa&dn=adaptec+serial+ata+ii+raid+2820sa.html
>>>
>>> thanks
>>>
>>> On Wed, Mar 14, 2012 at 7:01 AM, Kostas Magkos  
>>> wrote:
>>>
>>>> Hi there,
>>>>
>>>> I've scrolled back my notes and found that this was an issue with sarge
>>>> and aacraid module prior to 1.1.5.-2400. This was solved as soon as we
>>>> upgraded to etch (etch comes with aacraid 1.1.5-2409). As I can recall,
>>>> the system had a rather arbitrary behaviour while running sarge: most of
>>>> the times it would fail to boot, but sometimes it would reach the login
>>>> prompt and then run steadily until the next reboot.
>>>>
>>>> For the record I can't remember getting any answers for this.
>>>>
>>>> Hope that helps a bit,
>>>> Kostas
>>>>
>>>> Joey L wrote:
>>>>
>>>>> hi..i am getting the same issue on ibm 3650 - did you get any answers
>>>>> or found solution ?
>>>>>
>>>>> thanks
>>>>> mj
>>>>>
>>>>> On Wed, Dec 5, 2007 at 5:09 AM, Kostas Magkos  
>>>>> wrote:
>>>>>
>>>>>
>>>>>> Greetings all,
>>>>>>
>>>>>> Our main server is an Opteron system with an Adaptec SATA RAID 2410SA
>>>>>> controller and 4x 250GB Seagate Barracuda disks attached to it, forming
>>>>>> a RAID-5 and a RAID-0 container. The system is running sarge with the
>>>>>> latest 2.6.8 kernel (2.6.8-13-amd64-k8).
>>>>>>
>>>>>> We recently upgraded the server with a second Opteron CPU. When we tried
>>>>>> to boot the system with the SMP kernel it gave the following messages
>>>>>> just after the login prompt and hung:
>>>>>>
>>>>>> Nov 9 09:52:58 myhost kernel: aacraid: Host adapter reset request. SCSI
>>>>>> hang ?
>>>>>> Nov 9 09:52:58 myhost kernel: aacraid: Host adapter reset request. SCSI
>>>>>> hang ?
>>>>>> Nov 9 09:53:32 myhost kernel: aacraid: SCSI bus appears hung
>>>>>>
>>>>>> Sarge 2.6.8 kernels contain aacraid 1.1.2-lk2. I managed to compile and
>>>>>> install version 1.1.5-2400 (downloaded from Adaptec's site) but without
>>>>>> any luck, the system still hangs.
>>>>>>
>>>>>> Please note that aacraid 1.1.5-2400 has been used in the single CPU
>>>>>> system (i.e. before the addition of the second CPU) for quite some time,
>>>>

Re: INSTALL DEBIAN 6.0 WITH KERNEL SMP

2011-04-19 Thread Johan Grönqvist

2011-04-19 15:29, alex.padoly skrev:

I would like to know if I can choose a smp kernel when I going to
install DEBIAN 6.0



I believe there is no choice. All kernels are smp-kernels.

A related bug report was closed in 2007 with the comment:

"As recent Linux kernels in Debian all have SMP support built-in, I am
closing this bug report, as there is no need to install a specific
kernel version for system with more than one processor."


/ johan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/iok3rd$8o8$1...@dough.gmane.org



INSTALL DEBIAN 6.0 WITH KERNEL SMP

2011-04-19 Thread alex.padoly
Hi,

 I would like to know if I can choose a smp kernel when I going to install 
DEBIAN 6.0

 Regards.

 Alex PADOLY


Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-30 Thread Stan Hoeppner
Arthur Machlas put forth on 7/30/2010 9:04 AM:

>> BTW, I'm curious as to your motivations for this.  Is this basically a
>> "Windows can do 800MHz, so $deity dammit, Linux should be able to do it as
>> well!" thing?
> 
> Not as such. More like a my processor is supposed to scale from 800Mhz
> to 1.6Ghz, and its strange that it doesn't. I wonder why.

That's what I figured.  I had a similar mindset when I was a younger man.  Let
me share a relevant story:

Back in 1997 I bought a beautiful used Midnight Blue 1993 Ford Probe GT with
the hopped up 24 valve quad cam V6 and a 5 speed manual transmission.  It was
Motor Trend Magazine's 1993 Car Of The Year.  The tested top speed was 137
miles per hour.  I was dead set on achieving that published top speed.  I
didn't have a racetrack available for my testing.  Over the course of about 3
weeks I would find open stretches of Interstate 370 with little to no traffic.
 On 5 occasions I was able to hit 135 mph, but no more.  I was determined to
hit the magical 137 that Motor Trend said it would do.  On the six occasion on
a cool afternoon I had just hit 136 mph when I rocketed past a hidden Missouri
Highway Patrolman manning a radar gun.  As soon as I saw the cherries in my
rear view mirror I slowed down and pulled over.  Evading wasn't an option even
with that kind of speed and lead: you can't outrun a radio or a helicopter. ;)

Due to traveling at almost double the posted speed limit I spent a mandatory
night in jail.  The attorney cost me $450 and the ticket for doing 76 mph
_over_ the posted speed limit was $548, for a grand total of $998.  The
attorney got the reckless driving charge dropped and massaged the speeding
charge so I only took a 2 point hit on my license instead of 5.  A reckless
driving conviction along with the additional points would have put me into
what the insurance industry calls the "high risk" category, which would have
quadrupled my insurance premiums.  That would have driven my monthly insurance
payment to just under $500/month, which was more than my split of rent at the
time.

The moral of the story:  Even if "they" say it will do it, and others have
achieved it, it's not always wise, nor cost effective, to maniacally chase the
numbers. :)

> I suppose that will have to count as advice on how to proceed, but I
> hope you'll forgive me if I continue to search for an answer. Your
> comments are reassuring to me though, that it isn't a serious problem,
> and I do thank you for that.

There's nothing to forgive.  It's your time and effort going into this.  I'm
simply trying to save you large amounts of both as I've "been there and done
that".

> At this point, I'm thinking it's a problem with the kernel or a
> problem with my bios, and I think there are some kernel command line
> parameters I can use to test the latter in Greg's book.

And before filing a kernel bug, it would be very wise to ask the questions you
have here on lkml before you submit a bug.  Debian-users isn't really the
proper venue for discussing your problem.  This is a user list, not a
developer list.  There are very few, if any, kernel hackers on this list with
the knowledge/answers you are seeking.  And no I'm not one of them.  Having
more than cursory experience rolling my own kernels is a far cry from being a
kernel hacker.  I'm not a C programmer.

My advice:  expend your energy on aspects of Debian/Linux that will yield
practical, tangible benefits.  This isn't one of them.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c52fd83.3080...@hardwarefreak.com



Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-30 Thread Arthur Machlas
On Thu, Jul 29, 2010 at 8:20 PM, Christian Jaeger  wrote:
> How do you read the possible cpu frequencies?
>
> Your kernel needs cpufreq support and ondemand, powersave, etc.
> governors; check with
> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
>
> Although with some hardware AFAIK other drivers than cpufreq are used,
> I don't know for Atom.
>

Hi Chris,

Available frequencies are taken from
/sys/devices/system/cpu/cpu0/freq/available_scaling_frequencies, in
addition powertop shows the same information.

Governors are all compiled into the kernel, and switching between them
by echoing "conservative" or "ondemand" to
/sys/devices/system/cpu/cpu0/freq/current_scaling_governor works. I
haven't tried user space yet, because I don't have any userspace tools
installed right now to change cpufreq. I'll remedy that this weekend
and see if it makes any difference.

Currently I'm using the acpi_cpufreq built into the kernel, however a
few other intel related ones like p4 and even those marked as
deprecated are built as modules.

Appreciate the input,
AM


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinwxfwgrmvp+bghixqf8owqgprhrs3d3xt=b...@mail.gmail.com



Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-30 Thread Arthur Machlas
On Fri, Jul 30, 2010 at 12:52 AM, Stan Hoeppner  wrote:
> Arthur Machlas put forth on 7/29/2010 12:01 PM:
>
>> Things are running nicely, but the problem I hoped
>> to resolve hasn't been. Namely, the lowest frequency my cpu can reach
>> is 1Ghz... instead of the 800Mhz that it reaches on windows and in the
>> spec sheets.
>>
>> Advice on how to proceed from here is greatly appreciated.
>
> I led you to the well but it's up to you to drink Arthur.  You didn't read the
> help screens.  All the frequency info you need is there.  It is the key to you
> succeeding at this.  You may have to experiment some, but that's a requirement
> when rolling one's own kernels.  Welcome to the club.  It's rarely "easy". ;)
>
Asking on here isn't my first attempt at figuring things out. My
kernel config work is based on Greg KM's book "The Linux Kernel In A
Nutshell". So, not only have I read the help screens, but I've also
read a pretty decent book by one of the kernel's prime maintainers.

I should have been more clear about the advice I was hoping for, since
there is nothing wrong with my kernel config, I was looking for advice
about how to go about further debugging this issue of not having full
frequency range. I wanted to give fixing it a solid try before filing
a bug against the kernel itself.

> BTW, I'm curious as to your motivations for this.  Is this basically a
> "Windows can do 800MHz, so $deity dammit, Linux should be able to do it as
> well!" thing?

Not as such. More like a my processor is supposed to scale from 800Mhz
to 1.6Ghz, and its strange that it doesn't. I wonder why.

> In practical terms Arthur, you will not notice a meaningful
> difference in thermal output or current draw (battery consumption) between
> 800MHz and 1GHz with the n450.  The n450 has a TDP of 5.5 watts at 1.66GHz.
> Thus you won't even save 1 watt going from 1GHz to 800MHz in power save mode.
>  It'll be something like 300 milliwatts or less.  This exercise of yours is
> futile if your goal is a _practical_ difference in system operation.

I suppose that will have to count as advice on how to proceed, but I
hope you'll forgive me if I continue to search for an answer. Your
comments are reassuring to me though, that it isn't a serious problem,
and I do thank you for that.

At this point, I'm thinking it's a problem with the kernel or a
problem with my bios, and I think there are some kernel command line
parameters I can use to test the latter in Greg's book.

Best wishes,
AM


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik4hxnhdffabujjjnpiaksp-b0emrvl3p157...@mail.gmail.com



Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-29 Thread Stan Hoeppner
Arthur Machlas put forth on 7/29/2010 12:01 PM:

> Things are running nicely, but the problem I hoped
> to resolve hasn't been. Namely, the lowest frequency my cpu can reach
> is 1Ghz... instead of the 800Mhz that it reaches on windows and in the
> spec sheets.
> 
> Advice on how to proceed from here is greatly appreciated.

I led you to the well but it's up to you to drink Arthur.  You didn't read the
help screens.  All the frequency info you need is there.  It is the key to you
succeeding at this.  You may have to experiment some, but that's a requirement
when rolling one's own kernels.  Welcome to the club.  It's rarely "easy". ;)

BTW, I'm curious as to your motivations for this.  Is this basically a
"Windows can do 800MHz, so $deity dammit, Linux should be able to do it as
well!" thing?  In practical terms Arthur, you will not notice a meaningful
difference in thermal output or current draw (battery consumption) between
800MHz and 1GHz with the n450.  The n450 has a TDP of 5.5 watts at 1.66GHz.
Thus you won't even save 1 watt going from 1GHz to 800MHz in power save mode.
 It'll be something like 300 milliwatts or less.  This exercise of yours is
futile if your goal is a _practical_ difference in system operation.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c5268ba.40...@hardwarefreak.com



Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-29 Thread Christian Jaeger
How do you read the possible cpu frequencies?

Your kernel needs cpufreq support and ondemand, powersave, etc.
governors; check with
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Although with some hardware AFAIK other drivers than cpufreq are used,
I don't know for Atom.

Ch.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktingqoonklvch+msw3xi6aehugm2geetvtaqb...@mail.gmail.com



Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-29 Thread Arthur Machlas
On Thu, Jul 29, 2010 at 5:46 AM, Stan Hoeppner  wrote:
> Arthur Machlas put forth on 7/28/2010 11:14 PM:
> In "make menuconfig":
> 
> These last two are probably the reason for the "unknown", especially given
> you're running 2.6.34 which has all the CPU models currently on the market.

Probably just a problem with linuxinfo, which I'd never heard of
before, but installed when cpuinfo was not found and aptitude
suggested linuxinfo provided it. In any event, cat /proc/cpuinfo shows
all the right information.

You can't.. or rather, I can't select SMT support without first
checking SMP support.

> In "Power management and ACPI options"
> 
> You'll have to figure out all the other menu config settings on your own, as
> most of us kernel monkeys have. ;)  These are simply the ones that directly
> relate to your questions.
>
> Hope this helped get you closer.

Somewhat. All those were pretty much done already. Greg KM's Kernel In
A Nutshell book is quite comprehensive and let me build an initrd-less
kernel in one try. Things are running nicely, but the problem I hoped
to resolve hasn't been. Namely, the lowest frequency my cpu can reach
is 1Ghz... instead of the 800Mhz that it reaches on windows and in the
spec sheets.

Advice on how to proceed from here is greatly appreciated.

Best,
AM


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikyvdn-by2wlo6pddyhzaosiucgkzagkqjg0...@mail.gmail.com



Re: Intel Atom N450 & Kernel Config Options re: SMP

2010-07-29 Thread Stan Hoeppner
Arthur Machlas put forth on 7/28/2010 11:14 PM:
> Greetings,
> 
> According to the spec sheet on the Atom N450 it has a single core,
> though it does support two threads. However, linuxinfo (replaces
> cpuinfo I suppose) says two unknown processors.

Your kernel doesn't either doesn't support CPU_ID or doesn't have the tables
for Atom CPUs, or both.  This is a kernel config option.

> r...@hpm210:/home/arthur/Misc/Linux/2.6.34-1# linuxinfo
> Linux HPm210 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010
> Two Intel Unknown 1666MHz processors, 6650.42 total bogomips, 1011M RAM

> Strangely, that's not the correct amount of ram in the system.

Strangely, most people don't rely on linuxinfo. ;)  File a bug report.

> r...@hpm210:/home/arthur/Misc/Linux/2.6.34-1# free -m
>  total   used   free sharedbuffers cached
> Mem:  2014   1377636  0  6   1186
> -/+ buffers/cache:184   1830
> Swap: 1972  0   1971
> 
> Anyway, as you can see from the current directory, the reason I'm
> asking about the number of cpu's cores in the atom n450 is that I'm
> rolling my own kernel hoping a newer version will be able to get the
> freq down to 800mhz same as windows, currently reporting that it can
> only go as low as 1000. Also want to optimize for the atom processor
> and build in all modules needed for hardware.

In "make menuconfig":

In "Processor Type and Features"
uncheck Symmetric multi-processing support
check   Intel Atom in "Processor Family"
check   SMT (HyperThreading)
uncheck Multi-core scheduler support
check   Intel MCE features
check   /dev/cpu/*/msr - Model-specific register support
check   /dev/cpu/*/cpuid - CPU information support

These last two are probably the reason for the "unknown", especially given
you're running 2.6.34 which has all the CPU models currently on the market.

In "Power management and ACPI options"
select "CPU Frequency scaling"
check   CPU Frequency scaling (not a dup typo)
read the descriptions and decide which is the best default governor for you
then select the "CPUFreq processor drivers" that matches your hardware platform

You'll have to figure out all the other menu config settings on your own, as
most of us kernel monkeys have. ;)  These are simply the ones that directly
relate to your questions.

Hope this helped get you closer.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c515c0c.8010...@hardwarefreak.com



Intel Atom N450 & Kernel Config Options re: SMP

2010-07-28 Thread Arthur Machlas
Greetings,

According to the spec sheet on the Atom N450 it has a single core,
though it does support two threads. However, linuxinfo (replaces
cpuinfo I suppose) says two unknown processors.

r...@hpm210:/home/arthur/Misc/Linux/2.6.34-1# linuxinfo
Linux HPm210 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010
Two Intel Unknown 1666MHz processors, 6650.42 total bogomips, 1011M RAM

Strangely, that's not the correct amount of ram in the system.

r...@hpm210:/home/arthur/Misc/Linux/2.6.34-1# free -m
 total   used   free sharedbuffers cached
Mem:  2014   1377636  0  6   1186
-/+ buffers/cache:184   1830
Swap: 1972  0   1971

Anyway, as you can see from the current directory, the reason I'm
asking about the number of cpu's cores in the atom n450 is that I'm
rolling my own kernel hoping a newer version will be able to get the
freq down to 800mhz same as windows, currently reporting that it can
only go as low as 1000. Also want to optimize for the atom processor
and build in all modules needed for hardware.

The Linux Kernel in a Nutshell book has got me pretty far, but I can't
solve this cpu thing and hoping someone can weigh in with some
friendly advice. The help in kernel config says things will run better
if I don't enable smp on a single cpu system. Hence, the question to
you, lazyweb, with much appreciation in advance.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik2fgupzc7tm+o30hy2mcfo8vd7cixkp+blg...@mail.gmail.com



Re: problem with kernel 2.6.26-smp

2009-11-09 Thread Jochen Schulz
Scott Berry:
> 
> I am using the kernel in my subject.  It seems as though this kernel
> likes to lock up quite a bit when the CPu fan is at a higher rate of
> speed due to other tasks being done in the background.  I am using Lenny
> and I never can remember before Debian being this unstable.

Sounds more like a thermal problem to me. Do you have lm-sensors
installed? What CPU model do you use? What's its temperature? How old is
the thermal paste between the CPU and the heat sink?

> Is there a
> kernel in Lenny or a newer kernel I could try to see if things become
> more stable?  It seems to happen mostly when I use Gnome and Gnome
> crashes as well.

What exactly crashes? Just Gnome or the whole machine? I suspect you are
mixing up two unrelated symptoms (but that's just a guess, of course).

J.
-- 
We are lining up to see you fall flat on your face.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


problem with kernel 2.6.26-smp

2009-11-09 Thread Scott Berry
Hello there,

I am using the kernel in my subject.  It seems as though this kernel
likes to lock up quite a bit when the CPu fan is at a higher rate of
speed due to other tasks being done in the background.  I am using Lenny
and I never can remember before Debian being this unstable.  Is there a
kernel in Lenny or a newer kernel I could try to see if things become
more stable?  It seems to happen mostly when I use Gnome and Gnome
crashes as well.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



SMP apm

2008-04-15 Thread Digby Tarvin
Just been chaseing up some post install loose ends, one of which was
getting the 'automatic power off on halt' to work...

The steps required turned out to be:
a. apt-get install apm
b. echo apm >>/etc/modules
c. echo 'options apm power_off=1' >/etc/modprobe.d/apm

which seems to have done the trick nicely.

However I am a little concerned about the messages produced when apm
is loaded:
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
    apm: disabled - APM is not SMP safe (power off active).

This is a SMP motherboard with two cpu's installed:
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: INTELProduct ID: 440GXAPIC at: 0xFEE0
Processor #0 6:8 APIC version 17
Processor #1 6:8 APIC version 17
I/O APIC #2 Version 17 at 0xFEC0.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 2

So is the message about apm being disabled lying - it is doing something
as it is enabling my auto power off, and /proc/apm appears showing:
penemunde:/etc# cat /proc/apm
1.16ac 1.2 0x03 0xff 0xff 0xff -1% -1 ?

I have skimmed through the apm source, at it looks to me like it is just
that the message is a listtle misleading and that the power off part
of apm is safe with SMP, and the unsafe bits are disabled.

I think this is right, but thought it worth mentioning as it seems like
something that should be in an Etch FAQ..

Regards,
DigbyT


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



aacraid and smp kernel: SCSI hang

2007-12-05 Thread Kostas Magkos
Greetings all,

Our main server is an Opteron system with an Adaptec SATA RAID 2410SA
controller and 4x 250GB Seagate Barracuda disks attached to it, forming
a RAID-5 and a RAID-0 container. The system is running sarge with the
latest 2.6.8 kernel (2.6.8-13-amd64-k8).

We recently upgraded the server with a second Opteron CPU. When we tried
to boot the system with the SMP kernel it gave the following messages
just after the login prompt and hung:

Nov 9 09:52:58 myhost kernel: aacraid: Host adapter reset request. SCSI
hang ?
Nov 9 09:52:58 myhost kernel: aacraid: Host adapter reset request. SCSI
hang ?
Nov 9 09:53:32 myhost kernel: aacraid: SCSI bus appears hung

Sarge 2.6.8 kernels contain aacraid 1.1.2-lk2. I managed to compile and
install version 1.1.5-2400 (downloaded from Adaptec's site) but without
any luck, the system still hangs.

Please note that aacraid 1.1.5-2400 has been used in the single CPU
system (i.e. before the addition of the second CPU) for quite some time,
  without any problems.

Has anyone else faced a similar situation?

A google search revealed this is an old bug, dated back to 2003 but with
no clear solution whatsoever.

Any help would be much appreciated. In the time being I have two
options, either remove the second cpu or remove the raid controller,
both of which suck :-).

Some technical details
---
Motherboard: Tyan Thunder K8WE
CPU: 2x AMD Opteron 246
RAM: 2x 1GB Kingston DDR PC3200 ECC
RAID Controller: Adaptec 2410SA
HDD: 4x 250GB Seagate Barracuda 7200.8 SATA

[EMAIL PROTECTED]:~$ uname -ra
Linux myhost -smp #1 Sat Jun 9 16:52:03 UTC 2007 x86_64 GNU/Linux


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Etch 2.6.18-5-486 stable but 2.6.18-5-686 crashes on PIII SMP???

2007-11-01 Thread Andrei Popescu
On Wed, Oct 31, 2007 at 01:04:12PM +, Digby Tarvin wrote:
 
> I am hoping that there might be some kernel experts out there that can
> offer some suggestions as to what might be going wrong with the 686
> kernel, and which I might be able to try in order to resolve (or at least
> explain) the problem...

If you don't get any meaningful answers here maybe you could try the 
debian-kernel list, but please post back if you solve it, I'm very 
curious of the outcome.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Etch 2.6.18-5-486 stable but 2.6.18-5-686 crashes on PIII SMP???

2007-10-31 Thread Digby Tarvin
I have installed Etch using a recent netinstall on a Dell Precision 410,
and had a lot of trouble initially with mysterious frequent
'segmentation fault' errors and total system freezes which required a
reset.

After some trial and error and some advice from the net I discovered that
if I installed the 2.6.18-5-486 kernel and booted that instead of the
2.6.18-5-686 kernel from the installer then all the instability went away.

However this leaves me without use of my second CPU and without access to
a 'bigmem' kernel to access all of my ram :(

I am hoping that there might be some kernel experts out there that can
offer some suggestions as to what might be going wrong with the 686
kernel, and which I might be able to try in order to resolve (or at least
explain) the problem...

/proc/cpuinfo returns:
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 7
 model name  : Pentium III (Katmai)
 stepping: 2
 cpu MHz : 447.728
 cache size  : 512 KB
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 mmx fxsr sse
 bogomips: 896.10
 
I tried booting the 686 kernel with the 'nosmp' option to see if there was
a problem with the SMP implementation on this machine, but that made no
difference (other than giving me a single processor).

Anyone come across anything like this? Any kernel experts with any
idea what difference between these two kernels might explain this
problem?

A 'diff config-2.6.18-5-486 config-2.6.18-5-686' produces
4c4
< # Tue Oct  2 23:31:31 2007
---
> # Tue Oct  2 23:31:49 2007
24c24
< CONFIG_BROKEN_ON_SMP=y
---
> CONFIG_LOCK_KERNEL=y
40a41
> CONFIG_CPUSETS=y
72a74
> CONFIG_STOP_MACHINE=y
97c99
< # CONFIG_SMP is not set
---
> CONFIG_SMP=y
108c110
< CONFIG_M486=y
---
> # CONFIG_M486 is not set
112c114
< # CONFIG_M686 is not set
---
> CONFIG_M686=y
129c131
< CONFIG_X86_GENERIC=y
---
> # CONFIG_X86_GENERIC is not set
132c134
< CONFIG_X86_L1_CACHE_SHIFT=7
---
> CONFIG_X86_L1_CACHE_SHIFT=5
136d137
< CONFIG_X86_F00F_BUG=y
141,142c142,145
< CONFIG_X86_ALIGNMENT_16=y
< CONFIG_X86_INTEL_USERCOPY=y
---
> CONFIG_X86_CMPXCHG64=y
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> CONFIG_X86_TSC=y
143a147,149
> CONFIG_NR_CPUS=8
> CONFIG_SCHED_SMT=y
> CONFIG_SCHED_MC=y
147,148c153
< CONFIG_X86_UP_APIC=y
< CONFIG_X86_UP_IOAPIC=y
---
> # CONFIG_PREEMPT_BKL is not set
151c156,158
< # CONFIG_X86_MCE is not set
---
> CONFIG_X86_MCE=y
> CONFIG_X86_MCE_NONFATAL=m
> CONFIG_X86_MCE_P4THERMAL=y
167,168c174,175
< CONFIG_NOHIGHMEM=y
< # CONFIG_HIGHMEM4G is not set
---
> # CONFIG_NOHIGHMEM is not set
> CONFIG_HIGHMEM4G=y
170a178
> CONFIG_HIGHMEM=y
183c191,192
< CONFIG_MATH_EMULATION=y
---
> # CONFIG_HIGHPTE is not set
> # CONFIG_MATH_EMULATION is not set
185a195
> CONFIG_IRQBALANCE=y
193a204
> # CONFIG_CRASH_DUMP is not set
194a206
> CONFIG_HOTPLUG_CPU=y
195a208
> CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
204a218
> CONFIG_SUSPEND_SMP=y
220a235
> CONFIG_ACPI_HOTPLUG_CPU=y
253c268
< CONFIG_CPU_FREQ_STAT_DETAILS=y
---
> # CONFIG_CPU_FREQ_STAT_DETAILS is not set
306,313c321,322
< CONFIG_EISA=y
< CONFIG_EISA_VLB_PRIMING=y
< CONFIG_EISA_PCI_EISA=y
< CONFIG_EISA_VIRTUAL_ROOT=y
< CONFIG_EISA_NAMES=y
< CONFIG_MCA=y
< CONFIG_MCA_LEGACY=y
< # CONFIG_MCA_PROC_FS is not set
---
> # CONFIG_EISA is not set
> # CONFIG_MCA is not set
350c359
< CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM=y
---
> # CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
762d770
< CONFIG_DMASCC=m
815d822
< CONFIG_IRPORT_SIR=m
820d826
< # CONFIG_DONGLE_OLD is not set
1210d1215
< CONFIG_SCSI_AHA1740=m
1215d1219
< CONFIG_AIC7XXX_PROBE_EISA_VL=y
1262d1265
< CONFI

Re: kernel 2.6.18+ SMP question

2007-10-16 Thread michael
On Sat, 2007-10-13 at 15:21 -0700, Andrew Sackville-West wrote:
> On Sat, Oct 13, 2007 at 09:30:57PM +0200, Robert Cates wrote:
> > michael wrote:
> >> On Fri, 2007-10-12 at 22:02 +0200, Robert Cates wrote:
> >>   
> >>> Hi all,
> >>>
> >>> just a general question - I'm interested in getting a motherboard that
> >>> supports 4 of the new AMD Quad Core CPUs.  That would be effectively 16
> >>> CPUs.  My question is, with the 2.6.18-5-686 kernel from etch, will the
> >>> SMP kernel work with all 16 cores?  What is actually the current limit of
> >>> cores (CPUs) that the 2.6.18 (or newer) kernel will support?
> >>> 
> >>
> >> don't expect things to go 16x faster
> >>
> >>
> >>   
> > Ok, but 16x better?  Or 16x more efficient?  I know that if we're talking 
> > about a 2GHz quad core CPU we're not getting 8GHz of speed, but what 
> > exactly is the (performance) advantage of SMP?
> >
> 
> how about 16x more parallel? at least to the extent that your workload
> is able to parallelize (is that a word?). IOW, if you have lots of
> tasks running independently of each other and/or you have tasks
> running code that can take advantage of parallel processing, then
> those things that fit that criterion will run in parallel. And those
> tasks will then complete faster because they have more cpu time than
> they would get in a system with fewer cpus. 
> 
> At least that's how it seems to me.


current multicore also shares (L2?) cache so there's contention there
too which will severely affect codes that require data to work on...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.18+ SMP question

2007-10-15 Thread Andrew Sackville-West
On Mon, Oct 15, 2007 at 08:17:21PM -0400, Chris Bannister wrote:
> On Sat, Oct 13, 2007 at 03:21:58PM -0700, Andrew Sackville-West wrote:
> > how about 16x more parallel? at least to the extent that your workload
> > is able to parallelize (is that a word?). IOW, if you have lots of
>  ^^
>  No!, it is yet another Americanism. :-) 

but it works so well! besides, I grew up saying a-whole-nother, so
there's no hope for me...

A


signature.asc
Description: Digital signature


Re: kernel 2.6.18+ SMP question

2007-10-15 Thread Chris Bannister
On Sat, Oct 13, 2007 at 03:21:58PM -0700, Andrew Sackville-West wrote:
> how about 16x more parallel? at least to the extent that your workload
> is able to parallelize (is that a word?). IOW, if you have lots of
 ^^
   No!, it is yet another Americanism. :-) 

> tasks running independently of each other and/or you have tasks
> running code that can take advantage of parallel processing, then
> those things that fit that criterion will run in parallel. And those
> tasks will then complete faster because they have more cpu time than
> they would get in a system with fewer cpus. 
> 
> At least that's how it seems to me.

-- 
Chris.
==


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.18+ SMP question

2007-10-13 Thread Ishwar Rattan



On Sat, 13 Oct 2007, Robert Cates wrote:

Ok, but 16x better?  Or 16x more efficient?  I know that if we're talking 
about a 2GHz quad core CPU we're not getting 8GHz of speed, but what exactly 
is the (performance) advantage of SMP?


Not much, unless you can write software that can take advantage of the 
additional processors..


HTH
-ishwar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel 2.6.18+ SMP question

2007-10-13 Thread Andrew Sackville-West
On Sat, Oct 13, 2007 at 09:30:57PM +0200, Robert Cates wrote:
> michael wrote:
>> On Fri, 2007-10-12 at 22:02 +0200, Robert Cates wrote:
>>   
>>> Hi all,
>>>
>>> just a general question - I'm interested in getting a motherboard that
>>> supports 4 of the new AMD Quad Core CPUs.  That would be effectively 16
>>> CPUs.  My question is, with the 2.6.18-5-686 kernel from etch, will the
>>> SMP kernel work with all 16 cores?  What is actually the current limit of
>>> cores (CPUs) that the 2.6.18 (or newer) kernel will support?
>>> 
>>
>> don't expect things to go 16x faster
>>
>>
>>   
> Ok, but 16x better?  Or 16x more efficient?  I know that if we're talking 
> about a 2GHz quad core CPU we're not getting 8GHz of speed, but what 
> exactly is the (performance) advantage of SMP?
>

how about 16x more parallel? at least to the extent that your workload
is able to parallelize (is that a word?). IOW, if you have lots of
tasks running independently of each other and/or you have tasks
running code that can take advantage of parallel processing, then
those things that fit that criterion will run in parallel. And those
tasks will then complete faster because they have more cpu time than
they would get in a system with fewer cpus. 

At least that's how it seems to me.

A


signature.asc
Description: Digital signature


Re: kernel 2.6.18+ SMP question

2007-10-13 Thread Robert Cates

michael wrote:

On Fri, 2007-10-12 at 22:02 +0200, Robert Cates wrote:
  

Hi all,

just a general question - I'm interested in getting a motherboard that
supports 4 of the new AMD Quad Core CPUs.  That would be effectively 16
CPUs.  My question is, with the 2.6.18-5-686 kernel from etch, will the
SMP kernel work with all 16 cores?  What is actually the current limit of
cores (CPUs) that the 2.6.18 (or newer) kernel will support?

Thanks much,
Robert






don't expect things to go 16x faster


  
Ok, but 16x better?  Or 16x more efficient?  I know that if we're 
talking about a 2GHz quad core CPU we're not getting 8GHz of speed, but 
what exactly is the (performance) advantage of SMP?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel 2.6.18+ SMP question

2007-10-13 Thread Iñigo Tejedor Arrondo
El vie, 12-10-2007 a las 22:02 +0200, Robert Cates escribió:
> Hi all,
> 
> just a general question - I'm interested in getting a motherboard that
> supports 4 of the new AMD Quad Core CPUs.  That would be effectively 16
> CPUs.  My question is, with the 2.6.18-5-686 kernel from etch, will the
> SMP kernel work with all 16 cores?  What is actually the current limit of
> cores (CPUs) that the 2.6.18 (or newer) kernel will support?

[EMAIL PROTECTED]:~$ cat /boot/config-2.6.18-5-686 | grep CONFIG_NR_CPUS
CONFIG_NR_CPUS=8

This was the "vanilla" config also.

If you want more CPUs, you will need to compile.

greetings

P.D. be careful with top, if you press '1', on a 25 lines term, with 16
cpus, you only will see the headers, and not process information :-)

P.D.2 on top, if you press 'f', then 'j', then 'enter' you will see a
new column titled 'P', where you will see the CPU that is using each
process. Press 'W' to make it permanent.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.18+ SMP question

2007-10-12 Thread michael

On Fri, 2007-10-12 at 22:02 +0200, Robert Cates wrote:
> Hi all,
> 
> just a general question - I'm interested in getting a motherboard that
> supports 4 of the new AMD Quad Core CPUs.  That would be effectively 16
> CPUs.  My question is, with the 2.6.18-5-686 kernel from etch, will the
> SMP kernel work with all 16 cores?  What is actually the current limit of
> cores (CPUs) that the 2.6.18 (or newer) kernel will support?
> 
> Thanks much,
> Robert
> 
> 
> 

don't expect things to go 16x faster


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kernel 2.6.18+ SMP question

2007-10-12 Thread Robert Cates
Hi all,

just a general question - I'm interested in getting a motherboard that
supports 4 of the new AMD Quad Core CPUs.  That would be effectively 16
CPUs.  My question is, with the 2.6.18-5-686 kernel from etch, will the
SMP kernel work with all 16 cores?  What is actually the current limit of
cores (CPUs) that the 2.6.18 (or newer) kernel will support?

Thanks much,
Robert



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: linux-image-2.6.18-5-686 - turn off SMP and then disable local APIC

2007-09-23 Thread Pál Csányi
2007/9/23, Pál Csányi <[EMAIL PROTECTED]>:
> 2007/9/23, Curt Howland <[EMAIL PROTECTED]>:
>
> > One thing I forgot to mention, there is little or no performance hit
> > for using an SMP kernel with a single-CPU machine. So I wouldn't
> > worry about that.
>
> I have a Dual 2 Core CPU.
> I must to disable SMP and locale APIC because the NVIDIA driver is not
> compatible yet with Dual 2 Core processors.
>
> Look here:
> http://wiki.debian.org/NvidiaGraphicsDrivers#head-2fcab290c485d544de87c91512fa1f8c626a9530


But if I know how to toggle off NVIDIA's multithread optimizations
that would be the better solution. Look here:
http://www.nvidia.com/docs/IO/37395/93.71_open.pdf

on the 3. page!

--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm



Re: linux-image-2.6.18-5-686 - turn off SMP and then disable local APIC

2007-09-23 Thread Michael Shuler
On 09/23/2007 10:50 AM, Pál Csányi wrote:
> How can I turn off SMP and then disable local APIC with this kernel?

For the options to persist across kernel updates/upgrades, add the
options 'nosmp' and 'noapic' to /boot/grub/menu.lst on the kopt= line,
then run 'update-grub'.  This works for all kenel versions.  For
example, edit:

# kopt=root=/dev/sda1 ro
to:
# kopt=root=/dev/sda1 ro nosmp noapic

Then run 'update-grub' and take a look at /boot/grub/menu.lst - you
should see your default options added to all the kernel boot blocks.

Take a look at the other option sections, if you wish to enable options
only in the alternative or non-alternative boot options.

-- 
Kind Regards,
Michael Shuler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



linux-image-2.6.18-5-686 - turn off SMP and then disable local APIC

2007-09-23 Thread Pál Csányi
Hello!

Debian Etch system with linux-image-2.6.18-5-686.

How can I turn off SMP and then disable local APIC with this kernel?

Any advices will be appreciated!

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Can you disable SMP in the kernel by appending the kernel line in GRUB

2007-08-20 Thread Nigel Henry
On Monday 20 August 2007 19:24, Jeff D wrote:
> On Mon, 20 Aug 2007, Nigel Henry wrote:
> > I've been trying to help someone on the list with acpi related shutdown
> > problems, with no success up to now.
> >
> > When I had shutdown problems with FC5 (fixed with using acpi=force),
> > someone on the Fedora list suggested that it could be a problem with SMP
> > kernels.
> >
> > I Googled a bit the other day, and found stuff about recompiling the
> > kernel, and disabling SMP in it, but is there a way to disable SMP by
> > appending the kernel line in GRUB?
> >
> > I read one comment that said:
> > To disable SMP at bootup, use,
> > noreplace-smp
> >
> > Is that an appendment to the kernel line or what? I don't want to suggest
> > something stupid for Mark to try.
> >
> > Any comments, suggestions welcome.
> >
> > Nigel.
>
> Yes, you would want to append that to the kernel line in
> /boot/grub/menu.lst .  You may also want to try nosmp or maxcpus=0 , both
> of those will disable the smp code.

Thanks Jeff for the quick response. All suggestions written down on hard copy 
for future reference.

These acpi related shutdown problems are a real nightmare to resolve. Not 
everyone is affected. it just seems to happen on some hardware, and later 
kernels.

for example on one of my 2 machines, an old Gateway 500, P111 (katmai), Fc5 
shutsdown completely whichever kernel I've booted up with. On a later 
I-friend machine, FC5 will shutdown completely if I boot with the original 
2.6.15 kernel, but booting with revisions of the 2.6.17 kernel, and later, I 
have to add acpi=force to the kernel line to get it to shutdown completely. 

My Debian Etch, and Lenny installs on the I-friend machine are using a 2.6.17 
kernel, but may be an earlier revision than the FC5 one, and I don't have any 
shutdown problems with my Debian installs. I'll try and find later kernels 
for Etch, and Lenny to see if the shutdown problem shows up.

Mind you, saying this, a bug report for Ubuntu to Launchpad showed acpi 
related shutdown problems with 2.6.15 kernels. Many suggestions to append the 
kernel line with, some worked, others didn't. It's all a bit bizarre.

Thanks again for your help.

Nigel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Can you disable SMP in the kernel by appending the kernel line in GRUB

2007-08-20 Thread Jeff D

On Mon, 20 Aug 2007, Nigel Henry wrote:


I've been trying to help someone on the list with acpi related shutdown
problems, with no success up to now.

When I had shutdown problems with FC5 (fixed with using acpi=force), someone
on the Fedora list suggested that it could be a problem with SMP kernels.

I Googled a bit the other day, and found stuff about recompiling the kernel,
and disabling SMP in it, but is there a way to disable SMP by appending the
kernel line in GRUB?

I read one comment that said:
To disable SMP at bootup, use,
noreplace-smp

Is that an appendment to the kernel line or what? I don't want to suggest
something stupid for Mark to try.

Any comments, suggestions welcome.

Nigel.



Yes, you would want to append that to the kernel line in 
/boot/grub/menu.lst .  You may also want to try nosmp or maxcpus=0 , both 
of those will disable the smp code.


-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Can you disable SMP in the kernel by appending the kernel line in GRUB

2007-08-20 Thread Nigel Henry
I've been trying to help someone on the list with acpi related shutdown 
problems, with no success up to now.

When I had shutdown problems with FC5 (fixed with using acpi=force), someone 
on the Fedora list suggested that it could be a problem with SMP kernels.

I Googled a bit the other day, and found stuff about recompiling the kernel, 
and disabling SMP in it, but is there a way to disable SMP by appending the 
kernel line in GRUB?

I read one comment that said:
To disable SMP at bootup, use,
noreplace-smp

Is that an appendment to the kernel line or what? I don't want to suggest 
something stupid for Mark to try.

Any comments, suggestions welcome.

Nigel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Mysql and SMP

2007-06-01 Thread Rakotomandimby Mihamina
Hi,
In debian stable/testing system, how to force mysql to use multiple CPU (I 
have Core2 Duo)? 
I host a  Database and all queries are issued by a single user/pass (the 
frontend).
When monitoring the server, mysql never span to the second core...
How to?

Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Sytem freeze on debian 2.6.8-2-686-smp with intel e1000 running tcpdump

2007-05-23 Thread Julien Delaporte

Hello,

On dual proc Xeon with dual ethernet Intel e1000, when I run a tcpdump,
according to network traffic my system freezes.
The console is dead, the only way to restore the system is an electric power
restart.

My configuration is :
# uname -a
Linux 2.6.8-2-686-smp #1 SMP Tue Aug 16 12:08:30 UTC 2005 i686 GNU/Linux

# lspci -vv

:02:04.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet
Controller (rev 05)
   Subsystem: Dell: Unknown device 019a
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
   Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
SERR- TAbort-
SERR- 

Re: Samba 3.0.24 with Vista Using Debian Etch 2.6.18-47-686 SMP

2007-03-23 Thread Jean-Louis Crouzet

Roberto C. Sánchez wrote:

On Fri, Mar 23, 2007 at 03:27:33PM +0100, Jean-Louis Crouzet wrote:

Hi all,

might be the wrong NG for such request but I'm not willing to get into a 
MSFT one!


Problem:
Using a recent Vista Family premium, I could not see the content on a 
Samba shared folder (folder could be opened but i's empty...). Same 
works when used by other XP or NT Windows based PC.

I presume the tunning has to be on Vista rather the Linux Samba PC!

Any hint?


What do the logs say?

Regards,

-Roberto


not much...
[2007/03/23 17:59:51, 1] smbd/service.c:make_connection_snum(950)
  hpmob (192.168.2.102) connect to service hpuser initially as user 
hpuser (uid=1000, gid=1000) (pid 5127)

[2007/03/23 18:00:09, 1] smbd/service.c:close_cnum(1150)
  hpmob (192.168.2.102) closed connection to service hpuser
[2007/03/23 18:13:09, 0] printing/pcap.c:pcap_cache_reload(159)
...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Samba 3.0.24 with Vista Using Debian Etch 2.6.18-47-686 SMP

2007-03-23 Thread Roberto C . Sánchez
On Fri, Mar 23, 2007 at 03:27:33PM +0100, Jean-Louis Crouzet wrote:
> Hi all,
> 
> might be the wrong NG for such request but I'm not willing to get into a 
> MSFT one!
> 
> Problem:
> Using a recent Vista Family premium, I could not see the content on a 
> Samba shared folder (folder could be opened but i's empty...). Same 
> works when used by other XP or NT Windows based PC.
> I presume the tunning has to be on Vista rather the Linux Samba PC!
> 
> Any hint?
> 
What do the logs say?

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Samba 3.0.24 with Vista Using Debian Etch 2.6.18-47-686 SMP

2007-03-23 Thread Jean-Louis Crouzet

Hi all,

might be the wrong NG for such request but I'm not willing to get into a 
MSFT one!


Problem:
Using a recent Vista Family premium, I could not see the content on a 
Samba shared folder (folder could be opened but i's empty...). Same 
works when used by other XP or NT Windows based PC.

I presume the tunning has to be on Vista rather the Linux Samba PC!

Any hint?

Thanks and have a nice weekend.
JL


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Xen smp

2006-12-09 Thread Sturla Holm Hansen
On lør, desember 9, 2006 00:46, Sturla Holm Hansen wrote:
> Roberto C. Sanchez skrev:
>> On Fri, Dec 08, 2006 at 09:15:56PM +0100, Sturla Holm Hansen wrote:
>>
>>> Hi list.
>>> I'm running Xen under Etch and running an instance of Etch under Xen,
>>> the
>>> host is showing two cpu's but the guest does not...
>>> Is smp not supported in the xen-package in Etch or am I doing something
>>> wrong?
>>>
>>>
>>
>> Did you assigne the guest to more than one CPU in your configuration?
>> Is the guest running an SMP kernel?
>>
>> Regards,
>>
>> -Roberto
>>
> Hmmm, I just used the standard scripts with Etch, thanx a lot though, I
> had overlooked the fact that I had to specify the number of cpu's in the
> config.
> Again, thanx for the tip :)
>
> Sturla

On to another problem though: I was having trouble booting the domu's the
second time, Device 2049 (vbd) could not be connected, and I found a tip
about increasing the number of loop-devices, so I added "modprobe loop
max_devices=64" in /etc/init.d/xend and went on to the next problem:
The first domu starts like a charm, so does the next for a couple of
seconds before I get a kernel panic about something not syncing (I only
have a couple of seconds to read it before the blasted thing reboots)

I noticed that the 64 loop devices turns up in /dev/, not in /dev/loop/
(where there's still a 0) don't know if it's supposed to be that way
though...

Does anyone have a clue about this, and if not can tell med the correct
way of increasing the number of loop-devices?

Thanx

Sturla



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Xen smp

2006-12-08 Thread Sturla Holm Hansen

Roberto C. Sanchez skrev:

On Fri, Dec 08, 2006 at 09:15:56PM +0100, Sturla Holm Hansen wrote:
  

Hi list.
I'm running Xen under Etch and running an instance of Etch under Xen, the
host is showing two cpu's but the guest does not...
Is smp not supported in the xen-package in Etch or am I doing something
wrong?




Did you assigne the guest to more than one CPU in your configuration?
Is the guest running an SMP kernel?

Regards,

-Roberto
  
Hmmm, I just used the standard scripts with Etch, thanx a lot though, I 
had overlooked the fact that I had to specify the number of cpu's in the 
config.

Again, thanx for the tip :)

Sturla


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Xen smp

2006-12-08 Thread Roberto C. Sanchez
On Fri, Dec 08, 2006 at 09:15:56PM +0100, Sturla Holm Hansen wrote:
> Hi list.
> I'm running Xen under Etch and running an instance of Etch under Xen, the
> host is showing two cpu's but the guest does not...
> Is smp not supported in the xen-package in Etch or am I doing something
> wrong?
> 

Did you assigne the guest to more than one CPU in your configuration?
Is the guest running an SMP kernel?

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Xen smp

2006-12-08 Thread Sturla Holm Hansen
Hi list.
I'm running Xen under Etch and running an instance of Etch under Xen, the
host is showing two cpu's but the guest does not...
Is smp not supported in the xen-package in Etch or am I doing something
wrong?

Thanx

Sturla




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Kernel 2.6 SMP very slow with ServerWorks LE Chipset

2006-12-03 Thread Bob

Bob wrote:

Oleg Verych wrote:

8< 8< snip

Sorry for the delay, RL has been rather demanding of late.

I've installed 2.6.18 from sid but it's displaying the same problems.

As a test of CPU power I've been decompressing the kernel tree, with a 
UP 2.6 kernel this takes about 1m 15s, I don't know if bz2 is 
multithreaded but even if it's not I would expect a slight speed 
increase but in fact with a SMP 2.6 kernel it take 13 ~ 15m, with a SMP 
2.4 kernel it takes 1m 28s and with a 2.4 UP 1m 35s.


with 2.6.18 from sid I get

nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:40 MB in  2.22 seconds =  18.04 MB/sec
 Timing buffered disk reads:  200 MB in  3.01 seconds =  66.47 MB/sec
nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   756 MB in  2.01 seconds = 376.74 MB/sec
 Timing buffered disk reads:8 MB in  3.68 seconds =   2.17 MB/sec
nas:~#

As you can see it's variable, I've got hda plugged into a SiI680 PCI 
card as the ServerWorks IDE chipset is not so good.


This is driving me nuts, any more ideas, I'll have a go at bugzilla later.

Thanks for the help.


Sorry, bad form and all that but I just compiled 2.6.19,
decompressing the 2.6.18 kernel tree in SMP took 26m and

nas:~# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads:36 MB in  2.00 seconds =  17.96 MB/sec
Timing buffered disk reads:   10 MB in  3.04 seconds =   3.29 MB/sec
nas:~# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads:   772 MB in  2.01 seconds = 384.53 MB/sec
Timing buffered disk reads:   10 MB in  3.25 seconds =   3.08 MB/sec
nas:~#

I was thinking of joining the linux.kernel mailing list and posting
this there, is that a good idea?

nas:~# dmesg
Linux version 2.6.19.smp.1.0cur_dls ([EMAIL PROTECTED]) (gcc version 3.3.5 
(Debian 1:3.3.5-13)) #1 SMP Sun Dec 3 14:55:47 SGT 2006
BIOS-provided physical RAM map:
BIOS-e820:  - 0009d400 (usable)
BIOS-e820: 0009d400 - 000a (reserved)
BIOS-e820: 000eac00 - 0010 (reserved)
BIOS-e820: 0010 - 1fff (usable)
BIOS-e820: 1fff - 1c00 (ACPI data)
BIOS-e820: 1c00 - 2000 (ACPI NVS)
BIOS-e820: fec0 - fec1 (reserved)
BIOS-e820: fee0 - fee01000 (reserved)
BIOS-e820: fff8 - 00010000 (reserved)
511MB LOWMEM available.
found SMP MP-table at 000f6f60
Entering add_active_range(0, 0, 131056) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal   4096 ->   131056
early_node_map[1] active PFN ranges
  0:0 ->   131056
On node 0 totalpages: 131056
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 991 pages used for memmap
Normal zone: 125969 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6f40
ACPI: RSDT (v001 HP HWPC20F  0x06040012  PTL 0x) @ 0x1fffc5eb
ACPI: FADT (v001 HP HWPC20F  0x06040012 PTL  0x0001) @ 0x1b05
ACPI: MADT (v001 PTLTDAPIC   0x06040012  LTP 0x) @ 0x1b79
ACPI: BOOT (v001 HP HWPC20F  0x06040012  PTL 0x0001) @ 0x1bd9
ACPI: DSDT (v001 HP  HWPC20F 0x06040012 MSFT 0x010b) @ 0x
ACPI: PM-Timer IO Port: 0x1208
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x03] enabled)
Processor #3 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec0, GSI 0-15
ACPI: IOAPIC (id[0x02] address[0xfec01000] gsi_base[16])
IOAPIC[1]: apic_id 2, version 17, address 0xfec01000, GSI 16-31
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 2 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 3000 (gap: 2000:dec0)
Detected 666.711 MHz processor.
Built 1 zonelists.  Total pages: 130033
Kernel command line: root=/dev/hda1 ro
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
mapped IOAPIC to b000 (fec01000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 516352k/524224k available (1771k kernel code, 7376k reserved, 610k 
data, 200k init, 0k highmem)
virtual kernel memory layout:
  fixmap  : 0xfffb7000 - 0xf000   ( 288 kB)
  vmalloc : 0xd080 - 0xfffb5000   ( 759 MB)
  lowmem  : 0xb000 - 0xcfff   ( 511 MB)
.init : 0xb0359000 - 0xb038b000   ( 200 kB)
  

Re: Kernel 2.6 SMP very slow with ServerWorks LE Chipset

2006-12-01 Thread Bob

Oleg Verych wrote:

On 2006-11-21, Bob <[EMAIL PROTECTED]> wrote:
[]

How about 2.6.18 from sid? If also bad, try bugzilla on kernel.org, or
lkml.
Is it possible to do this without migrating the whole system to sid? I 
can't see a backport, one option would be if someone could post the 
.config file I could compile it in the same way.


Sure. And even in various ways, including downloading deb and installing it
by hands. But debian way is simpler and better, see man apt_preferences.

Kernel is special, any regression users or developers not aware of, may
propagate for long time. And finally, when you catch something, the only
way is to contact upstream developers in lkml. I think, Debian Kernel
Team will be interested only in security stuff. So, deb kernel in Sid
is something in between.


Sorry for the delay, RL has been rather demanding of late.

I've installed 2.6.18 from sid but it's displaying the same problems.

As a test of CPU power I've been decompressing the kernel tree, with a 
UP 2.6 kernel this takes about 1m 15s, I don't know if bz2 is 
multithreaded but even if it's not I would expect a slight speed 
increase but in fact with a SMP 2.6 kernel it take 13 ~ 15m, with a SMP 
2.4 kernel it takes 1m 28s and with a 2.4 UP 1m 35s.


with 2.6.18 from sid I get

nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:40 MB in  2.22 seconds =  18.04 MB/sec
 Timing buffered disk reads:  200 MB in  3.01 seconds =  66.47 MB/sec
nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   756 MB in  2.01 seconds = 376.74 MB/sec
 Timing buffered disk reads:8 MB in  3.68 seconds =   2.17 MB/sec
nas:~#

As you can see it's variable, I've got hda plugged into a SiI680 PCI 
card as the ServerWorks IDE chipset is not so good.


This is driving me nuts, any more ideas, I'll have a go at bugzilla later.

Thanks for the help.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: smp??

2006-10-06 Thread Enrique Morfin
>Linux supports "smp-alternatives" since 2.6.17. This
>means, that additional processors can be added
>dynamically while the boot process of the kernel.

>Or in other words: all Debians kernel images do
support >smp (i386,powerpc and some other archs).


Thanks for the info.

can a procesor be stoped while the system is running?
started?
if so, how i make this?

Can i asign a proces to a single porcesor?
How?

Can i asign a procesor to a single proces?
How?

Thanks.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: smp??

2006-10-06 Thread Daniel Baumann
Enrique Morfin wrote:
> Does the package linux-image-2.6.18-1-686-bigmem is
> smp?

Linux supports "smp-alternatives" since 2.6.17. This means, that
additional processors can be added dynamically while the boot process of
the kernel.

Or in other words: all Debians kernel images do support smp (i386,
powerpc and some other archs).

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  [EMAIL PROTECTED]
Internet:   http://people.panthera-systems.net/~daniel-baumann/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



smp??

2006-10-06 Thread Enrique Morfin
Hi!

Im running sid with kernel 2.6.16-1-686-smp

I want to upgrade the kernel.

The question is:

Does the package linux-image-2.6.18-1-686-bigmem is
smp?

or where are the 2.6.17 and 2.6.18 smp images?

Thanks.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SMP with ACPI disabled

2006-10-05 Thread Scott Reese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greg Madden wrote:
[[snip]]
> 
> I don't have an answer.I thought ACPI was for power management, esp
> laptops, a heavily used server doesn't seem to me to need power
> management. I have a smp PIII Gz that gives me fits, IRQ allocation on
> the pci slots. This is a APIC issue, and the easiest solution was not
> to use certain cards in the box.
> 
> Is that two cpu's with hyperthreading or two core duo cpu's?
> 
> 
> 

Greetings:

ACPI does a lot more than just power management.  It handles PCI routing
setup and much of the initial hardware setup and discovery.

As to the original topic of what happened to the other two cores, the
local APICs that are being discovered and configured by ACPI are
required for multiple CPUs to be used.  The answer to is it possible to
work around is dependent on you motherboard, and all evidence points to no.

http://www.adriansrojakpot.com/Speed_Demonz/New_BIOS_Guide/APIC_Function.htm
has a more detailed explanation.

- -Scott
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJPfPS7FYdPX6+iYRArKSAJ0S5xMcNwGb8ekaCWZ6B7SUj2FRCQCfUO+u
sEOHoI21G264nKzCjT4iz1E=
=3IlK
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SMP with ACPI disabled

2006-10-04 Thread Matt Parlane

On 10/5/06, Greg Madden <[EMAIL PROTECTED]> wrote:


I don't have an answer.I thought ACPI was for power management, esp
laptops, a heavily used server doesn't seem to me to need power
management. I have a smp PIII Gz that gives me fits, IRQ allocation on
the pci slots. This is a APIC issue, and the easiest solution was not
to use certain cards in the box.

Is that two cpu's with hyperthreading or two core duo cpu's?


It's two processors each with two cores, no hyperthreading.

Cheers,

Matt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SMP with ACPI disabled

2006-10-04 Thread Greg Madden
On Thu, 05 Oct 2006 15:54:39 +1300
Matt Parlane <[EMAIL PROTECTED]> wrote:

> On 10/5/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
> 
> > > I have a dual Xeon machine that was running fine on all four
> > > cores, but then I started getting some filesystem corruption
> > > because of dodgy RAID drivers.  I disabled ACPI, which fixed
> > > this, but now I am down to running on two cores.
> > >
> > > My question is, is there any way to run SMP (that will give me all
> > > four cores) without ACPI?
> >
> > If you are running on two cores, and you see both in /proc/cpuinfo,
> > then you have SMP enabled.
> 
> I can see two cores in /proc/cpuinfo, but I used to see four, since
> the processors are both dual core (sorry, I should have mentioned
> this).
> 
> I'm not sure if I'm only running on one physical processor or one core
> from each processor, but I'm definitely only running on two cores, and
> I was running on four cores before, and the only change I made was
> disabling ACPI.
> 
> I have the dmesg output from before (with ACPI) and now (without ACPI)
> if anyone is interested:
> 
> http://www.webgenius.co.nz/dmesg-acpi.txt
> 
> http://www.webgenius.co.nz/dmesg-noacpi.txt
> 
> Cheers,
> 
> Matt
> 
> 

I don't have an answer.I thought ACPI was for power management, esp
laptops, a heavily used server doesn't seem to me to need power
management. I have a smp PIII Gz that gives me fits, IRQ allocation on
the pci slots. This is a APIC issue, and the easiest solution was not
to use certain cards in the box.

Is that two cpu's with hyperthreading or two core duo cpu's?



-- 
Greg Madden


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SMP with ACPI disabled

2006-10-04 Thread Matt Parlane

On 10/5/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:


> I have a dual Xeon machine that was running fine on all four cores,
> but then I started getting some filesystem corruption because of dodgy
> RAID drivers.  I disabled ACPI, which fixed this, but now I am down to
> running on two cores.
>
> My question is, is there any way to run SMP (that will give me all
> four cores) without ACPI?

If you are running on two cores, and you see both in /proc/cpuinfo, then
you have SMP enabled.


I can see two cores in /proc/cpuinfo, but I used to see four, since
the processors are both dual core (sorry, I should have mentioned
this).

I'm not sure if I'm only running on one physical processor or one core
from each processor, but I'm definitely only running on two cores, and
I was running on four cores before, and the only change I made was
disabling ACPI.

I have the dmesg output from before (with ACPI) and now (without ACPI)
if anyone is interested:

http://www.webgenius.co.nz/dmesg-acpi.txt

http://www.webgenius.co.nz/dmesg-noacpi.txt

Cheers,

Matt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SMP with ACPI disabled

2006-10-04 Thread Roberto C. Sanchez
On Thu, Oct 05, 2006 at 03:34:38PM +1300, Matt Parlane wrote:
> Hi all...
> 
> I have a dual Xeon machine that was running fine on all four cores,
> but then I started getting some filesystem corruption because of dodgy
> RAID drivers.  I disabled ACPI, which fixed this, but now I am down to
> running on two cores.
> 
> My question is, is there any way to run SMP (that will give me all
> four cores) without ACPI?
> 

If you are running on two cores, and you see both in /proc/cpuinfo, then
you have SMP enabled.

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


SMP with ACPI disabled

2006-10-04 Thread Matt Parlane

Hi all...

I have a dual Xeon machine that was running fine on all four cores,
but then I started getting some filesystem corruption because of dodgy
RAID drivers.  I disabled ACPI, which fixed this, but now I am down to
running on two cores.

My question is, is there any way to run SMP (that will give me all
four cores) without ACPI?

Cheers,

Matt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




ps command time differs with date on 2.6.8-3-686-smp.

2006-08-16 Thread julien WICQUART
Hello,

before sending a bug report to Debian, i prefer ask you for this problem.

I've got 18 minutes difference between ps command and date command.

I don't know if it's a ps bug or not.

Here is an example :

kernel:2.6.8-3-686-smp

node# date; ps faux | grep 'ps'

Wed Aug 16 12:32:18 CEST 2006
root 31129  0.0  0.0  2492  868 pts/0R+   12:14   0:00  |   |   \_ ps 
faux
root 31130  0.0  0.0  2076  772 pts/0S+   12:14   0:00  |   |   \_ grep 
ps

18 minutes between date output (12:32:18) and ps output (12:14).

Have you ever seen this problem?

-- 

--
Julien WICQUART NEWTECH MULTIMEDIA
Responsable Exploitation3 ch du Pigeonnier de la Cépière
Tel: +33 5 61 43 14 80  31081 TOULOUSE
Gsm: +33 6 88 17 16 30  http://www.newtech.fr/
Fax: +33 5 61 43 20 11
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Xen kernel for amd64-SMP?

2006-07-26 Thread Johannes Graumann
Hello,

I may be totally not getting something here, but I was planing to play
around with Xen and had a look at what's present in the unstable
repository. I'm running a amd64 SMP machine and was wondering whether Xen
enabled SMP kernels are in the works - maybe I'm misunderstanding this? Can
I just run a "stock" amd64-smp kernel on the host and only need the Xen
kernel for the actual virtual machine(s)?

Thanks for any hints,

Joh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is there a 2.6.16-2-686-smp header mismatch?

2006-07-26 Thread Greg Madden
On Mon, 24 Jul 2006 14:25:53 -0700
"Martin J. Hillyer" <[EMAIL PROTECTED]> wrote:

> On Sun, Jul 23, 2006 at 03:52:07PM -0400, S Scharf wrote:
> >I just installed the etch linux-image-2.6.16-2-686-smp package
> > on my machine
> >along with linux-headers-2.6.16-2-686-smp. I than tried to run
> > the vmware-config.pl to use the new kernel. I get:
> > 
> >
> >What is the location of the directory of C header files that
> > match your running
> >kernel? [/usr/src/linux/include]
> >/usr/src/linux-headers-2.6.16-2-686-smp/include
> > 
> >The kernel defined by this directory of header files does not
> > have the same
> >address space size as your running kernel.
> > 
> >
> > 
> >Am I doing something wrong, or is there a mismatch between the
> > headers and the kernel?
> 
> You probably need to apply the vmware any-any patch (search on
> vmware.com); see 
> www.vmware.com/community/message.jspa?messageID=439133
> 
> BTW, when you get around to upgrading to 2.6.17, you might need to
> check out www.vmware.com/community/thread.jspa?messageID=432775.  I
> had to do these edits before VMWare worked for me on 2.6.17 + Debian.
> 
> Good Luck, HTH

That solved the issue on 2.6.16-686-smp box but the 2.6.16-k7-smp
kernel box stops with the headers don't match the kernel eor
message :-(  I had to dl the source and make-oldconfig using the
official kernels .config file and make a header & kernel package.
Strange but the 2.6.15-k7-smp kernel & headers were working fine before
the upgrade , now after fooling around with Vmware & new kernel, the
Debian 2.6.15-k7-smp shows the same error. 

-- 
Greg Madden


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is there a 2.6.16-2-686-smp header mismatch?

2006-07-24 Thread Martin J. Hillyer
On Sun, Jul 23, 2006 at 03:52:07PM -0400, S Scharf wrote:
>I just installed the etch linux-image-2.6.16-2-686-smp package on my
>machine
>along with linux-headers-2.6.16-2-686-smp. I than tried to run the
>vmware-config.pl to use the new kernel. I get:
> 
>
>What is the location of the directory of C header files that match your
>running
>kernel? [/usr/src/linux/include]
>/usr/src/linux-headers-2.6.16-2-686-smp/include
> 
>The kernel defined by this directory of header files does not have the
>same
>address space size as your running kernel.
> 
>
> 
>Am I doing something wrong, or is there a mismatch between the headers
>and the kernel?

You probably need to apply the vmware any-any patch (search on
vmware.com); see 
www.vmware.com/community/message.jspa?messageID=439133

BTW, when you get around to upgrading to 2.6.17, you might need to check
out www.vmware.com/community/thread.jspa?messageID=432775.  I had to
do these edits before VMWare worked for me on 2.6.17 + Debian.

Good Luck, HTH
-- 
Martin Hillyer   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is there a 2.6.16-2-686-smp header mismatch?

2006-07-23 Thread Jay Zach
On Sunday 23 July 2006 3:52 pm, S Scharf wrote:
> I just installed the etch linux-image-2.6.16-2-686-smp package on my
> machine
>
> along with linux-headers-2.6.16-2-686-smp. I than tried to run the
> vmware-config.pl to use the new kernel. I get:
>
> 
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.16-2-686-smp
> /include
>
> The kernel defined by this directory of header files does not have the same
> address space size as your running kernel.
>
> 
>
> Am I doing something wrong, or is there a mismatch between the headers
> and the kernel?

I've unfortunately had very similar results attempting to install vmware with  
a non-smp 2.6.16-2-686 kernel and appropriate headers.

-- 


The man on tops walks a lonely street; the "chain" of command is often a 
noose.

Sunday Jul 23, 2006





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is there a 2.6.16-2-686-smp header mismatch?

2006-07-23 Thread Greg Madden
On Sun, 23 Jul 2006 15:52:07 -0400
S Scharf <[EMAIL PROTECTED]> wrote:

> I just installed the etch linux-image-2.6.16-2-686-smp package on my
> machine
> 
> along with linux-headers-2.6.16-2-686-smp. I than tried to run the
> vmware-config.pl to use the new kernel. I get:
> 
> 
> What is the location of the directory of C header files that match
> your running
> kernel?
> [/usr/src/linux/include] /usr/src/linux-headers-2.6.16-2-686-smp /include
> 
> The kernel defined by this directory of header files does not have
> the same address space size as your running kernel.
> 
> 
> 
> Am I doing something wrong, or is there a mismatch between the headers
> and the kernel?

Thanks for the heads up. In my previous post I did not realize that
testing had migrated to the new kernel. Vmware users be aware.
-- 
Greg Madden


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is there a 2.6.16-2-686-smp header mismatch?

2006-07-23 Thread Greg Madden
On Sun, 23 Jul 2006 15:52:07 -0400
S Scharf <[EMAIL PROTECTED]> wrote:

> I just installed the etch linux-image-2.6.16-2-686-smp package on my
> machine
> 
> along with linux-headers-2.6.16-2-686-smp. I than tried to run the
> vmware-config.pl to use the new kernel. I get:
> 
> 
> What is the location of the directory of C header files that match
> your running
> kernel?
> [/usr/src/linux/include] /usr/src/linux-headers-2.6.16-2-686-smp /include
> 
> The kernel defined by this directory of header files does not have
> the same address space size as your running kernel.
> 
> 
> 
> Am I doing something wrong, or is there a mismatch between the headers
> and the kernel?

I just tested it on a test box,  same message. I also tested the path
'/lib/modules/2.6.16-2-686-smp/build/include/' , which is also in
Vmwares search path.  
-- 
Greg Madden


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Is there a 2.6.16-2-686-smp header mismatch?

2006-07-23 Thread S Scharf
I just installed the etch linux-image-2.6.16-2-686-smp package on my machine along with linux-headers-2.6.16-2-686-smp. I than tried to run thevmware-config.pl to use the new kernel. I get:What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.16-2-686-smp/includeThe kernel defined by this directory of header files does not have the sameaddress space size as your running kernel.
Am I doing something wrong, or is there a mismatch between the headersand the kernel?


Error with detect new hardware (2.6.8-2-686-smp)

2006-06-18 Thread Viktor V Kudlak

Hello!

Problem with definition of the new equipment!
Probably any adjustment at experiments was broke, therefore for
loading a network card it is necessary to register manually ` modprobe
xircom_b `. In what there can be a problem?

--
Best regards,
MEGAnet  [EMAIL PROTECTED]
Phone: +7(921)972-1695, +7(911)218-5266
__
http://www.WriteX.ru  :: Тексты для сайтов и не только
http://www.MEGAnet.org.ru :: Разработка Интернет сайтов
MEGAnet :: Тебе еще хватит места для хостинга


Re: Version Magic and Kernel 2.6.16-2-686-smp

2006-06-13 Thread Greg Madden
On Tuesday 13 June 2006 12:54, Ben Whyte wrote:
> Hi
>
> I have an onboard network card which has a vendor supplied driver
> module, which I compile and then put in the right place.
>
> It builds correctly and copies correctly but when I try to insmod it,
> it complains about the version magic, basically saying that the version
> magic is 2.6.16.2-686-smp gcc 4.1 instead of what it should say which
> is gcc 4.0.
>
> I have linux-headers-2.6.12.2-686-smp installed and I suspect its down
> to the fact that the headers have been built with gcc 4.0 rather than
> the current 4.0.

4.1?

>
> Two questions, should I log a bug and also what can I do to solve the
> issue.
>
> Ben

gcc is a symlink to one of the versions installed, usually there are a 
couple if not more installed. You can link gcc to whatever vesion you 
need, 4.0 or 4.1, it should match the running kernel but this gets out of 
syc once in awhile.
-- 
Greg Madden


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Version Magic and Kernel 2.6.16-2-686-smp

2006-06-13 Thread Ben Whyte

Hi

I have an onboard network card which has a vendor supplied driver 
module, which I compile and then put in the right place.


It builds correctly and copies correctly but when I try to insmod it, it 
complains about the version magic, basically saying that the version 
magic is 2.6.16.2-686-smp gcc 4.1 instead of what it should say which is 
gcc 4.0.


I have linux-headers-2.6.12.2-686-smp installed and I suspect its down 
to the fact that the headers have been built with gcc 4.0 rather than 
the current 4.0.


Two questions, should I log a bug and also what can I do to solve the issue.

Ben


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: smp kernels and xorg

2006-05-18 Thread Luis Fernando Llana Díaz
El Jueves, 18 de Mayo de 2006 20:25, escribió:

Thank you,
  I thought that I had already answered to the list. It is a reported bug of 
xorg and the ati driver. I had to disable dri, I do not what is that for. 


-- 
http://antares.sip.ucm.es/~luis


pgpeZHX1EpOZt.pgp
Description: PGP signature


Re: smp kernels and xorg

2006-05-16 Thread Andrei Popescu
Luis Fernando Llana Díaz <[EMAIL PROTECTED]> wrote:

> In short, I have to disable DRI, although I do not what it is.

Usually if you don't know what it is you don't need it :) Seriously now,
it is Direct Rendering Infrastructure and it has to do with hardware 3d
acceleration.

HTH
Andrei


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: smp kernels and xorg

2006-05-15 Thread Luis Fernando Llana Díaz
El Lunes, 15 de Mayo de 2006 21:01, Grant Thomas escribió:
> On 5/13/06, Luis Fernando Llana Díaz <[EMAIL PROTECTED]> wrote:
> > > Usually after you install a new kernel through apt-get or aptitude,
> > > your boot loader will get updated to show the new kernel and the old
> > > kernel. At least it does for grub.
> >
> > Yes
>
> I'm assuming that you used apt to install the kernel. Was this kernel
> in a repository? Currently I am using etch, and the newest kernel I
> can find in the official repository is 2.6.15
>

Since that kernel failed, I added the sid repositories to the sources.list and 
then I installed linux-image-2.6.16-1-686-smp

Anyway, thank you for your help. I have been searching and it seems it is a 
bug in the ati driver of xorg:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366114

In short, I have to disable DRI, although I do not what it is.

Luis.

-- 
http://antares.sip.ucm.es/~luis
In a world without walls, who needs Windows(R)?


pgp4PEUbMUqmU.pgp
Description: PGP signature


Re: smp kernels and xorg

2006-05-13 Thread Luis Fernando Llana Díaz
El Sábado, 13 de Mayo de 2006 04:53, Grant Thomas escribió:
> On 5/12/06, Luis Fernando Llana Díaz <[EMAIL PROTECTED]> wrote:
> > Hello,
> >   I have just installed a new debian box (etch version). Everything runs
> > perfect until I have installed a smp kernel, I have tried
> > 2.6.15-1-686-smp and 2.6.16-1-smp. It has a hyperthreading (or something
> > similar) pentium and it seems that in order to take advantage of that
> > feature I have to use such a kernel.
> >   Well the problem is that after using the X environment (kde or gnome)
> > the computer freeze completely. It doesn't even answer to a ping.
>
> I don't know how much help I can give, but I'll try.
> You mention after using an X environment that the system freezes.
> Does this mean that you can successfully boot the system, and Xorg starts?
>
Yes


> Are you able to boot with a non-smp kernel successfully and not have
> the system freeze?
>
Yes

> Usually after you install a new kernel through apt-get or aptitude,
> your boot loader will get updated to show the new kernel and the old
> kernel. At least it does for grub.
>
Yes

Luis.

-- 
http://antares.sip.ucm.es/~luis
In a world without walls, who needs Windows(R)?


pgpDBtwEvVss3.pgp
Description: PGP signature


Re: smp kernels and xorg

2006-05-12 Thread Grant Thomas

On 5/12/06, Luis Fernando Llana Díaz <[EMAIL PROTECTED]> wrote:

Hello,
  I have just installed a new debian box (etch version). Everything runs
perfect until I have installed a smp kernel, I have tried 2.6.15-1-686-smp
and 2.6.16-1-smp. It has a hyperthreading (or something similar) pentium and
it seems that in order to take advantage of that feature I have to use such a
kernel.
  Well the problem is that after using the X environment (kde or gnome) the
computer freeze completely. It doesn't even answer to a ping.


I don't know how much help I can give, but I'll try.
You mention after using an X environment that the system freezes.
Does this mean that you can successfully boot the system, and Xorg starts?

Are you able to boot with a non-smp kernel successfully and not have
the system freeze?

Usually after you install a new kernel through apt-get or aptitude,
your boot loader will get updated to show the new kernel and the old
kernel. At least it does for grub.



I do not where to start to look for a solution,

Luis.
--
http://antares.sip.ucm.es/~luis
In a world without walls, who needs windows


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]






smp kernels and xorg

2006-05-12 Thread Luis Fernando Llana Díaz
Hello,
  I have just installed a new debian box (etch version). Everything runs 
perfect until I have installed a smp kernel, I have tried 2.6.15-1-686-smp 
and 2.6.16-1-smp. It has a hyperthreading (or something similar) pentium and 
it seems that in order to take advantage of that feature I have to use such a 
kernel.
  Well the problem is that after using the X environment (kde or gnome) the 
computer freeze completely. It doesn't even answer to a ping.

I do not where to start to look for a solution,

Luis.
-- 
http://antares.sip.ucm.es/~luis
In a world without walls, who needs windows


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: invalid operand smp kernel error

2006-05-03 Thread Lubos Vrbka
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

> I've seen this once before on an overheating Opteron system.  A rethink
> of the cooling strategy fixed it.
thanks for a hint. this also came to my mind, since the machine was
really under constant load (scientific calculation) for very long time
without any problems... i'll check that and maybe i'll try adding some
additional fans (although there are already several of them atm)

thanks,

- --
Lubos
[EMAIL PROTECTED]"
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEWO6B5EqL/d2IfcARA2ojAJ95tbjE4DaHr7g0UMD+X8PUQ0AS3ACfZ++P
g89UPTEezzqYufj4PE8p4JI=
=FRck
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: invalid operand smp kernel error

2006-05-03 Thread Martin A. Brooks

Lubos Vrbka wrote:

thanks for any hints. with best regards,


I've seen this once before on an overheating Opteron system.  A rethink 
of the cooling strategy fixed it.


--
Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam & anti-virus
   Consultant|  [EMAIL PROTECTED]  | filtering. Inoculate
 antibodymx.net  |  m: +4745888254 | your mail system.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




invalid operand smp kernel error

2006-05-03 Thread Lubos Vrbka
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

hi guys,

today, my smp machine (amd64 dual dualcore opteron) crashed with the
following error

Message from [EMAIL PROTECTED] at Wed May  3 18:44:22 2006 ...
localhost kernel: invalid operand:  [1] SMP

i had 2 crashes today, hoever i didn't see the first error message since
i wasn't working on that machine at the moment. for the second time,
this error message showed up directly in the ssh session...

google search provided many references, but no solutions.

iirc, the kernel running is 2.6.12 or 2.6.15 (i cannot get the
information atm). there are no modules involved (everything is in the
kernel). the machine doesn't run x. it worked for approximately half a
year without any problems (under constant load).

thanks for any hints. with best regards,

- --
Lubos
[EMAIL PROTECTED]"
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEWOAU5EqL/d2IfcARA3XIAJ9bsgmzOLECTj+2vRID/sG+enBA+ACgpxYu
mo/CULcnO+ZtRMueuwxm2nY=
=2T7j
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Upgrading Debian 3.1 kernel from 2.4.27-2-686-smp to 2.6.8-3-686-smp, but had complications with 2.6.x kernel at Debian installer

2006-04-07 Thread Christopher Nelson
On Fri, Apr 07, 2006 at 04:27:16PM -0400, Yu,Glen [Ontario] wrote:
  
> What I'm wondering now is if we upgrade to the 2.6.8-3-686-smp kernel via
> apt would it have any ill effects (i.e. it can't detect any hard disks
> again)?

If you're willing to sacrifice your uptime, you can install the kernel
via apt-get without removing the old one, and then your bootloader
should give you the option of which to boot to, and if the new one
doesn't work you can boot to the old one.  That way you can at least
check out the newer kernel.  If it doesn't work, you may want to
investigate building your own kernel (apt-cache search kernel-package).

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
Military secrets are the most fleeting of all.
-- Spock, "The Enterprise Incident", stardate 5027.4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Upgrading Debian 3.1 kernel from 2.4.27-2-686-smp to 2.6.8-3-686-smp, but had complications with 2.6.x kernel at Debian installer

2006-04-07 Thread Yu,Glen [Ontario]
Hello everyone,

In the very beginning, our intention was to install Debian 3.1 Sarge with the 
2.6.8 kernel (via 'linux26' at install prompt) on our Dell PowerEdge 2800 
server, but at the step in the installation process where it was suppose to 
partition the hard disks, it gave an error citing no hard disks were found.  
However, it worked with a regular install (with 2.4.27 kernel), which is 
probably because of the lack of the megaraid or megaraid2 driver/module in the 
2.6.8 kernel.  Since then, we've upgraded our stock 2.4.27 to an smp kernel 
which is more fitting for our dual Xeon processors.  What I'm wondering now is 
if we upgrade to the 2.6.8-3-686-smp kernel via apt would it have any ill 
effects (i.e. it can't detect any hard disks again)?

Thanks for your help

-Glen


--
Glen Yu | 416-739-4861 | [EMAIL PROTECTED]
--



Re: Debian Sarge server frozen (em64t-p4-smp)

2006-04-06 Thread listrcv

Simon wrote:


so that would mean going from kernel-image-2.6.8-9-em64t-p4-smp to
kernel-image-2.6.8-12-em64t-p4-smp? Is this correct given your comment
above?


Hm, hard to say, check out 
http://packages.debian.org/cgi-bin/search_packages.pl?keywords=kernel-image-2.6&searchon=names&subword=1&version=all&release=all.


When I upgrade to a newer kernel or make a new installation, I download 
the source of the latest stable one from http://kernel.org/ (unless I 
know I need some feature that is only in a more recent kernel). I prefer 
using kernels configured and compiled to what I need, and I have never 
had trouble with kernels compiled from the standard source on Debian.


Eventually check out /usr/src/linux/Documentation/Changes to find out if 
 you got a sufficiently recent version of the required programs.



Compiling your own kernel might be the best way to go since you won't 
have features in it that are not needed. What's not there can't cause 
problems and doesn't eat ressources :)


For servers, I try to keep them stripped down to what's actually needed 
and/or useful, regarding both the kernel and the software/packages 
installed.



GH


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian Sarge server frozen (em64t-p4-smp)

2006-04-06 Thread Simon
On 4/6/06, listrcv <[EMAIL PROTECTED]> wrote:
> Simon wrote:
> > Hi There, We have a mail server (postfix>amavis>dbmail) running debian
> > sarge (2.6.8-9-em64t-p4-smp) running dual xeons with a tyan
> > motherboard and 3ware hardware raid5. Everything has been running fine
> > up to now, but in the last week it has frozen twice. Completly stuck
> > needing a hard reboot to restart (ctl-alt-del dosnt work). Here is a
> > screenshot of the stuck screen (no ping, nothing at this point):
> >
> > http://gremin.orcon.net.nz/console.jpg
> >
> > Would someone be able to take a look and give me a clue here?
>
> I would upgrade to the latest stable kernel, that'll probably solve it.

Thanks for the reply,

so that would mean going from kernel-image-2.6.8-9-em64t-p4-smp to
kernel-image-2.6.8-12-em64t-p4-smp? Is this correct given your comment
above?

Thanks

Simon



Re: Debian Sarge server frozen (em64t-p4-smp)

2006-04-05 Thread listrcv

Simon wrote:

Hi There, We have a mail server (postfix>amavis>dbmail) running debian
sarge (2.6.8-9-em64t-p4-smp) running dual xeons with a tyan
motherboard and 3ware hardware raid5. Everything has been running fine
up to now, but in the last week it has frozen twice. Completly stuck
needing a hard reboot to restart (ctl-alt-del dosnt work). Here is a
screenshot of the stuck screen (no ping, nothing at this point):

http://gremin.orcon.net.nz/console.jpg

Would someone be able to take a look and give me a clue here?


I would upgrade to the latest stable kernel, that'll probably solve it.


GH


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Debian Sarge server frozen (em64t-p4-smp)

2006-04-04 Thread Simon
Hi There, We have a mail server (postfix>amavis>dbmail) running debian
sarge (2.6.8-9-em64t-p4-smp) running dual xeons with a tyan
motherboard and 3ware hardware raid5. Everything has been running fine
up to now, but in the last week it has frozen twice. Completly stuck
needing a hard reboot to restart (ctl-alt-del dosnt work). Here is a
screenshot of the stuck screen (no ping, nothing at this point):

http://gremin.orcon.net.nz/console.jpg

Would someone be able to take a look and give me a clue here?

Simon



Re: scsi probe delay on linux-kernel-2.6.15-1-k7-smp

2006-03-30 Thread Greg Madden
On Thursday 30 March 2006 08:57, [EMAIL PROTECTED] wrote:
> hello, have a sun workstation and decided to install debian etch on it,
> everything goes fine, i installed 2 different kernels
> linux-kernel-2.6.15-1-k7-smp and linux-kernel-2.6.15-1-686-smp, when
> any of that kernel boots it hangs up several seconds during scsi probe,
> kernel finds scsi host 0 controller ,after that drops to shell (busy
> box shell) because kernel cannot find the sda1 (the root file system),
> while im on the shell kernel finishesthe probe of scsi host controller
> 2 and finds the sda, then i press ctrl+D to make the kernel to continue
> boot seq. , everythig goes fine, the computer boots normally. there is
> SunOS already installed on my workstation, i think SunOS uses linux
> kernel and trace the probe of scsi host, see that SunOS kernel finds
> both scsi host controllers in a second, the kernels without smp work
> fine. how can i solve that problem?
> also i am noticed that my scsi hardisk seem to be little slow for scsi
> disks.
>
> hdparm -t /dev/sda
>
> /dev/sda:
>  Timing buffered disk reads:  226 MB in  3.01 seconds =  75.09 MB/sec
>
> is it normal ? thanks.

Regarding the hdparm question, to measure more accurately the disk/system 
performance use bonnie++.
-- 
Greg Madden


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



scsi probe delay on linux-kernel-2.6.15-1-k7-smp

2006-03-30 Thread erchamion . beren
hello, have a sun workstation and decided to install debian etch on it, 
everything goes fine, i installed 2 different kernels 
linux-kernel-2.6.15-1-k7-smp and linux-kernel-2.6.15-1-686-smp, when any of 
that kernel boots it hangs up several seconds during scsi probe, kernel finds 
scsi host 0 controller ,after that drops to shell (busy box shell) because 
kernel cannot find the sda1 (the root file system), while im on the shell 
kernel finishesthe probe of scsi host controller 2 and finds the sda, then i 
press ctrl+D to make the kernel to continue boot seq. , everythig goes fine, 
the computer boots normally. there is SunOS already installed on my 
workstation, i think SunOS uses linux kernel and trace the probe of scsi 
host, see that SunOS kernel finds both scsi host controllers in a second, the 
kernels without smp work fine. how can i solve that problem?
also i am noticed that my scsi hardisk seem to be little slow for scsi disks.

hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  226 MB in  3.01 seconds =  75.09 MB/sec

is it normal ? thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel-image-2.6.8-3-686-smp update

2006-03-26 Thread Ramsay D. Seielstad


  All right, seems I can go either way with this, guess the next time I 
have a reason to shutdown, I'll reboot with a different kernel, install 
and reboot (almost sounds as inconvenient as a M$ product we all know 
and hate!)


  Again, thanks all to answered for the wisdom and advice.

 Ramsay, KC2GMW


Andrew Cady wrote:

On Sat, Mar 25, 2006 at 04:28:42AM +, Ramsay D. Seielstad wrote:

  Greetings all, seems the kernel-images have recently been updated
and I'm not sure how to proceed.  I'm running an IBM dual xeon 2.4 ghz
system on the stock kernel-image-2.6.8-2-686-smp with no problems.

  Now kernel-image-2.6.8-3-686-smp is available and I get the warning
about installing over the running kernel.  Prudently I decided against
it.


The problem is only that if your new kernel doesn't work, you won't have
the old, known-working kernel around to fall back on.  Actually, this
isn't so bad; it rarely happens, and you can always boot from CD to fix
the problem.  But, of course, that is a hassle; better to keep the old
kernel around.


 Can just install this update over the running kernel and reboot it,
or should I install a different 386 kernel, boot it and then install
the update?


That will keep you safe.  However, the better approach is to use a
different name for your custom-built kernel than the official Debian
one uses.  This will allow you to keep both kernels installed, and
also may save you some headache later on.  This can be done with the
--append-to-version option to make-kpkg.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel-image-2.6.8-3-686-smp update

2006-03-25 Thread Andrew Cady
On Sat, Mar 25, 2006 at 04:28:42AM +, Ramsay D. Seielstad wrote:
>
>   Greetings all, seems the kernel-images have recently been updated
> and I'm not sure how to proceed.  I'm running an IBM dual xeon 2.4 ghz
> system on the stock kernel-image-2.6.8-2-686-smp with no problems.
>
>   Now kernel-image-2.6.8-3-686-smp is available and I get the warning
> about installing over the running kernel.  Prudently I decided against
> it.

The problem is only that if your new kernel doesn't work, you won't have
the old, known-working kernel around to fall back on.  Actually, this
isn't so bad; it rarely happens, and you can always boot from CD to fix
the problem.  But, of course, that is a hassle; better to keep the old
kernel around.

>  Can just install this update over the running kernel and reboot it,
> or should I install a different 386 kernel, boot it and then install
> the update?

That will keep you safe.  However, the better approach is to use a
different name for your custom-built kernel than the official Debian
one uses.  This will allow you to keep both kernels installed, and
also may save you some headache later on.  This can be done with the
--append-to-version option to make-kpkg.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel-image-2.6.8-3-686-smp update

2006-03-25 Thread Clive Menzies
On (25/03/06 04:28), Ramsay D. Seielstad wrote:
>   Greetings all, seems the kernel-images have recently been updated and 
> I'm not sure how to proceed.  I'm running an IBM dual xeon 2.4 ghz 
> system on the stock kernel-image-2.6.8-2-686-smp with no problems.
> 
>   Now kernel-image-2.6.8-3-686-smp is available and I get the warning 
> about installing over the running kernel.  Prudently I decided against it.
> 
>  Can just install this update over the running kernel and reboot it, or 
> should I install a different 386 kernel, boot it and then install the 
> update?
> 
>   I'm just guessing that it probably has minor changes and that the 
> modules in /lib/modules shouldn't break anything, since it is the same 
> kernel and version, long enough to install and then reboot.
> 
>   Appreciate any help or suggestions the community can toss my way and 
> thanks in advance for the wisdoms.

What I did was go into aptitude in interactive mode:

'u' to update the package cache

'U' to mark upgradable packages 

'g' to view packages to be upgraded

you will see that it is trying to remove your running kernel. 

'+' to change the state from 'id' to 'i'

you can then safely proceed with 'g' again to install the new kernel.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel-image-2.6.8-3-686-smp update

2006-03-24 Thread Chance Platt
On Sat, 2006-03-25 at 04:28 +, Ramsay D. Seielstad wrote:
>Greetings all, seems the kernel-images have recently been updated and 
> I'm not sure how to proceed.  I'm running an IBM dual xeon 2.4 ghz 
> system on the stock kernel-image-2.6.8-2-686-smp with no problems.
> 
>Now kernel-image-2.6.8-3-686-smp is available and I get the warning 
> about installing over the running kernel.  Prudently I decided against it.
> 
>   Can just install this update over the running kernel and reboot it, or 
> should I install a different 386 kernel, boot it and then install the 
> update?
> 
>I'm just guessing that it probably has minor changes and that the 
> modules in /lib/modules shouldn't break anything, since it is the same 
> kernel and version, long enough to install and then reboot.
> 
>Appreciate any help or suggestions the community can toss my way and 
> thanks in advance for the wisdoms.
> 
>  Ramsay, kc2gmw

The short answer:  yes, you can install the updated kernel over your
running version.

The long answer:  It's safer to run a different kernel and then update
the needy kernel-image when you're running on the other kernel.

Maybe I shouldn't be answering your question. :)  As far as I know, the
concerns are mainly with one of two scenarios:  (1), power going out
before the full image is written to disk, or replacement image is not
written well / broken out of the gate for some reason or (2) the updated
modules mucking with your setup.

Neither situation has ever happened to me.  As for issue (1), the
official Debian kernels .. I can't remember a broken one coming out of
an update, ever.  As for the second part of (1), as fast as harddrives
are anymore .. I guarantee writing a kernel image will not outlast my
UPS.  And if my UPS doesn't help me, than I probably have bigger
problems than my machine not booting the next time I flip the switch on.
(2) Usually by the time I'm updating a kernel, my machine has been on
for greater than 10 minutes and every module it would ever load has been
loaded.  I just update, and reboot.  Presto.  YMMV, IANAL, IAMANAL, etc
etc ad nauseum.

chance




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kernel-image-2.6.8-3-686-smp update

2006-03-24 Thread Ramsay D. Seielstad


  Greetings all, seems the kernel-images have recently been updated and 
I'm not sure how to proceed.  I'm running an IBM dual xeon 2.4 ghz 
system on the stock kernel-image-2.6.8-2-686-smp with no problems.


  Now kernel-image-2.6.8-3-686-smp is available and I get the warning 
about installing over the running kernel.  Prudently I decided against it.


 Can just install this update over the running kernel and reboot it, or 
should I install a different 386 kernel, boot it and then install the 
update?


  I'm just guessing that it probably has minor changes and that the 
modules in /lib/modules shouldn't break anything, since it is the same 
kernel and version, long enough to install and then reboot.


  Appreciate any help or suggestions the community can toss my way and 
thanks in advance for the wisdoms.


Ramsay, kc2gmw


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel 2.6 SMP on fresh install

2006-02-15 Thread Matt Zagrabelny
> The only reference in the online manual from your websight says to 
> install the single processor kernel first then compile new kernel 
> (even though the installation DVD has 2.4 smp and 2.6 smp on it). If 
> it is possible, I would like to be able to select 2.6 smp from the 
> beginning of the installation.  If there is no way of doing that, 
> will it be available in the future?


well, i dont think there is an smp kernel in the installer. so you could
roll your own installer. (there is online documentation for that)

i dont know what documentation you found, but there are smp kernels
available (precompiled, of course) via apt. (use aptitude)

i doubt there would be one included in an installer in the future, but
you never know.

out of curiousity, why is it so important to install an smp kernel
"right away"?

-matt zagrabelny



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6 SMP on fresh install

2006-02-14 Thread John Miller (CSL Help)
The easiest way I've found to get a 2.6 SMP kernel on installation is to
select the 'expert26' install mode.  There's an option to choose which
kernel you'd like to install, and 2.6-SMP is one of the choices.  The
'expert' part of it is somewhat misleading: if you've installed Debian
before, you'll be fine.  Good luck!

--John

John Miller
Community Software Lab
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kernel 2.6 SMP on fresh install

2006-02-14 Thread eruditus
I have a question on how to install Debian 3.1 with the option of 
using the 2.6 smp kernel.

I have just installed Debian 3.1 and had to chose the 2.6 
kernel (the linux26 option) since there was no smp option. After the 
installation was completed and working fine, I installed the 2.6 smp 
kernel to be able to use the dual processors on my system. Everything 
works great but I will be installing Debian on a few other computers 
and wanted to know how to have Debian installer install kernel 2.6 
smp in the first place without having to install or upgrade to the 
smp kernel afterwards.

The only reference in the online manual from your websight says to 
install the single processor kernel first then compile new kernel 
(even though the installation DVD has 2.4 smp and 2.6 smp on it). If 
it is possible, I would like to be able to select 2.6 smp from the 
beginning of the installation.  If there is no way of doing that, 
will it be available in the future?

-- 
___
Play 100s of games for FREE! http://games.mail.com/



problem compiling kernel-headers-2.6.8-2-smp

2006-02-09 Thread Ivan Paganini
Hello everybody. I am trying to install anbd on a PIII cluster, and for
that I have to compile the module that they provide. But unfortunately,
I am not being capable of compile this module agaist the
kernel-headers-2.6.8-2-686-smp. make menuconfig works nicely, but when I
try to make or make modules, I have this two messages:

make
make[1]: *** No rule to make target `init/main.o', needed by
`init/built-in.o'.  Stop.
make: *** [init] Error 2

or
make modules
make[1]: *** No rule to make target `arch/i386/kernel/msr.c', needed by
`arch/i386/kernel/msr.o'.  Stop.
make: *** [arch/i386/kernel] Error 2
++
I have made make mrproper, make oldconfig, make menuconfig and
configured everything, make clean to be sure that nothing is hanging,
but with no luck. I have copied the nbd.h and nbd.c to the right places
(include and drivers/block). So, what can be happening? Is there other
way to compile this module? When I try to compile standalone, I have
tons of error messages of missing libraries and dependencies.

Thanks in advance.

Ivan Marin
--
---
Ivan S. P. Marin
Laboratório de Física Computacional
lfc.ifsc.usp.br
Instituto de Física de São Carlos - USP
--



Re: yaird problem with kernel-image-2.6-686-smp

2006-01-11 Thread Florian Kulzer

Joshua Swink wrote:

When I try to install kernel-image-2.6-686-smp, the package fails to
set up. I get the following errors:

Setting up linux-image-2.6.15-1-686-smp (2.6.15-1) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: '/dev/hda1' not found (/etc/fstab:5) (fatal)
Failed to create initrd image.
dpkg: error processing linux-image-2.6.15-1-686-smp (--configure):
 subprocess post-installation script returned error exit status 9

Line 5 of /etc/fstab is:

/dev/hda1   /   ext3defaults,errors=remount-ro 0   1

How can this be fixed?

Josh


Hi Joshua,

I had the same problem and it went away after I installed the packages
"initramfs-tools" and  "initrd-tools" (on a Sid box). This avoids using
yaird which seems to be a bit touchy at the moment. (There are some
related bug reports in the BTS and they might contain a more elegant fix
for this problem, but I did not have the time to look into this any
deeper.)

I hope this helps.

Regards,
  Florian


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




yaird problem with kernel-image-2.6-686-smp

2006-01-10 Thread Joshua Swink
When I try to install kernel-image-2.6-686-smp, the package fails to
set up. I get the following errors:

Setting up linux-image-2.6.15-1-686-smp (2.6.15-1) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: '/dev/hda1' not found (/etc/fstab:5) (fatal)
Failed to create initrd image.
dpkg: error processing linux-image-2.6.15-1-686-smp (--configure):
 subprocess post-installation script returned error exit status 9

Line 5 of /etc/fstab is:

/dev/hda1   /   ext3defaults,errors=remount-ro 0   1

How can this be fixed?

Josh



SMP kernel - modem support

2005-12-05 Thread jb701
I have a dual processor system running sarge with an SMP kernel.  It cannot 
find my modem. 

When I run the system with a uniprocessor kernel, the modem works fine. 

The SMP kernel I am using is 2.6.8-2-686-smp. 

What I would like to know is: does this mean I need to compile a kernel with 
modem support [if that makes sense] or are SMP kernels inherently unable to 
work with modems? 

Or, if this is not the right place to ask these questions, where should I 
try? 

Regards 

- Joe 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: [Solved] Freezing, SMP Kernel and P4

2005-11-12 Thread David R. Litwin
I suspect, if you're running Sid, that you've run into a fairly commonissue of /tmp/.ICE-unix file not belonging to root. "chmod -R 
root.root/tmp/.ICE-unix" should fix this is this is the problem.I looked at the  files in that folder and the folder itself. They all belong to root.
If KDM is running when you try to "startx", you'll need to specify"startx -- :1" or something similar, or stop KDM first to do a normal"startx".That didn't work: I'm now getting a new message. /etc/X11/X isn't executable.
> Perhaps, since this is so different, I should start a new thread?
Yes, probably.Then I will.Nice sights, by the bye. ;-)-- —A watched bread-crumb never boils.—My hover-craft is full of eels.—[...]and that's the he and the she of it.


  1   2   3   4   5   6   >