Re: SimpleTech USB HDD driver

2003-09-25 Thread Peter Jeremy
On Wed, Sep 24, 2003 at 11:38:59PM +0100, Scott Mitchell wrote:
No idea why both 6 byte and 10 byte commands exist.  No doubt someone out
there knows the historical background to it all.

If my memory serves correctly, SCSI started off as SASI - developed
by Shugart Associates for some marketing reason or other.  It met a
need and was clean enough that other vendors started supporting it.
Eventually, ANSI standardised it.  It was never designed to be a
future-proof storage interface that would underpin the world's low
to mid-range server market.

In the beginning there were 6-byte commands.  These were limited to
21-bit block numbers but since no-one would ever have devices with
more than 2^21 blocks (typically 1GB) there was no need to allow for
a larger block number - which would make the command larger and slower
to transfer to the target.

Of course the first people to experiment with large (1GB) disks
discovered a fairly serious disadvantage of 6-byte commands when the
top bit of the block number got lopped off and the outside tracks of
the disk (boot-block, primary or only superblock etc) got over-written
by data intended for the inside tracks.

10-byte commands were therefore introduced.  These extended the block
number to 32 bits and allowed a larger transfer size as well.  And
the limits of 32-bit block numbers are now being reached and longer
commands have been defined to allow for bigger storage devices.

6-byte commands still have an advantage for transfers that fit within
their limits (block number and transfer size) - they are smaller and
therefore faster to transfer.  SCSI commands (and command responses)
must be transferred asynchronously and USB 1.x is fairly slow so the
less data to transfer the better.

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


Re: PCI bridges interrupts

2003-09-25 Thread Bernd Walter
On Wed, Sep 24, 2003 at 06:17:43PM -0400, John Baldwin wrote:
 
 On 24-Sep-2003 M. Warner Losh wrote:
  You might want to make sure that you have an up to date stable.  There
  was a fix to the PCI bridge interrupt swizzle.
 
 Ah yes, that's true.  However, it doesn't seem that his interrupt is
 being routed, but I could be wrong.  Also, there is another bug in the
 $PIR handling that I committed at BSDCon that also might fix the
 problem.

Is your $PIR fix for the everthing gets IRQ4 case?

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

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


Re: VIA EPIA-M10000 board just works with FreeBSD 4.8

2003-09-25 Thread Andrew Gallatin

Clifton Royston writes:
For anyone who's interested, I've been running FreeBSD 4.8 on the
  EPIA-1M mini-ITX for at least a couple months now; it's available

Cool!  Have you measured the power consumption? 

I'm looking for a low power consumption, 'always on' box for my home
office, and have had bad luck with packaged appliances for things like
ipsec.  It would be great to have a real computer for not much more
power consumption than one of these appliances..

Drew




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


Re: VIA EPIA-M10000 board just works with FreeBSD 4.8

2003-09-25 Thread lemon
Clifton Royston wrote:
  For anyone who's interested, I've been running FreeBSD 4.8 on the
EPIA-1M mini-ITX for at least a couple months now; it's available
for as little as $160 with CPU + motherboard + case + p/s bought
integrated as the FIC Falcon CR53, and there's a surprising amount of
I/O integrated onboard.  For anybody who's looking to build cheap but
reasonably powerful servers or desktop machines, this looks like a
winner.
seconded - i'm hugely chuffed with mine, it runs really quiet.

  I haven't run any real benchmarks, but in terms of feel it might be
equivalent to maybe a 500-600MHz PIII.  The total server parts list ran
about $350 with shipping, including 7200rpm IDE drive and a 2nd 100BT
card (Linksys LNE100TX.) I haven't tried X or the sound capabilities so
I'm not sure how suitable it would be for a desktop; I also haven't
tested whether the IEEE-1394 would work under FreeBSD.  For a low-end
server, though, it's pretty nice, and moderately quiet too.
XFree86 is ok under x11-servers/XFree86-4-Server-snap's via code. 
general desktop performance is fine. sound works too, y'normal pcm(4).

i've had no joy using the integrated castlerock mpeg2 decoder in the 
graphics chipset, and indeed mplayer threw a hissy fit with it. given 
the youth of the X stuff, this is likely to get better.

  The motherboard includes integrated CPU, 1 DDR slot, 4 USB, 2 serial,
1 parallel I/O, 2 IEEE-1394, floppy port, dual IDE, SVGA out + SVHS TV
out, 10/100 LAN, and 1 PCI.  The IDE interface works at ATA133 under
FreeBSD 4.8; the VIA/Realtek ethernet is recognized as vr0.  The CPU
integrated on the motherboard is a 1GHz VIA C3, an IDT descendant - the
newer Nehemiah core which is claimed to have better instructions per
clock than the older VIA cores.
  Matt Dillon posted about the earlier EPIA boards a while back, so I
thought I'd add a note that this one also works well.
  -- Clifton, not a VIA salesrep

me neither!

Andrew Gallatin wrote:
 Clifton Royston writes:
 For anyone who's interested, I've been running FreeBSD 4.8 on the
   EPIA-1M mini-ITX for at least a couple months now; it's
   available

 Cool!  Have you measured the power consumption?
if i find a suitable gizmo, i'll do so :)

cheers, l.

--
[EMAIL PROTECTED]   +44 020 8742 0755   http://www.aldigital.co.uk/
system administrivia c6 h8 o7  http://www.thebunker.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VIA EPIA-M10000 board just works with FreeBSD 4.8

2003-09-25 Thread Clifton Royston
On Thu, Sep 25, 2003 at 09:55:53AM -0400, Andrew Gallatin wrote:
 
 Clifton Royston writes:
 For anyone who's interested, I've been running FreeBSD 4.8 on the
   EPIA-1M mini-ITX for at least a couple months now; it's available
 
 Cool!  Have you measured the power consumption? 
 
  Sorry, I don't have an ammeter handy.  It'll also vary a lot as to
what peripherals are loaded into it; I'm sure the IDE hard drive is
contributing significantly.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
Did you ever fly a kite in bed?  Did you ever walk with ten cats on your head?
  Did you ever milk this kind of cow?  Well we can do it.  We know how.
If you never did, you should.  These things are fun, and fun is good.
 -- Dr. Seuss
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PCI bridges interrupts

2003-09-25 Thread John Baldwin

On 25-Sep-2003 Bernd Walter wrote:
 On Wed, Sep 24, 2003 at 06:17:43PM -0400, John Baldwin wrote:
 
 On 24-Sep-2003 M. Warner Losh wrote:
  You might want to make sure that you have an up to date stable.  There
  was a fix to the PCI bridge interrupt swizzle.
 
 Ah yes, that's true.  However, it doesn't seem that his interrupt is
 being routed, but I could be wrong.  Also, there is another bug in the
 $PIR handling that I committed at BSDCon that also might fix the
 problem.
 
 Is your $PIR fix for the everthing gets IRQ4 case?

Well, when using 'pci_cfgintr_linked' we would get things wrong.

 lcvs diff -u -kk -r1.104 -r1.105 pci_cfgreg.c 
Index: pci_cfgreg.c
===
RCS file: /usr/cvs/src/sys/i386/pci/pci_cfgreg.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- pci_cfgreg.c2 Aug 2003 05:14:17 -   1.104
+++ pci_cfgreg.c10 Sep 2003 06:00:53 -  1.105
@@ -445,7 +445,7 @@
 * table entry 
 */
irq = pci_cfgintr_search(pe, oe-pe_bus, oe-pe_device,
-   j, pin);
+   j + 1, pin);
if (irq != PCI_INVALID_IRQ)
return(irq);
}

-- 

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]


installation panic

2003-09-25 Thread Mohamed Shahil Mooradun
Hi,

Thank you for reading this email.
I have been trying to install FBSD on my advent laptop 7018 (see 
specification below)
It came package with XP home.
Well I used Partition Magic 8 to create a partition before C drive. 
Well I created it as primary unformatted.
So FBSD boot can use the space before the 1,024 cylinder. When I set 
the unformatted partition active ready for install then I boot from my 
FBSD CD well there seem to be a kernel panic. It keeps on going in 
circle rebooting several times.

Please tell em if there is a possibility of installing FBSD on this 
hardware or I am trying to do the impossible. Maybe I need to install 
FBSD clean on the whole drive. Then create the slice an reinstall XP. 
But I'd rather not do that ,too many data to back up. try with moving 
and creating the partition first with PM8. FIPS won't work on XP anyway 
so i'm stuck @ the moment.

This section read only if you want to :
Now I am keeping the microsuck OS because I need it for my course work 
and also until i get all the hardware to function under FBSD example 
WI-FI Lan.
I like challenge and experimental learning and I think FBSD OS has a 
lot to go for. I like to get down to technical. Maybe in the future I 
will have to do some system administration in my line of duty I was 
going for Linux [RedHat 9.0]. However FBSD can emulate linux and run 
ported applications.
 I'm a newbie to Unix and I hate microsuck. But have a long time 
macintosh experience user. Well the latest OS X Darwin has its origin 
from FBSD. OS X is unix based. Well when I start looking under the hood 
of OSX well my unix interest has grown a lot. I decided that I should 
run FBSD on my wintel machine because I was getting tired of microsuck.

CPU Intel 
Pentium 4-M 2.00 GHz
Memory512 MB DDR 
SODIMM
Hard Drive   60 GB Fujitsu 
MHS2060AT
CD / DVD Drive   8x 8x 8x 24x 
Matshita CW-8121 DVD ROM/CDRW combination drive
Floppy Drive Floppy disk 
drive
Monitor 15 widescreen TFT   (native resolution 1280x854)
Video / Graphics Card nVidia GeForce 4 
440 GO (64 MB)
Sound Card  Realtek AC97 
audio
Network Card  Realtek 8139 / 
180X (Onboard)
Network Card   Intersil Prism 
wireless LAN PCI card
PC Card   1 x Type I / 
Type II PC Card
Ports Advent 7018 ports
Case Advent 70xx series case information
Battery Lithium-ion battery
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem booting 4.9beta - usb

2003-09-25 Thread Paulo Roberto
When I boot 4.9beta, the system freezes during usb detection if there
is *any* (mouse, camera) device attached to it. If I remove all
devices, the system boots normally.
The same did not happen with 4.8.

Paulo

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BUS DMA sync

2003-09-25 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Vincent Jardin [EMAIL PROTECTED] writes:
: What's about PREREAD ? What kind of CPU synchronization is required prior a 
: DMA read ? There is no cache during a device to host memory process, isn't it 
: ?

There is on MIPS.

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


Request For Help: KSE for sparc64 and alpha

2003-09-25 Thread Scott Long
All,

Time is winding down for the 5.2 development cycle, and one thing that
we are missing is KSE support on sparc64 and alpha.  We would dearly
like to have KSE supported on all platforms for the release, so we are
asking for help.  Sparc64 is missing some userland pieces, and alpha is
missing some kernel pieces.  Anyone interested in helping should contact
Dan Eischen [EMAIL PROTECTED] and David Xu [EMAIL PROTECTED]
for more information (and also contact Jake Burkholder
[EMAIL PROTECTED] for sparc64).
Thanks!

Scott Long
The Release Engineering Team
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]