History log of /freebsd/sys/geom/geom_disk.c (Results 251 – 275 of 374)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d4116af4 26-May-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Give the closet-dev_t we hand to the diskdrivers a name.


# 3abe4a80 21-May-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Remove the "-class" suffix from classes, they will not be ambiguous.

Sponsored by: DARPA & NAI Labs.


# 95c24b31 19-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Make kernel dumps work with GEOM.

Notice that if the device on which the dump is set is destroyed for
any reason, the dump setting is lost. This in particular will
happen in the case of spoilage.

Make kernel dumps work with GEOM.

Notice that if the device on which the dump is set is destroyed for
any reason, the dump setting is lost. This in particular will
happen in the case of spoilage. For instance if you set dump on
ad0s1b and open ad0 for writing, ad0s* will be spoilt and the dump
setting lost. See geom(4) for more about spoiling.

Sponsored by: DARPA & NAI Labs.

show more ...


# 1bdb20a6 09-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start
of the device magic stuff might occupy.

Sponsored by: DARPA & NAI Labs.


# 1265c0ce 08-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

In reverence of the 3rd X11 development rule:

3.The only thing worse than generalizing from one example
is generalizing from no examples at all.

Remove the fwcylinders attribute before anybody ge

In reverence of the 3rd X11 development rule:

3.The only thing worse than generalizing from one example
is generalizing from no examples at all.

Remove the fwcylinders attribute before anybody gets the idea that we
alone have squared the circle.

Sponsored by: DARPA & NAI Labs.

show more ...


# 2fccec19 04-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Centralize EOF handling and improve access controls for bio scheduling.

Sponsored by: DARPA & NAI Labs


# 07d77fc6 04-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Move access and orphan member functions from class to geom.

Sponsored by: DARPA & NAI Labs


# 05660ba8 02-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Initialize a field to cater for ata-raid


# 81661c94 01-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Here follows the new kernel dumping infrastructure.

Caveats:

The new savecore program is not complete in the sense that it emulates
enough of the old savecores features to do the job, but implement

Here follows the new kernel dumping infrastructure.

Caveats:

The new savecore program is not complete in the sense that it emulates
enough of the old savecores features to do the job, but implements none
of the options yet.

I would appreciate if a userland hacker could help me out getting savecore
to do what we want it to do from a users point of view, compression,
email-notification, space reservation etc etc. (send me email if
you are interested).

Currently, savecore will scan all devices marked as "swap" or "dump" in
/etc/fstab _or_ any devices specified on the command-line.

All architectures but i386 lack an implementation of dumpsys(), but
looking at the i386 version it should be trivial for anybody familiar
with the platform(s) to provide this function.

Documentation is quite sparse at this time, more to come.

Details:

ATA and SCSI drivers should work as the dump formatting code has been
removed. The IDA, TWE and AAC have not yet been converted.

Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set
the device as dumpdev. To implement the "off" argument, /dev/null
is used as the device.

Savecore will fail if handed any options since they are not (yet)
implemented. All devices marked "dump" or "swap" in /etc/fstab
will be scanned and dumps found will be saved to diskfiles
named from the MD5 hash of the header record. The header record
is dumped in readable format in the .info file. The kernel
is not saved. Only complete dumps will be saved.

All maintainer rights for this code are disclaimed: feel free to
improve and extend.

Sponsored by: DARPA, NAI Labs

show more ...


# e805e8f0 26-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Cave in to tradition and rename "methods" to "classes".


# a5b2e75d 16-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Add a generic and general ioctl pass-through mechanism.

It should now be posible to issue ioctls to SCSI CD drives.


# dd84a43c 11-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

First commit of the GEOM subsystem to make it easier for people to
test and play with this.

This is not yet production quality and should be run only on dedicated
test boxes.

For people who want to

First commit of the GEOM subsystem to make it easier for people to
test and play with this.

This is not yet production quality and should be run only on dedicated
test boxes.

For people who want to develop transformations for GEOM there exist a
set of shims to run geom in userland (ask phk@freebsd.org).

Reports of all kinds to: phk@freebsd.org
Please include in report:
dmesg
sysctl debug.geomdot
sysctl debug.geomconf

Known significant limitations:
no kernel dump facility.
ioctls severely restricted.

Sponsored by: DARPA, NAI Labs

show more ...


# cbd59a4f 08-Sep-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC from head@196987


# e93f5e4d 04-Sep-2009 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Simplify g_disk_ident_adjust() function and allow any printable character
in serial number.

Discussed with: trasz
Obtained from: Wheel Sp. z o.o. (http://www.wheel.pl)


Revision tags: release/7.2.0_cvs, release/7.2.0
# 853a10a5 10-Apr-2009 Andrew Thompson <thompsa@FreeBSD.org>

Revert r190676,190677

The geom and CAM changes for root_hold are the wrong solution for USB design
quirks.

Requested by: scottl


# 31da42ba 03-Apr-2009 Andrew Thompson <thompsa@FreeBSD.org>

Add interleaving root hold tokens from the CAM probe to disk_create and geom
provider tasting. This is needed for disk attachments that happen after threads
are running in the boot process.

Tested b

Add interleaving root hold tokens from the CAM probe to disk_create and geom
provider tasting. This is needed for disk attachments that happen after threads
are running in the boot process.

Tested by: rnoland

show more ...


Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# f5dfdb51 31-Oct-2008 Konstantin Belousov <kib@FreeBSD.org>

Revert r184136. Instead, push the check for crashdumpmap overflow into the
MD i386 and amd64 dump code.

Requested by: jhb
Retested by: pho
MFC after: 3 days (+ 176304 + 184136)


# 7a882637 21-Oct-2008 Konstantin Belousov <kib@FreeBSD.org>

Do not overflow crashdumpmap.

Reported and tested by: pho
Reviewed by: jhb
MFC after: 1 week


# 2616144e 09-Aug-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Add sbuf_new_auto as a shortcut for the very common case of creating a
completely dynamic sbuf.

Obtained from: Varnish
MFC after: 2 weeks


Revision tags: release/7.0.0_cvs, release/7.0.0
# 7bbd40c5 15-Feb-2008 Scott Long <scottl@FreeBSD.org>

Teach the dump and minidump code to respect the maxioszie attribute of
the disk; the hard-coded assumption of 64K doesn't work in all cases.


Revision tags: release/6.3.0_cvs, release/6.3.0
# 48878003 05-May-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Allow to use ':' in d_ident, which is quite handy character.


# 5e16a486 05-May-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Because there are many strange hardware out there, allow to use only
[a-zA-Z0-9-_@#%.] characters in d_ident field.


# d0c11f9e 05-May-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Extend disk structure to allow to store disk's serial number, which can be
retrieved via GEOM::ident attribute.
- Bump disk(9) ABI version.

OK'ed by: phk


# 55fe33a3 21-Feb-2007 Nick Hibma <n_hibma@FreeBSD.org>

Reduce the noise when plugging in (USB) mass storage devices, like a 4 port
flash card reader.
Also remove an 'Opened da0 -> <random number>' which is not needed on a daily
basis (available through b

Reduce the noise when plugging in (USB) mass storage devices, like a 4 port
flash card reader.
Also remove an 'Opened da0 -> <random number>' which is not needed on a daily
basis (available through bootverbose).

Reviewed by: phk, ken
MFC after: 1 week

show more ...


Revision tags: release/6.2.0_cvs, release/6.2.0
# 1d2aee20 31-Oct-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Add a new disk flag - DISKFLAG_CANFLUSHCACHE, which indicates that the disk
can handle BIO_FLUSH requests.

Sponsored by: home.pl


1...<<1112131415