AoE & driver tips
sah_at_coraid.com
Date: 07/28/04
- Previous message: Dag-Erling Smørgrav: "Re: [REVIEW] unit number allocation API"
- Next in thread: Scott Long: "Re: AoE & driver tips"
- Reply: Scott Long: "Re: AoE & driver tips"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 14:33:58 -0400 To: undisclosed-recipients: ;
Hello,
I'm in the process of writing a AoE disk/protocol driver for freebsd.
AoE (ATA over Ethernet) is used to access ATA devices attached directly to the Ethernet using the AoE registered Ethernet protocol type 0x88a2. I have already written a driver for linux 2.4 and 2.6 that makes AoE devices show up as local disks. I'm hoping to do the same for freebsd. I have some questions from my
initial perusal of the code.
I've been looking at the code in sys/dev/ata/ for tips on plugging into the disk device layer.
It appears that what I want is disk_create && disk_destroy. How is the parameter "unit" related
to device major & minor? I don't see anywhere where major and minor are related to the disk
structure, though perhaps I'm just missing it. Do I need to register a device major?
If a device fails or vanishes, can i just fail the outstanding bios and disk_destroy it?
How does freebsd do SMART on ata? I'd like to be able to plug into this as well
if the system uses it.
Any other tips/comments about gluing together the disk & network would be appreciated.
Cheers,
Sam
sah@coraid.com
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Dag-Erling Smørgrav: "Re: [REVIEW] unit number allocation API"
- Next in thread: Scott Long: "Re: AoE & driver tips"
- Reply: Scott Long: "Re: AoE & driver tips"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: some issues about partitions and boot manager in dual boot cases with Windows
... freeBSD edition. ... The first is installing on a disk that is completely
given to FreeBSD ... master, Windows 2000 or XP, and on the other, on the first partition,
the ... It requires its own slice. ... (freebsd-questions) - Machine doesnt boot after switching from Linux to FreeBSD
... I'm trying to switch a Linux system to FreeBSD. ... The full dmesg output that
I get after net-booting from the rescue disk ... <PLIP network interface>
on ppbus0 ... (no root path) ... (freebsd-questions) - RE: Cannot su or have root access after changing loader.conf
... Installing FreeBSD on large disk>2TB ... How I use sendmail
to send mail? ... (freebsd-questions) - FreeBSD 6.2-STABLE crash under moderate disk activity
... FreeBSD 6.2-RELEASE and 6.2-STABLE both repeatedly crash with moderate disk activity.
... The problem occurs with two different disk drives, ... <ACPI PCI bus>
on pcib0 ... 2 ports with 2 removable, ... (freebsd-stable) - Im confused...
... Is the installer for freeBSD 4.5 broken? ... planned to do is simply to install
it on another disk that I have ... In the middle of the screen was a list of partitions
for da0 ... (freebsd-questions)