Re: [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 release)
On Mon, Feb 14, 2005 at 08:45:39PM -0500, Kyle Moffett wrote: last thing that gets run. There is just no reason for this. We should start X and initialize the display and get the login prompt up there ASAP, and let the system acquire the DHCP lease and start sendmail and apache and get the date from the NTP server *in the background while I am logging in*. It's not rocket science. Such a system needs a drastically different bootup process than currently exists, including the ability to specify init-script dependencies. (Like Ok, so see Gentoo. Exactly fits your needs, it seems ;-) Dependencies are supported, even paralell execution of init scripts are supported by default design (you need to change only one setting to do this, IMHO, in /etc/conf.d/rc). So it is already solved if you talking about the paralell execution with dependency info in init scripts ... Also the smf ability of Solaris10 seems to be interesting, but I don't want to talk about it, since I have no time to see it in action, I've only read about it, so ... - Gbor - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Accelerated frame buffer functions
On Wed, Feb 02, 2005 at 03:21:55PM +0100, Haakon Riiser wrote: X-Windows already does this. Yeah, I thought the X11 fbdev driver supported acceleration, but not according to its manpage: fbdev is an Xorg driver for framebuffer devices. This is a non-accelerated driver [...] Yepp, it would be cool, to move every low level graphical operation to the framebuffer devices ... So no more 'I would like to use framebuffer console _AND_ X at the same time without disturbing each other' problem, and also if X segfaults or such, consolse will not remain in unusable state. Also a solid low level graphical operation layer should provide even 3D acceleration for fbdev capable (but not X!) apps and of course for the X server ... without conflicting each other :) DirectFB seems to be a good idea anyway ... - Gbor - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
ethertap
Hi! According /usr/src/linux/Documentation/networking/ethertap.txt I've tried to use ethertap for my experimental user space TCP/IP implementation testing. I'm using kernel 2.2.19 (UP). I load ethertap kernel module and configure it with ifconfig. Nice, ping works, ifconfig show tap0. /dev/tap0 exists, major and minor is correct. But opening /dev/tap0 does not work! munmap(0x127000, 55843) = 0 getpid()= 29070 open("/dev/tap0", O_RDWR|O_NONBLOCK)= -1 ENOSYS (Function not implemented) open("/dev/tap0", O_RDWR|O_NONBLOCK)= -1 ENOSYS (Function not implemented) open("/dev/tap0", O_RDWR|O_NONBLOCK)= -1 ENODEV (No such device) write(2, "Cannot open /dev/tap0: No such d"..., 38Cannot open /dev/tap0: No such device What can be the problem? How can I use /dev/tap0 then? I exactly followed instructions read in ethertap.txt but it does not work ;-((( - Gabor PS: please cc me, I've got problems with getting mails from this list it seems :( -- --[ Gbor Lnrt ]---[ Vivendi Telecom Hungary ]-[ [EMAIL PROTECTED] ]-- U have 8 bit comp or chip of them and it's unused or to be sold? Call me! ---[ +36 30 2270823 ]-- LGB -[ Linux/UNIX/8bit 4ever ]- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: NTOP for Redhat
On Wed, Apr 25, 2001 at 10:55:44AM -0400, Ahmed Warsame wrote: I tried to install my Linux Redhat the Network Monitoring system call Ntop and the following messages is what I am getting each time I execute make. I thought Libpcap is what is needed and I installed but it did not help. Install the development package of libpcap as well. (libpcap-dev on Debian, I guess it must be libpcap-devel or something on RedHat) However, it's not the right forum for these types of questions. This mailing list is about kernel developmenting and related topics. - Gabor -- --[ Gbor Lnrt ]---[ Vivendi Telecom Hungary ]-[ [EMAIL PROTECTED] ]-- U have 8 bit comp or chip of them and it's unused or to be sold? Call me! ---[ +36 30 2270823 ]-- LGB -[ Linux/UNIX/8bit 4ever ]- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [OFFTOPIC] Re: [PATCH] Single user linux
On Tue, Apr 24, 2001 at 03:18:11PM +0100, Alan Cox wrote: On Tue, 24 Apr 2001, Mohammad A. Haque wrote: Correct. 1024 requires root to bind to the port. ... And nothing says that it should be done by daemon itself. Or that you shouldnt let inetd do it for you And that you shouldn't drop the capabilities except that bind It is possible to implement the entire mail system without anything running as root but xinetd. Or even without xinetd. Just use local port forwarding eg 2525 - 25, and use port 2525 as SMTP port in your MTA. I've succeed to setup such a configuration. -- --[ Gbor Lnrt ]---[ Vivendi Telecom Hungary ]-[ [EMAIL PROTECTED] ]-- U have 8 bit comp or chip of them and it's unused or to be sold? Call me! ---[ +36 30 2270823 ]-- LGB -[ Linux/UNIX/8bit 4ever ]- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [OFFTOPIC] Re: [PATCH] Single user linux
On Tue, Apr 24, 2001 at 04:49:57PM +0200, Pjotr Kourzanoff wrote: On Tue, 24 Apr 2001, [iso-8859-2] Gbor Lnrt wrote: Or even without xinetd. Just use local port forwarding eg 2525 - 25, and This is more like 25 - 2525 :-) OK, that was a hard night for me, I need some sleep :) use port 2525 as SMTP port in your MTA. I've succeed to setup such a configuration. This requires you to ensure that your MTA is started first on that port...Might be difficult to achieve reliably in an automatic way without root privileges :-( mailuser@foo% /etc/rc.d/init.d/sendmail stop badguy@foo% ./suck 2525 mailuser@foo% /etc/rc.d/init.d/sendmail start Yes, you're right. But this is a mail server without any user on it (even users are authenticated from LDAP). -- --[ Gbor Lnrt ]---[ Vivendi Telecom Hungary ]-[ [EMAIL PROTECTED] ]-- U have 8 bit comp or chip of them and it's unused or to be sold? Call me! ---[ +36 30 2270823 ]-- LGB -[ Linux/UNIX/8bit 4ever ]- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.2.18pre24 ooops
Hi, Running both of 2.2.18pre21 and pre24 casues this ooops with mpegp when it tries to produce sound (with -nosound option, it's okey). mpegp is out mpeg player based on libac3,libmpeg2,mpg123,libvo. It can be found at ftp://esp-team.scene.hu/esp-team/linux/MPlayer/ Problem occured when I tried to play matrix.vob, which includes 48Khz stereo auido (ftp://terminal.hu/matrix.vob). Output of lspci and kernel configuration file are attached. The player got sigsegv, and the meesage found in syslog translated with ksymoops is the following (devide error: ): ksymoops 2.3.4 on i686 2.2.18pre24. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.2.18pre24/ (default) -m /boot/System.map-2.2.18pre24 (default) Warning: You did not tell me where to find symbol information. I will assume that the log matches the kernel and modules that are running right now and I'll use the default options above for symbol resolution. If the current kernel and/or modules do not match the log, you can get more accurate output by telling me the kernel version and where to find map, modules, ksyms etc. ksymoops -h explains the options. Warning (compare_maps): ksyms_base symbol module_list_R__ver_module_list not found in System.map. Ignoring ksyms_base entry Dec 7 14:25:50 vega kernel: CPU:0 Dec 7 14:25:50 vega kernel: EIP: 0010:[eepro100:__insmod_eepro100_O/lib/modules/2.2.18pre24/net/eepro100.o_+-75593/96] Dec 7 14:25:50 vega kernel: EFLAGS: 00210046 Dec 7 14:25:50 vega kernel: eax: ebx: c66dfce0 ecx: edx: Dec 7 14:25:50 vega kernel: esi: edi: c66dfcc0 ebp: 00200246 esp: c30e3eac Dec 7 14:25:50 vega kernel: ds: 0018 es: 0018 ss: 0018 Dec 7 14:25:50 vega kernel: Process mpegp (pid: 549, process nr: 74, stackpage=c30e3000) Dec 7 14:25:50 vega kernel: Stack: c66dfcc0 00200246 03e6 c3126b60 0003 c8018eff c66dfcc0 c66dfcc0 Dec 7 14:25:50 vega kernel:c756dc00 00200246 0400 000a 000d bb80 Dec 7 14:25:50 vega kernel:c7a6c6c0 0004 c32893f8 c012f57e c3126b60 Dec 7 14:25:50 vega kernel: Call Trace: [eepro100:__insmod_eepro100_O/lib/modules/2.2.18pre24/net/eepro100.o_+-73985/96] [do_select+274/512] [eepro100:__insmod_eepro100_O/lib/modules/2.2.18pre24/net/eepro100.o_+-77357/96] [sys_select+881/1176] [system_call+52/56] Dec 7 14:25:50 vega kernel: Code: f7 f6 89 d5 89 4b 1c 01 6b 28 80 7b 05 01 0f 85 a8 00 00 00 Using defaults from ksymoops -t elf32-i386 -a i386 Code; Before first symbol _EIP: Code; Before first symbol 0: f7 f6 div%esi,%eax Code; 0002 Before first symbol 2: 89 d5 mov%edx,%ebp Code; 0004 Before first symbol 4: 89 4b 1c mov%ecx,0x1c(%ebx) Code; 0007 Before first symbol 7: 01 6b 28 add%ebp,0x28(%ebx) Code; 000a Before first symbol a: 80 7b 05 01 cmpb $0x1,0x5(%ebx) Code; 000e Before first symbol e: 0f 85 a8 00 00 00 jnebc _EIP+0xbc 00bc Before first symbol 2 warnings issued. Results may not be reliable. - Gabor -- ---[ Gbor Lnrt ][ Vivendi Telecom Hungary ]---[ [EMAIL PROTECTED] ]--- U have 8 bit computer or chip of them and it's unused or to be sold? Call me! ---[ +36 30 2270823 ] LGB ---[ Linux/UNIX/8bit 4ever ]- 00:00.0 Host bridge: Intel Corporation 82810E GMCH [Graphics Memory Controller Hub] (rev 03) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- MAbort+ SERR- PERR- Latency: 0 00:01.0 VGA compatible controller: Intel Corporation 82810E CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA]) Subsystem: Compaq Computer Corporation: Unknown device b1c1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- Latency: 0 Interrupt: pin A routed to IRQ 11 Region 0: Memory at 4400 (32-bit, prefetchable) Region 1: Memory at 4040 (32-bit, non-prefetchable) Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- Latency: 0 Bus: primary=00, secondary=01
Re: Any good reason why these is so much memory reserved?
On Tue, Dec 05, 2000 at 02:40:59AM -0800, Adam J. Richter wrote: Gbor Lnrt writes: On Tue, Dec 05, 2000 at 02:18:59AM -0800, Adam J. Richter wrote: Recently, I have had occasion to build a system on a floppy for a 4MB machine that we use as a router. In the past, the kernels I've played with this too. You can't use ramdisk easily on such a system. [snip] We are using such a system and have been for years. If you'll reread my posting, you will see that it is about relatively recent changes to the kernel that apparently have broken this. Yes, I know. My goal was only to show that newer kernels has got more memory overhead but it was easy with older kernels so I only want to say that you mentioned: it seems to be true ... -- ---[ Gbor Lnrt ][ Vivendi Telecom Hungary ]---[ [EMAIL PROTECTED] ]--- U have 8 bit computer or chip of them and it's unused or to be sold? Call me! ---[ +36 30 2270823 ] LGB ---[ Linux/UNIX/8bit 4ever ]- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: non-gcc linux?
On Thu, Nov 02, 2000 at 02:27:35PM -0700, Tim Riker wrote: #pragma is a particularly difficult problem to deal with because it is non macro friendly. =( Sounds like C99 initializers are a likely first target for integration. I'll keep plugging away at other stuff here as well. I've been coding C for some years ... But I don't know too much these features (even don't know about named initializers found in this list some weeks ago, I don't know only the name of this thing ? ;-) So where can I read about these ? Thanx, Gabor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
mmap() question
Hi, Sorry for my stupid question, but I haven't got idea what the problem can be, and maybe you can help me. See the following fragment of C code: videobuffer=mmap(0,MAX_VIDEO_PACKET_SIZE,PROT_READ|PROT_WRITE,MAP_ANON|MAP_SHARED,-1,0); if (videobuffer==(void*)-1) { perror("mmap()"); exit(1); } This will return with Invalid argument. The nice this is that this code runs happyly with 2.4.x-pre kernels but not with my 2.2.17 or 2.2.18pre15. Maybe because of not page aligned size, so I modify my code: I defined MAX_VIDEO_PACKET_SIZE to 4096 for testing (on PC page size is 4096 bytes, and getpagesize() returns with this as well, I checked). The result is the same ! I don't understand what the problem can be ... I tried with opening /dev/zero with O_RDWR mode than mapping that, but that gave me the same result ;-( I'm totally confused. Can someone help, please ? - Gabor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Topic for discussion: OS Design
On Mon, Oct 23, 2000 at 12:51:16PM -0700, [EMAIL PROTECTED] wrote: On Sun, 22 Oct 2000, Dwayne C . Litzenberger wrote: This user also wants a smooth GUI, a mouse pointer that doesn't flinch under load, Try andrea archangeli's VM patches. When I use those patches X gets much smoother and xmms (with nice -5) never skips. 2.2 VM sucks, film at 11. What the realtion of these patches with Rick's new VM architecture for 2.4.x ? Will 2.4.x give similar performance you mentioned with andrea's patches ? - Gabor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: AMD CPU misdetection?
On Thu, Oct 19, 2000 at 12:50:24AM -0400, Mike A. Harris wrote: Kernel == 2.2.17 CPU == AMD K6-2 350 Clock set to 300Mhz 2 root@asdf:~# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 8 model name : AMD-K6(tm) 3D processor ^^ Shouldn't it be K6-2? AMD-K6 3D and K6-2 are the same. AMD-K6 without '3D' is the plain K6 CPU - Gabor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [Criticism] On the discussion about C++ modules
On Tue, Oct 17, 2000 at 07:11:36AM +, Peter Samuelson wrote: I can't say whether putting libstdc++ in a kernel module is a bad thing before I see one. This is a skel. code: -rw-r--r--1 root root 271528 Oct 10 09:54 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so orion:opt$ ls -al /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a -rw-r--r--1 root root 476494 Oct 10 09:54 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a Don't forget to include libc.so here -- you know libstdc++ won't run without it. Let's see ... Debian-unstable glibc 2.1.95 here ... -rwxr-xr-x1 root root 1057576 Oct 13 13:45 /lib/libc.so.6 -rw-r--r--1 root root 2445036 Oct 13 13:47 /usr/lib/libc.a Heh. Maybe we can close this thread here :) Both of C and C++ is turing compatible so which is written in C++ can be done in C too. So anyone can write kernel modules in C++ and search for a C++ - C converter ;-) But in this case WHY don't people write your code in C directly ? IF someone can code C++ he must know coding in C too. From the point of view of this kind of people, C++ gives him some plus they would like to use. BUT Linux kernel is written in C, and the problems (interfacing with C, implementing standard C++ libs inside the kernel etc) will reduce this plus into a negative value imho. C++ is basically C with OOP extensions (and some much more) so if someone can code C++ he can hapilly use C as well. And note, that maintaining a multi-language software is much harder: there're more hidden bugs, not every hacker can code in C++, etc ... etc ... So imho: it does not worth ... (till' the entry kernel is written in C++ ...) Please stop this thread, every messages try to explain the same thing against each other ... The list should be used to share developmenting information on Linux kernel and not starting a flame war. - Gbor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: 2.4.0 - isdn hisax - compilation error
On Tue, Oct 17, 2000 at 12:56:54PM -0400, David Relson wrote: Greetings, I have compiled a 2.4.0 kernel for the first time, specifically 2.4.0-test9. Looking through the output for errors, I found "config.c:311: #error "HiSax: No cards configured". Checking further, it appears that isdn is being compiled, even though CONFIG_ISDN isn't set. See below for the relevant parts of .config and "make modules" output. Not the same problem ... but I'm using 2.2.17 with Eicon PCI card (Diva). I have configured the card with isdnctrl commands. On sdnctrl dial ippp0' after some seconds, the machine locks up with a kernel oops (no log) n swapper task - no synicing'. Is there any workaround to get this card working ? Thanx: Gabor. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: IRQ affinity vs. MTRRs, was Re: 36 bit MTRRs, Re: test10-pre1 problems on 4-way SuperServer8050
On Thu, Oct 12, 2000 at 12:12:19PM +0200, Boszormenyi Zoltan wrote: I came up with an idea. The MTRRs are per-cpu things. Ingo Molnar's IRQ affinity code helps binding certain IRQ sources to certain CPUs. What if the MTRR driver allows per-CPU settings, maybe only on uncached areas? Of course the real memory should be cached in every CPU to avoid slowdowns. So that if you set that eth0's IRQ will be handled by CPU1, the MTRRs of CPU1 will be set accordingly, and the other CPUs will not care about eth0, so they do not need eth0's MTRR settings. A little question. Why do we want to bind irq of eth0 to a single CPU ? imho it will casue slowdown of some situation. Why don't we leave scheduler to select CPU for processing IRQ ? - Gabor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH v2.4.x] Yet Another Boot Logo
On Tue, Oct 03, 2000 at 09:49:50PM -0400, Jason McMullan wrote: When you boot into the logo-enabled kernel, the logo will be automatically centered on your framebuffer, and you will have 2 lines of kernel/init status at the bottom of your screen. Like the std. ``penguin'' logo, your custom IMHO, 2 lines are not enough. It should be costumizable setting. (If you're crazy enough :) you can use settings to set X,Y offset and X,Y size of window for "text", and you can get illusion to boot in a window of logo has border around the used window ;-) And a question: will memory used by Linux logo be freed after hiding it ? - Gabor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/