LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2005, 06:52 AM   #1
geodescent
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" -- WITH STEPS!


Hello all, I have seen and tried many things posted on various forums but never with success. I am attempting to "fix" X after installing Feather Linux onto my HD.

Unlike all the other forum posts, I have taken the time to document the EXACT steps I've taken and relevant errors I've seen from the initial LiveCD boot, through the partitioning, all the way down to the EXACT errors given by X.

Perhaps somebody can help me figure out why this tiny Knoppix/Debian distro won't load X even though I haven't done anything to it?

Note, I have resolved the problem with my microsoft wireless notebook adapter mn-520 card so ignore that. But hopefully one of you might know why X won't work for me "out of the box" so to speak. I have run XCONFIG and have tried vesa modes. As this is a laptop, my only rez available is 800x600. When attempting VESA instead of FRAMEBUFFER, I do actually see the cross-stitch screen with the X cursor for exactly 0.2 seconds and then I get the same error.

Steps I took from partitioning, install, to X error, from my original FeatherLinux Forum (featherlinux.berlios.de/phpBB2/viewtopic.php?t=1494) post:

001. Boot laptop and insert LiveCD.

002. "fb800x600 knoppix 2"

003. Errors during autoconfig:
cardmgr[91]: starting, version is 3.2.5
cardmgr[91]: socket 0: Microsoft Wireless Notebook Adapter MN-520
cardmgr[91]: executing: 'modprobe prism2_cs'
cardmgr[91]: executing: './wlan-ng start wlan0'
cardmgr[91]: + ./wlan-ng: line 91: /etc/wlan/shared.*: No such file or directory
cardmgr[91]: start cmd exited with status 1

004. "cd /home/knoppix"

005. "bash feather-hdinstall" (without bash or bsh i get bad command or filename)

006. Select hda (Fujitsu_MHD2021AT) and OK

007. OK to start cfdisk. (HD size 2067MB)

008. Delete any partitions (already did this but sometimes a reboot is necessary after writing partition table. For this exercise I am working with a freshly unpartitioned HD)

009. Create new bootable primary partition of 2000MB at beginning of disk. (hda1 FS type is "Linux" and is 1998.33MB)

010. Create new logical partition of 169.28MB at hda5.

011. Change hda5 partition type to 82-Linux Swap.

012. Write resulting partition table to disk without incident.

013. Quit cfdisk.

014. Choose YES to use swap partition.

015. Select /dev/hda5 (161_MB) as swap partition and hit OK

016. Yes/No Prompt:
"Do you want to set up /dev/hda5 as swap (all data on this partition will be lost)?"
I choose Yes.

017. Select /dev/hda1 (1905_MB) as root partition.

018. Select ext2 (second_extended) as filesystem type.

019. Yes/No Prompt:
"Do you want to create a filesystem on /dev/hda1 (all data on this partition will be lost)?"
I choose Yes.
(Partition created without incident.)

020. Choose OK to copy files to HD.
(NOTE: I disabled Power Management on my laptop to keep the HD from screwing up the process)

021. Several errors appear at about 5min/50% (many more than i can type):
"scsi: aborting command due to timeout : pid 1428..."
"hdc: lost interrupt"
"hdc: irq timeout: status=0xd0 {Busy}"
"scsi0 channel 0 : resetting for second half of retries."
"hdc: status error: status=0x58 {DriveReady SeekComplete DataRequest}"
"hdc: drive not ready for command"

022. The system speaker beeps twice and a message pops up:
"The copying process has finished"
I hit OK.

023. I choose YES to have sshd run at system boot.

024. I choose YES to have PCMCIA services start at boot (i have a laptop).

025. I leave host name as "box" and hit OK.

026. I enter user root PW, using upper/lower alphas, numbers, and the pipe character and hit OK. I confirm said PW.

027. I enter similarly complex PW and confirm it for user "knoppix".
(NOTE: both PW's are longer than 9 chars)

028. I choose YES to install LILO into MBR.

029. I choose YES to add custom option to lilo append line.

030. I type "fb800x600" and hit enter.

031. Message:
"The installation process is finished."
I hit OK.

032. Prompt:
root@tty1[knoppix]#

033. "reboot"

034. I receive cardmgr[91] errors during shutdown. Same errors from earlier about no such file or directory.

035. I receive error:
"could not umount /KNOPPIX - trying /dev/cloop instead"

036. I remove CD and hit Enter to reboot.

037. Feather boots into command and gives some errors during startup
2 errors about "modprobe not successfully working with scsi or mounting or something"

038. I get a beep from my PCMCIA devices being initialized and then another one as they are deallocated due to error

039. Prompt to choose Xserver.
I choose Xfbdev and hit Enter

040. I choose YES for USB Mouse

041. Messages:
"xauth: creating new authority file /home/knoppix/.Xauthority"
"xauth: creating new authority file /home/knoppix/.Xauthority"
"XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0""
" after 0 requests (0 known processed) with 0 events remaining."

"Debian GNU/Linux testing/unstable box tty1"

042. Prompt:
"box login:"

043. I login by typing "knoppix" and the PW

044. knoppix@box:~$ su
(I type in su-pw)

045. knoppix@box:~$ e3vi /etc/pcmcia/config
(NOTE: First editor I found on this distro and already learned the damn thing so why not?)

046. I append the following lines in the "# Wireless Network Adapters" section, save and exit the file and e3vi.
card "Microsoft Wireless Notebook Adapter MN-520 1.0.3"
version "Microsoft", "Wireless Notebook Adapter MN-520", "", "1.0.3"
bind "orinoco_cs"

047. root@box:~# reboot

048. System reboots and following relevant messages are seen during autoconfig:
"eth0: New link status: connected (0001)"
"usbcore: already loaded" (message repeats on 3 more lines)
"hid: already loaded"
"usbcore: already loaded" (only 1 line)
"mousedev: already loaded"

"XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0""
" after 0 requests (0 known processed) with 0 events remaining."

"Debian GNU/Linux testing/unstable box tty1"
"box login:"

049. I login as user knoppix

050. knoppix@box:~$ su

051. root@box:/home/knoppix# iwconfig eth0 essid b4317CRo0xT1505B34925
(yeah, that's actually my ssid. I disable WEP on my router and only keep the MAC filter-only list enabled for brevity here. SSID is not broadcast.)

052. root@box:/home/knoppix# iwconfig
(at this point the ssid is set but frequency is off by 0.010 GHz. Not sure if that's cause for concern so I try to manually set the channel to 8.)

053. root@box:/home/knoppix# iwconfig eth0 channel 8

054. Error:
"Error for wireless request "Set Frequency" (8B04) : "
" SET failed on device eth0; Operation not supported."

055. root@box:/home/knoppix# ping 192.168.1.1

056. Error:
"ping: sendto: Network is unreachable"

057. root@box:/home/knoppix# pump -i eth0
"Operation failed."

058. root@box:/home/knoppix# pump -i wlan0
"prism2usb_init: prism2_usb.o: 0.2.1-pre21 Loaded"
"prism2usb_init: dev_info is: prism2_usb"
"usb.c: registered new driver prism2_usb"
"Operation failed."

059. root@box:/home/knoppix# ping 192.168.1.1
"PING 192.168.1.1 (192.168.1.1): 56 data bytes"
"ping: sendto: Network is unreachable"
"ping: wrote 192.168.1.1 64 chars, ret=-1"

060. It is at this point I give up.
 
Old 11-05-2005, 08:31 AM   #2
geodescent
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Got it working as well as the WiFi card.
Turns out X can crash if you use a mouse before it finishes loading.
Minor config changes for the Microsoft card. Helps to plug it in after DSL finishes loading.
 
Old 07-29-2008, 01:41 PM   #3
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: 15
Could you give some more info about the fix? I have a laptop, and get this issue. Can't plug in the touchpad.
 
Old 07-30-2008, 04:52 PM   #4
geodescent
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Nothing more to mention, unfortunately. I would just refrain from using the mouse until after the entire desktop loaded. Although it was plugged in while the machine booted, if that makes any difference. I have since moved onto TeenLinux 2008 (Puppy derivative)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XIO: fatal IO error 04 (connection reset by peer) on X server ":0.0" Kernel 2.6.5 Slackware 15 10-28-2007 11:53 PM
XIO: fatal IO error 104 (Connection reset by peer) on X Server ":0.0" pizu Linux - Newbie 10 11-30-2006 01:57 AM
XIO: Fatal IO Error 104 GMachine00 Linux - Newbie 2 10-27-2005 02:13 AM
XIO: fatal IO error 104. X server would not start after problem with Vmware noodle_mee Linux - Newbie 0 07-07-2004 10:48 PM
startx will not start xwindows... "XIO: fatal IO error 104" khermans Linux - Newbie 22 01-09-2002 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration