Host registration: hdparm: ioctl 0x304 failed: Inappropriate ioctl for device
-
the / marks are slashes. Many times, I’ve seen the pxe default file looking for web:
<IPADDRESS>/fog rather than <IPADDRESS>/fog/ <- (This is the trailing slash as it trails at the end.)
The default file is generally located in:
/tftpboot/pxelinux.cfg/
the file is just called default.
You can edit it however you want, but just make sure the slash is in the file and in the fog settings.
-
In dealing, today even, with the dreaded problem with no configuration issues, I’ve also seen this issue occur when a network has been affected by a broadcast storm. Essentially what ends up happening is the network is being flooded by another switch, kind of like a loopback into itself. (I know that sounds funny) However, the fix for this particular issue was to reset all mini-switches within the path of the network with a simple power down, power up. Then, as needed, reset the Layer 3 Switches if they became too bogged down by the broadcast error messages.
I hope this helps. The particular issue I saw with one of my systems is that the cable has a break in it somewhere. It had enough signal to boot the kernel and init.gz, but when fog tries to reset the device after boot up, the signal is lost and nothing can be found. Then we got the hdparm issue. Connected the system to a good connection from another area and all worked fine. It wasn’t the system, but the network. Check that this other system isn’t having many Multicast devices attached (iPads, Smartphones, Apple TV, etc.) Reset the switches, and reboot any miniswitches. You may narrow the problem down further this way. If your setup worked elsewhere, chances are it isn’t a configuration issue and I was just trying to help. I’m sorry if I lead you in the wrong direction, but hope that this helps you out.
-
Tom, I think you’re on to something here. I will have my colleague reset his switches and other devices.
About this pxelinux.cfg/default - I edited this file before when I changed ip-address. All seems fine there.We well try going trough switches etc. and post back later. Thanks
-
I hope this helps you. I only, yesterday, learned about this all. Good Luck!
-
I looked into my pxelinux.cfg and all entries are with a trailing slah at the end. So this is not the problem
[ATTACH=full]378[/ATTACH]
Also the entry in the FOG Configuration is /fog/ as base directory.
[B]I remember, that the old FOG server has the same error but continues with making image, deploying etc. The new FOG server displays the error and does nothing or aborts.[/B]
[url=“/_imported_xf_attachments/0/378_tftp.PNG?:”]tftp.PNG[/url]
-
There are a few options that you should look into other than configuration. I just know, for my setup, if I don’t have the trailing slash, it causes the same type of issue. The other things to look into would be the Network itself. Make sure that the path to the router/switch is relative free of collisions and/or broadcasts. Things that seem to affect the network adversely are Devices that use broadcast messages to communicate such as Apple’s Bonjour service (iPads, iPhones, iPods, Airplay) especially if they’re setup to communicate wireless to another endpoint. Also check your kernel and make sure it’s not a driver issue. If fog can’t recognize your network card, it would also give this issue. I would almost point out that it could be the hard drive setup as well. Though the kernel’s I use seem to be able to work on AHCI mode, maybe the kernel you’re using can’t recognize it. Does the system recognize a hard-drive (/dev/sda, /dev/hda, etc…)?
Also, start small to help in troubleshooting. Try just emplacing a single router or switch to the host you’re trying to image and the fog server. This will help you troubleshoot whether it’s a network issue, or a driver issue.
Thank you,
-
The point is, that both systems standing in the same environment, at the same switch etc.
It makes no sense at all for the moment.
-
What, else, have you tried? Have you tried alternative kernels? Have you tried debug mode to see if you can find an issue specific to network or hard drives? It isn’t just going to be configuration. There are many different things that could be the cause of the problem.
-
Tried upgrading the kernel, tried older versions and the kernel from the other FOG installation.
It is the same piece of hardware, so can it be a problem with network or hard drives even if it works with the other FOG installation?
The error is the same at both installations but on the older one the deploy and the image process works even though.
-
Yes it could be the network. Not necessarily a network driver issue, but something is preventing the system from communicating with the FOG Server. On your alternate system, these aren’t occuring.
-
Server 1 and server 2 are installed at the same ESX-server with the same infrastructure and same settings.
The test PC were always the same.
-
so you have two tftp servers running on the same network?
-
Not at the same time, I shut down the one server and started the other one.
-
Hello everybody.
Tom Elliott did the trick: [url]http://fogproject.org/forum/threads/kernel-cannot-open-proc-partitions.5487/#post-14450[/url]
-
Sorry all,
I forgot to read that you guys were having the issue with FOG 0.33b. I posted all of this information on FOG 0.33 Bugs forum as well.