Re: [gentoo-user] my gentoo cannot find my HD

2009-09-11 Thread Xi Shen
hi,

i have attached my dmesg output, please help me review.

i have tried the kmuto.jp site, and i think i have all the modules
installed and loaded, but i still cannot see my HD on my laptop


On Fri, Sep 11, 2009 at 1:42 PM, Xi Shen davidshe...@googlemail.com wrote:
 of course i am using genkernel. i do not have access to my linux box
 now. i will post the output later.


 On Fri, Sep 11, 2009 at 8:39 AM, Jacob Todd jaketodd...@gmail.com wrote:
 On Fri, Sep 11, 2009 at 11:57:51AM +0800, Xi Shen wrote:
 Hi,

 i installed my gentoo x64 on my usb HD, because i have to use windows
 for my work. but the problem is that if i boot from the usb HD, it
 cannot find the HD on my laptop. the gentoo 2008 installation cd works
 very well, so i think i must have missed some drivers in the kernel or
 module. i have included anything that is related to ide, scsi, sata,
 and usb. is there anything else i should do to make my HD on laptop
 work?

 my laptop is thinkpad t61.


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84


 Do `lspci -n` and paste it's output at http://kmuto.jp/debian/hcl/.

 Also look at Pappy's kernel seeds.[1]

 [1]http://62.3.120.141/~pappy/

 --
 Jake Todd
 // If it isn't broke, tweak it!




 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84




-- 
Best Regards,
David Shen

http://twitter.com/davidshen84
]BIOS reserved == [09d800 - 10]
  #5 [763000 - 763194]  BRK == [763000 - 763194]
  #6 [008000 - 00a000]  PGTABLE == [008000 - 00a000]
found SMP MP-table at [880f68f0] f68f0
 [e200-e20001bf] PMD - [88000120-880002df] 
on node 0
Zone PFN ranges:
  DMA  0x - 0x1000
  DMA320x1000 - 0x0010
  Normal   0x0010 - 0x0010
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x - 0x009d
0: 0x0100 - 0x0007eeb0
On node 0 totalpages: 519757
  DMA zone: 56 pages used for memmap
  DMA zone: 1481 pages reserved
  DMA zone: 2460 pages, LIFO batch:0
  DMA32 zone: 7052 pages used for memmap
  DMA32 zone: 508708 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 1, version 0, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a201 base: 0xfed0
SMP: Allowing 2 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 24
Allocating PCI resources starting at 8000 (gap: 7f00:7100)
NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 24 pages at 88000101, static data 67232 bytes
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 511168
Kernel command line: root=/dev/ram0 
real_root=UUID=75eb5837-c657-4a09-bfb5-3939a9dc6470 vga=365 
video=vesafb:mtrr:3,ywrap
Initializing CPU#0
NR_IRQS:1280
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
Fast TSC calibration using PIT
Detected 2494.029 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
No AGP bridge found
Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!
Memory: 2032956k/2079424k available (3199k kernel code, 396k absent, 45440k 
reserved, 1235k data, 384k init)
hpet clockevent registered
HPET: 3 timers in total, 0 timers will be used for per-cpu timer
Calibrating delay loop (skipped), value calculated using timer frequency.. 
4988.05 BogoMIPS (lpj=24940290)
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
using mwait in idle threads.
ACPI: Core revision 20090320
Setting APIC routing to flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM)2 Duo CPU T9300  @ 2.50GHz stepping 06
Booting processor 1 APIC 0x1 ip 0x6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4987.48 BogoMIPS (lpj=24937435)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
CPU1: Intel(R) Core(TM)2 Duo CPU T9300  @ 2.50GHz stepping 06
checking TSC synchronization 

Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-11 Thread Mick
On Friday 11 September 2009, cov...@ccs.covici.com wrote:

 However, when I put the -d, it didn't tell me anything except that
 dhcpcd sent several discover packets and then said timeout, so my
 original question still remains -- why a timeout with 5.1 with the same
 dhcpcd.conf and no timeout with 4.0.13.

It may be a bug.  The trick is how do you establish who the bug belongs to?  
dhcpcd-5.1 or your router's firmware?

I recall similar incident with my router and an older dhcpcd version (can look 
through the M/L for a URL if you need me to) whereby the MAC address sent by 
dhcpcd was not being picked up by the router.  The router was looking for 
that info in the ID field or some such.  Having had static IP addresses for 
my LAN machines meant that my PC would not be given the reserved IP address 
and then dhcpcd would eventually time out.  My router's firmware was not 
compliant with the respective RFC that dhcpcd was upgraded to.

The fix I came up with was router specific, therefore I do not have a useful 
suggestion for your circumstances I'm afraid - other than:

Try static IP address for your machine (use ifconfig to set this up and route 
to set up the gw).

Try using a different dhcp client to see if the problem persists.

Try updating your router's firmware just in case.

File a bug for dhcpcd-5.1 with your findings.

PS.  Other than testing is there a reason why you don't use a stable dhcpcd 
version?
-- 
Regards,
Mick


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


[gentoo-user] wireless does not work on thinkpad t61

2009-09-11 Thread Xi Shen
hi,

my laptop is thinkpad t61, and wireless card is intel pro/wireless
3945abg (according to the lspci output). i have configured my kernel
as instructed by the handbook, and after compiling and reboot, i can
see my wlan interface by iwconfig -a, and i modprobe iwl3945. but when
i try iwspy wlan0, it says 'interface doesnot support wireless
statistic collection'. and led on my laptop is off, and i cannot get
it on.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] wireless does not work on thinkpad t61

2009-09-11 Thread Albert Hopkins
On Fri, 2009-09-11 at 20:20 +0800, Xi Shen wrote:
 my laptop is thinkpad t61, and wireless card is intel pro/wireless
 3945abg (according to the lspci output). i have configured my kernel
 as instructed by the handbook, and after compiling and reboot, i can
 see my wlan interface by iwconfig -a, and i modprobe iwl3945. but when
 i try iwspy wlan0, it says 'interface doesnot support wireless
 statistic collection'. and led on my laptop is off, and i cannot get
 it on.


If you check your dmesg output you'll probably find an error message
about the driver not being able to locate the firmware.

# emerge net-wireless/iwl3945-ucode




Re: [gentoo-user] wireless does not work on thinkpad t61

2009-09-11 Thread Xi Shen
i solved it. thanks ;)


On Fri, Sep 11, 2009 at 8:42 PM, Albert Hopkins mar...@letterboxes.org wrote:
 On Fri, 2009-09-11 at 20:20 +0800, Xi Shen wrote:
 my laptop is thinkpad t61, and wireless card is intel pro/wireless
 3945abg (according to the lspci output). i have configured my kernel
 as instructed by the handbook, and after compiling and reboot, i can
 see my wlan interface by iwconfig -a, and i modprobe iwl3945. but when
 i try iwspy wlan0, it says 'interface doesnot support wireless
 statistic collection'. and led on my laptop is off, and i cannot get
 it on.


 If you check your dmesg output you'll probably find an error message
 about the driver not being able to locate the firmware.

 # emerge net-wireless/iwl3945-ucode






-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] my gentoo cannot find my HD

2009-09-11 Thread Xi Shen
ok, i have find all my HD now. bug```i just noticed that i cannot find
my cdrom. it is a dvd+rw


On Fri, Sep 11, 2009 at 6:49 PM, Xi Shen davidshe...@googlemail.com wrote:
 hi,

 i have attached my dmesg output, please help me review.

 i have tried the kmuto.jp site, and i think i have all the modules
 installed and loaded, but i still cannot see my HD on my laptop


 On Fri, Sep 11, 2009 at 1:42 PM, Xi Shen davidshe...@googlemail.com wrote:
 of course i am using genkernel. i do not have access to my linux box
 now. i will post the output later.


 On Fri, Sep 11, 2009 at 8:39 AM, Jacob Todd jaketodd...@gmail.com wrote:
 On Fri, Sep 11, 2009 at 11:57:51AM +0800, Xi Shen wrote:
 Hi,

 i installed my gentoo x64 on my usb HD, because i have to use windows
 for my work. but the problem is that if i boot from the usb HD, it
 cannot find the HD on my laptop. the gentoo 2008 installation cd works
 very well, so i think i must have missed some drivers in the kernel or
 module. i have included anything that is related to ide, scsi, sata,
 and usb. is there anything else i should do to make my HD on laptop
 work?

 my laptop is thinkpad t61.


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84


 Do `lspci -n` and paste it's output at http://kmuto.jp/debian/hcl/.

 Also look at Pappy's kernel seeds.[1]

 [1]http://62.3.120.141/~pappy/

 --
 Jake Todd
 // If it isn't broke, tweak it!




 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84




 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84




-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



[gentoo-user] Re: sSMTP write error...?

2009-09-11 Thread Nicolas Sebrecht
On Tue, Sep 08, 2009 at 09:22:46PM +0200, Jarry wrote:

 I think these two events are somehow tied together. Any more ideas?

No, sorry. I think that the last step is to do a bug report at gentoo.

-- 
Nicolas Sebrecht



Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-11 Thread covici
Mick michaelkintz...@gmail.com wrote:

 On Friday 11 September 2009, cov...@ccs.covici.com wrote:
 
  However, when I put the -d, it didn't tell me anything except that
  dhcpcd sent several discover packets and then said timeout, so my
  original question still remains -- why a timeout with 5.1 with the same
  dhcpcd.conf and no timeout with 4.0.13.
 
 It may be a bug.  The trick is how do you establish who the bug belongs to?  
 dhcpcd-5.1 or your router's firmware?
 
 I recall similar incident with my router and an older dhcpcd version (can 
 look 
 through the M/L for a URL if you need me to) whereby the MAC address sent by 
 dhcpcd was not being picked up by the router.  The router was looking for 
 that info in the ID field or some such.  Having had static IP addresses for 
 my LAN machines meant that my PC would not be given the reserved IP address 
 and then dhcpcd would eventually time out.  My router's firmware was not 
 compliant with the respective RFC that dhcpcd was upgraded to.
 
 The fix I came up with was router specific, therefore I do not have a useful 
 suggestion for your circumstances I'm afraid - other than:
 
 Try static IP address for your machine (use ifconfig to set this up and route 
 to set up the gw).
 
 Try using a different dhcp client to see if the problem persists.
 
 Try updating your router's firmware just in case.
 
 File a bug for dhcpcd-5.1 with your findings.
 
 PS.  Other than testing is there a reason why you don't use a stable dhcpcd 
 version?
 -- 
 Regards,
 Mick

I am using unstable generally, so it just came in the update.  I have no
router, this is FIOS from Verizon.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] screen, mc, htop

2009-09-11 Thread Paul Hartman
On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
sayusi.a...@sayusi.hu wrote:
 Hi all!

 I'm here again.

 So, the problem points is I can't decide what is the real problem. But
 I can describe the symptomes.

 I use screen lot of and I like it veery much. Few weeks ago - when I
 reinstall gentoo, started this weird thing.
 If I start mc in the screen nothings happen. I can see the cursos is
 stop before the last line and waiting...
 Generally first time the mc is start and I can work with. But, random
 long time later the mc is start doing this stupid behavior what I
 wrote upper. This thing is independent what I did. Last time is
 started after I use vim to edit an file. Yesterday started after I
 write in mc's command line 'df -h' and hit Enter.

This is a very old post, but I want to say I am experiencing the same
problems with screen and mc (even after I initially replied saying I
didn't have it :). Did you ever find a solution?



[gentoo-user] Error emergin mkinitrd

2009-09-11 Thread Massimiliano Ziccardi
Hi all.

I've a problem trying to emerge mkinitrd.

Everytime I try, I get:

 * ERROR: sys-apps/mkinitrd-3.5.7-r3 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2212:  Called die
 * The specific snippet of code:
 *   emake || die nash compile failed.;
 *  The die message:
 *   nash compile failed.

I've searched through the net, but couldn't find a solution (one suggested
to re-emerge glibc, but that didn't work).

Any idea?

Thanks,
Massimiliano


Re: [gentoo-user] screen, mc, htop

2009-09-11 Thread Willie Wong
On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote:
 On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
 sayusi.a...@sayusi.hu wrote:
  I use screen lot of and I like it veery much. Few weeks ago - when I
  reinstall gentoo, started this weird thing.
  If I start mc in the screen nothings happen. I can see the cursos is
  stop before the last line and waiting...
  Generally first time the mc is start and I can work with. But, random
  long time later the mc is start doing this stupid behavior what I
  wrote upper. This thing is independent what I did. Last time is
  started after I use vim to edit an file. Yesterday started after I
  write in mc's command line 'df -h' and hit Enter.
 
 This is a very old post, but I want to say I am experiencing the same
 problems with screen and mc (even after I initially replied saying I
 didn't have it :). Did you ever find a solution?
 

I dunno if my problem is the same as yours, but it may not be just mc.
screen has been crapping out on me lately, and also randomly, like
described above, when I use some of the shell scripts that I wrote. It
only happens with interactive scripts that display a menu using
'dev-util/dialog'. Most of the time it works, sometimes it doesn't:
after the previous dialog clears the screen, screen just sits there
blinking and not loading the next one. 

I'd be interested in a solution too, if there is one.

W
-- 
Willie W. Wong ww...@math.princeton.edu
408 Fine Hall,  Department of Mathematics, Princeton University,  Princeton
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] Re: screen, mc, htop

2009-09-11 Thread Nikos Chantziaras

On 09/11/2009 07:04 PM, Willie Wong wrote:

On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote:

On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
sayusi.a...@sayusi.hu  wrote:

I use screen lot of and I like it veery much. Few weeks ago - when I
reinstall gentoo, started this weird thing.
If I start mc in the screen nothings happen. I can see the cursos is
stop before the last line and waiting...
Generally first time the mc is start and I can work with. But, random
long time later the mc is start doing this stupid behavior what I
wrote upper. This thing is independent what I did. Last time is
started after I use vim to edit an file. Yesterday started after I
write in mc's command line 'df -h' and hit Enter.


This is a very old post, but I want to say I am experiencing the same
problems with screen and mc (even after I initially replied saying I
didn't have it :). Did you ever find a solution?



I dunno if my problem is the same as yours, but it may not be just mc.
screen has been crapping out on me lately, and also randomly, like
described above, when I use some of the shell scripts that I wrote. It
only happens with interactive scripts that display a menu using
'dev-util/dialog'. Most of the time it works, sometimes it doesn't:
after the previous dialog clears the screen, screen just sits there
blinking and not loading the next one.

I'd be interested in a solution too, if there is one.


If you start screen, then do export TERM=xterm, does that fix the issues?




Re: [gentoo-user] Re: screen, mc, htop

2009-09-11 Thread Paul Hartman
On Fri, Sep 11, 2009 at 11:58 AM, Nikos Chantziaras rea...@arcor.de wrote:
 On 09/11/2009 07:04 PM, Willie Wong wrote:

 On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote:

 On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
 sayusi.a...@sayusi.hu  wrote:

 I use screen lot of and I like it veery much. Few weeks ago - when I
 reinstall gentoo, started this weird thing.
 If I start mc in the screen nothings happen. I can see the cursos is
 stop before the last line and waiting...
 Generally first time the mc is start and I can work with. But, random
 long time later the mc is start doing this stupid behavior what I
 wrote upper. This thing is independent what I did. Last time is
 started after I use vim to edit an file. Yesterday started after I
 write in mc's command line 'df -h' and hit Enter.

 This is a very old post, but I want to say I am experiencing the same
 problems with screen and mc (even after I initially replied saying I
 didn't have it :). Did you ever find a solution?


 I dunno if my problem is the same as yours, but it may not be just mc.
 screen has been crapping out on me lately, and also randomly, like
 described above, when I use some of the shell scripts that I wrote. It
 only happens with interactive scripts that display a menu using
 'dev-util/dialog'. Most of the time it works, sometimes it doesn't:
 after the previous dialog clears the screen, screen just sits there
 blinking and not loading the next one.

 I'd be interested in a solution too, if there is one.

 If you start screen, then do export TERM=xterm, does that fix the issues?

So far that seems to fix it for me! But it's a very random and
non-reproducible error so only time will tell. mc froze on startup for
me just now (with TERM=screen) 5 times in a row; set TERM=xterm and mc
started without problem 5 times in a row. So that's a good sign, I
think.

Thanks!



[gentoo-user] Re: screen, mc, htop

2009-09-11 Thread Nikos Chantziaras

On 09/11/2009 08:08 PM, Paul Hartman wrote:

On Fri, Sep 11, 2009 at 11:58 AM, Nikos Chantziarasrea...@arcor.de  wrote:

On 09/11/2009 07:04 PM, Willie Wong wrote:


On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote:


On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
sayusi.a...@sayusi.hu   wrote:


I use screen lot of and I like it veery much. Few weeks ago - when I
reinstall gentoo, started this weird thing.
If I start mc in the screen nothings happen. I can see the cursos is
stop before the last line and waiting...
Generally first time the mc is start and I can work with. But, random
long time later the mc is start doing this stupid behavior what I
wrote upper. This thing is independent what I did. Last time is
started after I use vim to edit an file. Yesterday started after I
write in mc's command line 'df -h' and hit Enter.


This is a very old post, but I want to say I am experiencing the same
problems with screen and mc (even after I initially replied saying I
didn't have it :). Did you ever find a solution?



I dunno if my problem is the same as yours, but it may not be just mc.
screen has been crapping out on me lately, and also randomly, like
described above, when I use some of the shell scripts that I wrote. It
only happens with interactive scripts that display a menu using
'dev-util/dialog'. Most of the time it works, sometimes it doesn't:
after the previous dialog clears the screen, screen just sits there
blinking and not loading the next one.

I'd be interested in a solution too, if there is one.


If you start screen, then do export TERM=xterm, does that fix the issues?


So far that seems to fix it for me! But it's a very random and
non-reproducible error so only time will tell. mc froze on startup for
me just now (with TERM=screen) 5 times in a row; set TERM=xterm and mc
started without problem 5 times in a row. So that's a good sign, I
think.

Thanks!


I use that trick to get mouse support in mc under screen.  Just thought 
it might solve even more issues.





[gentoo-user] port bandwidth discovery

2009-09-11 Thread James
Hello,


Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
ethernet cards. I use lshw to distinguish the max ethernet port speed:

For example:

network:0 DISABLED 
description: Ethernet interface 

product: RTL-8139/8139C/8139C+  

vendor: Realtek Semiconductor Co., Ltd. 

physical id: 9  

bus info: p...@:02:09.0 
 
logical name: eth1  

version: 10 

serial: 00:48:54:62:64:fd   

size: 10MB/s

capacity: 100MB/s   

width: 32 bits  

clock: 33MHz

capabilities: pm bus_master cap_list ethernet physical tp mii
10bt 10bt-fd 100bt 100bt-fd autonegotiation
  
configuration: autonegotiation=on broadcast=yes driver=8139too
driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32
module=8139too multicast=yes port=MII speed=10MB/s 
 
   *-storage UNCLAIMED  

description: Mass storage controller

product: PCI0680 Ultra ATA-133 Host Controller  

vendor: Silicon Image, Inc. 

physical id: a  

bus info: p...@:02:0a.0 
 
version: 02 

width: 32 bits  

clock: 33MHz

capabilities: storage pm bus_master cap_list

configuration: latency=32   

   *-network:1  

description: Ethernet interface 

product: 3c450 HomePNA [Tornado]

vendor: 3Com Corporation

physical id: b  

bus info: p...@:02:0b.0 
 
logical name: eth0  

version: 30 

serial: 00:50:da:61:31:1c   

size: 100MB/s   

capacity: 100MB/s   

width: 32 bits  

clock: 33MHz

capabilities: pm bus_master cap_list ethernet physical tp mii
10bt 10bt-fd 100bt 100bt-fd autonegotiation
  
configuration: autonegotiation=on broadcast=yes driver=3c59x
duplex=full ip=192.168.2.17 latency=32 link=yes maxlatency=10 mingnt=10
module=3c59x multicast=yes port=MII speed=100MB/s 



Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?


Is there other software to discern the hardware capability and test
actual throughput?

How comfortable are you with the results you get? (reliable?)


curiously,
James




Re: [gentoo-user] port bandwidth discovery

2009-09-11 Thread Ricardo Saffi Marques
James wrote:
 Hello,
 
 Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
 ethernet cards. I use lshw to distinguish the max ethernet port speed:
 
snip

 Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?

Have you tried mii-tool?

quasar ~ # mii-tool -v int0
int0: negotiated 1000baseT-FD flow-control, link ok
  product info: Yukon 88E1011 rev 5
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD
  advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD 
flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD flow-control

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-11 Thread Stroller


On 11 Sep 2009, at 16:29, cov...@ccs.covici.com wrote:

...
I am using unstable generally, so it just came in the update.  I  
have no

router, this is FIOS from Verizon.


Sorry if this is a dumb question, but presumably the interface is an  
ethernet card, right? What's it connected to?


FISO sounds all very new  experimental and with the potential for  
not every glitch to be discovered yet. Can you beg borrow or steal a  
router from somewhere, connect your computer to that, instead, and see  
if dhcpcd 5.1 receives a lease from it? (Or alternatively, set up  
dhcpd on another machine, connect them together with a cable and see  
if that machine responds to the requests of dhcpcd 5.1)


Stroller.




Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-11 Thread covici
Stroller strol...@stellar.eclipse.co.uk wrote:

 
 On 11 Sep 2009, at 16:29, cov...@ccs.covici.com wrote:
  ...
  I am using unstable generally, so it just came in the update.  I
  have no
  router, this is FIOS from Verizon.
 
 Sorry if this is a dumb question, but presumably the interface is an
 ethernet card, right? What's it connected to?
 
 FISO sounds all very new  experimental and with the potential for
 not every glitch to be discovered yet. Can you beg borrow or steal a
 router from somewhere, connect your computer to that, instead, and see
 if dhcpcd 5.1 receives a lease from it? (Or alternatively, set up
 dhcpd on another machine, connect them together with a cable and see
 if that machine responds to the requests of dhcpcd 5.1)
 

Not sure I can get another router or another dhcp server, and it is an ethernet 
card.  One interesting
thing is that 4.0.13 gives the ethernet address whereas 5.1.0 does not.
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Error emergin mkinitrd

2009-09-11 Thread walt

On 09/11/2009 08:58 AM, Massimiliano Ziccardi wrote:

Hi all.

I've a problem trying to emerge mkinitrd.

Everytime I try, I get:

  * ERROR: sys-apps/mkinitrd-3.5.7-r3 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 2212:  Called die
  * The specific snippet of code:
  *   emake || die nash compile failed.;


A search at bugs.gentoo.org turned up this bug report,
filed in June and solved almost a month ago:

http://bugs.gentoo.org/show_bug.cgi?id=268285

So why is package still broken?  Good question.  Why are
more people not complaining?  Dunno.  I don't use that
package and it seems that very few others do.  Just out
of curiosity, why are you trying to install mkinitrd?




Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Maxim Wexler
 I have $PORTAGE_TMPDIR on the SD card, which is cheap enough to replace
 if too many OOo compiles toast it.

And I took your advice

 2. It's sloow

 I was pleasantly surprised at how quickly some compiles completed. Not as
 fast as my desktop of course, but faster than  was expecting, although 14
 hours for OOo required a certain amount of patience.

My speeds vary, Sometimes it seems quicker than at other times. Most
noticeably when I log in; sometimes it takes ~10 secs for the prompt
to show, sometimes it's instantaneous


 Maybe wait for Neil Bothwick to show up and ask him for the gory
 details - he seems to have gotten it down pat on his Eee.

 As mentioned yesterday, I now do all emerges in a chroot on my desktop to
 build binary packages, then emerge -k on the Eee, so Ooo only takes 90
 minutes now. The only compiling I do on the Eee is kernel changes.

Negatory. My dialup is attenuated by 8 miles of analog telephone line.
When I'm mobile it's a different story.

mw



Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Maxim Wexler
 2. Don't change a winning team! If your kernel run's smoothly with no
 weird glutches in drivers, leave it be. Only update if you want new
 features.
 Just my 2p's worth
 Greetz,
 Mark

Works for my desktop. I haven't updated it for years. Just poked along
fixing this and that; if something stops working and I can't fix it, I
just install something else.

LOL here's the bottom line for -puvDN world on my desktop

...
Total: 447 packages (303 upgrades, 4 downgrades, 104 new, 3 in new
slots, 33 reinstalls, 11 uninstalls), Size of downloads: 1,062,289 kB
Conflict: 27 blocks (15 unsatisfied)
...

Not going to happen.

mw



Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Dale
Maxim Wexler wrote:


 Negatory. My dialup is attenuated by 8 miles of analog telephone line.
 When I'm mobile it's a different story.

 mw


   

I was on a really crappy dial-up until recently.  You have my deepest
sympathies.  Dial-up, of any kind, truly sucks.  :-@

Funny thing is, our old phone lines were about that far too.  Most of
the time I got about 3KB/s of throughput.  I hope yours is better than that.

Dale

:-)  :-) 



Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Maxim Wexler
 As mentioned yesterday, I now do all emerges in a chroot on my desktop to
 build binary packages, then emerge -k on the Eee, so Ooo only takes 90
 minutes now. The only compiling I do on the Eee is kernel changes.


This suggests using the fetchonly switch, write the files to USB key
while mobile and compile them later on the desktop. But when I do

% emerge -pfuvND world

I just get page after page of the mirrors list from make.conf.

Is there a way to tell portage to ignore the Rs and collect only the
Us, Ns and NSs?

mw



Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Maxim Wexler
 Funny thing is, our old phone lines were about that far too.  Most of
 the time I got about 3KB/s of throughput.  I hope yours is better than that.

That's about the top speed here.



[gentoo-user] qmail problem

2009-09-11 Thread salvatore monaco
Hello I'm try to install on my gentoo server qmail whit vpopmail for
virtualhosting
 when I'm try to connect on mailbox
the log in qmail-smtpd are

@40004aaacf981c82d5f4 /var/vpopmail/bin/vchkpw: error while loading
shared libraries: libnsl.so.1: failed to map segment from shared object:
Cannot allocate memory


another error
when I'm try to send a message from my account gmail to postmaster o iser
for domain in the log qmail-send

@40004aaad047397b436c starting delivery 12: msg 7356 to local
portodimare.it-salvat...@portodimare.it
@40004aaad047397b436c status: local 2/10 remote 0/20
@40004aaad047397b4754 starting delivery 13: msg 7356 to local
portodimare.it-easy...@portodimare.it
@40004aaad047397b4b3c status: local 3/10 remote 0/20
@40004aaad04739851af4 delivery 11: deferral:
Unable_to_open_.qmail-default:_access_denied._(#4.3.0)/
@40004aaad04739851edc status: local 2/10 remote 0/20
@40004aaad0473985cea4 delivery 12: deferral:
Unable_to_open_.qmail-default:_access_denied._(#4.3.0)/
@40004aaad0473985d28c status: local 1/10 remote 0/20
@40004aaad047398aacbc delivery 13: deferral:
Unable_to_open_.qmail-default:_access_denied._(#4.3.0)/
@40004aaad047398ab0a4 status: local 0/10 remote 0/20
help me


Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Neil Bothwick
On Fri, 11 Sep 2009 14:32:00 -0600, Maxim Wexler wrote:

 This suggests using the fetchonly switch, write the files to USB key
 while mobile and compile them later on the desktop. But when I do
 
 % emerge -pfuvND world
 
 I just get page after page of the mirrors list from make.conf.

That's because you included -p, so it just tells you all the URLs of the
files you need to download.

 Is there a way to tell portage to ignore the Rs and collect only the
 Us, Ns and NSs?

Yes, don't delete the tarballs from $DISTDIR after installation.


-- 
Neil Bothwick

Quality control, n.:
  Assuring that the quality of a product does not get out of hand
   and add to the cost of its manufacture or design.


signature.asc
Description: PGP signature


Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Alan McKinnon
On Friday 11 September 2009 22:32:00 Maxim Wexler wrote:
  As mentioned yesterday, I now do all emerges in a chroot on my desktop to
  build binary packages, then emerge -k on the Eee, so Ooo only takes 90
  minutes now. The only compiling I do on the Eee is kernel changes.
 
 This suggests using the fetchonly switch, write the files to USB key
 while mobile and compile them later on the desktop. But when I do
 
 % emerge -pfuvND world
 
 I just get page after page of the mirrors list from make.conf.
 
 Is there a way to tell portage to ignore the Rs and collect only the
 Us, Ns and NSs?

emerge will want to fetch everything you will need that is not in your 
distfiles. What else do you expect it to do?

You can keep a local copy of distfiles on a USB stick and insert it when you 
want to fetch; this will help avoid duplicate downloads. But you are asking 
for something that is way out of the province of portage.

If you really wanted to, you could parse the output of emerge -pv, grep just 
the Us and Ns, then re-run emerge -pvf for those packages, cat and sort -u the 
whole lot and finally redirect it to a file that you can redirect back into 
wget.

I used to do this. Trust me, it's more trouble than it's worth. A 4G memory 
card just for distfiles will solve the problem nicely.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How often -uD world?

2009-09-11 Thread Dale
Alan McKinnon wrote:

 I used to do this. Trust me, it's more trouble than it's worth. A 4G memory 
 card just for distfiles will solve the problem nicely.

   

This includes the tree, distfiles and all the buildpkges on a fully
loaded KDE desktop.

r...@smoker / # du -shc /usr/portage/
4.4G/usr/portage/
4.4Gtotal
r...@smoker / #

May have to boot out the buildpkg part but it should fit.

Dale

:-)  :-)



Re: [gentoo-user] Re: Error emergin mkinitrd

2009-09-11 Thread Jacob Todd
On Fri, Sep 11, 2009 at 12:23:23PM -0700, walt wrote:
 On 09/11/2009 08:58 AM, Massimiliano Ziccardi wrote:
  Hi all.
 
  I've a problem trying to emerge mkinitrd.
 
  Everytime I try, I get:
 
* ERROR: sys-apps/mkinitrd-3.5.7-r3 failed.
* Call stack:
*   ebuild.sh, line   49:  Called src_compile
* environment, line 2212:  Called die
* The specific snippet of code:
*   emake || die nash compile failed.;
 
 A search at bugs.gentoo.org turned up this bug report,
 filed in June and solved almost a month ago:
 
 http://bugs.gentoo.org/show_bug.cgi?id=268285
 
 So why is package still broken?  Good question.  Why are
 more people not complaining?  Dunno.  I don't use that
 package and it seems that very few others do.  Just out
 of curiosity, why are you trying to install mkinitrd?
 
 

Because making a initrd is a pain in the ass, and he probably doesn't want to
use genkernel.

-- 
Jake Todd
// If it isn't broke, tweak it!


pgpJxtBChiq0d.pgp
Description: PGP signature


Re: [gentoo-user] qmail problem

2009-09-11 Thread Aiko Barz
On Fri, Sep 11, 2009 at 10:40:16PM +0200, salvatore monaco wrote:
 Hello I'm try to install on my gentoo server qmail whit vpopmail for
 virtualhosting
  when I'm try to connect on mailbox
 the log in qmail-smtpd are
 
 @40004aaacf981c82d5f4 /var/vpopmail/bin/vchkpw: error while loading
 shared libraries: libnsl.so.1: failed to map segment from shared object:
 Cannot allocate memory

Don't know about vpopmail but have a look at your run script. Do you use
the softlimit program? Increase the limits.

So long,
Aiko

-- 
:wq ✉



[gentoo-user] How would I disable Flash (oand other things) for a single account?

2009-09-11 Thread Mark Knecht
Is it possible to shut off all multimedia stuff for a single account?
It's doesn't have to be securely off, just off, so if it cannot be
done by meddling with group membership then doing something in a root
owned bash file that executes when the user logs in even that's fine
with me. (Uh - even I don't know much about what Linux/Gnome does when
a user logs in so I'll get to learn a bit also!)

I've removed the user account from the audio, video and games groups.
When playing YouTube stuff sound is gone but the Flash video is still
there. Can I stop that from working. maybe by changing paths if
there's not an easier way to do it?

Thanks,
Mark