 |
|
 |
|
Next: April 2009 Travel Offers from iSmita!
|
| Author |
Message |
External

Since: Jan 16, 2009 Posts: 40
|
(Msg. 16) Posted: Fri Apr 17, 2009 11:20 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: alt>os>linux>debian (more info?)
|
|
|
On Fri, 17 Apr 2009 15:48:13 -0500, Mumia W. wrote:
> When I could get away with it, I removed execute permissions on udev and
> udev-mtab in /etc/init.d/ , but that's not a smart thing to do now
> because udev is more ingrained into modern distributions, and the Linux
> kernel suffers from bad design decisions that push people toward udev.
So the rot is in every Linux distro? |
|
| Back to top |
|
 |  |
External

Since: Nov 03, 2008 Posts: 49
|
(Msg. 17) Posted: Sat Apr 18, 2009 3:20 am
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 18 Apr 2009 00:31:18 +0000, terryc wrote:
> Easier just to give Debian/Linux, the flick and go to another OS. I want
> to use my operating systems to do stuff, but I seem to spend to much
> time just keeping the boxen running and trying to work out "what the
> hell have they done now".
No one here is trying to force you to stick with Debian, or Linux in
general. Use whatever works for you and makes you happiest. You have my
blessing.
There are some great BSDs out there that have a different approach to
device naming and allow you to run much of the same software. |
|
| Back to top |
|
 |  |
External

Since: Apr 18, 2009 Posts: 3
|
(Msg. 18) Posted: Sat Apr 18, 2009 9:20 am
Post subject: Re: congratulations to the udev developers, you are real troopers for microsoft. [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
terryc wrote:
> One of my tricks is to upgrade my systems by migrating old systems to new
> hardware. Basically the hard disks get migrate across.
>
> In the past, this was a simple matter of simple taking them out of the
> old system and installing them into the new system, boot up and I'm away.
>
> Well, not anymore. udev has decided that the NIC in the old hardware will
> forever be eth0 and the new NIC must therefore become eth1.
>
> Bloody brilliant. Typical microsoft crud.
Well, once you get to know how to salvage that, it is easy again.
Did you ever have to assign two equal NICs to different networks and keep
that consistent?
It happens every other day with lab computers (one interface to connect to
the lab device, the other to the lan) here. Would be no problem with linux,
but unfortunately the lab software only runs on windows.
Now, if you plan to switch back to windows, you know it's *much* more work
to migrate a install ... the inconvenience with udev is just that, not
comparable with the big hassle windows will give you.
On the other side, linux nowadays supports or at least recognizes almost
everything you plug into a usb socket, while windows will dive into dipsh*t
when you haven't fed it the usb driver/inf disk *before* plugging in the
new device. |
|
| Back to top |
|
 |  |
External

Since: Apr 09, 2007 Posts: 53
|
(Msg. 19) Posted: Sat Apr 18, 2009 3:37 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 04/17/2009 08:54 PM, terryc wrote:
> On Fri, 17 Apr 2009 15:48:13 -0500, Mumia W. wrote:
>
>
>> When I could get away with it, I removed execute permissions on udev and
>> udev-mtab in /etc/init.d/ , but that's not a smart thing to do now
>> because udev is more ingrained into modern distributions, and the Linux
>> kernel suffers from bad design decisions that push people toward udev.
>
> So the rot is in every Linux distro?
>
>
>
No necessarily. Although deprecated, the code to require sequential
loading of HDs is still in the kernel, so I suspect that some distros
still use that option. Whenever I build a kernel from source, I enable
that feature. |
|
| Back to top |
|
 |  |
External

Since: Apr 09, 2007 Posts: 53
|
(Msg. 20) Posted: Sat Apr 18, 2009 3:38 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 04/17/2009 08:54 PM, John Hasler wrote:
> Mumia W. writes:
>> Controllers are in different PCI slots, and PCI slots are ordered. The
>> kernel used to activate slots in order. What happened?
>
> Parallel probing for faster booting.
So what?
How important is faster booting vs. consistent device ordering?
How often do people boot anyway? Once per day? Once per week? |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2009 Posts: 7
|
(Msg. 21) Posted: Sat Apr 18, 2009 8:10 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 18 Apr 2009 16:20:34 -0500
"Mumia W." <paduille.4061.mumia.w+nospam@earthlink.net> wrote:
> Are you saying that information about the physical location of
> devices is hidden from the kernel upon boot?
There are many devices which appear to have the same "physical
location" to the operating system.
Windows gets around this (in part) by using disk identifiers, taking
room out of the MBR code segment to store an identifier. That way, if
the apparent order of disks changes, it can remember which one is
supposed to be first and place drive C: correctly. I don't know how
other operating systems handle this situation, but I do know that
Windows didn't do that until (relatively) recently, around the same
time that the Linux kernel stopped guaranteeing device ordering for
various classes of devices and delegated that responsibility to
userspace.
I can also say that I would rather userspace manage it than kernel
space, because if you don't need that sort of functionality (due to the
platform, or the application), then you needn't concern yourself with
it.
I believe that it's also udev that makes addressing disks by their ID
possible with ease, as in the below:
total 0
lrwxrwxrwx 1 root root 35 2009-04-18 20:05 160ef684-1fcf-4d54-8b58-9f03e9cd4b0d
-> ../../mapper/zestvg-kubuntu--testp5
lrwxrwxrwx 1 root root 25 2009-04-17 12:41 1eeaeb95-9f38-493c-ae29-221ef277e576
-> ../../mapper/zestvg-usrfs
lrwxrwxrwx 1 root root 26 2009-04-17 12:41 34ecdc58-41ab-4564-ac79-6d740fff64bf
-> ../../mapper/zestvg-tunics
lrwxrwxrwx 1 root root 35 2009-04-18 20:05 430824c7-1836-4664-a9ae-eccd253f557d
-> ../../mapper/zestvg-kubuntu--testp1
lrwxrwxrwx 1 root root 37 2009-04-17 12:41 49d15425-cb62-42b0-b052-45e234d570dc
-> ../../mapper/zestvg-old--home--backup
lrwxrwxrwx 1 root root 25 2009-04-17 12:41 60a70253-7636-4561-bb1f-ca6aa78be497
-> ../../mapper/zestvg-tmpfs
lrwxrwxrwx 1 root root 29 2009-04-18 20:05 8A04-2BE9
-> ../../mapper/zestvg-reactosp1
lrwxrwxrwx 1 root root 25 2009-04-17 12:41 9b7e441b-b6d5-45e9-ac82-87d0a2fb0762
-> ../../mapper/zestvg-optfs
lrwxrwxrwx 1 root root 26 2009-04-17 12:41 9c21490e-ab6e-44fe-ae33-48054d94779f
-> ../../mapper/zestvg-rootfs
lrwxrwxrwx 1 root root 27 2009-04-18 20:05 A4449B50449B2458
-> ../../mapper/zestvg-winxpp1
lrwxrwxrwx 1 root root 24 2009-04-17 12:41 b8bfad96-0a16-4b7a-a013-e3377c98860b
-> ../../mapper/zestvg-home
lrwxrwxrwx 1 root root 10 2009-04-17 12:41 cb603968-4b5f-43c0-b5c5-c2a6cf402024
-> ../../sda1
lrwxrwxrwx 1 root root 24 2009-04-17 12:41 ff0f6b77-5556-44d8-a7db-6bf8df388885
-> ../../mapper/zestvg-swap
--- Mike
--
The purpose of software engineering is to control complexity, not to
create it.
--- Pamela Zave |
|
| Back to top |
|
 |  |
External

Since: Apr 09, 2007 Posts: 53
|
(Msg. 22) Posted: Sat Apr 18, 2009 9:22 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 04/18/2009 07:10 PM, Michael B. Trausch wrote:
> On Sat, 18 Apr 2009 16:20:34 -0500
> "Mumia W." <paduille.4061.mumia.w+nospam@earthlink.net> wrote:
>
>> Are you saying that information about the physical location of
>> devices is hidden from the kernel upon boot?
>
> There are many devices which appear to have the same "physical
> location" to the operating system.
>
> Windows gets around this (in part) by using disk identifiers, taking
> room out of the MBR code segment to store an identifier. [...]
Perhaps Linux should do that too. However, the "hack" known as
CONFIG_IDEPCI_PCIBUS_ORDER is working fine for me now, and I hope it
never goes away.
Since there is no equivalent option for SATA, I understand why SATA
users are confounded by Linux's (mis)assigning of devices.
>
> total 0
> lrwxrwxrwx 1 root root 35 2009-04-18 20:05 160ef684-1fcf-4d54-8b58-9f03e9cd4b0d
> -> ../../mapper/zestvg-kubuntu--testp5
> lrwxrwxrwx 1 root root 25 2009-04-17 12:41 1eeaeb95-9f38-493c-ae29-221ef277e576
> -> ../../mapper/zestvg-usrfs [...]
Yes, that's the braindamage that I and millions of other Linux users
would prefer to have nothing to do with.
What I'm saying is that it is not /impossible/ for the kernel developers
to assign devices in a rational, consistent order since they've actually
done it. What scares me is that the solution is "deprecated," and one
day we'll all be forced into udev. If I were to "upgrade" to SATA, I
would be forced today.
And I don't think that the PCI spec. is to blame. Just because devices
don't start up in order does not mean that those devices don't have
numbers. Those numbers would be used to order the devices, and if that
slows down the boot by a few seconds--so what. |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2009 Posts: 7
|
(Msg. 23) Posted: Sun Apr 19, 2009 12:43 am
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 18 Apr 2009 21:22:34 -0500
"Mumia W." <paduille.4061.mumia.w+nospam@earthlink.net> wrote:
> Yes, that's the braindamage that I and millions of other Linux users
> would prefer to have nothing to do with.
I don't understand what is brain-damaged about that. We now have
extremely robust filesystem mounting; you can move disks around in any
configuration, or boot from something else entirely, and
your /etc/fstab can still find the filesystem because it uses a unique
ID to find it.
This is better than the whole disk-ID that Windows uses for a couple of
reasons:
1. It's more granular.
2. It uses UUIDs instead of very small and easily clashable
identifiers.
Also, it is more robust; you can move a partition from one drive to
another and the system will still know _exactly_ what you mean when you
want to mount that filesystem.
> What I'm saying is that it is not /impossible/ for the kernel
> developers to assign devices in a rational, consistent order since
> they've actually done it. What scares me is that the solution is
> "deprecated," and one day we'll all be forced into udev. If I were to
> "upgrade" to SATA, I would be forced today.
Older hardware environments (in the x86 world) provided more assurances
and were easier to enumerate in a deterministic fashion. New buses are
_not_ easy to do that with.
WRT to software in general, consistency is always better than the
alternative. I have the feeling that this is probably the general idea
here, too. Consistency is better than special cases. udev is a 100k
binary, so I don't see the big fuss; that is no trouble size-wise for
today's embedded devices, let alone a desktop workstation or a server.
On my system it uses less than 1 MiB of RAM (I am not counting shared
memory that belongs to libraries, since they're already loaded for
other processes), which also is affordable.
For an environment that is so resource-constrained that it *can't*
afford 700k of cost, and mostly sleeping (mine has used 00:00:00 of CPU
time in 39 days of uptime). On my server, it's taking up approx. the
same RAM, and no measurable CPU time in six months of uptime.
> And I don't think that the PCI spec. is to blame. Just because
> devices don't start up in order does not mean that those devices
> don't have numbers. Those numbers would be used to order the devices,
> and if that slows down the boot by a few seconds--so what.
No, we can blame the overall architecture of x86 systems and new buses;
ACPI and all these new things that "solve" old "problems". Things may
be different on other platforms, I don't know. I don't have anything
other than the PS3 and my ADP1 that runs Linux; I can't look at the PS3
at the moment, but the ADP1 has no udevd; it doesn't need it though, it
has one mmcblk dev, a fixed number of mtd devices, and a fixed number
of loopback devices. Everything else about the platform is fixed, too,
so udevd is unnecessary on it. (It is running Linux 2.6.25.)
Some of it, I get. It used to be that devices were extremely limited
and expansion was hardly possible.
However, today we have things like USB, 1394, and other new buses which
don't provide any guarantees. You can have the same devices in the
same ports and they'll wind up being initialized in a different order
every time. Hell, Windows (last I checked) _still_ didn't get USB
device enumeration right. If Windows thinks it's moved at all, it has
to install a new device driver because it's changed location.
That said, there would be other things to take udev's place, whether
those be scripts or other things. Also, udev won't show nodes for
things that don't exist, making life easier (at least, IMHO). I never
really liked having to add device nodes and remove them myself anyway.
--- Mike
--
The start of a journey should never be mistaken for success. |
|
| Back to top |
|
 |  |
External

Since: Apr 18, 2009 Posts: 3
|
(Msg. 24) Posted: Sun Apr 19, 2009 7:20 am
Post subject: Re: congratulations to the udev developers, you are real troopers for microsoft. [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Michael B. Trausch wrote:
......
> However, today we have things like USB, 1394, and other new buses which
> don't provide any guarantees. You can have the same devices in the
> same ports and they'll wind up being initialized in a different order
> every time. Hell, Windows (last I checked) _still_ didn't get USB
> device enumeration right. If Windows thinks it's moved at all, it has
> to install a new device driver because it's changed location.
>
Yes, that's one thing that rings a alarm bell here: we have laptops and
umts "modems" running from a usb connector. Users are not admins.
Once one of them by accident plugs his umts device into another usb port on
the lap, somewhere abroad, he is in dipsh*t: Windows will ask to install a
driver, which $USER is not allowed to.
Even pulling the device, restarting windows and putting it into the usb port
we once marked, does not help poor $LUSER anymore then. Windows keeps
asking for a device driver.
No, poor $LUSER cannot run system restore as he is no admin, either. |
|
| Back to top |
|
 |  |
External

Since: Dec 21, 2006 Posts: 17
|
(Msg. 25) Posted: Sun Apr 19, 2009 7:33 am
Post subject: Re: congratulations to the udev developers, you are real troopers for microsoft. [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Michael B. Trausch writes:
> It uses UUIDs instead of very small and easily clashable identifiers.
You can also use labels.
--
John Hasler |
|
| Back to top |
|
 |  |
External

Since: Jan 16, 2009 Posts: 40
|
(Msg. 26) Posted: Sun Apr 19, 2009 9:20 am
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 18 Apr 2009 15:37:28 -0500, Mumia W. wrote:
> No necessarily. Although deprecated, the code to require sequential
> loading of HDs is still in the kernel, so I suspect that some distros
> still use that option. Whenever I build a kernel from source, I enable
> that feature.
Thanks.
I still might check out a BSD. |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2009 Posts: 7
|
(Msg. 27) Posted: Sun Apr 19, 2009 10:36 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 19 Apr 2009 07:33:05 -0500
John Hasler <jhasler.DeleteThis@debian.org> wrote:
> You can also use labels.
Aye, that you can---though I often forget to set any labels on my
filesystems. I do use LVM's volume names for that purpose, though.
--- Mike
--
Emacs is an acronym for Escape Meta Alt Control Shift. |
|
| Back to top |
|
 |  |
External

Since: Apr 17, 2009 Posts: 7
|
(Msg. 28) Posted: Sun Apr 19, 2009 10:37 pm
Post subject: Re: congratulations to the udev developers, you are real troopers [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 19 Apr 2009 12:04:57 GMT
terryc <newssevenspam-spam.TakeThisOut@woa.com.au> wrote:
> Thanks.
>
> I still might check out a BSD.
I've used various BSDs over the years. They are exceptionally
wonderful, when they work on the hardware that you want them to work
on. However, I currently don't have a machine in the house that will
boot FreeBSD, NetBSD, or OpenBSD. None of them like the motherboards
that I have.
--- Mike
--
* <---- Tribble . <---TRIBBLE.ZIP |
|
| Back to top |
|
 |  |
External

Since: Nov 11, 2008 Posts: 17
|
(Msg. 29) Posted: Mon Apr 20, 2009 9:20 am
Post subject: Re: congratulations to the udev developers, you are real troopers for microsoft. [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"terryc" <newssevenspam-spam DeleteThis @woa.com.au> wrote
> One of my tricks is to upgrade my systems by migrating old systems to new
> hardware. Basically the hard disks get migrate across.
>
> In the past, this was a simple matter of simple taking them out of the
> old system and installing them into the new system, boot up and I'm away.
>
> Well, not anymore. udev has decided that the NIC in the old hardware will
> forever be eth0 and the new NIC must therefore become eth1.
>
> Bloody brilliant. Typical microsoft crud.
This was a very interesting thread - but nobody mentioned NAME_BY_MAC. I
still use that on my dual-NIC box, so that I can call the interfaces int0
and ext0 instead of eth0 and eth1. Makes life a lot easier when I can
instantly tell which interface I'm dealing with.
That box is running Lenny quite happily, and has been for a couple of years
since I upgraded from Etch. So NAME_BY_MAC is still working fine, and isn't
much hassle at all (a couple of lines in /etc/network/interfaces and one
little file in if-pre-up.d)
Personally I haven't had any problems with udev, but UUIDs piss me off a
lot. Presumably soon someone will come up with something similar to
/etc/ethers, where I can give all the UUIDs sensible names like idehd1,
idehd2, scsicd1, satahd1 etc.
CC |
|
| Back to top |
|
 |  |
| Related Topics: | printer - is brother better than hp for debian? i want all in one.
printer - all in one is brother better easier than hp to run?
How to download youtube video into Adobe Premiere - How to download youtube video into Adobe Premiere I like to lounge around online and youtube is my favorite. Sometimes...
CONGRATULATIONS - www.euromillionlottery.com Europe Million Lottery International. Osdroplien 450, 1120AH,Belgium. Affiliate of Europe....
Congratulations - FROM: THE DESK OF THE PROMOTIONS MANAGER, INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT, REF:..
Congratulations. - Yesterday it happens ! Congratulations ! Debian Woody becomes two and a half year old. It's a good time to die ... and.... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|