Thomas Mueller | 18 Apr 14:02 2014
Picon

Allow delay for booting from USB device?

Is there a way to make Gentoo or other Linux allow extra time when root is on a USB device?  Any way to say "just a
second" or more like 15 seconds before aborting with the message that root partition does not exist?

In this case it's an IDE hard drive in a USB enclosure.

FreeBSD seems to handle this situation better.  I would get a 
mountroot>
prompt, to which I would respond 
ufs:/dev/ada0p3
and be good.

I could avoid this situation with /boot/loader.conf

legal.realtek.license_ack=1
rsu-rtl8712fw_load="YES"
kern.cam.scsi_delay="13000"     # Delay (in ms) before probing SCSI
kern.cam.boot_delay="16000"    # Delay (in ms) of root mount for CAM bus
hint.re.0.disabled="1"

but don't know if Linux has anything like this.

Only lines 3 and 4 are relevant to this issue; other lines are for different issues.

Tom

FERREC Romain | 18 Apr 13:22 2014
Picon

/dev/fd0 dont exist, kernel configuration seems good

Hello

I'm new on Gentoo and I try to make my floopy drive working, so I
compiled my kernel with good options (floppy disk support and
ATA/ATAPI/MFM/RLL support enabled), and rebooted on "the kernel" of course.

Normaly it should work, but my floppy drive is not listed in /dev as fd0
or floppy...

Any suggestions ?
Thanks in advance.

gottlieb | 17 Apr 18:11 2014
Picon

using eclipse with java

I am a CS prof at NYU, which uses Java for CS 101.  I have taught this
course a few times and have learned Java as a result.  During my
sabbatical year (a coincidence? :-) )the department decided to teach the
eclipse IDE.

I have never used an IDE so though i should try now instead of waiting
until september.

merging eclipse-ecj was painless and sure enough it does seem to compile
my programs.  It even noticed that I didn't close a scanner.
I can still use javac if desired.  Fine.

I have not yet merged eclipse-sdk.  Must I merge this?  The only version
in the main tree is masked and it brings in 83! packages.

Others in the dept (and students) praise the eclipse debugger.  I don't
see how I will be invoking it.  Also what about the eclipse editor?

I guess, I need to be pointed at the right documentation.  I went to
wiki.eclipse.org but am not sure where to go to from here.

thanks,
allan

Facu Curti | 17 Apr 03:31 2014
Picon

Get bridge working for xen

Hi all! :)

I'm following the gentoo wiki [1]. I can't find any mistake on config
files, but network does not work :/.

I don't have any xen configuration (or domU) yet. I'm just trying to get a bridge
with functional network on my domain0.

I attach my /etc/conf.d/net

When I try to ping, with any iface, to to outside, or even to the getaway, it says host
unreachable. Also, the system delays on load the system. It takes like
30 sec more, and conky get stuck (I use it to take data like IP, getway,
dns, etc..).

I hope can help me please, I need to get this working :/

Thank you! You all are the best!! Bye!

Sorry if my english is not the best :/

[1] https://wiki.gentoo.org/wiki/Xen#Networking_on_Unpriviledged_Domains
config_enp3s0="192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255"
routes_enp3s0="default via 192.168.1.1"

bridge_xenbr0="enp3s0"
config_xenbr0="192.168.1.100 netmask 255.255.255.0 brd 192.168.1.255"
routes_xenbr0="default gw 192.168.1.1"
(Continue reading)

James | 16 Apr 23:31 2014
Picon

WEFT Why Every F Time ?

HOwdy,

So, using gmail as my front end to read gentoo user I see
this quite a lot now:

"weft didn't produce an output."

But when from the Gmane interface I select "followup"
it shows the message the previous poster wrote. Strange.

Googling I found: http://www.pressure.to/qda/

Which says version 2.0 was only release in alpha
and 1.x is deprecated.

(Hello Lars, what's your plan?)

Is there another easy to use front end read/post to gentoo-user?

(Please do not say NNTP)....

curiously James

Jarry | 16 Apr 17:34 2014
Picon

Raspberry Pi & Gentoo?

Hi Gentoo-users,

I have read all articles about Raspberry Pi on Gentoo-wiki,
but want to ask: Is anybody here really using Gentoo on RPi?
Is it usable?

I have a chance of free housing for my RPi so I thought I give
it a try, using RPi as backup-DNS/MX (and watchdog) for my
primary server. Right now I'm facing two questions:

1. What is better to use as OS-storage: USB-stick or SD-card?
I have read horror stories about SD-cards being fried/bricked
quite frequently so I'm a little scared. But I never found
single post about problems with USB-stick...

2. What distro? Right now I'm using Gentoo on all my servers
but I'm not sure it is the best option for this puppy (Gentoo
puts quite high demands on filesystem). If I redirect all the
compilation work to other "mature" server (distcc/crossdev),
can I use even Gentoo? Or is Raspbian still the better choice?

BR,
Jarry
--

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Stroller | 16 Apr 15:39 2014
Picon

app-admin/mcelog daily cronjob?

I set up a new machine a couple of months ago, and for some time I've been getting an email each day:

  Subject: Cron <root <at> host> test -x /usr/sbin/run-crons && /usr/sbin/run-crons
  fopen: Permission denied

Taking a look at /etc/cron.daily/ shows only one odd one out:

  $ sudo ls -lh /etc/cron.daily/
  total 16K  
  -rwxr-xr-x 1 root root  180 Feb  4 20:28 logrotate
  -rwxr-xr-x 1 root root  196 Mar  3 09:48 man-db
  -rw-r--r-- 1 root root  141 Apr 16 14:09 mcelog  
  -rwxr-xr-x 1 root root 1.3K Feb  4 23:53 mlocate

I *assume* that mcelog is the cron job which is causing this error, although the error message is not much to
go on. It doesn't have execute permissions set, though, so that's what leads me towards this (tentative) conclusion.

I dunno, running it manually gives a different error:

  $ sudo /etc/cron.daily/mcelog
  sudo: /etc/cron.daily/mcelog: command not found
  $ 

Nevertheless, when I look at the http://mcelog.org/ homepage, specified in the package description, it says:

  Traditionally mcelog was run as a cronjob, but this usage is
  deprecated now. The modern way to run it is to start it at
  boot up time and run it always as a daemon.

I tried unmerging app-admin/mcelog and the cron.daily file is removed; then remerging (the latest stable
(Continue reading)

Tanstaafl | 16 Apr 12:52 2014

Heartbleed fix - question re: replacing self-signed certs with real ones

Hi all,

I've taken this opportunity to prod the boss to let me buy some real 
certs for our few self-hosted mail services. Until now, we've used 
self-signed certs.

My question is, what exactly is the correct procedure for doing this?

Also, do I still need to do the step I've been seeing:

Step: 2

Delete SSL key set

     Now, make out a list of websites that are equipped with SSL
     certificates.
     After that, delete all SSL keys, private and CSR key
     Finally, create a new private key and CSR key for each of your
     website. However, remember that your keys should be of 2048-bit key
     length.

?

Or will simply replacing my self-signed certs with the new real ones be 
good enough?

Thanks

Philip Webb | 16 Apr 01:07 2014
Picon

HP printing query

I ran into a problem trying to print yesterday -- solved for now -- ,
but would like to simplify things for the next occasion.

What appears to have happened is that when I updated Hplip + Cups,
one of them created a new printer, so that the list now appears as :

  Deskjet_2510	Automatically setup by HPLIP
   HP Deskjet 2510 Series hpijs, 3.13.9  Paused - "Filter failed"
  Deskjet_2510_2  Deskjet_2510_2
   HP Deskjet 2510 Series hpijs, 3.13.9	 Idle

I had the Vim plug-in 'prtdialog' + Kwrite + LO set to use the former,
but needed to change them all to the latter to get the printer to respond.

Is this something I have to allow for whenever I update those pkgs ?
I can delete the old one as root, but can I rename the new one ?

--

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca

Nikos Chantziaras | 15 Apr 14:38 2014
Picon

What's happening with grub-install on GPT?

As an old fart with MBR hardwired into my brain, I'm not sure I 
understand how booting from a GPT partitioned disk works now.

So, I had to (note: "had to", not "wanted to") install Windows 8.1 on my 
machine. I had a dual boot Gentoo/Windows7 before that. So I did a 
backup, wiped the Windows7 partition, and then ran the W8.1 install 
(from a USB flash drive.)

Windows complained that it can't install into MBR partitioned disks on 
EFI systems. So I booted Gentoo again, and converted my disk to GPT 
(with sys-apps/gptfdisk.) I backed up my MBR partition table before of 
course (with dd). I wasn't sure whether I needed an EFI BIOS boot 
partition (ID ef02), so I created one just to be safe by shrinking my 
swap partition by 100MB and giving that space to a new ef02 partition. 
This new partition ended up as /dev/sda5 and I formatted it with a FAT32 
filesystem.

So far so good. Now what happens with grub-install? I wasn't sure 
whether I needed to do:

   grub-install /dev/sda5

or:

   grub-install /dev/sda

So I did both. Note: I'm using grub-0.97-r13 and Gentoo ships it with 
GPT support.

I tested it, and it booted OK. So far so good.
(Continue reading)

Walter Dnes | 15 Apr 04:11 2014

Questions about CPU settings in kernel and USE

  I'm (re)installing Gentoo on an older AMD notebook.  The output from
"less /proc/cpuinfo" includes...

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II P320 Dual-Core Processor
stepping        : 3
microcode       : 0x10000b6
cpu MHz         : 2100.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht
syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc
extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 3dnowprefetch
osvw ibs skinit wdt nodeid_msr hw_pstate npt lbrv svm_lock nrip_save
bogomips        : 4189.59
TLB size        : 1024 4K pages

  Now for the questions
(Continue reading)


Gmane