Re: memory question (hardware)

2008-07-02 Thread Brad Rogers
On Wed, 02 Jul 2008 22:14:01 -0700
Paul Johnson <[EMAIL PROTECTED]> wrote:

Hello Paul,

> Smaller die size means higher price.  You're squeezing twice as many
> circuits into the same real estate.

As a result, failure rate will be higher too, since greater density
leads to greater risk of error.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"

I'll be the paint on the side if you'll be the tin
Love Song - The Damned


signature.asc
Description: PGP signature


Re: memory question (hardware)

2008-07-02 Thread Paul Johnson
On Thu, 2008-07-03 at 01:08 -0400, Mag Gam wrote:

> When memory is manufactured why does a stick of 4GB memory cost 2.5
> times of 2GB memory? Is the manufacturing process that much different
> to justify the cost? 

Smaller die size means higher price.  You're squeezing twice as many
circuits into the same real estate.

-- 
Paul Johnson
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


memory question (hardware)

2008-07-02 Thread Mag Gam
I am curious...


When memory is manufactured why does a stick of 4GB memory cost 2.5 times of
2GB memory? Is the manufacturing process that much different to justify the
cost?


Re: Recording TV with Debian

2008-07-02 Thread cothrige
[EMAIL PROTECTED] writes:

> On Wed, 02 Jul 2008 20:19:12 -0300
>
> With mencode I used the following command (using PAL in my country):
>
> mencoder tv:// -tv
> driver=v4l2:input=1:norm=pal:width=640:height=480:device=/dev/video0:
> freq=775.25:adevice=/dev/dsp1:forceaudio:audiorate=32000 buffersize=64
> -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400:keyint=30 -oac mp3lame
> -lameopts br=32:cbr:mode=3 -ffourcc divx -o "test.avi"
>
> I tried to change the options, but no matter what I did, the result was
> poor.
>
> With transcode I used this command:
>
> transcode -x v4l2=resync_margin=1:resync_interval=250,v4l2 -g 640x480
> -i /dev/video0 -p /dev/dsp -e 32000,16,2 -N 0x1 -J
> resample,levels,smartyuv,pv -w 4000 -y ffmpeg -F mpeg4 -o test.avi
>
> Which results in some larger files, but with excelent quality.
>
> Any advice on how to improve would be greatly appreciated, especially
> about the file sizes that transcode produces.

I have not used transcode in a long time, but it seems to me at first
glance that the above command has a video bitrate of 4000 whereas the
mencoder is 400.  If the mencoder command is as you have typed it here
such a low bitrate could be at least part of the trouble.

Patrick


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



Re: Some interconnectivity

2008-07-02 Thread Daniel Burrows
On Wed, Jul 02, 2008 at 07:13:38PM +0300, David Baron <[EMAIL PROTECTED]> was 
heard to say:
> I installed a nice free fold syncer "goodsync" to sync some active work 
> folders with copies on the Linux using FTP. Works fine with one interesting 
> caveat: I has filed marked at modified on the linux machine and I did not 
> touch them there! The linux file times also are sometimes off by two hours as 
> shown on the xp machine in goodsync's listing.

  I don't know much about goodsync, but you might want to check out
Unison for synchronizing directories over machines.  I've had good luck
with it.

> I cannot forward X from the putty. Maybe I need a bidirection enable in the 
> firewall to do that.

  I can't tell you how to do it, but you don't need an extra firewall
rule for this -- all the forwarded X traffic goes over the existing ssh
connection (which presumably gets through you firewall just fine).

  Daniel


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



Re: 答复 : Stunned by aptitude.

2008-07-02 Thread Daniel Burrows
On Wed, Jul 02, 2008 at 05:35:11PM +0200, Sven Joachim <[EMAIL PROTECTED]> was 
heard to say:
> On 2008-07-02 16:40 +0200, Daniel Burrows wrote:
> 
> > On Wed, Jul 02, 2008 at 06:39:26AM -0700, Daniel Burrows <[EMAIL 
> > PROTECTED]> was heard to say:
> >>   I put the apt-get and aptitude code up side-by-side and I can only see
> >> one difference in the conditions they use to determine whether to clean
> >> the lists.  I don't see why this would matter (surely pkgAcquire::Run
> >> returns Failure if files can't be downloaded?), but if there's anyone
> >> who *can* reproduce this on demand, it would be interesting to know if
> >> the attached patch helps.
> >
> >   Once more, with feeling.
> 
> I can 100% reproduce the problem, and this patch solves it for me.

  Ok, I'll fold it into the next release then.

  Daniel


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



Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-07-02 Thread Daniel Burrows
On Wed, Jul 02, 2008 at 05:38:50PM -0700, David Barrett <[EMAIL PROTECTED]> was 
heard to say:
> Wow, great observation: doing a "ls" of /etc/group and /etc/passwd fixes  
> it.  How incredibly strange:

  I'd go for "jawdroppingly bizarre" myself.

  The only other thing I can think of is that maybe there's something
odd at the filesystem level.  Is it anything but a straight ext3
filesystem?  (e.g., are you using NFS, unionfs, fuse filesystems, etc)

  Daniel


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



Re: Any idea why chroot temporarily "cannot find name for group ID 0"?

2008-07-02 Thread David Barrett
Wow, great observation: doing a "ls" of /etc/group and /etc/passwd fixes 
it.  How incredibly strange:


[EMAIL PROTECTED] svn]# chroot staging/db
id: cannot find name for group ID 0
id: cannot find name for group ID 1
id: cannot find name for group ID 2
id: cannot find name for group ID 3
id: cannot find name for group ID 4
id: cannot find name for group ID 6
id: cannot find name for group ID 10
I have no [EMAIL PROTECTED]:/# ls /etc/group /etc/passwd
/etc/group  /etc/passwd
I have no [EMAIL PROTECTED]:/# exit
[EMAIL PROTECTED] svn]# chroot staging/db
[EMAIL PROTECTED]:/#

Anyway, it's fantastic to have a workaround.  Thanks a million!

Also, here's the output of "id" from a broken chroot; I don't actually 
know if this fixes it -- I tried the "ls" trick and that did it, so I 
don't know if "id" will fix it, too.


I have no [EMAIL PROTECTED]:/# id
uid=0 gid=0 groups=0,1,2,3,4,6,10

Finally, fixing one chroot neither fixes nor breaks the other -- they 
seem entirely independent.  (Great question, though.)


So, the next time I see it I'm going to see if "id" fixes it by itself. 
 I'm also going to read up more on the nscd and see if tweaking that 
helps.  It's a little slow going as it seems to take a long time for 
this problem to re-appear; perhaps I can tweak nscd to force it to 
happen more frequently, and thus better figure out how to make it not 
happen it all.


Thanks for all your help!

-david


Daniel Burrows wrote:

On Mon, Jun 30, 2008 at 01:12:34PM -0700, David Barrett <[EMAIL PROTECTED]> was 
heard to say:
Basically, I go into staging/www, and it works fine.  Then I go into  
staging/db, and it has the problem.  I immediately check the group  
permissions, and note that now group IDs are being resolved to group  
names, but user IDs aren't getting resolved.  I then check the passwd  
permissions, and note that both user and group names are now working.  I  
go right back to the group file, and now group and usernames are working  
fine.  I exit the broken DB chroot, and re-enter just fine.


  Just out of curiosity, does the chroot that *was* working continue to
work after this?

  If you run, e.g., "id" a few times when it's broken, does it continue
to be broken?  And although I can't imagine why this would be the case,
does the problem consistently go away for, e.g., passwords after you
"ls" the password file?  I notice that this happened in both of your
last two examples: your problems with each file went away as soon as you
listed it.  Is there anything unusual about how your filesystems are
configured?

As for nsswitch.conf, here it is: I haven't changed it, but I'm not  
familiar with the file so I don't know if it's right or not:


  That looks right.  The main concern would be if you had done something
like fetching user information from LDAP, which would be another place
for bugs to hide.

As for nscd... Aha!  This is a good candidate: it turns out I *do* have  
this installed on the host system.  I don't know anything about this;  
I'll need to read up on it.


  nscd caches lookups of things like uid <-> name mappings.  I've had
various problems in the past, which I won't detail because I can't
remember them in detail, and I wouldn't recommend installing it unless
you need to (mostly if you're using something like NIS or LDAP).  This
looks like the sort of gremlin that nscd could cause.

  However, I don't think I needed to ask whether you had it installed on
the host system: it looks like it communicates via a Unix-domain socket
in /var, so it wouldn't be able to interfere with what's happening in
the chroots.


  I think an strace of a failing command (e.g., "id") would be very
interesting.

  Daniel





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




Re: Recording TV with Debian

2008-07-02 Thread coolzone
On Wed, 02 Jul 2008 20:19:12 -0300
Gabriel Parrondo <[EMAIL PROTECTED]> wrote:

> El mié, 02-07-2008 a las 04:38 +0200, [EMAIL PROTECTED] escribió:
>
> Well, the quality pretty much depends on the parameters you're using
> with mencoder. I would ask for the command you were trying, but I see
> you already solved your problem using transcode, which renders my mail
> useless ;).

Maybe not useless :-)

For other users experimenting with the same in the future. 

With mencode I used the following command (using PAL in my country):

mencoder tv:// -tv
driver=v4l2:input=1:norm=pal:width=640:height=480:device=/dev/video0:
freq=775.25:adevice=/dev/dsp1:forceaudio:audiorate=32000 buffersize=64
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400:keyint=30 -oac mp3lame
-lameopts br=32:cbr:mode=3 -ffourcc divx -o "test.avi"

I tried to change the options, but no matter what I did, the result was
poor.

With transcode I used this command:

transcode -x v4l2=resync_margin=1:resync_interval=250,v4l2 -g 640x480
-i /dev/video0 -p /dev/dsp -e 32000,16,2 -N 0x1 -J
resample,levels,smartyuv,pv -w 4000 -y ffmpeg -F mpeg4 -o test.avi

Which results in some larger files, but with excelent quality.

Any advice on how to improve would be greatly appreciated, especially
about the file sizes that transcode produces.

> [...]
> > 
> 
> -- 
> Gabriel Parrondo
> GNU/Linux User #404138
> GnuPG Public Key ID: BED7BF43
> JID: [EMAIL PROTECTED]
> 
> "The only difference between theory and practice is that, in theory,
> there's no difference between theory and practice."
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 



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



Re: Recording TV with Debian

2008-07-02 Thread Gabriel Parrondo
El mié, 02-07-2008 a las 04:38 +0200, [EMAIL PROTECTED] escribió:
> On Wed, 2 Jul 2008 00:48:10 +0200
> [EMAIL PROTECTED] wrote:
> 
> Okay, so I figured out how to capture using mencoder, but the quality
> is really bad.
> 
> What are you using to capture video?

Well, the quality pretty much depends on the parameters you're using
with mencoder. I would ask for the command you were trying, but I see
you already solved your problem using transcode, which renders my mail
useless ;).

[...]
> 

-- 
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [EMAIL PROTECTED]

"The only difference between theory and practice is that, in theory,
there's no difference between theory and practice."


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



Re: Recording TV with Debian

2008-07-02 Thread Rico Secada
On Thu, 3 Jul 2008 02:04:29 +0930
Dale <[EMAIL PROTECTED]> wrote:

Thank you Dale, and others.

Dale I also tried using mencoder, but the result was very poor quality. 

After some testing I managed to get a very clean and good quality
recording using transcode instead.

> 2008/7/2  <[EMAIL PROTECTED]>:
> > On Wed, 2 Jul 2008 00:48:10 +0200
> > [EMAIL PROTECTED] wrote:
> >
> > Okay, so I figured out how to capture using mencoder, but the
> > quality is really bad.
> >
> > What are you using to capture video?
> >
> >> Hi.
> >>
> >> I have been using GNU/Linux for about ten years and I have always
> >> been very happy with it.
> >>
> >> Today however I wanted to record some old video recordings from my
> >> Sony M8 video recorder, and I got my hands on a Pinnacle video
> >> card.
> >>
> >> Now installing tvtime and watching the tapes is very easy and it
> >> works perfectly, but recording from the device.. damn..
> >>
> >> First I tried mythtv, and I am sorry, but that is one bloated
> >> piece of shit. I am not setting up my own freaking TV station.
> >>
> >> All the other packages I tried, either didn't work, or crashed or
> >> something else.
> >>
> >> This sucks big time!
> >>
> >> Rico.
> >>
> >> PS.: Yeah I know, this is nothing but complaining, but air was
> >> needed!
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >> with a subject of "unsubscribe". Trouble? Contact
> >> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
> >
> 
> Hi Rico,
> 
> attached is a bash script I wrote for capturing stuff from the svideo
> input. it is set for PAL format as it the format for where I live, I
> hope it some help for you.  There is no gui enviroment needed to run
> this script.
> 
> The script is very ruff and ready atm and still need lots more work on
> it to add extra function ability to it.
> 
> Hope it some help to you
> 
> Regards
> Dale
> -- 
> [WWW] http://southernvaleslug.org/
> [IRC] #southern-vales.lug on irc.freenode.net
> "The significant problems we face cannot be solved at the same level
> of thinking we were at when we created them"
>  Albert Einstein
> 



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



Re: Help interpreting nmap scan on localhost running Lenny.Strange port?

2008-07-02 Thread Lee Glidewell
On Wednesday 02 July 2008 01:27:19 pm Luis Maceira wrote:
> I recently installed Lenny(testing) and I have very few software
> installed,yet. I did a nmap scan which showed this:
>
> Interesting ports on localhost (127.0.0.1):
> Not shown: 1710 closed ports
> PORT STATE SERVICE  VERSION
> 25/tcp   open  smtp Exim smtpd 4.69
> 111/tcp  open  rpcbind
> 113/tcp  open  ident
> 832/tcp  open  unknown
> 8118/tcp open  privoxy?
> 1 service unrecognized despite returning data. If you know the
> service/version, please submit the following fingerprint at

> the fingerprint above appears that the port 832/tcp is related to privoxy
> however when I kill privoxy and repeat the scan only 8118/tcp port(clearly
> identified by nmap as privoxy stuff) closes.So what port is that not
> identified by nmap?I do not think it is a backdoor or so as I record all my
> Internet traffic(tcpdump) and run 2 IDSs and none reports problems.
> My system was freshly installed with all cautions:checking sigs md5sums
> etc..
First of all: port scans on localhost are never, ever going to confirm or deny 
the presence of a backdoor. The localhost interface only allows communication 
between a shell and a service running on the *same computer*. Anyone able to 
exploit a localhost service would have already owned your machine some other 
way.

Second, netstat is the command that should help you determine definitively 
which service is listening on 832. 

Lee

-- 
Lee Glidewell   | PGP key: D5D686A7
[EMAIL PROTECTED] | 


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



Re: Help interpreting nmap scan on localhost running Lenny.Strange port?

2008-07-02 Thread Alex Samad
On Wed, Jul 02, 2008 at 01:27:19PM -0700, Luis Maceira wrote:
> I recently installed Lenny(testing) and I have very few software 
> installed,yet.
> I did a nmap scan which showed this:
> 

[snip]

> 
> the fingerprint above appears that the port 832/tcp is related to privoxy
> however when I kill privoxy and repeat the scan only 8118/tcp port(clearly
> identified by nmap as privoxy stuff) closes.So what port is that not
> identified by nmap?I do not think it is a backdoor or so as I record all my
> Internet traffic(tcpdump) and run 2 IDSs and none reports problems.
> My system was freshly installed with all cautions:checking sigs md5sums etc..

have you tried

netstat -panel

> 
> 
> 
>   
-- 
"Oh my!  An `inflammatory attitude' in alt.flame?  Never heard of such
a thing..."
-- Allen Gwinn, [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: terminal resize doesn't propagate to an application

2008-07-02 Thread Thomas Dickey
On Tue, Jul 01, 2008 at 09:29:36PM -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 01 Jul 2008, Thomas Dickey wrote:
> > On Tue, Jul 01, 2008 at 09:20:14PM +0200, Henrique de Moraes Holschuh wrote:
> > > On Tue, 01 Jul 2008, Ron Johnson wrote:
> > > > IIRC, there's a (Debian-specific?) bug in ncurses regarding WINCH.
> > > 
> > > Is it reported?  That's an extremely annoying bug that is asking to be
> > > stomped with extreme prejudice...
> > > 
> > > If you're running under su, it hits really really often.
> > 
> > If you're su'd, signals generally are blocked.
> 
> Even WINCH?  That's surprising (to me, anyway).  I just tried it and it

apparently not WINCH (am at home to check).  Other signals are though.
I suppose it's in a manpage somewhere.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpDO2ECxEKq2.pgp
Description: PGP signature


Re: CAD software for PCB engineering and routing

2008-07-02 Thread John Devereux
Michelle Konzack <[EMAIL PROTECTED]> writes:

> Hello,
>
> I am using "electic" and "geda" but those programs are crap and you  can
> not design real PCBs for it.  Even my 18 years old MS-DOS software works
> better.
>
> So, my requirements are:
>
> 1)  PCB-Layouts up to Extended ATX and 18x11"
> 2)  Only ARM and MIPS CPU's (yeah, no i386, sparc powerpc)

I think this requirement will rule out every low cost solution.

> 3)  double sided
> 4)  double layer
> 5)  autorouter
> 6)  design template per chip including
> auto placing of capacitors and such
> x)
> y)
> z)
> 997)  Export/Import all common formats
> 998)  Must definitivly work with Debian GNU/Linux
> 999)  Not expensive!
>
> I have already VariCAD runing on a Dual "Opteron 280" with  16 GByte  of
> memory plus some 300 GByte SCA-Drives on a ICP Raid-5 and I do not  need
> a second program of this caliber.
>
> Any recomandtions?

Eagle is the usual recommendation for Linux PCB, I have not seen it
mentioned here yet (but perhaps I missed it). But I doubt there is a
non-x86 version.

Another reasonably priced one is Vutrax, which is what I use on
Debian.

I think you have one too many "unreasonable" constraints to get a
solution.

You want 

  low cost --> OK
  && linux --> only ~4
  && non-x86 --> none.

Wine seems to be getting pretty good now, so perhaps you can find
something meant for windows.

-- 

John Devereux


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



Help interpreting nmap scan on localhost running Lenny.Strange port?

2008-07-02 Thread Luis Maceira
I recently installed Lenny(testing) and I have very few software installed,yet.
I did a nmap scan which showed this:

Interesting ports on localhost (127.0.0.1):
Not shown: 1710 closed ports
PORT STATE SERVICE  VERSION
25/tcp   open  smtp Exim smtpd 4.69
111/tcp  open  rpcbind
113/tcp  open  ident
832/tcp  open  unknown
8118/tcp open  privoxy?
1 service unrecognized despite returning data. If you know the service/version, 
please submit
the following fingerprint at 
http://www.insecure.org/cgi-bin/servicefp-submit.cgi :
SF-Port8118-TCP:V=4.62%I=7%D=7/2%Time=486BCEF0%P=powerpc-unknown-linux-gnu
SF:%r(GetRequest,A3,"HTTP/1\.0\x20400\x20Invalid\x20header\x20received\x20
SF:from\x20client\r\nProxy-Agent:\x20Privoxy\x203\.0\.8\r\nContent-Type:\x
SF:20text/plain\r\nConnection:\x20close\r\n\r\nInvalid\x20header\x20receiv
SF:ed\x20from\x20client\.\r\n")%r(GenericLines,A3,"HTTP/1\.0\x20400\x20Inv
SF:alid\x20header\x20received\x20from\x20client\r\nProxy-Agent:\x20Privoxy
SF:\x203\.0\.8\r\nContent-Type:\x20text/plain\r\nConnection:\x20close\r\n\
SF:r\nInvalid\x20header\x20received\x20from\x20client\.\r\n")%r(HTTPOption
SF:s,A3,"HTTP/1\.0\x20400\x20Invalid\x20header\x20received\x20from\x20clie
SF:nt\r\nProxy-Agent:\x20Privoxy\x203\.0\.8\r\nContent-Type:\x20text/plain
SF:\r\nConnection:\x20close\r\n\r\nInvalid\x20header\x20received\x20from\x
SF:20client\.\r\n")%r(RTSPRequest,A3,"HTTP/1\.0\x20400\x20Invalid\x20heade
SF:r\x20received\x20from\x20client\r\nProxy-Agent:\x20Privoxy\x203\.0\.8\r
SF:\nContent-Type:\x20text/plain\r\nConnection:\x20close\r\n\r\nInvalid\x2
SF:0header\x20received\x20from\x20client\.\r\n")%r(Help,A3,"HTTP/1\.0\x204
SF:00\x20Invalid\x20header\x20received\x20from\x20client\r\nProxy-Agent:\x
SF:20Privoxy\x203\.0\.8\r\nContent-Type:\x20text/plain\r\nConnection:\x20c
SF:lose\r\n\r\nInvalid\x20header\x20received\x20from\x20client\.\r\n")%r(F
SF:ourOhFourRequest,A3,"HTTP/1\.0\x20400\x20Invalid\x20header\x20received\
SF:x20from\x20client\r\nProxy-Agent:\x20Privoxy\x203\.0\.8\r\nContent-Type
SF::\x20text/plain\r\nConnection:\x20close\r\n\r\nInvalid\x20header\x20rec
SF:eived\x20from\x20client\.\r\n")%r(LPDString,A3,"HTTP/1\.0\x20400\x20Inv
SF:alid\x20header\x20received\x20from\x20client\r\nProxy-Agent:\x20Privoxy
SF:\x203\.0\.8\r\nContent-Type:\x20text/plain\r\nConnection:\x20close\r\n\
SF:r\nInvalid\x20header\x20received\x20from\x20client\.\r\n")%r(SIPOptions
SF:,1F17,"HTTP/1\.1\x20503\x20Forwarding\x20failure\r\nContent-Length:\x20
SF:7692\r\nContent-Type:\x20text/html\r\nCache-Control:\x20no-cache\r\nDat
SF:e:\x20Wed,\x2002\x20Jul\x202008\x2018:55:15\x20GMT\r\nLast-Modified:\x2
SF:0Wed,\x2008\x20Jun\x201955\x2012:00:00\x20GMT\r\nExpires:\x20Sat,\x2017
SF:\x20Jun\x202000\x2012:00:00\x20GMT\r\nPragma:\x20no-cache\r\nConnection
SF::\x20close\r\n\r\nhttp://www\.w3\.org/TR/html4/strict\.dtd\";>\n
SF:\n\n\n\x20\x20503\x20-\x20Forwarding\x20failure\x20\(Privo
SF:[EMAIL PROTECTED])\n\x20\x20\n\x20\x20\n\x20\x20\n\x2
SF:0\x20\n\x20\x2
SF:0http://config\.privoxy\..or
SF:g/error-favicon\.ico\">\n\x20\x20\n\n/\*\n\
SF:x20\*\x20CSS\x20for\x20Privoxy\x20CGI\x20and\x20script\x20output\n\x20\
SF:*\n\x20\*\x20Id:\x20cgi-style\.css,v\n\x20\*/\n\n/\*\n\x20\*\x20General
SF:\x20rules:\x20Font,\x20Col");

the fingerprint above appears that the port 832/tcp is related to privoxy
however when I kill privoxy and repeat the scan only 8118/tcp port(clearly
identified by nmap as privoxy stuff) closes.So what port is that not
identified by nmap?I do not think it is a backdoor or so as I record all my
Internet traffic(tcpdump) and run 2 IDSs and none reports problems.
My system was freshly installed with all cautions:checking sigs md5sums etc..



  

Re: ??: Stunned by aptitude.

2008-07-02 Thread H.S.
Paul Johnson wrote:
> On Wed, 2008-07-02 at 10:03 -0400, Barclay, Daniel wrote:
>> Paul Johnson wrote:
>>> On Wed, 2008-07-02 at 16:19 +1000, CaT wrote:
>>>
 I believe that would be the point the original poster was getting
>> at. If
 aptitude is really doing that then it is in the wrong.
>>> I understood it, but given that this is how apt has always worked
>> and is
>>> documented to work, why change it now?
>> Because it's error-prone.  Because it's a poor-quality design.
> 
> Might want to check yourself before you wreck yourself:  The same could
> be said for your HTML-spewing MUA.
> 

Please, it is pointless to make an ad hominem argument. He does have a
valid point if you look at if from software users' point of view.



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



Enable SSI on Debian for Apache 1.3

2008-07-02 Thread T o n g
Hi, 

I'm having problem enabling SSI on Debian for Apache 1.3. I know Apache 1.3
is no longer included in Debian, but Apache 2 gives me more trouble
configuring. Long story short, I've done some searches and been following this
2 articles:

Apache server-side includes on Debian
http://fnord.phfactor.net/2006/01/15/apache-server-side-includes-on-debian/

http://linux.derkeiler.com/Mailing-Lists/Debian/2004-02/3391.html

But still, can't get server-side includes for my Debian. This is what 
I've been doing:

 % /usr/sbin/modules-config apache enable mod_include 

 % apache-modconf apache enable mod_include

 % apache-modconf apache query mod_include

 % apache-modconf apache query mod_mime
 mod_mime

Anybody can help please? 

Thanks

tong


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



Re: DNS agent for dynamic IP addresses

2008-07-02 Thread Carl Fink
On Wed, Jul 02, 2008 at 12:04:18PM -0700, Paul Johnson wrote:
> On Wed, 2008-07-02 at 12:01 -0500, John Hasler wrote:
> > Carl Fink writes:
> > > A friend and I mirror each others' servers.
> > 
> > I suppose it might work if each of you is primary for the other guy and
> > secondary for yourself and you set the TTLs low.  Some large organizations
> > ignore short TTLs, though.

Not to answer for John, but Optimum Online for one doesn't honor TTLs at all
sometimes.  Cached addresses have been known to persist for many days past
expiration.
-- 
Carl Fink   [EMAIL PROTECTED] 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Re: DNS agent for dynamic IP addresses

2008-07-02 Thread Carl Fink
On Wed, Jul 02, 2008 at 01:19:19PM -0500, John Hasler wrote:
> Carl Fink writes:
> > The server has a fixed address.
> 
> Then I guess I don't understand your question.  Why can't you just run a
> nameserver on that host and be happy?

I do.  That's what I said.
 
> > The laptop moves from network to network, as you might expect.
> 
> Install dhis-server on the server and dhis-client on the laptop (and the
> desktop).  Configure the nameserver to get the IP numbers for the laptop
> and the desktop from the dhis server.  In other words, duplicate
> dyndns.org.

And that was my original question, and now you have answered it.
-- 
Carl Fink   [EMAIL PROTECTED] 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Re: Some interconnectivity

2008-07-02 Thread Paul Johnson
On Wed, 2008-07-02 at 13:34 -0500, elijah r. wrote:
> > I cannot forward X from the putty. Maybe I need a bidirection enable in the
> > firewall to do that.
> 
> This might not be what you're looking for, but I believe that x11vnc
> with the -localhost argument would still let you do a VNC session over
> SSH.

If X over SSH is lagging, VNC /will/ be worse, if only because X is
vector-based and has less overhead as a result, and VNC is raster
bitmap.

-- 
Paul Johnson
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: 答复: Stunned by aptitude.

2008-07-02 Thread Paul Johnson
On Wed, 2008-07-02 at 10:03 -0400, Barclay, Daniel wrote:
> Paul Johnson wrote:
> > On Wed, 2008-07-02 at 16:19 +1000, CaT wrote:
> >
> >> I believe that would be the point the original poster was getting
> at. If
> >> aptitude is really doing that then it is in the wrong.
> >
> > I understood it, but given that this is how apt has always worked
> and is
> > documented to work, why change it now?
> 
> Because it's error-prone.  Because it's a poor-quality design.

Might want to check yourself before you wreck yourself:  The same could
be said for your HTML-spewing MUA.

-- 
Paul Johnson
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: ??: Stunned by aptitude.

2008-07-02 Thread Paul Johnson
Thank you for trimming unnecessary quotes.

On Wed, 2008-07-02 at 09:31 -0500, Ron Johnson wrote:
> On 07/02/08 08:39, Daniel Burrows wrote:
> >   The main reason I haven't touched those bugs is that there are many
> > more important things to work on.  This behavior might be annoying when
> > it hits you, but the files that are wiped out are all cache files that
> > you can download from the network when your connection is re-established.
> 
> That does not take into consideration all the people who are still
> on dial-up.

What is the usage case for running an update, then performing an
autoclean, while offline?  That really smacks of pilot, not program,
error...

-- 
Paul Johnson
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [OT] the limits of googling

2008-07-02 Thread Paul Johnson
On Wed, 2008-07-02 at 17:53 +0200, Michelle Konzack wrote:
> Am 2008-06-28 19:32:32, schrieb Paul Johnson:
> > On Sat, 2008-06-28 at 08:59 -0500, Hugo Vanwoerkom wrote:
> > 
> > > What are the most recent laptops that run Linux *and* have a working 
> > > analog (RJ-11) modem installed?
> > 
> > By searching for a laptop with a real modem, before even taking Linux
> > into account, you have eliminated 100% of all available options:  It
> > doesn't exist.  Carry a real modem with you if you need a modem.  
> 
> Hmmm,  I do not know, HOW you are searching, but I found more  then  300
> models of varous manufactrer which have a Modem integrated or as option.
> 
> All of my IBL/Lenovo ThinkPads have a analog modem integrated.

IBM/Lenovo has yet to ship a modem in a laptop.

> Most of them are "Lucent WinModem"  which  are  working  perfectly  with
> Linux.  Some others have the IA32 Modem Chip, which is  a  WinModem  too
> and is working with Linux.

Right, but the question was about modems, not winmodems.

-- 
Paul Johnson
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: DNS agent for dynamic IP addresses

2008-07-02 Thread Paul Johnson
On Wed, 2008-07-02 at 12:01 -0500, John Hasler wrote:
> Carl Fink writes:
> > A friend and I mirror each others' servers.
> 
> I suppose it might work if each of you is primary for the other guy and
> secondary for yourself and you set the TTLs low.  Some large organizations
> ignore short TTLs, though.

Eh?  Examples?

-- 
Paul Johnson
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: Some interconnectivity

2008-07-02 Thread elijah r.
> I cannot forward X from the putty. Maybe I need a bidirection enable in the
> firewall to do that.

This might not be what you're looking for, but I believe that x11vnc
with the -localhost argument would still let you do a VNC session over
SSH.
-- 
http://elijahr.blogspot.com/


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



Re: DNS agent for dynamic IP addresses

2008-07-02 Thread John Hasler
Carl Fink writes:
> The server has a fixed address.

Then I guess I don't understand your question.  Why can't you just run a
nameserver on that host and be happy?

> The laptop moves from network to network, as you might expect.

Install dhis-server on the server and dhis-client on the laptop (and the
desktop).  Configure the nameserver to get the IP numbers for the laptop
and the desktop from the dhis server.  In other words, duplicate
dyndns.org.
-- 
John Hasler


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



Re: DNS agent for dynamic IP addresses

2008-07-02 Thread Carl Fink
On Wed, Jul 02, 2008 at 11:49:40AM -0500, John Hasler wrote:
> Carl Fink writes:
> > I prefer to host my own DNS on my own server...
> 
> Resolvers contact nameservers by IP number (how else?).  If your IP is
> dynamic how will anyone know the IP number of your nameserver?

I have a server, nitpicking.com aka finknetwork.com.  I ALSO have a desktop
and a laptop computer, both of which I'd like to assign domain names to.

The server has a fixed address.  The desktop has a pretty darn fixed address
that hasn't changed in years, but is not guaranteed to remain the same.

The laptop moves from network to network, as you might expect.

> > Does anyone know of a similar agent that pairs with a daemon I can run on
> > my DNS server, to track the IP address of my own laptop and desktop boxes
> > and point subdomain1.finknetwork.com and subdomain2.finknetwork.com to
> > them?
> 
> That daemon would have to have a static ip.  If you have access to a host
> with a static IP why not run the nameserver on it?

As above.
-- 
Carl Fink   [EMAIL PROTECTED] 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Re: [OT] the limits of googling

2008-07-02 Thread Michelle Konzack
Am 2008-06-29 15:12:11, schrieb Henrique de Moraes Holschuh:
> However good those USB-serial adapters are, I have never found one that
> could speak all speeds properly, which can be VERY annoying on the field.

MCT U232  -  Works up to 460.800 BpS.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [OT] the limits of googling

2008-07-02 Thread Michelle Konzack
Am 2008-06-28 19:32:32, schrieb Paul Johnson:
> On Sat, 2008-06-28 at 08:59 -0500, Hugo Vanwoerkom wrote:
> 
> > What are the most recent laptops that run Linux *and* have a working 
> > analog (RJ-11) modem installed?
> 
> By searching for a laptop with a real modem, before even taking Linux
> into account, you have eliminated 100% of all available options:  It
> doesn't exist.  Carry a real modem with you if you need a modem.  

Hmmm,  I do not know, HOW you are searching, but I found more  then  300
models of varous manufactrer which have a Modem integrated or as option.

All of my IBL/Lenovo ThinkPads have a analog modem integrated.

Most of them are "Lucent WinModem"  which  are  working  perfectly  with
Linux.  Some others have the IA32 Modem Chip, which is  a  WinModem  too
and is working with Linux.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: ethernet configuration

2008-07-02 Thread Florian Kulzer
On Wed, Jul 02, 2008 at 10:43:58 +0300, Andrei Popescu wrote:
> On Tue, Jul 01, 2008 at 06:04:17PM -0300, André Timpanaro wrote:
> > I've found the /etc/udev/rules.d/z25_persistent-net.rules file:
> > 
> > # This file was automatically generated by the /lib/udev/write_net_rules
> > # program, probably run by the persistent-net-generator.rules rules file.
> > #
> > # You can modify it, as long as you keep each rule on a single line.
> > # MAC addresses must be written in lowercase.
> > 
> > # PCI device 0x10de:0x03ef (forcedeth)
> > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:e9:01:77",
> > NAME="eth0"

[ snip: eth1 - eth7 ]

> > # PCI device 0x10de:0x03ef (forcedeth)
> > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:32:fa:60",
> > NAME="eth8"
> 
> I've heard here that some (all?) nVidia chipsets will change MAC on 
> every boot. That's your problem.

IIRC, certain versions of the forcedeth driver have a bug and cannot
determine the real MAC address of the device. To compensate for this, a
semi-random MAC address is chosen that is formally correct for nvidia
(00:00:6c plus three random bytes). The idea is to minimize the chance
that two nvidia devices on the same local network get the same MAC
address. This behavior is unfortunately not really compatible with the
design philosophy of udev.

> You can look in the BIOS for a setting to have a persistent MAC or 
> rewrite the rule to allocate device names based only on the kernel 
> module (forcedeth?).

You could try to use a wildcard in z25_persistent-net.rules. This might
work as long as you don't put a second nvidia network card into this
machine:

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:*", NAME="eth0"

To make sure that the rest of your network sees a consistent MAC address
for this computer, try to set it explicitly in the eth0 stanza of
/etc/network/interfaces:

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether 00:00:6c:e9:01:77

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: DNS agent for dynamic IP addresses

2008-07-02 Thread John Hasler
Carl Fink writes:
> A friend and I mirror each others' servers.

I suppose it might work if each of you is primary for the other guy and
secondary for yourself and you set the TTLs low.  Some large organizations
ignore short TTLs, though.
-- 
John Hasler


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



Re: DNS agent for dynamic IP addresses

2008-07-02 Thread John Hasler
Carl Fink writes:
> I prefer to host my own DNS on my own server...

Resolvers contact nameservers by IP number (how else?).  If your IP is
dynamic how will anyone know the IP number of your nameserver?

> Does anyone know of a similar agent that pairs with a daemon I can run on
> my DNS server, to track the IP address of my own laptop and desktop boxes
> and point subdomain1.finknetwork.com and subdomain2.finknetwork.com to
> them?

That daemon would have to have a static ip.  If you have access to a host
with a static IP why not run the nameserver on it?


-- 
John Hasler


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



Re: debug boot script

2008-07-02 Thread Tzafrir Cohen
On Wed, Jul 02, 2008 at 04:43:58PM +0800, ray wrote:
> I want to debug an init cript in /etc/rcS.d That script outputs some
> messages using echo, so the messages should be printed to the stdout. I
> guess the redirect mechanism provided by shell is supposed to work in order
> to grab these messages into a file. To verify it, I created a test script in
> /etc/rcS.d, writing the content as below:
> echo "hello" > /tmp/message
> But when I boot up the system, nothing happened. Can somebody give me any
> hint?

The root filesystem is probably still read-only at this stage.

One useful tool for debugging shell scripts: adding 'set -x' to them in
various places (to start running them in trace mode).

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


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



Re: driver loaded automatically

2008-07-02 Thread Tzafrir Cohen
On Wed, Jul 02, 2008 at 03:39:38PM +0800, ray wrote:
> I found the driver of my wireless network card is loaded right after the
> system boots up. I checked the /etc/modules and not found that driver. I had
> thought that driver is loaded automatically by discover, so I disabled the
> /etc/rcS.d/S36discover, but the driver is still be loaded automatically
> after booting up. That driver is not used by any other modules. Do any other
> mechanisms exist  that cause drivers loaded automatically? Thanks.

When is "right after the system is loaded"? Any chance that this is the
initrd?

Try adding the extra boot parameter init=/bin/sh at grub's prompt.

Then you get to a shell prompt right after the kernel has loaded and the
initrd was loaded and its scripts executed.

Try running from there:

  /sbin/lsmod

To resume normal boot:

  exec /sbin/init

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


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



Re: Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread j t
On Wed, Jul 2, 2008 at 1:45 PM, zhaohscas <[EMAIL PROTECTED]> wrote:
>>Also, soon after a boot:
>>$ dmesg | less

My guess: Intel chipset limitation? (know to affect certain 915nn and
945nn chipsets)

See:
http://support.microsoft.com/kb/929605/en-us

(and yes, I already know that you're not using an MS OS, but the
article describes the "hardware" limitations). More info available if
you search the Intel chipset specs. I could, of course, be wrong...

HTH.


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



Re: Recording TV with Debian

2008-07-02 Thread Dale
2008/7/2  <[EMAIL PROTECTED]>:
> On Wed, 2 Jul 2008 00:48:10 +0200
> [EMAIL PROTECTED] wrote:
>
> Okay, so I figured out how to capture using mencoder, but the quality
> is really bad.
>
> What are you using to capture video?
>
>> Hi.
>>
>> I have been using GNU/Linux for about ten years and I have always been
>> very happy with it.
>>
>> Today however I wanted to record some old video recordings from my
>> Sony M8 video recorder, and I got my hands on a Pinnacle video card.
>>
>> Now installing tvtime and watching the tapes is very easy and it works
>> perfectly, but recording from the device.. damn..
>>
>> First I tried mythtv, and I am sorry, but that is one bloated piece of
>> shit. I am not setting up my own freaking TV station.
>>
>> All the other packages I tried, either didn't work, or crashed or
>> something else.
>>
>> This sucks big time!
>>
>> Rico.
>>
>> PS.: Yeah I know, this is nothing but complaining, but air was needed!
>>
>>
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact
>> [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

Hi Rico,

attached is a bash script I wrote for capturing stuff from the svideo
input. it is set for PAL format as it the format for where I live, I
hope it some help for you.  There is no gui enviroment needed to run
this script.

The script is very ruff and ready atm and still need lots more work on
it to add extra function ability to it.

Hope it some help to you

Regards
Dale
-- 
[WWW] http://southernvaleslug.org/
[IRC] #southern-vales.lug on irc.freenode.net
"The significant problems we face cannot be solved at the same level of
 thinking we were at when we created them"
 Albert Einstein


qcapture
Description: Binary data


Some interconnectivity

2008-07-02 Thread David Baron
At my job, I have an XP machine. At home, Debian.

I allowed protocols in the firewall from my local machine to "DMZ" at put the 
work server on that.


I set up dovecot, IMAP server. Outlook uses this just fine.
I installed a windows putty, ssh's just fine.
FTP works just fine.

I installed a nice free fold syncer "goodsync" to sync some active work 
folders with copies on the Linux using FTP. Works fine with one interesting 
caveat: I has filed marked at modified on the linux machine and I did not 
touch them there! The linux file times also are sometimes off by two hours as 
shown on the xp machine in goodsync's listing.

I installed xming, a free x-windows for windows.Cygwin might work better but I 
do not want to install all of that. I can bring of an xterm on the home 
machine at work. I could even bring up "konsole" but that ran awful slow so 
was unusable. From the xterm, I can run other goodies. Fonts do not look that 
great, however. I do not know how to enable the xfs/xftt service.

I cannot forward X from the putty. Maybe I need a bidirection enable in the 
firewall to do that.


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



Re: Recording TV with Debian

2008-07-02 Thread j t
On Wed, Jul 2, 2008 at 3:38 AM,  <[EMAIL PROTECTED]> wrote:
> On Wed, 2 Jul 2008 00:48:10 +0200
> [EMAIL PROTECTED] wrote:
> What are you using to capture video?

Disclaimer: I know nothing about Pinnacle video cards (I have an
Adaptec avc2010 pci card  which works perfectly under linux).

Surely if you want to capture the digital video stream produced by the
card, you just work out the name of the raw output device which the
card produces (/dev/avcap0 in my case, but it might be /dev/video or
something else for you) and then run:

cat /dev/yourDeviceHere > yourNewVideoFileHere

For me, the line I use to capture video (with my adaptec avc2010) is:

cat /dev/avcap0 > capture.mpg

(but that's because my card produces a compressed mpeg2 stream, so I
use the file extension .mpg). This way, I get _exactly_ what the card
is producing (I edit mpeg2 stream on linux using projectX, but that's
another story).

HTH, Jaime


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



Re: dial up support

2008-07-02 Thread Hugo Vanwoerkom

Douglas A. Tutty wrote:

On Wed, Jul 02, 2008 at 08:30:45AM +1000, Daniel Dalton wrote:

I just realised I have dial up all around Australia, so want to take
advantage of this.
So, my laptop has a win modem in side it. So can anyone tell me a brand
and model to look for on ebay, so I can get a cheap 56 k modem that will
work with linux?

After that I think I know how to configure it, I found a page on it...
I just want to make sure I don't get one of those stupid win modems... I
know there is linmodem, but it seems I have to pay for the driver, and I
believe all software on my linux box should be free...

And... it seems easier just to get a proper modem.
Should I be getting a modem that connects to the serial port?
So can anyone help me on this one?


The gold-standard in modems is the 3Com/US Robotics Courier
V-Everything.  It works with a serial port and requires no drivers.  It
also does great on noisy lines.  I purchased mine off eBay for $49.



What's the model number of that?

Hugo




3Com/USR also makes the Sportster which is less functional and cheaper
when new (the courier new is about $400).



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




Re: Update manager replacement?

2008-07-02 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2008-07-01 18:16, Stackpole, Chris wrote:
> * I don't know the details about it, I just saw the posting about a week
> ago and thought "huh that's interesting" and went on my way. Sorry for
> not keeping the link. I will look for it again and if I find it, I will
> post back.

As I understand it, the removal was caused by some release managers
trying to cut the number of release critical bugs by removing packages
with release critical bugs from 'testing'. There was some discussion on
debian-devel some time ago [1,2 including the threads].

This means that the package will be unavailable for 'testing' and only
reenter after a quarantine period with no RC bugs reported. A similar
mishap occured to ntp.

One workaround is to grab a copy of the .deb from your working box (if
it hasn't been 'aptitude clean'ed. Another to fetch it from [3].

Johannes

[1] http://lists.debian.org/debian-devel/2008/06/msg00014.html
[2] http://lists.debian.org/debian-devel/2008/06/msg00088.html
[3] http://snapshot.debian.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIa6R6C1NzPRl9qEURAv4wAJ4070tkZ96lMgrSRq2FnpN+8u+JjgCdHmDR
m/J2Q5Dlm4GYb07owffiP+c=
=R9JR
-END PGP SIGNATURE-


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



Re: 答复: Stunned by aptitude.

2008-07-02 Thread Sven Joachim
On 2008-07-02 16:40 +0200, Daniel Burrows wrote:

> On Wed, Jul 02, 2008 at 06:39:26AM -0700, Daniel Burrows <[EMAIL PROTECTED]> 
> was heard to say:
>>   I put the apt-get and aptitude code up side-by-side and I can only see
>> one difference in the conditions they use to determine whether to clean
>> the lists.  I don't see why this would matter (surely pkgAcquire::Run
>> returns Failure if files can't be downloaded?), but if there's anyone
>> who *can* reproduce this on demand, it would be interesting to know if
>> the attached patch helps.
>
>   Once more, with feeling.

I can 100% reproduce the problem, and this patch solves it for me.

Cheers,
   Sven


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



Re: 答复: Stunned by aptitude.

2008-07-02 Thread Sven Joachim
On 2008-07-02 15:39 +0200, Daniel Burrows wrote:

>   A secondary reason is that I can't figure out what's going on, because
> whenever I try taking my network down and running an update, my package
> lists are still around afterwards.

Hm, just a few hours ago I tried that experiment and aptitude deleted
them.

Sven



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



Re: 答复 : Stunned by aptitude.

2008-07-02 Thread Daniel Burrows
On Wed, Jul 02, 2008 at 06:39:26AM -0700, Daniel Burrows <[EMAIL PROTECTED]> 
was heard to say:
>   I put the apt-get and aptitude code up side-by-side and I can only see
> one difference in the conditions they use to determine whether to clean
> the lists.  I don't see why this would matter (surely pkgAcquire::Run
> returns Failure if files can't be downloaded?), but if there's anyone
> who *can* reproduce this on demand, it would be interesting to know if
> the attached patch helps.

  Once more, with feeling.

  Daniel
diff -r ce31088c455a src/generic/apt/download_update_manager.cc
--- a/src/generic/apt/download_update_manager.cc	Sat Jun 28 13:05:54 2008 -0700
+++ b/src/generic/apt/download_update_manager.cc	Wed Jul 02 07:39:54 2008 -0700
@@ -279,9 +279,37 @@
   if(res != pkgAcquire::Continue)
 return failure;
 
+  bool transientNetworkFailure = true;
+  result rval = success;
+
+  // We need to claim that the download failed if any source failed,
+  // and invoke Finished() on any failed items.  Also, we shouldn't
+  // clean the package lists if any individual item failed because it
+  // makes users grumpy (see Debian bugs #201842 and #479620).
+  //
+  // See also apt-get.cc.
+  for(pkgAcquire::ItemIterator it = fetcher->ItemsBegin();
+  it != fetcher->ItemsEnd(); ++it)
+{
+  if((*it)->Status == pkgAcquire::Item::StatDone)
+	continue;
+
+  (*it)->Finished();
+
+  if((*it)->Status == pkgAcquire::Item::StatTransientNetworkError)
+	{
+	  transientNetworkFailure = true;
+	  continue;
+	}
+
+  // Q: should I display an error message for this source?
+  rval = failure;
+}
+
   // Clean old stuff out
-  if(fetcher->Clean(aptcfg->FindDir("Dir::State::lists")) == false ||
- fetcher->Clean(aptcfg->FindDir("Dir::State::lists")+"partial/") == false)
+  if(rval == success && !transientNetworkFailure &&
+ (fetcher->Clean(aptcfg->FindDir("Dir::State::lists")) == false ||
+  fetcher->Clean(aptcfg->FindDir("Dir::State::lists")+"partial/") == false))
 {
   _error->Error(_("Couldn't clean out list directories"));
   return failure;
@@ -387,27 +415,6 @@
   if(need_forget_new || need_autoclean)
 apt_load_cache(&progress, true);
 
-  result rval = success;
-
-  // We need to claim that the download failed if any source failed,
-  // and invoke Finished() on any failed items.
-  //
-  // See also apt-get.cc.
-  for(pkgAcquire::ItemIterator it = fetcher->ItemsBegin();
-  it != fetcher->ItemsEnd(); ++it)
-{
-  if((*it)->Status == pkgAcquire::Item::StatDone)
-	continue;
-
-  (*it)->Finished();
-
-  if((*it)->Status == pkgAcquire::Item::StatTransientNetworkError)
-	continue;
-
-  // Q: should I display an error message for this source?
-  rval = failure;
-}
-
   if(apt_cache_file != NULL && need_forget_new)
 {
   (*apt_cache_file)->forget_new(NULL);


Re: ??: Stunned by aptitude.

2008-07-02 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/02/08 08:39, Daniel Burrows wrote:
> On Wed, Jul 02, 2008 at 11:09:18AM +0300, Andrei Popescu <[EMAIL PROTECTED]> 
> was heard to say:
>> Not really. See #201842 and #479620. Unfortunately Daniel Burrows still 
>> didn't comment on them. Maybe he will show up here?
> 
>   The main reason I haven't touched those bugs is that there are many
> more important things to work on.  This behavior might be annoying when
> it hits you, but the files that are wiped out are all cache files that
> you can download from the network when your connection is re-established.

That does not take into consideration all the people who are still
on dial-up.

>   A secondary reason is that I can't figure out what's going on, because
> whenever I try taking my network down and running an update, my package
> lists are still around afterwards.  I've read over the code and it looks
> to me like it only deletes the old package lists when it successfully
> downloaded new ones.  Until I get more of a clue to go on, this looks to
> me like a way to waste a great deal of time.
> 
>   I put the apt-get and aptitude code up side-by-side and I can only see
> one difference in the conditions they use to determine whether to clean
> the lists.  I don't see why this would matter (surely pkgAcquire::Run
> returns Failure if files can't be downloaded?), but if there's anyone
> who *can* reproduce this on demand, it would be interesting to know if
> the attached patch helps.


- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhrkTsACgkQS9HxQb37XmcL/gCgj+/Up41fS5641mBxlQwCr6FA
1FEAoJqyoTr+zKQtwpsrYJ1x2nFN6OCF
=AWsZ
-END PGP SIGNATURE-


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



Re: 答复: Stunned by aptitude.

2008-07-02 Thread Barclay, Daniel
Paul Johnson wrote:
> On Wed, 2008-07-02 at 16:19 +1000, CaT wrote:
> 
>> I believe that would be the point the original poster was getting at. If
>> aptitude is really doing that then it is in the wrong.
> 
> I understood it, but given that this is how apt has always worked and is
> documented to work, why change it now?

Because it's error-prone.  Because it's a poor-quality design.

Daniel



Re: 答复: Stunned by aptitude.

2008-07-02 Thread Barclay, Daniel
Paul Johnson wrote:
> On Wed, 2008-07-02 at 14:01 +0800, Magicloud wrote:
>> I don't think so. Obviously, if the network is broken, it absolutely does
>> not mean that there is NO packages, just aptitude can not know.
> 
> That's by far the most round logic I've heard tonight.  

What on earth are you talking about?  There's no circular logic there.


 > If it can't
> reach the repository to know about the packages, how in the world do you
> expect aptitude to know about the packages?

He doesn't expect aptitude to know about the package.

He just expects aptitude to not assume that it knows that there are no packages
when it already knows that communication failed--and therefore, it should know
that is doesn't know yet whether there are any packages or no.


>>  This gives it no right to erease all information stored locally.
> 
> It does when you update your package list to contain no packages, then  ...

But aptitude shouldn't being updating the package list to list no packages
when it didn't successfully communicate.  It doesn't know that there are
no packages.



Daniel




Re: shutdown and reboot scripts

2008-07-02 Thread Raj Kiran Grandhi

Daniel Dalton wrote:

Hi,

Can someone tell me what script I can edit so when my box shuts down or
reboots all my mounted devices get pumounted?
(I use pmount to mount everything)
So, how can I pumount all devices on /media?

So basically I have 2 questions:
1. What script can I place commands in that runs at shutdown/reboot...
2. How do I pumount all devices in /media?



AFAIK you should not have to do anything. Everything (except /) is 
unmounted by default during shutdown. / is re-mounted ro. The default 
init scripts takes care of killing all processes before unmounting devices.


--

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


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




Re: 答复 : Stunned by aptitude.

2008-07-02 Thread Daniel Burrows
On Wed, Jul 02, 2008 at 11:09:18AM +0300, Andrei Popescu <[EMAIL PROTECTED]> 
was heard to say:
> Not really. See #201842 and #479620. Unfortunately Daniel Burrows still 
> didn't comment on them. Maybe he will show up here?

  The main reason I haven't touched those bugs is that there are many
more important things to work on.  This behavior might be annoying when
it hits you, but the files that are wiped out are all cache files that
you can download from the network when your connection is re-established.

  A secondary reason is that I can't figure out what's going on, because
whenever I try taking my network down and running an update, my package
lists are still around afterwards.  I've read over the code and it looks
to me like it only deletes the old package lists when it successfully
downloaded new ones.  Until I get more of a clue to go on, this looks to
me like a way to waste a great deal of time.

  I put the apt-get and aptitude code up side-by-side and I can only see
one difference in the conditions they use to determine whether to clean
the lists.  I don't see why this would matter (surely pkgAcquire::Run
returns Failure if files can't be downloaded?), but if there's anyone
who *can* reproduce this on demand, it would be interesting to know if
the attached patch helps.

  Daniel


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



Re: dial up support

2008-07-02 Thread Douglas A. Tutty
On Wed, Jul 02, 2008 at 08:30:45AM +1000, Daniel Dalton wrote:
> I just realised I have dial up all around Australia, so want to take
> advantage of this.
> So, my laptop has a win modem in side it. So can anyone tell me a brand
> and model to look for on ebay, so I can get a cheap 56 k modem that will
> work with linux?
> 
> After that I think I know how to configure it, I found a page on it...
> I just want to make sure I don't get one of those stupid win modems... I
> know there is linmodem, but it seems I have to pay for the driver, and I
> believe all software on my linux box should be free...
> 
> And... it seems easier just to get a proper modem.
> Should I be getting a modem that connects to the serial port?
> So can anyone help me on this one?

The gold-standard in modems is the 3Com/US Robotics Courier
V-Everything.  It works with a serial port and requires no drivers.  It
also does great on noisy lines.  I purchased mine off eBay for $49.

3Com/USR also makes the Sportster which is less functional and cheaper
when new (the courier new is about $400).

Doug.


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



Re: Recording TV with Debian

2008-07-02 Thread Douglas A. Tutty
On Wed, Jul 02, 2008 at 12:48:10AM +0200, [EMAIL PROTECTED] wrote:
> Today however I wanted to record some old video recordings from my Sony
> M8 video recorder, and I got my hands on a Pinnacle video card.
> 
> Now installing tvtime and watching the tapes is very easy and it works
> perfectly, but recording from the device.. damn.. 
> 
> First I tried mythtv, and I am sorry, but that is one bloated piece of
> shit. I am not setting up my own freaking TV station.
> 
> All the other packages I tried, either didn't work, or crashed or
> something else.

Have you tried VLC?

Doug.


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



Re: driver loaded automatically

2008-07-02 Thread ray
I have checked the udev. But I thought udev is responsible for creating the
device files after the modules have been loaded. Am I wrong?

On Wed, Jul 2, 2008 at 7:58 PM, Gabriel Parrondo <[EMAIL PROTECTED]>
wrote:

> El mié, 02-07-2008 a las 16:57 +0800, ray escribió:
> > Yes, the discover package. Now I see the discover package can be
> > removed from my system and maybe can make my system boot up a little
> > more quick.
> > I would like to know the details of the kernel's own detection
> > mechanism. Do you know where can I find the documentation about it?
> > Thank for you reply.
> >
>
> The kernel-level system used is hotplug. It generates events on hardware
> detection and then user-level applications take care of those events.
> That user-level application is usually udev. Check man udev for more
> info on configuring it.
>
> Here are some introductory articles. For advanced info, STFW.
> http://lwn.net/Articles/242046/
> http://wiki.linuxquestions.org/wiki/Hotplug
> http://wiki.linuxquestions.org/wiki/Udev
>
> I'm not sure if the info is up-to-date, they were just sitting in my
> bookmarks.
>
>
> [...]
> >
> >
> --
> Gabriel Parrondo
> GNU/Linux User #404138
> GnuPG Public Key ID: BED7BF43
> JID: [EMAIL PROTECTED]
>
> "The only difference between theory and practice is that, in theory,
> there's no difference between theory and practice."
>


Re: debug boot script

2008-07-02 Thread ray
On Wed, Jul 2, 2008 at 7:39 PM, Gabriel Parrondo <[EMAIL PROTECTED]>
wrote:

> El mié, 02-07-2008 a las 16:43 +0800, ray escribió:
> > I want to debug an init cript in /etc/rcS.d That script outputs some
> > messages using echo, so the messages should be printed to the stdout.
> > I guess the redirect mechanism provided by shell is supposed to work
> > in order to grab these messages into a file. To verify it, I created a
> > test script in /etc/rcS.d, writing the content as below:
> > echo "hello" > /tmp/message
> > But when I boot up the system, nothing happened. Can somebody give me
> > any hint?
>
> At what point in the bootup process was the script set to run? If it's
> run before the mountall script, /tmp was probably not mounted yet
> (assuming it's in a separate partition).
>
I didn't modify the script I'm interested, I just created a test script in
/etc/rcS.d and named it S01atest.sh, so this script will the first script to
be run on boot.  /tmp is not in a separate partition in my case.

>
> Also, there's a script that cleans up /tmp and /var/tmp; make sure
> you're not running before that one either.
>
>
> You could try sending the output somewhere else as well. /var/log comes
> to mind

In my case /var is in a separate partition, so /var/log is available? I
found the very preceding scripts in /etc/rcS.d such as S02mountkernfs.sh
already use the /var directory.

>
>
> --
> Gabriel Parrondo
> GNU/Linux User #404138
> GnuPG Public Key ID: BED7BF43
> JID: [EMAIL PROTECTED]
>
> "The only difference between theory and practice is that, in theory,
> there's no difference between theory and practice."
>


Re: Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread zhaohscas
>Also, soon after a boot:
>$ dmesg | less

See following:


Linux version 2.6.18-6-686-bigmem (Debian 2.6.18.dfsg.1-18etch1) ([EMAIL 
PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP 
Sun Feb 10 22:21:07 UTC 2008
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f000 (usable)
 BIOS-e820: 0009f000 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - d7edf800 (usable)
 BIOS-e820: d7edf800 - d7ee (reserved)
 BIOS-e820: d7ee - d7ee3000 (ACPI NVS)
 BIOS-e820: d7ee3000 - d7ef (ACPI data)
 BIOS-e820: d7ef - d7f0 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fec0 - 0001 (reserved)
2558MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f3700
NX (Execute Disable) protection: active
On node 0 totalpages: 884447
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 655071 pages, LIFO batch:31
DMI 2.4 present.
ACPI: RSDP (v000 FOUNDR) @ 0x000f7620
ACPI: RSDT (v001 FOUNDR FOUNDRPC 0x42302e31 AWRD 0x) @ 0xd7ee3040
ACPI: FADT (v001 FOUNDR FOUNDRPC 0x42302e31 AWRD 0x) @ 0xd7ee30c0
ACPI: MCFG (v001 FOUNDR FOUNDRPC 0x42302e31 AWRD 0x) @ 0xd7ee7940
ACPI: SLIC (v001 FOUNDR FOUNDRPC 0x42302e31 AWRD 0x) @ 0xd7ee79c0
ACPI: MADT (v001 FOUNDR FOUNDRPC 0x42302e31 AWRD 0x) @ 0xd7ee7840
ACPI: SSDT (v001  PmRef  Cpu0Ist 0x3000 INTL 0x20041203) @ 0xd7ee7a30
ACPI: SSDT (v001  PmRefCpuPm 0x3000 INTL 0x20041203) @ 0xd7ee7ec0
ACPI: DSDT (v001 FOUNDR FOUNDRPC 0x1000 MSFT 0x010e) @ 0x
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:6 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:6 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 4, version 32, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at f100 (gap: f000:0ec0)
Detected 2999.853 MHz processor.
Built 1 zonelists.  Total pages: 884447
Kernel command line: root=/dev/sda2 ro 
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 3500584k/3537788k available (1542k kernel code, 35988k reserved, 587k 
data, 196k init, 2620284k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6004.89 BogoMIPS (lpj=12009799)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512

..
-

Sincerely yours,
Hongsheng.


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



Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread Thierry Chatelet
On Wednesday 02 July 2008 14:28:46 zhaohscas wrote:
> >On 07/02/08 05:15, zhaohscas wrote:
> >> Hi all,
> >>
> >> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
> >>
> >> I have installed the kernel 2.6.18-6-686-bigmem but the system
> >> cann't recognize all of the 4Gb memory on my system still. Who can
> >> give me some hints?
> >
> >How much *does* it recognize?
>
> The cat /proc/meminfo will give the following:
> MemTotal:  3506404 kB
>
> The BIOS give the following info:
>  Full installed memory: 4096M.
>
> Sincerely yours,
> Hongsheng.

maybe your bios is taking some memory space for the video. I have seen 
articles about it. Maybe google can be your friend.


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



Re: Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread zhaohscas

>On 07/02/08 05:15, zhaohscas wrote:
>> Hi all,
>> 
>> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
>> 
>> I have installed the kernel 2.6.18-6-686-bigmem but the system
>> cann't recognize all of the 4Gb memory on my system still. Who can
>> give me some hints?

>How much *does* it recognize?

The cat /proc/meminfo will give the following:
MemTotal:  3506404 kB

The BIOS give the following info:
 Full installed memory: 4096M.

Sincerely yours,
Hongsheng.


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



Re: Increase of un-usable PDF usage.

2008-07-02 Thread Håkon Alstadheim

Mike Mestnik wrote:

Over the past few mouths I've received more unusable PDFs then I've
ever received usable PDFs.  

... snip

I have asked senders to choose a better format, but they keep coming.
Many sites that have PDFs as part of there content do not seam to be
having this problem it's when I get PDFs send via email that there are
issues.

...snip

I have seen windows mail-clients abusing MIME in a way that makes unix 
decoders do unsavory things with line-end characters in binary 
attachments. I don't remember the details, but if you can compare a bad 
pdf with the original (get it on a direct download or on a memory-stick) 
you'll quickly see the badness. (See cmp(1)).


Anyway, if the differences are all in missing and/or mangled CR or LF 
characters, check the source of the email. to see what encoding is used. 
I know for a fact that munpack (from the mpack package) will assume text 
mode if the encoding is quoted printable.


I ended up patching munpack to dissuade it from that assumption. Search 
for \r in the sources to find where you need to patch it. I believe they 
are refusing to "fix" this behaviour upstream because QP is not supposed 
to be used for anything but text. Maybe other mail-clients ar similarly


The version I was working on was different from the one I have now 
(debian testing), but I believe changing decode.c , function fromqp to 
accept the suppressCR argument like from64 does, and changing the calls 
of fromqp accordingly, would fix it. Something along the lines of the 
attached UNTESTED patch should do it.


NOTE the patch is UNTESTED!!

--
Håkon Alstadheim


--- decode.c.orig	2008-07-02 14:00:43.0 +0200
+++ decode.c	2008-07-02 14:16:35.0 +0200
@@ -62,7 +62,7 @@
 char *getParam(params cParams, char *key);
 char *getDispositionFilename(char *disposition);
 void from64(struct part *inpart, FILE *outfile, char **digestp, int suppressCR);
-void fromqp(struct part *inpart, FILE *outfile, char **digestp);
+void fromqp(struct part *inpart, FILE *outfile, char **digestp, int suppressCR);
 void fromnone(struct part *inpart, FILE *outfile, char **digestp);
 int handlePartial(struct part *inpart, char *headers, params contentParams,
 		  int extractText);
@@ -905,7 +905,7 @@
 	break;
 
 case enc_qp:
-	fromqp(inpart, descfile, (char **)0);
+fromqp(inpart, descfile, (char **)0, 1);
 	break;
 
 case enc_base64:
@@ -966,7 +966,7 @@
 	break;
 
 case enc_qp:
-	fromqp(inpart, outfile, &outputmd5);
+	fromqp(inpart, outfile, &outputmd5, suppressCR);
 	break;
 
 case enc_base64:
@@ -1089,7 +1089,7 @@
 if (digestp) *digestp = md5contextTo64(&context);
 }
 
-void fromqp(struct part *inpart, FILE *outfile, char **digestp)
+void fromqp(struct part *inpart, FILE *outfile, char **digestp, suppressCR)
 {
 int c1, c2;
 MD5_CTX context;
@@ -1105,7 +1105,7 @@
 		c2 = part_getc(inpart);
 		c2 = HEXCHAR(c2);
 		c = c1<<4 | c2;
-		if (c != '\r') putc(c, outfile);
+		if (!suppressCR || c != '\r') putc(c, outfile);
 		if (digestp) MD5Update(&context, &c, 1);
 	}
 	} else {


Re: Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread zhaohscas
>> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
>> 
>> I have installed the kernel 2.6.18-6-686-bigmem but the system
>> cann't recognize all of the 4Gb memory on my system still. Who can
>> give me some hints?
>
>How much *does* it recognize?

The cat /proc/meminfo will give the following:
MemTotal:  3506404 kB

FYI, I've post you all the info my box give me here in the following:

--
[EMAIL PROTECTED]:~$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Pentium(R) D CPU 3.00GHz
stepping: 5
cpu MHz : 2999.949
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc 
pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips: 6004.90

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 6
model name  : Intel(R) Pentium(R) D CPU 3.00GHz
stepping: 5
cpu MHz : 2999.949
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 6
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc 
pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips: 5999.88

[EMAIL PROTECTED]:~$ cat /proc/meminfo
MemTotal:  3506404 kB
MemFree:   2854108 kB
Buffers:  9760 kB
Cached: 489648 kB
SwapCached:  0 kB
Active: 124996 kB
Inactive:   448956 kB
HighTotal: 2620284 kB
HighFree:  2048040 kB
LowTotal:   886120 kB
LowFree:806068 kB
SwapTotal: 8835740 kB
SwapFree:  8835740 kB
Dirty: 216 kB
Writeback:   0 kB
AnonPages:   74528 kB
Mapped:  32468 kB
Slab:56564 kB
PageTables:   2436 kB
NFS_Unstable:0 kB
Bounce:  0 kB
CommitLimit:  10588940 kB
Committed_AS:   160952 kB
VmallocTotal:   118776 kB
VmallocUsed: 15752 kB
VmallocChunk:   102740 kB

[EMAIL PROTECTED]:~$ uname -a
Linux dftwerner 2.6.18-6-686-bigmem #1 SMP Sun Feb 10 22:21:07 UTC 2008 i686 
GNU/Linux
-

Sincerely yours,
Hongsheng.


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



Re: driver loaded automatically

2008-07-02 Thread Gabriel Parrondo
El mié, 02-07-2008 a las 16:57 +0800, ray escribió:
> Yes, the discover package. Now I see the discover package can be
> removed from my system and maybe can make my system boot up a little
> more quick.
> I would like to know the details of the kernel's own detection
> mechanism. Do you know where can I find the documentation about it?
> Thank for you reply.
> 

The kernel-level system used is hotplug. It generates events on hardware
detection and then user-level applications take care of those events.
That user-level application is usually udev. Check man udev for more
info on configuring it.

Here are some introductory articles. For advanced info, STFW.
http://lwn.net/Articles/242046/
http://wiki.linuxquestions.org/wiki/Hotplug
http://wiki.linuxquestions.org/wiki/Udev

I'm not sure if the info is up-to-date, they were just sitting in my
bookmarks.


[...]
> 
> 
-- 
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [EMAIL PROTECTED]

"The only difference between theory and practice is that, in theory,
there's no difference between theory and practice."


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: DNS agent for dynamic IP addresses

2008-07-02 Thread Carl Fink
On Wed, Jul 02, 2008 at 05:37:23AM +, Paul Johnson wrote:

[DNS servers]

> You need a minimum of two if you're expecting to delegate your own zone.
> One will NOT get 'er done.

A friend and I mirror each others' servers.
-- 
Carl Fink   [EMAIL PROTECTED] 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Input not supported.

2008-07-02 Thread zhaohscas
Hi all, 

I use the Debian 4.0r3 with the following display divices:
Dispaly card: The ATI Radeon X1050
Liquid Crystal Display: ACER, AL1511.

When the gdm start, it will give the following info:

 *Input not supported*, 

The above error info would be flickered for some seconds, and then the logon 
windows appear.

I've thought the issue is caused by the display card's driver, but ati offical 
don't offer the drive corresponding to the ATI Radeon X1050 for linux.

Who can give me some hints?

Sincerely yours,
--
Hongsheng Zhao <[EMAIL PROTECTED]> 
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences 
GnuPG DSA: 0xD10849
2008-07-02

__
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


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



Re: debug boot script

2008-07-02 Thread Gabriel Parrondo
El mié, 02-07-2008 a las 16:43 +0800, ray escribió:
> I want to debug an init cript in /etc/rcS.d That script outputs some
> messages using echo, so the messages should be printed to the stdout.
> I guess the redirect mechanism provided by shell is supposed to work
> in order to grab these messages into a file. To verify it, I created a
> test script in /etc/rcS.d, writing the content as below:
> echo "hello" > /tmp/message
> But when I boot up the system, nothing happened. Can somebody give me
> any hint?

At what point in the bootup process was the script set to run? If it's
run before the mountall script, /tmp was probably not mounted yet
(assuming it's in a separate partition).

Also, there's a script that cleans up /tmp and /var/tmp; make sure
you're not running before that one either.


You could try sending the output somewhere else as well. /var/log comes
to mind.


-- 
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [EMAIL PROTECTED]

"The only difference between theory and practice is that, in theory,
there's no difference between theory and practice."


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/02/08 06:06, Star Liu wrote:
> On Wed, Jul 2, 2008 at 6:59 PM, Ron Johnson <[EMAIL PROTECTED]> wrote:
>>
>> On 07/02/08 05:15, zhaohscas wrote:
>>> Hi all,
>>>
>>> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
>>>
>>> I have installed the kernel 2.6.18-6-686-bigmem but the system
>>> cann't recognize all of the 4Gb memory on my system still. Who can
>>> give me some hints?
>> How much *does* it recognize?

(Thank you for bottom-posting.)

> I'm not sure, but according to the property of CPU, 64bit CPU has much
> better support for bigger memory addresses, at least 40bits address
> are supported.

$ cat /proc/meminfo

Also, soon after a boot:
$ dmesg | less

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhrY8kACgkQS9HxQb37XmdAlgCgyKhwg3/UlYq8rsNWgRJnHofd
PZUAnA6RjIrSCKTrdMagsJJaeGoXHKxp
=jInc
-END PGP SIGNATURE-


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



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Sven Joachim
On 2008-07-02 13:00 +0200, Ron Johnson wrote:

> On 07/02/08 05:45, Sven Joachim wrote:
>> On 2008-07-02 11:33 +0200, Jonas Meurer wrote:
>> 
>>> I've broken my debian/unstable system by executing as root the command
>>> # srm -r -d /tmp/.*
>> 
>> Ouch.  That seems a good command to run before you sell your hard
>> disk. ;-)
>> 
>
> Bcause of the "."?

Because of the ".*" which matches .., i.e. /tmp/.. aka / .

Unless you use zsh as interactive shell; in zsh .* does not match
current and parent directory.

Sven


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



Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread Star Liu
On Wed, Jul 2, 2008 at 6:59 PM, Ron Johnson <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 07/02/08 05:15, zhaohscas wrote:
>> Hi all,
>>
>> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
>>
>> I have installed the kernel 2.6.18-6-686-bigmem but the system
>> cann't recognize all of the 4Gb memory on my system still. Who can
>> give me some hints?
>
> How much *does* it recognize?

I'm not sure, but according to the property of CPU, 64bit CPU has much
better support for bigger memory addresses, at least 40bits address
are supported.

>
> - --
> Ron Johnson, Jr.
> Jefferson LA  USA
>
> "Kittens give Morbo gas.  In lighter news, the city of New New
> York is doomed."
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>




-- 
Regards!
Star
http://starliu.9966.org
Shanghai, China


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



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/02/08 05:45, Sven Joachim wrote:
> On 2008-07-02 11:33 +0200, Jonas Meurer wrote:
> 
>> I've broken my debian/unstable system by executing as root the command
>> # srm -r -d /tmp/.*
> 
> Ouch.  That seems a good command to run before you sell your hard
> disk. ;-)
> 

Bcause of the "."?

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhrX8IACgkQS9HxQb37XmeL9wCeIm6JBEtya1r8EbjG7n+j2Emm
zY8AoIrnt97fsCxuM8RQU0jQKa2Qgydb
=uoLA
-END PGP SIGNATURE-


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



Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/02/08 05:15, zhaohscas wrote:
> Hi all,
> 
> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
> 
> I have installed the kernel 2.6.18-6-686-bigmem but the system
> cann't recognize all of the 4Gb memory on my system still. Who can
> give me some hints?

How much *does* it recognize?

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhrX3cACgkQS9HxQb37XmeTlwCg7lgzWeYNlO9T+Xd7opvxwh9M
kHMAn3E4gt2NVvTYvKKnaY1RZmurDIpC
=ERy9
-END PGP SIGNATURE-


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



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Sven Joachim
On 2008-07-02 12:33 +0200, Jonas Meurer wrote:

> In the meanwhile, I had a new idea:
>
> Maybe srm doesn't remove the overwritten files before quitting when it
> is aborted. That way, some file on my system could still exist, but in a
> truncated way: half of the file is still the orignal, the other half is
> overwritten by srm.

Yes, look at the timestamps.  Files that have a modification date of the
srm run are candidates for that, older files probably not.

Sven


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



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Sven Joachim
On 2008-07-02 11:33 +0200, Jonas Meurer wrote:

> I've broken my debian/unstable system by executing as root the command
> # srm -r -d /tmp/.*

Ouch.  That seems a good command to run before you sell your hard
disk. ;-)

> I aborted the command after something between 20 and 40 seconds, but
> since then, my system behaves strange:

Small wonder.

> If I try to login as normal user on the console, I get the error
> "Unable to cd to '/home/user'" and the login aborts.
>
> Login as root works without any issues.
>
> When I try to su to a normal user from root, I get: "Cannot execute
> /bin/bash: Permission denied." The permissions for /bin/bash are ok:
> -rwxr-xr-x 1 root root 797784 2008-05-12 19:00 /bin/bash

It's possible that the PAM modules or their configuration became
corrupt.

> I even tried to add a new user with 'adduser username', which seemed
> to work without problems, but if I try to login/su to that new user,
> the same errors occur. I already checked for /etc/passwd, /etc/group and
> /etc/pam.d being available.
>
> Additionally several services fail to start, please see below for exact
> error messages.
>
> Next, I rebooted to see whether the system still was able to boot at
> all. And indeed, the system booted without issues, except that the
> services mentioned below didn't start, and the normal user login still
> didn't work as well.

That's really surprising, I would not have expected the system to come
up at all.

> So I started to try to recover the system (I don't have system backups,
> I only backup /home):

That's bad, you should at least backup /etc.  But you know already...

> First, I did a 'dpkg-reconfigure' for all installed packages, but as that
> didn't change anything, I reinstalled all installed packages:
> # packages=$(dpkg -l | grep "^i" |awk '{print $2}')
> # apt-get -o Dpkg::Options::="--force-confmiss" --reinstall install $packages

Good idea.

> That one succeeded for all packages except the ones that contain the
> services which don't start anymore, and obviosly the reinstall didn't
> fix that.
>
> So now, i've a system which has all packages reinstalled with the dpkg
> option to restore removed configfiles, but still user login and serveral
> services fail.
>
> Do you have any suggestions how to go on with debugging the issue? Maybe
> you even discovered similar issues in the past?
>
> It would be really painful to setup a clean new system and configure it
> the way I like, as this system is already several years old and has
> serveral individual configurations.
>
> Now the exact error messages of the services that do fail to start:
>
> # /etc/init.d/exim4 start
> Starting MTA:2008-07-01 20:49:06 Exim configuration error in line 662 of 
> /var/lib/exim4/config.autogenerated.tmp:
>   user mail was not found

Could you post the contents of your /etc/passwd?  Even if that file
exists, it may not contain all users.

> exim: could not open panic log - aborting: see message(s) above
> Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
> /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
>
> # /etc/init.d/gdm start
> Starting GNOME Display Manager: gdmgdm[16973]: WARNING: gdm_config_parse: 
> Authdir /var/lib/gdm does not exist. Aborting.
> gdm_config_parse: Authdir /var/lib/gdm does not exist. Aborting.

Probably you need to recreate the missing directory.

> # /etc/init.d/mysql start
> Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
>
> # tail -n5 /var/log/syslog
> Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: 0 processes alive and 
> '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
> Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: /usr/bin/mysqladmin: connect 
> to server at 'localhost' failed
> Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: error: 'Can't connect to 
> local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
> Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: Check that mysqld is running 
> and that the socket: '/var/run/mysqld/mysqld.sock' exists!
> Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]:

Does /var/run exist at all?  Its absence could explain the failure to
start services that want to put files there.  OTOH, it is included in
base-files, so if you reinstalled that package, it should be there.

But subdirectories like exim4 or mysqld could still be missing.

> So I rebooted to see whether everything was ok, and indeed the system
> booted without issues, only a few services failed to start. Among others
> these are avahi, hal, exim4, privoxy, mysql and gdm. But I already
> mentioned that above.
>
> If you have any suggestions, please tell me. I would be really glad to
> save my system.

One idea would be to install the cruft package and look for missing
files.  Also, examine /etc for recent files: one file or the other might
be truncated by the interrupted srm command.

And please post a listing of /etc/pam.d.

Sven


-- 
To 

Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Jonas Meurer
On 02/07/2008 Ron Johnson wrote:
> No flames, but "thanks!" for the informative post.
> 
> A reboot cleanly clears out /tmp, so ISTM that the way to accomplish
> your ultimate goal is to run sfill soon after boot.

Yes, you're correct. ;-)
Thanks for the suggestion, will use that next time. Should have
considered that earlier, then I wouldn't have all the trouble now.

In the meanwhile, I had a new idea:

Maybe srm doesn't remove the overwritten files before quitting when it
is aborted. That way, some file on my system could still exist, but in a
truncated way: half of the file is still the orignal, the other half is
overwritten by srm.
If that would be the case, dpkg would not replace it with a new version
even when invoked with 'option --force-confmiss', correct? And debsums
would save the new md5sum of the truncated file in it's db.

I should have invoked debsums just after my accident, now it's maybe to
late. Nevertheless I tried it, but no success:

# debsums -as
debsums: checksum mismatch debsecan file /etc/default/debsecan
debsums: checksum mismatch grub-pc file /etc/default/grub
debsums: checksum mismatch nessusd file /etc/nessus/nessusd.conf
debsums: checksum mismatch openssh-client file /etc/ssh/ssh_config
debsums: checksum mismatch openvpn file /etc/default/openvpn
debsums: checksum mismatch pbuilder file /etc/pbuilderrc
debsums: checksum mismatch procps file /etc/sysctl.conf
debsums: checksum mismatch schroot file /etc/schroot/mount-defaults
debsums: checksum mismatch schroot file /etc/schroot/schroot.conf
debsums: checksum mismatch syslog-ng file /etc/syslog-ng/syslog-ng.conf

these are just the config files that I changed manually, so these
results are perfectly valid.

Too bad, I've no more ideas about how to go on. Any suggestions?

greetings,
 jonas


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



Re: Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread Star Liu
2008/7/2 zhaohscas <[EMAIL PROTECTED]>:
> Hi all,
>
> I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.
>
> I have installed the kernel 2.6.18-6-686-bigmem but the system cann't 
> recognize all of  the 4Gb memory on my system still.  Who can give me some 
> hints?

Maybe you can try the AMD64 etch, i think your cpu should be a EM64T cpu.

>
> Sincerely yours,
> --
> Hongsheng Zhao <[EMAIL PROTECTED]>
> Xinjiang Technical Institute of Physics and Chemistry
> Chinese Academy of Sciences
> GnuPG DSA: 0xD10849
> 2008-07-02
>



-- 
Regards!
Star
http://starliu.9966.org
Shanghai, China


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



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/02/08 04:33, Jonas Meurer wrote:
> Hello,
> 
> I've broken my debian/unstable system by executing as root the command
> # srm -r -d /tmp/.*
> 
> I aborted the command after something between 20 and 40 seconds, but
> since then, my system behaves strange:
> 
> If I try to login as normal user on the console, I get the error
> "Unable to cd to '/home/user'" and the login aborts.
[snip]
> 
> Just to prevent any flamewar about why I (should not) have invoked the
> command in the first time, I know that I did make a mistake, but still
> the reason why I invoked the command was that I intended to wipe all
> data from /tmp to replace the /tmp on my rootfs with a tmpfs. srm
> from the package secure_delete is a tool for secure file deletion,
> just like shred or wipe. According to the manpage, the cmdline option
> -d makes srm "ignore the two dot special files "." and ".."", so I
> thought that the command was safe.
> Few seconds later I had to learn that it was not. The execution took far
> longer than it should for wiping some small files from /tmp, and I
> aborted the execution after something between 20 and 40 seconds.

No flames, but "thanks!" for the informative post.

A reboot cleanly clears out /tmp, so ISTM that the way to accomplish
your ultimate goal is to run sfill soon after boot.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhrVlQACgkQS9HxQb37XmeUJgCgtuTaJG9pQZCeJAQAfQAdLGrN
/ioAnAoRGIgzlyY2l9gWeOXlzLf7a1zh
=rMfL
-END PGP SIGNATURE-


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



Debian 4.0r3 cann't recognize all of the 4Gb memory on my system.

2008-07-02 Thread zhaohscas
Hi all,

I use the Debian 4.0r3 and have 4Gb ram, the cpu is pentium D 3.00 Ghz.

I have installed the kernel 2.6.18-6-686-bigmem but the system cann't recognize 
all of  the 4Gb memory on my system still.  Who can give me some hints?

Sincerely yours,
--
Hongsheng Zhao <[EMAIL PROTECTED]> 
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences 
GnuPG DSA: 0xD10849
2008-07-02

__
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


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



broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Jonas Meurer
Hello,

I've broken my debian/unstable system by executing as root the command
# srm -r -d /tmp/.*

I aborted the command after something between 20 and 40 seconds, but
since then, my system behaves strange:

If I try to login as normal user on the console, I get the error
"Unable to cd to '/home/user'" and the login aborts.

Login as root works without any issues.

When I try to su to a normal user from root, I get: "Cannot execute
/bin/bash: Permission denied." The permissions for /bin/bash are ok:
-rwxr-xr-x 1 root root 797784 2008-05-12 19:00 /bin/bash

I even tried to add a new user with 'adduser username', which seemed
to work without problems, but if I try to login/su to that new user,
the same errors occur. I already checked for /etc/passwd, /etc/group and
/etc/pam.d being available.

Additionally several services fail to start, please see below for exact
error messages.

Next, I rebooted to see whether the system still was able to boot at
all. And indeed, the system booted without issues, except that the
services mentioned below didn't start, and the normal user login still
didn't work as well.

So I started to try to recover the system (I don't have system backups,
I only backup /home):

First, I did a 'dpkg-reconfigure' for all installed packages, but as that
didn't change anything, I reinstalled all installed packages:

# packages=$(dpkg -l | grep "^i" |awk '{print $2}')
# apt-get -o Dpkg::Options::="--force-confmiss" --reinstall install $packages

That one succeeded for all packages except the ones that contain the
services which don't start anymore, and obviosly the reinstall didn't
fix that.

So now, i've a system which has all packages reinstalled with the dpkg
option to restore removed configfiles, but still user login and serveral
services fail.

Do you have any suggestions how to go on with debugging the issue? Maybe
you even discovered similar issues in the past?

It would be really painful to setup a clean new system and configure it
the way I like, as this system is already several years old and has
serveral individual configurations.

Now the exact error messages of the services that do fail to start:

# /etc/init.d/exim4 start
Starting MTA:2008-07-01 20:49:06 Exim configuration error in line 662 of 
/var/lib/exim4/config.autogenerated.tmp:
  user mail was not found
exim: could not open panic log - aborting: see message(s) above
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated

# /etc/init.d/gdm start
Starting GNOME Display Manager: gdmgdm[16973]: WARNING: gdm_config_parse: 
Authdir /var/lib/gdm does not exist. Aborting.
gdm_config_parse: Authdir /var/lib/gdm does not exist. Aborting.

# /etc/init.d/mysql start
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

# tail -n5 /var/log/syslog
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: 0 processes alive and 
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: /usr/bin/mysqladmin: connect to 
server at 'localhost' failed
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: error: 'Can't connect to local 
MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: Check that mysqld is running 
and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]:

# /etc/init.d/avahi start
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed!

# tail -n4 /var/log/syslog
Jul  1 22:56:53 jonas avahi-daemon[17228]: Found user 'avahi' (UID 110) and 
group 'avahi' (GID 115).
Jul  1 22:56:53 jonas avahi-daemon[17228]: Successfully dropped root privileges.
Jul  1 20:56:53 jonas avahi-daemon[17228]: open(/var/run/avahi-daemon//pid): 
Permission denied
Jul  1 20:56:53 jonas avahi-daemon[17228]: Failed to create PID file: 
Permission denied


Just to prevent any flamewar about why I (should not) have invoked the
command in the first time, I know that I did make a mistake, but still
the reason why I invoked the command was that I intended to wipe all
data from /tmp to replace the /tmp on my rootfs with a tmpfs. srm
from the package secure_delete is a tool for secure file deletion,
just like shred or wipe. According to the manpage, the cmdline option
-d makes srm "ignore the two dot special files "." and ".."", so I
thought that the command was safe.
Few seconds later I had to learn that it was not. The execution took far
longer than it should for wiping some small files from /tmp, and I
aborted the execution after something between 20 and 40 seconds.

Afterwards my first guess was that srm might have started to delete the
files in /boot, as these are the first one in alphabetical order on /.
But it seems like all files in /boot where still present. So I went on
searching for missed files, but the only one I could identify was
/root/.bashrc.

So I rebooted to see

Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Anthony Campbell
On 02 Jul 2008, Anthony Campbell wrote:
> On 02 Jul 2008, Andrei Popescu wrote:
> > On Wed, Jul 02, 2008 at 08:46:53AM +0100, Anthony Campbell wrote:
> >  
> > > Sorry, I hadn't read the e2label line properly. But I don't think it
> > > would affect the issue I encountered here, which was a change in the
> > > actual partition referred to. The label would still be referring to
> > > the wrong partition. Still, now that I know this can happen I will not
> > > be caught by it in the future.
> >  
> > Would you mind posting "fdisk -l" for both kernels (or just tell us if 
> > there is a difference). I'm guessing your problem is elsewhere and 
> > labels would help avoid it.
> > 
> 
> They are identical.
> 

As an experiment, I tried changing root=/dev/hdb9 to root=/dev/hdb10 for
the previous kernel (2.6.23) and that booted as well! So it looks as if
the earlier kernel could use either setting but the later one only
accepts /dev/hdb10.

Is grub perhaps more flexible about this than I thought?

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


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



Re: driver loaded automatically

2008-07-02 Thread ray
Yes, the discover package. Now I see the discover package can be removed
from my system and maybe can make my system boot up a little more quick.
I would like to know the details of the kernel's own detection mechanism. Do
you know where can I find the documentation about it?
Thank for you reply.

On Wed, Jul 2, 2008 at 4:12 PM, Andrei Popescu <[EMAIL PROTECTED]>
wrote:

> On Wed, Jul 02, 2008 at 03:39:38PM +0800, ray wrote:
> > I found the driver of my wireless network card is loaded right after the
> > system boots up. I checked the /etc/modules and not found that driver. I
> had
> > thought that driver is loaded automatically by discover, so I disabled
> the
> > /etc/rcS.d/S36discover, but the driver is still be loaded automatically
> > after booting up. That driver is not used by any other modules. Do any
> other
> > mechanisms exist  that cause drivers loaded automatically? Thanks.
>
> The package discover? I don't even have it installed. The kernel has
> it's own detection mechanisms and loads modules as needed. If you don't
> want to load some of them you need to use a blacklist.
>
> Regards,
> Andrei
> --
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkhrOIoACgkQqJyztHCFm9ltbACfdTqKI5UZ6qDVKQhMoO099NW/
> AKkAnjHHuxJJJ0lDkWR8Ux63boTJujrn
> =6+Pc
> -END PGP SIGNATURE-
>
>


Re: Stunned by aptitude.

2008-07-02 Thread Sven Joachim
On 2008-07-02 08:59 +0200, CaT wrote:

> On Wed, Jul 02, 2008 at 08:22:59AM +0200, Sven Joachim wrote:
>> Still there should be an option to turn this behavior off, since it is
>> very annoying for people with low bandwith and frequent network
>> problems.  In apt-get you can set APT::Get::List-Cleanup=false to avoid
>> erasing the list files if the update failed, but aptitude does not have
>> such an option, AFAIK.
>
> I don't think this really applies here. Least not to apt from my reading
> of this:
>
> --list-cleanup
> This option defaults to on, use --no-list-cleanup to turn it
> off.  When on apt-get will automatically manage the contents of
> /var/lib/apt/lists to ensure that obsolete files are erased. The only
> reason to turn it off is if you frequently change your source list.
> Configuration Item: APT::Get::List-Cleanup.

Thanks for correcting me, I was fooled by
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358320#10.

In fact, `apt-get update' failures did _not_ delete the list file
regardless of this option when I tried it, so this is only a problem in
aptitude.

Sven


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



debug boot script

2008-07-02 Thread ray
I want to debug an init cript in /etc/rcS.d That script outputs some
messages using echo, so the messages should be printed to the stdout. I
guess the redirect mechanism provided by shell is supposed to work in order
to grab these messages into a file. To verify it, I created a test script in
/etc/rcS.d, writing the content as below:
echo "hello" > /tmp/message
But when I boot up the system, nothing happened. Can somebody give me any
hint?


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Anthony Campbell
On 02 Jul 2008, Andrei Popescu wrote:
> On Wed, Jul 02, 2008 at 08:46:53AM +0100, Anthony Campbell wrote:
>  
> > Sorry, I hadn't read the e2label line properly. But I don't think it
> > would affect the issue I encountered here, which was a change in the
> > actual partition referred to. The label would still be referring to
> > the wrong partition. Still, now that I know this can happen I will not
> > be caught by it in the future.
>  
> Would you mind posting "fdisk -l" for both kernels (or just tell us if 
> there is a difference). I'm guessing your problem is elsewhere and 
> labels would help avoid it.
> 

They are identical.


Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


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



Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Anthony Campbell
On 02 Jul 2008, Andrei Popescu wrote:
> On Wed, Jul 02, 2008 at 09:09:00AM +0100, Wackojacko wrote:
> 
> > I think you should be asking yourself how the old kernel boots with hdb9.  
> > Grub numbering system starts from 0 so hd(0,0) is hda1 and hda(1,9) is 
> > hdb10 etc.  Are you sure you don't have another debian/linux install on 
> > hdb9 :).
> 
> Yeah, something similar happened to me :) That's when I labeled all my 
> partitions!
> 
> Regards,
> Andrei
> -- 
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)


Yes, I know that grub numbers things this way but there is nothing on
/dev/hdb9 except for lost+found.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


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



Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 09:09:00AM +0100, Wackojacko wrote:

> I think you should be asking yourself how the old kernel boots with hdb9.  
> Grub numbering system starts from 0 so hd(0,0) is hda1 and hda(1,9) is 
> hdb10 etc.  Are you sure you don't have another debian/linux install on 
> hdb9 :).

Yeah, something similar happened to me :) That's when I labeled all my 
partitions!

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


signature.asc
Description: Digital signature


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 10:37:19AM +0300, Andrei Popescu wrote:
> On Tue, Jul 01, 2008 at 03:40:12PM -0500, Hugo Vanwoerkom wrote:
> 
> > and did you use a vga= parm? And did that work?
> 
> $ dmesg | grep vga\=791
> [0.00] Kernel command line: root=LABEL=sid ro vga=791 
> 
> $ uname -a
> Linux think 2.6.25-2-686 #1 SMP Thu Jun 12 16:26:30 UTC 2008 i686 GNU/Linux

Sorry, you probably also want:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated 
Graphics Device (rev 02)

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


signature.asc
Description: Digital signature


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 08:46:53AM +0100, Anthony Campbell wrote:
 
> Sorry, I hadn't read the e2label line properly. But I don't think it
> would affect the issue I encountered here, which was a change in the
> actual partition referred to. The label would still be referring to
> the wrong partition. Still, now that I know this can happen I will not
> be caught by it in the future.
 
Would you mind posting "fdisk -l" for both kernels (or just tell us if 
there is a difference). I'm guessing your problem is elsewhere and 
labels would help avoid it.

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


signature.asc
Description: Digital signature


Re: driver loaded automatically

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 03:39:38PM +0800, ray wrote:
> I found the driver of my wireless network card is loaded right after the
> system boots up. I checked the /etc/modules and not found that driver. I had
> thought that driver is loaded automatically by discover, so I disabled the
> /etc/rcS.d/S36discover, but the driver is still be loaded automatically
> after booting up. That driver is not used by any other modules. Do any other
> mechanisms exist  that cause drivers loaded automatically? Thanks.

The package discover? I don't even have it installed. The kernel has 
it's own detection mechanisms and loads modules as needed. If you don't 
want to load some of them you need to use a blacklist.

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


signature.asc
Description: Digital signature


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Wackojacko

Anthony Campbell wrote:

On 02 Jul 2008, Bob Cox wrote:
On Wed, Jul 02, 2008 at 07:51:20 +0100, Anthony Campbell ([EMAIL PROTECTED]) wrote: 


I don't understand label in this context.  Where is it set?

This was explained by Florian Kulzer earlier in this thread.  (It was
such a good explanation I kept it for future reference!)

On Mon, Jun 30, 2008 at 12:30:00 +0200, Florian Kulzer
([EMAIL PROTECTED]) wrote:


You can use UUIDs or labels to refer to the partitions. This is
robust if a newer kernel changes the device nodes (e.g. from /dev/hda to
/dev/sda). You can use the "blkid" utility to find out the UUIDs of your
partitions, or you can set your own labels with e2label (and mkswap -L
for the swap partition).

To give you an example, I labeled my root partition "root" and this is
the corresponding fstab entry:

LABEL=root   /  ext3defaults,errors=remount-ro 0  1

If you want to use UUIDs then the syntax is "UUID=".

--


Sorry, I hadn't read the e2label line properly. But I don't think it
would affect the issue I encountered here, which was a change in the
actual partition referred to. The label would still be referring to
the wrong partition. Still, now that I know this can happen I will not
be caught by it in the future.

Anthony



I think you should be asking yourself how the old kernel boots with 
hdb9.  Grub numbering system starts from 0 so hd(0,0) is hda1 and 
hda(1,9) is hdb10 etc.  Are you sure you don't have another debian/linux 
install on hdb9 :).


Anyhow glad you got it fixed.

Wackojacko



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




Re: 答复 : Stunned by aptitude.

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 02:01:44PM +0800, Magicloud wrote:
> I don't think so. Obviously, if the network is broken, it absolutely does
> not mean that there is NO packages, just aptitude can not know. This gives
> it no right to erease all information stored locally.
> It is like, if my mobile was broken today, my wife could not contact with
> me, so she should think that I DIE? And call the cops, and throw out all my
> staff? It is not right, Mr.
> 
> -邮件原件-
> 发件人: Paul Johnson [mailto:[EMAIL PROTECTED] 
> 发送时间: 2008年7月2日 12:46
> 收件人: debian-user@lists.debian.org
> 主题: Re: Stunned by aptitude.
> 
> On Wed, 2008-07-02 at 09:40 +0800, Magicloud wrote:
> > Hello,
> > 
> >  When I used aptitude, I noticed that aptitude does not have 
> > an error handling mechanism. When I `aptitude update`, if the network 
> > is broken (like dns problem, route problem), it can not connect to the 
> > server, so it reports error, and clean up local apt record. If I 
> > stupidly `aptitude autoclean` then, all my debs are gone.
> 
> It is doing error handling:  If it can't reach that server, there's no point
> in considering it a valid source.  If you have no valid sources, there's no
> current packages.  It's working as designed.
 
Not really. See #201842 and #479620. Unfortunately Daniel Burrows still 
didn't comment on them. Maybe he will show up here?

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


signature.asc
Description: Digital signature


Re: Stunned by aptitude.

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 09:40:00AM +0800, Magicloud wrote:
> Hello,
> 
>  When I used aptitude, I noticed that aptitude does not have an
> error handling mechanism. When I `aptitude update`, if the network is broken
> (like dns problem, route problem), it can not connect to the server, so it
> reports error, and clean up local apt record. If I stupidly `aptitude
> autoclean` then, all my debs are gone.
 
$ grep Clean /etc/apt/apt.conf.d/00local
APT::Clean-Installed false;

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


signature.asc
Description: Digital signature


Re: shutdown and reboot scripts

2008-07-02 Thread Andrei Popescu
On Wed, Jul 02, 2008 at 09:45:52AM +1000, Daniel Dalton wrote:
> Hi,
> 
> Can someone tell me what script I can edit so when my box shuts down or
> reboots all my mounted devices get pumounted?
> (I use pmount to mount everything)
> So, how can I pumount all devices on /media?
> 
> So basically I have 2 questions:
> 1. What script can I place commands in that runs at shutdown/reboot...
> 2. How do I pumount all devices in /media?
 
Even though I use pmount as well I have entries for my external drive in 
fstab:

LABEL=mirror/media/mirror   ext3defaults,noatime,user,data=journal  0
LABEL=Elements  /media/xbig vfatuid=amp,noatime,user,fmask=133  0

This way the standard scripts will take care of unmounting the device.

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


signature.asc
Description: Digital signature


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Anthony Campbell
On 02 Jul 2008, Bob Cox wrote:
> On Wed, Jul 02, 2008 at 07:51:20 +0100, Anthony Campbell ([EMAIL PROTECTED]) 
> wrote: 
> 
> > I don't understand label in this context.  Where is it set?
> 
> This was explained by Florian Kulzer earlier in this thread.  (It was
> such a good explanation I kept it for future reference!)
> 
> On Mon, Jun 30, 2008 at 12:30:00 +0200, Florian Kulzer
> ([EMAIL PROTECTED]) wrote:
> 
> > You can use UUIDs or labels to refer to the partitions. This is
> > robust if a newer kernel changes the device nodes (e.g. from /dev/hda to
> > /dev/sda). You can use the "blkid" utility to find out the UUIDs of your
> > partitions, or you can set your own labels with e2label (and mkswap -L
> > for the swap partition).
> > 
> > To give you an example, I labeled my root partition "root" and this is
> > the corresponding fstab entry:
> > 
> > LABEL=root   /  ext3defaults,errors=remount-ro 0  1
> > 
> > If you want to use UUIDs then the syntax is "UUID=".
> 
> -- 

Sorry, I hadn't read the e2label line properly. But I don't think it
would affect the issue I encountered here, which was a change in the
actual partition referred to. The label would still be referring to
the wrong partition. Still, now that I know this can happen I will not
be caught by it in the future.

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


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



Re: install (k)ubuntu on external hard drives

2008-07-02 Thread roberto
On Wed, Jul 2, 2008 at 9:39 AM, Andrei Popescu <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 30, 2008 at 12:24:47PM +0200, roberto wrote:
>> hello
>> i know it is possible to install linux on external usb hd's; this is
>> fairly easy if the bios supports the BOOT FROM USB option
>>
>> but in older hardware this is not true and so i need to know if it may
>> be done in another way around
>
> Theoretically yes, but you still need some other means to boot. Maybe
> you could put /boot on a CD, but this would mean you have to rebuild
> that CD on every kernel upgrade.
this may be of some interest for you

http://www.freewebs.com/tsj/bootingUSB_ldp_v0.1.htm

-- 
roberto
OS: GNU/Linux, Debian


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



Re: ethernet configuration

2008-07-02 Thread Andrei Popescu
On Tue, Jul 01, 2008 at 06:04:17PM -0300, André Timpanaro wrote:
> I've found the /etc/udev/rules.d/z25_persistent-net.rules file:
> 
> 
> 
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, probably run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line.
> # MAC addresses must be written in lowercase.
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:e9:01:77",
> NAME="eth0"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:f2:c0:89",
> NAME="eth1"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:30:e1:28",
> NAME="eth2"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:6f:75:06",
> NAME="eth3"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:25:de:d3",
> NAME="eth4"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:b5:70:4b",
> NAME="eth5"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:06:6c:76",
> NAME="eth6"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:db:fb:52",
> NAME="eth7"
> 
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:32:fa:60",
> NAME="eth8"

I've heard here that some (all?) nVidia chipsets will change MAC on 
every boot. That's your problem.

You can look in the BIOS for a setting to have a persistent MAC or 
rewrite the rule to allocate device names based only on the kernel 
module (forcedeth?).

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


signature.asc
Description: Digital signature


driver loaded automatically

2008-07-02 Thread ray
I found the driver of my wireless network card is loaded right after the
system boots up. I checked the /etc/modules and not found that driver. I had
thought that driver is loaded automatically by discover, so I disabled the
/etc/rcS.d/S36discover, but the driver is still be loaded automatically
after booting up. That driver is not used by any other modules. Do any other
mechanisms exist  that cause drivers loaded automatically? Thanks.


Re: install (k)ubuntu on external hard drives

2008-07-02 Thread Andrei Popescu
On Mon, Jun 30, 2008 at 12:24:47PM +0200, roberto wrote:
> hello
> i know it is possible to install linux on external usb hd's; this is
> fairly easy if the bios supports the BOOT FROM USB option
> 
> but in older hardware this is not true and so i need to know if it may
> be done in another way around
 
Theoretically yes, but you still need some other means to boot. Maybe 
you could put /boot on a CD, but this would mean you have to rebuild 
that CD on every kernel upgrade.

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


signature.asc
Description: Digital signature


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Andrei Popescu
On Tue, Jul 01, 2008 at 03:40:12PM -0500, Hugo Vanwoerkom wrote:

> and did you use a vga= parm? And did that work?

$ dmesg | grep vga\=791
[0.00] Kernel command line: root=LABEL=sid ro vga=791 

$ uname -a
Linux think 2.6.25-2-686 #1 SMP Thu Jun 12 16:26:30 UTC 2008 i686 GNU/Linux

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


signature.asc
Description: Digital signature


Re: Linux-image-2.6.25 won't boot - target filesystem error -SOLVED

2008-07-02 Thread Bob Cox
On Wed, Jul 02, 2008 at 07:51:20 +0100, Anthony Campbell ([EMAIL PROTECTED]) 
wrote: 

> I don't understand label in this context.  Where is it set?

This was explained by Florian Kulzer earlier in this thread.  (It was
such a good explanation I kept it for future reference!)

On Mon, Jun 30, 2008 at 12:30:00 +0200, Florian Kulzer
([EMAIL PROTECTED]) wrote:

> You can use UUIDs or labels to refer to the partitions. This is
> robust if a newer kernel changes the device nodes (e.g. from /dev/hda to
> /dev/sda). You can use the "blkid" utility to find out the UUIDs of your
> partitions, or you can set your own labels with e2label (and mkswap -L
> for the swap partition).
> 
> To give you an example, I labeled my root partition "root" and this is
> the corresponding fstab entry:
> 
> LABEL=root   /  ext3defaults,errors=remount-ro 0  1
> 
> If you want to use UUIDs then the syntax is "UUID=".

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


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