[gentoo-user] cdrdao woes

2005-09-11 Thread David Busby

List,
  I'm trying to make copies of my bands CDs with little success.  I've done this before but have since switched 
hardware and upgraded my kernel.  I want to use cdrdao (which I used before) but it currently stops with no error 
message and exit code ($?) 1.  cdrecord can see my DVD drive attached to my IDE channel.  Here's my output:


carbon ~ # cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r9
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Linux sg driver version: 3.5.33
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'MATSHITA' 'DVD-RAM SW-9585 ' 'B100' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *


cdrdao scanbus shows nothing!:
carbon ~ # cdrdao scanbus
Cdrdao version 1.2.0 - (C) Andreas Mueller [EMAIL PROTECTED]
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

My kernel was booted with this setting: hdc=ide-scsi, I read to do set that in 
the kernel help under make menuconfig.
I also want to be able to burn UDF/data DVDs with this thing too, but music first.  I've looked at the HowTos on the 
Gentoo WIKI but those haven't helped, and I'm trying everything as root so I don't think permissions are involved.


I've tried to re-emerge cdrtools and cdrdao without success.

Any ideas where to go next?

/djb

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrdao woes

2005-09-11 Thread David Busby

Dave Nebinger wrote:
My kernel was booted with this setting: hdc=ide-scsi, I read to do set 


Sure, remove the hdc=ide-scsi option, reboot, then use the device path 
directly for IDE burning.


In your case it's probably something like:

 dev=/dev/hdc

I do all of my burning using IDE directly, even though Schily's tools 
whine about it.




Ok, so I removed that foolishness from my kernel bootline and rebooted.
When I run cdrdao with scanbus I get this:

carbon ~ # cdrdao scanbus
Cdrdao version 1.2.0 - (C) Andreas Mueller [EMAIL PROTECTED]
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

ATA:1,0,0MATSHITA, DVD-RAM SW-9585 , B100


But this:
carbon ~ # cdrdao write --device ATA:1,0,0 --reload --force cp_csp.cdtoc
Cdrdao version 1.2.0 - (C) Andreas Mueller [EMAIL PROTECTED]
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Still simply exits with a status of 1, what is going on?  I've looked in the logs and don't see anything and I'm still 
stuck :(


/djb

--
gentoo-user@gentoo.org mailing list



[gentoo-user] cannot load libc, permission denied

2005-08-27 Thread David Busby

Ok, two combined into one here:

A. Khattri asked if I was logged in as root, yes I am.

and

When I said this:

 cdrtx / # ldd /usr/bin/crontab
  linux-gate.so.1 =  (0xe000)
  libc.so.6 = /lib/libc.so.6 (0xb7ec4000)
  /lib/ld-linux.so.2 (0x8000)

Ian Hastie said:
But it's fcrontab that's having the problems.  Why did you do the ldd
on crontab?  What is fcrontab anyway and where does it come from?

Well, I did the ldd on crontab, cause crontab is the command I use to edit the crontab files, like `crontab -e`.  My 
cron daemon of choice is fcron, A command scheduler with extended capabilities over cron and anacron.  An on systems 
that use fcron we have this:


cdrtx cdr_tx # ls -l /usr/bin/crontab
lrwxrwxrwx  1 root root 8 Aug 26 23:45 /usr/bin/crontab - fcrontab

So fcrontab is the fcron version of crontab symlinked to look like plain ass 
crontab.  It comes with the fcron package.

Anywho...after rebuilding glibc and fcron I'm still having the same issue:

cdrtx cdr_tx # crontab -e
crontab: error while loading shared libraries: libc.so.6: cannot open shared 
object file: Permission denied

But I can still say things like:

cdrtx cdr_tx # strings /lib/libc.so.6 |wc -l
4494

Which prove to me that I can both open and read the /lib/libc.so.6 file.

So then I tried strace, like this:

cdrtx cdr_tx # strace crontab -e
execve(/usr/bin/crontab, [crontab, -e], [/* 31 vars */]) = 0
uname({sys=Linux, node=cdrtx, ...}) = 0
brk(0)  = 0x8052000
fcntl64(0, F_GETFD) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(2, F_GETFD) = 0
access(/etc/suid-debug, F_OK) = -1 ENOENT (No such file or directory)
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = -1 EACCES (Permission denied)
open(/lib/tls/i686/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/lib/tls/i686/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/lib/tls/i686/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/lib/tls/i686, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/lib/tls/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/lib/tls/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/lib/tls/libc.so.6, O_RDONLY)= -1 EACCES (Permission denied)
stat64(/lib/tls, 0xbfd3ab48)  = -1 EACCES (Permission denied)
open(/lib/i686/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/lib/i686/sse2, 0xbfd3ab48)= -1 EACCES (Permission denied)
open(/lib/i686/libc.so.6, O_RDONLY)   = -1 EACCES (Permission denied)
stat64(/lib/i686, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/lib/sse2/libc.so.6, O_RDONLY)   = -1 EACCES (Permission denied)
stat64(/lib/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/lib/libc.so.6, O_RDONLY)= -1 EACCES (Permission denied)
stat64(/lib, 0xbfd3ab48)  = -1 EACCES (Permission denied)
open(/usr/lib/tls/i686/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission 
denied)
stat64(/usr/lib/tls/i686/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/usr/lib/tls/i686/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/usr/lib/tls/i686, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/usr/lib/tls/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/usr/lib/tls/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/usr/lib/tls/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/usr/lib/tls, 0xbfd3ab48)  = -1 EACCES (Permission denied)
open(/usr/lib/i686/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/usr/lib/i686/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/usr/lib/i686/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/usr/lib/i686, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/usr/lib/sse2/libc.so.6, O_RDONLY) = -1 EACCES (Permission denied)
stat64(/usr/lib/sse2, 0xbfd3ab48) = -1 EACCES (Permission denied)
open(/usr/lib/libc.so.6, O_RDONLY)= -1 EACCES (Permission denied)
stat64(/usr/lib, 0xbfd3ab48)  = -1 EACCES (Permission denied)
writev(2, [{crontab, 7}, {: , 2}, {error while loading shared libra..., 36}, {: , 2}, {libc.so.6, 9}, {: , 
2}, {cannot open shared object file, 30}, {: , 2}, {Permission denied, 17}, {\n, 1}], 10crontab: error while 
loading shared libraries: libc.so.6: cannot open shared object file: Permission denied

) = 108
exit_group(127) = ?


I cannot open /etc/ld.so.cache!  What? See:

cdrtx cdr_tx # ls -l /etc/ld.so.cache
-rw-r--r--  1 root root 18311 Aug 27 21:13 /etc/ld.so.cache

Should be able to read that as well, root nor anyother use cannot run crontab.  My fcron.allow,deny and conf files all 
look perfect and should allow any user at all to run.


Any other ideas?

/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SuperMicro P4SCT+ and SATA

2005-08-27 Thread David Busby

Thank you, this was already solved.
  http://www.edoceo.com/liber/marvell-sata.php

/djb


Norbert Kamenicky wrote:

David Busby wrote:

*snip*

Hi David,

AFAIK ata_piix.c is developed for intel SATA controllers integrated on
PIIX chipsets only.
Why do you expect it should support Adaptec or Marvell controllers too?

U need some another driver for it, therefore start kernel configuration,
have a look at SCSI device support  --- SCSI low-level drivers ---
[*] Serial ATA (SATA) support
and find if something on next lines fits to your controller.
If not, then ggle can be helpful to find it (if it exist).

HTH, noro


--
gentoo-user@gentoo.org mailing list



[gentoo-user] ssh/sftp oddness

2005-08-27 Thread David Busby

List,
  When I use this Windows based SSH tool to connect to my new dev box with sftp it get's two dialogs about 'enter auth 
response' as if the sftp-subsystem is spitting out extra control characters.  That's not a real big issue but what is 
that jEdit on Win or Lin cannot connect, it says authentication failure, but the logs on the dev box show that the jEdit 
was authenticated, odd.  Where would it be spitting out these extras?  How can I fix this?  Has anyone else seen it?


/djb
--
gentoo-user@gentoo.org mailing list



[gentoo-user] cannot load libc, permission denied

2005-08-26 Thread David Busby

List,
  I'm getting this:

cdrtx / # fcrontab -e
fcrontab: error while loading shared libraries: libc.so.6: cannot open shared 
object file: Permission denied

But libc looks OK to me

cdrtx / # ls -l /lib/libc*
-rwxr-xr-x  1 root root 1211416 Aug 20 22:36 /lib/libc-2.3.5.so
lrwxrwxrwx  1 root root  13 Aug 20 22:36 /lib/libc.so.6 - libc-2.3.5.so

and revdep-rebuild said it's OK

and `equery k` said

cdrtx / # equery k libc
[ Checking sys-libs/glibc-2.3.5-r1 ]
 * 3086 out of 3086 files good
cdrtx / # equery k fcron
[ Checking sys-process/fcron-2.0.2 ]
 * 47 out of 47 files good

So what gives?  I saw some stuffs on the internet that it could be SELinux, but I dont' think I have that, I'm running a 
2005.1 system, freshly installed a few days ago.  Only odd thing I have some sun Java, see:


cdrtx / # equery l sun-jre-bin
[ Searching for package 'sun-jre-bin' in all categories among: ]
 * installed packages
[I--] [  ] dev-java/sun-jre-bin-1.4.2.08-r1 (1.4)
[I--] [M ] dev-java/sun-jre-bin-1.5.0.04 (1.5)

Ideas?

/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cannot load libc, permission denied

2005-08-26 Thread David Busby

A. Khattri wrote:

On Fri, 26 Aug 2005, David Busby wrote:



cdrtx / # fcrontab -e
fcrontab: error while loading shared libraries: libc.so.6: cannot open shared 
object file: Permission denied

But libc looks OK to me

cdrtx / # ls -l /lib/libc*
-rwxr-xr-x  1 root root 1211416 Aug 20 22:36 /lib/libc-2.3.5.so
lrwxrwxrwx  1 root root  13 Aug 20 22:36 /lib/libc.so.6 - libc-2.3.5.so



Try rebuilding fcrontab?




I've re-build both glibc and fcron, no dice.  I've looked at ldd for crontab

cdrtx / # ldd /usr/bin/crontab
linux-gate.so.1 =  (0xe000)
libc.so.6 = /lib/libc.so.6 (0xb7ec4000)
/lib/ld-linux.so.2 (0x8000)

Looks fine!  What's the deal?

/djb
--
gentoo-user@gentoo.org mailing list



[gentoo-user] initrd and raid

2005-08-21 Thread David Busby

List,
  I've got a Super Micro P4SCT+ that uses the Marvell SATA controller that Linux doesn't know out-of-the-box.  There 
was the mv_sata module provided by ABit that I found, and it compiles and loads into my 2.6.12 kernel.  I can see the 
drives and have made a raid out of them no problem.  I'm currently booting off the Intel SATA in the machine from 
/dev/sda  The other drives are /dev/sdb,c,d.  OK, so what I want to do is this:  Remove the current /dev/sda and bump 
the /dev/sdb,c,d each up by one and then boot of them.  /dev/sdb1,c1,d1 are set as RAID0+hotspare and configured/grub-ed 
etc.  What I can't do is get the initrd to work.  I've added the module and can see when it boots that it finds those 
devices but then it looks like it cannot see my devices.  I get a Kernel Panic not init found, then it says to try 
passing init= to the kernel.  I don't understand that, what must I do?  I'm using udev so perhaps when the kernel is 
booting it cannot see my devices in /dev ?  Other google searches show that might be the case.  One set of google 
results pointing to gentoo-user about udev and initrd said don't use initrd, build the module into the kernel.  I 
can't do that with a 3rd party module can I?


Here's the story about my install so far (incomplete)
  http://www.edoceo.com/liber/marvell-sata.php

/djb

--
[EMAIL PROTECTED] mailing list



[gentoo-user] SuperMicro P4SCT+ and SATA

2005-08-19 Thread David Busby

List,
  I'm trying to get 2005.1 onto this box I was just gifted.  It's got a SuperMicro p4sct+ with a goofy SATA controller. 
 I've got four hard drives in it, connected to these four SATA connectors (labeled like 1/5, 2/6, 3/7, 4/8).  I guess 
i'm using them in 1,2,3,4 mode.  But my gentoo cannot see the drives.  lspci sees the controller


:00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub 
(rev 02)
:00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA 
Bridge (rev 02)
:00:1c.0 PCI bridge: Intel Corporation 6300ESB 64-bit PCI-X Bridge (rev 02)
:00:1d.0 USB Controller: Intel Corporation 6300ESB USB Universal Host 
Controller (rev 02)
:00:1d.1 USB Controller: Intel Corporation 6300ESB USB Universal Host 
Controller (rev 02)
:00:1d.4 System peripheral: Intel Corporation 6300ESB Watchdog Timer (rev 
02)
:00:1d.5 PIC: Intel Corporation 6300ESB I/O Advanced Programmable Interrupt 
Controller (rev 02)
:00:1d.7 USB Controller: Intel Corporation 6300ESB USB2 Enhanced Host 
Controller (rev 02)
:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 0a)
:00:1f.0 ISA bridge: Intel Corporation 6300ESB LPC Interface Controller 
(rev 02)
:00:1f.1 IDE interface: Intel Corporation 6300ESB PATA Storage Controller 
(rev 02)
:00:1f.2 IDE interface: Intel Corporation 6300ESB SATA Storage Controller 
(rev 02)
:00:1f.3 SMBus: Intel Corporation 6300ESB SMBus Controller (rev 02)
:01:01.0 Ethernet controller: Intel Corporation 82547GI Gigabit Ethernet 
Controller
:02:04.0 RAID bus controller: Marvell Technology Group Ltd. MV88SX5041 
4-port SATA I PCI-X Controller
:03:09.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
:03:0a.0 Ethernet controller: Intel Corporation 82541GI/PI Gigabit Ethernet 
Controller

It's that dang Marvell thing, I think.  When it boots it says Adaptec-HOSTRAID something.  There are also two other SATA 
connectors, seems that they connect to the Intel controller.  Shouldn't ata_piix find it?  Seems like it.  What about a 
Marvell driver for the four drives, am I hosed?  Any ideas?


Relevant stuffs from dmesg

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot :00:1f.1
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
hdb: ATAPI DVD DD 2X16X4X16, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hdb: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
[ ... ]
libata version 1.11 loaded.
ata_piix version 1.03
PCI: Setting latency timer of device :00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xE200 ctl 0xE302 bmdma 0xE600 irq 18
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE502 bmdma 0xE608 irq 18
ata1: SATA port has no device.
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Big data Cluster

2005-07-18 Thread David Busby

I just found this one:
  http://www.cuddletech.com/articles/iscsi/

So we can make a Linux box an iSCSI target, freaking sweet.
Now we can put the clustered initiators in the front with some targets behind.
s--- yea!

/djb

James wrote:

David Busby busby at edoceo.com writes:




I'm looking for reccomendations for storage clustering.  I'd like to network


together some Gentoo boxes

which internally 
are SCSI+RAID5 and then be able to store data on these multiple boxes as


though they are one big filesystem. 

Similar to 
what Isilon does but with Gentoo.  I've been reading the web sites about the


stuff in /usr/portage/sys-fs/

but I cannot 
tell which package is going to give me the right stuff.  Can anyone point me


in the right direction?


Well, I've been collection information as I have a 'large' need for remote video
surveillance. Here are the general approaches I've seen related to clustering
and large data storage needs, from a cost-effective point of view:

OPenmosix has some beta offerings that run on 2.6 based servers.

From the Linux Journal, May 2005 there is an article
Building a Bioinformatics Supercomputering Cluster that may be of interest.

Also from the Linux Journal, june 2005 it talks about ATA over Ethernet:
http://www.linuxjournal.com/article/8201

I'd be interested in any other clustering or
'high availability' technologies you find for
Gentoo.

HTH,

James






--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread David Busby


Zac Medico wrote:

Mark Knecht wrote:


PORTAGE_TMPDIR determines where portage uses for temporary storage.


I set this in make.conf, correct? Seems logical but man emerge and man
portage don't seem to mention this variable.



That's odd, it's not in portage(5) either.  It is documented in 
make.conf.example though.


I thought this was in man 5 make.conf

/djb

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Big data Cluster

2005-07-16 Thread David Busby
I'm looking for reccomendations for storage clustering.  I'd like to network together some Gentoo boxes which internally 
are SCSI+RAID5 and then be able to store data on these multiple boxes as though they are one big filesystem.  Similar to 
what Isilon does but with Gentoo.  I've been reading the web sites about the stuff in /usr/portage/sys-fs/ but I cannot 
tell which package is going to give me the right stuff.  Can anyone point me in the right direction?


/djb

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?

2005-07-15 Thread David Busby


 I use UltraEdit for this purpose on a daily basis.  It is the best editor for 
all my
Windows needs. It supports remote servers through sftp(ssh2). And has support 
for non
*DOS* files.

 It's only drawback is that its Shareware(Costs $$$) but has a time limited 
demo.

 www.ultraedit.com


I used to use that one till I discovered jEdit: http://www.jedit.org/.
Yes it does SSH2/sftp and it's free, 100's of plugins too.

/djb


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how do I change to /etc/conf.d/hostname

2005-07-15 Thread David Busby

I did this:

 rm /etc/hostname
 nano -w /etc/conf.d/hostname
  [ edit properly ]
 env-update
 reboot

No problems...

/djb

George Roberts wrote:

Robert Crawford wrote:



On Friday 15 July 2005 06:31 pm, George Roberts wrote:




I have a day off work and it is too hot to play outside, so I got the
bright idea to clean up some minor warnings I have been getting.  When I
am booting my computer, I get warnings to change from using
/etc/hostname to /etc/conf.d/hostname.  Also the same with my
/etc/domainname.  My first though was these topics would be covered in
the Gentoo install manual.  But after re-reading the manual I find no
difference now than when I installed everything a few months ago.  Is
there something I need to do, or do I live with this for now?
  



IIRC, I just copied my /etc/hostname to /etc/conf.d/hostname.




Did that remove the warning for you?  After I re-did both files, I am
still getting the same warning.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] authdaemond duplicates

2005-07-07 Thread David Busby

List,
  I keep seeing this when emerge runs

 Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...
 *  Cannot add provide 'authdaemond', as a service with the same name exists!   
  [ ok ]
 Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...
 *  Cannot add provide 'authdaemond', as a service with the same name exists!   
  [ ok ]
 Auto-cleaning packages ...


I've tried adding and removing authdaemond from with rc-update but this still 
happens
Here's my rc-update -s

lithium ~ # rc-update -s
 apache2 |  default
 authdaemond |  default
bootmisc | boot
 checkfs | boot
   checkroot | boot
   clock | boot
 consolefont | boot
 courier-authlib |
   courier-imapd |  default
   courier-imapd-ssl |
   courier-pop3d |
   courier-pop3d-ssl |
 crypto-loop |
  domainname |  default
   fcron |  default
  hdparm |
hostname | boot
 keymaps | boot
   local |  default nonetwork
  localmount | boot
 modules | boot
net.eth0 |  default
  net.lo | boot
netmount |  default
nscd |
 numlock |
 openvpn |
   pg_autovacuum |
 postfix |  default
  postgresql |  default
 pwcheck |
   rmnologin | boot
  rsyncd |
   saslauthd |  default
  serial | boot
   spamd |
sshd |  default
   syslog-ng |  default
 urandom | boot


What's the dilly?

/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 weirdness

2005-07-06 Thread David Busby

[EMAIL PROTECTED] wrote:

Nope, it's definitely udev.

I have verified that genkernel does compile the agpgart module and create
the /dev/agpgart as a symlink to /dev/misc/agpgart on the real filesystem.
 But when the udev 'populates' /dev it then mounts over top of the real
/dev tree and the new /dev/ and /dev/misc/ have no agpgart present.  Even
if I compile in the 2.6 system, the links created are short lived as they
die and udev rebuilds on next boot.  I have no idea what to do next.


Can you turn off the /dev tarball feature?
From /etc/conf.d/rc

# Use this variable to control the /dev management behavior.
#  auto   - let the scripts figure out what's best at boot
#  devfs  - use devfs (requires sys-fs/devfsd)
#  udev   - use udev (requires sys-fs/udev)
#  static - let the user manage /dev

RC_DEVICES=auto


/djb



Creighton




--
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP Odd Error

2005-07-06 Thread David Busby

List,
  When running php shell scripts I get this at the end of each one

No log handling enabled - turning on stderr logging
Cannot rename //var/lib/net-snmp/snmpapp.conf to 
//var/lib/net-snmp/snmpapp.0.conf
Cannot unlink //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf


But it only happens when I run php as a user, not when I run as root.
My emerge world is up to date, should a normal user need to write there or what other thing do I switch to turn this 
off.  It just started when I re-emerged the latest PHP cause revdep-rebuild said I should and it was failing while 
looking for libhistory or something (don't remember).  So should I just change dir perms or what?


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem emerging man-1.6

2005-06-30 Thread David Busby
I'm was seeing this too, from a emerge --sync I did yesterday.  I tried emerge --sync just now and then emerge man and 
everything went OK, still version 1.6.


/djb

Christian Herzyk wrote:

Hello,

emerge -u world wants to upgrade man to version 1.6.

I get the following errors:
Created Makefile and conf_script. Now do make and make install.

cd src; ../conf_script Makefile
cd man2html; ../conf_script Makefile
Creating Makefile from Makefile.in
Creating Makefile from Makefile.in
cd man; ../conf_script Makefile
cd gencat; make
Creating Makefile from Makefile.in
make[1]: Entering directory
`/data/portage/tmp/portage/man-1.6/work/man-1.6/genc
at'
i686-pc-linux-gnu-gcc -march=athlon-xp -mcpu=athlon-xp -O2
-fomit-frame-pointer
-pipe   -c -o gencat.o gencat.c
cd msgs; ../conf_script Makefile
Creating Makefile from Makefile.in
cd src; make
make[1]: Entering directory
`/data/portage/tmp/portage/man-1.6/work/man-1.6/src'
gcc -o makemsg makemsg.c
i686-pc-linux-gnu-gcc -march=athlon-xp -mcpu=athlon-xp -O2
-fomit-frame-pointer
-pipe   -c -o genlib.o genlib.c
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes
-march=a
thlon-xp -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe -I.
-DSTDC_HEADERS -DPOS
IX -DDO_COMPRESS manfile.c
In file included from manfile.c:15:
gripes.h:1:23: gripedefs.h: No such file or directory
manfile.c: In function `glob_for_file_ext_glob':
manfile.c:87: error: `CALLTRACE3' undeclared (first use in this function)
manfile.c:87: error: (Each undeclared identifier is reported only once
manfile.c:87: error: for each function it appears in.)
manfile.c:115: error: `ABOUT_TO_GLOB' undeclared (first use in this
function)
manfile.c: In function `glob_for_file':
manfile.c:152: error: `CALLTRACE2' undeclared (first use in this function)
manfile.c:183: error: `NO_MATCH' undeclared (first use in this function)
manfile.c:187: error: `GLOB_FOR_FILE' undeclared (first use in this
function)
manfile.c: In function `manfile_from_sec_and_dir':
manfile.c:209: error: `CALLTRACE1' undeclared (first use in this function)
manfile.c:230: error: `FOUND_FILE' undeclared (first use in this function)
make[1]: *** [manfile.o] Error 1
make[1]: Leaving directory
`/data/portage/tmp/portage/man-1.6/work/man-1.6/src'
make: *** [source] Error 2
make: *** Waiting for unfinished jobs
i686-pc-linux-gnu-gcc  -Wl,-z,now -o gencat gencat.o genlib.o
make[1]: Leaving directory
`/data/portage/tmp/portage/man-1.6/work/man-1.6/genca
t'

!!! ERROR: sys-apps/man-1.6 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status
message.


Any ideas what could be the problem?

Thanks

Christian



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Disk Backup From One Machine To Another

2005-06-27 Thread David Busby

Timo Boettcher wrote:

Hi David,

I would be very interested in this.

 Timo



Timo (and everyone else)
  I've posted that script so you can use it, added some documentation.  It's 
available here:

http://www.edoceo.com/creo/remote-host-secure-backup.php

/djb
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Failed Disk Recovery

2005-06-26 Thread David Busby

List,
  I've got a HDD that's failed, seems to have lost partition table.  When I say sfdisk -l or -d it can't read and I see 
IO errors in dmesg output, can't read sector XX.  I can't get dd to dump from that drive to file on a working drive 
either.  It's an NTFS drive that Windows can't see at all.  What other options do I have to recover data?  ntfsprogs 
testdisk haven't been helpful either.  Anyone have ideas?


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Disk Backup From One Machine To Another

2005-06-24 Thread David Busby

* Raphael Melo de Oliveira Bastos Sales [EMAIL PROTECTED],
Friday, June 24, 2005, 8:27:02 PM: 

I have one machine (Machine 1) that I need backup its files
periodically. I also have another machine (Machine 2) that will hold
the backup. Machine 2 can see (make requests to) Machine 1, but the
opposite isn't true. The network is covered by a firewall, so I don
need a paranoid solution. I was thinking about doing the following:




I use a shell script that connects to my machines via ssh and performs commands 
to:
1. Backup Postgres with pg_dump
2. turn last weeks log files into tgz
3. rsync my /etc, /opt/edoceo (that's where I put my stuff) and other dirs

I made it so that there is a config file that describes the backup as: host, db 
(yes/no), dir list.
The machines are firewalled and the ssh is only allowed when signed by my trusted CA (me as well) so I feel pretty 
secure about it.  Rsync allows me to throttle the connection to so I don't chew all my bandwidth on the backups.  Let me 
know if you want a copy and I'll pull all my specifc stuffs out and post a copy.  Cheers.


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] HTTPS/CA

2005-06-23 Thread David Busby

John Ziniti wrote:

Iain Buchanan wrote:

On Mon, 2005-06-20 at 16:54 -0700, David Busby wrote:


The hacker still would not be able to present a valid certificate,
though, right?  This depends on what the OP meant when he said If the
client is not signed I generate and securely transmit a cert to the
client and then open the network to their IP.  Do you mean that you
do this in an automated way (blech), or is it done manually in some
offline manner (better)?


Yes if the client isn't signed by my one and only one trusted CA (which is me) I will give them the cert in a 
manual/offline way, even if it is inconvienient.





2. Break into a box you trust which may not be so locked down as yours
is...


This is the biggest hole that I see.


Yea, I thought so too.



JZ


Excellent feedback, thank you.

/djb
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Cannot find iceauth in path

2005-06-20 Thread David Busby

List,
  Gaaa!  I upgraded and now my kde don't start, says it 'Could not find 'iceauth' in 
path.
  Further down there is a message that xmessage: command not found.  I thought iceauth was in dcopc so I added that 
package but no help, where do I get iceauth from?


/djb
--
gentoo-user@gentoo.org mailing list



[gentoo-user] HTTPS/CA

2005-06-20 Thread David Busby

Gurus,
  In this hypothetical situation how would someone break in or view the data 
transmitted?

Hardend Gentoo/Linux/Apache system with only port 443 open in a secure facility (please assume that hardend means 
everything you, dear reader, would do to secure a box).  Now this Apache server is configured only to accept connections 
from clients who present a certificate signed by the CA who signed the servers cert.  If the client is not signed I 
generate and securely transmit a cert to the client and then open the network to their IP.


  Since traffic is limited to IPs that I trust and everyone must have a certificate signed by my CA how can jerks break 
into my box?  Seems to be to be pretty solid, so I must be missing something.


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot find iceauth in path

2005-06-20 Thread David Busby

Zac Medico wrote:

xorg-x11

Zac


I re-emerged xorg-x11 but did not get iceauth.
I googled more but am still lost.

I have
USE=x86 X apache2 bitmap-fonts kde memlimit minimal mmx opengl pam pcre perl 
php \
 postgres readline sse ssl xv zlib userlang_GNU kernel_linux elibc_glibc



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot find iceauth in path

2005-06-20 Thread David Busby

David Busby wrote:

  Forget Me: -minimal is the fix

--
gentoo-user@gentoo.org mailing list