etherboot-developers Mailing List for Etherboot (Page 282)
Brought to you by:
marty_connor,
stefanhajnoczi
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(3) |
Oct
(10) |
Nov
(47) |
Dec
(20) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(41) |
Feb
(107) |
Mar
(76) |
Apr
(103) |
May
(66) |
Jun
(72) |
Jul
(27) |
Aug
(31) |
Sep
(33) |
Oct
(18) |
Nov
(33) |
Dec
(67) |
| 2002 |
Jan
(25) |
Feb
(62) |
Mar
(79) |
Apr
(74) |
May
(67) |
Jun
(104) |
Jul
(155) |
Aug
(234) |
Sep
(87) |
Oct
(93) |
Nov
(54) |
Dec
(114) |
| 2003 |
Jan
(146) |
Feb
(104) |
Mar
(117) |
Apr
(189) |
May
(96) |
Jun
(40) |
Jul
(133) |
Aug
(136) |
Sep
(113) |
Oct
(142) |
Nov
(99) |
Dec
(185) |
| 2004 |
Jan
(233) |
Feb
(151) |
Mar
(109) |
Apr
(96) |
May
(200) |
Jun
(175) |
Jul
(162) |
Aug
(118) |
Sep
(107) |
Oct
(77) |
Nov
(121) |
Dec
(114) |
| 2005 |
Jan
(201) |
Feb
(271) |
Mar
(113) |
Apr
(119) |
May
(69) |
Jun
(46) |
Jul
(21) |
Aug
(37) |
Sep
(13) |
Oct
(4) |
Nov
(19) |
Dec
(46) |
| 2006 |
Jan
(10) |
Feb
(18) |
Mar
(85) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(10) |
Jul
(20) |
Aug
(9) |
Sep
(11) |
Oct
(4) |
Nov
(1) |
Dec
(40) |
| 2008 |
Jan
(19) |
Feb
(8) |
Mar
(37) |
Apr
(28) |
May
(38) |
Jun
(63) |
Jul
(31) |
Aug
(22) |
Sep
(37) |
Oct
(38) |
Nov
(49) |
Dec
(24) |
| 2009 |
Jan
(48) |
Feb
(51) |
Mar
(80) |
Apr
(55) |
May
(34) |
Jun
(57) |
Jul
(20) |
Aug
(83) |
Sep
(17) |
Oct
(81) |
Nov
(53) |
Dec
(40) |
| 2010 |
Jan
(55) |
Feb
(28) |
Mar
(36) |
Apr
(7) |
May
|
Jun
|
Jul
(7) |
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
| 2011 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
(10) |
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ken Y. <ke...@nl...> - 2001-04-06 13:24:34
|
|Hello.
|
|My name is Hyun-Joon Cha, a Korean engineer of embedded Linux.
|
|I'm working on multiple booting of several industrial SBCs with your great et
>herboot.
|
|Network controllers of the SBCs are various such as 82559ER, RTL8139B and 813
>9C and all SBCs booted quite well except RTL8139B and C thing. SBCs with RTL8
>139B and C couldn't boot normally and they were crashed at random place of Li
>nux kernel and random time.
|
|So, me and my HW co-worker were trying to find the source of problem and we'v
>e been concluded that HW design is the culprit.
|
|After several times of HW rebuild, BIOS and kernel modification, we almost ga
>ve up and as a final attempt, we simulated same situation with 10 PCs equippe
>d RTL8139B NIC. And the result was same.
|
|So I've been starting walk around etherboot and found that there are no code
>within rtl_disable but eepro100_disable. And I've found your comment on *_dis
>able at ChangLog.
|
|Now, all SBCs boot well with rtl_disable and I thought that I have to report
>this. If you add a few lines of code - copied ;) - about rtl_disable at next
> release there will be no people meet the danger.
|
|
|-------------------------------------------
|static void rtl_disable(struct nic *nic)
|{
| int i;
|
| /* reset the chip */
| outb(CmdReset, ioaddr + ChipCmd);
|
| /* Check that the chip has finished the reset. */
| for (i = 1000; i > 0; i--)
| if ((inb(ioaddr + ChipCmd) & CmdReset) == 0)
| break;
|}
|-------------------------------------------
|
|Thanks and have a nice day.
Great, that confirms it. I will get it added to rom-o-matic.net. Thanks
Hyun-Joon!
_______________________________________________
Etherboot-users mailing list
Eth...@li...
http://lists.sourceforge.net/lists/listinfo/etherboot-users
|
|
From: Ken Y. <ke...@nl...> - 2001-04-06 13:22:07
|
||static void rtl_disable(struct nic *nic)
||{
|| int i;
||
|| /* reset the chip */
|| outb(CmdReset, ioaddr + ChipCmd);
||
|| /* Check that the chip has finished the reset. */
|| for (i = 1000; i > 0; i--)
|| if ((inb(ioaddr + ChipCmd) & CmdReset) == 0)
|| break;
||}
Actually I would make that:
static void rtl_disable(struct nic *nic)
{
/* reset the chip */
outb(CmdReset, ioaddr + ChipCmd);
/* 10 ms timeout */
load_timer2(10*TICKS_PER_MS);
while ((inb(ioaddr + ChipCmd) & CmdReset) != 0 && timer2_running())
/* wait */;
}
and add #include "timer.h" near the top. The hardware timer is more
consistent than a counting loop.
_______________________________________________
Etherboot-users mailing list
Eth...@li...
http://lists.sourceforge.net/lists/listinfo/etherboot-users
|
|
From: Ken Y. <ke...@nl...> - 2001-04-06 03:52:04
|
|And the roms do decompress properly which confirms that the one or |two extra bytes are just tacked onto the end of the image. | |At first uneducated glance the PXE rom appears to be a normal rom. |Here are the first couple of bytes. For reference I was using |a rom built with etherboot 4.6.10. If someone could provide |some insight I would appreciate it. There's a Perl script, disrom.pl, to help interpret the header. It's in recent distributions. Heck, it's short enough to include here. |
|
From: <ebi...@ln...> - 2001-04-06 03:47:29
|
Ken Yap <ke...@nl...> writes:
> |What I do know is the interface for plugin roms in the BIOS isn't 100%
> |the same as it is for plugin cards. Because with a flashed NIC it
> |all worked fine. And I replaced the PXE module in location, name, and
>
> Yes, that could explain a thing or two with BIOS plugins. This should be
> interesting. I look forward to further developments.
O.k. I've played around a little more and dug up a copy of lha
for unix. From the comp.compression faq:
lha for Unix.
ftp://oak.oakland.edu/pub/misc/unix/lha101u.tar.Z
ftp://garbo.uwasa.fi/unix/arcers/lha101u.tar.Z
Contact: lha...@ok... or ok...@fs...
And the roms do decompress properly which confirms that the one or
two extra bytes are just tacked onto the end of the image.
At first uneducated glance the PXE rom appears to be a normal rom.
Here are the first couple of bytes. For reference I was using
a rom built with etherboot 4.6.10. If someone could provide
some insight I would appreciate it.
What was there.
From: 82559.026
000000 55 aa 6c e8 3c 22 cb 39 9d 02 00 00 00 00 00 00
000010 00 00 00 00 00 00 20 00 40 00 60 00 80 03 8b c0
000020 55 4e 44 49 16 60 00 00 01 02 08 0e 00 08 30 4d
000030 70 1e 50 43 49 52 2e 8b c0 2e 8b c0 2e 8b c0 90
000040 50 43 49 52 86 80 29 12 00 00 18 00 00 02 00 00
000050 6c 00 01 02 00 80 00 00 2e 8b c0 2e 8b c0 8b c0
000060 24 50 6e 50 01 02 00 00 00 08 00 00 00 00 b4 00
000070 c6 00 02 00 00 e4 00 00 00 00 56 0d 00 00 00 00
000080 0d 0a 43 6f 70 79 72 69 67 68 74 20 28 43 29 20
000090 31 39 39 37 2c 31 39 39 38 2c 31 39 39 39 20 20
0000a0 49 6e 74 65 6c 20 43 6f 72 70 6f 72 61 74 69 6f
0000b0 6e 0d 0a 00 49 6e 74 65 6c 20 43 6f 72 70 6f 72
0000c0 61 74 69 6f 6e 00 49 6e 74 65 6c 20 55 4e 44 49
0000d0 2c 20 50 58 45 2d 32 2e 30 20 28 62 75 69 6c 64
0000e0 20 30 37 31 29 00 00 00 00 00 00 00 00 00 00 00
0000f0 f2 e6 00 f0 b4 00 cd 16 0a c0 74 02 32 e4 c3 b4
What I tried.
From: eepro100.lzrom
000000 55 aa 20 eb 4f 37 e9 8c 00 45 74 68 65 72 62 6f
000010 6f 74 00 00 00 00 00 00 1c 00 34 00 50 43 49 52
000020 86 80 29 12 00 00 18 00 00 00 00 02 20 00 01 00
000030 00 80 00 00 24 50 6e 50 01 02 00 00 00 61 00 00
000040 00 00 00 00 00 00 00 00 02 14 00 00 00 00 54 00
000050 00 00 00 00 50 1e 31 c0 8e d8 a1 04 03 3d 4c e4
000060 74 1d a1 64 00 a3 00 03 a1 66 00 a3 02 03 b8 82
000070 00 a3 64 00 8c c8 a3 66 00 b8 4c e4 a3 04 03 1f
000080 58 cb 31 c0 8e d8 a3 04 03 a1 02 03 a3 66 00 a1
000090 00 03 a3 64 00 31 c9 2e 8a 2e 02 00 fc 89 ca b8
0000a0 00 80 31 f6 8e c0 31 ff 2e f3 a5 89 d1 ea b2 00
0000b0 00 80 b8 c0 07 8e d8 8c c8 a3 fa 01 89 0e fc 01
0000c0 bb 00 98 8e d8 b8 00 90 8e c0 cd 12 b1 06 d3 e0
0000d0 29 d8 a9 00 f0 74 05 78 fe b8 00 00 b1 04 d3 e0
0000e0 8e d3 89 c4 fc be c0 02 bf 00 00 b2 06 b6 20 30
0000f0 ff ac 88 c3 88 f1 30 ed 88 f8 f3 aa fe c7 fe cb
Eric
|
|
From: Ken Y. <ke...@nl...> - 2001-04-06 03:45:20
|
||static void rtl_disable(struct nic *nic)
||{
|| int i;
||
|| /* reset the chip */
|| outb(CmdReset, ioaddr + ChipCmd);
||
|| /* Check that the chip has finished the reset. */
|| for (i = 1000; i > 0; i--)
|| if ((inb(ioaddr + ChipCmd) & CmdReset) == 0)
|| break;
||}
Actually I would make that:
static void rtl_disable(struct nic *nic)
{
/* reset the chip */
outb(CmdReset, ioaddr + ChipCmd);
/* 10 ms timeout */
load_timer2(10*TICKS_PER_MS);
while ((inb(ioaddr + ChipCmd) & CmdReset) != 0 && timer2_running())
/* wait */;
}
and add #include "timer.h" near the top. The hardware timer is more
consistent than a counting loop.
|
|
From: Ken Y. <ke...@nl...> - 2001-04-06 03:36:15
|
|Hello.
|
|My name is Hyun-Joon Cha, a Korean engineer of embedded Linux.
|
|I'm working on multiple booting of several industrial SBCs with your great et
>herboot.
|
|Network controllers of the SBCs are various such as 82559ER, RTL8139B and 813
>9C and all SBCs booted quite well except RTL8139B and C thing. SBCs with RTL8
>139B and C couldn't boot normally and they were crashed at random place of Li
>nux kernel and random time.
|
|So, me and my HW co-worker were trying to find the source of problem and we'v
>e been concluded that HW design is the culprit.
|
|After several times of HW rebuild, BIOS and kernel modification, we almost ga
>ve up and as a final attempt, we simulated same situation with 10 PCs equippe
>d RTL8139B NIC. And the result was same.
|
|So I've been starting walk around etherboot and found that there are no code
>within rtl_disable but eepro100_disable. And I've found your comment on *_dis
>able at ChangLog.
|
|Now, all SBCs boot well with rtl_disable and I thought that I have to report
>this. If you add a few lines of code - copied ;) - about rtl_disable at next
> release there will be no people meet the danger.
|
|
|-------------------------------------------
|static void rtl_disable(struct nic *nic)
|{
| int i;
|
| /* reset the chip */
| outb(CmdReset, ioaddr + ChipCmd);
|
| /* Check that the chip has finished the reset. */
| for (i = 1000; i > 0; i--)
| if ((inb(ioaddr + ChipCmd) & CmdReset) == 0)
| break;
|}
|-------------------------------------------
|
|Thanks and have a nice day.
Great, that confirms it. I will get it added to rom-o-matic.net. Thanks
Hyun-Joon!
|
|
From: Ken Y. <ke...@nl...> - 2001-04-06 00:51:40
|
|What I do know is the interface for plugin roms in the BIOS isn't 100% |the same as it is for plugin cards. Because with a flashed NIC it |all worked fine. And I replaced the PXE module in location, name, and Yes, that could explain a thing or two with BIOS plugins. This should be interesting. I look forward to further developments. |
|
From: <ebi...@ln...> - 2001-04-06 00:47:40
|
Ken Yap <ke...@nl...> writes: > |The logical next step to do after what I have done is to find a working > |copy of lharc and decompress images that are already in the BIOS, and > |see what kind of entry point and headers they have. So etherboot could > |be modified to work nicely. > > Oh dear, I hope they haven't gone off and implemented Yet Another > Standard. I doubt it. But I wouldn't put it past the BIOS developers to have their internal interfaces a little off standard. I was testing with 4.6.10 so I obviously didn't have all of the most recent bugfixes. What I do know is the interface for plugin roms in the BIOS isn't 100% the same as it is for plugin cards. Because with a flashed NIC it all worked fine. And I replaced the PXE module in location, name, and type. But as I didn't decompress the PXE module I don't have a clue what it's rom header looked like. Eric |
|
From: Ken Y. <ke...@nl...> - 2001-04-06 00:40:26
|
|The logical next step to do after what I have done is to find a working |copy of lharc and decompress images that are already in the BIOS, and |see what kind of entry point and headers they have. So etherboot could |be modified to work nicely. Oh dear, I hope they haven't gone off and implemented Yet Another Standard. |
|
From: <ebi...@ln...> - 2001-04-06 00:31:11
|
Ken Yap <ke...@nl...> writes: > |The chain of images must should not break. So if you replace a larger > |image with a smaller one you need to move all of the following images > |up. > > Another possibility is to pad the Etherboot image to the right size, if > it's smaller. You can specify a size to makerom. Close except that it is compressed size that matters here, and so it would have to be fancy padding that makes the compressed size exactly the same as something else. The logical next step to do after what I have done is to find a working copy of lharc and decompress images that are already in the BIOS, and see what kind of entry point and headers they have. So etherboot could be modified to work nicely. Eric |
|
From: Ken Y. <ke...@nl...> - 2001-04-06 00:30:15
|
|Now the bad news: |Linux hangs immediately after "Loading Linux...". |DOS loads seemingly fine but crashes after pressing any key. |If one tries to do a local boot (by pressing "L") machine hangs. |All those things happen even if I put the network card |with Etherboot flashed on it to a different motherboard |(on which Etherboot always worked fine): Intel L440GX+. What happens with 4.7.22? If that also crashes in the same way then it's not a .23 problem per se but something else unresolved. I know this doesn't help you much but it at least narrows down the problem. If .22 works (the EEPRO100 driver didn't change in between) then I want to know about it. |
|
From: Ken Y. <ke...@nl...> - 2001-04-06 00:04:32
|
|The chain of images must should not break. So if you replace a larger |image with a smaller one you need to move all of the following images |up. Another possibility is to pad the Etherboot image to the right size, if it's smaller. You can specify a size to makerom. |
|
From: Tomasz B. <to...@Za...> - 2001-04-05 17:34:34
|
Hi, I tried Etherboot version 4.7.23 on Intel Pro100+ Management Fast Ethernet card. I did it by flashing the code to the flash ROM available on the card. I got the code from rom-o-matic. First the good news: The code was properly recognized on Tyan Thunder LE S2510 motherboard. Version 4.7.17 (compiled by me, not from rom-o-matic) was not recognized. Now the bad news: Linux hangs immediately after "Loading Linux...". DOS loads seemingly fine but crashes after pressing any key. If one tries to do a local boot (by pressing "L") machine hangs. All those things happen even if I put the network card with Etherboot flashed on it to a different motherboard (on which Etherboot always worked fine): Intel L440GX+. Tomasz. |
|
From: Alexei A.R. <A.A...@in...> - 2001-04-05 08:07:45
|
On Wed, 4 Apr 2001, Marty Connor wrote: > On 4/4/01 3:08 AM Alexei A.Romanenko A.A...@in... wrote: > >I compile ROM image using etherboot-4.6.12 for my network card > >and place it as binary data into AM27c512-120JI chip (eprom, 512 > >Kbit, 64Kx8, 120ns) > > I would try a 27C256-100, which is a smaller, faster EPROM. It could be > that your card is not capable of seeing that size/speed of EPROM. Intel declare, that ROM for the card must be 150ns, or faster. So, i don't think the reason in speed of EPROM > > >when i turn pc on it says nothing refered to booting via LAN > >(first boot from LAN is set in BIOS), although after installing > >bootstrap for LILO, computer boots well. > > Get the DOS debug program, and search for the contents of the ROM in > memory. > > (by the way, could someone please send an actual DOS debugging session > showing how to find EPROM contents in memory? I am writing documentation > for Etherboot, and would like to give an example for novices. I guess I > could define LPT to COM1 with some DOS mode command and capture the > output of the serial port in a buffer, but if anyone knows a better way, > I'd sure appreciate it.) Where can I find that DOS debug program? how it is possible to find contents of the ROM in memory? It will be rewriten by something else (by command.com for example) > > Anyway, I generally find problems with having ROMs recognized these days > seems often to have to do with speed. If the card doesn't insert enough > wait states, then the CPU may try to read the ROM too fast, and think it > is not there. > > Maybe someone who knows more intimate details can be of more assistance. > > Marty > > --- > Try: http://rom-o-matic.net/ to make Etherboot images instantly. > > Name: Marty Connor > US Mail: Entity Cyber, Inc.; P.O. Box 391827; Cambridge, MA 02139; USA > Voice: (617) 491-6935, Fax: (617) 491-7046 > Email: md...@th... > Web: http://www.thinguin.org/ > > > > _______________________________________________ > Etherboot-developers mailing list > Eth...@li... > http://lists.sourceforge.net/lists/listinfo/etherboot-developers > Alex ------------------- A.A...@in... |
|
From: <ebi...@ln...> - 2001-04-05 05:22:34
|
Ken Yap <ke...@nl...> writes:
> |You are free to do whatever you want within your initrd
> |image.
>
> Correct. A network loaded initrd is no different from one loaded from
> disk. What it does depends on its internals and the kernel parameters.
>
> |I think that once you exit the shell that is running, it will turn
> |around and run /bin/init. There's good docs in the /Documentation
> |directory for the Linux kernel.
>
> More correctly, linuxrc should exec /sbin/init because there is an
> implicit assumption in Unix that init has pid 1. This init should never
> exit. If you are not execing init, then linuxrc should never exit, or
> run/exec something that "never" exits, e.g. sleep 2^32-1.
If you have an initrd && exists /linuxrc on the initrd && root!=/dev/ram
Then
It is expected that /linuxrc will do some early setup and then exit.
In this case the /linuxrc script will not run with pid 1.
In this case the kernel continues on execs /sbin/init with pid 1.
Eric
|
|
From: Ken Y. <ke...@nl...> - 2001-04-05 04:51:46
|
|You are free to do whatever you want within your initrd |image. Correct. A network loaded initrd is no different from one loaded from disk. What it does depends on its internals and the kernel parameters. |I think that once you exit the shell that is running, it will turn |around and run /bin/init. There's good docs in the /Documentation |directory for the Linux kernel. More correctly, linuxrc should exec /sbin/init because there is an implicit assumption in Unix that init has pid 1. This init should never exit. If you are not execing init, then linuxrc should never exit, or run/exec something that "never" exits, e.g. sleep 2^32-1. |
|
From: Mark A. <mr...@po...> - 2001-04-04 18:36:33
|
"David L. Parsley" <pa...@li...> writes: > Mark Atwood wrote: > > > And isn't the kernel still in "initrd mode", wanting to do a > > pivot/init instead of halting the system as soon as that "initial > > process" dies? > > No, by supplying a root device of /dev/ram, the kernel assumes that the > initrd ramdisk is the true root filesystem, and either uses the > command-line supplied init or looks for /sbin/init. Then, using > pivot_root, you can change the root filesystem whenever you like - but > usually just once during boot. Excellent. This needs to be documented somewhere better. (Well, with mailling list archives, I guess it just was!) > > Let me know if you want my tftp patches. It makes about a 10k > dynamically-linked binary, but that's not too bad. Please. -- Mark Atwood | I'm wearing black only until I find something darker. mr...@po... | http://www.pobox.com/~mra |
|
From: David L. P. <pa...@li...> - 2001-04-04 18:04:43
|
Mark Atwood wrote: > > "David L. Parsley" <pa...@li...> writes: > > > > Sure, just don't make a 'linuxrc' file, instead: > > root=/dev/ram init=/whatever/you/like (/sbin/init even). > > This is the right way to do things now > > I use a shell script init which later exec's the real init - still pid=1. > > Where does you specify those kernel cmdline parameters. As a bootp > resource? I supply them with mknbi-linux: mknbi-linux --param="root=/dev/ram (etc...)" > And isn't the kernel still in "initrd mode", wanting to do a > pivot/init instead of halting the system as soon as that "initial > process" dies? No, by supplying a root device of /dev/ram, the kernel assumes that the initrd ramdisk is the true root filesystem, and either uses the command-line supplied init or looks for /sbin/init. Then, using pivot_root, you can change the root filesystem whenever you like - but usually just once during boot. > > > Or am I stuck with having to construct an initrd that tftp's a > > > rootdisk image down and mounts and pivots to that? > > > > I use userspace tftp quite a bit for my work; what tftp are you using? > > I've patched RedHat's tftp-0.17 for command-line operation, and like it > > pretty well. The tftp included with busybox wasn't very robust and > > would frequently time out and fail. > > Thanks for the advanced warning on that. Let me know if you want my tftp patches. It makes about a 10k dynamically-linked binary, but that's not too bad. regards, David -- David L. Parsley Network Administrator Roanoke College |
|
From: Mark A. <mr...@po...> - 2001-04-04 17:50:25
|
"David L. Parsley" <pa...@li...> writes: > > Sure, just don't make a 'linuxrc' file, instead: > root=/dev/ram init=/whatever/you/like (/sbin/init even). > This is the right way to do things now > I use a shell script init which later exec's the real init - still pid=1. Where does you specify those kernel cmdline parameters. As a bootp resource? And isn't the kernel still in "initrd mode", wanting to do a pivot/init instead of halting the system as soon as that "initial process" dies? > > Or am I stuck with having to construct an initrd that tftp's a > > rootdisk image down and mounts and pivots to that? > > I use userspace tftp quite a bit for my work; what tftp are you using? > I've patched RedHat's tftp-0.17 for command-line operation, and like it > pretty well. The tftp included with busybox wasn't very robust and > would frequently time out and fail. Thanks for the advanced warning on that. -- Mark Atwood | I'm wearing black only until I find something darker. mr...@po... | http://www.pobox.com/~mra |
|
From: David L. P. <pa...@li...> - 2001-04-04 17:34:12
|
Mark Atwood wrote: > > I can use mknbi-linux to make a netbootable linux kernel image with an > initrd. That works fine. > > Is their a way I can make a Linux NBI that has an "ordinary" root > filesystem ramdisk, one that does /bin/init instead of the > linuxrc/privot_root deal? Sure, just don't make a 'linuxrc' file, instead: root=/dev/ram init=/whatever/you/like (/sbin/init even). This is the right way to do things now, see linux/Documentation/initrd.txt. I use a shell script init which later exec's the real init - still pid=1. > Or am I stuck with having to construct an initrd that tftp's a > rootdisk image down and mounts and pivots to that? I use userspace tftp quite a bit for my work; what tftp are you using? I've patched RedHat's tftp-0.17 for command-line operation, and like it pretty well. The tftp included with busybox wasn't very robust and would frequently time out and fail. regards, David -- David L. Parsley Network Administrator Roanoke College |
|
From: Jim M. <ja...@Mc...> - 2001-04-04 17:06:58
|
Mark, You are free to do whatever you want within your initrd image. I think that once you exit the shell that is running, it will turn around and run /bin/init. There's good docs in the /Documentation directory for the Linux kernel. Hope that helps, Jim McQuillan ja...@lt... Mark Atwood wrote: > > I can use mknbi-linux to make a netbootable linux kernel image with an > initrd. That works fine. > > Is their a way I can make a Linux NBI that has an "ordinary" root > filesystem ramdisk, one that does /bin/init instead of the > linuxrc/privot_root deal? > > Or am I stuck with having to construct an initrd that tftp's a > rootdisk image down and mounts and pivots to that? > > -- > Mark Atwood | I'm wearing black only until I find something darker. > mr...@po... | http://www.pobox.com/~mra > > _______________________________________________ > Etherboot-developers mailing list > Eth...@li... > http://lists.sourceforge.net/lists/listinfo/etherboot-developers |
|
From: Mark A. <mr...@po...> - 2001-04-04 16:57:08
|
I can use mknbi-linux to make a netbootable linux kernel image with an initrd. That works fine. Is their a way I can make a Linux NBI that has an "ordinary" root filesystem ramdisk, one that does /bin/init instead of the linuxrc/privot_root deal? Or am I stuck with having to construct an initrd that tftp's a rootdisk image down and mounts and pivots to that? -- Mark Atwood | I'm wearing black only until I find something darker. mr...@po... | http://www.pobox.com/~mra |
|
From: Marty C. <md...@th...> - 2001-04-04 14:10:19
|
On 4/4/01 3:08 AM Alexei A.Romanenko A.A...@in... wrote:
>I compile ROM image using etherboot-4.6.12 for my network card
>and place it as binary data into AM27c512-120JI chip (eprom, 512
>Kbit, 64Kx8)
I would try a 27C256-100, which is a smaller, faster EPROM. It could be
that your card is not capable of seeing that size/speed of EPROM.
>when i turn pc on it says nothing refered to booting via LAN
>(first boot from LAN is set in BIOS), although after installing
>bootstrap for LILO, computer boots well.
Get the DOS debug program, and search for the contents of the ROM in
memory.
(by the way, could someone please send an actual DOS debugging session
showing how to find EPROM contents in memory? I am writing documentation
for Etherboot, and would like to give an example for novices. I guess I
could define LPT to COM1 with some DOS mode command and capture the
output of the serial port in a buffer, but if anyone knows a better way,
I'd sure appreciate it.)
Anyway, I generally find problems with having ROMs recognized these days
seems often to have to do with speed. If the card doesn't insert enough
wait states, then the CPU may try to read the ROM too fast, and think it
is not there.
Maybe someone who knows more intimate details can be of more assistance.
Marty
---
Try: http://rom-o-matic.net/ to make Etherboot images instantly.
Name: Marty Connor
US Mail: Entity Cyber, Inc.; P.O. Box 391827; Cambridge, MA 02139; USA
Voice: (617) 491-6935, Fax: (617) 491-7046
Email: md...@th...
Web: http://www.thinguin.org/
|
|
From: Ken Y. <ke...@nl...> - 2001-04-04 11:41:43
|
>Incidentally, while I was checking all sorts of things, I found a couple of
>small things in the driver that didn't look right. I'll mention them here in
>case they may be important to someone, but since everything works ok as it is
> I
>wouldn't worry about them otherwise. (These comments apply to rtl8139.c in
>Etherboot 4.7.20, please ignore if they have already been fixed).
>
>1. The write to Config1 (register offset 0x52) in rtl8139_probe() under the
>comment "Bring the chip out of low-power mode" probably is not having any eff
>ect
>since bits EEM1-0 in Cfg9346 (register offset 0x50) need to be set first to
>unlock the Config1 register for write.
>
>2. The MultiIntr register (offset 0x5C) should be cleared, according to the
>RTL8139C data sheet.
>
>
>One other thing. I needed to reset the chip in rtl_disable(), which original
>ly
>was empty. Without doing this I got "Unable to handle kernel paging request"
>panics when booting Linux after Etherboot. I had USE_INTERNAL_BUFFER defined
>.
>The following code (just copied from elsewhere in the driver) worked for me:
>
>static void rtl_disable(struct nic *nic)
>{
>...
>}
Thanks for that. I'll add the disable routine in. Can some RTL8139
expert comment on the other two fixes?
|
|
From: Alexei A.R. <A.A...@in...> - 2001-04-04 07:22:42
|
I compile ROM image using etherboot-4.6.12 for my network card
and place it as binary data into AM27c512-120JI chip (eprom, 512
Kbit, 64Kx8)
100bootp program (under win32) tells, that ROM is enabled, and
when I try to emulate renovation ROM content (eprom is nat a
flash) I get file 64MB size 8-\
when i turn pc on it says nothing refered to booting via LAN
(first boot from LAN is set in BIOS), although after installing
bootstrap for LILO, computer boots well.
Alex
-------------------
A.A...@in...
|