RE: [Bacula-users] Bacula problems on FreeBSD 5.4

2005-07-25 Thread McCann, Brian



For what it's worth, I'm running it on FreeBSD 5.4 and it's 
working fine.  I didn't think Bacula wrote directly to the hardware when 
you use disk devices...but I could be wrong.  I had problems similar to 
this with another program, turned out my RAM wasn't fully supported by the 
motherboard...the system would run fine until this one program (which escapes me 
at the moment) would run, then that program would core dump.  Just a 
thought...
 
--Brian


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
OleSent: Monday, July 25, 2005 9:46To: 
bacula-users@lists.sourceforge.netSubject: Re: [Bacula-users] Bacula 
problems on FreeBSD 5.4
Hi again!No, I'm currently testing bacula on an old  
intel i386 system.Copy of dmesg with the GENERIC core:testbox1# 
dmesgCopyright (c) 1992-2005 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 5.4-RELEASE-p5 #1: Mon Jul 25 
12:00:41 CEST 2005   Timecounter "i8254" frequency 1193182 Hz 
quality 0CPU: Intel Celeron (900.01-MHz 686-class CPU)  Origin = 
"GenuineIntel"  Id = 0x68a  Stepping = 10  
Features=0x383f9ffreal 
memory  = 535822336 (511 MB)avail memory = 518877184 (494 MB)npx0: 
 on motherboardnpx0: INT 16 interfacecpu0 on 
motherboardpcib0:  pcibus 
0 on motherboardpir0:  on 
motherboardpci0:  on pcib0agp0:  mem 0xd600-0xd607,0xd000-0xd3ff irq 5 
at device 2.0 on pci0pcib1:  at device 30.0 on 
pci0pci1:  on pcib1xl0: <3Com 3c905C-TX Fast Etherlink 
XL> port 0x9000-0x907f mem 0xd500-0xd57f irq 12 at device 9.0 on 
pci1miibus0:  on xl0ukphy0:  on miibus0ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, autoxl0: Ethernet address: 00:04:75:e1:59:cfatapci0: 
 port 
0xa400-0xa4ff,0xa000-0xa003,0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407 irq 11 at 
device 10.0 on pci1ata2: channel #0 on atapci0ata3: channel #1 on 
atapci0xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xa800-0xa87f mem 
0xd5001000-0xd500107f irq 10 at device 11.0 on pci1miibus1:  
on xl1ukphy1:  on 
miibus1ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
autoxl1: Ethernet address: 00:04:75:fd:09:4bisab0:  at device 31.0 on pci0isa0:  on isab0atapci1: 
 port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on 
pci0ata0: channel #0 on atapci1ata1: channel #1 on atapci1pci0: 
 at device 31.3 (no driver attached)orm0:  at iomem 0xd1000-0xd17ff,0xcc000-0xcc7ff,0xc-0xcbfff on 
isa0pmtimer0 on isa0atkbdc0:  at port 
0x64,0x60 on isa0atkbd0:  irq 1 on atkbdc0kbd0 at 
atkbd0sc0:  at flags 0x100 on isa0sc0: VGA <16 
virtual consoles, flags=0x300>vga0:  at port 
0x3c0-0x3df iomem 0xa-0xb on isa0unknown:  can't 
assign resources (port)Timecounter "TSC" frequency 900013610 Hz quality 
800Timecounters tick every 10.000 msecacd0: CDROM  at ata0-master PIO4ad4: 38204MB  [77622/16/63] at ata2-master UDMA133ad6: 38204MB 
 [77622/16/63] at ata3-master UDMA133ar0: 
38204MB  [4870/255/63] status: READY 
subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 
at ata3-masterMounting root from ufs:/dev/ar0s1apid 391 (bacula-dir), 
uid 0: exited on signal 10 (core dumped)pid 450 (bacula-dir), uid 0: exited 
on signal 10 (core dumped)pid 10623 (bacula-dir), uid 0: exited on signal 10 
(core dumped)pid 10789 (bacula-dir), uid 0: exited on signal 10 (core 
dumped)pid 10814 (bacula-dir), uid 0: exited on signal 10 (core 
dumped)pid 39096 (bacula-dir), uid 0: exited on signal 10 (core 
dumped)Can it be that bacula has problems reading from and to the RAID 
contrller ?Other thought to what the problem can be is also 
appreciated.
Ole Morken
System Technician
WebDeal ASKern Sibbald wrote: 
On Monday 25 July 2005 15:17, Ole wrote:
  
  Hi!

I have installed bacula from the ports tree on a server running FreeBSD
5.4. The version of bacula i use is bacula 1.36.3
I have tried to use a custom core and the default core, but i get the
same message when i try to start Bacula from  the startupscript in
/usr/local/etc/rc.d

I have not altered the standard config-files, these have worked on a
SUSE-system without any hiccups.

The errormessages is this:
Starting the Bacula Storage daemon
Starting the Bacula Director daemon
Bus error (core dumped)

I currently haven't connected a tape-device on the server, just trying
to create backups on disk.

Does anyone have any suggestions for a solution ?

A bus error, typically indicates a misaligned structure on non-Intel hardware 
which is much more sensitive to structure alignments.  Are you using 
non-Intel hardware or some 64 bit architecture?  If so, there is a potential 
compiler/header problem -- e.g. using 32 bit headers on a 64 bit architecture 
could cause a structure misalignment as most 64 bit integers must be aligned 
on a 64 bit memory boundry and not

Re: [Bacula-users] Bacula problems on FreeBSD 5.4

2005-07-25 Thread Ole




Hi again!

No, I'm currently testing bacula on an old  intel i386 system.
Copy of dmesg with the GENERIC core:

testbox1# dmesg
Copyright (c) 1992-2005 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 5.4-RELEASE-p5 #1: Mon Jul 25 12:00:41 CEST 2005
   Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Celeron (900.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
 
Features=0x383f9ff
real memory  = 535822336 (511 MB)
avail memory = 518877184 (494 MB)
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0:  pcibus 0 on
motherboard
pir0:  on motherboard
pci0:  on pcib0
agp0:  mem
0xd600-0xd607,0xd000-0xd3ff irq 5 at device 2.0 on pci0
pcib1:  at device 30.0 on pci0
pci1:  on pcib1
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9000-0x907f mem
0xd500-0xd57f irq 12 at device 9.0 on pci1
miibus0:  on xl0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:75:e1:59:cf
atapci0:  port
0xa400-0xa4ff,0xa000-0xa003,0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407
irq 11 at device 10.0 on pci1
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xa800-0xa87f mem
0xd5001000-0xd500107f irq 10 at device 11.0 on pci1
miibus1:  on xl1
ukphy1:  on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:04:75:fd:09:4b
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
pci0:  at device 31.3 (no driver attached)
orm0:  at iomem
0xd1000-0xd17ff,0xcc000-0xcc7ff,0xc-0xcbfff on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb
on isa0
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 900013610 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM  at ata0-master PIO4
ad4: 38204MB  [77622/16/63] at
ata2-master UDMA133
ad6: 38204MB  [77622/16/63] at
ata3-master UDMA133
ar0: 38204MB  [4870/255/63] status: READY
subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
Mounting root from ufs:/dev/ar0s1a
pid 391 (bacula-dir), uid 0: exited on signal 10 (core dumped)
pid 450 (bacula-dir), uid 0: exited on signal 10 (core dumped)
pid 10623 (bacula-dir), uid 0: exited on signal 10 (core dumped)
pid 10789 (bacula-dir), uid 0: exited on signal 10 (core dumped)
pid 10814 (bacula-dir), uid 0: exited on signal 10 (core dumped)
pid 39096 (bacula-dir), uid 0: exited on signal 10 (core dumped)

Can it be that bacula has problems reading from and to the RAID
contrller ?

Other thought to what the problem can be is also appreciated.



Ole Morken
System Technician
WebDeal AS
Kern Sibbald wrote:

  On Monday 25 July 2005 15:17, Ole wrote:
  
  
Hi!

I have installed bacula from the ports tree on a server running FreeBSD
5.4. The version of bacula i use is bacula 1.36.3
I have tried to use a custom core and the default core, but i get the
same message when i try to start Bacula from  the startupscript in
/usr/local/etc/rc.d

I have not altered the standard config-files, these have worked on a
SUSE-system without any hiccups.

The errormessages is this:
Starting the Bacula Storage daemon
Starting the Bacula Director daemon
Bus error (core dumped)

I currently haven't connected a tape-device on the server, just trying
to create backups on disk.

Does anyone have any suggestions for a solution ?

  
  
A bus error, typically indicates a misaligned structure on non-Intel hardware 
which is much more sensitive to structure alignments.  Are you using 
non-Intel hardware or some 64 bit architecture?  If so, there is a potential 
compiler/header problem -- e.g. using 32 bit headers on a 64 bit architecture 
could cause a structure misalignment as most 64 bit integers must be aligned 
on a 64 bit memory boundry and not on a 32 bit boundry.

  
  


Ole Morken
System Technician
WebDeal AS


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

  
  
  






Re: [Bacula-users] Bacula problems on FreeBSD 5.4

2005-07-25 Thread Kern Sibbald
On Monday 25 July 2005 15:17, Ole wrote:
> Hi!
>
> I have installed bacula from the ports tree on a server running FreeBSD
> 5.4. The version of bacula i use is bacula 1.36.3
> I have tried to use a custom core and the default core, but i get the
> same message when i try to start Bacula from  the startupscript in
> /usr/local/etc/rc.d
>
> I have not altered the standard config-files, these have worked on a
> SUSE-system without any hiccups.
>
> The errormessages is this:
> Starting the Bacula Storage daemon
> Starting the Bacula Director daemon
> Bus error (core dumped)
>
> I currently haven't connected a tape-device on the server, just trying
> to create backups on disk.
>
> Does anyone have any suggestions for a solution ?

A bus error, typically indicates a misaligned structure on non-Intel hardware 
which is much more sensitive to structure alignments.  Are you using 
non-Intel hardware or some 64 bit architecture?  If so, there is a potential 
compiler/header problem -- e.g. using 32 bit headers on a 64 bit architecture 
could cause a structure misalignment as most 64 bit integers must be aligned 
on a 64 bit memory boundry and not on a 32 bit boundry.

>
>
> 
> Ole Morken
> System Technician
> WebDeal AS
>
>
> ---
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users