Re: Can't access a music CD (or any other media now)

2011-10-23 Thread Michael D. Norwick

On 10/23/11 19:25, Conrad J. Sabatier wrote:

On Sun, 23 Oct 2011 15:38:29 -0500
Conrad J. Sabatierconr...@cox.net  wrote:

No, it seems that there's a severe level of brokenness that has been
introduced into the source tree with regards to CD devices.

 snip 

Good Day;

Ditto on this thread.  No amount of deinstall/reinstall, recompiling 
kernels and world, or config file tweaking have granted me success.  As 
I have posted; I am on


$uname -a

FreeBSD ...net 9.0-RC1 FreeBSD 9.0-RC1 #0: Sun Oct 23 12:32:55 
CDT 2011 root@..net:/usr/obj/usr/src/sys/KERNEL_102311  amd64


on a Dell Latitude D630.

$dmesg

Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RC1 #0: Sun Oct 23 12:32:55 CDT 2011
root@..net:/usr/obj/usr/src/sys/KERNEL_102311 amd64
can't re-use a leaf (if_tun_debug)!
module_register: module if_tun already exists!
Module if_tun failed to register: 17
CPU: Intel(R) Core(TM)2 Duo CPU T7250  @ 2.00GHz (1994.48-MHz 
K8-class CPU)

  Origin = GenuineIntel  Id = 0x6fd  Family = 6  Model = f  Stepping = 13
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 1073741824 (1024 MB)
avail memory = 1002573824 (956 MB)
Event timer LAPIC quality 400
ACPI APIC Table: DELL   M08 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: DELL M08  on motherboard
Timecounter HPET frequency 14318180 Hz quality 950
Event timer HPET frequency 14318180 Hz quality 450
Event timer HPET1 frequency 14318180 Hz quality 440
Event timer HPET2 frequency 14318180 Hz quality 440
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 10, 3f55b800 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xeff8-0xefff mem 
0xfea0-0xfeaf,0xe000-0xefff irq 16 at device 2.0 on pci0

agp0: Intel GM965 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 7676k stolen memory
vgapci1: VGA-compatible display mem 0xfeb0-0xfebf at device 
2.1 on pci--More--(byte 2278)
uhci0: Intel 82801H (ICH8) USB controller USB-D port 0x6f20-0x6f3f irq 
20 at device 26.0 on pci0

uhci0: LegSup = 0x2f00
usbus0: Intel 82801H (ICH8) USB controller USB-D on uhci0
uhci1: Intel 82801H (ICH8) USB controller USB-E port 0x6f00-0x6f1f irq 
21 at device 26.1 on pci0

uhci1: LegSup = 0x2f00
usbus1: Intel 82801H (ICH8) USB controller USB-E on uhci1
ehci0: Intel 82801H (ICH8) USB 2.0 controller USB2-B mem 
0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0

usbus2: EHCI version 1.0
usbus2: Intel 82801H (ICH8) USB 2.0 controller USB2-B on ehci0
hdac0: Intel 82801H High Definition Audio Controller mem 
0xfe9fc000-0xfe9f irq 21 at device 27.0 on pci0

pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0
pci12: ACPI PCI bus on pcib2
wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xfe8ff000-0xfe8f irq 17 
at device 0.0 on pci12

pcib3: ACPI PCI-PCI bridge at device 28.5 on pci0
pci9: ACPI PCI bus on pcib3
bge0: CHIP ID 0xa002; ASIC REV 0x0a; CHIP REV 0xa0; PCI-E
miibus0: MII bus on bge0
brgphy0: BCM5755 1000BASE-T media interface PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow

bge0: Ethernet address: 00:21:70:91:6a:a5
uhci2: Intel 82801H (ICH8) USB controller USB-A port 0x6f80-0x6f9f irq 
20 at device 29.0 on pci0

uhci2: LegSup = 0x2f00
usbus3: Intel 82801H (ICH8) USB controller USB-A on uhci2
uhci3: Intel 82801H (ICH8) USB controller USB-B port 0x6f60-0x6f7f irq 
21 at device 29.1 on pci0

uhci3: LegSup = 0x2f00
usbus4: Intel 82801H (ICH8) USB controller USB-B on uhci3
uhci4: Intel 82801H (ICH8) USB controller USB-C port 0x6f40-0x6f5f irq 
22 at device 29.2 on pci0

uhci4: LegSup = 0x2f00
usbus5: Intel 82801H (ICH8) USB controller USB-C on uhci4
ehci1: Intel 82801H (ICH8) USB 2.0 controller USB2-A mem 
0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0

usbus6: EHCI version 1.0
usbus6: Intel 82801H (ICH8) USB 2.0 controller USB2-A on ehci1
pcib4: ACPI PCI-PCI bridge at device 30.0 on 

Re: Help needed: sound/audio only semi-working

2011-10-21 Thread Michael D. Norwick

On 10/21/11 20:29, Ronald F. Guilmette wrote:

I've been bringing up a new amd64 box with 8.2-RELEASE.  So far I've managed
to get everything installed OK, including a boatload of freshly-built ports.
I've even gotten flash10 working with firefox... well...

Unfortunately, this is only MOSTLY working.  The video works great, but for
audio all I get is absolute silence.

The really strange thing is that after I followed all the directions here:

http://www.freebsd.org/doc/en/books/handbook/sound-setup.html

This command:

 cat /dev/random  /dev/dsp

*does* produce quite a bit of white noise sound.  However when I perform
the other officially recommended basic audio functionality test:

 cdcontrol -f /dev/acd0 play 1

with one of my favorite old audo CDs in the drive (AND with that special
little wire running from the back of the drive to my motherboard) all that
happens is that the CD/DVD drive apparently _does_ start to read some stuff...
as evidenced by the blinking access light in the front of the drive... but I
still get no sound out, and YouTube videos still aren't giving me any audio
even though the video seems to be playing perfectly.

So, um, I am grasping for ideas here on how I can debug this problem furher.
I really have no idea what to do next to get this debugged.  I supposed that
if nobody gives me a good suggestion, I'm gonna try swapping out that special
little wire for another one and then try swapping the CD/DVD drive for another
one if that still doesn't solve it.

Sigh.  :-(  I just checked and yes, the CD/DVD drive _can_ mount a data CD
alright.  No problems doing that.

So how can it be that this works just fine:

cat /dev/random  /dev/dsp

even while this:

   cdcontrol -f /dev/acd0 play 1

causes the disk to spin up and read, but otherwise produces utter silence?

I'm flummoxed.

Any help would be appreciated.


Regards,
rfg



P.S.  My motherboard (w/ onboard audio) is a Gigabyte GA-M55Plus-S3G.  Here
is what a get when I cat /dev/sndstat:

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:HDA Realtek ALC883 PCM #0 Analog  (play/rec) default
pcm1:HDA Realtek ALC883 PCM #1 Analog  (play/rec)
pcm2:HDA Realtek ALC883 PCM #2 Digital  (play/rec)

Additional info:

% sysctl hw.snd.default_unit
hw.snd.default_unit: 0
___
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


Please see my posts on this list as well as on freebsd-multimedia under 
the subject 'can't access a music cd'.  I appear to be experiencing the 
exact same issue.  I am also using snd_hda on freebsd 9.


Michael
___
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: Can't access a music CD (or any other media now)

2011-10-19 Thread Michael D. Norwick

On 10/18/11 14:57, Alexander Best wrote:

On Thu Oct 13 11, Lowell Gilbert wrote:

Alexander Bestarun...@freebsd.org  writes:


 snip 

Good Day;

It seems that I still cannot figure this out.  No amount of searching 
the docs or mailing lists has gotten me closer to a solution.  I csup'd 
the source tree again last night and built another kernel and world for;


*default release=cvs tag=RELENG_9
*default delete use-rel-suffix

/usr/src/sys/amd64/conf/KERNEL_101811 contains (among other things);

# ATA controllers
deviceahci# AHCI-compatible SATA controllers
deviceata# Legacy ATA/SATA controllers
options ATA_CAM# Handle legacy controllers with CAM
options ATA_STATIC_ID# Static device numbering
devicemvs# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
devicesiis# SiliconImage SiI3124/SiI3132/SiI3531 SATA

# SCSI Controllers

# ATA/SCSI peripherals
devicescbus# SCSI bus (required for ATA/SCSI)
devicech# SCSI media changers
deviceda# Direct Access (disks)
devicesa# Sequential Access (tape etc)
devicecd# CD
devicepass# Passthrough device (direct ATA/SCSI access)
deviceses# SCSI Environmental Services (and SAF-TE)

/usr/src/UPDATING and /usr/src/sys/amd64/conf/NOTES did not seem to 
contain anything applicable to this issue.


The buildkernel KERNCONF=KERNEL_101811 step resulted in;
$uname -a

FreeBSD ..net 9.0-RC1 FreeBSD 9.0-RC1 #1: Wed Oct 19 05:37:43 
CDT 2011 michael@..net:/usr/obj/usr/src/sys/KERNEL_101811  amd64


and the following cd devices in /dev;

$ ls -l cd*
crw-rw-rw-  1 root  operator0, 105 Oct 19 19:08 cd0
lrwxr-xr-x  1 root  wheel8 Oct 19 19:08 cdrom - /dev/cd0

No /dev/acd* devices but I would think that there are not supposed to be.

/etc/devfs.conf contains;

# Commonly used by many ports
#linkacd0cdrom
link/dev/cd0 cdrom
perm/dev/cd0 0660

# Allow a user in the wheel group to query the smb0 device
perm/dev/smb0  0660

# Allow members of group operator to cat things to the speaker
#ownspeakerroot:operator
#permspeaker0660

perm/dev/pass0  0660
perm/dev/xpt0   0660
perm/dev/pass1  0660
perm/dev/mdctl  0660
perm/dev/md0  0660

perm/dev/bpf00660
perm/dev/bpf10660
perm/dev/bpf20660
perm/dev/bpf30660
perm/dev/bpf40660

link/tmpshm

$ cat /boot/loader.conf
atapicam_load=YES
hw.ata.atapi_dma=0
linux_load=YES
snd_hda_load=YES

$ cat /etc/rc.conf
hostname=..net
keymap=us.iso.kbd
ifconfig_bge0= inet 192.168.1.22 netmask 255.255.255.0
defaultrouter=192.168.1.1
hald_enable=YES
dbus_enable=YES
gdm_enable=YES
sshd_enable=YES
linux_enable=YES
abi_enable=YES
sysctl_enable=YES
ntpd_enable=YES
powerd_enable=YES

$dmesg (snipped somewhat)

cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: TSSTcorp DVD+-RW TS-L632H D300 Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [26466 x 2048 byte records]

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): cddone: got error 0x5 back

with a data CD in the drive during reboot.
Trying to manually mount the drive results in;

$ sudo mount_cd9660 /dev/cd0 /media/dvdrom
mount_cd9660: /dev/cd0: Invalid argument

$ cat /etc/fstab
# DeviceMountpointFStypeOptionsDumpPass#
proc/procprocfsrw00
/dev/ada0p2/ufsrw11
/dev/ada0p3noneswapsw00
/dev/ada0p4/varufsrw22
/dev/ada0p5/usrufsrw22
/dev/ada0p6/homeufsrw22
linproc   /compat/linux/proclinprocfsrw   00
/dev/cd0/media/dvdromcd9660  rw,noauto 

Re: Can't access a music CD

2011-10-12 Thread Michael D. Norwick

On 10/10/11 05:44, Frank Shute wrote:

On Mon, Oct 10, 2011 at 04:47:40AM -0500, Michael D. Norwick wrote:

On 10/10/11 01:37, Frank Shute wrote:

On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:

 snip 

This looks like it's playing. Is the CD/DVD drive active?

 snip 

Still will not play.  Tried 2 different CD's.

Thank You,

If the drive is active and you're not getting sound out:

What does:

$ mixer



$ cat /dev/sndstat

show?


Regards,



GoodDay;

Tried again with the following results;

A dialog box dislplaying the following,

Unable to mount Audio Disc

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a 
reply (timeout by message bus)


and

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Sigmatel STAC9205X PCM #0 Analog (play/rec) default

$ mixer
Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer rec  is currently set to  75:75
Recording source: monitor

no sound and no drive activity.

Thank You,

Michael

___
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: Can't access a music CD

2011-10-12 Thread Michael D. Norwick

On 10/12/11 18:33, Lowell Gilbert wrote:

Michael D. Norwickmnorw...@centurytel.net  writes:


A dialog box dislplaying the following,

Unable to mount Audio Disc

You're not supposed to mount an audio disk.
There's even a FAQ entry titled
Why can I not mount an audio CD?
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD



Good Day;

Thank You for the replies.  Got the part about not mounting an audio 
CD.  I wasn't trying to.  Inserting the disc in the drive brought up the 
error message.  Mounting a data CD or DVD acts normally and the 
filesystem on it can be accessed.


Michael
___
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: Can't access a music CD

2011-10-10 Thread Michael D. Norwick

On 10/10/11 01:37, Frank Shute wrote:

On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:

Good Day;

Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
play a music cd with the dvd writer on this laptop.  It is a Dell
Latitude D630.  I have built several new worlds and kernels with the
following devices enabled in the kernel config.;

devicescbus# SCSI bus (required for ATA/SCSI)
devicech# SCSI media changers
deviceatapicam
deviceda# Direct Access (disks)
devicesa# Sequential Access (tape etc)
devicecd# CD
devicepass# Passthrough device (direct ATA/SCSI access)
deviceses# SCSI Environmental Services (and SAF-TE)

$uname -a

FreeBSD ..net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
19:48:29 CDT 2011
michael@..net:/usr/obj/usr/src/sys/KERNEL_100811  amd64

This kernel was built after a recent csup and portsnap fetch.  The
buildworld and buildkernel steps have executed several times without
error.  A recent portupgrade only updated a couple of applications.

dmesg says this;

cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0:TSSTcorp DVD+-RW TS-L632H D300  Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
- tray closed

and /boot/loader.conf says this;

linux_load=YES
atapicam_load=YES

With a music CD in the drive /var/log/messages says this;

Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
0 0 0 0 0 0 40 0
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
Status Error
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
Condition
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
REQUEST asc:64,0 (Illegal mode for this track)
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
0x6 back

and /etc/devfs.conf says this;

# Commonly used by many ports
#link   acd0cdrom
linkcd0 cdrom
own cd0 root:wheel
permcd0 0660

I think I might be missing something in /etc/devfs.conf.  man devfs.conf
or the handbook did not get me any closer to a solution.

It worked under 8.2 on this machine.

Thank You for the help.


What does:

$ ls -l /dev | grep cd

give you?

I assume you're a member of wheel.

Give cdcontrol(1) a go if the above looks ok.

Make sure your volume isn't turned right down! (mixer(1))

Have you checked out that your sound card is configured ok?

$ cat /dev/sndstat


Regards,


$ ls -l /dev | grep cd
crw-rw-rw-  1 root  wheel   0, 119 Oct 10 04:29 cd0
lrwxr-xr-x  1 root  wheel3 Oct 10 04:29 cdrom - cd0

$ cdcontrol status
Audio status = 21void, current track = 1, current position = 0:00.09
Media catalog is active, number 0826663409727\000\013
Left volume = 216, right volume = 216
$ cdcontrol reset
cdcontrol: Inappropriate ioctl for device
$ cdcontrol play
$ cdcontrol status
Audio status = 17playing, current track = 1, current position = 1:05.18
No media catalog info available
Left volume = 216, right volume = 216

$ tail /var/log/messages
Oct 10 04:30:50 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error 
0x6 back
Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service 
'org.freedesktop.SystemToolsBackends.SMBConfig' failed: Launch helper 
exited with unknown return code 255
Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service 
'org.freedesktop.SystemToolsBackends.NFSConfig' failed: Launch helper 
exited with unknown return code 255
Oct 10 04:30:56 bucksnort dbus[1953]: [system] Activating service 
name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)
Oct 10 04:30:56 bucksnort dbus[1953]: [system] Successfully activated 
service 'org.gnome.SettingsDaemon.DateTimeMechanism'
Oct 10 04:37:41 bucksnort kernel: (cd0:ata0:0:0:0): MODE_SENSE(6) 
failed, increasing minimum CDB size to 10 bytes
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): READ SUB-CHANNEL. 
CDB: 42 2 40 2 0 0 0 0 18 0
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI 
Status Error
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check 
Condition
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL 
REQUEST asc:0,11 (Audio play operation in progress)


Still will not play.  Tried 2 different CD's.

Thank You,

Michael
___
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


Can't access a music CD

2011-10-09 Thread Michael D. Norwick

Good Day;

Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to 
play a music cd with the dvd writer on this laptop.  It is a Dell 
Latitude D630.  I have built several new worlds and kernels with the 
following devices enabled in the kernel config.;


devicescbus# SCSI bus (required for ATA/SCSI)
devicech# SCSI media changers
deviceatapicam
deviceda# Direct Access (disks)
devicesa# Sequential Access (tape etc)
devicecd# CD
devicepass# Passthrough device (direct ATA/SCSI access)
deviceses# SCSI Environmental Services (and SAF-TE)

$uname -a

FreeBSD ..net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8 
19:48:29 CDT 2011 
michael@..net:/usr/obj/usr/src/sys/KERNEL_100811  amd64


This kernel was built after a recent csup and portsnap fetch.  The 
buildworld and buildkernel steps have executed several times without 
error.  A recent portupgrade only updated a couple of applications.


dmesg says this;

cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: TSSTcorp DVD+-RW TS-L632H D300 Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present 
- tray closed


and /boot/loader.conf says this;

linux_load=YES
atapicam_load=YES

With a music CD in the drive /var/log/messages says this;

Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0 
0 0 0 0 0 0 40 0
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI 
Status Error
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check 
Condition
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL 
REQUEST asc:64,0 (Illegal mode for this track)
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error 
0x6 back


and /etc/devfs.conf says this;

# Commonly used by many ports
#link   acd0cdrom
linkcd0 cdrom
own cd0 root:wheel
permcd0 0660

I think I might be missing something in /etc/devfs.conf.  man devfs.conf 
or the handbook did not get me any closer to a solution.


It worked under 8.2 on this machine.

Thank You for the help.

Michael
___
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: Trying to build Nessus 4 from ports

2011-09-26 Thread Michael D. Norwick

On 09/25/11 10:08, Trond Endrestøl wrote:

On Sat, 24 Sep 2011 23:24+0200, Andrei Brezan wrote:


On 23/09/2011 23:31, Michael D. Norwick wrote:

Good Day

Trying to build /usr/ports/security/nessus on FreeBSD 9-beta2 with ports
updated via - portsnap fetch update - completed 09/22/2011.  The result from
#make;

===   Applying FreeBSD patches for nessus-libraries-2.2.9_1
===nessus-libraries-2.2.9_1 depends on executable: bison - found
===nessus-libraries-2.2.9_1 depends on package: libtool=2.4 - found
===   Configuring for nessus-libraries-2.2.9_1

*   W a r n i n g  *
*  *
* Nessus needs Berkeley Packet Filter (bpf).   *
* To use nessus, your kernel must be rebuilt with bpf, *
* and make bpf devices on /dev directory.  *
*  *
* Be sure to build as many bpf devices as you need.*
* For more info on this read files/README.BPF  *

*** Error code 1

Stop in /usr/ports/security/nessus-libraries.
*** Error code 1

Stop in /usr/ports/security/nessus-libnasl.
*** Error code 1

Stop in /usr/ports/security/nessus.

 From an earlier post on freebsd-questions I added;

# Historically X depended on this, but version 4.3.0 doesn't seem to anymore
#linkttyv0vga

# Commonly used by many ports
#linkacd0cdrom

# Allow a user in the wheel group to query the smb0 device
#permsmb00660

# Allow members of group operator to cat things to the speaker
#ownspeakerroot:operator
#permspeaker0660

own bpf0root:bpf
permbpf00640

Sorry for leaping in, but I think you should change bpf0 to bpf only.
See below.


own bpf1root:bpf
permbpf10640
own bpf2root:bpf
permbpf20640
ownbpf3root:bpf
permbpf30640
ownbpf4root:bpf
permbpf40640

to /etc/devfs.conf.  But I still get;

crw-r-  1 root  bpf 0,  11 Sep 22 21:14 bpf
lrwxr-xr-x  1 root  wheel3 Sep 22 21:14 bpf0 -  bpf
crw-rw-rw-  1 root  wheel   0,  49 Sep 22 21:14 bpsm0

Looking at this listing, bpf0 is a symlink to bpf, thus
/etc/devfs.conf should manage /dev/bpf and not /dev/bpf0.


in /dev after rebooting.  Do I require a statement in rc.conf or loader.conf
to activate more bpf devices?  Am I editing the right file the wrong way?
The proper handbook chapter escapes me right now.

Previous to trying to build nessus from ports I built a new kernel with -
device  bpf enabled.

Thank You,
Michael

I would suggest to get the package from tenable.com and install it via
pkg_add. That's how it worked for me but on FreeBSD 8.2-stable. Might worth a
shot.

Regards,


Trond.


Good Day;

Still no joy trying to build from source via ports or installing the 
binary from tenable.com on FreeBSD 9.  nessusd is installed but errors 
out with 'libz.so.5 not found.  I have;


$ ls -l /lib/libz.*
-r--r--r--  1 root  wheel  90328 Sep 26 05:46 /lib/libz.so.6

and

$ ls -l /usr/lib32/libz.*
-r--r--r--  1 root  wheel  90828 Sep 26 05:48 /usr/lib32/libz.a
lrwxr-xr-x  1 root  wheel  9 Sep 26 05:48 /usr/lib32/libz.so - 
libz.so.6

-r--r--r--  1 root  wheel  76808 Sep 26 05:48 /usr/lib32/libz.so.6

and

$ ls -l /usr/lib/libz.*
-r--r--r--  1 root  wheel  126192 Sep 26 05:46 /usr/lib/libz.a
lrwxr-xr-x  1 root  wheel  14 Sep 26 05:46 /usr/lib/libz.so - 
/lib/libz.so.6


on new world built last night.

From /usr/ports/security/nessus-libraries/files/README.bpf

Nessus uses the pcap library, which uses the berkeley packet filter (bpf)
to do its job.

Since Nessus used multiple processes, several pcap-aware plugins will
need to access the the bpf at the same time.

This means that you need to recompile your kernel with the following option:

pseudo-device   bpf

If for instance you want to have 10 nessusd running at the same time,
each running 5 plugins in parallel, you should create 50 (10 * 5) bpfs
(as nessusd is extremely lightweight, you can expect to have this amount
 of processes running at the same time)

If you plan to scan a whole network, we recommand you create at least
100 of them.

Once your kernel has been rebuilt, get root, cd to /dev
and do:

  ./MAKEDEV bpf+100

For FreeBSD 5.x this is not needed since the devfs creates devices when 
needed.


If you can not recompile your kernel, you can try to run the configure
script with the option --enable-bpf-sharing. In this case, nessusd will
try to share one /dev/bpf among multiple processes and do the filtering
in userland. NOTE THAT THIS OPTION IS HIGHLY EXPERIMENTAL AND WE DO
NOT RECOMMAND ENABLING IT.

Is this referring to an 8.2 system?
psuedo-device does not work on 9.0 kernel source.

Have not tried the MAKEDEV command yet because I do not know if I need 
to continue since I cannot get the daemon to start

Re: Trying to build Nessus 4 from ports

2011-09-26 Thread Michael D. Norwick

On 09/26/11 06:43, Mike Clarke wrote:

On Monday 26 September 2011, Michael D. Norwick wrote:


Still no joy trying to build from source via ports or installing the
binary from tenable.com on FreeBSD 9.  nessusd is installed but
errors out with 'libz.so.5 not found.  I have;

$ ls -l /lib/libz.*
-r--r--r--  1 root  wheel  90328 Sep 26 05:46 /lib/libz.so.6

I see from the download page that the package is for FreeBSD 8.x which
uses libz.so.5 so you might have compatibility problems with 9-beta2.

As a workaround you could try putting the following line
in /etc/libmap.conf

libz.so.5 libz.so

Thank You for the response.  I decided to post this issue to 
freebsd-security with the hope that nessus might be a w.i.p. on FreeBSD 9.


Michael
___
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


Trying to build Nessus 4 from ports

2011-09-23 Thread Michael D. Norwick

Good Day

Trying to build /usr/ports/security/nessus on FreeBSD 9-beta2 with ports 
updated via - portsnap fetch update - completed 09/22/2011.  The result 
from #make;


===  Applying FreeBSD patches for nessus-libraries-2.2.9_1
===   nessus-libraries-2.2.9_1 depends on executable: bison - found
===   nessus-libraries-2.2.9_1 depends on package: libtool=2.4 - found
===  Configuring for nessus-libraries-2.2.9_1

*   W a r n i n g  *
*  *
* Nessus needs Berkeley Packet Filter (bpf).   *
* To use nessus, your kernel must be rebuilt with bpf, *
* and make bpf devices on /dev directory.  *
*  *
* Be sure to build as many bpf devices as you need.*
* For more info on this read files/README.BPF  *

*** Error code 1

Stop in /usr/ports/security/nessus-libraries.
*** Error code 1

Stop in /usr/ports/security/nessus-libnasl.
*** Error code 1

Stop in /usr/ports/security/nessus.

From an earlier post on freebsd-questions I added;

# Historically X depended on this, but version 4.3.0 doesn't seem to anymore
#linkttyv0vga

# Commonly used by many ports
#linkacd0cdrom

# Allow a user in the wheel group to query the smb0 device
#permsmb00660

# Allow members of group operator to cat things to the speaker
#ownspeakerroot:operator
#permspeaker0660

own bpf0root:bpf
permbpf00640
own bpf1root:bpf
permbpf10640
own bpf2root:bpf
permbpf20640
ownbpf3root:bpf
permbpf30640
ownbpf4root:bpf
permbpf40640

to /etc/devfs.conf.  But I still get;

crw-r-  1 root  bpf 0,  11 Sep 22 21:14 bpf
lrwxr-xr-x  1 root  wheel3 Sep 22 21:14 bpf0 - bpf
crw-rw-rw-  1 root  wheel   0,  49 Sep 22 21:14 bpsm0

in /dev after rebooting.  Do I require a statement in rc.conf or 
loader.conf to activate more bpf devices?  Am I editing the right file 
the wrong way?  The proper handbook chapter escapes me right now.


Previous to trying to build nessus from ports I built a new kernel with 
- device  bpf enabled.


Thank You,
Michael


___
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


FreeBSD 9-BETA2 on a Dell Latitude D630

2011-09-21 Thread Michael D. Norwick

Good Day;

I wish to post a successful installation of FreeBSD 9.0 on a Dell 
Latitude D630 laptop.  Base installation was from binaries on the -amd64 
dvd.iso.  Xorg and gnome from ports fetched via portsnap on 09/18/11.  
csup'd kernel and userland source yesterday.  This is a fresh built 
custom kernel without debugging, SCSI or RAID modules.  I do not
know what this means 'GEOM_PART: Partition 'ada0p3' not suitable for 
kernel dumps (wrong type?)'.  I am still investigating why Perl 5.12.4 
dumped core at the end but otherwise the machine seems to be operating well.


# dmesg | more

Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-BETA2 #0: Wed Sep 21 17:08:56 CDT 2011
michael@*.*.net:/usr/obj/usr/src/sys/KERNEL_092111 amd64
CPU: Intel(R) Core(TM)2 Duo CPU T7250  @ 2.00GHz (1994.48-MHz 
K8-class CPU)

  Origin = GenuineIntel  Id = 0x6fd  Family = 6  Model = f  Stepping = 13
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
AMD Features=0x20100800SYSCALL,NX,LM
AMD Features2=0x1LAHF
TSC: P-state invariant, performance statistics
real memory  = 1073741824 (1024 MB)
avail memory = 1003618304 (957 MB)
Event timer LAPIC quality 400
ACPI APIC Table: DELL   M08 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: DELL M08  on motherboard
hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 950
Event timer HPET frequency 14318180 Hz quality 450
Event timer HPET1 frequency 14318180 Hz quality 440
Event timer HPET2 frequency 14318180 Hz quality 440
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 10, 3f55b800 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xeff8-0xefff mem 
0xfea0-0xfeaf,0xe000-0xefff irq 16 at device 2.0 on pci0

agp0: Intel GM965 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 7676k stolen memory
vgapci1: VGA-compatible display mem 0xfeb0-0xfebf at device 
2.1 on pci0
uhci0: Intel 82801H (ICH8) USB controller USB-D port 0x6f20-0x6f3f irq 
20 at device 26.0 on pci0

uhci0: LegSup = 0x2f00
usbus0: Intel 82801H (ICH8) USB controller USB-D on uhci0
uhci1: Intel 82801H (ICH8) USB controller USB-E port 0x6f00-0x6f1f irq 
21 at device 26.1 on pci0

uhci1: LegSup = 0x2f00
usbus1: Intel 82801H (ICH8) USB controller USB-E on uhci1
ehci0: Intel 82801H (ICH8) USB 2.0 controller USB2-B mem 
0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0

usbus2: EHCI version 1.0
usbus2: Intel 82801H (ICH8) USB 2.0 controller USB2-B on ehci0
hdac0: Intel 82801H High Definition Audio Controller mem 
0xfe9fc000-0xfe9f irq 21 at device 27.0 on pci0

pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0
pci12: ACPI PCI bus on pcib2
wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xfe8ff000-0xfe8f irq 17 
at device 0.0 on pci12

pcib3: ACPI PCI-PCI bridge at device 28.5 on pci0
pci9: ACPI PCI bus on pcib3
bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 
0x00a002 mem 0xfe7f-0xfe7f irq 17 at device 0.0 on pci9

bge0: CHIP ID 0xa002; ASIC REV 0x0a; CHIP REV 0xa0; PCI-E
miibus0: MII bus on bge0
brgphy0: BCM5755 1000BASE-T media interface PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow

bge0: Ethernet address: 00:21:70:91:6a:a5
uhci2: Intel 82801H (ICH8) USB controller USB-A port 0x6f80-0x6f9f irq 
20 at d--More--(byte 3800)

evice 29.0 on pci0
uhci2: LegSup = 0x2f00
usbus3: Intel 82801H (ICH8) USB controller USB-A on uhci2
uhci3: Intel 82801H (ICH8) USB controller USB-B port 0x6f60-0x6f7f irq 
21 at device 29.1 on pci0

uhci3: LegSup = 0x2f00
usbus4: Intel 82801H (ICH8) USB controller USB-B on uhci3
uhci4: Intel 82801H (ICH8) USB controller USB-C port 0x6f40-0x6f5f irq 
22 at device 29.2 on pci0

uhci4: LegSup = 0x2f00
usbus5: Intel 82801H (ICH8) USB controller USB-C on uhci4
ehci1: Intel 82801H (ICH8) USB 2.0 controller USB2-A mem 
0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0

usbus6: EHCI version 1.0
usbus6: Intel 82801H (ICH8) USB 2.0 controller USB2-A on ehci1

Re: kernel and buildworld questions

2011-05-10 Thread Michael D. Norwick

On 05/10/11 20:59, Mage wrote:

On 05/10/2011 10:34 PM, Lowell Gilbert wrote:

You've tried it with an empty make.conf file first, I assume?

Actually I don't have make.conf, I renamed it.

It doesn't matter for RVM. It doesn't use it. I exported CC, GCC, CFLAGS
and so for rvm install.




___
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



Good Day;

While I cannot speak to your segfaults, core dumps and RVM issues, 
trying to get makeworld to succeed.  I can say that I have had great 
success with the MFSBSD .iso available from;


http://mfsbsd..vx.sk

It is at version 8.2-RELEASE on both i386 and amd64.  Setting up a ZFS 
only installation has worked without error on both Intel Core2 duo and 
amd64 (athlon64).  I have had to do some ZFS tuning once the base system 
was installed.  4G of ram appears to be rather sparse on either 
architecture.  Adding disks to the pools and changing the filesystem 
layouts to comply with my requirements was painless.  Generally, it just 
worked.  I was then able to csup the kernel source, userland, and ports 
tree.  Keeping the ports tree current fixed most all of my build problems.
Over the last year I have had machines on FreeBSD 8.0, PC BSD, NetBSD, 
kFreeBSD and back to FreeBSD 8.2-RELEASE (with ZFS)
On the main workstation I use for testing, an AMD Athlon64 with 3G of 
ram, make buildkernel takes 30 - 40 minutes and make buildworld takes 
several hours.

ZFS is ver. 15.
I've found the docs available from SUN/Oracle to be very helpful.

http://download.oracle.com/docs/cd/E19253-01/819-5461

Hope this helps somewhat.

Michael
___
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


freebsd zfs question

2011-05-01 Thread Michael D. Norwick

Good Day;

A week or so ago I experienced an error trying to compile openoffice.org 
from ports.  The build failed from an error I was since able to resolve.
This machine is at #uname -r rainey 8.2-RELEASE-p1 FreeBSD 
8.2-RELEASE-p1 #2: Wed Apr 27 04:37:38 UTC 2011 
michael@rainey:/usr/obj/usr/src/sys/KERNEL_042511  amd64
During that episode the workstation locked up and the only way to 
recover was to do a hard reset (power off).  I then noticed during the 
next weekly scrub that I had increasing errors listed for the root pool 
during that particular scrub;


# zpool status
  pool: tank
 state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
entire pool from backup.
   see: http://www.sun.com/msg/ZFS-8000-8A
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
tankONLINE   0 0 0
  ad2p3 ONLINE   0 0 0
  ad3p1 ONLINE   0 0 0

errors: 604 data errors, use '-v' for a list

  pool: tank1
 state: ONLINE
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
tank1   ONLINE   0 0 0
  ad12p2ONLINE   0 0 0

errors: No known data errors

Tank consists of 2 300G PATA drives in a mirror.  Tank1 is a 500G SATA 
drive I just added recently to use for data archiving.  The stuff I wish 
to protect is backed up to a network file server manually via NFS.  I 
have scrubbed the pool showing errors several times now with no 
increases or decreases in error counts.  I have issued #zpool clear 
tank a number of times with no change in the error count.  The document 
listed (www.sun.com/msg/ZFS-8000-8A) was of no apparent help for my 
condition.  I have drives I can export to and import from but I am 
unclear as to whether I will be just moving the bad blocks around.


Sample of the output of #zpool status -v tank;


tank/root:0x1097e7
tank/root:0x1096e8
tank/root:0x1097e8
tank/root:0x1096e9
tank/root:0x1097e9
tank/root:0x1095ea
tank/root:0x1097ea
tank/root:0x1096eb
tank/root:0x1097eb
tank/root:0x1096ec
tank/root:0x1097ec
tank/root:0x1095ed
tank/root:0x1096ed
tank/root:0x1097ed
tank/root:0x1094ee
tank/root:0x1096ee
tank/root:0x1095ef


Not sure what to do with these.  Why doesn't #zpool clear tank delete 
these?  The directory /usr/ports/editors/openoffice.org-3/work was not 
able to be deleted after the failed build, so I moved it to /oldwork to 
get the port to build.  /oldwork still cannot be deleted.


rainey# rm -Rf ./oldwork
rm: ./oldwork/OOO330_m20/dictionaries: Directory not empty
rm: ./oldwork/OOO330_m20/lucene/unxfbsdx.pro/bin: Directory not empty
rm: ./oldwork/OOO330_m20/lucene/unxfbsdx.pro/misc/build: Directory not empty
rm: ./oldwork/OOO330_m20/lucene/unxfbsdx.pro/misc: Directory not empty
rm: ./oldwork/OOO330_m20/lucene/unxfbsdx.pro: Directory not empty
rm: ./oldwork/OOO330_m20/lucene: Directory not empty
rm: ./oldwork/OOO330_m20/jfreereport: Directory not empty
rm: ./oldwork/OOO330_m20/libxslt: Directory not empty
rm: ./oldwork/OOO330_m20/sal: Directory not empty
rm: ./oldwork/OOO330_m20: Directory not empty
rm: ./oldwork: Directory not empty

Attempts to delete the above directories fail.
I've read articles about 'bit rot' and such in ZFS metadata but 
memtest86 completes without error on this machine's 3G of ram.  I see no 
applicable information in dmesg or /var/log/messages.  The drives have 
been running 24/7 since the initial incident with no increase in the 
error count.


Thank You,
Michael
___
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


make all vs buildworld

2011-04-19 Thread Michael D. Norwick

Good Day;

Can someone tell me what the difference between using /usr/src#make 
buildworld vs /usr/src/#make all.  I know that FreeBSD uses
make buildkernel and make buildworld to routinely build the kernel and 
userland.  Yet, I had an issue with a recent buildworld (after buildkernel).
It error'd out building a kerberos5 library and I lost patience trying 
to figure it out.  I tried /usr/src#make all and the build went to 
completion

without error.  What would I hurt if I then did /usr/src/#make install?

[michael@rainey /usr/home/michael]$ uname -a
FreeBSD rainey 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sun Apr 17 21:23:21 
UTC 2011 michael@rainey:/usr/obj/usr/src/sys/KERNEL_041811  amd64


Thank You,
michael
___
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: Problem with an ATI x2900 video adapter

2011-04-10 Thread Michael D. Norwick

On 04/10/11 06:44, Warren Block wrote:

On Sun, 10 Apr 2011, Michael D. Norwick wrote:

surprised this afternoon when, while the installation of gnome2 was 
working, I think it was building GCC 4.4 and friends, the HP 2010i 
LCD monitor I use on the machine appeared to lose the input to its 
DVI port.  The HD activity light was still flickering so I let it 
continue and waited a hour or so for it to quit indicating activity 
before I pressed the reset button.


Sounds like the video card went into power save.  Pressing a shift key 
might have brought it back.


I would like to know if anyone else has experienced this or, if a PR 
is necessary against the Xorg radeon driver.


It's not clear whether you were running in the console or X.  If X 
wasn't even installed yet, the radeon driver could not have been at 
fault.





Yes, Xorg was running with gdm and gnome2.  I was building packages from 
ports in a gterm.
No, no combination of Shift-Fn or Meta-key-Fn did anything.  The 
keyboard was active as the Caps-Lock and Num-Lock lights worked.

The monitor power save features are disabled.
I wonder if the Linux Catalyst Control Center app. from ATI would work 
under VirtualBox-OSE?


Thank You,
Michael
___
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


Problem with an ATI x2900 video adapter

2011-04-09 Thread Michael D. Norwick

Good Day;

I am in the final steps of completing a fresh installation of FreeBSD 
8.2 on a workstation with a DFI LanParty motherboard, AMD Athlon 64 
processor, 3 GB of ram, an ATI Radeon x2900 graphics card, and root on 
ZFS filesystem.  Using ports.tar.gz downloaded, and src CVSup'd this 
morning, gnome2 is still compiling and installing.  While I did have 
some minor issues with the build of some dependencies, it was nothing I 
could not work through.  I was surprised this afternoon when, while the 
installation of gnome2 was working, I think it was building GCC 4.4 and 
friends, the HP 2010i LCD monitor I use on the machine appeared to lose 
the input to its DVI port.  The HD activity light was still flickering 
so I let it continue and waited a hour or so for it to quit indicating 
activity before I pressed the reset button.  The PC restarted and no 
filesystem errors were apparent on restart.
I would like to know if anyone else has experienced this or, if a PR is 
necessary against the Xorg radeon driver.

The ATI Catalyst utility needs windows or linux and I have neither.
There is nothing of value in dmesg or Xorg.0.log

$ uname -a
FreeBSD rainey 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219081M: Wed Mar  2 
08:29:52 CET 2011 root@www4:/usr/obj/usr/src/sys/GENERIC  amd64


Thank You,
Michael

PS;  Many thanks to the maintainer of the mfsBSD zfsinstall .iso.  It 
worked flawlessly for setting up this system.

___
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: Colorized compiler/linker messages

2011-01-23 Thread Michael D. Norwick

On 01/22/2011 22:22, Robert Bonomi wrote:

 From owner-freebsd-questi...@freebsd.org  Sat Jan 22 20:10:21 2011
Date: Sat, 22 Jan 2011 20:00:52 -0600
From: Michael D. Norwickmnorw...@centurytel.net
To: freebsd-questions@freebsd.org
Subject: Colorized compiler/linker messages

Good Day,

I have seen this for some time when building ports and was wondering how
it was done.  GCC when compiling and linking certain programs, ebook for
example, emits messages in various colors.  How is that done?
 

Whatever it is that is writing the messages is putting out 'terminal
control' character strings that specify the color.

   

Where does
one find what the various colors are supposed to signify?
 

Read the _complete_ documentation for 'whatever it is' that is producing
the messages.  The colors signify 'whatever it is' that the author of that
software chose to represent with that color.  There are *NO* universal
standards for such things.

   

Or, is it just
because it's more appealing?
 

(A) appealing is in the eye of the beholder.
(B) *why* 'somebody' did something/anything is known *only* to the party
 that actually _did_ it.  You can ether ask *them* or get uninformed
 speculation from third parties.

In broad, diagsnotic messages can be divided into a minimum of 4 'classes'
(finer gradation is always possible):
 diagnostic -- 'gory details' of what the program is doing internally, to
find out where what it is actually  doing is different from what one
'expects' it to be doing.
 informational -- things you might 'want to know about', but do not
indicate potentially incorrect operation.
 warning -- things which *probably* indicate a problem, but might be
'as intended'
 error -- something which is, without question, incorrect, and prevents
proper program operation.


A developer -might- use different colors for different 'classes' of messages,
so that an experienced user of that program (who 'knows' what color is used
for what) can tell 'at a glance' the  serverity of the thing being reported.
[ see (B), above, as regards applicability to -your- situationn ]



___
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


   
Sounds like you had a bad day yesterday.  I'm sorry,  I will try to scan 
any further e-mails for the appropriate intelligence.  Isn't that why 
it's called FreeBSD-questions and not ab...@freebsd.org?  And, yes, I 
read the docs.


Thank You,
Michael
___
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: Colorized compiler/linker messages

2011-01-23 Thread Michael D. Norwick

On 01/23/2011 17:07, Mark Johnston wrote:

On Sat, Jan 22, 2011 at 08:00:52PM -0600, Michael D. Norwick wrote:
   

Good Day,

I have seen this for some time when building ports and was wondering
how it was done.  GCC when compiling and linking certain programs,
ebook for example, emits messages in various colors.  How is that
done?  Where does one find what the various colors are supposed to
signify?  Or, is it just because it's more appealing?

Thank You,

Michael
 

I'm not sure about ebook specifically, but there's a wrapper for gcc called
colorgcc which colorizes the diagnostics and errors that gcc emits. The idea is
that one can just do something like CC=colorgcc make when building.

I'm sure there are other programs out there that do something similar,
but colorgcc is the most common I think. Apparently there are similar
wrappers for make and diff as well.

-Mark
___
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


   

Thank You,

I'll look up the man pages for colorgcc and see if it is installed on my 
system.  This explains a lot.


Michael
___
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


Colorized compiler/linker messages

2011-01-22 Thread Michael D. Norwick

Good Day,

I have seen this for some time when building ports and was wondering how 
it was done.  GCC when compiling and linking certain programs, ebook for 
example, emits messages in various colors.  How is that done?  Where 
does one find what the various colors are supposed to signify?  Or, is 
it just because it's more appealing?


Thank You,

Michael
___
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


Implications of missing this step?

2011-01-20 Thread Michael D. Norwick

Good Day;

Running PC-BSD 8.1 with a custom kernel and new world.  I just finished 
another custom kernel and rebuilt world according to the FreeBSD 
handbook.  While reading the docs again to find an answer to a question 
about how upgraded ports are handled, I came across the following in 24.2.3;


If a custom kernel is in use, the upgrade process is slightly more 
involved. A copy of the GENERIC kernel is needed, and it should be 
placed in /boot/GENERIC. If the GENERIC kernel is not already present in 
the system, it may be obtained using one of the following methods:


I am in the process of doing #portupgrade -af with a new custom kernel 
and stock (rebuilt) world i.e. buildkernel KERNCONF=KERNEL_011911, and 
buildworld... (after upgrading src and ports with csup).  Things seem to 
be going ok but the statements about 'old object files and libraries' 
being out of date for third party applications, make me feel as if I 
have done something wrong.  I blew away the GENERIC kernel several 
iterations of kernel builds ago.  I always start a build with #make 
clean.  What can go wrong by not following the above step?  Is a GENERIC 
kernel always needed?

Thank You,
Michael
___
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: Implications of missing this step?

2011-01-20 Thread Michael D. Norwick

On 01/20/2011 22:57, b. f. wrote:

Good Day;

Running PC-BSD 8.1 with a custom kernel and new world.  I just finished
another custom kernel and rebuilt world according to the FreeBSD
handbook.  While reading the docs again to find an answer to a question
about how upgraded ports are handled, I came across the following in 24.2.3;

If a custom kernel is in use, the upgrade process is slightly more
involved. A copy of the GENERIC kernel is needed, and it should be
placed in /boot/GENERIC. If the GENERIC kernel is not already present in
the system, it may be obtained using one of the following methods:

I am in the process of doing #portupgrade -af with a new custom kernel
and stock (rebuilt) world i.e. buildkernel KERNCONF=KERNEL_011911, and
buildworld... (after upgrading src and ports with csup).  Things seem to
be going ok but the statements about 'old object files and libraries'
being out of date for third party applications, make me feel as if I
have done something wrong.  I blew away the GENERIC kernel several
iterations of kernel builds ago.  I always start a build with #make
clean.  What can go wrong by not following the above step?  Is a GENERIC
kernel always needed?
 

No.  The handbook is a bit misleading here.  First it starts to
mention that, after updating your base system, you will probably need
to update any ports and/or packages, too.  Then, without any warning,
it jumps abruptly into a discussion of how to update the base system
with the 'freebsd-update' method.  That method seemingly requires a
GENERIC kernel to be present, which is what the paragraph you quoted
mentions.  But you're already past that point -- you've already
updated your base system, and it seems that you built from source, so
that paragraph isn't relevant, anyway.  Just proceed with updating
your ports.  (And bear in mind that PC-BSD has some issues with using
both FreeBSD ports and the PC-BSD packaging system, so you may want to
consult their documentation as well as that of the FreeBSD project, if
you plan to use PBIs, too.)

b.


   

Thank You,

All still appears to be going well with portupgrade.   KDE4 and friends 
and Virtualbox-OSE haven't upgraded yet.  I do not use binary packages 
on the BSD systems I run, if I can avoid it, for philosophical reasons.  
But, I'll check their (PC-BSD's) docs also.


Michael
___
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: HP 2010i

2011-01-02 Thread Michael D. Norwick

On 01/01/2011 22:46, Warren Block wrote:

 snipped 

On 01/02/2011 08:30, Gökşin Akdeniz wrote:

 snipped 

Thank you for your responses.  I have probably taken up as much 
bandwidth as I deserve with this subject.  I tried the attached 
xorg.conf with the same results.  A right skewed screen with no apparent 
way to adjust it back centered @ 1600x900.  Using the display properties 
(in the PC BSD/K.D.E. application launcher), I was able to make it 
1400x900 at 59.9 Hz., with a properly filled display.  The text and 
icons are not stretched weird as they were at 1024x768 so maybe I'll 
just play around with fonts.  I think I can live with this.  Thank You 
again for your help.


Michael

Wishing HP, Dell, IBM and Oracle etc., would get a clue.  :(

___
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: HP 2010i 1600x900 screen sizing issue - PCBSD 8.1

2011-01-01 Thread Michael D. Norwick

On 01/01/2011 10:25, Warren Block wrote:

On Fri, 31 Dec 2010, Michael D. Norwick wrote:


I bought

snip

   Identifier   Monitor0
   VendorName   HWP
   ModelNameHP 2010
   HorizSync24.0 - 83.0
   VertRefresh  50.0 - 76.0
   OptionDPMS
EndSection


For a start, remove or comment out the HorizSync and VertRefresh lines.


Okay, closer.  Thank You.  I commented out the HorizSync and VertRefresh 
lines restarted the X session and the screen appeared to fill more but I 
still had a black bar to the left at 1600x900.  Going to Computer - 
System Settings - Computer Administration - Display - Size and 
Orientation, I found it at;


Size  1600x900
Refresh  Auto

Changed it to

Size  1280x1024
Refresh  Auto

Still no full screen width.  In fact it got narrower.

Changed it to

Size 1440x900  (which had not been an option previously)
The screen appeared to resize to the full width of the display and 
'Refresh' now shows 59.9 Hz.


This is all quite non-intuitive.

I won't be pushing any buttons until I understand the effect.  I 
understand why HorizSync and VertRefresh settings would not be necessary 
for an LCD display but the xserver obviously knows what it's connected to.
Why does it set those?  And, where are those commented out option lines 
in my xorg.conf documented?


Thank You,

Michael

___
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: HP 2010i 1600x900 screen sizing issue - PCBSD 8.1

2011-01-01 Thread Michael D. Norwick

On 01/01/2011 12:51, Polytropon wrote:

On Sat, 01 Jan 2011 12:34:39 -0600, Michael D. 
Norwickmnorw...@centurytel.net  wrote:
   

And, where are those commented out option lines
in my xorg.conf documented?
 

In the obvious place: man xorg.conf. :-)



   

From 'man xorg.conf'VIDEOADAPTOR SECTION
   Nobody wants to say how this works.  Maybe nobody knows   
See also 'man radeon'

___
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


HP 2010i 1600x900 screen sizing issue - PCBSD 8.1

2010-12-31 Thread Michael D. Norwick

Happy New Year!

I bought a new HP 2010i LCD monitor that is supposed to give me 1600x900 
resolution at 60 Hz to replace a generic 19 C.R.T. monitor that did 
1024x768.  The machine has an ATI Radeon video card and I am using a 
V.G.A. cable not H.D.M.I.  I reconfigured my /etc/xorg.conf using Xorg 
--configure.  I was given the full screen at 1600x900 resolution at the 
next reboot but then while trying to adjust some monitor settings such 
as Power Saver and Sleep Timer the screen adjusted to the right and will 
not center.  Adjusting the horizontal control to '0' (full left?) will 
not center the display.


Futzing around, I rebuilt the kernel with;

options  X86BIOS   # x86 real mode BIOS emulator, required by 
atkbdc/dpms/vesa

devicevga   # VGA video card driver
deviceagp   # support several AGP chipsets
devicedpms# DPMS suspend  resume via VESA BIOS

among others.  I include these because I believe they are the only 
options and drivers that would affect video on this particular machine.


#uname -ra
FreeBSD **..net 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 
#0: Fri Dec 31 11:51:07 CST 2010 
mich...@**..net:/usr/obj/usr/src/sys/KERNEL_123110  i386


Using PCBSD 8.1 downloaded 10/28/2010
csup'd source and ports 12/31/2010
built KERNEL_123110 today and new world

I can get 1024x768 to fill the screen but the icons and text are 
stretched weird.  I also loaded 1280x1024 but on the next reboot the 
screen shifted right again.


/etc/X11/xorg.conf

Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
EndSection

Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  dri
Load  dri2
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
OptionProtocol auto
OptionDevice /dev/sysmouse
OptionZAxisMapping 4 5 6 7
EndSection

Section Monitor
#DisplaySize  440   250# mm
Identifier   Monitor0
VendorName   HWP
ModelNameHP 2010
HorizSync24.0 - 83.0
VertRefresh  50.0 - 76.0
OptionDPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel# [bool]
#Option SWcursor   # [bool]
#Option Dac6Bit# [bool]
#Option Dac8Bit# [bool]
#Option BusType# [str]
#Option CPPIOMode  # [bool]
#Option CPusecTimeout  # i
#Option AGPMode# i
#Option AGPFastWrite   # [bool]
#Option AGPSize# i
#Option GARTSize   # i
#Option RingSize   # i
#Option BufferSize # i
#Option EnableDepthMoves   # [bool]
#Option EnablePageFlip # [bool]
#Option NoBackBuffer   # [bool]
#Option DMAForXv   # [bool]
#Option FBTexPercent   # i
#Option DepthBits  # i
#Option PCIAPERSize# i
#Option AccelDFS   # [bool]
#Option IgnoreEDID # [bool]
#Option CustomEDID # [str]
#Option DisplayPriority# [str]
#Option PanelSize  # [str]
#Option ForceMinDotClock   # freq
#Option ColorTiling# [bool]
#Option VideoKey   # i
#Option RageTheatreCrystal # i
#Option RageTheatreTunerPort # i
#Option RageTheatreCompositePort # i
#Option RageTheatreSVideoPort # i
#Option TunerType  # i
#Option RageTheatreMicrocPath # str
#Option RageTheatreMicrocType # str
#Option ScalerWidth# i
#Option RenderAccel# [bool]
#Option SubPixelOrder  # [str]
#Option ShowCache  # [bool]
#Option ClockGating# [bool]
#Option VGAAccess  # [bool]
#Option ReverseDDC   

Re: HP 2010i 1600x900 screen sizing issue - PCBSD 8.1

2010-12-31 Thread Michael D. Norwick

On 12/31/2010 21:07, Michael D. Norwick wrote:

Happy New Year!

I bought a new HP 2010i LCD monitor that is supposed to give me 
1600x900 resolution at 60 Hz to replace a generic 19 C.R.T. monitor 
that did 1024x768.  The machine has an ATI Radeon video card and I am 
using a V.G.A. cable not H.D.M.I.  I reconfigured my /etc/xorg.conf 
using Xorg --configure.  I was given the full screen at 1600x900 
resolution at the next reboot but then while trying to adjust some 
monitor settings such as Power Saver and Sleep Timer the screen 
adjusted to the right and will not center.  Adjusting the horizontal 
control to '0' (full left?) will not center the display.



snip

Sorry,  I meant to say D.V.I. (cable) not H.D.M.I.

Thanks,

Michael
___
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


was FreeBSD 8.1 success, now PC-BSD success

2010-10-29 Thread Michael D. Norwick

Good Day;
I just completed a new PC-BSD install on the same machine I last posted 
a success message for FreeBSD 8.1.
I do not have time to fiddle much right now and upgrading FreeBSD 8.1 
from ports was giving me fits.  But, living on the edge has it's price.  
I took the advise provided by responders to my original post and 
downloaded the PC-BSD net install CD and the dvd.iso (5 hours) then 
started the install early this evening.  I got both so I would be 
prepared to install locally if the net install didn't work or, from the 
net if the DVD did not work.  Both turned out to be true however.  I 
burned 2 or 3 dvd's that panic'd shortly after the modules loaded.  It 
did not matter whether I had ACPI enabled or not.  The net install CD 
recognized my Intel EtherExpress Pro card but refused to start an FTP 
session to download the packages.  I had a USB dvd-rom drive and 
thankfully I was able to use it to load base, packages, ports, and src 
from the dvd.iso after performing the setup from the CD.

Initial impressions:
1.  Nice installation program (I'm coming from the debian installer 
which seems to be the standard against which others are measured)

2.  Sensible hard disk partitioner 'advanced' mode
3.  Very cool logo
4.  Xorg configured graphics on the first run
5.  Do not like the default passwordless login

I'm still running on the first tank of gas so I guess I will post when 
I've had more time behind the wheel.


Thank You,  Again, great job by the PC-BSD development team!

Michael
___
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


Fwd: Re: FreeBSD 8.1-RELEASE Installation success

2010-10-26 Thread Michael D. Norwick

Oops;

Originally sent this to the poster and not the list.  Sorry.

 Original Message 
Subject:Re: FreeBSD 8.1-RELEASE Installation success
Date:   Tue, 26 Oct 2010 06:27:56 -0500
From:   Michael D. Norwick mnorw...@centurytel.net
To: Warren Block wbl...@wonkity.com



On 10/25/10 21:52, Warren Block wrote:

 On Mon, 25 Oct 2010, Michael D. Norwick wrote:

 I spoke a little too soon.  I was UPGRADING to KDE4 4.5.2 as I was
 typing the message.  'portupgrade kde4' was @ approx. 38% when it
 error'd out on something about 'kdelibs4-4.4.5' too old.  Going to
 /usr/ports/kdelibs4 and 'make clean', 'make', borked also.  I do not
 have much time tonight for fiddling so, I deleted my ports tree and
 cvsup'd /usr/ports again.


 1.  Use csup, not cvsup.  csup is in the base system.
 2.  Consider using portsnap instead.
 3.  Deleting your ports tree before updating it will waste time and
 bandwidth.  Use 'portsclean -C' if you just want to remove work
 directories.
 4.  http://www.wonkity.com/~wblock/docs/html/portupgrade.html


 I have not looked at PC-BSD because I thought the BSD's were all
 somewhat similar (powerful, stable, and secure).


 PC-BSD is just a desktop installation of FreeBSD and KDE.  Well,
 there's a little more to it than that, but it *is* FreeBSD, not a
 different BSD.



Thank You, point taken.  'portupgrade kdelibs4' stopped a quarter of the
way through on a fresh ports tree.  The following is a sample of the errors:

/usr/local/include/qt4/QtCore/qlist.h:528: error: 'QT_TRY' was not
declared in this scope
/usr/local/include/qt4/QtCore/qlist.h:528: error: expected `;' before
'{' token
/usr/local/include/qt4/QtCore/qlist.h:530: error: expected
primary-expression before '...' token
/usr/local/include/qt4/QtCore/qlist.h:530: error: there are no arguments
to 'QT_CATCH' that depend on a template parameter, so a declaration of
'QT_CATCH' must be available
/usr/local/include/qt4/QtCore/qlist.h:530: error: expected `;' before
'{' token
/usr/local/include/qt4/QtCore/qlist.h: In member function 'void
QListT::replace(int, const T)':
/usr/local/include/qt4/QtCore/qlist.h:540: error: 'p' was not declared
in this scope
/usr/local/include/qt4/QtCore/qlist.h:540: error: there are no arguments
to 'Q_ASSERT_X' that depend on a template parameter, so a declaration of
'Q_ASSERT_X' must be available
/usr/local/include/qt4/QtCore/qlist.h:542: error: 'QTypeInfo' was not
declared in this scope
/usr/local/include/qt4/QtCore/qlist.h:542: error: expected
primary-expression before '' token
/usr/local/include/qt4/QtCore/qlist.h:542: error: '::isLarge' has not
been declared
/usr/local/include/qt4/QtCore/qlist.h:542: error: expected
primary-expression before '' token
/usr/local/include/qt4/QtCore/qlist.h:542: error: '::isStatic' has not
been declared
/usr/local/include/qt4/QtCore/qlist.h: In member function 'void
QListT::swap(int, int)':
/usr/local/include/qt4/QtCore/qlist.h:553: error: 'p' was not declared
in this scope
/usr/local/include/qt4/QtCore/qlist.h:554: error: there are no arguments
to 'Q_ASSERT_X' that depend on a template parameter, so a declaration of
'Q_ASSERT_X' must be available

I agree that removing /usr/ports when I have a major build issue is a
waste of bandwidth if, the issue is not due to a tainted ports tree.  I
was just referencing an old(?) thread or howto that suggested it.  This
procedure had fixed another build issue with a graphviz dependency in
the past so, I guess I took it to heart.

I appreciate the responses and maybe I should be on PCBSD.  I'm not
running Apache2 or serving a couple hundred clients.  I just wanted to
run with the big dogs.

Michael

___
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


FreeBSD 8.1-RELEASE Installation success

2010-10-25 Thread Michael D. Norwick

Good Day;

It is with some pleasure that I have finally succeeded in building an 
operative workstation with a custom kernel and world,  Xorg 1.7.5, 
KDE4-4.5.2 from ports, most common network applications as well as 
Firefox3, and Thunderbird 3.1.5.  The machine is an older Dell GX270 P4 
2.4 GHz PC with 3G of ram and an ATI Radeon video adapter.

This install has not been without it's trials.
4 weeks ago I backed up all my data and reformatted from Debian 'lenny' 
to GPT/ZFS/8.1-RELEASE.  The next two weeks did not go so well.  While I 
tried hard to get ZFS formatted drives to work reliably, intermittent 
unexplained core dumps with reboots gave me cause for concern.  I 
finally reinstalled msdos boot records and formatted the drives UFS.  
That install has lasted 2 more weeks.  I liked ZFS v14 and would like to 
try it again when I get more current hardware with more ram and SATA drives.
My next challenge was building KDE4, Firefox, and Thunderbird from 
ports.  KDE4 and friends (QT4) took days on this machine to build, 
install and setup.  I initially installed the ports tree using portsnap 
but was having so much trouble building the mozilla stuff from ports I 
moved to cvsup and portupgrade.  This is also what I used to install the 
kernel and base source tree.  Several iterations of make - clean and 
deinstall/reinstall along with cvsup'ing ports a couple of times finally 
got me to a working browser and mail client.
I have had a time getting Flash working with Firefox.  I have not yet 
got the plugin working in Firefox but Opera, using linux-f10 allows my 
kids view their on-line home school lessons.  Audio was somewhat of a 
challenge to get sound from an AC97 on-board audio chipset.  snd_hda was 
the module that eventually provided the needed audio driver for this 
chipset.  I think I forgot what configuring this stuff was like during 
my 'hamm', 'bo', and 'slink', debian days.


My thanks to the entire FreeBSD/KDE development team on allowing me to 
experience the fruit of their efforts.  I still like turning the knobs 
myself.  I'll keep reading the manuals.  :)


Michael
___
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: FreeBSD 8.1-RELEASE Installation success

2010-10-25 Thread Michael D. Norwick

On 10/25/10 20:11, Brandon Gooch wrote:

On Mon, Oct 25, 2010 at 7:50 PM, Henry Olyerhenry.ol...@gmail.com  wrote:

The problem here is that it shouldn't take so much effort to get this
going.  But I know it does.  And I don't blame the FreeBSD team.

I do blame the organizational infra-structure that exists.  ie., we should
have scripts that describe every aspect of a computer, so that such scripts
can be mechanically read and a configuration built.

We do ./configure for software we install.  Same thing, but for all aspects
of the hardware.  The present configure logic covers the OS and the
installed software, we need to do this for hardware.

I notice that freeBSD download's and installs trails Linux.  That's okay.
FreeBSD is so much better, and in so many ways, too.

Nothing I've seen in Linux lands comes close to the sysinstall command or
the plainly superior organization of FreeBSD.  What I'm trying to encourage
is that we, as a group, work on our infra-structures, like strengthing the
already high level of organization we have in sysinstall.

How about a query program that examines a machine.  Is this practical?
Something like the automated X-install process that makes it unnecessary to
set the horizontal and vertical frequencies ourselves (which we used to have
to do.)  But not for X, for the sound card, for as much as possible.




On Mon, Oct 25, 2010 at 8:25 PM, Michael D. Norwickmnorw...@centurytel.net

wrote:
Good Day;

It is with some pleasure that I have finally succeeded in building an
operative workstation with a custom kernel and world,  Xorg 1.7.5,
KDE4-4.5.2 from ports, most common network applications as well as Firefox3,
and Thunderbird 3.1.5.  The machine is an older Dell GX270 P4 2.4 GHz PC
with 3G of ram and an ATI Radeon video adapter.
This install has not been without it's trials.
4 weeks ago I backed up all my data and reformatted from Debian 'lenny' to
GPT/ZFS/8.1-RELEASE.  The next two weeks did not go so well.  While I tried
hard to get ZFS formatted drives to work reliably, intermittent unexplained
core dumps with reboots gave me cause for concern.  I finally reinstalled
msdos boot records and formatted the drives UFS.  That install has lasted 2
more weeks.  I liked ZFS v14 and would like to try it again when I get more
current hardware with more ram and SATA drives.
My next challenge was building KDE4, Firefox, and Thunderbird from ports.
  KDE4 and friends (QT4) took days on this machine to build, install and
setup.  I initially installed the ports tree using portsnap but was having
so much trouble building the mozilla stuff from ports I moved to cvsup and
portupgrade.  This is also what I used to install the kernel and base source
tree.  Several iterations of make - clean and deinstall/reinstall along with
cvsup'ing ports a couple of times finally got me to a working browser and
mail client.
I have had a time getting Flash working with Firefox.  I have not yet got
the plugin working in Firefox but Opera, using linux-f10 allows my kids view
their on-line home school lessons.  Audio was somewhat of a challenge to get
sound from an AC97 on-board audio chipset.  snd_hda was the module that
eventually provided the needed audio driver for this chipset.  I think I
forgot what configuring this stuff was like during my 'hamm', 'bo', and
'slink', debian days.

My thanks to the entire FreeBSD/KDE development team on allowing me to
experience the fruit of their efforts.  I still like turning the knobs
myself.  I'll keep reading the manuals.  :)

Michael

Have either of you had a look at PC-BSD?

http://www.pcbsd.org/

It's getting better with each release...oh, and it's based on FreeBSD too :)

-Brandon
___
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


I spoke a little too soon.  I was UPGRADING to KDE4 4.5.2 as I was 
typing the message.  'portupgrade kde4' was @ approx. 38% when it 
error'd out on something about 'kdelibs4-4.4.5' too old.  Going to 
/usr/ports/kdelibs4 and 'make clean', 'make', borked also.  I do not 
have much time tonight for fiddling so, I deleted my ports tree and 
cvsup'd /usr/ports again.  I'll try again tomorrow evening if the winds 
we are currently experiencing here in western wisconsin don't blow all 
our buildings away and kill my horses.


I have not looked at PC-BSD because I thought the BSD's were all 
somewhat similar (powerful, stable, and secure).  I only moved off of 
Debian due to feature bloat and the 'Fedoraizing' it (debian) is 
experiencing.  Richard Bejtlich talks so highly of FreeBSD in his TAO 
of Network Security Monitoring book.  Anyway, please forgive me for not 
providing more information on the above build issue.  I should have been 
more patient.


I have NetBSD 5.0.2 running on an old X-less backup and file server.  
The learning curve wasn't too steep!!  

How to get clipboard working - X

2010-10-15 Thread Michael D. Norwick

Good day;

Having a time getting cut and paste to work in a new 
FreeBSD-8.1-RELEASE-p1 installation


I am using a newly rebuilt world and kernel that I cvsup'd yesterday 
but, I was not able to get it

going with GENERIC either.

# uname -a
# **.**.net 8.1-RELEASE-p1 
**,**.net:/usr/opj/usr/src/sys/BLACKY101410


I have built xclipboard from ports and am using fluxbox ver. 1.1.1 and 
Eterm ver. 0.9.5. 
I think I should be able to cut and paste between a brower - Firefox - 
and Eterm and vice-versa.

I haven't been able to glean the appropriate information from the handbook.

T.I.A.

Michael

___
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


How to load fluxbox themes

2010-10-15 Thread Michael D. Norwick

Good day;

How does one load a downloaded fluxbox theme?  I have unpacked a nice 
vermaden authored theme into

.fluxbox/flux-themes but that is where I am stuck.

fluxbox ver. 1.1.1 from ports

What goes in the .fluxbox/styles directory?

T.I.A.

Michael
___
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: How to get clipboard working - X

2010-10-15 Thread Michael D. Norwick

Frank Shute wrote:

On Fri, Oct 15, 2010 at 01:12:16PM -0500, Michael D. Norwick wrote:
  

Good day;

Having a time getting cut and paste to work in a new 
FreeBSD-8.1-RELEASE-p1 installation


I am using a newly rebuilt world and kernel that I cvsup'd yesterday 
but, I was not able to get it

going with GENERIC either.

# uname -a
# **.**.net 8.1-RELEASE-p1 
**,**.net:/usr/opj/usr/src/sys/BLACKY101410


I have built xclipboard from ports and am using fluxbox ver. 1.1.1 and 
Eterm ver. 0.9.5. 
I think I should be able to cut and paste between a brower - Firefox - 
and Eterm and vice-versa.

I haven't been able to glean the appropriate information from the handbook.

T.I.A.



How are you cutting and pasting?

1) Highlight text with left mouse, paste with middle mouse

or

2) Highlight text with left mouse, paste with shift-insert

What exactly is not working?

Could be a mouse problem but difficult to tell.


Regards,

  
Thank You,  I'm still working on it but you gave me a heads-up.  I think 
my trackball is broke.


Michael
___
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: How to load fluxbox themes

2010-10-15 Thread Michael D. Norwick

Frank Shute wrote:

On Fri, Oct 15, 2010 at 01:17:54PM -0500, Michael D. Norwick wrote:
  

Good day;

How does one load a downloaded fluxbox theme?  I have unpacked a nice 
vermaden authored theme into

.fluxbox/flux-themes but that is where I am stuck.

fluxbox ver. 1.1.1 from ports

What goes in the .fluxbox/styles directory?

T.I.A.




[fr...@orange:frank/.fluxbox]
$ ls -F
apps   fbrun_history  keys-dis   menu~  startup
backgrounds/   init   keys~  overlaystyles/
fbpagerinit~  lastwallpaper  pixmaps/   windowmenu
fbpager~   keys   menu   slitlist
[fr...@orange:frank/.fluxbox]
$ ls -F styles
blackwood/  blue_curve/ cherry/ skulls/
[fr...@orange:frank/.fluxbox]
$ ls -F styles/cherry
theme.cfg   theme.cfg~
[fr...@orange:frank/.fluxbox]
$ ls -F backgrounds/
cherry.png curves.jpg skulls.jpg wood1280x1024.jpg
[fr...@orange:frank/.fluxbox]
$ 


The above gives you an idea if where everything belongs.

theme.cfg has a line calling the background. E.g:

background: fullscreen
background.pixmap:  ~/.fluxbox/backgrounds/cherry.png


Regards,

  
Again, Thank You, for your kind response.  I was hoping for a more 
lightweight desktop environment compared to KDE4.  Yet, with reduced 
overhead comes more manual configuration.


Michael
___
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


portupgrade -a stops at building gnome-menus

2010-09-11 Thread Michael D. Norwick

FreeBSD 8.1-RELEASE

#uname -a
FreeBSD *...@.net 8.1-RELEASE FreeBSD 8.1 RELEASE FreeBSD 8.1-RELEASE
#0: Thu Aug 12 08:43:46 CDT 2010 
*...@.net:/usr/obj/src/sys/GENERIC i386


Running on VirtualBox Version 3.2.8 r64453 running on current Debian 
'lenny',  Pentium 4 2.4 GHz. 4G ram.

portsnap update on 09/08/2010.

Trying to do 'portupgrade -a',  initially had a portupgrade stop at 
'/usr/ports/graphviz'  an error about 'dot' and doxygen.  Built doxygen 
and graphiz from the individual /usr/ports/*** directories after 
'portsclean -DLP' and individual 'make clean' in the respective 
/usr/ports directories.  Had the /usr/local/include/python2.6/pth.h 
link to /usr/local/include/pth/pth.h issue.  Fixed that and portupgrade 
borked at building gnome-menus.  '/usr/bin/ld: cannot find -lpth'.  Did 
ln -s /usr/local/lib/pth/libpth.a /usr/local/lib/ and ln -s 
/usr/local/include/pth/pth.h /usr/local/include/python2.6/ - again.  Ran 
make install clean from /usr/ports/x11/gnome-menus after executing make 
clean.  Still no joy.
Yeah, I'm a 15 year linux guy, but, I've installed and used FreeBSD 
around the 5.0-RELEASE days so I don't think I'm totally clueless.  I'm 
running it as a virtual machine because I would like to install it on a 
new machine once I get past the test drive and checkout.
Tried to build a new kernel a week or two ago and that went awry.  
Deleted the VM and reinstalled from the RELEASE dvd.iso.

What am I doing wrong?

Michael D. Norwick

PS: I've R.T.F.M'd and Googled.  Filed a bug report on the graphviz 
issue but now I don't think it was a problem with the graphviz build.

___
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


When do binaries get removed?

2010-03-28 Thread Michael D. Norwick

Good evening;

I am using;
$uname -r
$8.0-RELEASE
under Sun VirtualBox 3.1.6.

I am a long time Debian GNU/Linux user who has just installed the above 
release.  I have installed and used FreeBSD in years past but that was 
around the 5.x-RELEASE.  I have had a time installing applications from 
the ports tree (a story for another day) and finally resorted to 
installing binaries from the install dvd to get the full working X 
distribution.  I wanted to start with the 'minimal' set of packages and 
build from there.  At the moment I have the distributed binaries 
installed and am compiling/installing gcc 4.4 and friends.
I have the current FreeBSD handbook but it does not seem to have the 
answer to the following question.
When building and installing an application from ports, how does the 
original binary or script, in /usr/bin, /usr/lib, /usr/etc..., from the 
distribution, get removed?  The make install foo command does not appear 
to symlink the original application location to the new one in 
/usr/local/whatever.  Does it even matter?


Thank You,
Michael D. Norwick
___
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


When do binaries get removed?

2010-03-28 Thread Michael D. Norwick

Good evening;

I am using;
$uname -r
$8.0-RELEASE
hosted on Sun VirtualBox 3.1.6. (NOT O.S.E.) running on Debian 'lenny'.

I am a long time Debian GNU/Linux user who has just installed the above 
release.  I have installed and used FreeBSD in years past but that was 
around the 5.x-RELEASE.  I have had a time installing applications from 
the ports tree (a story for another day) and finally resorted to 
installing binaries from the install dvd to get a working X 
distribution.  I wanted to start with the 'minimal' set of packages and 
build from there.  3 trys at it failed at different points.  At the 
moment I have the distributed binaries installed and am 
compiling/installing gcc 4.4 and friends.
I have the current FreeBSD handbook but it does not seem to have the 
answer to the following question.
When building and installing an application from ports, how does the 
original binary or script, in /usr/bin, /usr/lib, /etc..., from the 
distribution, get removed?  The make install foo command does not appear 
to symlink the original application location to the new one in 
/usr/local/whatever.  Does it even matter?   From reading various docs 
on-line tonight it seems it might.


Thank You,
Michael D. Norwick
___
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


Correct build order for MIT krb5 and ssh

2006-06-17 Thread Michael D. Norwick
I'm not sure if this is the right group for this question, but I am
still fairly new to FreeBSD so I thought I would start here first.
I have been trying to get a working MIT Kerberos KDC on a server running
6.1-Release.  I have been able to keep the heimdal version from being
built during several past 'make worlds' and I have compiled and
installed MIT krb5 from /usr/ports (current per portmanager).  I have
been getting an error tryiing to start sshd (also built from
/usr/ports), it complains about not finding 'libkrb5.so.8' then exits. 
I have been able to start the KDC but have not gotten much further as I
would like to fix the ssh problem first.  My questions are as follows:
1.  Is libkrb5.so.8 a heimdal library?
2.  Which source directories are the correct ones to use,
/usr/src/kerberos - /usr/src/secure, or /usr/ports/security/krb5 -
/usr/ports/security/openssh?
3.  Why are there two different directories i.e; /usr/src and /usr/ports
for the same source?
4.  How do I get 'kerberized' ssh and give configure directives to the
krb5 make to include GSSAPI support?
5.  Is there a certain build order for MIT kerberos and openssh?

I have read both the Handbook and the 'Complete' book on this subject
and have not been able to glean enough information to get me going,
Google didn't help much either.  I have 6 Debian clients, 2 WinXP
clients, and 1 Debian KDC slave and wanted this machine to be an MIT-KDC
master and yet avoid the apparent 'kadmin' server incompatibility
between Heimdal and MIT Kerberos (which all the Debian clients run).  I
am also very comfortable with the MIT version.  Any words of wisdom
would be greatly appreciated.

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


Heimdal/MIT and Sendmail/Postfix

2006-05-09 Thread Michael D. Norwick
Why does FreeBSD default to installing Heimdal Kerberos and Sendmail and
how do I change the upgrade process to keep MIT/Postfix and not install
Heimdal/Sendmail??

Thank You,

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


Re: Can't build bash3.1 during portupgrade -a

2006-05-08 Thread Michael D. Norwick
Garrett Cooper wrote:



 Michael D. Norwick wrote:

 freebsd 6.1 RELEASE Compaq Proliant SMP PII-200 (smp modified kernel)

 ...snip
 /usr/ports/distfiles/bash from ftp4.us and re-ran portupgrade -a.  It
 stopped again with the same error.  What is happening here?

 = MD5 Checksum mismatch for bash/bash31-010.
 = SHA256 Checksum mismatch for bash/bash31-010.
 ...snip
 And then;

 = Attempting to fetch from
 http://ftp.gnu.org/gnu/bash/bash-3.1-patches//.
 fetch: bash31-010: local modification time does not match remote
 ...snip

 stop

 Michael
   

 Switch your ports cvsup server in your cvsup file, delete the patch
 file, re-cvsup, then try portupgrade again.
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


Per the previous suggestion I built and installed portmanager, deleted
the distfiles tree and started again.  So far it is still moving along
without error. 

Thank You for the help

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


Re: Can't build bash3.1 during portupgrade -a

2006-05-08 Thread Michael D. Norwick
Garrett Cooper wrote:

 Michael D. Norwick wrote:

 Garrett Cooper wrote:

  

 Michael D. Norwick wrote:



 freebsd 6.1 RELEASE Compaq Proliant SMP PII-200 (smp modified kernel)

 ...snip
 /usr/ports/distfiles/bash from ftp4.us and re-ran portupgrade -a.  It
 stopped again with the same error.  What is happening here?

 = MD5 Checksum mismatch for bash/bash31-010.
 = SHA256 Checksum mismatch for bash/bash31-010.
 ...snip
 And then;

 = Attempting to fetch from
 http://ftp.gnu.org/gnu/bash/bash-3.1-patches//.
 fetch: bash31-010: local modification time does not match remote
 ...snip

 stop

 Michael
 

 Switch your ports cvsup server in your cvsup file, delete the patch
 file, re-cvsup, then try portupgrade again.
 -Garrett
 

 Per the previous suggestion I built and installed portmanager, deleted
 the distfiles tree and started again.  So far it is still moving along
 without error.
 Thank You for the help

 Michael

 Guess I was too late then. I noticed this error was consistently
 occurring, so what I did was completed what I suggested above and
 everything worked. The reason for having to do that was because a) the
 CVSUP server I was sync'ing with for ports apparently was not in
 service any more, and b) I downloaded the patch directly from the bash
 site and that didn't seem to have worked, but instead brought up the
 before mentioned error about the modification times being different.
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


No not at all.  It is frustrating to see a new error and not know why it
occured (then maybe have it happen again later).  I've got some years on
Linux but FreeBSD is foreign enough to challenge my knowledgebase.  I
thank you for your help.

Michael

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


Re: Can't build bash3.1 during portupgrade -a

2006-05-07 Thread Michael D. Norwick
Gerard Seibert wrote:

Michael D. Norwick wrote:

  

freebsd 6.1 RELEASE Compaq Proliant SMP PII-200 (smp modified kernel)

Over a week ago I was trying to rebuild Xorg and ran into an issue with
libexpat.so.5 not found for 'fc-cache'.  This was my fault because
earlier I wanted  expat2, built it from the 'ports' collection tarball
current (at that time) from ftp2.us.FreeBSD.org, and apparently broke
the dependency for libexpat.so.5.  Following the advice given to another
user on freebsd-questions, I did pkgdb -F then portupgrade -a in order
to fix the dependencies and get Xorg 6.9.0.  Little did I know that it
would take over a week to upgrade and rebuild 119 installed packages on
my PII-200 SMP Proliant.  Other than a couple of burps with boost-python
and postgresql, the upgrade has kept chugging along.  Today, I am almost
to the end and the Mozilla build flaked out.  No worries on that yet,
but the script suggested doing pkgdb -F again and restarting
portupgrade.  I dutifully followed and when portupgrade restarted it
tried to build bash31aborted with the following error which I do not
understand.  When the 'make bash31' stopped on error the first time I
manually downloaded the whole bash31 file set again to
/usr/ports/distfiles/bash from ftp4.us and re-ran portupgrade -a.  It
stopped again with the same error.  What is happening here?

= MD5 Checksum mismatch for bash/bash31-010.
= SHA256 Checksum mismatch for bash/bash31-010.
...snip
And then;

= Attempting to fetch from http://ftp.gnu.org/gnu/bash/bash-3.1-patches//.
fetch: bash31-010: local modification time does not match remote
...snip

stop

Michael



Personally, I would have used 'portmanager' to fix the situation.
Running it like this: portmanager -u -f -l -y should have corrected your
situation.

In any even, delete everything in the /usr/ports/distfiles directory.
Next, update your entire ports collection. If you are still going to use
portupgrade, then definitely run the pkgdb -afFuv. It will give you a
better idea of what is happening. You might also consider running
portsdb -Uu if you have the time. It couldn't hurt. If you decide to use
portmanager, those last two steps are not required.

Good luck!

  

[EMAIL PROTECTED] wrote:

Are you sure you removed the distfiles or did you try to download over them?  
You should delete them.

I downloaded over them so I will take both suggestions and delete the whole 
mess and rebuild.  The Handbook and The 'Complete' book are not too clear on 
the advantages of portupgrade over portmanager.  Right now the build(upgrade) 
got to 'gimp-print' and is freaking out with:

'warning: traditional C rejects ISO C style function definitions' for every .c 
file in the package due to not hiding #pragma's from traditional C in the 
header files.  Ho-Hum.  Maybe a problem with autoconf and friends???  
Soldiering on.

Thank You for the help.

Michael



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


Can't build bash3.1 during portupgrade -a

2006-05-06 Thread Michael D. Norwick
freebsd 6.1 RELEASE Compaq Proliant SMP PII-200 (smp modified kernel)

Over a week ago I was trying to rebuild Xorg and ran into an issue with
libexpat.so.5 not found for 'fc-cache'.  This was my fault because
earlier I wanted  expat2, built it from the 'ports' collection tarball
current (at that time) from ftp2.us.FreeBSD.org, and apparently broke
the dependency for libexpat.so.5.  Following the advice given to another
user on freebsd-questions, I did pkgdb -F then portupgrade -a in order
to fix the dependencies and get Xorg 6.9.0.  Little did I know that it
would take over a week to upgrade and rebuild 119 installed packages on
my PII-200 SMP Proliant.  Other than a couple of burps with boost-python
and postgresql, the upgrade has kept chugging along.  Today, I am almost
to the end and the Mozilla build flaked out.  No worries on that yet,
but the script suggested doing pkgdb -F again and restarting
portupgrade.  I dutifully followed and when portupgrade restarted it
tried to build bash31aborted with the following error which I do not
understand.  When the 'make bash31' stopped on error the first time I
manually downloaded the whole bash31 file set again to
/usr/ports/distfiles/bash from ftp4.us and re-ran portupgrade -a.  It
stopped again with the same error.  What is happening here?

= MD5 Checksum mismatch for bash/bash31-010.
= SHA256 Checksum mismatch for bash/bash31-010.
...snip
And then;

= Attempting to fetch from http://ftp.gnu.org/gnu/bash/bash-3.1-patches//.
fetch: bash31-010: local modification time does not match remote
...snip

stop

Michael




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


Numerous ftp timeouts - why?

2006-04-09 Thread Michael D. Norwick
New to FreeBSD not new to *nix.  Have the docs/handbook/faq, etc.  Using
freebsd 6.0 RELEASE on Compaq Proliant 2500R.
Why when trying to install various apps from ports do the ftp sessions
frequently timeout?  If I manually fetch packages from
sites the download goes ok, but this means I have to copy files to
/usr/ports/distfiles manually.  did 'man fetch' but still no clue
as to why this happens.

Thank You,

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


Re: Numerous ftp timeouts - why?

2006-04-09 Thread Michael D. Norwick
fbsd_user wrote:

I had this same problem when I was on dial up line.
Once I got cable ISP internet connection the problem never happened
again.
Those ftp sites are busy and dial up connections degrade performance
for the other concurrent users logged onto the ftp site and so dial
up users get timed out and dropped.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael D.
Norwick
Sent: Sunday, April 09, 2006 2:59 PM
To: freebsd-questions@freebsd.org
Subject: Numerous ftp timeouts - why?


New to FreeBSD not new to *nix.  Have the docs/handbook/faq, etc.
Using
freebsd 6.0 RELEASE on Compaq Proliant 2500R.
Why when trying to install various apps from ports do the ftp
sessions
frequently timeout?  If I manually fetch packages from
sites the download goes ok, but this means I have to copy files to
/usr/ports/distfiles manually.  did 'man fetch' but still no clue
as to why this happens.

Thank You,

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

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


  

I'm on DSL.  The client wants to switch to EXTENDED PASSIVE MODE the
first time I want to change directories when connecting manually.  I end
up selecting passive 'off' to change directories without the connection
locking up.  I tried allowing bi-directional FTP requests through my
firewall.  Still no joy.
Just finishing up building KDE, it's been on and off for three days!

Thank You for the reply.

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


Re: Can't configure Xorg of FreeBSD 6.0 STABLE

2006-04-05 Thread Michael D. Norwick
Norberto Meijome wrote:

On Mon, 03 Apr 2006 21:21:22 -0500
Michael D. Norwick [EMAIL PROTECTED] wrote:

  

I built a proper xorg.conf but when trying to 'startx'
the xserver bombs with a logged 'xf86EnableIO: Failed to open /dev/io
for extended I/O'.  I googled one similar problem from a 5.4 install
and it suggested building a kernel with 'device io'.  It would seem
that GENERIC would have this, though maybe not?  I am using a PCI S3
Virge card not the onboard Cirrus video device.  My other logs give
no clue as to a device not found.



Hi Michael,
what happens when you run xorgcfg as root?

B


  

The error I stated above - 'xf86EnableIO:  Failed to open /dev/io for
extended I/O'.  I am in the process of making another kernel configured
with only the necessary elements for SMP and networking including
'device io'.  I guess I'll see what happens.

Thank You for your response

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