[hcflinux] REBOOT PROBLEM

tom tomshortall at eircom.net
Thu Jul 18 14:43:58 EDT 2002


ok, sorry about that, your original message was unclear. 

what I said about not using setserial still stands though. Even though we access the modem through a /dev/tty char device it doesn't look anything like a serial port to the system. So setserial can't do anything with the hcfmodem.

As for the seg fault. You should send the dump output along with any relevant information and entries in the system logs to marc at mbsi.ca. 

Thirdly, there have been previous reports of /dev/ttySHCF0 disappearing after a reeboot. Browse the mailing list archives and see if any of the work arounds help you.

T

On Thu, Jul 18, 2002 at 09:20:53AM +0200, __ __ wrote:
> Hello,
> 
> 
> 
> As you could read in my message: right after calling hcfpciconfig I can use 
> my modem through kppp.  The problem is when I reboot,... .  The ttySHCF0 
> (and symbolic modem-link to it) is gone,... .
> 
> Today I tried depmod -ae right after a call to hcfpciconfig, which results 
> in keeping the ttySHCF0 device but nonworking after a reboot.  Calling 
> setserial on this device (just using to check wether it is working, this is 
> not the issue of the problem) displays no such device.
> 
> Kmod isn't doing any magic because neither dmesg or lsmod shows any hcfpci* 
> modules being loaded.  Loading them through <modprobe hcfpciserial> (or one 
> by one in correct order through insmod) results in a segmentation fault (and 
> the stackdump error output) on its attempt loading hcfpciserial.o (the other 
> 2 load just fine),... .  Again, this is all after reboot right after calling 
> hcfpciconfig.
> 
> If I want to use my modem after reboot I have to call hcfpciconfig again,... 
> .
> 
> Kind regards,
> 
> 
> Pinnockio
> 
> 
> >From: tom <tomshortall at eircom.net>
> >To: __ __ <pinnockio at hotmail.com>
> >CC: hcflinux at lists.mbsi.ca
> >Subject: Re: [hcflinux] REBOOT PROBLEM
> >Date: Thu, 18 Jul 2002 01:39:16 +0100
> >
> >it's late and I haven't fully taken in everything in your message, but one 
> >point sticks out:
> >	setserial /dev/ttySHCF0
> >won't work.
> >setserial is used to configure conventional serial ports only.
> >In this case you are not using a conventional serial port so you do not 
> >need to use setserial.
> >The hcfpciconfig program will setup everything so that if you have a 
> >properly configured modular kernel and modules.conf then /dev/modem will 
> >link to /dev/ttySHCF0. kmod will autoload the necessary modules when needed 
> >and they will take care of any initialisation.
> >
> >Basically you need to reinstall the driver, point whatever ppp control 
> >software you are using (kppp, pppd etc) at /dev/modem or /dev/ttySHCF0 and 
> >let the kmod do its magic.
> >
> >T
> >
> >On Wed, Jul 17, 2002 at 08:54:51PM +0200, __ __ wrote:
> > > Hello,
> > >
> > >
> > > If got the reboot problem :(
> > >
> > >
> > > GENERAL:
> > > --------
> > > distribution: Gentoo (www.gentoo.org)
> > > kernel:       2.4.18 (devfs enabled with automount)
> > > gcc/g++:      2.95.3 (safe one ;-) )
> > >
> > >
> > > MODEM:
> > > ------
> > > vendor/device:       14F1:1036
> > > subvendor/ device:   13E0:0270
> > > revision             08
> > > name: HCF P85/DATA/FAX/REMOTEAM/SPEAKERPHONE
> > > (used in a Gateway PC)
> > >
> > > DRIVER
> > > ------
> > > hcfpcimodem-0.97mbsibeta02070500.tar.gz
> > >
> > > STORY
> > > -----
> > >
> > > Kernel never gave a sign of the hcf-modem being found (as with a sound
> > > card, hdd etc.), so I assume it's up to this driver to initialize it.
> > >
> > > °First install°:
> > > Driver installation using hcf90v_linux.inf goes smoothly
> > > /dev/ttySHCF0 & modem-link created
> > > setserial ttySHCF0 displays: ttySHCF0 UART:undefined PORT: 0x0001 IRQ: 
> >0,
> > > (which is normal because I assume the aim of the driver is to start
> > > the modem at next reboot finding the real IRQ and PORT.)
> > > lsmod displays: hcfpciserial 0 (autoclean)
> > >                 hcfpciengine 0 (autoclean)
> > >                 hcfpciosspec 1 (autoclean)
> > >
> > > °Reboot0°:
> > > No change in kernel message, so I assume I have to modprobe hcfpciserial
> > > manually.
> > > A lot of stackdump output and a segmentation fault
> > > lsmod displays hcfpciserial 1 (initializing)
> > >                hcfpciengine 0
> > >                hcfpciosspec 1
> > > /dev/ttySHCF0 is gone
> > > setserial ttySHCF0 no such device
> > >
> > >
> > > °Reboot1°
> > > Making mknod -m 600 /dev/ttySHCF0 c 240 64, this automatically results 
> >in
> > > the same
> > > stackdump output as above
> > > /dev/ttySHCF0 is resident
> > > but <setserial ttySHCF0> : no such device; so I can't use
> > > <setserial ttySHCF0 port 0xe400 irq 9> (which are the settings according
> > > to BIOS, lspci, /proc/ioports, /proc/interrupts)
> > >
> > > °Reboot2°
> > > /dev/ttySHCF0 is resident
> > > but setserial ttySHCF0 no such device
> > > same problem as above so I removed ttySHCF0
> > > trying to recompile the code-files myself (by copying the .h -files in 
> >the
> > > modules directory)
> > > hcfpciengine and hcfpciosspec do compile to an object file, but 
> >hcfpciserial
> > > results in a
> > > segmentation fault
> > >
> > > Redoing <HCFPCIConfig> always results a useable modem as described in 
> >the
> > > scenario
> > > before 'Reboot0'.
> > >
> > > CONCLUSION
> > > ----------
> > > I assume a fault in source code for module hcfpciserial.  It gives a
> > > segmentation fault
> > > and can't get to initialize the modem at ttySHCF0. It would be nice to 
> >solve
> > > this little
> > > problem :-).
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Join the world’s largest e-mail service with MSN Hotmail.
> > > http://www.hotmail.com
> > >
> > > _______________________________________________
> > > hcflinux mailing list
> > > hcflinux at lists.mbsi.ca
> > > http://www.mbsi.ca/mailman/listinfo/hcflinux
> >_______________________________________________
> >hcflinux mailing list
> >hcflinux at lists.mbsi.ca
> >http://www.mbsi.ca/mailman/listinfo/hcflinux
> 
> 
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 



More information about the hcflinux mailing list