Re: New computer....help wanted :-S

2004-08-31 Thread db
- Original Message - 
From: "M. Warner Losh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 4:36 AM
Subject: Re: New computerhelp wanted :-S


> This looks like some kind of resource problem:
> 
> : > 0xc800-0x8ff irq 22 at device 10.0 on pci1 rl0: reset never
> 
> 
> that's crazy man.  Is that really what it prints, or the the 'c'
> missing and it actually allocates:
> 
> 0xc800-0xc8ff irq 22 at device 10.0 on pci1

Ah sorry, yes the 'c' was missing, so 0xc800-0xc8ff is correct.

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


Re: New computer....help wanted :-S

2004-08-31 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
John Baldwin <[EMAIL PROTECTED]> writes:
: On Tuesday 31 August 2004 07:36 am, db wrote:
: > Hi
: >
: > Got my new computer with an Intel 915g MB and an Intel 3.0GHZ CPU. FreeBSD
: > can't find the onboard NIC, but nevermind I got a Rubytech gigabit NIC.
: > Sadly though, it can't find that either, so I tried my old 10/100 realtek
: > card, but it can't use it. So I have 3 NIC's in the computer, but 0
: > working. When I in BIOS set the OS PnP to yes, I get:
: 
: Set it to no.  FreeBSD 5 only sort of works with it set to yes.

What's the breakage?

: > pcib5  at device 30.0 on pci0
: > pcib5 device re0 requested unsupported I/O range 0x0-0x0 (decoding
: > 0x9000-0xafff) re0: couldn't map ports/memory
: > This is my gigabit card and it says the same about my rl0 (realtek).
: >
: > When I set OS PnP to no, I get:
: > rl0:  port 0xa400-0xa4ff mem
: > 0xc800-0x8ff irq 22 at device 10.0 on pci1 rl0: reset never
: > completed!
: > rl0: Ethernet address ff:ff:ff:ff:ff:ff
: > rl0: unknown device ID: 
: > device_probe_and_attach: rl0 attach returned 6
: > It doesn't say anything about re0.
: 
: Well, FreeBSD is still not able to talk to the card ok.  Not sure why, but PCI 
: express changes several things including how one talks to PCI cards, so the 
: fact that it is a PCI express chipset may break things enough for it not to 
: work right now.

This looks like some kind of resource problem:

: > 0xc800-0x8ff irq 22 at device 10.0 on pci1 rl0: reset never


that's crazy man.  Is that really what it prints, or the the 'c'
missing and it actually allocates:

0xc800-0xc8ff irq 22 at device 10.0 on pci1

which would make more sense.  Since it is behind a bridge, that might
also have some impact on as well.  That's what the pcib5 thing is
saying, I think.

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


Re: New computer....help wanted :-S

2004-08-31 Thread John Baldwin
On Tuesday 31 August 2004 07:36 am, db wrote:
> Hi
>
> Got my new computer with an Intel 915g MB and an Intel 3.0GHZ CPU. FreeBSD
> can't find the onboard NIC, but nevermind I got a Rubytech gigabit NIC.
> Sadly though, it can't find that either, so I tried my old 10/100 realtek
> card, but it can't use it. So I have 3 NIC's in the computer, but 0
> working. When I in BIOS set the OS PnP to yes, I get:

Set it to no.  FreeBSD 5 only sort of works with it set to yes.

> pcib5  at device 30.0 on pci0
> pcib5 device re0 requested unsupported I/O range 0x0-0x0 (decoding
> 0x9000-0xafff) re0: couldn't map ports/memory
> This is my gigabit card and it says the same about my rl0 (realtek).
>
> When I set OS PnP to no, I get:
> rl0:  port 0xa400-0xa4ff mem
> 0xc800-0x8ff irq 22 at device 10.0 on pci1 rl0: reset never
> completed!
> rl0: Ethernet address ff:ff:ff:ff:ff:ff
> rl0: unknown device ID: 
> device_probe_and_attach: rl0 attach returned 6
> It doesn't say anything about re0.

Well, FreeBSD is still not able to talk to the card ok.  Not sure why, but PCI 
express changes several things including how one talks to PCI cards, so the 
fact that it is a PCI express chipset may break things enough for it not to 
work right now.

-- 
John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Install problem

2004-08-31 Thread Michael Hollmann
hi
what kind of FreeBSD version did you use?
i have a toshiba notebook to, satellite 1100-z20.
i could run the setup at freebsd 5.0 or greater
regards, michael

calebsbc wrote:
Hi I have a Toshiba Dynabook PIII 240mb ram and 4ogb hdd with other tid
bits.
When I boot the laptop in FreeBSD to install (floppy for cd) it goes
past the first screen that does the count down and then boot the os but
when it gets to the usb0: loader it freezes. Is this a common problem
and is there a way around this. 
I tired to disable the USB module but to no avail.

Any help on this matter would be great.
Thanks
Caleb
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


--
Mit freundlichen Grüßen
Michael Hollmann
JAWA Management Software GmbH
A-8041 Graz, Liebenauer Hauptstraße 200
Tel:  ++43 (0)316 403274-13
Fax:  ++43 (0)316 403274-10
GSM:  ++43 (0)676 4101431
E-Mail: [EMAIL PROTECTED]
Web:  http://www.jawa.at/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Library (ab)use in kernel land

2004-08-31 Thread Mike Bristow
On Sat, Aug 28, 2004 at 01:40:50PM -0700, Brian O'Shea wrote:
> That being said, there are a few analogs of the standard C
> library functions in the kernel, such as printf, strcpy, bcmp,
> qsort, etc.  You can find sources for them in src/sys/libkern/
> with prototypes in the src/sys/sys/libkern.h and src/sys/sys/systm.h
> header files.

And manual pages in section 9 of the manual, eg:

$ man 9 printf

will give you the docs for the printf that you can call in kernelspace.


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


Re: probe ordering of interfaces

2004-08-31 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Barry Bouwsma <[EMAIL PROTECTED]> typed:
> [please drop me from replies and keep it on the list]
> Even more specifically, I have a drive that I either attach
> via firewire on one machine, or via USB on a different box.
> I wish this drive to always be da0.  I can connect it to a
> suitably ordered uhub slot in order to guarantee all other
> USB devices get da1-whatever.  However, it seems that umass
> devices get attached to da* before firewire.

You can do this in the config file. My 5.x box is down now, so I'll
quote from my 4.9 box with the same problem - a USB card reader that
turns up as da0 in the default scanning order. Here's the extract from
the config file that solves the problem:

# SCSI Controllers
device  ahc0# AHA2940 and onboard AIC7xxx devices
device  ahc # AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device  scbus0 at ahc0  # SCSI bus (required)
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)

scbus0 is scanned first. I wired it down to ahc0. The occurence of ahc
following ahc0 is because I have two ahc's in the box. The scbus
following scbus0 will cause the second ahc and the usb scbus's to be
found and scanned.

Camcontrol devlist looks like this:

   at scbus0 target 0 lun 0 (pass0,da0)
at scbus0 target 1 lun 0 (pass1,da1)
  at scbus0 target 3 lun 0 (pass2,da2)
at scbus0 target 4 lun 0 (pass3,cd0)
 at scbus1 target 0 lun 0 (pass4,da3)
 at scbus2 target 5 lun 0 (pass5,cd1)


As you can see, scsbus0 is the first ahc, scbus1 is the card reader,
and scbus2 is the second ahc.

  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


New computer....help wanted :-S

2004-08-31 Thread db
Hi

Got my new computer with an Intel 915g MB and an Intel 3.0GHZ CPU. FreeBSD can't find 
the onboard NIC, but nevermind I got a Rubytech gigabit NIC. Sadly though, it can't 
find that either, so I tried my old 10/100 realtek card, but it can't use it. So I 
have 3 NIC's in the computer, but 0 working. 
When I in BIOS set the OS PnP to yes, I get:

pcib5  at device 30.0 on pci0
pcib5 device re0 requested unsupported I/O range 0x0-0x0 (decoding 0x9000-0xafff)
re0: couldn't map ports/memory
This is my gigabit card and it says the same about my rl0 (realtek).

When I set OS PnP to no, I get:
rl0:  port 0xa400-0xa4ff mem 0xc800-0x8ff irq 22 at 
device 10.0 on pci1
rl0: reset never completed!
rl0: Ethernet address ff:ff:ff:ff:ff:ff
rl0: unknown device ID: 
device_probe_and_attach: rl0 attach returned 6
It doesn't say anything about re0.


So what is up with this? I know FreeBSD doesn't support pci express, but I haven't got 
any cards in any of the 2 pci express slots, so why all these problems? I haven't 
tried to find my onboard soundcard or graphics card, but I'm guessing it wouldn't be 
pretty :-(

Btw I'm running 5.2.1 (4.10 couldn't find the gigabit card) and I'm downloading 
5.3-BETA2 (hoping this will solve the problem).

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