* [gentoo-dev] questions/issues after first boot
@ 2002-01-13 22:40 Brian Jones
2002-01-14 2:19 ` Daniel Robbins
0 siblings, 1 reply; 6+ messages in thread
From: Brian Jones @ 2002-01-13 22:40 UTC (permalink / raw
To: gentoo-dev
ok. I'm doing a lot of RTFM, and I'm having lots o'
fun learning about all of this, but at the same time,
I'd like to understand why some of the things that
worked off the cd don't work now :(
Just so everyone knows, I'm running on hardware that I
started running linux on 3 1/2 years ago with no
problems. Here's my list:
1. My NIC used the ne2k-pci module on the
gentoo-rc6-r14 CD flawlessly. I compiled winbond
support into the kernel. I listed ne2k-pci in the
modules.autoload file. I put an alias ne2k-pci eth0
in the aliases file. Still, my NIC doesn't come up on
bootup, saying there's 'no such device'. 'cat
/proc/pci' shows the NIC as a Winbond ethernet
controller at IRQ 9. ifconfig is doing nothing for
me. I might be able to get this one eventually, but
some help would be good. My main point of confusion
is that I built winbond support INTO the kernel, not
as a module, so there's no module to load. That being
the case, why would the kernel detect the card, but
not the network scripts that enable it? Hmmm...
2. I'm getting the same error a million times while
the boot process is starting the various services:
'/etc/init.d/runscript.sh: 1: command not found'
I also get that same one with '2:' instead of '1:' a
bunch of times.
I'll be working on this stuff, but I do appreciate the
great help I've gotten so far.
PS - I'm not a lamer who doesn't know how to RTFM. So
far, 'man *mod*' hasn't really worked out for me -
though I learned a lot. If you know of a manpage
that'll help, I'll be happy to read it :)
/njcajun
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] questions/issues after first boot
2002-01-14 2:19 ` Daniel Robbins
@ 2002-01-14 2:00 ` Martin Schlemmer
2002-01-14 2:58 ` Brian Jones
0 siblings, 1 reply; 6+ messages in thread
From: Martin Schlemmer @ 2002-01-14 2:00 UTC (permalink / raw
To: Gentoo-Dev
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]
On Mon, 2002-01-14 at 04:19, Daniel Robbins wrote:
> > 2. I'm getting the same error a million times while
> > the boot process is starting the various services:
> >
> > '/etc/init.d/runscript.sh: 1: command not found'
> >
> > I also get that same one with '2:' instead of '1:' a
> > bunch of times.
>
> I think that this is a cosmetic error that is fixed in more recent
> versions of baselayout, but Azarah (Martin Schlemmer) would know more
> about this than I.
>
You will basically get this if sleep is not accessible. This
happens usually when you have /usr on a seperate partition,
and your sh-utils is still an old release. Thus, when /usr
is not mounted, /etc/init.d/{runscript.sh,halt.sh} cannot find
sh-utils.
To fix this, make sure you have the latest sh-utils installed:
# emerge =sys-apps/sh-utils-2.0.11-r1
Greetings,
--
Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] questions/issues after first boot
2002-01-13 22:40 [gentoo-dev] questions/issues after first boot Brian Jones
@ 2002-01-14 2:19 ` Daniel Robbins
2002-01-14 2:00 ` Martin Schlemmer
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Robbins @ 2002-01-14 2:19 UTC (permalink / raw
To: gentoo-dev
On Sun, 2002-01-13 at 15:40, Brian Jones wrote:
> 1. My NIC used the ne2k-pci module on the
> gentoo-rc6-r14 CD flawlessly. I compiled winbond
> support into the kernel. I listed ne2k-pci in the
> modules.autoload file. I put an alias ne2k-pci eth0
> in the aliases file. Still, my NIC doesn't come up on
> bootup, saying there's 'no such device'. 'cat
> /proc/pci' shows the NIC as a Winbond ethernet
> controller at IRQ 9. ifconfig is doing nothing for
> me. I might be able to get this one eventually, but
> some help would be good. My main point of confusion
> is that I built winbond support INTO the kernel, not
> as a module, so there's no module to load. That being
> the case, why would the kernel detect the card, but
> not the network scripts that enable it? Hmmm...
Edit /etc/init.d/net.eth0 to suit you, and then type:
# rc-update add net.eth0 default
To start eth0 immediately, then do:
# rc default
(this will bring up any missing scripts, which should include
your new net.eth0 script.) You could also start it by typing:
# /etc/init.d/net.eth0 start
>
> 2. I'm getting the same error a million times while
> the boot process is starting the various services:
>
> '/etc/init.d/runscript.sh: 1: command not found'
>
> I also get that same one with '2:' instead of '1:' a
> bunch of times.
I think that this is a cosmetic error that is fixed in more recent
versions of baselayout, but Azarah (Martin Schlemmer) would know more
about this than I.
Best Regards,
--
Daniel Robbins <drobbins@gentoo.org>
Chief Architect/President http://www.gentoo.org
Gentoo Technologies, Inc.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] questions/issues after first boot
2002-01-14 2:00 ` Martin Schlemmer
@ 2002-01-14 2:58 ` Brian Jones
2002-01-14 4:11 ` Jared H. Hudson
0 siblings, 1 reply; 6+ messages in thread
From: Brian Jones @ 2002-01-14 2:58 UTC (permalink / raw
To: gentoo-dev
Hi all, and thanks, but it's still not working.
I'll have to step away from this to retain my sanity.
I've been hacking around with it on and off all day,
and I'm very, very frustrated.
I compiled a new kernel along with some networking
modules, including winbond-840, the 3c59x module,
tulip.o, and a couple of others to try out.
What really bothers me is that I've made doubly sure
all of my files are up to date, cat /proc/pci
identifies the device, I've added an alias to
modules.d/aliases AND i386 (alias eth0 <module>),
everything seems in order. My net.eth0 file looks
good, /etc/hosts is in order.... meanwhile, 'lsmod'
lists NO modules being used upon boot, bootup messages
indicate 'eth0: no such device', as does ifconfig, and
modprobing everything under the sun seems to do
nothing at all.
Another thing that bugs me is that I haven't had this
problem in four years - I fixed it then and I can't
fix it now! The sysadmin's nightmare!
PS - cat /proc/ioports and cat /proc/pci all seem to
get along well with the device. Modprobe -c shows
'alias eth0 off', but AFAIK, it'll show that since
it's a system default, even if it's overridden by an
entry in modules.conf - correct me if I'm wrong.
hairless, and fingers bleeding,
/njcajun
--- Martin Schlemmer <azarah@gentoo.org> wrote:
> On Mon, 2002-01-14 at 04:19, Daniel Robbins wrote:
>
> > > 2. I'm getting the same error a million times
> while
> > > the boot process is starting the various
> services:
> > >
> > > '/etc/init.d/runscript.sh: 1: command not found'
>
> > >
> > > I also get that same one with '2:' instead of
> '1:' a
> > > bunch of times.
> >
> > I think that this is a cosmetic error that is
> fixed in more recent
> > versions of baselayout, but Azarah (Martin
> Schlemmer) would know more
> > about this than I.
> >
>
> You will basically get this if sleep is not
> accessible. This
> happens usually when you have /usr on a seperate
> partition,
> and your sh-utils is still an old release. Thus,
> when /usr
> is not mounted, /etc/init.d/{runscript.sh,halt.sh}
> cannot find
> sh-utils.
>
> To fix this, make sure you have the latest sh-utils
> installed:
>
> # emerge =sys-apps/sh-utils-2.0.11-r1
>
>
> Greetings,
>
> --
>
> Martin Schlemmer
> Gentoo Linux Developer, Desktop Team Developer
> Cape Town, South Africa
>
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] questions/issues after first boot
2002-01-14 2:58 ` Brian Jones
@ 2002-01-14 4:11 ` Jared H. Hudson
2002-01-14 12:46 ` Brian Jones
0 siblings, 1 reply; 6+ messages in thread
From: Jared H. Hudson @ 2002-01-14 4:11 UTC (permalink / raw
To: gentoo-dev
Have you tried typing dmesg to see the kernel messages; look to see if
the kernel detected your network card. Also try bringing the interface
up manually. ifconfig eth0 10.0.0.1 netmask 255.255.255.0 up
If neither of these work, try making the network driver into a module.
Then reboot and modprobe the module. Type dmesg and see what the driver
message says.
-Jared H.
On Sun, 2002-01-13 at 20:58, Brian Jones wrote:
> Hi all, and thanks, but it's still not working.
>
> I'll have to step away from this to retain my sanity.
> I've been hacking around with it on and off all day,
> and I'm very, very frustrated.
>
> I compiled a new kernel along with some networking
> modules, including winbond-840, the 3c59x module,
> tulip.o, and a couple of others to try out.
>
> What really bothers me is that I've made doubly sure
> all of my files are up to date, cat /proc/pci
> identifies the device, I've added an alias to
> modules.d/aliases AND i386 (alias eth0 <module>),
> everything seems in order. My net.eth0 file looks
> good, /etc/hosts is in order.... meanwhile, 'lsmod'
> lists NO modules being used upon boot, bootup messages
> indicate 'eth0: no such device', as does ifconfig, and
> modprobing everything under the sun seems to do
> nothing at all.
>
> Another thing that bugs me is that I haven't had this
> problem in four years - I fixed it then and I can't
> fix it now! The sysadmin's nightmare!
>
> PS - cat /proc/ioports and cat /proc/pci all seem to
> get along well with the device. Modprobe -c shows
> 'alias eth0 off', but AFAIK, it'll show that since
> it's a system default, even if it's overridden by an
> entry in modules.conf - correct me if I'm wrong.
>
> hairless, and fingers bleeding,
> /njcajun
> --- Martin Schlemmer <azarah@gentoo.org> wrote:
> > On Mon, 2002-01-14 at 04:19, Daniel Robbins wrote:
> >
> > > > 2. I'm getting the same error a million times
> > while
> > > > the boot process is starting the various
> > services:
> > > >
> > > > '/etc/init.d/runscript.sh: 1: command not found'
> >
> > > >
> > > > I also get that same one with '2:' instead of
> > '1:' a
> > > > bunch of times.
> > >
> > > I think that this is a cosmetic error that is
> > fixed in more recent
> > > versions of baselayout, but Azarah (Martin
> > Schlemmer) would know more
> > > about this than I.
> > >
> >
> > You will basically get this if sleep is not
> > accessible. This
> > happens usually when you have /usr on a seperate
> > partition,
> > and your sh-utils is still an old release. Thus,
> > when /usr
> > is not mounted, /etc/init.d/{runscript.sh,halt.sh}
> > cannot find
> > sh-utils.
> >
> > To fix this, make sure you have the latest sh-utils
> > installed:
> >
> > # emerge =sys-apps/sh-utils-2.0.11-r1
> >
> >
> > Greetings,
> >
> > --
> >
> > Martin Schlemmer
> > Gentoo Linux Developer, Desktop Team Developer
> > Cape Town, South Africa
> >
> >
>
> > ATTACHMENT part 2 application/pgp-signature
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] questions/issues after first boot
2002-01-14 4:11 ` Jared H. Hudson
@ 2002-01-14 12:46 ` Brian Jones
0 siblings, 0 replies; 6+ messages in thread
From: Brian Jones @ 2002-01-14 12:46 UTC (permalink / raw
To: gentoo-dev
I did all of that! :(
dmesg shows the NIC normally at the very end of the
log.
ifconfig says 'no such device'.
I compiled a new kernel with a bunch of network
drivers as modules, so I'm gonna go and test a bunch
of 'em eventually. However, the winbond-840 module,
which should've worked, didn't. So far, no luck. I
won't be able to work more on this till tonight when I
get home. Wish me luck.
--- "Jared H. Hudson" <jhhudso@volumehost.com> wrote:
> Have you tried typing dmesg to see the kernel
> messages; look to see if
> the kernel detected your network card. Also try
> bringing the interface
> up manually. ifconfig eth0 10.0.0.1 netmask
> 255.255.255.0 up
>
> If neither of these work, try making the network
> driver into a module.
> Then reboot and modprobe the module. Type dmesg and
> see what the driver
> message says.
>
> -Jared H.
>
> On Sun, 2002-01-13 at 20:58, Brian Jones wrote:
> > Hi all, and thanks, but it's still not working.
> >
> > I'll have to step away from this to retain my
> sanity.
> > I've been hacking around with it on and off all
> day,
> > and I'm very, very frustrated.
> >
> > I compiled a new kernel along with some networking
> > modules, including winbond-840, the 3c59x module,
> > tulip.o, and a couple of others to try out.
> >
> > What really bothers me is that I've made doubly
> sure
> > all of my files are up to date, cat /proc/pci
> > identifies the device, I've added an alias to
> > modules.d/aliases AND i386 (alias eth0 <module>),
> > everything seems in order. My net.eth0 file looks
> > good, /etc/hosts is in order.... meanwhile,
> 'lsmod'
> > lists NO modules being used upon boot, bootup
> messages
> > indicate 'eth0: no such device', as does ifconfig,
> and
> > modprobing everything under the sun seems to do
> > nothing at all.
> >
> > Another thing that bugs me is that I haven't had
> this
> > problem in four years - I fixed it then and I
> can't
> > fix it now! The sysadmin's nightmare!
> >
> > PS - cat /proc/ioports and cat /proc/pci all seem
> to
> > get along well with the device. Modprobe -c shows
> > 'alias eth0 off', but AFAIK, it'll show that since
> > it's a system default, even if it's overridden by
> an
> > entry in modules.conf - correct me if I'm wrong.
> >
> > hairless, and fingers bleeding,
> > /njcajun
> > --- Martin Schlemmer <azarah@gentoo.org> wrote:
> > > On Mon, 2002-01-14 at 04:19, Daniel Robbins
> wrote:
> > >
> > > > > 2. I'm getting the same error a million
> times
> > > while
> > > > > the boot process is starting the various
> > > services:
> > > > >
> > > > > '/etc/init.d/runscript.sh: 1: command not
> found'
> > >
> > > > >
> > > > > I also get that same one with '2:' instead
> of
> > > '1:' a
> > > > > bunch of times.
> > > >
> > > > I think that this is a cosmetic error that is
> > > fixed in more recent
> > > > versions of baselayout, but Azarah (Martin
> > > Schlemmer) would know more
> > > > about this than I.
> > > >
> > >
> > > You will basically get this if sleep is not
> > > accessible. This
> > > happens usually when you have /usr on a seperate
> > > partition,
> > > and your sh-utils is still an old release.
> Thus,
> > > when /usr
> > > is not mounted,
> /etc/init.d/{runscript.sh,halt.sh}
> > > cannot find
> > > sh-utils.
> > >
> > > To fix this, make sure you have the latest
> sh-utils
> > > installed:
> > >
> > > # emerge =sys-apps/sh-utils-2.0.11-r1
> > >
> > >
> > > Greetings,
> > >
> > > --
> > >
> > > Martin Schlemmer
> > > Gentoo Linux Developer, Desktop Team Developer
> > > Cape Town, South Africa
> > >
> > >
> >
> > > ATTACHMENT part 2 application/pgp-signature
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE video emails in Yahoo! Mail!
> > http://promo.yahoo.com/videomail/
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> >
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-01-14 12:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-13 22:40 [gentoo-dev] questions/issues after first boot Brian Jones
2002-01-14 2:19 ` Daniel Robbins
2002-01-14 2:00 ` Martin Schlemmer
2002-01-14 2:58 ` Brian Jones
2002-01-14 4:11 ` Jared H. Hudson
2002-01-14 12:46 ` Brian Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox