Linux-Misc Digest #102, Volume #28 Wed, 13 Jun 01 19:13:01 EDT
Contents:
Re: "GDM Mysteriously Murdered"? ("joseph")
Re: Running application as ROOT from gnome (Ulrich Brachvogel)
Re: # Xconfigurator ("joseph")
Re: flushing the buffer in the kernel (Jeremiah DeWitt Weiner)
Re: "GDM Mysteriously Murdered"? (Missy)
pause the bootup (Aravindh)
Re: merging files into one recurisively (Jeremiah DeWitt Weiner)
Re: fwrite / fread impossibility ("Stefan Viljoen")
Re: Reiserfs problems or hardware ?
Re: squid server down ("Anthony")
where is this kernel code? (Aravindh)
Re: Agenda PDA (Mads Villadsen)
Re: What ot use for product documentation ( was: What to use to write my thesis?)
(Dennis)
Re: where is this kernel code? (Kwan Lowe)
Re: Cannot open master raw device '/dev/rawctl' (No such device) (Kwan Lowe)
Re: vi settings (Kwan Lowe)
----------------------------------------------------------------------------
From: "joseph" <[EMAIL PROTECTED]>
Subject: Re: "GDM Mysteriously Murdered"?
Date: Wed, 13 Jun 2001 17:11:48 -0400
The numbers are the process id's .
GDM is responsible for letting you log in.
What kind of a video card do you have? What is the version of the X server
that you are running?
what about the configuration file?
Usually when a kernel compile fails, it does not try to install the new
kernel. I wonder you did other than "compiling" the kernel.
did you do a "make bzImage install" or something??
what does /var/log/messages hold ? IF you are using any X server 4.0 and
up, you should have an XFree86.log file in /var/log/ . What does it say ?
about your mail:
this is not the "E" - mail that you think of. this is a mail stored in a
file on your computer. there are serveral daemons that communicate with you
using the on board mail system.
at the prompt, type "mail"
when you get some sort of a prompt, type list or somsething.
If you see numbers there, those are message numbers. have a look at what
happened. ( I think you have to type th message number to open it) .
anyways, you can go back to the /usr/src/linux directory and do
make clean
then do "make menuconfig"
Now you should be somewhere where the howto can assist you.
Just a note :
After you make the kernel ( bzImage or what ever) , you have to make the
modules and move them into the appropriate kernel version directory in
/lib/modules.
have a look see in there to get a feel of the layout.
hth.
"Missy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> For the first time, I recompiled my Mandrake kernel - never saw so
> much text whiz by at once! lol But, I did something wrong, and it
> doesn't really work - I can't get Xwindows to work, so I was stuck
> with a console. And when I wasn't typed it kept spitting the same
> message at me:
> according to /var/run/gdm.pid, gdm was already running (1312), but
> seems to have been murdered mysteriously.
> It was that same message over and over, but with different numbers
> (1339, 1350, 1361, etc). Then when I logged in as root, it told me
> that I had mail. :P That's impossible! The modem doesn't work with
> Linux, and I'm not on a network. lol I used to make xconfig to
> compile, and cut out all the networking stuff (I'm not a on a network
> anyways), most of the soundcards. What could have caused this? It also
> told me a I had modules missing (one was 180 I think). Like I said
> alot of text whizzing by.....
>
> Melissa
> http://missy842.tripod.com/
------------------------------
From: Ulrich Brachvogel <[EMAIL PROTECTED]>
Subject: Re: Running application as ROOT from gnome
Date: Wed, 13 Jun 2001 21:43:12 +0200
MondoTrasho wrote:
> I have an application (a perl script, actually) that needs to run as
> root. Normally, I just open up a terminal window from Gnome
> and type "su -c myapp", then supply the password. What I would
> really like to be able to do is to add this application to my Favorites
> menu, so I can run it without opening up a terminal. I haven't been able
> to figure out how to do this. Any suggestions? Thanks.
>
sudo id your friend. You have t mak an entry in /etc/sudoers with your user
account from where you want to run the application requesting to be
run by root.
TTFN Ulrich
---
<O
\\__///
/\ Save the curlew!
------------------------------
From: "joseph" <[EMAIL PROTECTED]>
Subject: Re: # Xconfigurator
Date: Wed, 13 Jun 2001 17:13:28 -0400
What video card, and what X server are you using?
"Dave" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Installed Linux successfully,
>
> Xconfigurator doesn's seem to work properly, although all the
> parameters have been given correctly.
> Is it because Linux lacks drivers for that monitor? Samsung (forgot
> the model)
> Or is it imcompatibility with the video card.
>
> |Cheers.
> Dave
------------------------------
From: Jeremiah DeWitt Weiner <[EMAIL PROTECTED]>
Subject: Re: flushing the buffer in the kernel
Date: 13 Jun 2001 21:22:08 GMT
Aravindh <[EMAIL PROTECTED]> wrote:
> i need to flush the output buffer when the kernel is booting up. how
> do i do this? i want to do this so that i can make sure that none of
> the messages are stuck in the buffer.
"dmesg -c" will flush the buffer, so you could look at the dmesg
source code and see exactly what it does to do that.
JDW
------------------------------
From: [EMAIL PROTECTED] (Missy)
Subject: Re: "GDM Mysteriously Murdered"?
Date: Wed, 13 Jun 2001 21:23:30 GMT
Yea, I've been told that I forgot to do some things! I only did make
xconfig, make dep, make clean, make bzImage. lol I was looking at an
older book on compiling, and I don't think it mentioned the part about
modules. I have a Diamond Speedstar A50, ummm whatever X server that
came with Mandrake 7.2. No, I didn't install the image! Esp. since it
didn't work! I'll have to check out the logs, and come back (I'm in
Windows :P) But thanks, I'll definitely have to check it out....I
never heard of a computer sending a user 'mail'! lol
On Wed, 13 Jun 2001 17:11:48 -0400, "joseph" <[EMAIL PROTECTED]>
wrote:
>The numbers are the process id's .
>GDM is responsible for letting you log in.
>
>What kind of a video card do you have? What is the version of the X server
>that you are running?
>
>what about the configuration file?
>
>Usually when a kernel compile fails, it does not try to install the new
>kernel. I wonder you did other than "compiling" the kernel.
>did you do a "make bzImage install" or something??
>
>
>what does /var/log/messages hold ? IF you are using any X server 4.0 and
>up, you should have an XFree86.log file in /var/log/ . What does it say ?
>
>
>
>
>
>about your mail:
>
>this is not the "E" - mail that you think of. this is a mail stored in a
>file on your computer. there are serveral daemons that communicate with you
>using the on board mail system.
>at the prompt, type "mail"
>when you get some sort of a prompt, type list or somsething.
>
>If you see numbers there, those are message numbers. have a look at what
>happened. ( I think you have to type th message number to open it) .
>
>
>anyways, you can go back to the /usr/src/linux directory and do
>make clean
>
>then do "make menuconfig"
>Now you should be somewhere where the howto can assist you.
>
>Just a note :
>After you make the kernel ( bzImage or what ever) , you have to make the
>modules and move them into the appropriate kernel version directory in
>/lib/modules.
>
>have a look see in there to get a feel of the layout.
>
>hth.
>
>
>"Missy" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> For the first time, I recompiled my Mandrake kernel - never saw so
>> much text whiz by at once! lol But, I did something wrong, and it
>> doesn't really work - I can't get Xwindows to work, so I was stuck
>> with a console. And when I wasn't typed it kept spitting the same
>> message at me:
>> according to /var/run/gdm.pid, gdm was already running (1312), but
>> seems to have been murdered mysteriously.
>> It was that same message over and over, but with different numbers
>> (1339, 1350, 1361, etc). Then when I logged in as root, it told me
>> that I had mail. :P That's impossible! The modem doesn't work with
>> Linux, and I'm not on a network. lol I used to make xconfig to
>> compile, and cut out all the networking stuff (I'm not a on a network
>> anyways), most of the soundcards. What could have caused this? It also
>> told me a I had modules missing (one was 180 I think). Like I said
>> alot of text whizzing by.....
>>
>> Melissa
>> http://missy842.tripod.com/
>
>
http://missy842.tripod.com/
------------------------------
From: [EMAIL PROTECTED] (Aravindh)
Subject: pause the bootup
Date: 13 Jun 2001 14:29:03 -0700
hi,
i want to pause the bootup process by inserting "gets or scanf" inside
the kernel code. how do i go about doing this. for example, i know
that printk() is used to display messages. Is there some command I can
add to the printk function that will wait for the user to press a key
before continuing with the boot?
thanks
aravindh
------------------------------
From: Jeremiah DeWitt Weiner <[EMAIL PROTECTED]>
Subject: Re: merging files into one recurisively
Date: 13 Jun 2001 21:43:15 GMT
David. E. Goble <goble@gtech> wrote:
> Oh rereading the op, FYI each dir may have more than one file.
No problem. 'find' will get them all.
> Also
> there will be the problem of say a line like;
> <H2>Some kind of title</H2>
> This should produce the following comma separtated list of words;
> ..., Some, kind, of, title, ...
> instead of;
> ..., <H2>Some, kind, of, title</H2>, ...
Urk. That makes things a bit harder. Not immensely harder, but
not quite trivial. You can use sed or perl to convert every word boundary
into a line break, I guess.
> Or would I need to first strip the files of the html tags?
It depends if you want them in there or not. Again, sed or perl
can do this pretty easily : "replace everything matching '<some stuff>' with
''" (that is to say, with nothing). At this point this is really looking
like a job for Perl.
JDW
------------------------------
From: "Stefan Viljoen" <[EMAIL PROTECTED]>
Subject: Re: fwrite / fread impossibility
Date: Wed, 13 Jun 2001 23:45:15 +0200
Jean-David Beyer <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Stefan Viljoen wrote:
> At the risk of insulting your intelligence, have you rewound the file
> before you try reading it? Or did you open two different file
> descriptors, one for reading and one for writing?
Not at all! Any criticism/help welcome.
Yes - I closed it in the writing program and reopened it in the reading
one - two different programs with the file closed in between.
Stefan
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: Reiserfs problems or hardware ?
Date: Wed, 13 Jun 2001 21:46:06 GMT
I had a similar problem with 2.4.5 and reiserfs. At first I thought it
was that I had enabled DMA (something I had never done before). My only
recourse was to reformat and restore from a backup. Out of curiousity, I
kept DMA enabled and went back to ext2. No problems since then, so I'm
now thinking it's a reiserfs problem.
Adam
On Wed, 13 Jun 2001, VP wrote:
> I can't mount my sdb7 reiserfs partition (I have there some importante
> files, my sources codes)
>
> When I going to mount the partition the kernel(2.4.5) crash with this
> logs
>
> ..Jun 12 23:12:32 zendo kernel: ReiserFS version 3.6.25
> ..ernel: reiserfs: checking transaction log (device 08:17) ...
> ..kernel: scsi0: ERROR on channel 0, id 1,\
> lun 0, CDB: 0x28 00 01 13 54 70 00 00 08 00
> .. kernel: Info fld=0x1135470, Current sd08:17: sns = f0 3
> .. do kernel: ASC=11 ASCQ= 0
> .. kernel: Raw sense data:0xf0 0x00\
> 0x03 0x01 0x13 0x54 0x70 0x18 0x00 0x00 0x00\
> 0x00 0x11 0x00 0x00 0x80 0x00 0x35 0x00\
> 0x00 0x10 0x66 0x00 0x00 0x0c 0x6e 0x02 0x6c 0x00 0x6c 0x00 0x00
> .. o kernel: I/O error: dev 08:17, sector 50256
> l: Unable to handle kernel NULL pointer\
> dereference at virtual address 00000034
> .. kernel: printing eip:
> .. kernel: c019843f
> .. kernel: *pde = 00000000
> ..Jun 12 23:13:51 xxx kernel: Oops: 0000
> ...Jun 12 23:13:51 xxx kernel: CPU: 0
> .. kernel: EIP: 0010:[journal_transaction_is_valid+15/416]
> .. kernel: EFLAGS: 00010282
> .. kernel: eax: 00000000 ebx: 00000000 ecx: dcffde40 edx: dcffde40
>
> ..kernel: esi: db3f2000 edi: 0000188a ebp: ddd14800 esp: d994de10
> ..kernel: ds: 0018 es: 0018 ss: 0018
> ..kernel: Process mount (pid: 589, stackpage=d994d000)
> ..ernel: Stack: 00000000 db3f2000 0000188a ddd14800\
> dcffde8c c0198db2 ddd14800 00000000\
> ..kernel: d994de74 d994de78 00000817 0000188a\
> 00001000 ddd14800 00000000 c032f720
> ...kernel: 00004000 00000001 00000001 db6ad000 00000014\
> 000016fb 3b26a22c 00: Call Trace: [journal_read+482/1056]\
> [journal_init+678/832] [reiserfs_read_super+237/1040]\
> [get_empty_super+76/416] [read_super+99/176]\
> [get_sb_bdev+347/448] [error_code+52/60]
> .. kernel: [do_mount+373/688]..
>
> Is a Hardware problem i try averything with the reiserfs utilities ,
> but nothing ..
> Any hlep is apreciated
>
> Thanks
>
> VP
>
>
>
>
>
------------------------------
From: "Anthony" <[EMAIL PROTECTED]>
Subject: Re: squid server down
Date: Thu, 14 Jun 2001 05:57:04 +0800
In article <[EMAIL PROTECTED]>, "Earl Basham"
<[EMAIL PROTECTED]> wrote:
> if for some reason my proxy server is down how do my clients get to the
> internet they just seam to do nothing and i don't want them to have to
> change any settings
Try daemontools: it will restart a process when it dies...and more
http://cr.yp.to/daemontools.html
--
Linux 2.2.19 #1 Wed May 30 03:31:36 CST 2001 i586 unknown
04:20:01 up 1 day, 2:11, 1 user, load average: 0.05, 0.01, 0.00
====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
======= Over 80,000 Newsgroups = 16 Different Servers! ======
------------------------------
From: [EMAIL PROTECTED] (Aravindh)
Subject: where is this kernel code?
Date: 13 Jun 2001 15:21:44 -0700
hi,
i was looking for the code in the kernel where it displays "Press 'I'
to enter interactive..." and I am just not able to find it. Also where
is the code once the system goes into interactive mode. For ex - where
is the code for "Start service kudzu (Y)es/(N)o/(C)ontinue?"
thanks
aravindh
------------------------------
Subject: Re: Agenda PDA
From: Mads Villadsen <[EMAIL PROTECTED]>
Reply-To: Mads Villadsen <[EMAIL PROTECTED]>
Date: Wed, 13 Jun 2001 22:59:03 +0200
>>>>> "Giorgio" == Giorgio Marzano <[EMAIL PROTECTED]> writes:
Giorgio> Hi, all! I am thinking about buying an agenda PDA, it looks
Giorgio> a really beautyful toy, and supported by a good community of
Giorgio> developers, but...
It is.
Giorgio> 1) Agenda site states it has 16M Ram + 16M Flash Rom, more
Giorgio> than one guy told me it only has 8+16...
It only has 8+16 - it is a mistake on their webpages (it should be
fixed by now, since they are aware of the mistake).
Giorgio> 2) I can't find my country (italy) on the registration page
Giorgio> during the buying process...
That seems to be a common problem. Many people from many different
countries have had this problem. Hopefully this will get fixes real
soon.
Giorgio> 3) I Wrote to the customer service but i can't get an
Giorgio> answer...
Have you tried sending an e-mail to [EMAIL PROTECTED] - that is
their german department, and they answered me within 3 days (also it
is cheaper to order it from germany if you live in Europe).
Giorgio> ... it doesn't look to me so serious!!
It seems quite serious to me - I am just hoping that the market is
ready for this (otherwise it might not sell that much).
Giorgio> Anyone here having some experience with them?? And with the
Giorgio> PDA??
I have been very happy with mine (and the people have been very
helpful - both employees of Agenda Computing and the general developer
community).
It has all the functionality you would expect (with the
exception of alarms, which should be coming real soon now).
--
Remove the spam-me-not to e-mail me
------------------------------
From: Dennis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.apps.word-proc,comp.text.tex
Subject: Re: What ot use for product documentation ( was: What to use to write my
thesis?)
Date: Wed, 13 Jun 2001 18:32:38 -0400
Reply-To: [EMAIL PROTECTED]
I have a similar question, but my situation is that I need to write
product documentation on an application I created. The documentation
will have a number screen shots, etc. I have used StarOffice 5.2, but
will be happy to take the time to learn LaTex if most of you think this
is a better choice.
Speaking of StarOffice, what did they use to write "StarOffice 5.2
Companion"? While my document will only be 1/8 the size, I like the
format and style and want to do something similar.
Thanks,
Dennis
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: where is this kernel code?
Date: Wed, 13 Jun 2001 23:00:36 GMT
Aravindh <[EMAIL PROTECTED]> wrote:
> hi,
> i was looking for the code in the kernel where it displays "Press 'I'
> to enter interactive..." and I am just not able to find it. Also where
> is the code once the system goes into interactive mode. For ex - where
> is the code for "Start service kudzu (Y)es/(N)o/(C)ontinue?"
Look in /etc/rc.d/rc.sysinit
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Cannot open master raw device '/dev/rawctl' (No such device)
Crossposted-To: comp.os.linux.hardware
Date: Wed, 13 Jun 2001 23:05:05 GMT
In comp.os.linux.misc Sean Marshall <[EMAIL PROTECTED]> wrote:
> After upgrading from the standard redhat 7.0 kernel to kernel 2.2.19 I
> find I cannot access rawdevices such as hard drives. When I run the raw
> -qa command I get the following error message Cannot open master raw
> device '/dev/rawctl' (No such device)
> I need to be able to access raw SCSI devices because I'm running
> sanergy, can anyone help me fix this problem?
Hmmm.. I didn't know that the 2.2.x kernels supported raw filesystems.
If it does indeed support rawfs, verify that you have the options
compiled into the kernel.
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: vi settings
Date: Wed, 13 Jun 2001 23:09:51 GMT
p8r <[EMAIL PROTECTED]> wrote:
> OK, this is driving me crazy ... since *when* did vi become an html
> editor??? How can I disable this (disgusting) feature? I suppose I
> could just adapt and just ":!vim (filename)" instead of bang-vi, but
> decades-old habits are tough to kill, sometimes. :) aTdHvAaNnKcSe
If you mean the syntax highlighting "feature", try:
:set syntax=off
Then run mkvimrc and copy the .vimrc to $HOME/.vimrc.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************