* Re: Renaming lost+found
2001-01-28 21:35 ` H. Peter Anvin
@ 2001-01-28 21:41 ` Mo McKinlay
2001-01-28 21:56 ` Support for 802.11 cards? Mike Pontillo
2001-01-29 6:41 ` Renaming lost+found Mike Galbraith
2001-01-29 7:17 ` Andreas Dilger
2001-01-31 15:32 ` tytso
2 siblings, 2 replies; 22+ messages in thread
From: Mo McKinlay @ 2001-01-28 21:41 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Today, H. Peter Anvin (hpa@zytor.com) wrote:
> Hello people... the original question was: can lost+found be
> *renamed*, i.e. does the tools (e2fsck &c) use "/lost+found" by name,
> or by inode? As far as I know it always uses the same inode number
> (11), but I don't know if that is anywhere enforced.
I seem to recall e2fsck complaining when I renamed lost+found, but that
may well be a consistency check. Don't quote me on this, though.
Mo.
- --
Mo McKinlay
mmckinlay@gnu.org
- -------------------------------------------------------------------------
GnuPG/PGP Key: pub 1024D/76A275F9 2000-07-22
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjp0kgYACgkQRcGgB3aidfngIACdH4Ze9KRUS/jExERYM0Jt0n4e
WyMAoKxzOr7KnVeEoHCHKlCBjNcncx8U
=myDq
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Support for 802.11 cards?
2001-01-28 21:41 ` Mo McKinlay
@ 2001-01-28 21:56 ` Mike Pontillo
2001-01-28 22:07 ` John Jasen
2001-01-29 6:41 ` Renaming lost+found Mike Galbraith
1 sibling, 1 reply; 22+ messages in thread
From: Mike Pontillo @ 2001-01-28 21:56 UTC (permalink / raw)
To: linux-kernel
Hello,
I was wondering what 802.11 PCI cards anyone knows of that run
under Linux-2.4. (or 2.2 for that matter)
I have looked at Documentation/Configure.help and done a quick
grep of all the documentation for "802.11" without much luck. I can't seem
to find anything related to the aironet cards that are mentioned in
./Configure.help -- it would be a matter of guesswork for me to figure out
which, if any, Cisco card is the same one that the kernel supports.
Does anyone know if anyone has released (working) drivers for
their 802.11 cards that have not been incorporated into the kernel?
I know D-Link has some 802.11 cards out right now, but I haven't
seen any mention of support for Linux. I know other D-Link devices are
supported; does anyone know if someone is working on a driver for their
card? If not, have they been receptive to requests for documentation?
Thanks!
Mike Pontillo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Support for 802.11 cards?
2001-01-28 21:56 ` Support for 802.11 cards? Mike Pontillo
@ 2001-01-28 22:07 ` John Jasen
2001-01-28 23:23 ` Michael H. Warfield
0 siblings, 1 reply; 22+ messages in thread
From: John Jasen @ 2001-01-28 22:07 UTC (permalink / raw)
To: Mike Pontillo; +Cc: linux-kernel
On Sun, 28 Jan 2001, Mike Pontillo wrote:
> I was wondering what 802.11 PCI cards anyone knows of that run
> under Linux-2.4. (or 2.2 for that matter)
I _think_ a good many of the 802.11 wireless ISA and PCI cards are just
bus to PCMCIA adapters, so it would be a question of whether or not the
PCMCIA card is supported and if the bridge is supported.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Support for 802.11 cards?
2001-01-28 22:07 ` John Jasen
@ 2001-01-28 23:23 ` Michael H. Warfield
2001-01-29 0:13 ` Joe deBlaquiere
` (2 more replies)
0 siblings, 3 replies; 22+ messages in thread
From: Michael H. Warfield @ 2001-01-28 23:23 UTC (permalink / raw)
To: John Jasen; +Cc: Mike Pontillo, linux-kernel
On Sun, Jan 28, 2001 at 05:07:33PM -0500, John Jasen wrote:
> On Sun, 28 Jan 2001, Mike Pontillo wrote:
> > I was wondering what 802.11 PCI cards anyone knows of that run
> > under Linux-2.4. (or 2.2 for that matter)
> I _think_ a good many of the 802.11 wireless ISA and PCI cards are just
> bus to PCMCIA adapters, so it would be a question of whether or not the
> PCMCIA card is supported and if the bridge is supported.
Last I knew (straight from the Lucent people), the ISA bridge
card worked fine and the PCI card did NOT work at all. I've since
confirmed that, first hand, myself (I currently have the ISA bridge in
operation) on the 2.2 kernels. The ISA bridge also works on the 2.4
kernels but I have not retested the PCI bridge on 2.4. The Lucent
people claim that the Linux pcmcia people are aware of the problem.
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
(The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: Support for 802.11 cards?
2001-01-28 23:23 ` Michael H. Warfield
@ 2001-01-29 0:13 ` Joe deBlaquiere
2001-01-29 2:00 ` Anton Blanchard
2001-01-29 18:18 ` Bryan O'Sullivan
2 siblings, 0 replies; 22+ messages in thread
From: Joe deBlaquiere @ 2001-01-29 0:13 UTC (permalink / raw)
To: Michael H. Warfield; +Cc: John Jasen, Mike Pontillo, linux-kernel
There is a rather informative discussion of wireless support at :
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.drivers.html
Though possibly a little out of date, the author of this obviously did
their research. Kudos!
--
Joe
Michael H. Warfield wrote:
> On Sun, Jan 28, 2001 at 05:07:33PM -0500, John Jasen wrote:
>
>> On Sun, 28 Jan 2001, Mike Pontillo wrote:
>
>
>>> I was wondering what 802.11 PCI cards anyone knows of that run
>>> under Linux-2.4. (or 2.2 for that matter)
>>
>
>> I _think_ a good many of the 802.11 wireless ISA and PCI cards are just
>> bus to PCMCIA adapters, so it would be a question of whether or not the
>> PCMCIA card is supported and if the bridge is supported.
>
>
> Last I knew (straight from the Lucent people), the ISA bridge
> card worked fine and the PCI card did NOT work at all. I've since
> confirmed that, first hand, myself (I currently have the ISA bridge in
> operation) on the 2.2 kernels. The ISA bridge also works on the 2.4
> kernels but I have not retested the PCI bridge on 2.4. The Lucent
> people claim that the Linux pcmcia people are aware of the problem.
>
> Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Support for 802.11 cards?
2001-01-28 23:23 ` Michael H. Warfield
2001-01-29 0:13 ` Joe deBlaquiere
@ 2001-01-29 2:00 ` Anton Blanchard
2001-01-29 18:18 ` Bryan O'Sullivan
2 siblings, 0 replies; 22+ messages in thread
From: Anton Blanchard @ 2001-01-29 2:00 UTC (permalink / raw)
To: John Jasen, Mike Pontillo, linux-kernel
Hi,
> Last I knew (straight from the Lucent people), the ISA bridge
> card worked fine and the PCI card did NOT work at all. I've since
> confirmed that, first hand, myself (I currently have the ISA bridge in
> operation) on the 2.2 kernels. The ISA bridge also works on the 2.4
> kernels but I have not retested the PCI bridge on 2.4. The Lucent
> people claim that the Linux pcmcia people are aware of the problem.
I have a PCI -> PCMCIA bridge + lucent wavelan card working fine with the
GPL driver (not the Lucent proprietory one) and 2.4. From memory all I had
to do was stop pcmcia-cs from using the lower io port range (there must
have been conflicts with existing devices).
#include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
include port 0x800-0x8ff, port 0xc00-0xcff
Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Support for 802.11 cards?
2001-01-28 23:23 ` Michael H. Warfield
2001-01-29 0:13 ` Joe deBlaquiere
2001-01-29 2:00 ` Anton Blanchard
@ 2001-01-29 18:18 ` Bryan O'Sullivan
2001-01-30 1:09 ` Mike Pontillo
2 siblings, 1 reply; 22+ messages in thread
From: Bryan O'Sullivan @ 2001-01-29 18:18 UTC (permalink / raw)
To: Michael H. Warfield; +Cc: John Jasen, Mike Pontillo, linux-kernel
m> The ISA bridge also works on the 2.4 kernels but I have not
m> retested the PCI bridge on 2.4.
The Lucent PCI-to-Cardbus bridge only works on machines that have a
recent PCI BIOS. Any motherboard more than about 16 months old simply
won't find the bridge card, and hence neither will Linux.
<b
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Support for 802.11 cards?
2001-01-29 18:18 ` Bryan O'Sullivan
@ 2001-01-30 1:09 ` Mike Pontillo
0 siblings, 0 replies; 22+ messages in thread
From: Mike Pontillo @ 2001-01-30 1:09 UTC (permalink / raw)
To: Bryan O'Sullivan; +Cc: Michael H. Warfield, John Jasen, linux-kernel
Hmm, this is interesting... I know that the kernel can be set to
try to detect PCI devices on its own, without the help of the BIOS. Is
there any reason why that feature wouldn't work with this particular type
of card?
Thanks,
Mike Pontillo
On 29 Jan 2001, Bryan O'Sullivan wrote:
> m> The ISA bridge also works on the 2.4 kernels but I have not
> m> retested the PCI bridge on 2.4.
>
> The Lucent PCI-to-Cardbus bridge only works on machines that have a
> recent PCI BIOS. Any motherboard more than about 16 months old simply
> won't find the bridge card, and hence neither will Linux.
>
> <b
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Renaming lost+found
2001-01-28 21:41 ` Mo McKinlay
2001-01-28 21:56 ` Support for 802.11 cards? Mike Pontillo
@ 2001-01-29 6:41 ` Mike Galbraith
1 sibling, 0 replies; 22+ messages in thread
From: Mike Galbraith @ 2001-01-29 6:41 UTC (permalink / raw)
To: Mo McKinlay; +Cc: H. Peter Anvin, linux-kernel
On Sun, 28 Jan 2001, Mo McKinlay wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Today, H. Peter Anvin (hpa@zytor.com) wrote:
>
> > Hello people... the original question was: can lost+found be
> > *renamed*, i.e. does the tools (e2fsck &c) use "/lost+found" by name,
> > or by inode? As far as I know it always uses the same inode number
> > (11), but I don't know if that is anywhere enforced.
>
> I seem to recall e2fsck complaining when I renamed lost+found, but that
> may well be a consistency check. Don't quote me on this, though.
(pretty easy to find out:)
[root]:# fsck -f /test
Parallelizing fsck version 1.19 (13-Jul-2000)
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create<y>?
It created lost+found with inode 183 as 11 was used by renamed dir.
No idea if it would have trouble salvaging a corrupt fs after this.
(but logic says no it dare not)
-Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Renaming lost+found
2001-01-28 21:35 ` H. Peter Anvin
2001-01-28 21:41 ` Mo McKinlay
@ 2001-01-29 7:17 ` Andreas Dilger
2001-01-31 15:32 ` tytso
2 siblings, 0 replies; 22+ messages in thread
From: Andreas Dilger @ 2001-01-29 7:17 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
H. Peter Anvin writes:
> Hello people... the original question was: can lost+found be
> *renamed*, i.e. does the tools (e2fsck &c) use "/lost+found" by name,
> or by inode? As far as I know it always uses the same inode number
> (11), but I don't know if that is anywhere enforced.
Bzzt. /lost+found just happens to use inode 11 on 99.9% of filesystems
because it is the first inode available when mke2fs is creating the
filesystem. If you check <linux/ext2_fs.h>, it has:
#define EXT2_GOOD_OLD_FIRST_INO 11
It is perfectly acceptable to delete lost+found, and create it again
with mklost+found, and chances are it will have a different inode...
Just tested it, and sure enough, I got inode 612 for lost+found this time.
I'm pretty sure that e2fsck looks for the name /lost+found, rather than
inode 11.
This means that with stock e2fsck, mke2fs, mklost+found, you can't rename
lost+found and expect anything to work. However, I would imagine it isn't
_too_ hard to change these tools to create a different directory, and for
e2fsck to look for the standard or the new directory to put nameless inodes.
Looking at the e2fsck source, there only appears to be a single instance of
the string "lost+found", in e2fsck/pass3.c:get_lost_and_found():
static const char name[] = "lost+found";
Same with misc/mke2fs.c:create_lost_and_found() and misc/mklost+found.
Cheers, Andreas
PS - don't blame me if you never find your files after a bad crash. At
least when it is called "lost+found" you occasionally have a look
in there.
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: Renaming lost+found
2001-01-28 21:35 ` H. Peter Anvin
2001-01-28 21:41 ` Mo McKinlay
2001-01-29 7:17 ` Andreas Dilger
@ 2001-01-31 15:32 ` tytso
2 siblings, 0 replies; 22+ messages in thread
From: tytso @ 2001-01-31 15:32 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
On Sun, Jan 28, 2001 at 01:35:44PM -0800, H. Peter Anvin wrote:
> *renamed*, i.e. does the tools (e2fsck &c) use "/lost+found" by name,
> or by inode? As far as I know it always uses the same inode number
e2fsck uses /lost+found by name, not by inode. It will recreate a new
lost+found directory if one doesn't exist. *However*, if the
filesystem is badly corrupted, it's possible that when it allocates
blocks for the lost+found directory, it might override a datablock
that might possibly be recoverable if one were truly desparate and
using a disk editor to search for keywords. (This would only happen
if part of the inode table had gotten corrupted due to a hardware
error --- i.e., such as the anecdotal evidence of DMA units that write
garbage to the disk because during a power failure, where it is
conjectured that the +5V power rail drops below the critical working
of the memory faster than +12V power rail drops below the critical
working volutage of the disk drive --- so that the record in the inode
table that a certain disk block was in use is erased.)
So if you really dislike lost+found, go ahead and delete it. It
removes a somewhat tiny safeguard, but being able to take advantage of
it requires wizard-level skills (there are no tools to do this
automatically, since it requires human intuition and a knowledge of
what file you might be trying to save.) So it would probably only be
used in the case of someone who had 10 year's of Ph.D. research that
wasn't backed up, and this was the only way they could get the data
back. And although not doing disk backups is grounds for general
redicule, losing ten years of graduate research would probably be
reguarded by most as cruel and unusual punishment. But if you're not
in a Ph.D. program, it doesn't matter, yes? (And in any case, we ALL
do backups, all the time, religiously and on a regular schedule,
RIGHT? :-)
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 22+ messages in thread