Re: KQemu on Debian Testing

2006-12-14 Thread Amit Joshi
On Wednesday 13 December 2006 02:39, Daniel Baumann wrote:
 David Baron wrote:
  You need testing/non-free or unstable/non-free.
 
  Unstable non-free, I certainly have stuff listed. No kqemu
 
  I compile it manually but having it in m-a would be nice.

 there is kqemu-source which is usable through m-a, additionally there
 are prebuild module packages for debian kernels.

 (unstable_i386)[EMAIL PROTECTED]:~$ apt-cache search kqemu
 kqemu-modules-2.6-486 - QEMU Accelerator modules for Linux 2.6 on x86
 kqemu-modules-2.6-686 - QEMU Accelerator modules for Linux 2.6 on
 PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6-686-bigmem - QEMU Accelerator modules for Linux 2.6 on
 PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6-k7 - QEMU Accelerator modules for Linux 2.6 on AMD K7
 kqemu-modules-2.6-vserver-686 - QEMU Accelerator modules for Linux 2.6
 on PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6-vserver-k7 - QEMU Accelerator modules for Linux 2.6 on
 AMD K7
 kqemu-modules-2.6-xen-686 - QEMU Accelerator modules for Linux 2.6 on
 PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6-xen-k7 - QEMU Accelerator modules for Linux 2.6 on AMD K7
 kqemu-modules-2.6-xen-vserver-686 - QEMU Accelerator modules for Linux
 2.6 on PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6.18-3-486 - QEMU Accelerator modules for Linux 2.6.18
 on x86
 kqemu-modules-2.6.18-3-686 - QEMU Accelerator modules for Linux 2.6.18
 on PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6.18-3-686-bigmem - QEMU Accelerator modules for Linux
 2.6.18 on PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6.18-3-k7 - QEMU Accelerator modules for Linux 2.6.18 on
 AMD K7
 kqemu-modules-2.6.18-3-vserver-686 - QEMU Accelerator modules for Linux
 2.6.18 on PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6.18-3-vserver-k7 - QEMU Accelerator modules for Linux
 2.6.18 on AMD K7
 kqemu-modules-2.6.18-3-xen-686 - QEMU Accelerator modules for Linux
 2.6.18 on PPro/Celeron/PII/PIII/P4
 kqemu-modules-2.6.18-3-xen-k7 - QEMU Accelerator modules for Linux
 2.6.18 on AMD K7
 kqemu-modules-2.6.18-3-xen-vserver-686 - QEMU Accelerator modules for
 Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
 kqemu-source - Source for the QEMU Accelerator module
 (unstable_i386)[EMAIL PROTECTED]:~$


This is all I get. (Remember..I am on Testing)

debian:~# apt-cache search kqemu
kqemu-source - Source for the QEMU Accelerator module

Then I guess I need to upgrade to Unstable which I will let go. I will try 
Bochs then..

-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: fs system for desktop

2006-12-11 Thread Amit Joshi
On Monday 11 December 2006 18:09, Nate Bargmann wrote:
 * Douglas Tutty [EMAIL PROTECTED] [2006 Dec 11 06:16 -0600]:
  On Mon, Dec 11, 2006 at 04:11:21PM +0800, Jeff Zhang wrote:
   which fs system (jfs, xfs or future ext4) will perform better for
   desktop usage under occasional power failure circumstance? like recover
   from power failure and fragment after long time run.
   thanks in advance!

For recovery from power failure, XFS won't suit you cuz of its strange scaling 
thing. 

 
  I ran into this.  I started with ext2 (the standard) which got corrupted
  and lost files with power failure.  Went to ext3 (ext2 + journal) which
  was better but __silently__ would lose files.  Went to Reiserfs which
  would get corrupted by reiserfsck.  Went to JFS and no more problems.


I don't know but never had any such problem with EXT3. I have been using EXT3 
on my / partition for the last 3 years and haven't had one such problem. 

I have had some bad experiences with JFS though, maybe cuz the HDD was 
failing. But formatted it with XFS and it worked fine. To tell you the truth, 
I think XFS is pretty reliable and very fast..but then I have got a UPS to 
withstand Power failures with XFS. 

So my choice for backups would still be EXT3. Again, cuz it has got more 
number of tools written for recovery and are pretty good. 
-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: KQemu on Debian Testing

2006-12-11 Thread Amit Joshi
On Sunday 10 December 2006 23:10, Steve Kemp wrote:


   su -
   apt-get install module-assistant
   module-assistant prepare
   module-assistant build kqemu-source
   module-assistant install kqemu-source
   depmod -a
   modprobe kqemu

 Steve

Thanks, but I don't think that helped. This is the log of the output of the 
above mentioned commands: 

 debian:~# cd /usr/src/


 debian:/usr/src# module-assistant prepare
 Getting source for kernel version: 2.6.17-2-686
 Kernel headers available in /lib/modules/2.6.17-2-686/build
 apt-get install build-essential
 Reading package lists... Done
 Building dependency tree... Done
 build-essential is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

 Done!



 debian:/usr/src# module-assistant build kqemu-source
 Extracting the package tarball, /usr/src/kqemu.tar.bz2, please wait...
 Done with
 /usr/src/kqemu-modules-2.6.17-2-686_1.3.0~pre9-2+2.6.17-9_i386.deb .
 debian:/usr/src# module-assistant install kqemu
 kqemu-modules-2.6.17-2-686_1.3.0~pre9-2+2.6.17-9_i386.deb
 kqemu.tar.bz2



 debian:/usr/src# module-assistant install
 kqemu-modules-2.6.17-2-686_1.3.0~pre9-2+2.6.17-9_i386.deb
 kqemu-modules-2.6.17-2-686_1.3.0~pre9-2+2.6.17-9_i386.deb, what is
 kqemu-modules-2.6.17-2-686_1.3.0~pre9-2+2.6.17-9_i386.deb?



 debian:/usr/src# module-assistant install kqemu-source
 Selecting previously deselected package kqemu-modules-2.6.17-2-686.
 (Reading database ... 72137 files and directories currently installed.)
 Unpacking kqemu-modules-2.6.17-2-686 (from
 .../kqemu-modules-2.6.17-2-686_1.3.0~pre9-2+2.6.17-9_i386.deb) ... dpkg:
 dependency problems prevent configuration of kqemu-modules-2.6.17-2-686:
 kqemu-modules-2.6.17-2-686 depends on qemu (= 0.8.2); however:
   Version of qemu on system is 0.8.1-1.
 dpkg: error processing kqemu-modules-2.6.17-2-686 (--install):
  dependency problems - leaving unconfigured
 Errors were encountered while processing:
  kqemu-modules-2.6.17-2-686

 I: Direct installation failed, trying to post-install the dependencies

 Reading package lists... Done
 Building dependency tree... Done
 Correcting dependencies...Done
 The following packages will be REMOVED
   kqemu-modules-2.6.17-2-686
 0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
 1 not fully installed or removed.
 Need to get 0B of archives.
 After unpacking 180kB disk space will be freed.
 Do you want to continue [Y/n]? y
 (Reading database ... 72141 files and directories currently installed.)
 Removing kqemu-modules-2.6.17-2-686 ...
   * Removing kqemu device: done.


 debian:/usr/src# depmod -a


 debian:/usr/src# modprobe kqemu
 FATAL: Module kqemu not found.

-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: KQemu on Debian Testing

2006-12-11 Thread Amit Joshi
On Monday 11 December 2006 22:43, Mathias Brodala wrote:
 Hello David.

 David Baron, 11.12.2006 15:21:
  On Sun, Dec 10, 2006 at 11:15:35PM +0530, Amit Joshi wrote:
  I recently installed Qemu, and later found out from the documentation
  that I need to install KQemu too..for that acceleration thingy.
 
  Did not know this was distributed on Debian. This is, of course, stated
  as proprietary. Less than non-free if you read his conditions.
 
  What needs be in sources.list to see this?

 You need testing/non-free or unstable/non-free.


 Regards, Mathias

Now, I wanna install the new Qemu (from SID)..so is there any way that apt 
will only fetch stuff related to Qemu?

Like if I add it this way..

deb url unstable/non-free qemu

Will it only fetch packages related to qemu??

And also, is it wise to download and install the kernel image from SID reps or 
compile it myself?
-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: Unkown Synaptic Message

2006-11-29 Thread Amit Joshi
On Tuesday 28 November 2006 18:08, Florian Kulzer wrote:
 On Tue, Nov 28, 2006 at 15:32:20 +0530, Amit Joshi wrote:
  On Monday 27 November 2006 23:42, Wayne Topa wrote:
   Peter Hillier-Brook([EMAIL PROTECTED]) is reported to have said:
I would be grateful if someone would explain the following for me:
   
W: There are no public key available for the following key IDs:
A70DAF536070D3A1
   
This appeared during a package reload.
  
   And the answer to this question was first answered on the 20th on this
   list, as well as many times since. Googleing or searching this
   would/should be your first resource.
 
  Recently I started getting the errors that the packages are Unsigned,
  so there ain't no problem of the keys not matching here.
  Anybody experiencing the same problem?
  BTW I am using apt-get :)

 Which packages are unsigned? What is the output of

Well..it was just a regular update;upgrade procedure, so I don't really 
remember...


 ls /var/lib/apt/lists/*_Release{,.gpg}

 --
 Regards,
   Florian

debian:~# ls /var/lib/apt/lists/*_Release{,.gpg}
/var/lib/apt/lists/ftp.debian.org_debian_dists_testing_Release
/var/lib/apt/lists/security.debian.org_dists_testing_updates_Release
/var/lib/apt/lists/security.debian.org_dists_testing_updates_Release.gpg
/var/lib/apt/lists/www.debian-multimedia.org_dists_testing_Release
/var/lib/apt/lists/www.debian-multimedia.org_dists_testing_Release.gpg


Thanks. But I don't know..now it doesn't give me that error message. 

-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: Unkown Synaptic Message

2006-11-28 Thread Amit Joshi
On Monday 27 November 2006 23:42, Wayne Topa wrote:
 Peter Hillier-Brook([EMAIL PROTECTED]) is reported to have said:
  I would be grateful if someone would explain the following for me:
 
  W: There are no public key available for the following key IDs:
  A70DAF536070D3A1
 
  This appeared during a package reload.

 And the answer to this question was first answered on the 20th on this
 list, as well as many times since. Googleing or searching this
 would/should be your first resource.


Recently I started getting the errors that the packages are Unsigned, so 
there ain't no problem of the keys not matching here. 
Anybody experiencing the same problem?
BTW I am using apt-get :)

-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: upgrading trashed my font display

2006-11-27 Thread Amit Joshi
On Monday 27 November 2006 07:16, Adam Hardy wrote:
 I upgraded a whole set of packages in etch using synaptic.

 I answered several of the questions posed by the installation processses of
 some of the packages but I must have answered one of them very wrongly.

Were these dependency issues? Forcing to install packages inspite of 
dependency problems may lead to unexpected system inconsistencies. 


 Now my system-, firefox- and thunderbird text refuses to appear until I
 drag the mouse across it.


Not sure what that means. 

 I am not sure how I managed to trash the system and I don't see anything
 immediate to restore it.

 This is the same in KDE, Gnome and Enlightenment. Can someone tell me where
 to start?

 Thanks
 Adam

-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: Mounting FreeBSD Partition on Linux

2006-11-27 Thread Amit Joshi
On Monday 27 November 2006 19:54, Matus UHLAR - fantomas wrote:
trimmed

 looking at /boot/config-2.6.8-3-686, it's allowed in debian kernels:

 CONFIG_BSD_DISKLABEL=y

   Then, you need UFS filesystem support. Luckily, UFS write support is
   dangerous for some versions of UFS, but it's safe for FreeBSD's UFS
   (however I'm not sure if that woeks with softupdates...)
 

 Last time I tried work with FreeBSD partitions on linux, it worked. I would
 try it again, after backing up...

 however, looking again at /boot/config-2.6.8-3-686, writing is not allowed
 in debian kernels:

 CONFIG_UFS_FS=m
 # CONFIG_UFS_FS_WRITE is not set

Yes. I checked out the config file of my kernel, and I saw the same line there 
too. But now, there's a problem. I can't boot to FreeBSD. It is giving me 
some errors. I don't know if _trying_to_mount_ the FreeBSD partition on Linux 
has somehow corrupted the data on it! ( But I don't seriously think mount can 
do any damage). Last time I had tried to mount it, I got the errors such 
as Wrong FS Type etc. 


Anyways, keeping my fingers crossed. Can anybody tell me how do I go
about mounting the partition?
  
   does the kernel report anything about the connected drive and
   partitions on it?
 
  I am not sure what are you trying to ask here. Does the kernel report
  anything about the connected drive?? Umm.no idea! How do I check that?
 
  Well..fdisk -l /dev/hdb says that this hard disk has a partition tagged
  as FreeBSD.  Does it help?

 the fact that fdisk can create partition marked as FreeBSD, and fact that
 fdisk can create FreeBSD disklabel on such partition, does not mean that
 the kernel can do that. However using: dmesg | grep hdb should tell you
 if your kernel recognizes it...

Ok. I guess fdisk does recognize it. What do you think?

debian:~# dmesg | grep hdb
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
hdb: SAMSUNG SV0412H, ATA DISK drive
hdb: max request size: 128KiB
hdb: 78242976 sectors (40060 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)
hdb: cache flushes supported
 hdb: hdb1
 hdb1: bsd: hdb5 hdb6 hdb7 hdb8 hdb9 

Check out the last line. Is it like I need to mount these partitions instead 
of /dev/hdb1? Do they represent 
Well...I am pretty new to this BSD style of Partitioning. I read in the 
Handbook that FreeBSD can only be installed on a primary partition. Then I 
created one Primary partition, and let it setup the partition automatically. 
Then I don't know what is it called - it created like /, /var/, /usr etc 
inside this primary partition. Can anybody explain this? 
I guess this makes is quite relevant to my inability to mount the partition. 

Here are the precise details of the setup...(it created these 
folders/slices/partitions ..whatever!! ..on selecting the _auto_configure_ 
option. 

ad1s1a  512MB   / UFS2
ad1s1b  422MB   / SWAP
ad1s1d  1235MB /  UFS2+S
ad1s1e   512MB  /  UFS2+S
ad1s1f   17313MB/  UFS2+S



-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Mounting FreeBSD Partition on Linux

2006-11-26 Thread Amit Joshi
I am trying to mount the FreeBSD Partition on my Debian Testing system with 
the 2.6.17-2 kernel. 
I tried searching the config file and did not find any reference to UFS or 
U2FS in that file. So maybe it is not supported by my kernel?

Anyways, keeping my fingers crossed. Can anybody tell me how do I go about 
mounting the partition? 

I tried searching about the same on the internet, but the documentation on 
tldp.org seemed to be pretty ancient. They talked about the 2.1 kernels. 
-- 
Regards, 
Amit. 
http://copperskullcprogramming.blogspot.com
Remember fellas, what we do in life echoes in eternity! 


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



Re: Mounting FreeBSD Partition on Linux

2006-11-26 Thread Amit Joshi
On Sunday 26 November 2006 21:00, Matus UHLAR - fantomas wrote:
 On 26.11.06 20:21, Amit Joshi wrote:
  I am trying to mount the FreeBSD Partition on my Debian Testing system
  with the 2.6.17-2 kernel.
  I tried searching the config file and did not find any reference to UFS
  or U2FS in that file. So maybe it is not supported by my kernel?

 you first need to have FreeBSD partitions support to be able to work with
 them. 

Thanks. How do I get that? :)

 Then, you need UFS filesystem support. Luckily, UFS write support is 
 dangerous for some versions of UFS, but it's safe for FreeBSD's UFS
 (however I'm not sure if that woeks with softupdates...)

Oh..I wasn't aware of this. How about reading / writing from/to Linux 
partitions from FreeBSD?

  Anyways, keeping my fingers crossed. Can anybody tell me how do I go
  about mounting the partition?

 does the kernel report anything about the connected drive and partitions on
 it?

I am not sure what are you trying to ask here. Does the kernel report anything 
about the connected drive?? Umm.no idea! How do I check that?

Well..fdisk -l /dev/hdb says that this hard disk has a partition tagged as 
FreeBSD. 
Does it help?

-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: Mounting FreeBSD Partition on Linux

2006-11-26 Thread Amit Joshi
On Monday 27 November 2006 00:54, Roberto C. Sanchez wrote:
 On Sun, Nov 26, 2006 at 11:34:03PM +0530, Amit Joshi wrote:
  Oh..I wasn't aware of this. How about reading / writing from/to Linux
  partitions from FreeBSD?

 IIRC, FreeBSD has read-only support for ext2.

 Regards,

 -Roberto

Oh..seems like these two Operating systems are not quite compatible with each 
other. I am in search of good documentation for doing these things. If 
anybody finds any recent documentation for this stuff, please post back. 
-- 
Regards, 
Amit.
http://copperskullcprogramming.blogspot.com


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



Re: xserver-xorg: recent upgrade blowed out my X server

2006-11-25 Thread Amit Joshi
On Saturday 25 November 2006 16:30, Chris Bannister wrote:
 On Wed, Nov 22, 2006 at 02:23:53PM +0530, Amit Joshi wrote:
  On Tuesday 21 November 2006 21:56, Raffaele Morelli wrote:
  trimmed
 
   mhhh... I don't have a  Savage Video Cards section,  I am compiling
   from 2.6.8 sources, should I use newer ones?.. but still asking myself
   why it worked..
   going crazy with this!
 
  Yep. You need to upgrade. The 2.6.8 Kernel doesn't support this Video
  Card. I am using the 2.6.17-2 kernel now. Works fine.
 
  I had tried the 2.4 Sarge Kernel. (don't remember the exact version
  number though). The 2.4 kernel used to work fine. Maybe this explains why
  everything was working fine previously.
  But the 2.6.8 kernel (The unstable kernel on the Sarge CD) doesn't
  support the savage module.

 Just installed Sarge (3.1r1 CD's) with 2.6.8 kernel on a machine with
 that video card and the savage driver worked. The s3 driver would NOT
 work.


Oh...its good to see that it has worked with you. I had a lotta trouble with 
the 2.6.8 Kernel on Debian Sarge 3.1r0 and that video card. 

Well..but here I am a bit confused. The 2.6.8 kernel doesn't even have the 
module required for this video card. I wonder how could you do that when its 
not there! The 2.6.8 has the PROSavage module, which I tried with this video 
card, but it did not work. You sure you are using the exact same card as the 
OP?

PS: When the Kernel itself doesn't support something, I guess we have to 
simply switch over to a newer kernel version. (or if the earlier kernel 
versions had it, then probably downgrade) But I don't think it is possible 
when the kernel doesn't support something, external modules can be added to 
it, and that specific thing can be made to work. Correct me if I am wrong. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: The danger of dishonest disk drives (WAS:Re: Need to remove a ghost file, but can't because it doesn't exist)

2006-11-24 Thread Amit Joshi
On Friday 24 November 2006 12:21, Tim Post wrote:
 On Thu, 2006-11-23 at 17:31 -0500, Douglas Tutty wrote:
  The question is how does the file system know that a write has made it
  to disk.  E.g. if the file system is atomic transaction oriented, how
  can the file system know that a commit has been committed if the drive
  lies?

 Its hard to know for sure especially if the server is under abnormal
 load and the inodes are 100% in use, and all that's left is dirty
 paging. This seems to be where the problem happens frequently.

 I've been following this thread and thought I'd do a bit of
 experimenting to see which of the two best recover themselves.

 Here's my worst case scenario (and test bed)

 Debian Sarge under Xen, 1 40 GB lvm backed partition (jfs)  (#1)
 Debian Sarge under Xen, 1 40 GB lvm backed partition (ext3) (#2)

 Both LVM backed VBD's live on separate 400 GB SATA drives. Standard O/B
 SATA controller (4 port, no raid).

 Both systems have a small 512 MB ext2 root FS as a control. The 40 GB
 partition was mounted in /datahell

 Both systems have 2 GB RAM, 2 CPU's (Test conducted on a Dual Opteron),
 test machine one has cpu0 core 0 cpu2 core 1, test machine 2 has cpu0
 core1 cpu2 core0.

 So now we have for all intensive purposes 2 machines with a single dual
 core opteron in them.

 Here was the test :

 Untar about 12 GB worth of files on both drives.. these files consist of
 some old backup CD's, shareware CD's .. just thousands and thousands of
 files.

 I then ran a shell script that caused 'updatedb' to fork a few hundred
 times in the background on each server, it kept forking
 until /proc/loadavg got to be about 70.0

 Once that happened, I paused both VM's, issued a sysrq to sync disks and
 destroyed them in memory. This simulated an out of control box where the
 admin was able to effect a shutdown where disks synced (not just push
 re-set).

 Booted them up again :

 Ext3 spent 30 minutes in a fsck, some data was lost

 jfs spent 5 minutes, no data was lost

 ext2 root FS didn't have any issues.. but nothing was being written to
 it during the experiment.

 Experiment #2

 Fresh 20 GB partitions just like before :

 Same experiment, only this time I didn't sync disks. I just destroyed
 the VMs in memory (same as pulling out the power plug), rebooted.

 ext3 fixed a couple of inodes and came back pretty quickly
 jfs drive wasn't able to be mounted.

I don't know if this is Off Topic, but sounds relevant to me. 

I am using the following version of JFS utils, if that makes any difference: 
jfsutils/testing uptodate 1.1.11-1

I have formatted a partition with JFS on my hard-disk. Everything works fine 
whenever this partition is mounted. 

The only real pain in the ass is this JFS partition refuses to mount!! 
Then I have to run something like jfs_fsck, which reports that the partition 
is CLEAN. 
Then I run jfs_fsck -a (for automatic repair) ..by instinct ;-) and bingo! the 
partition can be mounted with absolutely no grudges now! 

Now my question is, why does this partition simply doesn't mount? It gives me 
an error saying bad fs type etc. But then, I mount using the following 
command:
mount -t jfs /dev/hda1 /mnt/stuff

And why do I have to run jfs_fsck -a everytime I need to mount this partition?

Is it some problem with JFS itself?
BTW I am running Debian Testing with the 2.6.17-2-686 Kernel. 





 Again, ext2 root fs had no issues, but we weren't expecting any. ext2
 rootfs was used just as a control (and to boot). /var was moved to the
 second drive (where slocate's DB lives).

 End result is, its going to depend on how the file system manages to
 allocate inodes ahead of itself , and at what point in time your system
 runs out of clean pages to grab. JFS seems to do well *only* if your
 able to sync disks and it can write those inodes.. it leaves quite a bit
 of data in memory. However its much happier about flushing its inode
 cache and syncing even if all that is available is dirty paging.

 ext3 seems more likely to recover from its journal in the event you
 can't sync disks, but syncing it with maxxed/bloated inodes (reaching
 into dirty pages) seems to break it.

 Its really application specific I guess.. if you have the luxury of
 being able to anticipate what the world will do to your public services
 once you plug the Internet into a server the choice is a little
 easier .. but there is no magic bullet :)

 Ext3 seems more likely to come back to life after an unattended crash
 (where nobody was there to try and slow down the skid.)

 JFS seems like the winner if your system doesn't often get abused, or if
 you have the ability to monitor it closely and intercede should you see
 dirty paging (swap) and inodes running high. Note, because JFS seems to
 use much more memory to allocate its inodes, this may lead to your
 applications needing swap faster than they would with ext3.

 6 of one , 1/2 dozen of the other really.. but hopefully my little
 experiment helps 

Re: Firefox icon on KDE desktop?

2006-11-24 Thread Amit Joshi
On Saturday 25 November 2006 07:44, Ishwar Rattan wrote:
 I accidently deletd the firefox icon (colorful fox)
 from menu bar (with Big-K).

 Is there a way to create the icon again?

 -ishwar

Right click on the KMenu Button (with Big-K) and select Menu Editor. 
Then Select the Internet Section. Press Ctrl+N.
Fill up the fields with the information. Don't fill up the fields which you 
aren't aware of. 

In the command field: type this:

firefox

Select an approrpriate Icon for your Firefox by clicking on the Icon Button. 
(Its not written over there that its the Icon Button, but you'll have to 
hover around a bit and you'll come to know) ;-)

Then press the save button. You should then have a Firefox Icon in your 
K-Menu .




-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Is cdimage.debian.org having trouble?

2006-11-23 Thread Amit Joshi
On Thursday 23 November 2006 01:34, Rick Thomas wrote:
 For the last few days, I've had great difficulty downloading from
 cdimage.debian.org (mostly daily installer images for testing).

http://www.debian.org/devel/debian-installer/
But yeah...I doubt if you can find a mirror with the weekly snapshots. Cuz 
mirroring this would be just waste of bandwidth. Mirrors often go for stuff 
that is in heavy demand. Or usually, something that doesn't change every now 
and then. 

Well..but you may try bit-torrent for better speeds, just in case. 
If you are interested, you can try the daily-snapshot, using the net-inst cd. 


 Bandwidth is highly erratic and overall very slow.

 I'm in New Jersey, USA.  If that makes any difference.

 Does anybody know of a mirror for cdimage.d.o on this side of the
 Atlantic that carries the daily and weekly installer builds?

 Rick


-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: xserver-xorg: recent upgrade blowed out my X server

2006-11-22 Thread Amit Joshi
On Tuesday 21 November 2006 21:56, Raffaele Morelli wrote:
trimmed

 mhhh... I don't have a  Savage Video Cards section,  I am compiling from
 2.6.8 sources, should I use newer ones?.. but still asking myself why it
 worked..
 going crazy with this!

Yep. You need to upgrade. The 2.6.8 Kernel doesn't support this Video Card. 
I am using the 2.6.17-2 kernel now. Works fine. 

I had tried the 2.4 Sarge Kernel. (don't remember the exact version number 
though). The 2.4 kernel used to work fine. Maybe this explains why everything 
was working fine previously. 
But the 2.6.8 kernel (The unstable kernel on the Sarge CD) doesn't support 
the savage module.
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: xserver-xorg: recent upgrade blowed out my X server

2006-11-22 Thread Amit Joshi
On Wednesday 22 November 2006 14:36, Raffaele Morelli wrote:


 Do I have to download this kernel form kernel.org? I did a package search
 on debian.org but found only 2.6.8 kernel for


Nope. I don't compile the kernel unless there's any specific need to do so. I  
just simply trust the Debian Kernel Team and install the Kernel they provide. 
(the one which gets installed directly and the one that runs out of the 
box. )

I don't know what you have in your /etc/apt/sources.list file, but here's the 
relevant line that should help you fetch the required kernel. 

deb http://ftp.debian.org/debian testing main contrib non-free


Once you have added this line, do 
apt-get update and then, use

apt-cache search linux-image  to search for the kernel-image appropriate for 
your architecture. 

I have the following package installed on my system. 
linux-image-2.6.17-2-686 - Linux 2.6.17 image on PPro/Celeron/PII/PIII/P4

-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Strange system behavior...KDE/GNOME Problem.

2006-11-22 Thread Amit Joshi
I don't know what is wrong with my system. I have a system running Debian 
Testing with the 2.6.17-2 kernel and things were just fine, unless I 
installed GNOME. 

As such, the system works absolutely fine, and both KDE and GNOME work 
flawlessly. But the real problem is when i try to switch users and/or switch 
between these Desktop Environments. 

I am running KDE 3.5.5 and GNOME 2.14.3

To be more specific about the problem, while the system boots up, I get the 
normal KDM Login Screen. Then I select whatever DE I want to use. But once I 
am done, and log out, it directly takes me to the console. This time, I don't 
see the KDM Login Screen. And then, typing kdm at the command line doesn't 
do any good. Nothing happens! Then I try to run startkde. It gives me the 
following output. 

 xsetroot:  unable to open display ''
 xset:  unable to open display 
 xsetroot:  unable to open display ''
 startkde: Starting up...
 xprop:  unable to open display ''
 usage:  xprop [-options ...] [[format [dformat]] atom] ...

 where options include:
 -grammar   print out full grammar for command line
 -display host:dpy  the X server to contact
 -id id resource id of window to examine
 -name name name of window to examine
 -font name name of font to examine
 -remove propname   remove a property
 -set propname valueset a property to a given value
 -root  examine the root window
 -len n display at most n bytes of any property
 -notypedo not display the type field
 -fs filename   where to look for formats for properties
 -frame don't ignore window manager frames
 -f propname format [dformat]   formats to use for property of given
 name -spy   examine window properties forever

 ksplash: cannot connect to X server
 kdeinit: Aborting. $DISPLAY is not set.
 Warning: connect() failed: : No such file or directory
 ksmserver: cannot connect to X server
 ERROR: Couldn't attach to DCOP server!
 startkde: Shutting down...
 Warning: connect() failed: : No such file or directory
 Error: Can't contact kdeinit!
 startkde: Running shutdown scripts...
 xprop:  unable to open display ''
 usage:  xprop [-options ...] [[format [dformat]] atom] ...

 where options include:
 -grammar   print out full grammar for command line
 -display host:dpy  the X server to contact
 -id id resource id of window to examine
 -name name name of window to examine
 -font name name of font to examine
 -remove propname   remove a property
 -set propname valueset a property to a given value
 -root  examine the root window
 -len n display at most n bytes of any property
 -notypedo not display the type field
 -fs filename   where to look for formats for properties
 -frame don't ignore window manager frames
 -f propname format [dformat]   formats to use for property of given
 name -spy   examine window properties forever

 startkde: Done.



Then, when I run startx, it starts GNOME. 

My default runlevel is 2 and my '/etc/X11/default-display-manager' file has 
got a single line saying kdm . 

I have no clue whats's wrong! 
Anybody with similar problems??
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Strange system behavior...KDE/GNOME Problem.

2006-11-22 Thread Amit Joshi
Hi Kevin, 
Thanks for your time. 

On Wednesday 22 November 2006 16:31, Kevin Mark wrote:

 snip

  Then, when I run startx, it starts GNOME.
 
  My default runlevel is 2 and my '/etc/X11/default-display-manager' file
  has got a single line saying kdm .
 
  I have no clue whats's wrong!
  Anybody with similar problems??

 Hi Amit.
 I'd try to debug the startkde script and see what's happening.
 bash -x /path/to/startkde
 Do you have any .X* or .x* files?

Not sure what this exactly means, but I'd try to give you the output of that 
command. 
Aah..and if you mean any custom made .x files..nope..I haven't made any! 
Neither edited any. 


debian:~# bash -x /usr/bin/startkde 2 err
debian:~# cat err
+ trap 'echo GOT SIGHUP' HUP
+ kcheckrunning
+ test -z ''
+ xsetroot -solid '#00'
xsetroot:  unable to open display ''
+ unset DYLD_FORCE_FLAT_NAMESPACE
++ echo /usr/bin/startkde
++ sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'
+ bindir=/usr/bin
+ '[' -n /usr/bin ']'
+ case $PATH in
+ kdehome=/root/.kde
+ test -n ''
+ mkdir -m 700 -p /root/.kde
+ mkdir -m 700 -p /root/.kde/share
+ mkdir -m 700 -p /root/.kde/share/config
+ cat
+ kstartupconfig
+ test 0 -ne 0
+ . /root/.kde/share/config/startupconfig
++ kcminputrc_mouse_cursortheme=
++ kcminputrc_mouse_cursorsize=
++ kpersonalizerrc_general_firstlogin=false
++ ksplashrc_ksplash_theme=Default
++ kcmrandrrc_display_applyonstartup=false
++ kcmfonts_general_forcefontdpi=0
+ test -n '' -o -n ''
+ test false = true
+ test false '!=' true
+ case $ksplashrc_ksplash_theme in
+ test 0 -eq 120
+ test 0 -eq 96
++ kde-config --path exe
++ tr : '\n'
+ exepath='/root/.kde/bin/
/usr/bin/'
++ echo '/root/.kde/bin/
/usr/bin/'
++ sed -n -e 's,/bin[^/]*/,/env/,p'
+ for prefix in '`echo $exepath | sed -n -e '\''s,/bin[^/]*/,/env/,p'\''`'
+ for file in '$prefix*.sh'
+ test -r '/root/.kde/env/*.sh'
+ for prefix in '`echo $exepath | sed -n -e '\''s,/bin[^/]*/,/env/,p'\''`'
+ for file in '$prefix*.sh'
+ test -r '/usr/env/*.sh'
+ usr_odir=/root/.fonts/kde-override
+ usr_fdir=/root/.fonts
+ kde_fontpaths=/root/.fonts/fontpaths
+ do_usr_fdir=1
+ do_usr_odir=1
+ test -r /root/.fonts/fontpaths
+ test -n ''
+ sys_odir=/share/fonts/override
+ sys_fdir=/share/fonts
+ test -d /share/fonts/override
+ test 1 -eq 1
+ test -d /root/.fonts/kde-override
+ test 1 -eq 1
+ test -d /root/.fonts
+ test -d /share/fonts
+ xset fp rehash
xset:  unable to open display 
+ xsetroot -cursor_name left_ptr
xsetroot:  unable to open display ''
+ test -n ''
+ GS_LIB=/root/.fonts
+ export GS_LIB
+ lnusertemp tmp
+ lnusertemp socket
+ lnusertemp cache
+ dcopserver_shutdown
+ echo 'startkde: Starting up...'
startkde: Starting up...
+ test false = true
+ case $ksplashrc_ksplash_theme in
+ ksplash --nodcop
ksplash: cannot connect to X server
+ KDE_FULL_SESSION=true
+ export KDE_FULL_SESSION
+ xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true
xprop:  unable to open display ''
usage:  xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar   print out full grammar for command line
-display host:dpy  the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname   remove a property
-set propname valueset a property to a given value
-root  examine the root window
-len n display at most n bytes of any property
-notypedo not display the type field
-fs filename   where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat]   formats to use for property of given name
-spy   examine window properties forever

+ LD_BIND_NOW=true
+ start_kdeinit --new-startup +kcminit_startup
kdeinit: Aborting. $DISPLAY is not set.
+ test 0 -ne 0
+ test -n ''
+ test -n ''
+ kwrapper ksmserver
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
+ test 1 -eq 255
+ dcop
ERROR: Couldn't attach to DCOP server!
+ grep -q '^drkonqi-'
+ echo 'startkde: Shutting down...'
startkde: Shutting down...
+ kdeinit_shutdown
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
+ dcopserver_shutdown --wait
+ artsshell -q terminate
+ echo 'startkde: Running shutdown scripts...'
startkde: Running shutdown scripts...
++ echo '/root/.kde/bin/
/usr/bin/'
++ sed -n -e 's,/bin[^/]*/,/shutdown/,p'
+ for prefix in '`echo $exepath | 
sed -n -e '\''s,/bin[^/]*/,/shutdown/,p'\''`'
++ ls /root/.kde/shutdown/
++ egrep -v '(~|\.bak)$'
+ for prefix in '`echo $exepath | 
sed -n -e '\''s,/bin[^/]*/,/shutdown/,p'\''`'
++ ls /usr/shutdown/
++ egrep -v '(~|\.bak)$'
+ unset KDE_FULL_SESSION
+ xprop -root -remove KDE_FULL_SESSION
xprop:  unable 

Re: Strange system behavior...KDE/GNOME Problem.

2006-11-22 Thread Amit Joshi
On Wednesday 22 November 2006 16:43, Liam O'Toole wrote:
 On Wed, 22 Nov 2006 16:10:13 +0530

 Amit Joshi [EMAIL PROTECTED] wrote:
  I don't know what is wrong with my system. I have a system running
  Debian Testing with the 2.6.17-2 kernel and things were just fine,
  unless I installed GNOME.
 
  As such, the system works absolutely fine, and both KDE and GNOME
  work flawlessly. But the real problem is when i try to switch users
  and/or switch between these Desktop Environments.
 
  I am running KDE 3.5.5 and GNOME 2.14.3
 
  To be more specific about the problem, while the system boots up, I
  get the normal KDM Login Screen. Then I select whatever DE I want to
  use. But once I am done, and log out, it directly takes me to the
  console. This time, I don't see the KDM Login Screen.

 Is KDM still running at this point? What is the output of the following?

 ps ax | grep kdm


Yes. Now, I did 
/etc/init.d/kdm restart 
so now I am in KDE. 




  And then,
  typing kdm at the command line doesn't do any good. Nothing
  happens!

 If KDM has died, restart it using (as root)

 /etc/init.d/kdm start

 Then I try to run startkde. It gives me the following
  output.
 
   xsetroot:  unable to open display ''
   xset:  unable to open display 

 [...]

 startkde requires a running X server. So you could invoke it like
 this:

 startx /usr/bin/startkde

Oh. Thanks.I did not know this. Yes. I will try this the next time I am into a 
similar situation, and which I can guarantee would be during the next 
logout. :(


  Then, when I run startx, it starts GNOME.
 
  My default runlevel is 2 and my '/etc/X11/default-display-manager'
  file has got a single line saying kdm .
 
  I have no clue whats's wrong!
  Anybody with similar problems??

 My comments above don't address the issue of why logging out throws you
 into a virtual terminal, but I hope they help anyway.


Maybe I should select a different runlevel?
But I don't really think that selecting any other value between 2-5 will help 
in any way. Cuz as far as I think they behave in the exact same way. Correct 
me if I am wrong. 
Thanks for the inputs. 

-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Weird Upgrade procedure - Debian Testing.

2006-11-22 Thread Amit Joshi
On Wednesday 22 November 2006 22:22, anson wrote:
 [EMAIL PROTECTED] wrote:
  On Wed, Nov 22, 2006 at 12:46:07PM +0530, Amit Joshi wrote:
  While trying to upgrade my Debian Testing system, it shows me a horde of
  packages that could be upgraded. But take a look at the bottom of this
  output where it mentions the size et al. The size of the _to_be_fetched_
  packages is 227MB, while it is gonna use around 1.5MB of disk-space??
 
  Kinda weird..I don't understand. I would simply download the single
  1.5MB Package, right?
 
  Any chance that the to-be=fetched package is compressed, and it has to
  be uncompressed during installation to be useful?
 
  -- hendrik

 The thing to remember is that all these packages are already installed.
 The new versions total 227MB, but the _difference_ in installed size is
 only 1.5MB

 Regards,

 Anson

Oh..I see. Thanks for the info. :)
Maybe I will simulate this upgrade and see what versions are the packages 
gonna be upgraded to. 
Also, do all of you do a daily upgrade of your Debian Testing to stay 
uptodate and avoid bulk upgrades?
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Is cdimage.debian.org having trouble?

2006-11-22 Thread Amit Joshi
On Thursday 23 November 2006 01:34, Rick Thomas wrote:
 For the last few days, I've had great difficulty downloading from
 cdimage.debian.org (mostly daily installer images for testing).

 Bandwidth is highly erratic and overall very slow.

 I'm in New Jersey, USA.  If that makes any difference.

 Does anybody know of a mirror for cdimage.d.o on this side of the
 Atlantic that carries the daily and weekly installer builds?

 Rick

Well..you can take a more detailed look of that web-page. You can always 
select a mirror close to your location. 
Also, what are you downloading from? FTP/ HTTP? Rsync?

Take a look at this page. 
http://www.debian.org/CD/http-ftp/
It has the list of the available mirrors. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Problem with JFS

2006-11-22 Thread Amit Joshi
I recently formatted a couple of my partitions with JFS. Now, the problem is, 
they don't get mounted by default on boot-up even though they are 
in /etc/fstab. 

/dev/hda1   /mnt/data  jfsdefaults  0   0
/dev/hda2   /mnt/stuff  jfs defaults  00

I formatted it using mkfs.jfs. The version of jfsutils installed on my system 
is: 
jfsutils/testing uptodate 1.1.11-1

Also, from my kernel config file, 
CONFIG_JFS_FS=m
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set


Now, whenever I try to mount I get the error: 
debian:~# mount -t jfs /dev/hda2 /mnt/stuff
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

debian:~# dmesg | tail
agpgart: Putting AGP V2 device at :00:00.0 into 0x mode
agpgart: Putting AGP V2 device at :01:00.0 into 0x mode
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hda1.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hda2.


Also, after a while, I tried mounting /dev/hda1 in the exact same way, and it 
mounted!! But after retrying, I haven't been able to mount /dev/hda2 

Output of jfs_fsck
debian:~# jfs_fsck /dev/hda2
jfs_fsck version 1.1.11, 05-Jun-2006
processing started: 11/23/2006 12.38.30
Using default parameter: -p
The current device is:  /dev/hda2
Block size in bytes:  4096
Filesystem size in blocks:  2560359
**Phase 0 - Replay Journal Log
Filesystem is clean.

I don't know whats wrong :(



-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Problem with JFS [SOLVED]

2006-11-22 Thread Amit Joshi
On Thursday 23 November 2006 12:39, Amit Joshi wrote:
 I recently formatted a couple of my partitions with JFS. Now, the problem
 is, they don't get mounted by default on boot-up even though they are
 in /etc/fstab.

 /dev/hda1   /mnt/data  jfsdefaults  0   0
 /dev/hda2   /mnt/stuff  jfs defaults  00

 I formatted it using mkfs.jfs. The version of jfsutils installed on my
 system is:
 jfsutils/testing uptodate 1.1.11-1

 Also, from my kernel config file,
 CONFIG_JFS_FS=m
 CONFIG_JFS_POSIX_ACL=y
 CONFIG_JFS_SECURITY=y
 # CONFIG_JFS_DEBUG is not set
 # CONFIG_JFS_STATISTICS is not set


 Now, whenever I try to mount I get the error:
 debian:~# mount -t jfs /dev/hda2 /mnt/stuff
 mount: wrong fs type, bad option, bad superblock on /dev/hda2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

 debian:~# dmesg | tail
 agpgart: Putting AGP V2 device at :00:00.0 into 0x mode
 agpgart: Putting AGP V2 device at :01:00.0 into 0x mode
 FAT: bogus number of reserved sectors
 VFS: Can't find a valid FAT filesystem on dev hda1.
 NET: Registered protocol family 10
 lo: Disabled Privacy Extensions
 IPv6 over IPv4 tunneling driver
 eth0: no IPv6 routers present
 FAT: bogus number of reserved sectors
 VFS: Can't find a valid FAT filesystem on dev hda2.


 Also, after a while, I tried mounting /dev/hda1 in the exact same way, and
 it mounted!! But after retrying, I haven't been able to mount /dev/hda2

 Output of jfs_fsck
 debian:~# jfs_fsck /dev/hda2
 jfs_fsck version 1.1.11, 05-Jun-2006
 processing started: 11/23/2006 12.38.30
 Using default parameter: -p
 The current device is:  /dev/hda2
 Block size in bytes:  4096
 Filesystem size in blocks:  2560359
 **Phase 0 - Replay Journal Log
 Filesystem is clean.

 I don't know whats wrong :(

Oh..just after posting this, I found a command with jfs_fsck saying -a for 
automatic repair. 
I tried it out, and now the partition mounts fine. But still have to see if it 
gets mounted automatically on boot-up. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Can't find header files.

2006-11-21 Thread Amit Joshi
On Monday 20 November 2006 21:34, John L Fjellstad wrote:
 Michelle Konzack [EMAIL PROTECTED] writes:
  Am 2006-11-12 22:53:49, schrieb Alan Ianson:
  Do you have the linux-kernel-headers package installed for your kernel
  version?
 
  Wrong package!  -  stdio.h is in dpkg-dev.

 [EMAIL PROTECTED]:~$ dpkg -S /usr/include/stdio.h
 libc6-dev: /usr/include/stdio.h

 --
 John L. Fjellstad
 web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


Thanks. I will keep this for future reference. (in case I don't need the 
build-essential package.) Right now, I installed the build-essential package 
anyway. 
Programs are being compiled just fine. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Weird Upgrade procedure - Debian Testing.

2006-11-21 Thread Amit Joshi

While trying to upgrade my Debian Testing system, it shows me a horde of 
packages that could be upgraded. But take a look at the bottom of this output 
where it mentions the size et al. The size of the _to_be_fetched_ packages is 
227MB, while it is gonna use around 1.5MB of disk-space??

Kinda weird..I don't understand. I would simply download the single 1.5MB 
Package, right?

Anybody experiencing similar problems?

I tried the same with aptitude, with the same results. 




debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  amarok amarok-engines amarok-xine gnupg
The following packages will be upgraded:
  apt-listbugs bootsplash-theme-debian bsdutils cdrdao console-common 
console-data dash dbus dctrl-tools dictionaries-common discover1
  discover1-data dvd+rw-tools exim4 exim4-base exim4-config exim4-daemon-light 
gettext-base gnome-mime-data grep grep-dctrl grub hdparm
  iptables kappfinder kate kcontrol kdebase kdebase-bin kdebase-data 
kdebase-kio-plugins kdelibs-data kdelibs4c2a kdepasswd kdeprint
  kdesktop kdm kfind khelpcenter kicker klibc-utils klipper kmenuedit 
konqueror konqueror-nsplugins konsole kopete kpager kpersonalizer
  ksmserver ksplash ksysguard ksysguardd ktip ktorrent kwin libavahi-client3 
libavahi-common-data libavahi-common3
  libavahi-compat-libdnssd1 libavahi-qt3-1 libbonobo2-0 libbonobo2-common 
libdbus-1-3 libdbus-glib-1-2 libdiscover1 libgl1-mesa-dri
  libgl1-mesa-glx libglu1-mesa libgnomevfs2-0 libgnomevfs2-common 
libgstreamer-plugins-base0.10-0 libhttp-access2-ruby1.8 libklibc libkonq4
  libkrb53 libmysqlclient15off libneon26 libsmbclient libsoup2.2-8 libsvga1 
libsysfs2 libtunepimp3 libvolume-id0 libx11-6 libx11-data mdadm
  mkisofs modconf mount mysql-client mysql-client-5.0 mysql-common 
mysql-server mysql-server-5.0 nano openoffice.org openoffice.org-base
  openoffice.org-calc openoffice.org-common openoffice.org-core 
openoffice.org-draw openoffice.org-impress openoffice.org-java-common
  openoffice.org-math openoffice.org-writer python-central python-support 
python-uno svgalibg1 ttf-dejavu ttf-opensymbol udev update-inetd
  util-linux w32codecs wodim x-window-system-core x11-common xorg xserver-xorg 
xserver-xorg-input-all xserver-xorg-input-evdev
  xserver-xorg-video-all xserver-xorg-video-mga xutils
126 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 227MB of archives.
After unpacking 1412kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.



-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Adding more than one IP Address

2006-11-18 Thread Amit Joshi
On Friday 17 November 2006 22:58, srg krn wrote:
 ip default gateway is configured PER machine and NOT per interface.
 So, if you configure your default  gateway is A all your traffic
 that does NOT match a more explicit route will go through A.

 The question that you are asking for is how to have multiple default
 gateways. This is NOT a trivial question but it does NOT involve that it is
 dificult to configure.

 If you have gateway A and gateway B you can do things like:
 1. all http traffic must go via gateway A and the rest via gateway B.

Yes. This is quite what I want to do. I want to access the Internet via one 
gateway and access the Local Area Network spread all across the city, via 
different Gateways. 


 2. No matter the kind of traffic, bot gateways MUST be balanced.
 3. etc, etc, etc...

 Of course you need to configure it.
 google for iproute2 and you will discover how to do those beautiful
 things (and many more).

Yes. I will do that and post back. Thanks for the information. :)
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Adding more than one IP Address

2006-11-16 Thread Amit Joshi
On Monday 13 November 2006 01:11, Roberto C. Sanchez wrote:
 On Mon, Nov 13, 2006 at 12:53:28AM +0530, Amit Joshi wrote:
  I am sort of stuck up. I need to put more than one IP address due to my
  strange requirement. I am in a situation where there are multiple
  gateways, and so I need multiple addresses for the respective gateways.
 
  Windows provides an easy way to do this.
  I was more of a SuSE user, so I am kinda used to YaST pretty much.
  Is there a way to add multiple IP addresses, for the same Network card in
  Debian?

 Do you need this one network card to make use of multiple gateways, or
 do you need this one network to have traffic arrive to it at multiple IP
 addresses?

 Regards,

 -Roberto

I need to make use of Multiple Gateways.
Like a specific IP address is associated with a particular gateway. Also, is 
there a way to do that temporarily rather than editing the files (which will 
hold information until I edit 'em) ?
It would be better if the system forgets the configuration after reboot... 
cuz I don't need those IP addresses at all times. :)


-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Adding more than one IP Address

2006-11-16 Thread Amit Joshi
On Monday 13 November 2006 02:51, srg krn wrote:
 To assign more than one ip address per physical interface you can do
 things like:
 ifconfig eth0:1 192.168.169.170 255.255.255.0 up
 (the preceding :1, :2, etc... denotes alias interfaces)
 Better than ussing aliases is to connect the routers to a vlan capable
 switch and define a dotted 1q interface (trunk).
 In this manner, the security is better than ussing alias interfaces.
trimmed

Thanks. That sounds like a solution. Also, what about the gateway? I want the 
IP address to be associated with a particular gateway. My current IP address 
and gateway should remain intact, while these should be added. :)
Also, does the system forget this configuration on reboot?
--
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Can't find header files.

2006-11-13 Thread Amit Joshi
On Monday 13 November 2006 12:53, Amit Joshi wrote:
 On Monday 13 November 2006 12:23, Alan Ianson wrote:
 trimmed

  Do you have the linux-kernel-headers package installed for your kernel
  version?

 Ok. It wasn't installed. I will install it and reply back.


Ok. I installed the kernel-headers package for my kernel version but nothing 
happened. Still I get the same error message. 

I wonder if I need to manually change some settings with GCC?
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Can't find header files.

2006-11-13 Thread Amit Joshi
On Monday 13 November 2006 14:07, Kevin Mark wrote:
 On Mon, Nov 13, 2006 at 01:36:18PM +0530, Amit Joshi wrote:
  On Monday 13 November 2006 12:53, Amit Joshi wrote:
   On Monday 13 November 2006 12:23, Alan Ianson wrote:
   trimmed
  
Do you have the linux-kernel-headers package installed for your
kernel version?
  
   Ok. It wasn't installed. I will install it and reply back.
 
  Ok. I installed the kernel-headers package for my kernel version but
  nothing happened. Still I get the same error message.
 
  I wonder if I need to manually change some settings with GCC?
  --
  Regards,

 Hi Amit,
 when investigating a problem, do not start out with the most complex
 environment but instead start with the smallest, simplest bits and build
 from there to see what caused the problems. Thus:
 1) create a simple 1 line c program
 2) compile this with 'gcc'
 3) when this works
 4) try using the simple program in the big fancy IDE and compile it
 5) when this works, try using your big, complex program.

 Also, if possible, show us either the full C program or a part of it, so
 that we can spot any error in it that would create the error. It also
 allows us to try that program on our myriad computers to see it the
 problem is reproduceable. The Scientific method and Debian love to be
 able to reproduce results. It gives us the warm fuzzies.
 Cheers,
 Kev

First of all, thanks all of you. Kevin, thats a good suggestion. I will keep 
that in mind for my further posts. :)

Well..I have now started using Debian after so many years. 
The 'build-essential' package is exactly what I wanted. :)
Thanks for the hint. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Can't find header files.

2006-11-13 Thread Amit Joshi
On Monday 13 November 2006 14:07, Kevin Mark wrote:
 Hi Amit,
 when investigating a problem, do not start out with the most complex
 environment but instead start with the smallest, simplest bits and build
 from there to see what caused the problems. Thus:
 1) create a simple 1 line c program
 2) compile this with 'gcc'
 3) when this works
 4) try using the simple program in the big fancy IDE and compile it
trimmed

Anjuta uses gcc to compile programs. As in..a frontend to gcc. It outputs the 
same messages that gcc would generate. :)
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: how many CDs for v3.1 r3?

2006-11-13 Thread Amit Joshi
On Monday 13 November 2006 18:34, anonymous wrote:
 I was planning to download and test install Debian for the first time.
 However, when I browsed the website below:

 http://cdimage.debian.org/debian-cd/3.1_r3/i386/iso-cd/

 for a download, I found out that I would need to download 18 CDs: 15
 regular and 3 for the update.

Downloading all the CDs would be only feasible if you are never going to be 
downloading software from the internet or you only wish you use stable 
software (From the CDs.)
But remember that this stable software can also be downloaded. But just in 
case you can't download software due to the absence of a Network Connection, 
the CDs would suffice. 

The Update CDs are usually helpful for updating a machine that already has 
Debian installed, but doesn't have a network connection. They provide all the 
required security updates to patch the system. 

But if your machine has got an Internet connection, the first CD should 
suffice. It has got KDE + GNOME and all the required utilities to get your 
system up and running. You may download the CD2 just in case. 


 I would like to know whether all these CDs have binary files or are
 these also include CDs with
 sources and documentation. If so, which ones of them?

Just Binary Files. Documentation..as in relevant man-pages would be provided. 


 How much would it need for a complete install on a P-IV 2.5GHz with 256
 MB RAM?
 And how much for the disk space?

Yeah. That is a fair enough configuration. 256 MB is usually what is 
recommended as the minimum amount of RAM for running a Graphical User 
Interface (GUI). For e.g. KDE / GNOME. 

Free Space...I would keep like 5GB of Free space or generally more than that 
for / ..cuz I have a bigger HDD. But 5GB should be more or less sufficient. 
It would be difficult to comment on this one unless you provide the details 
about your purpose of installing Debian. 

 I tried to look up the answers in the online manual, but was unable to
 find them. Any help would
 be appreciated.


I don't know, but this has been discussed quite a lotta times in various fora. 
Users often get stunned by the number of CDs and get confused what to 
download and what not to. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Etch kernel

2006-11-12 Thread Amit Joshi
On Sunday 12 November 2006 19:29, Colin wrote:
 Hugo Vanwoerkom wrote:
  Hope that's true and that they stay with a 2.6.17 kernel...

 Why not a 2.6.18 kernel?

If the OP wants to know what kernel will be shipped with the Official Release 
of Debian Etch, then I think its gonna be the 2.6.17 Kernel. Cuz as most of 
us already know, whenever an Debian releases a new version, the software is 
rigorously tested. So I guess they will keep up wih the already_in_testing 
kernel - 2.6.17 (I don't know what sub-version-number will be used though. 
2.6.17-2 ..maybe! )

Again, Sarge was released when there were 2.6 kernel versions lying around. 
But the Debian developers decided to include the 2.4 kernel as the default 
one. Reason being the kernel was exhaustively tested for stability. 

But I guess if the user wants to use some other version of kernel, it maybe 
included in the CD too. (tagged as unstable)
For example, the Sarge CDs provide the 2.6.8 (tagged as unstable) kernel. 

Regards, 
Amit. 
-- 
Remember fellas, what we do in life echoes in eternity! 


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



Adding more than one IP Address

2006-11-12 Thread Amit Joshi
I am sort of stuck up. I need to put more than one IP address due to my 
strange requirement. I am in a situation where there are multiple gateways, 
and so I need multiple addresses for the respective gateways. 

Windows provides an easy way to do this. 
I was more of a SuSE user, so I am kinda used to YaST pretty much. 
Is there a way to add multiple IP addresses, for the same Network card in 
Debian?

Please help. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Etch kernel

2006-11-12 Thread Amit Joshi
On Monday 13 November 2006 02:21, Dave Ewart wrote:
 On Sunday, 12.11.2006 at 23:32 +0530, Amit Joshi wrote:
  For example, the Sarge CDs provide the 2.6.8 (tagged as unstable)
  kernel.

 I didn't think the Sarge 2.6 kernel was technically 'unstable' - the
 installer gave two options: 2.4 or 2.6; although 2.4 was the default,
 there was certainly never any implication that by choosing 2.6 you were
 opening yourself to an 'unstable' environment...

 Dave.

Yes. Technically speaking, it wasn't 'unstable'. But then its Debian. Whatever 
is not rigorously tested, is to be tagged as unstable/testing..   :P
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Adding more than one IP Address

2006-11-12 Thread Amit Joshi
On Monday 13 November 2006 02:09, Russell L. Harris wrote:
 * Amit Joshi [EMAIL PROTECTED] [061112 13:26]:
  I am sort of stuck up. I need to put more than one IP address due to my
  strange requirement. I am in a situation where there are multiple
  gateways, and so I need multiple addresses for the respective gateways.

 ...

  Is there a way to add multiple IP addresses, for the same Network card in
  Debian?

 A good discussion of this can be found in Debian Reference, Chapter 10,
 Network Configuration.

Yes. I have read the howtos now. But there's one more question. What is 
this Automatic Metric (thats what I saw in Windows XP ..related to a 
Gateway). 

Also, how do I make sure that my main IP address will always be the default?
I just want to use the other IP address while transferring files from the 
machine with a different gateway. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: My audio doesn't start (part II)

2006-11-12 Thread Amit Joshi
On Monday 13 November 2006 07:58, Alejandro wrote:
 Dear Ismael, Russell and all who can help me,

 You help me a pair of days ago on an audio problem, I can't hear nothing
 at all in my Linux box, because I think I run apt-get dist-upgrade for
 several packages I don't remember now. I really appreciate your
 supportBecause of your responses I ran alsaconf and alsamixer but I
 still have problems:

 - Debian Etch
 - Run alsaconf
 - Detected sound driver: Via Technologies VT82C686 AC97 Audio Controller
 (the same I get with lspci command)
 - Configure snd-via82xx
 - After that I get this message:

 Running update-modules...
 Loading driver...
 Setting default volumes...
 amixer: Mixer attach default error: No such device
 Saving the mixer setup used for this in /var/lib/alsa/asound.state.
 /usr/sbin/alsactl: save_state:1254: No soundcards found...

 After that I ran alsamixer:

 alex:/home/ale# alsamixer

 alsamixer: function snd_ctl_open failed for default: No such device


This is a very common error. Searching Google would have helped you with a 
lotta results. 

Running this command as root may help: 

chmod o+rw /dev/snd/controlC0





 So I have this info for you please:

 alex:~# lspci | grep AC97
 00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686
 AC97 Audio Controller (rev 50)

 alex:~# lsmod | grep snd
 snd_mixer_oss  16640  1
 snd_via82xx26660  1
 snd_ac97_codec 59268  1 snd_via82xx
 snd_pcm85384  1 snd_via82xx
 snd_timer  23300  1 snd_pcm
 snd_page_alloc 11144  2 snd_via82xx,snd_pcm
 gameport4736  1 snd_via82xx
 snd_mpu401_uart 7296  1 snd_via82xx
 snd_rawmidi23204  1 snd_mpu401_uart
 snd_seq_device  7944  1 snd_rawmidi
 snd50660  8
 snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,
snd_rawmidi,snd_seq_device soundcore   9824  2 snd

 alex:/etc/modprobe.d# more sound
 alias snd-card-0 snd-via82xx
 options snd-via82xx index=0

 Also I have alsa-utils, libasound2, linux-sound-base but I don't have
 alsa-base neither gstreamer.

 Can you tell me what can be the problem ???

 Thousands of thanks 

 Alejandro

-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Can't find header files.

2006-11-12 Thread Amit Joshi
I recently installed gcc and Anjuta for C programming. 
All dependencies have been installed. 

So whenever I try to compile a program, it returns an error saying: 
Error: stdio.h: Can't find file or directory. 

Never experienced such a problem before. 
I am using Etch and my program versions are as follows: 

gcc-3.3-base/testing uptodate 1:3.3.6-13
gcc/testing uptodate 4:4.1.1-13
gcc-4.1/testing uptodate 4.1.1-19
gcc-3.4-base/testing uptodate 3.4.6-4
gcc-4.1-base/testing uptodate 4.1.1-19
libgcc1/testing uptodate 1:4.1.1-19


anjuta-common/testing uptodate 1:1.2.4a-4
anjuta/testing uptodate 1:1.2.4a-4


Anybody experiencing similar problems?
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Can't find header files.

2006-11-12 Thread Amit Joshi
On Monday 13 November 2006 12:16, Amit Joshi wrote:
 I recently installed gcc and Anjuta for C programming.
 All dependencies have been installed.

 So whenever I try to compile a program, it returns an error saying:
 Error: stdio.h: Can't find file or directory.

 Never experienced such a problem before.
 I am using Etch and my program versions are as follows:

 gcc-3.3-base/testing uptodate 1:3.3.6-13
 gcc/testing uptodate 4:4.1.1-13
 gcc-4.1/testing uptodate 4.1.1-19
 gcc-3.4-base/testing uptodate 3.4.6-4
 gcc-4.1-base/testing uptodate 4.1.1-19
 libgcc1/testing uptodate 1:4.1.1-19


 anjuta-common/testing uptodate 1:1.2.4a-4
 anjuta/testing uptodate 1:1.2.4a-4


 Anybody experiencing similar problems?

I also tried searching for stdio.h using locate. (did updatedb too)

It returned the following results: 

/mnt/winc/cygwin/usr/include/stdio.h
/mnt/winc/cygwin/usr/include/sys/stdio.h
 /usr/lib/gcc/i486-linux-gnu/4.1.2/include/ssp/stdio.h  
/usr/lib/perl/5.8.8/CORE/nostdio.h


I tried adding the /usr/lib/gcc/i486-linux-gnu/4.1.2/include/ssp/ path to my 
anjuta settings, but still it returns the same error. 

I guess the problem is with gcc itself. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Can't find header files.

2006-11-12 Thread Amit Joshi
On Monday 13 November 2006 12:23, Alan Ianson wrote:
trimmed


 Do you have the linux-kernel-headers package installed for your kernel
 version?

Ok. It wasn't installed. I will install it and reply back. 
-- 
Regards, 
Amit. 

Remember fellas, what we do in life echoes in eternity! 


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



Re: Kernel compile the old way

2006-11-11 Thread Amit Joshi
On Saturday 11 November 2006 20:00, Wackojacko wrote:
 Marc Wilson wrote:
  On Fri, Nov 10, 2006 at 02:10:53PM -0600, Hugo Vanwoerkom wrote:
  make menuconfig
  make-kpkg --revision 1 kernel_image
 
  Don't you end up with an initrd that way?  I admit to never wasting my
  time with kernel-package, but I thought you couldn't avoid one if you
  insisted on using it.

 No if you want an initrd you have to specify it to make-kpkg.

 HTH

 Wackojacko

What exactly are the advantages of using an initrd?
Oh I know it is Initial RAM Disk..but does it speed up the boot process or 
something?? Just curious...
-- 
Remember fellas, what we do in life echoes in eternity! 


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



Re: List packages by releases

2006-11-11 Thread Amit Joshi
On Saturday 11 November 2006 17:56, Liam O'Toole wrote:

trimmed

 'apt-show-versions' is what you want.


Oh..I thought this one is a command..:P
This is a package actually...

Regards, 
Amit. 
-- 
Remember fellas, what we do in life echoes in eternity! 


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



Re: figure out startx?

2006-11-11 Thread Amit Joshi
 Tim Champion [EMAIL PROTECTED] writes:
  did you ever figure this out?
  http://people.debian.org/~terpstra/message/20061005.143543.58d45fb6.en.ht
 ml
 
  I'm having about the same problem, but with 3.1 sarge.


I guess you will first have to find out whether your Graphics Driver is 
supported by your current kernel version. Also, if you have built a custom 
Kernel, then that specific driver should be compiled as a module in your 
kernel. Most of the problems are usually due to absense of driver modules. 

-- 
Remember fellas, what we do in life echoes in eternity! 


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



Re: Kernel compile the old way

2006-11-11 Thread Amit Joshi
On Saturday 11 November 2006 22:00, John Hasler wrote:
 Amit Joshi writes:
  What exactly are the advantages of using an initrd?

 For a distribution kernel it provides support for all possible permutations
 and combinations of hardware.  I don't know of any advantages for a custom
 kernel.
 --
 John Hasler

Oh..thanks for the information. Now I know why custom built kernels don't have 
initrd images. :)

Regards, 
Amit.
-- 
Remember fellas, what we do in life echoes in eternity! 


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



Re: List packages by releases

2006-11-11 Thread Amit Joshi
On Sunday 12 November 2006 09:51, T wrote:
 On Sat, 11 Nov 2006 12:26:48 +, Liam O'Toole wrote:
  Is there any way to list which packages are from unstable or testing?
 
  'apt-show-versions' is what you want.

 Thanks, I checked into it, but unfortunately I found that
 apt-show-versions cannot distinguish unstable and testing.


makedev/testing uptodate 2.3.1-83
kcontrol/testing upgradeable from 4:3.5.5a-2 to 4:3.5.5a.dfsg.1-1
libsmbclient/testing uptodate 3.0.23c-3
xserver-xorg-video-sis/testing uptodate 1:0.9.1-4
libdrm2/testing uptodate 2.0.2-0.1
kdesktop/testing upgradeable from 4:3.5.5a-2 to 4:3.5.5a.dfsg.1-1
libdb1-compat/testing uptodate 2.1.3-9
openoffice.org-writer/testing uptodate 2.0.4-5


Not sure why your apt-show-versions can't distinguish between unstable and 
testing. This is the excerpt of the output of apt-show-versions on my system. 
It clearly mentions testing after every package. I am only using the testing 
branch of repositories. If you are using unstable, then I think it would have 
mentioned it right after the package. 

For e.g. 
openoffice.org-writer/unstable uptodate 2..(whatever) ;-)




-- 
Remember fellas, what we do in life echoes in eternity! 


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



Re: Kernel compile the old way

2006-11-10 Thread Amit Joshi
On Saturday 11 November 2006 00:56, Ed wrote:
 I went to compile a vanilla kernel from kernel.org, and so read the
 directions at the Debian site.  They seem to me to be needlessly
 complicated.  Is there something in Debian which would prevent me from
 compiling a kernel the good old fashioned way --

 make menuconfig
 make  make modules_install
 cp bzImage and System.map to /boot
 edit the grub menu

 -- and skip the initrd whatever?  And, if so, where does Debian load the
 modules from, so I can edit that too?  It's not /etc/modules - only a
 few there.

 Any advice appreciated.  Thanks.

AFAIK modprobe can load modules only if they are compiled that way in the 
kernel. [M] indicates that the particular driver is compiled in as a module. 

The debian patched kernels are pretty good. I won't use a Vanilla source 
unless there's any specific need to do that. 

Also, I am not sure..but SID might be having the latest stable kernel in its 
repositories. 
The simplest way to install a debian-patched kernel is: 
[EMAIL PROTECTED] install kernel-image-version

This procedure simply installs the kernel, without having to run the make 
menuconfig thing et al. Moreover it also updates the /boot/grub/menu.lst file 
automatically. Truly advantageous you see.. :)

-- 
Remember fellas, what we do in life echoes in eternity! 


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



Installing KDE didn't pull in all dependencies - A bug?

2006-11-10 Thread Amit Joshi
I installed Debian Sarge from my CDs and then did a dist-upgrade to Etch. 
I installed a very basic system with the required packages etc. 

Then came the time to install KDE (The GUI Interface I was dying for ;-) )
But, apt-get install kde ..i thought would pull in all the dependencies 
related to KDE i.e. all the xorg packages with all the relevant stuff that 
will be required to run KDE. 

But this did not happen. The xfonts-base package was found to be missing and I 
was getting some relevant error, which was fixed once this package was 
installed. (Actually, I installed xwindow-system-core)

So is it a bug that apt-get install kde didn't pull in this package by 
default?

Regards, 
Amit. 
-- 
Remember fellas, what we do in life echoes in eternity! 


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



Re: Installing KDE didn't pull in all dependencies - A bug?

2006-11-10 Thread Amit Joshi
On Saturday 11 November 2006 02:33, Kevin Mark wrote:
 Hi Amit,
 No, its not a bug but a feature! You can instll xorg (the current X), by
 using 'apt-get install xorg' which, just like 'kde', is a meta-packge
 that makes things easier for users. I forget the exact reason, but it
 has to do with the fact that kde and x dont have to be on the same
 machine for kde to work, so that kde needs x but not necessarily
 installed on YOUR machine, thus kde does not require x but suggests
 x-window-system-core (a basic subset of the total x system), this can be
 seen by doing 'apt-cache show kde' and look at the 'Suggests:' line.
 Cheers,
 Kev
 --


Yes Kev, it certainly suggests that package. Yes I almost forgot the fact 
about remotely using the Xserver...:)
Thanks. :)

Regards, 
Amit. 
-- 
Remember fellas, what we do in life echoes in eternity! 


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