RE: Include a ftp client in initrd

2009-11-13 Thread Kushal Koolwal

I just need a client program.

Also I figured that just copying an ftp program would not be sufficient. I will 
need to copy the shared libraries also. I was wondering what is the best way to 
find out the shared libraries. Just doing:

# ldd ftp

should be sufficient?

Alternatively, I can compile the ftp program statically but I am not sure what 
is the best way to do that in Debian.

Thanks



  
_
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/


Include a ftp client in initrd

2009-11-09 Thread Kushal Koolwal
Hi,

I am using Debian Lenny with the default 2.6.26-2-686 kernel and the default
initrd image.

My aim is to just boot the kernel and initrd image. I don't want to mount
the real filesystem from the hard drive or any other storage device.

I know how to mount an initrd and make changes in it and then zip and
compress back again. However I need your help with the following question:

I want to include a ftp client program in the initrd image and write a shell
script in the initrd image that will execute the ftp program.

What is the best way to do this?


RE: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Kushal Koolwal

 87a8dc10910270120y754f590es1019c2bbb76e8...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0


You are right only the apache2 directly needs execute permission and not =
the files inside it.

#chmod 755 /var/log/apache2

works just fine.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/








 =20
_
Windows 7: It helps you do more. Explore Windows 7.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=3DPID24727::T:=
WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen3:102009=


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



Awstats Cron job not executing

2009-10-26 Thread Kushal Koolwal

I am using Debian Lenny and installed awstats. Now by default the awstats 
creates a the following file:

debian:~# cat /etc/cron.d/awstats
0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f 
/etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ]  
/usr/lib/cgi-bin/awstats.pl -config=mydomain -update/dev/null

The Syslog shows that the above job is being executed but my webpage stats 
(http://mydomain/awstats/awstats.pl) do NOT get updated.

However if I change the awstats cron job to be executed by root like this:
0,10,20,30,40,50 * * * * root [ -x /usr/lib/cgi-bin/awstats.pl -a
-f /etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ]
 /usr/lib/cgi-bin/awstats.pl -config=mydomain -update
/dev/null

it gets executed every 10 mins and the webpage stats gets updated.

Based on /usr/share/doc/awstats/README.Debian, I have already given read 
permission for others user to access.log:
debian:~# ls -l /var/log/apache2/access.log
-rwr-r- 1 root adm 6671031 2009-10-26 18:00 /var/log/apache2/access.log

Not sure what am I missing?

Kushal Koolwal

I do blog at http://blogs.koolwal.net/



  
_
Windows 7: It helps you do more. Explore Windows 7.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen3:102009

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



RE: Awstats Cron job not executing

2009-10-26 Thread Kushal Koolwal

 20091027012939.ga19...@localhost.localdomain
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0


 Try becoming the www-data user and trying the above

 line from the command line directly? perhaps you'll get some helpful

 output.

Actually I did intended to send the output of the above in my original mail=
 but I forgot. Here is the output:
debian:~# sudo -u www-data /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -updat=
e -config=3Dmydomain

Create/Update database for config /etc/awstats/awstats.mydomain.conf by A=
WStats version 6.7 (build 1.892)
From data in log file /var/log/apache2/access.log...
Error: Couldn't open server log file /var/log/apache2/access.log : Permis=
sion denied
Setup ('/etc/awstats/awstats.mydoamin.conf' file=2C web server or permissio=
ns) may be wrong.
Check config file=2C permissions and AWStats documentation (in 'docs' direc=
tory).
debian:~#=20

Not sure where else I need to give permission to www-data. As noted in my p=
revious mail=2C access.log already has read permission. Also I checked a=
wstats.mydomain.conf but did not find anything related to www-data and cro=
n jobs.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/


 =20
_
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=3DPID24727::T:=
WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:102009=


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



RE: Awstats Cron job not executing [SOLVED]

2009-10-26 Thread Kushal Koolwal

 20091027035155.gb5...@localhost.localdomain
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0


Ahhh I finally resolved it.

chmod 755 -R /var/log/apache2/*

did the trick. It's funny that it needs execute permission also. No where i=
n the README that is mentioned. Do you think I should point this to the mai=
ntainer through BTS?

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

 =20
_
Windows 7: Simplify your PC. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=3DPID24727::T:=
WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009=


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



RE: Merge Extra free space into current linux partition

2009-10-23 Thread Kushal Koolwal

 Does anybody else know if
 there is a way to reread the partion table an a running system?

From the man resize2fs page:

   The resize2fs program will resize ext2, ext3, or ext4 file systems.  It
   can  be  used  to enlarge or shrink an unmounted file system located on
   device.  If the filesystem is mounted, it can be  used  to  expand  the
   size  of  the  mounted filesystem, assuming the kernel supports on-line
   resizing.  (As of this writing, the Linux 2.6 kernel  supports  on-line
   resize for filesystems mounted using ext3 only.).


I haven't tried yet but looks like it might.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
_
Windows 7: Simplify your PC. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009

Merge Extra free space into current linux partition

2009-10-22 Thread Kushal Koolwal

I am using Debian Lenny on x86 computer installed on my SATA hard drive - 
/dev/sda5. 

# cfdisk /dev/sda
***
    sda1    Boot    Primary   FAT16  [DOS    ]  2146.80 
    sda2    Primary   NTFS []  10001.95
    sda5    Logical   Linux ext3   15002.92
    Pri/Log   Free Space  132887.63
***

I would like to merge all the extra Free Space (132887.63) as shown above into 
my current Debian partition (/dev/sda5).

How can I do that without having to move all the data and 
reformatting/re-creating partition.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/



  
_
Windows 7: Simplify your PC. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009

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



Ethernet CRC errors statistics in Linux

2009-10-19 Thread Kushal Koolwal

I have a system (x86_64) running Debian Lenny on a standard Gigabit Ethernet 
LAN. I have been doing some researching on how to measure Ethernet CRC errors 
(Physical layer), if there are any, on my Debian system's ethernet card . It is 
clear that the ethereal (now wireshark) cannot measure it [1]. Some people have 
suggested to use the following commands to get the CRC count:

# cat /proc/net/dev
Inter-|   Receive|  Transmit
 face |bytespackets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo: 12309345159000 0  0 0  1230934
5159000 0   0  0
  eth0:14527038631 174773921000 0  0 0 
53768205408 150237839000 0   0  0

and

#ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1f:d0:35:74:b5  
  inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::21f:d0ff:fe35:74b5/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:174700827 errors:0 dropped:0 overruns:0 frame:0
  TX packets:150164953 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:14522357501 (13.5 GiB)  TX bytes:53726785504 (50.0 GiB)
  Interrupt:254 Base address:0xe000 

As per [2], they say that Copper cabling should not experience more than one 
bit error per 10^6 bits. But as you can see even after tx and rx data in GBs, 
I still don't have any CRC errors??? May be it might be the case that there are 
actually no CRC errors so far but it is hard for me to believe. So my two 
questions are:

a) Does the above two command really give you the hardware CRC count? Or does 
the Linux driver/OS masks it somehow?

b) Does anyone know any other method in Linux to measure the Ethernet CRC 
count? 

I am wondering how much CRC errors people on this list are getting using the 
above two commands.

Any light on this subject is highly appreciated.

# ethtool -i eth0
driver: forcedeth
version: 0.61
firmware-version: 
bus-info: :00:07.0

[1] http://www.fpgarelated.com/usenet/fpga/show/31620-1.php

[2] http://www.mail-archive.com/ci...@groupstudy.com/msg93750.html

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

RE: Ethernet CRC errors statistics in Linux

2009-10-19 Thread Kushal Koolwal

Kevin,

Thanks for providing all the information from your end. I did read somewhere 
that many times kernel driver will not report back at CRC errors found in the 
Physical layer even though there is a counter for that.

Also, in our previous email, where you posted your stats, I noticed that you 
didn't have any errors on the interface that is internal (eth-int). Is the box 
with forcedeth driver statistics also internal?

I did check another box with e1000 driver and I don't see anything in error, 
frame, drop, etc.

Looks like I will have to do some more research here.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/

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



RE: Howto recover deleted files/folders without comercial apps?

2009-10-15 Thread Kushal Koolwal

apt-get install testdisk

and then use command:

photorec

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




  
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/

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



RE: Network interface testing utlity

2009-10-07 Thread Kushal Koolwal

To measure only the media, the best place to make such measurements is
 at the link level (e.g. the Network Card) if that card can be made to
 tell you when it detects block errors
Let's say the card supports measuring those block errors. Do you happen 
to know about any such utility that let's you measure that? You happen to 
mention about *wireshark* but upon reading it's user guide, I didn't find 
anything 
about measuring error rates of any kind.

For the Plan C (measuring throughput), I think iperf is a good tool.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

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



RE: Network interface testing utlity

2009-10-06 Thread Kushal Koolwal

 Give me an idea of what parameters (e.g. throughput, error rate) that
 you intend to measure. The measured parameter will give us an idea
 of the measurement intervals.
I think throughput rate for sure. Also errors encountered. To summarize I would 
like to test the overall reliability (not sure how to quantify it) of the media 
types. My analysis does not have to be very very precise but a rough idea would 
be good enough.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/

  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/

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



RE: Network interface testing utlity

2009-10-05 Thread Kushal Koolwal

 I'm not familiar with ethstatus but most error monitoring these days
 is done at the TCP/IP level in software
Ok, I will look into that.

One last thing that I would like to get some input on is how long should I run 
my tests to get decent readings? Also during that time should I just transfer 
data (large/small files) to/from simultaneously from both the boxes?

Really appreciate for your inputs so far.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/


  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

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



RE: Network interface testing utlity

2009-10-04 Thread Kushal Koolwal

 OK then. The next question is how and what you intend to test. Are
 you trying only to test a link (the media between your box and the
 next box) or end-to end (where the two boxes are separated by many
 links and many routers)?
 Probably a block diagram of your proposed test setup would help. BTW
 what media types?

The idea is to test between two boxes (connected directly with a standard CAT5 
cable) to eliminate/minimize any other network interference caused by routers, 
switches, hubs, etc.

On one box I will have my Gigabit Ethernet card (connected with different media 
types) that I want to test and on the other end of the box, I am going to have 
a standard known reference Gigabit Ethernet.

The media types are:
a) Standard CAT5 
b) Custom twisted pair

Kushal Koolwal

I do blog at http://blogs.koolwal.net/








  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

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



RE: Network interface testing utlity

2009-10-04 Thread Kushal Koolwal

 Your monitor will indirectly monitor these errors if
 it measures throughput which will decrease as the errors increase.
I always thought that the fields Error on Receiving/Transmission, for example 
in the package ethstatus, is for telling if there are any errors detected in 
the link layer? Isn't that the case? If not, then what does those error tell 
you about?
 

Kushal Koolwal

I do blog at http://blogs.koolwal.net/








 From: ow...@netptc.net
 To: kushalkool...@hotmail.com; ow...@netptc.net; debian-user@lists.debian.org
 Subject: RE: Network interface testing utlity
 Date: Sun, 4 Oct 2009 07:32:53 -0700




 Original Message 
From: kushalkool...@hotmail.com
To: ow...@netptc.net, debian-user@lists.debian.org
Subject: RE: Network interface testing utlity
Date: Sat, 3 Oct 2009 23:37:52 -0700


 OK then. The next question is how and what you intend to test. Are
 you trying only to test a link (the media between your box and the
 next box) or end-to end (where the two boxes are separated by many
 links and many routers)?
 Probably a block diagram of your proposed test setup would help.
BTW
 what media types?

The idea is to test between two boxes (connected directly with a
standard CAT5 cable) to eliminate/minimize any other network
interference caused by routers, switches, hubs, etc.

On one box I will have my Gigabit Ethernet card (connected with
different media types) that I want to test and on the other end of
the box, I am going to have a standard known reference Gigabit
Ethernet.

The media types are:
a) Standard CAT5
b) Custom twisted pair

Kushal Koolwal

I do blog at http://blogs.koolwal.net/



 OK then, here's my opintion
 All (?) the tools you mention including Wireshark which is the one I
 use will provide network statistics. Since they are software,
 however, they reside above (in the protocol sense) the link (e.g.
 Ethernet) which is where the majority of the errors are likely to
 occur (if a check sum error occurs your Ethernet card will merely
 discard it and wait for a retransmission so it will never be seen by
 your analyzer). Your monitor will indirectly monitor these errors if
 it measures throughput which will decrease as the errors increase. I
 would surmise that by installing and using one of the tools you will
 gain lots of insight and knowledge but not enough to definitively
 choose between one network card and another.
 Larry






_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

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





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

  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

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



Network interface testing utlity

2009-10-02 Thread Kushal Koolwal

Hi,

I am using Debian Lenny. I need to test/compare two different network cards - 
especially errors on Receiving and Transmitting and overall reliability.

Can anybody recommend couple of utilities for this purpose? Also while testing 
the cards should I try to send/receive huge amount of data simultaneously? What 
kind of environment should I setup for the testing?

Thanks

Kushal Koolwal

I do blog at http://blogs.koolwal.net/



  
_
Bing™  brings you maps, menus, and reviews organized in one place.   Try it now.
http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TEXT_MLOGEN_Core_tagline_local_1x1

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



RE: Network interface testing utlity

2009-10-02 Thread Kushal Koolwal

 1. Any errors in transmission or reception will most likely NOT be
 due to or caused by your cards but by the intervening media
That's alright and that is what I am trying to test. Both the networks cards 
are connected to different media types and I want to see if the media types 
make any difference.


So far I have been suggested the following utilities:
ntop, iptraf, tcpstat, ethstatus

Does it really matter which one I use? I have never done testing like this so 
just trying to pick some brain of experts here.

  
_
Microsoft brings you a new way to search the web.  Try  Bing™ now
http://www.bing.com?form=MFEHPGpubl=WLHMTAGcrea=TEXT_MFEHPG_Core_tagline_try 
bing_1x1

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



Difference between Sid's 2.6.30 and backported 2.6.30

2009-08-17 Thread Kushal Koolwal

So this is a kernel related question.

What is the best way to see the difference between:

the 2.6.30 kernel source from Sid:
http://packages.debian.org/sid/linux-source-2.6.30

and 2.6.30 kernel source from Debian backports:
http://packages.debian.org/lenny-backports/linux-source-2.6.30

Just doing a simple diff would suffice? Also which leads me to a related 
question:
Is there a script that Debian folks run on a SID kernel to produce the 
corresponding backport kernel?


The reason I asked this question is that I was having some minor issues during 
S3 state resuming with SID kernel which got solved by using Backported kernel. 
I am curious to know what piece of code changed in the kernel to fix that 
problem.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009

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



/lib/modules/kernel-version directory not being removed

2009-08-13 Thread Kushal Koolwal

In a normal scenario, whenever we do:

apt-get purge linux-image-

the corresponding:

/lib/modules/

directory gets removed from the system.

But I noticed that suppose installed some out-of-tree kernel modules and now 
when you try to remove the same kernel (for which you installed out-of-tree 
modules), I get the following error message:

Purging configuration files for linux-image-2.6.30-1-test7 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.30-3-bpo50-test10
Updating /boot/grub/menu.lst ... done

rmdir: failed to remove `/lib/modules/2.6.30-1-test7': Directory not empty
dpkg - warning: while removing linux-image-2.6.30-1-test7, directory 
`/lib/modules/2.6.30-1-test7' not empty so not removed.

In the above output I am trying to remove the kernel 2.6.30-1-test7.

I know I can explicitly remove the directory but I would is there any 
configuration file which prevents removed directory which have been tainted by 
adding some additional files/modules which were not part of the original 
package?


Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?OCID=0809TL-HM

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



RE: /lib/modules/kernel-version directory not being removed

2009-08-13 Thread Kushal Koolwal

 This sounds logical, since your out-of-tree modules are probably still
 there.

Yeah that's right. But why doesn't it (apt-get purge) remove those out-of-tree 
modules also when I try to remove the package? Is there a Debian package rule 
which 
says only remove files which were originally provided by the package and 
hence the
out-of-tree module (which were not a part of the original package (linux-image-)
gets left out and hence the directory is not removed since it is empty?

Kushal Koolwal

I do blog at http://blogs.koolwal.net/


_
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?OCID=0809TL-HM

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



RE: /lib/modules/kernel-version directory not being removed

2009-08-13 Thread Kushal Koolwal

 Would you expect removing vi to remove all the files you created with
 it? Purge means remove the configuration files that the package
 installed in addition to all the other files from the package.
Agreed, and I am not surprised that this happens. My intent for asking the
question was to know where does that information exists in the package - like
is there some kind of hook or a control file that does take care of this.

Just trying to understand what causes such a mechanism.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/


_
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:082009

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



RE: vbetool post required in Stable but not in Sid - What changed?

2009-08-07 Thread Kushal Koolwal

 Probably X and/or the corresponding driver.
Perhaps it is not the X because this happens even when I suspend from
just a plain text console.

Regarding driver, I am not sure either. I am not using any type of
framebuffer driver (not even vesa). I am just suspending from the default
ugly console.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCBpubl=WLHMTAGcrea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

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



RE: Using a package from unstable if stable has a bug?

2009-08-06 Thread Kushal Koolwal

Thank you Graham for the detailed reply. It does explain things very clearly.

Also I was thinking what's the Debian Bug fix policy in situation like this.

For example, what if I file a bug against the watchdog package in Lenny. If the
bug is confirmed by the maintainer, will it ever get fixed in future updates of 
Lenny?
Or only the critical/serious bugs are only fixed (in the form of security 
updates)
on a Stable release?

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCBpubl=WLHMTAGcrea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

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



vbetool post required in Stable but not in Sid - What changed?

2009-08-06 Thread Kushal Koolwal

After resuming from S3 (Suspend to ram) state on my Lenny I had to issue
the vbetool post command to initialize Video BIOS otherwise I use to get a 
blank screen after resuming.

However on Debian Sid I don't have to run the vbetool as my system (and video)
comes back up just fine.

I am using the exact kernel (2.6.30) on Lenny and Sid. Now I would like to know
what exactly changed (if not the kernel) between Lenny and Sid that fixes the
vbetool and hence the video BIOS initialization problem.

Earlier I thought it was a BIOS issue but then when it worked just fine on Sid
I was puzzled and hence I am trying to find out what change made the fix?

I don't think it could be a package related thing as almost all the tools to put
system into S3 state works fine on Sid and those same tools on Lenny requires 
the
vbetool command. Now if cannot be possible the all the packages/tools (like 
uswsusp,
pm-utils, gnome-power-manager) received a commox fix between Lenny and Sid.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009

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



Using a package from unstable if stable has a bug?

2009-08-05 Thread Kushal Koolwal

Let's say the package watchdog in Lenny has a bug which probably got fixed in 
the later upstream versions of watchdog in Debian Sid.

So I pulled in the sources for watchdog package from Debian Sid on my Lenny 
system and compiled the watchdog package and it built without complaining about 
anything.

What are some of the ramifications using a compiled package from Sid in Stable?

Is there any elegant way to workaround the situation? How about backporting? Or 
with the above process that I just described, did I just backported the package?

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009

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



RE: udev warning message on Debian 5.0

2009-07-31 Thread Kushal Koolwal

Either use a Live CD or add init=/bin/bash to the kernel commandline
 to make it accessible.

Doing

init=/bin/bash
mount -o rw,remount /
rm -rf /dev/.udev/ 

worked fine!

Thank you very much guys. You rock.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TXT_MLOGEN_Local_Local_Restaurants_1x1

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



RE: udev warning message on Debian 5.0

2009-07-30 Thread Kushal Koolwal

Assuming Kushal uses an initramfs, without it the boot process will
 halt rather early if the kernel cannot find /dev/console.
Actually I am not using initramfs. Would leaving /dev/console and deleting 
everything under /dev/.udev/ work?


Kushal Koolwal

I do blog at http://blogs.koolwal.net/









_
NEW mobile Hotmail. Optimized for YOUR phone.  Click here.
http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009

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



apt-get upgrade dpkg error in chroot environment

2009-07-30 Thread Kushal Koolwal

SO I have a debootrap Debian 5.0 (i386) on /home/kushalk/debianTest

I chroot into it by:

#chroot  /home/kushalk/debianTest

and then mount the /proc by:

#mount -t proc proc /proc

Now when I run:

#apt-get update
#apt-get upgrade

 I always noticed that whenever a kernel tries to get upgraded,
I get the following error message:
..
Setting up linux-image-2.6.26-2-686 (2.6.26-17lenny1) ...
Running depmod.
Running mkinitramfs-kpkg.
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.26-17 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.26-17 was configured last, according to dpkg)
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
User postinst hook script [update-grub] exited with value 1
dpkg: error processing linux-image-2.6.26-2-686 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.26-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:/#
..

However if the upgrade process does not involve any kernel upgrade then apt-get 
does not complain about anything.

Any ideas?

Please CC me as I am not on the Mailing List.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. 
Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009cat=sports

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



RE: udev warning message on Debian 5.0

2009-07-30 Thread Kushal Koolwal

You should rm -rf /dev/.udev/, but it is better to leave the rest of
/dev alone.Sven, I did rm -rf /dev/.udev/ and when I restarted my system I 
again
got the warning message and /dev/.udev was created again automatically.


Also I checked on another system which does not give this message and it
seems that even that system does have /dev/.udev/

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TXT_MLOGEN_Local_Local_Restaurants_1x1

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



udev warning message on Debian 5.0

2009-07-28 Thread Kushal Koolwal

Recently I was having some trouble with my udev, so I purged udev, rebooted 
system and re-install udev again. After that most of the udev startup error 
went away but now I get the following warning message during system boot:

.udev/ already exists on the static /dev!

Any ideas?

Please copy me on the reply since I am not on the mailing list.

Thanks

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009

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



RE: Module.symvers is missing; modprobe error

2009-07-09 Thread Kushal Koolwal

 Normally you can ignore that warning.
Not sure about this. If I ignore the warning than the kernel modules that get 
build do not load properly.
The give an:
insmod: Invalid module format -1 
error message. Also they don't get loaded using modprobe. I have to use the 
dumb insmod command.

 Any reason you use linux-source rather than linux-headers?
I didn't find linux-headers package for 2.6.29 (testing/sid) [1]. All the 
headers package for 2.6.29 are
for back ported kernel (linux-headers-2.6.29-bpo.2). May be I am looking at the 
wrong places?
Can I use the headers package from backport against the 2.6.29 kernel image 
that I downloaded from testing/sid.?

[1] 
http://packages.debian.org/search?keywords=linux-headers-2.6.29searchon=namessuite=allsection=all

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

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



Module.symvers is missing; modprobe error

2009-07-05 Thread Kushal Koolwal

So I am trying to build a out-of-tree kernel module for my graphics chipset.

I am using Debian 5.0 (x86) with 2.6.29-1-686 kernel.

Now as soon as I give the make command from the source directory of my 
graphics chipset, I get the following warning:
WARNING: Symbol version dump /usr/src/linux-source-2.6.29/Module.symvers 

   is missing; modules will have no dependencies and modversions. 

The build process continues and it does build the two required modules 
successfully - drm.ko psb.ko. I need these two custom modules to get Xorg 
graphics driver working.

Now as soon as I try to load these two modules I get the following error 
message for each of them:
Invalid module format -1

Upon searching I found that the Module.symvers is the culprit. How do I take 
care of this?

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

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



Force the kernel to use generic ide driver

2009-07-02 Thread Kushal Koolwal

I am using a Etch and a half kernel 2.6.24 on my Debian Lenny system. This 
kernel does not have the IDE driver for my chipset. However, I do remember that 
if the native IDE driver is not present, then the generic ide driver is loaded. 
However, in my case Debian does not load the generic ide driver and it gets 
stuck at the message:

Waiting for root filesysyem.

Does anybody know how can I force the 2.6.24 kernel to load the generic ide 
driver for my IDE chipset?

Thanks

Kushal Koolwal

P.S. I also posted this question here:
http://www.linuxquestions.org/questions/debian-26/using-generic-ide-driver-737011/

but was not able to resolve.

I do blog at http://blogs.koolwal.net/




_
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

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



Against which package to report a bug?

2009-06-18 Thread Kushal Koolwal

Hi,

My IDE controller users the PATA_SCH module in the Linux kernel. I am using 
Debian 5.0 with 2.6.30 kernel from SID and I get some BUS error messages 
related to PATA_SCH module in the dmesg.

I am wondering against which package should I file my bug report? I see these 
error messages on 2.6.26, 2.6.29 Debian kernels too.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

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



RE: Xorg driver from Ubuntu in Lenny

2009-06-17 Thread Kushal Koolwal

Install the devscripts-package, change to the source directory of the psb 
module and do 'debuild'. It willtell you which -dev package are missing, 
install them and repeat. If everything goes well, you should havea debian 
package which can be installed with 'dpkg -i xserver-xorg...deb'.

So I tried following the steps and I get errors:

**
checking for XORG... configure: error: Package requirements (xorg-server= 
1.0.99.901 xproto fontsproto xf86dgaproto ) were not met:

No package 'xorg-server' found
No package 'xproto' found
No package 'fontsproto' found
No package 'xf86dgaproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -d -us -uc failed
#
**
 Any ideas what to proceed further.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/








 From: kushalkool...@hotmail.com
 To: debian-user@lists.debian.org
 Subject: Xorg driver from Ubuntu in Lenny
 Date: Mon, 15 Jun 2009 18:58:20 -0700


 Hi,

 The graphics driver for my chipset (xserver-xorg-video-psb) has not yet made 
 into Debian's repo (not even experimental) but is available in Ubuntu repo.
 http://packages.ubuntu.com/ro/hardy/i386/xserver-xorg-video-psb/download

 I see that I can install the above package on my Debian 5.0 (2.6.30 kernel - 
 x86) system however, the X server won't start and gives the following error 
 messages:

 (II) Module Intel Poulsbo: vendor=X.Org Foundation
 compiled for 1.3.0, module version = 0.0.1
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 1.2
 (EE) module ABI major version (1) doesn't match the server's version (2)
 (II) UnloadModule: psb
 (II) Unloading /usr/lib/xorg/modules/drivers//psb_drv.so
 (EE) Failed to load module psb (module requirement mismatch, 0)
 (II) LoadModule: mouse
 (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
 (II) Module mouse: vendor=X.Org Foundation
 compiled for 1.4.0.90, module version = 1.3.0
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 2.0
 (II) LoadModule: kbd
 (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
 (II) Module kbd: vendor=X.Org Foundation
 compiled for 1.4.0.90, module version = 1.3.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 2.0
 (EE) No drivers available.

 Fatal server error:
 no screens found

 Any ideas how to use a Ubuntu package in Debian and is there any way I can 
 resolve the above error messages (compiling by source)?

 Thanks

 Kushal Koolwal

 I do blog at http://blogs.koolwal.net/




 _
 Windows Live™: Keep your life in sync.
 http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009

_
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009

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



Xorg driver from Ubuntu in Lenny

2009-06-15 Thread Kushal Koolwal

Hi,

The graphics driver for my chipset (xserver-xorg-video-psb) has not yet made 
into Debian's repo (not even experimental) but is available in Ubuntu repo.
http://packages.ubuntu.com/ro/hardy/i386/xserver-xorg-video-psb/download

I see that I can install the above package on my Debian 5.0 (2.6.30 kernel - 
x86) system however, the X server won't start and gives the following error 
messages:

(II) Module Intel Poulsbo: vendor=X.Org Foundation
compiled for 1.3.0, module version = 0.0.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.2
(EE) module ABI major version (1) doesn't match the server's version (2)
(II) UnloadModule: psb
(II) Unloading /usr/lib/xorg/modules/drivers//psb_drv.so
(EE) Failed to load module psb (module requirement mismatch, 0)
(II) LoadModule: mouse
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
compiled for 1.4.0.90, module version = 1.3.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: kbd
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor=X.Org Foundation
compiled for 1.4.0.90, module version = 1.3.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(EE) No drivers available.

Fatal server error:
no screens found

Any ideas how to use a Ubuntu package in Debian and is there any way I can 
resolve the above error messages (compiling by source)?

Thanks

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009

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



Kernel Memory corruption error messages

2009-04-16 Thread Kushal Koolwal

Has any lately seen the following memory error messages (from dmesg) after 
resuming from Suspend to Ram (S3). I am using Debian Lenny with 2.6.28 kernel.


[  179.822885] Corrupted low memory at c0007ffc (7ffc phys) = 82ea
[  179.834294] [ cut here ]
[  179.834310] WARNING: at arch/x86/kernel/setup.c:718 
check_for_bios_corruption+0xa0/0xaa()
[  179.834326] Memory corruption detected in low memory
[  179.845435] Modules linked in: snd_pcm_oss snd_mixer_oss dme1737 hwmon_vid 
lm90 snd_cs5535audio snd_ac97_codec pcspkr ac97_bus snd_pcm snd_timer snd 
soundcore snd_page_alloc evdev
[  179.845505] Pid: 0, comm: swapper Not tainted 2.6.28-1-epm15-test1 #1
[  179.845519] Call Trace:
[  179.845904]  [] warn_slowpath+0x5a/0x78
[  179.845927]  [] handle_fasteoi_irq+0x8a/0xbc
[  179.845947]  [] do_IRQ+0x5a/0x6c
[  179.845966]  [] common_interrupt+0x23/0x28
[  179.845988]  [] vprintk+0x22b/0x24a
[  179.846008]  [] vprintk+0x240/0x24a
[  179.846029]  [] read_tsc+0x6/0x22
[  179.846053]  [] getnstimeofday+0x4a/0xc5
[  179.846078]  [] mfgpt_start_timer+0x4b/0x5b
[  179.846103]  [] printk+0xe/0x11
[  179.846124]  [] check_for_bios_corruption+0xa0/0xaa
[  179.846146]  [] periodic_check_for_corruption+0x0/0x28
[  179.846169]  [] periodic_check_for_corruption+0x5/0x28
[  179.846194]  [] run_timer_softirq+0x12a/0x18e
[  179.846214]  [] __do_softirq+0x4a/0xbc
[  179.846232]  [] do_softirq+0x22/0x26
[  179.846249]  [] irq_exit+0x25/0x5f
[  179.846267]  [] do_IRQ+0x5a/0x6c
[  179.846285]  [] common_interrupt+0x23/0x28
[  179.846308]  [] default_idle+0x25/0x38
[  179.846326]  [] cpu_idle+0x41/0x6f
[  179.846339] ---[ end trace 5f499d87af471ce2 ]---
debian:~# 

The system does seem to work fine even after the kernel panic but I am little 
bit nervous that in the long run it might hurt.

Also does anybody know how to debug this issue like -
- Is it a module that is causing the problem or
- Is it a core kernel issue or
- A Hardware/BIOS issue.

I also filed a bug report few days back:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523964

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
_
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009

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



RE: Which FS for USB Flash Drive

2009-01-28 Thread Kushal Koolwal

Hi Rick,
 If you will, it's doing the JFFS2 thing for you -- you don't need the 
 software in the kernel to do it a second time.

Do you know any resource where I can find the steps on how to install on JFFS2?

Also I was wondering if all this what we discussed regarding ext2 (noatime or 
relatime option) on USB flash drive holds true for USB hard drives also?
AFAIU USB hard drives are exactly like IDE hard drives with just an USB 
interface. I am assuming that just having ext3 would be fine for USB hard 
drives?

Thanks

I do blog at http://blogs.koolwal.net/









_
Windows Live™ Hotmail®…more than just e-mail. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009

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



Which FS for USB Flash Drive

2009-01-27 Thread Kushal Koolwal

Hi,


Does anybody have any experience with installing Debian (say Lenny) on USB 
flash drives? I would like to install Debian on my PQI 4 GB USB flash drive but 
I am not sure which filesystem to use - ext2, ext3, XFS?

My primary concern/criteria in selecting a fs would be throughput/performance.

I am tried searching around the internet but most of the articles talk about 
preparing a LIVE USB flash drive which is *not* what I would like to do. I just 
want a plain Debian system on my USB flash drive just like on any IDE Hard 
Drive.

Thanks

I do blog at http://blogs.koolwal.net/




_
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009

RE: Which FS for USB Flash Drive

2009-01-27 Thread Kushal Koolwal

What is the difference? What difference do you want to achieve with respect to 
a 'live' debian system?

I would like to use my USB device for reading and writing to the drive just as 
we do on a regular IDE hard drive.
AFAIK, a live usb system would not allow me to write data persistently just 
like a live CD.

Also my original question was for a recommendation of FS for installing Debian 
on a USB flash drive.

Thanks.

I do blog at http://blogs.koolwal.net/








 From: kushalkool...@hotmail.com
 To: debian-user@lists.debian.org
 Subject: Which FS for USB Flash Drive
 Date: Tue, 27 Jan 2009 11:07:55 -0800








 Hi,


 Does anybody have any experience with installing Debian (say Lenny) on USB 
 flash drives? I would like to install Debian on my PQI 4 GB USB flash drive 
 but I am not sure which filesystem to use - ext2, ext3, XFS?

 My primary concern/criteria in selecting a fs would be throughput/performance.

 I am tried searching around the internet but most of the articles talk about 
 preparing a LIVE USB flash drive which is *not* what I would like to do. I 
 just want a plain Debian system on my USB flash drive just like on any IDE 
 Hard Drive.

 Thanks

 I do blog at http://blogs.koolwal.net/




 
 Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check it out.

_
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_012009

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



RE: Which FS for USB Flash Drive

2009-01-27 Thread Kushal Koolwal

Ie. you want to write 'data' to it as opposed to install debian to it.
Both. Sorry for the confusion. I would like to install Debian on USB Flash 
drive and also read/write data (store files,etc.) just like a hard drive.

 How did you get this idea? Read [2].
Thanks for the link and clearing my misconception. For some reasons I thought 
Live CD = Live USB (except it is on USB media).

 IIRC, it's also recommended to use the noatime option to mount to 
reduce the writes even more and prolong the life of the flash drive.
Thanks Nate for this tip.

Finally if anybody has followed any particular tutorial to create a Debian Live 
USB flash drive, can you point that out? Otherwise I will just do a wild search 
and pick one of them.

I do blog at http://blogs.koolwal.net/









_
Windows Live™ Hotmail®…more than just e-mail. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009

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



RE: Which FS for USB Flash Drive

2009-01-27 Thread Kushal Koolwal

 Probably the best r/w filesystem for flash based devices in JFFS2.
I don't recollect an option of formatting the FS as JFFS2 in the Debian Lenny 
Installation CD?
Live is exactly what you want, but it can't be a direct conversion of a Live
CD, since they generally use a r/o squashfs, for the compression.
Exactly! Glad you spoke about squashfs. I really don't want to use those things 
- squashfs, unionfs and all that.
I really would like to keep it as simple as it can be - just like installing on 
a PATA Hard disk. And that's what I wanted to
find out here if there is anyone who has installed Debian on USB Flash device 
(w/o using squashfs) and on what FS did they installed.

Elijah, glad to know that you have tried this before and you had no issues.

I do blog at http://blogs.koolwal.net/
_
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_012009

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



Total Packages in Sid?

2009-01-12 Thread Kushal Koolwal

Hi,

I just got curious and I decided to count the total number of packages (across 
all architectures and all branch - main, contrib, non-free) in the current Sid 
branch.

Here is what I did:

1. Downloaded the file:
http://packages.debian.org/unstable/allpackages?format=txt.gz


2. and then give the command:
wc -l allpackages.txt
30454

3. Subtract 6 (because of the header in the beginning) from the total that you 
get.

So is it correct to say that Debian Sid has around 30448 (roughly) packages?

I would like to know if this method is correct or not/

Thanks

Kushal Koolwal





_
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009

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



Industrial Grade Debian Linux?

2008-12-17 Thread Kushal Koolwal

Hi,

I am using Debian for last 3 years. I have heard the term IGL (Industrial Grade 
Linux) quite a few times and I would like to know what all changes does one 
need to make to Debian's current release (etch) in order for it to be 
considered as Industrial Grade? It seems there is no formal specification 
regarding IGL unlike CGL (Carrier Grade Linux) which is very very formal and 
complex too. Some people think that it is just a Marketing Hype.

If anyone of you can shed light on this issue, it would be great.

Also, if this is the not the correct list to post the question please let me 
know and I will post it in the appropriate list.

Thanks

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
You live life online. So we put Windows on the web. 
http://clk.atdmt.com/MRT/go/127032869/direct/01/

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



PS/2 mouse not working with USB legacy option enabled in Kernel 2.6

2005-09-06 Thread Kushal Koolwal

Hi,

I have been using Debian 3.1 (Sarge) with kernel 2.6.8-2-386 on my Pentium M 
system. A couple of days ago I noticed that my PS/2 mouse won't work when I 
enable the 'Legacy USB' option in my BIOS setting. If I disable the 'Legacy 
USB' option, my PS/2 mouse works fine along with USB mouse. My USB mouse 
works fine in both the situation i.e. when the 'Legacy USB' is 
enable/disable I have tried the workarounds like:


psmouse.proto=imps and i8042.nomux as kernel boot parameters but it didn;t 
help.


I did a lot of researching over the Internet and then I found that it is 
because in Kernel 2.6 they have moved the drivers into the kernel space from 
the user space. Unfortunately I was not able to find a solution how to get 
the PS/2 mouse working with USB Legacy option enabled in the BIOS.


Also, I have tried the following link but I was not successful.
http://www.informatik.uni-freiburg.de/~danlee/fun/psaux/

Also the following links reports that it is a bug but apparently no clear 
solution has been given.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120859
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137691

Any help will be greatly appreciated.

I will be glad to post any diagnostic output like:
cat /proc/bus/input/devices
lspci -xvvv
dmidecode
etc


Kushal Koolwal



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