Re: Can not compile kernel.

2007-01-27 Thread applecom

Grant Wagner [EMAIL PROTECTED] wrote:

Now I have a custom kernel which is failing to build. I've attached the  
config file for it, and it fails trying to build with references about  
ieee80211. The odd thing is I have no wireless in my box and have  
commented out all the wireless references. What else is dependant on  
them and should be commented out as well? The last bit of output is  
below.



 if_ural.o(.text+0xe5): In function `ural_next_scan':
 : undefined reference to `ieee80211_next_scan'
 *** Error code 1
Stop in /usr/obj/usr/src/sys/STRIPPED.
 *** Error code 1
Stop in /usr/src.
 *** Error code 1


Remove 'device ural' from your kernel config. file. Ural is a driver for  
wireless adapters and depends on 'device wlan' which is commented in your  
conf. file.

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


Re: Can not compile kernel.

2007-01-27 Thread Grant Wagner


[EMAIL PROTECTED] wrote: Grant Wagner  wrote:

 Now I have a custom kernel which is failing to build. I've attached the  
 config file for it, and it fails trying to build with references about  
 ieee80211. The odd thing is I have no wireless in my box and have  
 commented out all the wireless references. What else is dependant on  
 them and should be commented out as well? The last bit of output is  
 below.

  if_ural.o(.text+0xe5): In function `ural_next_scan':
  : undefined reference to `ieee80211_next_scan'
  *** Error code 1
 Stop in /usr/obj/usr/src/sys/STRIPPED.
  *** Error code 1
 Stop in /usr/src.
  *** Error code 1

Remove 'device ural' from your kernel config. file. Ural is a driver for  
wireless adapters and depends on 'device wlan' which is commented in your  
conf. file.

Thanks applecom, I noticed that too. My kernel have been compiled and now is 
installed and runs nicely
 
 Now, on to another problem. I am having difficulty installing cups and getting 
printing working on my Samsung ML-1710. I've installed cups from port, and the 
splix driver from http://splix.ap2c.org/. My printer shows up as /dev/ulpt0 and 
running echo stuff  /dev/ulpt0 causes my printer to warm up, so I know at 
least I can write to the port and communication is working partially. In the 
cups menu, I added the printer, and attempted to print a test page. I get an 
error message saying my quota is full. Wierd as I don't have quota support on 
this machine.
 
 Any ideas?
 Grant

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: print quotas in CUPS (was: Re: Can not compile kernel.)

2007-01-27 Thread Giorgos Keramidas
On 2007-01-27 15:39, Grant Wagner [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote: Grant Wagner  wrote:
 Remove 'device ural' from your kernel config. file. Ural is a driver
 for  wireless adapters and depends on 'device wlan' which is
 commented in your  conf. file.

 Thanks applecom, I noticed that too. My kernel have been compiled and
 now is installed and runs nicely

 Now, on to another problem.

Please wrap your messages to a more reasonable line length, like 70-75
characters per line, so your messages can easily be read even by people
who are using text-based mailers.

Please also note that it is, in general, a good idea to start a *new*
thread by posting a *new* message -- a new, proper subject line -- to
freebsd-questions@freebsd.org (instead of replying to an existing
'thread of messages' with an entirely different, new question).  This
way, people reading through the messages of the list and skimming
through the subject lines for interesting material will find your posts
much much easier to locate and read in the intended order.

 I am having difficulty installing cups and getting printing working on
 my Samsung ML-1710.  I've installed cups from port, and the splix
 driver from http://splix.ap2c.org/.  My printer shows up as /dev/ulpt0
 and running

echo stuff  /dev/ulpt0

 causes my printer to warm up, so I know at least I can write to the
 port and communication is working partially.  In the cups menu, I added
 the printer, and attempted to print a test page. I get an error
 message saying my quota is full.  Wierd as I don't have quota support
 on this machine.

 Any ideas?  Grant

I can't find any mention of quota in the web interface of CUPS running
on my laptop here.  There is a possibility that quota is enabled for
some printer, by setting options in the printers.conf file though.

Can you show us the contents of the file:

/usr/local/etc/cups/printers.conf

from your system?

If it contains the options which enable quotas for a certain printer,
you should see something like `PageLimit', then this is the `quota' that
you see mentioned above.

For example, my `printers.conf' file contains:

DefaultPrinter HP4345
  Info HP Laserjet 4345
  Location Patras office
  DeviceURIlpd://hp4345/
  StateIdle
  StateTime1164289059
  AcceptingYes
  Shared   Yes
  JobSheetsnone none
  QuotaPeriod  0
  PageLimit0
  KLimit   0
  OpPolicy default
  ErrorPolicy  stop-printer
/Printer

Note how the `PageLimit' option above is set to zero (so I don't have
printing quotas enabled for this printer).

- Giorgos

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


Can not compile kernel.

2007-01-26 Thread Grant Wagner
Hi, although have used various forms of unix for quite a while, I still 
consider myself a rather novice user. I have reciently reconfigured my machine 
to dual boot FreeBSD 6.2 and Windows (damn gaming addiction).

I have installed a basic system (only base, games, man and src distros) and 
modified my /etc/make.conf to look like the following...

 CPUTYPE=athlon64
 CFLAGS= -O3 -pipe -funroll-loops -ffast-math
 COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math

I have build from ports Open Office (so much easier with the diablo java 
system), X, nvidia graphics drivers, Enlightenment, and after a few days 
Gnome2. I even have all three of my screens setup properly.

I am currently having issues attempting to build a kernel. Running the command 
make clean cleandepend depend buildkernel KERNCONF=GENERIC in /usr/src as 
root will eventually stop with the following output. Not even being able to 
build the generic makes me nervice about building a custom one.

Also, when I attempt to run a linux binary game (such as UT 2004 Demo or Quake 
4 Comercial, both installed from ports) I have quite a few graphics glitches. 
Mostly missing or unshaded(black) surfaces and low frame rates on my Nvidia 
6600 PCI-x 256MB card. Any ideas about either issue will be greatly welcomed.


Thanks,
Grant
=== aic (all)
cc -O3 -pipe -funroll-loops -ffast-math -march=athlon-mp -fno-strict-aliasing 
-Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS 
-include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common -g 
-I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions 
-std=c99 -c /usr/src/sys/modules/aic/../../dev/aic/aic.c
/usr/src/sys/modules/aic/../../dev/aic/aic.c: In function `aic_reset':
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1345: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1347: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1306: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1307: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1310: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1313: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1314: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1317: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1318: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1321: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1322: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1325: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1326: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1329: warning: called from here
./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': 
--param inline-unit-growth limit reached
/usr/src/sys/modules/aic/../../dev/aic/aic.c:1332: warning: called from here
./machine/bus.h:515: warning: 

Re: Can not compile kernel.

2007-01-26 Thread Kris Kennaway
On Fri, Jan 26, 2007 at 04:40:13PM -0800, Grant Wagner wrote:
 Hi, although have used various forms of unix for quite a while, I still 
 consider myself a rather novice user. I have reciently reconfigured my 
 machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction).
 
 I have installed a basic system (only base, games, man and src distros) and 
 modified my /etc/make.conf to look like the following...
 

  CFLAGS= -O3 -pipe -funroll-loops -ffast-math
  COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math

Step 0) Note the warning about changing these settings in
/usr/share/examples/etc/make.conf and in the make.conf manpage.

Step 1) Revert those silly optimizations back to the default

Step 2) Rebuild everything to undo the damage

Kris


pgpJr49xFYpZX.pgp
Description: PGP signature


Re: Can not compile kernel.

2007-01-26 Thread Grant Wagner


Kris Kennaway [EMAIL PROTECTED] wrote: On Fri, Jan 26, 2007 at 04:40:13PM 
-0800, Grant Wagner wrote:
 Hi, although have used various forms of unix for quite a while, I still 
 consider myself a rather novice user. I have reciently reconfigured my 
 machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction).
 
 I have installed a basic system (only base, games, man and src distros) and 
 modified my /etc/make.conf to look like the following...
 

  CFLAGS= -O3 -pipe -funroll-loops -ffast-math
  COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math

Step 0) Note the warning about changing these settings in
/usr/share/examples/etc/make.conf and in the make.conf manpage.

Step 1) Revert those silly optimizations back to the default

Step 2) Rebuild everything to undo the damage

Kris

Well, in short, that worked. I have now build the kernel. I'm a little confused 
though and could use a bit of an explination.
 
 I thought only the COPTFLAGS options where used during kernel compilation and 
I had attempted to build with those commented out completely before. I can only 
guess that the CFLAGS are still in effect too.
 
 Now I have a custom kernel which is failing to build. I've attached the config 
file for it, and it fails trying to build with references about ieee80211. The 
odd thing is I have no wireless in my box and have commented out all the 
wireless references. What else is dependant on them and should be commented out 
as well? The last bit of output is below.
 
 Thanks again,
 Grant
 MAKE=make sh /usr/src/sys/conf/newvers.sh STRIPPED
 cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm 
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Werror  vers.c
 linking kernel
 if_ural.o(.text+0x66): In function `ural_free_tx_list':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0x2d3): In function `ural_rxeof':
 : undefined reference to `ieee80211_find_rxnode'
 if_ural.o(.text+0x2eb): In function `ural_rxeof':
 : undefined reference to `ieee80211_input'
 if_ural.o(.text+0x2f1): In function `ural_rxeof':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0x893): In function `ural_start':
 : undefined reference to `ieee80211_find_txnode'
 if_ural.o(.text+0x8b9): In function `ural_start':
 : undefined reference to `ieee80211_encap'
 if_ural.o(.text+0xa0a): In function `ural_start':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0xa3f): In function `ural_start':
 : undefined reference to `ieee80211_encap'
 if_ural.o(.text+0xa53): In function `ural_start':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0xa65): In function `ural_start':
 : undefined reference to `ieee80211_crypto_encap'
 if_ural.o(.text+0xe47): In function `ural_txeof':
 : undefined reference to `ieee80211_free_node'
 if_ural.o(.text+0xeee): In function `ural_watchdog':
 : undefined reference to `ieee80211_watchdog'
 if_ural.o(.text+0x1188): In function `ural_detach':
 : undefined reference to `ieee80211_ifdetach'
 if_ural.o(.text+0x16f3): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x1719): In function `ural_attach':
 : undefined reference to `ieee80211_ifattach'
 if_ural.o(.text+0x1754): In function `ural_attach':
 : undefined reference to `ieee80211_media_status'
 if_ural.o(.text+0x175f): In function `ural_attach':
 : undefined reference to `ieee80211_media_init'
 if_ural.o(.text+0x182b): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x185f): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x1894): In function `ural_attach':
 : undefined reference to `ieee80211_ieee2mhz'
 if_ural.o(.text+0x18e6): In function `ural_attach':
 : undefined reference to `ieee80211_announce'
 if_ural.o(.text+0x1b8e): In function `ural_set_chan':
 : undefined reference to `ieee80211_chan2ieee'
 if_ural.o(.text+0x21c3): In function `ural_task':
 : undefined reference to `ieee80211_beacon_alloc'
 if_ural.o(.text+0x2be0): In function `ural_media_change':
 : undefined reference to `ieee80211_media_change'
 if_ural.o(.text+0x2c3e): In function `ural_media_change':
 : undefined reference to `ieee80211_media_change'
 if_ural.o(.text+0x2cf7): In function `ural_ioctl':
 : undefined reference to `ieee80211_ioctl'
 if_ural.o(.text+0xe5): In function `ural_next_scan':
 : undefined reference to `ieee80211_next_scan'
 *** Error 

Re: Can not compile kernel.

2007-01-26 Thread Kris Kennaway
On Fri, Jan 26, 2007 at 07:33:44PM -0800, Grant Wagner wrote:
 
 
 Kris Kennaway [EMAIL PROTECTED] wrote: On Fri, Jan 26, 2007 at 04:40:13PM 
 -0800, Grant Wagner wrote:
  Hi, although have used various forms of unix for quite a while, I still 
  consider myself a rather novice user. I have reciently reconfigured my 
  machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction).
  
  I have installed a basic system (only base, games, man and src distros) and 
  modified my /etc/make.conf to look like the following...
  
 
   CFLAGS= -O3 -pipe -funroll-loops -ffast-math
   COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math
 
 Step 0) Note the warning about changing these settings in
 /usr/share/examples/etc/make.conf and in the make.conf manpage.
 
 Step 1) Revert those silly optimizations back to the default
 
 Step 2) Rebuild everything to undo the damage
 
 Kris
 
 Well, in short, that worked. I have now build the kernel. I'm a little 
 confused though and could use a bit of an explination.
  
  I thought only the COPTFLAGS options where used during kernel compilation 
 and I had attempted to build with those commented out completely before. I 
 can only guess that the CFLAGS are still in effect too.

CFLAGS are used for module builds.

  Now I have a custom kernel which is failing to build. I've attached the 
 config file for it, and it fails trying to build with references about 
 ieee80211. The odd thing is I have no wireless in my box and have commented 
 out all the wireless references. What else is dependant on them and should be 
 commented out as well? The last bit of output is below.

Go back to GENERIC (you stripped out too much) or check the comments
more carefully...or note the error message and check whether you have
anything related still in your kernel.

  if_ural.o(.text+0x66): In function `ural_free_tx_list':
  : undefined reference to `ieee80211_free_node'
  if_ural.o(.text+0x2d3): In function `ural_rxeof':
  : undefined reference to `ieee80211_find_rxnode'

Kris

P.S. Please wrap your lines at 70 characters so that your emails may
be easily read.

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