Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bert Lagaisse
Rahul Fernandez wrote:

I am able to hear sound when watching films using mplayer.
Does that not mean that the audio cable is connected to the sound card (in
response to somebody's suggestion)? I will check later that this is the case.
Thanks, Rahul
Trying to simplify the difference:

the sound from a mpg/divx/xvid movie is read as data over the IDE cable.
then this data is processed by the playersoftware and send to the the 
right audio codec (e.g mp3), which sends its output to the soundcard 
driver, which instructs the soundcard (using the PCI or ISA bus) to make 
some noise.

in the case of an audio cd:
The cd-drive receives a "play" instruction for track 5
the cd-drive sends the audio it reads directly to the soundcard using 
the cable between the 2 devices.





--
Bert Lagaisse
K.U.Leuven, Dept. computer science

Address:
Celestijnenlaan 200A
3001 Heverlee
Belgium
Email: [EMAIL PROTECTED]
Tel: +32 16 32 78 24
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD, FHS, and /mnt/cdrom

2003-11-21 Thread Mykroft Holmes IV
Frank Murphy wrote:

The folks at the Filesystem Hierarchy Standard (FHS) are discussing
(again) where directories for recurring temporary mount points should go.
Recurring temporary mount points are for things like cdroms, floppies,
and digital cameras as well as HD partitions from other OSes (like MS
Windows).
Red Hat started putting these in /mnt (e.g. /mnt/cdrom), but that totally
breaks compatibility with the BSDs, which have specified /mnt as an empty
directory for ad hoc temporary mounts. SuSE has started putting these in
/media, and now folks on the FHS list would like to know what people in
the BSDs' communities would prefer.
I imagine your answer will be something like "We don't care; do what you
want," but I would like to present the different ideas, and perhaps you
would prefer one.
So, please put these in the order of most to least preferred, and say why
you like or dislike any of them.
- All mount points in / (e.g. /cdrom, /camera, /windows/C)  <- current
FreeBSD standard
- All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C)
<- breaks
 FreeBSD standard for an empty /mnt
- Anyplace at all
- Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies)
- Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera,
/media/windows/C)
 (some suggestions have been /media, /mounts, /vol, /var/mnt,
 and /var/tmp/removable. Others?)
Thanks letting us know how you feel about this,

Frank Murphy

 

Well, Apple uses /Volumes for all mounts

It seems to work pretty well, although the capital letter is an obvious 
Apple-ism.

Adam

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


Re: Vinum configuration problem (RAID-1)

2003-11-21 Thread Lewis Thompson
On Fri, Nov 21, 2003 at 04:43:53PM +0200, Jani Reinikainen wrote:
> I added another spindle for this setup, I just thought debugging one
> spindle's setup at a time would be easier. Now my RAID-1 is complete
> and working.

I guessed as much but my reply wouldn't have been complete without the
obligatory ``stoopid'' response ;)

> Comments are very welcome. English is not my native tongue, so
> grammatical errors probably exist :-)

I honestly couldn't tell you weren't English from these posts, so I'm
sure it's perfect.

  Best wishes,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: DVD Burning

2003-11-21 Thread Chris Meyers
On Thu, 2003-11-20 at 15:30, Charles Swiger wrote:
...
> Right, but the acd device ['man 4 acd'] and the cd device ['man 4 cd'] 
> are not the same-- that's what the CAM subsystem is for, to provide 
> passthrough emulation for ATAPI devices so that you can send SCSI 
> commands to them.  The "burncd" program works with ATAPI devices 
> directly; the programs with dvd+rw-tools need CAM.
> 

I mostly get what you are talking about here, but I'm not sure what this
means in my situation. Sorry.

> Hmm, also you should be configuring your device to enable UltraDMA 
> modes rather than PIO; try a "sysctl hw.ata.atapi_dma=1", or equivalent 
> in /etc/sysctl.conf or /boot/loader.conf.

When I try that sysctl command I get this:

# sysctl hw.ata.atapi_dma=1
sysctl: oid 'hw.ata.atapi_dma' is read only

The same thing shows up at boot when I have the 'hw.ata.atapi_dma=1'
part in /etc/sysctl.conf

Charles, I appreciate all your help so far, and I hope that I'm not
frustrating you too much.

Thanks,
Chris


signature.asc
Description: This is a digitally signed message part


Re: Vinum configuration problem (RAID-1)

2003-11-21 Thread Jani Reinikainen
On Thu, 20 Nov 2003 10:56:40 +
Lewis Thompson <[EMAIL PROTECTED]> wrote:

> On Thu, Nov 20, 2003 at 11:53:52AM +0200, Jani Reinikainen wrote:
> > Created a new partition 'h':
> > - size = 12715857 ('c' partition) - 265 = 12715592
> > - offset 16
> 
> Why isn't that:
> 
> - size = 12715857 ('c' partition) - 16 = 12715841
> - offset 16?

Doh! Of course :-) How silly of me not to notice that. Works fine now,
thanks!

>   I am curious though -- vinum for just one disk?

I added another spindle for this setup, I just thought debugging one
spindle's setup at a time would be easier. Now my RAID-1 is complete and
working. I documented my setup here:

http://devel.reinikainen.net/docs/how-to/Vinum/

Comments are very welcome. English is not my native tongue, so
grammatical errors probably exist :-)


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


Re: Terminal Server

2003-11-21 Thread Cordula's Web
> I would like to deploy a few terminal servers at my company and im wondering
> if FreeBSD has a way in which this can be done.
> 
> Linux has LTSP (http://www.ltsp.org). It basically allows you to boot up
> from a stiffy using a diskless server. Can this be done on FreeBSD and if so
> how ? Using bootprom ?

Have you read the Handbook?

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

-- 
Cordula's Web. http://www.cordula.ws/

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


FreeBSD, FHS, and /mnt/cdrom

2003-11-21 Thread Frank Murphy

The folks at the Filesystem Hierarchy Standard (FHS) are discussing
(again) where directories for recurring temporary mount points should go.
Recurring temporary mount points are for things like cdroms, floppies,
and digital cameras as well as HD partitions from other OSes (like MS
Windows).

Red Hat started putting these in /mnt (e.g. /mnt/cdrom), but that totally
breaks compatibility with the BSDs, which have specified /mnt as an empty
directory for ad hoc temporary mounts. SuSE has started putting these in
/media, and now folks on the FHS list would like to know what people in
the BSDs' communities would prefer.

I imagine your answer will be something like "We don't care; do what you
want," but I would like to present the different ideas, and perhaps you
would prefer one.

So, please put these in the order of most to least preferred, and say why
you like or dislike any of them.

- All mount points in / (e.g. /cdrom, /camera, /windows/C)  <- current
FreeBSD standard
- All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C)
<- breaks
  FreeBSD standard for an empty /mnt
- Anyplace at all
- Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies)
- Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera,
/media/windows/C)
  (some suggestions have been /media, /mounts, /vol, /var/mnt,
  and /var/tmp/removable. Others?)

Thanks letting us know how you feel about this,

Frank Murphy

-- 
http://www.fastmail.fm - And now for something completely different…
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Information about /dist

2003-11-21 Thread Lowell Gilbert
olgav <[EMAIL PROTECTED]> writes:

> Please,help me, becouse as soon as possible we need corporate FreeBSD
> server.

If this is for a corporate server application, 
please use FreeBSD 4.9 instead.  
5.x is still considered a "technology preview".
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: none

2003-11-21 Thread Lowell Gilbert
Rahul Fernandez <[EMAIL PROTECTED]> writes:

> Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is
> installed. I now would like to upgrade to hpijs-1.5. However, this
> package is only available in 4.9-stable. Can I install the package
> from 4.9-stable or is it advisable to stick to the packages in my
> release?

It might be possible to use the later packages, but you would be safer
to build it for your system from ports.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"savecore: reboot after panic: page fault" (was Re: Question)

2003-11-21 Thread Lowell Gilbert
"VastNET" <[EMAIL PROTECTED]> writes:

> Do you know what's the reason of it? My machine is rebooting few times a day. 
> 
> If answer is YES, what should I do?
> 
> savecore: reboot after panic: page fault
> <118>savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304
> <118>Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0
> xc1818500 || mbcnt 2304
> <118>savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304
> <118>Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0
> xc1818500 || mbcnt 2304

The system has already panicked at that point, so the cause of the
crash can't be determined from what you've posted.  Look at what
happens a little earlier.

Next time, please provide more information on your system.  See Greg
Lehey's excellent advice on "How to get the best results from FreeBSD
questions": 
http://www.lemis.com/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Rahul Fernandez

> Look at chapter 16 in the Handbook. There are some things that you have to do, 
> such as add "device pcm" or others to your kernel before you can have sound.
> 
> I have a black Lite-on in my test server and it worked just fine after I 
> configured xmcd to use /dev/acd0c.
> 
> Kent

Hi, Thanks for the responses. My understanding from the handbook was that I did
not need to do this as I simply loaded a module (by editing the 'loader.conf'
file). Am I mistaken? I am able to hear sound when watching films using mplayer.
Does that not mean that the audio cable is connected to the sound card (in
response to somebody's suggestion)? I will check later that this is the case.
Thanks, Rahul

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK

2003-11-21 Thread Jesse Guardiani
toor wrote:

> When I begin setup I see next message:
> eisa0:  on motherboard
> eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1
> Fatal trap 9: general protection fault while in kernel
> mode
> instruction pointer = 0x58:0x81d1
> stack pointer   = 0x10:0xeb8
> frame pointer   = 0x10:0xf0e
> code segment= base 0xc00f, limit 0x, type
> 0x1b
>  = DPL 0, pres 1, def32 0, gran 0
> processor elfags= interrupt enabled, resume, IOPL = 0
> current process = 0 (swapper)
> trap number = 9
> panic: general protectin fault
> 
> What must I do to setup freeBSD to my notebook.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Try typing this at the loader prompt:

set hw.pci.allow_unsupported_io_range="1"

And then 'boot'. You can type '?' for help.
If that doesn't work, then try posting to either -CURRENT
or -MOBILE. Perhaps someone there can be of more help.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Terminal Server

2003-11-21 Thread Lowell Gilbert
"Ian Barnes" <[EMAIL PROTECTED]> writes:

> I would like to deploy a few terminal servers at my company and im wondering
> if FreeBSD has a way in which this can be done.

It's not hard at all to slap together, but for real applications, I'd
recommend buying a commercial terminal server anyway.  It will be a
lot more reliable than typical PC hardware.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-21 Thread Bob Collins
At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote:
[Format recovered--see http://www.lemis.com/email/email-format.html]

Quotation broken.

On Wednesday, 19 November 2003 at  9:13:43 -0500, Bob Collins wrote:
> At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote:
>>
>> Do you have device nodes for da4?  Has it been labelled at all?
>
> I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4
> in the /dev directory. After that, there were what appeared to be all the
> device nodes for da4.
>
> I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW.
> Under 4.9-RELEASE (which is what I now run) it will not label through
> /stand/sysinstall.
>
> I can now newfs the drive and mount it and copy files to and fro, however I
> cannot use it with vinum. I did umount the drive and then disklabel -e da4
> and changed the e: to h: and the filesystem type to vinum. It was da4s1e.
>
> When I create the vinum configuration, I either get that drive d (da4s1h)
> is referenced and in the down state while the other three drives are up, or
> the other three drives a b c are referenced and in the down state while
> drive d is up.
I need the information I ask for in
http://www.vinumvm.org/vinum/how-to-debug.html.
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
FreeBSD 4.9 RELEASE

No changes to sources

vinum -> list
4 drives:
D d State: up   Device /dev/da1s1h  Avail:
0/8747 MB (0%)
D c State: up   Device /dev/da2s1h  Avail:
0/8747 MB (0%)
D b State: up   Device /dev/da3s1h  Avail:
0/8747 MB (0%)
D a State: up   Device /dev/da4s1h  Avail:
0/8747 MB (0%)
1 volumes:
V raid  State: down Plexes:   1 Size: 25 GB
1 plexes:
P raid.p0R5 State: init Subdisks: 4 Size: 25 GB
4 subdisks:
S raid.p0.s0State: emptyPO:0  B Size:   8747 MB
S raid.p0.s1State: emptyPO:  512 kB Size:   8747 MB
S raid.p0.s2State: emptyPO: 1024 kB Size:   8747 MB
S raid.p0.s3State: emptyPO: 1536 kB Size:   8747 MB
18 Nov 2003 21:03:29.947426 *** vinum started ***
18 Nov 2003 21:03:29.948250 *** Created devices ***
18 Nov 2003 21:03:30.242946 create -f /etc/vinum.conf
# Vinum configuration of freebie, Wed Nov 13
drive /dev/a device /dev/da1s1h
drive /dev/b device /dev/da2s1h
drive /dev/c device /dev/da3s1h
drive /dev/d device /dev/da4s1h
volume raid
 plex org raid5 512k
  sd len 8747m drive /dev/a
  sd len 8747m drive /dev/b
  sd len 8747m drive /dev/c
  sd len 8747m drive /dev/d
18 Nov 2003 21:03:30.407281 *** Created devices ***
18 Nov 2003 21:03:29.948250 *** Created devices ***
Nov 18 21:03:24 freebie /kernel: vinum: loaded
Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/a is up
Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/b is up
Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/c is up
Nov 18 21:03:30 freebie /kernel: vinum: raid.p0.s3 is crashed
Nov 18 21:03:30 freebie /kernel: vinum: raid.p0 is initializing
Nov 18 21:03:24 freebie /kernel: vinum: loaded
Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/a is up
Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/b is up
Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/c is up
Nov 18 21:03:30 freebie /kernel: vinum: raid.p0.s3 is crashed
Nov 18 21:03:30 freebie /kernel: vinum: raid.p0 is initializing


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


Re: 200gb hard drive?

2003-11-21 Thread Robert Huff

Omer Faruk Sen writes:

>  Thanks for all answers. That space problem was bothering me all
>  the times and I have learnt the reason for space loss. By the way
>  I admit that I have to make more search on google before sending
>  that to here.
>  
>  But it can be very nice that this information to be added on
>  handbook. Or is it in handbook already?

I think it's in the FAQ.
A better question for the list: did something change in "df"
sometime in 5.x?  Because the numbers in the three columns used to
match (modulo rounding error); if you dipped into the reserve pool
it showed as negative free space available - a _very_ obvious visual
marker something was wrong.
(I'd been wondering why I get this:

huff@> df -h 
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s1a   484M   111M   334M25%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/da1s1d44G19G22G47%/usr
/dev/da0s1d   989M38M   872M 4%/var

and wondering whether it foretold some larger problem.
)


Robert Huff


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


Re: Fwd: newbee help on freebsd email server setup

2003-11-21 Thread Lowell Gilbert

> here is the problem i cant track down.when i send mail to an
> account set up on mailserver (thru adduser) and using an remote
> source email server.when i use a pc through windows 2000
> running outlook express i cannot retrieve the mail...it comes back
> with error message 550 host unknown

Outlook Express is probably trying to use POP or some other mailbox
protocol (maybe IMAP) to download the messages.  Sendmail has nothing
to do with it at this level; you need a POP server to allow POP
downloading of messages.  There are several in the ports system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK

2003-11-21 Thread Lowell Gilbert
"toor" <[EMAIL PROTECTED]> writes:

> When I begin setup I see next message:
> eisa0:  on motherboard
> eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1
> Fatal trap 9: general protection fault while in kernel mode
> instruction pointer = 0x58:0x81d1
> stack pointer   = 0x10:0xeb8
> frame pointer   = 0x10:0xf0e
> code segment= base 0xc00f, limit 0x, type 0x1b
>  = DPL 0, pres 1, def32 0, gran 0
> processor elfags= interrupt enabled, resume, IOPL = 0
> current process = 0 (swapper)
> trap number = 9
> panic: general protectin fault
> 
> What must I do to setup freeBSD to my notebook.

Do you need 5.1?
http://www.freebsd.org/releases/5.1R/early-adopter.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Terminal Server

2003-11-21 Thread Ian Barnes
Hi,

I would like to deploy a few terminal servers at my company and im wondering
if FreeBSD has a way in which this can be done.

Linux has LTSP (http://www.ltsp.org). It basically allows you to boot up
from a stiffy using a diskless server. Can this be done on FreeBSD and if so
how ? Using bootprom ?

Thanks for the help.

Ian

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


Re: loader(8) question

2003-11-21 Thread Lowell Gilbert
[Note: redirected to freebsd-stable]

Oliver Neubauer <[EMAIL PROTECTED]> writes:

> Hello,
> 
> I just recently upgraded from 4.3 to 4.9 RELEASE by doing a clean install.
> While I am able to boot the system fully, I have noticed the error
> message "no /boot/loader" upon inital boot, with: "loader(8) metadata
> missing" showing up a bit later one during the boot process.
> 
> I don't know about the second message, but I can definitely say that
> /boot/loader exists with rx permission for all.I haven't changed a
> thing since installing.
> 
> I've come across quite a few questions about this in forums and
> whatnot, but very little in the way of answers. Can anyone shed some
> light?
> 
> dmesg follows
> 
> Thanks!
> o
> 
> Copyright (c) 1992-2003 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 4.9-RELEASE #0: Wed Nov 19 12:12:57 EST 2003
> [EMAIL PROTECTED]:/usr/src/sys/compile/SMPBSD
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium Pro (199.43-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
>   Features=0xfbff
> real memory  = 234881024 (229376K bytes)
> avail memory = 225148928 (219872K bytes)
> Programming 24 pins in IOAPIC #0
> IOAPIC #0 intpin 2 -> irq 0
> FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
>  cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
>  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
>  io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
> Pentium Pro MTRR support enabled
> md0: Malloc disk
> npx0:  on motherboard
> npx0: INT 16 interface
> pcib0:  on motherboard
> IOAPIC #0 intpin 19 -> irq 2
> IOAPIC #0 intpin 18 -> irq 10
> pci0:  on pcib0
> isab0:  at device 1.0 on pci0
> isa0:  on isab0
> atapci0:  port 0xe800-0xe80f at device 1.1
> on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> ahc0:  port 0xe000-0xe0ff mem
> 0xf900-0xf9000fff irq 2 at device 9.0 on pci0
> aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
> pci0:  at 10.0 irq 10
> vr0:  port 0xd800-0xd87f mem
> 0xf880-0xf880007f irq 2 at device 13.0 on pci0
> vr0: Ethernet address: 00:50:ba:a1:a7:5b
> miibus0:  on vr0
> amphy0:  on miibus0
> amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> orm0:  at iomem 0xc-0xc7fff,0xc8000-0xcc7ff on isa0
> pmtimer0 on isa0
> fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0:  at port 0x60,0x64 on isa0
> atkbd0:  flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0:  at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> plip0:  on ppbus0
> lpt0:  on ppbus0
> lpt0: Interrupt-driven port
> ppi0:  on ppbus0
> APIC_IO: Testing 8254 interrupt delivery
> APIC_IO: routing 8254 via IOAPIC #0 intpin 2
> SMP: AP CPU #1 Launched!
> ad0: 3098MB  [6296/16/63] at ata0-master WDMA2
> Waiting 15 seconds for SCSI devices to settle
> Mounting root from ufs:ad0s1a
> da0 at ahc0 bus 0 target 4 lun 0
> da0:  Fixed Direct Access SCSI-2 device
> da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da0: 4106MB (8410200 512 byte sectors: 255H 63S/T 523C)

I've heard of this happening to other people, too, but I can't
reproduce it myself (although admittedly my ability to do so is
somewhat limited because my "scratch" machine won't boot recent
release kernels because of the inclusion of the AGP driver).

Do you perhaps have a /boot.config file that is overriding the
invocation of the loader?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: startx and numlocks

2003-11-21 Thread Jean-Marc Zucconi
> Dru  writes:

 > Does anyone know how to keep numlocks on when using "startx"? I have
 > numlocks on in all of my terminals, but when I start X, it goes off. Is
 > there a line I can add to ".xinitrc"?

My solution (certainly not the best one!) was to edit
/usr/X11R6/lib/X11/xkb/symbols/us 

Jean-Marc

-- 
Jean-Marc Zucconi -- PGP Key: finger [EMAIL PROTECTED] [KeyID: 400B38E9]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Tracker]

2003-11-21 Thread ganja
Hey...my logon name is ganja on the supernova site.

I have a tracker up and running now if ya want to use it. The announce address is 
http://warzone.no-ip.com:6969/announce let me know so i can set ya up an account to 
upload torrents and stuff.

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


startx and numlocks

2003-11-21 Thread Dru

Does anyone know how to keep numlocks on when using "startx"? I have
numlocks on in all of my terminals, but when I start X, it goes off. Is
there a line I can add to ".xinitrc"?

TIA,

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


Re: Installation Issues

2003-11-21 Thread Lowell Gilbert
Jake Stride <[EMAIL PROTECTED]> writes:

> I have had freebsd 4.9 working fine on a dell optiplex, until I
> decided to do a re-install today. However, I am now no longer able to
> boot freebsd.
> 
> The installation proceeds normally, but when I reboot the system, it
> gets to the boot manager and then reboots, and then keeps on rebooting
> everytime it gets to the boot manager.
> 
> I have tried without the boot manager and also each of the
> partitions. I have also set the / partition to bootable, but to no
> avail.
> 
> I am sure this must be a simple error on my part, but I have been
> looking at it for too long now, and wondered if anyone else could shed
> any light on the issue.

Sounds like you didn't get the loader installed 
on your FreeBSD boot partition. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Question abt arp in 5.1-RELEASE

2003-11-21 Thread Lowell Gilbert
"Ilya V. Serov" <[EMAIL PROTECTED]> writes:

> I've got a curious thing with FBS 5.1-RELEASE, concerning arp
> requests/reply. I have a LAN, connected to Internet through CISCO
> router. Recently I had to move one ip address inside my LAN from a 4.8
> box to a 5.1 box without a reboot (ifconfig ...). After this I had
> discovered that CISCO continue sending packets to old MAC address (to
> 4.8). After an investigation of the problem I discovered, thet CISCO
> had not "forgotten" the old MAC. If  ip is being moved from 4.8 box to
> 4.8 box this effect fanishes.
> Did anyone get similar problems? Is it a feature or a bug in 5.1,
> or I don't understand something?

It *should* be normal behaviour.  The other devices on the Ethernet
shouldn't update their ARP listings until the box sends out some kind
of broadcast packet.  If it doesn't do so, the other devices will time
out their ARP mappings in 5 minutes.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: install problem

2003-11-21 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> I have a problem when trying to install FreeBSD 5.1.
> Problem appear on initialize part, installer have frozen and it is a 
> little bit strange for me.

Your problems look like they might be related to the ACPI troubles
listed in the release errata.  Did you try the suggestions there?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Staying current with 4.9 - which supfile?

2003-11-21 Thread Matthew Seaman
On Fri, Nov 21, 2003 at 12:27:58PM +0100, [EMAIL PROTECTED] wrote:

> In order to keep a 4.9 system current - do I need to use the
> "standard-supfile" or "stable-supfile" with cvsup?

That depends on whether you want 4.9-STABLE (stable-supfile), which is
the latest incarnation of the 4-STABLE branch, or whether you want
4.9-RELEASE-pX (standard-supfile) which is the 4.9-RELEASE system plus
security patches only.

4-STABLE receives new functionality, upgrades to software and so
forth.  4.9-RELEASE doesn't.  4-STABLE is what I'd recommend to a home
or hobby user, or for someone's workaday desktop machine.  4.9-RELEASE
is what I'd recommend for a critical server that absolutely has to
keep running 24x7.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Downgrading from current to release or stable?

2003-11-21 Thread Matthew Seaman
On Fri, Nov 21, 2003 at 04:50:09AM -0600, Mike Loiterman wrote:

> Is it possible or advisable to downgrade to stable or release from
> current?  I'm running 5.1-current now, but I'm think I should
> probably switch to stable if possible.

Down... -- er -- regrading to STABLE is certainly possible, but not
what most people would think of as easy.  One major stumpling block is
that UFS2 in 5-CURRENT isn't supported in 4-STABLE, so unless you
happened to specifically create all of your 5.x filesystems using the
old UFS, you're going to have to wipe and re-install loads of stuff.

If you do decide to jump to 4.9-STABLE then probably the simplest way
to do things is to backup any data you need to save, make notes about
exactly how you've configured your system, what ports you have
installed and all the other customizations you've done, and then just
re-install 4.9-STABLE from scratch.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


DMA issue caused crash and file system inconsistency

2003-11-21 Thread Bert Lagaisse
Hi,

I did some stupid newbie things:

I have 2 cdroms, a plextor 8/4/32A and a 50x aopen cdrom.

I added the line hw.ata.atapi_dma="1" to loader.conf
The plextor now uses WDMA2
The aopen cdrom still uses PIO4 (dma worked under wintendo 2000)
After I tried to enable DMA (using atacontrol) on my aopen cdrom and 
mounted it, the system crashed (freebsd 4.9-RELEASE)

result :

During the reboot i got an error and had to run "fsck"

I did, and answered yes to all the questions. (kinda stupid, I know)

The system booted but startx couldn't find /var/log/XFree86.0.log
It seems that /var/log was completely removed
mkdir log in /var solved the problem

What else can I expect after a file system inconsistency ?

And how do I solve the cdrom DMA problem ?



--
Bert Lagaisse
K.U.Leuven, Dept. computer science

Address:
Celestijnenlaan 200A
3001 Heverlee
Belgium
Email: [EMAIL PROTECTED]
Tel: +32 16 32 78 24
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Downgrading from current to release or stable?

2003-11-21 Thread Peter Risdon
Mike Loiterman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is it possible or advisable to downgrade to stable or release from
current?  I'm running 5.1-current now, but I'm think I should
probably switch to stable if possible.
 

I just moved from 5.1-current to 5.1 release, and fixed a lot of 
problems on a horribly unstable box by doing so. I believe downgrading 
to stable is very awkward, but others will be better qualified to 
discuss that than I am.

I used *default release=cvs tag=RELENG_5_1 in my cvsup file, cvsupped, 
made world, made kernel, installed kernel, rebooted, installed world, 
rebooted. No problems at all.

PWR.



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


Re: Information about /dist

2003-11-21 Thread Peter Risdon
olgav wrote:

During the freebsd5.0 mounting I trying mounting DOS partion ,
but got the messege " error mounting /dev/ad0s1 on /dist : no such 
file or directory (2).
 

Do you have a directory called /dist already set up to use as a mount point?

PWR

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


Re: Updating w. sysinstall (was: Security question)

2003-11-21 Thread Mark Weinem
Hi Kevin!

On Wed, 19 Nov 2003, Kevin McKay wrote:

> So it will not just grab the latest patched binaries for 5.1? 

Correct.


> Is it just for updating between releases and not
> for keeping the current release up to date?

...also correct, just updating between releases.


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


Staying current with 4.9 - which supfile?

2003-11-21 Thread a
Hi,

In order to keep a 4.9 system current - do I need to use the
"standard-supfile" or "stable-supfile" with cvsup?

A diff between the two shows the only real difference being:

$ diff standard-supfile stable-supfile
.
.
.
54c71,73
< *default release=cvs tag=RELENG_4_9
---
> # The following line is for 4-stable.  If you want 3-stable or 2.2-stable,
> # change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
> *default release=cvs tag=RELENG_4

So which supfile is the one to go?

TIA for your help,
-ewald
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Changes to /etc/login.conf ignored

2003-11-21 Thread a
Hi,

I'm seeing somewhat strange behavior in my 4.9 System: 

Seems like any changes I make to /etc/login.conf get silently ignored. 

Here's what I've done:

I wanted to set an environment varialbe "LC_CTYPE" in /etc/login.conf
like this

:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,LC_CTYPE=de_AT.ISO8859
+-1:\

Then I did a 

# cap_mkdb -v /etc/login.conf
cap_mkdb: 9 capability records
#

but for any user logging in "LC_CTYPE" isn't set.

Next I tried to set some abitrary env-variable in /etc/login.conf -
again that variable is not set - for none of the users.

As a last test I changed the original "setenv"-line in /etc/login.conf
to list "FTP_PASSIVE_MODE=NO" instead of the original "YES" - again
upon login every user still has passive-mode YES.

Just to be sure I even renamed/moved any shell-init files of the users
out of the way, including ~/.login_conf - didn't change a thing
either. Every change I make to /etc/login.conf gets silently ignored...

Thanks in advance for any clue,
-ewald

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


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Kent Stewart
On Friday 21 November 2003 01:14 am, Rahul Fernandez wrote:
> Hi, I have set up my sound card and am able to hear sound through it
> when playing mp3 files with xmms. I have the cd plugin for xmms and
> have, I believe, correctly configured it. The songs on the cd appear
> in the xmms playlist and a song appears to be playing but I hear
> nothing. I have checked the mixer levels with aumix and everything
> seems fine. I have also tried to play a cd using cdcontrol. Again,
> the cd drive appears to be playing but I hear nothing. The cd player
> works works fine under linux and windows. If it is relevant, it is a
> dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would
> be most appreciated! Thanks, Rahul
>

Look at chapter 16 in the Handbook. There are some things that you have to do, 
such as add "device pcm" or others to your kernel before you can have sound.

I have a black Lite-on in my test server and it worked just fine after I 
configured xmcd to use /dev/acd0c.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Downgrading from current to release or stable?

2003-11-21 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is it possible or advisable to downgrade to stable or release from
current?  I'm running 5.1-current now, but I'm think I should
probably switch to stable if possible.

- --
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key 0xD1B9D18E

-BEGIN PGP SIGNATURE-
Version: PGP 8.0.3
Comment: Digitally signed by Mike Loiterman

iQA/AwUBP73t4GjZbUnRudGOEQLwIACgvOhGu4mELwyMtcQAnNtkQaKMe5gAnRDk
SSU64sG1Fo/CNcrqkK+ix+3Q
=0NUk
-END PGP SIGNATURE-

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


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bernard El-Hagin
You wrote:

[...]

>Maybe a common mistake:
>
>Is there an audio cable between the drive and the soundcard ?
>
>That is necessary to play cdda.
>
>I don't know the exact specs but your cd-drive sends the sound kinda 
>"directly" to your soundcard. So that cable is necessary


But he said it worked correctly under Linux, so that can't be it. Unless
he was wrong and it *didn't* work correctly under Linux, of course. :)


Cheers,
Bernard

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


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bert Lagaisse
Rahul Fernandez wrote:

Hi, I have set up my sound card and am able to hear sound through it
when playing mp3 files with xmms. I have the cd plugin for xmms and
have, I believe, correctly configured it. The songs on the cd appear
in the xmms playlist and a song appears to be playing but I hear
nothing. I have checked the mixer levels with aumix and everything
seems fine. I have also tried to play a cd using cdcontrol. Again,
the cd drive appears to be playing but I hear nothing. The cd player
works works fine under linux and windows. If it is relevant, it is a
dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would
be most appreciated! Thanks, Rahul
Maybe a common mistake:

Is there an audio cable between the drive and the soundcard ?

That is necessary to play cdda.

I don't know the exact specs but your cd-drive sends the sound kinda 
"directly" to your soundcard. So that cable is necessary

Greetz



--
Bert Lagaisse
K.U.Leuven, Dept. computerwetenschappen.

Email: [EMAIL PROTECTED]
Tel: 016 32 78 24
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD beside WinXP

2003-11-21 Thread Kent Stewart
On Friday 21 November 2003 01:30 am, [EMAIL PROTECTED] wrote:
> Kent Stewart écrit:
> > If you want to pass large files, you need something you can write to
> > from FreeBSD. You can read but not write to NTFS. I have a number of
> > multi-boot machines and I almost always have that much in one partition
> > that is FAT32.
>
> To solve the problem, I loaded WinXP in a FAT32 partition, which I
> incidently use as a temporary storage between systems when necessary.
> This way, I have only 1 MS partition...

On a single user system that is probably ok but you don't have the security 
that NTFS has built into it. You make it easier one way and lose protection 
in the other. I don't like the idea of a regular user having administrator 
privlidges. Running as administrator on XP carries the same risk that running 
as root does on Unix.

The NTFS, I think, really supports the long names that are common to the 
registry and FAT32 has to use an alternate way of deal with long names. That 
is why you see the funky names with embedded "~" tildes.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


HD error: BAD SUPER BLOCK

2003-11-21 Thread Robert Neumann
Hello there,

this is the problem:
I had a machine running FreeBSD 4.7-Stable. There I added a 80GB 
harddisk. This harddrive I wanted to install on my other machine running 
FreeBSD 4.9-Release. This disk is ad6 so I added

	/dev/ad6	/storage	ufs	rw	2	2

to fstab and rebooted.

While booting the kernel the following error came up:
...
/dev/ad6: BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/ad6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
...
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY
/dev/ad6 (/storage)
automatic file system check failed . .  help!
Enter full path name of shell or RETURN for /bin/sh:
I hit Return and type
fsck
which give this output:
...
** /dev/ad6
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/ad6; NOT LABELED AS A BSD FILE SYSTEM (unused)
I searched the intenet and found this way:
fsck -b 32
which gives this output for /dev/ad6:
...
BAD SUPER BLOCK: MAGIC NUMBER WRONG
Now I tried another way I found on the net:

	dd if=/dev/ad6 skip=32 of=/dev/ad6 seek=16 bs=512 count=16

which gives this output:
16+0 records in
16+0 records out
8192 bytes transferred in 0.024632 secs (332576 bytes/sec)
when I want to leave the shell there are still errors until I remove the 
added line in /etc/fstab.

the output of
fdisk -t ad6
is the following:
...
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 160071597 (78159 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: 1023/ head 254/ sector 63;
...
the output of /stand/sysinstall ->Configure->Fdisk->ad6 is:

Offset  Size(ST)  END   Name   PType  Desc   Subtype  Flags
0 63   62 - 6   unused   0  
63 160071597160071659   ad6s1   3   freebsd  165  C
160071660  14868160086527 - 6   unused   0  
I don't know what is wrong but I don't want to lose the data.

Any hint is appreciated.

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


Information about /dist

2003-11-21 Thread olgav
During the freebsd5.0 mounting I trying mounting DOS partion ,
but got the messege " error mounting /dev/ad0s1 on /dist : no such 
file or directory (2).
I read all hendbooks,FAQs and so on about this problem.
Please,help me, becouse as soon as possible we need corporate FreeBSD
server.
Thanks all. Olga
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.x-R CDROM Installation Hang

2003-11-21 Thread Nihilist
Hello,

I've been trying to install FreeBSD 5.1-R from the official 4 CD set.
The problem I'm about to describe occurs with 5.0-R too. Incidentally,
everything is fine with the 4.x-R CDs (no hang, no lsdev problem,
perfect installation).

I insert the first CD and the loader kicks in. It doesn't matter
whether or not ACPI is enabled (which my system supports); I get the
same result either way: the box hangs after the little spinning bar,
which appears after the 5.1 menu (or after the 'boot' command from the
loader prompt), has spun a few times. No error messages, no copyright
+ kernel banner, nothing. This occurs in all boot modes... default, no
acpi, safe, single user.

I've tried playing with BIOS settings. I've tried dropping to the
loader prompt (5.1 menu option 6) and playing with device hints via
the 'show' and 'set' commands, but all the generic settings (irqs,
ports, etc.) seem to be fine.

One thing to note is that issuing 'lsdev' at the loader prompt causes
a reboot, apparently after it tries to gather information about BIOS
Disk 2 (which seems to be the CDROM). This is strange because it has
already reported on the CDROM as cd0.

BTX reports:

cd0 = CDROM
Bios Disk 0 = floppy disk (A)
Bios Disk 1 = hard disk (C)
Bios Disk 2 = CDROM (D)

Notice the overlap for CDROM. The 'lsdev' reboot seems to occur when
it tries to check the CDROM a second time.

The parameters 'currdev' and 'loaddev' have the default value 'cd0:'.
Changing 'currdev' to 'disk2:' and typing 'boot' causes an abrupt
reboot. This seems to further indicate that the problem lies in the
drive assignment somewhere.

I have the hard disk attached to IDE#1 Primary. The ATAPI CDROM is
attached to IDE#2 Slave.

I can't boot from floppies and try to install from the CD because I
get a read error with kern.flp (that was dd'd or fdimage'd).

I've never encountered problems so early in the installation process
before.

Any help in solving this nightmare is appreciated.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I install packages only for my release?

2003-11-21 Thread Matthew Seaman
On Fri, Nov 21, 2003 at 12:53:49AM -0800, Rahul Fernandez wrote:
> Hi, I shall certainly try installing a port instead. I am rather new
> to FreeBSD and am unclear as to how I can obtain new packages. When I
> run sysinstall, it does not offer new packages. Does that mean that
> the new packages are not meant to be installed? Or is it the case
> that I need to reconfigure it so that it looks in the correct place?
> If the latter, does sysinstall or pkg_add know to deleter the old
> version before installing the new one. Thanks for the replies. -Rahul

The secret is that once you've installed the system, put away
sysinstall(1).  Learn how to use the system level commands for
installing packages -- particularly pkg_add(1).  Even better, use the
ports tree.  This may sound terrifying to the uninitiated: "what, you
mean I should compile all this stuff from source?!" but that's the
beauty of the ports system.  It reduces doing all that right down to
typing "make install" in the appropriate directory.  It's all
explained in the Handbook:

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

While you're there, read about the two essential packages for managing
your system: cvsup(1) and portupgrade(1) (use
http://www.freebsd.org/cgi/man.cgi if you haven't already installed
those ports) and then congratulate yourself in choosing (IMHO) the
most maintainable computer system available bar none.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: FreeBSD beside WinXP

2003-11-21 Thread ogautherot

Kent Stewart écrit:

> If you want to pass large files, you need something you can write to
> from FreeBSD. You can read but not write to NTFS. I have a number of
> multi-boot machines and I almost always have that much in one partition
> that is FAT32.

To solve the problem, I loaded WinXP in a FAT32 partition, which I
incidently use as a temporary storage between systems when necessary.
This way, I have only 1 MS partition...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hostnames and interfaces

2003-11-21 Thread Matthew Seaman
On Fri, Nov 21, 2003 at 12:17:30PM +1100, paul van den bergen wrote:

> I first encountered networking in CISCO land... where IP addresses and host 
> names seem to be associated...
> 
> what is the freeBSD way?  AFAICS, a machine has a defined name regardless of 
> howmany interfaces it has.  if one splits the world up into hosts (one 
> interface) and routers (multiple interfaces) can one define multiple 
> hostnames?
> 
> to expand on this, there is a potential many to many relationship here between 
> host names and IP addresses (strickly speaking that is what dns etc sees?)
> 
> how dose BSD define this? how does one define this using BSD?

Good question.  Yes, this can be a problem with a multi-homed host:
not really in any functional sense, but for organizational purposes.

Any machine will have a hostname -- that is the name which gets
printed in shell prompts and that the system uses by default to
identify itself for such services as SMTP servers, LDAP, NIS, HTTP
etc.  The hostname is set by (surprise, surprise) the hostname(1)
command using the data from /etc/rc.conf.  This is generally recorded
in /etc/hostnames, possibly with the names of various other local
machines around the place because that's the one lookup system that's
always available even when the network isn't up. But /etc/hostnames
doesn't have to be used at all: I generally prefer to have the DNS be
*the* unique data source for this sort of thing, so my /etc/hostnames
files are pretty skeletal.

Relying on the DNS leads to the use of hierarchical domain names and
yet another religious argument: if the FQDN is 'foo.example.com' do
you set the hostname to just 'foo' or do you use the fully qualified
domain name as the hostname?  The problem with using just 'foo' is
that there is no general mechanism for telling the system what the
rest -- the 'network part' of the name -- should be.[1] As good
sys-admins we should be allergic even to the possibility of things
going horribly wrong, and using the FQDN as the hostname closes off
several potential trouble spots.

However using the hostname as the default for all of the various
services is generally only a convention. Those services can usually be
configured to use whatever names you may imagine: role based names
(www.example.com) are fairly common -- which is useful if you need to
swap out machines for maintenance as you can just switch the role-name
to an alternative server fairly simply.  This also allows you to run
'virtual' servers: multiple instances of the same service on one
machine.

Since these services are generally networked based, they have to have
an IP number associated with them: most of the time a CNAME record in
the DNS will do, but some things like SMTP MXes or HTTPS virtual hosts
need "real" A records.

Now, most of this discussion has implicitly assumed that we're using a
machine with a single network interface and just one IP number.  For a
big server, that's probably not going to be the case -- there may well
be several IP numbers configured on a single interface (have to do
this for eg. hosting multiple HTTPS virtual hosts on one machine) or
several network interfaces, either to provide redundancy against
failure of network kit or to allow the machine to have direct
connections to several physical networks.

In this case, it's perfectly reasonable to have all of:

* the machine hostname as an A record configured in the DNS to
  return a list of all of the interface IP numbers, and
  corresponding PTR records.

* individual domain names as A records that resolve to each of the
  IP numbers on the interfaces, or to the principal address on
  each interface, or to per-network IP numbers, and corresponding
  PTR records: together with the above, this means that looking up
  the IP number can return several hostnames.

* role based names that can include all combinations of all of the
  above, either as A+PTR combinations or as CNAMES.

Having several host names resolving to the same IP number is not a
problem.  Of course, being good DNS admins we will set up PTR records
to do the inverse lookups.  Personally I feel that having PTR records
that return several domain names is perfectly valid, but there's various
old documentation that insists the sky will fall if you do things like
that.[2]

In summary the whole relationship between host and domain names and IP
numbers is defined by whatever works for you...

Cheers,

Matthew

[1] There was for a long time a confusion between the NIS domain name
and DNS based names, especially on Solaris machines. However NIS and
DNS are separate systems and don't have to use the same domain
structure at all.  Nowadays LDAP is taking over from NIS, and again
this has it's own hierarchical structure although one increasingly
popular layout is to mimic the DNS hierarchy.  The default domain or
search path in /etc/resolv.conf is sort of going in the right
direction, but there's no rule

No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Rahul Fernandez
Hi, I have set up my sound card and am able to hear sound through it
when playing mp3 files with xmms. I have the cd plugin for xmms and
have, I believe, correctly configured it. The songs on the cd appear
in the xmms playlist and a song appears to be playing but I hear
nothing. I have checked the mixer levels with aumix and everything
seems fine. I have also tried to play a cd using cdcontrol. Again,
the cd drive appears to be playing but I hear nothing. The cd player
works works fine under linux and windows. If it is relevant, it is a
dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would
be most appreciated! Thanks, Rahul

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Restricting SSH access to only a users home directory.....

2003-11-21 Thread shrikant

Hi there ,

 Can any body tell me how i can restrict an user SSH  to his own home directory .
 I am using FreeBSD OpenSSH_2.9 FreeBSD  SSH protocols 1.5/2.0 .

 Any links or  help will be appriciated

Shrikant



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


Re: Can I install packages only for my release?

2003-11-21 Thread Rahul Fernandez
Hi, I shall certainly try installing a port instead. I am rather new
to FreeBSD and am unclear as to how I can obtain new packages. When I
run sysinstall, it does not offer new packages. Does that mean that
the new packages are not meant to be installed? Or is it the case
that I need to reconfigure it so that it looks in the correct place?
If the latter, does sysinstall or pkg_add know to deleter the old
version before installing the new one. Thanks for the replies. -Rahul
--- paul beard <[EMAIL PROTECTED]> wrote:
> 
> On Nov 20, 2003, at 5:06 PM, Rahul Fernandez wrote:
> 
> > Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is
> > installed. I now would like to upgrade to hpijs-1.5. However,
> this
> > package is only available in 4.9-stable. Can I install the
> package
> > from 4.9-stable or is it advisable to stick to the packages in my
> > release?
> 
> why not install it from a port? I use packages as a last resort,
> and go 
> with ports first.
> 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I set a password from STDIN?

2003-11-21 Thread Jonathan Chen
On Fri, Nov 21, 2003 at 06:42:54AM +0200, Lefteris Tsintjelis wrote:
> Hi,
> 
> Would anyone know how can I set or change a password from STDIN? Neither
> passwd or pw seem to accept STDIN.

Use the -h 0 option for pw(8). Check the man pages for more details.
-- 
Jonathan Chen <[EMAIL PROTECTED]>

"We laugh in the face of danger, we drop icecubes down the vest of fear"
 - Edmond Blackadder III
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hostnames and interfaces

2003-11-21 Thread Rob
My non-technical understanding:

* A BSD system has a fully qualified domain name that is set and
retrieved by the hostname(1) command. This is normally defined in
/etc/rc.conf and considered the 'true name' of the system. If this name
does not resolve to an IP address, many network services will complain
(such as sendmail). If this IP address is not configured on an interface
on the system, many things will get confused (such as routing).

* You can also configure other interfaces, either on extra network cards
or using the alias option of ifconfig(8). These interfaces should have
different IP addresses, and names are optional (but convenient).

* Any IP address can have extra names, either in /etc/hosts or on a
nameserver. The 'canonical' name should probably come first.

Your average BSD system will have 1 hostname that resolves to 1 address
configured on its single network interface. The /etc/hosts file will map
this address to the FQ hostname, and probably also to the short version
for convenience.

It will also have the name localhost, resolving to 127.0.0.1 and
configured on lo0, again using /etc/hosts for resolution.

Anything beyond that is up to you...

- Original Message -
From: "paul van den bergen" <[EMAIL PROTECTED]>
Subject: hostnames and interfaces


> hey all,
> I first encountered networking in CISCO land... where IP addresses and
host
> names seem to be associated...
>
> what is the freeBSD way?  AFAICS, a machine has a defined name
regardless of
> howmany interfaces it has.  if one splits the world up into hosts (one
> interface) and routers (multiple interfaces) can one define multiple
> hostnames?
>
> to expand on this, there is a potential many to many relationship here
between
> host names and IP addresses (strickly speaking that is what dns etc
sees?)
>
> how dose BSD define this? how does one define this using BSD?
>
>
> --
> Dr Paul van den Bergen
> Centre for Advanced Internet Architectures
> caia.swin.edu.au
> [EMAIL PROTECTED]
> IM:bulwynkl2002
> "And some run up hill and down dale, knapping the chucky stones
> to pieces wi' hammers, like so many road makers run daft.
> They say it is to see how the world was made."
> Sir Walter Scott, St. Ronan's Well 1824
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940) (a solution)

2003-11-21 Thread Kürşad Yusuf KONUŞ
I know there is no support 3c940 nic with FreeBSD 5.1 version. But
it is added later. I look at the CVS. In FreeBSD 5.1 the driver version
of the sk is 1.59 (if_sk.c). But 3c940 support added to sk with version
1.65. So i take the 1.65.
then i put these files to kernel and i compile itl. Now i am happy with
my 3c940 on FreeBSD 5.1.

you can download if_sk.c  1.65 version from
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_sk.c . But it
depend to 2 other files (if_skreg.h and yukonreg.h) so you must download
they also.

Steps
---
   (+)download if_sk.c version 1.65 ->
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_sk.c?rev=1.64&content-type=text/plain

(+)download if_skreg.h version 1.16 ->
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_skreg.h?rev=1.16&content-type=text/plain

(+)download yukonreg.h version 1.1 ->
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/yukonreg.h?rev=1.1&content-type=text/plain

   (+) backup your orginal files which are in /usr/src/sys/pci/
mv  /usr/src/sys/pci/if_sk.c /usr/src/sys/pci/if_sk.c.orig
mv  /usr/src/sys/pci/if_skreg.c /usr/src/sys/pci/if_skreg.h.orig

mv  /usr/src/sys/pci/yukonreg.h /usr/src/sys/pci/yukonreg.h.orig

(+) copy your downloaded files to /usr/src/sys/pci/
cd
/floppy/ #I
guess that
cp if_sk.c if_skreg.h yukonreg.h /usr/src/sys/pci/

(+) Now you can compile kernel
cd /usr/src/sys/i386/conf/
config GENERIC
cd ../compile/GENERIC
make depend
make
make install

(+) reboot the system
reboot
(+) if everything ok you can see your sk driver with 3c940


Kürşad Yusuf KONUŞ

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


Re: Which webmail

2003-11-21 Thread Matthew Faircliff
Hello,

Me too. Squirrelmail using courier IMAP does the trick nicely. And
fast too!

Matt.

On Wed, Nov 19, 2003 at 05:34:36PM +, Jake Stride wrote:
Date: Wed, 19 Nov 2003 17:34:36 +
To: "Vince Hoffman" <[EMAIL PROTECTED]>
From: Jake Stride <[EMAIL PROTECTED]>
X-Mailer: Apple Mail (2.552)
Cc: [EMAIL PROTECTED]
Subject: Re: Which webmail


On Wednesday, Nov 19, 2003, at 17:27 Europe/London, Vince Hoffman wrote:

>Hi all,
>
>I'm considering installing a webmail system on one of my 
>machines. Its internet facing, so i'd prefer security over features if 
>its an issue. The machine in question is running 4.8, uw-imap, postfix 
>and apache 2.0.47
>
>Does anyone have any suggestions, experience they would like to share ?
>
>Thanks.
>
>Vince
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"[EMAIL PROTECTED]"
>
I'd have to say Squirrel Mail

http://www.squirrelmail.org/

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



pgp0.pgp
Description: PGP signature


Installation : CD drive not detected

2003-11-21 Thread sundeep.puliccott

Hi all,
I am trying to install the FreeBSD 4.8 Release on a i386 m/c.
I have burnt the iso images onto a CD.

My problem
The m/c boots uncompressing the kernel and takes me thru the
menu. While choosing the installation Media I get the message
"No CD/DVD devices found"

while searching on the web I found one mail which mentioned problems
with FreeBSD and ATA, ATAPI.
The workaround provided was where in has to
set hw.ata.ata_dma="1"
set hw.ata.atapi_dma="1"

but  still I could not choose the CD as the installation media?

Need help in getting around this problem

-sundeep



Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


<    1   2