Custom Kernel Target Ignored

2012-02-26 Thread Carolyn Longfoot


When I start
cd /usr/src
make buildkernel KERNELCONF=MYKERNEL

then the process start and gives
--
 Kernel build for GENERIC started on Sat Feb 25 10:59:25 EST 2012
--
Even though my config file has
ident MYKERNEL

I checked and there are no rogue versions of MYKERNEL (like a straight copy 
from GENERIC) and it exists in
/usr/src/sys/amd64/conf

I'm probably missing something really simple here, why would 'make' go for 
GENERIC instead of my custom config?
This is 9.0 RELEASE.

Thanks,
Caro

  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom Kernel Target Ignored

2012-02-26 Thread Da Rock

On 02/26/12 18:10, Carolyn Longfoot wrote:


When I start
cd /usr/src
make buildkernel KERNELCONF=MYKERNEL

then the process start and gives
--

Kernel build for GENERIC started on Sat Feb 25 10:59:25 EST 2012

--
Even though my config file has
ident MYKERNEL

I checked and there are no rogue versions of MYKERNEL (like a straight copy 
from GENERIC) and it exists in
/usr/src/sys/amd64/conf

I'm probably missing something really simple here, why would 'make' go for 
GENERIC instead of my custom config?
This is 9.0 RELEASE.

Try `make KERNCONF=MYKERNEL buildkernel`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom Kernel Target Ignored

2012-02-26 Thread Erich Dollansky
Hi,

On Sunday 26 February 2012 15:10:16 Carolyn Longfoot wrote:
 
 When I start
 cd /usr/src
 make buildkernel KERNELCONF=MYKERNEL
 
 then the process start and gives
 --
  Kernel build for GENERIC started on Sat Feb 25 10:59:25 EST 2012

I do not know where the word GENERIC is taken from. Maybe from you 
configuration file?

 Even though my config file has
 ident MYKERNEL
 
Ok, excluded then.

 I checked and there are no rogue versions of MYKERNEL (like a straight copy 
 from GENERIC) and it exists in
 /usr/src/sys/amd64/conf
 
 I'm probably missing something really simple here, why would 'make' go for 
 GENERIC instead of my custom config?
 This is 9.0 RELEASE.
 
 make buildkernel KERNCONF=AsusAMD620

is what I do.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


kern/94369: [bktr] [patch] Patch to support Leadtek WinFast Tv2000 XP bktr card

2012-02-26 Thread David Walker
Hi.

I have one of these cards.
I notice the PR is open - does this mean the patch was not committed?

Is there anything I can do to get eyeballs on this?
I've never compiled from source or applied a diff but if it needs
testng and someone's willing to give me a basic outline of the
procedure I'll see if I can avago.
Learning this stuff is on my todo list for this decade but time is short.

Best wishes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Custom Kernel Target Ignored

2012-02-26 Thread Carolyn Longfoot

  
  make buildkernel KERNCONF=AsusAMD620
 
 is what I do.
 
 Erich

ARGHHH... KERNCONF not KERNELCONF... scuse my blindness...
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom Kernel Target Ignored

2012-02-26 Thread Erich Dollansky
Hi,

On Sunday 26 February 2012 21:37:32 Carolyn Longfoot wrote:
 
   
   make buildkernel KERNCONF=AsusAMD620
  
  is what I do.
  
  Erich
 
 ARGHHH... KERNCONF not KERNELCONF... scuse my blindness...
 
this is what we are for.

The simplest things are very often the most difficult to solve.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-26 Thread Polytropon
On Sun, 26 Feb 2012 02:42:08 +0100, Jerome Herman wrote:
 You did nothing wrong, on the contrary. You now have a prefectly working 
 printer. You just need to tell cups it exists.
 Since
 
   # foo2qpdl-wrapper -p 2 -c cupstest.ps  cupstest.xqx
   # cat cupstest.xqx  /dev/ulpt0
 
 works, you should be able to create a new printer using a direct device.
 So go on as if you wanted to create a network printer, choose 
 HPJetDirect (for example) when asked about the connection. Then when you 
 have to input the uri remove the socket:// and type usb:///dev/ulpt0. 
 (Yes triple / before dev)
 The you can process as usual for name, options and PPD.
 If it doesn't work try parallel:///dev/ulpt0

Interesting approach. Fully unimaginable from the CUPS
guide to things (i. e. how normal users _assume_ things
should be done!), but interesting. I'll try that.

The option to enter such kind of data (parallel:// and
usb:// isn't mentioned):



Add Printer
---

Connection: _

Examples:

http://hostname:631/ipp/
http://hostname:631/ipp/port1

ipp://hostname/ipp/
ipp://hostname/ipp/port1

lpd://hostname/queue

socket://hostname
socket://hostname:9100

See Network Printers for the correct URI to use with your print

[ Continue ]

See? Nothing for parallel or USB to enter manually.



It's like going to a car salesman, buying a car, but before
driving home from his yard, quickly exchanging the car you
bought for the car you initially wanted. :-)



 Normally one should work.

Today, I tried to add the printer again. Unlike yesterday,
it got detected! (Note: System shut down during night.)
It also accepts print jobs, but they are stuck somewhere.

% lpq -PSamsung_CLX-216x_Series
Samsung_CLX-216x_Series is ready
RankOwner   Job File(s)Total Size
1st poly202 Unbenannt1 7563264 bytes

This is from an OpenOffice session. The printer doesn't
print anything. No action.



 Basically in cups choosing network connection allows you to input any 
 URI  you want, including file and raw (now defunct I think - it was 
 mainly for debug anyway).

Why haven't the CUPS people thought of a kind of know what
you want mode where you can simply enter what you think is
correct, no matter if any auto-detection magic did work (or
not)?



 I never tried this specific printer, but this trick worked well on a few 
 HP and Canon.



 Tell us how it went.

I tried both of your suggestions for specifying the connection
and chose the PPD file for the printer CLX-216xsplc.ppd (size
12208 bytes). Jobs get queued, printer is ready, but no
action on the printer.

However, when I issue a command like this:

% foo2qpdl-wrapper -p 2 -c /tmp/testpage.ps  /dev/ulpt0
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'

The printer works. The result is _very_ dark. But hey, it's
stupid commodity hardware, and RGB and CMY are a little bit
different, and nothing of the cheap crap is calibrated. :-)

In the system log, I get those:

ugen1.5: Samsung Electronics Co., Ltd. at usbus1
ulpt0: Samsung Electronics Co., Ltd. CLX-216x Series,
class 0/0, rev 2.00/1.00, addr 5 on usbus1
ulpt0: using bi-directional mode
ulpt0: output error
ulpt0: output error
ulpt0: output error
ulpt0: output error

Unlike yesterday, the printer now is on ugen1.5. I'll have to play
with the permissions a bit, maybe that's the reason why nothing
can be printed, even though the changes I made for device permissions
should cover all imaginable cases - all devices /dev/usb/* now
are root:cups with crwxrwx--- permissions, the /dev/u(n)lpt0
devices are also root:cups with crw-rw permissions.

Really, I _need_ to dump CUPS relapse to _standard_ system tools
that seem to be easily capable of what the web-driven autodetected
elastic-legged program magic of CUPS can't. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-26 Thread Polytropon
On Sun, 26 Feb 2012 10:08:52 +1000, Da Rock wrote:
 I don't know that I can add anything to the cups discussion here, but I 
 understand you'd rather use lpr anyway. You are aware that the printer 
 will only speak splix the samsung universal driver language? So any 
 config would have to be based on that.

The foo2qpdl-wrapper program seems to support that fine.



 Once you have that working maybe you can manually add the printer in 
 cups using lpd.

Maybe? For sure! It's quite easy to do it (make entry in
/etc/printcap, create spool directories, write printer
filter one-liner foo2qpdl-wrapper -p 2 -c which is the
essential part). I just hope printing will be possible
from applications (Opera, OpenOffice and Gimp are the
primary candidates) afterwards. You know, many modern
programs _expect_ CUPS to be present, some have hardcoded
calls to CUPS programs, some seem to even _not_ output
PS (which should be standard), but instead PCL or whatnot.



 JIC you haven't considered this yet... HIH :)

Considered - yes, but I thought I would be able to avoid
it and use the modern CUPS toolkit for something simple
like printing. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-26 Thread Jerry
On Sat, 25 Feb 2012 23:03:58 +0100
Polytropon articulated:

 I _never_ would buy a USB printer, and I would also never
 buy something that doesn't talk PS (or at least PCL).

Both PS and to a lesser extent PCL are becoming passé. You might
want to seriously consider PDF. The better Brother printers fully
support it as do some of the better printers from other manufacturers.
You might want to check out
http://www.linuxfoundation.org/collaborate/workgroups/openprinting
for further details. The PS format is going to become considerably
less important in a relatively short time in my estimation.

By the way, have you considered a USB to Ethernet adapter? Totally
untested with a printer, but it might work quite well. If it works, you
could plug it into a wireless router and print from anywhere sans nasty
cables, etcetera. I print wirelessly, and I love it. It just works and
it makes my life simpler.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-26 Thread Warren Block

On Sun, 26 Feb 2012, Polytropon wrote:


On Sun, 26 Feb 2012 10:08:52 +1000, Da Rock wrote:

I don't know that I can add anything to the cups discussion here, but I
understand you'd rather use lpr anyway. You are aware that the printer
will only speak splix the samsung universal driver language? So any
config would have to be based on that.


The foo2qpdl-wrapper program seems to support that fine.




Once you have that working maybe you can manually add the printer in
cups using lpd.


Maybe? For sure! It's quite easy to do it (make entry in
/etc/printcap, create spool directories, write printer
filter one-liner foo2qpdl-wrapper -p 2 -c which is the
essential part). I just hope printing will be possible
from applications (Opera, OpenOffice and Gimp are the
primary candidates) afterwards.


Opera, I have not tried.  OpenOffice and LibreOffice print through lpd 
fine.  Printing through Gutenprint in Gimp also works without CUPS. 
Something has a probably-unnecessary dependency on cups-client, so it's 
installed here, but none of the rest of CUPS.


PS: using the non-resetting unlpt0 device is often helpful.  A network 
connection is still better.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-26 Thread Jerome Herman

On 26/02/2012 18:46, Polytropon wrote:

On Sun, 26 Feb 2012 02:42:08 +0100, Jerome Herman wrote:

You did nothing wrong, on the contrary. You now have a prefectly working
printer. You just need to tell cups it exists.
Since

# foo2qpdl-wrapper -p 2 -c cupstest.ps   cupstest.xqx
# cat cupstest.xqx   /dev/ulpt0

works, you should be able to create a new printer using a direct device.
So go on as if you wanted to create a network printer, choose
HPJetDirect (for example) when asked about the connection. Then when you
have to input the uri remove the socket:// and type usb:///dev/ulpt0.
(Yes triple / before dev)
The you can process as usual for name, options and PPD.
If it doesn't work try parallel:///dev/ulpt0

Interesting approach. Fully unimaginable from the CUPS
guide to things (i. e. how normal users _assume_ things
should be done!), but interesting. I'll try that.

The option to enter such kind of data (parallel:// and
usb:// isn't mentioned):



Add Printer
---

Connection: _

Examples:

 http://hostname:631/ipp/
 http://hostname:631/ipp/port1

 ipp://hostname/ipp/
 ipp://hostname/ipp/port1

 lpd://hostname/queue

 socket://hostname
 socket://hostname:9100

 See Network Printers for the correct URI to use with your print

 [ Continue ]

See? Nothing for parallel or USB to enter manually.



It's like going to a car salesman, buying a car, but before
driving home from his yard, quickly exchanging the car you
bought for the car you initially wanted. :-)
Not at all, the web admin for adding a printer is basically an html 
version of lpadmin. It is just easier with the web site.







Normally one should work.

Today, I tried to add the printer again. Unlike yesterday,
it got detected! (Note: System shut down during night.)
It also accepts print jobs, but they are stuck somewhere.

% lpq -PSamsung_CLX-216x_Series
Samsung_CLX-216x_Series is ready
RankOwner   Job File(s)Total Size
1st poly202 Unbenannt1 7563264 bytes

This is from an OpenOffice session. The printer doesn't
print anything. No action.
OK this means the ppd does not handle everything. Might get a little 
complicated.








Basically in cups choosing network connection allows you to input any
URI  you want, including file and raw (now defunct I think - it was
mainly for debug anyway).

Why haven't the CUPS people thought of a kind of know what
you want mode where you can simply enter what you think is
correct, no matter if any auto-detection magic did work (or
not)?

They did, then they got bought by Apple...






I never tried this specific printer, but this trick worked well on a few
HP and Canon.




Tell us how it went.

I tried both of your suggestions for specifying the connection
and chose the PPD file for the printer CLX-216xsplc.ppd (size
12208 bytes). Jobs get queued, printer is ready, but no
action on the printer.

However, when I issue a command like this:

% foo2qpdl-wrapper -p 2 -c /tmp/testpage.ps  /dev/ulpt0
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/poly/.ghostscript/cache/gs_cache'

The printer works. The result is _very_ dark. But hey, it's
stupid commodity hardware, and RGB and CMY are a little bit
different, and nothing of the cheap crap is calibrated. :-)

In the system log, I get those:

ugen1.5:Samsung Electronics Co., Ltd.  at usbus1
ulpt0:Samsung Electronics Co., Ltd. CLX-216x Series,
class 0/0, rev 2.00/1.00, addr 5  on usbus1
ulpt0: using bi-directional mode
ulpt0: output error
ulpt0: output error
ulpt0: output error
ulpt0: output error

Unlike yesterday, the printer now is on ugen1.5. I'll have to play
with the permissions a bit, maybe that's the reason why nothing
can be printed, even though the changes I made for device permissions
should cover all imaginable cases - all devices /dev/usb/* now
are root:cups with crwxrwx--- permissions
, the /dev/u(n)lpt0
devices are also root:cups with crw-rw permissions.

Really, I _need_ to dump CUPS relapse to _standard_ system tools
that seem to be easily capable of what the web-driven autodetected
elastic-legged program magic of CUPS can't. :-)


No, please don't blame CUPS, it is earnestly trying to cope with 
everything thrown at him (stupid printers, gnome DBus autoconfig, Apple 
Mac OSX and so on), and it is doing a fairly good job at it. I for one 
do not want to go back to the time where one had to learn 2 lines long 
LPD command just to print in color, double side, with an ICM profile.


Getting back to your 

Re: Why is this Symbol in the front of your website. A humble request.

2012-02-26 Thread Chad Perrin
On Sun, Feb 26, 2012 at 11:09:13AM +0700, Erich Dollansky wrote:
 
 always these complicated things. This is why life here is so much more
 exiting.
 
 We do not need sysctl.

I guess that depends on your definition of sysctl, and I rather like it.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom Kernel Target Ignored

2012-02-26 Thread Damien Fleuriot

On 26 Feb 2012, at 15:37, Carolyn Longfoot c_longf...@hotmail.com wrote:

 
 
 make buildkernel KERNCONF=AsusAMD620
 
 is what I do.
 
 Erich
 
 ARGHHH... KERNCONF not KERNELCONF... scuse my blindness...
 

Pro tip, put it in your /etc/make.conf like so:

KERNCONF=WHATEVERYOUSAID

Then cd /usr/src  make buildkernel



You might also want to have a look at MODULES_OVERRIDE, also to be put in 
make.conf , saves a huge lot of 
time.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure, perhaps Jails is causing it.

2012-02-26 Thread Daniel Staal
--As of February 26, 2012 8:20:14 AM +0100, Bernt Hansson is alleged to 
have said:



http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html

Have you tried to telnet into the other jailed hostnames and
ip-addresses, like telnet rt3.* 25

What does it say? Can you connect?

There seems to be either a jail problem or a routing problem

You can look at your routing table with netstat -r


--As for the rest, it is mine.

This is my strong suspicion as well.

To separate out what the problem is:

'su' to root in the jailed system.  Shut down postfix.  (`postfix stop`, or 
`/etc/rc.d/postfix stop`)  Then run `nc -l 25`.  This will echo anything 
that comes in on port 25 direct to your terminal.  Then try telneting to 
it.  If it works, the problem is postfix.  If it doesn't, restart postfix 
and ignore it: It's not the problem.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org