Re: [PATCH v2] scripts/setlocalversion: make git describe output more reliable

2020-09-21 Thread Nico Schottelius
Hey Rasmus, Rasmus Villemoes writes: >> So I suggest you introduce something on the line of: >> >> ... >> num_chars=12 >> ... >> --abbrev=$num_chars > > I considered that, but it becomes quite ugly since it needs to get into > the awk script (as a 13, though perhaps we could get awk to do the +

Re: [PATCH v2] scripts/setlocalversion: make git describe output more reliable

2020-09-17 Thread Nico Schottelius
Thanks for the patch Rasmus. Overall it looks good to me, be aligned to the stable patch submission rules makes sense. A tiny thing though: I did not calculate the exact collision probability with 12 characters and it does not make sense to even discuss this, if this is a current rule for stable

4.9.0+4.19.0: Bug in megasas driver (?), if booting from USB stick

2020-06-02 Thread Nico Schottelius
Hello kernel hackers, I've this "funny" problem: if I netboot servers via the firmware in the network card, the system comes up normal. If I boot iPXE from a usb stick and then netboot, the megasas driver fails to init (call trace below, full dmesg attached). The system also hangs during the ini

Kernel panic on new Dell XPS 7390 (5.3)

2019-09-27 Thread Nico Schottelius
Good morning, I have just started fighing with the new Dell XPS 7390 and get various boot errors [0], including a kernel panic with kernel 5.3 as shipped by Ubuntu 19.10. I was wondering if anyone has an advice on how to debug this best? Best, Nico [0] https://twitter.com/NicoSchottelius/sta

Re: How to turn off IPv4 without disabling IPv6

2019-04-25 Thread Nico Schottelius
Hey Adam, thanks for the fast response. Adam Borowski writes: > On Thu, Apr 25, 2019 at 11:32:38AM +0200, Nico Schottelius wrote: >> running some IPv6 only >> networks. The systems in the IPv6 only networks do not need any IPv4 >> support anymore and thus for switches/

How to turn off IPv4 without disabling IPv6

2019-04-25 Thread Nico Schottelius
Good morning kernel hackers, we are a small company in Switzerland running some IPv6 only networks. The systems in the IPv6 only networks do not need any IPv4 support anymore and thus for switches/routers we turned the support off. Today we tried to turn off IPv4 in the Linux kernel at compile

Re: Modern Suspend on Dell Latitude 5285 does not resume

2017-07-20 Thread Nico Schottelius
Good evening Mario, > Currently the patch does not look at anything in the system to default to S2I > vs S3. > This will affect systems that offer S3 and S2I (even if S3 is broken). > > Have you configured /sys/power/mem_sleep to s2idle? > https://github.com/torvalds/linux/blob/master/Documentat

Modern Suspend on Dell Latitude 5285 does not resume

2017-07-20 Thread Nico Schottelius
Hello, following up the recent patch [0] to enable modern suspend on Dell notebooks, I can report that this patch does *not* fix the situation on Dell Latitude 5285. I have tested with v4.12-10845-g74cbd96 and when closing the "lid" or triggering sleep by echo mem > /sys/power/state, the system s

Re: [PATCH] setlocalversion: fix error detectition of kernel git repository

2017-01-21 Thread Nico Schottelius
Hello Xufeng, why do you think redirecting *all* output to /dev/null is the right thing todo? And which problem does it exactly fix? Do you see that there is a difference between a "return value" (i.e. exit code) and the output (in this case stdout) of a program? Best, Nico xufeng writes:

Re: Linux 3.16: O2 Micro MMC missing in lspci

2014-09-14 Thread Nico Schottelius
Hey Stefan, (un-)fortunately I don't have the device anymore, so I cannot test anymore. Cheers, Nico Stefan Richter [Sun, Sep 14, 2014 at 10:24:08AM +0200]: > On Aug 14 Nico Schottelius wrote: > > Hello, > > > > when booting into 3.16.0-2-ARCH I miss the fo

Linux 3.16: O2 Micro MMC missing in lspci

2014-08-14 Thread Nico Schottelius
Hello, when booting into 3.16.0-2-ARCH I miss the following entry in lspci: [12:50] gold:debug-sd-card-reader% diff 3.15/lspci 3.16/lspci 17d16 < 03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) This causes my system to be unable to mount/see the sd cards. My ha

Support for automatic screen rotation on Lenovo Yogo 2 Pro

2014-02-10 Thread Nico Schottelius
Good morning hackers, The screen on the Lenovo Yoga 2 Pro can rotate up to 180 degrees and it would be awesome if we could rotate it automatically under Linux. xrandr can already rotate it, what is missing is an event that we can trigger on. Is there any way to find out a) if the screen

Keycodes missing / wrong on Lenovo Yoga 2 Pro

2014-01-28 Thread Nico Schottelius
Good day kernel hackers, when trying out which events are recognised by xev to adjust my xbindkeysrc, I noticed that various keys are incorrectly recognised on this machine: - mute button on the side returns "f", should be xf86audiomute - fn + f4 returns f4, should be "Lock" (if we have

Re: [RFC] scripts/setlocalversion on write-protected source tree

2013-06-10 Thread Nico Schottelius
Hey Christian, Christian Kujau [Sun, Jun 09, 2013 at 05:50:49PM -0700]: > Hi, > > [errors when using git update-index - different scenarios] > [...] > > On a side note, I don't think a kernel compilation should alter the source > tree (or the .git directory) in any way and I don't see how remov

Re: [Jfs-discussion] Out of memory on 3.5 kernels

2012-11-27 Thread Nico Schottelius
Hey Dave, Dave Kleikamp [Tue, Nov 27, 2012 at 09:56:58AM -0600]: > [...] > I believe this commit will fix the problem: > http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4eff96d > > It is targeted for the stable kernels. Thanks, I'll give it a try, I've

Re: Out of memory on 3.5 kernels

2012-10-30 Thread Nico Schottelius
Good morning, update: this problem still exists on 3.6.2-1-ARCH and it got worse: I reformatted the external disk to use xfs, but as the my root filesystem is still jfs, it still appears: Active / Total Objects (% used): 642732 / 692268 (92.8%) Active / Total Slabs (% used) : 24801 /

Very bad performance on Qemu/KVM

2012-10-16 Thread Nico Schottelius
Good morning LKML, I see extremely slow virtual machines running on qemu-kvm-0.12.1.2-2.295.el6_3.2.x86_64 on Centos 6.3 with Linux 2.6.32-279.5.2.el6.x86_64 on a 64 core machine using AMD Opteron(TM) Processor 6276 (dell r815). The guests are Centos 6.3, Linux 2.6.32-220.13.1.el6.x86_64. The dis

Re: Out of memory on 3.5 kernels

2012-10-05 Thread Nico Schottelius
Hey Valdis, valdis.kletni...@vt.edu [Fri, Oct 05, 2012 at 11:48:04AM -0400]: > On Wed, 03 Oct 2012 23:23:11 +0200, Nico Schottelius said: > > > does anyone of you have a clue so far what may be causing the huge > > slab usage? > > > > I've just found a

Re: Out of memory on 3.5 kernels

2012-09-26 Thread Nico Schottelius
David Rientjes [Mon, Sep 24, 2012 at 03:43:27PM -0700]: > [...] > > And those objects are consuming ~2.3GB of slab on your 4GB machine and > seems to only have occurred between v3.4.2 to v3.5.3. > > It would be interesting to see what kmemleak would tell us. As the Archlinux kernel does not

Re: Out of memory on 3.5 kernels

2012-09-26 Thread Nico Schottelius
Good morning, Dave Kleikamp [Tue, Sep 25, 2012 at 10:07:14AM -0500]: > >> Active / Total Objects (% used): 1165130 / 1198087 (97.2%) > >> Active / Total Slabs (% used) : 81027 / 81027 (100.0%) > >> Active / Total Caches (% used) : 69 / 101 (68.3%) > >> Active / Total Size (% used)

Re: Out of memory on 3.5 kernels

2012-09-20 Thread Nico Schottelius
Hey Arend, just while running, I got the following brcmsmac related error: [17336.572558] WARNING: at drivers/net/wireless/brcm80211/brcmsmac/main.c:7968 brcms_c_wait_for_tx_completion+0x99/0xb0 [brcmsmac]() [17336.572562] Hardware name: MacBookAir4,2 [17336.572565] Modules linked in: sha256_gen

Re: Out of memory on 3.5 kernels

2012-09-20 Thread Nico Schottelius
Hey Arend, Arend van Spriel [Thu, Sep 20, 2012 at 09:44:18AM +0200]: > Hi Nico, > > Being curious (and suspicious) over here. Are you doing the rsync > over wireless interface using brcmsmac? I am currently looking at > bugzilla #47721 (see [1]) and maybe this is related. No, the rsync actually

Re: Out of memory on 3.5 kernels

2012-09-20 Thread Nico Schottelius
Hey David, David Rientjes [Wed, Sep 19, 2012 at 11:54:54PM -0700]: > On Thu, 20 Sep 2012, Nico Schottelius wrote: > > > for some time the slab usage is quite high (~3.2 GiB) and whenever I try > > to do a backup with ccollect (which is using rsync), a lot of processes >

Re: Out of memory and no killable processes: 2.6.22-2-686-bigmem

2007-12-18 Thread Nico Schottelius
Hello Robert, Robert Hancock [Tue, Dec 18, 2007 at 06:43:22PM -0600]: > How much RAM is in these machines? 8 GiB > If you're running tons of memory, it > really is better to run a 64-bit kernel if possible. Sure? Afaik that results in a bit slower access to memory and appart from being able to

Out of memory and no killable processes: 2.6.22-2-686-bigmem

2007-12-18 Thread Nico Schottelius
Hello! We are running Debian with 2.6.22-2-686-bigmem on Dell Blade 1955 hardware and get a Kernel Panic with oom + message that there are no processes left to kill: http://home.schottelius.org/~nico/unix/linux/oom_no_killable-2.6.22-1.jpeg Anyone an idea, what's the cause for that? This error h

Thanks for /dev/input/* and acpi!

2007-11-30 Thread Nico Schottelius
Hello everybody! I'm just playing around with netlink and all the interesting event devices in 2.6.23.9, because I see that acpid still uses /proc/acpi/event. And I must say that the whole event system is pretty fun: Easy to use, mostly documentated in linux/input.h and helpful ioctl()s. I did s

halt: init exits/panic

2005-07-09 Thread Nico Schottelius
Hello! What's the 'correct behaviour' of an init system, if someone wants to shutdown the system? I currently do: - call reboot(RB_POWER_OFF/RB_AUTOBOOT/RB_HALT_SYSTEM) - _exit(0) Is this exit() call wrong? If I do RB_HALT_SYSTEM and _exit(0) after, the kernel panics. Should init simply sleep,

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Lee Revell [Tue, Apr 19, 2005 at 04:42:12PM -0400]: > On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: > > Can you tell me which ones? > > > > Multimedia apps like JACK and mplayer that use the TSC for high res > timing need to know the CPU speed, and /proc/cp

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Lee Revell [Tue, Apr 19, 2005 at 03:17:00PM -0400]: > On Tue, 2005-04-19 at 09:24 -0400, Lennart Sorensen wrote: > > On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: > > > When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo > > > varies very much

/proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Hello! When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo varies very much on different architectures. Is it possible to make it look more identical (as far as the different archs allow it)? So that one at least can count the cpus on every system the same way. If so, who would the one I

Re: PMTU, MSS and "fragmentation needed" problem with linux?

2005-04-07 Thread Nico Schottelius
Thanks for the hints Florian, but still there are open questions: Florian Attenberger [Thu, Apr 07, 2005 at 07:33:09PM +0200]: > [...] > # [From the kernel help: > # > #This option adds a `TCPMSS' target, which allows you to alter the > #MSS value of TCP SYN packets, to control the maximum

PMTU, MSS and "fragmentation needed" problem with linux?

2005-04-07 Thread Nico Schottelius
Hello! [I hope this is the correct list, if not, please tell me where to ask] The following scenario: Linux-client <-- Ethernet --> Linux-router <-- PPPoE --> Internet. Linux-client has MTU==1500, so the MSS is 1460. Linux-router has MTU==1500 on eth0 and MTU=1492 on ppp0. The MSS is set to 1452

[reiserfs] 100% cpu consum - normal?

2005-02-23 Thread Nico Schottelius
Hello! I once again tried reiserfs, this time on my ibook: ei ~ # mkreiserfs -V mkreiserfs 3.6.19 (2003 www.namesys.com) ei ~ # uname -a Linux ei 2.6.10 #5 Sun Feb 6 17:26:47 CET 2005 ppc 750CXe PowerBook4,1 GNU/Linux If I tar xf $big_tar (speaking about the gcc-source), my system hangs: - no

Re: [NO-PATCH] compile error: 2.6.10 / megaraid_mbox

2005-02-15 Thread Nico Schottelius
Hello Again! Sorry Greg for the wrong information. The kernel I modified had been patched with some megaraid patches before. I wasn't told that it was patched. I retested it with 2.6.10 and it works fine! So keep on good work, Nico - To unsubscribe from this list: send the line "unsubscribe linu

[PATCH] compile error: 2.6.10 / megaraid_mbox

2005-02-08 Thread Nico Schottelius
Good morning! I was trying to compile Megaraid on 2.6.10 and noticed that pci_dma_sync_single and pci_dma_sync_sg are deprecated. Greg seems to tried to patch it in 2.6.9 (http://lkml.org/lkml/2004/10/19/425), but it seems he didn't catch it all. A patch against vanialla 2.6.10 is attached. Gre

Re: scsi disk defect or kernel driver defect ?

2001-06-14 Thread Nico Schottelius
> The manual for my C1536A says: > > | The C1536A does not support termination on the device itself. Normally, the > | unit will not be placed at the end of a bus. However, if this is > | unavoidable, we recommend the use of an additional length of cable with a > | terminator attached. (Lack of sp

ipchains autoload

2001-06-08 Thread Nico Schottelius
Hello! I don't really know howto specify that kmod should autoload the ipchains module, when I am using ipchains. Anyone any idea howto tell kmod to load it then ? Nico - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Khalid Aziz wrote: > Nico Schottelius wrote: > > > > Hi all! > > > > The problem is solved, if I disconnect the hp streamer > > from the bus. I wonder why there is a problem. > > The aic7880 has two busses: > > > > ultra/ ultrawide. > >

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Hi all! The problem is solved, if I disconnect the hp streamer from the bus. I wonder why there is a problem. The aic7880 has two busses: ultra/ ultrawide. The ibm hard disk is connected to the uw port and is terminated. No other uw device is attached. The hp streamer is also lonely on the ult

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
> > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > > I/O error: dev 08:01, sector 127304 > > SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 802 > > [valid=0] Info fld=0x0, Current sd08:01: sns = 70 b > > ASC=47 ASCQ= 0 > > Raw sense data:0x70

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Guest section DW wrote: > On Thu, Jun 07, 2001 at 06:22:59PM +0200, Nico Schottelius wrote: > > > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > > I/O error: dev 08:01, sector 127304 > > SCSI disk error : host 0 channel 0 id 0 lun

scsi disk defect or kernel driver defect ?

2001-06-07 Thread Nico Schottelius
Hello guys! Currently my scsi disc is only reporting errors! In the adaptect scsi bios I tried the verify media option and it worked fine. The output from the Linux kernel is more than worse! Can you tell me what's wrong in my system ? I will monitor the mailing list the next hours, if the hard

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-31 Thread Nico Schottelius
Daniel Phillips wrote: > On Wednesday 30 May 2001 17:25, Ingo Molnar wrote: > > On Wed, 30 May 2001, Nico Schottelius wrote: > > > > the default value is 0, that is good enough. > > > > > > hmm.. I don't think so... value of 1 would be much better, b

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Nico Schottelius
> > less code / one int more in the kernel > > or > > more code and #ifs / one int less in the kernel > > if the #ifdefs bloat the code 4 times the size of the simple patch, then > we obviously want 4 bytes more in the kernel. Okay. > > And what about the code from kernel/sys.c ? The version you

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Nico Schottelius
Hi! Where did you put the config.in entries to ? This way it would be enabled all the time... okay... I like that, too. In the version I set up, I used the config.in entries, because if you use disable pc_speaker, there is at least one more int in the kernel. This is surely now much, but as it i

Re: unresolved symbols printk ?

2001-05-30 Thread Nico Schottelius
Hmm guys, my machine doesn't even work after I made mrproper and all the things! It is still the same old message with unresolved symbols! What to do now ? Nico - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

[ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Nico Schottelius
run without /etc/sys/combined and /etc/sys/boot/kernelsettings. If somebody is interested, I can send him/her the /etc/sys/ files. #!/bin/sh # # Author: Nico Schottelius # Date: 15th of May 2k+1 # Last Changed: 15th of May 2k+1 # Comment: Sub script of kernel/ settings script. Set pcspeaker on/

Re: unresolved symbols printk ?

2001-05-29 Thread Nico Schottelius
> On Mon, May 28, 2001 at 07:00:39PM +0200, Nico Schottelius wrote: > > I am having problems with loading modules: > > I always get the unresolved symbols message. > > I didn't find any documentation for that, can you help me ? > > You did read question 8.8 from t

aha152x problem

2001-05-28 Thread Nico Schottelius
Hello! I tried to load thie aha152x modules: modprobe aha152x io=0x140 irq=9 (which is correct) entries in /proc/scsi are generated, but the modprobe hangs and is unkillable. aha152x reports scsi discs to the kernel messages, although there are none connected to it. I tried to use a scanner, bu

unresolved symbols printk ?

2001-05-28 Thread Nico Schottelius
Hello! I am having problems with loading modules: I always get the unresolved symbols message. I didn't find any documentation for that, can you help me ? What I did: compiled 2.4.4; installed modules. depmod -ae -F /usr/src/linux/System.map 2.4.4 runs fine, depmod -a doesn't run fine (unresolv

Re: parport problems with devfs

2001-05-16 Thread Nico Schottelius
Hmm..seems you are exactly right! Sorry for that wrong though! Nico Philip Blundell wrote: > >I attached the problem occured with parport and devfs. > >I don't exactly know where the problem in the parport source > >is. If someone has a patch for it, I will test it. > > I don't think this is a

parport problems with devfs

2001-05-16 Thread Nico Schottelius
Hello! I attached the problem occured with parport and devfs. I don't exactly know where the problem in the parport source is. If someone has a patch for it, I will test it. Nico # Loading the parport and parport_pc modules for my parallelport flapp:/home/user/nico/gpm-1.19.3 # modprobe parp

Re: Device Numbers, LILO

2001-05-15 Thread Nico Schottelius
mirabilos wrote: > >That's not the issue. LILO takes whatever you pass to root= and converts > >it to a device number at /sbin/lilo time. An idiotic practice on the > >part of LILO, in my opinion, that ought to have been fixed a long time > >ago. > > That's why you have to use append="root=bla

new patch: disable pcspeaker (complete)

2001-05-11 Thread Nico Schottelius
e for the sysctl loop. * Removed it and replaced it with older style, 03/23/00, Bill Wendling + * disable pc_speaker support, 8th of May 2001, Nico Schottelius */ #include @@ -48,6 +49,10 @@ extern int nr_queued_signals, max_queued_signals; extern int sysrq_enabled; +#ifdef CONFIG_DISA

Re: added a new feature: disable pc speaker

2001-05-04 Thread Nico Schottelius
> > setterm -blength 0 (text) > > xset b 0 (X11) > > Well, some buggy programs don't care about you turning off beeping in > X. I think gnome-terminal or such has its own checkbox for turning > beeps on or off. Exactly. > I still agree that this is fixing userspace bugs in the kernel, and >

RE added a new feature: disable pc speaker

2001-05-04 Thread Nico Schottelius
Keith Owens wrote: > On Fri, 04 May 2001 13:37:08 +0200, > Nico Schottelius <[EMAIL PROTECTED]> wrote: > >I have searched a long time for a method to disable the internal > >speaker for every application, every daemon and so on. > > Userspace problem, us

added a new feature: disable pc speaker

2001-05-04 Thread Nico Schottelius
Hi guys! I have searched a long time for a method to disable the internal speaker for every application, every daemon and so on. With the help of [] I have found the right file : drivers/char/vt.c Now I have made some changes to this file (from 2.4.4 kernel). I wanted to ask you whether you can