Re: Freebsd Stable documentation

2005-12-11 Thread Mark Kirkwood

vizion wrote:
Thiis was originally 
Upgrading 5.3 > 6.0 buildworld failure now in libmagic

And on Mike Shultz recommendation I have relabeled the topic

(mass snippage) 



I have not tried to upgrade directly from 5.3 -> 6.0 (however, I did do 
5.4 -> early 6-current a few months ago, so this is topic of interest 
for me).


I guess I would recommend doing this:

1) Work out how to successfully perform the upgrade (using help from 
this list).


2) Note what changes are needed to the upgrading section of the 
Handbook, patch the src SGML, and submit said patch to freebsd-doc.


I should add that I have not actually tried this plan myself - however I 
have been involved in a similar sort of thing with Postgresql - their 
docs list guys were very receptive to some patches I submitted. I 
suspect the Freebsd folks would be too.


Cheers

Mark

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


Toshiba 8100 Fix (was Re: 5.4-STABLE changes breaks IDE boot (was Re: 5.3 -> 5.4 breaks ATA (Intel ICH2))

2005-12-11 Thread Michael L. Squires
I have a Toshiba 8100 notebook which runs 5.4-STABLE.  Kernels compiled 
after some time in September 2005 fail to boot; the machine locks up right 
after the ata controller is called in the boot messages.


I have traced the problem to a change to /usr/src/sys/dev/pci.c, (see 
below from my cvsup log).  I found the problem by cvsup'ing /usr/src for 
dates starting with my last working kernel and once I had the date of 
problem code tied down to a couple of days adding in each update to see if 
it caused the failure to boot.  I then added the fix to the latest 5.4 
sources to make sure that the fix still worked.


The problem (really the Toshiba 8100 BIOS problem) was 
triggered by:


 Edit src/sys/dev/pci/pci.c
  Add delta 1.264.2.12 2005.09.05.18.09.20 imp

which changes line 835 of pci.c from

if (base == 0)
to
if (base == 0 || map == testval)

The sysctl parameter "hw.pci.enable_io_modes" is supposed to allow PCs 
with "lazy" BIOSes to boot, but in the case of the 8100 setting


hw.pci.enable_io_modes: 0

doesn't allow the system to boot.

This is obviously a problem with the Toshiba BIOS, which I know from other 
times has other problems; I am putting this here in case someone else has 
the same problem and wants to boot FreeBSD 5.4-STABLE with a kernel 
revision after 9/5/2005.


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


puc fails to attach serial ports

2005-12-11 Thread Gavin Atkinson


Hi,

I'm trying to use puc(4) under RELENG_6 to attach the two serial ports on 
a PCI card I have, but it's not working.  It also fails under 6.0-RELEASE, 
I don't have the ability to test earlier versions.


The card is developed, but as far as I can see, no attempt is made to 
attach the sio(4) devices below it.


puc0:  port 0x18c0-0x18df irq 25 at device 9.0 on pci0
puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0x18c0
port rid 16 bst 0, start 18c0, end 18df
puc0: i 0, type sio, ressz 8, type 1
puc: Using sio2
puc: type 1, bar 10, offset 0
puc0: i 1, type sio, ressz 8, type 1
puc: Using sio3
puc: type 1, bar 10, offset 8

Adding some printfs to the code, it turns out that device_probe_and_attach 
around line 375 of sys/dev/puc/puc.c is returning 6.


I have also added printfs to the probe and attach code of both the pci and 
puc attachments of sio(4), and have determined that none of them get 
called.


How can I further diagnose why this card is not getting recognised?

Thanks,

Gavin

--
"Experience is directly proportional to the value of equipment destroyed."
 -- Carolyn Scheppner
- Gavin Atkinson  -  General layabout  -  University Radio York -
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Bigger, harder, and longer - lasting results NOW with a discreet little patch.

2005-12-11 Thread Bridget Lopez
ADD 3+ inches today - don't get left behind
http://www.kurevalw.net/pt/



Life is a zoo in a jungle.  
Fishing is a delusion entirely surrounded by liars in old clothes.  
If I've done anything I'm sorry for, I'm willing to be forgiven. 
Talk sense to a fool and he calls you foolish.   
Do not envy a sinner; you don't know what disaster awaits him. 


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