LVM can't find devices after adding new disks
I have two systems which both use LVM. I recently added disks to both systems and my system now has problems finding physical volumes at boot time. Only my sata drives are affected by this. On one of the systems I have no useful log messages or outputs since the /home, and /var are located on the volume group which can't be started, however I know that the problem is caused by add the new disk(pata) since when I disable the disk the system boots normally. The other systems sata disk doesn't contain any essential mount points so I can boot without that disk...heres the relevant output from /var/log/boot: Wed Jan 4 17:18:58 2006: Setting up LVM Volume Groups... Wed Jan 4 17:18:58 2006: Reading all physical volumes. This may take a while... Wed Jan 4 17:18:58 2006: Found volume group "LVM" using metadata type lvm2 Wed Jan 4 17:18:58 2006: Couldn't find device with uuid 'OeGY4s-sFL1-gTkY-LHmi-qW7H-jgm4-11dm3e'. Wed Jan 4 17:18:58 2006: Couldn't find all physical volumes for volume group data. Wed Jan 4 17:18:58 2006: Volume group "data" not found Wed Jan 4 17:18:58 2006: /dev/LVM: opendir failed: No such file or directory Wed Jan 4 17:18:58 2006: /dev/LVM: opendir failed: No such file or directory Wed Jan 4 17:18:58 2006: /dev/LVM: opendir failed: No such file or directory Wed Jan 4 17:18:58 2006: /dev/LVM: opendir failed: No such file or directory Wed Jan 4 17:18:58 2006: Couldn't find device with uuid 'OeGY4s-sFL1-gTkY-LHmi-qW7H-jgm4-11dm3e'. Wed Jan 4 17:18:58 2006: Couldn't find all physical volumes for volume group data. Wed Jan 4 17:18:58 2006: Volume group "data" not found Wed Jan 4 17:18:58 2006: 4 logical volume(s) in volume group "LVM" now active Wed Jan 4 17:18:58 2006: Couldn't find device with uuid 'OeGY4s-sFL1-gTkY-LHmi-qW7H-jgm4-11dm3e'. Wed Jan 4 17:18:58 2006: Couldn't find all physical volumes for volume group data. Wed Jan 4 17:18:58 2006: Unable to find volume group "data" Wed Jan 4 17:18:58 2006: Checking all file systems... Wed Jan 4 17:18:58 2006: fsck 1.37 (21-Mar-2005) Wed Jan 4 17:18:58 2006: /home: clean, 672/5046272 files, 190265/10084352 blocks Wed Jan 4 17:18:58 2006: /opt: clean, 11/256032 files, 40397/512000 blocks Wed Jan 4 17:18:58 2006: /usr: clean, 77528/2621440 files, 365358/5242880 blocks Wed Jan 4 17:18:58 2006: /var: clean, 24799/1310720 files, 243112/2621440 blocks Wed Jan 4 17:18:58 2006: fsck.ext3: No such file or directory while trying to open /dev/mapper/data-files Wed Jan 4 17:18:58 2006: /dev/mapper/data-files: Wed Jan 4 17:18:58 2006: The superblock could not be read or does not describe a correct ext2 Wed Jan 4 17:18:58 2006: filesystem. If the device is valid and it really contains an ext2 Wed Jan 4 17:18:58 2006: filesystem (and not swap or ufs or something else), then the superblock Wed Jan 4 17:18:58 2006: is corrupt, and you might try running e2fsck with an alternate superblock: Wed Jan 4 17:18:58 2006: e2fsck -b 8193 Wed Jan 4 17:18:58 2006: Wed Jan 4 17:18:58 2006: fsck.ext3: No such file or directory while trying to open /dev/mapper/data-ftp Wed Jan 4 17:18:58 2006: /dev/mapper/data-ftp: Wed Jan 4 17:18:58 2006: The superblock could not be read or does not describe a correct ext2 Wed Jan 4 17:18:58 2006: filesystem. If the device is valid and it really contains an ext2 Wed Jan 4 17:18:58 2006: filesystem (and not swap or ufs or something else), then the superblock Wed Jan 4 17:18:58 2006: is corrupt, and you might try running e2fsck with an alternate superblock: Wed Jan 4 17:18:58 2006: e2fsck -b 8193 Wed Jan 4 17:18:58 2006: Wed Jan 4 17:18:58 2006: fsck.ext2: No such file or directory while trying to open /dev/mapper/data-backup Wed Jan 4 17:18:58 2006: /dev/mapper/data-backup: Wed Jan 4 17:18:58 2006: The superblock could not be read or does not describe a correct ext2 Wed Jan 4 17:18:58 2006: filesystem. If the device is valid and it really contains an ext2 Wed Jan 4 17:18:58 2006: filesystem (and not swap or ufs or something else), then the superblock Wed Jan 4 17:18:58 2006: is corrupt, and you might try running e2fsck with an alternate superblock: Wed Jan 4 17:18:58 2006: e2fsck -b 8193 Wed Jan 4 17:18:58 2006: Wed Jan 4 17:18:58 2006: fsck.ext3: No such file or directory while trying to open /dev/mapper/data-cvs Wed Jan 4 17:18:58 2006: /dev/mapper/data-cvs: Wed Jan 4 17:18:58 2006: The superblock could not be read or does not describe a correct ext2 Wed Jan 4 17:18:58 2006: filesystem. If the device is valid and it really contains an ext2 Wed Jan 4 17:18:58 2006: filesystem (and not swap or ufs or something else), then the superblock Wed Jan 4 17:18:58 2006: is corrupt, and you might try running e2fsck with an alternate superblock: Wed Jan 4 17:18:58 2006: e2fsck -b 8193 Wed Jan 4 17:18:58 2006: Wed Jan 4 17:18:58 2006: Wed Jan 4 17:18:58 2006: fsck failed. Please repair manually. Wed Jan 4 17:18:58 2006: Wed Jan 4 17:18:58 20
grub fallback mechanism
I'm trying to test a new kernel remotely so I would like to use grubs fallback mechanism. I was wondering what is the difference between doing using a config like this one taking from grub manual default saved timeout 10 fallback 1 title A root (hd0,0) kernel /kernel savedefault fallback title B root (hd1,0) kernel /kernel savedefault fallback or just this one default 0 timeout 10 fallback 1 title A root (hd0,0) kernel /kernel title B root (hd1,0) kernel /kernel are these two configuration functionally different. Thanks for your help. Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVR software for linux
Ron Johnson wrote: On Sun, 2005-11-06 at 05:31 -0600, Colin Ingram wrote: Does anyone know of any DVR software for Debian (or even just GNU/Linux). Im looking for something like this proprietary software. http://www.snapstream.com/products/beyondtv/ MythTV & Freevo. cool thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DVR software for linux
Heimdall Midgard wrote: 2005/11/6, Ron Johnson <[EMAIL PROTECTED]>: On Sun, 2005-11-06 at 05:31 -0600, Colin Ingram wrote: Does anyone know of any DVR software for Debian (or even just GNU/Linux). Im looking for something like this proprietary software. http://www.snapstream.com/products/beyondtv/ MythTV & Freevo. Well, I spent half an hour trying to figure out how to get MythTV to work[1] until I discovered that MythTV is more like a whole new operating system than simply just "software for" recording TV shows. it does seem that way For one thing, MythTV creates its own user directory under /home. This is something I had never before seen in a piece of application software, although it's fairly common for daemons and the like to create their own user identities to own their processes. it does sort of seem like something you would want to run all that time. Well I haven't tried it yet so I don't know what the start up times are like...but I know that I expect my TV to start up immediately I had to log in as mythtv to get to the fancy setup screen. Unfortunately the computer I tried this on didn't have a TV tuner, as I didn't want to test MythTV on my Net-connected unit (and possible bork my connection). how would it do that? If all the OP wanted (I know it's probably not what s/he wants) was to record shows, you can't get much lighter than mplayer (mplayerhq.hu). You could also try mjpegtools and nvrec (SourceForge). I also see a recording option for VLC (videolan.org) but have so far been unable to get it to work. Mplayer can be programmed, using cron or at, to record shows at appropriate times. For simply watching TV, I use TVTime and sometimes even plain-vanilla mplayer. Hey thanks for the suggestions but I was really looking for something with "liveTV" like functionality to go in a media center box [1] Confession: I didn't read the documentation and simply relied on the video presentation I downloaded from http://revision3.com/systm/mythtv/ -- Albert Einstein: Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DVR software for linux
Does anyone know of any DVR software for Debian (or even just GNU/Linux). Im looking for something like this proprietary software. http://www.snapstream.com/products/beyondtv/ thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
shorewall post-int hangs on sarge
I use sarge and when I recently tried to install the most recent update to shorewall( v2.2.3-2) my system hangs when trying to configure shorewall. ps shows the postins script zombified. [EMAIL PROTECTED]:~$ ps axfw PID TTY STAT TIME COMMAND 7905 ?Ss 0:00 \_ sshd: colin [priv] 7907 ?S 0:00 | \_ sshd: [EMAIL PROTECTED]/0 7908 pts/0Ss 0:00 | \_ -bash 7914 pts/0S+ 0:01 | \_ aptitude 7971 pts/0S+ 0:00 | \_ /usr/bin/dpkg --configure shorewall 7972 pts/0S+ 0:00 | \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/shorewall.postins 7982 pts/0Z+ 0:00 | \_ [shorewall.posti] I tried downgraded and the same thing occures. Shorewall scripts seem to be working fine. Has anyone else had this problem? Should I submit a bug report? Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RAID and Dual Boot Install
I am trying to install debian on a system that already contains windows XP on a raid 0 partition. I've got some difficult hardware so bare with me on this. My motherboard is a nforce4 chipset and I have two disk, sda and sdb, which are configured in a raid 0 array through the nvraid bios. I have a single partition(NTFS) which occupies ~40GB and I would like to install debian in the remaining space. The debian installer finds my disks okay but doesn't recognize the raid.(I really didn't expect it do so) I've gotten knoppix to boot with the same outcome. The question is how do I get debian to recognize the disk setup. I have read about "dmraid" which doesn't seem to be available in debian. Can I do this with existing debian tools or should I get another hard disk? I welcome doc/how-to/RTFM's on this...Thanks Possible useful output..additional specs/info can be provided upon request [EMAIL PROTECTED] dmesg Linux version 2.6.12 ([EMAIL PROTECTED]) (gcc-Version 3.3.6 (Debian 1:3.3.6-7)) #2 SMP Tue Aug 9 23:20:52 CEST 2005 ---snip Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 RAMDISK driver initialized: 16 RAM disks of 10K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx NFORCE-CK804: IDE controller at PCI slot :00:06.0 NFORCE-CK804: chipset revision 162 NFORCE-CK804: not 100% native mode: will probe irqs later NFORCE-CK804: BIOS didn't set cable bits correctly. Enabling workaround. NFORCE-CK804: :00:06.0 (rev a2) UDMA133 controller ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:DMA Probing IDE interface ide0... hda: _NEC DVD_RW ND-3520AW, ATAPI CD/DVD-ROM drive hdb: Pioneer DVD-ROM ATAPIModel DVD-117 0107, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide2... Probing IDE interface ide3... Probing IDE interface ide4... Probing IDE interface ide5... hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.20 hdb: ATAPI 126X DVD-ROM drive, 256kB Cache libata version 1.11 loaded. sata_nv version 0.6 ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23 ACPI: PCI Interrupt :00:07.0[A] -> Link [APSI] -> GSI 23 (level, low) -> IRQ 23 PCI: Setting latency timer of device :00:07.0 to 64 ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xD400 irq 23 ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xD408 irq 23 ata1: no device found (phy stat ) scsi0 : sata_nv ata2: dev 0 cfg 49:2f00 82:74eb 83:7f63 84:4003 85:74e8 86:3c43 87:4003 88:407f ata2: dev 0 ATA, max UDMA/133, 72303840 sectors: lba48 nv_sata: Primary device added nv_sata: Primary device removed nv_sata: Secondary device added nv_sata: Secondary device removed ata2: dev 0 configured for UDMA/133 scsi1 : sata_nv Vendor: ATA Model: WDC WD360GD-00FL Rev: 31.0 Type: Direct-Access ANSI SCSI revision: 05 ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 22 ACPI: PCI Interrupt :00:08.0[A] -> Link [APSJ] -> GSI 22 (level, low) -> IRQ 22 PCI: Setting latency timer of device :00:08.0 to 64 ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xC000 irq 22 ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xC008 irq 22 ata3: no device found (phy stat ) scsi2 : sata_nv ata4: dev 0 cfg 49:2f00 82:74eb 83:7f63 84:4003 85:74e8 86:3c43 87:4003 88:407f ata4: dev 0 ATA, max UDMA/133, 72303840 sectors: lba48 nv_sata: Primary device added nv_sata: Primary device removed nv_sata: Secondary device added nv_sata: Secondary device removed ata4: dev 0 configured for UDMA/133 scsi3 : sata_nv Vendor: ATA Model: WDC WD360GD-00FL Rev: 31.0 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 72303840 512-byte hdwr sectors (37020 MB) SCSI device sda: drive cache: write back SCSI device sda: 72303840 512-byte hdwr sectors (37020 MB) SCSI device sda: drive cache: write back sda: sda1 Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 SCSI device sdb: 72303840 512-byte hdwr sectors (37020 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 72303840 512-byte hdwr sectors (37020 MB) SCSI device sdb: drive cache: write back sdb: unknown partition table Attached scsi disk sdb at scsi3, channel 0, id 0, lun 0 mice: PS/2 mouse device common for all mice EISA: Probing bus 0 at eisa.0 Cannot allocate resource for EISA slot 1 Cannot allocate resource for EISA slot 6 Cannot allocate resource for EISA slot 7 Cannot allocate resource for EISA slot 8 EISA: Detected 0 cards. NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 64Kbytes TCP established hash table entries: 131072 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 15 ACPI wakeup devices: HUB0
Re: diff in octave and octave-forge
roberto wrote: Hi all, i know two different packages (among others) are downloadable for math computing: octave and octave-forge i have installed and currently using octave 2.1.69 but what are the differences with octave-forge?? can i install octave-forge without conflict with octave 2.1? (aptitude says yes...) programs in octave 2.1 are compatibles with octave-forge? or is just octave-forge a bundle of packages usable also from within octave?? thank you very much, any help is appreciated : ) from http://octave.sourceforge.net/ " The GNU Octave Repository is intended to be a central location for custom scripts, functions and extensions for GNU Octave" octave-forge is a library of functions and scripts which enhance octave. You will probably need this. For instance if you want to do any optimaztion like least squared fitting, you will want this package. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Is NTFS file system (Win2k) stable and usable with debian sarge?
Robert Wolfe wrote: On 9/6/05, *Colin Ingram* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: >A different approach, if you need to rw > 2gb files. Don't dual boot, >run Windows in Vmware or equal and use Samba to transfer the files. > > Doesn't smbmount limit file transfers to 2GB though? I have not had this problem. Really if I try to copy or create a file larger than 2GB on a smbmounted share it fails at 2GB others have had this problem too. http://lists.debian.org/debian-user/2005/07/msg02836.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Is NTFS file system (Win2k) stable and usable with debian sarge?
Greg Madden wrote: On Sunday 04 September 2005 10:05 am, J. Grant wrote: [Please include my email address in replies] I'm dual booting with win2k, I have a small FAT32 partition, which I mount and transfer files via. It is ok, but limited to 2GB per file max. I understand that NTFS allows me to transfer bigger files. Is NTFS support at a level where it is usable and stable for me to copy files etc? I don't want to corrupt the partition each time I write something to it etc.. Tips appreciated. Kind regards JG Linux now2g 2.6.8-2-k7 #1 Mon Jan 24 03:29:52 EST 2005 i686 GNU/Linux A different approach, if you need to rw > 2gb files. Don't dual boot, run Windows in Vmware or equal and use Samba to transfer the files. Doesn't smbmount limit file transfers to 2GB though? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: U.S. federal income tax program
Ron Johnson wrote: On Fri, 2005-08-26 at 10:10 -0400, Paul Smith wrote: What exactly are you looking for? There are a large number of 100% web-based tax programs available. These work very well on Linux. Am I the only person who has seen all of the sites that leave confidential data just lying around on publicly accessible servers, and not want my tax info to be lying around on misconfigured tax web servers? Most of the information contained in tax returns is probably lying around on all kinds of publicly accessible servers. That is if you have bank accounts, loans, finicial aid, mortgage, school applications, job applications, criminal record... I wouldn't doubt if the IRS keeps this information on servers that are publicly accessible. Theres not much you can do to stop someone who really wants this info. from getting it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apache2::Util not getting installed?
David Dyer-Bennet wrote: However, that file doesn't exist: [EMAIL PROTECTED]:~$ ls -F /usr/lib/perl5/Apache2/ Apache/ APR/ APR.pm auto/ ModPerl/ mod_perl.pm It is located at /usr/lib/perl5/Apache2/Apache/Util.pm At least in my installation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: disk usage of an umounted partition?
Chris Palmer wrote: If the filesystem is intact, you can also examine other fields (e.g. s_blocks_count, s_free_blocks_count, s_log_block_size, et c.) to figure out how much space is used. Hopefully the original poster won't have to perform filesystem surgery. :) Nope! No reconstruction here, I was just wonder if this was possible. As Roberto pointed out my orginal thought that there may be a simple tool to do this doesn't make sense. Thanks Chris for pointed out that it IS possible but requires extreme measures. I hope I never have to experience this first hand!!! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
disk usage of an umounted partition?
I don't know if this is even possible but can I find out the disk usage of a partition with a unknown or damaged filesystem?
tar bug?
I haven't used tar that much so I don't know if this is the way it has always been or if this is a bug. Tar automatically excludes the archive being created from archive in order to prevent an infinite loop. $ tar -cvvf /home/colin/tartest/test/tartest.tar /home/colin/tartest/* tar: Removing leading `/' from member names -rw-r--r-- colin/colin 20 2005-08-09 09:20:34 /home/colin/tartest/file drwxr-xr-x colin/colin 0 2005-08-09 09:35:41 /home/colin/tartest/test/ tar: /home/colin/tartest/test/tartest.tar: file is the archive; not dumped but if you use compression it will include the file $ tar -cjvvf /home/colin/tartest/test/tartest.tar /home/colin/tartest/* tar: Removing leading `/' from member names -rw-r--r-- colin/colin 20 2005-08-09 09:20:34 /home/colin/tartest/file drwxr-xr-x colin/colin 0 2005-08-09 09:37:26 /home/colin/tartest/test/ -rw-r--r-- colin/colin 0 2005-08-09 09:37:26 /home/colin/tartest/test/tartest.tar $ tar -czvvf /home/colin/tartest/test/tartest.tar /home/colin/tartest/* tar: Removing leading `/' from member names -rw-r--r-- colin/colin 20 2005-08-09 09:20:34 /home/colin/tartest/file drwxr-xr-x colin/colin 0 2005-08-09 09:38:13 /home/colin/tartest/test/ -rw-r--r-- colin/colin 0 2005-08-09 09:38:13 /home/colin/tartest/test/tartest.tar You must manually exclude the file to get around the problem. Is this the normal behavior of tar? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: hosed raid 1 under lvm
Erik Karlin wrote: on top. The raid one was made from hdb1 and hdc1. Recently when I was trying to change the size of a logical volume. I noticed that my vg was using /dev/hdc1 as a physical volume instead of /dev/md0. I'm running debian sarge and I have/had a 200GB raid 1 devices with LVM2 before we go further, I had to do two tweaks to the /etc/lvm/lvm.conf. First, you need to make sure you've got: md_component_detection = 1 Then, I needed to add a filter to remove all of my /dev/hd* drives so that lvm would only be allowed to see the /dev/md* "drives". There was already a line there to remove /dev/cdrom, so I hijacked that: filter = [ "r|/dev/cdrom|", "r|/dev/hd.*|" ] In the end, I'm left with the following in my /etc/lvm/.cache # This file is automatically maintained by lvm. persistent_filter_cache { valid_devices=[ "/dev/md5", "/dev/md0", "/dev/md1" ] } md0 is raid1 /, md1 is raid1 swap, and md5 is raid10 over md2/3/4 That resolved my found duplicate PV issues Thanks...its seems like this will prevent my current predictament from occuring again. I'll implement it after I fix the raid issue at hand. Any comments on my recovery procedure? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
hosed raid 1 under lvm
calling all lvm/raid gurus I'm running debian sarge and I have/had a 200GB raid 1 devices with LVM2 on top. The raid one was made from hdb1 and hdc1. Recently when I was trying to change the size of a logical volume. I noticed that my vg was using /dev/hdc1 as a physical volume instead of /dev/md0. $ pvscan Found duplicate PV YDMoRSv4EKZXHNPuchid5hPIwmXDCBCm: using /dev/hdb1 not /dev/hdc1 PV /dev/hda4 VG LVMlvm2 [68.96 GB / 0free] PV /dev/hdc1 VG data lvm2 [186.30 GB / 4.00 MB free] Total: 2 [255.26 GB] / in use: 2 [255.26 GB] / in no VG: 0 [0 ] some additional digging and I found that my raid devices is inactive $ mdadm -D /dev/md0 mdadm: md device /dev/md0 does not appear to be active. but the mdsuperblock still seems present on both devices $mdadm -E /dev/hdb1 /dev/hdb1: Magic : a92b4efc Version : 00.90.00 UUID : 9dc1df9b:771959ca:53ed751d:7b3b40ba Creation Time : Sun Apr 17 13:24:05 2005 Raid Level : raid1 Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Fri May 13 16:52:37 2005 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 1dcab098 - correct Events : 0.482221 Number Major Minor RaidDevice State this 1 3 651 active sync /dev/.static/dev/hdb1 0 0 2210 active sync /dev/.static/dev/hdc1 1 1 3 651 active sync /dev/.static/dev/hdb1 $ mdadm /dev/hdc1 /dev/hdc1: Magic : a92b4efc Version : 00.90.00 UUID : 9dc1df9b:771959ca:53ed751d:7b3b40ba Creation Time : Sun Apr 17 13:24:05 2005 Raid Level : raid1 Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Update Time : Fri May 13 16:52:37 2005 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 1dcab069 - correct Events : 0.482221 Number Major Minor RaidDevice State this 0 2210 active sync /dev/.static/dev/hdc1 0 0 2210 active sync /dev/.static/dev/hdc1 1 1 3 651 active sync /dev/.static/dev/hdb1 I'm not sure how this happen but I've come up with a couple of possibilities that happen several months ago. 1. I migrated these disk from a previous test box for this server. I may have messed on the initial install into the new box. 2. I replaced hdb1 as hdc1 when doing some maintenance. In any case LVM recognized the UUID of one of disks and continued normally. Now I'm try to fix the situation. All the data on the disks are backup so I could just start fresh but I would like to repair the situation if I can. Here is the steps I've come up with. Please check them out for pitfalls etc or missing commands. Outline: To fix the LVM, I will treat the situation as if I am migrating the disks to a new system. Instead of moving drives I will be repairing raid. To fix Raid I need to determine which disk LVM has been using then restart the RAID with that disk then add the second disk as a spare. Detail: 1. Umount file systems # unmount /backup # unmount /share/ftp # unmount /share 2. Mark Volume Group as inactive # vgchange -an data 3. Export volume Group # vgexport data 4. Mount Disk and examine contents for recent data # mount /dev/hdb1 /mnt/hdb # mount /dev/hdc1 /mnt/hdc 5. Restart array with devices with most recent data # mdadm -A /dev/md0 /dev/hdb1 or /dev/hdc1 (will this start the array degraded or do I need to create a new array with mdadm -C /dev/md0 --level=1 --raid-devices=/dev/hdb1 missing) 6. Add second devices as spare # mdadm /dev/md0 --add /dev/hdc1 or /dev/hdb1 7. Fix LVM (this is assuming that pvscan now recognizes PV /dev/md0 as being apart of VG data # vgimport data # vgchange -ay data # mount /share # mount /share/ftp # mount /backup 8. Set up mdadm in monitor mode and have a beer! Thanks for the help in advance Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: debian reference html
roberto wrote: Hello i wonder if it is possible to download the entire debian reference in html format, with ALL its internal links and pages. aptitude install debian-reference-en -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Accessing a program started in another term
Almut Behrens wrote: On Thu, Jun 30, 2005 at 04:29:50PM -0500, Colin Ingram wrote: Lets say, I'm at work and I start a remote session for an interactive program, like octave. Then I go home with and my remote terminal session and the octave program are still running at work. Is there a way for me to take control of that terminal and interact with the running octave program? I use octave as an example but I'm looking for solution (if it exists) that would be generally applicable. You most likely want 'screen'. Very useful tool in many respects... Almut screen is exactly what I want. Thanks! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Accessing a program started in another term
Lets say, I'm at work and I start a remote session for an interactive program, like octave. Then I go home with and my remote terminal session and the octave program are still running at work. Is there a way for me to take control of that terminal and interact with the running octave program? I use octave as an example but I'm looking for solution (if it exists) that would be generally applicable. Colin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: smaller fonts on boot
Michal Simovic wrote: but that's all i could do, i don't know how to pass a command line option that would actually switch to that mode.. could you give me some more instruction? "vga" is not recognized by the grub command line.. An excerpt from my menu.lst file ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specifiv kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro # kopt=root=/dev/hda2 ro vga=259 *<-- *(append options here for update-grub) ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,1) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery mode) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## ## End Default Options ## titleDebian GNU/Linux, kernel 2.6.8-2005.05.31 root(hd0,1) kernel/boot/vmlinuz-2.6.8-2005.05.31 root=/dev/hda2 ro vga=259 <- (append here for manual) savedefault boot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Resolved] Re: How to capture bootup messages?
Colin Ingram wrote: Greg wrote: It matters because if Paulo or anyone else is not using udev then they want be affected by the udev/bootlogd init script bug. Mainly because they want have /etc/init.d/udev on their system which umounts /dev/pts so bootlogd can no longer work. I can't believe no one else has this problem. Is there something else wrong with my system. Never mind I just noticed that the May 29 udev update(which I haven't gotten around to installing) fixes this problem. udev (0.056-3) unstable; urgency=high * Use group lp for USB printers. (Closes: #309091 <http://bugs.debian.org/309091>) * Use group dialout for sl-modem devices. (Closes: #308488 <http://bugs.debian.org/308488>) * Fix support for more than 9 partitions in removable.sh. (Closes: #306400 <http://bugs.debian.org/306400>) * Mount the tmpfs from "tmpfs" instead of "none". (Closes: #307199 <http://bugs.debian.org/307199>) -- Marco d'Itri <[EMAIL PROTECTED] <http://qa.debian.org/[EMAIL PROTECTED]>> Sun, 29 May 2005 19:29:30 +0200 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: FW: Sarge Upgrade DEBOCLE ! ! !
Greg Madden wrote: On Wednesday 15 June 2005 12:52 pm, Michael Martinell wrote: -Original Message- From: Joerg Rossdeutscher [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 2:15 PM To: debian-user@lists.debian.org Subject: Re: Sarge Upgrade DEBOCLE ! ! ! AFAIK dselect gets removed from debian. apt-get is deprecated. aptitude is the tool to be used. Bye, Ratti An aside: I sincerely hope that apt-get does not go away. Aptitude has *a long* ways to go before it is very useful to me. It reminds me of dselect - clumsy and not very efficient. I could have a package found and installed using apt-get before I even began to guess which subheading it is hiding under in aptitude. To me aptitude is just an unwanted step-child of dselect - which I didn't like either. That is just my 2 cents worth of course. Everybody else in the world is free to disagree. If you know the name of a package apt-get has its merits, but then the 'search' function of dselect (forward-slash key) or aptitude works quite well also, if you know the package name. Aptitude has a very powerful search feature. You can search both package name and description as well as over 10 other conditions (which they call terms). I must say that I had to read the entire aptitude manual inorder to apprieciate what it could do. Of course I like and use dselect :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to capture bootup messages?
Greg wrote: Paulo M C Aragão wrote: Colin Ingram wrote on Jun, 15: This is curious. I'm running Debian stock kernel 2.4.27-2-686 and neither: CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 I don't think these are needed or that they are the problem seem to be configured (checked /boot/config-2.4.27-2-686), but bootlogd works for me. Do you use udev? My ignorance: how do I check if I am using devfs or udev ? Paulo # file /dev/.udevdb /dev/.devfsd [but that's quick&dirty, does it matter?] It matters because if Paulo or anyone else is not using udev then they want be affected by the udev/bootlogd init script bug. Mainly because they want have /etc/init.d/udev on their system which umounts /dev/pts so bootlogd can no longer work. I can't believe no one else has this problem. Is there something else wrong with my system. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to capture bootup messages?
Paulo M C Aragão wrote: Stephen R Laniel wrote on Jun, 14: See also http://lists.debian.org/debian-user/2005/03/msg03789.html This is curious. I'm running Debian stock kernel 2.4.27-2-686 and neither: CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 I don't think these are needed or that they are the problem seem to be configured (checked /boot/config-2.4.27-2-686), but bootlogd works for me. Do you use udev? Paulo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to capture bootup messages?
Stephen R Laniel wrote: On Tue, Jun 14, 2005 at 09:20:07PM -0300, Paulo M C Aragão wrote: This fantastic list help me on this one before. Put this in /etc/default/bootlogd: BOOTLOGD_ENABLE=yes Next time you boot, every msg sent to /dev/console will end up in /var/log/boot. Cool! Two things. 1) When I enable it and try to run it (under Ubuntu), I get * Starting Bootlog daemon... bootlogd: cannot find console device 136:0 in /dev Looks like this came up back in March on this list: http://lists.debian.org/debian-user/2005/03/msg03738.html See also http://lists.debian.org/debian-user/2005/03/msg03789.html I had this problem and it wasn't fixed by CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 its related to bug #307977 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=30797 I ended up creating a link from /etc/init.d/mountvirtfs to /etc/init.d/udev-bootlogdfix and then linking /etc/rcS.d/S04udev-bootlogdfix to /etc/init.d/udev-bootlogdfix. This script will run after udev and before bootlogd and will remount /dev/pts so bootlogd can run normally. Has nobody else had this problem. I thought my bootlogd was working until I installed and new kernel and rebooted and want to check the boot messages and released my last boot message was on Apr 6th. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How useful is apt-spy?
David Jardine wrote: However, since apt-spy took 50 minutes to run through all the mirrors and the download itself took about 15 hours, I wonder how useful apt-spy's tests were. I have the feeling that I was wasting my time with apt-spy since the potential download speeds from the various servers would be unpredictable shortly after the sampling, but I don't know how much and how fast these things do vary. I use apt-spy and I think the results are pretty consistent. I have let it rub through all of the mirrors three times over the last few months. Many of the fastest ten sites I had apt-spy output where the same for those three runs. I have additional run apt-spy using the file input option so that it only tested the ten fast servers previously found. Most recently I did this four or five times on different days and I apt-spy gave the same server as the fastest. Might I have been better off just looking for the server nearest to me geographically? Despite what I said above, in my case every time I have run apt-spy the fastest severs where ones that were either the closest or second closest to me. So if I only had a 56k modem I wouldn't bother. Thanks for any response that will help me next time. David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sarge release date [Was: Installing D-Link DGE-530T Gigabit NIC on an Woody 3.0r5 after Install.]
Siju George wrote: I have downloaded sarge today and am going to install it so I'll let you know the details soon. I happened to see something strange though! You should probably start a new thread with your new topic. You have a better chance of getting a response from people other than myself, who may not be following this thread anymore. on june 6th on the debian site it was written that Sarge would take one more week to get released because of some critical bugs needing to be fixed but today i find that the site mentions that Sarge was released on june 6th itslef!! any Idea what happened?? I don't know about this but sarge was released June 6th. also I see the CD ISOs have te alphabet "a" appended to their name like "3.1r0a" does it mean that it is the alpha release of "3.1r0" or something?? Nope there was a minor update to correct a problem with the default sources.list Thankyou so much once again for caring to help :-) No problem! Let us know of your upgrade goes. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: i think I switched to Etch without knowing it
Guillaume TESSIER wrote: Right, This could be interresting to debate about. It's still about debian "version", packages version and repositories. Broadly, package are evoluting that way : The package is in really beta version in the unstable tree. Then most of the bugs are fixed and this package slides to the testing tree. This slide happens about every 2 days. Finally, once every one or two years, the whole packages slides to stable when they are the most bug free as possible. Since the "BIG SWITCH" of the 06/06/2005, a big slide happened. I'm running a sarge testing that is a snapshot of the 02/06/2005 and now, i'd like to continue to stick with sarge but in its stable version. But a question rise to me... And the little tab down there, illustrate it : The same package version exists at different T time in the 3 trees. BUT ITS NOT BE THE SAME BINARIES --- | | Unstable| Testing| Stable| | T-2 | package-2.0| package-1.9 | package-1.5 | | T-1 | package-2.1| package-2.0 | package-1.5 | | T | package-2.2| package-2.1 | package-2.0 | --- Let's look at the package-2.0 At T-2, it's in the Unstable tree and this package could have lot's of bugs. Some days after (T-1), the project developper or the debian maintainer of this package has fixed up a great part of these bugs and the package is entering the the Testing tree. At T, the last bugs of this package have ben fixed, and the package enter the stable tree. All of this means, that the same package version can be different binaries. for exemple package-2.0 at T-2 in the unstable tree is filled up with bugs and at T in the Stable tree, the same package is clean and fonctional. no no no...this is not how it works. Package-2.0 enters Unstable then some time later it goes into testing like you said. It may be full of bugs like you said. The Maintainer fixes this bugs repackages the binaries and resubmits them to unstable as a higher debian version (Package-2.1). Then this package goes to testing. When all the packages in testing are free of bugs...the symlinks connecting sarge to testing are changed so that sarge is now stable. What every package version was last in Sarge is now in stable. So Package-2.1 in this case would no be the version in stable and its free of bugs. Now if your last update was the day before "BIG SWITCH" (june 5, 2005) then you would have had the most up to date version of sarge testing that ever existed. Additionally your version of Sarge would only differ from Sarge stable by the updates that occurred between the time you updated and the next day. So very little changes. If you want the most up to date version of sarge now...point you sources.list files to sarge and apt-get update. So, what happen if you have, like me, a sarge testing of T-1 and want to upgrade to the sarge stable When doing update, apt will think : package-2.0 is already installed and there is no version of this package superior to 2.0 in the stable tree, so i don't upgrade that one Therefore, i do not have the real package-2.0 in it's stable binaries when doing an upgrade and will keep a mixed up system. packages with the same version number have the same binaries and are exactly the same no matter if they are in unstable, testing, or stale -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: i think I switched to Etch without knowing it
Guillaume TESSIER wrote: Marty wrote: This means : the package-2.0 is my system (taken from the testing repositories at (BIG-SWITCH -4)) could be different than the package-2.0 in the stable repositories. And APT won't see it and won't upgrade this package. Therefore it seems it's not possible to fully upgrade from a Sarge testing to a sarge stable. I don't think this is true. Everytime an update is made to a package (including minor bug fixes) it gets a new debian version. So if you installed packageA 2.1-1 two months ago and there have been some bug fixes then "BIG SWITCH" now when you update you will get package A 2.1-2 with the included bug fixes etc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Eliminating upgrade confusion
Colin wrote: whole picture. Nah, I can't buy this argument. When I look to see what entries I can put in my sources.list file, I actually take a web browser and look at the directory it comes from. In the "dists" directory, I can see that "testing" and "stable" are links to names like "sarge" and "etch". It doesn't take a rocket scientist to figure out that links like testing and stable could change sometime in the future while actual directories like "sarge" and "etch" are going to stay around. How many newbies are going to do that? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: i think I switched to Etch without knowing it
Marty wrote: Colin Ingram wrote: Apt uses its default behavior if you don't have an apt.conf file. As for version this default behavior is to update to the newest version available. It seems like you are referring to package version. I was referring to Debian version, e.g. sarge, etch, stable, 3.1a0, etc. I would say my Debian version is sarge because all the packages on my system come from sarge (besides one, Octave, which is from unstable). I seemed to missing something here. Are there files on your system(besides user created) which aren't included in any package and therefore don't have a package version? My understanding is that all the files on the system are from packages (unless you installed packages yourself) and therefore they all have a package version. So if your sources.list points to stable and stable only, then all your packages are from stable, and your Debian version is stable. I guess you could define this differently, like what release a specific package comes from. (see man apt_preferences) So if you don't have an apt.conf file and you don't have a preferences file and you have multiple versions specified in your sources.list then you will install/upgrade from/to sid. (or the most recent version specified in sources.list) On the other hand if you only specify one release in your sources.list file (i.e. stable) then apt will install/upgrade from/to stable because those will be the newest (and only) packages it knows about. So what you are saying is consistent with the others -- apt does not "know" or "care about" the "Debian version." I knew this to be true with dpkg, but not apt. This seems to be the case. Apt only cares about whats in the package list, which is controlled by source.list. If there is more than one version of a package in that list apt installs the most recent one by default. Apt.conf and preferences override this behavior as outlined in man_preferences In a nut shell you can control your "version" with the apt.conf/preferences files or by only downloading a package list from a single release. Once again it seems you are referring to package version here, unless I'm missing something. Yup, I was referring to package version but as a said above I see that as being equivalent to Debian version -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: i think I switched to Etch without knowing it
Marty wrote: Colin Ingram wrote: On a side note: I installed sarge fresh a couple of months ago and I didn't have a /etc/apt/apt.conf file or /etc/apt/preferences. I created both by hand. This is all very mysterious to me, all these people lacking an apt.conf file. I wonder how apt can function without it? In particular, how do you specify your Debian version?! Apt uses its default behavior if you don't have an apt.conf file. As for version this default behavior is to update to the newest version available. (see man apt_preferences) So if you don't have an apt.conf file and you don't have a preferences file and you have multiple versions specified in your sources.list then you will install/upgrade from/to sid. (or the most recent version specified in sources.list) On the other hand if you only specify one release in your sources.list file (i.e. stable) then apt will install/upgrade from/to stable because those will be the newest (and only) packages it knows about. In a nut shell you can control your "version" with the apt.conf/preferences files or by only downloading a package list from a single release. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: i think I switched to Etch without knowing it
Another point : in sources.list : changing testing by stable or testing by sarge returns me error when updating. Like apt can't find the repositories Does someone remember the command to reconfigure to get the choice of mirrors? G I use apt-spy to find mirrors. You can update the mirror list with $ apt-spy update On a side note: I installed sarge fresh a couple of months ago and I didn't have a /etc/apt/apt.conf file or /etc/apt/preferences. I created both by hand. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Top posting
Wim De Smet wrote: I think it's not necessarily wrong to use top posting. I just feel like both manners of posting have their place. When you are just including a mail for reference to something, and then make a reply that is partly unrelated, I don't mind top posting. When it's a discussion like this one, I'd say bottom posting is the way to go. I agree with this statement. In a conversation between two people, where the previous messages are only included for reference, top posting makes more sense. I often top post in communications between my friends, family, and colleague at work. However, in a conversation between lots of people, like this list, or in a situation where you are answering lots of questions, like this list, bottom or inline posting makes more sense. Each has its on place. It's up to each of our own judgments, and prerogatives, to figure out when to use them. Most people using email are not aware of the benefits of bottom posting. (I wasn't until I starting using this list) This makes it important to educate new users and to have patients with people who are just learning. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing D-Link DGE-530T Gigabit NIC on an Woody 3.0r5 after Install.
Siju George wrote: The Installation of this module failed so now could someone please tell me how I ca install this NIC?? I assume you mean the sk98lin module that I suggested to use? Exactly what failed? Did you try the one which is available in the kernel? I suggest trying this first. When you recompile the kernel you should find the correct module. ** in the top level of the kernel source ** $ make menuconfig then goto Device Drivers ---> Networking support ---> Ethernet (1000 Mbit) ---> Select "Marvel Yukon Chipset/ SysKonnect SK-98xx Support" and compile it as a module the build the kernel image .deb (go ahead and build the headers also...you will need this if this module fails to work, this can be done in three steps $ fakeroot make-kpkg clean $ fakeroot make-kpkg binary-arch $ sudo dpkg -i /usr/src/kernel-{image,headers}(kernel-version)(--append-to-version)_(--revision)_(architecture).deb then restart your system...logon now load the module $ sudo modprobe sk98lin no bring the interface up $ sudo ifconfig eth0 up if that doesn't work you will have to compile the module from SysKonnect. Follow the instructions at their website. Be sure to link /usr/src/linux to /usr/src/kernel-headers-(kernel-version)(--append-to-version) that you created. $ cd /usr/src $ sudo ln -s kernel-headers-(kernel-version)(--append-to-version) linux More info on building kernels: http://newbiedoc.sourceforge.net/system/kernel-pkg.html SysKonnect Driver Module and Instructions http://www.syskonnect.com/syskonnect/support/driver/readme/linux/sk98lin.html http://www.syskonnect.com/syskonnect/support/driver/zip/linux/install-8_16.tar.bz2 Hope that helps let me know how it goes. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing D-Link DGE-530T Gigabit NIC on an Woody 3.0r5 after Install.
Siju George wrote: Hi al, I have been working on a debian woody 3.0r5 for which I have to install a D-Link DGE-530T Gigabit NIC o it now. Running #modconf and looking under kernel/drivers/net Drivers for network interface cards I find dl2k - D-Link 2000-based Gigabit Ethernet support Could someone please tell me if it is the right module I should Install to get the Gigabit NIC working or should I use the driver on the CD. D-link DGE-530T uses the sk98lin driver. I was not able to get it to work with the module included with the 2.4.x kernels and Woody, however the module in kernel 2.6.8 (sarge) works fine. When I was using woody I installed the driver from SysKonnect. http://www.syskonnect.com/syskonnect/support/driver/ I would try the one that comes with the kernel first though since I might have had some other problem. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: shell cript deleting backups
'Maildir' is directory ( ~/Maildir/INBOX.debian ) I'm looking for a simple backup package independant of KDE. If you have a hint :) Founded kbackup but not what i need. Thanks for your help mess-mate -- Condense soup, not books! Check out dirvish It will allow you to make daily (or however often you would like) backups which can remove on anytime schedule you wish. You can name the files anything you wish. Its a great set of scripts! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: something wrong after upgrade
Geng (Nico) Chan wrote: > Hi, > I use sarge as the only OS in my laptop(compaq m300), it works well > for nearly one year, but something went wrong this morning, after > I tried to upgrade my system by using > _#apt-get upgrade_ > Everything went ok, however after I reboot my box, the X could no > longer start any more. I read the log and got the error message: > _ /dev/psaux no such device._ > But I am wonderring why after I upgraded my system the kernel didn't > load the modules > which it automatically loaded before any more, since I didn't upgrade > kernel, which > always is 2.6.8-2, neither the configuration files. Could this be your problem? http://lists.debian.org/debian-user/2005/06/msg00456.html http://lists.debian.org/debian-user/2005/06/msg00507.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Bash Script Help
Fred L Youhanaie wrote: Hi Colin, I have had to deal with this sort of things on quite a number of occasions, and I have my own little perl script, which is very similar to Paul's, mine came straight out of the perl cookbook ;-) If you replace Paul's last print statement with: print join('|', @fields), $/; you will end up with a filter that produces a '|'-separated file, which can then be processed with shell/awk/cut etc., or whatever your users are comfortable with. I'll have to look into this some more when I have time. A script like this could be very useful for preparing the formated output from the program in question. Everyone could just run their data through this script and then modify some awk commands to get the fields of their choice. Thanks Fred and Paul for the suggestions. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Bash Script Help
Almut Behrens wrote: I assume I can make the first subexpression match zero or one time. In that situation if the first subexpression doesn't match does $1=null? ...exactly (though it's 'undef', not null, strictly speaking). And the nice thing is that Perl doesn't segfault or throw fatal exceptions in such cases... it just works as expected. If used in a numeric context, an undefined value will just evaluate to 0, which is typically what you want. So, the above s/// statement simply has to be modified as follows s/^((\d+):)?(\d+):([\d.]+)/sprintf "%.3f", $2*60**2 + $3*60 + $4/e as you may have figured out yourself in the meantime. yep I got it working just like this (w/o the '/sprintf "%.3f"' which I will add to ensure the precisions is explicit). I like the way it works; thanks for the tip. When I have free time later this summer I am going to learn some more about perl! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Bash Script Help
Almut Behrens wrote: On Mon, May 23, 2005 at 04:17:44PM -0500, Colin Ingram wrote: (...) this creates a file that looks like this: 00:00.000, 3.24557e+007 00:02.510, 3.23482e+007 00:05.007, 3.24578e+007 00:07.507, 2.77091e+007 ---snip--- I now need to covert the "elapse time" column from the string format "hours:min:sec" to a column containing just seconds. I am unsure how to do this. Can I use command substitution in a sed substitute command? You could pipe the output of your script through the following perl command: ... | perl -pe 's/^(\d+):(\d+):(\d+)/$1*60**2 + $2*60 + $3/e' in case the time string represents "hours:min:sec". If it's "min:sec.msec" (looks like it to me...), then it'd be its actually "[hours]:min:sec" (the secs have ms precision). I assume I can make the first subexpression match zero or one time. In that situation if the first subexpression doesn't match does $1=null? ... | perl -pe 's/^(\d+):([\d.]+)/$1*60 + $2/e' The s///e option requests command subtitution, where the value can be any perl code, the result of which will be the replacement string. I'll look into this some more. Thanks for the suggestion -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Bash Script Help
Paul Smith wrote: %% Colin Ingram <[EMAIL PROTECTED]> writes: ci> This is not a debian specific question but I thought some of you ci> could help. I am writing a shell script to parse a CSV file Why would you choose bash to do this? The shell is great for running commands, but it's really poor at parsing text, compared to alternatives. I was hoping to make this solution as simple as possible, so that my colleagues (most won't know perl or any other scripting language, but have experience with the shell) may use this code and be able to modify it easily to fit their needs. (They may or may not start with a file of the same format) The most obvious is Perl, and you can even: # apt-get install libtext-csv-perl to install a Perl module that will parse CSV _for_ you, managing all the quoting, escaping, etc. I'll check this out. I guess I can always be available for others in case they need help with their modifications. Here's a sample program (note your CSV example is not a valid file: in a real CSV file you can't have whitespace after commas like that; I realize that but I can't change the file...our crappy, proprietary image processing software generates in that way. Needless to say, the software has little documentation and is poorly support; I have know idea how to customize the output. (I also have little say in using an alternative program, although I'm working hard on convincing the boss that change is needed) I added a stupid line to fix this but it breaks things if you have ", " in any quoted field). --- #!/usr/bin/perl use Text::CSV; my $csv = Text::CSV_XS->new(); open(CSV, $ARGV[0]) or die "open: $ARGV[0]: $!\n"; while (defined ($_ = )) { # Valid CSV cannot have whitespace after commas--note this breaks if # you have ", " inside a string... fix your CSV and remove this line! s/, /,/; $csv->parse($_) or warn("invalid CSV line: ", $csv->error_input(), "\n"), next; my @fields = $csv->fields(); # Do something with the array... access it as $fields[0] ... $fields[n] print "Fields: (@fields)\n"; } close(CSV) or die "close: $ARGV[0]: $!\n"; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[OT] Bash Script Help
This is not a debian specific question but I thought some of you could help. I am writing a shell script to parse a CSV file to prepare it for input into a program which will fit the data by a non-linear least squares fitting routine. This program takes input from a file containing two columns for "X" and "Y" data. the CSV file looks like this: Calibrations: "X:", 0.0645, "Y:", 0.0645, "Units:", "um", "Gray Units:", "" "Image Name", "Image Plane", "Elapsed Time", "Area", "Integrated Intensity" "2005.05.16 - FRAPtest1.6", "1", "00:00.000", 774.838, 3.24557e+007 "2005.05.16 - FRAPtest1.6", "2", "00:02.510", 774.838, 3.23482e+007 "2005.05.16 - FRAPtest1.6", "3", "00:05.007", 774.838, 3.24578e+007 "2005.05.16 - FRAPtest1.6", "4", "00:07.507", 774.838, 2.77091e+007 "2005.05.16 - FRAPtest1.6", "5", "00:10.006", 774.838, 2.80516e+007 "2005.05.16 - FRAPtest1.6", "6", "00:12.507", 774.838, 2.82355e+007 "2005.05.16 - FRAPtest1.6", "7", "00:15.006", 774.838, 2.84682e+007 "2005.05.16 - FRAPtest1.6", "8", "00:17.506", 774.838, 2.86124e+007 "2005.05.16 - FRAPtest1.6", "9", "00:20.006", 774.838, 2.87942e+007 "2005.05.16 - FRAPtest1.6", "10", "00:22.507", 774.838, 2.89613e+007 "2005.05.16 - FRAPtest1.6", "11", "00:25.006", 774.838, 2.91049e+007 "2005.05.16 - FRAPtest1.6", "12", "00:27.506", 774.838, 2.9186e+007 "2005.05.16 - FRAPtest1.6", "13", "00:30.007", 774.838, 2.93118e+007 "2005.05.16 - FRAPtest1.6", "14", "00:32.507", 774.838, 2.94214e+007 "2005.05.16 - FRAPtest1.6", "15", "00:35.007", 774.838, 2.94967e+007 "2005.05.16 - FRAPtest1.6", "16", "00:37.507", 774.838, 2.96811e+007 ---snip--- my script so far: #!/bin/bash tempfile=/dev/shm/frapfitter.$$ for INPUTFILE in "$@" do # grab the info we need for frapfitter (filename and region areas) filename=$(awk -F '"' 'NR==4 {print $2}' "$INPUTFILE") sigarea=$(awk -F ", " 'NR==4 {print $4}' "$INPUTFILE") bgarea=$(awk -F ", " 'NR==54 {print $4}' "$INPUTFILE") # Parse the Metamorph output file and create an inputfile for # frapfitter { # remove calibration header sed -e '1,3d' "$INPUTFILE" | # grab "time" and "integrated intensity" columns cut -d "," -s -f 3,5 | # remove quotations, leading and trailing space, and ensure unix # format sed -e 's/"//g;s/^[ ^t]*//;s/[ ^t]*$//;' | dos2unix } > $tempfile done rm $tempfile this creates a file that looks like this: 00:00.000, 3.24557e+007 00:02.510, 3.23482e+007 00:05.007, 3.24578e+007 00:07.507, 2.77091e+007 00:10.006, 2.80516e+007 00:12.507, 2.82355e+007 00:15.006, 2.84682e+007 00:17.506, 2.86124e+007 00:20.006, 2.87942e+007 00:22.507, 2.89613e+007 00:25.006, 2.91049e+007 00:27.506, 2.9186e+007 00:30.007, 2.93118e+007 00:32.507, 2.94214e+007 00:35.007, 2.94967e+007 00:37.507, 2.96811e+007 ---snip--- I now need to covert the "elapse time" column from the string format "hours:min:sec" to a column containing just seconds. I am unsure how to do this. Can I use command substitution in a sed substitute command? (sed -e 's//$(command to do math)/') I don't necessarily need a piece of code but if someone could recommend a bash tool which is well suited for this task or outline some steps, I can probably get to my solution. Thanks in advance. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: An EXCELLENT Microsoft ... MS is in trouble from OpenSource OSes like Linux
Derrick Hudson wrote: | > | > ... and I thought MS products would stop sucking as soon as they started | > making vacuums. | | Is that a reference only us greybeards would understand? ;) It's a play on the word "suck". If software sucks, its bad. If a vacuum sucks, it is working. -D You could also interpret it as Microsoft can't do anything right so if they started making vacuums their products (vacuums) wouldn't suck, which would be bad. (For anyone who paid for them!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Getting a Dinamic Remote IP
Romulo Sousa wrote: What can I do in order to get the IP from her computer all the time the machine is booted? I would get a dynamic dns account so you can ssh to foo.domain and never have to worry about the ip again. try http://www.dyndns.org/ ;the service I use or http://www.technopagan.org/dynamic/ ;some more info plus some huge lists of providers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Please, stop mail massive
Ian Cottrell wrote: Is it possible to subscribe to the list, yet no receive it via e-mail? I'd much prefer to read it via Usenet, but if I'm not subscribed, I can't post. You have to subscribe to the list to post? What happens if you just send an email to [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Firefox: Selected profile is already in use
Monique Y. Mudama wrote: On 2005-05-10, Bill Marcum penned: I sometimes wonder, does anybody really use profiles in Firefox? I've had situations where I wanted to be able to run using two different proxy configurations. The only way I found to do this was using multiple profiles. Try the switchproxy extension http://www.roundtwo.com/product/switchproxy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
OT Enable/Disable Javascript in Firefox [Was: Re: OT Firefox security leak: bogus or genuine?]
Gerhard Gaußling wrote: Is there a "One-button One-click method" to switch javascript-support from on to off and vice versa? I often wished that feature. Try the PrefBar 3.1.0 extension*. ** Author:* Aaron Anderson *Version:* 3.1.0 *Size:* 167KB *Date:* 2004-02-08 *Compatibility:* ( 0.9 - 1.0+) ( 1.0 - 1.8a6) The original preferences toolbar was designed to give the user more control over the pages viewed, and to allow the power browser to use mozilla with greater ease and efficiency than ever before. The PrefBar2 takes this concept to a whole new level; along with the standard preference checkboxes, the new version includes utility buttons, user agent spoofing, web links, and more, served on a fully customizable toolbar with a side of white rice. http://prefbar.mozdev.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IM
Scarletdown wrote: >Paul Johnson wrote: > > >>On Friday May 6 2005 7:54 am, Kent West wrote: >> >>In a pinch, you can also upload an image to my wiki for display. >>http://ursine.ca/Special:Upload >> >> >. Or, if you want to get some geeky experience points, >you can apt-get install vsftpd, copy the image you want to share to >/home/ftp, set your firewall to allow access to port 21 from the >Internet, then post your current IP address so people can just ftp in >and see the image. Granted, most ISPs don't actually like for their >users to host their own servers, but frankly, if it is just a >temporary thing there shouldn't be any problem. > Yeah, My ISP blocks incoming connections on port 21 ( a whole host of other ports too), its a good thing there is nothing special about that TCP port...just tell people to FTP to port 2121. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apt-get deprecated?
Luis Finotti wrote: So, with net-install at least, using aptitude from the start might not work "out of the box". I just recently did a Sarge net-install and have exclusively used aptitude. I have had no problems. Then only thing I've had to do is mark the dependencies of packages which were installed during the net-install as "automatic". This is my preferences and I do it when these packages get updated. I like being able to see the dependencies(suggests and recommended) clearly when installing and updating packages. The final screen before confirming your install/update, where you can scroll the packages list of automatically install packages and see what package requires them is especially nice when you are install multiple packages. I additionally appreciated being able to select suggested and recommended packages and have them installed automatically. I couldn't figure out how to do this with apt-get, I continually had to go to packages.debian.org and find those items and then install them separately. If I decided I did not what the package, I would have to remember to remove those aux. packages. I have never had aptitude try to remove unwanted packages, except when I made a mistake myself. However I don't have any pinned packages and don't keep and mixed system (except for a couple packages from unstable). I'm also religious about check dependencies of the packages I install and the dependencies of the dependencies and so on and making sure they are all mark the way I would like them to be. Aptitude is nice for this. I must say I never had a problem with apt-get either. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]